/* Voyage Dress — site styles
   Display: Fraunces. UI/body: Source Sans 3.
   Warm neutrals, muted clay and olive. No glass, no neon. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-normal-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: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-normal-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: "Fraunces";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-italic-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: "Fraunces";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-italic-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: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-normal-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: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-normal-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: "Source Sans 3";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-italic-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: "Source Sans 3";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-italic-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;
}

:root {
  --paper: #F5F0E8;
  --paper-2: #EBE4D6;
  --cream: #FBF8F2;
  --ink: #2A261F;
  --ink-soft: #4A453C;
  --muted: #6F685C;
  --rule: #D8D0C2;
  --rule-strong: #C4BAA9;
  --clay: #7A462A;
  --clay-hover: #623820;
  --clay-soft: #A15C40;
  --olive: #4F5840;
  --olive-soft: #6B7355;
  --on-dark: #F5F0E8;
  --danger: #8B2E2E;
  --ok: #3E5A3A;
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --header-h: 4.15rem;
  --page: 72rem;
  --gutter: clamp(1.15rem, 4.2vw, 3.25rem);
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
  --shadow: 0 1px 2px rgba(42, 38, 31, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--clay); }
p a, .prose a, .footer a:hover, .legal-page a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
address { font-style: normal; }
fieldset { border: 0; margin: 0; padding: 0; }

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

/* Bilingual: default English. html[lang=id] reveals Indonesian. */
[data-lang="id"] { display: none !important; }
html[lang="id"] [data-lang="en"] { display: none !important; }
html[lang="id"] [data-lang="id"] { display: revert !important; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -5rem;
  z-index: 200;
  background: var(--ink);
  color: var(--on-dark);
  padding: 0.55rem 1rem;
}
.skip-link:focus { top: 0.65rem; }

.wrap {
  width: min(var(--page), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 38rem;
}
.prose {
  max-width: 40rem;
  color: var(--ink-soft);
}
.prose p + p,
.prose p + ul,
.prose ul + p,
.prose h2 + p,
.prose h3 + p { margin-top: 1rem; }
.prose h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--ink);
  margin-top: 2.25rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}
.prose h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
}
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.35rem; }
.prose .note {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  background: var(--paper-2);
  border-left: 3px solid var(--olive-soft);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- announcement + header ---------- */
.announce {
  background: var(--olive);
  color: var(--on-dark);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 0.45rem var(--gutter);
}
.announce a { text-decoration: underline; text-underline-offset: 0.15em; }
.announce a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  width: min(var(--page), 100%);
  margin-inline: auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wordmark {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  padding: 0.4rem 0;
  flex: 0 0 auto;
}
.wordmark:hover { color: var(--clay); }
.wordmark em { font-style: italic; font-weight: 400; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem 1.35rem;
  margin-left: 1.5rem;
  flex: 1 1 auto;
}
.nav-desktop a,
.nav-mobile a {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.25rem 0;
}
.nav-desktop a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -1.5px 0 var(--clay);
}
.nav-desktop a:hover,
.nav-mobile a:hover { color: var(--clay); }

.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  overflow: hidden;
  background: var(--cream);
}
.lang-switch button {
  min-width: 2.4rem;
  padding: 0.28rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--on-dark);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.3rem 0.15rem;
  position: relative;
}
.cart-link:hover { color: var(--clay); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--clay);
  color: var(--on-dark);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}
.cart-count[data-empty="true"] {
  background: var(--paper-2);
  color: var(--muted);
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem var(--gutter) 1.1rem;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: 0.55rem 0; font-size: 1.05rem; }

@media (min-width: 840px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile, .nav-mobile.is-open { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.25rem;
  background: var(--clay);
  color: var(--on-dark) !important;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 2px;
  border: 1px solid var(--clay);
  text-decoration: none !important;
  transition: background 0.15s var(--ease), border-color 0.15s;
}
.btn:hover { background: var(--clay-hover); border-color: var(--clay-hover); color: var(--on-dark) !important; }
.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--rule-strong);
}
.btn-ghost:hover { background: var(--paper-2); color: var(--ink) !important; }
.btn-olive {
  background: var(--olive);
  border-color: var(--olive);
}
.btn-olive:hover { background: #3f4733; border-color: #3f4733; }
.btn[disabled], .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

/* ---------- page ---------- */
.page-main { min-height: 60vh; }
.page-main:focus { outline: none; }

/* Home hero: photo first, words beneath — sincere, not campaign-y */
.hero {
  display: grid;
  gap: 0;
}
.hero-figure { margin: 0; background: var(--paper-2); }
.hero-figure img {
  width: 100%;
  height: min(78vh, 44rem);
  object-fit: cover;
  object-position: center 18%;
}
.hero-copy {
  padding: 2.25rem var(--gutter) 0.5rem;
  width: min(var(--page), 100%);
  margin-inline: auto;
}
.hero-copy h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.15rem, 6.2vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0.55rem 0 1rem;
}
.hero-copy .lede { max-width: 36rem; }

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.15fr 0.95fr;
    align-items: stretch;
    min-height: min(82vh, 46rem);
  }
  .hero-figure { order: 1; }
  .hero-figure img {
    height: 100%;
    min-height: min(82vh, 46rem);
    object-position: center 15%;
  }
  .hero-copy {
    order: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem clamp(1.5rem, 5vw, 4.5rem) 3.5rem var(--gutter);
    width: auto;
    margin: 0;
  }
}

/* Intro + sections */
.section { padding: 3.75rem 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.section-head h2,
.page-title h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.section-link:hover { color: var(--clay-hover); }

.intro-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .intro-grid { grid-template-columns: 1fr 1.05fr; gap: 3.5rem; }
}
.intro-grid figure { background: var(--paper-2); }
.intro-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}
.intro-grid figcaption,
.hero-figure figcaption,
.lifestyle figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 0.55rem;
}

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 800px) {
  .cat-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
}
.cat-card {
  display: block;
  color: var(--ink);
  background: var(--cream);
}
.cat-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.cat-card .label { padding: 0.7rem 0.15rem 0.2rem; }
.cat-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
}
.cat-card p { font-size: 0.88rem; color: var(--muted); margin-top: 0.15rem; }
.cat-card:hover { color: var(--ink); }
.cat-card:hover h3 { color: var(--clay); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 0.75rem;
}
@media (min-width: 700px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.25rem; }
}
@media (min-width: 1040px) {
  .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.product-card { color: var(--ink); display: flex; flex-direction: column; }
.product-card .thumb {
  background: var(--paper-2);
  overflow: hidden;
}
.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.45s var(--ease);
}
.product-card:hover img { transform: scale(1.03); }
.product-card .meta { padding: 0.7rem 0.05rem 0; display: flex; flex-direction: column; gap: 0.15rem; }
.product-card h3 {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.product-card .price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 1.02rem;
}
.product-card .cats {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: none;
}

/* Lifestyle band */
.lifestyle {
  background: var(--paper-2);
}
.lifestyle-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .lifestyle-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
}
.lifestyle img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Page header (inner pages) */
.page-title {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.25rem;
}
.page-title .eyebrow { margin-bottom: 0.4rem; }
.page-title .lede { margin-top: 0.85rem; }

/* Shop filters */
.filters {
  display: grid;
  gap: 0.9rem 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 760px) {
  .filters { grid-template-columns: repeat(4, 1fr) auto; align-items: end; }
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.filters select,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--rule-strong);
  background: var(--cream);
  border-radius: 2px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink);
  font-size: 1rem;
}
.filters select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 0;
  border-color: var(--ink);
}
.filters .filter-reset { align-self: end; }
.shop-count { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.1rem; }
.empty-state { padding: 3rem 0; color: var(--muted); }

/* Product detail */
.product-layout {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
}
@media (min-width: 880px) {
  .product-layout { grid-template-columns: 1.1fr 0.9fr; gap: 3.25rem; align-items: start; }
  .product-info { position: sticky; top: calc(var(--header-h) + 1.25rem); }
}
.gallery { display: grid; gap: 0.6rem; }
.gallery-main {
  background: var(--paper-2);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.gallery-thumbs button {
  background: var(--paper-2);
  border: 2px solid transparent;
  padding: 0;
  aspect-ratio: 1;
  overflow: hidden;
}
.gallery-thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info .eyebrow { margin-bottom: 0.4rem; }
.product-info h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.product-price {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0.85rem 0 1rem;
  font-variant-numeric: tabular-nums;
}
.product-desc { color: var(--ink-soft); max-width: 36rem; }
.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0.25rem;
}
.size-list input { position: absolute; opacity: 0; pointer-events: none; }
.size-list label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  min-height: 2.5rem;
  padding: 0 0.65rem;
  border: 1px solid var(--rule-strong);
  background: var(--cream);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
}
.size-list input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.size-list input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}
.size-help { font-size: 0.88rem; color: var(--muted); margin-top: 0.55rem; }
.qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0;
}
.qty-row label { font-weight: 600; font-size: 0.92rem; }
.qty-row input {
  width: 4.2rem;
  min-height: 2.5rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--rule-strong);
  background: var(--cream);
  text-align: center;
}
.add-msg {
  min-height: 1.4rem;
  font-size: 0.92rem;
  color: var(--ok);
  margin-top: 0.6rem;
}
.product-facts {
  margin-top: 2rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  display: grid;
  gap: 1.1rem;
}
.product-facts h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.product-facts p { color: var(--ink-soft); font-size: 0.98rem; }

/* Cart */
.cart-layout {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 880px) {
  .cart-layout { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
}
.cart-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.9rem 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.cart-item img {
  width: 5.5rem;
  height: 7rem;
  object-fit: cover;
  background: var(--paper-2);
}
.cart-item h3 { font-size: 1.02rem; font-weight: 600; }
.cart-item .line { font-size: 0.9rem; color: var(--muted); }
.cart-item .line-price { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.cart-item .row-tools { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.5rem; }
.cart-item .row-tools input {
  width: 3.6rem;
  min-height: 2.1rem;
  text-align: center;
  border: 1px solid var(--rule-strong);
  background: var(--cream);
}
.cart-item .remove {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.cart-item .remove:hover { color: var(--danger); }
.summary {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 1.4rem 1.3rem 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.summary h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  font-variant-numeric: tabular-nums;
}
.summary-row.total {
  border-top: 1px solid var(--rule);
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  font-weight: 700;
  font-size: 1.1rem;
}
.summary .btn { width: 100%; margin-top: 1.1rem; }
.summary .hint { font-size: 0.88rem; color: var(--muted); margin-top: 0.8rem; }

/* Forms */
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field span, .field .lbl {
  font-size: 0.88rem;
  font-weight: 600;
}
.field .req { color: var(--clay); }
.field textarea { min-height: 8rem; resize: vertical; }
.field-error { color: var(--danger); font-size: 0.85rem; min-height: 0; }
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #e6eee4;
  color: var(--ok);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: #f3e4e0; color: var(--danger); }

/* Checkout success */
.success-box {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 1.75rem 1.5rem;
  max-width: 38rem;
}
.success-box h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2rem;
  margin-bottom: 0.7rem;
}
.order-id {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Contact split */
.split {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
}
.contact-aside {
  background: var(--paper-2);
  padding: 1.5rem 1.35rem;
  height: fit-content;
}

/* 404 */
.notfound {
  padding: 4rem 0 5rem;
  text-align: left;
  max-width: 36rem;
}
.notfound h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin: 0.4rem 0 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.75rem 0 2rem;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
}
.site-footer .wordmark { font-size: 1.25rem; display: inline-block; margin-bottom: 0.5rem; }
.footer-links { list-style: none; display: grid; gap: 0.35rem; }
.footer-links a { color: var(--ink-soft); }
.footer-legal {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.82rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}

/* Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
noscript p {
  margin: 0;
  padding: 0.6rem var(--gutter);
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card img, .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    transition: none;
  }
}
