:root {
  --ink: #12171e;
  --ink-soft: #3d4753;
  --paper: #f3efe6;
  --paper-2: #e7e0d2;
  --navy: #011337;
  --navy-2: #0a1e4a;
  --navy-3: #14305f;
  --gold: #c9a24a;
  --gold-2: #e4c36a;
  --white: #fbfaf6;
  --line: rgba(18, 23, 30, 0.12);
  --line-strong: rgba(18, 23, 30, 0.22);
  --sale: #8c2d1c;
  --clearance: #6b4a12;
  --ok: #1c5c40;
  --shadow: 0 18px 40px rgba(14, 28, 47, 0.12);
  --header-h: 4.35rem;
  --demo-h: 2.15rem;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Syne", "Manrope", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.5rem; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }

.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
}
.demo-bar {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45rem 1rem;
}

.site-header {
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(201, 162, 74, 0.25);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-width: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: 0 0 auto;
  flex-shrink: 0;
  min-width: auto;
  position: relative;
  z-index: 2;
}
.brand-mark-img {
  display: block;
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.brand-wordmark {
  display: block;
  height: 38px;
  width: auto;
  flex-shrink: 0;
}
.footer-logo {
  display: block;
  height: 92px;
  width: auto;
}
.nav-desktop { display: none; align-items: center; gap: 1.05rem; font-weight: 600; font-size: 0.88rem; }
.nav-desktop a { text-decoration: none; color: var(--white); }
.nav-desktop a:hover { color: var(--gold-2); }
.nav-phone { color: var(--gold-2) !important; }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--white);
}
.cart-count {
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  min-width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  padding: 0 0.35rem;
}
.nav-mobile-actions { display: flex; align-items: center; gap: 0.9rem; }
.menu-wrap { position: relative; }
.menu-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 0.28rem 0.45rem;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.menu-toggle[aria-expanded="true"] { border-color: var(--gold-2); color: var(--gold-2); }
.hamburger { display: block; }
.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 15.5rem;
  flex-direction: column;
  gap: 0;
  padding: 0.4rem 0;
  background: var(--navy-2);
  border: 1px solid rgba(201, 162, 74, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  z-index: 60;
}
.mobile-menu.is-open,
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu[hidden] { display: none !important; }
.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.05rem;
}
.mobile-menu a:hover { color: var(--gold-2); background: rgba(255,255,255,0.05); }

#app { flex: 1; }
.page-loading, .page-error { padding: 4rem 1.25rem; text-align: center; color: var(--ink-soft); }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 70% at 80% 20%, rgba(201, 162, 74, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(30, 60, 90, 0.8), transparent 50%),
    var(--navy);
  color: var(--white);
  padding: 1.1rem 1.25rem 1.25rem;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.hero-kicker {
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.hero h1 {
  font-family: "Montserrat", var(--font);
  font-size: clamp(1.5rem, 6.5vw, 1.95rem);
  font-weight: 900;
  margin-bottom: 0.45rem;
}
.hero-emphasis {
  display: block;
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: 0.02em;
}
@media (min-width: 720px) {
  .hero h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.9rem);
  }
}
.hero-lead {
  font-size: 1.05rem;
  color: rgba(251, 250, 246, 0.8);
  max-width: 42ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.85rem; }
.hero-meta { margin-top: 1.4rem; font-size: 0.92rem; color: rgba(251, 250, 246, 0.7); }
.hero-meta a { color: var(--gold-2); text-decoration: none; }

/* Homepage Promotion carousel — no visible frame, no dark header bar */
.promo-carousel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}
.promo-kicker {
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.promo-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  touch-action: pan-y;
}
.promo-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.promo-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.promo-slide:focus { outline: none; }
.promo-slide:focus-visible .promo-frame {
  box-shadow: 0 0 0 2px var(--gold-2);
}
.promo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 16.5rem;
  background: #fff;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
}
.promo-caption {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(251, 250, 246, 0.88);
  text-align: center;
}
.promo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}
.promo-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}
.promo-dot,
.promo-nav {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: rgba(251, 250, 246, 0.7);
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.promo-dot {
  width: 2rem;
  height: 2rem;
  position: relative;
}
.promo-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(251, 250, 246, 0.35);
}
.promo-dot.is-active::after {
  background: var(--gold-2);
  width: 0.68rem;
  height: 0.68rem;
}
.promo-dot:focus,
.promo-nav:focus { outline: none; }
.promo-dot:focus-visible::after,
.promo-nav:focus-visible {
  box-shadow: 0 0 0 2px var(--gold-2);
  border-radius: 50%;
}
.promo-nav {
  width: 2rem;
  height: 2rem;
  color: var(--gold-2);
  border-radius: 50%;
}
.promo-nav:hover { color: var(--white); }
.promo-frame .lens-badge {
  left: 0.7rem;
  bottom: 0.7rem;
  font-size: 0.93rem;
  padding: 0.32rem 0.7rem 0.34rem;
}
@media (prefers-reduced-motion: reduce) {
  .promo-track { transition: none; }
}
.lens-badge {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  z-index: 2;
  max-width: calc(100% - 0.8rem);
  padding: 0.34rem 0.72rem 0.36rem;
  background: #ffd200;
  color: #111;
  border: 1px solid rgba(17, 17, 17, 0.18);
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 1px 6px rgba(1, 19, 55, 0.28);
}
.product-card .thumb { position: relative; }
.gallery { position: relative; }
.product-features {
  margin: 1.25rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.product-features h2 {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.55rem;
}
.product-features ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
}
.product-features li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 0.45rem;
}
.product-features li:last-child { margin-bottom: 0; }
@media (max-width: 420px) {
  .lens-badge,
  .promo-frame .lens-badge {
    font-size: 0.74rem;
    letter-spacing: 0.01em;
    left: 0.28rem;
    bottom: 0.28rem;
    padding: 0.22rem 0.42rem 0.24rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.2rem;
  border-radius: 2px;
  letter-spacing: 0.01em;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--navy); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 2.6rem 1.25rem; }
.section-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.section-head h2 { font-size: 1.8rem; margin: 0; }
.section-head a { font-weight: 700; color: var(--navy); }

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.cat-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.05rem;
  min-height: 6.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.cat-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.cat-card h3 { font-size: 1.05rem; margin: 0 0 0.2rem; }
.cat-card .count { font-size: 0.8rem; color: var(--ink-soft); }
.cat-card img {
  position: absolute;
  right: -8px;
  bottom: -12px;
  width: 88px;
  height: 88px;
  object-fit: contain;
  opacity: 0.9;
  pointer-events: none;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.product-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.product-card .thumb {
  aspect-ratio: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 0; background: #fff; }
.product-card .body { padding: 0.75rem 0.8rem 0.95rem; display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.product-card .cat { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.product-card h3 { font-size: 0.98rem; margin: 0; font-family: var(--font); font-weight: 700; letter-spacing: -0.01em; }
.product-card .price { margin-top: auto; padding-top: 0.45rem; font-weight: 700; color: var(--navy); }
.product-card .price.quote { color: var(--sale); font-size: 0.88rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.25rem; }
.badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: 2px;
  background: var(--paper-2);
  color: var(--ink);
}
.badge.sale { background: var(--sale); color: #fff; }
.badge.clearance { background: var(--clearance); color: #fff; }
.badge.display { background: var(--navy); color: var(--gold-2); }
.badge.ms35 { background: var(--navy); color: var(--white); }

.placeholder-art {
  width: 58%;
  height: 58%;
  color: #b7ad9a;
}

/* Catalog toolbar */
.toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.search {
  display: flex;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  overflow: hidden;
}
.search input {
  flex: 1;
  border: 0;
  padding: 0.7rem 0.85rem;
  background: transparent;
  outline: none;
}
.search button { border: 0; background: var(--navy); color: #fff; padding: 0 1rem; cursor: pointer; font-weight: 700; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 0.22rem; }
.pill {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.22rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 2px;
}
.pill.active, .pill:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.result-meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 1rem; }
.empty { padding: 3rem 1rem; text-align: center; background: var(--white); border: 1px dashed var(--line-strong); }

/* Product page */
.product-page { display: grid; gap: 1.6rem; }
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.4rem; }
.crumbs a { color: var(--navy); text-decoration: none; }
.gallery {
  background: var(--white);
  border: 1px solid var(--line);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.product-desc { color: var(--ink-soft); white-space: pre-line; }
.price-lg { font-size: 1.6rem; font-weight: 800; font-family: var(--font); margin: 0.6rem 0 0.2rem; letter-spacing: -0.02em; }
.price-lg.quote { font-size: 1.2rem; color: var(--sale); }
.sku { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.option-group { margin: 0 0 0.85rem; }
.option-group label.opt-label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.opt-values { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.opt-values button {
  border: 1px solid var(--line-strong);
  background: var(--white);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.88rem;
}
.opt-values button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.opt-values button.unavailable { opacity: 0.35; text-decoration: line-through; }
.qty-row { display: flex; gap: 0.7rem; align-items: center; margin: 1rem 0; }
.qty-row input {
  width: 4.4rem;
  padding: 0.65rem 0.4rem;
  text-align: center;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 2px;
}
.unavailable-note { color: var(--sale); font-weight: 600; margin: 0.4rem 0 0.8rem; }

/* Cart / checkout */
.cart-list { display: flex; flex-direction: column; gap: 0.7rem; }
.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.7rem;
  align-items: center;
}
.cart-row img, .cart-row .ph {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #ece7dc;
}
.cart-row h3 { font-size: 0.95rem; font-family: var(--font); margin: 0 0 0.15rem; }
.cart-row .var, .cart-row .line-sku { font-size: 0.8rem; color: var(--ink-soft); }
.cart-row .line-price { font-weight: 700; text-align: right; }
.line-actions { display: flex; gap: 0.4rem; align-items: center; margin-top: 0.4rem; }
.line-actions input { width: 3.4rem; text-align: center; border: 1px solid var(--line); padding: 0.25rem; background: #fff; }
.line-actions button { border: 0; background: transparent; color: var(--sale); cursor: pointer; font-weight: 600; font-size: 0.8rem; }
.summary {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.1rem 1.2rem;
  margin-top: 1rem;
}
.summary-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; }

.checkout-grid { display: grid; gap: 1.4rem; }
.form { background: var(--white); border: 1px solid var(--line); padding: 1.2rem; display: grid; gap: 0.75rem; }
.form label { display: grid; gap: 0.28rem; font-weight: 600; font-size: 0.88rem; }
.form input, .form textarea, .form select {
  border: 1px solid var(--line-strong);
  padding: 0.65rem 0.7rem;
  background: var(--paper);
  border-radius: 2px;
}
.form textarea { min-height: 6rem; resize: vertical; }
.form .hint { font-weight: 400; color: var(--ink-soft); font-size: 0.8rem; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); }

.confirm {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem;
}
.confirm .order-no { font-family: var(--display); font-size: 1.6rem; color: var(--navy); margin: 0.3rem 0 1rem; }
.confirm pre, .order-block {
  background: var(--paper);
  padding: 1rem;
  overflow: auto;
  font-size: 0.85rem;
  white-space: pre-wrap;
  border: 1px solid var(--line);
}

.order-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  margin-bottom: 0.7rem;
}
.order-card h3 { font-family: var(--font); font-size: 1rem; margin: 0 0 0.2rem; }
.muted { color: var(--ink-soft); }

/* About / facts */
.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  background: var(--navy);
  color: var(--white);
  padding: 2.4rem 1.25rem;
}
.facts-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 1rem; }
.fact h3 { font-size: 1.05rem; color: var(--gold-2); margin-bottom: 0.25rem; }
.fact p { margin: 0; color: rgba(251,250,246,0.8); font-size: 0.92rem; }

.about-page { max-width: 46rem; }
.about-page h1 { margin-bottom: 1rem; }

.site-footer {
  background: #011337;
  color: rgba(251,250,246,0.75);
  margin-top: auto;
  padding: 2.4rem 1.25rem 1.2rem;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
}
.footer-brand {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}
.footer-brand a { display: inline-block; flex: 0 0 auto; }
.footer-tagline {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  max-width: 22ch;
}
.footer-label { color: var(--gold-2); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.4rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer a.footer-contact-link {
  display: inline-block;
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  margin-bottom: 0;
}
.site-footer a.footer-contact-link:hover,
.site-footer a.footer-contact-link:focus-visible {
  color: var(--white);
}
.footer-bottom { max-width: var(--max); margin: 1.6rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.8rem; }

.noscript { padding: 1rem; background: #fff3c4; text-align: center; }

@media (min-width: 720px) {
  .nav-desktop { display: flex; }
  .brand-mark-img { height: 52px; }
  .brand-wordmark { height: 46px; }
  .nav-mobile-actions .cart-link, .menu-toggle, .mobile-menu, .menu-wrap { display: none !important; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .product-page { grid-template-columns: 1fr 1fr; align-items: start; }
  .checkout-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .facts-inner { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-site { grid-column: 1 / -1; }
  .footer-links-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.8rem; margin: 0; }
  .footer-links-list br { display: none; }
  .footer-links-list .muted { flex-basis: 100%; margin-top: 0.4rem; }
  .toolbar { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 1rem; }
  .cat-pills { flex: 1 1 auto; min-width: 0; }
  .search { flex: 1 1 22rem; min-width: 22rem; max-width: 32rem; }
}

@media (min-width: 1020px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 1.35rem 1.25rem 1.5rem; }
  .promo-frame { max-height: 18rem; }
}

/* Demo watermark — fixed, non-interactive, all pages */
.demo-watermark {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
}
.demo-watermark-inner {
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3.5rem 2rem;
  transform: rotate(-28deg);
  color: rgba(28, 22, 12, 0.15);
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.35), 0 1px 0 rgba(255, 255, 255, 0.12);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.15rem, 3.6vw, 1.85rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.demo-watermark-inner span { display: block; text-align: center; }

/* Shipping calculator */
.shipping-box {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.shipping-box h2 { font-size: 1.15rem; margin: 0 0 0.7rem; }
.ship-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.75rem 0.8rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  border-radius: 2px;
}
.ship-option:has(input:checked) {
  border-color: var(--navy);
  background: #fff;
  box-shadow: inset 3px 0 0 var(--gold);
}
.ship-option input { margin-top: 0.25rem; accent-color: var(--navy); }
.ship-option .opt-title { font-weight: 700; display: block; }
.ship-option .hint, .ship-option .muted { font-weight: 400; font-size: 0.82rem; color: var(--ink-soft); display: block; margin-top: 0.15rem; }
.ship-calc { display: none; flex-wrap: wrap; gap: 0.5rem; align-items: end; margin: 0.6rem 0 0.35rem; }
.ship-calc:not([hidden]) { display: flex; }
.ship-calc[hidden] { display: none !important; }
.ship-calc label { flex: 1; min-width: 8rem; display: grid; gap: 0.25rem; font-weight: 600; font-size: 0.85rem; }
.ship-calc input {
  border: 1px solid var(--line-strong);
  padding: 0.6rem 0.7rem;
  background: var(--paper);
  border-radius: 2px;
  width: 100%;
}
.ship-result { font-size: 0.92rem; margin: 0.45rem 0 0.2rem; }
.ship-result strong { display: block; font-size: 1.05rem; margin-top: 0.15rem; }
.ship-result.error { color: var(--sale); }
.summary-row.subtle { font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.35rem; }
.summary-row.total { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--line); font-size: 1.1rem; }
.btn-pay { margin-top: 0.55rem; background: #006aff; color: #fff; }
.btn-pay:hover { background: #0054cc; }
.checkout-error { color: var(--sale); font-weight: 600; font-size: 0.9rem; margin: 0.4rem 0 0; }


/* Guarantee banner on the homepage hero */
.guarantee-banner {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
  padding: 0.55rem 0.8rem;
  background: rgba(201, 162, 74, 0.14);
  border: 1px solid rgba(201, 162, 74, 0.55);
  color: var(--white);
  border-radius: 2px;
}
.guarantee-banner .shield {
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  color: var(--gold-2);
  margin-top: 0.05rem;
}
.guarantee-banner strong {
  display: block;
  font-family: var(--font);
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--gold-2);
  margin-bottom: 0.2rem;
}
.guarantee-banner p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(251, 250, 246, 0.86);
}

/* Warranty speech-bubble badge */
.warranty-badge {
  position: relative;
  display: inline-block;
  background: #c41e3a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  padding: 0.32rem 0.5rem 0.36rem;
  border-radius: 6px 6px 6px 0;
  box-shadow: 0 2px 0 #8b1026, 0 4px 10px rgba(0,0,0,0.18);
  max-width: 7.6rem;
  text-align: center;
  z-index: 2;
}
.warranty-badge::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 8px 8px;
  border-color: transparent transparent transparent #8b1026;
}
.product-card { position: relative; }
.product-card .warranty-badge {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  max-width: 5.8rem;
  font-size: 0.58rem;
  padding: 0.26rem 0.4rem 0.3rem;
}
.product-info .warranty-badge { margin: 0 0 0.65rem; max-width: 9rem; font-size: 0.78rem; }

/* Auth / tax / forms */
.account-bar { font-size: 0.88rem; }
.email-preview {
  background: #fff;
  border: 1px dashed var(--line-strong);
  padding: 1rem 1.1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.email-preview h3 { font-size: 1rem; margin: 0 0 0.4rem; }
.email-preview .mail-meta { color: var(--ink-soft); font-size: 0.82rem; margin-bottom: 0.7rem; }
.file-name { font-size: 0.85rem; color: var(--ink-soft); }
.tax-exempt { color: var(--ok); }
.summary-row.tax { font-weight: 600; font-size: 0.98rem; }
.resale-link { font-weight: 700; font-size: 0.88rem; display: inline-block; margin-top: 0.45rem; }
.register-box {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.85rem 0.9rem;
  margin-top: 0.2rem;
}
.register-box label.chk { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 600; }
.app-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  margin-bottom: 0.8rem;
}
.status-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  background: var(--paper-2);
}
.status-pill.pending { background: #f3e0b8; color: #6b4a12; }
.status-pill.approved { background: #d7efe3; color: var(--ok); }

.form label.chk, .register-box label.chk {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 600;
}
.form [hidden], label[hidden], [data-reg-pass][hidden] { display: none !important; }
.register-box .hint, label.chk .hint { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.15rem; }
.form input[type="file"] { padding: 0.45rem 0; }
.demo-callout { background: #fff6d8; border: 1px solid #e6c56a; padding: 0.7rem 0.85rem; font-size: 0.88rem; margin: 0 0 1rem; }

.email-preview pre { white-space: pre-wrap; word-break: break-word; font-size: 0.85rem; margin: 0; }

/* Out of stock (Square inventory) */
.product-card.out-of-stock .thumb { opacity: 0.72; }
.stock-flag {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8b1026;
}
.product-info .stock-flag { font-size: 0.88rem; margin: 0.45rem 0 0.15rem; }
.cart-row.out-of-stock { opacity: 0.92; }
.cart-row .stock-flag { margin-top: 0.25rem; }
.product-info form[data-add-form] button[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

/* Grid thumbnails: no warranty badge (shown on product detail page only) */
.product-card .warranty-badge { display: none !important; }


/* Installation instructions */
.install-page { max-width: 48rem; }
.install-page h1 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}
.install-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
}
.install-safety {
  background: #fff6d8;
  border: 1px solid #e6c56a;
  border-left: 4px solid var(--gold);
  padding: 0.95rem 1.05rem;
  margin: 0 0 1.8rem;
  font-size: 0.95rem;
}
.install-safety strong { color: var(--navy); }
.install-page h2 {
  font-size: 1.35rem;
  margin: 2.1rem 0 0.7rem;
}
.install-page h2[id] {
  scroll-margin-top: calc(var(--header-h) + var(--demo-h) + 0.85rem);
}
.install-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
}
.install-jump a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.32rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  color: var(--navy);
}
.install-jump a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.install-steps {
  margin: 0 0 1.1rem;
  padding: 0 0 0 1.25rem;
}
.install-steps li {
  margin: 0 0 0.7rem;
  padding-left: 0.2rem;
}
.install-steps li:last-child { margin-bottom: 0; }
.install-bullets {
  margin: 0 0 1rem;
  padding: 0 0 0 1.25rem;
}
.install-bullets li { margin: 0 0 0.55rem; }
.install-diagram {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.7rem 0.55rem 0.85rem;
  margin: 1.2rem 0 0.2rem;
}
.install-diagram svg,
.install-diagram-svg { width: 100%; height: auto; display: block; }
.install-diagram figcaption {
  margin: 0.7rem 0.4rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.install-diagram p {
  margin: 0.45rem 0.4rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.install-video {
  margin: 1rem 0 0.45rem;
  background: #000;
  border: 1px solid var(--line);
}
.install-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.install-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.install-credit {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 0.4rem;
}
.install-credit a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.install-credit a:hover { color: var(--navy-2); }
.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}
.install-product-cta {
  margin-top: 1.25rem;
  padding: 0.95rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
}
.install-product-cta a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.install-product-cta a:hover { color: var(--navy-2); text-decoration: underline; }
.install-product-cta p {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Customer service (complaint / warranty) */
.support-page { max-width: 40rem; }
.support-intro { color: var(--ink-soft); }
.support-tabs {
  display: flex;
  gap: 0.4rem;
  margin: 1.1rem 0 1.15rem;
  flex-wrap: wrap;
}
.support-tabs button {
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 2px;
}
.support-tabs button[aria-selected="true"],
.support-tabs button.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.support-tabs button:hover { border-color: var(--navy); }
.support-form { max-width: 36rem; }
.support-success {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ok);
  padding: 1rem 1.1rem;
  margin: 0 0 1rem;
}
.support-file-name { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact Us page */
.contact-page { max-width: 40rem; }
.contact-intro { color: var(--ink-soft); margin-bottom: 1.25rem; }
.contact-cards {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
}
.contact-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  border-radius: 2px;
}
.contact-card:hover,
.contact-card:focus-visible {
  border-color: var(--navy);
  border-left-color: var(--gold);
}
.contact-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}
.contact-card-value {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  word-break: break-word;
}
.contact-note a { color: var(--navy); }
.contact-location { margin: 0 0 1.4rem; }
.contact-location h2 { margin-bottom: 0.45rem; }
.contact-address { margin: 0 0 0.8rem; }
.contact-map {
  aspect-ratio: 16 / 9;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Policy pages (Terms, Warranty & Returns, Privacy, Data Sharing) */
.policy-page { max-width: 48rem; }
.policy-page h1 { margin-bottom: 0.35rem; font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.policy-updated { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 1.4rem; }
.policy-page h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.policy-page h3 { font-size: 1.05rem; margin: 1.4rem 0 0.45rem; color: var(--navy); }
.policy-page p, .policy-page li { line-height: 1.6; }
.policy-page ul, .policy-page ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.policy-page li { margin-bottom: 0.35rem; }
.policy-caps { font-size: 0.9rem; }
.policy-also { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.policy-table-wrap { overflow-x: auto; margin: 0 0 1rem; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.policy-table th, .policy-table td { border: 1px solid var(--line); padding: 0.5rem 0.6rem; text-align: left; vertical-align: top; }
.policy-table th { background: #f3f1ea; color: var(--navy); }
@media (max-width: 719px) { .policy-table { font-size: 0.8rem; } .policy-table th, .policy-table td { padding: 0.4rem; } }

/* Extended warranty add-on (product page, cart, checkout) */
.ew-option { display: flex; align-items: center; gap: 0.55rem; margin: 1rem 0 0; padding: 0.7rem 0.85rem; border: 1px solid var(--line-strong); background: var(--white); border-radius: 2px; cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.ew-option input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--navy); flex: none; }
.ew-option + .qty-row { margin-top: 0.75rem; }
.line-ew { font-size: 0.85rem; color: var(--navy); font-weight: 600; margin-top: 0.2rem; }

/* Checkout: Terms agreement + agreements modal */
.terms-agree { margin: 1rem 0 0.6rem; }
.terms-agree a { color: var(--navy); font-weight: 600; }
body.agreements-open { overflow: hidden; }
.agreements-dialog {
  padding: 0; border: 0; border-radius: 4px;
  width: min(46rem, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 2rem);
  display: none; flex-direction: column;
  background: var(--white); color: var(--ink);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}
.agreements-dialog[open] { display: flex; }
.agreements-dialog::backdrop { background: rgba(1, 19, 55, 0.65); }
.agreements-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.1rem; background: #011337; color: #fff; }
.agreements-head h2 { margin: 0; font-size: 1.15rem; color: #fff; }
.agreements-close { background: none; border: 0; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 0.25rem; }
.agreements-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.agreements-hint { margin: 0; padding: 0.6rem 1.1rem; font-size: 0.85rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.agreements-body {
  flex: 1 1 auto; min-height: 12rem; height: 60vh; overflow-y: auto;
  padding: 1rem 1.1rem; white-space: pre-wrap; word-wrap: break-word;
  font-size: 0.88rem; line-height: 1.55;
}
.agreements-body:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.agreements-foot { padding: 0.8rem 1.1rem; border-top: 1px solid var(--line); background: #faf8f2; }
.agreements-foot .btn[disabled] { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 719px) {
  .agreements-dialog { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); }
  .agreements-body { height: auto; min-height: 0; }
}

/* Installation: licensed-electrician notice beside the main video */
.install-video-row { display: grid; gap: 0.9rem; margin: 1rem 0 0.4rem; }
.install-video-row .install-video { margin-top: 0; }
.install-notice {
  background: #fff6d8;
  border: 1px solid #e6c56a;
  border-left: 4px solid var(--gold);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  align-self: start;
}
.install-notice p { margin: 0; line-height: 1.55; }
.install-notice a { color: var(--navy); text-decoration: underline; }
@media (min-width: 720px) {
  .install-video-row { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
}
.about-contact { margin-top: 1.2rem; }

/* Clearance: sold AS IS note */
.clearance-note {
  margin: 0.5rem 0 0.8rem;
  padding: 0.5rem 0.75rem;
  background: #fdecea;
  border-left: 4px solid #b3261e;
  color: #7a1712;
  font-weight: 600;
  font-size: 0.92rem;
}
.clearance-note a { color: #7a1712; text-decoration: underline; margin-left: 0.25rem; }
.clearance-note.compact {
  margin: 0.35rem 0 0;
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  display: inline-block;
}


/* Header catalog search (desktop: after Cart with extra space; mobile: a row under the bar) */
.nav-desktop .cart-link { margin-right: 0.15rem; }
.nav-desktop .header-search { margin-left: 1.15rem; }
.header-search {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid rgba(201, 162, 74, 0.45);
  border-radius: 2px;
  overflow: hidden;
  min-width: 0;
}
.header-search input {
  width: 11.5rem;
  max-width: 100%;
  border: 0;
  padding: 0.38rem 0.65rem;
  background: transparent;
  color: var(--navy);
  outline: none;
  font: inherit;
  font-size: 0.85rem;
}
.header-search button {
  border: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0 0.75rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.header-search-mobile {
  display: flex;
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(201, 162, 74, 0.25);
  border-radius: 0;
}
.header-search-mobile input {
  flex: 1;
  width: auto;
  padding: 0.5rem 0.8rem;
}
@media (min-width: 720px) {
  .header-search-mobile { display: none !important; }
}

/* Promotion price overlay — dollar amount only, on the image */
.promo-price {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  padding: 0.22rem 0.5rem;
  background: rgba(1, 19, 55, 0.92);
  color: #fff;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border-radius: 2px;
  pointer-events: none;
  box-shadow: 0 1px 6px rgba(1, 19, 55, 0.28);
}
@media (max-width: 420px) {
  .promo-price {
    right: 0.32rem;
    bottom: 0.32rem;
    font-size: 0.8rem;
    padding: 0.16rem 0.4rem;
  }
}

/* Pull the first homepage section up so products show on the first screen */
.hero + .wrap { padding-top: 1.35rem; }

.gallery img { background: #fff; }

@media (max-width: 520px) {
  .toolbar .search input {
    font-size: 0.86rem;
    padding: 0.65rem 0.7rem;
    min-width: 0;
  }
  .toolbar .search button {
    width: 2.6rem;
    padding: 0;
    font-size: 0;
    line-height: 0;
    position: relative;
  }
  .toolbar .search button::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 1.05rem;
    height: 1.05rem;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='2.4'/><path d='M15.2 15.2L21 21' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>") center / contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='2.4'/><path d='M15.2 15.2L21 21' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>") center / contain no-repeat;
  }
}

@media (max-width: 719px) {
  .demo-bar { padding: 0.32rem 0.8rem; font-size: 0.72rem; }
  .hero { padding: 0.75rem 1rem 0.9rem; }
  .hero-inner { gap: 0.75rem; }
  .guarantee-banner { padding: 0.45rem 0.65rem; gap: 0.55rem; }
  .guarantee-banner .shield { width: 1.7rem; height: 1.7rem; }
  .guarantee-banner strong { font-size: 0.88rem; margin-bottom: 0.1rem; }
  .guarantee-banner p { font-size: 0.75rem; }
  .hero-kicker { margin-bottom: 0.28rem; }
  .hero h1 { margin-bottom: 0.35rem; }
  .hero-lead { font-size: 0.95rem; }
  .hero-actions { margin-top: 0.6rem; }
  .promo-carousel { gap: 0.4rem; }
  .promo-frame { aspect-ratio: 16 / 9; max-height: 11rem; }
  .promo-caption { font-size: 0.8rem; }
  .hero + .wrap { padding-top: 1rem; padding-bottom: 1.6rem; }
}

/* Round 40 — compact homepage preview + desktop nav link for the LED Savings Calculator */
.nav-desktop .nav-savings { display: inline; }

/* Round 44 — shorter header search; nav wraps instead of sliding behind the logo */
.nav-desktop {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem 0.7rem;
}
.nav-desktop a {
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-desktop .cart-link { margin-right: 0; }
.nav-desktop .header-search {
  flex: 0 0 230px;
  width: 230px;
  max-width: 230px;
  margin-left: 0.45rem;
  min-width: 0;
}
.nav-desktop .header-search input {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}
.nav-desktop .header-search button { flex-shrink: 0; }
@media (min-width: 1180px) {
  .nav-desktop { gap: 0.7rem 0.85rem; }
  .nav-desktop .header-search { margin-left: 0.65rem; }
}

.savings-teaser-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 1.35rem;
}
.savings-teaser {
  display: grid;
  grid-template-columns: 1fr minmax(190px, 16.5rem);
  gap: 1rem 1.4rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}
.savings-teaser:hover,
.savings-teaser:focus-visible {
  border-color: #111111;
}
.savings-teaser:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}
.savings-teaser-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 0.3rem;
}
.savings-teaser h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.28rem;
  color: #111111;
}
.savings-teaser p {
  margin: 0 0 0.65rem;
  color: #3f3f46;
  font-size: 0.92rem;
  max-width: 48ch;
}
.savings-teaser-cta {
  display: inline-block;
  font-weight: 700;
  font-size: 0.88rem;
  color: #111111;
  border-bottom: 1px solid #111111;
  padding-bottom: 1px;
}
.savings-teaser-window {
  background: #111111;
  color: #ffffff;
  border-radius: 10px;
  padding: 0.8rem 0.95rem 0.9rem;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.16);
}
.savings-teaser-window .spw-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a1a1aa;
  font-weight: 700;
}
.savings-teaser-window .spw-value {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.18rem 0 0.12rem;
  font-variant-numeric: tabular-nums;
}
.savings-teaser-window .spw-sub {
  font-size: 0.78rem;
  color: #a1a1aa;
}
@media (max-width: 719px) {
  .savings-teaser {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
  }
  .savings-teaser-window { max-width: 20rem; }
  .savings-teaser-wrap { padding-bottom: 1rem; }
}
