/* ============ Polices (auto-hébergées, conformes RGPD) ============ */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/fonts/inter/files/inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/fonts/inter-tight/files/inter-tight-latin-wght-normal.woff2') format('woff2-variations'); }

:root {
  --bg: #F6F4EF;
  --surface: #FFFFFF;
  --tile: #ECE8DF;
  --ink: #151515;
  --ink-2: #4E4B45;
  --muted: #8A867D;
  --line: #E2DDD2;
  --accent: #2F3A2E;
  --sale: #9B3D2B;
  --ok: #3F6B45;
  --radius: 14px;
  --radius-sm: 8px;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ============ Boutons & champs ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-weight: 500; font-size: 15px;
  cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s; white-space: nowrap; }
.btn:hover { background: #000; }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn--light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--block { width: 100%; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.input, select.input, textarea.input { width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); transition: border-color .2s; }
textarea.input { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--ink); width: 16px; height: 16px; }

/* ============ Messages ============ */
.flash { margin: 16px auto 0; max-width: var(--max); padding: 0 var(--pad); }
.flash > div { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; background: var(--surface); border: 1px solid var(--line); }
.flash .success { border-color: #CFE0CF; background: #F1F7F0; color: var(--ok); }
.flash .error { border-color: #EBCFC8; background: #FBF2EF; color: var(--sale); }

/* ============ En-tête ============ */
.announce { background: var(--ink); color: #E9E5DC; font-size: 12.5px; text-align: center; padding: 9px var(--pad); letter-spacing: .02em; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 239, .86); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.nav { display: flex; gap: 28px; font-size: 14.5px; }
.nav a { position: relative; padding: 6px 0; color: var(--ink-2); transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.logo { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .28em; text-transform: uppercase; }
.logo span { margin-right: -.28em; }
.logo__sym { width: 1.35em; height: 1.35em; flex: none; }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 10px; border-radius: 999px;
  background: none; border: 0; cursor: pointer; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--tile); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 600; }
.cart-count[data-n="0"] { background: var(--tile); color: var(--muted); }
.burger { display: none; }
.search-bar { display: none; border-top: 1px solid var(--line); }
.search-bar.is-open { display: block; }
.search-bar form { display: flex; gap: 10px; padding: 14px 0; }
.search-bar input { flex: 1; border: 0; background: transparent; font-size: 20px; font-family: var(--display); }
.search-bar input:focus { outline: none; }

.mobile-menu { display: none; }

/* ============ Hero ============ */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: stretch; padding-top: clamp(24px, 4vw, 48px); }
.hero__text { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(8px, 3vw, 40px); }
.hero__title { font-size: clamp(56px, 9vw, 148px); font-weight: 600; letter-spacing: -0.045em; line-height: .92; margin: 20px 0 28px; white-space: pre-line; }
.hero__sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 440px; margin-bottom: 32px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 6; background: var(--tile); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 1.6s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }

/* ============ Sections ============ */
.section { padding-top: clamp(64px, 9vw, 128px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section__title { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.035em; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value { padding: 28px 28px 28px 0; display: flex; gap: 16px; align-items: flex-start; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line); }
.value svg { flex: none; width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.5; margin-top: 2px; }
.value b { display: block; font-weight: 500; }
.value span { font-size: 14px; color: var(--muted); }

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.cat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat:hover img { transform: scale(1.04); }
.cat__label { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); border-radius: 999px; padding: 10px 12px 10px 18px; font-weight: 500; font-size: 14.5px; }
.cat__label i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); font-style: normal; transition: transform .3s var(--ease); }
.cat:hover .cat__label i { transform: translateX(3px); }

/* ============ Cartes produit ============ */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 16px; }
.card { display: block; }
.card__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; margin-bottom: 14px; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .9s var(--ease); }
.card__media img.alt { opacity: 0; }
.card:hover .card__media img { transform: scale(1.03); }
.card:hover .card__media img.alt { opacity: 1; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: var(--surface); font-size: 11.5px; font-weight: 500; letter-spacing: .02em; }
.badge--sale { background: var(--sale); color: #fff; }
.badge--out { background: var(--ink); color: var(--bg); }
.card__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__name { font-weight: 500; font-size: 15px; }
.card__meta { font-size: 13.5px; color: var(--muted); }
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price s { color: var(--muted); margin-left: 6px; font-size: .9em; }
.price--sale { color: var(--sale); }

/* ============ Bandeau éditorial ============ */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; background: var(--surface); border-radius: calc(var(--radius) * 1.5); padding: clamp(32px, 6vw, 88px); }
.story h2 { font-size: clamp(36px, 5vw, 72px); letter-spacing: -0.04em; }
.story p { font-size: 17px; color: var(--ink-2); max-width: 520px; }

/* ============ Newsletter ============ */
.newsletter { text-align: center; max-width: 640px; margin: 0 auto; }
.newsletter h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.newsletter form { display: flex; gap: 8px; margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
.newsletter input { flex: 1; border: 0; background: transparent; padding: 0 18px; min-width: 0; }
.newsletter input:focus { outline: none; }
.newsletter .btn { height: 44px; }

/* ============ Pied de page ============ */
.footer { margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.footer__brand { font-family: var(--display); font-weight: 700; letter-spacing: -.04em; font-size: clamp(64px, 14vw, 220px); line-height: .8; margin-top: 48px; color: var(--tile); user-select: none; overflow: hidden; white-space: nowrap; }

/* ============ Catalogue ============ */
.page-head { padding: clamp(32px, 5vw, 64px) 0 28px; }
.page-head h1 { font-size: clamp(40px, 6vw, 88px); letter-spacing: -0.045em; }
.page-head p { color: var(--muted); margin-top: 10px; }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; margin-bottom: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); transition: all .2s; background: transparent; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort select { height: 36px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: transparent; color: var(--ink); }
.empty { text-align: center; padding: 80px 0; color: var(--muted); }
.empty h2 { color: var(--ink); font-size: 28px; margin-bottom: 10px; }

/* ============ Fiche produit ============ */
.crumbs { font-size: 13px; color: var(--muted); padding: 20px 0; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery.single figure { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.buybox { position: sticky; top: 96px; }
.buybox h1 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.035em; margin: 8px 0 10px; }
.buybox .price { font-size: 20px; }
.buybox__desc { color: var(--ink-2); margin: 24px 0; }
.sizes-head { display: flex; justify-content: space-between; font-size: 14px; margin: 28px 0 10px; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span { display: grid; place-items: center; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-weight: 500; font-size: 14px; cursor: pointer; transition: all .2s; position: relative; }
.size span:hover { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.size input:disabled + span { color: var(--muted); background: transparent; cursor: not-allowed; text-decoration: line-through; }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.stock-hint { font-size: 13px; color: var(--sale); min-height: 20px; margin-top: 10px; }
.buy-row { display: flex; gap: 10px; margin-top: 12px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); height: 52px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--ink-2); }
.qty input { width: 32px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; }
.perks { display: grid; gap: 10px; margin: 24px 0; padding: 18px 20px; background: var(--surface); border-radius: var(--radius); font-size: 14px; color: var(--ink-2); }
.perks div { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.6; flex: none; }
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; display: flex; justify-content: space-between; padding: 18px 0; cursor: pointer; font-weight: 500; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: '+'; font-weight: 300; font-size: 20px; line-height: 1; transition: transform .3s var(--ease); }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc__body { padding-bottom: 20px; color: var(--ink-2); font-size: 14.5px; }
details.acc ul { margin: 0; padding-left: 18px; }

/* ============ Panier & commande ============ */
.cart { display: grid; grid-template-columns: 1fr 400px; gap: clamp(24px, 4vw, 64px); align-items: start; }
.line { display: grid; grid-template-columns: 112px 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:first-child { border-top: 1px solid var(--line); }
.line__img { border-radius: var(--radius-sm); overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 500; }
.line__meta { font-size: 14px; color: var(--muted); margin: 2px 0 14px; }
.line__actions { display: flex; align-items: center; gap: 16px; }
.line__actions .qty { height: 40px; }
.line__actions .qty button { width: 34px; }
.remove { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.remove:hover { color: var(--ink); }
.summary { position: sticky; top: 96px; background: var(--surface); border-radius: calc(var(--radius) * 1.3); padding: 28px; }
.summary h2 { font-size: 22px; margin-bottom: 20px; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14.5px; color: var(--ink-2); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 18px; color: var(--ink); font-size: 18px; font-weight: 600; }
.progress { margin: 4px 0 20px; font-size: 13.5px; color: var(--ink-2); }
.progress__bar { height: 4px; border-radius: 4px; background: var(--tile); margin-top: 8px; overflow: hidden; }
.progress__bar i { display: block; height: 100%; background: var(--ok); border-radius: 4px; }
.promo { display: flex; gap: 8px; margin: 18px 0; }
.promo .input { height: 44px; }
.promo .btn { height: 44px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.secure svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; }
.mini-line .line__img { position: relative; overflow: visible; }
.mini-line .line__img img { border-radius: 6px; }
.mini-line .line__img b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--ink-2); color: #fff; font-size: 11px; display: grid; place-items: center; }

.panel { background: var(--surface); border-radius: calc(var(--radius) * 1.3); padding: clamp(24px, 3vw, 36px); }
.panel h2 { font-size: 22px; margin-bottom: 20px; }
.panel + .panel { margin-top: 16px; }

/* ============ Compte ============ */
.auth { max-width: 440px; margin: clamp(32px, 6vw, 80px) auto 0; }
.auth h1 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.04em; margin-bottom: 10px; }
.auth .sub { color: var(--muted); margin-bottom: 28px; }
.auth__alt { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.account { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.order-row:last-child { border-bottom: 0; }
.order-row:hover .link { text-decoration-color: currentColor; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--tile); color: var(--ink-2); white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--blue { background: #EAF0F7; color: #2F5C8A; }
.pill--amber { background: #F8F0DF; color: #8A6216; }
.pill--violet { background: #F0EDF7; color: #5E4A8E; }
.pill--green { background: #EAF3EA; color: #3F6B45; }
.pill--red { background: #F8ECE9; color: #9B3D2B; }

/* ============ Pages de contenu ============ */
.prose { max-width: 720px; font-size: 16px; color: var(--ink-2); }
.prose h2 { font-size: 22px; color: var(--ink); margin: 40px 0 12px; }
.prose p { line-height: 1.75; }
.success { max-width: 640px; margin: clamp(40px, 7vw, 96px) auto 0; text-align: center; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; margin: 0 auto 24px; }
.success__icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; }
.success h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.04em; margin-bottom: 14px; }
.success .panel { text-align: left; margin-top: 36px; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: #F8F0DF; color: #6E4E12; font-size: 14px; margin-top: 20px; }

/* ============ Toast ============ */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 200%); background: var(--ink); color: var(--bg); padding: 14px 16px 14px 22px; border-radius: 999px;
  display: flex; align-items: center; gap: 16px; font-size: 14px; z-index: 100; opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility .3s; box-shadow: 0 12px 40px rgba(0, 0, 0, .18); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast a { background: var(--bg); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.toast.is-error { background: var(--sale); }

/* ============ Apparition au défilement ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cart, .account { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .header__in { grid-template-columns: auto 1fr auto; height: 62px; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .logo { text-align: center; font-size: 19px; }
  .tools .hide-m { display: none; }
  .mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 24px var(--pad); display: flex; flex-direction: column; gap: 4px;
    transform: translateX(-100%); transition: transform .45s var(--ease); }
  .mobile-menu.is-open { transform: none; }
  .mobile-menu a { font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; padding: 6px 0; }
  .mobile-menu .small a { font-family: var(--body); font-size: 16px; font-weight: 400; color: var(--ink-2); }
  .mobile-menu .close { align-self: flex-end; }
  .hero { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 4 / 4; order: -1; }
  .hero__title { margin-top: 12px; }
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 20px 0; border-left: 0; }
  .value + .value { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; }
  .gallery figure { flex: 0 0 86%; scroll-snap-align: center; }
  .buybox { position: static; }
  .story { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .line { grid-template-columns: 88px 1fr; }
  .line > .price { grid-column: 2; }
}
@media (max-width: 520px) {
  .grid-2 { grid-template-columns: 1fr; }
  .card__row { flex-direction: column; gap: 0; }
  .hero__ctas .btn { flex: 1; }
}
