/* DG Audio — site styles (matches the approved mockup: desktop 1440, mobile 390) */
:root {
  --bg: #0E0F11;
  --alt: #131518;
  --card: #1C1F24;
  --panel: #17191D;
  --hero: #1A1D22;
  --line: #2A2D33;
  --line2: #3A3D44;
  --line3: #4A4E56;
  --text: #F2F0EB;
  --muted: #C9CBD0;
  --muted2: #A9ACB3;
  --accent: #FF6B1A;
  --ink: #111214;
  --tile: #1747C9;
  --tile-inner: rgba(255,255,255,0.12);
  --head: 'Big Shoulders Display', Impact, sans-serif;
  --pad: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Manrope, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #FFFFFF; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }
.sr { position: absolute; left: -9999px; }
.wrap { max-width: 1440px; margin: 0 auto; }
.h2 { margin: 0; font-family: var(--head); font-weight: 800; font-size: 56px; text-transform: uppercase; line-height: 1.05; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 3px; color: var(--accent); }
.link-accent { font-weight: 700; font-size: 15px; color: var(--accent); white-space: nowrap; }
.link-accent:hover { color: #FF8A47; }
.btn { height: 56px; padding: 0 32px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 8px; font-weight: 700; font-size: 16px; border: 0; white-space: nowrap; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #FF8A47; color: var(--ink); }
.btn-ghost { padding: 0 28px; border: 1px solid var(--line3); background: var(--bg); color: var(--text); }
.btn-ghost:hover { border-color: #6A6E76; }
.btn-line { height: 52px; padding: 0 28px; border: 1px solid var(--line2); background: transparent; color: var(--text); }
.ico { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 80px; padding: 0 var(--pad); display: flex; align-items: center; gap: 40px; }
.logo img { width: 60px; height: 60px; border-radius: 10px; display: block; }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 600; }
.nav a.on { color: var(--accent); }
.grow { flex-grow: 1; }
.search { position: relative; display: flex; align-items: center; gap: 10px; height: 44px; width: 260px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted2); }
.search input { background: transparent; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 14px; width: 100%; }
.search input::placeholder { color: var(--muted2); }
.icon-btn { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 800; display: none; align-items: center; justify-content: center; }
.cart-count.show { display: flex; }
.m-only { display: none; }

/* Mobile menu + search panel */
.menu-panel { display: none; position: fixed; inset: 64px 0 0 0; z-index: 39; background: var(--bg); padding: 16px 20px 32px; flex-direction: column; overflow: auto; }
.menu-panel.open { display: flex; }
.menu-panel a { height: 56px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 18px; }
.menu-panel a span { color: var(--accent); }
.menu-panel .menu-contact { margin-top: 24px; color: var(--muted2); font-size: 15px; line-height: 1.7; }
.m-search { display: none; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.m-search.open { display: block; }
.m-search .search { width: 100%; }

/* Hero */
.hero { position: relative; height: 680px; background: var(--hero); overflow: hidden; }
.hero .wrap { position: relative; height: 100%; }
.hero-video { position: absolute; top: 0; right: 0; width: 52.78%; height: 100%; object-fit: cover; display: block; }
.hero-shade { display: none; }
.hero-copy { position: absolute; left: var(--pad); bottom: 120px; width: 620px; max-width: calc(47% - 24px); display: flex; flex-direction: column; gap: 24px; }
.hero-copy h1 { margin: 0; }
.hero-brush { line-height: 0; }
.hero-brush img { width: 560px; max-width: 100%; height: auto; display: block; }
.hero-title { font-family: var(--head); font-weight: 900; font-size: 112px; line-height: 0.9; text-transform: uppercase; }
.hero-body { margin: 0; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; display: flex; align-items: center; justify-content: space-between; }
.dots { display: flex; align-items: center; }
.dot { height: 44px; padding: 0 6px; display: flex; align-items: center; background: transparent; border: 0; }
.dot span { display: block; height: 4px; width: 16px; border-radius: 2px; background: var(--line3); transition: width .25s, background .25s; }
.dot.on span { width: 40px; background: var(--accent); }
.hero-nav { display: flex; align-items: center; gap: 12px; }
.counter { height: 36px; padding: 0 14px; display: flex; align-items: center; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 700; letter-spacing: 2px; color: var(--muted); margin-right: 8px; }
.round { width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--line3); background: var(--bg); color: var(--text); display: flex; align-items: center; justify-content: center; }
.round.accent { border: 0; background: var(--accent); color: var(--ink); }
.slide-anim { animation: slideIn .45s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Sections */
.sec { padding: 88px var(--pad); display: flex; flex-direction: column; gap: 36px; }
.sec.alt { background: var(--alt); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.sec-head .stack { display: flex; flex-direction: column; gap: 12px; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.cat { height: 300px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s, transform .2s; }
.cat:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-img { flex-grow: 1; min-height: 0; border-bottom: 1px solid var(--line); background: #FFFFFF; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-foot { height: 72px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; flex: none; }
.cat-foot b { font-weight: 700; font-size: 18px; }
.cat-foot span { color: var(--accent); font-size: 20px; }
.cat.all .cat-img { background: var(--tile); color: #FFFFFF; font-family: var(--head); font-weight: 800; font-size: 28px; text-transform: uppercase; }

/* Product tiles — isolated product shot, price-led, pill CTA, 3D hover (Crutchfield-style deal card) */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; perspective: 1400px; }
.tile {
  position: relative; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  padding: 28px 20px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  transform: perspective(1000px) rotateX(2deg);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.tile:hover { border-color: var(--line3); transform: perspective(1000px) rotateX(-6deg) rotateY(6deg) translateY(-8px) scale(1.015); box-shadow: 0 26px 46px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08); }
.tile-img { height: 160px; width: 100%; border-radius: 0; background: none; display: flex; align-items: center; justify-content: center; position: relative; }
.tile-img img { max-width: 100%; max-height: 160px; width: auto; height: auto; object-fit: contain; display: block; }
.tile-img .noimg { width: 45%; height: auto; opacity: .9; }
.badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 6px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.badge.out { background: var(--bg); color: #FFFFFF; border: 1px solid var(--line2); }
.tile-info { display: flex; flex-direction: column-reverse; gap: 6px; }
.tile-name { font-weight: 600; font-size: 14px; line-height: 1.4; min-height: 38px; color: var(--muted); }
.tile-price { font-weight: 800; font-size: 24px; color: #FFFFFF; }
.tile-btn { align-self: center; height: 46px; padding: 0 30px; border-radius: 999px; border: 0; background: var(--accent); color: #FFFFFF; font-weight: 800; font-size: 14px; margin-top: 4px; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.tile-btn:hover { background: #FF8A47; }
.tile-btn:disabled { background: rgba(255,255,255,.15); color: rgba(255,255,255,.55); box-shadow: none; cursor: not-allowed; }

/* Install steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { border-radius: 16px; background: var(--card); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step .num { font-family: var(--head); font-weight: 900; font-size: 48px; line-height: 1; color: var(--accent); }
.step h3 { margin: 0; font-size: 22px; font-weight: 700; }
.step p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Builds */
.builds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.build { margin: 0; position: relative; border-radius: 16px; overflow: hidden; }
.build.big { grid-column: span 2; height: 540px; }
.build.small { height: 330px; }
.build img { width: 100%; height: 100%; object-fit: cover; display: block; }
.build figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 700; color: var(--text); }
.build.small figcaption { font-size: 13px; }
.build-col { display: flex; flex-direction: column; gap: 24px; }
.follow { flex-grow: 1; border-radius: 16px; background: var(--tile); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 186px; }
.follow small { font-size: 14px; font-weight: 700; letter-spacing: 2px; color: #DCE5FF; }
.follow strong { font-family: var(--head); font-weight: 800; font-size: 34px; line-height: 1.05; text-transform: uppercase; color: #FFFFFF; }

/* Fit form */
.fit-wrap { padding: 0 var(--pad); }
.fit { padding: 64px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.fit-copy { display: flex; flex-direction: column; gap: 16px; }
.fit-copy .h2 { font-size: 52px; line-height: 1; }
.fit-copy p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.fit-copy .small { font-size: 15px; color: var(--muted2); }
.fit-copy .small a { color: var(--text); font-weight: 700; }
.fit form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { height: 52px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; width: 100%; outline: 0; }
.field input:focus, .field select:focus { border-color: var(--accent); }
.fit form .btn { grid-column: span 2; width: 100%; }
.fit .call-btn { display: none; }

/* Visit */
.visit { padding: 88px var(--pad); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.map { height: 340px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: var(--card); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }
.visit-info { display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.visit-addr { font-size: 18px; line-height: 1.6; color: var(--muted); }
.hours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font-size: 17px; max-width: 420px; }
.hours span:nth-child(odd) { color: var(--muted2); }
.hours span:nth-child(even) { font-weight: 700; }
.visit-info .btn-line { align-self: flex-start; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted2); font-size: 14px; }
.site-footer .wrap { padding: 40px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-family: var(--head); font-weight: 900; font-size: 24px; color: var(--text); }
.wordmark span { color: var(--accent); }
.site-footer nav { display: flex; gap: 24px; font-weight: 600; }
.site-footer a { color: var(--muted2); }
.site-footer a:hover { color: var(--text); }

/* Shop page */
.page-head { padding: 56px var(--pad) 8px; display: flex; flex-direction: column; gap: 12px; }
.crumbs { font-size: 14px; color: var(--muted2); }
.crumbs a { color: var(--muted2); }
.crumbs a:hover { color: var(--text); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { height: 42px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--text); font-weight: 700; font-size: 14px; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.toolbar select { height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; }
.count { color: var(--muted2); font-size: 14px; }
.empty { padding: 48px 0; color: var(--muted); font-size: 17px; }

/* Product page */
.pdp { padding: 40px var(--pad) 88px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 14px; }
.g-main { aspect-ratio: 1 / 1; border-radius: 16px; background: var(--tile); padding: 16px; }
.g-main div { width: 100%; height: 100%; border-radius: 12px; background: var(--tile-inner); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.g-main img { width: 100%; height: 100%; object-fit: contain; display: block; background: #FFFFFF; }
.g-main img.noimg { width: 40%; height: auto; background: none; border-radius: 12px; }
.thumbs { display: flex; gap: 12px; }
.thumbs button { width: 88px; height: 88px; padding: 0; border-radius: 10px; border: 2px solid var(--line); background: #FFFFFF; overflow: hidden; }
.thumbs button.on { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pinfo { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 104px; }
.pinfo h1 { margin: 0; font-family: var(--head); font-weight: 800; font-size: 52px; line-height: 1; text-transform: uppercase; }
.pprice { font-weight: 800; font-size: 32px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #5FD08A; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: currentColor; }
.stock.out { color: #FF7A7A; }
.opt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row { display: flex; gap: 12px; }
.qty { display: flex; align-items: center; height: 56px; border: 1px solid var(--line2); border-radius: 8px; }
.qty button { width: 48px; height: 100%; background: transparent; border: 0; color: var(--text); font-size: 20px; }
.qty span { min-width: 32px; text-align: center; font-weight: 800; }
.buy-row .btn-accent { flex-grow: 1; }
.pdesc { border-top: 1px solid var(--line); padding-top: 20px; }
.pdesc h2 { margin: 0 0 12px; font-size: 14px; letter-spacing: 3px; color: var(--accent); }
.specs { color: var(--muted); font-size: 15px; line-height: 1.5; }
.specs p { margin: 0; padding: 9px 0; border-bottom: 1px solid #1F2227; }
.specs b { color: var(--text); font-weight: 700; }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.perk { padding: 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.45; }
.perk b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }

/* Cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100%; z-index: 61; background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; }
.drawer.open { transform: none; }
.drawer-head { height: 80px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--head); font-weight: 800; font-size: 32px; text-transform: uppercase; }
.drawer-body { flex-grow: 1; overflow: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: #FFFFFF; display: block; }
.line .ln { font-weight: 700; font-size: 14px; line-height: 1.35; }
.line .lc { color: var(--muted2); font-size: 13px; margin-top: 2px; }
.line .lq { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.line .lq button { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--line2); background: transparent; color: var(--text); }
.line .lq span { min-width: 24px; text-align: center; font-weight: 700; font-size: 14px; }
.line .lp { font-weight: 800; text-align: right; }
.line .rm { display: block; margin-top: 8px; background: none; border: 0; color: var(--muted2); font-size: 12px; text-decoration: underline; padding: 0; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.subtotal { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; }
.drawer-foot small { color: var(--muted2); font-size: 13px; line-height: 1.45; }
.drawer-foot .btn { width: 100%; }
.cart-empty { padding: 40px 0; color: var(--muted); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.toast { position: fixed; left: 50%; top: 96px; transform: translate(-50%, -10px); z-index: 70; background: #FFFFFF; color: var(--ink); padding: 14px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.notice { padding: 14px 16px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line2); color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Tablet ---------- */
@media (max-width: 1240px) {
  :root { --pad: 40px; }
  .site-header .wrap { gap: 28px; }
  .nav { gap: 22px; }
  .search { width: 220px; }
  .hero-title { font-size: 88px; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .d-only-search { display: none; }
  .m-only { display: flex; }
}

/* ---------- Mobile (matches 390px mockup) ---------- */
@media (max-width: 860px) {
  :root { --pad: 20px; }
  .site-header .wrap { height: 64px; padding: 0 16px; gap: 8px; }
  .logo img { width: 48px; height: 48px; border-radius: 8px; }
  .icon-btn { border: 0; }
  .d-only { display: none !important; }

  .hero { height: 620px; }
  .hero-video { width: 100%; left: 0; }
  .hero-shade { display: block; position: absolute; inset: 0; background: rgba(14,15,17,0.62); }
  .hero-copy { position: absolute; inset: 0; width: auto; max-width: none; padding: 24px 20px 16px; justify-content: flex-end; gap: 16px; }
  .eyebrow { font-size: 12px; }
  .hero-brush img { width: 320px; }
  .hero-title { font-size: 60px; line-height: 0.92; }
  .hero-body { font-size: 16px; line-height: 1.5; }
  .hero-ctas { flex-direction: column; gap: 16px; }
  .hero-ctas .btn { height: 52px; width: 100%; }
  .hero-copy { padding-bottom: 76px; }
  .hero-bar { left: 20px; right: 20px; bottom: 16px; }
  .counter { display: none; }
  .dot { padding: 0 5px; }
  .dot.on span { width: 28px; }
  .round { width: 44px; height: 44px; }
  .hero-nav { gap: 8px; }

  .sec { padding: 48px 20px; gap: 24px; }
  .h2 { font-size: 40px; }
  .sec-head { gap: 16px; }
  .sec-head .link-accent { font-size: 14px; padding-bottom: 6px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat { height: 130px; border-radius: 12px; }
  .cat-foot { height: 48px; padding: 0 14px; }
  .cat-foot b { font-size: 15px; }
  .cat-foot span { font-size: 16px; }
  .cat.all .cat-img { font-size: 22px; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; perspective: none; }
  .tile { border-radius: 14px; padding: 16px 12px 14px; gap: 10px; transform: none; }
  .tile:hover { transform: translateY(-4px); }
  .tile-img { height: 110px; border-radius: 0; }
  .tile-img img { max-height: 110px; }
  .badge { top: 8px; left: 8px; padding: 4px 8px; border-radius: 5px; font-size: 11px; }
  .tile-info { gap: 4px; }
  .tile-name { font-size: 12px; min-height: 32px; }
  .tile-price { font-size: 18px; }
  .tile-btn { height: 42px; padding: 0 22px; font-size: 13px; }

  .install .sec-head { flex-direction: column; align-items: stretch; }
  .install .sec-head .btn { order: 3; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step { border-radius: 14px; padding: 20px; flex-direction: row; gap: 16px; align-items: flex-start; }
  .step .num { font-size: 36px; }
  .step h3 { font-size: 18px; margin-bottom: 6px; }
  .step p { font-size: 15px; line-height: 1.5; }
  .install-btn-m { display: flex; height: 52px; width: 100%; }
  .install .sec-head .btn { display: none; }

  .builds { grid-template-columns: 1fr; gap: 16px; }
  .build.big, .build.small { grid-column: auto; height: 280px; border-radius: 14px; }
  .build-col { gap: 16px; }
  .follow { flex-direction: row; align-items: center; min-height: 0; height: 96px; padding: 0 20px; border-radius: 14px; }
  .follow small { display: none; }
  .follow strong { font-size: 26px; }

  .fit { grid-template-columns: 1fr; padding: 28px 24px; gap: 16px; border-radius: 16px; }
  .fit-copy .h2 { font-size: 36px; }
  .fit-copy p { font-size: 15px; }
  .fit-copy .small { display: none; }
  .fit form { grid-template-columns: 1fr; gap: 14px; }
  .fit form .btn { grid-column: auto; height: 52px; font-size: 15px; }
  .fit .call-btn { display: flex; }

  .visit { grid-template-columns: 1fr; padding: 48px 20px; gap: 18px; }
  .visit .map { order: 2; height: 200px; border-radius: 14px; }
  .visit-info { display: contents; }
  .visit-info .h2 { order: 0; }
  .visit-addr { order: 1; font-size: 16px; line-height: 1.5; }
  .hours { order: 1; font-size: 15px; gap: 8px 16px; }
  .visit-info .btn-line { order: 3; align-self: stretch; }

  .site-footer .wrap { padding: 32px 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-footer .phone { display: none; }

  .page-head { padding: 32px 20px 0; }
  .pdp { grid-template-columns: 1fr; padding: 20px 20px 56px; gap: 28px; }
  .pinfo { position: static; }
  .pinfo h1 { font-size: 36px; }
  .thumbs button { width: 68px; height: 68px; }
  .perks { grid-template-columns: 1fr; }
  .drawer-head { height: 64px; padding: 0 20px; }
  .drawer-body, .drawer-foot { padding-left: 20px; padding-right: 20px; }
}
@media (min-width: 861px) { .install-btn-m { display: none; } .m-only-inline, .m-only-cat, .m-only-grid { display: none !important; } }
@media (max-width: 860px) { .m-only-inline { display: inline; } .d-only-grid { display: none !important; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.opt-label { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.opt-label b { color: var(--text); }

html { touch-action: manipulation; }
.g-main img, .tile-img img { -webkit-user-drag: none; user-select: none; }
/* iPhone: stop the press-and-hold photo preview that pops up a zoomed image while scrolling */
img { -webkit-touch-callout: none; }
.g-main img, .tile-img img, .thumbs img, .cat-img img { pointer-events: none; }
/* Phones: product page was wider than the screen (big photo stretched the column), so iOS zoomed while scrolling */
html, body { max-width: 100%; overflow-x: hidden; }
.pdp > * { min-width: 0; }
.g-main, .g-main div { max-width: 100%; min-width: 0; }
.g-main img { max-width: 100%; max-height: 100%; }
.thumbs { flex-wrap: wrap; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
}
/* Product photo: fixed square frame; photo is pinned inside it so it can never grow (iPhone/WebKit fix) */
.g-main { position: relative; width: 100%; height: auto; aspect-ratio: 1 / 1; overflow: hidden; }
.g-main > div { position: absolute; top: 16px; right: 16px; bottom: 16px; left: 16px; width: auto; height: auto; }
.g-main img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.g-main img.noimg { position: static; width: 40%; height: auto; }
@supports not (aspect-ratio: 1 / 1) { .g-main { height: 0; padding-bottom: 100%; } }
