
  :root {
    --ink: #1a1a1a;
    --ink-2: #4a4a4a;
    --mute: #8a8a8a;
    --line: #ececec;
    --line-2: #f4f4f4;
    --bg: #ffffff;
    --card: #ffffff;
    --accent: #1e4d8a;        /* deep blue */
    --accent-ink: #fff;
    --hot: #b8442a;           /* terracotta */
    --new: #1e4d8a;
    --sale: #b8442a;
    --tag-bg: #f1f3f7;
    --radius: 10px;
    --shadow-card: 0 1px 0 rgba(0,0,0,0.02);
    --shadow-hover: 0 14px 36px -16px rgba(40,30,15,0.22), 0 2px 0 rgba(0,0,0,0.02);
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: 'Geist', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
  }
  .catnav {
    max-width: none;
  }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }

  /* ---------- Utility bar ---------- */
  .util {
    background: #1a1a1a;
    color: #ddd9cf;
    font-size: 12px;
    padding: 8px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.02em;
  }
  .util a { color: #ddd9cf; }
  .util .right { display: flex; gap: 22px; align-items: center; }
  .util .right span { display: flex; gap: 6px; align-items: center; }
  .util .dot { width: 4px; height: 4px; border-radius: 50%; background: #5d5a51; }

  /* ---------- Header ---------- */
  .header {
    border-bottom: 1px solid var(--line);
    background: #ffffff;
  }
  .header-inner {
    padding: 22px 56px 18px;
    display: grid;
    grid-template-columns: 200px 1fr 280px;
    gap: 32px;
    align-items: center;
  }
  .brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  }
  .brand-mark {
    width: 30px; height: 30px;
    background: var(--accent);
    border-radius: 8px;
    display: grid; place-items: center;
    color: #ffffff; font-family: 'Geist Mono'; font-weight: 600; font-size: 14px;
  }
  .search {
    display: flex; align-items: stretch; height: 48px;
    background: #fff; border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden;
  }
  .search .cat-select {
    border: 0; background: var(--tag-bg); padding: 0 16px;
    font-family: inherit; font-size: 13px; font-weight: 500;
    border-right: 1px solid var(--line); min-width: 150px;
  }
  .search input {
    flex: 1; border: 0; outline: none; padding: 0 16px;
    font-family: inherit; font-size: 14px; background: #fff;
  }
  .search button {
    border: 0; background: var(--ink); color: #fff; padding: 0 24px;
    font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  }
  .header-actions {
    display: flex; gap: 6px; justify-content: flex-end; align-items: center;
  }
  .icon-btn {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 8px 12px; border: 0; background: transparent; color: var(--ink-2);
    font-size: 11px; border-radius: 8px; position: relative;
  }
  .icon-btn:hover { background: var(--tag-bg); color: var(--ink); }
  .icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
  .icon-btn .badge-dot {
    position: absolute; top: 4px; right: 8px;
    background: var(--hot); color: #fff; font-size: 10px; font-weight: 600;
    width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
  }

  /* ---------- Category nav ---------- */
  .catnav {
    padding: 0 0 0 56px;
    border-bottom: 1px solid var(--line);
    display: flex; gap: 0; align-items: stretch;
    background: #ffffff;
    overflow: hidden;
    position: relative;
  }
  .catnav .all {
    background: var(--accent); color: #ffffff;
    padding: 14px 22px; font-weight: 600; font-size: 13px;
    display: flex; gap: 10px; align-items: center;
    letter-spacing: 0.01em; white-space: nowrap; flex: 0 0 auto;
  }
  .catnav .all svg { width: 14px; height: 14px; }
  .catnav .scroll {
    display: flex; flex: 1; min-width: 0;
    overflow-x: auto; scrollbar-width: none;
  }
  .catnav .scroll::-webkit-scrollbar { display: none; }
  .catnav a.cat {
    padding: 14px 18px; font-size: 13px; color: var(--ink-2);
    font-weight: 500; white-space: nowrap;
    border-bottom: 2px solid transparent; transition: all .12s;
  }
  .catnav a.cat:hover  { color: var(--ink); border-bottom-color: var(--ink); }
  .catnav a.cat.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
  .catnav-arrow {
    position: absolute; right: 0; top: 0; bottom: 0; z-index: 3;
    width: 48px; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: flex-end; padding-right: 10px;
    background: linear-gradient(to right, transparent, #ffffff 55%);
    color: var(--ink-2); transition: opacity .2s;
  }
  .catnav-arrow svg { width: 18px; height: 18px; }

  /* ---------- Hero ---------- */
  .hero {
    padding: 28px 56px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
  }
  .hero-main {
    background: linear-gradient(135deg, #16335e 0%, #265398 100%);
    border-radius: 14px;
    padding: 56px 60px;
    color: #eef3fb;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .hero-main .eyebrow {
    font-family: 'Geist Mono'; font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase; color: #9ec3f0; margin-bottom: 18px;
  }
  .hero-main h1 {
    margin: 0; font-size: 56px; line-height: 1.05; font-weight: 600;
    letter-spacing: -0.02em; max-width: 540px;
  }
  .hero-main p {
    margin: 18px 0 28px; font-size: 16px; color: #c5d4ea; max-width: 460px;
  }
  .hero-main .cta {
    display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
    background: #ffffff; color: #1a1a1a; padding: 14px 22px;
    border-radius: 8px; font-weight: 600; font-size: 14px;
  }
  .hero-main .deco {
    position: absolute; right: -40px; bottom: -40px; width: 320px; height: 320px;
    border-radius: 50%; background: radial-gradient(circle at 30% 30%, #6fa3e0 0%, transparent 70%);
    opacity: 0.55;
  }
  .hero-side { display: flex; flex-direction: column; gap: 18px; }
  .promo-tile {
    flex: 1;
    background: #e8eef7;
    border-radius: 14px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .promo-tile.b { background: #d4e0f1; }
  .promo-tile .label {
    font-family: 'Geist Mono'; font-size: 10px; letter-spacing: 0.18em;
    text-transform: uppercase; color: #1e4d8a;
  }
  .promo-tile h3 {
    margin: 8px 0 0; font-size: 24px; font-weight: 600; line-height: 1.15;
    letter-spacing: -0.01em; max-width: 220px;
  }
  .promo-tile .arrow {
    align-self: flex-start; background: #1a1a1a; color: #fff;
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; margin-top: 18px;
  }

  /* ---------- Trust strip ---------- */
  .trust {
    margin: 0 56px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
  }
  .trust > div {
    padding: 18px 22px; display: flex; gap: 14px; align-items: center;
    border-right: 1px solid var(--line);
  }
  .trust > div:last-child { border-right: 0; }
  .trust svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.4; }
  .trust .t { font-weight: 600; font-size: 13px; }
  .trust .s { font-size: 12px; color: var(--mute); }

  /* ---------- Section header ---------- */
  .section { padding: 48px 56px 0; }
  .section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
  }
  .section-head .left h2 {
    margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.015em;
    display: flex; align-items: baseline; gap: 14px;
  }
  .section-head .left .num {
    font-family: 'Geist Mono'; font-size: 12px; color: var(--mute);
    letter-spacing: 0.1em;
  }
  .section-head .left p {
    margin: 4px 0 0; color: var(--mute); font-size: 13px;
  }
  .section-head .right {
    display: flex; gap: 8px; align-items: center;
  }
  .section-head .right a {
    font-size: 13px; font-weight: 500; color: var(--ink);
    border-bottom: 1px solid var(--ink); padding-bottom: 1px;
  }
  .section-head .right .nav-btn {
    width: 34px; height: 34px; border: 1px solid var(--line); background: #fff;
    border-radius: 50%; display: grid; place-items: center; color: var(--ink-2);
    margin-left: 6px;
  }
  .section-head .right .nav-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

  /* ---------- Product grid ---------- */
  .pgrid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px;
  }
  .pcard {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    position: relative;
  }
  .pcard:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: #c9d6e8;
  }
  .pcard .img {
    aspect-ratio: 4/5; background: #f3f6fa; position: relative; overflow: hidden;
  }
  .pcard .img > svg { transition: transform .4s ease; }
  .pcard:hover .img > svg { transform: scale(1.04); }
  .pcard .badges {
    position: absolute; top: 10px; left: 10px;
    display: flex; flex-direction: column; gap: 6px;
  }
  .badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 9px; border-radius: 100px;
    font-family: 'Geist Mono'; font-size: 10px; letter-spacing: 0.06em;
    text-transform: uppercase; font-weight: 500;
  }
  .badge.bestseller        { background: #1a1a1a; color: #ffffff; }
  .badge.new               { background: #1e4d8a; color: #ffffff; }
  .badge.sale              { background: #b8442a; color: #fff; }
  .badge.amazon-bestseller { background: #c45500; color: #fff; }
  .badge.amazon-choice     { background: #232f3e; color: #fff; }
  .badge.prime             { background: #00a8e0; color: #fff; }
  .pcard .wishlist {
    position: absolute; top: 10px; right: 10px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.9); border: 0;
    display: grid; place-items: center; color: #4a4a4a;
    opacity: 0; transform: translateY(-4px); transition: all .18s;
  }
  .pcard:hover .wishlist { opacity: 1; transform: translateY(0); }
  .pcard .wishlist svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }
  .pcard .body {
    padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px;
    flex: 1;
  }
  .pcard .src {
    font-family: 'Geist Mono'; font-size: 10px; color: var(--mute);
    letter-spacing: 0.04em;
  }
  .pcard .title {
    font-size: 14px; font-weight: 500; line-height: 1.35;
    color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
    text-decoration: none;
  }
  .pcard .title:hover { color: var(--accent); }
  .pcard .img { display: block; text-decoration: none; }
  .pcard .meta {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--mute);
  }
  .pcard .meta .stars {
    color: #c79a3a; letter-spacing: 0.05em;
  }
  .pcard .priceline {
    display: flex; align-items: baseline; gap: 8px; margin-top: 4px;
  }
  .pcard .price {
    font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  }
  .pcard .was {
    font-size: 13px; color: var(--mute); text-decoration: line-through;
  }
  .pcard .save {
    font-size: 11px; color: var(--sale); font-weight: 600;
  }
  .pcard .buy {
    margin-top: 12px;
    display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    width: 100%; height: 42px;
    background: var(--ink); color: #fff;
    border: 0; border-radius: 8px;
    font-weight: 600; font-size: 13px; letter-spacing: 0.01em;
    transition: background .15s;
  }
  .pcard .buy svg { width: 14px; height: 14px; }
  .pcard:hover .buy { background: var(--accent); }

  /* ---------- Footer ---------- */
  .footer {
    margin-top: 80px;
    background: #0e1a2e;
    color: #c5cfde;
    padding: 56px 56px 32px;
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
  }
  .footer h4 {
    margin: 0 0 14px; color: #ffffff; font-size: 13px;
    text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
  }
  .footer ul { list-style: none; padding: 0; margin: 0; }
  .footer ul li { padding: 4px 0; font-size: 13px; }
  .footer ul li a:hover { color: #fff; }
  .footer .about p { font-size: 13px; line-height: 1.6; margin: 0 0 18px; max-width: 320px; }
  .footer-bot {
    margin-top: 40px; padding-top: 22px;
    border-top: 1px solid #1f2c44;
    display: flex; justify-content: space-between;
    font-size: 12px; color: #7a8499;
  }


  /* ---------- Breadcrumb ---------- */
  .breadcrumb {
    padding: 18px 56px 0;
    font-size: 12px; color: var(--mute);
    display: flex; gap: 8px; align-items: center;
  }
  .breadcrumb a { color: var(--mute); }
  .breadcrumb a:hover { color: var(--ink); }
  .breadcrumb .sep { opacity: 0.5; }
  .breadcrumb .here { color: var(--ink); font-weight: 500; }

  /* ---------- Category header ---------- */
  .cathead {
    padding: 18px 56px 32px;
    border-bottom: 1px solid var(--line);
  }
  .cathead h1 {
    margin: 0; font-size: 44px; font-weight: 600; letter-spacing: -0.02em;
    line-height: 1.05;
  }
  .cathead h1 .count {
    font-family: 'Geist Mono'; font-size: 14px; color: var(--mute);
    font-weight: 400; letter-spacing: 0.04em; margin-left: 12px; vertical-align: middle;
  }
  .cathead p {
    margin: 8px 0 0; color: var(--ink-2); font-size: 14px; max-width: 640px;
  }

  /* ---------- Category body layout ---------- */
  .catbody {
    padding: 28px 56px 0;
    display: grid; grid-template-columns: 264px 1fr; gap: 32px;
    align-items: start;
  }

  /* ---------- Filters sidebar ---------- */
  .filters {
    position: sticky; top: 16px;
  }
  .filter-close, .mobile-filter-btn, .filter-overlay { display: none; }
  .filter-block {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
  }
  .filter-block:first-child { padding-top: 0; }
  .filter-block h3 {
    margin: 0 0 12px; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    display: flex; justify-content: space-between; align-items: center;
  }
  .filter-block h3 .clear {
    font-family: 'Geist Mono'; font-size: 10px; color: var(--mute);
    text-transform: none; letter-spacing: 0.04em; font-weight: 400;
    cursor: pointer;
  }
  .filter-block h3 .clear:hover { color: var(--ink); }
  .filter-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 0; font-size: 13px; color: var(--ink-2);
    cursor: pointer;
  }
  .filter-row:hover { color: var(--ink); }
  .filter-row .check {
    display: flex; align-items: center; gap: 10px;
  }
  .filter-row input[type="checkbox"] {
    width: 16px; height: 16px; accent-color: var(--accent);
    margin: 0;
  }
  .filter-row .n {
    font-family: 'Geist Mono'; font-size: 11px; color: var(--mute);
  }
  .filter-row.selected { color: var(--ink); font-weight: 500; }

  .price-range {
    display: flex; gap: 8px; align-items: center; margin-bottom: 12px;
  }
  .price-range input {
    flex: 1; min-width: 0;
    border: 1px solid var(--line); border-radius: 6px;
    padding: 8px 10px; font-family: 'Geist Mono'; font-size: 12px;
    background: #fff; outline: none;
  }
  .price-range input:focus { border-color: var(--ink); }
  .price-range .dash { color: var(--mute); font-size: 12px; }
  .price-track {
    height: 4px; background: var(--line); border-radius: 100px;
    position: relative; margin: 14px 4px 4px;
  }
  .price-track .fill {
    position: absolute; left: 12%; right: 28%; top: 0; bottom: 0;
    background: var(--accent); border-radius: 100px;
  }
  .price-track .knob {
    position: absolute; top: 50%; transform: translate(-50%, -50%);
    width: 14px; height: 14px; border-radius: 50%; background: #fff;
    border: 2px solid var(--accent); cursor: grab;
  }

  .star-pick {
    display: flex; gap: 4px; flex-wrap: wrap;
  }
  .star-pick label {
    border: 1px solid var(--line); border-radius: 6px;
    padding: 6px 10px; font-size: 12px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ink-2);
  }
  .star-pick label:hover { border-color: var(--ink); color: var(--ink); }
  .star-pick label .stars { color: #c79a3a; }
  .star-pick input { display: none; }
  .star-pick input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
  .star-pick input:checked + label .stars { color: #f1c75a; }

  .badge-pick {
    display: flex; gap: 6px; flex-wrap: wrap;
  }
  .badge-pick label {
    border: 1px solid var(--line); border-radius: 100px;
    padding: 6px 12px; font-size: 12px; cursor: pointer;
    color: var(--ink-2);
  }
  .badge-pick label:hover { border-color: var(--ink); color: var(--ink); }
  .badge-pick input { display: none; }
  .badge-pick input:checked + label { background: var(--accent); color: #fff; border-color: var(--accent); }

  .filter-select {
    width: 100%; border: 1px solid var(--line); border-radius: 8px;
    padding: 9px 12px; font-family: inherit; font-size: 13px;
    background: #fff; color: var(--ink); cursor: pointer; outline: none;
    appearance: auto;
  }
  .filter-select:focus { border-color: var(--accent); }

  .filter-search-wrap { position: relative; }
  .filter-search-input {
    width: 100%; box-sizing: border-box;
    border: 1px solid var(--line); border-radius: 8px;
    padding: 9px 12px; font-family: inherit; font-size: 13px;
    background: #fff; color: var(--ink); outline: none;
  }
  .filter-search-input:focus { border-color: var(--accent); }

  .price-range input[type=number] {
    -moz-appearance: textfield;
  }
  .price-range input[type=number]::-webkit-inner-spin-button { display: none; }

  .filter-actions {
    padding: 18px 0 4px;
    display: flex; gap: 8px;
  }
  .btn-apply {
    flex: 1; padding: 9px 0; background: var(--ink); color: #fff;
    border: 0; border-radius: 8px; font-family: inherit; font-size: 13px;
    font-weight: 500; cursor: pointer;
  }
  .btn-apply:hover { background: var(--accent); }
  .btn-reset {
    padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px;
    font-size: 13px; color: var(--ink-2); background: #fff;
    text-decoration: none; white-space: nowrap;
  }
  .btn-reset:hover { border-color: var(--ink); color: var(--ink); }

  /* ---------- Toolbar ---------- */
  .toolbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    background: var(--tag-bg);
    border-radius: 10px;
    margin-bottom: 18px;
  }
  .toolbar .left { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
  .toolbar .count {
    font-size: 13px; color: var(--ink); font-weight: 500;
  }
  .toolbar .count strong { font-weight: 600; }
  .toolbar .applied {
    display: flex; gap: 6px; flex-wrap: wrap;
  }
  .applied .pill {
    background: #fff; border: 1px solid var(--line);
    padding: 4px 10px; border-radius: 100px; font-size: 12px;
    display: inline-flex; gap: 6px; align-items: center;
  }
  .applied .pill .x { cursor: pointer; color: var(--mute); font-size: 14px; line-height: 1; }
  .applied .pill .x:hover { color: var(--ink); }

  .toolbar .right { display: flex; gap: 10px; align-items: center; }
  .sort-select {
    border: 1px solid var(--line); border-radius: 8px;
    padding: 8px 12px; font-family: inherit; font-size: 13px;
    background: #fff; color: var(--ink); cursor: pointer;
    min-width: 200px;
  }
  .view-toggle {
    display: flex; background: #fff; border: 1px solid var(--line);
    border-radius: 8px; overflow: hidden;
  }
  .view-toggle button {
    border: 0; background: transparent; padding: 8px 12px; color: var(--mute);
    display: grid; place-items: center;
  }
  .view-toggle button.active { background: var(--ink); color: #fff; }
  .view-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }

  /* ---------- Category-grid (3 cols) ---------- */
  .pgrid.three { grid-template-columns: repeat(3, 1fr); }

  /* ---------- List view ---------- */
  .plist .pcard {
    flex-direction: row; align-items: stretch;
  }
  .plist .pcard .img {
    width: 240px; flex: 0 0 240px; aspect-ratio: 1/1;
  }
  .plist .pcard .body {
    flex: 1; padding: 22px 24px;
  }
  .plist .pcard .title {
    font-size: 18px; font-weight: 600; min-height: auto;
    -webkit-line-clamp: 2;
  }
  .plist .pcard .desc {
    font-size: 13px; color: var(--ink-2); line-height: 1.5;
    margin: 6px 0 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .plist .pcard .actionrow {
    display: flex; gap: 10px; align-items: center;
    margin-top: auto;
  }
  .plist .pcard .price { font-size: 22px; }
  .plist .pcard .buy {
    margin-top: 0; width: auto; padding: 0 22px;
  }

  /* ---------- Pagination ---------- */
  .pagination {
    display: flex; justify-content: center; align-items: center; gap: 4px;
    margin-top: 56px; padding-bottom: 24px;
  }
  .pagination .page, .pagination .nav {
    width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line);
    background: #fff; color: var(--ink-2); font-family: inherit;
    font-size: 13px; font-weight: 500;
    display: grid; place-items: center;
  }
  .pagination .page:hover, .pagination .nav:hover { border-color: var(--ink); color: var(--ink); }
  .pagination .page.active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .pagination .ellipsis { width: 30px; text-align: center; color: var(--mute); }
  .pagination .nav { width: auto; padding: 0 16px; gap: 8px; display: inline-flex; }
  .pagination .nav svg { width: 14px; height: 14px; }

  /* ---------- Empty state, recently-viewed strip ---------- */
  .recently {
    margin: 80px 0 0;
    padding-top: 32px;
    border-top: 1px solid var(--line);
  }

  /* ============================================================
     PRODUCT DETAIL PAGE (PDP)
     ============================================================ */
  .pdp {
    padding: 28px 56px 0;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: start;
  }

  /* ----- Gallery ----- */
  .gallery {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    position: sticky; top: 16px;
  }
  .thumbs {
    display: flex; flex-direction: column; gap: 10px;
  }
  .thumb {
    aspect-ratio: 1/1;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden; cursor: pointer;
    background: #f3f6fa;
    transition: border-color .15s;
  }
  .thumb.active { border-color: var(--ink); }
  .thumb:hover { border-color: var(--ink-2); }
  .stage {
    aspect-ratio: 4/5;
    background: #f3f6fa;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
  }
  .stage .badges {
    position: absolute; top: 16px; left: 16px;
    display: flex; flex-direction: column; gap: 6px; z-index: 2;
  }
  .stage .zoom {
    position: absolute; bottom: 16px; right: 16px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.95); border: 1px solid var(--line);
    display: grid; place-items: center; cursor: pointer;
  }
  .stage .zoom svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.6; }

  /* ----- Image lightbox ----- */
  .img-lightbox {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.88); align-items: center; justify-content: center;
  }
  .img-lightbox.open { display: flex; }
  .img-lightbox img {
    max-width: 90vw; max-height: 90vh; object-fit: contain;
    border-radius: 4px; box-shadow: 0 8px 48px rgba(0,0,0,0.5);
  }
  .img-lightbox .lb-close {
    position: absolute; top: 20px; right: 20px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    display: grid; place-items: center; cursor: pointer; color: #fff;
  }
  .img-lightbox .lb-close svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; }

  /* ----- Buy column ----- */
  .buybox h1 {
    margin: 14px 0 0; font-size: 36px; font-weight: 600;
    letter-spacing: -0.02em; line-height: 1.1;
  }
  .buybox .src-row {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px; color: var(--mute);
    font-family: 'Geist Mono'; letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .buybox .src-row .merchant {
    display: flex; align-items: center; gap: 8px; color: var(--ink);
    text-transform: none; letter-spacing: 0; font-family: 'Geist'; font-size: 13px;
    font-weight: 500;
  }
  .buybox .src-row .merchant .dot-v {
    width: 6px; height: 6px; border-radius: 50%; background: #2e7a4e;
  }
  .buybox .src-row .skuref { color: var(--mute); }

  .buybox .rating-row {
    display: flex; align-items: center; gap: 12px;
    margin: 14px 0 0; font-size: 13px;
  }
  .buybox .rating-row .stars { color: #c79a3a; letter-spacing: 0.06em; font-size: 14px; }
  .buybox .rating-row a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
  .buybox .rating-row a:hover { color: var(--ink); border-color: var(--ink); }
  .buybox .rating-row .pipe { color: var(--mute); }

  .buybox .price-block {
    margin: 22px 0 0; padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 6px;
  }
  .buybox .priceline {
    display: flex; align-items: baseline; gap: 12px;
  }
  .buybox .priceline .price {
    font-size: 36px; font-weight: 600; letter-spacing: -0.02em;
  }
  .buybox .priceline .was {
    font-size: 18px; color: var(--mute); text-decoration: line-through;
  }
  .buybox .priceline .save {
    background: var(--sale); color: #fff; padding: 3px 10px;
    border-radius: 100px; font-size: 11px; font-weight: 600;
    font-family: 'Geist Mono'; letter-spacing: 0.06em; text-transform: uppercase;
  }
  .buybox .price-note { font-size: 12px; color: var(--mute); }

  .variants { margin: 22px 0 0; }
  .variants .label {
    font-size: 13px; font-weight: 500; margin-bottom: 10px;
    display: flex; gap: 6px; align-items: center;
  }
  .variants .label .picked { color: var(--ink-2); font-weight: 400; }

  .swatch-row { display: flex; gap: 10px; flex-wrap: wrap; }
  .swatch {
    width: 44px; height: 44px; border-radius: 50%;
    border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line);
    cursor: pointer; transition: box-shadow .15s;
    position: relative;
  }
  .swatch.active { box-shadow: 0 0 0 2px var(--ink); }
  .swatch:hover { box-shadow: 0 0 0 1px var(--ink); }

  .size-row { display: flex; gap: 8px; flex-wrap: wrap; }
  .size {
    min-width: 56px; padding: 10px 14px;
    border: 1px solid var(--line); border-radius: 8px;
    background: #fff; font-family: inherit; font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all .15s;
  }
  .size:hover { border-color: var(--ink); }
  .size.active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .size.oos { color: var(--mute); text-decoration: line-through; cursor: not-allowed; }
  .size.oos:hover { border-color: var(--line); }

  .qtyrow {
    display: grid; grid-template-columns: 130px 1fr; gap: 10px;
    margin: 22px 0 0;
  }
  .qty {
    display: flex; align-items: center; justify-content: space-between;
    border: 1px solid var(--line); border-radius: 8px; height: 52px;
    padding: 0 14px; background: #fff;
  }
  .qty button {
    border: 0; background: transparent; font-size: 18px; color: var(--ink);
    width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  }
  .qty button:hover { background: var(--tag-bg); }
  .qty .n { font-family: 'Geist Mono'; font-size: 15px; font-weight: 500; }

  .buy-primary {
    height: 52px; border: 0; border-radius: 8px;
    background: var(--ink); color: #fff;
    font-family: inherit; font-size: 14px; font-weight: 600;
    letter-spacing: 0.01em; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    text-decoration: none;
    transition: background .15s;
  }
  .buy-primary:hover { background: var(--accent); }
  .buy-primary svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }

  .buy-secondary {
    margin: 10px 0 0;
    height: 48px; width: 100%;
    border: 1px solid var(--ink); border-radius: 8px;
    background: #fff; color: var(--ink);
    font-family: inherit; font-size: 14px; font-weight: 500;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  }
  .buy-secondary:hover { background: var(--ink); color: #fff; }
  .buy-secondary svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }

  /* Trust strip inside buybox */
  .pdp-trust {
    margin: 24px 0 0;
    border: 1px solid var(--line); border-radius: 12px;
    overflow: hidden;
  }
  .pdp-trust .row {
    padding: 14px 18px;
    display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }
  .pdp-trust .row:last-child { border-bottom: 0; }
  .pdp-trust .row svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.4; }
  .pdp-trust .row .t { font-weight: 500; }
  .pdp-trust .row .s { font-size: 12px; color: var(--mute); }
  .pdp-trust .row a { font-size: 12px; color: var(--ink-2); border-bottom: 1px solid var(--line); }

  /* Highlight bullets */
  .highlights {
    margin: 22px 0 0;
    list-style: none; padding: 0;
    display: grid; gap: 8px;
  }
  .highlights li {
    font-size: 13px; color: var(--ink-2);
    padding-left: 22px; position: relative; line-height: 1.5;
  }
  .highlights li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 12px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
    transform: rotate(-45deg);
  }

  /* ----- Tabs / sections ----- */
  .pdp-tabs {
    margin: 80px 0 0; padding: 0 56px;
    border-bottom: 1px solid var(--line);
    display: flex; gap: 4px;
  }
  .pdp-tabs button {
    padding: 16px 22px; background: transparent; border: 0;
    font-family: inherit; font-size: 14px; font-weight: 500; color: var(--mute);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
  }
  .pdp-tabs button.active { color: var(--ink); border-bottom-color: var(--ink); }
  .pdp-tabs button:hover { color: var(--ink); }

  .pdp-pane {
    padding: 36px 56px 0;
    display: none;
  }
  .pdp-pane.active { display: block; }

  /* Description pane */
  .desc-grid {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start;
  }
  .desc-grid h2 {
    margin: 0 0 14px; font-size: 22px; font-weight: 600;
    letter-spacing: -0.01em;
  }
  .desc-grid p {
    margin: 0 0 14px; font-size: 15px; line-height: 1.65; color: var(--ink-2);
  }
  .desc-grid .lead {
    font-size: 17px; color: var(--ink); line-height: 1.6;
  }
  .feature-list {
    list-style: none; padding: 0; margin: 24px 0 0;
    display: grid; gap: 18px;
  }
  .feature-list li {
    display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start;
  }
  .feature-list .ic {
    width: 36px; height: 36px; border-radius: 8px; background: #eef3fa;
    display: grid; place-items: center;
  }
  .feature-list .ic svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
  .feature-list h4 {
    margin: 0 0 4px; font-size: 14px; font-weight: 600;
  }
  .feature-list p {
    margin: 0; font-size: 13px; color: var(--mute); line-height: 1.55;
  }

  .desc-aside {
    background: #f7f9fc;
    border-radius: 14px;
    padding: 26px;
  }
  .desc-aside h3 {
    margin: 0 0 14px; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
  }
  .quickfacts {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 12px;
  }
  .quickfacts li {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    font-size: 13px; padding-bottom: 12px;
    border-bottom: 1px solid #e6ecf5;
  }
  .quickfacts li:last-child { border-bottom: 0; padding-bottom: 0; }
  .quickfacts .k { color: var(--mute); }
  .quickfacts .v { color: var(--ink); font-weight: 500; text-align: right; }

  /* Specs pane */
  .specs-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px;
  }
  .specs-grid .group h3 {
    margin: 0 0 14px; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding-bottom: 12px; border-bottom: 1px solid var(--line);
  }
  .specs-grid table {
    width: 100%; border-collapse: collapse; margin-bottom: 32px;
  }
  .specs-grid td {
    padding: 10px 0; font-size: 13px; vertical-align: top;
    border-bottom: 1px solid var(--line-2);
  }
  .specs-grid td:first-child { color: var(--mute); width: 45%; }
  .specs-grid td:last-child { color: var(--ink); font-weight: 500; }

  /* Reviews pane */
  .reviews-head {
    display: grid; grid-template-columns: 280px 1fr; gap: 56px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
  }
  .review-summary .big {
    font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -0.03em;
  }
  .review-summary .big-row {
    display: flex; align-items: baseline; gap: 10px;
  }
  .review-summary .big-row .of { color: var(--mute); font-size: 18px; }
  .review-summary .stars { color: #c79a3a; font-size: 18px; letter-spacing: 0.08em; margin: 6px 0 4px; }
  .review-summary .total { font-size: 13px; color: var(--mute); }

  .bars { display: grid; gap: 8px; }
  .bar {
    display: grid; grid-template-columns: 50px 1fr 50px; gap: 14px; align-items: center;
    font-size: 13px;
  }
  .bar .label { color: var(--ink-2); }
  .bar .track {
    height: 6px; background: var(--tag-bg); border-radius: 100px;
    position: relative; overflow: hidden;
  }
  .bar .fill { height: 100%; background: #c79a3a; border-radius: 100px; }
  .bar .pct { font-family: 'Geist Mono'; font-size: 12px; color: var(--mute); text-align: right; }

  .review-list {
    display: grid; gap: 28px;
  }
  .review {
    display: grid; grid-template-columns: 60px 1fr; gap: 18px;
  }
  .review .avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: #1e4d8a; color: #fff;
    display: grid; place-items: center; font-weight: 600;
    font-size: 15px;
  }
  .review .name {
    font-size: 13px; font-weight: 600;
  }
  .review .verified {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; color: #2e7a4e; font-weight: 500; margin-left: 8px;
  }
  .review .head-row {
    display: flex; align-items: center; gap: 12px; margin-bottom: 6px;
    flex-wrap: wrap;
  }
  .review .head-row .stars { color: #c79a3a; letter-spacing: 0.04em; font-size: 13px; }
  .review .head-row .date { font-size: 12px; color: var(--mute); }
  .review h4 {
    margin: 0 0 6px; font-size: 14px; font-weight: 600;
  }
  .review p {
    margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6;
  }
  .review .helpful {
    margin-top: 12px; display: flex; gap: 14px; font-size: 12px; color: var(--mute);
  }
  .review .helpful button {
    background: transparent; border: 1px solid var(--line);
    border-radius: 100px; padding: 4px 12px; font-size: 12px; color: var(--ink-2);
    cursor: pointer;
  }
  .review .helpful button:hover { border-color: var(--ink); color: var(--ink); }

  /* Shipping pane */
  .shipping-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
  }
  .ship-card {
    border: 1px solid var(--line); border-radius: 12px; padding: 24px;
    background: #fff;
  }
  .ship-card svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.4; margin-bottom: 14px; }
  .ship-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
  .ship-card p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }

  /* Related products padding fix — already uses .section */

  /* ============================================================
     WISHLIST PAGE
     ============================================================ */

  .wl-head {
    padding: 28px 56px 32px;
    display: grid; grid-template-columns: 1fr auto; gap: 32px;
    align-items: end;
    border-bottom: 1px solid var(--line);
  }
  .wl-head h1 {
    margin: 0; font-size: 44px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05;
  }
  .wl-head h1 .count {
    font-family: 'Geist Mono'; font-size: 14px; color: var(--mute);
    font-weight: 400; letter-spacing: 0.04em; margin-left: 12px; vertical-align: middle;
  }
  .wl-head p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; max-width: 640px; }
  .wl-head .actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
  .wl-head .btn {
    height: 40px; padding: 0 16px; border-radius: 8px;
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    font-family: inherit; font-size: 13px; font-weight: 500;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .wl-head .btn:hover { border-color: var(--ink); }
  .wl-head .btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
  .wl-head .btn.primary:hover { background: #16335e; border-color: #16335e; }
  .wl-head .btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }

  .wl-lists {
    padding: 16px 56px;
    border-bottom: 1px solid var(--line);
    display: flex; gap: 6px; align-items: center; overflow-x: auto;
  }
  .wl-lists .list-tab {
    padding: 8px 14px; border-radius: 100px; border: 1px solid var(--line);
    background: #fff; font-size: 13px; color: var(--ink-2);
    display: inline-flex; gap: 8px; align-items: center; cursor: pointer; white-space: nowrap;
  }
  .wl-lists .list-tab:hover { border-color: var(--ink); color: var(--ink); }
  .wl-lists .list-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .wl-lists .list-tab .n {
    font-family: 'Geist Mono'; font-size: 11px;
    background: var(--tag-bg); color: var(--ink-2); padding: 2px 7px; border-radius: 100px;
  }
  .wl-lists .list-tab.active .n { background: rgba(255,255,255,0.18); color: #fff; }
  .wl-lists .new-list {
    margin-left: auto; padding: 8px 14px; font-size: 13px; color: var(--accent);
    font-weight: 500; display: inline-flex; gap: 6px; align-items: center;
    border: 1px dashed var(--accent); border-radius: 100px; background: transparent;
  }

  .wl-toolbar {
    padding: 18px 56px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  }
  .wl-toolbar .info { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
  .wl-toolbar .info .count { font-size: 13px; color: var(--ink); font-weight: 500; }
  .wl-toolbar .info .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
  .wl-toolbar .info .price-sum { font-size: 13px; color: var(--mute); }
  .wl-toolbar .info .price-sum strong { color: var(--ink); font-weight: 600; }
  .wl-toolbar .selectall {
    display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); cursor: pointer;
  }
  .wl-toolbar .selectall input { width: 16px; height: 16px; accent-color: var(--accent); margin: 0; }
  .wl-toolbar .right { display: flex; gap: 10px; align-items: center; }

  .wl-body { padding: 18px 56px 0; }
  .wl-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

  .wl-item {
    display: grid; grid-template-columns: 22px 132px 1fr auto; gap: 22px;
    padding: 18px; background: #fff;
    border: 1px solid var(--line); border-radius: 12px; align-items: center;
    transition: border-color .15s, box-shadow .15s;
  }
  .wl-item:hover { border-color: #c9d6e8; box-shadow: 0 4px 20px -10px rgba(20,30,60,0.10); }
  .wl-item.checked { border-color: var(--accent); background: #fafcff; }
  .wl-item .pick { display: grid; place-items: center; }
  .wl-item .pick input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; cursor: pointer; }
  .wl-item .thumb {
    width: 132px; height: 132px; border-radius: 10px; overflow: hidden;
    background: #f3f6fa; position: relative; display: block;
  }
  .wl-item .thumb .badge { position: absolute; top: 8px; left: 8px; }
  .wl-item .info { min-width: 0; }
  .wl-item .src {
    font-family: 'Geist Mono'; font-size: 10px; color: var(--mute);
    letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px;
    display: flex; align-items: center; gap: 8px;
  }
  .wl-item .src .verified { color: var(--accent); }
  .wl-item .title {
    font-size: 17px; font-weight: 600; letter-spacing: -0.005em;
    color: var(--ink); margin: 0 0 6px; line-height: 1.25;
  }
  .wl-item .title a:hover { color: var(--accent); }
  .wl-item .meta {
    display: flex; gap: 10px; align-items: center; font-size: 12px;
    color: var(--mute); margin-bottom: 10px; flex-wrap: wrap;
  }
  .wl-item .meta .stars { color: #c79a3a; letter-spacing: 0.05em; }
  .wl-item .meta .stock { display: inline-flex; align-items: center; gap: 6px; }
  .wl-item .meta .stock::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2c8c5b;
  }
  .wl-item .meta .stock.out::before { background: var(--mute); }
  .wl-item .meta .stock.out { color: var(--mute); }
  .wl-item .added { font-family: 'Geist Mono'; font-size: 11px; color: var(--mute); letter-spacing: 0.04em; }
  .wl-item .right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 220px; }
  .wl-item .priceblock { text-align: right; }
  .wl-item .price { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
  .wl-item .priceblock .was { font-size: 13px; color: var(--mute); text-decoration: line-through; margin-left: 8px; }
  .wl-item .pricedrop {
    font-size: 12px; color: var(--hot); font-weight: 500;
    display: inline-flex; gap: 4px; align-items: center; margin-top: 4px;
  }
  .wl-item .pricedrop svg { width: 12px; height: 12px; }
  .wl-item .actions { display: flex; gap: 8px; align-items: center; }
  .wl-item .actions .buy {
    background: var(--ink); color: #fff; border: 0; height: 40px; padding: 0 18px; border-radius: 8px;
    font-weight: 600; font-size: 13px; font-family: inherit;
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: background .15s;
  }
  .wl-item .actions .buy:hover { background: var(--accent); }
  .wl-item .actions .buy svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.5; }
  .wl-item .actions .buy[disabled] { background: var(--mute); pointer-events: none; }
  .wl-item .actions .iconbtn {
    width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line);
    background: #fff; display: grid; place-items: center; color: var(--ink-2);
  }
  .wl-item .actions .iconbtn:hover { color: var(--ink); border-color: var(--ink); }
  .wl-item .actions .iconbtn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }
  .wl-item .actions .iconbtn.remove:hover { color: var(--hot); border-color: var(--hot); }
  .wl-item.out .price { color: var(--mute); }

  .wl-bulkbar {
    position: sticky; bottom: 16px; margin: 16px 56px 32px;
    background: #0e1a2e; color: #fff; border-radius: 14px; padding: 14px 22px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 18px 40px -12px rgba(14,26,46,0.45); z-index: 5;
  }
  .wl-bulkbar .label { font-size: 14px; }
  .wl-bulkbar .label strong { font-weight: 600; }
  .wl-bulkbar .label .sum { color: #9ec3f0; margin-left: 12px; font-family: 'Geist Mono'; font-size: 12px; }
  .wl-bulkbar .group { display: flex; gap: 8px; }
  .wl-bulkbar button {
    height: 38px; padding: 0 16px; border-radius: 8px; border: 0;
    font-family: inherit; font-size: 13px; font-weight: 500;
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.10); color: #fff; cursor: pointer;
  }
  .wl-bulkbar button:hover { background: rgba(255,255,255,0.18); }
  .wl-bulkbar button.primary { background: #fff; color: var(--ink); }
  .wl-bulkbar button.primary:hover { background: #f0f2f6; }

  .wl-empty {
    padding: 80px 56px; text-align: center;
    border: 1px dashed var(--line); border-radius: 16px;
    margin: 28px 56px; background: #fafcff;
  }
  .wl-empty .icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--tag-bg); color: var(--accent);
    display: grid; place-items: center; margin: 0 auto 18px;
  }
  .wl-empty h2 { margin: 0 0 8px; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
  .wl-empty p { margin: 0 auto 24px; color: var(--ink-2); font-size: 14px; max-width: 440px; }
  .wl-empty .cta {
    display: inline-flex; gap: 8px; align-items: center;
    background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 8px;
    font-weight: 600; font-size: 14px; text-decoration: none;
  }

  .wl-share {
    margin: 28px 56px; padding: 22px;
    border: 1px solid var(--line); border-radius: 14px;
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
    background: linear-gradient(135deg, #f7faff 0%, #ffffff 100%);
  }
  .wl-share h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
  .wl-share p { margin: 0; font-size: 13px; color: var(--ink-2); }
  .wl-share .url {
    display: flex; align-items: stretch; height: 42px;
    border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff;
  }
  .wl-share .url input {
    flex: 1; min-width: 280px; border: 0; outline: none;
    padding: 0 14px; font-family: 'Geist Mono'; font-size: 12px; color: var(--ink-2); background: transparent;
  }
  .wl-share .url button {
    border: 0; background: var(--accent); color: #fff; padding: 0 18px;
    font-weight: 600; font-size: 13px; font-family: inherit; cursor: pointer;
  }

  /* Wishlist icon active state (filled heart) */
  .pcard .wishlist.wl-active svg { fill: var(--hot); stroke: var(--hot); }
  .buy-secondary.wl-saved { background: var(--ink); color: #fff; }

  /* Wishlist count badge in header */
  .icon-btn .wl-count {
    position: absolute; top: 4px; right: 6px;
    background: var(--hot); color: #fff; font-size: 10px; font-weight: 600;
    min-width: 16px; height: 16px; border-radius: 100px; padding: 0 4px;
    display: grid; place-items: center;
  }

  /* ============================================================
     RESPONSIVE
     ============================================================ */

  /* ------ Tablet: ≤ 1100px ------ */
  @media (max-width: 1100px) {
    :root { --px: 32px; }

    .util  { padding: 8px var(--px); }
    .header-inner { padding: 18px var(--px) 14px; grid-template-columns: 180px 1fr 220px; gap: 20px; }
    .catnav { padding: 0 var(--px); }
    .hero   { padding: 24px var(--px); }
    .section { padding: 40px var(--px) 0; }
    .trust  { margin: 0 var(--px); }
    .breadcrumb { padding: 18px var(--px) 0; }
    .cathead { padding: 18px var(--px) 28px; }
    .catbody { padding: 24px var(--px) 0; }
    .pdp  { padding: 24px var(--px) 0; }
    .pdp-tabs { padding: 0 var(--px); }
    .pdp-pane { padding: 32px var(--px) 0; }
    .footer { padding: 48px var(--px) 28px; }

    .pgrid.three { grid-template-columns: repeat(3, 1fr); }

    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
    .footer-grid > div:last-child { grid-column: 2 / span 3; }

    /* Wishlist */
    .wl-head    { padding: 24px var(--px) 28px; }
    .wl-lists   { padding: 14px var(--px); }
    .wl-toolbar { padding: 16px var(--px) 0; }
    .wl-body    { padding: 16px var(--px) 0; }
    .wl-share   { margin: 20px var(--px); }
    .wl-empty   { margin: 20px var(--px); padding: 60px var(--px); }
    .wl-bulkbar { margin: 12px var(--px) 28px; }

  }

  /* ------ Small tablet: ≤ 800px ------ */
  @media (max-width: 800px) {
    :root { --px: 20px; }

    /* Header: logo + icons row, search below */
    .header-inner {
      grid-template-columns: 1fr auto;
      grid-template-rows: auto auto;
      gap: 12px;
      padding: 14px var(--px);
    }
    .header-inner .brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .header-inner .search { grid-column: 1 / -1; height: 44px; }
    .header-inner .search button { padding: 0 16px; }
    .header-actions { grid-row: 1; grid-column: 2; justify-content: flex-end; flex-shrink: 0; }
    .icon-btn { padding: 6px 8px; font-size: 10px; }
    .icon-btn svg { width: 20px; height: 20px; }

    /* Category nav: scrollable pills */
    .catnav { gap: 0; padding: 0 0 0 var(--px); }
    .catnav .all { padding: 12px 16px; font-size: 12px; }
    .catnav a.cat { padding: 12px 14px; font-size: 12px; }
    .catnav .cat-label { display: none; }

    /* Section heads */
    .section-head { flex-wrap: wrap; gap: 10px; }
    .section-head .left h2 { font-size: 22px; }
    .section-head .right .nav-btn { display: none; }

    /* Product grid: 2 cols */
    .pgrid.three { grid-template-columns: repeat(2, 1fr); }

    /* Trust strip: 2 cols */
    .trust { grid-template-columns: 1fr 1fr; }
    .trust > div:nth-child(2) { border-right: 0; }
    .trust > div:nth-child(3) { border-top: 1px solid var(--line); }
    .trust > div:nth-child(4) { border-top: 1px solid var(--line); border-right: 0; }

    /* Hero */
    .hero { grid-template-columns: 1fr; }
    .hero-side { display: none; }
    .hero-main h1 { font-size: 38px; }

    /* Category page */
    .cathead { grid-template-columns: 1fr; gap: 16px; }
    .catbody { grid-template-columns: 1fr; }

    .filters {
      position: fixed; top: 0; left: 0; height: 100%; width: 300px; max-width: 85vw;
      background: var(--bg); z-index: 300; overflow-y: auto;
      padding: 56px 20px 24px; box-shadow: 4px 0 24px rgba(0,0,0,.12);
      transform: translateX(-110%); transition: transform .25s ease;
    }
    .filters.open { transform: translateX(0); }
    .filter-close {
      position: absolute; top: 14px; right: 14px;
      width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
      background: none; display: grid; place-items: center; cursor: pointer; color: var(--ink-2);
    }
    .filter-overlay {
      display: none; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 299;
    }
    .filter-overlay.open { display: block; }
    .mobile-filter-btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px;
      background: var(--card); font-size: 13px; cursor: pointer; color: var(--ink);
    }

    /* PDP */
    .pdp { grid-template-columns: 1fr; gap: 32px; }
    .gallery { grid-template-columns: 72px 1fr; position: static; }
    .buybox h1 { font-size: 26px; }
    .buybox .priceline .price { font-size: 28px; }
    .qtyrow { grid-template-columns: 110px 1fr; }

    /* PDP tabs */
    .pdp-tabs { overflow-x: auto; gap: 0; white-space: nowrap; }
    .pdp-tabs button { padding: 14px 16px; font-size: 13px; }

    /* Desc grid */
    .desc-grid { grid-template-columns: 1fr; gap: 32px; }
    .specs-grid { grid-template-columns: 1fr; }

    /* Reviews */
    .reviews-head { grid-template-columns: 1fr; gap: 28px; }

    /* Shipping */
    .shipping-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer .about { grid-column: 1 / -1; }

    /* Wishlist */
    .wl-head { grid-template-columns: 1fr; }
    .wl-head h1 { font-size: 32px; }
    .wl-item { grid-template-columns: 22px 100px 1fr; }
    .wl-item .right { display: none; }
    .wl-item .info .actions {
      display: flex; gap: 8px; margin-top: 10px;
    }
    .wl-share { grid-template-columns: 1fr; }
    .wl-share .url input { min-width: 0; }
    .wl-bulkbar { flex-direction: column; gap: 12px; align-items: flex-start; }

  }

  /* ------ Mobile: ≤ 540px ------ */
  @media (max-width: 540px) {
    :root { --px: 16px; }

    /* Utility bar */
    .util { display: none; }

    /* Header: tighter */
    .header-inner { padding: 12px var(--px); gap: 10px; }
    .brand { font-size: 18px; }
    .brand-mark { width: 26px; height: 26px; font-size: 12px; }
    .header-inner .search .cat-select { display: none; }
    .header-inner .search button { font-size: 13px; padding: 0 14px; }

    /* Single-col product grid */
    .pgrid { grid-template-columns: 1fr; }
    .pgrid.three { grid-template-columns: 1fr; }

    /* Section */
    .section { padding: 32px var(--px) 0; }
    .section-head .left h2 { font-size: 20px; }
    .section-head .left p { font-size: 12px; }

    /* Trust: 1 col */
    .trust { grid-template-columns: 1fr; }
    .trust > div { border-right: 0 !important; border-top: 1px solid var(--line); }
    .trust > div:first-child { border-top: 0; }

    /* Hero */
    .hero { padding: 16px var(--px); }
    .hero-main { padding: 36px 28px; min-height: 280px; }
    .hero-main h1 { font-size: 28px; }
    .hero-main p { font-size: 14px; }

    /* Cathead */
    .cathead h1 { font-size: 28px; }
    .cathead .subnav { gap: 4px; }
    .cathead .subnav a { padding: 6px 10px; font-size: 12px; }

    /* Toolbar */
    .toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .toolbar .right { width: 100%; justify-content: space-between; }
    .sort-select { flex: 1; min-width: 0; }

    /* PDP */
    .gallery { grid-template-columns: 60px 1fr; gap: 10px; }
    .buybox h1 { font-size: 22px; }
    .buybox .priceline .price { font-size: 24px; }
    .qtyrow { grid-template-columns: 1fr; }
    .qtyrow .qty { justify-content: center; }
    .buy-primary { width: 100%; justify-content: center; }

    /* Footer */
    .footer { padding: 40px var(--px) 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bot { flex-direction: column; gap: 10px; font-size: 11px; }

    /* Pagination */
    .pagination { gap: 3px; }
    .pagination .page { width: 36px; height: 36px; font-size: 12px; }
    .pagination .nav { padding: 0 12px; font-size: 12px; }

    /* Wishlist */
    .wl-item { grid-template-columns: 22px 80px 1fr; gap: 12px; padding: 14px; }
    .wl-item .thumb { width: 80px; height: 80px; }
    .wl-item .title { font-size: 14px; }
    .wl-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .wl-bulkbar .group { flex-wrap: wrap; }

  }

  /* ---------- Scrollable section grids (home page carousels + related/recommended) ---------- */
  #bestsellers .pgrid,
  #new .pgrid,
  #popular .pgrid,
  #related .pgrid,
  #recommended .pgrid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    gap: 18px;
    padding-bottom: 4px;
  }
  #bestsellers .pgrid::-webkit-scrollbar,
  #new .pgrid::-webkit-scrollbar,
  #popular .pgrid::-webkit-scrollbar,
  #related .pgrid::-webkit-scrollbar,
  #recommended .pgrid::-webkit-scrollbar { display: none; }
  #bestsellers .pgrid .pcard,
  #new .pgrid .pcard,
  #popular .pgrid .pcard {
    flex: 0 0 calc(16.666% - 14px);
    min-width: 160px;
  }
  #related .pgrid .pcard,
  #recommended .pgrid .pcard {
    flex: 0 0 220px;
    min-width: 220px;
  }

  /* ---------- Ad slots ---------- */
  .ad-slot {
    position: relative;
    background: repeating-linear-gradient(
      135deg,
      #f4f6fa 0 10px,
      #fafbfd 10px 20px
    );
    border: 1px dashed #c9d0db;
    border-radius: 10px;
    display: grid; place-items: center;
    overflow: hidden;
    color: var(--mute);
    transition: border-color .15s;
  }
  .ad-slot:hover { border-color: var(--accent); }
  .ad-slot[data-size="300x250"] { width: 300px; height: 250px; }
  .ad-slot[data-size="300x100"] { width: 300px; height: 100px; }
  .ad-slot .ad-inner {
    text-align: center; padding: 16px;
    display: flex; flex-direction: column; gap: 8px; align-items: center;
  }
  .ad-slot .ad-tag {
    position: absolute; top: 8px; right: 10px;
    font-family: 'Geist Mono'; font-size: 9px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--mute);
    background: rgba(255,255,255,0.9);
    padding: 2px 7px; border-radius: 4px;
    border: 1px solid var(--line);
  }
  .ad-slot .ad-size {
    font-family: 'Geist Mono'; font-size: 11px; color: var(--ink-2);
    letter-spacing: 0.06em;
  }
  .ad-slot .ad-label {
    font-size: 13px; color: var(--ink); font-weight: 500;
  }
  .ad-slot .ad-hint {
    font-size: 11px; color: var(--mute); line-height: 1.4; max-width: 240px;
  }
  .ad-slot .ad-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: #fff; border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--accent);
  }
  .ad-slot .ad-icon svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
  .pgrid .ad-slot.ad-cell {
    width: auto; height: auto;
    min-height: 280px;
    aspect-ratio: 4/5;
  }

  /* ============================================================
     ADVERTISING PAGE
     ============================================================ */
  .adv-hero {
    padding: 88px 56px 72px;
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 56px; align-items: center;
    border-bottom: 1px solid var(--line);
  }
  .adv-hero .eyebrow {
    font-family: 'Geist Mono'; font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
  }
  .adv-hero h1 {
    margin: 0; font-size: 64px; line-height: 1.02; letter-spacing: -0.025em;
    font-weight: 600;
  }
  .adv-hero h1 em {
    font-style: italic; color: var(--accent); font-weight: 600;
  }
  .adv-hero .lede {
    margin: 22px 0 0; font-size: 17px; color: var(--ink-2);
    max-width: 540px; line-height: 1.55;
  }
  .adv-hero .cta-row {
    margin-top: 32px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  }
  .adv-hero .cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--ink); color: #fff;
    padding: 14px 22px; border-radius: 8px;
    font-weight: 600; font-size: 14px;
    transition: background .15s;
  }
  .adv-hero .cta:hover { background: var(--accent); }
  .adv-hero .cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
  .adv-hero .cta.secondary {
    background: #fff; color: var(--ink); border: 1px solid var(--ink);
  }
  .adv-hero .cta.secondary:hover { background: var(--ink); color: #fff; }
  .adv-hero .right {
    position: relative;
    background: linear-gradient(135deg, #f7faff 0%, #ffffff 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 40px;
    display: flex; flex-direction: column; gap: 18px;
    align-items: center;
  }
  .adv-hero .right::after {
    content: ''; position: absolute; top: 16px; right: 16px;
    width: 8px; height: 8px; border-radius: 50%; background: #2e7a4e;
    box-shadow: 0 0 0 4px rgba(46,122,78,0.16);
  }
  .adv-hero .right .stack-label {
    font-family: 'Geist Mono'; font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--mute);
  }

  /* Stats strip */
  .adv-stats {
    padding: 32px 56px;
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
  }
  .adv-stats > div {
    padding: 0 28px; border-right: 1px solid var(--line);
  }
  .adv-stats > div:last-child { border-right: 0; }
  .adv-stats .n {
    font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1;
  }
  .adv-stats .n .unit { font-size: 18px; color: var(--mute); margin-left: 4px; font-weight: 500; }
  .adv-stats .l {
    font-family: 'Geist Mono'; font-size: 10px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--mute); margin-top: 8px;
  }

  /* Formats section */
  .adv-section { padding: 80px 56px 0; }
  .adv-section + .adv-section { padding-top: 64px; }
  .adv-section .head {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 38px; padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .adv-section .head h2 {
    margin: 0; font-size: 32px; font-weight: 600; letter-spacing: -0.02em;
    display: flex; align-items: baseline; gap: 14px;
  }
  .adv-section .head .num {
    font-family: 'Geist Mono'; font-size: 12px; color: var(--mute);
    letter-spacing: 0.1em;
  }
  .adv-section .head p {
    margin: 0; color: var(--mute); font-size: 13px; max-width: 360px; text-align: right;
  }
  .formats-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  }
  .format-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 32px;
    display: grid; grid-template-columns: 1fr auto; gap: 28px;
    align-items: center;
  }
  .format-card .info h3 {
    margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  }
  .format-card .info .sub {
    font-family: 'Geist Mono'; font-size: 11px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--mute);
  }
  .format-card .info p {
    margin: 14px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.55;
  }
  .format-card .info ul {
    margin: 14px 0 0; padding: 0; list-style: none;
    display: grid; gap: 8px;
  }
  .format-card .info ul li {
    font-size: 13px; color: var(--ink-2); padding-left: 18px; position: relative;
  }
  .format-card .info ul li::before {
    content: ''; position: absolute; left: 0; top: 7px;
    width: 8px; height: 5px; border-left: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
  }
  .format-card .preview .ad-slot { margin: 0; }
  .custom-formats {
    margin-top: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 14px;
    padding: 28px 32px;
    display: grid; grid-template-columns: 48px 1fr;
    gap: 22px; align-items: flex-start;
  }
  .custom-formats .ic {
    width: 48px; height: 48px; border-radius: 12px;
    background: #eef3fa; color: var(--accent);
    display: grid; place-items: center;
  }
  .custom-formats .ic svg { width: 22px; height: 22px; }
  .custom-formats h3 {
    margin: 0 0 8px; font-size: 18px; font-weight: 600;
    letter-spacing: -0.01em;
  }
  .custom-formats p {
    margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.6;
    max-width: 780px;
  }
  .custom-formats .link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 14px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    border-bottom: 1px solid currentColor; padding-bottom: 1px;
  }
  .custom-formats .link svg {
    width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.6;
    transition: transform .15s;
  }
  .custom-formats .link:hover svg { transform: translateX(2px); }
  .fmt-chips {
    margin-top: 18px;
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .fmt-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 100px;
    border: 1px solid var(--line); background: #fafbfd;
    font-size: 13px; color: var(--ink-2); font-weight: 500;
  }
  .fmt-chip .meta {
    font-family: 'Geist Mono'; font-size: 10px; letter-spacing: 0.04em;
    color: var(--mute); font-weight: 400;
  }
  .fmt-chip .dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--mute);
  }
  .fmt-chip.vast {
    background: #f7faff; border-color: #c9dcf3; color: var(--ink);
  }
  .fmt-chip.vast .dot { background: var(--accent); }
  .fmt-chip.onclick {
    background: #fef6f0; border-color: #f3d5be; color: var(--ink);
  }
  .fmt-chip.onclick .dot { background: var(--hot); }
  .placements {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  }
  .placement-card {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 24px;
    display: flex; flex-direction: column; gap: 12px;
  }
  .placement-card .ic {
    width: 36px; height: 36px; border-radius: 8px;
    background: #eef3fa; color: var(--accent);
    display: grid; place-items: center;
  }
  .placement-card .ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
  .placement-card h4 { margin: 0; font-size: 15px; font-weight: 600; }
  .placement-card p { margin: 0; font-size: 13px; color: var(--mute); line-height: 1.55; }
  .placement-card .meta {
    margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; font-family: 'Geist Mono';
    font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute);
  }
  .placement-card .meta strong { color: var(--ink); font-weight: 600; }
  .process {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  }
  .step {
    border-top: 2px solid var(--ink);
    padding-top: 18px;
  }
  .step .n {
    font-family: 'Geist Mono'; font-size: 12px; letter-spacing: 0.1em;
    color: var(--accent); margin-bottom: 14px;
  }
  .step h4 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
  .step p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
  .adv-contact {
    margin: 88px 56px 56px;
    background: #0e1a2e; color: #fff;
    border-radius: 18px;
    padding: 64px;
    display: grid; grid-template-columns: 1fr auto;
    gap: 56px; align-items: center;
    overflow: hidden; position: relative;
  }
  .adv-contact::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(110,163,224,0.35), transparent 70%);
    pointer-events: none;
  }
  .adv-contact .eyebrow {
    font-family: 'Geist Mono'; font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase; color: #9ec3f0; margin-bottom: 14px;
  }
  .adv-contact h2 {
    margin: 0; font-size: 40px; font-weight: 600; letter-spacing: -0.02em;
    line-height: 1.1; max-width: 540px;
  }
  .adv-contact p { margin: 16px 0 0; color: #b9c3d4; font-size: 15px; max-width: 480px; line-height: 1.55; }
  .adv-contact .email-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 28px;
    min-width: 380px;
    backdrop-filter: blur(2px);
    position: relative; z-index: 1;
  }
  .adv-contact .email-card .label {
    font-family: 'Geist Mono'; font-size: 10px; letter-spacing: 0.14em;
    text-transform: uppercase; color: #9ec3f0; margin-bottom: 14px;
  }
  .adv-contact .email-card .email {
    font-size: 28px; font-weight: 600; letter-spacing: -0.01em;
    margin-bottom: 18px; display: block;
    color: #fff;
    word-break: break-all;
  }
  .adv-contact .email-card .email:hover { color: #9ec3f0; }
  .adv-contact .email-card .actions {
    display: flex; gap: 8px;
  }
  .adv-contact .email-card .btn {
    height: 42px; padding: 0 18px; border-radius: 8px; border: 0;
    font-family: inherit; font-size: 13px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer;
  }
  .adv-contact .email-card .btn.primary { background: #fff; color: var(--ink); }
  .adv-contact .email-card .btn.primary:hover { background: #f0f2f6; }
  .adv-contact .email-card .btn.ghost {
    background: rgba(255,255,255,0.08); color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
  }
  .adv-contact .email-card .btn.ghost:hover { background: rgba(255,255,255,0.14); }
  .adv-contact .email-card .btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
  .adv-contact .email-card .reply {
    margin-top: 18px; padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.10);
    font-size: 12px; color: #9ec3f0;
    display: flex; align-items: center; gap: 8px;
  }
  .adv-contact .email-card .reply::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%; background: #6fc28e;
    box-shadow: 0 0 0 3px rgba(111,194,142,0.25);
  }

  /* ============================================================
     ADVERTISING PAGE — RESPONSIVE
     ============================================================ */
  @media (max-width: 1100px) {
    .adv-hero    { padding: 56px 32px 48px; gap: 40px; }
    .adv-hero h1 { font-size: 48px; }
    .adv-stats   { padding: 28px 32px; }
    .adv-section { padding: 56px 32px 0; }
    .adv-section + .adv-section { padding-top: 48px; }
    .placements  { grid-template-columns: repeat(2, 1fr); }
    .process     { grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
    .adv-contact { margin: 56px 32px 40px; padding: 48px; gap: 40px; }
    .breadcrumb  { padding: 18px 32px 0; }
  }

  @media (max-width: 800px) {
    .adv-hero { padding: 40px 20px 36px; grid-template-columns: 1fr; }
    .adv-hero .right { display: none; }
    .adv-hero h1 { font-size: 36px; }
    .adv-hero .lede { font-size: 15px; margin-top: 14px; }
    .adv-stats { padding: 24px 20px; grid-template-columns: repeat(2, 1fr); }
    .adv-stats > div { padding: 16px 20px; }
    .adv-stats > div:nth-child(2) { border-right: 0; }
    .adv-stats > div:nth-child(3) { border-top: 1px solid var(--line); }
    .adv-stats > div:nth-child(4) { border-top: 1px solid var(--line); border-right: 0; }
    .adv-stats .n { font-size: 30px; }
    .adv-section { padding: 44px 20px 0; }
    .adv-section + .adv-section { padding-top: 36px; }
    .adv-section .head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .adv-section .head p { text-align: left; max-width: none; }
    .formats-grid { grid-template-columns: 1fr; }
    .format-card { grid-template-columns: 1fr; gap: 20px; }
    .format-card .preview { display: flex; justify-content: center; }
    .placements { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); }
    .adv-contact { grid-template-columns: 1fr; padding: 40px; margin: 44px 20px 36px; gap: 28px; }
    .adv-contact .email-card { min-width: 0; }
    .adv-contact h2 { font-size: 30px; }
  }

  @media (max-width: 540px) {
    .adv-hero { padding: 28px 16px 28px; }
    .adv-hero h1 { font-size: 26px; }
    .adv-hero .lede { font-size: 14px; }
    .adv-hero .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
    .adv-hero .cta { justify-content: center; }
    .adv-stats { padding: 0 16px; grid-template-columns: repeat(2, 1fr); }
    .adv-stats > div { padding: 18px 16px; }
    .adv-stats .n { font-size: 24px; }
    .adv-stats .n .unit { font-size: 14px; }
    .adv-section { padding: 36px 16px 0; }
    .adv-section + .adv-section { padding-top: 28px; }
    .adv-section .head h2 { font-size: 20px; }
    .format-card { padding: 20px; }
    .format-card .preview { display: none; }
    .custom-formats { padding: 20px; grid-template-columns: 1fr; }
    .custom-formats .ic { display: none; }
    .fmt-chip .meta { display: none; }
    .placements { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr; gap: 0; }
    .step { border-top: 0; border-left: 2px solid var(--ink); padding: 0 0 24px 16px; }
    .step:last-child { padding-bottom: 0; }
    .adv-contact { padding: 24px 16px; margin: 28px 16px; }
    .adv-contact h2 { font-size: 22px; }
    .adv-contact p { font-size: 13px; }
    .adv-contact .email-card .email { font-size: 16px; word-break: break-all; }
    .adv-contact .email-card .actions { flex-direction: column; }
    .adv-contact .email-card .btn { justify-content: center; }
  }

  /* ============================================================
     404 PAGE
     ============================================================ */
  .nf {
    padding: 64px 56px 0;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
    min-height: 560px;
  }
  .nf .left .errcode {
    font-family: 'Geist Mono'; font-size: 11px;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 22px;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .nf .left .errcode::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--hot);
    box-shadow: 0 0 0 4px rgba(184,68,42,0.18);
  }
  .nf .left h1 {
    margin: 0; font-size: 64px; line-height: 1.02;
    letter-spacing: -0.025em; font-weight: 600;
  }
  .nf .left h1 em { font-style: italic; color: var(--accent); font-weight: 600; }
  .nf .left .lede {
    margin: 20px 0 0; font-size: 17px; color: var(--ink-2);
    max-width: 520px; line-height: 1.55;
  }
  .nf .left .ledger {
    margin: 28px 0 0; padding: 14px 18px;
    background: var(--tag-bg); border-radius: 10px;
    font-family: 'Geist Mono'; font-size: 12px;
    color: var(--ink-2); display: flex; flex-direction: column; gap: 6px;
    max-width: 520px;
  }
  .nf .left .ledger .row { display: flex; justify-content: space-between; gap: 14px; }
  .nf .left .ledger .k { color: var(--mute); }
  .nf .left .ledger .v { color: var(--ink); }
  .nf .left .ledger .v .ok { color: #2e7a4e; }
  .nf .left .ledger .v .err { color: var(--hot); }
  .nf .left .search-wrap { margin: 28px 0 0; max-width: 520px; }
  .nf .left .search { border: 1.5px solid var(--ink); height: 52px; }
  .nf .left .search input { font-size: 14px; }
  .nf .left .search button { padding: 0 26px; }
  .nf .left .search .cat-select { min-width: 0; max-width: 130px; text-overflow: ellipsis; }
  .nf .left .cta-row { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
  .nf .left .cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 13px;
    background: var(--ink); color: #fff; transition: background .15s;
  }
  .nf .left .cta.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .nf .left .cta.secondary:hover { border-color: var(--ink); }
  .nf .left .cta:hover { background: var(--accent); }
  .nf .left .cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }

  .nf .visual {
    position: relative; aspect-ratio: 1/1;
    background: linear-gradient(135deg, #f7faff 0%, #ffffff 70%);
    border: 1px solid var(--line); border-radius: 18px;
    overflow: hidden; display: grid; place-items: center;
  }
  .nf .visual .num {
    font-size: 260px; font-weight: 600; letter-spacing: -0.05em;
    color: var(--ink); line-height: 0.9;
    display: flex; align-items: center; gap: 6px; user-select: none;
  }
  .nf .visual .num .zero {
    display: inline-grid; place-items: center;
    width: 160px; height: 160px; border-radius: 50%;
    border: 16px solid var(--ink); box-sizing: border-box; position: relative;
  }
  .nf .visual .num .zero::after {
    content: ''; position: absolute; right: -12px; bottom: -10px;
    width: 44px; height: 16px; background: var(--ink);
    transform: rotate(45deg); border-radius: 4px;
  }
  .nf .visual .corner {
    position: absolute; top: 18px; left: 22px;
    font-family: 'Geist Mono'; font-size: 11px;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
    display: flex; align-items: center; gap: 8px;
  }
  .nf .visual .corner .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hot); }
  .nf .visual .corner-r {
    position: absolute; top: 18px; right: 22px;
    font-family: 'Geist Mono'; font-size: 10px; letter-spacing: 0.06em; color: var(--mute);
  }
  .nf .visual .stamp {
    position: absolute; bottom: 24px; right: 26px; transform: rotate(-6deg);
    border: 2px solid var(--hot); color: var(--hot);
    padding: 8px 16px; border-radius: 6px;
    font-family: 'Geist Mono'; font-size: 12px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85;
  }
  .nf .visual .scan {
    position: absolute; bottom: 26px; left: 26px;
    font-family: 'Geist Mono'; font-size: 10px; color: var(--mute); letter-spacing: 0.04em;
  }
  .nf .visual .scan .bars { display: flex; gap: 2px; align-items: end; margin-bottom: 6px; }
  .nf .visual .scan .bars i { display: block; width: 2px; background: var(--ink); }

  .nf-cats { padding: 56px 56px 0; }
  .nf-cats .head {
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px; margin-bottom: 22px;
    display: flex; align-items: flex-end; justify-content: space-between;
  }
  .nf-cats .head h2 {
    margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
    display: flex; align-items: baseline; gap: 14px;
  }
  .nf-cats .head .num { font-family: 'Geist Mono'; font-size: 12px; color: var(--mute); letter-spacing: 0.1em; }
  .nf-cats .head p { margin: 0; color: var(--mute); font-size: 13px; }
  .nf-cats .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .nf-cats .tile {
    border: 1px solid var(--line); border-radius: 12px;
    padding: 20px 18px; background: #fff;
    display: flex; flex-direction: column; gap: 10px;
    transition: all .15s; min-height: 120px; justify-content: space-between;
  }
  .nf-cats .tile:hover {
    border-color: var(--ink); transform: translateY(-2px);
    box-shadow: 0 8px 24px -14px rgba(20,30,60,0.18);
  }
  .nf-cats .tile .ic {
    width: 34px; height: 34px; border-radius: 8px;
    background: #eef3fa; color: var(--accent); display: grid; place-items: center;
  }
  .nf-cats .tile .ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
  .nf-cats .tile .name { font-size: 14px; font-weight: 600; color: var(--ink); }
  .nf-cats .tile .count { font-family: 'Geist Mono'; font-size: 10px; letter-spacing: 0.06em; color: var(--mute); }

  /* ---- 404 responsive ---- */
  @media (max-width: 1100px) {
    .nf { padding: 48px 32px 0; gap: 40px; }
    .nf .left h1 { font-size: 48px; }
    .nf-cats { padding: 48px 32px 0; }
    .nf-cats .grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 800px) {
    .nf { grid-template-columns: 1fr; padding: 40px 24px 0; gap: 32px; }
    .nf .visual { max-width: 420px; width: 100%; margin: 0 auto; }
    .nf .visual .num { font-size: 160px; }
    .nf .visual .num .zero { width: 100px; height: 100px; border-width: 10px; }
    .nf .left h1 { font-size: 40px; }
    .nf .left .lede { font-size: 15px; }
    .nf-cats { padding: 40px 24px 0; }
    .nf-cats .grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 540px) {
    .nf { padding: 28px 16px 0; }
    .nf .left h1 { font-size: 32px; }
    .nf .left .ledger { font-size: 11px; }
    .nf .left .search .cat-select { display: none; }
    .nf-cats { padding: 32px 16px 0; }
    .nf-cats .grid { grid-template-columns: repeat(2, 1fr); }
  }
