:root {
  --navy: #0d2238; --navy2: #15304d; --ink: #14263a; --muted: #5b6a79; --soft: #8a96a3;
  --line: #e2e8ee; --tile: #f3f5f8; --bg: #fff; --blue: #007bc2; --blue-d: #00659f; --red: #d82127;
  --wa: #168a4c; --wa-d: #107340; --r: 10px; --shadow: 0 1px 2px rgba(13,34,56,.06), 0 8px 24px rgba(13,34,56,.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.i { width: 18px; height: 18px; flex: none; }
.hide-s {}
.kick { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.kick.red { color: #ff6b70; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid rgba(0,123,194,.45); outline-offset: 2px; border-radius: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 700; font-size: 15px; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-d); }
.btn.dark { background: var(--navy); color: #fff; }
.btn.dark:hover { background: var(--navy2); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { background: var(--wa-d); }
.btn[disabled] { opacity: .6; cursor: progress; }
.lnk { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); font-size: 15px; }
.lnk:hover { color: var(--blue-d); }
.lnk.light { color: #fff; }
.lnk.sm { font-size: 13px; color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.topin { height: 76px; display: flex; align-items: center; gap: 32px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav a:hover, .nav a.on { color: var(--navy); }
.topact { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 8px; font-weight: 700; font-size: 14px; background: var(--navy); color: #fff; }
.tbtn.ghost { background: transparent; color: var(--wa); border: 1px solid var(--line); }
.tbtn.ghost:hover { border-color: #c7d2dc; }
.badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--red); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.badge.zero { background: rgba(255,255,255,.2); }
.badge.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu { display: none; width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }

/* hero */
.hero { background: linear-gradient(180deg, #f5f8fb 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.heroin { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 44px; }
.htxt h1 { margin-top: 14px; font-size: clamp(36px, 5vw, 60px); line-height: 1.03; font-weight: 800; letter-spacing: -.035em; color: var(--navy); }
.htxt > p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hsearch { margin-top: 28px; display: flex; gap: 8px; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: var(--shadow); }
.hsearch label { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 12px; color: var(--soft); }
.hsearch input { flex: 1; border: 0; outline: 0; height: 46px; font-size: 16px; color: var(--ink); background: transparent; min-width: 0; }
.hcta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mosaic .m { aspect-ratio: 1 / .9; background: var(--tile); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 18px; overflow: hidden; }
.mosaic .m img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mosaic .m.ph { padding: 0; }
.mosaic .m.ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); padding: 22px 0 26px; gap: 16px; font-size: 14px; color: var(--muted); }
.facts b { color: var(--navy); font-size: 18px; margin-right: 4px; }

/* sections */
.sec { padding: 88px 0; }
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.shead h2, .sec h2 { margin-top: 8px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; color: var(--navy); }
.rgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rtile { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.rtile:hover { border-color: #c9d6e2; box-shadow: var(--shadow); transform: translateY(-2px); }
.rimg { width: 72px; height: 64px; flex: none; background: var(--tile); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 6px; overflow: hidden; }
.rimg img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rimg.ph { padding: 0; }
.rimg.ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.rtxt { display: flex; flex-direction: column; min-width: 0; }
.rtxt b { font-size: 11px; color: var(--red); letter-spacing: .06em; }
.rtxt strong { font-size: 14.5px; line-height: 1.25; color: var(--navy); }
.rtxt em { font-style: normal; font-size: 12.5px; color: var(--soft); margin-top: 2px; }
.how { background: var(--tile); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border-radius: 12px; padding: 28px; border: 1px solid var(--line); }
.step span { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: .08em; }
.step h3 { margin-top: 10px; font-size: 20px; color: var(--navy); letter-spacing: -.01em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.center { text-align: center; margin-top: 34px; }
.perspex { background: var(--navy); color: #fff; }
.pin { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.perspex h2 { color: #fff; }
.ptxt > p { margin-top: 14px; color: #b8c7d6; font-size: 17px; }
.pl { margin: 22px 0 6px; padding-left: 20px; color: #dbe5ee; display: grid; gap: 8px; }
.pgrid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 10px; }
.pp { border-radius: 10px; overflow: hidden; background: #1c3854; }
.pp img { width: 100%; height: 100%; object-fit: cover; }
.pp.p0 { grid-row: span 2; }
.pp.p3 { grid-column: span 2; }
.brands { padding: 48px 0; border-bottom: 1px solid var(--line); text-align: center; }
.blist { list-style: none; margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-size: 20px; font-weight: 800; color: #9aa7b4; letter-spacing: -.01em; }
.cgrid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.lead { margin-top: 12px; color: var(--muted); font-size: 17px; }
.clist { margin-top: 26px; display: grid; gap: 12px; }
.clist a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.clist a:hover { border-color: #c2cfdb; }
.clist b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.ci { width: 44px; height: 44px; border-radius: 50%; background: var(--tile); color: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.ci.wa { background: #e6f4ec; color: var(--wa); }
.map { border-radius: 12px; overflow: hidden; min-height: 360px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* catalogue */
.catwrap { padding-bottom: 72px; }
.crumbs { font-size: 13px; color: var(--soft); padding-top: 24px; }
.crumbs a:hover { color: var(--blue); }
.chero { padding-bottom: 28px; }
.chin { margin-top: 16px; display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.chin h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1.08; }
.chin p { margin-top: 10px; color: var(--muted); max-width: 640px; }
.secno { display: inline-block; font-size: 13px; font-weight: 800; color: #fff; background: var(--red); padding: 4px 9px; border-radius: 4px; margin-bottom: 12px; }
.cimg { width: 220px; height: 150px; flex: none; background: var(--tile); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; }
.cimg img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cimg.ph { padding: 0; }
.cimg.ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.catlay { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.side { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.sidein a { display: flex; align-items: baseline; gap: 8px; padding: 8px 10px; border-radius: 7px; font-size: 14px; color: var(--muted); font-weight: 500; line-height: 1.3; }
.sidein a b { font-size: 11px; color: var(--soft); width: 18px; flex: none; }
.sidein a span { margin-left: auto; font-size: 12px; color: var(--soft); }
.sidein a:hover { background: var(--tile); color: var(--navy); }
.sidein a.on { background: var(--navy); color: #fff; }
.sidein a.on b, .sidein a.on span { color: #9fb8cf; }
.tools { position: sticky; top: 76px; z-index: 5; background: rgba(255,255,255,.96); padding: 12px 0; display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--soft); background: #fff; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,123,194,.15); }
.search input { flex: 1; border: 0; outline: 0; height: 100%; font-size: 15px; color: var(--ink); background: transparent; min-width: 0; }
.jump { display: none; height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; max-width: 46%; }
.resc { font-size: 13px; color: var(--soft); white-space: nowrap; }
.gsec { margin-top: 26px; }
.gsech { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--navy); }
.gsech h2 { font-size: 22px; margin: 0; letter-spacing: -.015em; }
.gsech h2 span { color: var(--red); font-size: 14px; margin-right: 10px; vertical-align: 3px; }
.gsech a { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 700; color: var(--blue); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); border-color: #cfdae4; }
.tilebtn { display: block; width: 100%; }
.tile { height: 190px; background: var(--tile); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 22px; }
.tile img { max-width: 100%; max-height: 100%; min-width: 0; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.card:hover .tile img { transform: scale(1.04); }
.tile.n2 img { max-width: calc(50% - 4px); }
.tile.n3 img { max-width: calc(33.3% - 6px); }
.tile.n4 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px 18px; }
.tile.n4 img { margin: auto; max-height: 76px; }
.tile.ph { padding: 0; gap: 2px; background: #e8edf2; }
.tile.ph img { width: 100%; height: 100%; max-width: none; object-fit: cover; mix-blend-mode: normal; }
.tile.ph.n2 img, .tile.ph.n3 img { flex: 1; width: 0; }
.card:hover .tile.ph img { transform: none; }
.cbody { flex: 1; display: flex; flex-direction: column; padding: 14px 16px 16px; }
.ref { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.card h3 { margin-top: 4px; font-size: 16px; line-height: 1.3; color: var(--navy); letter-spacing: -.01em; }
.card h3 button { text-align: left; }
.card h3 button:hover { color: var(--blue); }
.specs { list-style: none; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.specs i { font-style: normal; color: #b5bec8; padding: 0 3px; }
.specs .more { color: var(--soft); font-size: 12.5px; }
.add { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; margin-top: 14px; border-radius: 8px; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 700; font-size: 14px; transition: background .15s, color .15s; }
.add:hover { background: var(--navy); color: #fff; }
.add.in { background: #e6f4ec; border-color: #bfe2cd; color: var(--wa-d); }
.add .i { width: 15px; height: 15px; }
.card[hidden], .gsec[hidden] { display: none; }
.empty { text-align: center; padding: 56px 20px; border: 1px dashed #c9d3dd; border-radius: 12px; }
.empty h3 { color: var(--navy); font-size: 20px; }
.empty p { color: var(--muted); margin: 8px 0 18px; }
.helpbar { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px dashed #c9d3dd; border-radius: 12px; padding: 20px 24px; }
.helpbar b { display: block; color: var(--navy); }
.helpbar span { color: var(--muted); font-size: 14px; }

/* drawer + modal + toast */
.drawer, .modal { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.open, .modal.open { visibility: visible; }
.dback { position: absolute; inset: 0; background: rgba(9,22,36,.5); opacity: 0; transition: opacity .2s; }
.open .dback { opacity: 1; }
.dpanel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; }
.drawer.open .dpanel { transform: none; }
.dhead { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.dhead h3 { font-size: 19px; color: var(--navy); }
.x { width: 38px; height: 38px; border-radius: 8px; font-size: 26px; line-height: 1; color: var(--muted); }
.x:hover { background: var(--tile); }
.dbody { flex: 1; overflow: auto; padding: 8px 22px; }
.dfoot { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.dnote { margin-top: 10px; font-size: 12.5px; color: var(--soft); text-align: center; }
.ditem { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dimg { width: 56px; height: 48px; flex: none; border-radius: 6px; background: var(--tile); display: flex; align-items: center; justify-content: center; padding: 4px; overflow: hidden; }
.dimg img { max-height: 100%; mix-blend-mode: multiply; }
.dimg.ph { padding: 0; }
.dimg.ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.dtxt { flex: 1; min-width: 0; }
.dtxt b { display: block; font-size: 14px; color: var(--navy); line-height: 1.3; }
.dtxt span { font-size: 12px; color: var(--soft); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; height: 36px; flex: none; }
.qty button { width: 32px; height: 100%; font-size: 18px; color: var(--navy); }
.qty button:hover { background: var(--tile); }
.qty input { width: 44px; height: 100%; border: 0; text-align: center; font-weight: 700; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.dempty { padding: 36px 0; text-align: center; color: var(--muted); }
.dempty a { color: var(--blue); font-weight: 700; }
.modal { display: flex; align-items: center; justify-content: center; padding: 20px; }
.mpanel { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 14px; display: grid; grid-template-columns: 1.1fr 1fr; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .2s, transform .2s; }
.modal.open .mpanel { opacity: 1; transform: none; }
.mimgs { background: var(--tile); padding: 24px; display: grid; gap: 10px; align-content: center; min-height: 360px; }
.mimgs img { max-height: 420px; margin: auto; object-fit: contain; mix-blend-mode: multiply; }
.mimgs.multi { grid-template-columns: 1fr 1fr; }
.mimgs.multi img { max-height: 220px; }
.mimgs.ph { padding: 0; gap: 2px; }
.mimgs.ph img { width: 100%; height: 100%; max-height: none; object-fit: cover; mix-blend-mode: normal; }
.minfo { padding: 32px 30px 28px; display: flex; flex-direction: column; }
.minfo h2 { margin-top: 6px; font-size: 26px; line-height: 1.15; color: var(--navy); letter-spacing: -.02em; }
.msec { font-size: 13px; color: var(--soft); margin-top: 6px; }
.msec a { color: var(--blue); font-weight: 600; }
.mspecs { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.mspecs li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.mspecs i { font-style: normal; color: #b5bec8; padding: 0 3px; }
.mform { margin-top: 20px; display: grid; gap: 12px; }
.mform label { font-size: 13px; font-weight: 600; color: var(--muted); display: grid; gap: 6px; }
.mrow { display: flex; gap: 12px; align-items: end; }
.mrow .opt { flex: 1; }
.minput { height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; width: 100%; outline: 0; }
.minput:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,123,194,.15); }
.mclose { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255,255,255,.9); }
.mask { margin-top: 14px; font-size: 13.5px; }
.mask a { color: var(--wa); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--navy); color: #fff; border-radius: 10px; padding: 12px 14px 12px 18px; display: flex; align-items: center; gap: 16px; font-size: 14.5px; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: #fff; color: var(--navy); font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 7px; white-space: nowrap; }
body.lock { overflow: hidden; }

/* quote page */
.qwrap { padding-bottom: 80px; min-height: 60vh; }
.qh { margin-top: 12px; font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.qapp { margin-top: 24px; }
.qgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.qtop { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 2px solid var(--navy); font-weight: 700; color: var(--navy); }
.qlist { list-style: none; margin-bottom: 18px; }
.qitem { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.qitem .dimg { width: 84px; height: 72px; }
.qitem b { display: block; color: var(--navy); line-height: 1.3; }
.qitem .ref { margin-bottom: 2px; }
.qmeta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.qopt { margin-top: 10px; height: 40px; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font-size: 14px; outline: 0; }
.qopt:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,123,194,.15); }
.qright { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.rm { font-size: 13px; color: var(--soft); font-weight: 600; }
.rm:hover { color: var(--red); }
.qform { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.qform h2 { font-size: 22px; color: var(--navy); letter-spacing: -.015em; }
.qform .muted { margin-top: -8px; font-size: 14px; }
.qform label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.qform label em { font-style: normal; color: var(--soft); font-weight: 500; }
.qform input, .qform textarea { border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; font-size: 15px; outline: 0; resize: vertical; }
.qform input:focus, .qform textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,123,194,.15); }
.qform input.bad { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ferr { color: var(--red); font-size: 14px; font-weight: 600; min-height: 0; }
.ferr:empty { display: none; }
.fine { font-size: 12.5px; color: var(--soft); text-align: center; }
.qempty, .qdone { text-align: center; max-width: 560px; margin: 30px auto; padding: 48px 28px; border: 1px solid var(--line); border-radius: 14px; }
.qempty h2, .qdone h2 { color: var(--navy); font-size: 24px; }
.qempty p, .qdone p { color: var(--muted); margin: 10px 0 22px; }
.qdone .qno { display: inline-block; margin-top: 8px; font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: .04em; }
.qdone .tick { width: 56px; height: 56px; border-radius: 50%; background: #e6f4ec; color: var(--wa); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.qdone .acts { display: grid; gap: 12px; justify-items: center; }
.qdone small { display: block; color: var(--soft); font-size: 13px; margin-top: 18px; }
.nf { padding: 100px 24px; text-align: center; }
.nf h1 { font-size: 40px; color: var(--navy); }
.nf p { color: var(--muted); margin: 10px 0 24px; }

/* quote view (printable) */
.qview { max-width: 860px; padding-top: 40px; padding-bottom: 60px; }
.qvhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 20px; border-bottom: 2px solid var(--navy); }
.qvhead img { height: 54px; }
.qvhead .r { text-align: right; }
.qvhead .r b { display: block; font-size: 24px; color: var(--navy); letter-spacing: .03em; }
.qvhead .r span { font-size: 13px; color: var(--muted); }
.qvcust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; margin: 22px 0; font-size: 14.5px; }
.qvcust b { color: var(--soft); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; display: block; }
.qvtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.qvtable th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.qvtable td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.qvtable td.n { text-align: right; font-weight: 700; white-space: nowrap; }
.qvtable td.r { color: var(--blue); font-weight: 700; white-space: nowrap; font-size: 12.5px; }
.qvnote { margin-top: 20px; padding: 14px 16px; background: var(--tile); border-radius: 8px; font-size: 14px; white-space: pre-wrap; }
.qvacts { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.foot { background: var(--navy); color: #b8c7d6; padding: 64px 0 28px; margin-top: 0; }
.fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.flogo { background: #fff; border-radius: 8px; padding: 8px 10px; width: 130px; height: auto; }
.fabout p { margin: 18px 0; font-size: 14px; max-width: 320px; }
.foot h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.flinks { display: grid; gap: 8px; font-size: 14px; }
.flinks a:hover { color: #fff; }
.fbot { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.fbot a { color: #fff; font-weight: 600; }

/* responsive */
@media (max-width: 1080px) {
  .rgrid { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu { display: flex; }
  .heroin, .pin, .cgrid, .qgrid { grid-template-columns: 1fr; gap: 36px; }
  .heroin { padding-top: 40px; }
  .catlay { grid-template-columns: 1fr; }
  .side { display: none; }
  .jump { display: block; }
  .tools { top: 76px; flex-wrap: wrap; }
  .search { flex-basis: 100%; }
  .resc { margin-left: auto; }
  .qform { position: static; }
  .steps { grid-template-columns: 1fr; }
  .cimg { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hide-s { display: none; }
  .topin { height: 66px; gap: 12px; }
  .brand img { height: 38px; }
  .nav { top: 66px; }
  .tools { top: 66px; }
  .tbtn { padding: 0 12px; }
  .sec { padding: 60px 0; }
  .rgrid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { height: 132px; padding: 12px; }
  .cbody { padding: 10px 12px 12px; }
  .card h3 { font-size: 14.5px; }
  .specs { font-size: 12.5px; }
  .specs li:nth-child(n+3) { display: none; }
  .add { width: 100%; justify-content: center; padding: 0 8px; font-size: 13px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .mosaic { gap: 8px; }
  .hsearch .btn { padding: 0 16px; }
  .pgrid { grid-template-rows: 150px 150px; }
  .mpanel { grid-template-columns: 1fr; }
  .mimgs { min-height: 240px; }
  .mimgs img { max-height: 260px; }
  .minfo { padding: 22px 20px; }
  .modal { padding: 0; align-items: flex-end; }
  .mpanel { border-radius: 14px 14px 0 0; max-height: 92vh; }
  .toast { left: 16px; right: 16px; transform: translateY(20px); justify-content: space-between; }
  .toast.show { transform: none; }
  .qitem { grid-template-columns: 64px 1fr; }
  .qitem .dimg { width: 64px; height: 56px; }
  .qright { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .helpbar { flex-direction: column; align-items: flex-start; }
  .fgrid { grid-template-columns: 1fr; }
  .qvcust { grid-template-columns: 1fr; }
  .shead { flex-direction: column; align-items: flex-start; }
}
@media print {
  .top, .foot, .qvacts, .drawer, .modal, .toast { display: none !important; }
  .qview { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ===== products, categories, header search, options ===== */
.btn.ghostbtn { border: 1px solid var(--line); color: var(--navy); background: #fff; }
.btn.ghostbtn:hover { border-color: #c2cfdb; }

/* header search */
.hs { position: relative; flex: 1; max-width: 380px; margin-left: auto; }
.hs label { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #f7f9fb; color: var(--soft); }
.hs label:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(0,123,194,.15); }
.hs input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 100%; font-size: 14.5px; color: var(--ink); }
.topact { margin-left: 0; }
.sbtn { display: none; width: 42px; padding: 0; justify-content: center; color: var(--navy) !important; }
.hsdrop { position: absolute; top: calc(100% + 6px); left: 0; width: min(520px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(13,34,56,.18); padding: 6px; z-index: 60; max-height: min(70vh, 560px); overflow: auto; }
.hsr { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; }
.hsr:hover, .hsr.sel { background: var(--tile); }
.hsimg { width: 48px; height: 42px; flex: none; border-radius: 6px; background: var(--tile); display: flex; align-items: center; justify-content: center; padding: 3px; overflow: hidden; }
.hsr:hover .hsimg, .hsr.sel .hsimg { background: #fff; }
.hsimg img { max-height: 100%; mix-blend-mode: multiply; }
.hsimg.ph { padding: 0; } .hsimg.ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.hst { flex: 1; min-width: 0; text-align: left; display: flex; flex-direction: column; }
.hst b { font-size: 14px; color: var(--navy); line-height: 1.3; }
.hst span { font-size: 12px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hsadd { width: 36px; height: 36px; flex: none; border-radius: 8px; border: 1.5px solid var(--navy); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.hsadd:hover { background: var(--navy); color: #fff; }
.hsall { display: block; padding: 11px 8px 7px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--blue); }
.hsnone { padding: 14px 10px; font-size: 14px; color: var(--muted); }
.hsnone a { color: var(--wa); font-weight: 700; }
@media (max-width: 1240px) { .wide-only { display: none; } }

/* products index */
.chin .ghostbtn { flex: none; }
.cgrid2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.ctile { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, box-shadow .15s; }
.ctile:hover { border-color: #c9d6e2; box-shadow: var(--shadow); }
.ctop { display: flex; align-items: center; gap: 14px; }
.cimg2 { width: 88px; height: 76px; flex: none; background: var(--tile); border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 8px; overflow: hidden; }
.cimg2 img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cimg2.ph { padding: 0; } .cimg2.ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.ctt { display: flex; flex-direction: column; }
.ctt strong { font-size: 17px; color: var(--navy); line-height: 1.25; letter-spacing: -.01em; }
.ctop:hover strong { color: var(--blue); }
.ctt em { font-style: normal; font-size: 13px; color: var(--soft); margin-top: 2px; }
.csubs { display: flex; flex-wrap: wrap; gap: 6px; }
.csubs a { font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--tile); border-radius: 999px; padding: 5px 10px; line-height: 1.2; }
.csubs a:hover { background: var(--navy); color: #fff; }
.csubs a.more { background: none; color: var(--blue); }
.cwhere { font-size: 11.5px; color: var(--soft); margin-bottom: 2px; }

/* category page: subcategory chips */
.tools { flex-wrap: wrap; }
.chips { flex-basis: 100%; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 1px 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); background: #fff; white-space: nowrap; }
.chip span { font-size: 11.5px; color: var(--soft); font-weight: 600; }
.chip:hover { border-color: #b9c7d4; color: var(--navy); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.on span { color: #9fb8cf; }
.gsech span { font-size: 13px; color: var(--soft); }
.sidesub { margin: 2px 0 8px 10px; padding-left: 8px; border-left: 2px solid var(--line); }
.sidein .sidesub a { font-size: 13px; padding: 6px 8px; }
.sidein .sidesub a.on { background: var(--tile); color: var(--navy); font-weight: 700; }
.sidein .sidesub a.on span { color: var(--soft); }
.pnote { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff5f5; border: 1px solid #f6d3d4; border-radius: 12px; padding: 14px 18px; font-size: 14.5px; color: var(--ink); }

/* card quantity stepper */
.cact { margin-top: auto; padding-top: 14px; }
.cact .add { margin-top: 0; }
.cstep { display: inline-flex; align-items: center; height: 38px; border-radius: 8px; background: #e6f4ec; border: 1.5px solid #bfe2cd; color: var(--wa-d); overflow: hidden; }
.cstep > button:not(.cstepn) { width: 36px; height: 100%; font-size: 18px; font-weight: 700; color: var(--wa-d); }
.cstep > button:not(.cstepn):hover { background: #d3ecdd; }
.cstepn { padding: 0 6px; font-size: 13.5px; font-weight: 600; white-space: nowrap; color: var(--wa-d); }
.cstepn b { font-size: 15px; }

/* modal options */
.ogs { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfc; }
.ogs.hint, .ogs.need { border-color: #f2c94c; background: #fffbea; }
.ohint { font-size: 13.5px; font-weight: 700; color: #8a6100; }
.og { display: grid; gap: 7px; }
.oglab { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.ochips { display: flex; flex-wrap: wrap; gap: 6px; }
.ochip { height: 34px; padding: 0 12px; border: 1px solid #d5dee6; border-radius: 8px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ochip:hover { border-color: var(--navy); }
.ochip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.mform .btn .i { width: 16px; height: 16px; }
.mlines:empty { display: none; }
.mlines { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13.5px; }
.mlines > b { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--wa-d); }
.mline { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.mline > span { flex: 1; min-width: 0; color: var(--ink); }
.mask { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.mcopy { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.mcopy:hover { color: var(--navy); }
.mcopy .i { width: 16px; height: 16px; }

/* sticky quote bar (phones) */
.qbar { display: none; }

/* quote page extras */
.refadd { margin-bottom: 22px; padding: 16px 18px; border: 1px dashed #c9d3dd; border-radius: 12px; display: grid; gap: 10px; }
.refadd label { font-size: 14px; color: var(--muted); }
.refadd label b { color: var(--navy); margin-right: 4px; }
.refadd code { font-family: inherit; font-weight: 700; color: var(--navy); background: var(--tile); padding: 1px 6px; border-radius: 4px; }
.refrow { display: flex; gap: 8px; max-width: 520px; }
.refrow input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; outline: 0; }
.refrow input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,123,194,.15); }
.referr { font-size: 13.5px; color: var(--wa-d); font-weight: 600; }
.referr:empty { display: none; }
.referr.bad { color: var(--red); }
.qneed { margin-top: 12px; padding: 10px 14px; border-radius: 8px; background: #fffbea; border: 1px solid #f2c94c; color: #8a6100; font-size: 13.5px; font-weight: 600; }
.qopt.need { border-color: #f2c94c; background: #fffdf3; }
.qthumb { display: block; }

@media (max-width: 1080px) {
  .cgrid2 { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 20px; }
  .hs { max-width: 300px; }
}
@media (max-width: 900px) {
  .hs { position: fixed; top: 76px; left: 0; right: 0; max-width: none; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; z-index: 41; }
  body.searching .hs { display: block; }
  .hsdrop { position: static; width: 100%; margin-top: 8px; box-shadow: none; max-height: 65vh; }
  .sbtn { display: inline-flex; }
  .topact { margin-left: auto; }
  body.hasbar .qbar:not([hidden]) { display: flex; }
  .qbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; height: 54px; align-items: center; justify-content: space-between; padding: 0 16px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 14.5px; box-shadow: 0 10px 30px rgba(9,22,36,.3); }
  .qbar b { background: var(--red); border-radius: 11px; padding: 1px 7px; margin-right: 4px; }
  .qbar span:last-child { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
  body.hasbar .foot { padding-bottom: 96px; }
  body.hasbar .toast { bottom: 78px; }
  .pnote { flex-direction: column; align-items: flex-start; }
  .chin .ghostbtn { display: none; }
}
@media (max-width: 640px) {
  .hs { top: 66px; }
  .cgrid2 { grid-template-columns: 1fr; }
  .cimg2 { width: 72px; height: 62px; }
  .cstep { width: 100%; justify-content: space-between; }
  .cstepn { font-size: 12.5px; }
  .cact .add { width: 100%; }
  .mline { flex-wrap: wrap; }
  .refrow { max-width: none; }
}

.catmain { min-width: 0; }
@media (max-width: 640px) { .fgrid > div:nth-child(3) h4 { display: none; } .fgrid > div:nth-child(3) { margin-top: -32px; } }
