/*
Theme Name: AIBS Catalog
Theme URI: https://aibs.com.my
Author: Ai Business Solutions Sdn Bhd
Description: Product catalogue for Ai Business Solutions Sdn Bhd with a built-in enquiry inbox, quotation requests (including items not listed on the website) and a quotation builder that emails PDF quotations from the sales mailbox. Colours and fonts match the AIBS logo. No paid plugins required.
Version: 2.3.18
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: aibs
*/

/* =========================================================
   Fonts (self-hosted — no requests to Google)
   ========================================================= */
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/exo-2-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/exo-2-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/exo-2-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/inter-latin-700-normal.woff2') format('woff2'); }

/* =========================================================
   Tokens — taken from the AIBS logo
   Navy #1C2858 and Azure #248ACB; text colours meet WCAG AA.
   ========================================================= */
:root {
	--navy: #1C2858;        /* logo indigo navy — headings, primary buttons */
	--navy-2: #243470;
	--ink: #131A3D;         /* deepest — top bar, footer */
	--azure: #248ACB;       /* logo blue — accents, large text, icons */
	--azure-600: #1B6FA8;   /* links & small text: 5.4:1 on white, 5.1:1 on paper, 4.8:1 on sky */
	--azure-700: #16639A;   /* hover */
	--azure-300: #7CC4F0;   /* text/links on navy (7.4:1) */
	--sky: #E8F2FB;
	--paper: #F4F8FC;
	--line: #DCE5F0;
	--line-2: #C5D3E3;
	--text: #3F4C63;        /* body text (8.4:1) */
	--muted: #56657C;       /* secondary text (5.9:1 on white, 5.5:1 on paper) */
	--head: #1C2858;
	--white: #fff;
	--ok: #15803D;
	--ok-bg: #F0FDF4;
	--err: #B91C1C;
	--wa: #0F7A41;
	--grad: linear-gradient(90deg, #1C2858 0%, #248ACB 100%);
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(28, 40, 88, .06), 0 10px 28px -14px rgba(28, 40, 88, .25);
	--shadow-lg: 0 24px 60px -24px rgba(19, 26, 61, .45);
	--f-head: 'Exo 2', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--wrap: 1200px;
	--header-h: 76px;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--azure-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--azure-700); }
h1, h2, h3, h4, .h4 { font-family: var(--f-head); color: var(--head); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.2rem); }
h3 { font-size: 1.22rem; font-weight: 600; }
.h4, h4 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; border-radius: 4px; }
.site-main:focus { outline: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { left: 8px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.entry-content.narrow p { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; } /* v2.3.9: centred column, paragraphs fill it evenly */
.mono { font-family: var(--f-mono); }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.125rem; }
.ico { flex: none; vertical-align: middle; }
[hidden] { display: none !important; }

/* Signature elements from the logo: label + gradient rule with "pixel steps" */
.aibs-tag { font-family: var(--f-head) !important; font-size: 13px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--azure-600) !important; margin: 0 0 8px !important; }
.aibs-tag.on-dark { color: var(--azure-300) !important; }
.aibs-rule { display: block; position: relative; width: 96px; height: 4px; margin: 14px 0 24px; border-radius: 1px; background: var(--grad); }
.aibs-rule::before, .aibs-rule::after { content: ""; position: absolute; width: 6px; height: 6px; background: var(--azure); }
.aibs-rule::before { right: -10px; top: -6px; background: var(--navy); }
.aibs-rule::after { right: -18px; top: -14px; }
.aibs-rule.on-dark { background: linear-gradient(90deg, #fff, var(--azure-300)); }
.aibs-rule.on-dark::before { background: #fff; }
.aibs-rule.on-dark::after { background: var(--azure-300); }
.center + .aibs-rule, h2.center ~ .aibs-rule { margin-left: auto; margin-right: auto; }

/* =========================================================
   Buttons
   ========================================================= */
.btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm); font: 600 15px/1.2 var(--f-body); border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; white-space: nowrap; -webkit-appearance: none; appearance: none; }
.btn-primary, .wp-block-button__link { background: var(--navy); color: #fff; }
.btn-primary:hover, .wp-block-button__link:hover { background: var(--azure-700); color: #fff; }
.btn-azure { background: var(--azure-600); color: #fff; }
.btn-azure:hover { background: var(--azure-700); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--azure-600); color: var(--azure-700); }
.btn.added { border-color: #86EFAC; background: var(--ok-bg); color: var(--ok); }
.btn-primary.added { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { min-height: 52px; padding: 13px 24px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 7px 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.grow { flex: 1 1 auto; }
.small-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.small-link:hover { text-decoration: underline; }

/* =========================================================
   Header
   ========================================================= */
.topbar { background: var(--ink); color: #C9D6EE; font-size: 13.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 6px 20px; flex-wrap: wrap; }
.topbar-tag { margin: 0; font-family: var(--f-head); font-weight: 500; letter-spacing: .06em; }
.topbar-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a { color: #E2EAF7; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.topbar a:hover { color: var(--azure-300); }
.topbar .ico { width: 15px; height: 15px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.social a { display: inline-grid !important; place-items: center; width: 36px; height: 36px; border-radius: 50%; text-decoration: none; transition: background .15s, color .15s; }
.social-top a { width: 32px; height: 32px; background: rgba(255, 255, 255, .08); }
.social-top a:hover { background: var(--azure); color: #fff; }
.social-foot { margin-top: 16px; }
.social-foot a { background: rgba(255, 255, 255, .08); color: #fff; width: 40px; height: 40px; }
.social-foot a:hover { background: var(--azure); color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); opacity: .9; }
.site-header.scrolled { box-shadow: 0 6px 20px -12px rgba(28, 40, 88, .3); }
.admin-bar .site-header { top: 32px; }
.header-in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { flex: none; display: block; padding: 6px 0; }
.brand-logo { width: auto; height: 50px; max-width: 220px; object-fit: contain; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.main-nav .menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; color: var(--navy); text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: 16px; border-radius: 6px; }
.main-nav .menu a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a, .main-nav .current-menu-parent > a { color: var(--azure-600); background: var(--sky); }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); list-style: none; padding: 6px; margin: 0; opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s; z-index: 5; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-search { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 99px; background: var(--paper); padding: 0 4px 0 14px; }
.nav-search input[type="search"] { border: 0; background: transparent; padding: 9px 0; width: 160px; min-height: 42px; font: inherit; font-size: 15px; outline: none; box-shadow: none; color: var(--navy); min-width: 0; }
.nav-search:focus-within { border-color: var(--azure-600); box-shadow: 0 0 0 3px rgba(36, 138, 203, .2); }
.nav-search button { border: 0; background: transparent; width: 40px; height: 40px; color: var(--muted); cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.quote-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; background: var(--navy); color: #fff; padding: 0 18px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.quote-pill:hover { background: var(--azure-700); color: #fff; }
.qp-count { background: var(--azure-300); color: var(--ink); border-radius: 99px; min-width: 24px; height: 24px; padding: 0 7px; font: 700 13px/24px var(--f-body); text-align: center; }
.nav-toggle { display: none; border: 1px solid var(--line-2); background: #fff; border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--navy); place-items: center; }
.nav-toggle .nt-close { display: none; }
.nav-open .nav-toggle .nt-open { display: none; }
.nav-open .nav-toggle .nt-close { display: block; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 18px 0 10px; font-size: 14px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--azure-700); }
.crumbs span { color: var(--navy); }
.page-hero .crumbs span { color: #fff; }
.page-hero .crumbs a { color: #C9D6EE; }
.page-hero .crumbs li::after { color: #6F7FA8; }

/* =========================================================
   Hero & dark bands
   ========================================================= */
.hero, .page-hero, .cta-band { background-color: var(--navy); color: #DCE5F5; position: relative; overflow: hidden; isolation: isolate; }
.hero { background-image: radial-gradient(900px 500px at 85% 10%, rgba(36, 138, 203, .45), transparent 60%), linear-gradient(160deg, #1C2858 0%, #18224C 60%, #131A3D 100%); }
.hero::before, .page-hero::before, .cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.hero-pixels { position: absolute; z-index: -1; right: 4%; top: 28px; width: 160px; height: 120px; }
.hero-pixels span { position: absolute; width: 40px; height: 40px; }
.hero-pixels span:nth-child(1) { left: 0; top: 40px; background: #131A3D; }
.hero-pixels span:nth-child(2) { left: 40px; top: 0; background: var(--azure); opacity: .55; }
.hero-pixels span:nth-child(3) { left: 80px; top: 40px; background: var(--azure); opacity: .85; }
.hero h1, .page-hero h1, .cta-band h2 { color: #fff; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 80px 20px 88px; }
.hero .lead { color: #DCE5F5; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: #C9D6EE; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ico { color: var(--azure-300); width: 16px; height: 16px; }
.hero-card { background: #fff; color: var(--text); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); position: relative; }
.hero-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 18px 18px 0 0; background: var(--grad); }
.hc-title { font-size: 1.45rem; margin-bottom: 4px; }
.hc-text { font-size: 15px; color: var(--muted); }
.hc-form { margin-top: 14px; }
.hc-form label { display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.hc-row { display: flex; gap: 8px; }
.hc-row input { flex: 1; min-width: 0; }
.hc-row .btn { flex: none; }
.hc-foot { margin: 16px 0 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

.page-hero { background-image: radial-gradient(700px 300px at 90% 0%, rgba(36, 138, 203, .4), transparent 60%); }
.page-hero .wrap { padding-top: 8px; padding-bottom: 46px; }
.page-hero .lead { color: #DCE5F5; max-width: 760px; margin: 0; }
.page-hero h1 { margin-top: 6px; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 76px 0; }
.section-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .aibs-rule { margin-bottom: 0; }
.section-lead { font-size: 1.08rem; max-width: 680px; margin-top: -6px; }

/* Category cards */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.cat-card { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--text); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--azure); color: var(--text); }
.cat-img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #f4f7fb; padding: 10px; border-bottom: 1px solid var(--line); }
.cat-ico { display: grid; place-items: center; width: 52px; height: 52px; margin: 20px 20px 0; border-radius: 12px; background: var(--sky); color: var(--azure-600); }
.cat-ico .ico { width: 26px; height: 26px; }
.cat-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 20px 20px; flex: 1; }
.cat-name { font: 600 1.1rem/1.25 var(--f-head); color: var(--navy); }
.cat-desc { font-size: 14.5px; color: var(--muted); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.p-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-2); }
.p-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.p-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.p-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--line-2); background: var(--paper); }
.p-noimg .ico { width: 48px; height: 48px; }
.p-noimg.big { aspect-ratio: 4/3; }
.p-noimg.big .ico { width: 96px; height: 96px; }
.p-badge { position: absolute; top: 10px; left: 10px; background: #DCFCE7; color: #166534; font: 600 12px var(--f-body); padding: 3px 10px; border-radius: 99px; }
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.p-meta { display: flex; justify-content: space-between; gap: 8px; font: 600 12px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--azure-600); margin: 0 0 6px; }
.p-meta span { color: var(--muted); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-weight: 400; text-transform: none; }
.p-title { font-size: 1.08rem; margin: 0 0 6px; line-height: 1.3; }
.p-title a { color: var(--navy); text-decoration: none; }
.p-title a:hover { color: var(--azure-600); text-decoration: underline; }
.p-excerpt { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px dashed var(--line); }
.p-price { font-weight: 600; font-size: 14.5px; color: var(--navy); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin-top: 30px; }
.pillar { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.pillar::after { content: ""; position: absolute; right: 0; top: 0; width: 44px; height: 44px; background: var(--sky); }
.pillar::before { content: ""; position: absolute; right: 44px; top: 44px; width: 22px; height: 22px; background: var(--paper); }
.pillar-no { font: 700 13px var(--f-head); color: var(--azure-600); letter-spacing: .1em; }
.pillar-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: #fff; }
.pillar-ico .ico { width: 26px; height: 26px; }
.pillar h3 { margin: 6px 0 0; font-size: 1.3rem; }
.pillar p { margin: 0 0 6px; }
.pillar .small-link { margin-top: auto; }

/* How it works */
.how { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step-no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--grad); color: #fff; font: 700 17px var(--f-head); margin-bottom: 12px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 15px; }

/* Clients & brands */
.clients h2 { margin-bottom: 26px; }
.client-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.client-list li { padding: 12px 20px; border: 1px solid var(--line); border-radius: 99px; font: 600 15px var(--f-head); color: var(--navy); background: #fff; }
.brands-h { margin-top: 40px !important; }
.brand-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.brand-logos a { display: grid; place-items: center; height: 84px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.brand-logos img { max-height: 52px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.brand-logos a:hover img { filter: none; opacity: 1; }

/* Home editable content */
.home-content .wp-block-columns { gap: 20px; }
.aibs-features > .wp-block-column { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.aibs-features > .wp-block-column::before { content: ""; display: block; width: 40px; height: 4px; margin-bottom: 14px; background: var(--grad); }

/* CTA band */
.cta-band { padding: 64px 0; background-image: radial-gradient(600px 300px at 10% 100%, rgba(36, 138, 203, .45), transparent 60%); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-in h2 { margin-bottom: 10px; }
.cta-in p { max-width: 660px; margin: 0; color: #DCE5F5; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* =========================================================
   Catalogue
   ========================================================= */
.catalog { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; padding-top: 36px; padding-bottom: 76px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filter-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.filter-box summary { font: 600 1.05rem var(--f-head); color: var(--navy); cursor: pointer; list-style: none; min-height: 32px; display: flex; align-items: center; justify-content: space-between; }
.filter-box summary::-webkit-details-marker { display: none; }
.filter-box summary::after { content: "+"; color: var(--muted); font-size: 1.3em; }
.filter-box[open] summary::after { content: "−"; }
.filter-search input { width: 100%; margin-top: 14px; }
.f-title { font: 600 12px var(--f-head) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) !important; margin: 20px 0 6px !important; }
.f-cats, .f-cats ul { list-style: none; margin: 0; padding: 0; }
.f-cats ul { padding-left: 14px; border-left: 1px solid var(--line); margin: 2px 0 4px 8px; }
.f-cats li { font-size: 15px; color: var(--muted); }
.f-cats a { color: var(--text); text-decoration: none; display: inline-block; padding: 6px 0; }
.f-cats a:hover, .f-cats a.active, .f-cats .current-cat > a { color: var(--azure-600); font-weight: 600; text-decoration: underline; }
.f-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.f-tags a { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 99px; text-decoration: none; color: var(--text); }
.f-tags a:hover, .f-tags a.active { border-color: var(--azure-600); color: var(--azure-700); background: var(--sky); }
.filter-help { margin-top: 22px; padding: 14px; background: var(--paper); border-radius: 10px; font-size: 14.5px; }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.catalog-bar p { margin: 0; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form select { width: auto; padding: 8px 32px 8px 10px; }
.empty-state { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty-state > .ico { width: 44px; height: 44px; color: var(--azure); margin: 0 auto 12px; }
.empty-state .hero-search { margin: 18px auto; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Search box (light) */
.hero-search { display: flex; align-items: center; gap: 8px; border-radius: 12px; padding: 6px 6px 6px 14px; max-width: 580px; color: var(--muted); background: #fff; border: 1px solid var(--line-2); }
.hero-search input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; padding: 8px 0 !important; background: transparent; }
.page-hero .hero-search { margin-top: 18px; }

/* Pagination */
.pagination { margin-top: 32px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; text-decoration: none; color: var(--navy); font-weight: 600; }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.page-numbers:hover:not(.current):not(.dots) { border-color: var(--azure-600); }
.page-numbers.dots { border: 0; }

/* =========================================================
   Single product
   ========================================================= */
.product-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; padding-top: 8px; padding-bottom: 48px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.g-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.g-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; } /* v2.3.7: whole photo always visible */
.g-thumbs { list-style: none; display: flex; gap: 10px; padding: 0; margin: 12px 0 0; overflow-x: auto; }
.g-thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; width: 76px; height: 76px; overflow: hidden; flex: none; }
.g-thumbs button.active { border-color: var(--azure); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-info h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 0; }
.p-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 0 0 18px; }
.p-facts div { padding: 10px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.p-facts dt { font: 600 11.5px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.p-facts dd { margin: 2px 0 0; color: var(--navy); font-weight: 500; font-size: 15px; }
.avail { display: inline-flex; align-items: center; gap: 6px; }
.avail::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #94A3B8; }
.avail.a-stock::before { background: #22C55E; }
.avail.a-order::before, .avail.a-lead::before { background: #F59E0B; }
.avail.a-request::before { background: var(--azure); }
.avail.a-obsolete::before { background: var(--err); }
.p-buy { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 18px 0; display: flex; flex-direction: column; gap: 12px; }
.p-buy p { margin: 0; }
.p-price-lg { font: 700 1.4rem var(--f-head); color: var(--navy); }
.p-buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.qty-field { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.qty-field button { width: 44px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--navy); }
.qty-field button:hover { background: var(--sky); }
.qty-field input.js-qty { width: 56px; flex: none; border: 0 !important; text-align: center; border-radius: 0 !important; -moz-appearance: textfield; padding: 0 !important; box-shadow: none !important; }
.qty-field input::-webkit-inner-spin-button { -webkit-appearance: none; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; color: var(--wa); font-weight: 600; text-decoration: none; min-height: 40px; }
.wa-link:hover { color: #0B6B38; text-decoration: underline; }
.datasheet { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); }
.datasheet:hover { border-color: var(--azure); color: var(--navy); }
.datasheet .ico { width: 28px; height: 28px; color: var(--azure-600); }
.datasheet small { display: block; font-size: 12.5px; color: var(--muted); }
.p-tabs { padding-bottom: 64px; }
.tab-list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-list button { background: none; border: 0; padding: 14px 18px; min-height: 48px; font: 600 16px var(--f-head); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab-list button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--azure); }
.tab-panel { padding: 28px 0 0; max-width: 920px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; font-weight: 500; color: var(--muted); background: var(--paper); }
.spec-table td { color: var(--navy); }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; }
.video-embed { margin-top: 24px; aspect-ratio: 16/9; }
.video-embed iframe { width: 100%; height: 100%; border-radius: var(--radius); }
.sticky-cta { display: none; }
.not-found-cta { margin-top: 22px; padding: 18px 20px; border-radius: var(--radius); background: var(--sky); display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.not-found-cta p { margin: 0; color: var(--navy); }

/* =========================================================
   Content
   ========================================================= */
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content .policy-text h2 { font-size: 1.25rem; font-weight: 500; letter-spacing: 0; margin-top: 1.5em; } /* v2.3.10: plain clause headings on policy pages */
.entry-content .aibs-tag + h2, .entry-content .aibs-tag + h3 { margin-top: 0; }
.entry-content img[hidden] { display: none; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--azure); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content table td, .entry-content table th { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.entry-content table th { background: var(--paper); color: var(--navy); }
.entry-content blockquote { border-left: 4px solid var(--azure); margin: 1.5em 0; padding: .3em 0 .3em 1.2em; color: var(--navy); }
.entry-content .wp-block-columns { gap: 24px; }
.entry-content .card-cols > .wp-block-column { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.entry-content .card-cols h3 { margin-top: 0; }
.entry-content .card-cols p:last-child { margin-bottom: 0; }
.page-feature { width: 100%; border-radius: var(--radius); margin-bottom: 28px; }
.alignwide { max-width: 1200px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-body { padding: 18px; }
.post-body a { color: var(--navy); text-decoration: none; }

/* =========================================================
   Forms
   ========================================================= */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="date"], input[type="url"], select, textarea {
	width: 100%; min-height: 46px; font: inherit; font-size: 16px; color: var(--navy); background: #fff; border: 1px solid #B9C8DB; border-radius: var(--radius-sm); padding: 10px 13px; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2356657C' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
.nav-search input, .hc-row input[type="search"] { -webkit-appearance: none; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--azure-600); box-shadow: 0 0 0 3px rgba(36, 138, 203, .22); }
textarea { resize: vertical; min-height: 110px; }
::placeholder { color: #7A889E; opacity: 1; }
.aibs-form { display: flex; flex-direction: column; gap: 16px; }
.aibs-form label > span { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.aibs-form em { color: var(--err); font-style: normal; }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.f-check input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--azure-600); flex: none; }
.aibs-form .f-check span { font-weight: 400; display: inline; color: var(--text); margin: 0; }
.f-file input { padding: 10px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); width: 100%; font-size: 14.5px; }
.f-file small { display: block; margin-top: 4px; }
.f-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.f-note { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice-box { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 15.5px; }
.notice-box.ok { background: var(--ok-bg); border: 1px solid #BBF7D0; color: #14532D; }
.notice-box.ok .ico { color: var(--ok); width: 22px; height: 22px; margin-top: 2px; }
.notice-box.err { background: #FEF2F2; border: 1px solid #FECACA; color: #7F1D1D; }

/* Quote page */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.quote-list-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
.quote-list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.ql-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.ql-item img, .ql-ph { width: 56px; height: 56px; border-radius: 8px; object-fit: contain; background: var(--paper); flex: none; }
.ql-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ql-info a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.ql-info .mono { font-size: 12.5px; color: var(--muted); }
.ql-qty input { width: 80px; text-align: center; }
.ql-remove, .ci-remove { border: 0; background: none; color: var(--muted); font-size: 22px; cursor: pointer; width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.ql-remove:hover, .ci-remove:hover { background: #FEE2E2; color: var(--err); }
.ql-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 15px; background: #fff; border: 1px dashed var(--line-2); border-radius: 10px; }
.custom-items { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.ci-title { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin: 0 0 4px; }
.ci-title .ico { color: var(--azure-600); }
.ci-rows { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.ci-row { position: relative; margin: 0; padding: 14px 52px 14px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.ci-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ci-grid label > span { font-size: 13.5px !important; }
.ci-name, .ci-specs { grid-column: 1 / -1; }
.ci-qty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.ci-specs textarea { min-height: 60px; }
.ci-remove { position: absolute; top: 6px; right: 4px; }
.quote-fields { display: flex; flex-direction: column; gap: 16px; }

/* Contact */
.aibs-contact-cols { align-items: flex-start; }
.contact-card { background: var(--navy); color: #DCE5F5; border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: 0; top: 0; width: 48px; height: 48px; background: var(--azure); opacity: .7; }
.contact-card h2, .contact-card h3 { color: #fff; margin-top: 0 !important; }
.contact-list { list-style: none; padding: 0 !important; margin: 0 0 18px; }
.contact-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); margin: 0 !important; }
.contact-list li::marker { content: none; }
.contact-list .ico { color: var(--azure-300); margin-top: 4px; }
.contact-list a { color: #fff; }
.contact-card .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.contact-card .btn-ghost:hover { border-color: #fff; }
.map-box { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.map-box iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 260px; padding: 24px; text-align: center; background-image: linear-gradient(rgba(28, 40, 88, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 40, 88, .05) 1px, transparent 1px); background-size: 28px 28px; }
.map-consent p { margin: 0; max-width: 460px; }
.map-consent .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Online quotation */
.qt-view { max-width: 1000px; }
.qt-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.qt-meta dl { display: flex; flex-wrap: wrap; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qt-meta dl div { padding: 10px 16px; border-right: 1px solid var(--line); }
.qt-meta dl div:last-child { border-right: 0; }
.qt-meta dt { font: 600 11.5px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qt-meta dd { margin: 2px 0 0; color: var(--navy); font-weight: 600; }
.qt-parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.qt-parties > div { padding: 18px; background: var(--paper); border-radius: var(--radius); }
.qt-parties p:last-child { margin: 0; }
.qt-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 16px; }
.qt-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.qt-table th { text-align: left; padding: 12px 8px; font: 600 13px var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--navy); }
.qt-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--navy); }
.qt-table .num { text-align: right; white-space: nowrap; }
.qt-totals { margin: 16px 0 0 auto; border-collapse: collapse; min-width: 280px; }
.qt-totals th, .qt-totals td { padding: 6px 8px; text-align: right; font-weight: 500; }
.qt-totals th { color: var(--muted); }
.qt-totals .grand th, .qt-totals .grand td { font: 700 1.25rem var(--f-head); color: var(--navy); border-top: 2px solid var(--navy); padding-top: 10px; }
.qt-info { margin-top: 18px; font-size: 15px; }
.qt-info .pre { white-space: pre-wrap; }
.qt-respond { margin-top: 32px; }
.qt-respond-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 14px; }
.qt-respond-grid form { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.qt-accept { background: var(--paper); }
.qt-respond-grid h3 { margin: 0; }

/* Order documents (online quotation page) */
.order-docs { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.od-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.od-summary div { padding: 14px 16px; background: var(--paper); border-radius: 10px; display: flex; flex-direction: column; }
.od-summary span { font: 600 12px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.od-summary strong { font: 700 1.2rem var(--f-head); color: var(--navy); }
.order-docs .qt-table { min-width: 520px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.pill.ok { background: #DCFCE7; color: #166534; }
.pill.due { background: #FEF3C7; color: #92400E; }
.od-pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.od-pay > div, .od-pay > form { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.od-pay .pre { white-space: pre-wrap; margin: 0; color: var(--navy); }
@media (max-width: 640px) { .od-summary { grid-template-columns: 1fr; } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: #C9D6EE; font-size: 15px; padding-top: 60px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 36px; padding-bottom: 44px; }
.f-logo img { height: 52px; width: auto; margin-bottom: 16px; }
.f-h { font: 600 13px var(--f-head) !important; color: #fff !important; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px !important; }
.f-list { list-style: none; margin: 0; padding: 0; }
.f-list li { margin-bottom: 4px; }
.f-list a { display: inline-block; padding: 4px 0; }
.site-footer a { color: #E2EAF7; text-decoration: none; }
.site-footer a:hover { color: var(--azure-300); text-decoration: underline; }
.f-contact p { display: flex; gap: 10px; margin: 0 0 10px; }
.f-contact .ico { color: var(--azure-300); margin-top: 3px; width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer-bottom-in { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; align-items: center; padding-top: 18px; padding-bottom: 22px; }
.footer-bottom p { margin: 0; }
.legal-list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.legal-list a { display: inline-block; padding: 6px 0; }

/* Floating WhatsApp, cookie bar, toast */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 15px; border-radius: 99px; background: #25D366; color: #073B1E; text-decoration: none; font-weight: 700; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: transform .15s; }
.wa-float:hover { color: #052E17; transform: translateY(-2px); }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s; font-size: 15px; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 180px; }
.cookie-bar { position: fixed; left: 16px; bottom: 16px; z-index: 45; max-width: 520px; display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--ink); color: #E2EAF7; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 14.5px; }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--azure-300); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 60; background: var(--ink); color: #E2EAF7; padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 15px; max-width: calc(100% - 32px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--azure-300); font-weight: 600; }

/* =========================================================
   Responsive: laptop → tablet → phone
   ========================================================= */
@media (max-width: 1180px) {
	.nav-search input[type="search"] { width: 120px; }
	.main-nav .menu a { padding: 8px 9px; font-size: 15.5px; }
}
@media (max-width: 1060px) {
	.nav-search { display: none; }
}
@media (max-width: 980px) {
	:root { --header-h: 68px; }
	.brand-logo { height: 44px; }
	.nav-toggle { display: grid; }
	.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 12px; box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
	.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
	.main-nav .menu { flex-direction: column; }
	.main-nav .menu a { padding: 12px; font-size: 17px; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.nav-search { display: flex; }
	.nav-search input[type="search"] { width: 100%; flex: 1; }
	.hero-in { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 60px; gap: 36px; }
	.hero-card { max-width: 560px; }
	.hero-pixels { display: none; }
	.catalog { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
	.filters { position: static; }
	.product-top { grid-template-columns: 1fr; gap: 28px; }
	.gallery { position: static; }
	.quote-grid { grid-template-columns: 1fr; }
	.enquiry-grid { grid-template-columns: 1fr; gap: 8px; }
	.how { grid-template-columns: 1fr; gap: 24px; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cta-in { flex-direction: column; align-items: flex-start; }
	.sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 12px; box-shadow: 0 -8px 20px -12px rgba(28, 40, 88, .3); }
	.sc-title { flex: 1; font-weight: 600; color: var(--navy); font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.single-aibs_product .wa-float { bottom: 86px; }
	.single-aibs_product .site-footer { padding-bottom: 72px; }
	.single-aibs_product .toast, .single-aibs_product .cookie-bar { bottom: 86px; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
}
@media (max-width: 720px) {
	.steps { grid-template-columns: 1fr; }
	.qt-parties { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.topbar-tag { display: none; }
	.topbar-in { justify-content: center; }
	.topbar-links { gap: 8px 14px; justify-content: center; font-size: 13px; }
	.topbar-links a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
	.topbar-links > a .ico { width: 18px; height: 18px; }
	.topbar-links > a { min-width: 32px; justify-content: center; }
	.qp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
	.quote-pill { padding: 0 14px; }
	.brand-logo { height: 38px; max-width: 160px; }
	.header-in { gap: 10px; }
	.section { padding: 54px 0; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.f-row, .ci-grid { grid-template-columns: 1fr; }
	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.p-body { padding: 12px; }
	.p-excerpt { display: none; }
	.p-foot { flex-direction: column; align-items: stretch; }
	.p-foot .btn { width: 100%; }
	.p-meta span { display: none; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.hero-actions .btn { flex: 1 1 100%; }
	.hc-row { flex-wrap: wrap; }
	.hc-row .btn-azure { width: 100%; }
	.spec-table th { width: 45%; }
	.cta-actions, .cta-actions .btn { width: 100%; }
	.wa-float { right: 14px; bottom: 14px; height: 56px; padding: 0 14px; }
	.cookie-bar { left: 10px; right: 82px; bottom: 14px; padding: 10px 12px; gap: 10px; font-size: 13px; line-height: 1.45; }
	.cookie-bar .btn { min-height: 40px; padding: 6px 14px; }
	.ci-row { padding: 12px; }
	.ql-item { gap: 8px; padding: 8px; }
	.ql-ph { display: none; }
	.ql-item img { width: 44px; height: 44px; }
	.ql-qty input { width: 64px; padding: 8px 4px; }
	.ql-remove { width: 40px; }
	.ci-remove { top: 2px; right: 2px; width: 40px; height: 40px; }
	.ci-name > span { padding-right: 36px; }
	.qt-meta dl div { flex: 1 1 45%; border-bottom: 1px solid var(--line); }
}
@media (max-width: 380px) {
	.product-grid { grid-template-columns: 1fr; }
}
@media (hover: none) {
	.wa-label { max-width: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
	.btn, .quote-pill, .ci-row, .p-card { border: 1px solid CanvasText; }
}

/* Print (e.g. the online quotation → Save as PDF) */
@media print {
	.topbar, .site-header, .cta-band, .site-footer, .wa-float, .cookie-bar, .toast, .qt-respond, .sticky-cta, .skip-link { display: none !important; }
	.page-hero { background: none !important; color: #000; }
	.page-hero h1, .page-hero .lead, .page-hero .aibs-tag { color: #000 !important; }
	.section { padding: 10px 0; }
	a { color: #000; text-decoration: none; }
}
