/* ---------- Fonts (self-hosted, SIL Open Font License; see fonts/LICENSE.txt) ---------- */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/lexend-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/lexend-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Theme ---------- */
:root {
  --cream: #fffaf1;
  --sand: #f4ece0;
  --brown: #857251;
  --brown-dark: #5e5038;
  --ink: #212121;
  --muted: #6a6a6a;
  --white: #ffffff;
  --radius: 14px;
  --font-head: "Lexend", Arial, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown-dark); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; color: var(--ink); }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  text-decoration: none; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(33,33,33,.25); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-size: .8rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: #6f5d3c;
  margin: 0 0 1.25rem;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brown); box-shadow: 0 0 0 4px rgba(133,114,81,.18); }

/* ---------- Announcement bar ---------- */
.announcement { background: #1c1a17; color: var(--cream); text-align: center; font-size: .85rem; letter-spacing: .02em; }
.announcement p { margin: 0; padding: .55rem 1rem; }
.announcement a { color: #c9b48c; text-decoration: none; font-weight: 600; }
.announcement a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 241, .8);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(33, 33, 33, .06);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand {
  display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; letter-spacing: .22em; font-size: 1rem;
}
nav { margin-left: auto; }
.nav { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: #555; font-size: .92rem; font-family: var(--font-head); transition: color .15s; }
.nav a:hover { color: var(--ink); }

@media (max-width: 860px) { .header-cta { display: none; } }
@media (max-width: 640px) {
  .brand span { display: none; }
  .nav { gap: 1.1rem; }
  .nav a { font-size: .85rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(60rem 40rem at 85% 10%, rgba(133,114,81,.14), transparent 60%),
    var(--cream);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-title {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 0 0 1.5rem;
  color: var(--ink);
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #555; max-width: 32rem; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }


.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px -20px rgba(60, 45, 20, .35);
  transition: opacity .25s ease;
}
.hero-media img.is-fading { opacity: 0; }
.hero-badge {
  position: absolute; left: clamp(-1.5rem, -2vw, -.5rem); bottom: 2rem;
  display: grid; gap: .1rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: .9rem 1.2rem; border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.hero-badge-title { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.hero-badge-sub { font-size: .82rem; color: var(--muted); }
/* Colour picker centred under the hero photo: small dots, the selected one bigger,
   colour name in small capitals underneath. "Laptop-ready" card sits at the top right. */
.hero-picker {
  position: absolute; left: 50%; top: calc(100% + 1.25rem); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
}
.hero-swatches { display: flex; gap: 1rem; }
.hero-swatches .swatch {
  position: relative; flex: none; padding: 0; width: 10px; height: 10px; border: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transform: none; transition: transform .25s ease;
}
.hero-swatches .swatch::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; } /* bigger click/tap area */
.hero-swatches .swatch:hover { transform: none; }
.hero-swatches .swatch[aria-checked="true"], .hero-swatches .swatch[aria-checked="true"]:hover {
  transform: scale(1.5); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); outline: 0;
}
.hero-swatches .swatch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2.5px; }
.hero-picker-name {
  font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.hero-badge { left: auto; right: clamp(-1.5rem, -2vw, -.5rem); bottom: auto; top: 2rem; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; width: 100%; margin-inline: auto; margin-bottom: 3.5rem; } /* room for the dots */
  .hero-badge { right: 1rem; top: 1rem; }
}

/* ---------- Welcome ---------- */
.welcome { background: #1c1a17; color: var(--cream); }
.welcome .eyebrow { color: #c9b48c; }
.statement {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.7rem, 3.8vw, 3rem); line-height: 1.2; letter-spacing: -.02em;
  max-width: 58rem; margin: 0 0 clamp(2.5rem, 6vw, 4.5rem);
}
.statement span { color: #c9b48c; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.value { border-top: 1px solid rgba(255,250,241,.18); padding-top: 1.25rem; }
.value-num { font-family: var(--font-head); font-size: .85rem; color: #c9b48c; letter-spacing: .1em; }
.value h3 { font-size: 1.25rem; font-weight: 500; margin: .6rem 0 .4rem; }
.value p { margin: 0; color: rgba(255,250,241,.7); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* ---------- Section heads (shared) ---------- */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head .eyebrow { margin-bottom: .9rem; }
.section-head h2 { margin: 0; }
.section-head-sub { margin: 0; max-width: 22rem; color: var(--muted); font-size: 1.05rem; }

/* ---------- Collection ---------- */
.collection { background: var(--white); }
.product { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

.gallery-main {
  aspect-ratio: 4 / 5;
  background: #f3f1ee;
  border-radius: 28px;
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .65rem; margin-top: .9rem; }
.gallery-thumbs button {
  padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  cursor: pointer; background: #f3f1ee; aspect-ratio: 1;
  opacity: .55; transition: opacity .15s ease, box-shadow .15s ease;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button:hover { opacity: .85; }
.gallery-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }

.product-info { min-width: 0; padding-top: .5rem; }
.product-info h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; margin-bottom: .5rem; }
.price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; margin: 0 0 1.25rem; }
.price-currency { font-size: .9rem; color: var(--muted); font-weight: 400; }
.product-color-label { color: var(--muted); margin: 0 0 .9rem; }
.product-color-label strong { color: var(--ink); font-weight: 600; }

.swatches { display: flex; gap: .7rem; flex-wrap: wrap; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--swatch);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink); }

.buy { margin-top: 1.75rem; }
.btn-buy { width: 100%; justify-content: center; padding: 1.05rem 1.5rem; font-size: 1.05rem; }
.btn-buy[aria-disabled="true"] { background: #d9d4cb; color: #6a6a6a; cursor: not-allowed; transform: none; }
.buy-notes { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .88rem; color: var(--muted); }
.buy-notes li::before { content: "✓ "; color: var(--brown); }

.product-desc { margin: 1.75rem 0 1.5rem; font-size: 1.05rem; color: #444; }

.features { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .6rem; }
.features li { position: relative; padding-left: 1.9rem; }
.features li::before {
  content: ""; position: absolute; left: 0; top: .4em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: #f1ebe0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23857251' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
}

.specs { background: var(--cream); border-radius: 20px; padding: 1.25rem 1.5rem; }
.specs summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brown); }
.specs[open] summary::after { content: "−"; }
.specs dl { margin: .75rem 0 0; }
.specs dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.specs dl div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); font-size: .95rem; }
.specs dd { margin: 0; }

/* Placeholder marker: anything highlighted still needs real content */
.todo { background: #fff1b8; color: #7a5b00; padding: 0 .3em; border-radius: 4px; font-size: .9em; }

/* ---------- Look inside (bento) ---------- */
.inside { background: var(--cream); }
.bento {
  display: grid; gap: clamp(1rem, 2vw, 1.25rem);
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: repeat(2, minmax(260px, 1fr));
}
.tile { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: #ddd; isolation: isolate; }
.tile-lg { grid-row: span 2; }
.tile img.pos-top { object-position: center 15%; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.25rem, 3vw, 2rem); color: var(--white); }
.tile h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; margin: 0 0 .25rem; }
.tile p { margin: 0; color: rgba(255,255,255,.85); max-width: 26rem; }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .tile, .tile-lg { grid-row: auto; aspect-ratio: 4 / 3.4; }
}

/* ---------- Shipping & returns ---------- */
.shipping { background: var(--cream); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.25rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 860px) { .perks { grid-template-columns: 1fr; } }
.perk { background: var(--white); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2rem); }
.perk svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--cream); fill: none; stroke: var(--brown); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.perk h3 { font-size: 1.2rem; font-weight: 500; margin: 0 0 .35rem; }
.perk p { margin: 0; color: #555; }

.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid rgba(33,33,33,.1); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0;
  font-family: var(--font-head); font-weight: 500; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brown); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 1.25rem; color: #555; max-width: 42rem; }

.buy-notes a { color: inherit; }
.promo-hint { margin: .6rem 0 0; font-size: .85rem; color: var(--muted); }
.promo-applied {
  margin: .75rem 0 0; padding: .6rem .9rem; border-radius: 12px;
  background: #eef5ec; color: #2f6b3a; font-size: .9rem;
}
.promo-applied strong { letter-spacing: .04em; }

/* ---------- Inspire ---------- */
.inspire-wrap { background: var(--white); padding-bottom: 0; }
.inspire {
  display: grid; grid-template-columns: 1fr 1.25fr;
  border-radius: 32px; overflow: hidden;
  background: #24201a;
  min-height: clamp(420px, 45vw, 560px);
}
.inspire-content {
  align-self: center;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
}
.inspire-media { position: relative; overflow: hidden; min-height: 320px; }
/* slight zoom hides the illustration's painted white border */
.inspire-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.inspire-content .eyebrow { color: #c9b48c; }
.inspire-content h2 { color: var(--white); margin-bottom: 1rem; }
.inspire-content p:last-child { margin: 0; color: rgba(255,255,255,.75); font-size: 1.05rem; }
@media (max-width: 860px) {
  .inspire { grid-template-columns: 1fr; }
  .inspire-media { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
}

/* ---------- Closing CTA ---------- */
.closing { background: var(--white); }
.closing-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing-inner h2 { max-width: 40rem; margin-bottom: .8rem; }
.closing-inner p { color: var(--muted); font-size: 1.1rem; max-width: 34rem; margin: 0 0 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: #1c1a17; color: rgba(255,250,241,.7); padding: clamp(3rem, 7vw, 4.5rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--cream); }
.site-footer .brand img { filter: brightness(0) invert(1); }
.footer-brand { display: flex; align-items: center; gap: 1.5rem; align-self: start; }
.footer-brand p { margin: .7rem 0 0; max-width: 15rem; }

/* Label mascot, shown as a small cream "label" sticker */
.mascot { margin: 0; flex: none; }
.mascot-sticker {
  flex: none; width: 92px; height: 92px; border-radius: 18px;
  background: var(--cream); display: grid; place-items: center; overflow: hidden;
  transform: rotate(-5deg);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  transition: transform .3s ease;
}
.mascot:hover .mascot-sticker { transform: rotate(3deg) scale(1.05); }
.mascot-sticker img {
  width: 100%;
  mix-blend-mode: multiply; /* drawing's white background takes the sticker's cream */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 70%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) { .mascot-sticker { transition: none; } }
.footer-title { font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #c9b48c; margin: 0 0 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a { color: rgba(255,250,241,.85); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,250,241,.12); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Thank-you page ---------- */
.thanks { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 4rem 0; }
.thanks-inner { max-width: 40rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.thanks-sticker { width: 120px; height: 120px; margin-bottom: 2rem; }
.thanks h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; letter-spacing: -.03em; margin-bottom: 1rem; }
.thanks-text { color: #555; font-size: 1.05rem; margin: 0 0 1rem; }
.thanks .btn { margin-top: 1rem; }


/* ---------- Reviews ---------- */
.reviews { background: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.stars { position: relative; display: inline-block; line-height: 1; letter-spacing: .1em; font-size: 1rem; }
.stars-bg { color: #e2dbcf; }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #c08a2b; }
.stars-lg { font-size: 1.5rem; }

.reviews-summary { text-align: right; }
.reviews-summary p { margin: .3rem 0 0; color: var(--muted); }
.reviews-summary strong { color: var(--ink); font-family: var(--font-head); font-size: 1.1rem; }

.rating-link { display: inline-flex; align-items: center; gap: .5rem; margin: -.1rem 0 .6rem; text-decoration: none; color: var(--muted); font-size: .9rem; }
.rating-link:hover { color: var(--ink); }

.reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.reviews-list:empty { display: none; }
.review { background: var(--cream); border-radius: 24px; padding: 1.5rem 1.75rem; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.review-top time { font-size: .82rem; color: var(--muted); }
.review h3 { font-size: 1.1rem; font-weight: 500; margin: 0 0 .4rem; }
.review-text { margin: 0 0 1rem; color: #444; white-space: pre-line; }
.review-meta { margin: 0; font-size: .88rem; color: var(--muted); }
.review-meta strong { color: var(--ink); font-weight: 600; }

.reviews-empty { display: flex; align-items: center; gap: 1.5rem; background: var(--cream); border-radius: 24px; padding: 1.5rem 1.75rem; max-width: 36rem; }
.reviews-empty[hidden] { display: none; }
.reviews-empty .mascot-sticker { width: 72px; height: 72px; border-radius: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.reviews-empty h3 { font-size: 1.15rem; font-weight: 500; margin: 0 0 .2rem; }
.reviews-empty p { margin: 0; color: var(--muted); }

.review-form-wrap { margin-top: 2rem; }
.review-form-wrap > summary { list-style: none; cursor: pointer; }
.review-form-wrap > summary::-webkit-details-marker { display: none; }
.review-form-wrap[open] > summary { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Shown in place of a form after it was sent */
.form-done {
  margin-top: 1.5rem; max-width: 44rem; background: var(--cream); border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.25rem); display: flex; align-items: center; gap: .9rem;
  font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; outline: none;
}
.form-done::before {
  content: "✓"; flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem;
  border-radius: 50%; background: var(--ink); color: var(--white); font-size: 1rem;
}
.form-done p { margin: 0; }
.review-form { margin-top: 1.5rem; max-width: 44rem; background: var(--cream); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.25rem); display: grid; gap: 1.1rem; }
.review-form label { display: grid; gap: .4rem; font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.review-form .hint { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .82rem; }
.review-form input[type="text"], .review-form input[type="email"], .review-form select, .review-form textarea {
  font: inherit; font-family: var(--font-body); font-weight: 400; font-size: 1rem;
  padding: .75rem .9rem; border: 1px solid rgba(33,33,33,.18); border-radius: 12px; background: var(--white); color: var(--ink); width: 100%;
}
.review-form input:focus, .review-form select:focus, .review-form textarea:focus { outline: 2px solid var(--brown); outline-offset: 1px; border-color: transparent; }
.review-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.review-form .btn { justify-self: start; border: 0; cursor: pointer; }
.review-form .btn:disabled { opacity: .6; cursor: wait; }
.form-note { margin: -.4rem 0 0; font-size: .85rem; color: var(--muted); }
.form-status { margin: 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { color: #2f6b3a; }
.form-status[data-state="error"] { color: #a33a2b; }
.hp { position: absolute; left: -9999px; }

/* Star rating input: radios in reverse order so hovering highlights the stars before it */
.rating-input { border: 0; padding: 0; margin: 0; }
.rating-input legend { font-family: var(--font-head); font-weight: 500; font-size: .95rem; margin-bottom: .3rem; padding: 0; }
.rating-stars { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.rating-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rating-stars label { font-size: 2rem; line-height: 1; color: #e2dbcf; cursor: pointer; transition: color .1s, transform .1s; }
.rating-stars label:hover, .rating-stars label:hover ~ label,
.rating-stars input:checked ~ label { color: #c08a2b; }
.rating-stars label:hover { transform: scale(1.1); }
.rating-stars input:focus-visible + label { outline: 2px solid var(--brown); outline-offset: 2px; border-radius: 4px; }

/* ---------- Legal pages ---------- */
.header-back { margin-left: auto; }
.legal { background: var(--white); padding: clamp(3rem, 7vw, 5rem) 0; }
.legal-inner { max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 600; letter-spacing: -.03em; margin: 0 0 .4rem; }
.legal-updated { color: var(--muted); font-size: .9rem; margin: 0 0 2.5rem; }
.legal h2 { font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; margin: 2.5rem 0 .75rem; }
.legal h3 { font-size: 1.05rem; font-weight: 500; margin: 1.5rem 0 .4rem; }
.legal p, .legal li { color: #3f3f3f; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal-summary { background: var(--cream); border-radius: 20px; padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; }
.legal-summary h2 { margin-top: 0; }
.legal-summary p { margin-bottom: 0; font-size: .92rem; color: var(--muted); }
.legal-footer { background: #1c1a17; color: rgba(255,250,241,.6); padding: 1.75rem 0; font-size: .88rem; }
.legal-footer p { margin: 0; }
.legal-footer a, .footer-bottom a { color: rgba(255,250,241,.85); }
.footer-bottom p { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }

/* ---------- Order confirmation (thank-you page) ---------- */
.order { padding: clamp(2.5rem, 6vw, 4.5rem) 0 3rem; }
.order-inner { max-width: 64rem; }
.order-head { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2rem); margin-bottom: 2.5rem; }
.order-sticker { width: 96px; height: 96px; flex: none; }
.order-head .eyebrow { margin-bottom: .6rem; }
.order-head h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 .6rem; }
.order-meta { margin: 0; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.order-meta strong { color: var(--ink); font-family: var(--font-head); font-weight: 600; letter-spacing: .03em; }
.test-badge { background: #fff1b8; color: #7a5b00; font-size: .78rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; }
@media (max-width: 560px) { .order-head { flex-direction: column; align-items: flex-start; } .order-sticker { width: 72px; height: 72px; } }

.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 820px) { .order-grid { grid-template-columns: 1fr; } }
.order-side { display: grid; gap: 1.25rem; }
.order-card { background: var(--white); border-radius: 24px; padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.order-card h2 { font-size: 1.1rem; font-weight: 500; letter-spacing: 0; margin: 0 0 1rem; color: var(--ink); }

.order-items { list-style: none; margin: 0 0 1rem; padding: 0; }
.order-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: .5rem 0; }
.order-thumb { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: #f3f1ee; }
.order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-item-name { display: grid; }
.order-item-name strong { font-weight: 600; }
.order-item-name small { color: var(--muted); }
.order-item-amount { font-family: var(--font-head); }

.order-totals { margin: 0; border-top: 1px solid rgba(0,0,0,.08); padding-top: .75rem; }
.order-totals div { display: flex; justify-content: space-between; padding: .3rem 0; color: #555; }
.order-totals dd { margin: 0; }
.order-totals .order-total { border-top: 1px solid rgba(0,0,0,.08); margin-top: .5rem; padding-top: .8rem; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
.order-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.order-card address { font-style: normal; color: #444; line-height: 1.6; }
.next-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1rem; }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 1.9rem 1fr; column-gap: .75rem; }
.next-steps li::before {
  content: counter(step); grid-row: span 2;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--brown); font-family: var(--font-head); font-weight: 600; font-size: .9rem;
}
.next-steps strong { font-family: var(--font-head); font-weight: 500; }
.next-steps span { color: #555; font-size: .93rem; }

.order-loading { padding: 2rem; text-align: center; color: var(--muted); }
.order-fallback p { font-size: 1.1rem; color: #444; max-width: 40rem; }
.order-help { margin-top: 2.5rem; color: var(--muted); font-size: .95rem; }

/* Make the hidden attribute always win over display rules */
[hidden] { display: none !important; }
.order-processing { background: #fff6dc; color: #6b5200; border-radius: 16px; padding: 1rem 1.25rem; margin: 0 0 1.5rem; max-width: 46rem; }


/* ---------- Header cart button ---------- */
.cart-btn {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink);
}
.cart-btn:hover { background: rgba(33,33,33,.06); }
.cart-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--ink); color: var(--white);
  font: 600 .7rem/18px var(--font-head); text-align: center;
}
@media (max-width: 640px) { .nav-hide-sm { display: none; } .header-inner { gap: .75rem; } .nav { gap: 1rem; } }
.nav a { white-space: nowrap; }
.brand, .cart-btn { flex: none; }
@media (max-width: 380px) { .header-inner, .nav { gap: .5rem; } .nav a { font-size: .8rem; } .cart-btn { width: 36px; } }

/* ---------- Gallery controls ---------- */
.gallery-main { position: relative; }
.gallery-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--ink); font-size: 1.6rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.12); opacity: 0; transition: opacity .2s;
}
.gallery-prev { left: 14px; } .gallery-next { right: 14px; }
.gallery-main:hover .gallery-arrow, .gallery-arrow:focus-visible { opacity: 1; }
@media (hover: none) { .gallery-arrow { opacity: 1; width: 38px; height: 38px; } }
.gallery-count, .gallery-zoom-hint {
  position: absolute; bottom: 14px; font-size: .78rem; padding: .25rem .6rem; border-radius: 999px;
  background: rgba(255,255,255,.85); color: var(--ink); pointer-events: none;
}
.gallery-count { left: 14px; } .gallery-zoom-hint { right: 14px; }
.hint-mouse { display: none; }
@media (hover: hover) { .hint-touch { display: none; } .hint-mouse { display: inline; } }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20,17,12,.94); overflow: hidden; }
.lightbox::backdrop { background: rgba(20,17,12,.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; border-radius: 12px; cursor: zoom-in; transition: transform .25s ease; touch-action: pan-y; }
.lightbox img.is-zoomed { transform: scale(2.2); cursor: zoom-out; }
.lightbox-close, .lightbox-arrow {
  position: fixed; border: 0; cursor: pointer; color: var(--white); background: rgba(0,0,0,.55);
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 18px; } .lightbox-next { right: 18px; }
.lightbox-close:hover, .lightbox-arrow:hover { background: rgba(0,0,0,.75); }
.lightbox-count { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: .9rem; }

/* ---------- Payment icons ---------- */
.pay-icons { list-style: none; display: flex; gap: .4rem; margin: .9rem 0 0; padding: 0; }
.pay-icons svg { width: 44px; height: 28px; display: block; }

/* ---------- Sticky buy bar (phones only) ---------- */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; gap: .75rem;
  padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,0,0,.08); box-shadow: 0 -8px 24px rgba(0,0,0,.08);
}
.sticky-buy img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; background: #f3f1ee; }
.sticky-info { display: grid; line-height: 1.25; min-width: 0; flex: 1 1 auto; }
.sticky-info strong, .sticky-info span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-info strong { font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.sticky-info span { font-size: .8rem; color: var(--muted); }
.sticky-swatches { display: flex; gap: .35rem; flex: none; }
.sticky-swatches .swatch { flex: none; padding: 0; width: 22px; height: 22px; border-width: 2px; }
.sticky-buy .btn { flex: none; white-space: nowrap; }
@media (max-width: 860px) { .sticky-buy:not([hidden]) { display: flex; } }
/* Narrow phones: no room for the colour dots, the colour name below the price says which one */
@media (max-width: 460px) { .sticky-swatches { display: none; } }
/* Small phones: drop the product name so the price always shows in full */
@media (max-width: 420px) { .sticky-name { display: none; } }
@media (max-width: 360px) { .sticky-buy img { display: none; } }

/* ---------- Cart drawer ---------- */
.cart { position: fixed; inset: 0; z-index: 100; }
.cart-overlay { position: absolute; inset: 0; background: rgba(20,17,12,.45); opacity: 0; transition: opacity .25s; }
.cart-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s ease; box-shadow: -20px 0 40px rgba(0,0,0,.15);
}
.cart.is-open .cart-overlay { opacity: 1; }
.cart.is-open .cart-panel { transform: none; }
body.cart-open { overflow: hidden; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,.07); }
.cart-head h2 { font-size: 1.3rem; margin: 0; }
.cart-close { border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); width: 40px; height: 40px; border-radius: 50%; }
.cart-close:hover { background: rgba(0,0,0,.05); }
.cart-items { list-style: none; margin: 0; padding: .5rem 1.5rem; overflow-y: auto; flex: 1; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; background: #f3f1ee; }
.cart-item-info { display: grid; align-content: start; gap: .15rem; }
.cart-item-info strong { font-family: var(--font-head); font-weight: 500; }
.cart-item-info > span { color: var(--muted); font-size: .9rem; }
.qty { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; border: 1px solid rgba(0,0,0,.15); border-radius: 999px; padding: .1rem; width: max-content; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; cursor: pointer; font-size: 1rem; }
.qty button:hover { background: rgba(0,0,0,.06); }
.cart-item-side { display: grid; justify-items: end; align-content: space-between; font-family: var(--font-head); }
.cart-remove { border: 0; background: none; color: var(--muted); font-size: .82rem; text-decoration: underline; cursor: pointer; padding: 0; }
.cart-empty { padding: 2.5rem 1.5rem; text-align: center; color: var(--muted); flex: 1; }
.cart-footer { padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(0,0,0,.07); background: var(--cream); }
.cart-subtotal { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 1.15rem; margin-bottom: .3rem; }
.cart-note, .cart-secure { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.cart-secure { text-align: center; margin: .75rem 0 0; }
.cart-promo { margin: 0 0 .75rem; padding: .5rem .75rem; border-radius: 10px; background: #eef5ec; color: #2f6b3a; font-size: .88rem; }
.cart-error { color: #a33a2b; font-size: .9rem; margin: .75rem 0 0; }
.btn-buy:disabled { opacity: .7; cursor: wait; }
button.btn { border: 0; cursor: pointer; font: inherit; font-family: var(--font-head); font-weight: 500; }
button.btn-buy { font-size: 1.05rem; }

/* ---------- Our story ---------- */
.story { background: var(--cream); }
.story-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 820px) { .story-inner { grid-template-columns: 1fr; } }
.story-photo-placeholder { aspect-ratio: 4 / 5; border-radius: 28px; background: #efe7da; display: grid; place-items: center; max-width: 460px; }
.story-photo img { border-radius: 28px; width: 100%; max-width: 460px; aspect-ratio: 4 / 5; object-fit: cover; }
.story-text p { color: #444; font-size: 1.08rem; }
.story-sign { font-family: var(--font-head); color: var(--ink) !important; }

/* ---------- Email sign-up ---------- */
.signup { background: var(--white); padding-top: 0; }
.signup-card {
  background: var(--cream); border-radius: 32px; padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
@media (max-width: 820px) { .signup-card { grid-template-columns: 1fr; } }
.signup-copy h2 { margin-bottom: .6rem; }
.signup-copy p:last-child { margin: 0; color: #555; }
.signup-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.signup-row input {
  flex: 1 1 220px; font: inherit; padding: .85rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(33,33,33,.2); background: var(--white);
}
.signup-row input:focus { outline: 2px solid var(--brown); outline-offset: 1px; }
.signup-consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: .9rem; font-size: .85rem; color: #555; }
.signup-consent input { margin-top: .25rem; accent-color: var(--ink); }
.signup-form .form-status { margin-top: .8rem; }
.signup-code { display: flex; align-items: center; gap: 1rem; margin-top: .6rem; }
.signup-code strong { font-family: var(--font-head); font-size: 1.4rem; letter-spacing: .08em; background: var(--white); padding: .3rem .9rem; border-radius: 12px; border: 1.5px dashed var(--brown); }

/* ---------- Simple pages (contact, track) ---------- */
.page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 3rem; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 .8rem; }
.page-lead { color: #555; font-size: 1.08rem; max-width: 38rem; margin: 0 0 2rem; }
.page-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .page-grid { grid-template-columns: 1fr; } }
.page-narrow { max-width: 46rem; }
.page-side { display: grid; gap: 1.25rem; }
.page .review-form { background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.05); margin-top: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.contact-list li span { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

.track-result { margin-top: 1.5rem; }
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.track-head h2 { margin: 0 0 .2rem; font-size: 1.3rem; }
.track-pill { padding: .3rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; background: #f1ebe0; color: #6f5d3c; white-space: nowrap; }
.track-pill[data-status="shipped"] { background: #eef5ec; color: #2f6b3a; }
.track-pill[data-status="refunded"], .track-pill[data-status="partially_refunded"] { background: #f6ecec; color: #8a3a2b; }
.track-steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.track-steps li { position: relative; padding-left: 2.4rem; display: grid; }
.track-steps li::before {
  content: ""; position: absolute; left: 0; top: .1rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  border: 2px solid #ddd4c4; background: var(--white);
}
.track-steps li.is-done::before { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.track-steps strong { font-family: var(--font-head); font-weight: 500; }
.track-steps span { color: var(--muted); font-size: .92rem; }
.track-note { background: #fff6dc; color: #6b5200; border-radius: 12px; padding: .75rem 1rem; margin: 1rem 0 0; }
.track-items { margin: 1.25rem 0 0; padding: 1rem 0 0 1.1rem; border-top: 1px solid rgba(0,0,0,.07); color: #555; }

.welcome .statement { color: var(--cream); }

/* ---------- Contact page alignment ---------- */
.page-head { max-width: 46rem; margin-bottom: 2.25rem; }
.page-head .page-lead { margin-bottom: 0; }
.page-grid { align-items: start; }
.page-grid > .review-form { margin: 0; }
.page-side .order-card { padding: clamp(1.5rem, 4vw, 2.25rem); }
.page-side .order-card h2 { margin-bottom: 1.1rem; }
.contact-list li { line-height: 1.5; }
.contact-list li span { margin-bottom: .2rem; }

/* Form fields: same height, labels with inline hints, custom select arrow */
.review-form .label-text { display: block; }
.review-form .label-text .hint { margin-left: .25rem; }
.form-row { align-items: end; }
.review-form input[type="text"], .review-form input[type="email"], .review-form select { height: 3.25rem; padding-top: 0; padding-bottom: 0; }
.review-form select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23555' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 1rem center / 14px no-repeat;
}

/* Contact page: make both columns end at the same line */
.page-grid { align-items: stretch; }
.page-side { display: flex; flex-direction: column; gap: 1.25rem; }
.page-side .order-card:last-child { flex: 1; }

/* ---------- Language switch ---------- */
.lang-switch {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .08em;
  color: var(--ink); text-decoration: none; padding: .35rem .6rem; border-radius: 999px;
  border: 1.5px solid rgba(33,33,33,.18);
}
.lang-switch:hover { border-color: var(--ink); }
/* Sits at the far right, after the shop/back button. Fixed widths keep the header
   from shifting when switching between English and French. */
.lang-switch { flex: none; min-width: 2.6rem; text-align: center; margin-left: -.5rem; }
.header-cta, .header-back { flex: none; text-align: center; justify-content: center; }
.header-cta { min-width: 6.5rem; }  /* "Buy" / "Acheter" */
.header-back { min-width: 12.5rem; } /* "← Back to shop" / "← Retour à la boutique" */
@media (max-width: 640px) { .lang-switch { margin-left: 0; } }
@media (max-width: 380px) { .site-header .container { width: calc(100% - 1.5rem); } .lang-switch { min-width: 2.3rem; padding-inline: .4rem; } }

/* Specifications: label and value on the same line, same text size */
.specs dl div { grid-template-columns: minmax(8.5rem, 38%) 1fr; align-items: baseline; padding: .7rem 0; }
.specs dt, .specs dd { font-size: .95rem; line-height: 1.5; }
.specs dd .todo { font-size: 1em; }
.todo { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.specs summary { padding: .1rem 0; }
.specs[open] summary { margin-bottom: .25rem; }

/* Product: gallery stays in view while the details column scrolls (desktop only) */
@media (min-width: 861px) {
  .product { align-items: start; }
  .gallery { position: sticky; top: 92px; }
  /* Fit heading + photo + thumbnails in one screen: the photo's height follows the window height
     (4:5 shape kept), thumbnails are small squares in one row under it. */
  .collection { padding-top: 2.5rem; }
  .collection .section-head { margin-bottom: 1.5rem; }
  /* Two balanced columns: the photo fills its column (bag stays centred), the details
     start level with the top of the photo */
  .product { grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
  .gallery { --photo-h: clamp(360px, calc(100vh - 330px), 640px); }
  .gallery-main {
    /* height follows the window; width fills the column but never wider than ~square,
       so the bag is never zoomed in or cut off */
    height: var(--photo-h); width: min(100%, calc(var(--photo-h) * .92)); margin-inline: auto;
    max-height: none; aspect-ratio: auto; border-radius: 22px;
  }
  .gallery-main img { object-position: 50% 62%; }
  .gallery-thumbs { justify-content: center; }
  .product-info { padding-top: 0; }
  .product-info h3 { margin-top: -.3rem; }
  .gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; }
  .gallery-thumbs button { width: 60px; height: 60px; flex: none; border-radius: 10px; }
}

/* +/− icon turns smoothly when a box opens or closes */
.specs summary::after, .faq summary::after { content: "+"; transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.specs[open]:not(.is-closing) summary::after, .faq details[open]:not(.is-closing) summary::after { content: "+"; transform: rotate(45deg); }
