/* =========================================================================
   QUTN / قُطن — storefront styles
   Tokens → base → chrome → components → pages → motion
   ========================================================================= */

/* ---------- Self-hosted fonts (SIL Open Font License, see assets/fonts) ---------- */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0;
}
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-display: swap; font-weight: 400; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-display: swap; font-weight: 500; src: url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-display: swap; font-weight: 600; src: url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- Tokens ---------- */
:root {
  --paper: #F3F2EE;      /* cotton white */
  --linen: #E7E4DC;      /* warm neutral surface */
  --stone: #CFC8BB;      /* borders, quiet fills */
  --taupe: #6E665B;      /* secondary text (5.2:1 on paper) */
  --ink: #000000;        /* text, primary buttons */
  --indigo: #24307E;     /* the one accent: indigo dye */
  --indigo-soft: #DCDDEB;
  --danger: #A12A1F;
  --ok: #2F5B3A;

  --font-latin: "Archivo", "IBM Plex Sans Arabic", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font: var(--font-latin);

  --step--1: 0.84rem;
  --step-0: 1rem;
  --step-1: 1.19rem;
  --step-2: clamp(1.45rem, 1.1rem + 1.2vw, 2rem);
  --step-3: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  --step-4: clamp(3.1rem, 1.6rem + 5.2vw, 6.4rem);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1480px;
  --header-h: 64px;
  --radius: 2px;
  --line: 1px solid var(--stone);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dir: 1;
  --focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--indigo);
}
[dir="rtl"] { --dir: -1; --font: "IBM Plex Sans Arabic", "Archivo", "Noto Sans Arabic", Tahoma, sans-serif; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.55;
  font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  display: flex; flex-direction: column;
}
[dir="rtl"] body { line-height: 1.7; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
s { color: var(--taupe); text-decoration-thickness: 1px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius); }
::selection { background: var(--indigo); color: var(--paper); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--taupe); }
.small { font-size: var(--step--1); }
.num { text-align: end; font-variant-numeric: tabular-nums; }
.error-text { color: var(--danger); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -48px; z-index: 100; padding: 10px 14px;
  background: var(--ink); color: var(--paper); transition: top .2s var(--ease);
}
.skip-link:focus { top: 8px; }

.config-banner {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px var(--gutter);
  background: var(--indigo); color: var(--paper); font-size: var(--step--1);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: var(--radius);
  font-weight: 500; font-size: 0.95rem; letter-spacing: .01em; line-height: 1.2; text-align: center;
  border: 1px solid transparent; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
  white-space: nowrap; user-select: none;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn--lg { --h: 56px; padding: 0 34px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover:not(:disabled) { background: var(--indigo); }
.btn--line { border-color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; border-color: var(--stone); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--link {
  min-height: 44px; padding: 0; text-decoration: underline; text-underline-offset: 6px;
  text-decoration-thickness: 1px; text-decoration-color: var(--stone);
}
.btn--link:hover { text-decoration-color: var(--ink); }
.btn:disabled, .btn.is-disabled { opacity: .42; pointer-events: none; }
.btn.is-busy { position: relative; color: transparent !important; }
.btn.is-busy::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--paper); border-inline-end-color: transparent; animation: spin .8s linear infinite;
}
.btn--whats { background: var(--ink); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: var(--linen); }
.text-btn { min-height: 44px; padding: 0 8px; font-size: .9rem; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 5px; }
.link-btn { padding: 4px 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--stone); font-size: .92rem; }
.link-btn:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 94%, transparent);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: saturate(1.2) blur(10px); }
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--stone); }
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; height: var(--header-h); padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.primary-nav { display: flex; gap: 26px; font-size: .92rem; }
.primary-nav a { position: relative; padding: 6px 0; }
.primary-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .35s var(--ease);
}
[dir="rtl"] .primary-nav a::after { --origin: right; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; margin-inline-start: -10px; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.bag-btn { position: relative; }
.bag-count {
  position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--indigo); color: var(--paper); font-size: 11px; line-height: 18px; text-align: center; font-weight: 600;
}
.bag-btn.is-bumped { animation: bump .5s var(--ease); }

/* Wordmark: Latin letters plus the Arabic word, always both. */
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; line-height: 1; }
.wordmark__latin {
  font-family: var(--font-latin); font-weight: 700; font-size: 1.32rem; letter-spacing: .26em;
  font-variation-settings: "wdth" 112; margin-inline-end: -.26em;
}
.wordmark__ar { font-family: var(--font-arabic); font-weight: 500; font-size: 1.05rem; color: var(--indigo); }
.wordmark--sm .wordmark__latin { font-size: 1.1rem; }
.wordmark--footer .wordmark__latin { font-size: clamp(2rem, 5vw, 3.4rem); }
.wordmark--footer .wordmark__ar { font-size: clamp(1.5rem, 3.4vw, 2.4rem); color: var(--paper); opacity: .7; }
.wordmark--lg .wordmark__latin { font-size: clamp(2.6rem, 7vw, 5rem); }
.wordmark--lg .wordmark__ar { font-size: clamp(2rem, 5vw, 3.6rem); color: var(--paper); }

/* ---------- Drawers, sheets, modals ---------- */
.drawer, .search-sheet, .modal { position: fixed; inset: 0; z-index: 60; }
.drawer__scrim, .search-sheet__scrim, .modal__scrim {
  position: absolute; inset: 0; background: rgb(20 18 14 / .38); opacity: 0; transition: opacity .38s var(--ease);
}
.is-open > .drawer__scrim, .is-open > .search-sheet__scrim, .is-open > .modal__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; width: min(440px, 92vw); background: var(--paper);
  display: flex; flex-direction: column; transition: transform .42s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.drawer--end .drawer__panel { inset-inline-end: 0; transform: translateX(calc(102% * var(--dir))); }
.drawer--start .drawer__panel { inset-inline-start: 0; transform: translateX(calc(-102% * var(--dir))); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: var(--header-h); padding: 0 12px 0 22px; padding-inline: 22px 12px; border-bottom: var(--line);
}
.drawer__title { font-size: 1.05rem; font-weight: 500; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 22px 22px; border-top: var(--line); display: grid; gap: 10px; }
.drawer-nav { display: grid; padding: 12px 22px; flex: 1; overflow-y: auto; align-content: start; }
.drawer-nav a { padding: 12px 0; font-size: 1.45rem; font-variation-settings: "wdth" 80; font-weight: 500; border-bottom: var(--line); }
.drawer-nav__label { margin-top: 26px; padding-bottom: 6px; color: var(--taupe); font-size: .85rem; }
.drawer-nav a.drawer-nav__sub { font-size: 1.05rem; font-variation-settings: "wdth" 100; font-weight: 400; }
.drawer .drawer-nav a { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.drawer.is-open .drawer-nav a { opacity: 1; transform: none; }
.drawer.is-open .drawer-nav a:nth-child(2) { transition-delay: .04s; }
.drawer.is-open .drawer-nav a:nth-child(3) { transition-delay: .08s; }
.drawer.is-open .drawer-nav a:nth-child(n+4) { transition-delay: .12s; }

.search-sheet__panel {
  position: absolute; inset-inline: 0; top: 0; background: var(--paper); padding: 18px var(--gutter);
  transform: translateY(-100%); transition: transform .42s var(--ease); border-bottom: var(--line);
}
.search-sheet.is-open .search-sheet__panel { transform: none; }
.search-form { max-width: 880px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.search-form input {
  flex: 1; height: 60px; border: 0; border-bottom: 1px solid var(--ink); background: transparent;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem); outline: none; border-radius: 0;
}

.modal { display: grid; place-items: center; padding: 16px; }
.modal__panel {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--paper); padding: 26px; opacity: 0; transform: translateY(12px) scale(.985);
  transition: opacity .32s var(--ease), transform .38s var(--ease);
}
.modal--sm .modal__panel { width: min(420px, 100%); }
.modal--lg .modal__panel { width: min(860px, 100%); }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.modal__title { font-size: 1.3rem; font-weight: 500; }
.modal__body { display: grid; gap: 14px; }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 80; inset-inline: 0; bottom: max(18px, env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--ink); color: var(--paper);
  font-size: .92rem; opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); max-width: min(92vw, 520px);
}
.toast--error { background: var(--danger); }
.toast.is-in { opacity: 1; transform: none; }

/* ---------- Layout ---------- */
.page { max-width: var(--maxw); margin: 0 auto; width: 100%; padding: clamp(24px, 4vw, 48px) var(--gutter) 80px; }
.page-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: clamp(20px, 3vw, 36px); flex-wrap: wrap; }
.page-title { font-size: var(--step-3); font-weight: 600; line-height: 1; letter-spacing: -.02em; font-variation-settings: "wdth" 72; }
[dir="rtl"] .page-title { letter-spacing: 0; line-height: 1.25; }
.page-title__count { font-size: .45em; font-weight: 400; letter-spacing: 0; font-variation-settings: "wdth" 100; }
.lead { font-size: var(--step-1); color: var(--taupe); max-width: 60ch; }
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--gutter) 0; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: clamp(20px, 3vw, 36px); }
.section__title { font-size: var(--step-2); font-weight: 600; font-variation-settings: "wdth" 78; letter-spacing: -.01em; line-height: 1.05; }
[dir="rtl"] .section__title { letter-spacing: 0; line-height: 1.3; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(12px, 1.6vw, 24px); }
.grid > .state { grid-column: 1 / -1; }

/* ---------- Product card ---------- */
.card__link { display: block; }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--linen); }
.card__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity .5s var(--ease), transform 1.1s var(--ease);
}
.card__img.is-loaded { opacity: 1; }
.card__img--alt.is-loaded { opacity: 0; }
@media (hover: hover) {
  .card__link:hover .card__img { transform: scale(1.035); }
  .card__link:hover .has-alt .card__img--alt.is-loaded { opacity: 1; }
}
.badge {
  position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 9px; font-size: .76rem; font-weight: 500;
  background: var(--paper); color: var(--ink); line-height: 1.3;
}
.badge--accent { background: var(--indigo); color: var(--paper); }
.badge--muted { background: var(--ink); color: var(--paper); }
.card__meta { display: grid; gap: 3px; padding-top: 12px; font-size: .93rem; }
.card__name { font-size: inherit; font-weight: 400; line-height: 1.35; }
.card__price { display: flex; gap: 8px; font-weight: 500; font-variant-numeric: tabular-nums; }
.card__price s { font-weight: 400; }
.is-sale { color: var(--indigo); }
.card__swatches { display: flex; gap: 5px; padding-top: 4px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); display: inline-block; flex: none; }

/* ---------- Skeletons and states ---------- */
.skeleton {
  display: block; background: linear-gradient(90deg, var(--linen) 0%, #EFEDE7 40%, var(--linen) 80%);
  background-size: 300% 100%; animation: shimmer 1.6s linear infinite;
}
.card--skeleton .card__media { background: none; }
.skeleton--line { height: 12px; margin-top: 10px; width: 80%; }
.skeleton--short { width: 45%; }
.skeleton--title { height: 40px; width: 75%; margin-top: 18px; }
.skeleton--block { height: 220px; margin-top: 28px; }
.skeleton--media { aspect-ratio: 3 / 4; }
.state { display: grid; justify-items: center; gap: 12px; text-align: center; padding: clamp(40px, 8vw, 96px) 16px; }
.state__title { font-size: var(--step-1); font-weight: 500; max-width: 40ch; }
.state__text { color: var(--taupe); max-width: 46ch; }
.state--error .state__title::before {
  content: ""; display: block; width: 28px; height: 1px; background: var(--danger); margin: 0 auto 16px;
}

/* ---------- Home: hero ---------- */
.hero {
  position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(16px, 3vw, 40px) var(--gutter) 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px);
  min-height: min(calc(100svh - var(--header-h)), 980px); align-items: end; isolation: isolate; overflow: clip;
}
.hero__glyph {
  position: absolute; z-index: -1; inset-inline-start: 41%; top: 2%;
  font-family: var(--font-arabic); font-weight: 600; font-size: clamp(14rem, 38vw, 40rem); line-height: 1;
  color: var(--indigo); pointer-events: none; user-select: none; will-change: transform;
}
.hero__copy { grid-column: 1 / span 6; padding-bottom: clamp(32px, 6vw, 88px); position: relative; }
.hero__title {
  font-size: var(--step-4); font-weight: 600; line-height: .9; letter-spacing: -.03em; font-variation-settings: "wdth" 66;
  max-width: 9ch;
}
[dir="rtl"] .hero__title { letter-spacing: 0; line-height: 1.12; font-weight: 600; max-width: 8ch; }
.hero__text { margin-top: clamp(18px, 2.4vw, 30px); max-width: 38ch; font-size: var(--step-1); color: var(--ink); }
.hero__ctas { display: flex; gap: 22px; align-items: center; margin-top: clamp(22px, 3vw, 36px); flex-wrap: wrap; }
.hero__media { grid-column: 7 / -1; margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: end; }
.frame { position: relative; overflow: hidden; background: var(--linen); aspect-ratio: 4 / 5; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.frame img.is-loaded { opacity: 1; }
.frame--hero { max-height: calc(100svh - var(--header-h) - 70px); aspect-ratio: 4 / 5; width: 100%; }
.hero__caption {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 18px; font-size: .9rem;
  border-bottom: 1px solid var(--ink);
}
.hero__caption:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }

/* Hero entrance: one orchestrated moment after the intro. */
.js .hero__title, .js .hero__text, .js .hero__ctas, .js .hero__media { opacity: 0; transform: translateY(24px); }
.js .hero__glyph { opacity: 0; }
.hero-in .hero__title, .hero-in .hero__text, .hero-in .hero__ctas, .hero-in .hero__media {
  opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease);
}
.hero-in .hero__glyph { opacity: 1; transition: opacity 1.6s var(--ease) .1s; }
.hero-in .hero__media { transition-delay: .08s; }
.hero-in .hero__text { transition-delay: .22s; }
.hero-in .hero__ctas { transition-delay: .32s; }

/* ---------- Home: collections index ---------- */
.collections { border-top: 1px solid var(--ink); }
.collection-row a {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: var(--line);
}
.collection-row__name {
  font-size: var(--step-3); font-weight: 600; line-height: 1; font-variation-settings: "wdth" 70; letter-spacing: -.02em;
  transition: transform .5s var(--ease), color .3s var(--ease);
}
[dir="rtl"] .collection-row__name { letter-spacing: 0; line-height: 1.3; }
.collection-row__desc { color: var(--taupe); max-width: 44ch; }
.collection-row__go { transform: scaleX(var(--dir)); transition: transform .4s var(--ease); }
.collection-row__peek {
  position: absolute; z-index: 2; inset-inline-end: 12%; top: 50%; width: 150px; aspect-ratio: 3/4; overflow: hidden;
  opacity: 0; transform: translateY(-50%) rotate(-2deg) scale(.94); transition: opacity .35s var(--ease), transform .5s var(--ease); pointer-events: none;
}
.collection-row__peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  .collection-row a:hover .collection-row__name { color: var(--indigo); transform: translateX(calc(10px * var(--dir))); }
  .collection-row a:hover .collection-row__peek { opacity: 1; transform: translateY(-50%) rotate(-2deg); }
  .collection-row a:hover .collection-row__go { transform: scaleX(var(--dir)) translateX(6px); }
}

/* ---------- Home: campaign ---------- */
.campaign {
  margin-top: clamp(64px, 9vw, 128px); background: var(--linen);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px);
  padding: clamp(32px, 5vw, 72px) max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
}
.campaign__media { grid-column: 1 / span 6; margin: 0; }
.campaign__copy { grid-column: 8 / span 4; align-self: center; display: grid; gap: 20px; justify-items: start; }
.campaign__title { font-size: var(--step-3); font-weight: 600; line-height: 1; font-variation-settings: "wdth" 70; letter-spacing: -.02em; }
[dir="rtl"] .campaign__title { line-height: 1.3; letter-spacing: 0; }
.campaign__copy p { max-width: 42ch; }
.campaign__price { font-weight: 500; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Home: services ---------- */
.services {
  max-width: var(--maxw); margin: clamp(64px, 9vw, 120px) auto 0; padding: 0 var(--gutter) clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px);
}
.service { border-top: 1px solid var(--ink); padding-top: 20px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.service h3 { font-size: 1.05rem; font-weight: 600; }
.service p { color: var(--taupe); max-width: 36ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter) 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.footer-brand p { margin-top: 16px; color: #BDB8AE; max-width: 32ch; }
.footer-col { display: grid; gap: 10px; align-content: start; justify-items: start; font-size: .94rem; }
.footer-col h2 { font-size: .85rem; font-weight: 500; color: #A9A397; margin-bottom: 6px; }
.footer-col a:hover, .footer-col .link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col .link-btn { text-decoration: none; font-size: inherit; text-align: start; }
.social { display: flex; gap: 4px; margin-inline-start: -10px; }
.social .icon-btn:hover { background: #1F1F1F; }
.site-footer__base {
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #2A2A2A; color: #A9A397; font-size: .84rem;
}

/* ---------- Shop ---------- */
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 32px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 36px); }
.shop-head__titles { display: grid; gap: 10px; }
.shop-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-inline {
  display: flex; align-items: center; gap: 8px; height: 44px; min-width: 240px; border-bottom: 1px solid var(--ink);
}
.search-inline input { border: 0; background: transparent; outline: none; flex: 1; height: 100%; min-width: 0; }
.select { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.select__label { color: var(--taupe); }
.select select, .field select {
  appearance: none; height: 44px; padding: 0 36px 0 12px; padding-inline: 12px 36px; border: var(--line); border-radius: var(--radius); background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
[dir="rtl"] .select select, [dir="rtl"] .field select { background-position: left 12px center; }
.filters-btn { display: none; --h: 44px; padding: 0 18px; }
.shop-body { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 26px; }
.filters--drawer { position: static; }
.filter-group legend { font-size: .85rem; color: var(--taupe); margin-bottom: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: var(--line);
  border-radius: 19px; font-size: .88rem; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip--square { min-width: 44px; justify-content: center; border-radius: var(--radius); padding: 0 10px; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 100%; height: 40px; padding: 0 10px; border: var(--line); border-radius: var(--radius); background: var(--paper); }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: .92rem; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { width: 38px; height: 22px; border-radius: 11px; background: var(--stone); position: relative; transition: background-color .25s var(--ease); flex: none; }
.switch__track::after {
  content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper);
  transition: transform .25s var(--ease);
}
.switch input:checked + .switch__track { background: var(--ink); }
.switch input:checked + .switch__track::after { transform: translateX(calc(16px * var(--dir))); }
.switch input:focus-visible + .switch__track { box-shadow: var(--focus); }
.result-count { margin-bottom: 16px; font-size: .9rem; }
.grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); transition: opacity .16s var(--ease), transform .16s var(--ease); }
.grid--shop.is-updating { opacity: .25; transform: translateY(6px); }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.gallery { position: relative; }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; background: var(--linen);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { margin: 0; scroll-snap-align: start; aspect-ratio: 3 / 4; overflow: hidden; position: relative; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.gallery__slide.is-zoom { cursor: zoom-in; }
.gallery__slide.is-zoom img { transform: scale(1.7); }
.gallery__nav { position: absolute; bottom: 14px; inset-inline-end: 14px; display: flex; align-items: center; gap: 4px; background: var(--paper); padding: 2px; }
.gallery__btn[data-slide="prev"] { transform: scaleX(calc(-1 * var(--dir))); }
.gallery__btn[data-slide="next"] { transform: scaleX(var(--dir)); }
.gallery__count { font-size: .82rem; min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { width: 72px; flex: none; aspect-ratio: 3/4; overflow: hidden; opacity: .55; outline: 1px solid transparent; transition: opacity .2s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on, .thumb:hover { opacity: 1; outline-color: var(--ink); }
.pdp-info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp-info__inner { display: grid; gap: 22px; }
.crumb { font-size: .88rem; color: var(--taupe); }
.crumb:hover { color: var(--ink); }
.pdp-title { font-size: var(--step-3); font-weight: 600; line-height: 1; letter-spacing: -.02em; font-variation-settings: "wdth" 72; margin-top: -10px; }
[dir="rtl"] .pdp-title { line-height: 1.3; letter-spacing: 0; }
.pdp-price { font-size: 1.25rem; display: flex; gap: 12px; font-variant-numeric: tabular-nums; font-weight: 500; }
.opt legend { display: flex; justify-content: space-between; width: 100%; font-size: .9rem; margin-bottom: 10px; gap: 12px; }
.opt__value { color: var(--taupe); margin-inline-start: 8px; margin-inline-end: auto; }
.opt__guide { font-size: .85rem; }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  min-width: 52px; height: 48px; padding: 0 12px; border: var(--line); border-radius: var(--radius); font-size: .92rem;
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.size:hover:not(:disabled) { border-color: var(--ink); }
.size.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size.is-out { color: var(--taupe); background: linear-gradient(to top left, transparent calc(50% - .5px), var(--stone) 50%, transparent calc(50% + .5px)); }
.size.is-out.is-on { color: var(--paper); background: var(--taupe); border-color: var(--taupe); }
.size:disabled { opacity: .35; }
.swatch { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 10px; padding-inline: 10px 16px; border: var(--line); border-radius: 24px; font-size: .9rem; transition: border-color .22s var(--ease); }
.swatch__dot { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); transition: transform .3s var(--ease); }
.swatch.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch.is-on .swatch__dot { transform: scale(.82); }
.swatch.is-out .swatch__label { text-decoration: line-through; color: var(--taupe); }
.availability { font-size: .9rem; display: flex; align-items: center; gap: 8px; margin-top: -6px; }
.availability::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--stone); }
.availability--ok::before { background: var(--ok); }
.availability--low::before { background: #B7791F; }
.availability--out::before { background: var(--danger); }
.pdp-buy { display: flex; gap: 10px; }
.pdp-buy .btn { --h: 56px; }
.pdp-buy .btn.is-added { background: var(--indigo); }
.pdp-note { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--taupe); padding-top: 4px; }
.pdp-note .icon { flex: none; margin-top: 3px; }
.pdp-details { border-top: var(--line); padding-top: 14px; }
.pdp-details summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; min-height: 32px; align-items: center; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; }
.pdp-details[open] summary::after { content: "–"; }
.pdp-details .prose { margin: 10px 0 12px; max-width: 60ch; }

/* Stepper */
.stepper { display: inline-flex; align-items: center; border: var(--line); border-radius: var(--radius); height: 56px; }
.stepper button { width: 44px; height: 100%; display: grid; place-items: center; }
.stepper button:disabled { opacity: .3; }
.stepper input { width: 40px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--sm { height: 40px; }
.stepper--sm button { width: 36px; }
.stepper--sm input { width: 32px; }

/* ---------- Cart lines ---------- */
.lines { display: grid; }
.line {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: var(--line);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.lines--compact .line { grid-template-columns: 76px minmax(0, 1fr) auto; }
.line.is-leaving { opacity: 0; transform: translateX(calc(-16px * var(--dir))); }
.line__media { aspect-ratio: 3/4; overflow: hidden; background: var(--linen); }
.line__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s var(--ease); }
.line__media img.is-loaded { opacity: 1; }
.line__body { display: grid; gap: 4px; align-content: start; }
.line__name { font-weight: 500; }
.line__name:hover { text-decoration: underline; text-underline-offset: 4px; }
.line__variant { color: var(--taupe); font-size: .88rem; }
.line__flag { color: var(--danger); font-size: .85rem; }
.line__controls { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.line__price { text-align: end; display: grid; align-content: start; gap: 2px; font-variant-numeric: tabular-nums; font-weight: 500; }
.line__price s { font-weight: 400; font-size: .85rem; }
.line.is-unavailable .line__media, .line.is-unavailable .line__name { opacity: .5; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.sum-row--total { font-size: 1.15rem; padding-top: 14px; border-top: 1px solid var(--ink); }

/* ---------- Cart & checkout pages ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 64px); align-items: start; }
.cart-layout.is-empty { grid-template-columns: 1fr; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; padding: 26px; background: var(--linen); }
.summary__title { font-size: 1.1rem; font-weight: 600; }
.field { display: grid; gap: 6px; align-content: start; }
.field--inline { gap: 6px; }
.field label, .field__label { font-size: .9rem; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border: var(--line); border-radius: var(--radius); background: var(--paper);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); resize: vertical;
}
.field select { padding-top: 0; padding-bottom: 0; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field__hint { font-size: .82rem; color: var(--taupe); }
.field__error { font-size: .84rem; color: var(--danger); min-height: 0; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(24px, 4vw, 64px); align-items: start; }
.checkout__form { display: grid; gap: 40px; }
.form-section { display: grid; gap: 18px; }
.form-section legend { font-size: var(--step-1); font-weight: 600; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); width: 100%; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s var(--ease); }
.radio-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card.is-disabled { opacity: .55; cursor: not-allowed; }
.radio-card input { accent-color: var(--ink); width: 18px; height: 18px; margin-top: 3px; }
.radio-card__body { display: grid; gap: 2px; }
.form-msg { padding: 12px 14px; font-size: .92rem; }
.form-msg--error { background: #F6E3E0; color: var(--danger); }
.form-msg--ok { background: #E2ECE3; color: var(--ok); }
.mini-lines { display: grid; gap: 14px; }
.mini-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; font-size: .92rem; }
.success .mini-line { grid-template-columns: minmax(0, 1fr) auto; }
.mini-line__media { position: relative; width: 56px; aspect-ratio: 3/4; background: var(--paper); }
.mini-line__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.mini-line__media img.is-loaded { opacity: 1; }
.mini-line__qty { position: absolute; top: -7px; inset-inline-end: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: .72rem; display: grid; place-items: center; }
.mini-line__body { display: grid; gap: 2px; }
.mini-line.is-unavailable { opacity: .6; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 10px 8px; border-bottom: var(--line); text-align: start; }
.table th { font-weight: 500; color: var(--taupe); }

/* ---------- Success ---------- */
.success { max-width: 640px; margin: 0 auto; display: grid; gap: 24px; justify-items: start; }
.success__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--indigo); color: var(--paper); display: grid; place-items: center; animation: pop .6s var(--ease) both; }
.success__number { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-block: var(--line); width: 100%; justify-content: space-between; }
.success__number strong { font-size: 1.3rem; letter-spacing: .04em; }
.success__whats { width: 100%; padding: 24px; background: var(--linen); display: grid; gap: 12px; justify-items: start; }
.success__whats h2 { font-size: 1.15rem; font-weight: 600; }
.success__summary { width: 100%; display: grid; gap: 12px; }

/* ---------- Login ---------- */
.page-login { background: var(--paper); }
.login { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.login__brand { background: var(--indigo); color: var(--paper); display: grid; place-items: center; padding: 40px; }
.login__brand .wordmark { flex-direction: column; align-items: center; gap: 18px; }
.login__brand .wordmark__latin { margin-inline-end: -.26em; }
.login__panel { display: grid; align-content: center; gap: 14px; padding: clamp(28px, 6vw, 96px); max-width: 560px; width: 100%; position: relative; }
.login__lang { position: absolute; top: 20px; inset-inline-end: 20px; }
.stack { display: grid; gap: 16px; margin-top: 10px; justify-items: start; }
.stack .field, .stack .btn { width: 100%; }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 90; background: var(--paper); display: grid; place-items: center;
  clip-path: inset(0 0 0 0); transition: clip-path .85s var(--ease-in-out);
}
.intro.is-leaving { clip-path: inset(0 0 100% 0); }
.intro__mark { display: grid; justify-items: center; gap: 12px; }
.intro__latin { display: flex; overflow: hidden; font-family: var(--font-latin); font-weight: 700; font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: .26em; margin-inline-end: -.26em; font-variation-settings: "wdth" 112; }
.intro__latin span { display: inline-block; transform: translateY(105%); }
.intro__ar { font-family: var(--font-arabic); font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--indigo); opacity: 0; transform: translateY(8px); }
.intro.is-playing .intro__latin span { transform: none; transition: transform .7s var(--ease); transition-delay: calc(var(--d) * 70ms); }
.intro.is-playing .intro__ar { opacity: 1; transform: none; transition: opacity .6s var(--ease) .45s, transform .6s var(--ease) .45s; }

/* ---------- Scroll reveal (only with JS; respects reduced motion) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }

/* ---------- Keyframes ---------- */
@keyframes shimmer { to { background-position: -300% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --header-h: 58px; }
  .primary-nav { display: none; }
  .nav-toggle { display: inline-grid; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .site-header__inner .wordmark { justify-self: center; }
  .lang-toggle { display: none; }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 8px; align-items: start; }
  .hero__media { grid-column: 1; grid-row: 1; }
  .frame--hero { max-height: 72svh; aspect-ratio: 4 / 5; }
  .hero__copy { grid-column: 1; grid-row: 2; padding: 28px 0 8px; }
  .hero__title { max-width: 10ch; }
  .hero__media { width: 84%; margin-inline-start: auto; }
  .hero__glyph { font-size: 64vw; top: -2vw; inset-inline-start: -6vw; }

  .campaign { grid-template-columns: 1fr; row-gap: 28px; }
  .campaign__media, .campaign__copy { grid-column: 1; }
  .collection-row a { grid-template-columns: minmax(0, 1fr) auto; }
  .collection-row__desc { grid-column: 1; grid-row: 2; font-size: .92rem; }
  .collection-row__go { grid-row: 1 / span 2; grid-column: 2; }
  .collection-row__peek { display: none; }

  .shop-body { grid-template-columns: 1fr; }
  #filters-desktop { display: none; }
  .filters-btn { display: inline-flex; }
  .shop-tools { width: 100%; }
  .search-inline { flex: 1 1 100%; min-width: 0; }

  .pdp { grid-template-columns: 1fr; }
  .pdp-media { margin-inline: calc(-1 * var(--gutter)); }
  .gallery__thumbs { display: none; }
  .pdp-info { position: static; }
  .pdp-buy { position: sticky; bottom: 0; z-index: 5; background: var(--paper); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); border-top: var(--line); }

  .cart-layout, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .checkout__summary { order: -1; }

  .login { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .login__brand { padding: 48px 24px; }
}
@media (max-width: 720px) {
  .grid, .grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
  .services { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__base { flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
  .section__head { align-items: baseline; }
  .modal { align-items: end; padding: 0; }
  .modal__panel { width: 100%; max-height: 88vh; transform: translateY(100%); padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
  .modal.is-open .modal__panel { transform: none; }
  .line { grid-template-columns: 80px minmax(0, 1fr); }
  .line__price { grid-column: 2; grid-row: 1; text-align: end; justify-self: end; }
  .line__body { grid-column: 2; grid-row: 1 / span 2; padding-inline-end: 90px; }
  .line__media { grid-row: 1 / span 2; }
  .success__number { flex-direction: column; gap: 4px; }
}
@media (max-width: 380px) {
  .hero__ctas .btn--lg { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .hero__title, .js .hero__text, .js .hero__ctas, .js .hero__media, .js .hero__glyph, .js [data-reveal] { opacity: 1; transform: none; }
  .gallery__slide.is-zoom img { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .drawer, .toasts, .btn--whats { display: none !important; }
}

/* ---------- Small alignment fixes ---------- */
.filters > .link-btn { justify-self: start; }
.filters { justify-items: stretch; }
