/* ==========================================================================
   Central Ortho & Surgicals — public site styles
   ========================================================================== */

:root {
    --navy: #1B3F9A;
    --navy-700: #163482;
    --navy-900: #0E2463;
    --navy-50: #EEF3FC;
    --navy-100: #DCE6F8;
    --teal: #0F8A7E;
    --teal-600: #0B7268;
    --teal-50: #E6F5F3;
    --ink: #0F1A33;
    --body: #3D4866;
    --muted: #66728F;
    --line: #E2E8F3;
    --bg: #FFFFFF;
    --bg-soft: #F5F8FD;
    --danger: #C0352B;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(14, 36, 99, .06), 0 2px 8px -2px rgba(14, 36, 99, .08);
    --shadow: 0 12px 32px -14px rgba(14, 36, 99, .28);
    --shadow-lg: 0 24px 60px -24px rgba(14, 36, 99, .4);
    --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(15, 138, 126, .5); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; color: #fff; }
.center { text-align: center; }
.center-flex { justify-content: center; }
.mt-32 { margin-top: 32px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* Icons */
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon.xs { width: 14px; height: 14px; }
.icon.sm { width: 18px; height: 18px; }
.icon.lg { width: 44px; height: 44px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
    cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
    white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(27, 63, 154, .6); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 138, 126, .6); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--navy-50); color: var(--navy-900); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy-100); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-50); }
.btn-ghost { background: var(--navy-50); color: var(--navy); }
.btn-ghost:hover { background: var(--navy-100); color: var(--navy-900); }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 6px; font-size: .9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--teal); }
.link-arrow:hover { color: var(--teal-600); gap: 9px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--navy-50); }

/* Top bar */
.topbar { background: var(--navy-900); color: #C9D5F2; font-size: .82rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a, .topbar span { color: #C9D5F2; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-info, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--teal); color: #fff !important; padding: 4px 12px; border-radius: 999px; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
/* The frosted background lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block for the fixed mobile nav drawer, squashing the drawer to the header's height. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.nav-open .site-header { z-index: 85; }
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(14, 36, 99, .25); }
.header-in { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo-img { height: 58px; width: auto; }
.nav-logo { height: 40px; width: auto; }
.brand-card { background: #fff; padding: 12px 16px; border-radius: 14px; }
.brand-card .brand-logo-img { height: 54px; }

.header-search { position: relative; flex: 1; max-width: 420px; display: flex; align-items: center; }
.header-search > .icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.header-search input { width: 100%; padding: 11px 16px 11px 42px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-soft); transition: border-color .2s, background .2s; }
.header-search input:focus { outline: none; border-color: var(--navy); background: #fff; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); border-bottom: 1px solid var(--line); }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover, .suggest a.active { background: var(--navy-50); }
.suggest img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--bg-soft); }
.suggest strong { display: block; font-size: .92rem; font-weight: 600; }
.suggest small { color: var(--muted); font-size: .78rem; }
.suggest .suggest-all { justify-content: center; color: var(--teal); font-weight: 600; font-size: .9rem; }
.suggest .suggest-empty { padding: 14px; color: var(--muted); font-size: .9rem; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .has-mega > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink); }
.main-nav > a:hover, .has-mega > a:hover, .main-nav a.active { color: var(--navy); background: var(--navy-50); }
.nav-head, .nav-foot { display: none; }
.has-mega { position: relative; }
.mega {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
    width: min(720px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
    padding: 18px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-grid a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ink); }
.mega-grid a:hover { background: var(--navy-50); }
.mega-grid strong { display: block; font-size: .9rem; font-weight: 600; font-family: var(--font-head); }
.mega-grid small { color: var(--muted); font-size: .78rem; }
.mega-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.mega-ic .icon { width: 20px; height: 20px; }
.mega-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--teal-50); color: var(--teal-600); font-weight: 600; font-family: var(--font-head); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.quote-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.quote-btn:hover { border-color: var(--navy); }
.quote-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--teal); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.quote-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.header-wa { width: 44px; height: 44px; padding: 0; border-radius: 50%; flex-shrink: 0; }
.nav-toggle { display: none; }

/* Desktop: logo + 6 nav links + actions leave no room for a usable search field, so the search is a round
   icon that expands over the nav while focused. */
@media (min-width: 961px) {
    .header-search { flex: 0 0 44px; height: 44px; z-index: 5; }
    .header-search > .icon { z-index: 1; }
    .header-search input { position: absolute; left: 0; top: 0; width: 44px; height: 44px; padding: 0 0 0 42px; cursor: pointer; transition: width .25s ease, border-color .2s, background .2s, box-shadow .2s; }
    .header-search input::placeholder { color: transparent; }
    .header-search input:hover { border-color: var(--navy); }
    .header-search:focus-within input { width: min(480px, calc(100vw - 340px)); padding-right: 16px; cursor: text; background: #fff; border-color: var(--navy); box-shadow: var(--shadow); }
    .header-search:focus-within input::placeholder { color: var(--muted); }
    .header-search .suggest { right: auto; width: min(480px, calc(100vw - 340px)); }
}
.nav-backdrop, .drawer-backdrop, .filters-backdrop { position: fixed; inset: 0; background: rgba(14, 26, 51, .45); z-index: 80; }

/* Flash alerts */
.flash-wrap { padding-top: 16px; }
.alert { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; margin-bottom: 10px; font-weight: 500; }
.alert-success { background: var(--teal-50); color: #0A5D55; border: 1px solid #BFE6E0; }
.alert-error { background: #FDEDEC; color: #8E2017; border: 1px solid #F5C9C5; }
.alert-info { background: var(--navy-50); color: var(--navy-900); border: 1px solid var(--navy-100); }
.alert-close { background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; color: inherit; opacity: .6; }

/* Hero */
.hero { position: relative; background: radial-gradient(1000px 500px at 85% -10%, rgba(95, 211, 197, .25), transparent 60%), linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 60%, #2552BD 100%); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 72px 20px 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: .85rem; font-weight: 600; color: #DDE7FF; margin-bottom: 18px; }
.eyebrow .icon { color: #7EDDD2; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 700; margin-bottom: 18px; }
.hero .lead { font-size: 1.12rem; color: #D3DDF6; max-width: 540px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 28px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 500; color: #E6EDFF; }
.hero-points .icon { color: #7EDDD2; }
.hero-visual { position: relative; }
.hero-photo { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.showcase { background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); color: var(--ink); }
.showcase-head { display: flex; justify-content: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.showcase-logo { height: 64px; width: auto; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sc-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 14px 6px; border-radius: 14px; background: var(--bg-soft); color: var(--ink); font-family: var(--font-head); font-size: .78rem; font-weight: 600; line-height: 1.25; transition: background .2s, transform .2s; }
.sc-item:hover { background: var(--navy-50); transform: translateY(-2px); color: var(--navy); }
.sc-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .82rem; animation: floaty 6s ease-in-out infinite; }
.float-card strong { display: block; font-family: var(--font-head); font-size: .9rem; }
.float-card span { color: var(--muted); }
.float-card .icon { color: var(--teal); width: 28px; height: 28px; }
.fc-1 { left: -28px; bottom: -52px; }
.fc-2 { right: -18px; top: -46px; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; color: #fff; }

/* Sections */
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.center-head { flex-direction: column; align-items: center; text-align: center; }
.center-head p { max-width: 560px; color: var(--muted); margin: 8px 0 0; }
.kicker { display: inline-block; font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }

/* Category tiles (signboard style) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px 10px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy-100); color: var(--navy); }
.cat-ic { width: 66px; height: 66px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--navy-50); transition: background .2s; }
.cat-ic .icon { width: 30px; height: 30px; }
.cat-ic.sm { width: 48px; height: 48px; box-shadow: 0 0 0 5px var(--navy-50); }
.cat-ic.sm .icon { width: 22px; height: 22px; }
.cat-tile:hover .cat-ic { background: var(--teal); }
.cat-name { font-family: var(--font-head); font-weight: 600; font-size: .92rem; line-height: 1.25; }
.cat-count { font-size: .78rem; color: var(--muted); }

/* Stats */
.stats-band { background: linear-gradient(90deg, var(--navy-900), var(--navy)); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 6px; border-right: 1px solid rgba(255, 255, 255, .14); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; color: #fff; }
.stat span { color: #BFD0F5; font-size: .92rem; }

/* Tabs */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; }
.tab { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; }
.tab.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.p-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy-100); }
.p-media { position: relative; display: block; aspect-ratio: 1; background: var(--bg-soft); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.p-card:hover .p-media img { transform: scale(1.04); }
.p-badge { position: absolute; top: 12px; left: 12px; background: var(--teal); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.p-badge-muted { left: auto; right: 12px; background: rgba(15, 26, 51, .75); }
.p-body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .76rem; color: var(--muted); font-weight: 500; }
.p-brand { color: var(--teal); font-weight: 600; }
.p-title { font-size: 1rem; font-weight: 600; margin: 0; line-height: 1.35; }
.p-title a { color: var(--ink); }
.p-title a:hover { color: var(--navy); }
.p-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.mrp { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.off { color: var(--teal); font-weight: 700; font-size: .8rem; }
.price-request { font-family: var(--font-head); font-weight: 600; color: var(--teal); font-size: .95rem; }
.p-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.p-actions .btn { padding-left: 8px; padding-right: 8px; }
.p-actions .btn.added { background: var(--teal); }

/* Why cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, box-shadow .2s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.why-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; flex-shrink: 0; }
.why-ic.wa { background: #E3F7EA; color: #1DA851; }

/* Who we serve */
.serve { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.serve-copy p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.check-list .icon { color: #fff; background: var(--teal); border-radius: 50%; padding: 3px; margin-top: 2px; width: 20px; height: 20px; }
.serve-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.serve-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; border-radius: 20px; background: var(--navy-50); color: var(--ink); }
.serve-card:nth-child(2), .serve-card:nth-child(3) { background: var(--teal-50); }
.serve-card:nth-child(2) { transform: translateY(24px); }
.serve-card:nth-child(4) { transform: translateY(24px); }
.serve-card .icon { width: 34px; height: 34px; color: var(--navy); margin-bottom: 6px; }
.serve-card:nth-child(2) .icon, .serve-card:nth-child(3) .icon { color: var(--teal); }
.serve-card strong { font-family: var(--font-head); font-size: 1.1rem; }
.serve-card span { color: var(--muted); font-size: .9rem; }

/* Brands */
.brand-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.brand-chip { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.brand-chip:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); color: var(--navy); }
.brand-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; flex-shrink: 0; }
.brand-logo.lg { width: 84px; height: 84px; border-radius: 20px; }
.brand-mono { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.brand-logo.lg.brand-mono { font-size: 1.6rem; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.brand-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.brand-card h2 { font-size: 1.2rem; margin: 10px 0 0; }
.brand-card p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.brand-card-logo { height: 84px; display: flex; align-items: center; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { margin: 0; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 2px; color: #F5A524; }
.stars .icon { fill: currentColor; }
.testi blockquote { margin: 0; color: var(--ink); font-size: 1rem; flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption small { display: block; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); font-weight: 700; font-family: var(--font-head); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal-600), var(--teal) 50%, #14A291); color: #fff; padding: 56px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #D6F3EF; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-teal { background: var(--navy-900); }
.cta-band .btn-teal:hover { background: var(--navy); }
.cta-band .btn-light { color: var(--teal-600); }

/* Page hero */
.page-hero { background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #fff; padding: 40px 0 44px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(95, 211, 197, .12); }
.page-hero h1 { color: #fff; margin: 10px 0 6px; }
.page-hero p { color: #C9D5F2; max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: #AFC0EA; }
.crumbs a { color: #DCE6FF; }
.crumbs a:hover { color: #fff; }
.crumbs-dark { color: var(--muted); margin-bottom: 20px; }
.crumbs-dark a { color: var(--navy); }

/* Shop layout */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filters-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.05rem; }
.filters-close, .filters-open { display: none; }
.filter-block { padding: 14px 0; border-top: 1px solid var(--line); }
.filter-block:first-of-type { border-top: 0; padding-top: 0; }
.filter-block h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 8px; cursor: pointer; font-size: .93rem; color: var(--ink); }
.opt:hover { background: var(--bg-soft); }
.opt input { accent-color: var(--navy); width: 16px; height: 16px; margin: 0; }
.opt span { flex: 1; }
.opt em { font-style: normal; font-size: .75rem; color: var(--muted); background: var(--bg-soft); padding: 1px 8px; border-radius: 999px; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field .icon { position: absolute; left: 12px; color: var(--muted); }
.search-field input { width: 100%; padding: 10px 12px 10px 38px; border: 1.5px solid var(--line); border-radius: 10px; }
.search-field input:focus { outline: none; border-color: var(--navy); }
.filters .btn { margin-top: 10px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.result-count { margin: 0; color: var(--muted); }
.result-count strong { color: var(--ink); }
.sort-form select { padding: 9px 36px 9px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366728F' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; appearance: none; cursor: pointer; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-size: .82rem; font-weight: 600; }
.chip-teal { background: var(--teal-50); color: var(--teal-600); }
.chip-muted { background: #F1F2F6; color: var(--muted); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; }
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

.empty { text-align: center; padding: 60px 20px; background: var(--bg-soft); border-radius: var(--radius); }
.empty .icon.lg { color: var(--navy); opacity: .5; margin: 0 auto 12px; }
.empty p { color: var(--muted); max-width: 440px; margin: 0 auto 20px; }

/* Product detail */
.pd-top { padding: 28px 0 48px; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.pd-main { position: relative; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 1; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumb { width: 76px; height: 76px; flex-shrink: 0; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); padding: 0; cursor: pointer; background: #fff; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active { border-color: var(--navy); }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pd-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.pd-sub { color: var(--muted); font-size: .92rem; }
.pd-sub .sep { margin: 0 8px; }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.pd-price .price { font-size: 2rem; }
.pd-price .mrp { font-size: 1.05rem; }
.pd-price .off { font-size: .95rem; background: var(--teal-50); padding: 2px 10px; border-radius: 999px; }
.pd-price .price-request { font-size: 1.4rem; }
.tax-note { font-size: .8rem; color: var(--muted); }
.pd-short { font-size: 1.05rem; color: var(--ink); margin: 18px 0; }
.pd-sizes { margin: 20px 0; }
.pd-sizes > span { display: block; font-weight: 600; color: var(--ink); margin-bottom: 10px; font-family: var(--font-head); }
.pd-sizes small { display: block; margin-top: 8px; color: var(--muted); }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 48px; padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; }
.size:hover { border-color: var(--navy); }
.size.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.pd-trust { list-style: none; padding: 18px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); }
.pd-trust li { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink); font-weight: 500; }
.pd-trust .icon { color: var(--teal); }
.pd-details { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pd-desc .tabs { margin-bottom: 20px; }
.prose { color: var(--body); }
.spec-table { width: 100%; border-collapse: collapse; }
.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: 40%; color: var(--muted); font-weight: 500; background: var(--bg-soft); }
.spec-table td { color: var(--ink); font-weight: 500; }
.pd-enquiry { position: sticky; top: calc(var(--header-h) + 16px); }

/* Forms */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-50); }
.field textarea { resize: vertical; }
.form-note { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Categories page */
.cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.cat-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-body { position: relative; padding: 34px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.cat-card-body .cat-ic { position: absolute; top: -24px; left: 22px; }
.cat-card-body h2 { font-size: 1.15rem; margin-bottom: 6px; }
.cat-card-body p { color: var(--muted); font-size: .92rem; flex: 1; }

/* About */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about-panel { background: linear-gradient(160deg, var(--navy-50), var(--teal-50)); border-radius: 28px; padding: 36px; }
.about-logo { width: 100%; max-width: 340px; height: auto; margin: 0 auto 24px; }
.about-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 16px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.about-list .icon { color: var(--navy); width: 26px; height: 26px; }
.about-list strong { display: block; font-family: var(--font-head); color: var(--ink); }
.about-list span { color: var(--muted); font-size: .9rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
a.info-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); color: var(--ink); }
.info-card .why-ic { margin: 0; width: 48px; height: 48px; border-radius: 14px; }
.info-card strong { display: block; font-family: var(--font-head); }
.info-card span { color: var(--muted); font-size: .92rem; }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(.9); }

/* Footer */
.site-footer { background: var(--navy-900); color: #B8C6EA; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #B8C6EA; }
.site-footer a:hover { color: #fff; }
.footer-about p { margin: 18px 0 10px; font-size: .93rem; max-width: 340px; }
.footer-tag { font-family: var(--font-head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: #7EDDD2; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--teal); color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.footer-contact .icon { color: #7EDDD2; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .86rem; }
.footer-bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.credit strong { color: #fff; }
.heart { color: #FF6B7A; display: inline-block; animation: beat 1.4s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } }

/* Quote drawer */
.quote-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 90; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--shadow-lg); }
.quote-drawer.open { transform: none; }
.qd-head { display: flex; justify-content: space-between; gap: 12px; padding: 22px; border-bottom: 1px solid var(--line); }
.qd-head h3 { margin: 0 0 2px; }
.qd-head p { margin: 0; color: var(--muted); font-size: .88rem; }
.qd-list { list-style: none; margin: 0; padding: 10px 22px; overflow: auto; flex: 1; }
.qd-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qd-list img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--bg-soft); }
.qd-list a { flex: 1; color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.35; }
.qd-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qd-qty button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.qd-qty span { min-width: 20px; text-align: center; font-weight: 600; font-size: .9rem; }
.qd-remove { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px; }
.qd-remove:hover { color: var(--danger); }
.qd-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; color: var(--muted); }
.qd-empty .icon { color: var(--navy-100); margin-bottom: 10px; }
.qd-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.qd-foot .link-btn { justify-self: center; }

/* Floating */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 8px; background: #25D366; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6); font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; }
.to-top { position: fixed; right: 24px; bottom: 84px; z-index: 70; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: .92rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); }
.toast a { color: #7EDDD2; font-weight: 600; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ===================== Responsive ===================== */
@media (max-width: 1180px) {
    .header-in { gap: 16px; }
    .main-nav > a, .has-mega > a { padding: 10px 9px; font-size: .9rem; }
}
@media (max-width: 1100px) {
    .hide-md { display: none !important; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .fc-1 { left: -8px; }
    .fc-2 { right: -8px; }
}
@media (max-width: 960px) {
    :root { --header-h: 66px; }
    .header-in { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 12px; }
    .header-actions { margin-left: auto; }
    .header-search { order: 5; flex-basis: 100%; max-width: none; }
    .nav-toggle { display: inline-grid; }
    .brand-logo-img { height: 46px; }

    .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); z-index: 90; background: #fff; flex-direction: column; align-items: stretch; gap: 2px; padding: 18px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; margin: 0; }
    .main-nav.open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
    .nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
    .nav-foot { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; }
    .main-nav > a, .has-mega > a { padding: 13px 12px; font-size: 1rem; }
    .has-mega > a { display: flex; }
    .has-mega > a .caret { margin-left: auto; transition: transform .2s; }
    .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 8px 8px; display: none; }
    .has-mega.open .mega { display: block; }
    .has-mega:hover .mega, .has-mega:focus-within .mega { transform: none; }
    .has-mega.open .caret { transform: rotate(180deg); }
    .mega-grid { grid-template-columns: 1fr; }
    .mega-grid a { padding: 8px; }
    .mega-ic { width: 34px; height: 34px; }

    .hero-in { grid-template-columns: 1fr; padding: 48px 20px 90px; gap: 40px; }
    .hero-visual { max-width: 560px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .serve, .about, .contact, .pd, .pd-details { grid-template-columns: 1fr; gap: 32px; }
    .pd-gallery, .pd-enquiry { position: static; }
    .serve-card:nth-child(2), .serve-card:nth-child(4) { transform: none; }
    .cat-cards { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: 1fr; }

    .shop { grid-template-columns: 1fr; }
    .filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 88vw); max-height: none; border-radius: 0; z-index: 90; transform: translateX(-100%); transition: transform .3s; }
    .filters.open { transform: none; }
    .filters-close, .filters-open { display: inline-flex; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .header-in { padding-top: 10px; padding-bottom: 12px; }
    .hide-sm { display: none !important; }
    .topbar-info { gap: 12px; }
    .topbar-right a:not(.topbar-cta) { display: none; }
    .section { padding: 56px 0; }
    .section-tight { padding: 36px 0; }
    .hero-in { padding: 36px 16px 80px; }
    .hero-points { grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: .9rem; }
    .hero-cta .btn { flex: 1 1 auto; }
    .showcase { padding: 14px; border-radius: 18px; }
    .showcase-grid { gap: 8px; }
    .sc-item { font-size: .7rem; padding: 10px 4px; }
    .sc-ic { width: 40px; height: 40px; }
    .sc-ic .icon { width: 20px; height: 20px; }
    .float-card { display: none; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .cat-tile { padding: 16px 6px 14px; }
    .cat-ic { width: 52px; height: 52px; box-shadow: 0 0 0 4px var(--navy-50); }
    .cat-ic .icon { width: 24px; height: 24px; }
    .cat-name { font-size: .8rem; }
    .product-grid, .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .p-body { padding: 12px; }
    .p-title { font-size: .9rem; }
    .price { font-size: 1rem; }
    .p-actions { grid-template-columns: 1fr; }
    .p-actions { gap: 6px; }
    .why-grid, .cat-cards, .serve-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .card { padding: 20px; }
    .pd-actions .btn { flex: 1 1 100%; }
    .pd-trust { grid-template-columns: 1fr; }
    .section-head { margin-bottom: 22px; }
    .wa-float span { display: none; }
    .wa-float { padding: 14px; }
    .to-top { right: 22px; bottom: 82px; }
    .cta-actions, .cta-actions .btn { width: 100%; }
}
@media (max-width: 380px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-logo-img { height: 40px; }
}

/* ===================== Enquire / book ===================== */
.p-card { position: relative; }
.p-save { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 0; background: rgba(255, 255, 255, .94); color: var(--navy); box-shadow: var(--shadow-sm); cursor: pointer; transition: background .2s, color .2s; }
.p-save:hover { background: var(--navy); color: #fff; }
.p-save.added { background: var(--teal); color: #fff; }
.p-card .p-badge-muted { top: auto; bottom: 12px; left: 12px; right: auto; }
.p-actions { margin-top: auto; padding-top: 10px; }
.pd-price-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: #E3F7EA; color: #146C36; font-weight: 500; font-size: .92rem; }
.pd-price-note .icon { color: #1DA851; flex-shrink: 0; }
.visit-card { display: grid; gap: 12px; align-content: start; }
.visit-card .why-ic { margin-bottom: 0; }
.visit-card h2, .visit-card h3 { margin: 0; }
.visit-card p { margin: 0; }
.check-list.sm { margin: 4px 0 8px; gap: 8px; font-size: .92rem; }
.store-address { font-style: normal; font-size: 1.05rem; color: var(--ink); font-weight: 500; line-height: 1.5; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.narrow { max-width: 760px; }

/* Booking */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.booking-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
.booking h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 14px; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-grid; place-items: center; font-size: .9rem; flex-shrink: 0; }
.booking-side { position: sticky; top: calc(var(--header-h) + 16px); }
.book-product { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--navy-100); background: var(--navy-50); border-radius: var(--radius); }
.book-product img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: #fff; }
.book-product div { flex: 1; min-width: 0; display: grid; }
.book-product small { color: var(--teal-600); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.book-product strong { font-family: var(--font-head); color: var(--ink); line-height: 1.3; }
.book-product span { color: var(--muted); font-size: .85rem; }
.date-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.date-chip { flex: 0 0 auto; width: 78px; display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; scroll-snap-align: start; transition: border-color .15s, background .15s; }
.date-chip small { font-size: .72rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.date-chip strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); line-height: 1.2; }
.date-chip:hover:not(:disabled) { border-color: var(--navy); }
.date-chip.active { background: var(--navy); border-color: var(--navy); }
.date-chip.active small, .date-chip.active strong { color: #fff; }
.date-chip:disabled { cursor: not-allowed; opacity: .45; background: var(--bg-soft); }
.slot-day { display: grid; gap: 16px; }
.js .slot-day:not(.active) { display: none; }
.js .slot-day-title { display: none; }
.slot-day-title { font-size: 1rem; margin: 8px 0 0; }
.slot-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot span { display: grid; place-items: center; min-height: 46px; padding: 6px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--ink); font-size: .92rem; text-align: center; line-height: 1.2; transition: border-color .15s, background .15s; }
.slot span em { font-style: normal; font-size: .68rem; font-weight: 600; color: #B7791F; }
.slot:hover span { border-color: var(--navy); }
.slot input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.slot input:checked + span em { color: #E6FFFA; }
.slot input:focus-visible + span { outline: 3px solid rgba(15, 138, 126, .5); outline-offset: 2px; }
.book-summary { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--teal-50); color: var(--teal-600); font-weight: 600; font-size: .92rem; }
.booked { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 40px 32px; }
.booked h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0; }
.booked-ic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); }
.lead-muted { color: var(--muted); font-size: 1.05rem; margin: 0; }
.booked-meta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0; padding: 20px; border-radius: var(--radius); background: var(--bg-soft); text-align: left; }
.booked-meta .full { grid-column: 1 / -1; }
.booked-meta dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.booked-meta dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.booked .visit-actions { justify-content: center; }

@media (max-width: 960px) {
    .booking { grid-template-columns: minmax(0, 1fr); }
    .booking-side { position: static; }
}
@media (max-width: 640px) {
    .p-actions .btn { font-size: .8rem; padding: 8px 6px; }
    .date-chip { width: 68px; }
    .slot-grid { grid-template-columns: repeat(3, 1fr); }
    .booked { padding: 28px 18px; }
    .booked-meta { grid-template-columns: 1fr; }
    .visit-actions .btn { flex: 1 1 100%; }
}

/* Enquiry modal → WhatsApp message */
.enq-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(15, 26, 51, .55); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .2s ease; }
.enq-overlay.open { opacity: 1; }
.enq-overlay[hidden], .enq-body[hidden], .enq-products[hidden] { display: none; }
.enq-modal { background: #fff; width: min(600px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: translateY(12px); transition: transform .2s ease; }
.enq-overlay.open .enq-modal { transform: none; }
.enq-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 24px 14px; position: sticky; top: 0; background: #fff; z-index: 1; border-bottom: 1px solid var(--line); }
.enq-head h3 { margin: 2px 0 4px; font-size: 1.25rem; }
.enq-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.enq-body { padding: 18px 24px 24px; }
.enq-hint { color: var(--muted); font-size: .8rem; margin-top: -4px; }
.enq-err { display: none; color: var(--danger); font-size: .8rem; }
.enq-err.show { display: block; }
.enq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.enq-chip { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; font-size: .88rem; color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.enq-chip:hover { border-color: var(--navy); }
.enq-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.enq-chip.sm { padding: 5px 12px; font-size: .82rem; }
.enq-prod { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; gap: 6px; }
.enq-prod strong { color: var(--ink); font-family: var(--font-head); font-weight: 600; line-height: 1.3; }
.enq-prod small { color: var(--muted); font-size: .82rem; display: block; }
.enq-prod ol { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: .9rem; color: var(--ink); }
.enq-prod ol b { color: var(--navy); font-weight: 600; }
.enq-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.enq-sub > span { font-size: .82rem; font-weight: 600; color: var(--ink); min-width: 62px; }
.enq-sub .qd-qty { background: #fff; }
.enq-sub .qd-qty button { width: 34px; height: 32px; font-size: 1.1rem; }
.enq-loc { display: flex; gap: 8px; }
.enq-loc input { flex: 1; min-width: 0; width: auto; }
.enq-loc .btn { white-space: nowrap; flex-shrink: 0; }
.enq-done { display: flex; align-items: center; gap: 8px; color: var(--teal-600); font-weight: 600; margin: 0 0 12px; }
.enq-msg { width: 100%; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); font-size: .9rem; line-height: 1.5; resize: vertical; color: var(--ink); }
.enq-msg:focus { outline: none; border-color: var(--navy); }
.enq-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.enq-to { margin: 12px 0 4px; font-size: .85rem; color: var(--muted); text-align: center; }
.enq-result .link-btn { display: block; margin: 0 auto; }
@media (max-width: 560px) {
    .enq-overlay { padding: 0; align-items: flex-end; }
    .enq-modal { max-height: 94vh; max-height: 94dvh; border-radius: var(--radius) var(--radius) 0 0; }
    .enq-head, .enq-body { padding-left: 16px; padding-right: 16px; }
    .enq-modal .form-row { grid-template-columns: 1fr; }
    .enq-loc { flex-direction: column; }
    .enq-actions { grid-template-columns: 1fr; }
}
