:root {
    --bg:           #0c0d10;
    --bg-2:         #131418;
    --surface:      #1a1c21;
    --surface-2:    #22252c;
    --border:       #2a2d35;
    --border-soft:  #1f2128;
    --text:         #eef0f4;
    --text-mid:     #9da3b1;
    --text-dim:     #6b7180;
    --accent:       #e8622a;
    --accent-soft:  rgba(232, 98, 42, 0.12);
    --accent-glow:  rgba(232, 98, 42, 0.35);
    --gold:         #f5b342;
    --green:        #4ade80;
    --red:          #ef4444;

    --serif: "Fraunces", Georgia, serif;
    --sans:  "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --mono:  "JetBrains Mono", "SF Mono", monospace;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
  body::before {
    content: "";
    position: fixed; inset: 0;
    background:
      radial-gradient(ellipse 1000px 500px at 50% -10%, rgba(232, 98, 42, 0.10), transparent 60%),
      radial-gradient(ellipse 600px 300px at 0% 100%, rgba(232, 98, 42, 0.04), transparent 60%);
    pointer-events: none;
    z-index: 0;
  }
  body::after {
    content: "";
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: overlay;
  }
  button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
  input { font-family: inherit; }
  a { color: inherit; text-decoration: none; }

  /* ── Top utility bar ──────────────────────── */
  .util-bar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(12, 13, 16, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-soft);
  }
  .util-inner {
    max-width: 1440px; margin: 0 auto;
    padding: 14px 32px;
    display: flex; align-items: center; gap: 24px;
  }
  .brand-mini {
    display: flex; align-items: center; gap: 12px;
  }
  .brand-mini-logo {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px -4px var(--accent-glow);
  }
  .brand-mini-logo img { width: 100%; height: 100%; object-fit: cover; }
  .brand-mini-logo-fallback {
    font-family: var(--serif);
    font-weight: 900; font-style: italic;
    font-size: 20px;
    color: var(--accent);
    line-height: 1;
  }
  .brand-mini-text { display: flex; align-items: baseline; gap: 8px; }
  .brand-mini-mark {
    font-family: var(--serif);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.03em;
    color: var(--text);
    font-style: italic;
    line-height: 1;
  }
  .brand-mini-mark span { color: var(--accent); }
  .brand-mini-tag {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
  }
  .search-wrap {
    flex: 1; max-width: 520px; position: relative; margin: 0 auto;
  }
  .search-wrap svg.search-ico {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--text-dim);
  }
  .search-wrap input {
    width: 100%;
    padding: 11px 16px 11px 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-size: 13.5px;
    transition: all 0.2s;
  }
  .search-wrap input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-2);
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
  .search-wrap input::placeholder { color: var(--text-dim); }
  .api-status {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 11px; color: var(--text-mid);
    padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px;
  }
  .api-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2s ease-in-out infinite;
  }
  .api-dot.error { background: var(--red); box-shadow: 0 0 8px var(--red); }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

  /* ── Header right cluster ─────────── */
  .header-right { display: flex; align-items: center; gap: 12px; }

  /* ── Cart button (in header) ─────── */
  .cart-btn {
    position: relative;
    width: 40px; height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mid);
    transition: all 0.15s;
  }
  .cart-btn:hover { color: var(--accent); border-color: var(--accent); }
  .cart-btn svg { width: 18px; height: 18px; }
  .cart-badge {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    background: var(--accent);
    color: var(--bg);
    border: 2px solid var(--bg);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
  }
  .cart-btn.has-items { color: var(--accent); border-color: var(--accent); }
  @keyframes cart-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25); }
    100% { transform: scale(1); }
  }
  .cart-btn.pop svg { animation: cart-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }

  /* ── Cart drawer ───────────────── */
  .cart-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .cart-overlay.open { opacity: 1; pointer-events: auto; }
  .cart-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 480px; max-width: 100vw;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    z-index: 91;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -20px 0 40px -10px rgba(0,0,0,0.5);
  }
  .cart-drawer.open { transform: translateX(0); }
  .cart-drawer-head {
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px;
  }
  .cart-drawer-title {
    font-family: var(--serif);
    font-weight: 800;
    font-style: italic;
    font-size: 28px;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .cart-drawer-sub {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 6px;
  }
  .cart-close {
    width: 36px; height: 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-mid);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
  }
  .cart-close:hover { color: var(--accent); border-color: var(--accent); }
  .cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px 24px;
  }
  .cart-drawer-body::-webkit-scrollbar { width: 5px; }
  .cart-drawer-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
  .cart-drawer-foot {
    border-top: 1px solid var(--border);
    padding: 18px 24px 22px;
    background: var(--bg);
    flex-shrink: 0;
  }

  /* Empty / sign-in states inside drawer */
  .cart-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-mid);
  }
  .cart-empty svg {
    width: 48px; height: 48px;
    color: var(--text-dim);
    margin-bottom: 14px;
  }
  .cart-empty h3 {
    font-family: var(--serif);
    font-style: italic;
    font-size: 24px;
    color: var(--text);
    margin-bottom: 6px;
  }
  .cart-empty p { font-size: 13px; }

  /* Seller group */
  .cart-seller-group {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
  }
  .cart-seller-header {
    padding: 12px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
  }
  .cart-seller-name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 8px;
  }
  .cart-seller-name svg {
    width: 12px; height: 12px;
    color: var(--text-dim);
  }
  .cart-seller-subtotal {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-mid);
    font-weight: 600;
  }
  .cart-seller-subtotal strong { color: var(--text); font-family: var(--serif); font-style: italic; font-size: 14px; }

  /* Cart line item */
  .cart-line {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-soft);
    align-items: center;
  }
  .cart-line:first-child { border-top: none; }
  .cart-line-img {
    width: 64px; height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
  }
  .cart-line-img-fallback {
    width: 64px; height: 64px;
    border-radius: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 11px;
    color: var(--text-dim);
    text-align: center;
    padding: 4px;
    overflow: hidden;
  }
  .cart-line-info { min-width: 0; }
  .cart-line-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
  }
  .cart-line-variants {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 3px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .cart-line-controls {
    display: flex; align-items: center; gap: 6px;
    margin-top: 6px;
  }
  .qty-stepper {
    display: flex; align-items: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
  }
  .qty-btn {
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mid);
    font-size: 14px;
    transition: all 0.15s;
  }
  .qty-btn:hover:not(:disabled) { color: var(--accent); background: var(--surface); }
  .qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
  .qty-num {
    min-width: 30px;
    text-align: center;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
  }
  .cart-line-remove {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    transition: color 0.15s;
  }
  .cart-line-remove:hover { color: var(--red); }
  .cart-line-price {
    text-align: right;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 800;
    font-size: 18px;
    color: var(--text);
    letter-spacing: -0.02em;
  }
  .cart-line-price .unit {
    display: block;
    font-family: var(--mono);
    font-style: normal;
    font-weight: 500;
    font-size: 9.5px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
  }

  /* Foot — totals + checkout */
  .cart-totals {
    margin-bottom: 14px;
  }
  .cart-totals-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 0;
    font-size: 12px;
    color: var(--text-mid);
  }
  .cart-totals-row.grand {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text);
  }
  .cart-totals-row.grand .amount {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 800;
    font-size: 26px;
    color: var(--accent);
    letter-spacing: -0.02em;
  }
  .cart-checkout-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 12px;
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.15s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
  }
  .cart-checkout-btn:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-1px);
  }
  .cart-checkout-btn:disabled {
    background: var(--surface);
    color: var(--text-dim);
    cursor: not-allowed;
  }
  .cart-clear-btn {
    width: 100%;
    margin-top: 8px;
    padding: 9px;
    color: var(--text-dim);
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.15s;
  }
  .cart-clear-btn:hover { color: var(--red); }

  /* Checkout payload view (inside drawer body, replaces items briefly) */
  .checkout-view-eyebrow {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 10px;
  }
  .checkout-view-eyebrow::before {
    content: ""; width: 20px; height: 1px; background: var(--accent);
  }
  .checkout-back {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.15s;
  }
  .checkout-back:hover { color: var(--accent); border-color: var(--accent); }
  .checkout-view h3 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
  }
  .checkout-view .lede {
    font-size: 12.5px;
    color: var(--text-mid);
    margin-bottom: 18px;
    line-height: 1.5;
  }
  .checkout-payload {
    background: #0a0b0e;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-mid);
    line-height: 1.55;
    overflow-x: auto;
    margin-bottom: 14px;
    max-height: 280px;
    overflow-y: auto;
    white-space: pre;
  }
  .checkout-payload .k  { color: var(--blue, #60a5fa); }
  .checkout-payload .s  { color: var(--green); }
  .checkout-payload .n  { color: var(--accent); }
  .checkout-payload .p  { color: var(--text-dim); }
  .checkout-section-title {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin: 18px 0 8px;
  }
  .checkout-response {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 12px;
  }
  .checkout-response.success { border-color: var(--green); background: rgba(74,222,128,0.05); }
  .checkout-response.error   { border-color: var(--red);   background: rgba(239,68,68,0.05); }
  .checkout-response-status {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .checkout-response.success .checkout-response-status { color: var(--green); }
  .checkout-response.error   .checkout-response-status { color: var(--red); }
  .checkout-response-field {
    display: flex; justify-content: space-between; gap: 10px;
    padding: 6px 0;
    border-top: 1px solid var(--border-soft);
    font-family: var(--mono);
    font-size: 11px;
  }
  .checkout-response-field:first-of-type { border-top: none; }
  .checkout-response-field .k { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; }
  .checkout-response-field .v {
    color: var(--text);
    text-align: right;
    overflow: hidden; text-overflow: ellipsis;
    max-width: 60%;
    direction: rtl;
  }
  .send-api-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 10px;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.15s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
  }
  .send-api-btn:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
  .send-api-btn:disabled { background: var(--surface); color: var(--text-dim); cursor: not-allowed; }
  .send-api-btn .spin {
    width: 12px; height: 12px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-right-color: currentColor;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* ── Checkout: charge-mode strip ── */
  .cart-mode-strip {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    border-radius: 10px;
    margin-bottom: 14px;
  }
  .cart-mode-label {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
  }
  .cart-mode-value {
    font-size: 12px;
    color: var(--text);
    text-align: right;
    line-height: 1.3;
  }

  /* Auth nag inside checkout */
  .checkout-auth-notice {
    display: flex; align-items: flex-start; gap: 12px;
    background: var(--surface);
    border: 1px solid var(--gold);
    border-left: 3px solid var(--gold);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-mid);
    line-height: 1.5;
  }
  .checkout-auth-notice svg {
    width: 16px; height: 16px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
  }
  .checkout-auth-notice strong { color: var(--text); }

  /* Stripe test mode banner */
  .stripe-test-banner {
    margin-top: 14px;
    padding: 10px 14px;
    background: var(--bg-2);
    border: 1px dashed var(--gold);
    border-radius: 8px;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--text-mid);
    line-height: 1.55;
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
  }
  .stripe-test-banner .badge {
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    background: var(--gold);
    color: var(--bg);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    flex-shrink: 0;
  }
  .stripe-test-banner code {
    color: var(--text);
    background: var(--surface);
    padding: 2px 6px;
    border-radius: 4px;
  }

  /* Stripe Payment Element wrap — Stripe injects an iframe; just give it room. */
  .stripe-element-wrap {
    margin: 18px 0 6px;
    min-height: 280px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
  }
  .stripe-error {
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--red);
    line-height: 1.4;
  }

  /* ── Booking pickers (non-product offerings) ── */
  .booking-block {
    margin: 14px 0;
    padding: 14px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
  }
  .booking-title {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
  }
  .booking-row {
    display: flex; gap: 10px;
  }
  .booking-field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .booking-field label {
    font-family: var(--mono); font-size: 9px;
    color: var(--text-dim); text-transform: uppercase;
    letter-spacing: 0.15em;
  }
  .booking-field input[type="date"],
  .booking-field input[type="time"] {
    padding: 9px 11px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
    font-family: var(--sans);
    color-scheme: dark;       /* Native date picker styling */
    transition: all 0.15s;
  }
  .booking-field input[type="date"]:focus,
  .booking-field input[type="time"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .booking-select {
    width: 100%;
    padding: 10px 30px 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
    font-family: var(--sans);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239da3b1' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
  }
  .booking-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .booking-hint {
    margin-top: 10px;
    font-family: var(--mono); font-size: 10px;
    color: var(--text-dim);
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  .booking-empty {
    margin-top: 10px;
    padding: 14px;
    text-align: center;
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: 8px;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }
  .booking-slots {
    margin-top: 12px;
    display: flex; flex-wrap: wrap;
    gap: 6px;
  }
  .booking-slot {
    padding: 8px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    transition: all 0.15s;
    cursor: pointer;
  }
  .booking-slot:hover { border-color: var(--accent); color: var(--accent); }
  .booking-slot.active {
    background: var(--accent); color: var(--bg);
    border-color: var(--accent);
  }
  .booking-fixed-date {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text);
  }
  .booking-fixed-date svg {
    width: 16px; height: 16px;
    color: var(--accent);
    flex-shrink: 0;
  }

  /* Rental duration pills (type 2) — matches production's .duration-buttons */
  .duration-pills {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: 4px;
  }
  .duration-pill {
    padding: 7px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.15s;
  }
  .duration-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  .duration-pill.active {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
  }

  /* Dateslot accordion (type 3/32) — matches production's .date-group / .time-grid / .time-slot
     but rendered in the dark editorial palette. */
  .dateslot-calendar {
    margin-top: 14px;
    display: flex; flex-direction: column;
    gap: 6px;
  }
  .dateslot-day {
    border-top: 1px solid var(--border-soft);
  }
  .dateslot-day:first-child { border-top: none; }
  .dateslot-day-header {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 12px 26px 12px 2px;
    color: var(--text-dim);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color 0.18s ease;
  }
  .dateslot-day-header::after {
    content: "▾";
    position: absolute;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    transition: transform 0.22s ease;
    font-size: 12px;
    color: inherit;
  }
  .dateslot-day.open .dateslot-day-header {
    color: var(--text);
  }
  .dateslot-day.open .dateslot-day-header::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .dateslot-day-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 4px 0 14px;
    animation: dateslotFade 0.18s ease;
  }
  .dateslot-day.open .dateslot-day-grid { display: grid; }
  .dateslot-slot {
    padding: 8px 0;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.16s ease;
  }
  .dateslot-slot:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 2px 10px rgba(232, 98, 42, 0.18);
  }
  .dateslot-slot.active {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(232, 98, 42, 0.32);
  }
  @keyframes dateslotFade {
    from { opacity: 0; transform: translateY(-3px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @media (max-width: 520px) {
    .dateslot-day-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* ── Checkout form sections (Stage 1) ── */
  .checkout-form-section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }
  .checkout-form-section:first-of-type {
    margin-top: 18px;
    padding-top: 0;
    border-top: none;
  }
  .checkout-form-title {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
  }
  .checkout-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }
  .checkout-form-row.full { grid-template-columns: 1fr; }
  .checkout-form-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .checkout-form-field label {
    font-family: var(--mono); font-size: 9.5px;
    color: var(--text-dim); text-transform: uppercase;
    letter-spacing: 0.15em;
  }
  .checkout-form-field input,
  .checkout-form-field textarea {
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 13px;
    transition: all 0.15s;
    resize: vertical;
  }
  .checkout-form-field input:focus,
  .checkout-form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-2);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .checkout-form-field input::placeholder,
  .checkout-form-field textarea::placeholder { color: var(--text-dim); }
  .checkout-coords {
    margin-top: 10px;
    padding: 7px 11px;
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex; align-items: center; gap: 8px;
    font-weight: 700;
  }
  .checkout-coords svg { flex-shrink: 0; }

  /* ── Fulfillment toggle ── */
  .fulfillment-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
  }
  .fulfillment-opt {
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    color: var(--text-mid);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.15s;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
  }
  .fulfillment-opt:hover { color: var(--text); }
  .fulfillment-opt.active {
    background: var(--bg-2);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }
  .fulfillment-opt svg { width: 16px; height: 16px; flex-shrink: 0; }

  /* ── Checkout item summary (Stage 1) ── */
  .checkout-items-summary {
    margin: 4px 0 16px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    overflow: hidden;
  }
  .checkout-item-row {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    padding: 12px 14px;
    align-items: center;
    border-bottom: 1px solid var(--border-soft);
  }
  .checkout-item-row:last-child { border-bottom: none; }
  .checkout-item-img {
    width: 48px; height: 48px;
    border-radius: 7px;
    object-fit: cover;
    border: 1px solid var(--border-soft);
  }
  .checkout-item-info { min-width: 0; }
  .checkout-item-name {
    font-size: 13px; font-weight: 600; color: var(--text);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .checkout-item-meta {
    font-family: var(--mono); font-size: 10px;
    color: var(--text-mid);
    margin-top: 3px; line-height: 1.5;
    text-transform: uppercase; letter-spacing: 0.05em;
  }
  .checkout-item-price {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 800;
    font-size: 17px;
    color: var(--text);
    letter-spacing: -0.02em;
  }

  /* Confirmation / done screen */
  .checkout-done {
    text-align: center;
    padding: 20px 8px 12px;
  }
  .checkout-done-icon {
    width: 56px; height: 56px;
    margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
  }
  .checkout-done-icon svg { width: 100%; height: 100%; }
  .checkout-done h3 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 800;
    font-size: 26px;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .checkout-done .lede {
    font-size: 13px;
    color: var(--text-mid);
    margin-bottom: 24px;
    line-height: 1.55;
  }

  /* ── Modal "Add to cart" panel (replaces SKU demo button when type 1) ── */
  .cart-panel {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px;
    margin: 20px 0 16px;
  }
  .cart-panel-title {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
  }
  .cart-panel-title::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 6px var(--accent);
  }
  .cart-panel-row {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 14px;
  }
  .cart-panel-row .label {
    flex: 1;
    font-size: 13px;
    color: var(--text-mid);
    font-weight: 500;
  }
  .qty-stepper.big {
    border-color: var(--border);
    background: var(--surface);
  }
  .qty-stepper.big .qty-btn { width: 36px; height: 36px; font-size: 16px; }
  .qty-stepper.big .qty-num { min-width: 44px; font-size: 14px; }
  .cart-add-btn {
    width: 100%;
    padding: 13px 20px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 10px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.15s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
  }
  .cart-add-btn:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-1px);
  }
  .cart-add-btn:disabled {
    background: var(--surface);
    color: var(--text-dim);
    cursor: not-allowed;
  }
  .cart-add-btn svg { width: 14px; height: 14px; }

  @media (max-width: 520px) {
    .cart-drawer { width: 100vw; }
  }

  .signin-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: filter 0.15s, transform 0.15s;
  }
  .signin-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

  /* User menu (signed in) */
  .user-menu { position: relative; }
  .user-menu-trigger {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 5px 12px 5px 5px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: border-color 0.15s, background 0.15s;
  }
  .user-menu-trigger:hover { border-color: var(--accent); }
  .user-menu-trigger.open { border-color: var(--accent); background: var(--surface-2); }
  .user-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
  }
  .user-avatar img {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  }
  .user-menu-name {
    font-size: 13px; font-weight: 600; color: var(--text);
    max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .user-menu-arrow {
    width: 12px; height: 12px;
    color: var(--text-dim);
    transition: transform 0.2s;
  }
  .user-menu-trigger.open .user-menu-arrow { transform: rotate(180deg); }

  .user-menu-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 220px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
    display: none;
    z-index: 60;
  }
  .user-menu-dropdown.open { display: block; }
  .user-menu-header {
    padding: 12px 12px 10px;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 4px;
  }
  .user-menu-header .nm { font-size: 13px; font-weight: 700; color: var(--text); }
  .user-menu-header .em {
    font-family: var(--mono); font-size: 10.5px;
    color: var(--text-dim); margin-top: 2px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .user-menu-item {
    display: flex; align-items: center; gap: 10px;
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
    color: var(--text-mid);
    text-align: left;
    border-radius: 7px;
    transition: all 0.12s;
  }
  .user-menu-item:hover { background: var(--surface); color: var(--text); }
  .user-menu-item svg { width: 15px; height: 15px; flex-shrink: 0; }
  .user-menu-item.danger { color: var(--red); }
  .user-menu-item.danger:hover { background: rgba(239,68,68,0.1); color: var(--red); }
  .user-menu-divider {
    height: 1px; background: var(--border-soft); margin: 4px 6px;
  }

  /* ── Subscription plan picker (type 5) ── */
  .sub-plan-option {
    display: flex; align-items: center;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: var(--bg-2);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
  }
  .sub-plan-option:hover { border-color: var(--text-mid); }
  .sub-plan-option.active {
    border-color: var(--accent);
    background: var(--accent-soft);
  }
  .sub-plan-option input[type="radio"] { flex-shrink: 0; }
  .sub-plan-label { display: flex; flex-direction: column; gap: 2px; }
  .sub-plan-name {
    font-family: var(--serif); font-style: italic;
    font-weight: 700; font-size: 16px;
    color: var(--text);
    letter-spacing: -0.01em;
  }
  .sub-plan-sub {
    font-size: 12px;
    color: var(--text-mid);
    line-height: 1.4;
  }

  /* ── Lead / inquiry form (type 6) ── */
  .lead-form { display: flex; flex-direction: column; gap: 14px; }
  .lead-row { display: flex; flex-direction: column; gap: 6px; }
  .lead-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .lead-label {
    font-family: var(--mono); font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.18em;
    font-weight: 600;
  }
  .lead-input, .lead-textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-2);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 13.5px;
    line-height: 1.5;
    transition: border-color 0.15s;
  }
  .lead-input:focus, .lead-textarea:focus {
    outline: none;
    border-color: var(--accent);
  }
  .lead-textarea {
    resize: vertical;
    min-height: 90px;
    font-family: var(--sans);
  }
  @media (max-width: 560px) {
    .lead-row-2 { grid-template-columns: 1fr; }
  }

  /* ── Heart (favorite) button ─────── */
  .fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px; height: 34px;
    background: rgba(12, 13, 16, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.85);
    z-index: 3;
    cursor: pointer;
    transition: all 0.15s;
  }
  .fav-btn:hover { transform: scale(1.1); border-color: var(--accent); color: var(--accent); }
  .fav-btn svg { width: 17px; height: 17px; transition: all 0.15s; }
  .fav-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
  }
  .fav-btn.active svg {
    fill: var(--bg);
    stroke: var(--bg);
  }
  .fav-btn.active:hover { color: var(--bg); }
  .fav-btn.pulse svg { animation: heartPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
  @keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
  }
  /* When the card has a sale badge, move the heart left of it */
  .card-image:has(.sale-badge) .fav-btn { right: 60px; }

  /* Bigger heart inside the modal */
  .fav-btn-modal {
    position: absolute;
    top: 16px; right: 64px;
    width: 40px; height: 40px;
    z-index: 6;
  }

  /* ── Auth modal ──────────────────── */
  .auth-modal {
    max-width: 440px;
    width: 100%;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px 32px;
    position: relative;
  }
  .auth-modal h2 {
    font-family: var(--serif);
    font-weight: 800;
    font-style: italic;
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .auth-modal .sub {
    color: var(--text-mid);
    font-size: 13.5px;
    margin-bottom: 24px;
  }
  .auth-google-wrap {
    display: flex; justify-content: center;
    margin-bottom: 18px;
    min-height: 44px;
  }
  .auth-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 18px 0;
    font-family: var(--mono); font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.2em;
  }
  .auth-divider::before, .auth-divider::after {
    content: ""; flex: 1; height: 1px; background: var(--border);
  }
  .auth-tab-row {
    display: flex; gap: 4px;
    padding: 4px;
    background: var(--surface);
    border-radius: 10px;
    margin-bottom: 16px;
  }
  .auth-tab {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-mid);
    transition: all 0.15s;
  }
  .auth-tab:hover { color: var(--text); }
  .auth-tab.active { background: var(--bg-2); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.3); }

  .auth-form { display: flex; flex-direction: column; gap: 12px; }
  .auth-field { display: flex; flex-direction: column; gap: 5px; }
  .auth-field label {
    font-family: var(--mono); font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
  }
  .auth-field input {
    padding: 11px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    font-size: 13.5px;
    transition: all 0.15s;
  }
  .auth-field input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-2);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .auth-submit {
    margin-top: 8px;
    padding: 12px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 10px;
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.15s;
  }
  .auth-submit:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-1px);
  }
  .auth-submit:disabled { opacity: 0.6; cursor: not-allowed; }
  .auth-error {
    margin-top: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(239,68,68,0.1);
    color: var(--red);
    font-size: 12px;
    border: 1px solid rgba(239,68,68,0.2);
    display: none;
  }
  .auth-error.show { display: block; }
  .auth-foot {
    margin-top: 18px;
    text-align: center;
    font-size: 11px;
    color: var(--text-dim);
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.15em;
  }
  .auth-foot a { color: var(--accent); }

  /* ── Toast for transient messages ── */
  .toast {
    position: fixed;
    bottom: 28px; left: 50%;
    transform: translateX(-50%) translateY(60px);
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    pointer-events: none;
    display: flex; align-items: center; gap: 10px;
  }
  .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  .toast svg { width: 16px; height: 16px; color: var(--accent); }
  .toast.error svg { color: var(--red); }

  /* ── Centered Hero / Market Header ────────── */
  .hero {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 32px 56px;
    text-align: center;
    z-index: 1;
  }
  .hero-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 18px;
    display: inline-flex; align-items: center; gap: 14px;
  }
  .hero-eyebrow::before,
  .hero-eyebrow::after {
    content: ""; width: 36px; height: 1px; background: var(--accent); opacity: 0.6;
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 900;
    font-size: clamp(48px, 7vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin: 0 auto 20px;
    max-width: 14ch;
  }
  .hero h1 .accent {
    font-style: italic; color: var(--accent);
    font-weight: 400;
  }
  .hero-desc {
    font-size: 17px;
    color: var(--text-mid);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
  }
  .hero-meta {
    margin-top: 44px;
    display: flex; gap: 56px; flex-wrap: wrap;
    justify-content: center;
    padding-top: 36px;
    border-top: 1px solid var(--border-soft);
    max-width: 800px;
    margin-left: auto; margin-right: auto;
  }
  .hero-stat {
    text-align: center;
    min-width: 100px;
  }
  .hero-stat .num {
    font-family: var(--serif);
    font-weight: 800;
    font-size: 38px;
    color: var(--text);
    letter-spacing: -0.03em;
    font-style: italic;
    display: block;
    line-height: 1;
  }
  .hero-stat .num.accent { color: var(--accent); }
  .hero-stat .lbl {
    font-family: var(--mono); font-size: 10px;
    color: var(--text-dim); text-transform: uppercase;
    letter-spacing: 0.2em; margin-top: 10px;
  }
  .hero-pills {
    display: flex; gap: 8px; justify-content: center;
    margin-top: 22px; flex-wrap: wrap;
  }
  .hero-pill {
    font-family: var(--mono);
    font-size: 10px;
    padding: 5px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-mid);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  .hero-pill strong { color: var(--accent); font-weight: 700; }

  /* ── Content layout ─────────────────────────── */
  .content {
    position: relative; z-index: 1;
    max-width: 1440px; margin: 0 auto;
    padding: 0 32px 80px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }

  /* ── Sidebar (categories) ───────────────────── */
  .sidebar {
    position: sticky; top: 80px;
    align-self: start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 8px;
  }
  .sidebar::-webkit-scrollbar { width: 4px; }
  .sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
  .sidebar-section { margin-bottom: 32px; }
  .sidebar-title {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-soft);
    display: flex; align-items: center; justify-content: space-between;
  }
  .sidebar-title .src {
    font-size: 9px; color: var(--text-dim); opacity: 0.6;
    text-transform: none; letter-spacing: 0.1em;
  }
  .cat-list { display: flex; flex-direction: column; gap: 2px; }
  .cat-btn {
    text-align: left;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--text-mid);
    font-size: 13px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    transition: all 0.15s;
  }
  .cat-btn:hover { background: var(--surface); color: var(--text); }
  .cat-btn.active {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
  }
  .cat-btn .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cat-btn .count {
    flex-shrink: 0;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    background: var(--surface);
    padding: 2px 8px;
    border-radius: 999px;
  }
  .cat-btn.active .count { background: var(--accent); color: var(--bg); }

  .tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
  .tag-chip {
    font-family: var(--mono);
    font-size: 11px;
    padding: 5px 10px;
    background: var(--surface);
    color: var(--text-mid);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: all 0.15s;
  }
  .tag-chip:hover { border-color: var(--accent); color: var(--accent); }
  .tag-chip.active {
    background: var(--accent); color: var(--bg);
    border-color: var(--accent); font-weight: 600;
  }
  .sidebar-empty {
    font-size: 11px;
    color: var(--text-dim);
    font-style: italic;
    padding: 8px 4px;
  }
  .sidebar-empty.error { color: var(--red); }

  /* ── Main area: toolbar + grid ──────────────── */
  .main { min-width: 0; }
  .toolbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 16px;
  }
  .results-count {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .results-count .num { color: var(--accent); font-style: italic; }
  .sort-wrap {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 11px;
    color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em;
  }
  .sort-buttons {
    display: flex; background: var(--surface); border-radius: 999px; padding: 4px;
    border: 1px solid var(--border);
  }
  .sort-btn {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--text-mid);
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.15s;
  }
  .sort-btn:hover { color: var(--text); }
  .sort-btn.active { background: var(--accent); color: var(--bg); font-weight: 600; }

  /* ── Top Sold strip ──────────────────────────── */
  #topsold-section {
    margin: 0 0 32px;
    padding: 22px 24px 24px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
  }
  #topsold-section::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 500px 200px at 0% 0%, var(--accent-soft), transparent 70%);
    pointer-events: none;
  }
  .topsold-header {
    display: flex; align-items: baseline; gap: 12px;
    margin-bottom: 18px;
    position: relative; z-index: 1;
  }
  .topsold-icon { font-size: 22px; line-height: 1; }
  .topsold-title {
    font-family: var(--serif); font-style: italic;
    font-weight: 800; font-size: 22px;
    color: var(--text);
    letter-spacing: -0.02em;
  }
  .topsold-sub {
    font-family: var(--mono); font-size: 10.5px;
    color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.18em;
  }
  .topsold-strip {
    display: flex; gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    position: relative; z-index: 1;
  }
  .topsold-strip::-webkit-scrollbar { height: 6px; }
  .topsold-strip::-webkit-scrollbar-track { background: transparent; }
  .topsold-strip::-webkit-scrollbar-thumb {
    background: var(--border); border-radius: 3px;
  }
  .topsold-card {
    flex: 0 0 168px;
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
    text-align: left;
    color: inherit;
    text-decoration: none;
    display: block;
  }
  .topsold-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--accent-soft);
  }
  .topsold-rank {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    padding: 4px 9px;
    border-radius: 999px;
    font-family: var(--mono); font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #0b0b0c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
  }
  .topsold-rank-gold   { background: #f59e0b; }
  .topsold-rank-silver { background: #cbd5e1; }
  .topsold-rank-bronze { background: #d97706; color: #fff; }
  .topsold-rank-other  { background: var(--accent); color: var(--bg); }
  .topsold-img {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: var(--bg-2);
    overflow: hidden;
    position: relative;
  }
  .topsold-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
  }
  .topsold-card:hover .topsold-img img {
    transform: scale(1.06);
  }
  .topsold-img-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--surface-2), var(--bg-2));
    font-family: var(--serif); font-style: italic;
    font-size: 36px;
    color: var(--text-dim);
  }
  .topsold-body {
    padding: 10px 12px 12px;
  }
  .topsold-name {
    font-size: 12.5px; font-weight: 600;
    color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.3;
    margin-bottom: 3px;
  }
  .topsold-price {
    font-family: var(--serif); font-style: italic;
    font-weight: 800; font-size: 16px;
    letter-spacing: -0.02em;
    color: var(--accent);
  }
  .topsold-price.free { color: var(--green); font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
  .topsold-price-strike {
    font-family: var(--mono); font-size: 10.5px;
    color: var(--text-dim);
    text-decoration: line-through;
    margin-right: 5px;
    font-weight: 500;
    letter-spacing: 0;
  }
  @media (max-width: 720px) {
    #topsold-section { padding: 18px 16px; margin: 0 0 24px; }
    .topsold-title { font-size: 18px; }
    .topsold-card { flex: 0 0 138px; }
  }

  /* ── Card grid ──────────────────────────────── */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }
  .card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
    position: relative;
    cursor: pointer;
  }
  .card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -20px rgba(232, 98, 42, 0.4), 0 0 0 1px var(--accent);
  }
  .card-image {
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--surface-2), var(--bg-2));
    overflow: hidden;
  }
  .card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .card:hover .card-image img { transform: scale(1.06); }
  .card-image-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1f2128, #2a2d35);
    color: var(--text-dim);
    font-family: var(--serif); font-style: italic; font-size: 14px;
    padding: 12px; text-align: center;
  }
  .type-badge {
    position: absolute; top: 12px; left: 12px;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    padding: 5px 9px;
    background: rgba(12, 13, 16, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .sale-badge {
    position: absolute; top: 12px; right: 12px;
    font-family: var(--serif); font-style: italic;
    font-size: 13px; font-weight: 800;
    padding: 4px 10px;
    background: var(--accent); color: var(--bg);
    border-radius: 6px;
  }
  .card-body {
    padding: 18px;
    display: flex; flex-direction: column; flex: 1; gap: 10px;
  }
  .card-seller {
    display: flex; align-items: center; gap: 8px;
    font-size: 11px; color: var(--text-dim);
  }
  .card-seller-avatar {
    width: 20px; height: 20px; border-radius: 50%;
    object-fit: cover; border: 1px solid var(--border);
    background: var(--bg-2);
  }
  .card-seller-name { color: var(--text-mid); font-weight: 500; text-decoration: none; transition: color 0.15s; }
  a.card-seller-name:hover { color: var(--accent); }
  .card-title {
    font-family: var(--serif);
    font-weight: 700; font-size: 18px;
    line-height: 1.25; color: var(--text);
    letter-spacing: -0.01em;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
  }
  .card-desc {
    font-size: 12.5px; color: var(--text-mid); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
  }
  .card-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; }
  .stars { display: inline-flex; gap: 1px; }
  .stars svg { width: 13px; height: 13px; }
  .star-filled { color: var(--gold); fill: var(--gold); }
  .star-empty  { color: var(--border); fill: var(--border); }
  .rating-num   { font-weight: 600; color: var(--text); }
  .rating-count { color: var(--text-dim); }
  .card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
  .card-tag {
    font-family: var(--mono);
    font-size: 9.5px; padding: 3px 7px;
    background: var(--bg-2); color: var(--text-mid);
    border: 1px solid var(--border); border-radius: 4px;
    text-transform: lowercase;
  }
  .card-tag.empty { color: var(--text-dim); font-style: italic; border-style: dashed; }
  .card-foot {
    margin-top: auto; padding-top: 12px;
    border-top: 1px solid var(--border-soft);
    display: flex; align-items: flex-end; justify-content: space-between;
  }
  .card-price {
    font-family: var(--serif);
    font-weight: 800; font-size: 22px;
    color: var(--text); letter-spacing: -0.02em;
  }
  .card-price .currency { font-size: 13px; color: var(--text-dim); font-weight: 600; margin-right: 2px; }
  .card-price.free { color: var(--green); font-style: italic; }
  .card-category {
    font-family: var(--mono); font-size: 9.5px;
    color: var(--text-dim); text-transform: uppercase;
    letter-spacing: 0.1em; text-align: right; max-width: 50%;
  }
  .card-distribution {
    display: inline-block; margin-top: 2px;
    font-family: var(--mono); font-size: 9px;
    color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em;
  }

  /* ── Featured-seller spotlight card (full row width) ─────────────── */
  .promo-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 0;
    background:
      linear-gradient(135deg, var(--accent-soft) 0%, transparent 60%),
      var(--surface);
    border: 1px solid var(--accent);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    min-height: 200px;
  }
  .promo-card::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 600px 300px at 0% 50%, var(--accent-glow), transparent 70%);
    pointer-events: none;
    opacity: 0.4;
  }
  .promo-logo {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    padding: 28px;
    border-right: 1px solid var(--border-soft);
  }
  .promo-logo img {
    width: 100%; height: auto;
    max-width: 184px; max-height: 184px;
    aspect-ratio: 1;
    object-fit: contain;
    background: var(--bg);
    border: 4px solid var(--surface-2);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
  .promo-logo.fallback {
    background: var(--surface-2);
  }
  .promo-logo.fallback span,
  .promo-logo-initial {
    font-family: var(--serif); font-style: italic;
    font-weight: 800;
    font-size: 88px;
    color: var(--accent);
    line-height: 1;
  }
  .promo-body {
    position: relative; z-index: 1;
    padding: 28px 32px;
    display: flex; flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
  .promo-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--mono); font-size: 10px;
    color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.22em;
    font-weight: 700;
  }
  .promo-eyebrow svg { color: var(--accent); }
  .promo-name {
    font-family: var(--serif); font-style: italic;
    font-weight: 800; font-size: 34px;
    line-height: 1.1; letter-spacing: -0.025em;
    color: var(--text);
    margin: 0;
  }
  .promo-name a { color: inherit; text-decoration: none; transition: color 0.15s; }
  .promo-name a:hover { color: var(--accent); }
  .promo-bio {
    font-size: 13.5px; line-height: 1.6;
    color: var(--text-mid);
    margin: 0;
    max-width: 640px;
  }
  .promo-foot {
    margin-top: 6px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .promo-thumbs { display: flex; gap: 10px; }
  .promo-thumb {
    width: 62px; height: 62px;
    border-radius: 11px;
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.15s, border-color 0.15s;
  }
  .promo-thumb:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
  }
  .promo-thumb img {
    width: 100%; height: 100%; object-fit: cover;
  }
  .promo-thumb.no-img {
    background: var(--surface-2);
  }
  .promo-thumb-letter {
    font-family: var(--serif); font-style: italic;
    font-weight: 800; font-size: 24px;
    color: var(--text-dim);
  }
  .promo-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    border-radius: 999px;
    transition: background 0.15s, transform 0.15s;
    text-decoration: none;
    white-space: nowrap;
  }
  .promo-cta:hover {
    background: #d4541f;
    transform: translateX(2px);
  }
  @media (max-width: 720px) {
    .promo-card { grid-template-columns: 1fr; }
    .promo-logo { padding: 24px; border-right: none; border-bottom: 1px solid var(--border-soft); }
    .promo-logo img { max-width: 132px; max-height: 132px; }
    .promo-body { padding: 22px 22px 24px; }
    .promo-name { font-size: 26px; }
    .promo-foot { flex-direction: column; align-items: flex-start; }
  }

  /* ── States ─────────────────────────────── */
  .state { padding: 80px 24px; text-align: center; color: var(--text-mid); }
  .state h3 {
    font-family: var(--serif); font-size: 32px; font-style: italic;
    color: var(--text); margin-bottom: 8px;
  }
  .skeleton {
    background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
    border-radius: 16px;
  }
  .skeleton-card { aspect-ratio: 4/5; }
  @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

  /* ── Pagination ─────────────────────────── */
  .pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 8px; margin-top: 48px;
  }
  .page-btn {
    min-width: 40px; height: 40px; border-radius: 10px;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text-mid); font-family: var(--mono);
    font-size: 12px; font-weight: 600;
    transition: all 0.15s; padding: 0 12px;
  }
  .page-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
  .page-btn.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }
  .page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

  /* ── Modal ─────────────────────────────── */
  .modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: none;
    align-items: center; justify-content: center;
    padding: 24px;
    animation: fadeIn 0.2s;
  }
  .modal-overlay.open { display: flex; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .modal {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    max-width: 720px; width: 100%;
    max-height: 90vh; overflow: auto;
    position: relative;
  }
  .modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
    border-radius: 50%; color: white; z-index: 5;
    display: flex; align-items: center; justify-content: center;
  }
  .modal-hero {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--surface); overflow: hidden;
    border-radius: 20px 20px 0 0;
  }
  .modal-hero img {
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.2s;
  }
  .modal-hero img.fading { opacity: 0; }
  .modal-gallery-nav {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    width: 36px; height: 36px;
    background: rgba(12, 13, 16, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s;
    z-index: 4;
  }
  .modal-gallery-nav:hover { background: var(--accent); border-color: var(--accent); }
  .modal-gallery-nav.prev { left: 14px; }
  .modal-gallery-nav.next { right: 14px; }
  .modal-gallery-nav svg { width: 18px; height: 18px; }
  .modal-gallery-counter {
    position: absolute;
    bottom: 12px; left: 16px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text);
    background: rgba(12,13,16,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 4px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    z-index: 4;
  }
  .modal-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 32px 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }
  .modal-thumbs::-webkit-scrollbar { height: 4px; }
  .modal-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
  .modal-thumb {
    flex-shrink: 0;
    width: 64px; height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--surface);
    transition: all 0.15s;
    padding: 0;
  }
  .modal-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.15s;
    opacity: 0.65;
  }
  .modal-thumb:hover img { opacity: 1; }
  .modal-thumb.active { border-color: var(--accent); }
  .modal-thumb.active img { opacity: 1; }

  .modal-body { padding: 24px 32px 32px; }
  .modal h2 {
    font-family: var(--serif); font-weight: 800;
    font-size: 32px; line-height: 1.1;
    letter-spacing: -0.02em; margin-bottom: 8px;
  }
  .modal-meta {
    display: flex; flex-wrap: wrap; gap: 16px;
    margin: 16px 0 20px; padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 12px; color: var(--text-mid);
  }
  .modal-meta span { display: flex; align-items: center; gap: 6px; }
  .modal-desc {
    color: var(--text-mid); white-space: pre-wrap;
    margin-bottom: 20px; line-height: 1.65; font-size: 14px;
  }
  .modal-json {
    background: #0a0b0e; border: 1px solid var(--border);
    border-radius: 10px; padding: 16px;
    font-family: var(--mono); font-size: 11px;
    color: var(--text-mid); overflow-x: auto;
    margin-top: 16px;
  }
  .modal-section-title {
    font-family: var(--mono); font-size: 10px;
    color: var(--text-dim); text-transform: uppercase;
    letter-spacing: 0.2em; margin-top: 16px; margin-bottom: 8px;
  }

  /* ── Reviews list ─────────────────── */
  .reviews-block {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }
  .reviews-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 16px;
  }
  .reviews-head h3 {
    font-family: var(--serif); font-style: italic;
    font-size: 24px; font-weight: 700;
    color: var(--text); letter-spacing: -0.02em;
  }
  .reviews-head .summary {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-mid);
  }
  .review-list {
    display: flex; flex-direction: column; gap: 14px;
    max-height: 360px; overflow-y: auto;
    padding-right: 4px;
  }
  .review-list::-webkit-scrollbar { width: 4px; }
  .review-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
  .review {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 14px 16px;
  }
  .review-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 8px; gap: 12px;
  }
  .review-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
  }
  .review-date {
    font-family: var(--mono); font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.1em;
  }
  .review-stars { display: inline-flex; gap: 1px; margin-bottom: 6px; }
  .review-stars svg { width: 12px; height: 12px; }
  .review-text {
    font-size: 13px; color: var(--text-mid);
    line-height: 1.55;
    white-space: pre-wrap;
  }
  .empty-block {
    padding: 24px;
    text-align: center;
    color: var(--text-dim);
    font-style: italic;
    font-size: 13px;
    border: 1px dashed var(--border);
    border-radius: 10px;
  }

  /* ── FAQ accordion (used in modal + market info popup) ─────── */
  .faq-block {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }
  .faq-block h3 {
    font-family: var(--serif); font-style: italic;
    font-size: 24px; font-weight: 700;
    color: var(--text); letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .faq-block h3 .scope {
    font-family: var(--mono); font-size: 10px;
    color: var(--text-dim); font-style: normal;
    text-transform: uppercase; letter-spacing: 0.2em;
    margin-left: 10px; font-weight: 500;
    vertical-align: middle;
  }
  .faq-item {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
  }
  .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    font-weight: 600; font-size: 13.5px;
    color: var(--text);
    transition: background 0.15s;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary:hover { background: var(--surface-2); }
  .faq-item .faq-icon {
    flex-shrink: 0;
    width: 16px; height: 16px;
    color: var(--accent);
    transition: transform 0.2s;
  }
  .faq-item[open] .faq-icon { transform: rotate(45deg); }
  .faq-item .faq-answer {
    padding: 0 16px 16px;
    color: var(--text-mid);
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    border-top: 1px solid var(--border-soft);
    padding-top: 14px;
  }

  /* ── Terms block ─────────────────────── */
  .terms-block {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }
  .terms-block h3 {
    font-family: var(--serif); font-style: italic;
    font-size: 24px; font-weight: 700;
    color: var(--text); letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .terms-block h3 .scope {
    font-family: var(--mono); font-size: 10px;
    color: var(--text-dim); font-style: normal;
    text-transform: uppercase; letter-spacing: 0.2em;
    margin-left: 10px; font-weight: 500;
    vertical-align: middle;
  }
  .terms-body {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 12px;
    max-height: 280px;
    overflow-y: auto;
    color: var(--text-mid);
    font-size: 13px;
    line-height: 1.6;
  }
  .terms-body::-webkit-scrollbar { width: 4px; }
  .terms-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
  /* Tame HTML coming back from the API (h tags, p, ul, etc) */
  .terms-body h1, .terms-body h2, .terms-body h3, .terms-body h4 {
    font-family: var(--serif);
    font-weight: 700;
    color: var(--text);
    margin: 14px 0 8px;
    font-size: 15px;
    line-height: 1.3;
  }
  .terms-body h1:first-child, .terms-body h2:first-child { margin-top: 0; }
  .terms-body p { margin: 0 0 10px; }
  .terms-body ul, .terms-body ol { padding-left: 22px; margin: 8px 0 10px; }
  .terms-body li { margin: 4px 0; }
  .terms-body a { color: var(--accent); }
  .terms-body strong { color: var(--text); }
  .terms-body code {
    font-family: var(--mono);
    background: var(--bg-2);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 11px;
  }

  /* Lazy-loading placeholder for the seller block */
  .lazy-loading {
    padding: 20px;
    text-align: center;
    color: var(--text-dim);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
  }
  .lazy-loading::after {
    content: "...";
    display: inline-block;
    width: 16px;
    text-align: left;
    animation: dots 1.4s steps(4) infinite;
  }
  @keyframes dots {
    0%, 33%   { content: ".";   }
    34%, 66%  { content: "..";  }
    67%, 100% { content: "..."; }
  }

  /* ── Market info button + popup trigger ── */
  .market-info-trigger {
    margin-top: 22px;
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 11px;
    padding: 9px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.15s;
    cursor: pointer;
  }
  .market-info-trigger:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  .market-info-trigger svg { width: 13px; height: 13px; }

  /* ── SKU Variants ─────────────────── */
  .variants {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px;
    margin: 20px 0 16px;
  }
  .variants-title {
    font-family: var(--mono); font-size: 10px;
    color: var(--accent); text-transform: uppercase;
    letter-spacing: 0.2em; margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
  }
  .variants-title::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 6px var(--accent);
  }
  .variant-group {
    margin-bottom: 14px;
  }
  .variant-group:last-of-type { margin-bottom: 0; }
  .variant-label {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 7px;
    font-size: 12px; color: var(--text);
    font-weight: 600;
  }
  .variant-required {
    font-family: var(--mono); font-size: 9px;
    color: var(--red); text-transform: uppercase;
    letter-spacing: 0.1em; font-weight: 700;
  }
  .variant-optional {
    font-family: var(--mono); font-size: 9px;
    color: var(--text-dim); text-transform: uppercase;
    letter-spacing: 0.1em; font-weight: 500;
  }
  .variant-select-wrap {
    position: relative;
  }
  .variant-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    padding: 11px 40px 11px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
  }
  .variant-select:hover {
    border-color: var(--text-dim);
  }
  .variant-select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-2);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .variant-select.unselected {
    color: var(--text-dim);
    font-style: italic;
  }
  .variant-select.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
  }
  .variant-select-wrap::after {
    content: "";
    position: absolute; right: 16px; top: 50%;
    transform: translateY(-30%) rotate(45deg);
    width: 7px; height: 7px;
    border-right: 2px solid var(--text-mid);
    border-bottom: 2px solid var(--text-mid);
    pointer-events: none;
  }

  .price-summary {
    margin-top: 18px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 10px;
    display: flex; flex-direction: column; gap: 6px;
    font-size: 12px;
  }
  .price-row {
    display: flex; align-items: center; justify-content: space-between;
    color: var(--text-mid);
  }
  .price-row.total {
    margin-top: 6px; padding-top: 10px;
    border-top: 1px solid var(--border);
    color: var(--text);
  }
  .price-row.total .amount {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 800;
    font-size: 22px;
    color: var(--accent);
    letter-spacing: -0.02em;
  }
  .price-row .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
  .price-row .upcharge { color: var(--gold); }

  .variant-action {
    margin-top: 14px;
    display: flex; gap: 10px;
    align-items: center;
  }
  .add-to-cart-btn {
    flex: 1;
    padding: 13px 20px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 10px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.15s;
  }
  .add-to-cart-btn:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-1px);
  }
  .add-to-cart-btn:disabled {
    background: var(--surface);
    color: var(--text-dim);
    cursor: not-allowed;
  }
  .variant-payload {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    background: #0a0b0e;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    margin-top: 10px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .variant-payload .key { color: var(--text-mid); }
  .variant-payload .val { color: var(--accent); }

  /* mobile */
  @media (max-width: 900px) {
    .content { grid-template-columns: 1fr; gap: 24px; }
    .sidebar { position: relative; top: 0; max-height: none; }
    .util-inner { flex-wrap: wrap; padding: 12px 20px; gap: 12px; }
    .search-wrap { order: 3; max-width: 100%; }
    .hero { padding: 56px 20px 40px; }
    .hero-meta { gap: 32px; }
    .content { padding: 0 20px 60px; }
    .toolbar { flex-direction: column; align-items: stretch; }
  }
