/* ByteBin shared styles - catalog + product detail + cart drawer */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Segoe UI', Roboto, Arial, sans-serif; background:#f3f3f3; color:#111; min-height:100vh; }

/* Top status strip */
.bar { background:#28a745; color:#fff; padding:10px 20px; font-size:13px; text-align:center; }
.bar strong { font-weight:800; }
.bar .session-end { opacity:0.85; margin-left:8px; }

/* Header */
header.top { background:#003b6f; color:#fff; padding:14px 24px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
header.top a { text-decoration:none; color:inherit; }
header.top .logo { font-family:'Arial Black', sans-serif; font-size:28px; font-weight:900; letter-spacing:-0.5px; line-height:1; }
header.top .logo .accent { color:#ffcc00; }
header.top .tag { font-size:12px; opacity:0.8; }
header.top .search { flex:1; min-width:240px; max-width:560px; position:relative; }
header.top .search input { width:100%; padding:9px 36px 9px 14px; border:0; border-radius:4px; font-size:14px; background:#fff; color:#111; outline:none; }
header.top .search input::placeholder { color:#888; }
header.top .search input:focus { box-shadow:0 0 0 2px #ffcc00; }
header.top .search button#search-clear { position:absolute; right:6px; top:50%; transform:translateY(-50%); background:transparent; border:0; color:#888; font-size:22px; cursor:pointer; width:28px; height:28px; padding:0; line-height:1; }
header.top .search button#search-clear:hover { color:#dc3545; }
header.top .cart { background:#0066b2; padding:8px 14px; border-radius:4px; font-size:12px; cursor:pointer; border:0; color:#fff; }
header.top .cart:hover { background:#0083d0; }
header.top .cart strong { font-weight:800; }

/* Category nav */
nav.cats { background:#0066b2; padding:0 24px; overflow-x:auto; }
nav.cats ul { list-style:none; display:flex; gap:0; min-width:max-content; }
nav.cats li { padding:10px 18px; color:#fff; font-size:12.5px; cursor:pointer; border-right:1px solid rgba(255,255,255,0.15); white-space:nowrap; }
nav.cats li a { color:inherit; text-decoration:none; display:block; margin:-10px -18px; padding:10px 18px; }
nav.cats li:hover { background:rgba(0,0,0,0.15); }
nav.cats li.active { background:#003b6f; }

/* Brand chip rail - sub-category filter shown when a single category
   is active. Sits between the category nav and the hero banner. */
.brand-rail { background:#e9eef4; padding:8px 24px; display:flex; flex-wrap:wrap; gap:6px; border-bottom:1px solid #d0d6de; }
.brand-rail[hidden] { display:none; }
.brand-rail .brand-chip { background:#fff; border:1px solid #c0c8d2; color:#003b6f; padding:5px 12px; border-radius:14px; font-size:11.5px; font-weight:600; cursor:pointer; transition:background 0.1s, border-color 0.1s; }
.brand-rail .brand-chip:hover { background:#f5f7fa; border-color:#003b6f; }
.brand-rail .brand-chip.active { background:#003b6f; color:#fff; border-color:#003b6f; }

/* Hero banner */
.hero-banner { background:#ffcc00; color:#003b6f; padding:14px 24px; text-align:center; font-weight:700; }
.hero-banner .deal { display:inline-block; background:#003b6f; color:#fff; padding:3px 10px; border-radius:3px; margin-right:8px; font-size:11px; letter-spacing:0.05em; }

/* Catalog grid */
main { padding:20px 24px; }
.section-title { font-size:16px; color:#003b6f; margin-bottom:12px; font-weight:800; text-transform:uppercase; letter-spacing:0.04em; }
.catalog-shell { display:grid; grid-template-columns: 220px minmax(0, 1fr); gap:14px; align-items:start; }
@media (max-width: 860px) { .catalog-shell { grid-template-columns: 1fr; } }
.filter-panel {
  background:#fff;
  border:1px solid #c8c8c8;
  border-radius:3px;
  padding:12px;
  position:sticky;
  top:8px;
}
.filter-title {
  font-size:12px;
  color:#003b6f;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0.06em;
  margin-bottom:8px;
  padding-bottom:6px;
  border-bottom:1px solid #e6e6e6;
}
.filter-panel label {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  color:#333;
  padding:6px 0;
  cursor:pointer;
}
.filter-panel input { accent-color:#003b6f; }
.category-note-strip {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:10px;
}
.category-note-strip[hidden] { display:none; }
.category-note-strip span {
  background:#fff;
  border:1px solid #d8c072;
  color:#5d4500;
  border-radius:3px;
  padding:6px 9px;
  font-size:11.5px;
  font-weight:700;
}
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:12px; margin-bottom:30px; }
.card { background:#fff; border:1px solid #d0d0d0; border-radius:3px; padding:14px; display:flex; flex-direction:column; position:relative; transition:box-shadow 0.15s, transform 0.15s; text-decoration:none; color:inherit; }
.card:hover { box-shadow:0 2px 10px rgba(0,0,0,0.14); transform:translateY(-1px); }

.card .sticker { position:absolute; top:8px; right:8px; background:#dc3545; color:#fff; padding:3px 8px; border-radius:3px; font-size:10px; font-weight:800; letter-spacing:0.05em; z-index:2; }
.card .sticker.hot { background:#fd7e14; }

.card .img-wrap { width:100%; aspect-ratio:4/3; background:#f0f0f0; border-radius:2px; margin-bottom:10px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.card .img-wrap img { width:100%; height:100%; object-fit:contain; }

.card h3 { font-size:13px; color:#111; margin-bottom:6px; font-weight:600; min-height:34px; line-height:1.3; }
.card .sku { font-family:'Courier New', monospace; font-size:10px; color:#777; margin-bottom:8px; }
.condition-chip {
  display:inline-block;
  align-self:flex-start;
  background:#eef2f6;
  color:#394756;
  border:1px solid #cad3dd;
  border-radius:2px;
  padding:3px 6px;
  font-size:10px;
  font-weight:800;
  margin-bottom:6px;
  text-transform:uppercase;
}
.card .card-promo {
  display:inline-block;
  align-self:flex-start;
  background:#fff3cd;
  color:#7a4b00;
  border:1px solid #ffe08a;
  border-radius:3px;
  padding:3px 7px;
  font-size:10px;
  font-weight:800;
  margin-bottom:6px;
  text-transform:uppercase;
  letter-spacing:0.04em;
}
.card .card-note {
  color:#666;
  font-size:11px;
  line-height:1.35;
  min-height:30px;
  margin:-2px 0 8px;
}
.branch-stock {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:3px;
  margin:0 0 8px;
}
.branch-stock span {
  background:#f5f5f5;
  border:1px solid #e0e0e0;
  color:#333;
  border-radius:2px;
  padding:3px 4px;
  font-size:10px;
  text-align:center;
  font-family:'Courier New', monospace;
}
.card .price-row { margin-top:auto; }
.card .price-was { font-size:11px; color:#888; text-decoration:line-through; }
.card .price-now { font-size:20px; color:#dc3545; font-weight:800; margin-top:2px; }
.card .price-now small { font-size:11px; color:#777; font-weight:400; }
.card .stock { font-size:11px; color:#28a745; margin-top:4px; }
.card .stock.low { color:#fd7e14; }
.card .stock.out { color:#999; }
.card button.add { margin-top:10px; background:#003b6f; color:#fff; border:0; padding:8px; border-radius:3px; cursor:pointer; font-size:12px; font-weight:700; letter-spacing:0.03em; }
.card button.add:hover { background:#0066b2; }
.card button.add:disabled { background:#cccccc; cursor:not-allowed; }

/* Footer */
footer { background:#1a1a1a; color:#aaa; font-size:12px; padding:0; margin-top:30px; }
footer strong { color:#fff; }
.footer-grid {
  display:grid; grid-template-columns: 2fr 1fr 1fr;
  gap:36px; max-width:1180px; margin:0 auto;
  padding:32px 24px 24px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap:22px; } }

.footer-grid h3 {
  font-size:12px; color:#ffcc00; font-weight:800;
  text-transform:uppercase; letter-spacing:0.08em;
  margin-bottom:14px; padding-bottom:6px; border-bottom:1px solid #333;
}

.footer-store-list { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
@media (max-width: 560px) { .footer-store-list { grid-template-columns: 1fr; } }
.footer-store strong { display:block; color:#fff; font-size:13.5px; margin-bottom:5px; letter-spacing:0.02em; }
.footer-store-addr { font-size:11.5px; color:#bdbdbd; line-height:1.55; margin-bottom:4px; }
.footer-store-phone { font-family:'Courier New', monospace; font-size:11.5px; color:#cfcfcf; }

.footer-hours-table { border-collapse:collapse; font-size:12px; color:#cfcfcf; width:100%; }
.footer-hours-table th { text-align:left; padding:4px 10px 4px 0; font-weight:600; color:#bdbdbd; }
.footer-hours-table td { padding:4px 0; color:#fff; font-family:'Courier New', monospace; }
.footer-hours-note { font-size:11px; color:#888; margin-top:10px; line-height:1.5; }

.footer-links ul { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom:6px; }
.footer-links a { color:#cfcfcf; text-decoration:none; font-size:12.5px; }
.footer-links a:hover { color:#ffcc00; text-decoration:underline; }

.footer-bottom {
  border-top:1px solid #333; padding:14px 24px;
  text-align:center; font-size:11px; color:#777;
}
.footer-slogan {
  background:#ffcc00; color:#003b6f;
  padding:14px 20px; text-align:center;
  font-weight:800; font-size:13px;
  letter-spacing:0.1em; text-transform:uppercase;
}

/* Legacy compact footer nav (kept for the closed-mode page if used) */
footer .footer-nav { margin-bottom:8px; }
footer .footer-nav a { color:#cfcfcf; text-decoration:none; margin:0 6px; font-size:12px; }
footer .footer-nav a:hover { color:#fff; text-decoration:underline; }
footer .footer-nav .dot { color:#666; }

/* === Product detail page ============================================ */
.breadcrumb { padding:10px 24px; font-size:12px; color:#666; background:#fff; border-bottom:1px solid #e0e0e0; }
.breadcrumb a { color:#0066b2; text-decoration:none; }
.breadcrumb a:hover { text-decoration:underline; }
.breadcrumb .sep { margin:0 6px; color:#aaa; }

.pdp { display:grid; grid-template-columns: minmax(260px, 460px) 1fr; gap:24px; padding:20px 24px; max-width:1280px; margin:0 auto; }
@media (max-width: 760px) { .pdp { grid-template-columns: 1fr; } }

.pdp .gallery { background:#fff; border:1px solid #d0d0d0; border-radius:3px; padding:18px; }
.pdp .gallery .hero-img { width:100%; aspect-ratio:1.2 / 1; background:#f6f6f6; border-radius:2px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.pdp .gallery .hero-img img { width:100%; height:100%; object-fit:contain; }
.pdp .gallery .thumbs { display:flex; gap:6px; margin-top:10px; }
.pdp .gallery .thumb { flex:1; aspect-ratio:1; background:#f0f0f0; border:1px solid #e0e0e0; border-radius:2px; display:flex; align-items:center; justify-content:center; overflow:hidden; cursor:pointer; }
.pdp .gallery .thumb img { width:100%; height:100%; object-fit:contain; }
.pdp .gallery .thumb.active { border-color:#003b6f; box-shadow:0 0 0 1px #003b6f inset; }

.pdp .details { background:#fff; border:1px solid #d0d0d0; border-radius:3px; padding:22px 26px; position:relative; }
.pdp .details .brand { font-size:11px; color:#777; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:4px; }
.pdp .details h1 { font-size:22px; color:#111; font-weight:700; line-height:1.25; margin-bottom:10px; }
.pdp .details .meta { display:flex; gap:14px; font-size:12px; color:#666; margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid #eee; }
.pdp .details .meta .sku { font-family:'Courier New', monospace; }
.pdp .details .price-block { padding:14px 0; }
.pdp .details .price-was { font-size:13px; color:#888; text-decoration:line-through; }
.pdp .details .price-now { font-size:32px; color:#dc3545; font-weight:800; line-height:1; margin-top:4px; }
.pdp .details .price-now small { font-size:13px; color:#777; font-weight:500; margin-left:6px; }
.pdp .details .savings { font-size:12px; color:#28a745; margin-top:4px; font-weight:700; }
.pdp .details .stock { font-size:13px; margin-top:10px; color:#28a745; font-weight:600; }
.pdp .details .stock.low { color:#fd7e14; }
.pdp .details .stock.out { color:#999; }
.pdp .details .cta { display:flex; gap:8px; margin-top:18px; }
.pdp .details .cta button { padding:12px 18px; font-size:14px; font-weight:700; border:0; border-radius:3px; cursor:pointer; letter-spacing:0.03em; }
.pdp .details .cta .primary { background:#003b6f; color:#fff; flex:1; }
.pdp .details .cta .primary:hover { background:#0066b2; }
.pdp .details .cta .primary:disabled { background:#cccccc; cursor:not-allowed; }
.pdp .details .cta .wishlist { background:#fff; color:#003b6f; border:1px solid #003b6f; }
.pdp .details .cta .wishlist:hover { background:#f0f6fc; }
.pdp .details .features { margin-top:18px; padding-top:18px; border-top:1px solid #eee; }
.pdp .details .features h4 { font-size:11px; text-transform:uppercase; color:#666; letter-spacing:0.06em; margin-bottom:8px; }
.pdp .details .features ul { list-style:none; padding:0; }
.pdp .details .features li { font-size:13px; color:#333; padding:4px 0 4px 18px; position:relative; }
.pdp .details .features li::before { content:"\2713"; position:absolute; left:0; color:#28a745; font-weight:700; }

.pdp-body { max-width:1280px; margin:0 auto; padding:0 24px 30px 24px; display:grid; grid-template-columns: 1fr; gap:18px; }
.pdp-section { background:#fff; border:1px solid #d0d0d0; border-radius:3px; padding:22px 26px; }
.pdp-section h2 { font-size:15px; color:#003b6f; font-weight:800; text-transform:uppercase; letter-spacing:0.04em; margin-bottom:14px; padding-bottom:8px; border-bottom:1px solid #eee; }
.pdp-section p { font-size:14px; line-height:1.6; color:#333; margin-bottom:10px; }
.pdp-section table.specs { width:100%; border-collapse:collapse; font-size:13px; }
.pdp-section table.specs th, .pdp-section table.specs td { text-align:left; padding:8px 12px; border-bottom:1px solid #f0f0f0; vertical-align:top; }
.pdp-section table.specs th { color:#666; font-weight:600; width:38%; background:#fafafa; }
.pdp-section table.specs td { color:#222; }
.pdp-promo {
  display:inline-block;
  background:#fff3cd;
  color:#7a4b00;
  border:1px solid #ffe08a;
  border-radius:3px;
  padding:5px 9px;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.05em;
  margin-bottom:8px;
}
.store-notes { list-style:none; display:grid; gap:8px; }
.store-notes li {
  background:#f7f9fb;
  border:1px solid #e4e8ee;
  border-radius:3px;
  color:#333;
  font-size:13px;
  line-height:1.45;
  padding:9px 11px;
}
.store-notes.warning li {
  background:#fff8e1;
  border-color:#f0d37a;
  color:#4d3b00;
}
.pdp-condition {
  display:inline-block;
  background:#eef2f6;
  color:#394756;
  border:1px solid #cad3dd;
  border-radius:3px;
  padding:5px 9px;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  margin-bottom:8px;
}
.branch-stock-table {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:8px;
}
.branch-stock-table div {
  border:1px solid #d8dde4;
  background:#f7f9fb;
  border-radius:3px;
  padding:10px;
}
.branch-stock-table strong {
  display:block;
  font-size:11px;
  color:#666;
  text-transform:uppercase;
  margin-bottom:4px;
}
.branch-stock-table span {
  font-size:24px;
  color:#003b6f;
  font-weight:900;
  font-family:'Courier New', monospace;
}
.branch-note {
  margin-top:10px;
  color:#666;
  font-size:12px !important;
}
.related-strip {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:10px;
}
.related-strip a {
  display:grid;
  grid-template-columns:54px 1fr;
  gap:8px;
  text-decoration:none;
  color:inherit;
  border:1px solid #e0e0e0;
  border-radius:3px;
  padding:8px;
  background:#fafafa;
}
.related-strip img {
  width:54px;
  height:54px;
  object-fit:contain;
  background:#fff;
}
.related-strip span {
  font-size:12px;
  line-height:1.25;
}
.related-strip strong {
  color:#dc3545;
  font-size:13px;
}

/* Loading / error states */
.pdp-loading, .pdp-error { padding:40px 24px; text-align:center; color:#666; font-size:14px; }
.pdp-error a { color:#0066b2; text-decoration:none; }

/* === Cart drawer ==================================================== */
.cart-backdrop {
  position:fixed; inset:0; background:rgba(0,0,0,0.4); opacity:0; pointer-events:none;
  transition:opacity 0.18s; z-index:200;
}
.cart-backdrop.open { opacity:1; pointer-events:auto; }

.cart-drawer {
  position:fixed; top:0; right:0; height:100vh; width:380px; max-width:96vw;
  background:#fff; box-shadow:-3px 0 14px rgba(0,0,0,0.18);
  transform:translateX(100%); transition:transform 0.22s ease-out;
  z-index:201; display:flex; flex-direction:column;
}
.cart-drawer.open { transform:translateX(0); }

.cart-drawer-head {
  background:#003b6f; color:#fff; padding:14px 18px;
  display:flex; align-items:center; justify-content:space-between;
}
.cart-drawer-head strong { font-size:15px; }
.cart-close { background:transparent; border:0; color:#fff; font-size:26px; cursor:pointer; line-height:1; padding:0 4px; }
.cart-close:hover { color:#ffcc00; }

.cart-drawer-body { flex:1; overflow-y:auto; padding:12px 16px; }
.cart-empty { padding:40px 8px; text-align:center; color:#888; font-size:13px; }

.cart-line {
  display:grid; grid-template-columns: 56px 1fr auto;
  gap:10px; padding:10px 0; border-bottom:1px solid #eee;
  align-items:flex-start;
}
.cart-line-img { width:56px; height:56px; background:#f4f6f8; border-radius:2px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.cart-line-img img { width:100%; height:100%; object-fit:contain; }
.cart-line-body { min-width:0; }
.cart-line-name { font-size:12.5px; color:#111; font-weight:600; line-height:1.3; margin-bottom:2px; word-break:break-word; }
.cart-line-sku { font-family:'Courier New', monospace; font-size:10px; color:#888; margin-bottom:6px; }
.cart-line-note {
  color:#806000;
  font-size:10.5px;
  line-height:1.35;
  margin-bottom:6px;
}
.cart-line-controls { display:flex; align-items:center; gap:6px; font-size:11px; }
.qty-btn { width:22px; height:22px; border:1px solid #c0c4ca; background:#f6f7f9; border-radius:2px; cursor:pointer; font-size:14px; font-weight:700; color:#333; }
.qty-btn:hover { background:#e8eaed; }
.qty { font-weight:700; min-width:18px; text-align:center; }
.line-remove { background:transparent; border:0; color:#dc3545; cursor:pointer; font-size:11px; margin-left:6px; text-decoration:underline; padding:0; }
.line-remove:hover { color:#a02834; }
.cart-line-price { font-weight:800; color:#003b6f; font-size:13px; white-space:nowrap; }

.cart-drawer-foot { border-top:1px solid #ddd; padding:14px 18px; background:#fafafa; }
.cart-retail-warning {
  background:#fff8dc;
  border:1px solid #ead58a;
  color:#604800;
  font-size:11px;
  line-height:1.4;
  padding:9px 10px;
  margin-top:10px;
}
.cart-subtotal { display:flex; justify-content:space-between; align-items:baseline; font-size:14px; color:#333; }
.cart-subtotal strong { font-size:20px; color:#003b6f; }
.cart-foot-note { font-size:11px; color:#888; margin-top:8px; }

.show-all-row {
  text-align:center; padding:18px 24px 26px;
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.show-all-row[hidden] { display:none; }
.show-all-summary { font-size:13px; color:#666; }
.show-all-row .back-link.primary { display:inline-block; }

.cart-checkout-btn {
  display:block; text-align:center; text-decoration:none;
  background:#ffcc00; color:#003b6f; font-weight:800; font-size:14px;
  padding:11px 14px; border-radius:3px; margin-top:10px;
  letter-spacing:0.04em; text-transform:uppercase;
}
.cart-checkout-btn:hover { background:#ffd633; }
.cart-checkout-btn.disabled { background:#e4e6ea; color:#999; pointer-events:none; }

/* === Hero spotlight (rotator on home) =============================== */
.spotlight {
  position:relative;
  background:linear-gradient(135deg, #003b6f 0%, #0066b2 100%);
  color:#fff;
  overflow:hidden;
  min-height:280px;
}
.spotlight[hidden] { display:none; }
.spotlight-track { display:block; }
.spotlight-slide {
  display:grid;
  grid-template-columns: minmax(260px, 480px) 1fr;
  gap:30px;
  padding:32px 64px;
  max-width:1280px;
  margin:0 auto;
  align-items:center;
  text-decoration:none;
  color:inherit;
}
@media (max-width: 820px) {
  .spotlight-slide { grid-template-columns: 1fr; padding:22px 28px; gap:18px; text-align:center; }
}
.spotlight-img {
  background:#fff;
  border-radius:6px;
  aspect-ratio: 4 / 3;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.spotlight-img img { width:92%; height:92%; object-fit:contain; }
.spotlight-copy { padding:6px 0; }
.spotlight-badge {
  display:inline-block;
  background:#ffcc00; color:#003b6f;
  font-size:11px; font-weight:800; letter-spacing:0.08em;
  padding:5px 11px; border-radius:3px; margin-bottom:14px;
}
.spotlight-copy h2 {
  font-size:32px; line-height:1.15; margin-bottom:10px;
  font-weight:800; letter-spacing:-0.5px;
}
.spotlight-copy p { font-size:15px; line-height:1.5; opacity:0.92; margin-bottom:16px; max-width:560px; }
.spotlight-price-row { display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; margin-bottom:16px; }
.spotlight-was { font-size:14px; text-decoration:line-through; opacity:0.65; }
.spotlight-now { font-size:30px; font-weight:800; color:#ffcc00; }
.spotlight-save { background:#dc3545; color:#fff; font-size:11px; font-weight:800; letter-spacing:0.05em; padding:4px 9px; border-radius:3px; }
.spotlight-cta {
  display:inline-block;
  background:#ffcc00; color:#003b6f;
  padding:10px 18px; border-radius:3px;
  font-size:13px; font-weight:800; letter-spacing:0.05em;
  text-transform:uppercase;
}

.spotlight-nav {
  position:absolute; top:50%; transform:translateY(-50%);
  width:38px; height:38px; border-radius:50%; border:0;
  background:rgba(255,255,255,0.85); color:#003b6f;
  font-size:24px; font-weight:700; cursor:pointer; line-height:1;
  display:flex; align-items:center; justify-content:center;
  z-index:2;
}
.spotlight-nav:hover { background:#fff; }
.spotlight-nav.prev { left:14px; }
.spotlight-nav.next { right:14px; }
@media (max-width: 820px) { .spotlight-nav { width:30px; height:30px; font-size:18px; } }

.spotlight-dots {
  position:absolute; bottom:14px; left:0; right:0;
  display:flex; justify-content:center; gap:6px;
  z-index:2;
}
.spotlight-dot {
  width:9px; height:9px; border-radius:50%;
  border:0; background:rgba(255,255,255,0.4); cursor:pointer; padding:0;
  transition:background 0.15s, transform 0.15s;
}
.spotlight-dot.active { background:#ffcc00; transform:scale(1.2); }

/* Featured strip (4 cards before the main grid) */
.featured-strip { margin-bottom:6px; }
.featured-strip[hidden] { display:none; }
.featured-strip .featured-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-bottom:18px;
}
.featured-strip .section-title::before {
  content:""; display:inline-block; width:8px; height:14px;
  background:#ffcc00; margin-right:8px; vertical-align:-2px;
}

/* Store specials */
.specials-strip { margin:4px 0 22px; }
.specials-strip[hidden] { display:none; }
.hot-specials {
  background:#fff8dc;
  border:2px solid #ffcc00;
  border-radius:3px;
  padding:14px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}
.hot-specials .section-title {
  background:#ffcc00;
  color:#003b6f;
  margin:-14px -14px 12px;
  padding:10px 14px;
  border-bottom:1px solid #e0b400;
}
.specials-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:12px;
}
.special-card {
  display:grid;
  grid-template-columns: 112px 1fr;
  gap:12px;
  background:#fff;
  border:1px solid #d4b64f;
  border-radius:3px;
  padding:12px;
  text-decoration:none;
  color:inherit;
}
.special-card:hover { box-shadow:0 2px 10px rgba(0,0,0,0.18); transform:translateY(-1px); }
.special-img {
  background:#f0f0f0;
  border-radius:2px;
  aspect-ratio:1;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.special-img img { width:100%; height:100%; object-fit:contain; }
.special-badge {
  display:inline-block;
  background:#dc3545;
  color:#fff;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0.06em;
  margin-bottom:6px;
  padding:3px 7px;
  border-radius:2px;
}
.special-copy h3 {
  font-size:13px;
  line-height:1.25;
  margin-bottom:5px;
  color:#111;
}
.special-copy p {
  color:#666;
  font-size:11.5px;
  line-height:1.35;
  margin-bottom:8px;
}
.special-meta {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:baseline;
}
.special-meta span { color:#dc3545; font-weight:900; font-size:18px; }
.special-meta em { color:#28a745; font-style:normal; font-size:11px; font-weight:800; }
.special-meta small { color:#666; font-size:11px; }
.special-branches .branch-stock { margin-bottom:7px; max-width:260px; }
@media (max-width: 560px) {
  .special-card { grid-template-columns: 92px 1fr; }
}

/* === Checkout (and order confirmation) =============================== */
.checkout-progress { background:#fff; border-bottom:1px solid #e0e0e0; padding:14px 24px; }
.checkout-progress ol {
  display:flex; justify-content:center; gap:14px; list-style:none; padding:0;
  font-size:12.5px; color:#999; font-weight:700; letter-spacing:0.04em; text-transform:uppercase;
}
.checkout-progress li { padding:4px 0; position:relative; }
.checkout-progress li.active { color:#003b6f; }
.checkout-progress li + li::before {
  content:"\203A"; margin-right:12px; color:#aaa; font-weight:400;
}

.checkout-main { padding:20px 24px 40px; }

.checkout-empty, .confirm-empty {
  max-width:560px; margin:50px auto; background:#fff;
  border:1px solid #d0d0d0; border-radius:3px; padding:36px;
  text-align:center;
}
.checkout-empty h1, .confirm-empty h1 { color:#003b6f; margin-bottom:10px; font-size:22px; }
.checkout-empty p, .confirm-empty p { color:#555; font-size:14px; margin-bottom:14px; }
.back-link {
  color:#0066b2; text-decoration:none; font-weight:600; font-size:13px;
}
.back-link:hover { text-decoration:underline; }
.back-link.primary {
  display:inline-block; background:#003b6f; color:#fff;
  padding:10px 18px; border-radius:3px; font-weight:700; letter-spacing:0.04em;
  text-transform:uppercase; font-size:12px;
}
.back-link.primary:hover { background:#0066b2; text-decoration:none; }

.checkout-grid {
  display:grid; grid-template-columns: minmax(0,1fr) 360px;
  gap:18px; max-width:1180px; margin:0 auto;
}
@media (max-width: 880px) { .checkout-grid { grid-template-columns: 1fr; } }

.checkout-forms { display:flex; flex-direction:column; gap:18px; }
.checkout-card {
  background:#fff; border:1px solid #d0d0d0; border-radius:3px;
  padding:22px 26px;
}
.checkout-card h2 {
  font-size:14px; color:#003b6f; font-weight:800; text-transform:uppercase;
  letter-spacing:0.04em; margin-bottom:16px; padding-bottom:8px; border-bottom:1px solid #eee;
}
.field { display:block; margin-bottom:12px; }
.field > span {
  display:block; font-size:11.5px; color:#555; font-weight:600;
  margin-bottom:5px; letter-spacing:0.02em;
}
.field > span em { color:#999; font-style:normal; font-weight:400; }
.field input, .field select {
  width:100%; padding:9px 12px; border:1px solid #c0c8d2;
  border-radius:3px; font-size:14px; background:#fff; outline:none;
  font-family:inherit; color:#111;
}
.field input:focus, .field select:focus {
  border-color:#0066b2; box-shadow:0 0 0 3px rgba(0,102,178,0.15);
}
.field.error input, .field.error select {
  border-color:#dc3545; background:#fff7f8;
}
.field.error > span { color:#dc3545; }
.field-row { display:grid; gap:12px; }
.field-row.two { grid-template-columns: 1fr 1fr; }
.field-row.three { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 540px) {
  .field-row.two, .field-row.three { grid-template-columns: 1fr; }
}

.ship-opts { display:flex; flex-direction:column; gap:8px; }
.ship-opt {
  display:grid; grid-template-columns: auto 1fr auto; gap:12px;
  align-items:center;
  border:1px solid #d0d6dc; border-radius:3px; padding:12px 14px;
  cursor:pointer; transition:border-color 0.1s, background 0.1s;
}
.ship-opt:hover { border-color:#0066b2; }
.ship-opt.selected { border-color:#003b6f; background:#f6f9fc; }
.ship-opt input { accent-color:#003b6f; transform:scale(1.15); }
.ship-opt-label { font-size:13px; font-weight:700; color:#111; }
.ship-opt-eta   { font-size:11.5px; color:#666; margin-top:2px; }
.ship-opt-cost  { font-size:14px; font-weight:800; color:#003b6f; }

.card-brands { display:flex; align-items:center; gap:8px; margin-bottom:14px; font-size:11.5px; color:#666; }
.card-brands .cb {
  display:inline-block; padding:3px 8px; border:1px solid #c0c8d2;
  border-radius:3px; font-size:10px; font-weight:800; letter-spacing:0.04em;
  background:#fff; color:#222;
}
.card-brands .cb.visa { color:#1a1f71; border-color:#1a1f71; }
.card-brands .cb.mc   { color:#eb001b; border-color:#eb001b; }
.card-brands .cb.amex { color:#006fcf; border-color:#006fcf; }

.cc-note { font-size:11px; color:#888; margin-top:8px; line-height:1.5; }

.checkout-errors {
  background:#fff3f4; border:1px solid #dc3545; color:#a02834;
  padding:10px 14px; border-radius:3px; margin-bottom:14px; font-size:13px;
}

.checkout-summary {
  background:#fff; border:1px solid #d0d0d0; border-radius:3px;
  padding:22px 26px; height:max-content; position:sticky; top:14px;
}
.checkout-summary h2 {
  font-size:14px; color:#003b6f; font-weight:800; text-transform:uppercase;
  letter-spacing:0.04em; margin-bottom:14px; padding-bottom:8px; border-bottom:1px solid #eee;
}

.co-summary-lines { margin-bottom:14px; max-height:300px; overflow-y:auto; }
.co-summary-line {
  display:grid; grid-template-columns: 44px 1fr auto;
  gap:10px; padding:8px 0; align-items:center;
  border-bottom:1px solid #f3f3f3;
}
.co-summary-img { width:44px; height:44px; background:#f4f6f8; border-radius:2px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.co-summary-img img { width:100%; height:100%; object-fit:contain; }
.co-summary-name { font-size:12px; color:#111; font-weight:600; line-height:1.3; }
.co-summary-meta { font-family:'Courier New', monospace; font-size:10px; color:#888; margin-top:2px; }
.co-summary-price { font-weight:800; color:#003b6f; font-size:13px; }

.co-totals { padding-top:8px; border-top:1px solid #eee; }
.co-total-row {
  display:flex; justify-content:space-between; align-items:baseline;
  font-size:13px; color:#444; padding:4px 0;
}
.co-total-row strong { font-weight:700; color:#111; }
.co-total-row.gst    { color:#888; font-size:11.5px; }
.co-total-row.grand  { border-top:1px solid #eee; padding-top:10px; margin-top:6px; font-size:15px; }
.co-total-row.grand strong { color:#dc3545; font-size:22px; font-weight:800; }
.co-total-row.grand strong small { color:#777; font-size:11px; font-weight:500; margin-left:4px; }

.place-order {
  width:100%; margin-top:16px;
  background:#003b6f; color:#fff; border:0;
  padding:14px; border-radius:3px;
  font-size:14px; font-weight:800; letter-spacing:0.05em; text-transform:uppercase;
  cursor:pointer; transition:background 0.1s;
}
.place-order:hover { background:#0066b2; }

/* === Order confirmation ============================================= */
.confirm-hero {
  max-width:880px; margin:0 auto 24px; padding:32px 28px 24px;
  background:#fff; border:1px solid #d0d0d0; border-radius:3px; text-align:center;
}
.confirm-tick {
  width:64px; height:64px; line-height:64px; border-radius:50%;
  background:#28a745; color:#fff; font-size:34px; font-weight:700;
  margin:0 auto 14px;
}
.confirm-hero h1 { font-size:26px; color:#003b6f; margin-bottom:10px; font-weight:800; }
.confirm-lede { font-size:14px; color:#444; margin-bottom:14px; }
.confirm-lede strong { color:#003b6f; }
.confirm-order-no { font-size:12.5px; color:#666; }
.confirm-order-no strong { font-family:'Courier New', monospace; color:#111; font-size:13.5px; }

.confirm-grid {
  display:grid; grid-template-columns: 1fr 1fr; gap:18px;
  max-width:880px; margin:0 auto;
}
.confirm-grid .checkout-card { padding:22px 26px; }
.confirm-grid .checkout-card:first-child { grid-column: 1 / -1; }
.confirm-grid .confirm-next { grid-column: 1 / -1; }
@media (max-width: 680px) { .confirm-grid { grid-template-columns: 1fr; } }

.confirm-eta { font-size:13.5px; color:#28a745; font-weight:700; margin-bottom:10px; }
.confirm-grid address { font-style:normal; font-size:13.5px; color:#333; line-height:1.55; }
.confirm-contact { color:#666; font-size:12.5px; }
.confirm-payment { font-size:14px; color:#222; }
.confirm-payment strong { font-family:'Courier New', monospace; color:#003b6f; }
.confirm-payment-sub { font-size:12.5px; color:#666; margin-top:4px; }

.confirm-steps {
  padding-left:22px; margin-bottom:14px;
  font-size:13.5px; color:#333; line-height:1.65;
}
.confirm-steps li { margin-bottom:4px; }

.confirm-cta-row {
  display:flex; gap:12px; flex-wrap:wrap; align-items:center;
  border-top:1px solid #eee; padding-top:14px; margin-top:6px;
}

/* === About + Contact pages ========================================== */
.static-page { max-width:780px; margin:30px auto; background:#fff; border:1px solid #d0d0d0; border-radius:3px; padding:30px 36px; }
.static-page h1 { color:#003b6f; font-size:26px; margin-bottom:16px; }
.static-page h2 { color:#003b6f; font-size:16px; text-transform:uppercase; letter-spacing:0.04em; margin-top:24px; margin-bottom:10px; padding-bottom:6px; border-bottom:1px solid #eee; }
.static-page p { font-size:14px; line-height:1.65; color:#333; margin-bottom:12px; }
.static-page a { color:#0066b2; }
.static-page .contact-block { background:#f4f6f8; padding:16px 20px; border-radius:3px; margin-top:14px; }
.static-page .contact-block strong { color:#003b6f; }
.static-page .hours-list { list-style:none; padding:0; margin:8px 0 14px; }
.static-page .hours-list li { font-size:14px; color:#222; padding:4px 0; }
.static-page .hours-list li strong { color:#003b6f; min-width:200px; display:inline-block; }
