/* =========================================================
   PETIT GRAND — design system v2
   Colours come from the clothes: navy, burgundy, ribbon pink, sky denim.
   ========================================================= */
:root {
  --white: #ffffff;
  --chalk: #f5f5f3;          /* neutral light surface, not beige */
  --ink: #1f2a44;            /* navy ink for text */
  --ink-2: #4a5470;
  --ink-3: #7c8399;
  --burgundy: #7a1f2b;       /* brand accent: buttons, prices */
  --burgundy-2: #5e1621;
  --pink: #f6e1e3;           /* ribbon pink tint */
  --sky: #e1ebf4;            /* denim sky tint */
  --gold: #9a7b45;           /* logo gold, used sparingly */
  --line: #e4e6ec;
  --ok: #2f6b4f;

  --serif: "Young Serif", Georgia, serif;
  --sans: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 3.6vw, 48px);
  --max: 1320px;
  --header-h: 64px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--burgundy); color: var(--white); }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 2px; border-radius: 4px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.18s ease-out both vt-out; }
::view-transition-new(root) { animation: 0.28s ease-out both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- type scale (1.25) ---------- */
.t-display { font-family: var(--serif); font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -0.02em; }
.t-h1 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.015em; }
.t-h2 { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -0.01em; }
.t-h3 { font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.t-lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); max-width: 36em; }
.t-small { font-size: 14px; color: var(--ink-2); }
.t-tiny { font-size: 13px; color: var(--ink-3); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head p { max-width: 30em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.005em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.btn--primary { background: var(--burgundy); color: var(--white); }
.btn--primary:hover { background: var(--burgundy-2); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #2c3a5c; }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--pink); }
.btn--block { width: 100%; }
.btn[disabled] { background: var(--line); color: var(--ink-3); pointer-events: none; }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-weight: 500; }
.link:hover { color: var(--burgundy); }

.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background 0.2s; }
.icon-btn:hover { background: var(--chalk); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.notice { background: var(--ink); color: var(--white); font-size: 13px; text-align: center; padding: 8px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: transform 0.3s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: var(--header-h); max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; }
.brand { justify-self: center; display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.brand span { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; white-space: nowrap; }
.site-nav { display: none; gap: 28px; font-size: 15px; font-weight: 500; }
.site-nav a { padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color 0.2s, color 0.2s; }
.site-nav a:hover { color: var(--burgundy); }
.site-nav a.is-current { border-color: var(--burgundy); }
.menu-btn { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding-left: 4px; }
.menu-btn span { display: block; width: 22px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
.menu-open .menu-btn span:first-child { transform: translateY(3.8px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
.bag-btn { width: 44px; height: 44px; display: grid; place-items: center; position: relative; justify-self: end; border-radius: 50%; }
.bag-btn:hover { background: var(--chalk); }
.bag-btn svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.bag-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--burgundy); color: var(--white); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.bag-btn.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .menu-btn { display: none; }
  .brand { justify-self: start; }
  .site-nav { display: flex; justify-self: center; }
}

.menu { position: fixed; inset: 0; z-index: 80; background: var(--white); padding: calc(var(--header-h) + 52px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s; }
.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu nav { display: grid; }
.menu nav a { font-family: var(--serif); font-size: 34px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu__foot { display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.menu__foot a { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
.menu__foot svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.menu-open .site-header { z-index: 95; }
@media (min-width: 1024px) { .menu { display: none; } }

/* ---------- photo frame: whole photo, never cropped ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--chalk); aspect-ratio: var(--ar, 2 / 3); }
.frame > img, .frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.frame--fill > img, .frame--fill > video { object-fit: cover; }

/* ---------- product card ---------- */
.card { display: grid; gap: 10px; align-content: start; }
.card .frame { --ar: 2 / 3; }
.card .frame > img { transition: opacity 0.35s ease, transform 0.6s var(--ease); }
.card .frame > .alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .frame > .main { opacity: 0; }
  .card:hover .frame > .alt { opacity: 1; }
  .card:hover .frame > img:only-of-type { transform: scale(1.03); opacity: 1; }
}
.card__name { font-size: 15px; font-weight: 500; line-height: 1.35; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card__price { font-weight: 700; color: var(--burgundy); font-size: 15px; }
.card__sizes { font-size: 12.5px; color: var(--ink-3); }
.tag { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(31,42,68,0.08); }
.tag--sold { background: var(--ink); color: var(--white); }
.tag--low { color: var(--burgundy); }

/* ---------- drawer (order bag) ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(31,42,68,0.32); opacity: 0; transition: opacity 0.25s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s var(--ease); }
.bag-open .drawer { pointer-events: auto; }
.bag-open .drawer__scrim { opacity: 1; }
.bag-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--serif); font-size: 24px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 20px; overscroll-behavior: contain; }
.drawer__empty { padding: 56px 0; text-align: center; display: grid; gap: 16px; justify-items: center; color: var(--ink-2); }
.drawer__foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__foot:empty { display: none; }
.drawer__total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; }
.drawer__note { font-size: 13.5px; color: var(--ink-2); }
.bag-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bag-item .frame { --ar: 2 / 3; border-radius: 8px; width: 72px; }
.bag-item__name { font-weight: 600; font-size: 15px; line-height: 1.3; display: block; }
.bag-item__meta { font-size: 13px; color: var(--ink-3); margin: 3px 0 10px; }
.bag-item__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-weight: 700; }
.bag-item__rm { font-size: 13px; font-weight: 500; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 34px; height: 34px; font-size: 17px; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 150; width: min(420px, calc(100% - 32px)); background: var(--ink); color: var(--white); padding: 14px 18px; border-radius: 12px; font-size: 14.5px; transform: translate(-50%, 160%); transition: transform 0.3s var(--ease); box-shadow: 0 8px 30px rgba(31,42,68,0.25); }
.toast.is-on { transform: translate(-50%, 0); }
.toast pre { white-space: pre-wrap; font-family: var(--sans); font-size: 13px; opacity: 0.85; margin: 10px 0 0; user-select: all; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 88px) 0 24px; margin-top: 0; }
.site-footer .wrap { display: grid; gap: 40px; }
.footer-top { display: grid; gap: 36px; }
.footer-brand img { width: 132px; height: auto; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.7); max-width: 22em; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
.footer-cols h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 12px; }
.footer-cols p, .footer-cols li { font-size: 14px; color: rgba(255,255,255,0.78); }
.footer-cols ul { display: grid; gap: 8px; }
.footer-cols a:hover { color: var(--white); text-decoration: underline; }
.footer-cols .btn { margin-top: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px; font-size: 13px; color: rgba(255,255,255,0.55); }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 240px 1fr; }
  .footer-cols { grid-template-columns: 1.3fr 1.2fr 1fr 1fr; }
}

/* =========================================================
   HOME
   ========================================================= */
.hero { background: var(--hero-bg, var(--pink)); transition: background-color 0.6s ease; }
.hero__inner { display: grid; gap: 24px; padding-top: 24px; padding-bottom: 32px; }
.hero__copy { display: grid; gap: 18px; align-content: center; }
.hero__copy .t-display { max-width: 9.5em; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hero__look { position: relative; }
.hero__stage { position: relative; aspect-ratio: 2 / 3; max-height: 72vh; margin: 0 auto; width: 100%; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; display: block; }
.hero__slide.is-on { opacity: 1; z-index: 1; }
.hero__slide .frame { height: 100%; aspect-ratio: auto; box-shadow: 0 20px 50px -24px rgba(31,42,68,0.35); }
.hero__caption { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.hero__caption-text { font-size: 15px; }
.hero__caption-text strong { display: block; font-weight: 600; }
.hero__caption-text span { color: var(--ink-2); }
.hero__dots { display: flex; gap: 6px; }
.hero__dots button { width: 30px; height: 30px; display: grid; place-items: center; }
.hero__dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); opacity: 0.22; transition: opacity 0.2s, transform 0.2s; }
.hero__dots button.is-on::before { opacity: 1; transform: scale(1.15); }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 56px; min-height: calc(100vh - var(--header-h) - 36px); padding-top: 40px; padding-bottom: 40px; align-items: center; }
  .hero__stage { width: min(100%, 440px); max-height: none; }
  .hero__look { justify-self: center; width: min(100%, 440px); }
}

.trust { border-bottom: 1px solid var(--line); }
.trust ul { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
.trust li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; }
.trust li strong { font-weight: 600; }
.trust svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--burgundy); stroke-width: 1.5; }
@media (min-width: 760px) { .trust ul { grid-template-columns: repeat(3, 1fr); } }

.collections-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.coll-tile { position: relative; display: grid; border-radius: var(--radius); overflow: hidden; background: var(--tile, var(--chalk)); padding: 14px 14px 16px; gap: 12px; transition: transform 0.25s var(--ease); }
.coll-tile:hover { transform: translateY(-3px); }
.coll-tile .frame { --ar: 4 / 5; border-radius: 10px; }
.coll-tile h3 { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); line-height: 1.15; }
.coll-tile p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
@media (min-width: 900px) { .collections-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } .coll-tile { padding: 18px 18px 22px; } }

.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
@media (min-width: 760px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 36px 20px; } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }

.story { background: var(--sky); }
.story__grid { display: grid; gap: 32px; align-items: center; }
.story__grid .frame { --ar: 1 / 1; }
.story__body { display: grid; gap: 18px; }
.story__body p { color: var(--ink-2); max-width: 34em; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.values div { background: rgba(255,255,255,0.65); border-radius: 12px; padding: 14px 16px; }
.values h3 { font-family: var(--serif); font-size: 18px; }
.values p { font-size: 14px; margin-top: 2px; }
@media (min-width: 900px) { .story__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }

.reel { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
.reel::-webkit-scrollbar { display: none; }
.reel figure { margin: 0; scroll-snap-align: start; }
.reel .frame { --ar: 9 / 16; }
.reel figcaption { font-size: 14px; margin-top: 8px; color: var(--ink-2); }
.reel .sound { position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.9); display: grid; place-items: center; }
.reel .sound svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
@media (min-width: 900px) { .reel { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; } }

.steps { display: grid; gap: 12px; counter-reset: step; }
.step { background: var(--chalk); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; }
.step__n { width: 34px; height: 34px; border-radius: 50%; background: var(--burgundy); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.igstories { margin-bottom: 18px; }
.igstories__label { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.igstories__row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.igstories__row::-webkit-scrollbar { display: none; }
.igstory { flex: none; }
.igstory__ring { display: block; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--burgundy), #c2575f, var(--gold), var(--burgundy)); transition: transform 0.2s var(--ease); }
.igstory:hover .igstory__ring { transform: scale(1.05); }
.igstory__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); }
.igfeed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.igfeed__item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--chalk); }
.igfeed__item img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 0.4s var(--ease), opacity 0.2s; }
.igfeed__item:hover img { transform: scale(1.04); opacity: 0.9; }
.igfeed__badge { position: absolute; top: 8px; right: 8px; width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); }
@media (min-width: 900px) { .igfeed { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.ig { background: var(--burgundy); color: var(--white); border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 6vw, 64px); display: grid; gap: 18px; justify-items: start; }
.ig p { color: rgba(255,255,255,0.82); max-width: 32em; }

/* =========================================================
   SHOP (e-shop)
   ========================================================= */
.shop-head { padding-block: 28px 8px; display: grid; gap: 8px; }
.toolbar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: top 0.3s var(--ease); }
body:has(.site-header.is-hidden) .toolbar { top: 0; }
.toolbar__inner { display: grid; gap: 10px; padding-block: 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip small { font-size: 12px; opacity: 0.6; margin-left: 4px; }
.toolbar__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; min-height: 38px; padding: 0 34px 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; cursor: pointer; min-height: 38px; }
.toggle input { width: 18px; height: 18px; accent-color: var(--burgundy); }
.result-count { margin-left: auto; font-size: 14px; color: var(--ink-3); }
@media (min-width: 900px) { .toolbar__inner { grid-template-columns: 1fr auto; align-items: center; } .chips { margin: 0; padding: 0; } }
.shop-grid { padding-block: 28px 72px; }
.empty { text-align: center; padding-block: 64px; display: grid; gap: 14px; justify-items: center; color: var(--ink-2); }

/* =========================================================
   PRODUCT
   ========================================================= */
.crumbs { font-size: 13.5px; color: var(--ink-3); padding: 16px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pdp__grid { display: grid; gap: 24px; padding-bottom: 56px; }
@media (min-width: 1000px) { .pdp__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; } }

.gallery { display: grid; gap: 10px; }
.gallery__stage { position: relative; touch-action: pan-y; }
.gallery__stage .frame { --ar: 2 / 3; }
.gallery__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s ease; }
.gallery__slide.is-on { opacity: 1; z-index: 1; position: relative; }
.gallery__slide .frame { height: 100%; }
.gallery__nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(31,42,68,0.12); }
.gallery__nav svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.gallery__nav--prev { left: 10px; } .gallery__nav--prev svg { transform: scaleX(-1); }
.gallery__nav--next { right: 10px; }
.gallery__count { position: absolute; z-index: 3; right: 12px; bottom: 12px; background: rgba(255,255,255,0.92); font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { flex: none; width: 64px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; transition: border-color 0.2s; position: relative; }
.gallery__thumbs button .frame { --ar: 2 / 3; border-radius: 6px; }
.gallery__thumbs button.is-on { border-color: var(--ink); }
.gallery__thumbs .play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.gallery__thumbs .play::before { content: ""; width: 0; height: 0; border-left: 12px solid var(--white); border-top: 8px solid transparent; border-bottom: 8px solid transparent; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)); }
@media (min-width: 1000px) {
  .gallery { grid-template-columns: 76px 1fr; align-items: start; }
  .gallery__thumbs { flex-direction: column; order: -1; overflow: visible; }
  .gallery__thumbs button { width: 76px; }
}

.pinfo { display: grid; gap: 18px; align-content: start; }
@media (min-width: 1000px) { .pinfo { position: sticky; top: calc(var(--header-h) + 20px); } }
.pinfo__title { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
.pinfo__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pinfo__price { font-size: 24px; font-weight: 700; color: var(--burgundy); }
.pinfo__code { font-size: 13px; color: var(--ink-3); }
.stock { font-size: 13.5px; font-weight: 600; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock--low { color: var(--burgundy); }
.stock--out { color: var(--ink-3); }
.pinfo__desc { color: var(--ink-2); }
.sizes { display: grid; gap: 10px; }
.sizes__head { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 600; }
.sizes__head span:last-child { font-weight: 400; color: var(--ink-3); }
.sizes__list { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 62px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.size:hover { border-color: var(--ink); }
.size.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.size:disabled { color: var(--ink-3); background: var(--chalk); text-decoration: line-through; pointer-events: none; border-color: var(--chalk); }
.sizes.shake { animation: shake 0.4s; }
@keyframes shake { 25%, 75% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
.pinfo__actions { display: grid; gap: 10px; }
.perks { display: grid; gap: 10px; background: var(--chalk); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--burgundy); stroke-width: 1.5; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 600; font-size: 15px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform 0.2s; }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc__body { padding-bottom: 16px; color: var(--ink-2); font-size: 15px; }
.acc__body ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; }

.look { background: var(--pink); }
.look__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
.look__add { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) { .look__items { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.97); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; transform: translateY(110%); transition: transform 0.3s var(--ease); }
.mbar.is-on { transform: none; }
.mbar__price { font-weight: 700; color: var(--burgundy); font-size: 17px; margin-right: auto; }
.mbar .btn { min-height: 46px; padding: 0 18px; }
@media (min-width: 1000px) { .mbar { display: none; } }

/* =========================================================
   STORY: a short letter on paper, with a snapshot tucked in
   ========================================================= */
.story, .order { overflow: hidden; }
html { overflow-x: clip; }
.letter { display: grid; gap: 40px; align-items: center; }
.letter__photos { position: relative; padding: 0 8% 14% 0; }
.letter__main { border-radius: 18px; }
.letter__snap { position: absolute; right: 0; bottom: 0; width: 38%; margin: 0; background: var(--white); padding: 8px 8px 10px; border-radius: 6px; box-shadow: 0 14px 34px -14px rgba(31,42,68,0.35); rotate: 4deg; transition: rotate 0.5s var(--ease); }
.letter__snap:hover { rotate: 1deg; }
.letter__snap .frame { border-radius: 3px; }
.letter__snap figcaption { font-family: var(--serif); font-size: 12.5px; line-height: 1.3; padding: 8px 2px 0; color: var(--ink-2); }
.letter__paper { position: relative; background: var(--white); border-radius: 18px; padding: clamp(28px, 4vw, 52px); box-shadow: 0 24px 60px -30px rgba(31,42,68,0.3); display: grid; gap: 14px; }
.letter__paper::before { content: ""; position: absolute; top: -10px; left: 50%; width: 74px; height: 22px; translate: -50% 0; rotate: -2deg; background: rgba(246,225,227,0.9); border-radius: 3px; }
.letter__paper p { color: var(--ink-2); max-width: 34em; }
.letter__hello { font-family: var(--serif); font-size: 21px; color: var(--burgundy) !important; margin-top: 6px; }
.letter__notes { display: grid; gap: 10px; margin: 6px 0 4px; }
.letter__notes li { position: relative; padding-left: 30px; font-size: 15px; }
.letter__notes li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 28'%3E%3Cpath d='M20 14c-6-8-16-11-17-6s9 9 17 6Zm0 0c6-8 16-11 17-6s-9 9-17 6Zm0 0-6 12m6-12 6 12' fill='none' stroke='%237a1f2b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='20' cy='14' r='2.6' fill='%237a1f2b'/%3E%3C/svg%3E") no-repeat center / contain; }
.letter__sign { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px dashed var(--line); }
.letter__sign img { width: 46px; height: auto; }
.letter__sign span { font-family: var(--serif); font-size: 17px; line-height: 1.25; }
@media (min-width: 900px) {
  .letter { grid-template-columns: 1fr 1fr; gap: 0; }
  .letter__paper { margin-left: -48px; }
}

/* =========================================================
   HOW TO ORDER: steps joined by a ribbon + the real chat message
   ========================================================= */
.order__grid { display: grid; gap: 44px; align-items: center; }
.order__steps { list-style: none; margin: 30px 0 0; padding: 0; position: relative; display: grid; gap: 26px; }
.order__steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; border-left: 2px dashed rgba(122,31,43,0.35); }
.order__steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.order__n { width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 2px solid var(--burgundy); color: var(--burgundy); display: grid; place-items: center; font-family: var(--serif); font-size: 19px; position: relative; z-index: 1; }
.order__steps h3 { font-family: var(--serif); font-size: 21px; line-height: 1.2; margin-top: 8px; }
.order__steps p { color: var(--ink-2); font-size: 15px; margin-top: 4px; max-width: 30em; }
.order__phone { margin: 0; position: relative; justify-self: center; width: min(100%, 340px); }
.order__phone::before { content: ""; position: absolute; inset: 8% -14% 4% -14%; background: var(--pink); border-radius: 50%; z-index: 0; }
.phone { position: relative; z-index: 1; background: var(--white); border: 8px solid var(--ink); border-radius: 34px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(31,42,68,0.45); }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.phone__bar img { width: 28px; height: auto; border-radius: 50%; background: var(--chalk); padding: 3px; }
.phone__chat { display: grid; gap: 10px; padding: 18px 14px 22px; min-height: 300px; align-content: end; background: linear-gradient(#fff, #fbf7f7); }
.bubble { max-width: 86%; padding: 10px 13px; border-radius: 18px; font-size: 13.5px; line-height: 1.45; }
.bubble--me { justify-self: end; background: var(--burgundy); color: var(--white); border-bottom-right-radius: 5px; }
.bubble--pg { justify-self: start; background: var(--chalk); color: var(--ink); border-bottom-left-radius: 5px; }
.order__phone figcaption { position: relative; z-index: 1; text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 14px; }
@media (min-width: 900px) { .order__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

/* =========================================================
   SCROLL FEEL: soft rise-in (uses `translate`, so hover transforms still work)
   ========================================================= */
.rv { opacity: 0; translate: 0 22px; transition: opacity 0.7s ease var(--rv-d, 0ms), translate 0.8s var(--ease) var(--rv-d, 0ms); }
.rv.is-in { opacity: 1; translate: 0 0; }
.coll-tile.rv .frame img, .card.rv .frame > .main { scale: 1.06; transition: scale 1.1s var(--ease) var(--rv-d, 0ms), opacity 0.35s ease, transform 0.6s var(--ease); }
.coll-tile.rv.is-in .frame img, .card.rv.is-in .frame > .main { scale: 1; }
[data-parallax] { will-change: transform; }
.hero__slide.is-on .frame img { animation: kb 7s ease-out both; }
@keyframes kb { from { scale: 1.04; } to { scale: 1; } }

/* =========================================================
   CHRISTMAS SEASON (html.xmas, switched on in js/config.js)
   ========================================================= */
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.hero { position: relative; overflow: hidden; }
.hero__inner { position: relative; z-index: 1; }
.xmas .notice { background: var(--burgundy); }
.tag--xmas { background: var(--burgundy); color: var(--white); }

.xmas-band { display: none; position: relative; overflow: hidden; background: var(--burgundy); color: var(--white); }
.xmas .xmas-band { display: block; }
.xmas-band__inner { position: relative; z-index: 3; display: grid; gap: 28px; padding-block: clamp(48px, 7vw, 88px); align-items: center; }
.xmas-band h2 { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; }
.xmas-band p { color: rgba(255,255,255,0.82); max-width: 30em; margin: 12px 0 22px; }
.xmas-band__picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.xmas-band__picks a { display: block; transition: transform 0.3s var(--ease); }
.xmas-band__picks a:hover { transform: translateY(-4px) rotate(-1deg); }
.xmas-band__picks .frame { --ar: 2 / 3; border: 4px solid rgba(255,255,255,0.9); border-radius: 12px; }
.xmas-band__picks a:nth-child(2) { margin-top: 18px; }
.xmas-band__ribbon { position: absolute; z-index: 2; top: 0; bottom: 0; right: 18%; width: 14px; background: linear-gradient(90deg, #b8963f, #e3c776 45%, #b8963f); opacity: 0.35; }
@media (min-width: 900px) { .xmas-band__inner { grid-template-columns: 1fr 1.1fr; gap: 64px; } .xmas-band__picks { gap: 16px; } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; translate: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
