/* ÉBÈNE — storefront styles
   Ink #0D0C0B · Paper #FFF · Stone #F3F3F1 · Brass #A8834A */

@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #0d0c0b; --ink-2: #1a1816; --paper: #fff; --stone: #f3f3f1; --line: #e3e0da; --line-2: #cfcac2;
  --brass: #a8834a; --brass-deep: #7a5e31; --brass-light: #c9a46a;
  --muted: #5b564f; --muted-ink: #bdb5a8; --text-2: #3a3631;
  --ok: #2f6b3f; --err: #a3271c;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; caret-color: var(--brass); scrollbar-color: #b9b3a9 var(--stone); -webkit-tap-highlight-color: transparent; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
::selection { background: var(--brass-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 22px + 2.2vw, 50px); }
.lede { font-size: clamp(16px, 15px + .25vw, 18px); line-height: 1.65; color: var(--muted); max-width: 58ch; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; border-radius: 0; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--brass-deep); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brass-light); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { color: var(--brass-light); border-color: var(--brass-light); }
.btn--outline { color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn .wa, .wa { color: #25d366; }
.btn--outline .wa { color: #1da851; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* Announcement + header */
.announce { background: var(--brass); color: var(--ink); text-align: center; padding: 9px var(--gutter); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.header { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; border-bottom: 1px solid rgba(201,164,106,.28); }
.header__in { height: var(--header-h); padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.nav { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.nav a { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; padding-block: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass-light); }
.logo { font-family: var(--serif); font-size: 26px; letter-spacing: .32em; padding-inline-start: .32em; text-decoration: none; line-height: 1; }
.header__end { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.lang { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 10px; color: var(--muted-ink); }
.lang:hover { color: #fff; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; color: #fff; text-decoration: none; }
.icon-btn:hover { color: var(--brass-light); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brass-light); color: var(--ink); font-size: 11px; font-weight: 500; line-height: 18px; text-align: center; }
.cart-count[data-n="0"] { display: none; }
.menu-btn { display: none; }
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header__start { display: flex; }
  .lang { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer[data-open="true"] { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(13,12,11,.5); opacity: 0; transition: opacity .4s var(--ease); }
.drawer__panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(88vw, 380px); background: var(--ink); color: #fff; padding: 20px 24px 32px; display: flex; flex-direction: column; gap: 8px; transform: translateX(-100%); transition: transform .5s var(--ease); overflow-y: auto; }
.drawer[data-open="true"] .drawer__scrim { opacity: 1; }
.drawer[data-open="true"] .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(201,164,106,.25); margin-bottom: 8px; }
.drawer__panel a.big { font-family: var(--serif); font-size: 26px; text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(201,164,106,.16); }
.drawer__panel a.small { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 12px 0; color: var(--muted-ink); }

/* Sections */
.section { padding: clamp(64px, 9vw, 128px) var(--gutter); }
.head { display: grid; gap: 14px; margin-block-end: clamp(32px, 4vw, 56px); max-width: 62ch; }
.head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--brass-deep); white-space: nowrap; }
.link-arrow svg { transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); min-height: min(calc(100vh - var(--header-h) - 34px), 860px); overflow: hidden; }
.hero__media { grid-column: 2; grid-row: 1; position: relative; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: reveal 1.6s var(--ease) both; }
.hero__media[data-photo]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(13,12,11,0) 28%); }
.hero__art { position: absolute; inset: 0; display: grid; place-items: center; padding: 8% 6% 8% 0; color: var(--brass-light); animation: reveal 1.6s var(--ease) both; }
.hero__art svg { width: 100%; max-width: 820px; height: auto; }
.hero__copy { grid-column: 1; grid-row: 1; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(48px,7vw,112px) 0 clamp(48px,7vw,112px) var(--gutter); }
.hero h1 { font-size: clamp(42px, 24px + 4.2vw, 84px); line-height: 1.02; letter-spacing: -0.025em; max-width: 12ch; }
.hero__text { font-size: clamp(16px, 15px + .3vw, 19px); line-height: 1.65; color: var(--muted-ink); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__places { display: flex; align-items: center; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(201,164,106,.35); max-width: 44ch; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); }
@keyframes reveal { from { clip-path: inset(0 0 14% 0); transform: scale(1.06); } to { clip-path: inset(0); transform: scale(1); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { grid-column: 1; grid-row: 1; aspect-ratio: 4/3; }
  .hero__art { padding: 10% 8%; }
  .hero__copy { grid-column: 1; grid-row: 2; padding: 8px var(--gutter) 56px; gap: 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Featured product */
.featured { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } }

/* Occasions */
.occ-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0,1fr)); }
.occ { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; }
.occ img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.occ::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,12,11,.88) 0%, rgba(13,12,11,.15) 55%, rgba(13,12,11,0) 100%); }
.occ__initial { position: absolute; inset: 0; padding: 18px 22px; font-family: var(--serif); font-style: italic; font-size: clamp(140px, 100px + 6vw, 220px); line-height: .9; color: rgba(201,164,106,.32); }
.occ__frame { position: absolute; inset: 12px; border: 1px solid rgba(201,164,106,.35); z-index: 1; pointer-events: none; }
.occ__text { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; padding: clamp(18px,2vw,28px); display: grid; gap: 6px; }
.occ__name { font-family: var(--serif); font-size: clamp(24px, 18px + 1vw, 32px); line-height: 1.1; }
.occ__note { font-size: 14px; line-height: 1.5; color: #e6e0d6; }
.occ__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); }
.occ__cta svg { transition: transform .5s var(--ease); }
@media (hover: hover) { .occ:hover img { transform: scale(1.04); } .occ:hover .occ__cta svg { transform: translateX(4px); } }
@media (max-width: 1024px) { .occ-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) {
  .occ-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .occ-grid::-webkit-scrollbar { display: none; }
  .occ-grid > li { scroll-snap-align: start; }
}

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); column-gap: clamp(14px, 1.6vw, 24px); row-gap: clamp(36px, 4vw, 56px); }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.card { display: grid; gap: 14px; text-decoration: none; }
.card__img { display: block; position: relative; aspect-ratio: 3/4; background: var(--stone); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
@media (hover: hover) { .card:hover .card__img img { transform: scale(1.035); } }
.card__badge { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; }
.card__name { font-family: var(--serif); font-size: clamp(16px, 15px + .3vw, 19px); line-height: 1.25; }
.card__price { display: flex; gap: 10px; align-items: baseline; font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.card__price s { font-size: 13px; color: var(--muted); font-weight: 400; }
.card__meta { display: grid; gap: 4px; }
.ph { display: grid; position: absolute; inset: 0; place-items: center; width: 100%; height: 100%; padding: 14%; color: #b89b6c; background: var(--stone); }
.ph svg { width: 100%; height: auto; }

/* Product page */
.crumbs { padding: 18px var(--gutter) 0; font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pdp { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: clamp(32px, 5vw, 88px); padding: 24px var(--gutter) clamp(64px, 8vw, 112px); align-items: start; }
.gallery { display: grid; gap: 10px; }
.gallery__main { position: relative; aspect-ratio: 1/1; background: var(--stone); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery__thumbs button { aspect-ratio: 1/1; background: var(--stone); border: 1px solid transparent; overflow: hidden; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.info h1 { font-size: clamp(32px, 24px + 1.6vw, 46px); }
.price { display: flex; gap: 14px; align-items: baseline; font-family: var(--serif); font-size: 24px; }
.price s { font-size: 18px; color: var(--muted); }
.reassure { list-style: none; display: grid; gap: 10px; padding: 18px 0; border-block: 1px solid var(--line); }
.reassure li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; }
.reassure svg { flex: none; color: var(--brass-deep); }
.opt { border: 0; display: grid; gap: 12px; }
.opt legend { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.opt legend span { color: var(--muted); font-weight: 400; letter-spacing: .06em; text-transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-grid; place-items: center; min-width: 52px; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); font-size: 15px; transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.opt-error { color: var(--err); font-size: 14px; min-height: 0; }
.buy { display: grid; gap: 10px; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 18px; background: var(--ink); color: #fff; padding: 14px 18px 14px 20px; border: 1px solid var(--brass); box-shadow: 0 12px 32px -10px rgba(13,12,11,.5); transition: opacity .4s var(--ease), transform .4s var(--ease); font-size: 15px; }
.toast[data-show="true"] { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--brass-light); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.desc { font-size: 16px; line-height: 1.75; color: var(--text-2); max-width: 62ch; }
.disclosure { border-bottom: 1px solid var(--line); }
.disclosure summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 0; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary span { flex: 1; }
.disclosure summary svg { color: var(--brass-deep); transition: transform .45s var(--ease); }
.disclosure[open] summary svg:last-child { transform: rotate(45deg); }
.disclosure__body { padding-bottom: 18px; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .info { position: static; } }

/* Sticky mobile buy bar */
.buybar { display: none; }
@media (max-width: 900px) {
  .buybar { position: fixed; z-index: 25; inset-inline: 0; bottom: 0; display: flex; gap: 12px; align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
  .buybar[data-show="true"] { transform: none; }
  .buybar .btn { flex: 1; }
  .buybar__price { font-family: var(--serif); font-size: 20px; white-space: nowrap; }
}

/* Promise band */
.promise { background: var(--ink); color: #fff; }
.promise h2 { margin-bottom: clamp(36px,4vw,56px); max-width: 18ch; }
.promise__list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid rgba(201,164,106,.4); }
.promise__item { padding: 32px 28px 8px 0; display: grid; align-content: start; gap: 12px; }
.promise__item + .promise__item { padding-inline-start: 28px; border-inline-start: 1px solid rgba(201,164,106,.22); }
.promise__item svg { color: var(--brass-light); }
.promise__item h3 { font-size: 23px; line-height: 1.2; }
.promise__item p { font-size: 15px; line-height: 1.65; color: var(--muted-ink); max-width: 34ch; }
@media (max-width: 1024px) {
  .promise__list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .promise__item:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .promise__item:nth-child(n+3) { border-top: 1px solid rgba(201,164,106,.22); margin-top: 24px; }
}
@media (max-width: 560px) {
  .promise__list { grid-template-columns: 1fr; }
  .promise__item, .promise__item + .promise__item { padding: 24px 0; border-inline-start: 0; margin: 0; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 6px; }
  .promise__item + .promise__item { border-top: 1px solid rgba(201,164,106,.22); }
  .promise__item svg { grid-row: span 2; }
}

/* Size guide */
.size { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(40px,6vw,112px); align-items: start; background: var(--stone); }
.size__copy { display: grid; gap: 22px; justify-items: start; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; max-width: 52ch; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 16px; line-height: 1.6; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 22px; line-height: 1.1; color: var(--brass-deep); }
.tip { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 52ch; padding-top: 18px; border-top: 1px solid var(--line); }
.note { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.size-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; background: #fff; }
.size-table th, .size-table td { padding: 12px 16px; text-align: start; font-size: 15px; border-bottom: 1px solid var(--line); }
.size-table thead th { font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); border-bottom: 1px solid var(--brass); }
.size-table tbody th { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.disclosure .size-table th, .disclosure .size-table td { padding: 9px 12px; font-size: 14px; }
@media (max-width: 900px) { .size { grid-template-columns: 1fr; } }

/* Countries */
.countries { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--ink); }
.country { padding: 28px 28px 0 0; display: grid; gap: 10px; align-content: start; }
.country + .country { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.country h3 { font-size: clamp(28px, 22px + 1.2vw, 38px); }
.country__cities { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); line-height: 1.7; }
.country p:last-child { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 34ch; }
@media (max-width: 760px) {
  .countries { grid-template-columns: 1fr; }
  .country, .country + .country { padding: 22px 0; border-inline-start: 0; }
  .country + .country { border-top: 1px solid var(--line); }
}

/* Maison */
.maison { display: grid; grid-template-columns: minmax(0,6fr) minmax(0,5fr); gap: clamp(40px,6vw,112px); align-items: center; padding-top: 0; }
.maison__media { position: relative; aspect-ratio: 4/5; background: var(--ink); overflow: hidden; display: grid; place-items: center; }
.maison__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.maison__media::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(201,164,106,.4); z-index: 1; }
.maison__mono { font-family: var(--serif); font-size: clamp(160px, 100px + 12vw, 300px); line-height: 1; color: var(--brass-light); }
.maison__copy { display: grid; gap: 24px; }
.maison__copy p { font-size: clamp(17px, 15.5px + .35vw, 20px); line-height: 1.75; color: var(--text-2); max-width: 52ch; }
.maison__sign { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--brass-deep) !important; }
@media (max-width: 900px) { .maison { grid-template-columns: 1fr; } .maison__media { aspect-ratio: 4/3; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: clamp(32px,5vw,96px); background: var(--stone); }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid #d9d5ce; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--serif); font-size: clamp(19px, 17px + .4vw, 23px); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--brass-deep); transition: transform .45s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq summary:hover { color: var(--brass-deep); }
.faq__a { padding: 0 48px 26px 0; font-size: 16px; line-height: 1.75; color: var(--text-2); max-width: 64ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* Collection page */
.coll-head { background: var(--ink); color: #fff; padding: clamp(48px,7vw,96px) var(--gutter); display: grid; gap: 14px; }
.coll-head h1 { font-size: clamp(40px, 26px + 3vw, 72px); }
.coll-head p { color: var(--muted-ink); max-width: 56ch; font-size: 17px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px var(--gutter) 0; }
.filters a { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 10px 16px; border: 1px solid var(--line-2); }
.filters a:hover { border-color: var(--ink); }
.filters a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Cart + checkout */
.checkout { display: grid; grid-template-columns: minmax(0,6fr) minmax(0,5fr); gap: clamp(32px,5vw,88px); padding: clamp(40px,6vw,80px) var(--gutter) clamp(64px,8vw,112px); align-items: start; }
.checkout h1 { font-size: clamp(34px, 26px + 1.8vw, 52px); margin-bottom: 28px; }
.lines { list-style: none; border-top: 1px solid var(--ink); }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { position: relative; display: block; aspect-ratio: 3/4; background: var(--stone); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__img .ph { padding: 10%; }
.line__name { font-family: var(--serif); font-size: 19px; text-decoration: none; }
.line__meta { font-size: 14px; color: var(--muted); margin-top: 4px; }
.line__qty { display: inline-flex; align-items: center; margin-top: 12px; border: 1px solid var(--line-2); }
.line__qty button { width: 40px; height: 40px; display: grid; place-items: center; }
.line__qty button:hover { background: var(--stone); }
.line__qty output { min-width: 32px; text-align: center; font-variant-numeric: tabular-nums; }
.line__remove { margin-top: 12px; margin-inline-start: 14px; font-size: 13px; color: var(--muted); text-decoration: underline; }
.line__price { font-size: 16px; font-weight: 500; white-space: nowrap; }
.totals { display: grid; gap: 10px; padding: 22px 0; }
.totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; }
.totals div span:last-child { white-space: nowrap; }
.totals .grand { padding-top: 14px; border-top: 1px solid var(--ink); font-family: var(--serif); font-size: 22px; }
.totals .grand span:first-child { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; align-self: center; }
.panel { background: var(--stone); padding: clamp(24px, 3vw, 40px); position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.panel h2 { font-size: clamp(26px, 22px + 1vw, 34px); }
.panel .lede { font-size: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 0; font-size: 16px; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field small { font-size: 13px; color: var(--muted); }
.field[data-invalid="true"] input, .field[data-invalid="true"] select, .field[data-invalid="true"] textarea { border-color: var(--err); }
.field .err { font-size: 13px; color: var(--err); }
.phone { display: grid; grid-template-columns: 88px 1fr; }
.phone output { display: grid; place-items: center; border: 1px solid var(--line-2); border-inline-end: 0; background: #fbfaf8; font-variant-numeric: tabular-nums; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { background: #fbeceb; color: var(--err); padding: 12px 14px; font-size: 14px; }
.legal { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.hp { position: absolute; left: -9999px; }
.empty { padding: 40px 0; display: grid; gap: 20px; justify-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .panel { position: static; } }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } .line { grid-template-columns: 76px 1fr; } .line__price { grid-column: 2; } }

/* Thanks */
.thanks { padding: clamp(64px,10vw,140px) var(--gutter); display: grid; gap: 22px; justify-items: start; max-width: 760px; }
.thanks h1 { font-size: clamp(36px, 26px + 2.4vw, 60px); }
.ref { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); }
.ref strong { font-family: var(--serif); font-size: 28px; letter-spacing: .04em; color: var(--ink); display: block; margin-top: 6px; text-transform: none; }

/* Text pages */
.prose { padding: clamp(48px,7vw,96px) var(--gutter); max-width: 820px; display: grid; gap: 18px; }
.prose h1 { font-size: clamp(36px, 26px + 2.4vw, 60px); margin-bottom: 8px; }
.prose h2 { font-size: 28px; margin-top: 22px; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--text-2); }

/* Footer */
.footer { background: var(--ink); color: #fff; padding: clamp(56px,7vw,88px) var(--gutter) 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer .logo { font-size: 28px; }
.footer__tag { margin-top: 18px; color: var(--muted-ink); font-size: 15px; max-width: 32ch; }
.footer h2 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { text-decoration: none; color: rgba(255,255,255,.82); font-size: 15px; }
.footer ul a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(201,164,106,.25); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-ink); font-size: 13px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* WhatsApp float */
.wa-float { position: fixed; z-index: 40; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; min-height: 52px; background: var(--ink); color: #fff; text-decoration: none; border: 1px solid var(--brass); box-shadow: 0 10px 28px -8px rgba(13,12,11,.45); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: transform .35s var(--ease), opacity .3s; }
.wa-float:hover { transform: translateY(-2px); }
body:has(.buybar[data-show="true"]) .wa-float { bottom: 92px; }
body:has(.drawer[data-open="true"]) .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 13px; border-radius: 50%; right: 14px; bottom: 14px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
