    :root {
      color-scheme: light dark;
      --forest: #173f2a;
      --forest-deep: #0d2d1d;
      --forest-soft: #2c6144;
      --leaf: #3e7657;
      /* Palette law (Cliff, 2026-10-17): green + white ONLY - no gold/yellow
         ("We can't use green and yellow. Thats Augusta national."). The --gold
         variable name is kept so every existing rule still resolves, but its
         value is now deep green; text that was paired dark-on-gold was flipped
         to white/light alongside. */
      --gold: #2c6144;
      --gold-hover: #3e7657;
      --paper: #f3f5ef;
      --surface: #ffffff;
      --surface-2: #e8eee8;
      --ink: #17211b;
      --muted: #526158;
      --line: #cad4cc;
      --danger: #9d2f2f;
      --shadow: 0 8px 24px rgba(20, 45, 31, .11);
      --header-h: 124px;
    }
    
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-width: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: Aptos, "Segoe UI", system-ui, sans-serif;
      line-height: 1.5;
    }
    button, input, select, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a { color: inherit; }
    .skip-link {
      position: fixed; left: 12px; top: -60px; z-index: 100;
      background: var(--gold); color: #fff; padding: 10px 14px; font-weight: 800;
    }
    .skip-link:focus { top: 12px; }
    .site-header {
      position: sticky; top: 0; z-index: 20;
      background: var(--forest-deep); color: white;
      box-shadow: 0 2px 12px rgba(0,0,0,.2);
    }
    .header-row {
      max-width: 1320px; margin: 0 auto; min-height: var(--header-h);
      display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center; gap: 18px; padding: 12px 22px;
    }
    .header-row > * { min-width: 0; }
    .header-row > * { min-width: 0; }
    .back-link {
      text-decoration: none; font-weight: 800; display: inline-flex; align-items: center; gap: 7px;
      white-space: nowrap;
    }
    .back-link:hover, .back-link:focus-visible { color: #dce9df; }
    .search-shell {
      display: grid; grid-template-columns: 1fr auto; overflow: hidden; min-width: 0; min-width: 0;
      border-radius: 7px; background: white; outline: 3px solid transparent;
    }
    .search-shell:focus-within { outline-color: var(--leaf); }
    .search-shell input {
      min-width: 0; border: 0; color: #152019; background: white; padding: 12px 14px; outline: 0;
    }
    .search-shell button {
      border: 0; background: var(--gold); color: #fff; padding: 0 18px; font-weight: 900; cursor: pointer;
    }
    .cart-button {
      border: 1px solid rgba(255,255,255,.35); color: white; background: transparent;
      border-radius: 7px; padding: 10px 12px; cursor: pointer; font-weight: 800;
      display: inline-flex; align-items: center; gap: 8px;
    }
    .cart-button:hover, .cart-button:focus-visible { border-color: #dce9df; color: #dce9df; }
    .count-badge {
      display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
      border-radius: 999px; background: var(--gold); color: #fff; font-size: .82rem;
    }
    /* Share + QR strip (Cliff, 2026-10-15): small, sits on its own in-flow
       line directly under the masthead row (below Log in) and above the
       search row, right-aligned — pinned to header-grid row 2, overlays nothing. */
    .share-qr-bar {
      grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: flex-end; gap: 8px;
    }
    .share-qr-hint { font-size: .8rem; color: #dce9df; white-space: nowrap; }
    .share-status { font-size: .82rem; color: #dce9df; font-weight: 700; }
    .share-status:empty { display: none; }
    .share-btn {
      display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 11px;
      border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent;
      color: white; font-weight: 800; font-size: .88rem; cursor: pointer; white-space: nowrap;
    }
    .share-btn:hover, .share-btn:focus-visible { border-color: #dce9df; color: #dce9df; }
    .share-qr-tile { background: white; border-radius: 7px; padding: 3px; line-height: 0; flex: none; }
    .share-qr-tile img { width: 38px; height: 38px; display: block; }
    /* Share sheet (Cliff, 2026-10-15): when the phone's own share sheet cannot
       open (in-app browsers without navigator.share, or a rejected share call),
       this panel opens instead — a tap on Share must ALWAYS open something. */
    .share-sheet-backdrop { position: fixed; inset: 0; z-index: 3000; background: rgba(6,20,12,.55); display: flex; align-items: flex-end; justify-content: center; }
    .share-sheet-backdrop[hidden] { display: none; }
    .share-sheet { background: #fff; color: #172116; width: 100%; max-width: 480px; border-radius: 18px 18px 0 0; padding: 20px 20px 26px; box-shadow: 0 -12px 40px rgba(0,0,0,.3); text-align: center; }
    .share-sheet h3 { margin: 0 0 4px; font: 700 1.3rem Georgia, serif; }
    .share-sheet p { margin: 0 0 14px; color: #43544a; font-size: .95rem; }
    .share-sheet img { width: 120px; height: 120px; border: 1px solid #d8e2da; border-radius: 10px; padding: 6px; background: #fff; }
    .share-sheet-url { width: 100%; box-sizing: border-box; margin: 14px 0 12px; padding: 11px 12px; border: 1px solid #b9c6bc; border-radius: 10px; font: inherit; font-size: .95rem; color: #172116; background: #f4f8f4; text-align: center; }
    .share-sheet-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
    .share-sheet-actions button { min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; border: 1px solid #0d2d1d; background: #0d2d1d; color: #fff; }
    .share-sheet-actions button.secondary { background: #fff; color: #0d2d1d; }
    .share-sheet-status { min-height: 1.2em; margin: 10px 0 0; font-size: .92rem; font-weight: 700; color: #0d2d1d; }
    /* Hide-the-top toggle + quick jump (Cliff, 2026-10-15: "make an arrow to
       make the top part hidden like the other site" + "a quick jump" to top). */
    .top-toggle-bar { position: sticky; top: 0; z-index: 18; display: flex; align-items: center; gap: 10px; padding: 6px 16px; }
    body.top-hidden .top-toggle-bar { background: var(--forest-deep); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.2); }
    .ttb-name { font: 800 1.1rem Georgia, serif; color: #fff; white-space: nowrap; }
    .ttb-cart { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
    .top-toggle { margin-left: auto; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: #12241a; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
    .ttb-cart:not([hidden]) + .top-toggle { margin-left: 0; }
    .top-toggle svg { transition: transform .25s ease; }
    .top-toggle.flipped svg { transform: rotate(180deg); }
    body.top-hidden .site-header, body.top-hidden .intro, body.top-hidden .mole-search-wrap, body.top-hidden .supply-banner { display: none !important; }
    .quick-top { position: fixed; right: 16px; bottom: 18px; z-index: 60; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #12241a; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
    .quick-top[hidden] { display: none; }
    @media (max-width: 520px) { .share-qr-hint { display: none; } }
    .intro {
      background: var(--forest); color: white;
      padding: 34px 22px 30px;
    }
    .intro-inner { max-width: 1320px; margin: auto; }
    .intro h1 {
      margin: 0; max-width: 760px; font: 700 clamp(2rem, 5vw, 4.5rem)/.98 Georgia, serif;
      letter-spacing: -.035em;
    }
    .intro p { max-width: 670px; margin: 16px 0 0; color: #dce9df; font-size: 1.05rem; }
    .intro .intro-links { font-size: .95rem; }
    .intro .intro-links a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
    .trust-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: .9rem; }
    .trust-line span { display: inline-flex; align-items: center; gap: 7px; }
    .trust-line i { width: 7px; height: 7px; border-radius: 50%; background: #dce9df; }
    .mole-search-wrap {
      max-width: 1320px; margin: -18px auto 0; padding: 0 22px; position: relative; z-index: 2;
    }
    .mole-search {
      background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
      padding: 20px; display: grid; grid-template-columns: minmax(0, .6fr) minmax(320px, 1.4fr); gap: 22px; align-items: center;
    }
    .mole-search h2 { margin: 0 0 5px; font: 700 1.45rem Georgia, serif; }
    .ai-label { color: var(--forest-soft); font-size: .76rem; font-weight: 900; letter-spacing: .05em; }
    .mole-search p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
    .mole-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
    .mole-form input {
      min-width: 0; border: 2px solid var(--forest-soft); border-radius: 7px; background: var(--paper); color: var(--ink); padding: 12px 13px; outline: 0;
    }
    .mole-form input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--leaf) 24%, transparent); }
    .ai-response {
      max-width: 1320px; margin: 12px auto 0; padding: 0 22px; display: none;
    }
    .ai-response.visible { display: block; }
    .ai-message { background: color-mix(in srgb, var(--gold) 15%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); border-radius: 8px; padding: 12px 14px; }
    .ai-message strong { display: block; margin-bottom: 2px; }
    .ai-message span { color: var(--muted); }
    .categories {
      max-width: 1320px; margin: 0 auto; padding: 20px 22px 0;
    }
    .section-label { margin: 0 0 10px; font-weight: 900; font-size: .92rem; }
    .chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
    .chip {
      border: 1px solid var(--line); background: var(--surface); color: var(--ink);
      border-radius: 999px; padding: 8px 13px; cursor: pointer; font-weight: 700; font-size: .9rem;
    }
    .chip:hover, .chip:focus-visible { border-color: var(--leaf); }
    .chip.active { background: var(--forest); color: white; border-color: var(--forest); }
    .supply-banner { max-width: 1320px; margin: 22px auto 0; padding: 0 22px; }
    .supply-inner {
      background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
      padding: 22px; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 22px; align-items: center;
      border-left: 6px solid var(--leaf);
    }
    .supply-inner h2 { margin: 0 0 6px; font: 700 1.6rem Georgia, serif; }
    .supply-inner p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
    .supply-links { display: flex; flex-wrap: wrap; gap: 9px; }
    .supply-link {
      border: 1px solid var(--leaf); background: color-mix(in srgb, var(--leaf) 10%, var(--surface));
      color: var(--forest-deep); border-radius: 999px; padding: 9px 14px; cursor: pointer; font-weight: 800; font-size: .88rem;
    }
    .supply-link:hover, .supply-link:focus-visible { background: var(--forest); color: white; border-color: var(--forest); }
    .supply-link.all { background: var(--gold); border-color: var(--gold); color: #fff; }
    .supply-link.all:hover, .supply-link.all:focus-visible { background: var(--gold-hover); color: #fff; }
    .chem-notice {
      background: color-mix(in srgb, var(--gold) 16%, var(--surface));
      border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--line));
      border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; font-size: .86rem; color: var(--ink);
    }
    .chem-notice strong { font-weight: 900; }
    .brand-directory {
      max-width: 1320px; margin: 20px auto 0; padding: 0 22px;
    }
    .brand-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
    .brand-panel h2 { margin: 0 0 4px; font: 700 1.35rem Georgia, serif; }
    .brand-links { display: grid; gap: 14px; margin: 13px 0; }
    .brand-group { display: grid; gap: 7px; }
    .brand-group h3 { margin: 0; color: var(--muted); font-size: .78rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
    .brand-link-list { display: flex; flex-wrap: wrap; gap: 7px 16px; }
    .brand-links a { color: var(--forest-soft); font-weight: 800; text-underline-offset: 3px; }
    .brand-links a:hover, .brand-links a:focus-visible { color: var(--ink); }
    .brand-disclaimer { margin: 0; color: var(--muted); font-size: .78rem; }
    .market-layout {
      max-width: 1320px; margin: 0 auto; padding: 24px 22px 52px;
      display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start;
      scroll-margin-top: calc(var(--header-h) + 12px);
    }
    .mobile-filter-bar { display: none; }
    .results { scroll-margin-top: calc(var(--header-h) + 12px); }
    .filters {
      background: var(--surface); padding: 20px; border: 1px solid var(--line); border-radius: 10px;
      position: sticky; top: calc(var(--header-h) + 14px);
    }
    .filters h2 { margin: 0 0 16px; font: 700 1.25rem Georgia, serif; }
    .field { margin-bottom: 16px; }
    .field label, .field legend { display: block; margin-bottom: 6px; font-weight: 800; font-size: .85rem; }
    .field input, .field select, .listing-form input, .listing-form select, .listing-form textarea {
      width: 100%; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
      border-radius: 6px; padding: 10px 11px; outline: 0;
    }
    .field input:focus, .field select:focus, .listing-form input:focus, .listing-form select:focus, .listing-form textarea:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px color-mix(in srgb, var(--leaf) 24%, transparent); }
    .price-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .radio-stack { display: grid; gap: 8px; }
    .radio-stack label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
    .reset-button { width: 100%; border: 0; background: var(--surface-2); color: var(--ink); padding: 10px; border-radius: 6px; cursor: pointer; font-weight: 800; }
    .results-head { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; margin-bottom: 14px; }
    .results-head h2 { margin: 0; font: 700 clamp(1.5rem, 3vw, 2.15rem) Georgia, serif; }
    #resultCount { color: var(--muted); font-size: .9rem; }
    .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .product-card {
      position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
      overflow: hidden; min-width: 0; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0,0,0,.03);
    }
    .card-hit {
      color: inherit; background: transparent; border: 0; padding: 0; text-align: left; cursor: pointer;
      display: flex; flex-direction: column; height: 100%; width: 100%;
    }
    .product-card:hover { box-shadow: var(--shadow); border-color: var(--leaf); }
    .card-add {
      position: absolute; right: 8px; bottom: 8px; z-index: 2;
      background: var(--gold); color: #fff; border: 0; border-radius: 7px;
      font-weight: 900; font-size: 13px; padding: 8px 14px; cursor: pointer;
      box-shadow: 0 1px 3px rgba(0,0,0,.25);
    }
    .card-add:active { transform: scale(.96); }
    .card-details {
      display: block; padding: 9px 84px 11px 15px; border-top: 1px solid var(--line);
      color: var(--forest-soft); font-weight: 800; font-size: .85rem; text-decoration: none;
    }
    .card-details:hover, .card-details:focus-visible { color: var(--leaf); text-decoration: underline; }
    .product-media {
      margin: 0; background: #fff; border-bottom: 1px solid var(--line);
    }
    .product-photo {
      display: block; width: 100%; height: 176px; object-fit: contain; background: #fff;
    }
    .photo-attribution {
      min-height: 25px; padding: 5px 10px; background: var(--surface-2); color: var(--muted);
      font-size: .68rem; font-weight: 700; line-height: 1.35;
    }
    .photo-placeholder {
      min-height: 201px; display: grid; place-items: center; padding: 18px;
      background: var(--surface-2); color: var(--muted); border-bottom: 1px solid var(--line);
      text-align: center; font-size: .8rem; font-weight: 800;
    }
    .product-copy { padding: 15px 70px 18px 15px; display: flex; flex-direction: column; flex: 1; }
    .condition { align-self: flex-start; color: var(--forest-soft); background: color-mix(in srgb, var(--forest-soft) 13%, transparent); padding: 3px 7px; border-radius: 4px; font-size: .75rem; font-weight: 900; }
    .product-title { margin: 9px 0 5px; font-size: 1rem; line-height: 1.3; font-weight: 800; }
    .price { margin: 0; font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; }
    /* AMAZON23: fee/total line under prices on cards + detail (muted, one line) */
    .fee-line { margin: 3px 0 0; font-size: .8rem; font-weight: 700; color: var(--muted, #5c6f60); }
    .detail-fee { font-size: .92rem; margin: 0 0 8px; }
    .seller { margin: auto 0 0; padding-top: 13px; color: var(--muted); font-size: .84rem; }
    .rating { margin-top: 3px; font-size: .84rem; color: var(--forest-soft); font-weight: 800; }
    
    .empty-state { display: none; padding: 42px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: 10px; }
    .empty-state h3 { margin: 0 0 6px; }
    .sell-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .sell-inner { max-width: 1100px; margin: auto; padding: 54px 22px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; }
    .sell-copy h2 { margin: 0; font: 700 clamp(1.8rem, 4vw, 3rem) Georgia, serif; }
    .sell-copy p { color: var(--muted); }
    .seller-terms { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
    .seller-terms li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
    .seller-terms strong { color: var(--forest-soft); }
    .number-dot { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 900; font-size: .78rem; }
    .listing-form { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
    .listing-form h3 { margin: 0 0 4px; }
    .form-note { color: var(--muted); font-size: .85rem; margin: 0 0 18px; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-grid .wide { grid-column: 1 / -1; }
    .listing-form label { display: block; margin-bottom: 5px; font-size: .83rem; font-weight: 800; }
    textarea { min-height: 100px; resize: vertical; }
    .primary-button {
      border: 0; border-radius: 6px; background: var(--gold); color: #fff; padding: 12px 17px;
      font-weight: 900; cursor: pointer;
    }
    .primary-button:hover, .primary-button:focus-visible { background: var(--gold-hover); }
    .listing-form .primary-button { width: 100%; margin-top: 16px; }
    .form-status { min-height: 22px; margin: 10px 0 0; color: var(--forest-soft); font-weight: 800; font-size: .88rem; }
    footer { background: var(--forest-deep); color: #dce9df; padding: 30px 22px calc(30px + env(safe-area-inset-bottom)); }
    .footer-inner { max-width: 1100px; margin: auto; display: grid; gap: 7px; font-size: .86rem; }
    footer p { margin: 0; }
    footer a { color: white; font-weight: 800; }
    .overlay { position: fixed; inset: 0; background: rgba(4,14,8,.62); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .18s; }
    .overlay.open { opacity: 1; pointer-events: auto; }
    .drawer {
      position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(440px, 100%);
      background: var(--surface); color: var(--ink); transform: translateX(102%); transition: transform .22s ease;
      display: flex; flex-direction: column; box-shadow: -20px 0 40px rgba(0,0,0,.25);
    }
    .drawer.open { transform: translateX(0); }
    .drawer-head, .modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 20px; border-bottom: 1px solid var(--line); }
    .drawer-head h2, .modal-head h2 { margin: 0; font: 700 1.5rem Georgia, serif; }
    .icon-button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; font-size: 1.35rem; }
    .drawer-body { padding: 18px 20px; overflow: auto; flex: 1; }
    .cart-empty { text-align: center; padding: 56px 10px; color: var(--muted); }
    .cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
    .cart-item { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
    .ships-from { font-size: .82rem; color: var(--muted); margin: 6px 0 0; line-height: 1.4; }
    .cart-top { display: flex; justify-content: space-between; gap: 12px; }
    .cart-top strong { line-height: 1.3; }
    .cart-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
    .qty-control { display: flex; align-items: center; gap: 8px; }
    .qty-control input { width: 64px; padding: 7px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 5px; }
    .text-button { border: 0; background: none; color: var(--danger); cursor: pointer; font-weight: 800; padding: 6px 0; }
    .totals { border-top: 2px solid var(--line); margin-top: 20px; padding-top: 15px; display: grid; gap: 8px; }
    .total-row { display: flex; justify-content: space-between; gap: 16px; }
    .total-row.grand { font-size: 1.15rem; font-weight: 900; padding-top: 8px; }
    .preview-note { background: color-mix(in srgb, var(--gold) 20%, transparent); padding: 10px 12px; border-radius: 6px; font-size: .84rem; margin: 16px 0; }
    .checkout-button { width: 100%; }
    .confirmation { text-align: center; padding: 44px 10px; }
    .confirmation-mark { width: 58px; height: 58px; margin: 0 auto 15px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-soft); color: white; font-size: 1.8rem; }
    .confirmation h3 { margin: 0 0 8px; font: 700 1.6rem Georgia, serif; }
    .confirmation p { color: var(--muted); }
    .confirmation-detail { margin: 4px 0; }
    .modal {
      position: fixed; z-index: 60; inset: 4vh max(16px, calc((100vw - 920px)/2));
      background: var(--surface); color: var(--ink); border-radius: 12px; box-shadow: 0 28px 70px rgba(0,0,0,.38);
      display: none; overflow: hidden;
    }
    .modal.open { display: flex; flex-direction: column; }
    .modal-body { overflow: auto; padding: 22px; }
    .detail-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
    .detail-photo { min-height: 320px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
    .detail-media { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
    .detail-media .product-photo { height: 320px; }
    .detail-copy h3 { margin: 10px 0 6px; font: 700 1.8rem/1.15 Georgia, serif; }
    .detail-price { margin: 0 0 16px; font-size: 1.55rem; font-weight: 900; }
    .detail-description { color: var(--muted); }
    .spec-list { margin: 18px 0; border-top: 1px solid var(--line); }
    .spec-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
    .spec-row dt { font-weight: 900; }
    .spec-row dd { margin: 0; }
    .seller-box { background: var(--surface-2); border-radius: 8px; padding: 14px; font-size: .9rem; }
    .buy-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; margin-top: 16px; }
    .buy-row input { width: 100%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 11px; border-radius: 6px; }
    body.locked { overflow: hidden; }
    .sort-bar { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; }
    .sort-bar label { font-weight: 800; font-size: .88rem; }
    .sort-bar select {
      border: 1px solid var(--line); background: var(--paper); color: var(--ink);
      border-radius: 6px; padding: 9px 10px; outline: 0; max-width: 100%;
    }
    .sort-bar select:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px color-mix(in srgb, var(--leaf) 24%, transparent); }
    .best-badge {
      position: absolute; top: 8px; left: 8px; z-index: 2;
      background: var(--leaf); color: #fff; border-radius: 999px; padding: 4px 9px;
      font-size: .72rem; font-weight: 900; letter-spacing: .02em; box-shadow: 0 1px 3px rgba(0,0,0,.25);
    }
    .card-compare {
      position: absolute; top: 8px; right: 8px; z-index: 2;
      background: var(--surface); color: var(--forest-deep); border: 1px solid var(--line);
      border-radius: 999px; padding: 6px 11px; font-size: .78rem; font-weight: 800; cursor: pointer;
      box-shadow: 0 1px 3px rgba(0,0,0,.18);
    }
    .card-compare:hover, .card-compare:focus-visible { border-color: var(--leaf); }
    .card-compare.selected { background: var(--forest); border-color: var(--forest); color: #fff; }
    .compare-bar {
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
      background: var(--forest-deep); color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.28);
      transform: translateY(110%); transition: transform .22s ease;
      padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    }
    .compare-bar.open { transform: translateY(0); }
    .compare-bar-inner { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    .compare-thumbs { display: flex; gap: 7px; }
    .compare-thumb { width: 44px; height: 44px; border-radius: 7px; object-fit: cover; background: #fff; border: 2px solid rgba(255,255,255,.5); }
    .compare-thumb-empty { width: 44px; height: 44px; border-radius: 7px; border: 2px dashed rgba(255,255,255,.45); display: grid; place-items: center; font-weight: 900; color: rgba(255,255,255,.7); font-size: .8rem; }
    .compare-meta { display: grid; gap: 1px; margin-right: auto; min-width: 118px; }
    .compare-count { font-weight: 900; font-size: .92rem; }
    .compare-note { font-size: .8rem; color: #dce9df; }
    .compare-clear { border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; border-radius: 6px; padding: 9px 12px; font-weight: 800; cursor: pointer; }
    .compare-go { border: 0; border-radius: 6px; background: var(--gold); color: #fff; padding: 11px 16px; font-weight: 900; cursor: pointer; }
    .compare-go:hover, .compare-go:focus-visible { background: var(--gold-hover); }
    .compare-go:disabled { opacity: .45; cursor: not-allowed; }
    body.compare-on { padding-bottom: 96px; }
    .compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .compare-table { border-collapse: collapse; width: 100%; }
    .compare-table th, .compare-table td {
      border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top;
      min-width: 148px; font-size: .9rem;
    }
    .compare-table .row-label {
      min-width: 74px; width: 74px; font-weight: 900; font-size: .8rem; color: var(--muted);
      position: sticky; left: 0; background: var(--surface); z-index: 1;
    }
    .compare-table td.win { background: color-mix(in srgb, var(--leaf) 20%, var(--surface)); font-weight: 800; box-shadow: inset 0 0 0 2px var(--leaf); }
    .compare-photo { display: block; width: 100%; height: 110px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
    .compare-title { font-weight: 800; line-height: 1.3; }
    .best-tag {
      display: inline-block; background: var(--leaf); color: #fff; border-radius: 999px;
      padding: 3px 8px; font-size: .7rem; font-weight: 900; margin-top: 7px;
    }
    .compare-remove {
      float: right; width: 30px; height: 30px; border: 0; border-radius: 50%; margin: 0 0 6px 6px;
      background: var(--surface-2); color: var(--ink); cursor: pointer; font-size: 1.05rem; line-height: 1;
    }
    @media (max-width: 520px) {
      body.compare-on { padding-bottom: 148px; }
    }
    @media (max-width: 980px) {
      .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .market-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 18px; }
    }
    @media (max-width: 760px) {
      :root { --header-h: 176px; }
      .header-row { grid-template-columns: 1fr auto; gap: 10px; padding: 10px 14px; }
      .search-shell { grid-column: 1 / -1; grid-row: 3; }
      .intro { padding: 28px 18px; }
      .mole-search-wrap { margin: 0; padding: 16px 16px 0; }
      .mole-search { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
      .ai-response { padding: 0 16px; }
      .categories { padding: 18px 16px 0; }
      .brand-directory { margin-top: 18px; padding: 0 16px; }
      .supply-banner { margin-top: 18px; padding: 0 16px; }
      .supply-inner { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
      .brand-panel { padding: 16px; }
      .brand-links { gap: 9px 18px; }
      .market-layout { display: block; padding: 18px 16px 42px; }
      .filters { position: static; margin-bottom: 22px; }
      .filters-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
      .field { margin-bottom: 0; }
      .reset-button { margin-top: 14px; }
      .sell-inner { grid-template-columns: 1fr; gap: 34px; padding: 42px 18px; }
      .modal { inset: 0; border-radius: 0; }
      .detail-grid { grid-template-columns: 1fr; }
      .detail-photo { min-height: 220px; }
      .detail-media .product-photo { height: 240px; }
    }
    @media (max-width: 760px) {
      /* Mobile filter fix (2026-10-13): panel collapsed by default behind a big
         Filters toggle so products come first; desktop sidebar untouched. */
      .mobile-filter-bar { display: block; margin-bottom: 14px; }
      .filters-toggle {
        display: flex; align-items: center; justify-content: space-between; width: 100%;
        min-height: 48px; padding: 0 16px; background: var(--surface); color: var(--ink);
        border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 800; cursor: pointer;
      }
      .filters { display: none; }
      .filters.open { display: block; }
      .active-filter-line {
        display: flex; align-items: center; gap: 10px; margin: 10px 0 0;
        padding: 4px 4px 4px 12px; background: var(--surface);
        border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; font-weight: 700;
      }
      .active-filter-line[hidden] { display: none; }
      .active-filter-clear {
        margin-left: auto; min-width: 44px; min-height: 44px; border: 0; border-radius: 8px;
        background: transparent; color: var(--ink); font-size: 1.15rem; line-height: 1; cursor: pointer;
      }
    }
    @media (max-width: 520px) {
      .back-link { font-size: .84rem; }
      .mole-form { grid-template-columns: 1fr; }
      .mole-form .primary-button { width: 100%; }
      .product-grid { grid-template-columns: 1fr; }
      .photo-placeholder { min-height: 170px; }
      .filters-grid { grid-template-columns: 1fr; }
      .form-grid { grid-template-columns: 1fr; }
      .form-grid .wide { grid-column: auto; }
      .results-head { align-items: flex-end; }
      .buy-row { grid-template-columns: 86px 1fr; }
    }
    @media (prefers-reduced-motion: reduce) {
      * { scroll-behavior: auto !important; transition: none !important; }
    }

    /* ---- Catalog pages (2026-10-15 expansion): shared marketplace.css ---- */
    a.chip { text-decoration: none; display: inline-flex; align-items: center; }
    .browse-all-bar { max-width: 1320px; margin: 0 auto; padding: 2px 22px 34px; text-align: center; }
    .browse-all-link { display: inline-block; background: var(--forest); color: #fff; font-weight: 800; padding: 14px 28px; border-radius: 999px; text-decoration: none; }
    .browse-all-link:hover, .browse-all-link:focus-visible { background: var(--leaf); }
    .page-home nav[aria-label="Browse by category"] { display: none; }
    .page-home .filters, .page-home .mobile-filter-bar { display: none; }
    .page-home .market-layout { grid-template-columns: minmax(0, 1fr); }

    /* AMAZON6 (2026-10-26): search-first shopping — prominent catalog
       search + live suggestions from the real catalog. Green + white. */
    .catalog-search-wrap { max-width: 1320px; margin: 0 auto; padding: 26px 22px 0; }
    .catalog-search { background: var(--forest-deep); color: #fff; border-radius: 12px; padding: 28px 26px; box-shadow: var(--shadow); }
    .catalog-search h2 { font: 700 1.7rem Georgia, serif; margin: 0 0 6px; }
    .catalog-search p { margin: 0 0 16px; color: #dce9df; max-width: 62ch; }
    .catalog-search-form { display: grid; grid-template-columns: 1fr auto; background: #fff; border-radius: 9px; overflow: hidden; max-width: 760px; }
    .catalog-search-form input { min-width: 0; border: 0; padding: 16px 18px; font-size: 1.08rem; color: #152019; background: #fff; outline: 0; }
    .catalog-search-form button { border: 0; background: var(--forest-soft); color: #fff; padding: 0 28px; font-weight: 900; font-size: 1.05rem; cursor: pointer; }
    .catalog-search-form button:hover, .catalog-search-form button:focus-visible { background: var(--leaf); }
    .catalog-search-examples { margin: 14px 0 0 !important; font-size: .95rem; }
    .catalog-search-examples a { color: #fff; font-weight: 700; }
    .acemow-suggest { position: fixed; z-index: 60; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden auto; max-height: 60vh; }
    .acemow-suggest .acs-head { padding: 10px 14px 4px; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
    .acemow-suggest .acs-none { padding: 12px 14px; color: var(--muted); }
    .acs-row { display: block; padding: 10px 14px; text-decoration: none; border-top: 1px solid var(--line); }
    .acs-row:first-of-type { border-top: 0; }
    .acs-row:hover, .acs-row.acs-active { background: var(--surface-2); }
    .acs-row .acs-main { display: block; font-weight: 700; line-height: 1.35; }
    .acs-row .acs-meta { display: block; color: var(--muted); font-size: .85rem; margin-top: 1px; }
    .acs-all { display: block; padding: 11px 14px; background: var(--forest-deep); color: #fff !important; font-weight: 800; text-decoration: none; }
    @media (max-width: 760px) { .catalog-search { padding: 22px 18px; } .catalog-search-form button { padding: 0 18px; } }

    /* AMAZON9 featured shelf (Amazon Playbook item 8, 2026-10-29) */
    .featured-shelf { max-width: 1320px; margin: 0 auto; padding: 30px 22px 4px; }
    .featured-shelf h2 { font: 700 1.7rem Georgia, serif; color: var(--forest-deep); margin: 0 0 6px; }
    .shelf-intro { margin: 0 0 8px; color: var(--muted); max-width: 72ch; }
    .shelf-group h3 { color: var(--forest-soft); font-size: 1.08rem; margin: 20px 0 2px; }
    .shelf-note { margin: 0 0 10px; color: var(--muted); font-size: .95rem; }
    .shelf-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
    .shelf-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
    .shelf-card-link { display: flex; flex-direction: column; gap: 4px; padding: 0 14px 14px; text-decoration: none; height: 100%; }
    .shelf-card-link img { width: calc(100% + 28px); margin: 0 -14px 8px; height: 150px; object-fit: cover; background: var(--surface-2); }
    .shelf-tag { align-self: flex-start; background: var(--forest-soft); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
    .shelf-title { font-weight: 800; color: var(--ink); line-height: 1.3; }
    .shelf-meta { color: var(--muted); font-size: .88rem; }
    .shelf-price { font-weight: 900; color: var(--forest-deep); font-size: 1.05rem; margin-top: auto; }
    .shelf-verified { font-weight: 700; color: var(--leaf); font-size: .8rem; }
    .shelf-seller { color: var(--muted); font-size: .85rem; }
    .shelf-fee { color: var(--forest-soft); font-size: .85rem; font-weight: 700; }
    .shelf-more { margin: 18px 0 0; font-weight: 800; }
    .shelf-more a { color: var(--forest-soft); }
    @media (max-width: 760px) { .featured-shelf { padding: 24px 16px 2px; } }

    /* AMAZON10 buying guides (Amazon Playbook item 9, 2026-10-30) */
    .buying-guide { max-width: 1320px; margin: 0 auto; padding: 30px 22px 4px; }
    .buying-guide h2 { font: 700 1.7rem Georgia, serif; color: var(--forest-deep); margin: 0 0 6px; }
    .buying-guide h3 { color: var(--forest-soft); font-size: 1.08rem; margin: 20px 0 6px; }
    .buying-guide p { color: var(--muted); max-width: 75ch; line-height: 1.6; margin: 0 0 10px; }
    .buying-guide ul { margin: 0 0 6px; padding-left: 20px; max-width: 82ch; }
    .buying-guide li { line-height: 1.55; margin: 0 0 7px; }
    .buying-guide .guide-note { font-size: .95rem; }
    @media (max-width: 760px) { .buying-guide { padding: 24px 16px 2px; } }

/* PHONEFIT-20261031: keep the top bar below the phone status bar in the app (viewport-fit=cover hands the inset to the page) */
.site-header{padding-top:env(safe-area-inset-top,0px)}

/* PHONEFIT/BALANCE 2026-11-06 (Cliff: page must fit his phone screen, layout
   balanced, nothing blocking): (1) the page can never scroll sideways or
   render wider than the screen, whatever a stray element or third-party
   embed does — `clip` is used where supported because, unlike `hidden`,
   it does not create a scroll container, so the sticky header keeps
   working; (2) long unbroken words in card titles wrap instead of
   stretching a card; (3) on phones every section shares the same 16px
   side inset and vertical rhythm; (4) the round back-to-top button lifts
   clear of the compare bar when that bar is open, so the two fixed
   elements never sit on top of each other. */
body { overflow-x: hidden; }
@supports (overflow-x: clip) { body { overflow-x: clip; } }
.product-title, .shelf-title { overflow-wrap: break-word; }
body.compare-on .quick-top { bottom: 112px; }
@media (max-width: 760px) {
  .intro { padding-left: 16px; padding-right: 16px; }
  .catalog-search-wrap { padding: 24px 16px 0; }
  .browse-all-bar { padding-left: 16px; padding-right: 16px; }
  footer { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 520px) {
  body.compare-on .quick-top { bottom: 164px; }
}

/* AMAZON22 (2026-11-13): zero-result search help inside the empty state */
.search-help p { margin: 10px 0 0; }
.search-help a { color: var(--forest-soft); font-weight: 800; }

    /* AMAZON24: detail-modal trust block */
    .trust-box { margin-top: 14px; }
    .trust-box .trust-list { margin: 8px 0 0; padding-left: 18px; line-height: 1.5; }
    .trust-box .trust-list li { margin: 4px 0; }
