/* ============================================================
   DISSP — design tokens & base
   ============================================================ */
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 300 600; font-style: normal; font-display: swap;
}

:root {
  --paper: #f6f4f0;
  --paper-2: #efece6;
  --ink: #17150f;
  --ink-soft: #55504a;
  --ink-mute: #8b857c;
  --line: #dcd6cc;
  --accent: #6f5b3e;
  --accent-ink: #fdfbf7;
  --sale: #9b3b25;
  --radius: 2px;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --pad: clamp(18px, 4.5vw, 64px);
  --max: 1400px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.015em; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.eyebrow {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
}
.muted { color: var(--ink-soft); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn:hover { background: #2e2a22; border-color: #2e2a22; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.accent:hover { background: #5a4931; border-color: #5a4931; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 11px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.link-u {
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  font-size: 13px; letter-spacing: .04em; transition: opacity .2s;
}
.link-u:hover { opacity: .6; }

/* ---------- announce bar ---------- */
.announce {
  background: var(--ink); color: #efece4;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  text-align: center; padding: 9px var(--pad);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}
.brand {
  font-family: var(--serif); font-size: 27px; letter-spacing: .01em;
  line-height: 1; flex: 0 0 auto;
}
.brand span { font-style: italic; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a {
  font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); padding: 4px 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a.active { color: var(--ink); border-color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; border-radius: 50%;
  transition: background .2s;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cart-count {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--ink); color: var(--paper); border-radius: 9px;
  font-size: 10px; line-height: 17px; text-align: center; font-weight: 600;
}
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: stretch;
  border-bottom: 1px solid var(--line); background: var(--paper-2);
}
.hero-copy {
  padding: clamp(48px, 7vw, 108px) clamp(20px, 5vw, 84px);
  display: flex; flex-direction: column; justify-content: center; gap: 26px;
  max-width: 720px;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(46px, 6.4vw, 92px);
  line-height: .96; letter-spacing: -.025em;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: clamp(15px, 1.2vw, 17px); color: var(--ink-soft); max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-figure { position: relative; overflow: hidden; min-height: 420px; background: #ddd8cf; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute; left: 20px; bottom: 20px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  padding: 12px 16px; display: flex; gap: 14px; align-items: center;
  font-size: 12px; letter-spacing: .04em;
}
.hero-tag b { font-weight: 600; }

/* ---------- marquee / values ---------- */
.values {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.value {
  padding: 26px var(--pad); border-right: 1px solid var(--line);
  display: flex; gap: 12px; align-items: flex-start;
}
.value:last-child { border-right: 0; }
.value svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; stroke: var(--accent); fill: none; stroke-width: 1.4; }
.value b { display: block; font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.value span { font-size: 12px; color: var(--ink-mute); }

/* ---------- section headings ---------- */
.section { padding: clamp(52px, 7vw, 100px) 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 34px;
}
.section-head h2 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 50px); line-height: 1.02; }
.section-head p { margin: 8px 0 0; color: var(--ink-soft); max-width: 52ch; font-size: 14.5px; }

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-tile {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  background: #e3ded5; display: block;
}
.cat-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .4s;
}
.cat-tile:hover img { transform: scale(1.045); }
.cat-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,16,12,.62) 0%, rgba(18,16,12,.12) 42%, rgba(18,16,12,0) 68%);
}
.cat-label {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fdfbf7;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.cat-label h3 { font-family: var(--serif); font-size: 27px; line-height: 1; }
.cat-label span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.cat-arrow {
  width: 34px; height: 34px; border: 1px solid rgba(253,251,247,.45); border-radius: 50%;
  display: grid; place-items: center; transition: background .25s, color .25s;
  flex: 0 0 auto;
}
.cat-tile:hover .cat-arrow { background: #fdfbf7; color: #17150f; border-color: #fdfbf7; }
.cat-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ---------- product grid ---------- */
.grid {
  display: grid; gap: clamp(14px, 2vw, 34px) clamp(12px, 1.6vw, 22px);
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
}
.card { position: relative; display: flex; flex-direction: column; }
.card-media {
  position: relative; overflow: hidden; background: #e7e2d9;
  aspect-ratio: 4 / 5;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--paper); color: var(--ink);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 9px; font-weight: 500;
}
.card-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  opacity: 0; transform: translateY(8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.card:hover .card-quick, .card:focus-within .card-quick { opacity: 1; transform: none; }
.card-quick .btn { width: 100%; height: 42px; font-size: 11px; }
.card-body { padding-top: 13px; display: flex; flex-direction: column; gap: 3px; }
.card-cat { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.card-name { font-size: 15px; font-weight: 500; letter-spacing: -.005em; line-height: 1.3; }
.card-price { font-size: 14px; color: var(--ink-soft); display: flex; gap: 8px; align-items: baseline; }
.card-price del { color: var(--ink-mute); font-size: 12.5px; }
.card-price .now { color: var(--ink); }
.swatches { display: flex; gap: 5px; margin-top: 6px; }
.swatch {
  width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14);
  box-shadow: inset 0 0 0 2px var(--paper);
}
.stars { display: inline-flex; gap: 2px; align-items: center; color: var(--accent); }
.stars svg { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.stars span { font-size: 11.5px; color: var(--ink-mute); margin-left: 5px; letter-spacing: .02em; }

/* ---------- editorial split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px);
  align-items: center;
}
.split-media { aspect-ratio: 1 / 1; overflow: hidden; background: #e3ded5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; gap: 20px; max-width: 480px; }
.split-copy h2 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; }
.split-copy p { color: var(--ink-soft); margin: 0; }
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.spec-list li span:first-child { color: var(--ink-mute); }

/* ---------- quote ---------- */
.quote-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding: clamp(48px, 7vw, 92px) 0; text-align: center;
}
.quote-band blockquote {
  margin: 0 auto; max-width: 780px;
  font-family: var(--serif); font-size: clamp(24px, 3.1vw, 40px); line-height: 1.24;
  letter-spacing: -.012em;
}
.quote-band blockquote em { font-style: italic; color: var(--accent); }
.quote-band cite {
  display: block; margin-top: 22px; font-family: var(--sans); font-style: normal;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute);
}

/* ---------- newsletter ---------- */
.signup {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px);
  align-items: center; padding: clamp(44px, 6vw, 76px) 0;
  border-top: 1px solid var(--line);
}
.signup h2 { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.04; }
.signup p { color: var(--ink-soft); margin: 10px 0 0; font-size: 14px; }
.field-row { display: flex; gap: 10px; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=password], input[type=number], textarea, select {
  width: 100%; background: transparent; border: 1px solid var(--line);
  padding: 12px 14px; font: inherit; font-size: 14px; color: var(--ink);
  border-radius: var(--radius); min-height: 46px;
  transition: border-color .2s, background .2s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--ink);
  background: color-mix(in srgb, #fff 45%, transparent);
}
::placeholder { color: var(--ink-mute); }
textarea { resize: vertical; min-height: 130px; }
label.fld { display: block; }
label.fld > span {
  display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 6px; font-weight: 500;
}
.form-grid { display: grid; gap: 14px; min-width: 0; }
.form-grid > * { min-width: 0; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-note { font-size: 12px; color: var(--ink-mute); }
.form-msg { font-size: 13px; padding: 10px 0; }
.form-msg.err { color: var(--sale); }
.form-msg.ok { color: #3d6b4a; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfc9bd; padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-bottom: 52px; }
.footer-brand {
  font-family: var(--serif); font-size: 30px; color: #f4f1e8; margin-bottom: 12px; display: block;
}
.footer-brand em { font-style: italic; color: #b9a98b; }
.footer-top p { font-size: 13px; color: #9a9488; max-width: 34ch; margin: 0 0 18px; }
.footer-col h4 {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #8c867a; margin: 0 0 16px; font-weight: 500;
}
.footer-col a, .footer-col span {
  display: block; font-size: 13.5px; color: #cfc9bd; padding: 5px 0;
  transition: color .2s; word-break: break-word;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11.5px; color: #8c867a; letter-spacing: .03em;
}
.pay-row { display: flex; gap: 8px; align-items: center; }
.pay-row span {
  border: 1px solid rgba(255,255,255,.18); padding: 3px 8px; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- shop page ---------- */
.page-head {
  padding: clamp(36px, 5vw, 64px) 0 26px;
  border-bottom: 1px solid var(--line);
}
.crumbs { font-size: 11.5px; letter-spacing: .06em; color: var(--ink-mute); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 60px); line-height: 1; }
.page-head p { color: var(--ink-soft); max-width: 60ch; margin: 14px 0 0; }
.shop-layout { display: grid; grid-template-columns: 210px 1fr; gap: 40px; padding: 34px 0 90px; align-items: start; }
.filters { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 26px; }
.filter-group h3 {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 10px; font-weight: 500;
}
.filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.filter-list button {
  background: none; border: 0; text-align: left; padding: 6px 0; cursor: pointer;
  font-size: 14px; color: var(--ink-soft); display: flex; justify-content: space-between;
  width: 100%; transition: color .2s;
}
.filter-list button:hover { color: var(--ink); }
.filter-list button[aria-pressed=true] { color: var(--ink); font-weight: 500; }
.filter-list .n { font-size: 11.5px; color: var(--ink-mute); }
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.shop-count { font-size: 12.5px; color: var(--ink-mute); letter-spacing: .04em; }
.search-mini { position: relative; min-width: 200px; }
.search-mini input { height: 40px; padding-left: 36px; font-size: 13px; }
.search-mini svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; stroke: var(--ink-mute); fill: none; stroke-width: 1.5;
}

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); padding: 28px 0 80px; align-items: start; }
.checkout-layout {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 5vw, 64px); align-items: start;
}
.checkout-layout #checkoutSummary { position: sticky; top: 96px; }
.pdp-gallery { display: grid; gap: 10px; }
.pdp-main { aspect-ratio: 4 / 5; overflow: hidden; background: #e7e2d9; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-thumbs button {
  width: 78px; height: 78px; padding: 0; border: 1px solid var(--line);
  overflow: hidden; background: #e7e2d9; cursor: pointer;
}
.pdp-thumbs button[aria-pressed=true] { border-color: var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.pdp-info h1 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; }
.pdp-price { display: flex; gap: 12px; align-items: baseline; font-size: 21px; }
.pdp-price del { color: var(--ink-mute); font-size: 16px; }
.pdp-price .save { color: var(--sale); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.pdp-summary { color: var(--ink-soft); font-size: 15px; line-height: 1.62; }
.opt-group { display: flex; flex-direction: column; gap: 8px; }
.opt-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 14px; border: 1px solid var(--line); background: transparent;
  cursor: pointer; font-size: 12.5px; letter-spacing: .02em; transition: all .2s;
}
.chip:hover { border-color: var(--ink-mute); }
.chip[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); align-self: flex-start; }
.qty button {
  width: 42px; height: 46px; background: none; border: 0; cursor: pointer; font-size: 16px;
}
.qty button:hover { background: var(--paper-2); }
.qty input {
  width: 46px; height: 46px; text-align: center; border: 0; border-left: 1px solid var(--line);
  border-right: 1px solid var(--line); background: none; font-size: 14px; min-height: 0; padding: 0;
}
.pdp-buy { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-buy .btn { flex: 1 1 200px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; background: none; border: 0; padding: 16px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .05em; text-transform: uppercase; text-align: left;
}
.acc-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .3s; flex: 0 0 auto; }
.acc-item.open .acc-btn svg { transform: rotate(45deg); }
.acc-panel { display: none; padding: 0 0 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.acc-item.open .acc-panel { display: block; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; color: var(--ink-mute); }
.trust-row div { display: flex; gap: 7px; align-items: center; }
.trust-row svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 1.4; }
.stock-line { font-size: 12.5px; display: flex; align-items: center; gap: 7px; color: #3d6b4a; }
.stock-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- cart / drawer ---------- */
.backdrop {
  position: fixed; inset: 0; background: rgba(20,18,14,.42); z-index: 80;
  opacity: 0; pointer-events: none; transition: opacity .3s;
  backdrop-filter: blur(2px);
}
.backdrop.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw);
  background: var(--paper); z-index: 90; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .38s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,.12);
}
.drawer.on { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.cart-line { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 74px; height: 92px; object-fit: cover; background: #e7e2d9; }
.cart-line h3 { font-size: 14px; font-weight: 500; margin: 0 0 3px; }
.cart-line .meta { font-size: 12px; color: var(--ink-mute); }
.cart-line .row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }
.cart-line .qty button { width: 30px; height: 32px; }
.cart-line .qty input { width: 34px; height: 32px; font-size: 13px; }
.cart-remove {
  background: none; border: 0; cursor: pointer; font-size: 11.5px; color: var(--ink-mute);
  text-decoration: underline; text-underline-offset: 3px; padding: 0;
}
.cart-empty { text-align: center; padding: 60px 10px; color: var(--ink-mute); }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; }
.sum-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 4px 0; color: var(--ink-soft); }
.sum-row.total { font-size: 16px; color: var(--ink); font-weight: 500; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.drawer-foot .btn { width: 100%; margin-top: 14px; }

/* ---------- chat widget ---------- */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--paper); border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.22);
  transition: transform .25s var(--ease), background .25s;
}
.chat-fab:hover { transform: translateY(-3px); background: #2e2a22; }
.chat-fab svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.chat-fab .ping {
  position: absolute; top: 2px; right: 2px; width: 11px; height: 11px;
  background: #7ba87f; border: 2px solid var(--paper); border-radius: 50%;
}
.chat-panel {
  position: fixed; right: 20px; bottom: 86px; z-index: 75;
  width: min(360px, calc(100vw - 32px)); height: min(520px, calc(100vh - 130px));
  background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column; transform-origin: bottom right;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.chat-panel.on { opacity: 1; transform: none; pointer-events: auto; }
.chat-head {
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.chat-head .avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-family: var(--serif); font-size: 16px;
}
.chat-head b { font-size: 13.5px; font-weight: 500; display: block; line-height: 1.3; }
.chat-head small { font-size: 11px; color: var(--ink-mute); }
.chat-head .close { margin-left: auto; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg {
  max-width: 84%; padding: 10px 13px; font-size: 13.5px; line-height: 1.5;
  border-radius: 10px; white-space: pre-wrap; word-break: break-word;
}
.msg.agent { background: var(--paper-2); align-self: flex-start; border-bottom-left-radius: 3px; }
.msg.visitor { background: var(--ink); color: var(--paper); align-self: flex-end; border-bottom-right-radius: 3px; }
.msg time { display: block; font-size: 10px; opacity: .55; margin-top: 4px; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { min-height: 42px; font-size: 13.5px; }
.chat-form button { width: 42px; height: 42px; flex: 0 0 auto; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; display: grid; place-items: center; }
.chat-form button svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.chat-note { font-size: 10.5px; color: var(--ink-mute); text-align: center; padding: 0 12px 10px; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding: 40px 0 90px; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 26px; }
.contact-block h3 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; font-weight: 500; }
.contact-block a.big { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); display: inline-block; line-height: 1.2; }
.contact-block a.big:hover { color: var(--accent); }
.contact-block p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--paper); padding: 13px 20px; z-index: 120;
  font-size: 13px; letter-spacing: .02em; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- success page ---------- */
.done-wrap { max-width: 640px; margin: 0 auto; padding: clamp(50px, 8vw, 110px) var(--pad); text-align: center; }
.done-mark {
  width: 62px; height: 62px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 26px;
}
.done-mark svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.4; }
.done-wrap h1 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.done-wrap p { color: var(--ink-soft); margin: 16px 0 0; }
.order-box {
  border: 1px solid var(--line); padding: 22px; margin: 32px 0; text-align: left;
  display: grid; gap: 10px; background: var(--paper-2);
}
.order-box div { display: flex; justify-content: space-between; font-size: 13.5px; gap: 16px; }
.order-box span:first-child { color: var(--ink-mute); }

/* ---------- mobile ---------- */
@media (max-width: 1024px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
  .filters { position: static; flex-direction: row; flex-wrap: wrap; gap: 18px; }
  .filter-group { flex: 1 1 180px; }
  .hero { grid-template-columns: 1fr; }
  .hero-figure { min-height: 52vw; max-height: 520px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .site-header.open .nav {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 8px var(--pad) 18px;
    margin: 0;
  }
  .site-header.open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid .cat-tile:first-child { grid-column: span 2; aspect-ratio: 3 / 2; }
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(2) { border-right: 0; }
  .value { border-bottom: 1px solid var(--line); }
  .split, .signup, .contact-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-layout #checkoutSummary { position: static; order: -1; }
  .grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .card-quick { display: none; }
  .card-name { font-size: 13.5px; }
  .card-price { font-size: 13px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .form-grid.two { grid-template-columns: 1fr; }
  .pdp-buy .btn { flex: 1 1 100%; }
  .section { padding: 44px 0; }
  .chat-panel { right: 8px; left: 8px; width: auto; bottom: 78px; height: min(70vh, 520px); }
  .chat-fab { right: 14px; bottom: 14px; }
  .drawer { width: 100vw; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
