  :root {
    --bg: #f5f8fa;
    --surface: #ffffff;
    --ink: #10212b;
    --muted: #5b6b75;
    --line: #dfe7ec;
    --brand: #00838f;
    --brand-deep: #0b3954;
    --brand-soft: #e0f3f5;
    --accent: #f2a541;
    --wa: #1fa855;
    --radius: 16px;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0d171d; --surface: #15232b; --ink: #e8f0f4; --muted: #9fb1bb;
      --line: #263842; --brand: #4fc3cf; --brand-deep: #0a2a3d; --brand-soft: #173740; --accent: #f5b961;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0d171d; --surface: #15232b; --ink: #e8f0f4; --muted: #9fb1bb;
    --line: #263842; --brand: #4fc3cf; --brand-deep: #0a2a3d; --brand-soft: #173740; --accent: #f5b961;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 120px; }
  body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, system-ui, sans-serif; line-height: 1.55; }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  .wrap { max-width: 1180px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

  /* Header */
  header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 76px; }
  .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .3px; }
  .logo img { width: 58px; height: 58px; border-radius: 50%; }
  .hero-logo { width: 220px; height: 220px; border-radius: 50%; margin: 0 auto 22px; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
  @media (min-width: 900px) { .hero-logo { width: 250px; height: 250px; } }
  .logo small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: 0; }
  nav.main { display: none; gap: 22px; font-weight: 500; font-size: .92rem; }
  nav.main a { text-decoration: none; color: var(--muted); }
  nav.main a:hover { color: var(--brand); }
  @media (min-width: 900px) { nav.main { display: flex; } }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 20px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
  .btn-wa { background: var(--wa); color: #fff; }
  .btn-wa:hover { filter: brightness(1.08); }
  .btn-light { background: #fff; color: var(--brand-deep); }
  .btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
  .btn-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
  .ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

  /* Hero */
  .hero { background: radial-gradient(1200px 500px at 85% -10%, #12a4b2 0%, transparent 60%), linear-gradient(135deg, #0b3954 0%, #00606b 100%); color: #fff; }
  .hero .wrap { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 48px; align-items: center; }
  @media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; padding-top: 72px; padding-bottom: 72px; } }
  .pill { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 5px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
  .hero h1 { font-size: clamp(2rem, 5.5vw, 3.3rem); line-height: 1.1; margin: 16px 0 14px; letter-spacing: -.5px; }
  .hero h1 span { color: var(--accent); }
  .hero p { color: rgba(255,255,255,.82); font-size: 1.06rem; margin: 0 0 24px; max-width: 560px; }
  .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; max-width: 520px; }
  .stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px; }
  .stat b { display: block; font-size: 1.5rem; }
  .stat span { font-size: .78rem; color: rgba(255,255,255,.75); }
  .hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 22px; }
  .hero-card h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 14px; color: rgba(255,255,255,.75); }
  .boards { display: grid; gap: 12px; }
  .board { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; background: #fff; color: #10212b; border-radius: 14px; padding: 10px 14px; text-decoration: none; }
  .board img { height: 52px; width: 100%; object-fit: contain; }
  .board b { font-size: .92rem; }
  .board small { display: block; color: #5b6b75; font-size: .78rem; }

  /* Sections */
  section { padding: 56px 0; }
  .kicker { color: var(--brand); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; }
  h2.title { font-size: clamp(1.5rem, 3.8vw, 2.2rem); margin: 6px 0 10px; letter-spacing: -.3px; }
  .lead { color: var(--muted); margin: 0 0 28px; max-width: 680px; }

  /* About */
  .about { display: grid; gap: 28px; }
  @media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; } }
  .states { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .state { background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
  .range-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
  .range-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
  .range-item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }

  /* Catalogue */
  .brand-nav { position: sticky; top: 76px; z-index: 20; background: var(--bg); padding: 10px 0; border-bottom: 1px solid var(--line); }
  .chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 15px; font: inherit; font-size: .88rem; font-weight: 600; text-decoration: none; }
  .chip { cursor: pointer; }
  .chip.active { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
  .brand[hidden] { display: none; }

  .brand { padding: 44px 0 8px; border-bottom: 1px dashed var(--line); }
  .brand:last-child { border-bottom: 0; }
  .brand-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-bottom: 18px; }
  .brand-head img { height: 64px; width: auto; max-width: 200px; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px 10px; border: 1px solid var(--line); }
  .brand-head h3 { font-size: 1.5rem; margin: 0; }
  .brand-head p { margin: 2px 0 0; color: var(--muted); }
  .features { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
  .features li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .85rem; }
  .features li::before { content: "✓ "; color: var(--wa); font-weight: 700; }
  .group { margin: 0 0 30px; }
  .group h4 { font-size: 1.05rem; margin: 0 0 4px; }
  .group .gsub { color: var(--muted); font-size: .88rem; margin: 0 0 12px; }
  .subbrands { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
  .subbrand { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: .85rem; font-weight: 600; }
  .subbrand img { height: 30px; width: 84px; object-fit: contain; }

  .grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
  .item button.img { border: 0; padding: 0; background: #fff; cursor: zoom-in; display: grid; place-items: center; }
  .item img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
  .item .cap { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
  .item .cap b { font-size: .88rem; line-height: 1.3; }
  .szlabel { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
  .szs { display: flex; flex-wrap: wrap; gap: 6px; }
  .sz { min-width: 44px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 8px; padding: 6px 9px; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; position: relative; }
  .sz[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
  .sz.has::after { content: ""; position: absolute; top: -4px; right: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--wa); border: 2px solid var(--surface); }
  .inlist { font-size: .8rem; font-weight: 600; color: var(--wa); }
  .inlist:empty { display: none; }
  .askp { font-size: .8rem; font-weight: 600; color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
  .askp:hover { color: var(--wa); }
  .add-btn:disabled { border-style: dashed; color: var(--muted); border-color: var(--line); cursor: default; background: transparent; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
  .seg button { border: 0; background: transparent; color: var(--ink); border-radius: 9px; padding: 10px; font: inherit; font-weight: 700; cursor: pointer; }
  .seg button[aria-pressed="true"] { background: var(--brand-deep); color: #fff; }
  .hint { color: var(--muted); font-size: .85rem; margin: 8px 2px 16px; }
  .szpill { min-width: 44px; text-align: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .8rem; border-radius: 8px; padding: 5px 8px; }
  .add { margin-top: 2px; }
  .add-btn { width: 100%; border: 1.5px solid var(--brand); background: transparent; color: var(--brand); border-radius: 10px; padding: 9px; font: inherit; font-weight: 700; cursor: pointer; }
  .add-btn:hover { background: var(--brand-soft); }
  .stepper { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--brand); color: #fff; border-radius: 10px; padding: 4px; }
  .stepper button { width: 36px; height: 34px; border: 0; border-radius: 8px; background: rgba(255,255,255,.18); color: #fff; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
  .stepper input { width: 64px; text-align: center; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 700; }
  .stepper input:focus { outline: 2px solid rgba(255,255,255,.5); border-radius: 6px; }
  .stepper small { font-weight: 500; opacity: .85; }

  /* Order bar + drawer */
  .orderbar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 45; display: none; align-items: center; justify-content: space-between; gap: 12px; max-width: 640px; margin: 0 auto; background: var(--brand-deep); color: #fff; border-radius: 16px; padding: 10px 10px 10px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  .orderbar.show { display: flex; }
  .orderbar b { display: block; }
  .orderbar small { opacity: .8; }
  body.has-order .fab { display: none; }
  .drawer { position: fixed; inset: 0; z-index: 55; display: none; }
  .drawer.open { display: block; }
  .drawer .shade { position: absolute; inset: 0; background: rgba(5,15,20,.55); }
  .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(480px, 100%); background: var(--bg); display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.25); }
  .panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
  .panel-head h3 { margin: 0; }
  .panel-head button { border: 0; background: var(--bg); width: 38px; height: 38px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
  .panel-body { flex: 1; overflow-y: auto; padding: 16px; }
  .ob { margin-bottom: 18px; }
  .ob h4 { margin: 0 0 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--brand); }
  .ol { display: grid; grid-template-columns: 56px 1fr; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
  .ol img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 8px; }
  .ol .t { font-weight: 600; font-size: .9rem; line-height: 1.3; }
  .ol .ctl { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
  .ol .stepper { padding: 2px; }
  .ol .stepper button { width: 30px; height: 28px; font-size: 1rem; }
  .ol .stepper input { width: 46px; }
  .ol .rm { border: 0; background: none; color: #c0392b; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; padding: 4px 6px; }
  .ol .ctl { flex-wrap: nowrap; }
  .ol .note { grid-column: 1 / -1; width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: .85rem; }
  .shop { display: grid; gap: 8px; margin-top: 6px; }
  .shop label { font-size: .8rem; font-weight: 600; color: var(--muted); }
  .shop input, .shop textarea { width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 10px 12px; font: inherit; }
  .panel-foot { padding: 14px 16px 18px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; }
  .panel-foot .sum { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); }
  .panel-foot .btn-wa { width: 100%; padding: 14px; font-size: 1rem; }
  .linkbtn { border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; }
  .empty { text-align: center; color: var(--muted); padding: 40px 10px; }
  .grid.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
  @media (max-width: 380px) { .grid, .grid.wide { grid-template-columns: 1fr; } }

  /* Sizes */
  .table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
  table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: .92rem; }
  th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
  th { background: var(--brand-soft); color: var(--brand); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; }
  tr:last-child td { border-bottom: 0; }
  td.brandcell { font-weight: 700; color: var(--brand-deep); }
  :root[data-theme="dark"] td.brandcell { color: var(--brand); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) td.brandcell { color: var(--brand); } }
  .size { display: inline-block; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 2px 9px; font-weight: 600; font-size: .85rem; }

  /* Terms */
  .terms { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .term { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
  .term .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; margin-bottom: 10px; }
  .term h4 { margin: 0 0 4px; font-size: 1rem; }
  .term p { margin: 0; color: var(--muted); font-size: .9rem; }
  .policy { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
  .policy span { background: #fff4e2; color: #8a5300; border: 1px solid #f6d9a8; font-weight: 700; font-size: .85rem; padding: 8px 14px; border-radius: 10px; }

  /* Special + share */
  .banner { border-radius: 22px; padding: 32px 24px; background: linear-gradient(135deg, #0b3954, #00838f); color: #fff; display: grid; gap: 18px; align-items: center; }
  @media (min-width: 800px) { .banner { grid-template-columns: 1fr auto; padding: 40px; } }
  .banner h3 { margin: 0 0 6px; font-size: 1.5rem; }
  .banner p { margin: 0; color: rgba(255,255,255,.82); }

  /* Contact */
  .contact { display: grid; gap: 16px; max-width: 760px; }
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
  .card h3 { margin: 0 0 12px; }
  .row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .row:last-child { border-bottom: 0; }
  .row .k { width: 92px; flex: none; color: var(--muted); font-size: .85rem; padding-top: 2px; }
  .row a { color: var(--brand); font-weight: 600; text-decoration: none; }

  footer { background: var(--brand-deep); color: rgba(255,255,255,.8); padding: 28px 0 96px; font-size: .88rem; }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

  .fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

  .lb { position: fixed; inset: 0; z-index: 60; background: rgba(5,15,20,.92); display: none; place-items: center; padding: 16px; }
  .lb.open { display: grid; }
  .lb img { max-height: 86vh; border-radius: 10px; background: #fff; }
  .lb p { color: #fff; text-align: center; margin: 10px 0 0; font-weight: 600; }
  .lb button { position: absolute; top: 12px; right: 12px; background: #fff; color: #000; border: 0; border-radius: 50%; width: 42px; height: 42px; font-size: 1.4rem; cursor: pointer; }

  /* Catalogue by product type */
  .tsec { padding: 28px 0 4px; border-bottom: 1px dashed var(--line); }
  .tsec:last-child { border-bottom: 0; }
  .tsec[hidden] { display: none; }
  .thead { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; margin: 0 0 18px; }
  .thead small { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
  .ghead { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; }
  .glink { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .85rem; font-weight: 700; color: var(--brand); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 6px; }
  .glink img { height: 24px; width: 60px; object-fit: contain; background: #fff; border-radius: 999px; }
  .btag { font-size: .75rem; font-weight: 700; color: var(--brand); text-decoration: none; text-transform: uppercase; letter-spacing: .6px; }

  /* Brand cards */
  .bcards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .bcard { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; transition: border-color .15s, transform .15s; }
  .bcard:hover { border-color: var(--brand); transform: translateY(-2px); }
  .blogo { height: 64px; background: #fff; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); padding: 6px; }
  .blogo img { max-height: 52px; width: 100%; object-fit: contain; }
  .blogo span { font-weight: 800; color: #0b3954; font-size: .9rem; text-align: center; line-height: 1.2; }
  .bcard b { display: block; }
  .bcard small { display: block; color: var(--muted); font-size: .82rem; }
  .bcard em { display: block; font-style: normal; color: var(--brand); font-weight: 700; font-size: .82rem; margin-top: 4px; }

  /* Brand page */
  .back { display: inline-block; margin-bottom: 16px; color: var(--brand); font-weight: 600; text-decoration: none; }
  .bhero { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 20px; }
  .bhero img { height: 90px; width: auto; max-width: 240px; object-fit: contain; background: #fff; border-radius: 14px; padding: 8px 12px; border: 1px solid var(--line); }
  .bhero h1 { margin: 2px 0; font-size: clamp(1.8rem, 5vw, 2.6rem); letter-spacing: -.5px; }
  .bhero p { margin: 0; color: var(--muted); }
  .brand-nav a.chip { text-decoration: none; }

  /* Wrapped type / brand pickers – no sideways scrolling */
  .type-nav { padding: 10px 0 6px; }
  .type-nav .chips { flex-wrap: wrap; overflow: visible; }
  .type-nav .chip { white-space: normal; }
  @media (max-width: 600px) {
    #typeChips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    #typeChips .chip { text-align: left; padding: 10px 12px; border-radius: 12px; }
    #typeChips .chip[data-type="all"] { grid-column: 1 / -1; text-align: center; }
  }
  .tchange { display: inline-block; margin: -10px 0 16px; font-size: .85rem; font-weight: 600; color: var(--brand); text-decoration: none; }
  .thead { font-size: clamp(1.2rem, 4.6vw, 1.45rem); }
  .thead small { white-space: nowrap; }

  /* Edge-to-edge product photos – fixed tile shape, no white bands (tap opens full image) */
  .item button.img { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
  .grid.wide .item button.img { aspect-ratio: 4 / 3; }
  .item img { width: 100%; height: 100%; max-height: none; object-fit: cover; transition: transform .25s; }
  .item button.img:hover img { transform: scale(1.03); }
  .tgrid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
  .tgrid.wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .grid.tgrid:not(.wide) .item button.img { aspect-ratio: 4 / 5; }
  /* Align add buttons along the bottom of each row so tiles don't end in blank space */
  .item .cap .add { margin-top: auto; }

  /* Show the whole photo (no cropping); fill leftover space with a blurred copy instead of white */
  .item button.img { position: relative; isolation: isolate; }
  .item .blurfill { position: absolute; inset: -24px; z-index: -1; background-position: center; background-size: cover; background-repeat: no-repeat; filter: blur(20px) saturate(1.1) brightness(.92); }
  .item img { position: relative; object-fit: contain; }
  .item button.img:hover img { transform: none; }

  /* Product search */
  .searchbar { position: sticky; top: 76px; z-index: 22; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); padding: 10px 0 6px; border-bottom: 1px solid var(--line); }
  .search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 6px 0 14px; transition: border-color .15s; }
  .search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
  .sico { width: 20px; height: 20px; fill: var(--muted); flex: none; }
  .search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; padding: 12px 0; outline: none; }
  .search input::-webkit-search-cancel-button { display: none; }
  .search button { border: 0; background: var(--bg); color: var(--ink); width: 34px; height: 34px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; flex: none; }
  .qinfo { font-size: .82rem; font-weight: 600; color: var(--brand); padding: 4px 4px 0; min-height: 1.2em; }
  .qinfo:empty { min-height: 0; padding: 0; }
  .qempty { text-align: center; color: var(--muted); padding: 40px 10px; display: grid; gap: 14px; justify-items: center; }
  .qempty[hidden] { display: none; }
  .item[hidden], .group[hidden], .tsec[hidden] { display: none !important; }

  /* Required shop details */
  .shop input.invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.15); }
  .shopwarn { color: #c0392b; font-size: .85rem; font-weight: 600; margin: 4px 0 0; }
  .shopwarn[hidden] { display: none; }
  .gate { position: fixed; inset: 0; z-index: 70; background: rgba(5,15,20,.6); display: grid; place-items: center; padding: 16px; }
  .gate[hidden] { display: none; }
  .gate-card { width: min(420px, 100%); background: var(--surface); color: var(--ink); border-radius: 18px; padding: 22px; display: grid; gap: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
  .gate-card h3 { margin: 0; }
  .gate-card p { margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
  .gate-card label { font-size: .8rem; font-weight: 600; color: var(--muted); margin-top: 4px; }
  .gate-card input { width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px; padding: 11px 12px; font: inherit; }
  .gate-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; }
