/* =====================================================================
   Public website styles. Brand colour comes from Settings (--brand).
   Type: Archivo (wide cut for headings) — sturdy, catalogue-like.
   Signature: the product spec sheet + quantity price ladder.
   ===================================================================== */
:root {
  --brand: #0f5e5a;
  --brand-dark: color-mix(in srgb, var(--brand) 78%, #000);
  --brand-tint: color-mix(in srgb, var(--brand) 9%, #fff);
  --ink: #15202b;
  --ink-2: #4b5866;
  --ink-3: #7c8794;
  --line: #e1e5e2;
  --paper: #f5f6f3;
  --surface: #ffffff;
  --accent: #e8a33d;
  --accent-tint: #fdf2de;
  --wa: #1f8a4c;
  --wa-dark: #18703d;
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --r-s: 6px;
  --r-m: 12px;
  --wrap: 1240px;
  --focus: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--surface); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-stretch: 112%; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 4px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: 15px; line-height: 1.2;
  padding: 12px 20px; border-radius: var(--r-s); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.topline { background: var(--ink); color: #c9d1d9; font-size: 13px; }
.topline .wrap { display: flex; gap: 20px; align-items: center; min-height: 34px; flex-wrap: wrap; }
.topline a { color: #fff; text-decoration: none; }
.topline .push { margin-left: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-main { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-stretch: 112%; font-size: 20px; }
.logo img { max-height: 44px; width: auto; }
.logo .mark { width: 36px; height: 36px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 18px; }
.header-search { flex: 1; max-width: 520px; display: flex; }
.header-search input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-right: 0; border-radius: var(--r-s) 0 0 var(--r-s); background: var(--paper);
}
.header-search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.header-search button { border: 0; background: var(--brand); color: #fff; padding: 0 16px; border-radius: 0 var(--r-s) var(--r-s) 0; cursor: pointer; }
.header-actions { display: flex; gap: 10px; margin-left: auto; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line); border-radius: var(--r-s); width: 44px; height: 44px; cursor: pointer; }

.catnav { border-top: 1px solid var(--line); }
.catnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.catnav > .wrap > ul > li { position: relative; }
.catnav a { display: block; padding: 12px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.catnav a:hover, .catnav a[aria-current] { color: var(--brand); }
.catnav .sub {
  position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border: 1px solid var(--line);
  border-radius: 0 0 var(--r-m) var(--r-m); box-shadow: 0 18px 30px -18px rgba(21,32,43,.35);
  display: none; flex-direction: column; padding: 6px; z-index: 50;
}
.catnav li:hover > .sub, .catnav li:focus-within > .sub { display: flex; }
.catnav .sub a { font-weight: 500; padding: 8px 12px; border-radius: var(--r-s); }
.catnav .sub a:hover { background: var(--paper); }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 14px; color: var(--ink-3); padding: 16px 0 6px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; text-decoration: none; }

/* Home hero: text left, image right, full brand band */
.hero { background: var(--brand); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 440px; }
.hero h1 { font-size: clamp(32px, 5vw, 58px); color: #fff; margin-bottom: 18px; max-width: 14ch; }
.hero p { font-size: 18px; color: color-mix(in srgb, #fff 82%, var(--brand)); max-width: 46ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .btn-primary { background: #fff; color: var(--brand-dark); }
.hero .btn-primary:hover { background: var(--accent-tint); }
.hero-media { align-self: stretch; position: relative; min-height: 320px; }
.hero-media img { position: absolute; inset: 24px 0 24px 0; width: 100%; height: calc(100% - 48px); object-fit: cover; border-radius: var(--r-m); }
.hero-media.empty { background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px); border-radius: var(--r-m); margin: 24px 0; }

.usps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-bottom: 1px solid var(--line); }
.usps div { padding: 18px 20px; font-weight: 600; display: flex; gap: 10px; align-items: center; border-right: 1px solid var(--line); }
.usps div:last-child { border-right: 0; }
.usps svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #fff; }
.cat-tile img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--paper); }
.cat-tile span { padding: 12px 14px; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.cat-tile small { color: var(--ink-3); font-weight: 500; }
.cat-tile:hover { border-color: var(--brand); color: var(--ink); }

/* Product grid & card */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card .img { position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--paper); aspect-ratio: 1; border: 1px solid var(--line); }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .img img { transform: scale(1.03); }
.card .tag { position: absolute; left: 10px; top: 10px; background: var(--accent); color: #3a2604; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.card .name { font-weight: 650; margin: 12px 0 4px; line-height: 1.3; }
.card:hover .name { color: var(--brand); }
.card .price { font-weight: 700; }
.card .price small { font-weight: 500; color: var(--ink-3); }
.card .por { color: var(--ink-2); font-weight: 600; font-size: 14px; }
.card .moq { font-size: 13px; color: var(--ink-3); }

/* Listing pages */
.listing-head { display: grid; gap: 8px; padding: 6px 0 20px; }
.listing-head p { color: var(--ink-2); max-width: 70ch; margin: 0; }
.listing-banner { border-radius: var(--r-m); overflow: hidden; margin: 8px 0 20px; max-height: 280px; }
.listing-banner img { width: 100%; height: 280px; object-fit: cover; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.toolbar .count { color: var(--ink-3); font-size: 14px; margin-right: auto; }
.toolbar select { font: inherit; font-size: 14px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; background: #fff; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; align-items: center; }
.pager a, .pager span { padding: 8px 14px; border: 1.5px solid var(--line); border-radius: var(--r-s); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager span.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.seo-text { max-width: 80ch; color: var(--ink-2); margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.empty-state { padding: 60px 20px; text-align: center; color: var(--ink-2); border: 1.5px dashed var(--line); border-radius: var(--r-m); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 40px; }
.gallery { position: sticky; top: 140px; }
.gallery .stage { border-radius: var(--r-m); overflow: hidden; background: var(--paper); border: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; position: relative; }
.gallery .stage img { width: 100%; height: 100%; object-fit: contain; background: #fff; cursor: zoom-in; }
.gallery .stage iframe, .gallery .stage video { width: 100%; height: 100%; border: 0; background: #000; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--paper); position: relative; }
.thumbs button[aria-current="true"] { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(21,32,43,.45); color: #fff; }

.pdp-info h1 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 8px; }
.pdp-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); margin-bottom: 16px; }
.pdp-short { color: var(--ink-2); font-size: 17px; }
.price-big { font-size: 30px; font-weight: 800; font-stretch: 112%; margin: 8px 0 2px; }
.price-big small { font-size: 16px; font-weight: 500; color: var(--ink-3); font-stretch: 100%; }
.price-big s { font-size: 18px; color: var(--ink-3); font-weight: 500; margin-left: 8px; }
.por-box { background: var(--accent-tint); border-radius: var(--r-s); padding: 12px 16px; font-weight: 600; margin: 12px 0; }

/* The price ladder: quantity tiers as connected steps */
.ladder { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 18px 0 6px; border: 1.5px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.ladder .step { padding: 12px 14px; border-left: 1.5px solid var(--line); position: relative; transition: background .15s; }
.ladder .step:first-child { border-left: 0; }
.ladder .step .qty { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.ladder .step .amt { font-size: 22px; font-weight: 800; font-stretch: 112%; }
.ladder .step .amt small { font-size: 13px; font-weight: 500; color: var(--ink-3); font-stretch: 100%; }
.ladder .step.on { background: var(--accent-tint); }
.ladder .step.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); }
.ladder-note { font-size: 13px; color: var(--ink-3); }

.options { margin: 20px 0; display: grid; gap: 14px; }
.options .label { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.options .label span { font-weight: 500; color: var(--ink-2); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button {
  font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: var(--r-s);
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
}
.swatches button:hover { border-color: var(--ink); }
.swatches button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-dark); }
.swatches button[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.swatches .dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.qty-row { display: flex; gap: 10px; align-items: center; margin: 6px 0 16px; flex-wrap: wrap; }
.qty-row label { font-weight: 700; font-size: 14px; }
.qty-row input { width: 120px; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); }
.qty-row .estimate { font-size: 14px; color: var(--ink-2); }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 18px; }
.features { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.features li { display: flex; gap: 10px; }
.features li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 3px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5e5a' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--line); }

/* Spec sheet: grouped key attributes */
.specsheet { border: 1.5px solid var(--ink); border-radius: var(--r-m); overflow: hidden; }
.specsheet h3 { margin: 0; padding: 12px 18px; background: var(--ink); color: #fff; font-size: 15px; font-stretch: 112%; }
.specsheet table { width: 100%; border-collapse: collapse; }
.specsheet th, .specsheet td { text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.specsheet th { width: 38%; color: var(--ink-2); font-weight: 600; background: var(--paper); }
.specsheet tr:last-child th, .specsheet tr:last-child td { border-bottom: 0; }
.specsheet .group + .group h3 { border-top: 1.5px solid var(--ink); }
.pdp-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 40px 0 16px; border-top: 1px solid var(--line); }
.prose { max-width: 75ch; }
.prose img { border-radius: var(--r-s); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose h2 { font-size: 22px; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose iframe { max-width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--r-s); }

/* ---------- Forms & dialog ---------- */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 5px; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 12px; border: 1.5px solid #cfd6d1; border-radius: var(--r-s); background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.form .err { color: #b3261e; font-size: 13px; margin-top: 4px; }
.form .invalid { border-color: #b3261e; }
.form .hp { position: absolute; left: -5000px; }
.form .fine { font-size: 13px; color: var(--ink-3); margin: 0; }
dialog.enquiry { border: 0; border-radius: var(--r-m); padding: 0; width: min(560px, 100% - 24px); max-height: calc(100vh - 24px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.4); }
dialog.enquiry::backdrop { background: rgba(21,32,43,.55); }
dialog.enquiry .dhead { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: start; }
dialog.enquiry .dhead h2 { font-size: 20px; margin: 0; }
dialog.enquiry .dhead p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
dialog.enquiry .close { margin-left: auto; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink-3); padding: 0 4px; }
dialog.enquiry form { padding: 18px 22px 22px; }

/* ---------- Contact / pages ---------- */
.page-wrap { padding: 8px 0 64px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-card { background: var(--paper); border-radius: var(--r-m); padding: 24px; display: grid; gap: 14px; }
.contact-card .item strong { display: block; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--r-m); margin-top: 18px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.quotes figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; }
.quotes blockquote { margin: 0 0 14px; font-size: 17px; }
.quotes figcaption { font-weight: 700; font-size: 14px; }
.quotes figcaption span { font-weight: 500; color: var(--ink-3); }

.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-m); padding: 36px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #c9d1d9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d1d9; padding: 48px 0 24px; margin-top: 0; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Floating WhatsApp + mobile action bar */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
}
.wa-float:hover { background: var(--wa-dark); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .pdp, .pdp-body, .contact-grid { grid-template-columns: 1fr; }
  .hero .wrap { min-height: 0; padding: 40px 0 0; gap: 8px; }
  .hero-media { min-height: 240px; }
  .gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-search { display: none; }
  .header-search.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; padding: 10px 20px; background: #fff; border-bottom: 1px solid var(--line); max-width: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .header-actions .btn-outline { display: none; }
  .catnav { display: none; }
  .catnav.open { display: block; }
  .catnav ul { flex-direction: column; }
  .catnav .sub { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-bar .btn { padding: 11px 6px; font-size: 14px; }
  .wa-float { display: none; }
  body { padding-bottom: 68px; }
}
@media (max-width: 600px) {
  .section { padding: 40px 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form .row2 { grid-template-columns: 1fr; }
  .cta-row .btn-lg { padding: 13px 12px; font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
  .ladder { grid-auto-flow: row; }
  .ladder .step { border-left: 0; border-top: 1.5px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
  .ladder .step:first-child { border-top: 0; }
  .topline .hide-sm { display: none; }
  .cta-band { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .wa-float, .mobile-bar, .cta-row { display: none !important; } }

/* Fixes from visual review */
.mobile-only { display: none; }
@media (max-width: 960px) { .catnav.open .mobile-only { display: block; } }
.pdp-body > section > h2:first-child { margin-top: 0; }

/* The hidden attribute must win over display rules such as .ladder { display: grid } */
[hidden] { display: none !important; }

/* Product page: enquiry + WhatsApp side by side at every width; variant photo in the enquiry dialog */
.cta-row .btn { white-space: nowrap; }
@media (max-width: 400px) { .hide-xs { display: none; } }
.enquiry .dhead { align-items: center; }
.enq-photo { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; border: 1px solid rgba(0,0,0,.08); }

/* Product page tabs: Product description + one tab per Key attribute group.
   Without JavaScript every panel shows, each with its title. */
.pdp-tabs { padding: 36px 0 8px; border-top: 1px solid var(--line); }
.pdp-tabs .tablist { display: none; }
.pdp-tabs .tabpanel::before { content: attr(data-tab-title); display: block; font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.pdp-tabs .tabpanel + .tabpanel { margin-top: 28px; }
.pdp-tabs.tabs-ready .tablist { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1.5px solid var(--line); margin-bottom: 22px; scrollbar-width: thin; }
.pdp-tabs.tabs-ready .tabpanel::before { content: none; }
.pdp-tabs.tabs-ready .tabpanel + .tabpanel { margin-top: 0; }
.pdp-tabs.tabs-ready [data-inactive] { display: none; }
.pdp-tabs [role=tab] { flex: none; appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1.5px;
  padding: 12px 16px; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.pdp-tabs [role=tab]:hover { color: var(--ink); }
.pdp-tabs [role=tab][aria-selected=true] { color: var(--brand, var(--ink)); border-bottom-color: currentColor; }
.pdp-tabs [role=tab]:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.pdp-tabs .specsheet { max-width: 820px; }
@media (max-width: 720px) { .pdp-tabs { padding-top: 24px; } .pdp-tabs [role=tab] { padding: 11px 12px; font-size: 14px; } }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 22px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.post-card:hover { color: var(--ink); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: 0 12px 28px -18px rgba(21,32,43,.35); }
.post-card .img { aspect-ratio: 16 / 9; background: var(--brand-tint); overflow: hidden; }
.post-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .img img { transform: scale(1.03); }
.post-card .body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.post-card .date { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post-card h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.post-card:hover h3 { color: var(--brand); }
.post-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.post-card .more { margin-top: auto; padding-top: 8px; font-weight: 650; font-size: 15px; color: var(--brand); }
.post { max-width: 780px; margin: 0 auto; }
.post-head { padding: 6px 0 18px; }
.post-head h1 { margin-bottom: 10px; overflow-wrap: anywhere; }
.post-meta { color: var(--ink-3); font-size: 15px; margin: 0; }
.post-image { margin: 0 0 28px; border-radius: var(--r-m); overflow: hidden; background: var(--paper); }
.post-image img { width: 100%; }
.post .prose { max-width: none; font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.post .prose img { height: auto; }
.post-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 32px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 650; }
.post-share .btn { padding: 9px 16px; font-size: 14px; }
.post-cta { margin: 32px 0 0; background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); border-radius: var(--r-m); padding: 26px 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.post-cta h2 { font-size: 22px; margin: 0 0 4px; }
.post-cta p { margin: 0; color: var(--ink-2); }
.post-more { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.preview-note { max-width: 780px; margin: 0 auto 16px; padding: 10px 14px; border-radius: var(--r-s); background: var(--accent-tint); color: #6b4704; font-weight: 600; font-size: 14px; }
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; gap: 18px; }
  .post .prose { font-size: 16px; }
  .post-cta { padding: 20px; }
  .post-cta .btn { width: 100%; }
  .post-more { margin-top: 40px; padding-top: 28px; }
}
