/* =========================================================
   AllureFashion demo
   Direction: layout uses logical properties; --dir flips horizontal motion for RTL (Arabic).
   Shape rule: editorial imagery (hero, categories, about) uses arches that echo the
   round logo emblem. Everything else (cards, buttons, inputs) is sharp-cornered.
   Buttons that are icon-only are circles.
   ========================================================= */

@font-face {
  font-family: 'Bodoni Moda';
  src: url('../assets/fonts/bodoni-moda.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('../assets/fonts/bodoni-moda-italic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'El Messiri';
  src: url('../assets/fonts/el-messiri-arabic.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  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: 'Noto Sans Arabic';
  src: url('../assets/fonts/noto-sans-arabic.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  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: 'Cinzel';
  src: url('../assets/fonts/cinzel.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'Josefin Sans';
  src: url('../assets/fonts/josefin-sans.woff2') format('woff2');
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../assets/fonts/jost.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* palette: white dominant, champagne gold accent, warm neutral depth */
  --bg: #fffdf9;
  --surface: #faf6ef;
  --sand: #f3ece1;
  --ink: #221d19;
  --ink-2: #4b433c;
  --muted: #6b6157;
  --line: #e8decf;
  --gold: #b3915b;          /* decorative lines, large display */
  --gold-deep: #86662f;     /* small text on light: 5:1 on white */
  --gold-soft: #dcc59d;
  --gold-grad-text: linear-gradient(115deg, #7a5a27 0%, #9c7738 35%, #c19c5c 50%, #9c7738 65%, #7a5a27 100%);
  --gold-grad: linear-gradient(115deg, #8b6932 0%, #b99352 30%, #e2c98f 50%, #b18b4b 70%, #8b6932 100%);

  /* type */
  --serif: 'Bodoni Moda', 'El Messiri', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Jost', 'Noto Sans Arabic', 'Futura', 'Century Gothic', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --pink: #f49cc4;          /* the logo's own colour */
  --pink-ink: #ec85b5;      /* same hue, slightly deeper for small lettering on white */
  --dir: 1;
  --fs-display: clamp(3rem, 1.4rem + 5.2vw, 6.1rem);
  --fs-h2: clamp(2.15rem, 1.45rem + 2.6vw, 3.75rem);
  --fs-h3: clamp(1.35rem, 1.15rem + .7vw, 1.75rem);
  --fs-lede: clamp(1.02rem, .97rem + .25vw, 1.15rem);
  --fs-label: .72rem;

  /* space */
  --gutter: clamp(1.25rem, 4vw, 3.25rem);
  --section: clamp(5rem, 3rem + 7vw, 9.5rem);
  --nav-h: 78px;

  /* motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --dur: .9s;

  --shadow: 0 30px 60px -30px rgba(80, 58, 24, .28);
  --z-nav: 50;
  --z-toast: 90;
}
[dir='rtl'] { --dir: -1; }
[dir='rtl'] .icon--dir { scale: -1 1; }
[dir='rtl'] .btn--primary::before, [dir='rtl'] .btn--outline::before { transform-origin: left; }
[dir='rtl'] .btn:hover::before { transform-origin: right; }
[dir='rtl'] .link-arrow { background-position: right bottom; }

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 66px; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; inset-inline-start: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--bg); padding: .75rem 1.25rem;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: var(--surface); }
.icon { width: 1.25rem; height: 1.25rem; fill: currentColor; flex: none; }

/* ---------- typography ---------- */
.display, .h1, .h2, .cta__title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.01em;
  font-optical-sizing: auto;
}
.display { font-size: var(--fs-display); line-height: 1.02; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; text-wrap: balance; }
.h1 em, .h2 em, .display em, .cta__title em { font-style: italic; }
.h1 { font-size: clamp(2.5rem, 1.6rem + 3.1vw, 4.4rem); line-height: 1.04; text-wrap: balance; }
.h1 em { display: block; color: var(--gold-deep); padding-bottom: .06em; }
.h2 em { display: block; color: var(--gold-deep); padding-bottom: .06em; }
.lede { font-size: var(--fs-lede); color: var(--muted); line-height: 1.7; max-width: 52ch; font-weight: 400; }
.eyebrow {
  font-size: var(--fs-label); letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500;
  display: inline-flex; align-items: center; gap: .9rem;
}
.eyebrow::before { content: ''; width: 2.25rem; height: 1px; background: var(--gold); }
.gold-text {
  background: var(--gold-grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

/* ---------- buttons & links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .85rem;
  min-height: 3.5rem; padding: 0 2rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  transition: color .5s var(--ease), transform .2s var(--ease), box-shadow .5s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, #7a5a28, #94713a 55%, #7a5a28);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.btn .icon { width: 1rem; height: 1rem; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { box-shadow: var(--shadow); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { color: var(--bg); }
.btn--outline::before { background: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); padding-block: .5rem;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow .icon { width: .95rem; height: .95rem; transition: transform .5s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; color: var(--gold-deep); }
.link-arrow:hover .icon { transform: translateX(5px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  transition: background-color .3s, color .3s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--sand); color: var(--gold-deep); }
.icon-btn:active { transform: scale(.94); }

.round-btn {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink); background: var(--bg);
  transition: border-color .3s, background-color .3s, color .3s, transform .2s var(--ease), opacity .3s;
}
.round-btn .icon { width: 1.1rem; height: 1.1rem; }
.round-btn:hover { border-color: var(--gold); background: var(--gold-deep); color: #fff; }
.round-btn:active { transform: scale(.94); }
.round-btn[disabled] { opacity: .35; pointer-events: none; }

.chip {
  min-height: 2.75rem; padding: 0 1.35rem; border: 1px solid var(--line);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink-2);
  transition: background-color .35s var(--ease), color .35s, border-color .35s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- brand lockup: the real emblem in its own pink, wordmark set in Cinzel + Josefin Sans ---------- */
.brand { display: inline-flex; align-items: center; gap: .5rem; direction: ltr; color: var(--pink-ink); }
.brand__mark { height: 2.15rem; width: auto; transition: rotate 1.2s var(--ease); }
.brand:hover .brand__mark { rotate: -8deg; }
.brand__word { display: grid; justify-items: start; line-height: 1; text-transform: uppercase; }
.brand__allure { font-family: 'Cinzel', var(--serif); font-weight: 600; font-size: .98rem; letter-spacing: .2em; margin-inline-end: -.2em; }
.brand__fashion { font-family: 'Josefin Sans', var(--sans); font-weight: 600; font-size: .5rem; letter-spacing: .56em; margin-top: .28rem; }
.brand--lg .brand__mark { height: 2.9rem; }
.brand--lg .brand__allure { font-size: 1.3rem; }
.brand--lg .brand__fashion { font-size: .64rem; letter-spacing: .6em; }
.brand--stack { flex-direction: column; gap: 1rem; }
.brand--stack .brand__mark { height: 7.5rem; }
.brand--stack .brand__word { justify-items: center; }
.brand--stack .brand__allure { font-size: 2.1rem; letter-spacing: .22em; margin-inline-end: -.22em; }
.brand--stack .brand__fashion { font-size: .9rem; letter-spacing: .72em; margin-inline-end: -.72em; margin-top: .55rem; }

/* ---------- navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  height: var(--nav-h);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease), transform .5s var(--ease);
}
.nav::after {
  content: ''; position: absolute; inset: auto 0 0; height: 1px; background: var(--line);
  transform: scaleX(0); transition: transform .8s var(--ease);
}
.nav.is-scrolled {
  --nav-h: 66px;
  background: rgba(255, 253, 249, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.nav.is-scrolled::after { transform: scaleX(1); }
.nav__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.nav__inner .brand { justify-self: start; }
.nav__menu-btn { display: none; }
.nav__links { display: flex; gap: clamp(1.25rem, 2.6vw, 2.6rem); }
.nav__links a {
  position: relative; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  padding-block: .6rem; color: var(--ink-2); transition: color .3s;
}
.nav__links a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: .25rem; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links > a:hover, .nav__links a[aria-current='page'], .dropdown:hover .dropdown__trigger { color: var(--ink); }
.nav__links > a:hover::after, .nav__links > a[aria-current='page']::after, .dropdown__trigger[aria-current='page']::after,
.dropdown:hover .dropdown__trigger::after, .dropdown.is-open .dropdown__trigger::after { transform: scaleX(1); transform-origin: left; }
[dir='rtl'] .nav__links a::after { transform-origin: left; }
[dir='rtl'] .nav__links > a:hover::after, [dir='rtl'] .nav__links a[aria-current='page']::after,
[dir='rtl'] .dropdown:hover .dropdown__trigger::after { transform-origin: right; }
.nav__actions { justify-self: end; display: flex; gap: .25rem; }
.bag-btn { position: relative; }
.bag-btn__count {
  position: absolute; top: .3rem; inset-inline-end: .2rem; min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem;
  border-radius: 1rem; background: var(--gold-deep); color: #fff;
  font-size: .62rem; font-weight: 600; line-height: 1.1rem; text-align: center;
}
.bag-btn__count.is-bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100dvh, 980px);
  padding-top: calc(var(--nav-h) + clamp(1rem, 3vw, 3rem));
  padding-bottom: clamp(3rem, 5vw, 5rem);
  display: flex; align-items: center;
}
.hero::before {
  /* soft champagne panel behind the imagery, like a studio backdrop */
  content: ''; position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 41%;
  background: linear-gradient(180deg, var(--sand), var(--surface));
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.hero__copy { display: grid; gap: 1.6rem; justify-items: start; }
.display .line { display: block; overflow: hidden; padding-bottom: .08em; }
.display .line > * { display: inline-block; }
.hero__lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: var(--muted); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: .6rem; }

.hero__media { position: relative; justify-self: center; width: min(100%, 470px); padding-inline-start: 16%; }
.hero__main { position: relative; aspect-ratio: 704 / 940; overflow: hidden; box-shadow: var(--shadow); }
.hero__main img, .hero__second img { width: 100%; height: 100%; object-fit: cover; }
.hero__second {
  position: absolute; inset-inline-start: 0; bottom: 9%; width: 43%; aspect-ratio: 3 / 4.2; overflow: hidden;
  outline: 8px solid var(--bg); box-shadow: var(--shadow);
}
.hero__ring {
  position: absolute; width: 118%; top: -9%; inset-inline-end: -24%; overflow: visible; pointer-events: none;
}
.hero__ring circle { fill: none; stroke: var(--gold); stroke-width: .6; stroke-dasharray: 623; stroke-dashoffset: 0; }
.hero__tag {
  position: absolute; inset-inline-end: -4%; bottom: -1.6rem;
  display: flex; align-items: center; gap: 1rem; padding-block: .95rem; padding-inline: 1.4rem 1.2rem;
  background: var(--bg); box-shadow: var(--shadow); text-align: start;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.hero__tag:hover { transform: translateY(-4px); }
.hero__tag-name { font-family: var(--serif); font-size: 1rem; }
.hero__tag-price { font-size: .8rem; color: var(--gold-deep); letter-spacing: .06em; font-weight: 500; }
.hero__tag .icon { width: 1rem; height: 1rem; color: var(--gold-deep); }

.arch { border-radius: 999px 999px 0 0; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.25rem); align-items: start; }
.cat-card:nth-child(even) { margin-top: clamp(2rem, 5vw, 5rem); }
.cat-card__link { display: grid; gap: .45rem; justify-items: start; }
.cat-card__media {
  position: relative; width: 100%; aspect-ratio: 3 / 4.25; overflow: hidden; background: var(--sand); margin-bottom: 1rem;
}
.cat-card__media::after {
  content: ''; position: absolute; inset: .6rem; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .85);
  opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat-card__link:hover .cat-card__media img { transform: scale(1.07); }
.cat-card__link:hover .cat-card__media::after { opacity: 1; transform: scale(1); }
.cat-card__count { font-size: var(--fs-label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.cat-card__name { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; }
.cat-card__desc { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.cat-card .link-arrow { margin-top: .35rem; }
.cat-card__link:hover .link-arrow { background-size: 100% 1px; color: var(--gold-deep); }
.cat-card__link:hover .link-arrow .icon { transform: translateX(5px); }
.cat-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; margin-inline: auto; }
.cat-grid--three .cat-card:nth-child(even) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }

/* ---------- product card ---------- */
.card { position: relative; display: grid; gap: 1rem; align-content: start; }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), filter .6s; }
.card__open { position: absolute; inset: 0; z-index: 1; }
.card__badge {
  position: absolute; top: .85rem; inset-inline-start: .85rem; z-index: 2;
  padding: .3rem .65rem; background: var(--bg); color: var(--gold-deep);
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
}
.card__wish {
  position: absolute; top: .6rem; inset-inline-end: .6rem; z-index: 2;
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: rgba(255, 253, 249, .92); color: var(--ink);
  transition: transform .3s var(--ease), color .3s, background-color .3s;
}
.card__wish .icon { width: 1.1rem; height: 1.1rem; }
.card__wish:hover { transform: scale(1.08); color: var(--gold-deep); }
.card__wish[aria-pressed='true'] { color: var(--gold-deep); }
.card__wish[aria-pressed='true'] .icon { animation: bump .5s var(--ease); }
.card__add {
  position: absolute; inset-inline: .75rem; bottom: .75rem; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem;
  background: rgba(255, 253, 249, .95); color: var(--ink);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  transform: translateY(calc(100% + 1rem)); opacity: 0;
  transition: transform .6s var(--ease), opacity .4s, background-color .3s, color .3s;
}
.card__add .icon { width: 1rem; height: 1rem; }
.card__add:hover { background: var(--ink); color: var(--bg); }
.card:hover .card__media img, .card:focus-within .card__media img { transform: scale(1.06); }
.card:hover .card__add, .card:focus-within .card__add { transform: none; opacity: 1; }
.card__body { display: grid; gap: .2rem; }
.card__cat { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.card__name { font-family: var(--sans); font-weight: 400; font-size: 1rem; line-height: 1.4; letter-spacing: .01em; }
.card__name button { text-align: start; background: linear-gradient(var(--ink), var(--ink)) left 95% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.card:hover .card__name button { background-size: 100% 1px; }
.card__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 1rem; margin-top: .15rem; }
.card__view { white-space: nowrap; }
.price { font-family: var(--serif); font-size: 1.05rem; font-variant-numeric: lining-nums tabular-nums; letter-spacing: .01em; }
.price small { font-family: var(--sans); font-size: .66rem; letter-spacing: .16em; margin-inline-end: .3rem; color: var(--muted); font-weight: 500; }
.card__view {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted);
  display: inline-flex; align-items: center; gap: .4rem; transition: color .3s; min-height: 2.75rem;
}
.card__view .icon { width: .85rem; height: .85rem; transition: transform .4s var(--ease); }
.card__view:hover { color: var(--gold-deep); }
.card__view:hover .icon { transform: translate(2px, -2px); }

@media (hover: none) {
  .card__add { transform: none; opacity: 1; inset-inline-start: auto; width: 2.75rem; min-height: 2.75rem; border-radius: 50%; padding: 0; }
  .card__add span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.product-grid { display: grid; gap: clamp(2rem, 3vw, 3rem) clamp(1rem, 2vw, 1.75rem); }
.product-grid--dresses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* dresses: one even catalog, same frame for every photo, rows aligned on one baseline */
.product-grid--dresses .card__media { aspect-ratio: 2 / 3; background: #fff; }
.product-grid--dresses .card__media img { object-position: 50% 18%; }

/* every card: equal height in its row, price line pinned to the bottom */
.product-grid > .card, .carousel__track > .card { display: flex; flex-direction: column; }
.product-grid > .card > .card__body, .carousel__track > .card > .card__body { flex: 1; display: flex; flex-direction: column; }
.product-grid > .card .card__row, .carousel__track > .card .card__row { margin-top: auto; padding-top: .15rem; }

/* ---------- shirts: bento ---------- */
.shirts__head { max-width: 40rem; }
.shirts__bento {
  display: grid; gap: clamp(1rem, 2vw, 1.75rem);
  grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
}
.shirts__bento > .card:first-child { grid-row: span 2; }
.shirts__bento > .card:first-child .card__media { aspect-ratio: auto; height: 100%; min-height: 32rem; }
.shirts__bento > .card:first-child { grid-template-rows: 1fr auto; }
.shirts__bento .card__media { background: var(--bg); }
.shirts__bento .card__media { aspect-ratio: 4 / 4.4; }

/* ---------- tees: carousel ---------- */
.tees__controls { display: flex; justify-content: flex-end; margin-bottom: 1.5rem; }
.carousel-controls { display: flex; gap: .75rem; flex: none; }
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(15rem, 22vw, 20rem);
  gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-inline: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
  padding-bottom: 1.5rem; scrollbar-width: none; cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track.is-dragging * { pointer-events: none; }
.carousel__track:focus-visible { outline-offset: -2px; }
.tees .card__media { aspect-ratio: 4 / 5; }

/* ---------- jeans: catalog ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 0 clamp(2.5rem, 4vw, 3.5rem); }
.product-grid--jeans { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; margin-inline: auto; }
.product-grid--jeans .card__cat span { color: var(--muted); }
.card.is-leaving { opacity: 0; transform: translateY(12px) scale(.98); }
.product-grid--jeans .card { transition: opacity .35s var(--ease), transform .45s var(--ease); }

/* ---------- featured edit ---------- */
.featured { background: linear-gradient(180deg, var(--bg) 0%, var(--sand) 38%, var(--sand) 100%); }
.featured__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto; column-gap: clamp(1rem, 2vw, 2rem); row-gap: clamp(2rem, 4vw, 3.5rem);
}
.featured__img { position: relative; overflow: hidden; background: var(--surface); }
.featured__img img { width: 100%; height: 115%; object-fit: cover; margin-top: -7.5%; }
.featured__img--a { grid-column: 1 / 7; grid-row: 1 / 3; aspect-ratio: 736 / 1040; align-self: start; }
.featured__copy { grid-column: 8 / 13; grid-row: 1; align-self: end; display: grid; gap: 1.25rem; justify-items: start; }
.featured__img--b { grid-column: 8 / 10; grid-row: 2; aspect-ratio: 1; align-self: start; }
.featured__img--c { grid-column: 10 / 13; grid-row: 2; aspect-ratio: 3 / 4; margin-top: clamp(2rem, 6vw, 6rem); align-self: start; }
.featured__img::after {
  content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.0);
  transition: box-shadow .6s var(--ease);
}
.featured__img.is-linked::after { box-shadow: inset 0 0 0 .5rem rgba(255, 253, 249, .9), inset 0 0 0 calc(.5rem + 1px) var(--gold); }
.edit-list { width: 100%; margin-top: .75rem; counter-reset: edit; border-top: 1px solid var(--gold-soft); }
.edit-list li { counter-increment: edit; }
.edit-list button {
  width: 100%; display: grid; grid-template-columns: 2.25rem 1fr auto; align-items: baseline; gap: .75rem;
  padding: 1.05rem 0; text-align: start; transition: padding .5s var(--ease), color .3s;
}
.edit-list li + li button { border-top: 0; }
.edit-list button::before { content: counter(edit, upper-roman); font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: .95rem; }
.edit-list__name { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); }
.edit-list__price { font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.edit-list button:hover { padding-inline-start: .75rem; color: var(--gold-deep); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.about__media { position: relative; padding-inline-end: 22%; padding-bottom: 14%; }
.about__img { overflow: hidden; background: var(--sand); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 736 / 1000; }
.about__img--detail {
  position: absolute; inset-inline-end: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4;
  outline: 10px solid var(--surface); box-shadow: var(--shadow);
}
.about__copy { display: grid; gap: 1.35rem; }
.about__copy p { color: var(--ink-2); max-width: 58ch; }
.about__copy .h2 { margin-bottom: .5rem; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.25rem; padding-top: 1.75rem; border-top: 1px solid var(--gold-soft); }
.pillars dt { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold-deep); margin-bottom: .35rem; }
.pillars dd { font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* ---------- CTA ---------- */
.cta { overflow: hidden; }
.cta__stage { position: relative; min-height: clamp(34rem, 60vw, 44rem); display: grid; place-items: center; }
.cta__content { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 1.5rem; max-width: 40rem; }
.cta__emblem { width: 4.25rem; height: auto; }
.cta__title { font-size: clamp(3.2rem, 1.6rem + 6vw, 7.5rem); line-height: .98; }
.cta__title em { display: block; color: var(--gold-deep); padding-bottom: .08em; }
.cta__content .btn { margin-top: .5rem; }
.cta__stage::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: min(46rem, 86vw); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, #f5ecdc 0%, #faf5ec 55%, rgba(255, 253, 249, 0) 100%);
}
.cta__piece {
  position: absolute; width: clamp(8rem, 15vw, 13.5rem); height: auto;
  filter: drop-shadow(0 24px 22px rgba(80, 58, 24, .16));
  transition: transform 1.2s var(--ease);
}
.cta__piece--1 { left: 1%; top: 4%; rotate: -7deg; }
.cta__piece--2 { right: 2%; top: 0; rotate: 6deg; }
.cta__piece--3 { left: 9%; bottom: -2%; rotate: 5deg; width: clamp(6.5rem, 11vw, 10rem); }
.cta__piece--4 { right: 9%; bottom: -4%; rotate: -5deg; width: clamp(7rem, 12vw, 11rem); }
.cta__stage:hover .cta__piece--1 { transform: translate(-6px, -6px); }
.cta__stage:hover .cta__piece--2 { transform: translate(6px, -6px); }
.cta__stage:hover .cta__piece--3 { transform: translate(-6px, 6px); }
.cta__stage:hover .cta__piece--4 { transform: translate(6px, 6px); }

/* ---------- footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(4rem, 7vw, 6.5rem); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.footer__brand { display: grid; gap: 1.4rem; align-content: start; justify-items: start; }
.footer__brand p { color: var(--muted); max-width: 34ch; }
.socials { display: flex; gap: .6rem; }
.socials .round-btn { width: 2.75rem; height: 2.75rem; background: transparent; }
.footer__col h3 { font-size: var(--fs-label); letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--gold-deep); margin-bottom: 1.25rem; }
.footer__col ul { display: grid; gap: .35rem; }
.footer__col a { display: inline-block; padding-block: .35rem; color: var(--ink-2); transition: color .3s, transform .4s var(--ease); }
.footer__col a:hover { color: var(--gold-deep); transform: translateX(calc(4px * var(--dir))); }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-2); padding-block: .35rem; }
.contact-list .icon { width: 1.1rem; height: 1.1rem; color: var(--gold-deep); margin-top: .35rem; }
.contact-list a { padding: 0; overflow-wrap: anywhere; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding-block: 1.75rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted);
}

/* ---------- dialogs: shared ---------- */
dialog { padding: 0; border: 0; color: var(--ink); background: var(--bg); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(34, 29, 25, .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .45s var(--ease); }
dialog.is-open::backdrop { opacity: 1; }

.drawer { --gutter: 1.5rem; position: fixed; inset-block: 0; inset-inline: 0 auto; height: 100dvh; width: min(26rem, 92vw); margin: 0; display: flex; flex-direction: column; overflow-y: auto; transition: transform .6s var(--ease); }
.drawer--start { transform: translateX(calc(-100% * var(--dir))); }
.drawer--end { inset-inline: auto 0; transform: translateX(calc(100% * var(--dir))); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); min-height: 4.5rem; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }

.menu__links { display: grid; padding: 2rem var(--gutter) 1rem; }
.menu__links a {
  font-family: var(--serif); font-size: 2.3rem; line-height: 1.35; padding-block: .2rem;
  opacity: 0; transform: translateX(calc(-1.25rem * var(--dir)));
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
  transition-delay: calc(.12s + var(--i) * .05s);
}
.menu__links a:hover { color: var(--gold-deep); }
.drawer.is-open .menu__links a { opacity: 1; transform: none; }
.menu__links a[aria-current='page'] { color: var(--gold-deep); }
.menu__cats { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding: 1.5rem var(--gutter); border-top: 1px solid var(--line); }
.menu__cats a { display: flex; align-items: center; gap: .75rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.menu__cats img { width: 2.75rem; height: 3.4rem; object-fit: cover; border-radius: 999px 999px 0 0; }
.menu__foot { padding: 0 var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); }

/* bag */
.bag__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
ul.bag__items { flex: 1; overflow-y: auto; margin: 0; padding: .25rem var(--gutter); }
.bag-item { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 1rem; padding-block: 1.25rem; }
.bag-item + .bag-item { border-top: 1px solid var(--line); }
.bag-item img { width: 4.5rem; aspect-ratio: 3 / 4; object-fit: cover; background: var(--surface); }
.bag-item img.is-cutout { object-fit: contain; padding: .35rem; }
.bag-item__name { font-family: var(--serif); font-size: 1.02rem; line-height: 1.3; }
.bag-item__meta { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: .7rem; }
.qty button { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; transition: color .3s, background-color .3s; }
.qty button:hover { background: var(--sand); color: var(--gold-deep); }
.qty .icon { width: .85rem; height: .85rem; }
.qty output { min-width: 1.75rem; text-align: center; font-size: .9rem; }
.bag-item__side { display: grid; justify-items: end; align-content: space-between; }
.bag-item__remove { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 2.75rem; }
.bag-item__remove:hover { color: var(--gold-deep); }
.bag__foot { padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 1rem; background: var(--surface); }
.bag__total { display: flex; justify-content: space-between; align-items: baseline; }
.bag__total span:first-child { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.bag__note { font-size: .82rem; color: var(--muted); text-align: center; }
.bag__foot .btn { width: 100%; }

.empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 2rem var(--gutter); }
.empty__mark { width: 4.5rem; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-soft); color: var(--gold-deep); }
.empty__mark .icon { width: 1.6rem; height: 1.6rem; }
.empty h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.empty p { color: var(--muted); max-width: 30ch; }

/* search */
.search { position: fixed; inset: 0 0 auto; width: 100%; max-height: 100dvh; overflow-y: auto; margin: 0; transform: translateY(-100%); transition: transform .6s var(--ease); }
.search.is-open { transform: none; }
.search__inner { padding-block: 1.25rem 3rem; }
.search__bar { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--ink); padding-block: .75rem; }
.search__bar > .icon { color: var(--gold-deep); width: 1.5rem; height: 1.5rem; }
.search__bar input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem); padding-block: .25rem;
}
.search__bar input::placeholder { color: #8f857a; }
.search__bar:focus-within { border-bottom-color: var(--gold-deep); }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__status { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-block: 1.25rem; font-weight: 500; }
.search__results.is-block { display: block; }
.empty--flush { padding-inline: 0; }
.search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 1.5rem 1rem; }
.search__results .card__add, .search__results .card__wish, .search__results .card__badge { display: none; }
.search__suggest { display: flex; flex-wrap: wrap; gap: .5rem; }

/* quick view */
.quickview { width: min(64rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; overflow: auto; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.quickview.is-open { opacity: 1; transform: none; }
.quickview__close { position: absolute; top: .75rem; inset-inline-end: .75rem; z-index: 2; background: var(--bg); }
.quickview__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.qv__media { background: var(--surface); aspect-ratio: 3 / 4; }
.qv__media img { width: 100%; height: 100%; object-fit: cover; }
.qv__media.is-cutout img { object-fit: contain; padding: 8% 12%; }
.qv__sizes { border: 0; padding: 0; margin: 0; min-width: 0; }
.qv__sizes .sizes { margin-top: .75rem; }
.qv__info { padding: clamp(1.75rem, 4vw, 3.5rem); display: grid; gap: 1.1rem; align-content: center; }
.qv__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.12; }
.qv__price { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-deep); }
.qv__desc { color: var(--ink-2); }
.qv__label { font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; font-weight: 500; display: flex; justify-content: space-between; }
.qv__label span { color: var(--muted); letter-spacing: .08em; text-transform: none; font-weight: 400; font-size: .8rem; }
.sizes { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sizes span {
  display: grid; place-items: center; min-width: 3rem; height: 3rem; padding: 0 .75rem; border: 1px solid var(--line);
  font-size: .85rem; transition: border-color .3s, background-color .3s, color .3s;
}
.sizes input:hover + span { border-color: var(--gold); }
.sizes input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sizes input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.qv__error { color: #9b2c2c; font-size: .85rem; min-height: 1.3em; }
.qv__actions { display: flex; gap: .75rem; }
.qv__actions .btn--primary { flex: 1; }
.qv__actions .round-btn { width: 3.5rem; height: 3.5rem; border-radius: 0; }
.qv__actions .round-btn[aria-pressed='true'] { color: var(--gold-deep); border-color: var(--gold); }
.qv__actions .round-btn[aria-pressed='true']:hover { color: #fff; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom)); z-index: var(--z-toast);
  display: flex; align-items: center; gap: .75rem; padding: .95rem 1.4rem;
  background: var(--ink); color: var(--bg); font-size: .9rem; box-shadow: var(--shadow);
  translate: -50% 150%; opacity: 0; transition: translate .6s var(--ease), opacity .4s; pointer-events: none;
  max-width: calc(100vw - 2rem);
}
.toast .icon { color: var(--gold-soft); width: 1.1rem; height: 1.1rem; }
.toast.is-visible { translate: -50% 0; opacity: 1; }

/* =========================================================
   Motion: content is visible without JS. With JS, elements reveal on
   entering the viewport and reset when they leave, in both scroll directions.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .js [data-reveal] {
    opacity: 0; transform: translate3d(0, 2.25rem, 0);
    transition: opacity var(--dur) var(--ease-soft), transform 1.1s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js [data-reveal][data-from='above'] { transform: translate3d(0, -2.25rem, 0); }
  /* clip lives on the <img>: Chromium treats a clip-path on the observed element as zero visible area */
  .js [data-reveal='image'] { opacity: 1; transform: none; }
  .js [data-reveal='image'] img {
    clip-path: inset(100% 0 0 0); scale: 1.18;
    transition: clip-path 1.25s var(--ease), scale 1.6s var(--ease);
  }
  .js [data-reveal='image'][data-from='above'] img { clip-path: inset(0 0 100% 0); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal='image'].is-in img { clip-path: inset(0 0 0 0); scale: 1; }

  /* product cards stagger inside their grid */
  .js .card[data-reveal] { transition-delay: calc(var(--i, 0) * 70ms); }

  /* hero entrance */
  .js .hero__in { opacity: 0; transform: translateY(110%); animation: rise 1.2s var(--ease) var(--d, 0s) forwards; }
  .js .hero__lede.hero__in, .js .hero__actions.hero__in, .js .eyebrow.hero__in { transform: translateY(1.5rem); }
  .js .hero__main { animation: unveil 1.6s var(--ease) .15s both; }
  .js .hero__main img { animation: settle 2.2s var(--ease) .15s both; }
  .js .hero__second { animation: unveil 1.4s var(--ease) .55s both; }
  .js .hero__tag { animation: fadeUp 1s var(--ease) 1s both; }
  .js .hero__ring circle { animation: draw 2.4s var(--ease) .3s both; }
  .js .hero::before { animation: panel 1.4s var(--ease) both; transform-origin: right; }

  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes settle { from { transform: scale(1.22); } to { transform: scale(1); } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
  @keyframes draw { from { stroke-dashoffset: 623; } to { stroke-dashoffset: 0; } }
  @keyframes panel { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  .js .gold-text.hero__in { animation: rise 1.2s var(--ease) var(--d, 0s) forwards, sheen 5s var(--ease-soft) 1.2s both; }
  @keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

  /* scroll-linked depth where supported (Chromium, Safari 26+); static elsewhere */
  @supports (animation-timeline: view()) {
    .parallax { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes drift { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
    .cta__piece--1, .cta__piece--4 { animation: floatA linear both; animation-timeline: view(); animation-range: cover; }
    .cta__piece--2, .cta__piece--3 { animation: floatB linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes floatA { from { translate: 0 var(--float, 3rem); } to { translate: 0 calc(var(--float, 3rem) * -1); } }
    @keyframes floatB { from { translate: 0 calc(var(--float, 3rem) * -.7); } to { translate: 0 calc(var(--float, 3rem) * .8); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links { gap: 1.4rem; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  html { scroll-padding-top: 60px; }
  .nav.is-scrolled { --nav-h: 60px; }
  .nav__inner { grid-template-columns: 1fr auto 1fr; gap: .5rem; }
  .nav__menu-btn { display: inline-grid; justify-self: start; margin-inline-start: -.6rem; }
  .nav__inner > .brand { justify-self: center; }
  .nav__links { display: none; }
  .nav__actions { margin-inline-end: -.6rem; }
  .brand__mark { height: 2rem; }
  .brand__allure { font-size: .9rem; }
  .brand__fashion { font-size: .46rem; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 2rem); }
  .hero::before { width: 100%; top: auto; height: 46%; }
  .hero__grid { grid-template-columns: 1fr; gap: 3.25rem; }
  .hero__copy { max-width: 36rem; }
  .hero__media { width: min(100%, 420px); padding-inline-start: 18%; margin-bottom: 1.5rem; }
  .hero__tag { inset-inline-end: 0; }

  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }


  .shirts__bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shirts__bento > .card:first-child { grid-column: 1 / -1; grid-row: auto; }
  .shirts__bento > .card:first-child .card__media { min-height: 0; aspect-ratio: 4 / 3.4; }
  .shirts__bento > .card:first-child .card__media img { object-position: 50% 35%; }

  .product-grid--jeans { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .featured__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .featured__img--a { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 4 / 4.6; }
  .featured__copy { grid-column: 1 / -1; grid-row: 1; }
  .featured__img--b { grid-column: 1 / 4; grid-row: 3; }
  .featured__img--c { grid-column: 4 / 7; grid-row: 3; margin-top: 0; aspect-ratio: 1; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 34rem; }

  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }

  .quickview__body { grid-template-columns: 1fr; }
  .qv__media { aspect-ratio: 4 / 3.6; }
}

@media (max-width: 640px) {
  :root { --section: 4.5rem; }
  .display { font-size: clamp(2.9rem, 13.5vw, 3.6rem); }
  .hero { padding-top: calc(var(--nav-h) + 1.75rem); }
  .hero__copy { gap: 1.25rem; }
  .hero__actions { width: 100%; gap: 1rem 1.5rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__media { width: 100%; padding-inline-start: 14%; }
  .hero__second { width: 42%; bottom: 12%; outline-width: 6px; }
  .hero__ring { width: 105%; inset-inline-end: -18%; }
  .hero__tag { inset-inline-end: -.25rem; bottom: -1.25rem; padding: .75rem 1rem; gap: .75rem; }
  .hero__tag-name { font-size: .92rem; }

  .cat-grid { gap: 2.25rem .9rem; }
  .cat-card:nth-child(even) { margin-top: 2.5rem; }
  .cat-card__media { margin-bottom: .6rem; }
  .cat-card__count { font-size: .62rem; letter-spacing: .16em; }
  .cat-card__name { font-size: 1.3rem; }
  .cat-card__desc { font-size: .85rem; }
  .cat-card .link-arrow { font-size: .66rem; letter-spacing: .12em; gap: .4rem; }

  .product-grid { row-gap: 2.25rem; column-gap: .9rem; }

  .card { gap: .75rem; }
  .card__name { font-size: .9rem; }
  .card__row { flex-direction: column; align-items: flex-start; gap: 0; }
  .price { font-size: .98rem; }
  .card__view { min-height: 2.25rem; font-size: .62rem; }
  .card__badge { top: .5rem; inset-inline-start: .5rem; font-size: .56rem; padding: .25rem .5rem; }
  .card__wish { top: .35rem; inset-inline-end: .35rem; }
  .card__add { inset-inline-end: .5rem; bottom: .5rem; }

  /* shirts become a swipeable row on phones */
  .shirts__bento {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72vw;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .shirts__bento::-webkit-scrollbar { display: none; }
  .shirts__bento > .card { scroll-snap-align: start; }
  .shirts__bento > .card:first-child { grid-column: auto; }
  .shirts__bento > .card:first-child .card__media, .shirts__bento .card__media { aspect-ratio: 3 / 3.8; }

  .tees__controls { display: none; }
  .carousel__track { grid-auto-columns: 64vw; }

  .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .section-head--center { justify-items: start; text-align: start; }
  .section-head--center .lede { margin-inline: 0; }

  .featured__grid { row-gap: 1rem; column-gap: .75rem; }
  .featured__img--a { grid-row: 1; aspect-ratio: 4 / 4.8; }
  .featured__copy { grid-row: 2; margin-block: 1.75rem 1.25rem; }
  .edit-list button { padding-block: .8rem; }
  .edit-list button { grid-template-columns: 1.75rem 1fr; }
  .edit-list__price { grid-column: 2; margin-top: -.5rem; }

  .about__media { padding-inline-end: 18%; }
  .pillars { grid-template-columns: 1fr; gap: 1.1rem; }
  .pillars div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: baseline; }

  .cta { --float: .75rem; }
  .cta__stage { min-height: auto; padding-block: 10.5rem 13.5rem; }
  .cta__piece { width: 7.25rem; }
  .cta__piece--1 { left: -1.25rem; top: 0; }
  .cta__piece--2 { right: -1rem; top: .5rem; }
  .cta__piece--3 { left: 1.25rem; bottom: -3.5rem; width: 4.25rem; }
  .cta__piece--4 { right: 1rem; bottom: -2.5rem; width: 5.5rem; }
  .cta__content .btn { width: 100%; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }

  .quickview { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
  .qv__actions .btn { padding: 0 1rem; }
}

/* =========================================================
   Multi-page additions
   ========================================================= */
.section--top-tight { padding-top: clamp(1.5rem, 3vw, 3rem); }

/* language switch */
.lang-btn {
  min-width: 2.75rem; height: 2.75rem; padding: 0 .7rem; border-radius: 999px;
  font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: var(--ink);
  border: 1px solid var(--line); transition: border-color .3s, color .3s, background-color .3s;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.lang-btn[lang='ar'] { font-family: 'Noto Sans Arabic', var(--sans); font-size: .9rem; }
.lang-btn--wide { width: 100%; height: 3.25rem; border-radius: 0; font-size: .95rem; }

/* categories dropdown */
.dropdown { position: relative; display: flex; align-items: center; gap: .15rem; }
.dropdown__trigger { position: relative; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; padding-block: .6rem; color: var(--ink-2); transition: color .3s; }
.dropdown__toggle { display: grid; place-items: center; width: 1.5rem; height: 2.75rem; color: var(--ink-2); }
.dropdown__toggle .icon { width: .8rem; height: .8rem; transition: rotate .4s var(--ease); }
.dropdown.is-open .dropdown__toggle .icon, .dropdown:hover .dropdown__toggle .icon { rotate: 180deg; }
.dropdown__panel {
  position: absolute; top: 100%; left: 50%; translate: -50% .75rem;
  display: grid; grid-template-columns: repeat(4, 7.5rem); gap: 1rem; padding: 1.25rem;
  background: var(--bg); box-shadow: 0 30px 60px -20px rgba(80, 58, 24, .25); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), translate .5s var(--ease), visibility 0s .35s;
}
.dropdown__panel::before { content: ''; position: absolute; inset: -1rem 0 100%; }
.dropdown:hover .dropdown__panel, .dropdown.is-open .dropdown__panel {
  opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s;
}
.dropdown__item { display: grid; gap: .6rem; justify-items: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); transition: color .3s; }
.dropdown__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; transition: transform .8s var(--ease); }
.dropdown__item:hover, .dropdown__item[aria-current='page'] { color: var(--gold-deep); }
.dropdown__item:hover img { transform: translateY(-4px); }

/* inner page header */
.page-hero { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vw, 3.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero::before { content: ''; position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 34%; background: linear-gradient(180deg, var(--sand), var(--surface)); }
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero__copy { display: grid; gap: 1.25rem; justify-items: start; }
.page-hero__copy .lede { max-width: 46ch; }
.page-hero__img { justify-self: center; width: min(100%, 340px); aspect-ratio: 3 / 4; overflow: hidden; box-shadow: var(--shadow); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__count { font-size: var(--fs-label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.page-hero--plain::before { display: none; }
.page-hero__logo { justify-self: center; width: min(70%, 250px); height: auto; }
[data-pprice] small { font-size: .85em; margin-inline-end: .35em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs [aria-current] { color: var(--gold-deep); }

/* home: new arrivals header with its action */
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.split-head .section-head { margin: 0; }
.product-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* whole-garment images (jeans): contained with breathing room, never cropped */
.card__media.is-cutout { background: #f5f1eb; }
.card__media.is-cutout img { object-fit: contain; padding: 13% 16% 8%; }

/* shop toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-bottom: 1.5rem; margin-bottom: clamp(2rem, 3vw, 3rem); border-bottom: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.toolbar__end { display: flex; align-items: center; gap: 1.25rem; }
.toolbar__count { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: .85rem; color: var(--ink);
  height: 2.75rem; padding-inline: 1rem 2.5rem; border: 1px solid var(--line); background: var(--bg); border-radius: 0; cursor: pointer;
}
.select select:hover { border-color: var(--gold); }
.select .icon { position: absolute; inset-inline-end: .9rem; width: .85rem; height: .85rem; pointer-events: none; color: var(--gold-deep); }

/* about: the original mark */
.mark__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.mark__copy { display: grid; gap: 1.4rem; justify-items: start; }
.mark__original { aspect-ratio: 1; overflow: hidden; background: #262526; box-shadow: var(--shadow); }
.mark__original img { width: 100%; height: 100%; object-fit: cover; }

/* contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__panel { background: var(--surface); padding: clamp(1.5rem, 4vw, 3.25rem); border: 1px solid var(--line); }
.form { display: grid; gap: 1.25rem; }
.form__title, .success__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.15; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .45rem; align-content: start; }
.field label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.field__req { color: var(--gold-deep); }
.field input, .field textarea, .select--field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid #d9cdb9; border-radius: 0; padding: .8rem 1rem; min-height: 3.25rem;
  transition: border-color .3s, box-shadow .3s;
}
.select--field { display: flex; }
.select--field select { height: auto; padding-inline-end: 2.5rem; }
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.6; }
.field input:hover, .field textarea:hover, .select--field select:hover { border-color: var(--gold); }
.field input:focus, .field textarea:focus, .select--field select:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(179, 145, 91, .22); }
.field [aria-invalid='true'] { border-color: #9b2c2c; }
.field__error { color: #9b2c2c; font-size: .82rem; min-height: 1.2em; }
.form__summary { color: #9b2c2c; font-size: .9rem; }
.form__summary:empty { display: none; }
.form__submit { justify-self: start; }
.success { display: grid; gap: 1.25rem; justify-items: start; }
.success__emblem { width: 3.75rem; height: auto; }
.success__title:focus { outline: none; }
.success__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.success .btn .icon { width: 1.15rem; height: 1.15rem; }
.info-list { display: grid; gap: 1.75rem; }
.info-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.info-list__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--gold-soft); color: var(--gold-deep); }
.info-list h3, .contact__follow h3 { font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--gold-deep); margin-bottom: .25rem; }
.info-list a, .info-list p { font-family: var(--serif); font-size: 1.15rem; overflow-wrap: anywhere; }
.info-list a { background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.info-list a:hover { background-size: 100% 1px; color: var(--gold-deep); }
.contact__follow { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact__follow .socials { margin-top: .75rem; }

/* =========================================================
   Arabic typography: no letter-spacing (it breaks joined letters),
   no uppercase, no synthetic italics, roomier line heights
   ========================================================= */
html[lang='ar'] body { line-height: 1.9; }
html[lang='ar'] :is(.eyebrow, .btn, .link-arrow, .chip, .nav__links a, .dropdown__trigger, .dropdown__item, .card__cat, .card__badge,
  .card__add, .card__view, .cat-card__count, .page-hero__count, .crumbs, .footer__col h3, .menu__cats a, .bag__total span,
  .bag-item__remove, .search__status, .qv__label, .field label, .info-list h3, .contact__follow h3, .price small) {
  letter-spacing: 0; text-transform: none;
}
html[lang='ar'] :is(em, .pillars dt) { font-style: normal; }
html[lang='ar'] .edit-list button::before { font-style: normal; content: counter(edit, arabic-indic); }
html[lang='ar'] :is(.display, .h1, .h2, .cta__title) { font-weight: 600; letter-spacing: 0; }
html[lang='ar'] .display { font-size: clamp(2.6rem, 1.3rem + 4.4vw, 5rem); line-height: 1.35; }
html[lang='ar'] .display .line { padding-block: .05em .12em; }
html[lang='ar'] .h1 { line-height: 1.35; }
html[lang='ar'] .h2 { line-height: 1.4; }
html[lang='ar'] .cta__title { line-height: 1.3; }
html[lang='ar'] :is(.btn, .link-arrow, .chip, .nav__links a, .dropdown__trigger) { font-size: .92rem; }
html[lang='ar'] :is(.card__cat, .cat-card__count, .page-hero__count, .eyebrow, .crumbs, .card__view, .card__add, .footer__col h3, .info-list h3) { font-size: .82rem; }
html[lang='ar'] .card__name { font-size: 1.02rem; }
html[lang='ar'] .menu__links a { font-size: 2rem; }

/* =========================================================
   Multi-page responsive
   ========================================================= */
@media (max-width: 1180px) {
  .product-grid--four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero::before { width: 100%; top: auto; height: 38%; }
  .page-hero__img { width: 100%; aspect-ratio: 16 / 10; border-radius: 0; }
  .page-hero__img img { object-position: 50% 25%; }
  .page-hero--plain .page-hero__logo { display: none; }
  .product-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mark__grid, .contact__grid { grid-template-columns: 1fr; }
  .mark__original { max-width: 30rem; }
}
@media (max-width: 640px) {
  .nav__inner { grid-template-columns: auto 1fr auto; }
  .nav__inner > .brand { justify-self: start; }
  .brand__mark { height: 1.85rem; }
  .brand__allure { font-size: .82rem; letter-spacing: .16em; }
  .brand__fashion { font-size: .42rem; letter-spacing: .5em; }
  .nav__actions { gap: 0; }
  .lang-btn { min-width: 2.5rem; height: 2.5rem; padding: 0 .5rem; }
  .page-hero__img { aspect-ratio: 4 / 3.4; }
  .product-grid--dresses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid--three { gap: .75rem; }
  .cat-grid--three .cat-card:nth-child(even) { margin-top: 1.5rem; }
  .cat-grid--three .link-arrow > span { display: none; }
  .cat-grid--three .cat-card__name { font-size: 1.05rem; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .toolbar__end { width: 100%; justify-content: space-between; }
  .split-head .btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .form__submit, .success__actions .btn { width: 100%; }
  .card__media.is-cutout img { padding: 14% 12% 8%; }
}
@media (max-width: 360px) {
  .brand__word { display: none; }
}
.info-list a[dir='ltr'] { font-family: var(--sans); font-size: 1.05rem; }

/* =========================================================
   Dresses: framed gallery cards
   Smaller photos inside a white mat with a hairline border; on hover a gold
   frame draws in, the card lifts and light sweeps across the photo.
   ========================================================= */
.product-grid--dresses {
  max-width: 1040px; margin-inline: auto;
  gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2.4vw, 2rem);
}
.product-grid--dresses > .card {
  position: relative; isolation: isolate;
  padding: clamp(.6rem, 1.2vw, .9rem) clamp(.6rem, 1.2vw, .9rem) clamp(.9rem, 1.6vw, 1.2rem);
  background: #fff; border: 1px solid var(--line);
  transition:
    opacity var(--dur) var(--ease-soft) calc(var(--i, 0) * 90ms),
    transform 1.1s var(--ease) calc(var(--i, 0) * 90ms),
    translate .6s var(--ease), box-shadow .6s var(--ease), border-color .5s var(--ease);
}
.product-grid--dresses .card__media { aspect-ratio: 4 / 5; background: #fbf9f6; }
.product-grid--dresses .card__media img { object-position: 50% 16%; }
.product-grid--dresses .card__body { padding-inline: .2rem; }

/* gold frame drawn around the card */
.product-grid--dresses > .card::after {
  content: ''; position: absolute; inset: .35rem; z-index: 3; pointer-events: none;
  border: 1px solid var(--gold);
  clip-path: inset(0 100% 100% 0);
  transition: clip-path .9s var(--ease);
}
/* light sweep across the photo */
.product-grid--dresses .card__media::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  translate: -120% 0;
}

@media (hover: hover) {
  .product-grid--dresses > .card:hover { translate: 0 -6px; border-color: var(--gold-soft); box-shadow: 0 28px 50px -28px rgba(80, 58, 24, .35); }
  .product-grid--dresses > .card:hover::after { clip-path: inset(0 0 0 0); }
  .product-grid--dresses > .card:hover .card__media::after { translate: 120% 0; transition: translate 1.1s var(--ease-soft); }
  .product-grid--dresses > .card:hover .card__media img { transform: scale(1.08); }
  .product-grid--dresses > .card:hover .card__cat { letter-spacing: .3em; }
}
.product-grid--dresses .card__cat { transition: letter-spacing .6s var(--ease), color .3s; }
.product-grid--dresses > .card:focus-within { border-color: var(--gold-soft); }

@media (prefers-reduced-motion: no-preference) {
  /* scroll reveal: the card rises and settles while its photo unveils upward */
  .js .product-grid--dresses > .card[data-reveal] { transform: translate3d(0, 2.5rem, 0) scale(.96); }
  .js .product-grid--dresses > .card[data-reveal][data-from='above'] { transform: translate3d(0, -2.5rem, 0) scale(.96); }
  .js .product-grid--dresses > .card[data-reveal].is-in { transform: none; }
  .js .product-grid--dresses > .card[data-reveal] .card__media img {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.3s var(--ease) calc(var(--i, 0) * 90ms + 150ms), transform 1.3s var(--ease);
  }
  .js .product-grid--dresses > .card[data-reveal][data-from='above'] .card__media img { clip-path: inset(0 0 100% 0); }
  .js .product-grid--dresses > .card[data-reveal].is-in .card__media img { clip-path: inset(0 0 0 0); }
  /* the badge glints once when the card arrives */
  .js .product-grid--dresses > .card.is-in .card__badge {
    background: linear-gradient(110deg, var(--bg) 40%, #f6ead3 50%, var(--bg) 60%) 150% 0 / 300% 100%;
    animation: badgeGlint 1.6s var(--ease-soft) calc(var(--i, 0) * 90ms + .9s) both;
  }
  @keyframes badgeGlint { from { background-position: 150% 0; } to { background-position: -50% 0; } }
}

@media (max-width: 960px) {
  .product-grid--dresses { max-width: 760px; }
}
@media (max-width: 640px) {
  .product-grid--dresses { gap: 1rem .75rem; }
  .product-grid--dresses > .card { padding: .45rem .45rem .75rem; }
  .product-grid--dresses > .card::after { inset: .2rem; }
  .product-grid--dresses .card__media { aspect-ratio: 3 / 4; }
}
