/* ============================================================
   MKK Industries — site styles (Waltons-style layout & components)
   Mobile-first; colours come only from theme.css tokens.
   ============================================================ */

/* ── Base ─────────────────────────────────────────────────── */
html { scroll-padding-top: 140px; }
body { font-family: var(--font-sans); color: var(--color-text); -webkit-font-smoothing: antialiased; background: var(--color-white); }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { color: var(--color-navy); font-weight: 700; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h2, .h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
h3, .h3 { font-size: 1.125rem; font-weight: 600; }
a { color: var(--color-navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--color-primary); }
:focus-visible { outline: 3px solid rgb(2 26 71 / .35); outline-offset: 2px; }
.container-xxl { max-width: 1320px; padding-left: 16px; padding-right: 16px; }
.icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex-shrink: 0; }
.icon-lg { width: 1.35em; height: 1.35em; }
.text-muted, .text-secondary { color: var(--color-muted) !important; }
.section { padding: 2rem 0; }
@media (min-width: 992px) { .section { padding: 2.75rem 0; } }
.section-alt { background: var(--color-surface); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-title h2 { margin: 0; }
.section-title a { font-weight: 600; white-space: nowrap; text-decoration: none; }
.visually-hidden-focusable:focus { position: fixed !important; top: 8px; left: 8px; z-index: 2000; background: var(--color-white); padding: .5rem 1rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-dropdown); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn { --bs-btn-font-weight: 600; --bs-btn-border-radius: var(--radius-lg); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-primary { --bs-btn-bg: var(--color-primary); --bs-btn-border-color: var(--color-primary); --bs-btn-hover-bg: var(--color-primary-hover); --bs-btn-hover-border-color: var(--color-primary-hover); --bs-btn-active-bg: var(--color-primary-hover); --bs-btn-active-border-color: var(--color-primary-hover); --bs-btn-disabled-bg: var(--color-primary); --bs-btn-disabled-border-color: var(--color-primary); }
.btn-navy { --bs-btn-color: #fff; --bs-btn-bg: var(--color-navy); --bs-btn-border-color: var(--color-navy); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--color-navy-dark); --bs-btn-hover-border-color: var(--color-navy-dark); --bs-btn-active-bg: var(--color-navy-dark); --bs-btn-active-color: #fff; }
.btn-outline-navy { --bs-btn-color: var(--color-navy); --bs-btn-border-color: var(--color-navy); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--color-navy); --bs-btn-hover-border-color: var(--color-navy); --bs-btn-active-bg: var(--color-navy); --bs-btn-active-color: #fff; }
.btn-light-outline { --bs-btn-color: var(--color-text); --bs-btn-bg: #fff; --bs-btn-border-color: var(--color-border-strong); --bs-btn-hover-bg: var(--color-surface); --bs-btn-hover-border-color: var(--color-navy); --bs-btn-hover-color: var(--color-navy); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Announcement strip ───────────────────────────────────── */
.topbar { background: var(--color-navy-dark); color: rgb(255 255 255 / .85); font-size: .8125rem; min-height: var(--header-strip-height); }
.topbar .container-xxl { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-strip-height); }
.topbar a { color: rgb(255 255 255 / .85); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-messages { position: relative; flex: 1; min-width: 0; height: 1.4em; overflow: hidden; }
.topbar-messages span { position: absolute; inset: 0; display: flex; align-items: center; gap: .4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .4s; }
.topbar-messages span.is-active { opacity: 1; }
.topbar-links { display: none; gap: 1.25rem; white-space: nowrap; }
@media (min-width: 768px) { .topbar-links { display: flex; } }

/* ── Header ───────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--color-navy); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .06); }
.header-main { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo actions" "search search search"; align-items: center; gap: .5rem .75rem; padding: .625rem 0; }
@media (min-width: 992px) { .header-main { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions"; gap: 2rem; padding: .875rem 0; } }
.header-menu-btn { grid-area: menu; color: #fff; padding: .25rem; font-size: 1.6rem; line-height: 1; background: none; border: 0; }
@media (min-width: 992px) { .header-menu-btn { display: none; } }
.site-logo { grid-area: logo; display: inline-flex; align-items: center; text-decoration: none; }
.site-logo img { height: 34px; width: auto; }
@media (min-width: 992px) { .site-logo img { height: 42px; } }

.header-search { grid-area: search; position: relative; }
.header-search form { display: flex; background: #fff; border-radius: var(--radius-pill); overflow: hidden; box-shadow: var(--shadow-sm); }
.header-search input { flex: 1; min-width: 0; border: 0; padding: .7rem 1.1rem; font-size: 1rem; color: var(--color-text); background: transparent; }
.header-search input:focus { outline: none; }
.header-search form:focus-within { box-shadow: 0 0 0 3px rgb(255 255 255 / .35); }
.header-search button { border: 0; background: var(--color-primary); color: #fff; padding: 0 1.25rem; font-size: 1.1rem; }
.header-search button:hover { background: var(--color-primary-hover); }

.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; color: var(--color-text); border-radius: var(--radius-xl); box-shadow: var(--shadow-dropdown); z-index: 1050; max-height: 70vh; overflow: auto; padding: .5rem 0; }
.search-suggest[hidden] { display: none; }
.search-suggest h6 { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-subtle); margin: .5rem 1rem .25rem; }
.search-suggest a { display: flex; align-items: center; gap: .75rem; padding: .45rem 1rem; color: var(--color-text); text-decoration: none; }
.search-suggest a:hover, .search-suggest a.is-active { background: var(--color-surface); color: var(--color-navy); }
.search-suggest img { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; }
.search-suggest .suggest-price { margin-left: auto; font-weight: 700; color: var(--color-navy); white-space: nowrap; }
.search-suggest .suggest-all { justify-content: center; font-weight: 600; color: var(--color-primary); border-top: 1px solid var(--color-border); margin-top: .25rem; padding-top: .65rem; }
.search-suggest .suggest-empty { padding: .75rem 1rem; color: var(--color-muted); }

.header-actions { grid-area: actions; display: flex; align-items: center; gap: .25rem; }
.header-action { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: .1rem; color: #fff; text-decoration: none; font-size: .75rem; padding: .25rem .5rem; border-radius: var(--radius-lg); background: none; border: 0; line-height: 1.2; }
.header-action .icon { font-size: 1.45rem; }
.header-action:hover { color: #fff; background: rgb(255 255 255 / .08); }
.header-action .label { display: none; }
@media (min-width: 576px) { .header-action .label { display: block; } }
.header-action .count { position: absolute; top: -2px; right: 4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--color-primary); color: #fff; font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--color-navy); }
.header-action .count[data-count="0"] { display: none; }

/* Department navigation + mega menu */
.dept-nav { background: #fff; border-bottom: 1px solid var(--color-border); position: relative; display: none; }
@media (min-width: 992px) { .dept-nav { display: block; } }
.dept-nav .container-xxl { display: flex; align-items: stretch; gap: .25rem; }
.dept-nav-toggle { display: inline-flex; align-items: center; gap: .5rem; background: var(--color-navy-soft); color: var(--color-navy); border: 0; font-weight: 700; padding: .7rem 1rem; margin-right: .5rem; }
.dept-nav-toggle[aria-expanded="true"] { background: var(--color-navy); color: #fff; }
.dept-nav-links { display: flex; align-items: center; overflow: hidden; flex: 1; }
.dept-nav-links a { padding: .7rem .8rem; white-space: nowrap; color: var(--color-navy); font-weight: 600; font-size: .9375rem; text-decoration: none; border-bottom: 3px solid transparent; }
.dept-nav-links a:hover, .dept-nav-links a.is-active { border-bottom-color: var(--color-accent); color: var(--color-navy); }
.dept-nav-links a.nav-specials { color: var(--color-primary); }
@media (max-width: 1399.98px) { .dept-nav-links a.dept-link:nth-child(n+5) { display: none; } }

.mega-menu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow-dropdown); border-top: 1px solid var(--color-border); z-index: 1040; color: var(--color-text); }
.mega-menu[hidden] { display: none; }
.mega-menu .container-xxl { display: grid; grid-template-columns: 280px 1fr; min-height: 380px; padding: 0; }
.mega-depts { list-style: none; margin: 0; padding: .75rem 0; background: var(--color-surface); border-right: 1px solid var(--color-border); }
.mega-depts button { width: 100%; display: flex; align-items: center; gap: .75rem; background: none; border: 0; text-align: left; padding: .6rem 1.25rem; color: var(--color-text); font-weight: 500; }
.mega-depts button .chev { margin-left: auto; opacity: .5; }
.mega-depts button[aria-selected="true"], .mega-depts button:hover { background: #fff; color: var(--color-navy); font-weight: 700; box-shadow: inset 3px 0 0 var(--color-primary); }
.mega-panel { padding: 1.5rem 2rem; }
.mega-panel[hidden] { display: none; }
.mega-panel-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; }
.mega-panel-head h3 { margin: 0; font-size: 1.25rem; }
.mega-columns { columns: 3 200px; column-gap: 2rem; }
.mega-group { break-inside: avoid; margin-bottom: 1.25rem; }
.mega-group > a { font-weight: 700; color: var(--color-navy); text-decoration: none; display: block; margin-bottom: .35rem; }
.mega-group ul { list-style: none; padding: 0; margin: 0; }
.mega-group li a { display: block; padding: .15rem 0; color: var(--color-muted); text-decoration: none; font-size: .9375rem; }
.mega-group a:hover { color: var(--color-primary); }
.mega-count { color: var(--color-subtle); font-weight: 400; font-size: .8125rem; }

/* Mobile drill-down menu */
.mobile-menu { --bs-offcanvas-width: min(88vw, 360px); }
.mobile-menu .offcanvas-header { background: var(--color-navy); color: #fff; }
.mobile-menu .btn-close { filter: invert(1); }
.mobile-menu .offcanvas-body { padding: 0; position: relative; overflow-x: hidden; }
.drill-panel { position: absolute; inset: 0; overflow-y: auto; background: #fff; transition: transform .25s ease; }
.drill-panel[hidden] { display: block !important; transform: translateX(100%); visibility: hidden; }
.drill-panel ul { list-style: none; margin: 0; padding: 0; }
.drill-panel li > a, .drill-panel li > button { display: flex; width: 100%; align-items: center; gap: .75rem; padding: .9rem 1.25rem; border: 0; border-bottom: 1px solid var(--color-border); background: #fff; color: var(--color-text); text-decoration: none; text-align: left; font-weight: 500; }
.drill-panel li > button .chev { margin-left: auto; opacity: .5; }
.drill-back { font-weight: 700 !important; color: var(--color-navy) !important; background: var(--color-surface) !important; }
.drill-footer { padding: 1rem 1.25rem; display: grid; gap: .75rem; font-size: .9375rem; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { --bs-breadcrumb-divider: "/"; --bs-breadcrumb-item-padding-x: .45rem; font-size: .8125rem; margin: 1rem 0 .75rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--color-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-item.active { color: var(--color-navy); }

/* ── Product card ─────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1200px) { .product-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .product-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: .75rem; transition: box-shadow .2s, transform .2s, border-color .2s; height: 100%; }
.product-card:hover { box-shadow: var(--shadow-card-hover); border-color: transparent; }
@media (prefers-reduced-motion: no-preference) { .product-card:hover { transform: translateY(-2px); } }
.product-card-media { display: block; aspect-ratio: 1; margin-bottom: .75rem; border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; }
.product-badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; z-index: 2; pointer-events: none; }
.badge-save, .badge-special, .badge-new, .badge-best { font-size: .6875rem; font-weight: 700; padding: .2rem .5rem; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: .03em; }
.badge-save, .badge-special { background: var(--color-highlight); color: var(--color-navy); }
.badge-new { background: var(--color-success); color: #fff; }
.badge-best { background: var(--color-navy); color: #fff; }
.save-toggle { position: absolute; top: .5rem; right: .5rem; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .92); color: var(--color-muted); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: var(--shadow-sm); }
.save-toggle:hover { color: var(--color-primary); }
[data-save-toggle] .icon-on { display: none; }
[data-save-toggle][aria-pressed="true"] { color: var(--color-primary); }
[data-save-toggle][aria-pressed="true"] .icon-on { display: inline-block; }
[data-save-toggle][aria-pressed="true"] .icon-off { display: none; }
.product-card-brand { font-size: .75rem; color: var(--color-subtle); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; margin-bottom: .2rem; }
.product-card-name { font-size: .9375rem; font-weight: 600; line-height: 1.35; color: var(--color-text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; margin-bottom: .5rem; }
.product-card-name:hover { color: var(--color-navy); text-decoration: underline; }
.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .5rem; margin-top: auto; }
.price { font-size: 1.2rem; font-weight: 700; color: var(--color-navy); }
.price-was { font-size: .875rem; color: var(--color-subtle); text-decoration: line-through; }
.price-vat { font-size: .6875rem; color: var(--color-subtle); width: 100%; }
.price-request { font-size: 1rem; font-weight: 700; color: var(--color-navy); }
.stock { display: flex; align-items: center; gap: .4rem; font-size: .8125rem; margin: .4rem 0 .75rem; color: var(--color-muted); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--color-success); }
.stock-low { color: var(--color-warning); }
.stock-out { color: var(--color-error); }
.stock-request { color: var(--color-subtle); }
.btn-quote { width: 100%; --bs-btn-color: var(--color-navy); --bs-btn-bg: #fff; --bs-btn-border-color: var(--color-navy); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--color-primary); --bs-btn-hover-border-color: var(--color-primary); --bs-btn-active-bg: var(--color-primary-hover); --bs-btn-active-color: #fff; --bs-btn-padding-y: .5rem; font-size: .9375rem; }
.btn-quote.is-added { --bs-btn-color: #fff; --bs-btn-bg: var(--color-success); --bs-btn-border-color: var(--color-success); }

/* Carousel rows (horizontal scrolling allowed only here) */
.product-row { position: relative; }
.product-row-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - .75rem) / 2); gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.product-row-track::-webkit-scrollbar { display: none; }
.product-row-track > * { scroll-snap-align: start; }
@media (min-width: 768px) { .product-row-track { grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; } }
@media (min-width: 1200px) { .product-row-track { grid-auto-columns: calc((100% - 4rem) / 5); } }
.row-arrow { position: absolute; top: 40%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff; color: var(--color-navy); box-shadow: var(--shadow-sm); display: none; align-items: center; justify-content: center; }
.row-arrow:hover { background: var(--color-navy); color: #fff; }
.row-arrow.prev { left: -14px; } .row-arrow.next { right: -14px; }
@media (min-width: 992px) { .row-arrow { display: flex; } .row-arrow[disabled] { opacity: 0; pointer-events: none; } }

/* ── Home ─────────────────────────────────────────────────── */
.hero { padding-top: 1rem; }
.hero .carousel { border-radius: var(--radius-2xl); overflow: hidden; }
.hero-slide { position: relative; aspect-ratio: 16 / 9; color: #fff; display: flex; align-items: center; }
@media (min-width: 768px) { .hero-slide { aspect-ratio: 3 / 1; } }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 18 55 / .78) 0%, rgb(0 18 55 / .35) 55%, transparent 100%); }
.hero-copy { position: relative; z-index: 1; padding: 1.5rem 1.5rem 2.75rem; max-width: 640px; } /* bottom room keeps the dots clear of the button */
@media (min-width: 768px) { .hero-copy { padding: 3rem 4rem; } }
.hero-copy h2 { color: #fff; font-size: clamp(1.35rem, 1rem + 2vw, 2.5rem); margin-bottom: .5rem; }
.hero-copy p { color: rgb(255 255 255 / .9); font-size: clamp(.95rem, .9rem + .3vw, 1.15rem); margin-bottom: 1rem; }
/* 10px dot inside a 24px tap target (WCAG 2.5.8): the transparent border is clickable but not painted. */
.hero .carousel-indicators { margin-bottom: .5rem; }
.hero .carousel-indicators [data-bs-target] { box-sizing: content-box; width: 10px; height: 10px; border-radius: 50%; border: 7px solid transparent; background-clip: padding-box; margin: 0 1px; }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; }

.usp-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; padding: 1.25rem 0; }
@media (min-width: 992px) { .usp-strip { grid-template-columns: repeat(4, 1fr); } }
.usp-item { display: flex; align-items: center; gap: .75rem; font-weight: 600; font-size: .9375rem; color: var(--color-navy); background: var(--color-navy-soft); border-radius: var(--radius-xl); padding: .85rem 1rem; }
.usp-item .icon { font-size: 1.5rem; color: var(--color-accent-dark); }

.dept-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .dept-tiles { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.dept-tile { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: .75rem; text-decoration: none; color: var(--color-text); transition: box-shadow .2s, border-color .2s; }
.dept-tile:hover { box-shadow: var(--shadow-card-hover); border-color: transparent; color: var(--color-navy); }
.dept-tile-media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--color-surface); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.dept-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.dept-tile-media .icon { font-size: 2.5rem; color: var(--color-navy); }
.dept-tile strong { font-size: 1rem; color: var(--color-navy); }
.dept-tile span { font-size: .8125rem; color: var(--color-subtle); }

.promo-tiles { display: grid; gap: 1rem; }
@media (min-width: 768px) { .promo-tiles { grid-template-columns: 1fr 1fr; } }
.promo-tile { position: relative; border-radius: var(--radius-2xl); overflow: hidden; min-height: 220px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; }
.promo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.promo-tile:hover img { transform: scale(1.03); }
.promo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 18 55 / .8), transparent 70%); }
.promo-tile-copy { position: relative; z-index: 1; padding: 1.5rem; }
.promo-tile-copy h3 { color: #fff; font-size: 1.4rem; margin-bottom: .25rem; }
.promo-tile-copy p { margin-bottom: .75rem; color: rgb(255 255 255 / .9); }
.promo-tile:hover { color: #fff; }

.brand-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
@media (min-width: 768px) { .brand-strip { grid-template-columns: repeat(6, 1fr); } }
.brand-logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: .75rem; text-decoration: none; color: var(--color-navy); font-weight: 700; text-align: center; }
.brand-logo:hover { border-color: var(--color-navy); }
.brand-logo img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; }

.about-band { background: var(--color-navy); color: rgb(255 255 255 / .9); border-radius: var(--radius-2xl); padding: 2rem; }
.about-band h2 { color: #fff; }

/* FAQ accordion */
.faq-accordion .accordion-item { border: 1px solid var(--color-border); border-radius: var(--radius-xl) !important; margin-bottom: .5rem; overflow: hidden; }
.faq-accordion .accordion-button { font-weight: 600; color: var(--color-navy); background: #fff; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--color-navy-soft); }
.faq-accordion .accordion-button:focus-visible { box-shadow: inset 0 0 0 3px rgb(2 26 71 / .3); }
.faq-accordion .accordion-body { color: var(--color-muted); }

/* Newsletter band */
.newsletter-band { background: var(--color-navy-soft); padding: 2rem 0; }
.newsletter-band h2 { font-size: 1.25rem; margin-bottom: .25rem; }
.newsletter-form .form-control { border-radius: var(--radius-pill); padding: .65rem 1.1rem; }
.newsletter-form .btn { border-radius: var(--radius-pill); padding-left: 1.5rem; padding-right: 1.5rem; }

/* ── Listing ──────────────────────────────────────────────── */
.listing-head { margin-bottom: 1rem; }
.listing-head p { color: var(--color-muted); max-width: 80ch; }
.subcat-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 1.25rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: var(--radius-pill); border: 1px solid var(--color-border-strong); background: #fff; color: var(--color-text); font-size: .875rem; font-weight: 500; text-decoration: none; }
.chip:hover { border-color: var(--color-navy); color: var(--color-navy); }
.chip .chip-count { color: var(--color-subtle); font-size: .8125rem; }
.chip-active { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.chip-active:hover { color: #fff; background: var(--color-navy-dark); }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--color-border); margin-bottom: 1rem; }
.results-count { font-size: .9375rem; color: var(--color-muted); }
.results-bar .form-select { width: auto; min-width: 210px; }
.filters { font-size: .9375rem; }
.filter-group { border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h3 { font-size: .9375rem; font-weight: 700; margin-bottom: .75rem; }
.filter-group .form-check { margin-bottom: .4rem; }
.filter-group .form-check-label { display: flex; justify-content: space-between; gap: .5rem; width: 100%; }
.filter-count { color: var(--color-subtle); font-size: .8125rem; }
.form-check-input:checked { background-color: var(--color-navy); border-color: var(--color-navy); }
.filter-more[hidden] { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.active-filters .chip { background: var(--color-navy-soft); border-color: transparent; color: var(--color-navy); }
@media (min-width: 992px) { .filters-panel { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow-y: auto; padding-right: .5rem; } }
.pagination { --bs-pagination-color: var(--color-navy); --bs-pagination-active-bg: var(--color-navy); --bs-pagination-active-border-color: var(--color-navy); --bs-pagination-hover-color: var(--color-primary); gap: .25rem; flex-wrap: wrap; }
.pagination .page-link { border-radius: var(--radius-lg) !important; min-width: 40px; text-align: center; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--color-muted); }
.empty-state .icon { font-size: 3rem; color: var(--color-border-strong); margin-bottom: 1rem; }
.empty-state h2 { font-size: 1.25rem; }

/* ── Product page ─────────────────────────────────────────── */
.pdp { padding-bottom: 2rem; }
.gallery-main { position: relative; aspect-ratio: 1; border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; background: #fff; cursor: zoom-in; display: block; width: 100%; padding: 0; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .15s ease-out; }
@media (hover: hover) and (min-width: 992px) { .gallery-main.is-zooming img { transform: scale(1.9); } }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; }
.gallery-thumbs button { flex: 0 0 72px; aspect-ratio: 1; border: 2px solid var(--color-border); border-radius: var(--radius-lg); padding: 2px; background: #fff; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--color-navy); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-brand { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; color: var(--color-subtle); }
.pdp h1 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); margin: .25rem 0 .5rem; }
.pdp-codes { font-size: .8125rem; color: var(--color-subtle); display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: 1rem; }
.pdp-price { padding: 1rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin-bottom: 1rem; }
.pdp-price .price { font-size: 2rem; }
.pdp-info { display: flex; gap: .75rem; background: var(--color-surface); border-radius: var(--radius-xl); padding: .9rem 1rem; font-size: .875rem; color: var(--color-muted); margin-bottom: 1rem; }
.pdp-info .icon { font-size: 1.3rem; color: var(--color-navy); margin-top: .1rem; }
.pdp-actions { display: grid; grid-template-columns: auto 1fr; gap: .75rem; margin-bottom: .75rem; }
.qty-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.qty-stepper button { border: 0; background: #fff; width: 42px; color: var(--color-navy); font-size: 1rem; }
.qty-stepper button:hover { background: var(--color-surface); }
.qty-stepper input { width: 64px; border: 0; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); text-align: center; font-weight: 600; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper.sm button { width: 34px; } .qty-stepper.sm input { width: 52px; padding: .3rem 0; }
.pdp-secondary { display: flex; flex-wrap: wrap; gap: .5rem; }
.pdp-section { padding-top: 2rem; }
.pdp-section h2 { border-bottom: 2px solid var(--color-navy); padding-bottom: .5rem; margin-bottom: 1rem; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.spec-table th, .spec-table td { padding: .65rem .85rem; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.spec-table th { width: 38%; background: var(--color-surface); color: var(--color-navy); font-weight: 600; }
.rich-text { color: var(--color-text); line-height: 1.65; }
.rich-text h2, .rich-text h3 { margin-top: 1.5rem; }
.rich-text a { color: var(--color-primary); }

/* Lightbox */
.lightbox .modal-content { background: #fff; border-radius: var(--radius-2xl); }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.lightbox-stage img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff; color: var(--color-navy); display: flex; align-items: center; justify-content: center; }
.lightbox-nav.prev { left: .5rem; } .lightbox-nav.next { right: .5rem; }

/* ── Quote basket & forms ─────────────────────────────────── */
.quote-steps { display: flex; gap: .5rem; margin: 1rem 0 1.5rem; font-size: .875rem; flex-wrap: wrap; }
.quote-steps li { display: flex; align-items: center; gap: .4rem; color: var(--color-subtle); }
.quote-steps li + li::before { content: ""; width: 24px; height: 1px; background: var(--color-border-strong); margin-right: .25rem; }
.quote-steps .step-no { width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .75rem; }
.quote-steps .is-current { color: var(--color-navy); font-weight: 700; }
.quote-steps .is-current .step-no { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.quote-steps .is-done { color: var(--color-success); }
.quote-line { display: grid; grid-template-columns: 72px 1fr; gap: .75rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
@media (min-width: 768px) { .quote-line { grid-template-columns: 88px 1fr auto auto; align-items: center; } }
.quote-line-media { aspect-ratio: 1; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.quote-line-media img { width: 100%; height: 100%; object-fit: contain; }
.quote-line-name { font-weight: 600; color: var(--color-text); text-decoration: none; }
.quote-line-meta { font-size: .8125rem; color: var(--color-subtle); }
.quote-line-controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 768px) { .quote-line-controls { grid-column: auto; justify-content: flex-end; } }
.quote-line-total { font-weight: 700; color: var(--color-navy); min-width: 110px; text-align: right; }
.quote-line-note { grid-column: 1 / -1; }
.quote-line-note summary { font-size: .8125rem; color: var(--color-navy); cursor: pointer; }
.link-remove { border: 0; background: none; color: var(--color-muted); font-size: .875rem; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem; }
.link-remove:hover { color: var(--color-error); }
.summary-card { border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: 1.25rem; background: #fff; }
@media (min-width: 992px) { .summary-card { position: sticky; top: 150px; } }
.summary-card dl { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; margin: 0 0 1rem; }
.summary-card dd { margin: 0; text-align: right; font-weight: 600; }
.summary-card .summary-total { font-size: 1.15rem; color: var(--color-navy); font-weight: 700; padding-top: .5rem; border-top: 1px solid var(--color-border); }
.summary-note { font-size: .8125rem; color: var(--color-muted); }
.form-label { font-weight: 600; font-size: .9375rem; color: var(--color-text); }
.form-label .req { color: var(--color-primary); }
.form-control, .form-select { border-color: var(--color-border-strong); border-radius: var(--radius-lg); padding: .6rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--color-navy); box-shadow: 0 0 0 3px rgb(2 26 71 / .15); }
.form-section { border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: 1.25rem; margin-bottom: 1rem; }
.form-section h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.method-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.method-choice label { display: flex; align-items: center; gap: .6rem; border: 2px solid var(--color-border); border-radius: var(--radius-lg); padding: .75rem 1rem; cursor: pointer; font-weight: 600; }
.method-choice input:checked + label, .method-choice label:has(input:checked) { border-color: var(--color-navy); background: var(--color-navy-soft); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Alerts (house format: what failed + error + description) */
.alert { border-radius: var(--radius-xl); border: 0; display: flex; gap: .75rem; }
.alert .icon { font-size: 1.25rem; margin-top: .1rem; }
.alert-success { background: var(--color-success-soft); color: var(--color-success); }
.alert-danger { background: var(--color-error-soft); color: var(--color-error); }
.alert-warning { background: var(--color-warning-soft); color: var(--color-warning); }
.alert-info { background: var(--color-info-soft); color: var(--color-info); }
.alert p { margin: 0; color: var(--color-text); }
.alert strong { display: block; }

.confirm-hero { text-align: center; padding: 2rem 1rem; }
.confirm-hero .icon { font-size: 3.5rem; color: var(--color-success); }
.quote-ref { display: inline-block; font-size: 1.5rem; font-weight: 700; color: var(--color-primary); background: var(--color-primary-soft); padding: .35rem 1rem; border-radius: var(--radius-lg); letter-spacing: .02em; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 1rem 1.75rem; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-navy); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--color-border); }

/* Mini basket */
.mini-basket { --bs-offcanvas-width: min(92vw, 420px); }
.mini-basket .offcanvas-header { border-bottom: 1px solid var(--color-border); }
.mini-basket-added { display: flex; align-items: center; gap: .5rem; color: var(--color-success); font-weight: 700; margin-bottom: 1rem; }
.mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: .75rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--color-border); font-size: .875rem; }
.mini-line img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.mini-basket .offcanvas-footer { padding: 1rem; border-top: 1px solid var(--color-border); display: grid; gap: .5rem; }

/* Toasts */
.toast-container { z-index: 1090; }
.toast { border-radius: var(--radius-xl); border: 0; box-shadow: var(--shadow-dropdown); }

/* Content pages */
.content-page { max-width: 860px; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: .85rem; padding: 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-xl); }
.contact-card .icon { font-size: 1.4rem; color: var(--color-primary); }
.map-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-xl); }
.brand-az { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } /* minmax(0,…): logos must not widen columns */
@media (min-width: 768px) { .brand-az { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .brand-az { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--color-navy); color: rgb(255 255 255 / .75); font-size: .9375rem; padding-top: 2.5rem; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgb(255 255 255 / .75); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cols { display: grid; gap: 0; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
@media (min-width: 1200px) { .footer-cols { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-col details > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; border-bottom: 1px solid rgb(255 255 255 / .12); }
.footer-col details > summary::-webkit-details-marker { display: none; }
.footer-col details > summary h2 { margin: 0; }
.footer-col details[open] > summary .icon { transform: rotate(180deg); }
.footer-col details > ul { padding: .75rem 0 1rem; }
@media (min-width: 768px) { .footer-col details > summary { pointer-events: none; border: 0; padding: 0 0 1rem; } .footer-col details > summary .icon { display: none; } .footer-col details > ul { padding: 0; } }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact .icon { margin-top: .2rem; color: #fff; }
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / .1); display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-social a:hover { background: var(--color-primary); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .12); margin-top: 2rem; padding: 1.25rem 0; font-size: .8125rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 1rem; }

/* WhatsApp floating button */
.whatsapp-float { position: fixed; right: 16px; bottom: 16px; z-index: 1020; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: var(--shadow-dropdown); }
.whatsapp-float:hover { color: #fff; transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.rich-text table { width: 100%; margin: 1rem 0 1.5rem; border-collapse: collapse; font-size: .9375rem; }
.rich-text th, .rich-text td { padding: .6rem .75rem; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.rich-text thead th { background: var(--color-navy-soft); color: var(--color-navy); }
@media (max-width: 575.98px) { .rich-text table { display: block; overflow-x: auto; } }
