/* AMAL PREMIUM V2 · clean editorial language · no third-party scripts or media */
:root[data-amal-surface="linen"] {--amal-ivory:#f0e9e0;--amal-paper:#faf6f0}
:root[data-amal-surface="paper"] {--amal-ivory:#fffdf9;--amal-paper:#fff}
:root[data-amal-spacing="balanced"] {--space-9:68px;--space-8:48px}
:root[data-amal-layout="compact"] {--container:min(1240px,calc(100vw - 48px))}
:root[data-amal-buttons="outline"] .btn-primary {background:transparent;color:var(--amal-espresso);border-color:currentColor}
:root[data-amal-buttons="outline"] .hero .btn-primary {color:white;background:transparent;border-color:white}
:root[data-amal-buttons="outline"] .drawer .btn-primary {background:var(--amal-espresso);color:white}
:root[data-amal-cards="minimal"] .store-card {border:0;border-radius:var(--radius-sm);background:transparent;box-shadow:none}
:root[data-amal-cards="minimal"] .store-card-body {padding-inline:2px}
:root[data-amal-ratio="square"] .store-media {aspect-ratio:1}
:root[data-amal-header="solid"] .site-header {background:var(--amal-paper);backdrop-filter:none}
:root[data-amal-footer="light"] .footer {background:var(--amal-paper);color:var(--amal-espresso)}
:root[data-amal-footer="light"] .footer a {color:inherit}
:root[data-amal-hero-align="center"] .hero-content {justify-content:center;text-align:center}
:root[data-amal-hero-align="center"] .hero-copy {margin-inline:auto}
:root[data-amal-hero-align="center"] .hero-actions {justify-content:center}
:root[data-amal-hero-height="medium"] .hero {min-height:clamp(470px,72svh,750px)}
:root[data-amal-hero-overlay="soft"] .hero-media::before {filter:brightness(1.14)}
:root[data-amal-hero-overlay="rich"] .hero-media::after {background:linear-gradient(90deg,rgba(17,13,12,.30),transparent 74%)}
.hero-media::after {content:"";position:absolute;inset:0;pointer-events:none;z-index:1}
.hero-content {isolation:isolate}
.hero-media[data-premium-desktop-image="yes"]:not(.has-managed-video)::before {
  background:linear-gradient(90deg,rgba(17,13,12,.52),rgba(17,13,12,.06) 75%),var(--premium-desktop-hero-image) center/cover no-repeat;
}
/* No layout-shift: keep dimensions, scale media inside established frames. */
.store-card {border-radius:var(--radius-md);box-shadow:0 8px 34px rgba(34,24,21,.035)}
.store-card .store-media {aspect-ratio:4/5}
:root[data-amal-ratio="square"] .store-card .store-media {aspect-ratio:1}
.store-media img {width:100%;height:100%;object-fit:cover}
.store-price strong {font-variant-numeric:tabular-nums;font-weight:800}
.store-price del {text-decoration-thickness:1px}
.store-card-body h3 {font-size:clamp(13px,1.4vw,16px);line-height:1.5}
.store-wish,.quick-view {touch-action:manipulation}
.card-actions .btn {min-height:44px}
.store-card:focus-within {outline:2px solid var(--amal-rose);outline-offset:3px}
.site-header {box-shadow:0 8px 35px rgba(34,24,21,.04)}
.header-actions .icon-btn {min-width:44px;min-height:44px}
.nav :is(a,button):focus-visible,.icon-btn:focus-visible,.btn:focus-visible,.mobile-nav a:focus-visible {outline:3px solid var(--amal-rose);outline-offset:3px}
.category-ribbon .category-grid a {transition:transform .24s ease,background .24s ease}
.category-ribbon .category-grid a:hover {transform:translateY(-3px)}
.product-section,.brand-story,.newsletter-section {content-visibility:auto;contain-intrinsic-size:auto 580px}
.amal-assistant-section {background:#221815;color:#fff}
.amal-assistant-section .btn-secondary {color:white;border-color:#ffffff70}
.amal-assistant-section .section-head {align-items:center}
[data-amal-home-section][hidden] {display:none!important}
:root[dir="ltr"] .hero-copy, :root[dir="ltr"] .section-head {direction:ltr}
@media(min-width:1051px){.header-row {gap:18px}.site-header .nav {flex-wrap:wrap;gap:clamp(10px,1.3vw,24px)}}
@media(max-width:720px){
  :root[data-amal-layout="compact"] {--container:min(100% - 24px,680px)}
  .hero {min-height:clamp(490px,80svh,860px)}
  :root[data-amal-hero-height="medium"] .hero {min-height:490px}
  .hero-content {padding:68px 0 56px}
  .hero h1 {font-size:clamp(46px,14vw,72px)}
  .hero h1 span {font-size:clamp(24px,7.4vw,40px)}
  .hero-actions {gap:10px}
  .hero-actions .btn {min-width:0;overflow-wrap:anywhere;padding:12px 15px}
  .hero-media[data-premium-mobile-image="yes"]:not(.has-managed-video)::before {
    background:linear-gradient(0deg,rgba(17,13,12,.7),rgba(17,13,12,.08) 70%),var(--premium-mobile-hero-image) center/cover no-repeat;
  }
  :root[data-amal-mobile-focal="top"] .hero-media::before {background-position:center,center top!important}
  :root[data-amal-mobile-focal="bottom"] .hero-media::before {background-position:center,center bottom!important}
  .store-card .store-media {aspect-ratio:4/5}
  .store-card-body {padding:12px}
  .product-row,.catalog-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .store-card {min-width:0}
  .store-price {flex-wrap:wrap}
  .store-card-body h3 {overflow-wrap:anywhere}
  .card-actions {grid-template-columns:1fr}
  .quick-view {width:100%;min-height:44px}
  .category-ribbon,.newsletter-section {overflow-x:clip}
  .header-actions .icon-btn {min-width:40px}
}
@media(max-width:350px){.brand-main {font-size:24px}.brand {min-width:0}.header-row {column-gap:3px}.header-actions {gap:0}.header-actions .icon-btn {width:36px;min-width:36px}.product-row,.catalog-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.store-card-body {padding:9px}.card-actions .btn {padding:8px 4px;font-size:11px;min-width:0}.quick-view {font-size:15px}.hero-actions {flex-direction:column}.hero-actions .btn {width:100%}}
@media(prefers-reduced-motion:reduce){.store-card,.store-media img,.category-grid a,.hero-media::before {animation:none!important;transition:none!important;transform:none!important}}

:root[data-amal-hide-categories="1"] [data-amal-home-section="categories"] {display:none!important}
:root[data-amal-hide-editorial="1"] [data-amal-home-section="editorial"] {display:none!important}
:root[data-amal-hide-arrivals="1"] [data-amal-home-section="arrivals"] {display:none!important}
:root[data-amal-hide-story="1"] [data-amal-home-section="story"] {display:none!important}
:root[data-amal-hide-newsletter="1"] [data-amal-home-section="newsletter"] {display:none!important}
:root[data-amal-hide-assistant="1"] [data-amal-home-section="assistant"] {display:none!important}

:root[data-amal-nav-about="off"] :is(.site-header .nav,.mobile-nav,.mega-menu) [data-amal-nav-optional="about"] {display:none!important}
:root[data-amal-nav-custom="off"] :is(.site-header .nav,.mobile-nav,.mega-menu) [data-amal-nav-optional="custom"] {display:none!important}
:root[data-amal-footer-social="off"] .footer .socials {display:none!important}
/* Contrast remains accessible in both RTL and LTR photography compositions. */
:root[dir="rtl"] .hero-media::after {background:linear-gradient(270deg,rgba(17,13,12,.48),rgba(17,13,12,.12) 70%,transparent)}
:root[dir="ltr"] .hero-media::after {background:linear-gradient(90deg,rgba(17,13,12,.48),rgba(17,13,12,.12) 70%,transparent)}
:root[data-amal-footer="light"] .footer p,
:root[data-amal-footer="light"] .footer h4,
:root[data-amal-footer="light"] .footer-bottom {color:#46352e}
:root[data-amal-footer="light"] .footer a:hover {color:var(--amal-rose-deep)}
:root[data-amal-footer="light"] .footer-bottom {border-color:var(--amal-line)}

/* Navigation toggles affect only promotional links; routes remain accessible.
   The mega-menu discovery/About link follows the same About toggle. */
