:root {
  --orange: #ff6a00;
  --orange-dark: #e05a00;
  --orange-soft: #fff4ec;
  --orange-line: #ffd9bf;
  --ink: #111827;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --line: #e9eaee;
  --bg: #ffffff;
  --bg-alt: #f8f9fb;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05), 0 1px 3px rgba(17, 24, 39, .06);
  --shadow: 0 10px 30px -10px rgba(17, 24, 39, .15);
  --shadow-lg: 0 30px 60px -20px rgba(17, 24, 39, .25);
  --max: 1220px;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--display); line-height: 1.15; letter-spacing: -.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Icons */
.i { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stars .i { fill: var(--orange); stroke: none; width: 16px; height: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -6px rgba(255, 106, 0, .55); }
.btn-primary:hover { background: var(--orange-dark); }
/* "Book a Repair" buttons: lemon yellow with dark text for readability */
.btn-book { background: #fff44f; color: var(--ink); border: 1.5px solid #e6d400; box-shadow: 0 8px 20px -6px rgba(214, 196, 0, .55); }
.btn-book:hover { background: #ffe81f; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.confirm-box { max-width: 420px; text-align: center; }
#adminLoginModal { z-index: 135; background: rgba(17, 24, 39, .45); }
#confirmModal { z-index: 130; background: rgba(17, 24, 39, .45); }
.btn-dark:hover { background: var(--orange); }
.btn-ghost { border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--orange); }
.btn-white:hover { background: var(--orange-soft); }
.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--orange); color: var(--orange); }

/* Top bar */
.topbar { background: var(--ink); color: #d1d5db; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item .i { width: 15px; height: 15px; color: var(--orange); }
.topbar-links { display: flex; gap: 22px; }
.topbar a:hover { color: #fff; }
@media (max-width: 1199px) { .topbar-hours { display: none; } } /* keeps the bar on one line; hours are also in the footer */

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
header.site .container { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { width: 42px; height: 42px; flex-shrink: 0; filter: drop-shadow(0 4px 8px rgba(29, 111, 242, .3)); }
.logo-text { position: relative; font-family: var(--display); font-size: 25px; font-weight: 800; letter-spacing: -.8px; line-height: 1; padding-bottom: 12px; }
.logo-two {
  display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 2px;
  border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; letter-spacing: 0; vertical-align: 3px;
}
.logo-buzz { color: #1d6ff2; }
.logo-text small {
  position: absolute; left: 1px; bottom: 0; white-space: nowrap; font-family: "Inter", sans-serif;
  font-size: 9.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted);
}
nav.main { display: flex; gap: 4px; margin-left: auto; font-weight: 500; font-size: 15px; }
nav.main a { white-space: nowrap; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); transition: color .2s, background .2s; }
nav.main a:hover { color: var(--orange); background: var(--orange-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; align-items: center; gap: 10px; padding-right: 8px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.header-phone .i { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); }
.header-phone small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.1; }
.cart-count {
  position: absolute; top: -7px; right: -7px; background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px;
  display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff;
}
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 64px 0 80px;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(255, 106, 0, .12), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(255, 106, 0, .07), transparent 60%),
    linear-gradient(180deg, #fff, #fffaf6);
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.eyebrows { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink-2);
  font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.eyebrow .i { width: 15px; height: 15px; color: var(--orange); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-sub { margin-top: 12px; font-family: var(--display); font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--ink-2); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-proof { display: flex; align-items: center; gap: 14px; }
.hero-proof small { color: var(--muted); font-size: 14px; }
.hero-proof b { color: var(--ink); }
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--ink-2);
}
.avatars span:first-child { margin-left: 0; background: var(--orange); }
.avatars span:nth-child(2) { background: #374151; }
.avatars span:nth-child(3) { background: #f59e0b; }
.avatars span:last-child { background: #fff; color: var(--ink); border-color: var(--line); }

/* Technician illustration */
.tech-scene { display: block; width: 100%; max-width: 440px; height: auto; margin: 10px 0 18px; }
.tech-scene .sparkle { transform-origin: 159px 139px; animation: sparkle 1.6s ease-in-out infinite; }
@keyframes sparkle {
  0%, 100% { opacity: .35; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) { .tech-scene .sparkle { animation: none; } }

/* Quote card */
.quote-card {
  position: sticky; top: 110px; background: #fff; border-radius: 22px; padding: 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.quote-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.quote-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--orange); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.quote-icon .i { width: 24px; height: 24px; }
.quote-card h3 { font-size: 21px; }
.quote-card p.sub { color: var(--muted); font-size: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field select, .field input {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 15px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 0, .12); }
.field-note { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--orange-soft); color: var(--ink-2); font-size: 13px; }
.field-note[hidden], .field[hidden] { display: none; }
.field-note .i { width: 16px; height: 16px; color: var(--orange); }
.quote-result { margin-bottom: 14px; padding: 14px 16px; border-radius: 12px; background: var(--orange-soft); border: 1px solid var(--orange-line); display: none; font-size: 14px; }
.quote-result.show { display: block; }
.quote-result strong { color: var(--orange); font-size: 24px; font-family: var(--display); }
.quote-perks { list-style: none; display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-2); }
.quote-perks li { display: flex; align-items: center; gap: 8px; }
.quote-perks .i { width: 18px; height: 18px; color: #16a34a; stroke-width: 2.4; }
.quote-perks li.excluded { align-items: flex-start; color: var(--muted); font-size: 13px; }
.quote-perks li.excluded .i { color: #dc2626; margin-top: 1px; }

/* Brands */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.brands .container { display: flex; align-items: center; gap: 32px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.brands-label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.brand-list { display: flex; flex: 1; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand-list span { font-family: var(--display); font-size: 20px; font-weight: 800; color: #b8bcc6; letter-spacing: -.02em; transition: color .2s; }
.brand-list span:hover { color: var(--ink); }

/* Sections */
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head.left { text-align: left; margin: 0; }
.kicker { display: inline-block; color: var(--orange); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 10px; }
.kicker.light { color: #ffe1cc; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head a { color: var(--orange); font-weight: 600; }

/* Trust strip */
.trust { padding: 36px 0; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item b { display: block; font-size: 15px; }
.trust-item small { color: var(--muted); font-size: 13px; }
.ic { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.ic .i { width: 24px; height: 24px; }

/* Services */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.service-card:hover { border-color: var(--orange-line); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card .ic { margin-bottom: 20px; background: #e8f0fe; color: #1d6ff2; transition: background .25s, color .25s; }
.service-card:hover .ic { background: #1d6ff2; color: #fff; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; flex: 1; }
.service-card .from { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); font-size: 15px; }
.service-card .from .i { width: 16px; height: 16px; color: var(--orange); transition: transform .25s; }
.service-card:hover .from .i { transform: translateX(4px); }

/* Steps */
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.step .num { position: absolute; top: 24px; right: 28px; font-family: var(--display); font-size: 44px; font-weight: 800; color: #f1f2f5; line-height: 1; }
.step .ic { margin-bottom: 20px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Shop */
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.shop-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; flex-wrap: wrap; }
.tab { padding: 9px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.shop-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.search-box { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); }
.search-box:focus-within { border-color: var(--orange); }
.search-box input { border: none; outline: none; font: inherit; font-size: 14px; padding: 11px 0; min-width: 180px; color: var(--ink); }
.shop-tools select { padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.shop-tools select:focus { outline: none; border-color: var(--orange); }

.brand-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.brand-chips[hidden] { display: none; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: 14px; color: var(--ink-2); transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.filters {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 18px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px;
}
.filters[hidden] { display: none; }
.filters label span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .6px; }
.filters select {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 14px; background: #fff; color: var(--ink);
}
.filters select:focus { outline: none; border-color: var(--orange); }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.link { color: var(--orange); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--orange-dark); }

.specs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 8px 0 2px; font-size: 12.5px; color: var(--ink-2); }
.specs li { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.specs .i { width: 14px; height: 14px; color: var(--muted); }
.swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex-shrink: 0; }
.specs .good .i { color: #16a34a; }
.specs .ok .i { color: #f59e0b; }
.specs .low .i { color: #dc2626; }
.specs .cond { font-weight: 600; }
.specs .cond .i { color: var(--orange); }
.acc-filters { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.acc-filters label[hidden] { display: none; }
.admin-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; background: #1d6ff2; color: #fff; font-size: 14px; text-align: center; }
.admin-bar .i { width: 18px; height: 18px; }
.photo-edit {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: #1d6ff2; color: #fff; font-size: 13px; font-weight: 600; box-shadow: var(--shadow);
}
.photo-edit:hover { background: #1559c9; }
.admin-edit {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 2px;
  padding: 5px 10px; border-radius: 8px; border: 1.5px solid #c6daff; background: #eef4ff;
  color: #1d6ff2; font-size: 12.5px; font-weight: 600;
}
.admin-edit:hover { border-color: #1d6ff2; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.admin-actions .admin-edit { margin: 0; }
.admin-edit.danger { border-color: #fecaca; background: #fef2f2; color: #dc2626; }
.admin-edit.danger:hover { border-color: #dc2626; }
.admin-add { margin-left: 10px; padding: 6px 14px; border-radius: 999px; background: #fff; color: #1d6ff2; font-weight: 700; font-size: 13px; }
.admin-add:hover { background: #eef4ff; }
.admin-add.inline { background: #1d6ff2; color: #fff; }
.admin-add.inline:hover { background: #1559c9; }
.admin-bar .admin-add.inline { border: 1.5px solid #fff; }
.bk-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 12px; }
.bk-badge[hidden] { display: none; }

/* Admin: repair bookings */
.bookings-box { max-width: 920px; }
.bookings-box .sub code { font-size: 12.5px; background: #f3f4f6; padding: 1px 5px; border-radius: 5px; }
.bk-card { border: 1px solid var(--line); border-left: 4px solid #1d6ff2; border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; background: #fff; }
.bk-card.bk-confirmed { border-left-color: #16a34a; }
.bk-card.bk-completed { border-left-color: #9ca3af; }
.bk-card.bk-cancelled { border-left-color: #dc2626; opacity: .75; }
.bk-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.bk-card header small { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.bk-status { padding: 3px 10px; border-radius: 999px; background: #e8f0fe; color: #1d6ff2; font-size: 12px; font-weight: 700; }
.bk-confirmed .bk-status { background: #dcfce7; color: #15803d; }
.bk-completed .bk-status { background: #f3f4f6; color: #4b5563; }
.bk-cancelled .bk-status { background: #fee2e2; color: #b91c1c; }
.bk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: 14px; line-height: 1.55; }
.bk-grid label { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.bk-grid a { color: #1d6ff2; word-break: break-all; }
.bk-grid small { color: var(--muted); }
.bk-when { color: #15803d; }
.bk-schedule { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.bk-schedule .field { margin: 0; }
.bk-schedule .admin-edit { margin: 0 0 8px auto; }
.bk-note { margin-top: 10px; font-size: 12.5px; color: #b45309; }
.bk-stages { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.bk-stages > label { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.bk-stages > div { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-stages small { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.bk-stage { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.bk-stage .i { width: 14px; height: 14px; opacity: .25; }
.bk-stage:hover:not(:disabled) { border-color: #1d6ff2; color: #1d6ff2; }
.bk-stage.done { border-color: #bbf7d0; background: #f0fdf4; color: #15803d; }
.bk-stage.done .i { opacity: 1; }
.bk-stage.current { border-color: #16a34a; background: #16a34a; color: #fff; cursor: default; }
@media (max-width: 720px) { .bk-grid { grid-template-columns: 1fr; } }

.shop-pick { display: flex; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.shop-pick:empty { display: none; }
.shop-pick > .i { width: 17px; height: 17px; margin-top: 2px; color: var(--orange); flex-shrink: 0; }
.shop-pick a { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; color: #1d6ff2; font-weight: 700; }
.shop-pick a .i { width: 14px; height: 14px; }

/* Customer: track a repair */
.topbar-track { font-weight: 700; }
.banner-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.track-box { max-width: 560px; }
.track-card { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.track-head small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.track-head b { font-family: var(--display); font-size: 22px; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #f0fdf4; color: #15803d; font-size: 12px; font-weight: 700; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; animation: livePulse 1.6s infinite; }
@keyframes livePulse { 50% { opacity: .3; } }
.track-device { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.track-when, .track-shop { display: flex; gap: 8px; margin-top: 10px; font-size: 14.5px; }
.track-when .i, .track-shop .i { width: 17px; height: 17px; margin-top: 2px; color: #1d6ff2; flex-shrink: 0; }
.track-shop a { color: #1d6ff2; font-weight: 600; }
.track-steps { list-style: none; margin-top: 18px; }
.track-steps li { position: relative; display: flex; gap: 12px; padding-bottom: 18px; }
.track-steps li:last-child { padding-bottom: 0; }
.track-steps li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.track-steps li.done:not(.current)::before { background: #16a34a; }
.track-steps .dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: #fff; flex-shrink: 0; }
.track-steps .dot .i { width: 13px; height: 13px; color: #fff; stroke-width: 3; }
.track-steps li.done .dot { background: #16a34a; border-color: #16a34a; }
.track-steps li.current .dot { box-shadow: 0 0 0 5px #dcfce7; }
.track-steps b { display: block; font-size: 15px; color: var(--muted); font-weight: 600; }
.track-steps li.done b { color: var(--ink); }
.track-steps small { display: block; color: var(--muted); font-size: 12.5px; }
.track-cancelled, .track-error { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #fef2f2; color: #b91c1c; font-size: 14px; }
.track-cancelled a, .track-error a { color: inherit; font-weight: 700; }
.admin-add[hidden] { display: none; }
.field input[type="file"] { padding: 10px; }
.admin-edit .i { width: 14px; height: 14px; }
.field-hint { margin-top: 6px; font-size: 12px; color: var(--muted); }
.field-hint.center { text-align: center; margin-top: 12px; }
.photo-edit .i { width: 16px; height: 16px; }
.stock { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 600; }
.stock.in { color: #166534; }
.stock.low { color: #b45309; }
.stock.out { color: #dc2626; }
.specs .fits { grid-column: 1 / -1; font-weight: 600; }
.specs .fits .i { color: #16a34a; stroke-width: 2.6; }
#brandChips .chip[data-category] { padding: 7px 14px; font-size: 13px; }
.specs .unlocked { grid-column: 1 / -1; color: #166534; font-weight: 600; }
.specs .unlocked .i { color: #16a34a; stroke-width: 2.6; }

.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.product-img { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #f7f7f9, #eef0f3); display: grid; place-items: center; }
.art-wrap { width: 100%; height: 100%; display: grid; place-items: center; }
.art-wrap:not(.has-photo) > .product-photo { position: absolute; width: 1px; height: 1px; opacity: 0; }
.art-wrap.has-photo > .phone-art, .art-wrap.has-photo > .acc-art { display: none; }
.product-photo { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s; }
.product:hover .product-photo { transform: scale(1.05); }
.cart-item .thumb .product-photo { width: 90%; height: 90%; }
.phone-art { width: 82%; height: auto; transition: transform .4s; }
.product:hover .phone-art, .product:hover .acc-art { transform: scale(1.05); }
.acc-art { width: 56%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .4s; }
.acc-icon { width: 46%; height: 46%; fill: none; stroke: var(--orange); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .3px; }
.badge.new { background: var(--orange); color: #fff; }
.badge.used { background: var(--ink); color: #fff; }
.badge.accessory { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.save { position: absolute; top: 12px; right: 12px; z-index: 1; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #166534; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.product-body .brand { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.product-body h4 { font-size: 16px; font-weight: 700; }
.product-body .meta { font-size: 13.5px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 12px; }
.price strong { font-family: var(--display); font-size: 22px; font-weight: 800; }
.price s { color: var(--muted); font-size: 14px; }
.product .btn { margin-top: 12px; padding: 11px 16px; font-size: 14px; }
.show-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.show-more-wrap .btn[hidden] { display: none; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 48px; }

.grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.grade { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg-alt); }
.grade-letter { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 18px; display: grid; place-items: center; flex-shrink: 0; }
.grade b { display: block; margin-bottom: 2px; }
.grade p { color: var(--muted); font-size: 14px; }

.warranty-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; color: var(--muted); font-size: 14px; text-align: center; }
.warranty-note .i { color: #16a34a; width: 18px; height: 18px; }
.warranty-note b { color: var(--ink); }

/* Mail-in banner */
.banner {
  position: relative; overflow: hidden; color: #fff; border-radius: 28px; padding: 56px;
  background: radial-gradient(500px 300px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center;
}
.banner h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-bottom: 12px; }
.banner p { opacity: .92; font-size: 17px; }
.banner ul { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.banner li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.banner li .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .2); stroke-width: 3; }
.banner-side { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 20px; padding: 28px; text-align: center; }
.banner-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: #fff; color: #1d6ff2; display: grid; place-items: center; }
.banner-icon .i { width: 32px; height: 32px; }
.banner .btn-white { color: #1d6ff2; }
.banner .btn-white:hover { background: #e8f0fe; }
.banner-side small { display: block; margin-top: 12px; opacity: .85; font-size: 13px; }

/* Prepaid: blue accent instead of orange */
#prepaid, #prepaidModal {
  --orange: #1d6ff2;
  --orange-dark: #1559c9;
  --orange-soft: #eef4ff;
  --orange-line: #c6daff;
}
#prepaid { background: linear-gradient(180deg, #f5f9ff, #ffffff); }
#prepaid .btn-primary, #prepaidModal .btn-primary { box-shadow: 0 8px 20px -6px rgba(29, 111, 242, .5); }
#prepaid .btn-ghost { border-color: var(--orange-line); color: var(--orange); }
#prepaid .btn-ghost:hover { border-color: var(--orange); background: var(--orange-soft); }
#prepaid .warranty-note .i { color: var(--orange); }
#prepaidModal .field select:focus, #prepaidModal .field input:focus { box-shadow: 0 0 0 4px rgba(29, 111, 242, .14); }
.nowrap { white-space: nowrap; }
.carrier-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.carrier-card:hover { border-color: var(--orange-line); box-shadow: var(--shadow); transform: translateY(-4px); }
.carrier-name { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.carrier-name span { color: var(--orange); }
.carrier-card ul { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; flex: 1; font-size: 15px; }
.carrier-card li { display: flex; align-items: center; gap: 10px; }
.carrier-card li .i { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--orange-soft); color: var(--orange); }
.carrier-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.warranty-note a { color: var(--orange); font-weight: 600; }

/* Locations */
.zip-search {
  display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 0 auto 32px;
  padding: 7px 7px 7px 18px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm);
}
.zip-search:focus-within { border-color: var(--orange); }
.zip-search .i { color: var(--orange); }
.zip-search input { flex: 1; border: none; outline: none; font: inherit; font-size: 16px; min-width: 0; }
.zip-msg { text-align: center; margin: -18px 0 28px; color: var(--orange-dark); font-weight: 600; min-height: 24px; }
.zip-near { text-align: center; margin: -14px 0 22px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-dark); font-weight: 600; font-size: 14px; }
.link-btn .i { width: 16px; height: 16px; }
.link-btn:hover { text-decoration: underline; }
.shop-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shop-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.shop-card h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; padding-right: 92px; }
.shop-card h3 .i { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }
.shop-card p { display: flex; gap: 8px; color: var(--muted); font-size: 14.5px; }
.shop-card p .i { width: 16px; height: 16px; margin-top: 3px; color: var(--orange); flex-shrink: 0; }
.shop-card p a { color: var(--ink); font-weight: 600; }
.shop-miles { position: absolute; top: 22px; right: 22px; padding: 5px 10px; border-radius: 999px; background: #e8f0fe; color: #1d6ff2; font-size: 13px; font-weight: 700; }
.shop-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.shop-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); }

/* Stats */
.stats { background: var(--ink); color: #fff; padding: 56px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats strong { display: block; font-family: var(--display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--orange); letter-spacing: -.02em; }
.stats span { color: #9ca3af; font-size: 15px; }

/* Reviews */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.review .stars { display: flex; gap: 2px; margin-bottom: 14px; }
.review blockquote { color: var(--ink-2); font-size: 16px; margin-bottom: 22px; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.review b { display: block; font-size: 15px; }
.review small { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; background: #fff; transition: border-color .2s; }
.faq details[open] { border-color: var(--orange-line); box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt);
  color: var(--orange); display: grid; place-items: center; font-size: 18px; transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; background: var(--orange); color: #fff; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* CTA */
.cta { padding: 0 0 96px; }
.cta .container > * { position: relative; }
.cta .container {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  background: var(--ink); color: #fff; border-radius: 28px; padding: 48px 56px;
  max-width: calc(var(--max) - 48px);
  background-image: radial-gradient(500px 250px at 100% 100%, rgba(255, 106, 0, .35), transparent 60%);
}
.cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 6px; }
.cta p { color: #9ca3af; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
footer { background: #0b0f19; color: #9ca3af; padding: 72px 0 28px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 48px; }
footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
footer ul { list-style: none; display: grid; gap: 10px; }
footer a:hover { color: var(--orange); }
footer .logo { color: #fff; margin-bottom: 16px; }
footer .logo-text { padding-bottom: 0; }
footer .logo-two { background: #1d6ff2; }
footer .logo-buzz { color: #5b9bff; }
.footer-about { max-width: 320px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .i { width: 17px; height: 17px; color: var(--orange); }
.newsletter { display: flex; gap: 8px; margin-top: 20px; max-width: 360px; padding: 5px; background: #1a1f2b; border: 1px solid #2a3040; border-radius: 14px; }
.newsletter input { flex: 1; padding: 8px 12px; border: none; background: transparent; color: #fff; font: inherit; min-width: 0; outline: none; }
.copyright { border-top: 1px solid #1f2633; padding-top: 24px; font-size: 13px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay em { font-style: normal; font-weight: 700; font-size: 11px; color: #d1d5db; padding: 4px 9px; border: 1px solid #2a3040; border-radius: 6px; }

/* Cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(17, 24, 39, .45); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff;
  z-index: 100; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item .thumb { width: 64px; height: 64px; border-radius: 12px; background: var(--bg-alt); display: grid; place-items: center; overflow: hidden; }
.cart-item .thumb .phone-art { width: 100%; }
.cart-item .thumb .acc-art { width: 70%; box-shadow: none; }
.cart-item h6 { font-size: 14px; font-weight: 600; }
.cart-item small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 2px; font-size: 14px; font-weight: 600; }
.qty button { width: 26px; height: 26px; border-radius: 6px; }
.qty button:hover { background: var(--orange-soft); color: var(--orange); }
.remove { color: var(--muted); font-size: 12px; text-decoration: underline; }
.remove:hover { color: #dc2626; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted); font-size: 14px; }
.drawer-foot .row.total { color: var(--ink); font-weight: 800; font-size: 18px; margin: 12px 0 16px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.secure-note .i { width: 15px; height: 15px; color: #16a34a; }

/* Modal */
.modal { position: fixed; inset: 0; display: none; place-items: center; z-index: 110; padding: 20px; }
.modal.show { display: grid; }
.modal-box { background: #fff; border-radius: 22px; max-width: 540px; width: 100%; padding: 32px; position: relative; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-box .close { position: absolute; top: 16px; right: 16px; }
.modal-box h3 { font-size: 24px; margin-bottom: 4px; }
.modal-box p.sub { color: var(--muted); margin-bottom: 20px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 140px); background: var(--ink); color: #fff;
  padding: 13px 22px; border-radius: 12px; z-index: 120; transition: transform .3s; font-size: 14px; box-shadow: var(--shadow-lg);
  pointer-events: none; /* never block clicks on buttons underneath */
}
.toast.show { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1440px) {
  .header-phone { display: none; }
}
@media (max-width: 1100px) {
  .logo-text small { display: none; }
  .logo-text { padding-bottom: 0; }
  nav.main a { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .shop-list { grid-template-columns: repeat(2, 1fr); }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .trust .container, .stats .container { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  nav.main {
    display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 15px 24px; border-radius: 0; border-top: 1px solid var(--line); }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .hero .container, .banner { grid-template-columns: 1fr; }
  .quote-card { position: static; }
  .grid-3, .grades { grid-template-columns: 1fr; }
  .banner { padding: 36px 28px; }
  .topbar-links { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  header.site .container { gap: 12px; }
  .header-actions .btn { display: none; }
  .logo-icon { width: 36px; height: 36px; }
  .logo-text { font-size: 21px; padding-bottom: 0; }
  .logo-text small { display: none; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 14px; }
  .filters { grid-template-columns: 1fr 1fr; padding: 14px; }
  .specs { grid-template-columns: 1fr; }
  .product-body h4 { font-size: 14px; }
  .price strong { font-size: 18px; }
  .shop-list { grid-template-columns: 1fr; }
  .trust .container, footer .cols, .two { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .shop-tools, .search-box { width: 100%; }
  .search-box input { min-width: 0; width: 100%; }
  .shop-tools select { flex: 1; }
  .cta .container { padding: 36px 24px; margin: 0 16px; }
  .quote-card { padding: 22px; }
  .brand-list { justify-content: flex-start; }
}
