/* Newton Electronics — main website (Walton BD-inspired layout) */
:root {
  --nw-blue: #1e3c96;      /* Newton logo blue */
  --nw-red: #e31e24;       /* Newton logo red */
  --w-blue: #0862ae;       /* Walton product name / price blue */
  --w-sky: #23a3dd;        /* Walton accent */
  --w-sky-2: #33a3dc;
  --ink: #111;
  --muted: #59595c;
  --line: #e2e2e2;
  --soft: #f8f8f9;
  --soft-2: #f2f2f2;
  --nav-h: 64px;
  --radius: 6px;
  --shadow: 0 0 10px rgba(0,0,0,.14);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: 'Titillium Web', 'Segoe UI', Arial, sans-serif; font-size: 15px; line-height: 1.6;
  color: var(--ink); background: #fff; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--w-sky); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { width: 100%; max-width: 1920px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: #000; color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--w-sky); outline-offset: 2px; }

/* ---------------- Dealer strip ---------------- */
.dealer-strip { background: var(--nw-blue); color: #fff; font-size: 13px; }
.dealer-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.dealer-strip a { color: #fff; }
.dealer-strip a:hover { color: #cfe6ff; }
.dealer-strip .ds-left { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dealer-strip .ds-left b { color: #fff; font-weight: 700; }
.dealer-strip .ds-right { display: flex; gap: 16px; white-space: nowrap; }
.dealer-strip .ds-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--nw-red); display: inline-block; }

/* ---------------- Header / desktop nav ---------------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid #e7e7e7; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--nav-h); padding: 0 20px; max-width: 1920px; margin: 0 auto; }
.nav-left, .nav-right { display: flex; align-items: center; height: 100%; }
.nav-right { justify-content: flex-end; }
.nav-link {
  display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 12px; font-weight: 600; font-size: 14px;
  text-transform: uppercase; color: #000; background: none; border: 0; letter-spacing: .02em; white-space: nowrap;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active { color: var(--w-sky); }
.nav-link.plaza-link { color: #fff; background: var(--nw-red); height: 36px; border-radius: 18px; padding: 0 16px; margin: 0 6px; }
.nav-link.plaza-link:hover { color: #fff; background: #c4161c; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.brand { display: flex; align-items: center; justify-content: center; }
.brand img { height: 42px; width: auto; }
.nav-burger, .nav-icon-btn { display: none; background: none; border: 0; padding: 8px; color: #000; position: relative; }
.nav-burger .ico, .nav-icon-btn .ico { width: 24px; height: 24px; }
.badge { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--nw-red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; padding: 0 4px; }
.badge:empty, .badge[data-n="0"] { display: none; }

/* dropdowns */
.dropdown { position: absolute; top: 100%; left: 0; background: #f8f8f8; border: 1px solid rgba(0,0,0,.12); border-radius: 0 0 6px 6px; box-shadow: 0 10px 24px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; z-index: 50; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown.right { left: auto; right: 0; }
.dd-list { list-style: none; margin: 0; padding: 8px 0; min-width: 240px; }
.dd-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 20px; font-size: 14px; color: #000; }
.dd-list a:hover { color: var(--w-sky); background: #fff; }

/* mega menu (Walton style: category list -> subcategory panel with image) */
.mega { display: flex; min-height: 520px; width: min(980px, 92vw); }
.mega-cats { list-style: none; margin: 0; padding: 8px 0; width: 290px; border-right: 1px solid #e5e5e5; max-height: 72vh; overflow-y: auto; }
.mega-cats > li > a { display: flex; justify-content: space-between; align-items: center; padding: 5px 18px 5px 22px; font-size: 14px; color: #000; }
.mega-cats > li > a .ico { width: 14px; height: 14px; opacity: .55; }
.mega-cats > li.on > a { color: var(--w-sky); background: #fff; font-weight: 700; }
.mega-panel { flex: 1; padding: 18px 26px; display: none; background: #fff; }
.mega-panel.on { display: grid; grid-template-columns: 1fr 230px; gap: 18px; }
.mega-panel h4 { font-size: 18px; color: var(--w-blue); margin-bottom: 10px; }
.mega-panel ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 18px; }
.mega-panel li a { display: block; padding: 4px 0; font-size: 14px; break-inside: avoid; }
.mega-panel .mega-img { align-self: start; text-align: center; }
.mega-panel .mega-img img { width: 100%; max-height: 260px; object-fit: contain; }
.mega-panel .mega-all { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--w-blue); }

/* search */
.nav-search { position: relative; display: flex; align-items: center; }
.nav-search input {
  width: 38px; height: 38px; border: 1px solid transparent; border-radius: 19px; padding: 0 36px 0 14px; font: inherit; font-size: 14px;
  background: transparent; transition: width .45s, background .3s, border-color .3s; cursor: pointer;
}
.nav-search input:focus, .nav-search.has-value input { width: 260px; background: #f8f8f8; border-color: #ddd; outline: 0; cursor: text; }
.nav-search button { position: absolute; right: 4px; background: none; border: 0; padding: 6px; color: #333; }
.suggest { position: absolute; top: calc(100% + 6px); right: 0; width: 360px; max-width: 92vw; background: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.15); overflow: hidden; z-index: 60; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #f1f1f1; }
.suggest a:hover, .suggest a.on { background: #f3f9fd; color: inherit; }
.suggest img { width: 44px; height: 44px; object-fit: contain; }
.suggest .s-name { font-weight: 700; color: var(--w-blue); font-size: 14px; line-height: 1.2; }
.suggest .s-cat { font-size: 12px; color: var(--muted); }
.suggest .s-price { margin-left: auto; font-size: 13px; font-weight: 700; white-space: nowrap; }
.suggest .s-all { justify-content: center; font-weight: 700; color: var(--w-blue); background: #f8f8f8; }
.suggest .s-empty { padding: 14px; color: var(--muted); font-size: 14px; }

/* ---------------- Mobile drawer ---------------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: .25s; z-index: 1100; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); background: #f0f5f8; transform: translateX(-100%); transition: transform .3s ease; z-index: 1101; display: flex; flex-direction: column; }
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #fff; border-bottom: 1px solid #e3e8ee; }
.drawer-head img { height: 34px; width: auto; }
.drawer-head button { background: none; border: 0; padding: 6px; }
.drawer-body { overflow-y: auto; flex: 1; padding: 6px 0 20px; }
.drawer-search { padding: 10px 14px; }
.drawer-search form { display: flex; border: 1px solid #cfd8e3; border-radius: 6px; background: #fff; overflow: hidden; }
.drawer-search input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font: inherit; }
.drawer-search button { border: 0; background: var(--nw-blue); color: #fff; padding: 0 14px; }
.m-menu { list-style: none; margin: 0; padding: 0; }
.m-menu > li > a, .m-menu > li > button { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 12px 18px; font-size: 16px; font-weight: 600; background: none; border: 0; text-align: left; color: #000; border-bottom: 1px solid #dde5ec; }
.m-menu .m-plaza { color: var(--nw-red); }
.m-sub { list-style: none; margin: 0; padding: 0; background: #fff; display: none; }
.m-sub.open { display: block; }
.m-sub > li > button, .m-sub > li > a { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 10px 18px 10px 28px; font-size: 15px; background: none; border: 0; border-bottom: 1px solid #eef2f6; text-align: left; color: #222; }
.m-sub .m-sub > li > a { padding-left: 42px; font-size: 14px; color: #444; }
.m-sub .m-sub { background: #fafcfe; }
button[aria-expanded="true"] > .ico { transform: rotate(180deg); }

/* ---------------- Hero slider ---------------- */
.slider { position: relative; overflow: hidden; background: #f3f5f8; }
.slider .slides { display: flex; transition: transform .7s cubic-bezier(.4,.1,.2,1); will-change: transform; }
.slider .slide { flex: 0 0 100%; position: relative; }
.slider .slide img { width: 100%; height: auto; aspect-ratio: 1920 / 750; object-fit: cover; }
.slider .slide img.contain { object-fit: contain; background: linear-gradient(90deg, #dfe7ef, #eef3f7, #dfe7ef); }
.slider .prev, .slider .next { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(0,0,0,.28); color: #fff; display: grid; place-items: center; opacity: 0; transition: .25s; z-index: 2; }
.slider:hover .prev, .slider:hover .next { opacity: 1; }
.slider .prev { left: 16px; } .slider .next { right: 16px; }
.slider .prev .ico, .slider .next .ico { width: 24px; height: 24px; }
.slider .dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slider .dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; box-shadow: 0 0 2px rgba(0,0,0,.4); }
.slider .dots button.on { background: #fff; }
.show-desktop { display: block; } .show-mobile { display: none; }

/* ---------------- Home: category chips ---------------- */
.section { padding: 46px 0; }
.section-title { text-align: center; margin-bottom: 26px; }
.section-title h2 { font-size: 32px; font-weight: 700; margin: 0; }
.section-title p { color: var(--muted); margin: 6px auto 0; max-width: 720px; }
.cat-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: center; transition: .2s; }
.cat-chip:hover { box-shadow: var(--shadow); color: var(--w-blue); transform: translateY(-2px); }
.cat-chip img { width: 96px; height: 96px; object-fit: contain; }
.cat-chip span { font-weight: 700; font-size: 14px; line-height: 1.2; }
.cat-chip small { color: var(--muted); font-size: 12px; }

/* Walton style full-width & half blocks */
.block { display: block; cursor: pointer; position: relative; margin-top: 10px; }
.block img { width: 100%; }
.half-block { display: grid; grid-template-columns: 5fr 7fr; align-items: center; background: var(--soft-2); margin-top: 10px; cursor: pointer; }
.half-block.reverse { grid-template-columns: 7fr 5fr; }
.half-block.reverse .hb-text { order: 2; }
.half-block .hb-text { padding: 40px 6% 40px 10%; }
.half-block .hb-img img { width: 100%; }
.hb-sub { font-size: 30px; margin: 0 0 6px; font-weight: 400; }
.hb-head { font-size: 48px; font-weight: 700; margin: 0 0 12px; }
.hb-text p { font-size: 19px; text-align: justify; margin: 0 0 20px; color: #222; }
.btn-explore { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--ink); color: var(--ink); padding: 8px 22px; border-radius: 24px; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; transition: .2s; }
.half-block:hover .btn-explore, .btn-explore:hover { background: var(--ink); color: #fff; }
.block-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 24px; display: flex; justify-content: flex-end; }
.block-caption .btn-explore { background: rgba(255,255,255,.92); border-color: #fff; }
.text-block { background: #fff; padding: 22px 8%; text-align: center; color: #333; font-size: 17px; }

/* ---------------- Product cards (Walton category grid) ---------------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pcard { position: relative; border: 1px solid #ddd; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s ease-out; }
.pcard:hover { box-shadow: var(--shadow); }
.pcard-name { padding: 12px 10px 4px; min-height: 58px; text-align: center; display: flex; align-items: center; justify-content: center; }
.pcard-name a { font-weight: 700; color: var(--w-blue); font-size: 17px; line-height: 1.15; word-break: break-word; }
.pcard-img { display: block; padding: 8px 14px; aspect-ratio: 1 / 1; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-sub { text-align: center; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pcard-price { padding: 4px 12px 8px; display: flex; align-items: baseline; justify-content: center; gap: 8px; min-height: 34px; }
.price { color: var(--w-blue); font-weight: 700; font-size: 16px; }
.price-na { color: var(--muted); font-size: 14px; font-style: italic; }
.mrp { color: #888; text-decoration: line-through; font-size: 13px; }
.pcard-actions { border-top: 1px solid #ddd; display: grid; grid-template-columns: 1fr 1fr; }
.pcard-actions a, .pcard-actions button { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; font-size: 14px; font-weight: 700; background: none; border: 0; color: #444; }
.pcard-actions > * + * { border-left: 1px solid #ddd; }
.pcard-actions .buy { color: var(--nw-red); }
.pcard-actions a:hover, .pcard-actions button:hover { background: #f5f9fc; color: var(--w-blue); }
.ribbon { position: absolute; top: 10px; left: 0; background: var(--w-sky); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; z-index: 1; }

/* ---------------- Breadcrumb & page head ---------------- */
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 10px 0; font-size: 14px; }
.breadcrumb li + li::before { content: '»'; padding: 0 8px; color: #6c757d; }
.breadcrumb a { color: #000; } .breadcrumb a:hover { color: var(--w-sky); }
.breadcrumb [aria-current] { color: var(--muted); }
.page-head { text-align: center; padding: 26px 0 8px; }
.page-head h1 { font-size: 34px; margin: 0; }
.page-head p { color: var(--muted); margin: 6px auto 0; max-width: 760px; }
.cat-banner img { width: 100%; }

/* ---------------- Category page ---------------- */
.subnav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 14px 0 6px; }
.subnav a { padding: 6px 16px; border: 1px solid #0862ae; border-radius: 20px; font-weight: 700; color: var(--w-blue); background: #ededed; font-size: 14px; }
.subnav a:hover { background: #fff; }
.subnav a.on { background: var(--w-blue); color: #fff; }
.subnav a small { font-weight: 400; opacity: .8; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.toolbar .count { color: var(--muted); }
.toolbar label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.select, .input { height: 38px; border: 1px solid #ced4da; border-radius: 4px; padding: 0 10px; font: inherit; font-size: 14px; background: #fff; min-width: 0; }
.cat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.filters { border: 1px solid var(--line); background: #fff; position: sticky; top: calc(var(--nav-h) + 12px); }
.filters h3 { font-size: 15px; text-transform: uppercase; margin: 0; padding: 12px 16px; background: #f8f8f8; border-bottom: 1px solid var(--line); }
.filters .f-group { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.filters .f-group:last-child { border-bottom: 0; }
.filters .f-title { font-weight: 700; margin-bottom: 8px; font-size: 14px; text-transform: uppercase; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 3px 0; cursor: pointer; }
.check input { accent-color: var(--w-blue); width: 16px; height: 16px; }
.check small { margin-left: auto; color: var(--muted); }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.price-inputs input { width: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 4px; border: 1px solid transparent; font-weight: 700; font-size: 15px; transition: .2s; white-space: nowrap; }
.btn-primary { background: var(--w-blue); color: #fff; } .btn-primary:hover { background: #064d8a; color: #fff; }
.btn-red { background: var(--nw-red); color: #fff; } .btn-red:hover { background: #c4161c; color: #fff; }
.btn-outline { border-color: var(--w-blue); color: var(--w-blue); background: #fff; } .btn-outline:hover { background: var(--w-blue); color: #fff; }
.btn-ghost { border-color: #ccc; color: #333; background: #fff; } .btn-ghost:hover { border-color: #999; color: #000; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.filter-toggle { display: none; }
.pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 26px 0 6px; }
.pagination button { min-width: 40px; height: 40px; border: 1px solid #ccc; background: #fff; font-weight: 700; color: #444; border-radius: 3px; }
.pagination button.on { background: #337ab7; border-color: #337ab7; color: #fff; }
.pagination button:disabled { opacity: .45; cursor: default; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); border: 1px dashed #ccc; border-radius: 8px; }
.empty h3 { color: var(--ink); }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.cat-tile { border: 1px solid #ddd; background: #fff; text-align: center; padding: 16px; transition: .2s; display: flex; flex-direction: column; align-items: center; }
.cat-tile:hover { box-shadow: var(--shadow); }
.cat-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: 10px; }
.cat-tile h3 { font-size: 18px; color: var(--w-blue); margin: 0 0 4px; }
.cat-tile p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------------- Product detail ---------------- */
.pd { display: grid; grid-template-columns: 7fr 5fr; gap: 36px; padding: 16px 0 30px; align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.gal-thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow-y: auto; scrollbar-width: thin; }
.gal-thumbs button { border: 1px solid #ddd; padding: 4px; background: #fff; aspect-ratio: 1 / 1; border-radius: 4px; flex: none; }
.gal-thumbs button.on { border-color: var(--w-blue); box-shadow: 0 0 0 1px var(--w-blue); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gal-main { position: relative; border: 1px solid #eee; aspect-ratio: 1 / 1; overflow: hidden; cursor: zoom-in; background: #fff; grid-column: 2; }
.gallery > .gal-main:only-child { grid-column: 1 / -1; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s; }
.gal-zoom { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); box-shadow: 0 1px 4px rgba(0,0,0,.2); display: grid; place-items: center; }
.pd-info h1 { font-size: 30px; margin: 0 0 4px; word-break: break-word; }
.pd-cat { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.pd-cat a { color: var(--w-blue); }
.pd-features { list-style: none; margin: 0 0 18px; padding: 0; }
.pd-features li { position: relative; padding: 3px 0 3px 18px; font-size: 14.5px; }
.pd-features li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; background: var(--w-sky); border-radius: 50%; }
.pd-price { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.pd-price .price { font-size: 28px; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-actions .btn { height: 46px; }
.pd-note { font-size: 13px; color: var(--muted); margin-top: 12px; display: flex; gap: 6px; }
.pd-contact { margin-top: 16px; padding: 12px 14px; background: #f3f8fd; border: 1px solid #d9e8f6; border-radius: 6px; font-size: 14px; }
.pd-contact a { color: var(--w-blue); font-weight: 700; }
.tabs { display: flex; justify-content: center; gap: 0; border-bottom: 1px solid #dee2e6; position: sticky; top: var(--nav-h); background: #fff; z-index: 5; overflow-x: auto; scrollbar-width: none; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 22px; font-weight: 600; font-size: 16px; color: #333; white-space: nowrap; }
.tabs button.on { color: var(--w-blue); border-bottom-color: var(--w-blue); font-weight: 700; }
.tab-panel { display: none; padding: 26px 0; }
.tab-panel.on { display: block; }
.feature-imgs { display: grid; gap: 10px; max-width: 1100px; margin: 0 auto; }
.feature-imgs img { width: 100%; }
.spec-wrap { max-width: 980px; margin: 0 auto; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 14.5px; }
.spec-table th { text-align: left; background: var(--w-blue); color: #fff; padding: 9px 14px; font-size: 15px; }
.spec-table td { padding: 8px 14px; border-bottom: 1px solid #e9ecef; vertical-align: top; }
.spec-table td:first-child { width: 42%; color: #444; font-weight: 600; }
.spec-table tr:nth-child(even) td { background: #f6f8fa; }
.missing-note { text-align: center; color: var(--muted); padding: 30px 10px; }

/* rails */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-prev, .rail-next { position: absolute; top: 40%; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ddd; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); display: grid; place-items: center; z-index: 3; }
.rail-prev { left: -14px; } .rail-next { right: -14px; }
.tabs-inline { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.tabs-inline button { border: 1px solid #ccd; background: #fff; padding: 6px 16px; border-radius: 20px; font-weight: 600; font-size: 14px; }
.tabs-inline button.on { background: var(--nw-blue); border-color: var(--nw-blue); color: #fff; }

/* videos */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; }
.video-card h4 { font-size: 14.5px; font-weight: 600; padding: 10px 12px 12px; margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: .3s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 44px; border-radius: 12px; background: rgba(227,30,36,.92); color: #fff; display: grid; place-items: center; }
.yt-play .ico { width: 26px; height: 26px; }
.yt-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video-feature { display: grid; grid-template-columns: 3fr 2fr; gap: 26px; align-items: center; }

/* plaza promo band */
.plaza-band { background: linear-gradient(110deg, #0b2b78 0%, #1e3c96 55%, #2a6fd0 100%); color: #fff; border-radius: 14px; padding: 34px 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; overflow: hidden; position: relative; }
.plaza-band h2 { font-size: 34px; margin: 0 0 8px; }
.plaza-band p { opacity: .92; margin: 0 0 18px; font-size: 16px; }
.plaza-band .btn { background: #fff; color: var(--nw-blue); }
.plaza-band .btn:hover { background: var(--nw-red); color: #fff; }
.plaza-band img { border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }

/* store info */
.store-info { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.store-info img { border-radius: 10px; }
.info-list { list-style: none; padding: 0; margin: 14px 0 0; }
.info-list li { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.info-list .ico { color: var(--nw-blue); width: 20px; height: 20px; margin-top: 3px; }
.info-list a { color: var(--w-blue); font-weight: 600; }

/* ---------------- Content pages ---------------- */
.prose { max-width: 900px; margin: 0 auto; font-size: 16.5px; color: #222; }
.prose h2 { font-size: 26px; margin-top: 1.4em; color: var(--nw-blue); }
.prose p { margin: 0 0 1em; text-align: justify; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.concerns { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.concerns .card h3 { font-size: 17px; color: var(--nw-blue); margin-bottom: 4px; }
.concerns .card p { margin: 0; font-size: 14px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #ced4da; border-radius: 4px; padding: 10px 12px; font: inherit; font-size: 15px; background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field .err { color: #c0392b; font-size: 13px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #c0392b; }
.field.invalid .err { display: block; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: #fff8e6; border: 1px solid #f3d27a; color: #6b5200; border-radius: 6px; padding: 12px 14px; font-size: 14px; }
.notice.ok { background: #eaf7ef; border-color: #a8dcb9; color: #1d5e33; }
.map-frame { width: 100%; height: 360px; border: 0; border-radius: 10px; }
.tip-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tip-cat { position: relative; display: block; overflow: hidden; border-radius: 20px; border: 0; padding: 0; background: none; }
.tip-cat img { width: 100%; object-fit: cover; border-radius: 20px; }
.tip-cat::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s; border-radius: 20px; z-index: 1; }
.tip-cat span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 1.4em; font-weight: 700; opacity: 0; transition: opacity .3s; text-align: center; z-index: 2; width: 90%; }
.tip-cat:hover::before, .tip-cat.on::before { opacity: 1; }
.tip-cat:hover span, .tip-cat.on span { opacity: 1; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid #eee; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 696 / 469; object-fit: cover; }
.post-card .pc-body { padding: 14px 16px 18px; }
.post-card .pc-cat { display: inline-block; background: var(--w-sky); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 8px; text-transform: uppercase; margin-bottom: 8px; }
.post-card h3 { font-size: 18px; margin: 0 0 6px; line-height: 1.3; }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; }
.blog-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; margin-bottom: 30px; }
.blog-hero .bh-side { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; }
.bh-item { position: relative; display: block; overflow: hidden; min-height: 200px; }
.bh-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s; }
.bh-item:hover img { transform: scale(1.05); }
.bh-item .bh-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; }
.bh-item h3 { margin: 0; font-size: 20px; }
.bh-main h3 { font-size: 28px; }
.article { max-width: 860px; margin: 0 auto; }
.article h1 { font-size: 34px; }
.article .hero-img { margin: 16px 0 24px; border-radius: 6px; }
.article p { font-size: 17px; line-height: 1.75; }

/* ---------------- Footer ---------------- */
.site-footer { margin-top: 40px; }
.footer-logo-band { background: linear-gradient(180deg, #fff 0%, #eef3fa 100%); border-top: 1px solid #e8edf3; padding: 26px 0; }
.footer-logo-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-logo-band img { height: 64px; width: auto; }
.footer-logo-band .flb-right { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-top { background: var(--soft); padding: 28px 0; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.footer-heading { font-size: 14px; color: var(--w-sky); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 2px 0; }
.footer-list a, .footer-list span { font-size: 14px; color: var(--muted); }
.footer-list a:hover { color: var(--w-sky); }
.footer-bottom { background: #f7f7f7; border-top: 1px solid #ddd; padding: 14px 0; font-size: 13px; color: var(--muted); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }

/* ---------------- Toasts & lightbox ---------------- */
#nw-toasts { position: fixed; right: 16px; bottom: 16px; z-index: 3000; display: flex; flex-direction: column; gap: 8px; max-width: calc(100vw - 32px); }
.nw-toast { background: #1d2733; color: #fff; padding: 12px 16px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.25); font-size: 14px; animation: tIn .3s ease; max-width: 380px; }
.nw-toast a { color: #8fd0ff; font-weight: 700; text-decoration: underline; }
.nw-toast.out { opacity: 0; transform: translateY(10px); transition: .4s; }
@keyframes tIn { from { opacity: 0; transform: translateY(10px); } }
.nw-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 4000; display: grid; place-items: center; }
.nw-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; background: #fff; }
.nw-lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.nw-lightbox button .ico { width: 26px; height: 26px; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }
.is-missing { opacity: .9; }
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .fade-up { opacity: 1; transform: none; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1280px) {
  .nav-link { padding: 0 8px; font-size: 13px; }
  .hb-head { font-size: 38px; } .hb-sub { font-size: 24px; } .hb-text p { font-size: 17px; }
  .grid.cols-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  :root { --nav-h: 58px; }
  .nav { grid-template-columns: auto 1fr auto; padding: 0 10px; }
  .nav-left .nav-item, .nav-right .nav-item, .nav-right .nav-search { display: none; }
  .nav-burger, .nav-icon-btn { display: inline-flex; }
  .brand { justify-content: flex-start; padding-left: 4px; }
  .brand img { height: 36px; }
  .nav-right .plaza-link { display: inline-flex; }
  .grid, .grid.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 320px); z-index: 1200; overflow-y: auto; transform: translateX(-105%); transition: transform .3s; border: 0; }
  body.filters-open .filters { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.3); }
  body.filters-open .drawer-backdrop { opacity: 1; visibility: visible; z-index: 1150; }
  .filter-toggle { display: inline-flex; }
  .filters .f-close { display: flex !important; }
  .pd { grid-template-columns: 1fr; gap: 20px; }
  .rail-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .video-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tip-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .half-block .hb-text { padding: 26px 5%; }
}
@media (max-width: 767px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  .dealer-strip .ds-right { display: none; }
  .dealer-strip .ds-left { font-size: 12px; }
  .nav-right .plaza-link { height: 32px; padding: 0 12px; font-size: 12px; margin: 0 2px; }
  .show-desktop { display: none; } .show-mobile { display: block; }
  .slider .prev, .slider .next { display: none; }
  .section { padding: 30px 0; }
  .section-title h2 { font-size: 24px; }
  .grid, .grid.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard-name { min-height: 52px; padding: 10px 6px 2px; }
  .pcard-name a { font-size: 14.5px; }
  .pcard-actions a, .pcard-actions button { font-size: 12.5px; padding: 9px 2px; }
  .price { font-size: 14.5px; }
  .half-block, .half-block.reverse { grid-template-columns: 1fr; }
  .half-block.reverse .hb-text { order: 0; }
  .half-block .hb-text { padding: 22px 16px; text-align: center; }
  .hb-head { font-size: 30px; } .hb-sub { font-size: 20px; } .hb-text p { font-size: 15.5px; text-align: center; }
  .cat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat-chip { padding: 10px 4px; } .cat-chip img { width: 64px; height: 64px; } .cat-chip span { font-size: 12.5px; }
  .rail-track { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
  .rail-prev, .rail-next { display: none; }
  .page-head h1 { font-size: 26px; }
  .toolbar { gap: 8px; }
  .toolbar .count { width: 100%; order: 3; font-size: 13px; }
  .gallery { grid-template-columns: 1fr; }
  .gal-main { grid-column: 1; }
  .gal-thumbs { flex-direction: row; order: 2; overflow-x: auto; max-height: none; }
  .gal-thumbs button { width: 64px; }
  .pd-info h1 { font-size: 24px; }
  .pd-actions { grid-template-columns: 1fr; }
  .tabs { justify-content: flex-start; }
  .tabs button { padding: 10px 14px; font-size: 14.5px; }
  .spec-table td { padding: 7px 8px; font-size: 13.5px; }
  .video-grid, .blog-grid { grid-template-columns: 1fr; }
  .video-feature, .store-info, .two-col, .plaza-band { grid-template-columns: 1fr; }
  .plaza-band { padding: 24px 20px; } .plaza-band h2 { font-size: 26px; }
  .tip-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tip-cat span { opacity: 1; font-size: 1.05em; } .tip-cat::before { opacity: .45; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-logo-band img { height: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .blog-hero { grid-template-columns: 1fr; }
  .bh-main h3 { font-size: 21px; }
  .map-frame { height: 280px; }
}
@media (max-width: 400px) {
  .brand img { height: 30px; }
  .nav-right .plaza-link { font-size: 11px; padding: 0 9px; }
  .nav-burger, .nav-icon-btn { padding: 6px; }
  .footer-cols { grid-template-columns: 1fr; }
  .cat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard-actions { grid-template-columns: 1fr; }
  .pcard-actions > * + * { border-left: 0; border-top: 1px solid #ddd; }
}
@media (max-width: 767px) { .slider .slide img.show-mobile { aspect-ratio: 700 / 550; } }
.pcard-sub { margin-top: auto; }
