/* 1814 Main Site — step 9: readability layer (all widths) + customer account sections. Loaded after the theme. */

/* 1) real text never below 12px (decorative index numbers like «۰۱» stay as designed) */
.h1814-footer-v6-contact-copy span,.h1814-footer-v6-contact-copy small,.h1814-footer-v6-links span,.h1814-footer-v6-trust span,
.h1814-footer-v6-bottom span,.h1814-footer-v6-bottom a,
.i1814-consent p,.i1814-consent button,.i1814-consent strong,
.s1814-customer-booking-gate__body span,.s1814-customer-booking-gate__body p,.s1814-customer-booking-gate__body small,
.s1814-package-summary__eyebrow,.s1814-package-summary__fact small,.s1814-service-quantity__help,
.s1814-product-contract-preview__head span,.s1814-product-contract-preview__summary small,
.h1814-corporate-primary,.h1814-corporate-secondary,.h1814-corporate-proof-head small,.h1814-corporate-capabilities-title,.h1814-corporate-scope p,
.h1814-home-gateway-copy small,.h1814-services-directory-meta span,.i1814-archive-tile small,.i1814-archive-open,.i1814-topic-line small,.i1814-mag-eyebrow,
.i1814-r87__field-helper,.i1814-r87__status,.i1814-r87__secondary,.i1814-notify-pref-note,
.s1814-contract-amount-secondary,.s1814-contract-stamp-pending,.s1814-cart-service-report__eyebrow,.s1814-cart-service-report__label,
.h1814-shop-filter-status,.h1814-product-category-badge,.h1814-contact-live,.i1814-r87 small,.i1814-customer-dashboard small,.i1814-customer-dashboard p,
.i1814-customer-dashboard__eyebrow,.i1814-customer-identity-card small,.i1814-customer-identity-card span{font-size:12px!important;line-height:1.75}
.h1814-service-coming-soon strong{font-size:11px!important}
.h1814-service-coming-soon small{display:none!important}

/* 2) touch targets at least 24px high (WCAG 2.2) */
.h1814-footer-v6-links a,.h1814-footer-v6-bottom a,.woocommerce-breadcrumb a,.product_meta a{display:inline-block;padding-block:4px;min-height:24px}

/* 3) prices: number and currency never glued together */
.woocommerce-Price-currencySymbol{margin-inline:.25em}

/* 4) customer account sections (/customer-account/?section=…) */
.i1814-portal-section .i1814-view-heading .i1814-kicker,.i1814-portal-section .i1814-view-heading h3{display:none}
.i1814-portal-section .i1814-view-heading p{color:var(--h1814-muted,#667085);font-size:15px;line-height:1.9;margin:0 0 18px}
:where(.i1814-portal-section) :is(button,.i1814-btn){font:inherit;font-size:14px;font-weight:600;min-height:44px;padding:10px 18px;border-radius:12px;border:1px solid var(--h1814-line,rgba(23,36,58,.14));background:#fff;color:var(--h1814-navy,#17243A);cursor:pointer;transition:background .15s,border-color .15s}
:where(.i1814-portal-section) :is(button,.i1814-btn):hover{border-color:var(--h1814-gold,#B39152)}
:where(.i1814-portal-section) :is(.i1814-btn--primary,[data-support-submit],[data-complaint-submit],[data-notify-save],[data-cc-redeem],[data-assist-run]){background:var(--h1814-navy,#17243A);border-color:var(--h1814-navy,#17243A);color:#fff}
:where(.i1814-portal-section) :is(button,.i1814-btn):disabled{opacity:.5;cursor:not-allowed}
:where(.i1814-portal-section) :is(button,.i1814-btn):focus-visible,:where(.i1814-portal-section) :is(input,select,textarea):focus-visible{outline:3px solid rgba(179,145,82,.45);outline-offset:2px}
:where(.i1814-portal-section) label{display:block;margin:0 0 14px;font-size:14px;font-weight:600;color:var(--h1814-navy,#17243A)}
:where(.i1814-portal-section) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){display:block;width:100%;box-sizing:border-box;margin-top:6px;min-height:44px;padding:10px 12px;border:1px solid var(--h1814-line,rgba(23,36,58,.18));border-radius:12px;background:#fff;font:inherit;font-size:15px;font-weight:400;color:var(--h1814-text,#17243A)}
:where(.i1814-portal-section) input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-inline-end:6px}
:where(.i1814-portal-section) small{font-size:12px;color:var(--h1814-muted,#667085)}
:where(.i1814-portal-section) table{width:100%;border-collapse:collapse;font-size:14px}
:where(.i1814-portal-section) :is(th,td){padding:10px 8px;text-align:right;border-bottom:1px solid var(--h1814-line,rgba(23,36,58,.1))}
:where(.i1814-portal-section) th{color:var(--h1814-muted,#667085);font-weight:600;font-size:13px}
.i1814-portal-section .i1814-complaint-entry{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
.i1814-portal-section .i1814-support-assist,.i1814-portal-section [data-complaint-panel]{background:#fff;border:1px solid var(--h1814-line,rgba(23,36,58,.1));border-radius:16px;padding:18px;margin:14px 0}
.i1814-portal-section .i1814-card-actions,.i1814-portal-section .i1814-notify-head-actions{display:flex;flex-wrap:wrap;gap:10px}
@media (max-width:700px){.i1814-portal-section .i1814-ccm-table{overflow-x:auto}.i1814-portal-section .i1814-complaint-entry button{width:100%}}
.i1814-portal-section,.i1814-portal-section :is(p,span,h3,h4,h5,label,small,b,strong,em,button,input,select,textarea){font-family:inherit}
.i1814-portal-section .i1814-complaint-entry p{font-size:15px;line-height:1.9;color:var(--h1814-muted,#667085);margin:6px 0 0}
.i1814-portal-section .i1814-kicker{display:block;font-size:12px;font-weight:700;color:var(--h1814-gold,#B39152);margin-bottom:4px}

/* 5) Woo tables on phones (RTL): label on the right, amount on the left, never glued; no lone «:» for empty titles */
@media (max-width:768px){
html[dir=rtl] .woocommerce table.shop_table_responsive tr td[data-title]::before,html[dir=rtl] .woocommerce-page table.shop_table_responsive tr td[data-title]::before{float:right;margin-left:.75em}
html[dir=rtl] .woocommerce table.shop_table_responsive tr td[data-title],html[dir=rtl] .woocommerce-page table.shop_table_responsive tr td[data-title]{text-align:left}
.woocommerce table.shop_table_responsive tr td[data-title=""]::before,.woocommerce-page table.shop_table_responsive tr td[data-title=""]::before{display:none}
}

/* 6) contrast ≥ 4.5:1 for small text (WCAG AA) and bigger touch areas for the hero dots without changing their look */
.s1814-package-summary__fact small,.s1814-service-quantity__help,.h1814-home-trust-payping-fallback{color:#5b6475!important}
.h1814-corporate-reference-copy span{color:#7d6230!important}
.h1814-corporate-primary{background-color:#4f6f8c!important}
.h1814-stage8-dots button{position:relative}
.h1814-stage8-dots button::after{content:"";position:absolute;inset:-9px}

/* 1.6.10 — family page grouped by sub-group (I1814_Main_Site_Catalog_Groups) */
.i1814-cat-groups{margin:0 0 18px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.i1814-cat-groups::-webkit-scrollbar{display:none}
.i1814-cat-groups ul{display:flex;gap:8px;margin:0;padding:2px 0 4px;list-style:none;flex-wrap:nowrap}
.i1814-cat-groups li{flex:0 0 auto;margin:0;padding:0}
.i1814-cat-groups a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 14px;border:1px solid rgba(23,36,58,.12);border-radius:999px;background:#fff;color:#17243a;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.i1814-cat-groups a small{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#f5efe3;color:#755a2d;font-size:11px;font-weight:800}
.i1814-cat-groups a:hover,.i1814-cat-groups a:focus-visible{border-color:#9b793b;outline:none}
@media(min-width:981px){.i1814-cat-groups ul{flex-wrap:wrap}}
body.i1814-family-grouped .h1814-woo-archive-container ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px}
body.i1814-family-grouped .h1814-woo-archive-container ul.products::before,body.i1814-family-grouped .h1814-woo-archive-container ul.products::after{display:none!important}
body.i1814-family-grouped .h1814-woo-archive-container ul.products li.product{float:none!important;clear:none!important;width:auto!important;margin:0!important}
body.i1814-family-grouped .h1814-woo-archive-container ul.products li.i1814-cat-group-head{grid-column:1/-1!important;float:none!important;width:auto!important;margin:18px 0 0!important;scroll-margin-top:96px}
body.i1814-family-grouped .h1814-woo-archive-container ul.products li.i1814-cat-group-head:first-child{margin-top:0!important}
@media(max-width:1023px){body.i1814-family-grouped .h1814-woo-archive-container ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:768px){body.i1814-family-grouped .h1814-woo-archive-container ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}}
