@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --font-display: "Cormorant Garamond", Garamond, Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: var(--font-display);
  --sans: var(--font-body);
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-alt: #f3eee6;
  --ink: #1c1917;
  --ink2: #57534e;
  --ink3: #8a8178;
  --line: #e7e0d6;
  --accent: #9a3412;
  --walnut: #1c130f;
  --ivory: #f6f1e8;
  --brass-lite: #e6d3b4;
  --r: 14px;
  --r-sm: 8px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 10px 30px rgba(28, 25, 23, 0.08);
  --max: 1240px;
  --header: 70px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #eddcc4; }

.skip { position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 80; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
@media (min-width: 900px) { .wrap { width: min(var(--max), calc(100% - 64px)); } }

h1, h2, h3, .serif { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.btn:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface-alt); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-line-dark { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line-dark:hover { border-color: var(--ink); background: #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; padding: 0 22px; }
.btn[disabled], .add[disabled] { opacity: .45; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark, .drawer-brand-mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; font-weight: 600; flex: none;
}
.brand-logo { height: 55px; width: auto; object-fit: contain; }
.brand-name { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1; font-weight: 600; }
.brand-place { display: block; margin-top: 2px; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink3); }
.nav { display: none; align-items: center; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--ink2); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.header-search { display: none; margin-left: auto; position: relative; width: min(240px, 22vw); }
.header-search input, .drawer-search input {
  width: 100%; height: 40px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface-alt); padding: 0 40px 0 16px; font-size: 14px; outline: none;
}
.header-search input:focus, .drawer-search input:focus { border-color: var(--ink); background: #fff; }
.header-search button, .drawer-search button {
  position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--ink2);
}
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.nav ~ .header-search { margin-left: auto; }
.icon-btn {
  width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; position: relative; color: var(--ink); line-height: 0;
}
.icon-btn:hover { background: var(--surface-alt); }
.cart-badge, .dock-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
}
.cart-badge[data-cart-count="0"], .dock-badge[data-cart-count="0"] { display: none; }
@media (min-width: 980px) {
  .nav, .header-search { display: flex; }
  .menu-btn { display: none; }
  .header-search ~ .header-tools { margin-left: 0; }
}

/* Drawer — light panel, search, groups, pinned WhatsApp */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(28,25,23,.45); backdrop-filter: blur(6px);
  z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(88%, 380px); background: #fff; z-index: 70;
  transform: translateX(104%); transition: transform .28s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,.12);
}
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.drawer-open .drawer { transform: none; }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; background: var(--surface-alt); border-bottom: 1px solid var(--line);
}
.drawer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 56px; }
.drawer-brand .brand-logo { height: 56px; width: auto; max-width: min(250px, 68vw); }
.drawer-brand-fallback { font-family: var(--font-display); font-size: 26px; line-height: 1; font-weight: 600; }
.drawer-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  line-height: 0;
  flex: none;
}
.drawer-body { flex: 1; overflow: auto; padding: 16px 18px 8px; }
.drawer-search { position: relative; margin-bottom: 18px; }
.drawer-nav-title {
  margin: 14px 4px 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3);
}
.drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px; border-radius: 12px; font-size: 15px; font-weight: 700;
}
.drawer-link:hover, .drawer-link:active { background: var(--surface-alt); }
.drawer-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 4px 8px; }
.drawer-chip {
  font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: var(--r-pill);
  background: var(--surface-alt); border: 1px solid var(--line);
}
.drawer-footer {
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: #fafaf9; display: grid; gap: 8px;
}
.drawer-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; border-radius: 12px; background: #15803d; color: #fff; font-weight: 700;
}

/* Hero */
.hero {
  position: relative; min-height: 78vh; min-height: 78dvh; display: flex; align-items: center;
  color: #fff; background: #2a211c; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22,16,12,.78) 0%, rgba(22,16,12,.42) 46%, rgba(22,16,12,.12) 100%);
}
.hero-copy { position: relative; z-index: 1; max-width: 640px; padding: 72px 0; }
.hero .eyebrow { color: rgba(255,255,255,.78); }
.hero h1 {
  margin: 0; font-size: clamp(52px, 7vw, 86px); line-height: .92; font-weight: 500; color: #fff;
}
.hero h1 em { font-style: italic; font-weight: 500; }
.hero .lede { max-width: 42ch; margin: 16px 0 0; font-size: 16px; color: rgba(255,255,255,.84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@media (max-width: 700px) {
  .hero { min-height: 86vh; align-items: flex-end; }
  .hero::after { background: linear-gradient(180deg, rgba(22,16,12,.15) 20%, rgba(22,16,12,.78) 100%); }
  .hero-copy { padding: 36px 0 48px; }
}

/* Collections + products */
.band { padding: 64px 0; }
.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.band-head h2 { margin: 0; font-size: clamp(36px, 5vw, 52px); line-height: .95; }
.cat-grid, .product-grid { display: grid; gap: 16px; }
.cat-grid { grid-template-columns: 1fr; }
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 700px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
}
@media (min-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}
.cat {
  position: relative; display: block; min-height: 280px; border-radius: 4px; overflow: hidden; background: #2a211c; color: #fff;
}
.cat img, .cat-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-fallback { background: linear-gradient(160deg, #4a3428, #1c130f); }
.cat::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.72) 100%);
}
.cat-label { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: grid; gap: 4px; }
.cat-label strong { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1; }
.cat-label small { font-size: 13px; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-label em { font-style: normal; margin-top: 6px; }

.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; aspect-ratio: 1; background: #fff; border-radius: 4px; overflow: hidden; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 40px; color: var(--ink3); background: var(--surface-alt);
}
.flag {
  position: absolute; left: 10px; top: 10px; background: #fff; font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--r-pill);
}
.card-body { padding-top: 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { margin: 0; font-size: 22px; line-height: 1.1; font-weight: 600; }
.price { margin: 0; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.price s { margin-left: 8px; color: var(--ink3); font-weight: 500; }
.card-buy { margin-top: auto; padding-top: 10px; }
.add {
  width: 100%; height: 40px; border-radius: 2px; border: 1px solid var(--ink); background: transparent;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.add:hover { background: var(--ink); color: #fff; }
.stepper { display: flex; align-items: center; justify-content: space-between; height: 40px; border: 1px solid var(--ink); border-radius: 2px; }
.stepper button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 18px; }
.card-kicker { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }

/* Custom orders */
.custom { padding: 20px 0 64px; }
.custom-grid { display: grid; gap: 28px; align-items: center; }
.custom h2 { margin: 0; font-size: clamp(40px, 5vw, 60px); line-height: .95; }
.custom p { margin: 12px 0 0; max-width: 38ch; color: var(--ink2); }
.custom .btn { margin-top: 22px; }
.custom-photo { display: block; border-radius: 4px; overflow: hidden; background: #2a211c; min-height: 280px; }
.custom-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
@media (min-width: 860px) {
  .custom-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; }
  .custom-photo img { min-height: 420px; }
}

/* Interior */
.page { padding: 32px 0 72px; }
.page-narrow, .checkout { width: min(760px, 100%); }
.page-head { margin-bottom: 26px; }
.page-head h1, .kicker + h1 { margin: 6px 0 0; font-size: clamp(40px, 6vw, 64px); line-height: .95; }
.kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.lede, .page-head .lede { margin: 12px 0 0; color: var(--ink2); max-width: 52ch; }
.stack { display: grid; gap: 14px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.panel h2, .panel h3 { margin: 0 0 8px; font-size: 30px; }
.panel p { margin: 0; color: var(--ink2); }
.panel a, .prose a, .faq a { border-bottom: 1px solid var(--line); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.prose { white-space: pre-line; color: var(--ink2); }
.prose-rich {
  margin-top: 28px;
  color: var(--ink2);
  font-size: 15px;
  line-height: 1.6;
  white-space: normal;
}
.prose-rich.is-plain { white-space: pre-line; }
.prose-rich.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  overflow: hidden;
}
.prose-rich p { margin: 0 0 0.75em; }
.prose-rich h2, .prose-rich h3, .prose-rich h4 { margin: 0.9em 0 0.3em; color: var(--ink); line-height: 1.15; }
.prose-rich h2 { font-size: 32px; }
.prose-rich h3 { font-size: 26px; }
.prose-rich h4 { font-size: 22px; }
.prose-rich ul, .prose-rich ol { margin: 0 0 0.8em; padding-left: 1.2em; }
.prose-rich li { margin: 0.15em 0; }
.prose-rich blockquote {
  margin: 0 0 0.8em;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
}
.prose-rich code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: var(--surface-alt);
  padding: 0 4px;
}
.prose-rich pre {
  margin: 0 0 0.8em;
  padding: 12px 14px;
  background: var(--surface-alt);
  overflow: auto;
  white-space: pre-wrap;
}
.prose-rich pre code { background: none; padding: 0; }
.prose-rich img { width: auto; max-width: 100%; height: auto; border-radius: 4px; margin: 0.4em 0; }
.see-more {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.see-more:hover { text-decoration: underline; }
.steps { display: grid; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.step b { font-family: var(--font-display); font-size: 28px; color: var(--accent); font-weight: 600; }
.step h3 { margin: 0 0 4px; font-size: 26px; }
.step p { margin: 0; color: var(--ink2); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; font-family: var(--font-display); font-size: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--ink2); max-width: 62ch; }
.pdp { display: grid; gap: 28px; padding-top: 28px; }
.pdp-main { background: #fff; border-radius: 4px; aspect-ratio: 1; overflow: hidden; }
.pdp-main img, .pdp-main .ph { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { width: 68px; height: 68px; padding: 0; border: 1px solid transparent; border-radius: 4px; overflow: hidden; background: #fff; }
.thumbs button.is-on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-copy h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: .95; }
.eyebrow, .pdp-copy .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pdp-price { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pdp-price s { margin-left: 8px; color: var(--ink3); font-weight: 500; }
.option { margin: 14px 0; }
.option p { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.option-row { display: flex; flex-wrap: wrap; gap: 8px; }
.option-row button { min-height: 38px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; }
.option-row button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.qty-box, .qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.qty-box button, .qty-btn { width: 40px; height: 40px; border: 0; background: transparent; font-size: 18px; }
.qty-box input, .qty-input { width: 48px; height: 40px; border: 0; text-align: center; background: transparent; font-weight: 800; }
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-row .btn { flex: 1; min-width: 160px; }
.stock { color: var(--ink2); min-height: 1.2em; }
.oos { color: #9f1239; font-weight: 700; }
.pdp-related { margin-top: 28px; padding-bottom: 48px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
  .pdp-copy { position: sticky; top: calc(var(--header) + 18px); }
  .pdp-related { margin-top: 64px; }
}
.pills { display: flex; gap: 8px; overflow: auto; margin-bottom: 18px; scrollbar-width: none; }
.pills a { flex: none; border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill); padding: 8px 14px; font-size: 13px; font-weight: 700; }
.pills a.is-on, .pills a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.collection-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .collection-grid { grid-template-columns: repeat(3, 1fr); } }
.collection { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.collection-media { aspect-ratio: 16/10; background: var(--surface-alt); }
.collection-media img, .collection-media .ph { width: 100%; height: 100%; object-fit: cover; }
.collection div { padding: 16px; }
.collection h3 { margin: 0 0 6px; font-size: 28px; }
.collection p { margin: 0; color: var(--ink2); font-size: 14px; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.two { display: grid; gap: 14px; }
@media (min-width: 700px) { .two { grid-template-columns: 1fr 1fr; } }
.control { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 12px 14px; font-size: 16px; }
.control:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
textarea.control { min-height: 96px; resize: vertical; }
.form-error { background: #fef2f2; color: #9f1239; border-radius: 10px; padding: 12px 14px; font-weight: 700; }
.result-count { display: block; margin: 2px 0 14px; }
.search-bar { display: flex; gap: 8px; margin-top: 16px; }
.search-bar .control { flex: 1; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.pager a { font-weight: 800; border-bottom: 1px solid var(--ink); }
.note { font-size: 13px; color: var(--ink2); }
.empty { padding: 12px 0 20px; max-width: 46ch; }
.empty h2 { margin: 8px 0; font-size: 40px; line-height: .95; }
.timeline { display: grid; gap: 12px; }
.timeline div { display: flex; gap: 10px; align-items: center; }
.dot { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; font-size: 12px; }
.dot.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.order-lines { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }

/* Cart — previous card layout */
.page-wrap-wide { width: min(1060px, calc(100% - 32px)); margin: 28px auto 64px; }
.cart-layout { display: grid; gap: 24px; margin: 8px 0 40px; }
@media (min-width: 860px) { .cart-layout { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.cart-items-card, .cart-summary {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px; box-shadow: var(--shadow-sm);
}
.cart-line-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line-item:first-child { padding-top: 0; }
.cart-line-item:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-line-media {
  width: 84px; height: 84px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-alt);
  border: 1px solid var(--line); flex: none; display: block;
}
.cart-line-media img, .cart-line-media .ph { width: 100%; height: 100%; object-fit: cover; }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name { margin: 0 0 4px; font-size: 22px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-line-price { font-size: 14px; font-weight: 700; color: var(--accent); }
.cart-line-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.cart-line-remove { border: 0; background: none; color: #dc2626; font-size: 12px; font-weight: 800; padding: 0; }
.cart-line-total { font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-summary { display: grid; gap: 12px; align-content: start; }
.cart-summary h3 { margin: 0; font-size: 28px; }
.cart-summary-row { display: flex; justify-content: space-between; gap: 12px; color: var(--ink2); font-size: 14px; }
.cart-summary-row.total { border-top: 1px solid var(--line); padding-top: 12px; color: var(--ink); font-size: 18px; font-weight: 800; }
.artisan-empty-state {
  background: #fff; border: 1.5px dashed var(--line); border-radius: 20px; text-align: center;
  max-width: 560px; margin: 12px auto 40px; padding: 48px 20px;
}
.artisan-empty-state h2 { margin: 0 0 8px; font-size: 36px; }
.artisan-empty-state p { color: var(--ink2); margin: 0 auto 18px; max-width: 42ch; }
.empty-suggestions { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.toast {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 90;
  background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 10px 16px; font-weight: 700; font-size: 13px;
}

/* Footer kept; hidden while the bottom bar is on screen */
.site-footer { margin-top: auto; background: var(--walnut); color: var(--ivory); padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand .serif { font-size: 36px; display: block; }
.footer-logo { height: 56px; width: auto; max-width: 100%; object-fit: contain; display: block; filter: brightness(0) invert(1); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.site-footer .footer-social a {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 241, 232, 0.28);
  border-radius: 50%;
  color: var(--ivory);
}
.site-footer .footer-social a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.footer-brand p { color: rgba(246,241,232,.72); max-width: 36ch; margin: 10px 0 0; }
.site-footer h3 {
  margin: 0 0 12px; font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brass-lite);
}
.site-footer a { display: block; padding: 4px 0; color: rgba(246,241,232,.82); font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-mark {
  margin: 36px 0 0; font-family: var(--serif); font-size: clamp(64px, 16vw, 180px); line-height: .8;
  letter-spacing: -.04em; color: rgba(246,241,232,.06); overflow: hidden;
}
.legal { margin-top: 18px; color: rgba(246,241,232,.5); font-size: 12px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
/* @media (max-width: 767px) { .site-footer { display: none; } } */

.dock {
  display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(251,248,243,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.dock-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 700; color: var(--ink3); padding: 4px 0; position: relative;
}
.dock-item.active, .dock-item:hover { color: var(--accent); }
.dock-icon { position: relative; }
.dock-badge { top: -6px; right: -10px; background: var(--accent); }
@media (min-width: 768px) { .dock { display: none; } }
/* @media (max-width: 767px) { body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); } } */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
