:root {
        color-scheme: light;
        --paper: #fbf7f1;
        --paper-2: #f4ecdf;
        --surface: #ffffff;
        --surface-soft: #f7f1e7;
        --ink: #1d1710;
        --ink-soft: #5a4f42;
        --line: #e7dac8;
        --orange: #ff6a2b;
        --orange-dark: #e4541a;
        --teal: #0c3b3c;
        --teal-2: #11514f;
        --amber: #f5a623;
        --img-bg: #efe7da;
        --shadow: 0 18px 40px rgba(29, 23, 16, 0.08);
        --radius: 18px;
      }
      @media (prefers-color-scheme: dark) {
        :root {
          color-scheme: dark;
          --paper: #14100c;
          --paper-2: #1b1611;
          --surface: #201a14;
          --surface-soft: #261f17;
          --ink: #f6eedd;
          --ink-soft: #c8b89e;
          --line: #3a2f22;
          --orange: #ff7a3c;
          --orange-dark: #ff8d54;
          --teal: #0e4a49;
          --teal-2: #14605c;
          --img-bg: #f3ead9;
          --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
        }
      }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body {
        margin: 0;
        font-family: "Archivo", system-ui, sans-serif;
        background: var(--paper);
        color: var(--ink);
        line-height: 1.5;
      }
      h1, h2, h3, .display { font-family: "Bricolage Grotesque", "Archivo", sans-serif; }
      a { color: inherit; }
      img { display: block; max-width: 100%; }
      .wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

      /* ---------- Header ---------- */
      header {
        position: sticky; top: 0; z-index: 40;
        background: color-mix(in srgb, var(--paper) 88%, transparent);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line);
      }
      .header-inner { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 0; }
      .brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
      .brand-mark {
        width: 38px; height: 38px; border-radius: 10px;
        background: var(--orange); color: #fff;
        display: grid; place-items: center;
        font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.05rem;
        letter-spacing: 0.02em;
      }
      .brand-name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.15rem; line-height: 1; }
      .brand-name span { color: var(--orange); }
      nav { margin-left: auto; display: flex; align-items: center; gap: 0.4rem; }
      nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.45rem 0.7rem; border-radius: 999px; color: var(--ink-soft); }
      nav a:hover { color: var(--ink); background: var(--surface-soft); }
      .header-cta {
        background: var(--teal); color: #fff !important;
        padding: 0.5rem 0.95rem !important;
      }
      .header-cta:hover { background: var(--teal-2); color: #fff !important; }
      @media (max-width: 640px) {
        nav a:not(.header-cta) { display: none; }
        .header-inner { gap: 0.5rem; }
        .cart-btn .cart-label { display: none; }
        .header-cta { padding: 0.5rem 0.75rem !important; font-size: 0.9rem; }
        .brand-name { font-size: 1.02rem; }
        .brand-mark { width: 34px; height: 34px; font-size: 0.95rem; }
      }

      /* ---------- Hero ---------- */
      .hero { padding: 2.6rem 0 2.2rem; }
      .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; }
      @media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
      .hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05; margin: 0 0 0.9rem; font-weight: 800; }
      .hero h1 em { font-style: normal; color: var(--orange); }
      .hero p.lead { font-size: 1.1rem; color: var(--ink-soft); margin: 0 0 1.4rem; max-width: 34rem; }
      .hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
      .btn {
        appearance: none; border: 0; cursor: pointer;
        display: inline-flex; align-items: center; gap: 0.45rem;
        font: inherit; font-weight: 700; font-size: 0.98rem;
        padding: 0.7rem 1.15rem; border-radius: 999px; text-decoration: none;
        transition: transform 0.15s ease, background 0.15s ease;
      }
      .btn:active { transform: scale(0.97); }
      .btn-orange { background: var(--orange); color: #fff; }
      .btn-orange:hover { background: var(--orange-dark); }
      .btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
      .btn-ghost:hover { background: var(--surface-soft); }
      .hero-stats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
      .stat-chip {
        display: inline-flex; align-items: center; gap: 0.45rem;
        background: var(--surface); border: 1px solid var(--line);
        border-radius: 999px; padding: 0.4rem 0.8rem;
        font-size: 0.86rem; font-weight: 600; color: var(--ink-soft);
      }
      .stat-chip strong { color: var(--ink); font-size: 0.95rem; }
      .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
      .hero-media { position: relative; }
      .hero-media img {
        width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
        border-radius: calc(var(--radius) + 6px);
        box-shadow: var(--shadow);
      }
      .hero-card {
        position: absolute; left: 1rem; bottom: 1rem;
        background: var(--surface); border: 1px solid var(--line);
        border-radius: 14px; padding: 0.7rem 0.9rem;
        display: flex; align-items: center; gap: 0.7rem;
        box-shadow: var(--shadow); max-width: calc(100% - 2rem);
      }
      .hero-card img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
      .hero-card .hc-name { font-weight: 700; font-size: 0.9rem; line-height: 1.25; }
      .hero-card .hc-price { color: var(--orange-dark); font-weight: 800; font-size: 0.95rem; }
      @media (prefers-color-scheme: dark) { .hero-card .hc-price { color: var(--orange); } }

      /* ---------- Filters ---------- */
      .filters {
        position: sticky; top: 57px; z-index: 30;
        background: color-mix(in srgb, var(--paper) 92%, transparent);
        backdrop-filter: blur(10px);
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--line);
      }
      .filters-inner { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
      .chip-btn {
        appearance: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 0.92rem;
        padding: 0.5rem 1rem; border-radius: 999px;
        background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line);
      }
      .chip-btn[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
      .search-box { margin-left: auto; flex: 1 1 220px; max-width: 340px; }
      .search-box input {
        width: 100%; font: inherit; font-size: 0.95rem;
        padding: 0.55rem 0.9rem 0.55rem 2.2rem; border-radius: 999px;
        border: 1px solid var(--line); background: var(--surface); color: var(--ink);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a7a63' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: 0.75rem center;
      }
      .search-box input:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
      .sort-select {
        font: inherit; font-size: 0.92rem; font-weight: 600;
        padding: 0.55rem 0.8rem; border-radius: 999px;
        border: 1px solid var(--line); background: var(--surface); color: var(--ink);
        cursor: pointer;
      }

      /* ---------- Deal strip ---------- */
      .deal { padding: 1.8rem 0 0.4rem; }
      .deal-panel {
        background: var(--teal); color: #eef7f4;
        border-radius: calc(var(--radius) + 6px);
        display: grid; grid-template-columns: 220px 1fr; gap: 1.6rem;
        padding: 1.4rem; align-items: center;
      }
      @media (max-width: 720px) { .deal-panel { grid-template-columns: 1fr; } }
      .deal-panel img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; background: #fff; }
      .deal-tag {
        display: inline-block; background: var(--orange); color: #fff;
        font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
        padding: 0.3rem 0.65rem; border-radius: 999px; margin-bottom: 0.6rem;
      }
      .deal-panel h2 { margin: 0 0 0.4rem; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; }
      .deal-panel p { margin: 0 0 1rem; color: #cfe4de; max-width: 36rem; }
      .deal-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
      .deal-price { display: flex; align-items: baseline; gap: 0.6rem; }
      .deal-price .now { font-size: 1.9rem; font-weight: 800; font-family: "Bricolage Grotesque", sans-serif; }
      .deal-price .was { text-decoration: line-through; color: #9fc4bb; font-weight: 600; }
      .countdown { display: flex; gap: 0.45rem; }
      .cd-box { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); border-radius: 10px; padding: 0.35rem 0.55rem; text-align: center; min-width: 52px; }
      .cd-box b { display: block; font-size: 1.15rem; font-family: "Bricolage Grotesque", sans-serif; }
      .cd-box span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: #bcd8d1; }

      /* ---------- Sections & cards ---------- */
      section.cat { padding: 2.4rem 0 0.6rem; }
      .cat-head { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: end; justify-content: space-between; margin-bottom: 1.2rem; }
      .cat-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
      .cat-head p { margin: 0.3rem 0 0; color: var(--ink-soft); max-width: 38rem; }
      .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }
      .card {
        background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius); overflow: hidden;
        display: flex; flex-direction: column;
        box-shadow: 0 4px 14px rgba(29, 23, 16, 0.04);
        transition: transform 0.18s ease, box-shadow 0.18s ease;
      }
      .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
      .card-img { position: relative; background: var(--img-bg); }
      .card-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
      .badge {
        position: absolute; top: 0.7rem; left: 0.7rem;
        background: var(--orange); color: #fff;
        font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
        padding: 0.28rem 0.6rem; border-radius: 999px;
      }
      .badge.teal { background: var(--teal); }
      .card-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
      .card-cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--orange-dark); }
      @media (prefers-color-scheme: dark) { .card-cat { color: var(--orange); } }
      .card h3 { margin: 0; font-size: 1.06rem; line-height: 1.3; font-weight: 700; }
      .card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
      .price-row { display: flex; align-items: baseline; gap: 0.55rem; margin-top: auto; padding-top: 0.4rem; }
      .price { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.3rem; }
      .price-was { color: var(--ink-soft); text-decoration: line-through; font-size: 0.9rem; font-weight: 600; }
      .price-note { font-size: 0.78rem; color: var(--ink-soft); }
      .card-actions { display: flex; gap: 0.5rem; margin-top: 0.55rem; }
      .card-actions .btn { flex: 1; justify-content: center; padding: 0.62rem 0.6rem; font-size: 0.92rem; }
      .btn-cart { background: var(--surface-soft); color: var(--ink); border: 1px solid var(--line); flex: 0 0 auto !important; padding-inline: 0.8rem !important; }
      .specs { display: none; margin: 0.4rem 0 0; padding: 0.7rem 0.85rem; background: var(--surface-soft); border-radius: 12px; }
      .specs.open { display: block; }
      .specs li { font-size: 0.88rem; color: var(--ink-soft); margin: 0.2rem 0 0.2rem 1rem; }
      .specs ul { margin: 0; padding: 0; }
      .details-btn {
        appearance: none; background: none; border: 0; cursor: pointer; font: inherit;
        font-size: 0.88rem; font-weight: 700; color: var(--orange-dark); padding: 0.2rem 0; text-align: left;
      }
      @media (prefers-color-scheme: dark) { .details-btn { color: var(--orange); } }
      .empty-state { display: none; padding: 2.2rem 1rem; text-align: center; color: var(--ink-soft); border: 1px dashed var(--line); border-radius: var(--radius); }
      .empty-state.show { display: block; }

      /* ---------- Guide ---------- */
      .guide { padding: 2.6rem 0 0.6rem; }
      .guide-panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: 1.6rem; }
      .guide h2 { margin: 0 0 0.4rem; font-size: clamp(1.4rem, 3vw, 2rem); }
      .guide > .wrap > p { color: var(--ink-soft); margin: 0 0 1.2rem; max-width: 40rem; }
      .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
      @media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
      @media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
      .step { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
      .step-num {
        width: 32px; height: 32px; border-radius: 50%;
        background: var(--orange); color: #fff; font-weight: 800;
        display: grid; place-items: center; margin-bottom: 0.6rem;
        font-family: "Bricolage Grotesque", sans-serif;
      }
      .step h3 { margin: 0 0 0.3rem; font-size: 1rem; }
      .step p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

      /* ---------- Contact CTA ---------- */
      .cta { padding: 2.6rem 0 3rem; }
      .cta-panel {
        background: var(--teal); color: #eef7f4; border-radius: calc(var(--radius) + 6px);
        padding: 2rem 1.6rem; text-align: center;
      }
      .cta-panel h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
      .cta-panel p { margin: 0 auto 1.3rem; color: #cfe4de; max-width: 34rem; }
      .cta-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }
      .cta-actions .btn { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
      .cta-actions .btn:hover { background: rgba(255,255,255,0.2); }

      /* ---------- Footer ---------- */
      footer { border-top: 1px solid var(--line); background: var(--paper-2); }
      .footer-inner { padding: 1.8rem 0 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem; }
      @media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }
      footer h3 { margin: 0 0 0.6rem; font-size: 1rem; }
      footer p, footer li { color: var(--ink-soft); font-size: 0.92rem; }
      footer p { margin: 0; max-width: 26rem; }
      footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
      footer a { text-decoration: none; }
      footer a:hover { text-decoration: underline; }
      .disclosure { border-top: 1px solid var(--line); padding: 1rem 0 1.4rem; }
      .disclosure p { font-size: 0.82rem; margin: 0; }

      /* ---------- Cart drawer & toast ---------- */
      .cart-btn {
        position: relative; border: 1px solid var(--line); background: var(--surface);
        border-radius: 999px; padding: 0.5rem 0.9rem; cursor: pointer; font: inherit;
        font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 0.4rem;
      }
      .cart-count {
        background: var(--orange); color: #fff; border-radius: 999px;
        min-width: 22px; height: 22px; display: grid; place-items: center;
        font-size: 0.78rem; font-weight: 800; padding: 0 5px;
      }
      .drawer-backdrop {
        position: fixed; inset: 0; background: rgba(15, 10, 5, 0.45);
        opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 60;
      }
      .drawer-backdrop.open { opacity: 1; pointer-events: auto; }
      .drawer {
        position: fixed; top: 0; right: 0; height: 100dvh; width: min(400px, 92vw);
        background: var(--paper); z-index: 70; transform: translateX(105%);
        transition: transform 0.25s ease; display: flex; flex-direction: column;
        box-shadow: -12px 0 32px rgba(0,0,0,0.18);
      }
      .drawer.open { transform: translateX(0); }
      .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
      .drawer-head h2 { margin: 0; font-size: 1.15rem; }
      .icon-btn { appearance: none; border: 0; background: var(--surface-soft); border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 1.05rem; color: var(--ink); }
      .drawer-items { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; display: grid; gap: 0.9rem; align-content: start; }
      .drawer-empty { color: var(--ink-soft); text-align: center; padding: 2rem 0; }
      .cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.8rem; align-items: center; }
      .cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--img-bg); }
      .cart-item .ci-name { font-weight: 700; font-size: 0.92rem; line-height: 1.3; }
      .cart-item .ci-price { color: var(--ink-soft); font-size: 0.88rem; }
      .qty-ctrl { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.3rem; }
      .qty-ctrl button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 800; color: var(--ink); }
      .remove-btn { appearance: none; border: 0; background: none; color: var(--orange-dark); font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; padding: 0; }
      @media (prefers-color-scheme: dark) { .remove-btn { color: var(--orange); } }
      .drawer-foot { border-top: 1px solid var(--line); padding: 1rem 1.2rem 1.3rem; display: grid; gap: 0.7rem; }
      .total-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
      .total-row .total { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.35rem; }
      .drawer-foot .price-note { text-align: left; }
      .toast {
        position: fixed; left: 50%; bottom: 1.2rem; transform: translate(-50%, 20px);
        background: var(--ink); color: var(--paper); padding: 0.7rem 1.1rem; border-radius: 999px;
        font-weight: 600; font-size: 0.92rem; opacity: 0; pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease; z-index: 90; max-width: min(480px, 90vw); text-align: center;
      }
      .toast.show { opacity: 1; transform: translate(-50%, 0); }
      .hidden { display: none !important; }
