/* WeDJ.com v3 — directory. Modern but functional. Light register, restrained color, sans-serif, real cards. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-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: 'Montserrat';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/montserrat-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;
}

:root {
  color-scheme: light dark;

  --bg:          oklch(93.2% 0.012 37);
  --bg-2:        oklch(89.0% 0.018 35);
  --paper:       oklch(97.7% 0.007 29);
  --ink:         oklch(28.5% 0.035 345);
  --ink-2:       oklch(42.1% 0.034 347);
  --ink-3:       oklch(57.6% 0.022 2);
  --ink-4:       oklch(70.5% 0.017 352);
  --rule:        oklch(87.9% 0.019 34);
  --rule-2:      oklch(83.8% 0.023 35);

  --accent:      oklch(53.0% 0.157 7);
  --accent-2:    oklch(42.4% 0.113 4);
  --accent-soft: oklch(92.9% 0.022 11);

  --gold:        oklch(73.5% 0.116 68);
  --live:        oklch(65.5% 0.059 140);
  --live-soft:   oklch(94.1% 0.015 136);
  --warn:        oklch(73.5% 0.116 68);
  --warn-soft:   oklch(93.4% 0.031 77);
  --mauve:       oklch(72.0% 0.042 354);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  --shadow-1: 0 1px 2px oklch(20% 0.010 60 / 0.04), 0 2px 8px oklch(20% 0.010 60 / 0.04);
  --shadow-2: 0 4px 12px oklch(20% 0.010 60 / 0.06), 0 12px 32px oklch(20% 0.010 60 / 0.06);
}

/* Dark mode tokens. Three rules so OS preference works without JS,
   and a manual [data-theme] override beats it when the user picks. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:          oklch(17% 0.018 345);
    --bg-2:        oklch(21% 0.020 350);
    --paper:       oklch(24% 0.018 350);
    --ink:         oklch(95% 0.008 29);
    --ink-2:       oklch(82% 0.012 29);
    --ink-3:       oklch(66% 0.016 2);
    --ink-4:       oklch(50% 0.014 352);
    --rule:        oklch(31% 0.020 350);
    --rule-2:      oklch(38% 0.024 350);

    --accent:      oklch(68% 0.157 7);
    --accent-2:    oklch(74% 0.130 4);
    --accent-soft: oklch(30% 0.050 7);

    --gold:        oklch(76% 0.116 68);
    --live:        oklch(72% 0.059 140);
    --live-soft:   oklch(29% 0.040 136);
    --warn:        oklch(76% 0.116 68);
    --warn-soft:   oklch(30% 0.050 77);
    --mauve:       oklch(76% 0.042 354);

    --shadow-1: 0 1px 2px oklch(0% 0 0 / 0.4), 0 2px 8px oklch(0% 0 0 / 0.4);
    --shadow-2: 0 4px 12px oklch(0% 0 0 / 0.5), 0 12px 32px oklch(0% 0 0 / 0.5);
  }
}
/* Manual override — beats the @media block since it comes later. */
:root[data-theme="light"] {
  --bg:          oklch(93.2% 0.012 37);
  --bg-2:        oklch(89.0% 0.018 35);
  --paper:       oklch(97.7% 0.007 29);
  --ink:         oklch(28.5% 0.035 345);
  --ink-2:       oklch(42.1% 0.034 347);
  --ink-3:       oklch(57.6% 0.022 2);
  --ink-4:       oklch(70.5% 0.017 352);
  --rule:        oklch(87.9% 0.019 34);
  --rule-2:      oklch(83.8% 0.023 35);
  --accent:      oklch(53.0% 0.157 7);
  --accent-2:    oklch(42.4% 0.113 4);
  --accent-soft: oklch(92.9% 0.022 11);
  --gold:        oklch(73.5% 0.116 68);
  --live:        oklch(65.5% 0.059 140);
  --live-soft:   oklch(94.1% 0.015 136);
  --warn:        oklch(73.5% 0.116 68);
  --warn-soft:   oklch(93.4% 0.031 77);
  --mauve:       oklch(72.0% 0.042 354);
  --shadow-1: 0 1px 2px oklch(20% 0.010 60 / 0.04), 0 2px 8px oklch(20% 0.010 60 / 0.04);
  --shadow-2: 0 4px 12px oklch(20% 0.010 60 / 0.06), 0 12px 32px oklch(20% 0.010 60 / 0.06);
}
:root[data-theme="dark"] {
  --bg:          oklch(17% 0.018 345);
  --bg-2:        oklch(21% 0.020 350);
  --paper:       oklch(24% 0.018 350);
  --ink:         oklch(95% 0.008 29);
  --ink-2:       oklch(82% 0.012 29);
  --ink-3:       oklch(66% 0.016 2);
  --ink-4:       oklch(50% 0.014 352);
  --rule:        oklch(31% 0.020 350);
  --rule-2:      oklch(38% 0.024 350);
  --accent:      oklch(68% 0.157 7);
  --accent-2:    oklch(74% 0.130 4);
  --accent-soft: oklch(30% 0.050 7);
  --gold:        oklch(76% 0.116 68);
  --live:        oklch(72% 0.059 140);
  --live-soft:   oklch(29% 0.040 136);
  --warn:        oklch(76% 0.116 68);
  --warn-soft:   oklch(30% 0.050 77);
  --mauve:       oklch(76% 0.042 354);
  --shadow-1: 0 1px 2px oklch(0% 0 0 / 0.4), 0 2px 8px oklch(0% 0 0 / 0.4);
  --shadow-2: 0 4px 12px oklch(0% 0 0 / 0.5), 0 12px 32px oklch(0% 0 0 / 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Mona Sans', system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  font-feature-settings: "ss01", "ss02", "tnum";
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

.shell { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ============ HEADER ============ */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-family: 'Mona Sans', sans-serif;
  font-variation-settings: "wdth" 100, "wght" 800;
  font-size: 22px;
  letter-spacing: -0.035em;
  display: flex;
  align-items: center;
  gap: 1px;
  color: var(--ink);
}
.brand .accent { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 16px;
}
.nav-links a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--r-sm);
}
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-links a.active { color: var(--accent); }

.header-spacer { flex: 1; }

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 6px 6px 14px;
  width: 280px;
}
.header-search input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 13px;
}
.header-search button {
  background: var(--ink);
  color: var(--paper);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.btn-signin {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 10px;
  white-space: nowrap;
}
.btn-signin:hover { color: var(--ink); }

.btn-list {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  white-space: nowrap;
  font-weight: 700;
}
.btn-list:hover { background: var(--accent); }

/* Progressive header responsiveness — drop secondary chrome before
   the full mobile breakpoint kicks in, so the right cluster (toggle,
   cart, sign in, Get Listed) stays visible at tablet widths. */
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 820px) { .header-search { display: none; } }

/* Mobile nav drawer — slide-over from the right, opened by the hamburger
   button. Holds the nav links + sign in + Get Listed that get hidden at
   the mobile breakpoint. Uses the same easing as the cart panel. */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: oklch(20% 0.010 60 / 0.5);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease-out;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--paper);
  z-index: 191;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
  box-shadow: -20px 0 60px oklch(20% 0.010 60 / 0.2);
}
.nav-drawer.open { transform: translateX(0); visibility: visible; }
.nav-drawer-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-drawer-head .brand { font-size: 20px; }
.nav-drawer-close {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--ink-2);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
}
.nav-drawer-close:hover { color: var(--ink); background: var(--bg-2); }
.nav-drawer-body { padding: 8px 0; flex: 1; overflow-y: auto; }
.nav-drawer-body a {
  display: block;
  padding: 16px 22px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.nav-drawer-body a:hover { background: var(--bg-2); color: var(--accent); }
.nav-drawer-body a.active { color: var(--accent); }
.nav-drawer-foot { padding: 18px 22px; border-top: 1px solid var(--rule); }
.nav-drawer-foot .btn-list {
  display: block;
  text-align: center;
  font-size: 15px;
  padding: 14px 24px;
}

/* Mode tabs (Browse / Ask AI placeholder) */
.mode-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
}
.mode-tabs {
  display: flex;
  gap: 2px;
}
.mode-tab {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mode-tab.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
  background: var(--paper);
}
.mode-tab .soon-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 5px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 12px;
  color: var(--ink-2);
}
.breadcrumbs a { color: var(--ink-2); }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs .sep { margin: 0 6px; opacity: 0.6; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--paper);
}
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-2);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* ============ PILLS & TAGS ============ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-2);
  color: var(--ink-2);
}
.pill-live { background: var(--live-soft); color: var(--live); }
.pill-live::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--live);
  border-radius: 50%;
}
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-warn::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--warn);
  border-radius: 50%;
}

/* ============ VENDOR CARD ============ */
.vcard {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .15s, transform .12s, box-shadow .15s;
  display: flex;
  flex-direction: column;
}
.vcard:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}
.vcard .photo {
  height: 200px;
  background-color: var(--bg-2);
  background-size: cover;
  background-position: center;
  position: relative;
}
.vcard .photo .badge {
  position: absolute;
  top: 10px;
  left: 10px;
}
.vcard .photo .checkbox {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 700;
  cursor: pointer;
}
.vcard .photo .checkbox:hover { border-color: var(--accent); color: var(--accent); }
.vcard .photo .checkbox.on { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.vcard .body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.vcard .name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.vcard .meta {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.vcard .meta strong { color: var(--ink); }
.vcard .stars { color: var(--accent); }
.vcard .tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.vcard .price-row {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vcard .price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
}
.vcard .price .small {
  color: var(--ink-3);
  font-weight: 500;
  font-size: 11px;
  margin-left: 2px;
}

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 80px;
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  padding: 56px 0 24px;
  font-size: 13px;
  color: var(--ink-2);
}
.footer-cols {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(2, minmax(160px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-cols h4,
.footer-cols .footer-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-cols ul { list-style: none; }
.footer-cols li { padding: 4px 0; }
.footer-cols a { color: var(--ink-2); }
.footer-cols a:hover { color: var(--accent); text-decoration: underline; }
.footer-summary {
  margin-top: 14px;
  max-width: 300px;
  line-height: 1.55;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-2);
}

/* ============ QUOTE CART (sticky bar + slide-over panel) ============ */
.cart-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 40px oklch(20% 0.010 60 / 0.25);
  z-index: 60;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.cart-bar:hover { background: var(--ink-2); }
.cart-bar .cart-icon { font-size: 18px; }
.cart-bar .count {
  background: var(--accent);
  color: var(--paper);
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.cart-bar .btn { padding: 8px 14px; background: var(--accent); color: var(--paper); }
.cart-bar .btn:hover { background: var(--accent-2); }

/* Add-to-cart button (replaces "Request quote") */
.btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn-cart:hover { background: var(--accent-2); }
.btn-cart.in-cart {
  background: var(--live);
  color: var(--paper);
}
.btn-cart.in-cart:hover { background: oklch(42% 0.16 145); }
.btn-cart .cart-icon { font-size: 15px; }
.btn-cart .label-add { display: inline; }
.btn-cart .label-in { display: none; }
.btn-cart.in-cart .label-add { display: none; }
.btn-cart.in-cart .label-in { display: inline; }
.btn-cart.small { padding: 6px 12px; font-size: 12px; }

/* Slide-over panel */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: oklch(20% 0.010 60 / 0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease-out;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--paper);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
  box-shadow: -20px 0 60px oklch(20% 0.010 60 / 0.2);
}
.cart-panel.open { transform: translateX(0); }

.cart-panel-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-panel-head h3 {
  font-family: 'Mona Sans', sans-serif;
  font-variation-settings: "wdth" 100, "wght" 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.cart-panel-head .sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}
.cart-panel-head .close {
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--ink-3);
  cursor: pointer;
  padding: 4px 8px;
}
.cart-panel-head .close:hover { color: var(--ink); }

.cart-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item .ci-photo {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-2);
}
.cart-item .ci-info { min-width: 0; }
.cart-item .ci-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item .ci-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 3px;
}
.cart-item .ci-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.cart-item .ci-msg {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}
.cart-item .ci-msg:hover { background: var(--accent); color: var(--paper); }
.cart-item .ci-remove {
  font-size: 11px;
  color: var(--ink-3);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
}
.cart-item .ci-remove:hover { color: var(--accent); text-decoration: underline; }

.cart-empty {
  padding: 60px 30px;
  text-align: center;
  color: var(--ink-3);
}
.cart-empty .icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.4;
}
.cart-empty h4 {
  font-family: 'Mona Sans', sans-serif;
  font-variation-settings: "wdth" 100, "wght" 800;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 6px;
}
.cart-empty p { font-size: 13px; line-height: 1.5; max-width: 30ch; margin: 0 auto; }

.cart-panel-foot {
  padding: 18px 22px;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
}
.cart-panel-foot .compose-row {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.cart-panel-foot .compose-row label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cart-panel-foot .compose-row textarea {
  width: 100%;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  background: transparent;
  resize: vertical;
  min-height: 60px;
  margin-top: 4px;
}
.cart-panel-foot .compose-row input {
  width: 100%;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  margin-top: 4px;
}
.cart-panel-foot .btn-send {
  width: 100%;
  background: var(--accent);
  color: var(--paper);
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.cart-panel-foot .btn-send:hover { background: var(--accent-2); }
.cart-panel-foot .btn-send:disabled { background: var(--ink-4); cursor: not-allowed; }
.cart-panel-foot .helper {
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 10px;
}

.wedj-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 32px));
  border: 1px solid var(--rule);
  border-radius: var(--r-md, 8px);
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  box-shadow: 0 24px 80px oklch(0% 0 0 / .34);
}
.wedj-dialog::backdrop {
  background: oklch(12% 0.02 345 / .55);
  backdrop-filter: blur(2px);
}
.wedj-dialog[open] { display: grid; }
.wedj-dialog-card { padding: 20px; display: grid; gap: 12px; }
.wedj-dialog h2 { margin: 0; font-size: 21px; line-height: 1.15; letter-spacing: 0; }
.wedj-dialog p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.wedj-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.wedj-dialog-btn {
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  padding: 9px 14px;
}
.wedj-dialog-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.wedj-dialog-btn.danger { background: oklch(52% 0.18 22); border-color: oklch(52% 0.18 22); color: white; }
.wedj-dialog-btn:hover { filter: brightness(.98); }

/* Theme toggle — sun/moon between search and cart. Shows the icon for
   the mode you will switch INTO. */
.theme-toggle {
  background: transparent;
  border: none;
  padding: 8px 6px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-2);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle:hover { background: var(--bg-2); color: var(--ink); }
.theme-toggle .ti-moon { display: inline; }
.theme-toggle .ti-sun  { display: none; }
:root[data-theme="dark"] .theme-toggle .ti-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ti-sun  { display: inline; }

/* Header cart icon */
.nav-cart {
  position: relative;
  padding: 8px 8px;
  font-size: 18px;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--ink-2);
}
.nav-cart:hover { color: var(--accent); }
.nav-cart .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: var(--paper);
  font-family: 'Mona Sans', sans-serif;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ============ TIERED ADS (Gold / Silver / Bronze) ============ */

.tier-section { margin-bottom: 28px; }
.tier-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.tier-header h2 {
  font-family: 'Mona Sans', sans-serif;
  font-variation-settings: "wdth" 100, "wght" 800;
  font-size: 18px;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tier-header .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  color: #ffffff;
  font-weight: 800;
}
.tier-header .tag.gold   { background: oklch(45% 0.13 80); }
.tier-header .tag.silver { background: oklch(55% 0.02 250); }
.tier-header .tag.bronze { background: oklch(48% 0.10 50); }
.tier-header .note {
  font-size: 12px;
  color: var(--ink-2);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* GOLD — full-width hero ad. 2-column: photo | body (with price/cta inside body). */
.ad-gold {
  display: flex;
  background: var(--paper);
  border: 2px solid oklch(60% 0.14 80);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .15s, transform .12s, box-shadow .15s;
  margin-bottom: 12px;
  position: relative;
}
.ad-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
@media (max-width: 800px) { .ad-gold { flex-direction: column; } }

.ad-gold .ad-photo {
  display: block;
  flex: 0 0 320px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bg-2);
  min-height: 280px;
  position: relative;
}
.ad-gold .ad-photo::before {
  content: "GOLD";
  position: absolute;
  top: 12px;
  left: 12px;
  background: oklch(45% 0.13 80);
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 700;
  z-index: 2;
}

.ad-gold .ad-body {
  flex: 1;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.ad-gold .ad-name {
  font-family: 'Mona Sans', sans-serif;
  font-variation-settings: "wdth" 100, "wght" 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.ad-gold .ad-name:hover { color: var(--accent); }
.ad-gold .ad-loc {
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.ad-gold .ad-loc strong { color: var(--ink); }
.ad-gold .ad-loc a { color: var(--accent); font-weight: 700; }
.ad-gold .ad-loc a:hover { text-decoration: underline; }

/* SMS / Text link styling — same across all tiers */
.text-link {
  color: var(--accent) !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.text-link:hover { text-decoration: underline; }
.text-link .icon { font-size: 12px; }
.ad-gold .ad-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-2);
  align-items: center;
}
.ad-gold .ad-meta .stars { color: var(--accent); font-weight: 700; }
.ad-gold .ad-meta strong { color: var(--ink); }
.ad-gold .ad-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.ad-gold .ad-tags { display: flex; flex-wrap: wrap; gap: 4px; }

/* Footer row inside body — price stats LEFT, CTA RIGHT */
.ad-gold .ad-footer-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.ad-gold .ad-stats {
  display: flex;
  gap: 28px;
  align-items: baseline;
  flex-wrap: wrap;
}
.ad-gold .ad-stat .num {
  font-family: 'Mona Sans', sans-serif;
  font-variation-settings: "wdth" 100, "wght" 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.ad-gold .ad-stat .num small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-left: 2px;
}
.ad-gold .ad-stat .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}
.ad-gold .ad-stat .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
  display: block;
}
.ad-gold .ad-cta-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* SILVER — 2 columns */
.silver-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 800px) { .silver-grid { grid-template-columns: 1fr; } }
.ad-silver {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px 1fr;
  transition: border-color .15s, transform .12s;
  position: relative;
}
.ad-silver::before {
  content: "SILVER";
  position: absolute;
  top: 10px;
  left: 10px;
  background: oklch(55% 0.02 250);
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 3px;
  font-weight: 700;
  z-index: 2;
}
.ad-silver:hover { border-color: oklch(55% 0.02 250); transform: translateY(-2px); }
.ad-silver .ad-photo {
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bg-2);
  min-height: 180px;
}
.ad-silver .ad-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.ad-silver .ad-name {
  font-family: 'Mona Sans', sans-serif;
  font-variation-settings: "wdth" 100, "wght" 800;
  font-size: 19px;
  letter-spacing: -0.018em;
}
.ad-silver .ad-loc {
  font-size: 12px;
  color: var(--ink-2);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ad-silver .ad-loc strong { color: var(--ink); }
.ad-silver .ad-meta {
  font-size: 12px;
  color: var(--ink-2);
}
.ad-silver .ad-meta .stars { color: var(--accent); font-weight: 700; }
.ad-silver .ad-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ad-silver .ad-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
}
.ad-silver .ad-footer .btn-cart { width: 100%; justify-content: center; }
.ad-silver .ad-footer .price {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--ink);
}
.ad-silver .ad-footer .referrals {
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-2);
}
.ad-silver .ad-footer .referrals strong { color: var(--ink); }

/* BRONZE — 3 columns */
.bronze-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) { .bronze-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bronze-grid { grid-template-columns: 1fr; } }
.ad-bronze {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .15s, transform .12s;
  position: relative;
}
.ad-bronze::before {
  content: "BRONZE";
  position: absolute;
  top: 10px;
  left: 10px;
  background: oklch(48% 0.10 50);
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 3px;
  font-weight: 700;
  z-index: 2;
}
.ad-bronze:hover { border-color: oklch(48% 0.10 50); transform: translateY(-2px); }
.ad-bronze .ad-photo {
  display: block;
  height: 160px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bg-2);
}

/* Live availability badge (shown on a card when the vendor is open on the chosen date) */
.avail-badge {
  align-self: flex-start;
  margin: 2px 0 2px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  background: oklch(95% 0.08 150);
  color: oklch(45% 0.13 150);
  border: 1px solid oklch(85% 0.09 150);
}
:root[data-theme="dark"] .avail-badge {
  background: oklch(32% 0.07 150);
  color: oklch(85% 0.12 150);
  border-color: oklch(45% 0.09 150);
}
.ad-bronze .ad-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.ad-bronze .ad-name {
  font-family: 'Mona Sans', sans-serif;
  font-variation-settings: "wdth" 100, "wght" 800;
  font-size: 17px;
  letter-spacing: -0.015em;
}
.ad-bronze .ad-loc { font-size: 12px; color: var(--ink-2); }
.ad-bronze .ad-loc strong { color: var(--ink); }
.ad-bronze .ad-meta { font-size: 12px; color: var(--ink-2); margin-bottom: 4px; }
.ad-bronze .ad-meta .stars { color: var(--accent); font-weight: 700; }
.ad-bronze .ad-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ad-bronze .ad-footer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.ad-bronze .ad-footer .price { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--ink); }
.ad-bronze .ad-footer .referrals { font-family: 'JetBrains Mono', monospace; color: var(--ink-2); }

/* ADDITIONAL LISTINGS — compact text list */
.additional-list {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}
.additional-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  font-size: 13px;
  text-decoration: none;
  color: inherit;
}
.additional-row:last-child { border-bottom: none; }
.additional-row:hover { background: var(--bg-2); }
.additional-row .ad-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}
.additional-row .ad-name a:hover { color: var(--accent); text-decoration: underline; }
.additional-row .ad-desc {
  color: var(--ink-2);
  margin-left: 12px;
  display: inline;
  font-size: 12px;
}
.additional-row .ad-loc {
  color: var(--ink-2);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.additional-row .ad-phone {
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 700px) {
  .additional-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Section break with intro text */
.section-break {
  margin: 32px 0 16px;
  padding-top: 28px;
  border-top: 2px solid var(--rule);
}
.section-break h2 {
  font-family: 'Mona Sans', sans-serif;
  font-variation-settings: "wdth" 100, "wght" 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.section-break .sub {
  font-size: 13px;
  color: var(--ink-2);
}

/* Sample banner — internal */
.demo-banner {
  background: var(--ink);
  color: var(--paper);
  padding: 5px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
}
.demo-banner a { color: oklch(78% 0.10 22); text-decoration: underline; }

/* ============ MOBILE ============ */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  padding: 8px 4px;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink-2);
  line-height: 1;
}
.mobile-menu-btn:hover { color: var(--accent); }

.mobile-filter-toggle {
  display: none;
  position: sticky;
  top: 56px;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 10px 16px;
  width: 100%;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-filter-toggle .toggle-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
}

@media (max-width: 720px) {
  .demo-banner { padding: 4px 18px; font-size: 10px; }
  .demo-banner span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .shell { padding: 0 18px; }

  /* Header collapse — mobile menubar */
  .site-header { box-shadow: 0 1px 0 var(--rule); }
  .header-row {
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 4px;
    align-items: center;
  }
  .brand, .nav-logo { font-size: 19px; }
  .nav-links { display: none; }
  .header-search { display: none; }
  .btn-signin { display: none; }
  .btn-list { display: none; }
  .header-spacer { flex: 1; }   /* pushes right cluster to the edge */
  .nav-cart {
    font-size: 20px;
    padding: 8px 10px;
    color: var(--ink-2);
    border-radius: 8px;
  }
  .nav-cart:hover { background: var(--bg-2); }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 20px;
  }
  .mobile-menu-btn:hover { background: var(--bg-2); }

  /* Mode bar — full width tabs */
  .mode-tab { padding: 10px 14px; font-size: 12px; flex: 1; justify-content: center; }
  .mode-tabs { display: flex; }

  /* Breadcrumbs */
  .breadcrumbs { padding-top: 10px; padding-bottom: 10px; font-size: 11px; white-space: nowrap; overflow-x: auto; }

  /* Page head */
  .page-hero { padding: 12px 0 20px; }
  .page-head { padding: 12px 0 18px; }
  .page-head h1 { font-size: 28px; }
  .page-head .summary { font-size: 14px; }
  .page-head .stats { gap: 10px 16px; font-size: 12px; }
  .intro-copy { display: none; }   /* hide editorial intro on mobile; SEO content still in DOM on desktop */

  /* Layout — single column with filter as collapsible drawer */
  .listing-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 12px 0; }
  main { min-width: 0; }
  html, body { overflow-x: hidden; }
  .filter-side {
    position: relative;
    top: auto;
    display: none;
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 14px 16px;
    background: var(--paper);
    margin-bottom: 12px;
  }
  .filter-side.open { display: block; }
  .mobile-filter-toggle { display: flex; }

  /* Hide ad slots on mobile */
  .ad-slot { display: none; }
  .filter-side .ad-slot { display: block; margin-top: 16px; }

  /* Sort bar */
  .sort-bar { flex-direction: column; align-items: stretch; gap: 8px; padding-bottom: 10px; }
  .sort-bar select { width: 100%; padding: 8px 10px; font-size: 13px; }
  .sort-bar .count { font-size: 13px; }

  /* Tier headers */
  .tier-header { flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 8px; margin-bottom: 10px; }
  .tier-header h2 { font-size: 16px; flex-wrap: wrap; line-height: 1.3; }
  .tier-section { margin-bottom: 22px; }

  /* GOLD on mobile — already stacks via existing media query, refine */
  .ad-gold { flex-direction: column; border-width: 1px; }
  .ad-gold .ad-photo { flex: 1; min-height: 200px; height: 200px; }
  .ad-gold .ad-body { padding: 16px 14px 18px; gap: 8px; min-width: 0; overflow: hidden; }
  .ad-gold .ad-name { font-size: 22px; word-wrap: break-word; }
  .ad-gold .ad-loc { gap: 6px 10px; font-size: 12px; }
  .ad-gold .ad-meta { font-size: 12px; gap: 6px 10px; }
  .ad-gold .ad-meta .pill { font-size: 10px; padding: 3px 8px; }
  .ad-gold .ad-desc { font-size: 13px; }
  .ad-gold .ad-tags { gap: 4px; }
  .ad-gold .ad-tags .pill { font-size: 10px; padding: 3px 8px; }
  .ad-gold .ad-footer-row { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 12px; }
  .ad-gold .ad-stats { justify-content: space-between; gap: 8px; flex-wrap: nowrap; }
  .ad-gold .ad-stat { flex: 1; min-width: 0; }
  .ad-gold .ad-stat .num { font-size: 16px; }
  .ad-gold .ad-stat .num small { font-size: 10px; }
  .ad-gold .ad-stat .label, .ad-gold .ad-stat .sub { font-size: 9px; }
  .ad-gold .ad-cta-row { width: 100%; }
  .ad-gold .ad-cta-row .btn-cart { width: 100%; justify-content: center; padding: 12px; }

  /* SILVER on mobile — stack image on top, full-width body below */
  .ad-silver { grid-template-columns: 1fr; }
  .ad-silver .ad-photo { min-height: 160px; height: 160px; }
  .ad-silver .ad-body { padding: 12px 14px; gap: 5px; min-width: 0; }
  .ad-silver .ad-name { font-size: 17px; }
  .ad-silver .ad-loc { font-size: 11px; gap: 6px 10px; flex-wrap: wrap; }
  .ad-silver .ad-meta { font-size: 11px; flex-wrap: wrap; }
  .ad-silver .ad-meta .pill { font-size: 10px; padding: 3px 7px; }
  .ad-silver .ad-desc { font-size: 13px; -webkit-line-clamp: 3; }
  .ad-silver .ad-footer { padding-top: 8px; gap: 8px; }
  .ad-silver .ad-footer .price { font-size: 11px; }
  .ad-silver .ad-footer .btn-cart { padding: 10px; font-size: 13px; }

  /* BRONZE on mobile — single column, image taller */
  .ad-bronze .ad-photo { height: 180px; }
  .ad-bronze .ad-body { padding: 12px 14px; }
  .ad-bronze .ad-name { font-size: 16px; }
  .ad-bronze .ad-loc { font-size: 11px; }
  .ad-bronze .ad-meta { font-size: 11px; }
  .ad-bronze .ad-desc { font-size: 13px; -webkit-line-clamp: 3; }
  .ad-bronze .ad-footer { padding-top: 8px; flex-direction: column; align-items: stretch; gap: 8px; }
  .ad-bronze .ad-footer .price { font-size: 11px; }
  .ad-bronze .ad-footer .btn-cart { width: 100%; justify-content: center; padding: 10px; font-size: 13px; }

  /* Additional listings — stack columns */
  .additional-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 14px;
  }
  .additional-row .ad-desc { display: block; margin-left: 0; margin-top: 2px; }
  .additional-row .ad-loc, .additional-row .ad-phone { font-size: 11px; }

  /* Section break */
  .section-break { padding-top: 18px; margin: 20px 0 12px; }
  .section-break h2 { font-size: 18px; }

  /* Related */
  .related-block { padding: 20px 0; }
  .related-block h2 { font-size: 16px; }

  /* Footer */
  .site-footer { padding: 32px 0 16px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 11px; }

  /* Cart bar — pin to bottom edge full width */
  .cart-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: none;
    padding: 10px 12px 10px 16px;
    font-size: 13px;
    border-radius: 12px;
    justify-content: space-between;
  }
  .cart-bar .btn { padding: 8px 12px; }

  /* Slide-over panel full screen on mobile */
  .cart-panel { width: 100%; }
  .cart-panel-head { padding: 16px 18px; }
  .cart-panel-head h3 { font-size: 18px; }
  .cart-item { padding: 12px 18px; grid-template-columns: 44px 1fr auto; }
  .cart-item .ci-photo { width: 44px; height: 44px; }
  .cart-panel-foot { padding: 14px 18px; }
}

/* ── Font system — Cormorant Garamond headlines / Montserrat body ──────────
   Interim global layer: set as !important so it also overrides the hardcoded
   font-family declarations still inlined on the chart/home/listing pages.
   The deferred CSS-consolidation pass replaces this with proper per-selector
   --font-* variables (no !important). ───────────────────────────────────── */
:root {
  --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { font-family: var(--font-body) !important; }
h1, h2, h3, h4, .brand, .brand * {
  font-family: var(--font-head) !important;
  font-variation-settings: normal !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
}
