/*
Theme Name: eSSL Catalog
Description: Product catalog theme for eSSL biometric attendance, face recognition and access control dealers.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: essl-catalog
*/

:root {
	--navy: #0d2c54;
	--navy-2: #143d72;
	--accent: #f05a28;
	--accent-dark: #d1461a;
	--green: #1fa855;
	--ink: #1d2733;
	--muted: #5b6878;
	--line: #e3e8ef;
	--bg: #ffffff;
	--bg-soft: #f4f7fb;
	--radius: 10px;
	--shadow: 0 6px 24px rgba(13, 44, 84, .08);
	--wrap: 1200px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; background: #fff; padding: 8px 12px; left: 8px; top: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 6px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: .2s; line-height: 1.2; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #178a45; color: #fff; }
.btn svg { width: 18px; height: 18px; display: inline-block; }

/* Top bar */
.topbar { background: var(--navy); color: #cfdaea; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: #ffd2c2; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 5px; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand .brand-name { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.brand .brand-name span { color: var(--accent); }
.brand .brand-tag { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.brand img { max-height: 54px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 11px; font-weight: 600; font-size: .92rem; color: var(--ink); border-radius: 6px; white-space: nowrap; }
.header-cta .btn { white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--accent); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 1px; }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 0 0 8px 8px; box-shadow: var(--shadow); padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { font-weight: 500; padding: 9px 16px; border-radius: 0; }
.main-nav .sub-menu a:hover { background: var(--bg-soft); }
@media (min-width: 921px) {
	/* Products menu: two columns once it gets long */
	.main-nav .sub-menu:has(> li:nth-child(10)) { display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); min-width: 520px; }
	.main-nav .sub-menu a { white-space: nowrap; }
}
.header-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }

/* Hero slider */
.hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #1c5596 100%); color: #fff; position: relative; overflow: hidden; }
.hero .slides { position: relative; min-height: 440px; }
.hero .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s; }
.hero .slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero .slide .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: 440px; padding-top: 40px; padding-bottom: 56px; }
.hero .eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffd2c2; background: rgba(240, 90, 40, .18); padding: 5px 12px; border-radius: 30px; margin-bottom: 14px; }
.hero .slide-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 14px; color: #fff; }
.hero p { color: #d6e2f2; font-size: 1.07rem; max-width: 560px; }
.hero .slide-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero .slide-media { background: #fff; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); border-radius: 18px; padding: 24px; max-width: 380px; justify-self: center; width: 100%; }
.hero .slide-media img, .hero .slide-media svg { margin: 0 auto; max-height: 320px; width: auto; }
.hero .dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero .dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; padding: 0; }
.hero .dots button.is-active { background: var(--accent); width: 28px; border-radius: 8px; }

/* Trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust .item { display: flex; gap: 12px; align-items: center; }
.trust .ico { flex: 0 0 46px; height: 46px; border-radius: 50%; background: #fff1eb; color: var(--accent); display: grid; place-items: center; }
.trust .ico svg { width: 22px; height: 22px; }
.trust strong { display: block; color: var(--navy); font-size: .95rem; }
.trust span { font-size: .83rem; color: var(--muted); }

/* Sections */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head .kicker { color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.section-head p { color: var(--muted); }
.section-foot { text-align: center; margin-top: 30px; }

/* Intro */
.intro .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.intro .lead { font-size: 1.08rem; color: var(--muted); }
.intro .intro-media { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.checklist { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.checklist li { padding-left: 28px; position: relative; font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: center; transition: .2s; display: flex; flex-direction: column; align-items: center; }
.cat-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cfd9e6; }
.cat-tile .tile-art { width: 150px; height: 150px; margin-bottom: 14px; display: grid; place-items: center; }
.cat-tile .tile-art img { max-height: 150px; width: auto; object-fit: contain; }
.intro .intro-media img { margin: 0 auto; max-height: 380px; width: auto; }
.product-card .pc-media img { object-fit: contain; }
.cat-tile h3 { margin-bottom: 6px; }
.cat-tile p { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.cat-tile .more { font-weight: 700; color: var(--accent); font-size: .9rem; margin-top: auto; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card .pc-media { background: #fff; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; }
.product-card .pc-media img, .product-card .pc-media svg { max-height: 100%; width: auto; }
.product-card .pc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card .pc-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 4px; }
.product-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.product-card h3 a { color: var(--navy); }
.product-card p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.product-card .pc-actions { margin-top: auto; display: flex; gap: 8px; }
.product-card .pc-actions .btn { padding: 8px 14px; font-size: .85rem; flex: 1; justify-content: center; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 22px 18px; border: 1px solid var(--line); }
.why-item .num { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }
.why-item h3 { font-size: 1rem; margin-bottom: 6px; }
.why-item p { font-size: .87rem; color: var(--muted); margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 24px 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 2rem; font-weight: 800; color: #ffd8ca; display: block; line-height: 1; margin-bottom: 10px; }
.step h3 { font-size: 1.02rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--accent), #ff7d45); color: #fff; padding: 44px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 4px; }
.cta-band p { margin: 0; color: #fff3ee; }
.cta-band .btn-light:hover { color: var(--accent); }

/* Page header */
.page-hero { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 40px 0 36px; }
.page-hero h1 { color: #fff; margin-bottom: 6px; }
.page-hero p { color: #d6e2f2; margin: 0; max-width: 760px; }
.breadcrumbs { font-size: .85rem; color: #b9c8dc; margin-bottom: 10px; }
.breadcrumbs a { color: #fff; }
.breadcrumbs .breadcrumb_last { color: #ffd2c2; }

/* Content */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; }
.layout.full { grid-template-columns: minmax(0, 1fr); }
.entry-content { font-size: 1.02rem; }
.entry-content h2 { margin-top: 1.6em; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.entry-content h3 { margin-top: 1.3em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content table, .spec-table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.entry-content th, .entry-content td, .spec-table th, .spec-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content thead th { background: var(--navy); color: #fff; }
.entry-content tbody tr:nth-child(even), .spec-table tr:nth-child(even) { background: var(--bg-soft); }
.spec-table th { width: 38%; background: #f9fbfd; color: var(--navy); font-weight: 600; }
.entry-content figure { margin: 0 0 1.4em; overflow-x: auto; }
.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }

/* Sidebar */
.sidebar .widget { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.sidebar h3 { font-size: 1.05rem; margin-bottom: 12px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { border-bottom: 1px solid var(--line); }
.sidebar li:last-child { border: 0; }
.sidebar li a { display: block; padding: 9px 0; font-weight: 500; color: var(--ink); }
.sidebar li a:hover { color: var(--accent); }
.sidebar .widget-cta { background: var(--navy); color: #d6e2f2; }
.sidebar .widget-cta h3 { color: #fff; }
.sidebar .widget-cta .btn { width: 100%; justify-content: center; margin-top: 10px; }

/* Single product */
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product-gallery { background: #fff; border-radius: 16px; padding: 30px; display: grid; place-items: center; border: 1px solid var(--line); }
.product-gallery img, .product-gallery svg { max-height: 420px; width: auto; }
.product-info .pc-cat { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.product-info .tagline { font-size: 1.1rem; color: var(--muted); }
.product-info .feature-list { list-style: none; padding: 0; margin: 18px 0; }
.product-info .feature-list li { padding: 6px 0 6px 28px; position: relative; border-bottom: 1px dashed var(--line); }
.product-info .feature-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 10px; }
.price-note { font-size: .88rem; color: var(--muted); }
.tabs-block { margin-top: 48px; }
.tabs-block h2 { font-size: 1.4rem; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.post-card .pc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.post-card h2, .post-card h3 { font-size: 1.1rem; }
.post-card p { color: var(--muted); font-size: .92rem; }
.post-card .more { margin-top: auto; font-weight: 700; color: var(--accent); }
.post-card .thumb { aspect-ratio: 16 / 9; background: linear-gradient(120deg, var(--navy), #1c5596); display: grid; place-items: center; color: #fff; padding: 18px; text-align: center; font-weight: 700; }
.pagination { margin-top: 32px; display: flex; gap: 6px; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.entry-meta { color: #d6e2f2; font-size: .9rem; }

/* Forms */
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry-form .full { grid-column: 1 / -1; }
.enquiry-form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 4px; color: var(--navy); }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #cdd6e2; border-radius: 6px; font: inherit; background: #fff; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: 2px solid #ffc4ae; border-color: var(--accent); }
.enquiry-form .hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; font-weight: 500; }
.notice-ok { background: #e7f7ee; color: #146c38; border: 1px solid #b6e4c8; }
.notice-err { background: #fdecea; color: #a12a1b; border: 1px solid #f5c2bb; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-soft); padding: 18px; border-radius: var(--radius); }
.contact-card .ico { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card strong { display: block; color: var(--navy); }

/* Footer */
.site-footer { background: #0a2240; color: #b9c8dc; font-size: .93rem; }
.site-footer .footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 16px 36px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--accent); border-radius: 2px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #dbe5f1; }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand-name { color: #fff; font-size: 1.3rem; font-weight: 800; display: block; margin-bottom: 10px; }
.site-footer .brand-name span { color: var(--accent); }
.site-footer .contact-line { display: flex; gap: 10px; margin-bottom: 10px; }
.site-footer .contact-line svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .83rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.disclaimer { font-size: .78rem; color: #8ea2bb; margin-top: 6px; }

/* Floating buttons */
.float-btns { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 12px; z-index: 60; }
.float-btns a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); transition: transform .2s; }
.float-btns a:hover { transform: scale(1.08); color: #fff; }
.float-btns svg { width: 28px; height: 28px; }
.float-btns .fb-wa { background: #25d366; }
.float-btns .fb-call { background: var(--accent); }

/* 404 */
.notfound { text-align: center; padding: 80px 0; }

/* Responsive */
@media (max-width: 1320px) {
	.header-cta .btn-outline { display: none; }
	.brand .brand-tag { max-width: 230px; }
}
@media (max-width: 1080px) {
	.why-grid { grid-template-columns: repeat(3, 1fr); }
	.product-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
	.main-nav a { padding: 10px 8px; font-size: .88rem; }
	.header-cta .btn-outline { display: none; }
}
@media (max-width: 920px) {
	.nav-toggle { display: block; }
	.main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: #fff; box-shadow: -10px 0 30px rgba(0, 0, 0, .15); transform: translateX(105%); transition: transform .25s; overflow-y: auto; padding: 70px 0 30px; z-index: 80; }
	.main-nav.is-open { transform: none; }
	.main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav a { padding: 12px 22px; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; background: var(--bg-soft); padding: 0; }
	.main-nav .sub-menu a { padding-left: 38px; }
	.main-nav li.sub-open > .sub-menu { display: block; }
	.nav-close { position: absolute; top: 16px; right: 16px; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--navy); }
	.nav-backdrop { position: fixed; inset: 0; background: rgba(10, 34, 64, .45); z-index: 70; display: none; }
	.nav-backdrop.is-open { display: block; }
	.header-cta .btn { display: none; }
	.hero .slide .wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; padding-bottom: 60px; min-height: 0; }
	.hero .slides { min-height: 0; }
	.hero .slide-media { max-width: 240px; padding: 16px; }
	.hero .slide-media img, .hero .slide-media svg { max-height: 200px; }
	.trust .wrap, .cat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
	.intro .wrap, .product-top, .layout { grid-template-columns: 1fr; }
	.product-grid, .product-grid.cols-4, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.why-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 921px) { .nav-close, .nav-backdrop { display: none !important; } }
@media (max-width: 600px) {
	.topbar .tb-right { display: none; }
	.section { padding: 46px 0; }
	.trust .wrap, .cat-grid, .steps, .why-grid, .product-grid, .product-grid.cols-4, .post-grid, .checklist, .enquiry-form { grid-template-columns: 1fr; }
	.site-footer .footer-cols { grid-template-columns: 1fr; }
	.content-card { padding: 20px; }
	.float-btns { right: 12px; bottom: 12px; }
	.float-btns a { width: 50px; height: 50px; }
	.brand .brand-name { font-size: 1.15rem; }
	.brand .brand-tag { display: none; }
	.brand img { max-height: 40px; }
}

/* Product FAQs */
.faq-block { margin: 36px 0 8px; }
.faq-block h2 { margin-bottom: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 18px; font-weight: 600; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 400; color: var(--muted); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.faq-answer { padding: 0 18px 14px; color: var(--text, inherit); }
.faq-answer p { margin: 0; }

/* Key specs on cards */
.pc-specs { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pc-specs li { font-size: .78rem; background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: 3px 10px; line-height: 1.4; }
.pc-specs-lg li { font-size: .85rem; padding: 4px 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }

/* Compare */
.cmp-toggle { align-self: flex-start; background: none; border: 0; padding: 0 0 12px; color: var(--navy-2); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.cmp-toggle:hover { text-decoration: underline; }
.cmp-toggle.is-on { color: var(--accent-dark); }
.product-actions .cmp-toggle { padding: 12px 18px; align-self: auto; }
.cmp-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.18); }
.cmp-tray[hidden] { display: none; }
.cmp-tray-inner { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.cmp-count { font-weight: 700; white-space: nowrap; }
.cmp-names { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .85; font-size: .9rem; }
.cmp-clear { background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 6px; padding: 7px 12px; cursor: pointer; font: inherit; font-size: .85rem; }
.cmp-go.is-disabled { opacity: .65; pointer-events: auto; cursor: default; }
body.has-cmp-tray { padding-bottom: 64px; }
.compare-wrap, .cat-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare-table, .cat-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare-table th, .compare-table td, .cat-table th, .cat-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.compare-table thead th { min-width: 190px; background: #fff; }
.compare-table tbody th { position: sticky; left: 0; background: #f9fbfd; color: var(--navy); font-weight: 600; min-width: 150px; }
.compare-table tr.is-diff td { background: #fff8f4; }
.compare-table .na { color: var(--muted); font-style: italic; }
.cmp-img { display: block; aspect-ratio: 4/3; margin-bottom: 8px; }
.cmp-img img, .cmp-img svg { width: 100%; height: 100%; object-fit: contain; }
.cmp-name { display: block; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.cmp-cat { display: block; font-size: .78rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.compare-empty { text-align: center; padding: 30px 0; }
.cat-table caption { text-align: left; padding: 12px; font-weight: 700; color: var(--navy); }
.cat-table thead th { background: #f9fbfd; color: var(--navy); white-space: nowrap; }
.cat-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.cat-table .ct-model a { font-weight: 700; white-space: nowrap; }
.cat-table .cmp-toggle { padding: 0; white-space: nowrap; }

/* Products page: search + category tiles */
.psearch { margin-top: 18px; max-width: 620px; }
.psearch input { width: 100%; padding: 14px 18px; font-size: 1.02rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.psearch input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.psearch-results[hidden], section[hidden] { display: none; }
.psearch-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ps-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; color: inherit; text-decoration: none; }
.ps-item:hover { box-shadow: var(--shadow); }
.ps-item img, .ps-noimg { width: 64px; height: 64px; object-fit: contain; flex: none; background: #fff; }
.ps-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ps-text strong { color: var(--navy); }
.ps-text span { font-size: .88rem; color: var(--muted); }
.ps-text .ps-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.ps-text .ps-k { color: var(--navy-2); }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px; color: inherit; text-decoration: none; transition: .2s; }
.cat-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-tile .ct-img { width: 84px; height: 84px; display: grid; place-items: center; }
.cat-tile .ct-img img, .cat-tile .ct-img svg { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-tile .ct-name { font-weight: 700; color: var(--navy); font-size: .92rem; line-height: 1.3; }
.cat-tile .ct-count { font-size: .8rem; color: var(--muted); }
@media (max-width: 720px) {
	.psearch-list { grid-template-columns: 1fr; }
	.cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cmp-names { display: none; }
	.cat-table td:nth-child(2) { min-width: 200px; }
}
