/* HalMeg Services - Power Equipment Sales
   Dark theme: True OLED Black + cool steel + brand red */
:root {
  --ink: #e6eaf2;
  --ink-soft: #8a93a3;
  --navy: #16213e;
  --navy-deep: #0a0f1d;
  --red: #ff5874;
  --accent: #ff5874;
  --accent-hover: #ff7589;
  --silver: #b8c0cc;
  --silver-light: #d8dee6;
  --silver-dark: #6c7484;
  --line: #1a1d22;
  --bg: #000000;
  --bg-soft: #0a0c10;
  --bg-card: #0f1217;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Top Bar */
.top-bar { background: #1e3a6b; color: #fff; padding: 12px 24px; font-size: 13px; text-align: center; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid #1a1d22; }
.top-bar .tb-fb { position: absolute; left: 24px; display: flex; align-items: center; gap: 14px; font-weight: 600; white-space: nowrap; }
.top-bar .tb-right { position: absolute; right: 24px; display: flex; align-items: center; gap: 14px; }
.top-bar a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); }

/* Search box in top bar */
.hm-search { position: relative; }
.hm-search-input { padding: 4px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.12); color: #fff; font-size: 13px; width: 190px; outline: none; }
.hm-search-input::placeholder { color: rgba(255,255,255,0.7); }
.hm-search-input:focus { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.18); }
.hm-search-results { position: absolute; top: calc(100% + 8px); right: 0; width: 330px; max-width: calc(100vw - 40px); background: #0f1217; border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,0.6); overflow: hidden; z-index: 1200; display: none; text-align: left; border: 1px solid #1f242c; }
.hm-search-results.open { display: block; }
.hm-search-results a { display: flex; flex-direction: column; padding: 10px 14px; border-bottom: 1px solid #1a1d22; color: #e6eaf2; text-decoration: none; }
.hm-search-results a:hover { background: #1a1d22; }
.hm-search-results .r-title { font-size: 14px; font-weight: 600; }
.hm-search-results .r-price { font-size: 12px; color: #e94560; margin-top: 2px; }
.hm-search-results .r-empty { padding: 12px 14px; color: #6c7480; font-size: 13px; }

@media (max-width: 720px) {
  .hm-search-input { width: 110px; }
  .hm-search-results { width: 260px; max-width: calc(100vw - 24px); }
  .top-bar .tb-right { right: 12px; }}


/* Header */
.header { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; padding: 0 32px; height: 140px; max-width: 1200px; margin: 0 auto; gap: 12px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; height: 100%; }
.logo img.logo-img { height: 95%; width: auto; display: block; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; align-items: center; flex-shrink: 1; }
.nav > a {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box;
  width: 88px; min-height: 42px;
  padding: 6px 6px;
  white-space: normal; overflow-wrap: break-word;
  background: linear-gradient(180deg, #c8cfd9 0%, #a8b0bc 50%, #909aa6 100%);
  border: 1px solid #6c7484;
  border-radius: 6px;
  color: #0a0c10;
  text-decoration: none;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0;
  text-align: center; line-height: 1.15;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 1px 2px rgba(0,0,0,0.5);
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.nav > a:hover { background: linear-gradient(180deg, #909aa6 0%, #6c7484 100%); border-color: #4a5260; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 4px rgba(0,0,0,0.6); }

/* Hero */
.hero { background: linear-gradient(to right, #050a18 0%, #0e1a35 35%, #1c335e 70%, #2c4a82 100%); color: #fff; padding: 90px 24px; text-align: center; position: relative; overflow: hidden; }
.hero h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 18px; line-height: 1.15; }
.hero p { font-size: 18px; opacity: 0.85; max-width: 620px; margin: 0 auto 36px; font-weight: 400; }
.hero-btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; padding: 15px 40px; border-radius: 6px; font-weight: 700; font-size: 15px; letter-spacing: 0.2px; transition: background 0.2s; }
.hero-btn:hover { background: var(--accent-hover); }

/* Sections */
.section { max-width: 1200px; margin: 72px auto; padding: 0 32px; }
.section-title { font-size: 30px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 10px; color: #fff; }
.section-sub { font-size: 16px; color: var(--ink-soft); margin-bottom: 36px; max-width: 640px; }

/* Category Grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.cat-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.5); border-color: #3a4150; }
.cat-card-img { height: 210px; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-body { padding: 20px; }
.cat-card-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.cat-card-body p { font-size: 14px; color: var(--ink-soft); }
.cat-card-body .count { font-size: 13px; color: #9aa1ad; margin-top: 10px; }

/* Product Cards */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 26px; }
.prod-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow 0.18s, transform 0.18s; }
.prod-card:hover { box-shadow: 0 10px 26px rgba(22,33,62,0.10); transform: translateY(-3px); }
.prod-card-img { height: 230px; background: #000; display: flex; align-items: center; justify-content: center; color: #aab1bd; font-size: 14px; overflow: hidden; }
.prod-card-img img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.prod-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-card-body .model { font-size: 12px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1.1px; margin-bottom: 2px; }
.prod-card-body h3 { font-size: 18px; font-weight: 700; margin: 2px 0 10px; line-height: 1.3; }
.prod-card-body .specs { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 12px; flex: 1; }
.prod-card-body .specs span { display: block; padding: 2px 0; }
.prod-card-body .price { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.2px; }
.prod-card-body .price .price-reg { text-decoration: line-through; color: #9aa0a8; font-weight: 600; font-size: 16px; margin-right: 8px; }
.prod-card-body .price .price-sale { color: var(--red); }
.prod-card-body .notax { font-size: 12px; color: var(--ink-soft); }
.prod-btn { display: inline-block; margin-top: 14px; background: linear-gradient(180deg, #ff7589 0%, #ff5874 100%); color: #fff; padding: 11px 22px; border-radius: 6px; text-decoration: none; font-size: 13.5px; font-weight: 700; text-align: center; transition: background 0.2s; }
.prod-btn:hover { background: linear-gradient(180deg, #ff5874 0%, #e94560 100%); }

/* Banner */
.banner { background: #050709; padding: 56px 32px; text-align: center; margin: 72px 0; border-top: 1px solid #1a1d22; border-bottom: 1px solid #1a1d22; }
.banner h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; color: #fff; letter-spacing: -0.3px; }
.banner p { color: var(--ink-soft); max-width: 520px; margin: 0 auto 28px; }
.banner-btn { display: inline-block; background: linear-gradient(180deg, #ff7589 0%, #ff5874 100%); color: #fff; padding: 13px 34px; border-radius: 6px; text-decoration: none; font-weight: 700; transition: background 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.banner-btn:hover { background: linear-gradient(180deg, #ff5874 0%, #e94560 100%); }

/* Product Detail Page */
.prod-detail { max-width: 1100px; margin: 44px auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.prod-detail-img { background: #050709; border-radius: 10px; overflow: hidden; }

/* Gallery */
.gallery-main { position: relative; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #050709; }
.gallery-main img { width: 100%; height: auto; display: block; }
.gallery-zoom { position: absolute; top: 12px; right: 12px; background: rgba(22,33,62,0.85); color: #fff; font-size: 12px; padding: 6px 12px; border-radius: 20px; pointer-events: none; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs .thumb { width: 68px; height: 68px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; padding: 0; background: #050709; }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs .thumb.active { border-color: var(--red); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,14,22,0.94);
  display: none; align-items: center; justify-content: center; z-index: 1000;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 92vw; max-height: 92vh; margin-top: 12px; float: none; }
.lightbox-inner img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; display: block; object-fit: contain; margin: 0 auto; border-radius: 6px; }
/* Close button pinned to top-right of viewport so it's always clickable */
.lightbox-close {
  position: fixed; top: 18px; right: 22px; z-index: 1001;
  background: rgba(255,255,255,0.9); color: #111; border: none;
  width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35); transition: background 0.15s;
}
.lightbox-close:hover { background: #fff; }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 1001;
  background: rgba(255,255,255,0.14); color: #fff; border: none; font-size: 30px;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: background 0.15s;
}
.lightbox-prev { left: 18px; } .lightbox-next { right: 18px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-count { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.85); font-size: 14px; }

/* Product Detail Info Column */
.prod-detail-info .model { font-size: 13px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 6px; }
.prod-detail-info h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 20px; line-height: 1.2; color: #fff; }
.prod-detail-info .price-lg { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -0.4px; margin-bottom: 2px; }
.prod-detail-info .notax-lg { font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; }

/* Description */
.prod-detail-info .desc { font-size: 15px; color: #3c4450; line-height: 1.75; margin-bottom: 30px; }
.prod-detail-info .desc .lead { font-size: 17px; color: var(--ink); font-weight: 600; line-height: 1.65; }
.prod-detail-info .desc p { margin-bottom: 14px; }
.prod-detail-info .desc .desc-head {
  font-size: 13px; font-weight: 800; color: var(--red); text-transform: uppercase;
  letter-spacing: 1px; margin: 26px 0 4px; display: flex; align-items: center; gap: 10px;
}
.prod-detail-info .desc .desc-head::after {
  content: ""; flex: 1; height: 2px; background: var(--line); border-radius: 2px;
}
.prod-detail-info .desc .desc-list {
  margin: 10px 0 18px; padding: 0; list-style: none;
}
.prod-detail-info .desc .desc-list li {
  position: relative; padding: 9px 0 9px 30px; margin: 0;
  border-bottom: 1px dashed var(--line); font-size: 14.5px; color: #3c4450; line-height: 1.55;
}
.prod-detail-info .desc .desc-list li:last-child { border-bottom: none; }
.prod-detail-info .desc .desc-list li::before {
  content: "\2713"; position: absolute; left: 2px; top: 8px;
  color: var(--red); font-weight: 800; font-size: 15px;
}

/* CTA buttons */
.cta-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 6px;
  font-weight: 700; text-decoration: none; font-size: 14px; letter-spacing: 0.2px;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-deep); }

/* Section headings inside product page */
.prod-detail-info .spec-block { margin-bottom: 30px; }
.prod-detail-info .spec-block h2 {
  font-size: 19px; font-weight: 800; color: #fff;
  letter-spacing: -0.2px; margin: 0 0 14px;
}

/* Key Features: clean icon-less list with light dividers, no glyph */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; }
.feat-card {
  border-top: 1px solid var(--line); padding: 12px 4px;
  font-size: 14px; color: #3c4450; line-height: 1.5;
}
.feat-card .feat-ic { display: none; }

/* Specifications: label/value chips (from spec texts kept simple) */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 11px 12px; font-size: 14.5px; color: #3c4450; border-bottom: 1px solid var(--line); }
.spec-table tr:nth-child(odd) td { background: var(--bg-soft); }

/* Contact / quote box */
.contact-box { background: var(--bg-soft); border: 1px solid var(--line); padding: 24px; border-radius: 10px; margin-top: 10px; }
.contact-box h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: #fff; }
.contact-box p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.contact-box .phone { font-size: 22px; font-weight: 800; color: #fff; margin-top: 4px; }

/* Breadcrumb */
.breadcrumb { max-width: 1200px; margin: 24px auto 0; padding: 0 32px; font-size: 13px; color: var(--ink-soft); }
.breadcrumb a { color: #cfd5e0; text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

/* Footer */
.footer { background: var(--navy-deep); color: #fff; padding: 52px 32px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.footer h4 { font-size: 13px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1.4px; opacity: 0.55; }
.footer p, .footer a { font-size: 14px; opacity: 0.82; line-height: 1.9; }
.footer a { color: #fff; text-decoration: none; display: block; }
.footer a:hover { opacity: 1; color: #ffb3c0; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; opacity: 0.55; text-align: center; }

/* Mobile */
@media (max-width: 768px) {
  .header { flex-direction: column; gap: 14px; padding: 14px 20px; }
  .nav { display: flex; gap: 14px; overflow-x: auto; white-space: nowrap; justify-content: flex-start; padding-bottom: 4px; width: 100%; }
  .nav::-webkit-scrollbar { display: none; }
  .nav > a { font-size: 13px; flex-shrink: 0; width: auto; min-height: 36px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .hero { padding: 44px 20px; }
  .prod-detail { grid-template-columns: 1fr; gap: 26px; padding: 0 20px; }
  .section { padding: 0 20px; margin: 56px auto; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .prod-grid { grid-template-columns: 1fr; }
  .lightbox-close { top: 14px; right: 16px; width: 40px; height: 40px; font-size: 24px; }
  .lightbox-prev, .lightbox-next { width: 44px; height: 44px; }
  .lightbox-prev { left: 10px; } .lightbox-next { right: 10px; }
}

/* =====================================================================
   Range-Road-style spec strip + tabbed detail widget (HalMeg palette)
   ===================================================================== */

/* Horizontal spec-icon strip above the detail column */
.spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 6px;
}
.spec-strip .spec_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 88px;
  padding: 10px 8px 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.spec-strip .spec_item svg {
  width: 30px; height: 30px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.spec-strip .spec_item .spec_value {
  font-size: 15px; font-weight: 800; color: #fff;
  margin-top: 4px;
}
.spec-strip .spec_item .spec_label {
  font-size: 10.5px; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.6px;
  margin-top: 2px; text-align: center;
}

/* Two-column tabbed detail: left list of headings, right panel */
.spec-tabs {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}
.spec-tabs .tab-list {
  border-right: 1px solid var(--line);
  background: var(--bg);
}
.spec-tabs .tab-list button {
  display: block; width: 100%; text-align: left;
  padding: 13px 18px;
  border: none; background: transparent;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  cursor: pointer;
  border-left: 4px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.spec-tabs .tab-list button:hover { background: var(--bg-soft); }
.spec-tabs .tab-list button.active {
  background: var(--bg-soft);
  border-left: 4px solid var(--red);
  color: #fff; font-weight: 700;
}
.spec-tabs .tab-panel {
  padding: 22px 26px;
  background: var(--bg);
}
.spec-tabs .tab-panel ul {
  list-style: none; padding: 0; margin: 0;
}
.spec-tabs .tab-panel ul li {
  position: relative; padding: 9px 0 9px 26px;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px; color: #3c4450; line-height: 1.55;
}
.spec-tabs .tab-panel ul li:last-child { border-bottom: none; }
.spec-tabs .tab-panel ul li::before {
  content: "\2713"; position: absolute; left: 2px; top: 8px;
  color: var(--red); font-weight: 800; font-size: 14px;
}

@media (max-width: 768px) {
  .spec-tabs { grid-template-columns: 1fr; }
  .spec-tabs .tab-list { border-right: none; border-bottom: 1px solid var(--line); }
  .spec-strip { justify-content: center; }
}

/* ===== Homepage redesign (Darrell-approved 2026-09-03) — DARK OVERRIDE ===== */
body {
  background: #000000;
}
.header { background: linear-gradient(180deg, #0a0c10 0%, #050709 100%); }

.hero { position: relative; overflow: hidden;
  background:
    linear-gradient(to right, #050a18 0%, #0e1a35 35%, #1c335e 70%, #2c4a82 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(184,192,204,0.08) 0%, rgba(0,0,0,0) 40%, rgba(184,192,204,0.04) 100%);
}
.hero-map { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero-map img {
  position: absolute; top: 50%; transform: translateY(-50%);
  height: 92%; width: auto; max-width: 24%; opacity: 0.18;
  display: block;
  filter: invert(1) brightness(1.6);  /* make NL map pop on dark */
}
.hero-map img.map-left  { left: 4%; }
.hero-map img.map-right { right: 4%; margin-left: auto; }
.hero h1, .hero p, .hero .hero-btn { position: relative; z-index: 2; }

.glass-section { position: relative;
  background: linear-gradient(180deg, #050709 0%, #0a0c10 100%);
  border-top: 1px solid #1a1d22;
  border-bottom: 1px solid #1a1d22;
}
.glass-section .cat-grid { position: relative; z-index: 1; }

.glass-section .cat-card {
  background: #16191f;
  border: 1px solid #1f242c;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.glass-section .cat-card:hover {
  background: #1c2129;
  border-color: #3a4150;
}

/* =====================================================================
   Comprehensive mobile responsive styles (2026-09-04)
   ===================================================================== */

/* Top bar on mobile: stack content, hide Facebook link */
@media (max-width: 600px) {
  .top-bar { padding: 8px 12px; font-size: 11px; }
  .top-bar .tb-fb { display: none; }
  .top-bar .tb-info { position: static; right: auto; font-size: 10.5px; gap: 4px; flex-wrap: wrap; justify-content: center; text-align: center; white-space: normal; }
  .top-bar .tb-info a { border-bottom: none; }
  .top-bar { text-align: center; }
}

/* Header: stack logo + nav on mobile, make nav horizontally scrollable */
@media (max-width: 600px) {
  .header { flex-direction: column; height: auto; padding: 8px 12px; gap: 4px; }
  .logo { height: 60px; }
  .logo img.logo-img { height: 56px; }
  .nav { gap: 6px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; width: 100%; justify-content: flex-start; }
  .nav::-webkit-scrollbar { display: none; }
  .nav > a { font-size: 11px; padding: 6px 10px; flex-shrink: 0; width: auto; min-height: 32px; border-radius: 6px; background: var(--bg-card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
  .nav > a:hover { background: var(--navy); color: #fff; }
  .nav .hm-search { width: 100%; flex-shrink: 0; }
  .nav .hm-search-input { width: 100%; }
  .nav .hm-search-results { width: calc(100vw - 24px); }
}

/* Hero section on mobile */
@media (max-width: 600px) {
  .hero { padding: 30px 16px; }
  .hero h1 { font-size: 22px; line-height: 1.25; }
  .hero p { font-size: 13px; line-height: 1.5; }
}

/* Section padding on mobile */
@media (max-width: 600px) {
  .section { padding: 0 14px; margin: 40px auto; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 14px; }
}

/* Category grid on mobile: single column or 2 columns */
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .cat-card-img { height: 160px; }
  .cat-card-body { padding: 14px; }
  .cat-card-body h3 { font-size: 15px; }
}

/* Product grid on mobile: single column */
@media (max-width: 600px) {
  .prod-grid { grid-template-columns: 1fr; gap: 16px; }
  .prod-card { max-width: 100%; }
}

/* Product page: gallery + info stack on mobile */
@media (max-width: 600px) {
  .rr-body { grid-template-columns: 1fr; }
  .rr-gallery { border-right: none; border-bottom: 1px solid var(--rr-border); min-height: 200px; padding: 14px; }
  .rr-info { padding: 18px 14px; }
  .rr-info h1 { font-size: 20px; }
  .rr-price-big { font-size: 26px; }
  .rr-desc { font-size: 13px; }
  .rr-feats li { font-size: 13px; padding: 6px 0 6px 28px; }
  .rr-ideal li { font-size: 13px; }
  .rr-tab-btn { padding: 12px 16px; font-size: 15px; }
  .rr-tab-panel { padding: 16px 14px; }
  .rr-tab-panel ul { columns: 1; }
  .rr-tab-panel li { font-size: 13px; padding: 8px 0 8px 28px; }
  .rr-cta { flex-direction: column; }
  .rr-btn { width: 100%; text-align: center; }
  .rr-model-cards { grid-template-columns: 1fr; }
  .rr-model-card .m-title { font-size: 16px; }
  .rr-model-card .m-price { font-size: 22px; }
}

/* Breadcrumb on mobile */
@media (max-width: 600px) {
  .breadcrumb { font-size: 12px; padding: 8px 14px; }
}

/* Footer on mobile */
@media (max-width: 600px) {
  .footer { padding: 30px 14px; }
  .footer p { font-size: 12px; }
}

/* Search results dropdown on mobile */
@media (max-width: 600px) {
  .hm-search-results { width: calc(100vw - 24px); left: 0; right: 0; }
  .hm-search-input { width: 100%; }
}

/* Category header on mobile */
@media (max-width: 600px) {
  .cat-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cat-acc-btn { font-size: 13px; padding: 10px 18px; }
}

@media (max-width: 760px) {
  .hero-map img { height: 70%; opacity: 0.12; }
  .hero-map img.map-left { left: -6%; }
  .hero-map img.map-right { right: -6%; }
  .glass-section .cat-card { background: #16191f; }
}

/* Category header: title/sub left, accessories button right (2026-09-03) */
.cat-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; margin-bottom: 26px; }
.cat-header .section-sub { margin-bottom: 0; }
.cat-acc-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; padding: 13px 26px; border-radius: 8px; white-space: nowrap; transition: background 0.18s, transform 0.18s; }
.cat-acc-btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
@media (max-width: 720px) {
  .cat-acc-btn { white-space: normal; }
}

/* Top bar phone (left) */
.top-bar .tb-left { position: absolute; left: 24px; display: flex; align-items: center; gap: 14px; font-weight: 600; white-space: nowrap; }
@media (max-width: 720px) {
  .top-bar .tb-left { left: 12px; }
  .tb-fb { display: none; }
}

/* Top bar right contact info banner (2026-09-03) */
.top-bar .tb-info { position: absolute; right: 24px; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.top-bar .tb-info a { border-bottom: 1px solid rgba(255,255,255,0.3); }
@media (max-width: 900px) {
  .top-bar .tb-info { font-size: 11.5px; }
}
@media (max-width: 720px) {
  .top-bar { flex-wrap: wrap; justify-content: space-between; row-gap: 4px; }
  .top-bar .tb-info { flex-wrap: wrap; justify-content: flex-end; }
  .top-bar .tb-info { white-space: normal; text-align: right; max-width: 62%; }
  .tb-fb { display: none; }
}

/* Search moved into header nav, right of Accessories */
.nav .hm-search { display: inline-flex; align-items: center; }
.nav .hm-search-input { border: 1px solid #3a4150; background: #0f1217; color: var(--ink); }
.nav .hm-search-input::placeholder { color: #6c7480; }
.nav .hm-search-input:focus { border-color: var(--accent); background: #16191f; }
.nav .hm-search-results { top: calc(100% + 10px); right: 0; }
.nav .hm-search-results a,
.hm-search-results a {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-height: auto !important;
  padding: 10px 14px !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-bottom: 1px solid #1a1d22 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #e6eaf2 !important;
  text-align: left !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  white-space: normal !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
  transition: background 0.15s !important;
}
.nav .hm-search-results a:hover,
.hm-search-results a:hover {
  background: #1a1d22 !important;
  color: #fff !important;
  box-shadow: none !important;
  border-color: #1a1d22 !important;
}
.nav .hm-search-results a:last-of-type,
.hm-search-results a:last-of-type {
  border-bottom: none !important;
}
.hm-search-results .r-title {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #e6eaf2 !important;
  display: block !important;
  text-align: left !important;
}
.hm-search-results .r-price {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #e94560 !important;
  margin-top: 2px !important;
  display: block !important;
  text-align: left !important;
}

/* =====================================================================
   Consolidated mobile responsive (2026-09-04)
   ===================================================================== */
@media (max-width: 600px) {
  .top-bar { padding: 8px 12px; font-size: 11px; text-align: center; }
  .top-bar .tb-fb { display: none; }
  .top-bar .tb-info { position: static; right: auto; font-size: 10.5px; gap: 4px; flex-wrap: wrap; justify-content: center; text-align: center; white-space: normal; }
  .top-bar .tb-info a { border-bottom: none; }
  .header { height: auto; padding: 8px 12px; gap: 4px; }
  .logo { height: 60px; }
  .logo img.logo-img { height: 56px; }
  .nav { gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; justify-content: flex-start; }
  .nav > a { font-size: 11px; padding: 6px 10px; flex-shrink: 0; width: auto; min-height: 32px; border-radius: 6px; background: var(--bg-card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
  .nav > a:hover { background: var(--navy); color: #fff; }
  .nav .hm-search { width: 100%; flex-shrink: 0; }
  .nav .hm-search-input { width: 100%; }
  .nav .hm-search-results { width: calc(100vw - 24px); left: 0; right: 0; }
  .hero { padding: 30px 16px; }
  .hero h1 { font-size: 22px; line-height: 1.25; }
  .hero p { font-size: 13px; line-height: 1.5; }
  .section { padding: 0 14px; margin: 40px auto; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 14px; }
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .cat-card-img { height: 160px; }
  .cat-card-body { padding: 14px; }
  .cat-card-body h3 { font-size: 15px; }
  .cat-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cat-acc-btn { font-size: 13px; padding: 10px 18px; white-space: normal; }
  .prod-grid { grid-template-columns: 1fr; gap: 16px; }
  .prod-card { max-width: 100%; }
  .rr-body { grid-template-columns: 1fr; }
  .rr-gallery { border-right: none; border-bottom: 1px solid var(--rr-border); min-height: 200px; padding: 14px; }
  .rr-info { padding: 18px 14px; }
  .rr-info h1 { font-size: 20px; }
  .rr-price-big { font-size: 26px; }
  .rr-desc { font-size: 13px; }
  .rr-feats li { font-size: 13px; padding: 6px 0 6px 28px; }
  .rr-ideal li { font-size: 13px; }
  .rr-tab-btn { padding: 12px 16px; font-size: 15px; }
  .rr-tab-panel { padding: 16px 14px; }
  .rr-tab-panel ul { columns: 1; }
  .rr-tab-panel li { font-size: 13px; padding: 8px 0 8px 28px; }
  .rr-cta { flex-direction: column; }
  .rr-btn { width: 100%; text-align: center; }
  .rr-model-cards { grid-template-columns: 1fr; }
  .rr-model-card .m-title { font-size: 16px; }
  .rr-model-card .m-price { font-size: 22px; }
  .breadcrumb { font-size: 12px; padding: 8px 14px; }
  .footer { padding: 30px 14px; }
  .footer p { font-size: 12px; }
  .hm-search-results { width: calc(100vw - 24px); left: 0; right: 0; }
}

/* =====================================================================
   Hamburger menu (2026-09-04)
   ===================================================================== */
.hm-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hm-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 600px) {
  .hm-hamburger { display: block; }
  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    gap: 4px;
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav.open {
    display: flex;
  }
  .nav > a {
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
  }
  .nav .hm-search {
    width: 100%;
  }
  .nav .hm-search-input {
    width: 100%;
    box-sizing: border-box;
  }
  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    height: auto;
  }
  .logo img.logo-img {
    height: 50px;
  }
}


/* =====================================================================
   Mobile fixes (2026-09-04 v2)
   ===================================================================== */
@media (max-width: 600px) {
  /* Header: hamburger left, logo right, stable layout */
  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 8px 12px;
    gap: 0;
  }
  .logo { order: 2; height: auto; }
  .logo img.logo-img { height: 50px; }
  .hm-hamburger { order: 1; }
  .hm-hamburger span { background: var(--ink); }

  /* Nav: hidden by default, absolutely positioned dropdown */
  .nav {
    display: none;
    flex-direction: column;
    width: auto;
    min-width: 200px;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    z-index: 1100;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 0;
    gap: 0;
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .header { position: relative; }

  /* Dropdown items: plain text, left-aligned */
  .nav > a {
    width: 100%;
    text-align: left;
    justify-content: flex-start !important;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  .nav > a:last-of-type { border-bottom: none; }
  .nav > a:hover { background: rgba(255,255,255,0.05); color: var(--accent); }
  .nav .hm-search { padding: 8px 16px; }
  .nav .hm-search-input { width: 100%; box-sizing: border-box; }

  /* Top bar: hide phone/hours on mobile (moved to contact page) */
  .top-bar .tb-info { display: none; }
  .top-bar { justify-content: center; }

  /* Contact page: single column on mobile */
  .section[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Contact page grid override for mobile */
@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 0 14px !important;
  }
  .contact-grid .section-title { font-size: 20px; }
  .contact-grid p { font-size: 14px; }
}
