/* ==========================================================================
   IRIS — design system
   ========================================================================== */
:root {
  --ivory: #F7F3ED;
  --beige: #E8DED2;
  --sand: #D9CBBB;
  --espresso: #30231F;
  --espresso-soft: #5A4A43;
  --taupe: #A99180;
  --burgundy: #642E35;
  --white: #FFFFFF;
  --line: rgba(48, 35, 31, .14);
  --line-strong: rgba(48, 35, 31, .32);
  --error: #9B2C2C;
  --success: #3F5A3A;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1440px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .2s;
  --t: .45s;
  --t-slow: .9s;
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--espresso);
  font-family: var(--sans); font-size: 15px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol.crumbs { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 1.5px solid var(--espresso); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--espresso); color: var(--ivory); padding: 10px 16px; transition: top .2s; }
.skip-link:focus { top: 12px; }
body.is-locked, html:has(body.is-locked) { overflow: hidden; }
html { scrollbar-gutter: stable; }
/* touch: no double-tap zoom delay, no grey flash; visible pressed state instead */
a, button, input, select, textarea, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* ---------- typography ---------- */
.display { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; font-size: clamp(44px, 6.4vw, 96px); }
.h1 { font-family: var(--serif); font-size: clamp(34px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -.005em; }
.h2 { font-family: var(--serif); font-size: clamp(30px, 3.3vw, 46px); line-height: 1.1; }
.h3 { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--espresso-soft); }
.lede { font-size: 16px; line-height: 1.7; color: var(--espresso-soft); max-width: 46ch; }
.muted { color: var(--espresso-soft); }
.small { font-size: 13px; }
em.serif-i { font-family: var(--serif); font-style: italic; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .eyebrow { margin-bottom: 12px; display: block; }
.bg-beige { background: var(--beige); }
.bg-espresso { background: var(--espresso); color: var(--ivory); }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--espresso); --fg: var(--ivory);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px; background: var(--bg); color: var(--fg);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--bg); overflow: hidden; isolation: isolate;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--burgundy); transform: scaleY(0); transform-origin: bottom; transition: transform var(--t) var(--ease-out); }
.btn:hover::before { transform: scaleY(1); }
.btn:hover { border-color: var(--burgundy); }
.btn--ghost { --bg: transparent; --fg: var(--espresso); border-color: var(--espresso); }
.btn--ghost::before { background: var(--espresso); }
.btn--ghost:hover { color: var(--ivory); border-color: var(--espresso); }
.btn--light { --bg: var(--ivory); --fg: var(--espresso); }
.btn--light::before { background: var(--beige); }
.btn--light:hover { border-color: var(--beige); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link-u { position: relative; display: inline-block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; padding-bottom: 4px; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform var(--t) var(--ease-out); }
.link-u:hover::after { transform: scaleX(0); }
/* touch: invisible 44px-tall hit area around text links, no visual change */
@media (pointer: coarse) { .link-u::before { content: ""; position: absolute; inset: -12px -6px; } }
.text-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; position: relative; }
.icon-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.badge { position: absolute; top: 6px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--burgundy); color: var(--ivory); font-size: 10px; line-height: 17px; text-align: center; font-weight: 500; transform: scale(0); transition: transform .3s var(--ease-out); }
.badge.is-on { transform: scale(1); }
.badge.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- announcement bar ---------- */
.announce { background: var(--espresso); color: var(--ivory); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; height: 36px; overflow: hidden; position: relative; }
.announce__track { position: relative; height: 100%; }
.announce__msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 44px; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.announce__msg.is-active { opacity: 1; transform: none; }
.announce__close { position: absolute; right: 2px; top: 0; height: 100%; width: 44px; display: grid; place-items: center; color: var(--ivory); opacity: .7; }
.announce__close:hover { opacity: 1; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(247, 243, 237, .96); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); }
.header__bar { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.header__left { display: flex; align-items: center; justify-self: start; margin-left: -10px; }
.header__right { margin-right: -10px; }
.show-sm { display: inline-grid; }
@media (min-width: 640px) { .show-sm { display: none !important; } }
@media (max-width: 359px) { .header__right { gap: 0; } .logo { font-size: 27px; } }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.logo { font-family: var(--serif); font-size: 30px; letter-spacing: .32em; padding-left: .32em; line-height: 1; font-weight: 500; justify-self: center; }
.nav { display: none; }
@media (min-width: 1024px) {
  .header__bar { grid-template-columns: auto 1fr auto; gap: 24px; }
  .header__left { display: none; }
  .logo { font-size: 34px; justify-self: start; padding-left: 0; }
  .nav { display: flex; justify-content: center; gap: 2px; height: var(--header-h); }
}
.mega-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mega-toggle:focus-visible { position: static; width: 24px; height: auto; clip: auto; display: grid; place-items: center; }
.nav__item { position: static; display: flex; }
.nav__link { display: flex; align-items: center; padding: 0 13px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 22px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav__item:hover .nav__link::after, .nav__item.is-open .nav__link::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.hide-sm { display: none !important; }
@media (min-width: 640px) { .hide-sm { display: inline-grid !important; } }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .35s var(--ease-out), visibility 0s .35s; box-shadow: 0 30px 40px -30px rgba(48, 35, 31, .25); }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr 1fr 2.4fr; gap: 40px; padding: 40px var(--gutter) 48px; max-width: var(--max); margin: 0 auto; }
.mega__col h3 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); font-weight: 500; margin-bottom: 18px; }
.mega__col a { display: block; padding: 5px 0; font-size: 15px; transition: color .2s, transform .3s var(--ease-out); }
.mega__col a:hover { color: var(--burgundy); transform: translateX(4px); }
.mega__swatch { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 10px; vertical-align: -1px; border: 1px solid var(--line); }
.mega__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mega__tile { position: relative; overflow: hidden; background: var(--beige); }
.mega__tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mega__tile:hover img { transform: scale(1.04); }
.mega__tile span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.mega-scrim { position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: rgba(48, 35, 31, .18); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; z-index: -1; pointer-events: none; }
.mega-scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }

/* ---------- drawers (mobile nav, cart, filters, size guide) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(48, 35, 31, .38); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 100; width: min(440px, 100%); background: var(--ivory); display: flex; flex-direction: column; transition: transform .5s var(--ease-out), visibility 0s .5s; visibility: hidden; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); width: min(400px, 92%); }
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 24px; height: 64px; border-bottom: 1px solid var(--line); flex: none; }
.drawer__title { font-family: var(--serif); font-size: 24px; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 24px; }
.drawer__foot { flex: none; border-top: 1px solid var(--line); padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); background: var(--ivory); }

/* mobile nav */
.mnav__list > li { border-bottom: 1px solid var(--line); }
.mnav__link, .mnav__toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 60px; font-family: var(--serif); font-size: 24px; text-align: left; }
.mnav__toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; transition: transform .35s var(--ease-out); }
.mnav__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.mnav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.mnav__sub > div { overflow: hidden; }
.mnav__toggle[aria-expanded="true"] + .mnav__sub { grid-template-rows: 1fr; }
.mnav__sub a { display: flex; align-items: center; min-height: 46px; padding-left: 4px; font-size: 15px; color: var(--espresso-soft); }
.mnav__sub div > :last-child { margin-bottom: 14px; }
.mnav__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.mnav__tiles a { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.mnav__tiles img { aspect-ratio: 4/5; object-fit: cover; margin-bottom: 8px; width: 100%; background: var(--beige); }
.mnav__util a { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 14px; }
.mnav__util svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.3; }

/* ---------- search overlay ---------- */
.search { position: fixed; inset: 0 0 auto 0; z-index: 100; background: var(--ivory); transform: translateY(-100%); visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s; max-height: 100vh; overflow-y: auto; border-bottom: 1px solid var(--line); }
.search.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.search__form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--espresso); padding: 6px 0; margin-top: 28px; }
.search__form svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.3; flex: none; }
.search__input { flex: 1; border: 0; background: none; font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); padding: 8px 0; min-width: 0; }
.search__input:focus { outline: none; }
.search__results { padding: 28px 0 40px; }
.search__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .search__grid { grid-template-columns: repeat(5, 1fr); } }
.search__hit img { aspect-ratio: 4/5; object-fit: cover; width: 100%; background: var(--beige); margin-bottom: 8px; }
.search__hit span { font-size: 14px; }
.search__suggest { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); font-size: 13px; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.chip svg { width: 10px; height: 10px; stroke: currentColor; stroke-width: 1.6; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; }
.reveal-img img { transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.reveal-img.is-in img { transform: scale(1); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ivory); }
.hero__grid { display: grid; grid-template-columns: 1fr; }
.hero__media { position: relative; display: grid; grid-template-columns: 1fr; }
.hero__main { position: relative; aspect-ratio: 4/5; background: var(--beige); overflow: hidden; }
.hero__main img, .hero__second img, .hero__detail img { width: 100%; height: 100%; object-fit: cover; }
.hero__second, .hero__detail { display: none; }
.hero__copy { padding: 36px var(--gutter) 56px; }
.hero__copy .eyebrow { display: block; margin-bottom: 18px; }
.hero__copy .display { margin-bottom: 22px; }
.hero__copy .lede { margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 200px; }
.hero__index { display: none; }
.hero-in { animation: heroIn 1.2s var(--ease-out) both; }
.hero-in--2 { animation-delay: .12s; } .hero-in--3 { animation-delay: .24s; } .hero-in--4 { animation-delay: .36s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__main img { animation: heroZoom 2.4s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: none; } }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 7fr 5fr; min-height: min(calc(100vh - var(--header-h) - 36px), 860px); }
  .hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 64px clamp(32px, 4vw, 72px); }
  .hero__ctas .btn { flex: 0 0 auto; }
  .hero__media { grid-template-columns: 1.3fr .7fr; grid-template-rows: auto 1fr auto; gap: 16px; }
  .hero__main { aspect-ratio: auto; grid-row: 1 / span 3; min-height: 100%; }
  .hero__second { display: block; aspect-ratio: 4/5; background: var(--beige); overflow: hidden; margin-top: 48px; }
  .hero__detail { display: block; aspect-ratio: 1/1; background: var(--beige); overflow: hidden; width: 64%; grid-row: 3; margin-bottom: 48px; }
  .hero__index { display: flex; gap: 18px; margin-top: 56px; font-size: 12px; letter-spacing: .14em; color: var(--espresso-soft); }
  .hero__index a { border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; transition: border-color .2s; }
  .hero__index a:hover { border-color: var(--espresso); }
}

@media (max-width: 899px) {
  .hero__grid { position: relative; }
  /* shorter than the screen so the next section peeks in; capped by width so tall phones keep a portrait crop */
  .hero__main { aspect-ratio: auto; height: clamp(480px, min(calc(100svh - var(--header-h) - 96px), 150vw), 780px); }
  .hero__main img { object-position: 50% 20%; }
  .hero__copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 96px var(--gutter) 22px; color: var(--ivory);
    background: linear-gradient(to top, rgba(36, 26, 23, .86) 0%, rgba(36, 26, 23, .55) 55%, rgba(36, 26, 23, 0) 100%); }
  .hero__copy .eyebrow { color: rgba(247, 243, 237, .85); margin-bottom: 10px; }
  .hero__copy .display { font-size: clamp(40px, 11.5vw, 56px); margin-bottom: 12px; }
  .hero__copy .lede { color: rgba(247, 243, 237, .88); font-size: 14px; line-height: 1.55; margin-bottom: 18px; }
  .hero__ctas { flex-direction: column; gap: 8px; }
  .hero__ctas .btn { flex: none; min-height: 46px; }
  .hero__ctas .btn:first-child { --bg: var(--ivory); --fg: var(--espresso); }
  .hero__ctas .btn:first-child::before { background: var(--beige); }
  .hero__ctas .btn--ghost { --fg: var(--ivory); border-color: rgba(247, 243, 237, .7); }
  .hero__ctas .btn--ghost::before { background: var(--ivory); }
  .hero__ctas .btn--ghost:hover { color: var(--espresso); }
}
@media (max-width: 639px) {
  .announce { height: 40px; }
  .announce__msg { font-size: 10px; letter-spacing: .1em; line-height: 1.35; padding: 0 46px; }
}

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.cat-card { position: relative; display: block; overflow: hidden; background: var(--beige); }
.cat-card__img { aspect-ratio: 3/4; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 16px; background: linear-gradient(to top, rgba(48, 35, 31, .55), rgba(48, 35, 31, 0)); color: var(--ivory); }
.cat-card__name { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; display: block; }
.cat-card__blurb { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .9; display: inline-block; margin-top: 6px; border-bottom: 1px solid rgba(247, 243, 237, .6); padding-bottom: 2px; }

/* ---------- product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
@media (min-width: 768px) { .p-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; } }
@media (min-width: 1200px) { .p-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.p-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); margin: 0 calc(var(--gutter) * -1); scroll-padding: 0 var(--gutter); }
.p-rail::-webkit-scrollbar { display: none; }
.p-rail > * { scroll-snap-align: start; }
/* phones: a 2-column grid (every product visible without sideways swiping) */
@media (max-width: 639px) { .p-rail { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; overflow: visible; padding: 0; margin: 0; } }
@media (min-width: 640px) { .p-rail { grid-auto-columns: 42%; } }
@media (min-width: 1024px) { .p-rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; padding: 0; margin: 0; gap: 20px; } }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--beige); }
.card__media a { display: block; height: 100%; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: opacity .7s var(--ease), transform 1.4s var(--ease-out); }
.card__img-2 { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__img-2 { opacity: 1; }
  .card:hover .card__img-1 { transform: scale(1.03); }
}
.card__wish { position: absolute; top: 6px; right: 6px; z-index: 2; }
.card__wish svg { width: 19px; height: 19px; transition: fill .25s, transform .35s var(--ease-out); }
.card__wish[aria-pressed="true"] svg { fill: var(--burgundy); stroke: var(--burgundy); }
.card__wish:active svg { transform: scale(.85); }
.card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; background: var(--ivory); padding: 4px 8px; }
.card__quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; }
.card__quick-btn { width: 100%; min-height: 42px; background: rgba(247, 243, 237, .94); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; transition: background .25s, color .25s; }
.card__quick-btn:hover { background: var(--espresso); color: var(--ivory); }
.card__sizes { display: none; background: rgba(247, 243, 237, .96); padding: 10px; }
.card__sizes p { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-align: center; margin-bottom: 8px; }
.card__sizes div { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.card__sizes button { min-width: 44px; height: 40px; border: 1px solid var(--line-strong); font-size: 12px; }
.card__sizes button:hover { background: var(--espresso); color: var(--ivory); }
.card__sizes button[disabled] { opacity: .35; text-decoration: line-through; }
.card.is-sizing .card__sizes { display: block; }
.card.is-sizing .card__quick-btn { display: none; }
@media (hover: hover) and (min-width: 768px) {
  .card__quick { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .45s var(--ease-out); }
  .card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
}
@media (hover: none), (max-width: 767px) {
  .card__quick { left: auto; right: 8px; bottom: 8px; }
  .card__quick-btn { width: 44px; height: 44px; min-height: 0; border-radius: 50%; font-size: 0; display: grid; place-items: center; }
  .card__quick-btn::before { content: "+"; font-size: 22px; font-weight: 300; line-height: 1; }
  .card.is-sizing .card__quick { left: 8px; }
}
.card__body { padding-top: 14px; display: grid; gap: 4px; position: relative; }
.card__name a::after { content: ""; position: absolute; inset: 0; } /* whole name/price area opens the product */
.card__name { font-size: 14.5px; line-height: 1.35; }
.card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-size: 14px; color: var(--espresso-soft); }
.price--na { font-size: 12.5px; letter-spacing: .04em; }
.price s { color: var(--taupe); margin-left: 6px; }
.swatches { display: flex; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-block; }
.card__stock { font-size: 12px; color: var(--burgundy); }

/* ---------- editorial ---------- */
.editorial { position: relative; }
.editorial__grid { display: grid; gap: 16px; position: relative; }
.editorial__wide { position: relative; overflow: hidden; background: var(--beige); }
.editorial__wide img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 18% center; }
.editorial__panel { background: var(--ivory); padding: 28px 22px; margin: -60px 16px 0; position: relative; }
.editorial__panel .eyebrow { display: block; margin-bottom: 12px; }
.editorial__panel .h2 { margin-bottom: 14px; }
.editorial__panel .lede { margin-bottom: 24px; }
@media (min-width: 900px) {
  .editorial__wide img { aspect-ratio: 16/7.5; object-position: center; }
  .editorial__panel { position: absolute; right: calc(var(--gutter) + 24px); bottom: 48px; width: 400px; margin: 0; padding: 40px; }
}
.details-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
@media (min-width: 900px) { .details-row { gap: 16px; } }
.detail-tile { position: relative; display: block; overflow: hidden; background: var(--beige); }
.detail-tile img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.detail-tile:hover img { transform: scale(1.05); }
.detail-tile span { position: absolute; left: 10px; bottom: 10px; background: var(--ivory); padding: 5px 9px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 599px) { .detail-tile span { position: static; display: block; background: none; padding: 8px 0 0; font-size: 10px; } }

/* IRIS Edit */
.edit { display: grid; gap: 28px; }
.edit__intro .eyebrow { display: block; margin-bottom: 14px; }
.edit__intro .h1 { margin-bottom: 18px; }
.edit__intro .lede { margin-bottom: 26px; }
.edit__feature { position: relative; overflow: hidden; display: block; background: var(--beige); }
.edit__feature img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.edit__feature:hover img { transform: scale(1.03); }
.edit__feature figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 18px; color: var(--ivory); background: linear-gradient(to top, rgba(48, 35, 31, .5), transparent); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.edit__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; }
@media (min-width: 900px) {
  .edit { grid-template-columns: 4fr 3fr 5fr; gap: 40px; align-items: start; }
  .edit > .edit__cards { grid-template-columns: 1fr; gap: 40px; }
  .edit__intro { position: sticky; top: calc(var(--header-h) + 40px); padding-top: 8px; }
  .edit__cards { gap: 36px 20px; }
  .edit__cards--offset { margin-top: 90px; }
}

/* brand story */
.story { text-align: center; max-width: 760px; margin: 0 auto; }
.story__mark { width: 150px; margin: 0 auto 36px; opacity: .92; }
.story .h1 { margin: 14px 0 22px; }
.story .lede { margin: 0 auto 32px; }

/* newsletter */
.newsletter { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; gap: 80px; } }
.newsletter .h2 { margin-bottom: 12px; }
.nl-form__row { display: flex; border-bottom: 1px solid rgba(247, 243, 237, .55); }
.nl-form input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ivory); padding: 16px 0; font-size: 16px; }
.nl-form input::placeholder { color: rgba(247, 243, 237, .6); }
.nl-form input:focus { outline: none; }
.nl-form__row:focus-within { border-color: var(--ivory); }
.nl-form button { color: var(--ivory); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 0 0 0 16px; min-height: 52px; font-weight: 500; }
.nl-form__msg { min-height: 22px; margin-top: 12px; font-size: 13px; }
.nl-form__msg.is-error { color: #F2B8B5; }
.nl-form__msg.is-ok { color: #CFE3C8; }
.nl-form__legal { font-size: 12px; opacity: .65; margin-top: 6px; }
.nl-form.is-invalid .nl-form__row { border-color: #F2B8B5; }

/* ---------- footer ---------- */
.footer { background: var(--beige); padding: 72px 0 28px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer__brand img { width: 140px; margin-bottom: 16px; }
.footer h2 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--espresso-soft); margin-bottom: 16px; font-weight: 500; font-family: var(--sans); }
.footer li a { display: inline-block; padding: 4px 0; }
@media (max-width: 899px) { .footer li a { padding: 10px 0; } .footer__bottom a { display: inline-block; padding: 8px 0; } }
.footer li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__social { display: flex; gap: 6px; margin-top: 14px; margin-left: -10px; }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 12px; color: var(--espresso-soft); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- page header / breadcrumbs ---------- */
.page-head { padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.page-head .h1 { margin: 10px 0 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--espresso-soft); letter-spacing: .04em; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { display: inline-block; padding: 8px 0; margin: -8px 0; }
.crumbs a:hover { color: var(--espresso); text-decoration: underline; }

/* ---------- collection (PLP) ---------- */
.coll-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.coll-tabs::-webkit-scrollbar { display: none; }
.coll-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); font-size: 13px; white-space: nowrap; transition: background .2s, color .2s; }
.coll-tabs a[aria-current="page"], .coll-tabs a:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; background: var(--ivory); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.toolbar__count { font-size: 13px; color: var(--espresso-soft); }
.toolbar__right { display: flex; align-items: center; gap: 8px; }
@media (max-width: 479px) {
  .toolbar { flex-wrap: wrap; row-gap: 6px; padding: 8px 0 10px; }
  .toolbar__right { flex: 1 1 100%; }
  .toolbar__right > * { flex: 1 1 0; min-width: 0; }
  .toolbar .filter-btn { justify-content: center; }
  .select select { width: 100%; }
}
.filter-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.filter-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; min-height: 44px; max-width: 100%; text-overflow: ellipsis; padding: 0 36px 0 14px; border: 1px solid var(--line-strong); background: transparent; font-size: 13px; border-radius: 0; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.plp { display: grid; gap: 32px; }
.plp__side { display: none; }
@media (min-width: 1024px) {
  .plp { grid-template-columns: 240px 1fr; gap: 48px; }
  .plp__side { display: block; scrollbar-width: thin; position: sticky; top: calc(var(--header-h) + 90px); align-self: start; max-height: calc(100vh - var(--header-h) - 110px); overflow-y: auto; padding-right: 6px; }
  .filter-btn--mobile { display: none; }
}
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.active-filters:empty { display: none; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 54px; cursor: pointer; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: "+"; font-size: 18px; font-weight: 300; transition: transform .3s var(--ease-out); }
.fgroup[open] summary::after { transform: rotate(45deg); }
.fgroup__body { padding-bottom: 18px; display: grid; gap: 2px; }
.fopt { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; cursor: pointer; }
.fopt input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--line-strong); margin: 0; display: grid; place-items: center; flex: none; cursor: pointer; }
.fopt input:checked { background: var(--espresso); border-color: var(--espresso); }
.fopt input:checked::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid var(--ivory); border-bottom: 1.5px solid var(--ivory); transform: translateY(-1px) rotate(-45deg); }
.fopt input[type="radio"] { border-radius: 50%; }
.fopt .count { margin-left: auto; color: var(--taupe); font-size: 12px; }
.fopt[aria-disabled="true"] { opacity: .4; }
.size-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opts label { position: relative; }
.size-opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-opts span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line-strong); font-size: 13px; }
.size-opts input:checked + span { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.size-opts input:focus-visible + span { outline: 1.5px solid var(--espresso); outline-offset: 2px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range label { font-size: 12px; color: var(--espresso-soft); display: grid; gap: 4px; }
.field-input { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); background: var(--white); padding: 0 12px; font-size: 15px; border-radius: 0; }
.field-input:focus { outline: none; border-color: var(--espresso); }
textarea.field-input { padding: 12px; min-height: 96px; resize: vertical; }
.empty { text-align: center; padding: 72px 16px; }
.empty .h2 { margin-bottom: 12px; }
.empty .lede { margin: 0 auto 28px; }

/* ---------- product detail (PDP) ---------- */
.pdp { display: grid; gap: 28px; padding-bottom: 64px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding-top: 8px; } }
@media (min-width: 1200px) { .pdp { gap: 88px; } }
.gallery { position: relative; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4/5; background: var(--beige); position: relative; overflow: hidden; cursor: zoom-in; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .gallery__slide:hover img { transform: scale(1.02); } }
@media (min-width: 600px) and (max-width: 899px) { .gallery__track { gap: 8px; scroll-padding: 0 var(--gutter); padding: 0 var(--gutter); } .gallery__slide { flex-basis: 64%; scroll-snap-align: start; } }
/* phones in landscape: keep each slide within one screen height so the product info is reachable */
@media (max-width: 899px) and (orientation: landscape) and (max-height: 500px) { .gallery__slide { flex-basis: auto; width: auto; height: calc(100svh - var(--header-h) - 24px); } }
.gallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.gallery__dots button { width: 28px; height: 20px; position: relative; }
.gallery__dots button::after { content: ""; position: absolute; left: 4px; right: 4px; top: 9px; height: 1.5px; background: var(--line-strong); transition: background .3s; }
.gallery__dots button[aria-current="true"]::after { background: var(--espresso); }
.gallery__thumbs { display: none; }
@media (min-width: 900px) {
  .gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
  .gallery__thumbs { display: grid; gap: 10px; align-content: start; }
  .gallery__thumbs button { aspect-ratio: 4/5; overflow: hidden; background: var(--beige); opacity: .55; transition: opacity .3s, border-color .3s; border: 1px solid transparent; }
  .gallery__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--espresso); }
  .gallery__thumbs button:hover { opacity: 1; }
  .gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .gallery__track { margin: 0; grid-column: 2; }
  .gallery__dots { display: none; }
  .gallery__nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(247, 243, 237, .85); transform: translateY(-50%); opacity: 0; transition: opacity .3s; }
  .gallery:hover .gallery__nav { opacity: 1; }
  .gallery__nav--prev { left: calc(84px + 28px); } .gallery__nav--next { right: 12px; }
  .gallery__nav svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; }
}
@media (max-width: 899px) {
  .gallery__nav { display: none; }
  /* thumbnails stay available on phones and tablets, as a row under the swipeable image */
  .gallery { display: flex; flex-direction: column; }
  .gallery__thumbs { display: flex; order: 2; justify-content: center; gap: 10px; margin-top: 12px; }
  .gallery__thumbs button { width: 58px; aspect-ratio: 4/5; overflow: hidden; background: var(--beige); opacity: .55; border: 1px solid transparent; transition: opacity .3s, border-color .3s; }
  .gallery__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--espresso); }
  .gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .gallery__dots { display: none; }
}
.pinfo__name { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; margin: 14px 0 10px; }
.pinfo__price { font-size: 17px; margin-bottom: 24px; }
.pinfo__price .price--na { font-size: 14px; color: var(--espresso-soft); }
.pinfo__block { padding: 20px 0; border-top: 1px solid var(--line); }
.pinfo__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.pinfo__label span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--espresso-soft); font-size: 14px; }
.color-opts { display: flex; gap: 10px; }
.color-opt { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); padding: 3px; display: grid; place-items: center; }
.color-opt[aria-checked="true"] { border-color: var(--espresso); }
.color-opt i { display: block; width: 100%; height: 100%; border-radius: 50%; }
.size-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 54px; height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.size-btn:hover { border-color: var(--espresso); }
.size-btn[aria-checked="true"] { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.size-btn[aria-disabled="true"] { color: var(--taupe); text-decoration: line-through; }
.pinfo__note { font-size: 13px; color: var(--espresso-soft); }
.pinfo__err { color: var(--error); font-size: 13px; margin-top: 10px; min-height: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); height: 50px; }
.qty button { width: 44px; height: 100%; font-size: 18px; font-weight: 300; }
.qty button:disabled { opacity: .3; }
.qty input { width: 40px; height: 100%; text-align: center; border: 0; background: none; font-size: 15px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 40px; } .qty--sm button { width: 40px; font-size: 16px; } .qty--sm input { width: 30px; font-size: 14px; }
@media (pointer: coarse) { .qty--sm { height: 44px; } .qty--sm button { width: 44px; } }
.buy-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: stretch; }
.buy-row .btn { padding: 0 14px; white-space: nowrap; }
/* narrow phones: quantity + save on one row, a full-width Add to bag below */
@media (max-width: 419px) {
  .buy-row { grid-template-columns: auto 1fr; }
  .buy-row .qty { grid-area: 1 / 1; }
  .buy-row .wish-btn { grid-area: 1 / 2; justify-self: end; }
  .buy-row .btn { grid-area: 2 / 1 / 3 / 3; min-height: 52px; }
}
.sticky-buy .btn { padding: 0 18px; white-space: nowrap; min-height: 46px; }
.wish-btn { width: 50px; height: 50px; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.wish-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.3; transition: fill .25s; }
.wish-btn[aria-pressed="true"] svg { fill: var(--burgundy); stroke: var(--burgundy); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 58px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; font-weight: 300; transition: transform .3s var(--ease-out); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding-bottom: 22px; color: var(--espresso-soft); font-size: 14.5px; }
.accordion .acc-body ul { list-style: disc; padding-left: 18px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ivory); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; transform: translateY(110%); transition: transform .4s var(--ease-out); }
.sticky-buy.is-on { transform: none; }
.sticky-buy__info { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }
.sticky-buy__info strong { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) { .sticky-buy { display: none; } }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.size-table th, .size-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.size-table th { font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: var(--ivory); display: none; }
.lightbox.is-open { display: block; animation: fadeIn .35s var(--ease); }
.lightbox__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 56px 0; }
.lightbox__track figure { overflow: hidden; position: relative; height: 100%; }
.lightbox__track img { max-height: calc(100vh - 112px); width: auto; height: auto; max-width: 100%; object-fit: contain; transition: transform .35s var(--ease-out); transform-origin: 50% 50%; }
.lightbox__track img.is-zoomable { cursor: zoom-in; }
.lightbox__track img.is-zoomed { cursor: zoom-out; transition: none; }
.lightbox__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 12px; letter-spacing: .08em; color: var(--espresso-soft); background: rgba(247, 243, 237, .9); padding: 6px 12px; pointer-events: none; }
.lightbox__close { position: absolute; top: 10px; right: 10px; z-index: 2; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- cart ---------- */
.cart-items { display: grid; }
.citem { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: fadeIn .4s var(--ease); }
.citem.is-removing { opacity: 0; transform: translateX(16px); transition: opacity .3s, transform .3s; }
.citem__img { aspect-ratio: 4/5; background: var(--beige); overflow: hidden; }
.citem__img img { width: 100%; height: 100%; object-fit: cover; }
.citem__top { display: flex; justify-content: space-between; gap: 10px; }
.citem__name { font-size: 15px; line-height: 1.35; }
.citem__opts { font-size: 13px; color: var(--espresso-soft); margin-top: 4px; }
.citem__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.citem__remove { font-size: 12px; color: var(--espresso-soft); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; min-width: 44px; }
.citem__remove:hover { color: var(--burgundy); }
.cart-sum { display: grid; gap: 8px; margin-bottom: 16px; font-size: 14px; }
.cart-sum__row { display: flex; justify-content: space-between; }
.cart-sum__row--total { font-size: 16px; font-weight: 500; }
.cart-note { font-size: 12.5px; color: var(--espresso-soft); margin-top: 12px; text-align: center; }
.cart-empty { text-align: center; padding: 56px 8px; }
.cart-empty .h3 { margin-bottom: 10px; }
.cart-empty p { margin-bottom: 26px; color: var(--espresso-soft); }
.cart-empty__links { display: grid; gap: 10px; }
.cart-layout { display: grid; gap: 40px; padding-bottom: 80px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; } }
.summary-card { background: var(--white); padding: 28px; border: 1px solid var(--line); }
@media (min-width: 900px) { .summary-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.summary-card .h3 { margin-bottom: 18px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translate(-50%, 20px); opacity: 0; background: var(--espresso); color: var(--ivory); padding: 14px 20px; font-size: 13.5px; max-width: calc(100% - 32px); transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
/* phones: with the bag drawer open, keep the toast clear of Checkout / View bag */
@media (max-width: 639px) { body:has(#cart.is-open) .toast { bottom: auto; top: 50%; } }

/* ---------- notices & forms ---------- */
.notice { border: 1px solid var(--line-strong); background: var(--white); padding: 18px 20px; font-size: 14px; display: grid; gap: 6px; }
.notice strong { font-weight: 500; }
.notice--warm { background: var(--beige); border-color: transparent; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.field .err { color: var(--error); font-size: 12.5px; min-height: 0; }
.field.is-invalid .field-input { border-color: var(--error); }
.prose { max-width: 720px; }
.prose h2 { font-family: var(--serif); font-size: 30px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--espresso-soft); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 20px; }
.split { display: grid; gap: 40px; padding-bottom: 96px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--beige); }

/* collections index */
.coll-list { display: grid; gap: 16px; padding-bottom: 96px; }
@media (min-width: 900px) { .coll-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.coll-card { display: block; position: relative; overflow: hidden; background: var(--beige); }
.coll-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.coll-card:hover img { transform: scale(1.04); }
.coll-card__txt { padding: 20px 4px 0; background: var(--ivory); }
.coll-card__txt .h3 { margin-bottom: 6px; }

/* admin preview bar */
.preview-bar { position: fixed; left: 12px; bottom: 12px; z-index: 140; background: var(--burgundy); color: var(--ivory); font-size: 12px; padding: 10px 14px; display: flex; gap: 12px; align-items: center; }
.preview-bar a { text-decoration: underline; }

/* ---------- touch feedback ---------- */
@media (hover: none) {
  .btn:active::before { transform: scaleY(1); transition-duration: .15s; }
  .btn:active { border-color: var(--burgundy); }
  .btn--ghost:active, .btn--light:active { color: var(--espresso); }
  .btn--ghost:active { color: var(--ivory); }
  .icon-btn:active, .wish-btn:active, .qty button:active, .chip:active, .size-btn:active, .color-opt:active,
  .coll-tabs a:active, .filter-btn:active, .card__quick-btn:active, .gallery__thumbs button:active, .mnav__link:active, .mnav__toggle:active, .mnav__sub a:active { opacity: .55; transition: opacity .1s; }
  .card__media a:active img { transform: scale(.985); transition-duration: .2s; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-img img { transform: none; }
}

/* native search clear button in the brand colour instead of browser blue */
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; cursor: pointer; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; }
