/* ============ Clarion Power Electricals LTD ============ */
:root {
  --navy: #0a2540; --navy-2: #12355e; --navy-3: #1d4a7e;
  --accent: #ff8a00; --accent-2: #e67600; --accent-soft: #fff3e3;
  --green: #18a058; --green-soft: #e8f7ef; --wa: #25d366;
  --red: #e53935; --amber: #d98a00;
  --ink: #1b2533; --muted: #6b7686; --line: #e6e9ef;
  --bg: #f4f6f9; --card: #fff;
  --radius: 12px; --shadow: 0 6px 24px rgba(10, 37, 64, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; font-family: "Poppins", system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, .muted a, td a, li a, .notice a:not(.btn), label a { color: var(--accent-2); font-weight: 500; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
button, input, select, textarea { font-family: inherit; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.accent { color: var(--accent-2); }
.mt { margin-top: 18px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.fill { fill: currentColor; stroke: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; padding: 12px 22px; font: 600 14px "Poppins", sans-serif; cursor: pointer; transition: .2s; text-align: center; }
.btn svg { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-outline { border: 1.5px solid var(--line); background: #fff; color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost { border: 2px solid #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1eb455; }
.btn.big { padding: 15px 26px; font-size: 15.5px; }
.btn.wide { width: 100%; }
.btn.disabled, .btn:disabled { opacity: .5; pointer-events: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row.between { justify-content: space-between; margin-top: 16px; }
.link-btn { background: none; border: 0; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); cursor: pointer; font-size: 13.5px; padding: 4px 0; }
.link-btn svg { width: 18px; height: 18px; }
.link-btn:hover, .link-btn.on { color: var(--accent-2); }
.link-btn.on svg { fill: currentColor; }
.pulse { animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #cfd8e3; font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; gap: 12px; }
.tagline { color: #fff; font-weight: 600; letter-spacing: .04em; }
.toplinks { display: flex; gap: 18px; }
.toplinks a:hover { color: var(--accent); }
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.header-inner { display: flex; align-items: center; gap: 22px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 44px; height: 44px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; color: var(--accent); }
.logo-mark svg { width: 28px; height: 28px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.logo-text small { font-size: 10.5px; font-weight: 600; color: var(--accent); letter-spacing: .24em; }
.logo.light strong { color: #fff; }
.logo.light .logo-mark { background: #fff; }

.search { flex: 1; display: flex; border: 2px solid var(--navy); border-radius: 10px; position: relative; background: #fff; }
.search select { border: 0; background: var(--bg); padding: 0 10px; font-size: 13px; color: var(--ink); border-right: 1px solid var(--line); max-width: 160px; border-radius: 8px 0 0 8px; }
.search input { flex: 1; border: 0; padding: 11px 14px; font-size: 14px; outline: 0; min-width: 0; }
.search button { border: 0; background: var(--navy); color: #fff; padding: 0 18px; cursor: pointer; border-radius: 0 7px 7px 0; }
.search button:hover { background: var(--accent); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 10px; box-shadow: 0 14px 40px rgba(10, 37, 64, .18); padding: 8px; z-index: 60; max-height: 420px; overflow-y: auto; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; font-size: 13.5px; }
.suggest a:hover { background: var(--bg); }
.suggest img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; }
.suggest a span { display: flex; flex-direction: column; }
.suggest small { color: var(--accent-2); font-weight: 600; }
.suggest .sg-cat small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.suggest p { padding: 10px; margin: 0; font-size: 13.5px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.hcall { display: flex; align-items: center; gap: 8px; color: var(--navy); margin-right: 6px; }
.hcall svg { color: var(--accent); width: 30px; height: 30px; }
.hcall span { display: flex; flex-direction: column; line-height: 1.2; }
.hcall small { color: var(--muted); font-size: 11.5px; }
.hbtn { position: relative; background: var(--bg); border: 0; border-radius: 10px; width: 46px; height: 46px; display: grid; place-items: center; color: var(--navy); cursor: pointer; }
.hbtn:hover { color: var(--accent); }
.count { position: absolute; top: -6px; right: -6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; }
.count[hidden] { display: none; }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; padding: 8px; }
.menu-btn span { height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Category nav ---------- */
.catnav { background: var(--navy-2); color: #fff; }
.catnav-inner { display: flex; align-items: stretch; gap: 4px; }
.drawer-top, .drawer-links, .sub-toggle { display: none; }
.allcats { position: relative; }
.allcats-btn { height: 100%; background: var(--accent); color: #fff; border: 0; padding: 12px 22px; font-weight: 600; font-size: 14px; cursor: pointer; }
.mega { position: absolute; top: 100%; left: 0; width: min(1080px, 92vw); background: #fff; color: var(--ink); box-shadow: var(--shadow); border-radius: 0 0 12px 12px; padding: 24px; display: none; grid-template-columns: repeat(4, 1fr); gap: 18px 24px; z-index: 70; }
.allcats:hover .mega, .allcats:focus-within .mega { display: grid; }
.mega-col a { display: block; font-size: 13px; color: var(--muted); padding: 2px 0; }
.mega-col a:hover { color: var(--accent); }
.mega-col .mega-title { color: var(--navy); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.mega-promo { background: var(--accent-soft); border-radius: 10px; padding: 16px; }
.mega-promo p { font-size: 13px; color: var(--muted); }
.mega-promo .btn { color: #fff; }
.catlinks { list-style: none; display: flex; margin: 0; padding: 0; flex: 1; }
.catlinks > li { position: relative; }
.catlinks > li > a { display: block; padding: 12px 13px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.catlinks > li:hover > a, .catlinks > li.active > a { color: var(--accent); }
.deals-link { color: #ffd08a; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; color: var(--ink); box-shadow: var(--shadow); border-radius: 0 0 10px 10px; padding: 14px 18px; display: none; z-index: 70; }
.dropdown b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 6px; }
.dropdown a { display: block; padding: 4px 0; font-size: 13.5px; }
.dropdown a:hover { color: var(--accent); }
.dropdown .see-all { font-weight: 600; color: var(--navy); margin-top: 6px; border-top: 1px solid var(--line); padding-top: 8px; }
.catlinks > li:hover .dropdown { display: block; }
.catlinks > li:nth-last-child(-n+3) .dropdown { left: auto; right: 0; }
.quote-link { align-self: center; padding: 6px 14px; border: 1.5px solid var(--accent); border-radius: 20px; color: var(--accent); font-size: 13px; font-weight: 600; white-space: nowrap; }
.quote-link:hover { background: var(--accent); color: #fff; }

/* ---------- Hero slider ---------- */
.hero { padding: 22px 0; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.bg-img { background: linear-gradient(90deg, rgba(10, 37, 64, .92) 0%, rgba(10, 37, 64, .55) 60%, rgba(10, 37, 64, .2)), var(--img) center/cover; background-color: var(--navy); border-radius: 16px; }
.slider { position: relative; min-height: 440px; border-radius: 16px; overflow: hidden; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; padding: 48px 64px; color: #fff; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.slide.on { opacity: 1; visibility: visible; }
.slide-copy { max-width: 540px; }
.pill { display: inline-block; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; }
.slide h1, .slide h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; color: #fff; }
.slide p { color: #d7e0ea; font-size: 16px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 22px; cursor: pointer; z-index: 2; }
.slider-prev:hover, .slider-next:hover { background: var(--accent); }
.slider-prev { left: 12px; } .slider-next { right: 12px; }
.slider-dots { position: absolute; bottom: 18px; left: 64px; display: flex; gap: 8px; z-index: 2; }
.slider-dots button { width: 10px; height: 10px; border-radius: 5px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: .3s; padding: 0; }
.slider-dots button.on { width: 28px; background: var(--accent); }
.hero-side { display: grid; gap: 18px; }
.promo { padding: 26px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; transition: transform .25s; }
.promo:hover { transform: translateY(-3px); }
.promo span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
.promo b { font-size: 20px; }
.promo em { font-style: normal; font-size: 13px; color: #d7e0ea; }

/* ---------- USPs ---------- */
.usps { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.usps div { padding: 18px 20px; display: flex; gap: 12px; align-items: center; border-right: 1px solid var(--line); }
.usps div:last-child { border: 0; }
.usps svg { color: var(--accent); width: 32px; height: 32px; }
.usps span { display: flex; flex-direction: column; }
.usps b { color: var(--navy); font-size: 14.5px; }
.usps small { color: var(--muted); font-size: 12.5px; }

/* ---------- Sections ---------- */
.section { padding: 46px 0 10px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; margin-bottom: 20px; border-bottom: 2px solid var(--line); padding-bottom: 10px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 24px; position: relative; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: -12px; width: 60px; height: 3px; background: var(--accent); }
.section-head.center { flex-direction: column; text-align: center; border: 0; }
.section-head.center h2::after { left: 50%; transform: translateX(-50%); }
.section-head.center p { margin: 18px 0 0; }
.sub-links { display: flex; gap: 16px; flex: 1; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.sub-links a:hover { color: var(--accent); }
.view-all { color: var(--accent-2); font-weight: 600; font-size: 14px; white-space: nowrap; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { border: 1.5px solid var(--line); background: #fff; padding: 7px 16px; border-radius: 20px; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--navy); }
.tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.cat-tile { background: #fff; border-radius: var(--radius); padding: 14px; text-align: center; box-shadow: var(--shadow); border: 2px solid transparent; transition: .2s; display: flex; flex-direction: column; align-items: center; }
.cat-tile:hover { border-color: var(--accent); transform: translateY(-3px); }
.cat-img { width: 100%; aspect-ratio: 1; border-radius: 10px; background: var(--bg) center/cover; margin-bottom: 10px; display: grid; place-items: center; font-size: 44px; }
.cat-tile b { color: var(--navy); font-size: 14.5px; }
.cat-tile small { color: var(--muted); font-size: 12px; }
.cat-tile.special .cat-img { background: linear-gradient(135deg, var(--navy), var(--navy-3)); }

/* ---------- Countdown ---------- */
.countdown { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.countdown .cd { display: flex; gap: 4px; }
.countdown i { font-style: normal; background: var(--red); color: #fff; font-weight: 700; border-radius: 6px; padding: 4px 7px; font-variant-numeric: tabular-nums; font-size: 14px; }
.countdown i small { font-size: 10px; font-weight: 500; margin-left: 1px; }

/* ---------- Product cards ---------- */
.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.product-row .card { scroll-snap-align: start; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .2s; min-width: 0; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(10, 37, 64, .14); }
.card.is-out .card-img img { opacity: .55; }
.badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.badge { color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.badge.sale { background: var(--red); }
.badge.new { background: var(--green); }
.badge.best { background: var(--navy); }
.badge.big { position: absolute; top: 14px; left: 14px; font-size: 14px; z-index: 2; }
.card-tools { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateX(6px); transition: .2s; }
.card:hover .card-tools, .card-tools .tool.on { opacity: 1; transform: none; }
.card-tools:has(.on) { opacity: 1; transform: none; }
.tool { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.tool svg { width: 17px; height: 17px; }
.tool:hover { color: var(--accent); }
.tool.on { color: #fff; background: var(--accent); }
.tool.on svg { fill: currentColor; }
.card-img { aspect-ratio: 1; background: var(--bg); overflow: hidden; display: block; }
.card-img { background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card-cat { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card h3 { font-size: 14.5px; font-weight: 600; margin: 4px 0 8px; color: var(--ink); flex: 1; }
.card h3 a:hover { color: var(--accent-2); }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.price b { color: var(--accent-2); font-size: 17px; }
.price s { color: var(--muted); font-size: 13px; }
.stock { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.in { color: var(--green); } .stock.low { color: var(--amber); } .stock.out { color: var(--red); }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { flex: 1; padding: 9px 10px; font-size: 13px; }
.icon-btn { width: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); flex-shrink: 0; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--wa); color: #fff; }

/* List view */
.product-grid.list { grid-template-columns: 1fr; }
.product-grid.list .card { flex-direction: row; }
.product-grid.list .card-img { width: 200px; flex-shrink: 0; }
.product-grid.list .card-body { padding: 18px 20px; }
.product-grid.list h3 { font-size: 16px; flex: 0; }
.product-grid.list .card-actions { max-width: 320px; margin-top: auto; }

/* ---------- Banners ---------- */
.wide-banner { margin-top: 46px; padding: 40px 44px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.wide-banner h3 { font-size: 26px; max-width: 560px; color: #fff; }
.wide-banner p { color: #d7e0ea; margin: 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 46px; }
.duo .promo { min-height: 220px; }

/* ---------- Brands ---------- */
.brands-sec { background: #fff; margin-top: 46px; padding-bottom: 46px; }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.brands a { border: 1px solid var(--line); border-radius: 10px; padding: 20px 10px; text-align: center; font-weight: 800; font-size: 16px; color: #9aa4b2; transition: .2s; }
.brands a:hover { color: var(--navy); border-color: var(--accent); }

/* ---------- Why us / services ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why div { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.why .ic { font-size: 30px; display: block; margin-bottom: 8px; }
.why b { color: var(--navy); display: block; margin-bottom: 4px; }
.why p { color: var(--muted); font-size: 13.5px; margin: 0; }
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.about-img { min-height: 380px; border-radius: 16px; background: var(--img) center/cover; }
.about h2 { font-size: 28px; margin-top: 6px; }
.about p { color: var(--muted); }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.services div { background: #fff; border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.services b { color: var(--navy); }
.services span { color: var(--muted); font-size: 13px; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-card .img { height: 180px; background: var(--img) center/cover; }
.service-card div { padding: 18px 20px; }
.service-card p { color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps div { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); counter-increment: s; }
.steps div::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 13.5px; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats div { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px; }
.stats b { display: block; font-size: 30px; color: var(--accent); }

/* ---------- Page header / breadcrumbs ---------- */
.page-head { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; padding: 34px 0; }
.page-head h1 { color: #fff; margin: 4px 0 6px; font-size: clamp(24px, 3vw, 34px); }
.page-head p { color: #cfd8e3; margin: 0; max-width: 680px; }
.page-head .crumbs, .page-head .crumbs a { color: #aebcd0; }
.crumbs { font-size: 13px; color: var(--muted); margin: 18px 0 12px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--ink); }
.page-head .crumbs span { color: #fff; }
.prose { background: #fff; border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow); max-width: 900px; }
.prose h2 { font-size: 20px; margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3c4757; }

/* ---------- Shop ---------- */
.shop-hero { background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); margin-bottom: 18px; border-left: 5px solid var(--accent); }
.shop-hero h1 { margin: 0 0 4px; font-size: 26px; }
.shop-hero p { margin: 0; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; padding-bottom: 20px; }
.filters { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; }
.filters-head, .filters-foot { display: none; }
#filterBody { padding: 6px 18px 18px; }
.fgroup { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fgroup:last-child { border: 0; }
.fgroup h4 { font-size: 14px; margin-bottom: 8px; }
.fgroup > a, .fsubs a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; }
.fgroup small { color: var(--muted); }
.fgroup > a:hover, .fsubs a:hover { background: var(--bg); }
.fgroup a.active { background: var(--navy); color: #fff; }
.fgroup a.active small { color: #cfd8e3; }
.fsubs { margin: 2px 0 6px 14px; border-left: 2px solid var(--line); padding-left: 6px; }
.fsubs a { font-size: 13px; padding: 5px 8px; }
.fsubs a.dim { opacity: .5; }
.fgroup label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 4px 0; cursor: pointer; }
.fgroup label small { margin-left: auto; }
.fgroup input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
.brand-list { max-height: 220px; overflow-y: auto; }
.price-form { display: flex; gap: 6px; align-items: center; }
.price-form input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-size: 13px; }
.price-form .btn { padding: 8px 12px; }
.price-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.price-presets button { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.price-presets button:hover { border-color: var(--accent); }
.toolbar { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; align-items: center; flex-wrap: wrap; }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.toolbar select { border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font-size: 13px; background: #fff; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.view-toggle button { border: 0; background: none; padding: 7px 10px; cursor: pointer; color: var(--muted); font-size: 16px; }
.view-toggle button.on { background: var(--navy); color: #fff; }
.filter-btn { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 6px 14px; font-size: 12.5px; font-weight: 500; cursor: pointer; color: var(--ink); }
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.active-filters:empty { display: none; }
.afilter { background: var(--accent-soft); color: var(--accent-2); border: 0; border-radius: 16px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.afilter.clear { background: none; text-decoration: underline; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 28px 0 10px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-weight: 600; padding: 0 12px; }
.pager button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager button:disabled { opacity: .4; cursor: default; }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; background: #fff; border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.pd-main { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg); }
.pd-main { background: #fff; border: 1px solid var(--line); }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin: 12px 0 6px; }
.pd-thumbs button { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.pd-thumbs button.on { border-color: var(--accent); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pd-brand { color: var(--accent-2); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.pd-info h1 { font-size: clamp(22px, 2.6vw, 30px); margin: 6px 0 10px; }
.pd-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.pd-meta a { color: var(--accent-2); }
.pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.pd-price b { font-size: 30px; color: var(--accent-2); }
.pd-price s { color: var(--muted); font-size: 17px; }
.save { background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 6px; }
.pd-keys { list-style: none; padding: 0; margin: 8px 0 18px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pd-keys li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; font-size: 13.5px; }
.pd-keys li:nth-child(odd) { background: var(--bg); }
.pd-keys span { color: var(--muted); }
.pd-keys b { text-align: right; font-weight: 600; }
.pd-buy { display: flex; gap: 10px; margin-bottom: 10px; }
.pd-buy .grow { flex: 1; }
.pd-info > .btn { margin-bottom: 10px; }
.qty { display: flex; width: max-content; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.qty button { width: 40px; height: 46px; border: 0; background: var(--bg); font-size: 18px; cursor: pointer; }
.qty button:hover { background: var(--accent-soft); }
.qty input { width: 52px; height: 46px; border: 0; text-align: center; font-size: 15px; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 30px; height: 32px; font-size: 15px; }
.qty.sm input, .qty.sm span { width: 38px; height: 32px; display: grid; place-items: center; font-size: 14px; }
.pd-tools { display: flex; gap: 20px; margin: 6px 0 18px; flex-wrap: wrap; }
.pd-assure { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-assure div { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border-radius: 10px; padding: 12px; font-size: 12.5px; }
.pd-assure svg { color: var(--accent); }
.pd-assure span { display: flex; flex-direction: column; color: var(--muted); }
.pd-assure b { color: var(--navy); font-size: 13px; }
.pd-tabs { background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin-top: 24px; overflow: hidden; }
.tab-btns { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-btns button { border: 0; background: none; padding: 16px 22px; font-weight: 600; font-size: 14.5px; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab-btns button.on { color: var(--navy); border-color: var(--accent); }
.tab-pane { display: none; padding: 24px 28px; }
.tab-pane.on { display: block; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 500; background: var(--bg); }
.spec-table tr.total th, .spec-table tr.total td { font-weight: 700; color: var(--navy); font-size: 15px; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding: 3px 0 3px 24px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.buy-bar { display: none; }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.cart-table { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ct-head, .ct-row { display: grid; grid-template-columns: 1fr 110px 130px 120px 40px; gap: 12px; align-items: center; padding: 14px 18px; }
.ct-head { background: var(--bg); font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ct-row { border-top: 1px solid var(--line); }
.ct-prod { display: flex; gap: 12px; align-items: center; }
.ct-prod img { width: 70px; height: 70px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ct-prod span { display: flex; flex-direction: column; font-size: 14px; }
.ct-prod b:hover { color: var(--accent-2); }
.ct-prod .stock { margin: 2px 0 0; }
.rm { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 6px; }
.rm:hover { color: var(--red); background: #fdecec; }
.rm svg { width: 18px; height: 18px; }
.summary { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; position: sticky; top: 140px; display: flex; flex-direction: column; gap: 10px; }
.summary h3 { margin-bottom: 4px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; }
.sum-row.green { color: var(--green); }
.sum-row.total { font-size: 18px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; color: var(--navy); }
.sum-label { font-size: 13px; font-weight: 600; margin-top: 4px; }
.summary select, .form-grid input, .summary input, .co-box textarea, .co-box label.full input, .form input, .form select, .form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 12px; font-size: 14px; background: #fff; }
.summary select:focus, .form-grid input:focus, .co-box textarea:focus, .form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: 0; }
.hint { font-size: 12.5px; background: var(--accent-soft); color: var(--accent-2); padding: 8px 10px; border-radius: 8px; margin: 0; }
.secure { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.co-steps { display: flex; flex-direction: column; gap: 18px; }
.co-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.co-box h3 { display: flex; align-items: center; gap: 10px; }
.co-box h3 span { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-grid[hidden] { display: none; }
.form-grid label, .co-box label.full, .form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.form-grid .full { grid-column: 1 / -1; }
.options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.opt { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: .15s; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.opt span { display: flex; flex-direction: column; flex: 1; font-size: 14px; }
.opt small { color: var(--muted); font-size: 12.5px; font-weight: 400; }
.opt em { font-style: normal; font-weight: 700; color: var(--navy); text-align: right; display: flex; flex-direction: column; font-size: 14px; }
.opt em small { font-weight: 500; }
.co-items { max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.co-item { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.co-item span:nth-child(2) { flex: 1; }
.thumb { position: relative; flex-shrink: 0; }
.thumb img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.thumb i { position: absolute; top: -6px; right: -6px; background: var(--navy); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.check input { accent-color: var(--accent); margin-top: 3px; }
.form-error { color: var(--red); font-size: 13px; font-weight: 600; margin: 0; min-height: 1px; }
.order-done { text-align: center; background: #fff; border-radius: 16px; padding: 40px 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.tick { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; font-size: 38px; display: grid; place-items: center; margin: 0 auto 14px; }
.lead { font-size: 16px; max-width: 620px; margin: 0 auto 20px; }
.order-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 18px; }
.order-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.order-grid div { background: var(--bg); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; }
.order-items { margin-bottom: 12px; }
.summary ol { padding-left: 18px; margin: 0; }
.summary ol li { padding: 3px 0; font-size: 14px; }
.order-line { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 10px; padding: 12px 14px; background: #fff; border-radius: 10px; margin-bottom: 8px; box-shadow: var(--shadow); font-size: 14px; }
.order-line:hover { outline: 2px solid var(--accent); }
.notice { background: var(--accent-soft); border-radius: 10px; padding: 16px 18px; }
.notice .btn { margin-top: 10px; }

/* Wishlist / compare */
.compare-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { width: 160px; background: var(--bg); color: var(--muted); font-weight: 500; }
.compare td { position: relative; min-width: 180px; }
.compare td img { width: 140px; height: 140px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.compare td .rm { position: absolute; top: 8px; right: 8px; }

/* Empty states */
.empty-state { background: #fff; border-radius: 16px; box-shadow: var(--shadow); text-align: center; padding: 50px 24px; }
.empty-state.small { box-shadow: none; padding: 30px 10px; }
.empty-state .big { font-size: 56px; line-height: 1; margin-bottom: 12px; color: var(--accent); }
.empty-state p { margin-bottom: 18px; }
.empty { text-align: center; padding: 40px; color: var(--muted); }

/* ---------- Forms / contact / quote ---------- */
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.contact-cards { display: grid; gap: 12px; }
.contact-cards a, .contact-cards div { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.contact-cards svg { color: var(--accent); width: 28px; height: 28px; }
.contact-cards span { display: flex; flex-direction: column; font-size: 14px; }
.contact-cards small { color: var(--muted); }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); margin-top: 24px; box-shadow: var(--shadow); background: #dfe5ec; }
.hours { display: flex; justify-content: space-between; gap: 12px; margin: 4px 0; font-size: 14px; }
.quote-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 16px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.quote-band h2 { color: #fff; font-size: 28px; }
.quote-band p { color: #d7e0ea; }
.quote-band .form label { color: #fff; }
.faq details { background: #fff; border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { font-weight: 600; cursor: pointer; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* ---------- Newsletter & footer ---------- */
.newsletter { background: var(--accent); color: #fff; margin-top: 56px; }
.newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; flex-wrap: wrap; }
.newsletter h3 { color: #fff; margin-bottom: 4px; }
.newsletter p { margin: 0; color: #fff3e3; }
.newsletter form { display: flex; gap: 8px; flex: 1; max-width: 460px; min-width: 260px; }
.newsletter input { flex: 1; border: 0; border-radius: 8px; padding: 12px 14px; font-size: 14px; min-width: 0; }
.newsletter .btn { background: var(--navy); }
.newsletter .btn:hover { background: var(--navy-2); }
.footer { background: var(--navy); color: #b9c5d3; padding-top: 48px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 30px; }
.footer h4 { color: #fff; margin-bottom: 14px; }
.footer h4.mt { margin-top: 20px; }
.footer-grid > div > a:not(.logo) { display: block; padding: 3px 0; }
.footer-grid a:hover { color: var(--accent); }
.contact-list { list-style: none; padding: 0; margin: 14px 0; }
.contact-list li { display: flex; gap: 10px; padding: 4px 0; align-items: flex-start; }
.contact-list svg { color: var(--accent); width: 18px; height: 18px; margin-top: 2px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-weight: 700; color: #fff; }
.socials a:hover { background: var(--accent); color: #fff; }
.footer .hours { font-size: 13px; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 30px; font-size: 13px; }
.pay-row b { background: #fff; color: var(--navy); border-radius: 6px; padding: 4px 10px; font-size: 12px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 24px; padding: 18px; text-align: center; font-size: 13px; }

/* ---------- Drawer, overlays, floating ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transition: .25s; z-index: 90; }
.cart-open .overlay, .nav-open .overlay, .filters-open .overlay { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 100%); background: #fff; z-index: 100; transform: translateX(100%); transition: .3s; display: flex; flex-direction: column; visibility: hidden; }
.cart-open .drawer { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-head button, .drawer-top button, .filters-head button { border: 0; background: var(--bg); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.drawer-head button svg, .drawer-top button svg, .filters-head button svg { width: 18px; height: 18px; }
.free-bar { padding: 12px 20px; font-size: 13px; background: var(--accent-soft); }
.free-bar:empty { display: none; }
.bar { display: block; height: 6px; background: #fff; border-radius: 3px; margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .4s; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 20px; }
.mini-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.mini-item img { width: 64px; height: 64px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.mini-item b { display: block; font-size: 13.5px; line-height: 1.35; }
.mini-item .muted { font-size: 13px; }
.mini-item .qty { margin-top: 6px; width: max-content; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.total { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 4px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(37, 211, 102, .4); z-index: 80; }
.wa-float svg { width: 32px; height: 32px; }
.to-top { position: fixed; right: 26px; bottom: 90px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 80; opacity: 0; pointer-events: none; transition: .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; transition: .3s; z-index: 120; max-width: calc(100% - 32px); display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.bottom-nav { display: none; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .hcall { display: none; }
  .catlinks > li > a { padding: 12px 7px; font-size: 13px; }
  .allcats-btn { padding: 12px 14px; }
  .quote-link { display: none; }
  .mega { grid-template-columns: repeat(3, 1fr); }
  .why, .steps, .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 120px; }
  body { padding-bottom: 64px; }
  .toplinks, .hide-sm { display: none; }
  .header-inner { flex-wrap: wrap; gap: 10px 12px; padding: 10px 0; }
  .menu-btn { display: flex; }
  .logo { margin-right: auto; }
  .search { order: 3; flex-basis: 100%; }
  .hbtn { width: 42px; height: 42px; }
  /* Slide-out menu */
  .catnav { position: fixed; top: 0; left: 0; height: 100%; width: min(330px, 88%); transform: translateX(-100%); transition: .3s; z-index: 100; overflow-y: auto; visibility: hidden; }
  .nav-open .catnav { transform: none; visibility: visible; }
  .catnav-inner { flex-direction: column; width: 100%; padding: 16px; gap: 0; }
  .drawer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 6px; }
  .drawer-top strong { color: #fff; }
  .allcats { display: none; }
  .catlinks { flex-direction: column; }
  .catlinks > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .catlinks > li > a { padding: 13px 4px; font-size: 15px; flex: 1; }
  .sub-toggle { display: block; background: none; border: 0; color: #fff; font-size: 22px; width: 40px; height: 40px; cursor: pointer; }
  .catlinks > li:hover .dropdown, .dropdown { display: none; position: static; box-shadow: none; background: rgba(255, 255, 255, .05); color: #fff; width: 100%; border-radius: 8px; margin-bottom: 10px; }
  .catlinks > li.open .dropdown { display: block; }
  .dropdown b { display: none; }
  .dropdown a { color: #cfd8e3; padding: 7px 4px; }
  .dropdown .see-all { color: var(--accent); border-color: rgba(255, 255, 255, .1); }
  .drawer-links { display: flex; flex-direction: column; margin-top: 14px; }
  .drawer-links a { padding: 9px 4px; color: #cfd8e3; font-size: 14px; }
  .quote-link { margin-top: 16px; align-self: flex-start; }
  .hero-grid, .about, .quote-band, .split, .cart-layout { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .slider { min-height: 380px; }
  .slide { padding: 32px 26px 54px; }
  .slider-dots { left: 26px; }
  .slider-prev, .slider-next { display: none; }
  .usps { grid-template-columns: 1fr 1fr; }
  .usps div:nth-child(2) { border-right: 0; }
  .usps div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-cards { grid-template-columns: 1fr 1fr; }
  .duo { grid-template-columns: 1fr; }
  /* Shop filters become a drawer */
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; left: 0; height: 100%; max-height: none; width: min(340px, 90%); z-index: 100; transform: translateX(-100%); transition: .3s; border-radius: 0; display: flex; flex-direction: column; visibility: hidden; }
  .filters-open .filters { transform: none; visibility: visible; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .filters-head h3 { margin: 0; }
  #filterBody { flex: 1; overflow-y: auto; }
  .filters-foot { display: block; padding: 14px 18px; border-top: 1px solid var(--line); }
  .filter-btn { display: inline-flex; }
  .filter-btn svg { width: 16px; height: 16px; }
  .filter-btn b:empty { display: none; }
  .filter-btn b { background: var(--accent); color: #fff; border-radius: 10px; font-size: 11px; padding: 1px 7px; }
  .pd { grid-template-columns: 1fr; padding: 18px; gap: 20px; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .order-grid { grid-template-columns: 1fr 1fr; }
  /* Mobile bottom nav */
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -2px 12px rgba(0, 0, 0, .08); z-index: 85; height: 62px; }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--muted); position: relative; }
  .bottom-nav a.on { color: var(--accent-2); }
  .bottom-nav svg { width: 21px; height: 21px; }
  .bottom-nav i { position: absolute; top: 6px; left: calc(50% + 6px); background: var(--accent); color: #fff; font-style: normal; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
  .bottom-nav i[hidden] { display: none; }
  .wa-float { bottom: 76px; right: 14px; width: 52px; height: 52px; }
  .to-top { bottom: 138px; right: 18px; }
  .toast { bottom: 76px; }
  .has-buy-bar { padding-bottom: 130px; }
  .has-buy-bar .wa-float { bottom: 140px; }
  .has-buy-bar .to-top { bottom: 202px; }
  .buy-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 62px; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; gap: 12px; align-items: center; z-index: 84; box-shadow: 0 -4px 12px rgba(0, 0, 0, .06); }
  .buy-bar div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
  .buy-bar b { color: var(--accent-2); font-size: 17px; }
  .buy-bar small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 640px) {
  .tagline { font-size: 11px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text strong { font-size: 15.5px; }
  .logo-text small { font-size: 9px; }
  .search select { display: none; }
  .search button { border-radius: 0 7px 7px 0; }
  .search input { border-radius: 8px 0 0 8px; }
  .hero-side { grid-template-columns: 1fr; }
  .promo { min-height: 140px; }
  .usps div { padding: 14px; gap: 8px; }
  .usps svg { width: 26px; height: 26px; }
  .section { padding-top: 34px; }
  .section-head h2 { font-size: 20px; }
  .sub-links { display: none; }
  .product-row { grid-auto-columns: 46%; gap: 10px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-grid.list .card { flex-direction: column; }
  .product-grid.list .card-img { width: 100%; }
  .card-body { padding: 10px; }
  .card h3 { font-size: 13px; }
  .price b { font-size: 15px; }
  .card-actions .btn { font-size: 12px; padding: 8px 6px; }
  .card-actions .btn svg { display: none; }
  .icon-btn { width: 34px; }
  .card-tools { opacity: 1; transform: none; }
  .tool { width: 30px; height: 30px; }
  .services, .why, .steps, .service-cards, .form-grid, .form .two, .pd-assure { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .quote-band, .prose, .panel { padding: 24px 18px; }
  .wide-banner { padding: 28px 22px; }
  .wide-banner h3 { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chip { white-space: nowrap; flex-shrink: 0; }
  .toolbar-right { width: 100%; }
  .toolbar-right select { flex: 1; }
  .view-toggle { display: none; }
  /* Cart rows stack */
  .ct-head { display: none; }
  .ct-row { grid-template-columns: 1fr auto auto; gap: 10px; }
  .ct-prod { grid-column: 1 / -1; }
  .ct-price { display: none; }
  .ct-row .rm { grid-column: 3; grid-row: 2; justify-self: end; }
  .ct-total { grid-row: 2; grid-column: 2; text-align: right; }
  .pd-buy { flex-wrap: wrap; }
  .pd-thumbs button { width: 62px; height: 62px; }
  .tab-pane { padding: 18px; }
  .spec-table th { width: 44%; }
  .order-line { grid-template-columns: 1fr 1fr; }
  .newsletter form { flex-direction: column; }
}
/* Mobile safety: let grid/flex columns shrink so wide children (chip rows, tables) scroll inside them
   instead of stretching the page, and let long product names / codes wrap. */
html { overflow-x: clip; }
.shop-layout > *, .cart-layout > *, .split > *, .pd > *, .hero-grid > *, .about > *, .duo > *, .footer-grid > *, .order-grid > *, .order-line > *, .ct-row > *, .mini-item > *, .form-grid > *, .form .two > * { min-width: 0; }
h1, h2, h3, .card h3, .ct-prod b, .mini-item a { overflow-wrap: anywhere; }
p, li, td, th, .prose, .notice, .order-line { overflow-wrap: break-word; }
.prose table, .panel table { display: block; max-width: 100%; overflow-x: auto; }
img, video, iframe { max-width: 100%; }
@media (max-width: 640px) {
  /* Checkout options: price drops under the name instead of squeezing it */
  .opt { flex-wrap: wrap; row-gap: 4px; }
  .opt span { flex: 1 1 calc(100% - 40px); min-width: 0; }
  .order-grid { gap: 8px; }
  .order-grid div { padding: 10px; }
  .order-grid b { font-size: 13.5px; white-space: nowrap; }
  .opt em { flex: 1 1 100%; padding-left: 30px; text-align: left; flex-direction: row; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
}
@media print {
  .topbar, .header, .footer, .newsletter, .bottom-nav, .wa-float, .to-top, .btn, .drawer, .overlay { display: none !important; }
  body { background: #fff; padding: 0; }
  .order-box, .summary, .order-done { box-shadow: none; border: 1px solid #ddd; }
}
