:root{--bg:#0a0a0a;--panel:#111111;--panel-2:#161616;--text:#e6e6e6;--muted:#a3a3a3;--line:rgba(255,255,255,0.08);--accent:#d4d4d4;--focus:#fafafa}
:root[data-theme="light"]{--bg:#ffffff;--panel:#f6f6f6;--panel-2:#ffffff;--text:#111111;--muted:#4b4b4b;--line:rgba(0,0,0,0.10);--accent:#1f1f1f;--focus:#111111}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:var(--bg);
  font-family:"Rajdhani", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height:1.5;
  font-weight:500;
}
.topbar{position:sticky;top:0;z-index:50;background:var(--panel);border-bottom:1px solid var(--line)}
.container{max-width:1200px;margin:0 auto;padding:0 16px}
.header{display:grid;grid-template-columns:240px 1fr 240px;align-items:center;gap:16px;padding:12px 0}

/* new header stuff */
/* --- Top info bar -------------------------------------------------------- */
.eyebar{
  background:#111827;
  color:#e5e7eb;
  font-size:12px;
}
.eyebar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:2px 0;
  gap:12px;
}
.eyebar a{
  color:#f9fafb;
  text-decoration:none;
}
.eyebar a:hover{
  text-decoration:underline;
}
.eyebar-sep{
  opacity:0.6;
  margin:0 4px;
}
.eyebar-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:3px 9px;
  border-radius:4px;
  border:1px solid rgba(249,250,251,0.7);
  background:transparent;
  color:#f9fafb;
  font-size:12px;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:0.08em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.eyebar-btn:hover{
  background:#f9fafb;
  color:#111827;
  border-color:#f9fafb;
}

/* --- Main header layout -------------------------------------------------- */
.header-wide{
  display:grid;
  align-items:center;
  grid-template-columns: minmax(200px, auto) 1fr 2fr auto;
  gap:16px;
  padding:7px 0;
}

/* Logo + brand block */
.brand-stack{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
}
.brand-stack img{
  height:70px;
  width:auto;
  object-fit:contain;
}

/* Phone in its own column, centered */
.header-phone{
  text-align:center;
  font-size:20px;
  font-weight:700;
  letter-spacing:0.05em;
  color:var(--text);
}

/* Center text block next to logo (for pages that still use brand-text) */
.brand-text{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  line-height:1.1;
}

/* Phone styling if used inside brand-text elsewhere */
.brand-phone{
  font-size:16px;
  font-weight:700;
  letter-spacing:0.04em;
}
.brand-name{
  font-size:15px;
  letter-spacing:0.14em;
  font-weight:700;
}
.brand-tagline{
  font-size:11px;
  text-transform:uppercase;
  color:#9ca3af;
}

/* Big header search */
.header-search{
  position:relative;
  display:flex;
  align-items:center;
}
.header-search input[type="search"]{
  width:100%;
  padding:10px 40px 10px 12px;
  border-radius:6px;
  border:2px solid rgba(148,163,184,0.75);
  background:var(--panel-2);
  color:var(--text);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.04), 0 1px 0 rgba(255,255,255,0.05);
  font-size:14px;
}
.header-search input[type="search"]::placeholder{
  color:#6b7280;
  font-weight:500;
}
.header-search input[type="search"]:focus{
  outline:none;
  border-color:#f97316;
  box-shadow:0 0 0 2px rgba(249,115,22,0.24);
}
.header-search-btn{
  position:absolute;
  right:4px;
  border:none;
  border-radius:4px;
  padding:6px 8px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.header-search-btn:hover{
  color:var(--accent);
}

/* Header actions / cart pill */
.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
.cart-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 12px;
  border-radius:999px;
  border:2px solid rgba(148,163,184,0.85);
  background:linear-gradient(180deg,#111827,#020617);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.06), 0 1px 4px rgba(0,0,0,0.28);
  text-decoration:none;
  color:#e5e7eb;
  font-size:13px;
  font-weight:600;
}
.cart-pill:hover{
  border-color:#f97316;
  background:linear-gradient(180deg,#1f2937,#030712);
}
.cart-pill .cart-icon{
  font-size:16px;
}
.cart-pill .cart-label{
  text-transform:uppercase;
  letter-spacing:0.09em;
  font-size:11px;
}
.cart-pill .badge{
  min-width:18px;
  height:18px;
  border-radius:999px;
  background:#f97316;
  color:#020617;
  font-size:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Responsive tweaks for header */
@media (max-width:900px){
  .eyebar-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .header-wide{
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto auto auto;
    gap:10px;
  }
  .header-actions{
    justify-content:flex-start;
  }
}
@media (max-width:640px){
  .brand-stack img{
    height:40px;
  }
  .brand-name{
    font-size:13px;
  }
  .brand-tagline{
    font-size:10px;
  }
}
/* new header stuff */

.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}
.brand img{max-height:100px;width:auto;height:auto;object-fit:contain}
.center-only-phone{text-align:center;font-weight:700}
.center-only-phone a{color:var(--text);text-decoration:none}
.actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}
.cart-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:var(--panel-2);color:var(--text);text-decoration:none}
.badge{background:var(--accent);color:var(--bg);padding:2px 8px;border-radius:4px;font-weight:800}
.banner-img{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel)}
.banner-img .wrap{max-width:1400px;margin:0 auto}
.banner-img img{display:block;width:100%;height:auto}



.home-hero{
  /* Full-width homepage banner with a locked proportional shape.
     The banner still spans the page, but its height is calculated from the
     banner ratio instead of changing with fixed breakpoints.
     Current ratio matches 3904 x 738 artwork. */
  --home-hero-ratio: 3904 / 738;
  position:relative;
  width:100%;
  aspect-ratio:var(--home-hero-ratio);
  min-height:0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#050505;
  overflow:hidden;
}
.home-hero-media{
  position:absolute;
  inset:0;
}
.home-hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity 0.7s ease, visibility 0.7s ease;
}
.home-hero-slide.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.home-hero-slide img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.home-hero-dots{
  position:absolute;
  left:50%;
  bottom:10px;
  z-index:3;
  display:flex;
  gap:10px;
  transform:translateX(-50%);
}
.home-hero-dot{
  width:12px;
  height:12px;
  border:1px solid rgba(255,255,255,0.7);
  border-radius:999px;
  background:rgba(255,255,255,0.25);
  cursor:pointer;
  padding:0;
}
.home-hero-dot.is-active{
  background:#ffffff;
}
.home-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  min-height:0;
  pointer-events:none;
  background:linear-gradient(90deg, rgba(0,0,0,0.76) 0%, rgba(0,0,0,0.56) 38%, rgba(0,0,0,0.18) 100%);
}
.home-hero-content{
  min-height:0;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:12px;
  padding-top:20px;
  padding-bottom:20px;
}
.home-hero-eyebrow{
  display:inline-block;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,0.28);
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  color:#f5f5f5;
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
}
.home-hero h1{
  margin:0;
  max-width:700px;
  font-size:clamp(28px, 5vw, 68px);
  line-height:0.95;
  text-transform:uppercase;
}
.home-hero p{
  margin:0;
  max-width:620px;
  font-size:clamp(14px, 1.6vw, 22px);
  color:#e5e7eb;
}
.home-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}
@media (max-width: 900px){
  .home-hero-overlay{
    background:linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 100%);
  }
}
@media (max-width: 640px){
  .home-hero-content{
    gap:10px;
    padding-top:14px;
    padding-bottom:14px;
  }
  .home-hero-dots{
    bottom:8px;
  }
  .home-hero-dot{
    width:9px;
    height:9px;
  }
  .home-hero h1{
    line-height:1;
  }
}
.catbar{background:var(--panel-2);border-bottom:1px solid var(--line)}
.catbar .nav{display:flex;gap:10px;justify-content:center;padding:7px 0;flex-wrap:wrap}
.catbar a{
  color:var(--text);
  text-decoration:none;
  padding:6px 11px;
  border:2px solid rgba(148,163,184,0.65);
  border-radius:6px;
  background:rgba(255,255,255,0.035);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.04);
  font-weight:700;
}
.cat-dropdown{position:relative;display:flex;align-items:center}
.cat-dropdown-toggle::after{content:" ▾";font-size:11px}
.cat-dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  min-width:210px;
  display:none;
  flex-direction:column;
  gap:6px;
  padding:18px 10px 10px;
  border:2px solid rgba(148,163,184,0.55);
  border-radius:10px;
  background:var(--panel);
  box-shadow:0 14px 30px rgba(0,0,0,0.28);
  z-index:25;
}
.cat-dropdown-menu::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:12px;
  transform:translateY(-100%);
}
.cat-dropdown:hover .cat-dropdown-menu,
.cat-dropdown:focus-within .cat-dropdown-menu{display:flex}
.cat-dropdown-menu a{white-space:nowrap;background:var(--panel-2)}
.category-intro{margin:0 0 18px 0}
.category-subnav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--panel-2);
}
.category-subnav-label{font-weight:700}
.category-subnav a{
  display:inline-flex;
  align-items:center;
  padding:7px 11px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--text);
  text-decoration:none;
}
.card-category{margin-bottom:8px;font-size:12px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:var(--muted)}
.card-category a{color:inherit;text-decoration:none}

/* Simple homepage about section */
.home-about{
  padding:34px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--bg);
}
.home-about-box{
  max-width:1060px;
  margin:0 auto;
  padding:30px 34px;
  border:1px solid rgba(0,0,0,0.16);
  border-radius:10px;
  background:var(--panel-2);
  box-shadow:0 10px 26px rgba(0,0,0,0.08);
}
.home-about-box::before,
.home-about-box::after{
  content:none;
}
.home-about-eyebrow{
  display:inline-flex;
  margin-bottom:10px;
  padding:4px 9px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  background:var(--panel);
  font-size:12px;
  font-weight:800;
  letter-spacing:0.12em;
  text-transform:uppercase;
}
.home-about h1{
  margin:0 0 14px;
  color:var(--text);
  font-size:clamp(30px, 3.4vw, 44px);
  line-height:1.05;
  text-transform:uppercase;
}
.home-about h1::after{
  content:"";
  display:block;
  width:86px;
  height:2px;
  margin-top:10px;
  background:rgba(249,115,22,0.85);
}
.home-about p{
  max-width:960px;
  margin:0 0 12px;
  color:var(--muted);
  font-size:17px;
  line-height:1.65;
}
.home-about p:last-child{
  margin-bottom:0;
}
:root[data-theme="light"] .home-about-box{
  border-color:rgba(0,0,0,0.14);
  background:#ffffff;
  box-shadow:0 10px 26px rgba(0,0,0,0.07);
}
:root:not([data-theme="light"]) .home-about-box{
  border-color:rgba(255,255,255,0.12);
  box-shadow:0 10px 28px rgba(0,0,0,0.28);
}
@media (max-width: 820px){
  .home-about{
    padding:24px 0;
  }
  .home-about-box{
    padding:24px 22px;
  }
}


.section{padding:28px 0}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{background:var(--panel-2);border:1px solid var(--line);border-radius:8px}
.card img{width:100%;height:220px;object-fit:contain;display:block;background:var(--panel-2,#0f0f0f);border-radius:6px;border:1px solid var(--line,#222)}
.card .body{padding:12px}
.card h3{margin:0 0 6px 0;font-size:16px}
.card .muted{color:var(--muted);font-size:13px}
.card .price{margin-top:6px;font-weight:800}

.card.discontinued-card{
  border-color:#7f1d1d;
  box-shadow:0 0 0 1px rgba(127,29,29,.35), 0 0 18px rgba(127,29,29,.18);
  background:linear-gradient(180deg, rgba(127,29,29,.14), rgba(127,29,29,.06) 22%, var(--panel-2) 70%);
}
.card.discontinued-card img{
  border-color:rgba(127,29,29,.55);
}
.card-flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 0 10px 0;
  padding:6px 10px;
  border-radius:999px;
  background:#b00020;
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.btnrow{display:flex;gap:8px;margin-top:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;border-radius:6px;border:1px solid var(--line);background:transparent;color:var(--text);text-decoration:none}
.btn.primary{background:var(--accent);color:var(--bg);border-color:var(--accent);font-weight:800}
.slogan{padding:32px 0;text-align:center;border-top:1px solid var(--line);background:var(--panel)}
footer{border-top:1px solid var(--line);background:var(--panel)}
.site-footer{padding:34px 0 18px;background:#151719;border-top:1px solid rgba(255,255,255,0.10)}
.site-footer .container{max-width:1280px}
.footer-grid{display:grid;grid-template-columns:minmax(560px,1.75fr) minmax(180px,.75fr) minmax(180px,.75fr);gap:28px;align-items:start}
.footer-brand-block{display:grid;grid-template-columns:220px minmax(300px,1fr);gap:22px;align-items:center}
.footer-logo{display:flex;align-items:center;text-decoration:none}
.footer-logo img{width:220px;max-height:98px;object-fit:contain}
.footer-contact{border-left:1px solid rgba(255,255,255,0.22);padding-left:22px;color:#f1f5f9;font-size:15px;line-height:1.35}
.footer-contact div{white-space:nowrap}
.footer-contact a{color:#f8fafc;text-decoration:none}
.footer-contact a:hover{text-decoration:underline}
.footer-nav h2{margin:0 0 10px;color:#f97316;font-size:18px;line-height:1;text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid rgba(255,255,255,0.12);padding-bottom:10px}
.footer-nav ul{list-style:none;margin:0;padding:0}
.footer-nav li{margin:6px 0}
.footer-nav a{position:relative;color:#f8fafc;text-decoration:none;font-size:15px;line-height:1.25}
.footer-nav a::before{content:'›';margin-right:6px;color:#f97316;font-weight:800}
.footer-nav a:hover{color:#f97316;text-decoration:none}
.footer-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin-top:28px;padding-top:16px;border-top:1px solid rgba(255,255,255,0.10);color:#a3a3a3;font-size:14px}
.footer-copyright-seal{grid-column:2;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:0}
.footer-seal{display:flex;justify-content:center;align-items:center;width:100%;margin-top:10px}
.footer-seal img{display:block;width:auto;max-width:160px;max-height:64px;object-fit:contain}
.footer-bottom .theme-btn{grid-column:3;justify-self:end}
footer a{color:var(--text);text-decoration:none}
footer a:hover{text-decoration:underline}
.footer-right{margin-left:auto;display:flex;align-items:center;gap:10px}
.theme-btn{border:1px solid var(--line);background:var(--panel-2);color:var(--text);padding:8px 10px;border-radius:6px;cursor:pointer}
.theme-menu{position:fixed;right:16px;bottom:64px;background:var(--panel-2);border:1px solid var(--line);border-radius:8px;padding:8px;display:none;min-width:220px;z-index:100}
.theme-menu[open]{display:block}
.theme-menu button{width:100%;text-align:left;padding:8px 10px;background:transparent;color:var(--text);border:1px solid var(--line);border-radius:6px;margin:4px 0;cursor:pointer}
.breadcrumbs{font-size:14px;color:var(--muted);margin:14px 0}

/* Product page layout */
.pdp{
  display:grid;
  grid-template-columns:minmax(320px,560px) minmax(320px,1fr);
  gap:24px;
  align-items:start;
}
.pdp-media{
  position:sticky;
  top:110px;
  align-self:start;
}
.pdp .gallery{
  position:relative;
  aspect-ratio:1 / 1;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  cursor:zoom-in;
}
.pdp .gallery img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  border:none;
}
.pdp .gallery img[src*="placeholder_1.svg"],
.card img[src*="placeholder_1.svg"],
.search-suggest img[src*="placeholder_1.svg"]{
  background:#fff;
}
.pdp .gallery.has-placeholder{
  background:#fff;
  cursor:default;
}
.pdp .gallery.has-placeholder .gallery-arrow{
  display:none !important;
}
.pdp .gallery.has-placeholder + .thumb-strip{
  display:none;
}

.gallery-arrow,
.lightbox-arrow,
.lightbox-close{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid var(--line);
  background:rgba(10,10,10,0.84);
  color:#fff;
  cursor:pointer;
}
.gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  line-height:1;
  z-index:2;
}
.gallery-arrow:hover,
.lightbox-arrow:hover,
.lightbox-close:hover{
  background:rgba(10,10,10,0.95);
}
.gallery-arrow-prev{left:12px}
.gallery-arrow-next{right:12px}
.pdp .thumb-strip{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.pdp .thumb{
  width:72px;
  height:72px;
  padding:0;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--panel-2);
  cursor:pointer;
  overflow:hidden;
}
.pdp .thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#0f0f0f;
}
.pdp .thumb.is-active{
  border-color:var(--accent);
  box-shadow:0 0 0 1px var(--accent) inset;
}
.pdp .meta h1{margin:0 0 6px 0;font-size:28px}
.price-lg{font-size:22px;font-weight:800;margin:8px 0 12px 0}
.kv{list-style:none;padding:0;margin:0 0 12px 0}
.kv li{display:flex;justify-content:space-between;border-bottom:1px dashed var(--line);padding:6px 0;color:var(--muted)}
.block{border:1px solid var(--line);border-radius:8px;padding:12px;background:var(--panel-2);margin:14px 0}
.details{margin-top:12px}
.details h3{margin:0 0 6px 0;font-size:16px}
.details ul{margin:6px 0 0 20px}
.page{max-width:1200px;margin:0 auto;padding:26px 16px}
.page h1{margin:0 0 12px 0}
.page .lead{color:var(--muted)}
@media (max-width:900px){.header{grid-template-columns:200px 1fr 200px}.grid{grid-template-columns:1fr 1fr}.pdp{grid-template-columns:1fr}.pdp-media{position:static;top:auto}}
@media (max-width:640px){.header{grid-template-columns:1fr auto}.grid{grid-template-columns:1fr}.gallery-arrow{width:38px;height:38px;font-size:24px}.pdp .thumb{width:64px;height:64px}}
/* --- Center content inside product cards (overrides) --- */
.card img { margin: 0 auto; }
.card .body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card h3,
.card .muted,
.card .price { text-align: center; }
.btnrow { justify-content: center; }
.btnrow .btn { min-width: 128px; }

/* Tactical styling for headings / nav / buttons */
h1, h2, h3, h4{
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.06em;
}
.catbar a,
.header-phone,
.cart-pill,
.btn,
.eyebar-btn,
.brand-name,
.brand-tagline{
  text-transform:uppercase;
  letter-spacing:0.06em;
}

/* Slightly less shouty for product card titles */
.card h3{
  text-transform:uppercase;
  letter-spacing:0.05em;
  font-weight:700;
  font-size:17px;
}

/* Pagination and search options*/
/* --- Search bar + options --- */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.search-bar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin:16px 0 12px 0;
}

.search-bar input[type="search"]{
  flex:1 1 200px;
  padding:8px 10px;
  border-radius:6px;
  border:1px solid var(--line);
  background:var(--panel-2);
  color:var(--text);
}

.search-field-select{
  padding:8px 10px;
  border-radius:6px;
  border:1px solid var(--line);
  background:var(--panel-2);
  color:var(--text);
}

/* Mini header search (if/when you use it) */
.search-mini{
  display:flex;
  align-items:center;
  gap:6px;
}

.search-mini input[type="search"]{
  min-width:160px;
  padding:6px 8px;
  border-radius:6px;
  border:1px solid var(--line);
  background:var(--panel-2);
  color:var(--text);
}

/* More search stuff */
/* --- Live search suggestions (header) --- */
.search-suggest{
  position:absolute;
  z-index:50;
  background:var(--panel-2);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:0 8px 24px rgba(0,0,0,0.35);
  max-height:320px;
  overflow-y:auto;
  min-width:220px;
  padding:0;
}

.search-suggest ul{
  list-style:none;
  margin:0;
  padding:4px 0;
}

.search-suggest li a{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  text-decoration:none;
  color:var(--text);
}

.search-suggest li a:hover{
  background:var(--panel-3);
}

.search-suggest img{
  width:40px;
  height:40px;
  object-fit:cover;
  border-radius:4px;
}

.search-suggest .title{
  font-size:13px;
}

.search-suggest .sku{
  font-size:11px;
  color:var(--muted);
}

.search-suggest .price{
  margin-left:auto;
  font-size:12px;
}

/* --- Pagination --- */
.pager{
  margin:20px 0 10px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:14px;
}

.pager .page-info{
  margin-right:12px;
  color:var(--muted);
}

.pager a,
.pager span.current{
  min-width:32px;
  padding:4px 8px;
  border-radius:6px;
  border:1px solid var(--line);
  text-align:center;
  text-decoration:none;
  color:var(--text);
  background:var(--panel-2);
}

.pager span.current{
  background:var(--accent);
  color:var(--bg);
  font-weight:700;
  border-color:var(--accent);
}
.pager .ellipsis{
  padding:4px 6px;
  color:var(--muted);
}

/* Buttons feel clickable */
.btn { cursor: pointer; transition: filter .12s ease; }
.btn:hover { filter: brightness(1.06); }
.btn.primary:hover { filter: brightness(0.96); }

/* Cart page layout cards */
.cart-card{
  display:grid;
  grid-template-columns: 96px 1fr;
  gap:12px;
  padding:12px;
  margin:8px 0;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--panel-2);
}
.cart-thumb{
  width:96px;height:96px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:6px;background:#0f0f0f;overflow:hidden;
}
.cart-thumb img{max-width:100%;max-height:100%;object-fit:contain}
.cart-name{font-weight:800}
.cart-meta{color:var(--muted);font-size:13px;margin-top:2px}
.cart-total{font-weight:800;text-align:right}
.cart-row{display:flex;justify-content:space-between;align-items:center}
.cart-qty{display:flex;gap:8px;align-items:center;margin-top:8px}

/* Cart summary blocks */
.cart-block{border:1px solid var(--line);border-radius:8px;background:var(--panel-2);padding:12px;margin:10px 0}
.cart-actions{display:flex;gap:8px}
.cart-note{color:var(--muted);font-size:13px}

/*Search stuff */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.search-bar{
  display:flex;
  gap:8px;
  align-items:center;
  margin:16px 0 12px 0;
}

.search-bar input[type="search"],
.search-mini input[type="search"]{
  flex:1;
  min-width:160px;
  padding:8px 10px;
  border-radius:6px;
  border:1px solid var(--line);
  background:var(--panel-2);
  color:var(--text);
}

.search-mini{
  display:flex;
  align-items:center;
  gap:6px;
}

/* Product description: preserve line breaks */
.desc{ white-space: pre-line; }

/* Discontinued notice: red banner */
.notice-discontinued{
  background:#b00020;
  border-color:#b00020;
  color:#fff;
}
.notice-discontinued h3{
  color:#fff;
}
.notice-discontinued a{
  color:#fff;
  text-decoration:underline;
}

/* Disabled Add to Cart button/link */
.btn.is-disabled,
.btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.btn.is-disabled{
  pointer-events:auto;
}

/* Product lightbox */
.lightbox{
  position:fixed;
  inset:0;
  display:none;
  z-index:200;
}
.lightbox[open]{
  display:block;
}
.lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.82);
}
.lightbox-dialog{
  position:relative;
  z-index:1;
  width:min(92vw, 1200px);
  height:min(88vh, 900px);
  margin:4vh auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lightbox-image-wrap{
  position:relative;
  width:100%;
  height:100%;
  border:1px solid rgba(255,255,255,0.14);
  border-radius:12px;
  background:rgba(15,15,15,0.96);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,0.45);
}
.lightbox-image{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}
.lightbox-close{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  line-height:1;
  z-index:2;
}
.lightbox-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  line-height:1;
  z-index:2;
}
.lightbox-arrow-prev{left:16px}
.lightbox-arrow-next{right:16px}
@media (max-width:640px){
  .lightbox-dialog{
    width:96vw;
    height:84vh;
    margin:6vh auto;
  }
  .lightbox-arrow,
  .lightbox-close{
    width:40px;
    height:40px;
    font-size:24px;
  }
  .lightbox-arrow-prev{left:10px}
  .lightbox-arrow-next{right:10px}
  .lightbox-close{top:10px;right:10px}
}

/* Account buttons share the pill style in the PHP header */
.header-actions .cart-pill{white-space:nowrap}

.eyebar-inner,
.header-wide{
  padding-left:2px;
  padding-right:2px;
}



:root[data-theme="light"] .header-search input[type="search"],
:root[data-theme="light"] .catbar a{
  border-color:rgba(15,23,42,0.38);
  background:#ffffff;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.08);
}
:root[data-theme="light"] .cart-pill{
  border-color:rgba(15,23,42,0.5);
}

/* --- Header mobile menu + overflow cleanup -------------------------------- */
html, body{
  max-width:100%;
  overflow-x:hidden;
}

img{max-width:100%;}

.eyebar-left,
.eyebar-right,
.header-search,
.header-actions,
.header-account-menu,
.header-cart,
.header-menu-toggle{
  min-width:0;
}

.header-menu-toggle{
  display:none;
}

.header-account-menu{
  display:flex;
  align-items:center;
  gap:10px;
}

.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.header-cart{
  flex:0 0 auto;
}

@media (max-width:900px){
  .container{
    padding-left:18px;
    padding-right:18px;
  }
  .eyebar-inner{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:6px 0;
  }
  .eyebar-left{
    flex:1 1 auto;
    min-width:0;
  }
  .eyebar-left span{
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .eyebar-right{
    flex:0 0 auto;
  }

  .header-wide{
    grid-template-columns:minmax(140px, 1fr) auto;
    align-items:center;
    gap:12px 14px;
    padding:12px 0;
  }
  .brand-stack{
    grid-column:1;
    justify-content:flex-start;
    min-width:0;
  }
  .brand-stack img{
    height:52px;
  }
  .header-phone{
    grid-column:2;
    text-align:right;
    font-size:18px;
    white-space:nowrap;
  }
  .header-search{
    grid-column:1 / -1;
    width:100%;
  }
  .header-actions{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:10px;
    width:100%;
  }
  .header-menu-toggle{
    display:inline-flex;
    justify-content:center;
    gap:8px;
    width:100%;
  }
  .header-account-menu{
    display:none;
    grid-column:1 / -1;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    width:100%;
    padding:10px;
    border:1px solid var(--line);
    border-radius:12px;
    background:var(--panel-2);
  }
  .header-account-menu.open{
    display:flex;
  }
  .header-account-menu:not(.open) + .header-cart{
    align-self:start;
  }
  .header-account-menu .cart-pill{
    width:100%;
    justify-content:center;
  }
  .header-cart{
    justify-self:end;
  }
  .catbar{
    display:none;
  }
  .catbar.mobile-open{
    display:block;
  }
  .catbar .nav{
    justify-content:center;
    flex-wrap:wrap;
    overflow:visible;
    padding-bottom:10px;
  }
  .catbar .nav a{
    flex:0 1 auto;
    white-space:normal;
    text-align:center;
  }
  .cat-dropdown{
    width:100%;
    justify-content:center;
    flex-direction:column;
    align-items:stretch;
  }
  .cat-dropdown-toggle{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    text-align:left;
  }
  .cat-dropdown-toggle::after{
    content:" +";
    font-size:16px;
    line-height:1;
  }
  .cat-dropdown.open .cat-dropdown-toggle::after{
    content:" −";
  }
  .cat-dropdown-menu,
  .cat-dropdown:hover .cat-dropdown-menu,
  .cat-dropdown:focus-within .cat-dropdown-menu{
    position:static;
    display:none;
    min-width:0;
    width:100%;
    box-shadow:none;
    padding:8px;
    margin-top:8px;
    border-width:1px;
  }
  .cat-dropdown.open .cat-dropdown-menu{
    display:flex;
  }
}

@media (max-width:640px){
  .container{
    padding:0 20px;
  }
  .eyebar{
    font-size:11px;
  }
  .eyebar-btn{
    padding:4px 8px;
    font-size:11px;
  }
  .header-wide{
    grid-template-columns:minmax(120px, 1fr) auto;
    gap:10px 12px;
  }
  .brand-stack img{
    height:44px;
  }
  .header-phone{
    font-size:15px;
    letter-spacing:0.04em;
  }
  .header-search input[type="search"]{
    padding:9px 36px 9px 10px;
    font-size:13px;
  }
  .cart-pill{
    padding:7px 10px;
    font-size:12px;
  }
  .cart-pill .cart-label,
  .header-menu-toggle .menu-label{
    font-size:10px;
  }
  .catbar .nav{
    gap:8px;
    padding-left:2px;
    padding-right:2px;
  }
  .catbar .nav a{
    padding:7px 10px;
    font-size:12px;
  }
  .category-subnav{padding:10px 12px}
  .category-subnav-label{width:100%}
}

@media (min-width:901px){
  .header-account-menu{
    display:flex !important;
  }
}

/* --- Footer responsive layout -------------------------------------------- */
@media (max-width:900px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:26px}
  .footer-brand-block{grid-column:1 / -1;grid-template-columns:220px 1fr}
  .footer-logo img{width:220px}
}

@media (max-width:640px){
  .site-footer{padding:28px 0 16px}
  .footer-grid{grid-template-columns:1fr;gap:22px}
  .footer-brand-block{grid-template-columns:1fr;gap:14px}
  .footer-logo{justify-content:center}
  .footer-logo img{width:230px}
  .footer-contact{border-left:0;border-top:1px solid rgba(255,255,255,0.16);padding-left:0;padding-top:14px;text-align:center}
  .footer-contact div{white-space:normal}
  .footer-nav h2{text-align:left}
  .footer-bottom{grid-template-columns:1fr;text-align:center}
  .footer-copyright-seal{grid-column:1;min-width:0}
  .footer-bottom .theme-btn{grid-column:1;justify-self:center}
}
