/* TopBuys storefront v5: navy/gold brand palette from the approved logo, mobile-first */
:root {
  --navy: #16233f;
  --navy-deep: #0e1830;
  --gold: #f2b90d;
  --gold-soft: #ffd94d;
  --paper: #faf9f6;
  --card: #ffffff;
  --ink: #1d2635;
  --muted: #5b6675;
  --line: #eae7de;
  --ok-bg: #e9f6ee; --ok-line: #bfe0c9; --ok-ink: #14532d;
  --bad-bg: #fbeaea; --bad-line: #eec3c3; --bad-ink: #7f1d1d;
  --radius: 16px;
  --font-display: 'Sora', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--paper); color: var(--ink); line-height: 1.55; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Mobile menu */
.mnav { display: none; }
@media (max-width: 760px) {
  .mnav { display: block; position: relative; margin-right: auto; }
  .mnav summary {
    list-style: none; background: transparent; border: 1.5px solid rgba(205,214,228,.5);
    color: #cdd6e4; border-radius: 10px; padding: 9px 14px; font-weight: 700; font-size: 14px; cursor: pointer;
  }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav[open] summary { color: var(--gold-soft); border-color: var(--gold-soft); }
  .mnav-links {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px; z-index: 40;
    background: #fff; border-radius: 14px; box-shadow: 0 18px 44px rgba(10,16,32,.35);
    padding: 8px; display: flex; flex-direction: column;
  }
  .mnav-links a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; padding: 11px 12px; border-radius: 9px; }
  .mnav-links a:hover { background: #f4f2ec; }
}

/* Announcement bar */
.announce {
  background: var(--gold); color: var(--navy-deep); text-align: center;
  font-size: 13.5px; font-weight: 700; letter-spacing: .2px; padding: 8px 14px;
}
.announce span { margin: 0 8px; opacity: .55; }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 14px rgba(10,16,32,.35); }
.nav { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.brand-logo { height: 56px; width: 56px; border-radius: 12px; display: block; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.main-nav { margin-right: auto; display: flex; gap: 20px; }
.main-nav a { color: #cdd6e4; text-decoration: none; font-size: 15px; font-weight: 600; }
.main-nav a:hover { color: var(--gold-soft); }
.basket-btn {
  background: var(--gold); color: var(--navy-deep); border: none; border-radius: 999px;
  padding: 11px 20px; font-weight: 700; font-size: 15px; transition: background .15s;
}
.basket-btn:hover { background: var(--gold-soft); }
.basket-btn:disabled { opacity: .55; cursor: not-allowed; }
.basket-count {
  display: inline-block; background: var(--navy-deep); color: var(--gold);
  border-radius: 999px; min-width: 24px; padding: 1px 7px; margin-left: 6px; text-align: center;
}

/* Section furniture */
.section-kicker {
  font-size: 12.5px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase;
  color: #b8860b; margin-bottom: 8px;
}
.section-kicker.light { color: var(--gold-soft); }
.section-title { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.6px; color: var(--navy); margin-bottom: 14px; }
.section-title.light { color: #fff; }
.section-sub { color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); max-width: 640px; margin-bottom: 22px; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 88% -18%, rgba(242,185,13,.16) 0%, rgba(242,185,13,0) 60%),
    radial-gradient(1200px 520px at 85% -10%, #22375f 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #fff; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; padding-top: 56px; padding-bottom: 60px; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 14px;
}
.hero-copy h1 { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.14; margin-bottom: 18px; }
.underline { color: var(--gold); }
.hero-sub { color: #d5dcea; font-size: clamp(15px, 1.8vw, 18px); max-width: 560px; margin-bottom: 24px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.cta {
  display: inline-block; background: var(--gold); color: var(--navy-deep); text-decoration: none;
  font-weight: 800; font-size: 16px; padding: 14px 30px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(242,185,13,.28); transition: transform .12s, background .15s, box-shadow .15s;
}
.cta:hover { background: var(--gold-soft); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(242,185,13,.34); }
.ghost-link { color: #d5dcea; font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 2px solid rgba(213,220,234,.4); padding-bottom: 2px; }
.ghost-link:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-points li { font-size: 14px; font-weight: 600; color: #cdd6e4; padding-left: 18px; position: relative; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px;
  border-radius: 999px; background: var(--gold);
}
.hero-collage { position: relative; height: 340px; }
.collage-img {
  position: absolute; width: 46%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.45); border: 4px solid rgba(255,255,255,.92);
  background: #fff;
}
.ci-1 { top: 0; left: 2%; transform: rotate(-5deg); z-index: 1; }
.ci-2 { top: 12%; right: 4%; transform: rotate(4deg); z-index: 2; width: 50%; }
.ci-3 { bottom: -4%; left: 22%; transform: rotate(-2deg); z-index: 3; width: 44%; }
.hero-strip { display: none; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -34px; position: relative; z-index: 5; }
.trust-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: 0 8px 22px rgba(16,26,48,.07);
  display: flex; flex-direction: column; gap: 3px;
}
.trust-item svg { width: 26px; height: 26px; color: var(--navy); margin-bottom: 7px; }
.trust-item strong { font-family: var(--font-display); font-size: 15px; color: var(--navy); }
.trust-item span { font-size: 13.5px; color: var(--muted); }

/* Category tiles */
.cats { padding-top: 46px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-tile {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 22px rgba(16,26,48,.06); transition: transform .15s, box-shadow .18s;
}
a.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(16,26,48,.13); }
.cat-img { aspect-ratio: 16/10; overflow: hidden; background: #f4f2ec; display: block; position: relative; }
.cat-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--navy-deep); background: var(--gold); border-radius: 999px; padding: 5px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
a.cat-tile:hover .cat-img img { transform: scale(1.05); }
.cat-label {
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy);
  padding: 13px 16px 3px; display: block;
}
.cat-sub { font-size: 13px; color: var(--muted); padding: 0 16px 15px; display: block; }
.cats-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Range / opening-soon */
#range { padding-top: 40px; }
.empty-state { padding: 4px 0 72px; }
.empty-card {
  max-width: 620px; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px; padding: 44px 38px;
  box-shadow: 0 12px 34px rgba(16,26,48,.08);
}
.empty-bolt { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(16,26,48,.18); }
.empty-card h3 { font-family: var(--font-display); color: var(--navy); font-size: 25px; margin-bottom: 10px; letter-spacing: -.4px; }
.empty-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 10px; }
.empty-actions { margin-top: 14px; }
.empty-actions a, .footer-contact a { color: #b8860b; font-weight: 700; }
.empty-actions a:hover, .footer-contact a:hover { color: var(--navy); }
.footer-contact a { color: var(--gold-soft); }
.footer-contact a:hover { color: #fff; }

/* How it works */
.how { background: var(--navy); margin-top: 10px; padding: 56px 0 60px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.how-step {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 24px 22px 26px;
}
.how-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; background: var(--gold); color: var(--navy-deep);
  font-family: var(--font-display); font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.how-step h3 { font-family: var(--font-display); font-size: 18px; color: #fff; margin-bottom: 8px; }
.how-step p { font-size: 14.5px; color: #c3cede; }

/* Who we are */
.about { padding-top: 52px; padding-bottom: 6px; }
.about h2 { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.6px; color: var(--navy); margin-bottom: 14px; max-width: 640px; line-height: 1.18; }
.about-lede { font-size: clamp(15.5px, 1.7vw, 18px); color: var(--muted); max-width: 720px; margin-bottom: 30px; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 24px; box-shadow: 0 8px 22px rgba(16,26,48,.05);
  border-top: 4px solid var(--gold);
}
.about-card h3 { font-family: var(--font-display); font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.about-card p { font-size: 14px; color: var(--muted); }

/* Promises */
.promise { background: var(--navy-deep); margin-top: 46px; padding: 52px 0 56px; }
.promise-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; }
.promise-lede { color: #c3cede; font-size: 15.5px; max-width: 420px; margin-top: 10px; }
.promise-list { list-style: none; display: grid; gap: 10px; }
.promise-list a {
  display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 14px 18px; transition: background .15s, border-color .15s;
}
.promise-list a:hover { background: rgba(255,255,255,.08); border-color: rgba(242,185,13,.5); }
.promise-list strong { font-family: var(--font-display); color: var(--gold-soft); font-size: 15.5px; }
.promise-list span { color: #c3cede; font-size: 13.5px; }

/* Product grid (live catalogue renders here when products are approved) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; padding-bottom: 60px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: 0 14px 32px rgba(16,26,48,.12); transform: translateY(-2px); }
.card .img { aspect-ratio: 4/3; background: #fcfcfa; display: flex; align-items: center; justify-content: center; }
.card .img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; display: block; transition: transform .25s; }
.card:hover .img img { transform: scale(1.04); }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card .name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy); }
.card .blurb { font-size: 13px; color: var(--muted); }
.card .price { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--navy); margin-top: 2px; }
.add-btn {
  margin-top: auto; background: var(--navy); border: none; color: #fff; border-radius: 10px;
  padding: 11px; font-weight: 700; font-size: 14.5px; transition: background .15s;
}
.add-btn:hover { background: #24365c; }

/* Sticky mobile basket bar */
.sticky-basket { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: transparent; pointer-events: none; }
.sticky-basket button {
  pointer-events: auto; width: 100%; border: none; border-radius: 999px; padding: 15px;
  background: var(--gold); color: var(--navy-deep); font-weight: 800; font-size: 16px;
  box-shadow: 0 10px 30px rgba(16,26,48,.35);
}
@media (min-width: 761px) { .sticky-basket { display: none; } }

/* Basket drawer */
.drawer { position: fixed; inset: 0; z-index: 30; }
.drawer[hidden] { display: none; }
.scrim { position: absolute; inset: 0; background: rgba(13,20,34,.55); }
.panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(450px, 100%);
  background: #fff; padding: 22px 24px 30px; overflow-y: auto; box-shadow: -12px 0 40px rgba(0,0,0,.28);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.panel-head h2 { font-family: var(--font-display); font-size: 21px; color: var(--navy); }
.icon-btn { background: none; border: none; font-size: 19px; color: var(--muted); padding: 6px; }
.items { margin-bottom: 6px; }
.line-item { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.qty { display: flex; align-items: center; gap: 9px; }
.qty button { width: 28px; height: 28px; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; font-weight: 800; color: var(--navy); }
.items-empty { color: var(--muted); font-size: 14.5px; padding: 12px 0; }

.field { margin: 12px 0; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 5px; color: var(--navy); }
.field input { width: 100%; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15.5px; background: #fbfbfa; }
.ship-result { margin: 10px 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.ship-ok { background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok-ink); }
.ship-no { background: var(--bad-bg); border: 1px solid var(--bad-line); color: var(--bad-ink); }

.totals { margin-top: 14px; border-top: 2px solid var(--line); padding-top: 10px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals dt { color: var(--muted); }
.totals dd { font-weight: 600; }
.totals .grand dt, .totals .grand dd { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--navy); }

.pay-btn {
  width: 100%; margin-top: 16px; background: var(--gold); color: var(--navy-deep); border: none;
  border-radius: 999px; padding: 16px; font-size: 16.5px; font-weight: 800; transition: background .15s;
}
.pay-btn:hover:not(:disabled) { background: var(--gold-soft); }
.pay-btn:disabled { opacity: .45; cursor: not-allowed; }
.pay-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 9px; }
.form-error { margin-top: 10px; padding: 11px 13px; border-radius: 10px; background: var(--bad-bg); border: 1px solid var(--bad-line); color: var(--bad-ink); font-size: 14px; }

/* Policy / info pages */
.policy { max-width: 760px; margin: 0 auto; padding: 44px 22px 70px; }
.policy h1 { font-family: var(--font-display); font-size: clamp(27px, 4vw, 38px); font-weight: 800; letter-spacing: -.6px; color: var(--navy); margin-bottom: 8px; }
.policy .policy-updated { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.policy h2 { font-family: var(--font-display); font-size: 20px; color: var(--navy); margin: 28px 0 8px; }
.policy p, .policy li { font-size: 15.5px; color: var(--ink); margin-bottom: 10px; }
.policy ul { padding-left: 22px; margin-bottom: 10px; }
.policy li { margin-bottom: 6px; }
.policy a { color: #b8860b; font-weight: 600; }
.policy a:hover { color: var(--navy); }
.policy .policy-note {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 14px 18px; margin: 18px 0; font-size: 14.5px; color: var(--muted);
}
.policy .policy-back { display: inline-block; margin-bottom: 18px; font-weight: 700; font-size: 14.5px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c3cede; padding: 44px 0 20px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.footer-logo { height: 46px; width: 46px; border-radius: 10px; margin-bottom: 10px; }
.footer-brand p { margin-bottom: 4px; }
.footer-note { color: #8fa0b8; font-size: 12.5px; max-width: 300px; }
.footer-contact { margin-top: 8px; }
.footer-heading { font-family: var(--font-display); color: #fff; font-size: 14px; letter-spacing: .4px; margin-bottom: 10px; }
.site-footer nav { display: flex; flex-direction: column; gap: 9px; }
.site-footer nav a { color: #c3cede; text-decoration: none; }
.site-footer nav a:hover { color: var(--gold-soft); }
.footer-planned { color: #8fa0b8; font-size: 12px; }
.photo-credits { font-size: 11.5px; color: #7d8ea6; max-width: 1160px; margin: 0 auto; padding: 26px 22px 0; line-height: 1.5; }
.photo-credits a { color: #9fb0c8; }
.footer-legal { font-size: 12px; color: #7d8ea6; max-width: 1160px; margin: 0 auto; padding: 10px 22px 0; }

/* Mobile */
@media (max-width: 900px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 8px; }
  .kicker { font-size: 11.5px; letter-spacing: 1.8px; margin-bottom: 10px; }
  .hero-copy h1 { font-size: clamp(27px, 8.2vw, 40px); letter-spacing: -0.5px; }
  .hero-sub { margin-bottom: 18px; }
  .hero-actions { margin-bottom: 18px; gap: 16px; }
  .hero-points { margin-bottom: 22px; gap: 6px 18px; }
  .hero-collage { display: none; }
  .hero-strip {
    display: flex; gap: 10px; padding-bottom: 26px;
  }
  .hero-strip img {
    width: 31%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px;
    border: 3px solid rgba(255,255,255,.9); box-shadow: 0 12px 30px rgba(0,0,0,.4);
  }
  .hero-strip img:nth-child(2) { transform: translateY(10px); }
  .main-nav { display: none; }
  .trust { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: -22px; }
  .trust-item { padding: 12px 13px; }
  .trust-item svg { width: 22px; height: 22px; margin-bottom: 5px; }
  .trust-item strong { font-size: 13px; }
  .trust-item span { font-size: 12px; }
  .cats { padding-top: 34px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-label { font-size: 14px; padding: 10px 12px 2px; }
  .cat-sub { font-size: 11.5px; padding: 0 12px 12px; }
  .how { padding: 40px 0 44px; }
  .how-grid { grid-template-columns: 1fr; gap: 10px; }
  .how-step { padding: 18px 18px 20px; }
  .about { padding-top: 38px; }
  .about-grid { grid-template-columns: 1fr; gap: 12px; }
  .about-card { padding: 18px 18px 20px; }
  .promise { padding: 40px 0 44px; margin-top: 36px; }
  .empty-card { padding: 32px 22px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .body { padding: 12px 13px 14px; }
  .card .name { font-size: 14px; }
  .card .img img { padding: 10px; }
  .policy { padding: 32px 20px 56px; }
}

/* Opening range: phones and small electronics, original category illustrations. */
.range-illustration img{width:100%;display:block}.range-illustration>span{display:block;text-align:center;color:#d5dcea;font-size:16px;font-weight:600;margin-top:12px}.range-illustration small{font-size:11px;font-weight:400;color:#aebbd0}.category-art{display:flex;align-items:center;justify-content:center;aspect-ratio:16/8;background:#f0f2f6}.category-art svg{height:104px;width:104px;fill:none;stroke:#243b60;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.category-outline .cat-label{padding-top:18px}.category-outline .cat-sub{min-height:60px}.hero-copy h1{font-size:clamp(30px,4.2vw,49px)}@media(max-width:760px){.range-illustration{max-width:330px;margin:0 auto 35px}.range-illustration img{max-height:240px}.hero-grid{padding-bottom:8px}.category-art svg{height:82px;width:82px}.category-outline .cat-sub{min-height:78px}.hero-copy h1{font-size:clamp(30px,8.8vw,40px)}}
@media(max-width:400px){.nav{gap:14px}.basket-btn{padding:10px 13px;white-space:nowrap;font-size:14px}.basket-count{margin-left:3px;min-width:21px;padding:0 5px}.brand-logo{width:48px;height:48px}.mnav summary{padding:9px 11px}}
section[id]{scroll-margin-top:100px}@media(max-width:400px){.cat-sub{font-size:12px}.category-outline .cat-sub{min-height:88px}}

/* Phone layout: calmer hierarchy, compact sections and full-width touch navigation. */
@media (max-width:760px) {
  .wrap { padding-left:20px; padding-right:20px; }
  .announce { font-size:11px; line-height:1.65; padding:6px 18px; letter-spacing:0; text-wrap:balance; }
  .announce span { margin:0 4px; }
  .site-header { box-shadow:0 1px 0 rgba(255,255,255,.1),0 3px 12px rgba(10,16,32,.12); }
  .nav { gap:12px; padding-top:9px; padding-bottom:9px; min-height:66px; }
  .brand { margin-right:auto; }
  .brand-logo { width:46px; height:46px; border-radius:10px; box-shadow:none; }
  .basket-btn { order:1; font-size:13px; padding:9px 12px; white-space:nowrap; }
  .basket-count { font-size:12px; min-width:20px; padding:1px 5px; margin-left:3px; }
  .mnav { order:2; position:static; margin:0; }
  .mnav summary { min-height:44px; display:flex; align-items:center; gap:8px; padding:9px 12px; color:#fff; font-size:13px; border-color:#657086; border-radius:8px; }
  .mnav summary::before { content:'☰'; font-size:16px; font-weight:400; }
  .mnav-links { top:100%; left:12px; right:12px; min-width:0; border:1px solid #eae7de; border-radius:0 0 14px 14px; padding:8px; display:grid; grid-template-columns:1fr 1fr; gap:2px; box-shadow:0 16px 30px rgba(10,16,32,.18); }
  .mnav-links a { min-height:46px; font-size:14px; display:flex; align-items:center; padding:10px 12px; }
  .hero { background:linear-gradient(145deg,#1d2f50,#0e1830 80%); }
  .hero-grid { gap:20px; padding-top:28px; padding-bottom:26px; }
  .kicker { font-size:10px; letter-spacing:1.6px; margin-bottom:12px; }
  .hero-copy h1 { font-size:clamp(27px,7.45vw,38px); line-height:1.17; letter-spacing:-.9px; margin-bottom:16px; text-wrap:balance; }
  .hero-copy h1 br { display:none; }
  .hero-copy h1 .underline { display:block; margin-top:3px; }
  .hero-sub { font-size:14px; line-height:1.65; margin-bottom:18px; color:#d6deeb; }
  .hero-actions { gap:16px; margin-bottom:18px; flex-wrap:nowrap; }
  .cta { font-size:13px; padding:13px 18px; box-shadow:none; border-radius:9px; min-height:46px; text-align:center; }
  .ghost-link { font-size:13px; white-space:nowrap; }
  .hero-points { gap:5px 16px; margin-bottom:0; }
  .hero-points li { font-size:11px; padding-left:11px; line-height:1.6; }
  .hero-points li::before { width:4px; height:4px; top:7px; }
  .range-illustration { display:flex; align-items:center; gap:18px; width:100%; max-width:none; padding-top:16px; margin:0; border-top:1px solid rgba(255,255,255,.12); }
  .range-illustration img { width:42%; max-height:105px; object-fit:contain; }
  .range-illustration>span { flex:1; font-size:12px; line-height:1.5; text-align:left; margin:0; }
  .range-illustration small { display:inline-block; font-size:10px; margin-top:5px; }
  .trust { margin-top:0; padding-top:20px; padding-bottom:20px; gap:18px 16px; border-bottom:1px solid var(--line); }
  .trust-item { border:0; border-radius:0; padding:0; box-shadow:none; background:transparent; display:grid; grid-template-columns:20px 1fr; gap:3px 8px; align-content:start; }
  .trust-item svg { grid-row:1/3; width:19px; height:19px; margin:0; }
  .trust-item strong { font-family:var(--font-body); font-size:12px; line-height:1.4; }
  .trust-item span { grid-column:2; font-size:11px; line-height:1.5; }
  .section-kicker { font-size:10px; letter-spacing:1.8px; margin-bottom:7px; }
  .section-title,.about h2 { font-size:24px; line-height:1.2; letter-spacing:-.7px; margin-bottom:12px; text-wrap:balance; }
  .section-sub,.about-lede { font-size:14px; line-height:1.65; margin-bottom:20px; }
  .cats { padding-top:30px; }
  .cat-grid { gap:12px; align-items:stretch; }
  .cat-tile { border-radius:12px; box-shadow:none; }
  .category-art { aspect-ratio:auto; height:78px; background:#eef1f6; }
  .category-art svg { height:58px; width:58px; stroke-width:2.5; }
  .category-outline .cat-label { font-size:13px; line-height:1.4; padding:12px 12px 5px; letter-spacing:-.2px; }
  .category-outline .cat-sub { font-size:11.5px; line-height:1.5; padding:0 12px 14px; min-height:0; }
  .cats-note { font-size:11px; line-height:1.6; margin-top:12px; }
  #range { padding-top:30px; }
  .grid:empty { padding:0; }
  .empty-state { padding:0 0 32px; }
  .empty-card { padding:22px; border-radius:12px; box-shadow:none; }
  .empty-bolt { width:36px; height:36px; margin-bottom:12px; border-radius:8px; box-shadow:none; }
  .empty-card h3 { font-size:19px; line-height:1.3; margin-bottom:10px; }
  .empty-card p { font-size:13px; line-height:1.65; }
  .empty-actions a { display:inline-block; overflow-wrap:anywhere; }
  .how { margin-top:0; padding:32px 0; }
  .how-grid { gap:0; margin-top:22px; }
  .how-step { position:relative; border:0; border-radius:0; padding:0 0 22px 45px; background:none; }
  .how-step:not(:last-child)::before { content:''; position:absolute; left:14px; top:32px; bottom:0; width:1px; background:#526078; }
  .how-step:last-child { padding-bottom:0; }
  .how-num { position:absolute; top:0; left:0; width:29px; height:29px; font-size:13px; margin:0; }
  .how-step h3 { font-size:15px; line-height:1.4; margin:3px 0 7px; }
  .how-step p { font-size:13px; line-height:1.65; }
  .about { padding-top:32px; padding-bottom:0; }
  .about-grid { gap:0; }
  .about-card { padding:18px 0; border:0; border-top:1px solid var(--line); border-radius:0; box-shadow:none; background:transparent; }
  .about-card h3 { font-size:15px; margin-bottom:7px; }
  .about-card p { font-size:13px; line-height:1.65; }
  .promise { margin-top:16px; padding:32px 0; }
  .promise-grid { gap:20px; }
  .promise-lede { font-size:13px; line-height:1.65; }
  .promise-list { gap:0; }
  .promise-list a { padding:14px 0; border:0; border-top:1px solid #33415a; border-radius:0; background:none; gap:5px; }
  .promise-list strong { font-size:14px; }
  .promise-list span { font-size:12px; line-height:1.65; }
  .site-footer { padding-top:28px; }
  .footer-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px 14px; }
  .footer-brand { grid-column:1/-1; padding-bottom:20px; border-bottom:1px solid #28354b; }
  .footer-logo { float:left; width:40px; height:40px; margin:0 14px 10px 0; }
  .footer-brand p { font-size:12px; }
  .footer-note { max-width:none; }
  .footer-contact { clear:both; padding-top:6px; }
  .footer-contact a { font-size:14px; overflow-wrap:anywhere; }
  .footer-heading { font-size:12px; margin-bottom:2px; }
  .site-footer nav { gap:4px; }
  .site-footer nav a { font-size:11px; line-height:1.5; min-height:32px; display:flex; align-items:center; padding:4px 0; }
  .photo-credits,.footer-legal { font-size:10px; line-height:1.6; }
  .policy { padding:26px 20px 36px; }
  .policy h1 { font-size:28px; line-height:1.2; margin-bottom:12px; }
  .policy .policy-back { font-size:12px; margin-bottom:18px; min-height:28px; }
  .policy .policy-updated { font-size:13px; line-height:1.6; margin-bottom:22px; }
  .policy h2 { font-size:18px; line-height:1.3; margin-top:24px; }
  .policy p,.policy li { font-size:14px; line-height:1.7; }
  .policy a { overflow-wrap:anywhere; }
  .policy .policy-note { padding:14px; font-size:13px; }
  section[id] { scroll-margin-top:84px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none!important; }
}

/* Home-screen app entry and native-size instructions. */
.app-install { padding-top:20px; padding-bottom:0; }
.app-install-card { display:flex; align-items:center; gap:16px; padding:18px 22px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.app-install-card img { flex:none; border-radius:10px; }
.app-install-card>div { flex:1; min-width:0; }
.app-install-card h2 { font-size:16px; color:var(--navy); line-height:1.4; }
.app-install-card p { font-size:13px; color:var(--muted); margin-top:3px; }
.app-install-button,.app-install-done { border:0; border-radius:8px; background:var(--navy); color:#fff; font-size:13px; font-weight:700; padding:12px 16px; min-height:46px; }
.app-install-dialog { border:1px solid var(--line); border-radius:18px; padding:24px; width:calc(100% - 32px); max-width:420px; max-height:calc(100dvh - 40px); overflow-y:auto; margin:auto; color:var(--ink); background:var(--paper); box-shadow:0 22px 70px #0004; }
.app-install-dialog::backdrop { background:#0e183099; }
.app-install-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.app-install-head img { border-radius:12px; }
.app-install-close { width:44px; height:44px; border:1px solid var(--line); background:#fff; border-radius:50%; font-size:25px; color:var(--navy); }
.app-install-dialog h2 { font-family:var(--font-display); font-size:23px; line-height:1.25; color:var(--navy); letter-spacing:-.5px; }
.app-install-intro { font-size:14px; color:var(--muted); margin:12px 0 20px; }
.app-install-steps { margin-left:22px; font-size:14px; line-height:1.6; }
.app-install-steps li { padding-left:5px; margin-bottom:14px; }
.app-install-note { font-size:12px; color:var(--muted); border-top:1px solid var(--line); padding-top:14px; margin:18px 0; }
.app-install-done { width:100%; }
@media(max-width:760px) {
 .app-install { padding-top:18px; }
 .app-install-card { display:grid; grid-template-columns:42px 1fr; padding:16px; gap:10px 12px; }
 .app-install-card img { width:42px; height:42px; }
 .app-install-card h2 { font-size:14px; }
 .app-install-card p { font-size:12px; line-height:1.5; }
 .app-install-button { grid-column:1/-1; width:100%; margin-top:4px; }
 .app-install-dialog { padding:20px; }
 .app-install-dialog h2 { font-size:21px; }
}
@media(display-mode:standalone) {
 .app-install { display:none; }
 .site-header { padding-top:env(safe-area-inset-top); }
 .site-footer { padding-bottom:calc(20px + env(safe-area-inset-bottom)); }
 .nav,.wrap { padding-left:max(20px,env(safe-area-inset-left)); padding-right:max(20px,env(safe-area-inset-right)); }
}
.product-page { padding-top:30px; padding-bottom:60px; }
.product-detail { display:grid; grid-template-columns:1fr 1fr; gap:42px; margin:28px 0 40px; align-items:start; }
.product-detail h1 { font-size:clamp(25px,3vw,40px);line-height:1.15;color:var(--navy);margin-bottom:20px; }
.product-detail p { margin-bottom:18px; }
.product-art {width:100%;border-radius:18px;border:1px solid var(--line);}
.illustration-note {font-size:12px;color:var(--muted);margin-top:10px;}
.product-price {font-weight:800;font-size:25px;color:var(--navy);}
.product-notice {padding:16px;background:#fff7dc;border-radius:9px;font-weight:600;}
.product-specs { margin:20px 0 30px; }
.product-specs>div {display:grid;grid-template-columns:140px 1fr;border-bottom:1px solid var(--line);padding:12px 0;gap:20px;}
.product-specs dt {font-weight:700;}.product-specs dd {margin:0;overflow-wrap:anywhere;}
.product-page section {margin-bottom:32px;max-width:800px;}.product-page h2 {margin-bottom:12px;color:var(--navy);}
.card .name a {color:inherit;text-decoration:none;}.card .add-btn:disabled{background:#e4e7ec;color:#4c586d;cursor:default;}
@media(max-width:640px){.product-detail{grid-template-columns:1fr;gap:22px}.product-specs>div{grid-template-columns:100px 1fr;gap:12px;}}

.variant-gallery{display:flex;gap:20px;flex-wrap:wrap}.variant-gallery figure{margin:0;width:180px}.variant-gallery img{width:180px;height:180px;object-fit:contain;background:white;border-radius:12px}

.category-art img{width:100%;height:150px;object-fit:contain;mix-blend-mode:multiply}.category-art{background:#fff!important}.category-filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.category-filters a{padding:9px 14px;border:1px solid #ddd5c8;border-radius:24px;color:#16233f;text-decoration:none;background:white}.category-filters a[aria-current="true"]{background:#16233f;color:white}.cat-tile[aria-current="true"]{outline:2px solid #f2b90d}#range{scroll-margin-top:110px}

.cat-tile .category-art{display:flex;align-items:center;justify-content:center;width:100%;height:160px;min-height:160px;margin:0 0 14px;overflow:hidden}.cat-tile .category-art img{display:block;max-width:100%;width:100%;height:150px;object-fit:contain}.cat-tile .cat-label{position:relative;display:block;margin-top:0}.cat-tile{overflow:hidden}#categories{scroll-margin-top:95px}

.cat-tile .category-art{flex:0 0 150px;aspect-ratio:auto;height:150px;min-height:150px;box-sizing:border-box;padding:12px;margin:0}.cat-tile .category-art img{height:126px;width:100%;object-fit:contain}.category-outline .cat-label{padding:14px 12px 5px}.category-outline .cat-sub{padding:0 12px 16px;min-height:70px}.ghost-link{color:#243b60!important}

.product-gallery{min-width:0}.gallery-zoom{display:block;width:100%;padding:0;border:1px solid #e8e2d8;border-radius:20px;background:white;cursor:zoom-in;overflow:hidden}.gallery-main{display:block;width:100%;height:440px;object-fit:contain;background:white}.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.gallery-toolbar button,.gallery-close{background:#16233f;color:white;border:0;border-radius:9px;padding:10px 16px;cursor:pointer}.gallery-status{font-size:13px;color:#526077}.gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:3px 2px 12px}.gallery-thumb{flex:0 0 66px;height:66px;border:1px solid #e1dbd2;border-radius:9px;padding:5px;background:white;cursor:pointer}.gallery-thumb[aria-pressed="true"]{outline:2px solid #16233f;outline-offset:1px}.gallery-thumb img{width:100%;height:100%;object-fit:contain}.gallery-dialog{width:min(94vw,1050px);max-width:1050px;padding:18px;border:0;border-radius:15px}.gallery-dialog::backdrop{background:rgba(15,25,43,.8)}.gallery-dialog img{display:block;width:100%;height:75vh;object-fit:contain}.gallery-close{display:block;margin-left:auto}.gallery-hint{font-size:12px;color:#526077;margin:8px 0}@media(max-width:600px){.gallery-main{height:330px}.gallery-thumb{flex-basis:58px;height:58px}.gallery-dialog{width:94vw;padding:10px}.gallery-dialog img{height:70vh}}
/* Product photographs open their product details, including keyboard access. */
.card .product-image-link { text-decoration: none; cursor: pointer; }
.card .product-image-link:focus-visible { outline: 3px solid #16233f; outline-offset: -4px; }

/* Seasonal campaign: no reduction, reference-price or deadline claims. */
.black-friday-campaign { margin-top: 32px; padding: 26px 28px; border: 1px solid #d9dee8; border-radius: 18px; background: #16233f; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.black-friday-campaign .section-kicker { color: #f2b90d; margin-bottom: 6px; }
.black-friday-campaign h2 { font-family: var(--font-display); font-size: clamp(23px,3vw,30px); line-height: 1.25; margin-bottom: 10px; }
.black-friday-campaign p:last-child { color: #d5dcea; max-width: 600px; }
.black-friday-campaign .cta { flex-shrink: 0; white-space: nowrap; }
@media(max-width:650px) { .black-friday-campaign { flex-direction: column; align-items: flex-start; padding: 22px; width: calc(100% - 40px); } }

/* Reserve product-image space before lazy images arrive. */
.card .img { overflow:hidden; min-width:0; min-height:0; }
.category-back { display:inline-flex; align-items:center; min-height:44px; padding:10px 16px; margin-bottom:18px; border:1px solid #d9d3c8; border-radius:8px; color:#16233f; font-weight:700; text-decoration:none; background:#fff; }
.category-back:hover { background:#f7f4ed; }
.category-back:focus-visible { outline:3px solid #f2b90d; outline-offset:3px; }

/* AI electricals background. Keep real HTML copy and controls clear. */
.hero { position:relative; background:#061221; }
.hero-grid { position:relative; display:block; min-height:550px; padding-top:64px; padding-bottom:74px; }
.hero-copy { position:relative; z-index:2; width:49%; max-width:560px; }
.hero-electricals { position:absolute; inset:0; z-index:0; pointer-events:none; }
.hero-electricals img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.hero-electricals::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(3,13,27,.8),rgba(3,13,27,.35) 42%,transparent 65%); }
.hero-image-note { position:absolute; right:24px; bottom:45px; z-index:2; font-size:10px; color:#c6ced9; padding:5px 8px; border-radius:4px; background:rgba(3,13,27,.74); }
@media(max-width:760px) {
 .hero-grid { min-height:0; padding-top:28px; padding-bottom:265px; }
 .hero-copy { width:100%; max-width:none; }
 .hero-electricals { top:auto; height:270px; }
 .hero-electricals img { object-fit:cover; object-position:center 55%; }
 .hero-electricals::after { background:linear-gradient(180deg,#061221 0%,rgba(6,18,33,.45) 12%,transparent 35%); }
 .hero-image-note { right:20px; left:20px; bottom:12px; text-align:center; font-size:9px; }
}
.hero .ghost-link { color:#dbe4f1!important; border-bottom-color:#91a3bb; }
.hero .ghost-link:hover { color:#ffcf40!important; border-bottom-color:#ffcf40; }

/* Neutral campaign ribbons. No savings or former-price claims. */
.product-image-link,.bf-featured { position:relative; }
.bf-corner { position:absolute; right:0; top:0; width:112px; height:112px; overflow:hidden; pointer-events:none; z-index:3; }
.bf-corner>span { position:absolute; top:24px; right:-42px; width:158px; padding:5px 0; transform:rotate(45deg); background:#f2b90d; color:#111; text-align:center; font-family:var(--font-body); font-size:11px; font-weight:800; line-height:1.15; box-shadow:0 2px 4px rgba(0,0,0,.14); }
.bf-featured>.bf-corner { width:140px; height:140px; }
.bf-featured>.bf-corner>span { width:195px; top:32px; right:-51px; font-size:13px; padding:7px 0; }
@media(max-width:760px) { .bf-corner { width:94px; height:94px; } .bf-corner>span { top:19px; right:-43px; width:143px; font-size:10px; padding:4px 0; } }
.footer-legal a,.footer-legal a:visited { color:#cbd5e5; text-decoration:underline; text-underline-offset:3px; }
.footer-legal a:hover { color:#ffcf40; }
.footer-legal a:focus-visible { outline:2px solid #ffcf40; outline-offset:4px; }
