/* =========================================================
   AVIAN HOME COMFORT — Design system
   Original layout inspired by the reference shop (rebranded)
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --blue: #2482D8;
  --blue-bright: #2E8DE3;
  --blue-dark: #1C6DB8;
  --navy: #182E43;
  --navy-2: #172D43;
  --ink: #182E43;
  --muted: #575760;
  --muted-2: #8A98AB;
  --light: #F9FAFB;
  --light-2: #EDEDF1;
  --line: #E3EAF2;
  --white: #FFFFFF;
  --gold: #F5B52E;
  --gold-dark: #D99A0A;
  --red: #F34E44;
  --red-dark: #E0392F;
  --sale: #F1493F;
  --green: #1F9D6B;
  --green-light: #E7F6EF;
  --amber: #CE7B2B;
  --amber-light: #FDF1E4;
  --shadow-sm: 0 2px 10px rgba(24, 46, 67, .07);
  --shadow-md: 0 10px 30px rgba(24, 46, 67, .12);
  --shadow-lg: 0 24px 60px rgba(24, 46, 67, .18);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --font-head: "Open Sans", "Source Sans Pro", system-ui, sans-serif;
  --font-body: "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px;
}
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); margin: 0; line-height: 1.18; color: var(--navy); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: 1200px; 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; }
.section { padding: 72px 0; }
.section--light { background: var(--light); }
.section--navy { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.muted { color: var(--muted); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .78rem; font-weight: 700; color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px;
}
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; margin: 12px 0 12px; letter-spacing: -.02em; }
.section-title .hl { color: var(--blue); }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.section--navy .section-title, .section--navy .section-head p { color: #fff; }
.section--navy .section-head p { color: rgba(255,255,255,.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: all .22s ease; letter-spacing: .02em; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--red); color: #fff; text-transform: uppercase; }
.btn-gold:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--light-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-white { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue);
  font-family: var(--font-head); font-size: .9rem; transition: gap .2s ease;
}
.link-arrow:hover { gap: 12px; }
.link-arrow svg { width: 18px; height: 18px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.9); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 12px; }
.topbar-links { display: flex; align-items: center; gap: 14px; }
.topbar-links a { color: rgba(255,255,255,.85); transition: color .2s; }
.topbar-links a:hover { color: var(--gold); }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; letter-spacing: .02em; }
.topbar-phone svg { width: 14px; height: 14px; }
.topbar-phone:hover { color: var(--gold); }
.tb-sep { color: rgba(255,255,255,.3); }

/* ---------- Header ---------- */
.site-header {
  background: #fff; position: sticky; top: 0; z-index: 90;
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(10,37,64,.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 3px 6px rgba(11,92,171,.25)); }
.brand-text {
  font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: var(--navy);
  letter-spacing: -.01em; line-height: 1.05; display: flex; flex-direction: column;
}
.brand-accent { color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .24em; }
.site-logo { height: 46px; width: auto; object-fit: contain; }
.footer-brand .site-logo { height: 44px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink);
  padding: 10px 14px; border-radius: 8px; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav-link:hover { color: var(--blue); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy); transition: all .2s ease;
}
.icon-btn:hover { background: var(--light); color: var(--blue); border-color: var(--blue); }
.icon-btn svg { width: 19px; height: 19px; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; border-radius: 10px; }
.hamburger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .25s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: var(--white);
  z-index: 120; padding: 90px 26px 30px; transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-lg); overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  padding: 12px 14px; border-radius: 10px;
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--light); color: var(--blue); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

.scrim {
  position: fixed; inset: 0; background: rgba(10,37,64,.5); backdrop-filter: blur(3px);
  z-index: 110; opacity: 0; visibility: hidden; transition: all .3s ease;
}
.scrim.show { opacity: 1; visibility: visible; }

/* ---------- Search modal ---------- */
.search-modal {
  position: fixed; top: 0; left: 0; right: 0; z-index: 130; background: #fff;
  box-shadow: var(--shadow-lg); transform: translateY(-100%); transition: transform .35s ease; max-height: 92vh; overflow-y: auto;
}
.search-modal.open { transform: translateY(0); }
.search-modal-inner { max-width: 860px; margin: 0 auto; padding: 40px 24px 30px; position: relative; }
.search-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--light); color: var(--navy); font-size: 1.3rem; line-height: 1;
}
.search-close:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.search-title { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.search-box {
  display: flex; align-items: center; gap: 12px; margin: 16px 0 8px;
  border: 2px solid var(--line); border-radius: 14px; padding: 4px 18px; background: var(--light);
  transition: border-color .2s; 
}
.search-box:focus-within { border-color: var(--blue); background: #fff; }
.search-box svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-box input {
  flex: 1; border: 0; background: transparent; padding: 13px 0; font-size: 1.02rem;
  font-family: inherit; color: var(--ink); outline: none;
}
.search-hint { font-size: .82rem; color: var(--muted-2); margin-bottom: 14px; }
.search-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); margin-top: 16px; font-family: var(--font-head); font-size: .9rem; }
.search-all:hover { gap: 12px; }

/* cart count bubble */
.cart-wrap { position: relative; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--gold); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: .68rem;
  display: flex; align-items: center; justify-content: center; transition: transform .15s ease;
}
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------- Hero (home) ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(29,127,217,.18), transparent 60%),
    radial-gradient(700px 440px at -10% 110%, rgba(245,181,46,.14), transparent 55%),
    linear-gradient(180deg, #F0F6FC 0%, #F7FAFD 60%, #fff 100%);
  padding: 56px 0 0; overflow: hidden; position: relative;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(24,46,67,.08) 1px, transparent 1.4px);
  background-size: 26px 26px; opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 46%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 46%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 999px; padding: 8px 18px;
  font-family: var(--font-head); font-weight: 700; color: var(--blue); font-size: .82rem; letter-spacing: .04em;
}
.hero-badge svg { width: 20px; height: 20px; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; margin: 22px 0 16px; }
.hero-title .hl {
  color: var(--blue); position: relative;
  background: linear-gradient(90deg, #0E7FD0, #6D28D9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px; background: rgba(245,181,46,.35); z-index: -1; border-radius: 4px; }
.hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Homepage assurance strip ---------- */
.assure-wrap { padding-top: 14px; }
.assure-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 20px 26px; position: relative; overflow: hidden;
}
.assure-strip::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--green));
}
.assure-item { display: flex; align-items: center; gap: 14px; }
.assure-ico {
  flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
}
.assure-ico svg { width: 24px; height: 24px; }
.assure-ico--blue { background: var(--light); color: var(--blue); }
.assure-ico--green { background: var(--green-light); color: var(--green); }
.assure-ico--amber { background: #FDF4DD; color: var(--amber); }
.assure-ico--navy { background: #E7EEF5; color: var(--navy); }
.assure-txt strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy); }
.assure-txt small { color: var(--muted); font-size: .8rem; }
.assure-ico { transition: transform .2s ease; }
.assure-item:hover .assure-ico { transform: translateY(-3px); }
@media (min-width: 901px) { .assure-item:not(:first-child) { border-left: 1px solid var(--line); padding-left: 22px; } }
@media (max-width: 900px) { .assure-strip { grid-template-columns: repeat(2, 1fr); padding: 18px 20px; } }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; margin: auto; transform: perspective(900px); transition: transform .18s ease-out; width: 100%; }
.hero-blob {
  width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, #1D7FD9, #3B82F6 26%, #6D28D9 46%, #F34E44 72%, #C81E6D);
  background-size: 320% 320%;
  animation: heroGrad 9s ease-in-out infinite, blobFloat 6s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 40px 90px rgba(11,92,171,.45), 0 0 0 10px rgba(46,141,227,.08); color: #fff; position: relative;
}
.hero-blob::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.45), transparent 55%),
    radial-gradient(circle at 76% 82%, rgba(243,78,68,.42), transparent 58%);
}
.hero-blob::after {
  content: ""; position: absolute; inset: -18px; border: 2px dashed rgba(255,255,255,.85);
  border-radius: 50%; animation: spin 24s linear infinite;
}
.hero-blob .blob-icon { width: 62%; height: 62%; opacity: .96; position: relative; animation: blobPulse 3.6s ease-in-out infinite; }
.hero-visual::before, .hero-visual::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px;
  border-radius: 50%; border: 2px solid rgba(46,141,227,.32); animation: ringPulse 3.6s ease-out infinite; pointer-events: none;
}
.hero-visual::after { border-color: rgba(241,73,63,.28); animation-delay: 1.8s; }
@keyframes heroGrad { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes blobFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes blobPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes ringPulse { 0% { transform: scale(.55); opacity: .95; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--navy);
}
.hero-float-card svg { width: 22px; height: 22px; }
.float-a { top: 6%; left: -4%; }
.float-b { bottom: 10%; right: -2%; }
.float-a svg { color: var(--green); }
.float-b svg { color: var(--amber); }

/* ---------- Cooling / heating cards ---------- */
.twin-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.twin-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 40px;
  color: #fff; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-md); transition: transform .3s ease, box-shadow .3s ease;
}
.twin-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.twin-card::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; pointer-events: none; }
.twin-card--cool { background: linear-gradient(120deg, #0E7FD0, #08477F); }
.twin-card--heat { background: linear-gradient(120deg, #E0872A, #B45309); }
.twin-card .tc-icon { position: absolute; top: 30px; right: 30px; width: 84px; height: 84px; opacity: .22; }
.twin-card .tc-tag { font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .25em; opacity: .85; }
.twin-card h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; margin: 10px 0 8px; }
.twin-card p { color: rgba(255,255,255,.82); font-size: .96rem; max-width: 380px; }
.twin-card .btn { margin-top: 20px; align-self: flex-start; }
.twin-card .btn-outline-white:hover { color: var(--navy); }

/* ---------- Service tabs / split ---------- */
.split-band { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.split-card {
  display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); transition: all .25s ease;
}
.split-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.split-card .sc-icon { width: 58px; height: 58px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.split-card .sc-icon svg { width: 30px; height: 30px; }
.split-card h3 { font-size: 1.12rem; font-weight: 700; }
.split-card p { color: var(--muted); font-size: .9rem; }
.split-card .link-arrow { margin-top: 8px; }
.sc-icon--blue { background: var(--light); color: var(--blue); }
.sc-icon--amber { background: var(--amber-light); color: var(--amber); }

/* ---------- Feature grid (why thousands) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: all .25s ease; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .fc-icon { width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-card .fc-icon svg { width: 32px; height: 32px; }
.fc-icon--blue { background: var(--light); color: var(--blue); }
.fc-icon--gold { background: #FDF4DD; color: var(--gold-dark); }
.fc-icon--green { background: var(--green-light); color: var(--green); }
.feature-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff;
  border-radius: var(--radius-lg); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,181,46,.22), transparent 70%); pointer-events: none;
}
.cta-band h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; max-width: 640px; }
.cta-band p { color: rgba(255,255,255,.78); margin-top: 8px; }
.cta-band .cta-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Rebate band ---------- */
.rebate-band {
  background: linear-gradient(120deg, #0E6B45, #17946A); color: #fff;
  border-radius: var(--radius-lg); padding: 40px 44px; display: flex; align-items: center; gap: 26px;
  position: relative; overflow: hidden;
}
.rebate-band::after {
  content: ""; position: absolute; right: -60px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); pointer-events: none;
}
.rebate-icon {
  flex: none; width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center;
  background: #fff; color: #0E6B45; box-shadow: var(--shadow-md);
}
.rebate-icon svg { width: 34px; height: 34px; }
.rebate-copy { flex: 1 1 420px; position: relative; z-index: 1; }
.rebate-copy .eyebrow { color: rgba(255,255,255,.75); }
.rebate-copy .section-title { color: #fff; font-size: clamp(1.35rem, 2.6vw, 2rem); margin: 4px 0 10px; }
.rebate-copy .hl { color: #B7EFD8; }
.rebate-copy p { color: rgba(255,255,255,.88); max-width: 640px; }
.rebate-actions { display: flex; flex-direction: column; gap: 10px; flex: none; position: relative; z-index: 1; }
@media (max-width: 860px) { .rebate-band { flex-wrap: wrap; padding: 30px 24px; } .rebate-actions { flex-direction: row; } }

/* ---------- Brand strip ---------- */
.brands-strip { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 30px 0; }
.brand-chip {
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--muted-2);
  letter-spacing: -.01em; opacity: .75; transition: all .2s; white-space: nowrap;
}
.brand-chip:hover { opacity: 1; color: var(--blue); }

/* ---------- Deal / product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.p-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all .25s ease; display: flex; flex-direction: column; position: relative;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-card .p-media { position: relative; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: #F4F8FC; border-bottom: 1px solid var(--line); }
.p-card .p-media img { width: 86%; height: 86%; object-fit: contain; }
.p-card .p-media svg { width: 44%; height: 44%; color: rgba(255,255,255,.9); }
.p-card .p-media svg:not(.p-none) { color: var(--blue-dark); opacity: .55; }
.p-card .p-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.p-badge {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .76rem; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm); z-index: 3;
}
.p-media-link { position: absolute; inset: 0; z-index: 2; border-radius: 0; }
.p-tierchip {
  position: absolute; top: 12px; right: 12px; font-family: var(--font-head); font-weight: 800;
  font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px;
  color: #fff; box-shadow: var(--shadow-sm);
}
.tier-budget  .p-tierchip { background: var(--green); }
.tier-best    .p-tierchip { background: var(--blue); }
.tier-premium .p-tierchip { background: var(--amber); }
.p-compare {
  position: absolute; bottom: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); cursor: pointer; transition: all .2s ease;
}
.p-compare:hover { border-color: var(--blue); }
.p-compare input { opacity: 0; position: absolute; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.p-compare span { font-size: 15px; color: var(--muted-2); }
.p-compare input:checked + span { color: var(--blue); }
.p-spec {
  display: block; font-size: .8rem; color: var(--muted); font-weight: 600;
  margin: 0 0 10px; text-align: center; line-height: 1.4; min-height: 1.4em; word-break: break-word;
}
.p-rating { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: .8rem; color: var(--muted); margin-bottom: 6px; min-height: 1.2em; }
.p-rating .stars { color: #ffb400; letter-spacing: 1px; }
.p-brand { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--muted-2); }
.p-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #272727; text-align: center; margin: 6px 6px 9px; line-height: 1.32; min-height: 2.64em; display: flex; align-items: center; justify-content: center; }
.p-name a { color: inherit; text-decoration: none; }
.p-name a:hover { color: var(--blue); }
.p-price { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-top: auto; }
.p-price .now { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--red); }
.p-price .was { color: var(--muted-2); text-decoration: line-through; font-size: .92rem; }
.p-price.p-callfor { color: var(--muted-2); font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.p-actions { display: flex; gap: 10px; margin-top: 14px; align-items: stretch; }
.p-actions .btn { flex: 1 1 0; min-width: 0; margin: 0; padding: 11px 12px; font-size: .84rem; border: 2px solid transparent; white-space: nowrap; }
.p-actions .p-btn-add { background: var(--red); color: #fff; }
.p-actions .p-btn-add:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.p-actions .p-btn-compare, .p-actions .p-btn-view { background: #fff; color: var(--blue); border-color: var(--blue); }
.p-actions .p-btn-compare:hover, .p-actions .p-btn-view:hover { background: var(--blue); color: #fff; }
.p-actions .p-btn-compare.active { background: var(--blue); color: #fff; }
.p-row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }

/* tier media backgrounds */
.tier-budget .p-media { background: #F4F8FC; }
.tier-best .p-media { background: #F4F8FC; }
.tier-premium .p-media { background: #F4F8FC; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-grid--5 { grid-template-columns: repeat(5, 1fr); }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 22px;
  text-align: center; transition: all .25s ease; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card .cc-icon {
  width: 76px; height: 76px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
}
.cat-card .cc-icon svg { width: 40px; height: 40px; }
.cat-card h3 { font-size: 1.05rem; font-weight: 700; }
.cat-card p { color: var(--muted); font-size: .86rem; }
.cat-card .link-arrow { margin-top: 2px; }
.cc-blue { background: var(--light); color: var(--blue); }
.cc-sky, .cc-amber, .cc-green, .cc-navy { background: var(--light); color: var(--blue); }

/* ---------- Team banner ---------- */
.banner {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(120deg, var(--blue), var(--navy)); color: #fff; padding: 56px 48px;
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow-lg);
}
.banner h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.banner p { color: rgba(255,255,255,.82); margin-top: 10px; max-width: 560px; }
.banner .banner-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.banner-media { display: flex; gap: 12px; }
.banner-media .bm-tile { width: 74px; height: 86px; border-radius: 12px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.banner-media .bm-tile svg { width: 30px; height: 30px; color: rgba(255,255,255,.85); }

/* ---------- Reviews ---------- */
.review-slider { position: relative; }
.review-nav { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 14px; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.review-track::-webkit-scrollbar { height: 6px; }
.review-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.review-card {
  scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm);
}
.review-card .rc-stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; }
.review-card p { color: var(--ink); font-size: .94rem; }
.review-card .rc-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-card .rc-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--light); color: var(--blue);
  font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.review-card .rc-name { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy); }
.review-card .rc-role { font-size: .8rem; color: var(--muted); }
.rating-ribbon { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow-sm); margin-top: 28px; }
.rating-ribbon .rr-score { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--green); }
.rating-ribbon .stars { color: var(--gold); font-size: 1.15rem; letter-spacing: 3px; }

/* ---------- Solutions band ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sol-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 28px; text-align: center; transition: all .25s ease;
}
.sol-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.sol-card .sol-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; background: rgba(245,181,46,.18); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.sol-card .sol-icon svg { width: 32px; height: 32px; }
.sol-card h3 { color: #fff; font-size: 1.1rem; font-weight: 700; }
.sol-card p { color: rgba(255,255,255,.72); font-size: .9rem; margin-top: 6px; }

/* ---------- Social / gallery ---------- */
.social-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.social-chip {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  padding: 12px 24px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy); transition: all .22s ease; box-shadow: var(--shadow-sm);
}
.social-chip svg { width: 20px; height: 20px; }
.social-chip:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); }

.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gal-tile {
  aspect-ratio: 1; border-radius: 14px; background: var(--light); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--muted-2); transition: all .25s ease; overflow: hidden;
}
.gal-tile svg { width: 40%; height: 40%; }
.gal-tile:hover { background: var(--light-2); color: var(--blue); transform: scale(1.03); }

/* ---------- Locations ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.loc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-sm); transition: all .22s ease;
}
.loc-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); transform: translateY(-3px); }
.loc-card .lc-pin { color: var(--blue); margin-bottom: 10px; }
.loc-card .lc-pin svg { width: 22px; height: 22px; }
.loc-card h4 { font-size: .98rem; font-weight: 700; }
.loc-card p { color: var(--muted); font-size: .86rem; margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding: 64px 0 48px; }
.footer-col h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 18px; letter-spacing: .02em; text-transform: uppercase; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.72); transition: all .18s; }
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand svg { width: 44px; height: 44px; }
.footer-brand .f-brand-text { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.1rem; line-height: 1.1; }
.footer-brand .f-brand-text span { display: block; color: var(--gold); font-size: .72rem; letter-spacing: .22em; }
.footer-note { color: rgba(255,255,255,.55); font-size: .88rem; max-width: 300px; }
.dealer-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 10px 14px; font-size: .78rem; color: rgba(255,255,255,.85); }
.dealer-badge svg { width: 26px; height: 26px; color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 360px at 88% -10%, rgba(29,127,217,.2), transparent 60%),
    radial-gradient(500px 300px at 0% 110%, rgba(245,181,46,.16), transparent 55%),
    linear-gradient(180deg, #F0F6FC, #F8FBFE 70%, #fff);
  padding: 64px 0 56px; text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.025em; margin: 18px 0 14px; }
.page-hero h1 .hl { color: var(--blue); }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.06rem; }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--blue); font-weight: 600; }
.page-hero--compact { padding: 26px 0 24px; }
.page-hero--compact h1 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin: 8px 0 6px; }
.page-hero--compact p { font-size: .96rem; max-width: 620px; }
.page-hero.service-hero { padding: 22px 0 26px; }
.page-hero.service-hero h1 { font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 0 0 6px; }
.page-hero.service-hero p { font-size: .92rem; max-width: 560px; }
.service-hero + .section { padding-top: 22px; }
.section--tight { padding: 20px 0 24px; }

/* ---------- Offer / product slider ---------- */
.promo-slider {
  position: relative; background: linear-gradient(120deg, #fff, var(--light) 55%, #EAF2F9);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  overflow: hidden; padding: 0 64px;
}
.promo-slider::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--green));
}
.ps-track { position: relative; height: 300px; }
.ps-slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; padding: 30px 20px;
}
.ps-slide.active { opacity: 1; visibility: visible; position: relative; }
.ps-copy { flex: 1 1 320px; }
.ps-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; color: #fff;
}
.ps-tag--green { background: var(--green); }
.ps-tag--blue { background: var(--blue); }
.ps-tag--amber { background: var(--amber); }
.ps-tag--navy { background: var(--navy); }
.ps-copy h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 800; color: var(--navy); letter-spacing: -.015em; }
.ps-copy h3 .hl { color: var(--blue); }
.ps-copy p { color: var(--muted); margin: 8px 0 18px; max-width: 480px; }
.ps-media { flex: none; width: 40%; display: grid; place-items: center; position: relative; }
.ps-media::before {
  content: ""; position: absolute; width: 130%; height: 130%; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,141,227,.18), transparent 62%);
}
.ps-media img { width: 100%; max-width: 240px; object-fit: contain; filter: drop-shadow(0 14px 20px rgba(24,46,67,.18)); position: relative; }
.ps-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: all .2s;
}
.ps-arrow svg { width: 20px; height: 20px; }
.ps-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.ps-prev { left: 12px; } .ps-next { right: 12px; }
.ps-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 3; }
.ps-dot { width: 8px; height: 8px; border-radius: 999px; background: #C6D2DE; cursor: pointer; transition: all .25s; }
.ps-dot.active { width: 22px; background: var(--blue); }
.ps-dot:hover { background: var(--blue); }
@media (max-width: 760px) {
  .promo-slider { padding: 0 46px; }
  .ps-track { height: 380px; }
  .ps-slide { flex-direction: column-reverse; text-align: center; padding: 20px 8px; gap: 16px; }
  .ps-copy p { margin-left: auto; margin-right: auto; }
  .ps-media { width: 100%; max-height: 120px; }
  .ps-media img { max-width: 130px; }
}
.crumbs a:hover { text-decoration: underline; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  box-shadow: var(--shadow-sm); transition: all .25s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card .svc-icon { width: 66px; height: 66px; border-radius: 18px; display: flex; align-items: center; justify-content: center; }
.svc-card .svc-icon svg { width: 34px; height: 34px; }
.svc-card h3 { font-size: 1.18rem; font-weight: 700; }
.svc-card p { color: var(--muted); font-size: .94rem; flex: 1; max-width: 400px; }
.svc-card .btn { align-self: center; width: 100%; justify-content: center; max-width: 260px; }
.section-head--compact { margin-bottom: 34px; }
.section-head--compact .section-title { font-size: clamp(1.35rem, 2.6vw, 1.95rem); }

/* ---------- Problem cards ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prob-card {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: all .22s ease;
}
.prob-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.prob-card .prob-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--light); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.prob-card .prob-icon svg { width: 24px; height: 24px; }
.prob-card h4 { font-size: .98rem; font-weight: 700; margin-bottom: 6px; }
.prob-card p { color: var(--muted); font-size: .88rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: var(--navy); }
.form-field label .req { color: #D64545; }
.form-field input, .form-field textarea, .form-field select {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--light); outline: none; transition: all .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(11,92,171,.12); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-span { grid-column: 1 / -1; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--blue); }
.form-success { display: none; margin-top: 16px; padding: 16px; border-radius: 10px; background: var(--green-light); color: var(--green); font-weight: 600; }
.form-success.show { display: block; }

/* ---------- TIERED SEARCH (feature) ---------- */
.tier-search {
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(29,127,217,.14), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(245,181,46,.14), transparent 55%),
    var(--light);
  border-radius: var(--radius-lg); padding: 14px 22px 16px; box-shadow: inset 0 0 0 1px var(--line);
  position: relative; overflow: hidden;
}
.ts-top { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.tier-search .ts-title { font-size: clamp(1rem, 1.9vw, 1.35rem); font-weight: 800; white-space: nowrap; }
.ts-box {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--line);
  border-radius: 14px; padding: 1px 16px; width: min(430px, 100%); flex: 1 1 300px; box-shadow: var(--shadow-sm); transition: border-color .2s;
}
.ts-box:focus-within { border-color: var(--blue); }
.ts-box svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.ts-box input { flex: 1; border: 0; outline: none; font-size: .96rem; padding: 8px 0; font-family: inherit; color: var(--ink); background: transparent; }
.chip-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--muted);
  border: 1.5px solid var(--line); background: #fff; padding: 5px 13px; border-radius: 999px; transition: all .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.ts-count { text-align: center; color: var(--muted); font-size: .86rem; font-weight: 600; margin: 0 0 10px; }
.ts-count b { color: var(--blue); }

/* tier panels */
.tier-results { display: flex; flex-direction: column; gap: 26px; }
.tier-panel {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); text-align: left;
}
.tier-panel .tier-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.tier-panel .tier-head::after { content: ""; flex: 1; height: 1px; background: var(--line); min-width: 40px; }
.tier-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.tier-panel[data-tier="budget"] .tier-dot { background: var(--green); box-shadow: 0 0 0 5px var(--green-light); }
.tier-panel[data-tier="best"] .tier-dot { background: var(--blue); box-shadow: 0 0 0 5px var(--light); }
.tier-panel[data-tier="premium"] .tier-dot { background: var(--amber); box-shadow: 0 0 0 5px var(--amber-light); }
.tier-name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.tier-tag { font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.tier-panel[data-tier="budget"] .tier-tag { background: var(--green-light); color: var(--green); }
.tier-panel[data-tier="best"] .tier-tag { background: var(--light); color: var(--blue); }
.tier-panel[data-tier="premium"] .tier-tag { background: var(--amber-light); color: var(--amber); }
.tier-desc { color: var(--muted); font-size: .9rem; margin-top: 4px; width: 100%; }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.p-grid .p-card { max-width: none; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 20px; }
.empty-state svg { width: 54px; height: 54px; color: var(--muted-2); margin-bottom: 12px; }
.empty-state strong { display: block; color: var(--navy); font-family: var(--font-head); margin-bottom: 4px; }

/* ---------- About / misc ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-media .am-blob {
  border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--blue-bright), var(--blue-dark));
  padding: 40px; display: flex; align-items: center; justify-content: center; color: #fff; min-height: 340px; box-shadow: var(--shadow-lg); position: relative;
}
.about-media .am-blob svg { width: 55%;
   height: 55%; }
.about-media .am-blob::before { content: ""; position: absolute; inset: 16px; border: 2px dashed rgba(245,181,46,.6); border-radius: 18px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.check-list svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }
.check-list strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1rem; }
.check-list p { color: var(--muted); font-size: .9rem; }

.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-card .stat-num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--blue); }
.stat-card .stat-label { color: var(--muted); font-size: .88rem; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-chevron { transition: transform .25s ease; color: var(--blue); flex: none; }
.faq-item summary .faq-chevron svg { width: 20px; height: 20px; }
.faq-item[open] summary { color: var(--blue); }
.faq-item[open] summary .faq-chevron { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--muted); font-size: .94rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.info-card .info-icon { width: 48px; height: 48px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.info-card .info-icon svg { width: 24px; height: 24px; }
.info-card h4 { font-size: .98rem; font-weight: 700; }
.info-card p, .info-card a { color: var(--muted); font-size: .9rem; }
.info-card a { color: var(--blue); font-weight: 600; }
.emergency-cta { margin-top: 18px; }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; }
.reveal.in { animation: fadeUp .6s ease forwards; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid--4, .cat-grid--5, .loc-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .review-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .about-grid { gap: 32px; }
  .main-nav .nav-link { padding: 10px 9px; font-size: .84rem; }
  .header-cta { display: none; }
}
@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .twin-cards, .split-band, .feature-grid, .cat-grid, .prob-grid, .sol-grid, .stats-band { grid-template-columns: 1fr; }
  .cat-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .banner { grid-template-columns: 1fr; padding: 40px 28px; }
  .banner-media { display: none; }
  .tier-search { padding: 14px 18px 14px; }
  .review-track { grid-auto-columns: 100%; }
  .section { padding: 52px 0; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar-links .tb-sep, .topbar-links a:first-child { display: none; }
  .product-grid--4, .product-grid, .cat-grid, .tier-grid, .svc-grid, .loc-grid, .stats-band, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 32px 24px; }
  .float-a, .float-b { display: none; }
  .header-inner { min-height: 74px; }
  .brand-text { font-size: 1rem; }
  .hero-grid { gap: 26px; }
  .hero-blob { width: min(300px, 84vw); }
  .hero-visual::before, .hero-visual::after { width: 220px; height: 220px; margin: -110px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-title { font-size: 2.1rem; }
}
/* =========================================================
SHOP � sidebar filters, toolbar, grid, pagination, compare
   Rebuilt shop layout for Avian Home Comfort.
   ========================================================= */

/* Brand logos */
.brands-strip { gap: 36px; }
.brand-logo { height: 46px; width: auto; max-width: 180px; object-fit: contain; opacity: .85; transition: opacity .2s; filter: grayscale(100%); }
.brand-logo:hover { opacity: 1; filter: grayscale(0%); }

/* Toolbar */
.shop-section { padding-top: 30px; }
.shop-trust { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.shop-trust-title { font-family: var(--font-head); font-weight: 800; font-size: .86rem; color: var(--navy); text-transform: uppercase; letter-spacing: .1em; margin-right: 6px; }
.shop-trust .p-trust-item { padding: 10px 14px; font-size: .76rem; border-radius: 12px; }
.shop-trust .p-trust-item svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .shop-trust-title { width: 100%; text-align: center; margin-right: 0; } .shop-trust .p-trust-item { flex: 1 1 45%; justify-content: center; } }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-meta { color: var(--muted); font-size: .92rem; font-weight: 600; }
.shop-sort { display: flex; align-items: center; gap: 10px; }
.shop-sort label { font-size: .85rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .12em; }
.shop-sort select, .shop-sort .custom-select {
  font-family: var(--font-body); font-size: .9rem; color: var(--ink);
  padding: 10px 34px 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  cursor: pointer; outline: none; transition: border-color .2s;
}
.shop-sort select:focus { border-color: var(--blue); }

/* Quick filter widget (left sidebar) */
.shop-side { display: flex; flex-direction: column; gap: 18px; align-self: start; }
.shop-filters {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px; box-shadow: var(--shadow-sm);
}
.shop-filters .sf-head { font-family: var(--font-head); font-weight: 800; font-size: .92rem; color: var(--navy); text-transform: uppercase; letter-spacing: .12em; padding-bottom: 4px; border-bottom: 1px solid var(--light-2); }
.sf-search { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: var(--light); }
.sf-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.sf-search input { flex: 1; border: 0; outline: none; font-family: inherit; font-size: .9rem; padding: 11px 0; background: transparent; color: var(--ink); width: 100%; }
.sf-field { display: flex; flex-direction: column; gap: 5px; }
.sf-field span { font-size: .72rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .1em; }
.sf-field select {
  font-family: var(--font-body); font-size: .88rem; color: var(--ink);
  padding: 9px 30px 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; outline: none; width: 100%;
}
.sf-field select:focus { border-color: var(--blue); }
.sf-clear { width: 100%; }
.shop-sidebar { position: sticky; top: 110px; }
@media (min-width: 981px) {
  .shop-side { position: sticky; top: 100px; max-height: calc(100vh - 124px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-right: 2px; }
  .shop-sidebar { position: static; }
}

/* Layout: sidebar + main */
.shop-layout { display: grid; grid-template-columns: 252px 1fr; gap: 26px; align-items: start; }
.shop-sidebar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; position: sticky; top: 110px;
}

/* Filter groups */
.filter-group { border: 0; margin: 0; padding: 0 0 6px; border-bottom: 1px solid var(--light-2); }
.filter-group + .filter-group { margin-top: 16px; }
.filter-group legend {
  font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--navy);
  padding: 0 0 12px;
}
.filter-body { display: flex; flex-direction: column; gap: 8px; }
.ft-group { margin-bottom: 4px; }
.ft-head {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 6px; padding-left: 0;
}
.ft-opt {
  display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: var(--ink);
  cursor: pointer; line-height: 1.35; position: relative;
}
.ft-opt input { margin-top: 4px; accent-color: var(--blue); cursor: pointer; flex: none; }
.ft-opt span { display: block; }
.ft-opt em { font-style: normal; color: var(--muted-2); }
.ft-opt:hover { color: var(--blue); }
.ft-zero { color: var(--muted-2); }
.ft-more { display: none; }
.filter-body.open .ft-more { display: flex; }
.filter-toggle {
  display: inline-flex; margin-top: 2px; padding: 0; border: 0; background: none;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--blue); text-align: left;
}
.filter-toggle:hover { text-decoration: underline; }

/* Price slider */
.filter-group .ft-price { gap: 10px; }
.ft-price input[type=range] { width: 100%; accent-color: var(--blue); }
.ft-price p { font-size: .9rem; font-weight: 700; color: var(--navy); font-family: var(--font-head); }

/* Shop grid */
.shop-grid { align-items: stretch; }
@media (min-width: 981px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .shop-grid .p-card { min-height: 100%; }
}
.shop-empty { grid-column: 1 / -1; }

/* Pagination */
.shop-pagination-wrap { display: flex; justify-content: center; margin-top: 34px; }
.shop-pagination { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pg-btn {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; padding: 9px 15px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  transition: all .2s ease;
}
.pg-btn:hover:not(:disabled):not(.active) { border-color: var(--blue); color: var(--blue); }
.pg-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }

/* Shop-by-category links */
.shop-cat-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; }
.shop-cat-links a {
  display: inline-flex; padding: 9px 18px; border-radius: 999px; background: var(--light);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--blue); transition: all .2s ease;
}
.shop-cat-links a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Compare bar */
.compare-bar {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px;
  box-shadow: var(--shadow-lg); z-index: 90; transition: transform .35s ease; max-width: calc(100vw - 24px);
}
.compare-bar.show { transform: translate(-50%, 0); }
.compare-bar b { color: var(--gold); }
.compare-bar .btn { padding: 8px 18px; font-size: .8rem; }

/* Shop responsive */
@media (max-width: 980px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: static; max-height: none; overflow: visible; }
  .shop-sidebar { position: static; }
}
@media (max-width: 760px) {
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
  .brand-logo { height: 36px; }
}
.p-callfor { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--blue); letter-spacing: .02em; text-transform: uppercase; }

/* ---------- Wishlist ---------- */
.js-wish-open { position: relative; }
.header-badge {
  position: absolute; top: -4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .68rem;
  display: flex; align-items: center; justify-content: center; transform: scale(0); transition: transform .2s ease;
}
.header-badge.has-items { transform: scale(1); }

.p-wish {
  position: absolute; bottom: 10px; left: 10px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--muted-2); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: color .2s, background .2s, transform .15s;
  z-index: 3;
}
.p-wish svg { width: 18px; height: 18px; }
.p-wish:hover { color: var(--wish, #e11d48); transform: scale(1.08); }
.p-wish.active { color: #fff; background: var(--wish, #e11d48); border-color: var(--wish, #e11d48); }
.p-wish svg { fill: transparent; }
.p-wish.active svg { fill: currentColor; }

.wish-scrim { position: fixed; inset: 0; background: rgba(6,20,38,.55); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 120; }
.wish-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: #fff; z-index: 121;
  transform: translateX(102%); transition: transform .3s ease; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(6,20,38,.25);
}
.wish-panel.open { transform: translateX(0); }
.wish-panel.open ~ .wish-scrim, .wish-scrim.show { opacity: 1; pointer-events: all; }
.wish-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.wish-head strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); }
.wish-close { border: 0; background: none; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; }
.wish-close:hover { color: var(--blue); }
.wish-list { flex: 1; overflow-y: auto; padding: 16px 22px; }
.wish-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--muted); padding-top: 40px; }
.wish-empty svg { width: 52px; height: 52px; color: #cbd5e1; }
.wish-empty strong { color: var(--navy); font-family: var(--font-head); }
.wish-row {
  display: grid; grid-template-columns: 64px 1fr auto 30px; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.wish-thumb { width: 64px; height: 48px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.wish-thumb img { max-width: 90%; max-height: 42px; object-fit: contain; }
.wish-name { font-family: var(--font-head); font-size: .84rem; font-weight: 700; color: var(--navy); line-height: 1.35; text-decoration: none; }
.wish-name:hover { color: var(--blue); }
.wish-price { font-family: var(--font-head); font-weight: 800; font-size: .84rem; color: var(--blue); white-space: nowrap; }
.wish-rm { border: 0; background: none; color: var(--muted-2); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.wish-rm:hover { color: #e11d48; }
.wish-actions { padding: 16px 22px; border-top: 1px solid var(--line); }
[data-wish-count]::after { display: none; }

/* ---------- Single product page ---------- */
.p-crumb-bar { background: var(--light-2); border-bottom: 1px solid var(--line); padding: 14px 0; }
.p-breadcrumbs { font-size: .86rem; color: var(--muted); }
.p-breadcrumbs a { color: var(--blue); font-weight: 600; text-decoration: none; }
.p-breadcrumbs a:hover { text-decoration: underline; }
.product-loading { color: var(--muted); padding: 40px 0; }
.p-layout { display: grid; grid-template-columns: minmax(300px, 460px) 1fr; gap: 44px; align-items: start; }

.p-gallery { position: sticky; top: 110px; }
.p-main-img { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; overflow: hidden; }
.p-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .35s ease; }
.p-main-img img:hover { transform: scale(1.04); }
.p-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.p-thumb { width: 70px; height: 54px; border: 2px solid var(--line); background: #fff; border-radius: 8px; padding: 4px; cursor: pointer; overflow: hidden; }
.p-thumb.active { border-color: var(--blue); }
.p-thumb img { width: 100%; height: 100%; object-fit: contain; }
.p-gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy); font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow-md); opacity: 0; transition: opacity .2s, background .2s; z-index: 4; display: none; }
.p-gallery--multi .p-gal-nav { display: flex; align-items: center; justify-content: center; }
.p-gallery:hover .p-gal-nav { opacity: 1; }
.p-gal-nav.prev { left: 14px; }
.p-gal-nav.next { right: 14px; }
.p-gal-nav:hover { background: var(--blue); color: #fff; }
.p-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.p-thumb { width: 76px; height: 58px; border: 2px solid var(--line); background: #fff; border-radius: 8px; padding: 4px; cursor: pointer; overflow: hidden; }
.p-thumb.active { border-color: var(--blue); }
.p-thumb img { width: 100%; height: 100%; object-fit: contain; }

.p-brand-line { font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.p-title { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 14px; }
.p-rating-line { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.p-rating-line .stars { color: #ffb400; letter-spacing: 2px; font-size: 1rem; }
.p-rating-line a { color: var(--blue); }

.p-sale-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.p-sale { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--red); letter-spacing: -.02em; }
.p-was { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--muted-2); text-decoration: line-through; }
.p-off { background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem; padding: 5px 12px; border-radius: 999px; }
.p-monthly { color: var(--green, #2e7d32); font-weight: 700; font-size: .95rem; margin: 10px 0 2px; }
.p-vary { color: var(--muted-2); font-size: .84rem; margin: 0 0 18px; }

.p-short-desc h2 { font-family: var(--font-head); text-transform: uppercase; font-size: .92rem; letter-spacing: .12em; color: var(--navy); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.p-short-desc p { color: var(--ink); font-size: 1.15rem; line-height: 1.8; margin: 14px 0 24px; max-width: 720px; overflow-wrap: break-word; }

.p-features { margin: 4px 0 6px; padding: 4px 0 2px; }
.p-features h2 { font-family: var(--font-head); text-transform: uppercase; font-size: .8rem; letter-spacing: .14em; color: var(--navy); margin: 0 0 12px; }
.p-feats-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 10px 20px; }
.p-feats-list li { display: flex; gap: 10px; align-items: flex-start; padding: 3px 0; border: 0; background: transparent; }
.p-feats-list li:hover { border: 0; box-shadow: none; transform: none; }
.p-feat-ico { flex: none; width: auto; height: auto; color: var(--blue); font-weight: 800; font-size: .95rem; line-height: 1.5; background: transparent; }
.p-feats-list strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--navy); margin-bottom: 1px; }
.p-feat-txt { font-size: .88rem; color: var(--muted); line-height: 1.45; }

.p-buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.p-qty { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; }
.p-qty label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.p-qty input { width: 52px; border: 0; font-size: 1rem; font-weight: 700; color: var(--navy); padding: 10px 0; }
.p-buy-add { background: var(--red); color: #fff; }
.p-buy-add:hover { background: var(--red-dark); }
.p-buy-compare { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.p-buy-compare:hover, .p-buy-compare.active { background: var(--blue); color: #fff; }
.p-buy-add, .p-buy-compare { font-family: var(--font-head); font-weight: 700; font-size: .95rem; padding: 14px 30px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; transition: all .22s ease; }
.p-buy-add:hover, .p-buy-compare:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
#pQty { outline: none; }

.p-secondary-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.p-wish-big { background: transparent; border: 2px solid var(--line); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: 10px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .2s ease; }
.p-wish-big:hover { border-color: #e11d48; color: #e11d48; }
.p-wish-big.active { border-color: #e11d48; background: #e11d48; color: #fff; }

.p-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 16px; font-size: .88rem; color: var(--muted); }
.p-meta b { color: var(--navy); }

.p-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.p-trust-item {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: #fff; line-height: 1.25;
  box-shadow: 0 8px 20px rgba(6,20,38,.16); transition: transform .22s ease, box-shadow .22s ease; position: relative; overflow: hidden;
}
.p-trust-item svg { width: 22px; height: 22px; flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.p-trust-item::after { content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .5s ease; }
.p-trust-item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(6,20,38,.22); }
.p-trust-item:hover::after { left: 130%; }
.p-trust--0 { background: linear-gradient(135deg, #2E8DE3, #1C6DB8); }
.p-trust--1 { background: linear-gradient(135deg, #43A047, #2E7D32); }
.p-trust--2 { background: linear-gradient(135deg, #F5A623, #E67E22); }
.p-trust--3 { background: linear-gradient(135deg, #8E5FD8, #6C3483); }

/* tabs */
#pDetailsSection { border-top: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 24px; }
.tab-btn { background: none; border: 0; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--muted); padding: 10px 16px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color .2s, border-color .2s; }
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-count { font-size: .74rem; color: var(--muted); }
.p-panel h3 { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); margin: 0 0 16px; }

.p-resources { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.p-resources li { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.p-resources a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: var(--blue); font-weight: 600; text-decoration: none; font-size: .9rem; }
.p-resources a::before { content: "⇩"; font-weight: 800; color: var(--red); }
.p-resources a:hover { background: var(--light); }

.p-specs { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.p-specs th, .p-specs td { text-align: left; padding: 11px 16px; font-size: .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.p-specs th { width: 42%; background: var(--light-2); color: var(--navy); font-family: var(--font-head); font-weight: 700; }
.p-specs tr:last-child th, .p-specs tr:last-child td { border-bottom: 0; }

.p-rev-head { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; flex-wrap: wrap; }
.p-rev-score { display: flex; flex-direction: column; align-items: center; padding: 18px 28px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.p-rev-score b { font-family: var(--font-head); font-size: 2rem; color: var(--navy); }
.p-rev-head p { color: var(--muted); font-size: .92rem; margin: 0; }
.p-reviews { list-style: none; margin: 0 0 34px; padding: 0; }
.p-review { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin-bottom: 14px; }
.pr-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.pr-top strong { font-family: var(--font-head); color: var(--navy); }
.pr-date { color: var(--muted-2); font-size: .84rem; }
.p-review .stars { color: #ffb400; letter-spacing: 2px; }
.p-review p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 8px 0 0; }
.p-none { color: var(--muted); }
.p-rev-title { font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.p-rev-hint { color: var(--muted-2); font-size: .86rem; }
.p-rev-form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; max-width: 640px; }
.p-rev-form label { display: flex; flex-direction: column; gap: 6px; color: var(--navy); font-weight: 600; font-size: .9rem; }
.p-rev-form input, .p-rev-form textarea { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-family: inherit; font-size: .95rem; outline: none; }
.p-rev-form input:focus, .p-rev-form textarea:focus { border-color: var(--blue); }
.p-rev-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.p-stars-input { color: #ffb400; letter-spacing: 4px; }

.p-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-product-grid .p-card { margin: 0; }
.p-back-wrap { margin-top: 0; padding-bottom: 60px; }
.p-back { font-family: var(--font-head); font-weight: 700; color: var(--blue); text-decoration: none; }
.p-back:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .p-layout { grid-template-columns: 1fr; gap: 28px; }
  .p-gallery { position: static; }
  .p-resources { grid-template-columns: 1fr; }
  .p-rev-cols { grid-template-columns: 1fr; }
  .p-product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 520px) {
  .p-product-grid { grid-template-columns: 1fr; }
  .p-buy-add, .p-buy-compare { width: 100%; }
}

/* ---------- Product page entrance animation ---------- */
.p-layout .p-gallery, .p-layout .p-summary { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.p-layout.show .p-gallery { opacity: 1; transform: none; }
.p-layout.show .p-summary { opacity: 1; transform: none; transition-delay: .08s; }
.p-layout .p-gallery { transition-delay: 0s; }

/* ---------- Toasts ---------- */
.toast-host { position: fixed; bottom: 96px; right: 22px; z-index: 500; display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.toast { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: .9rem; padding: 14px 18px; border-radius: 12px; box-shadow: 0 12px 30px rgba(6,20,38,.3); display: flex; align-items: center; gap: 10px; cursor: pointer; animation: toastIn .35s ease; }
.toast--ok { border-left: 4px solid var(--green, #43a047); }
.toast--info { border-left: 4px solid var(--blue); }
.toast span::before { content: ""; }
.toast--ok span::before { content: "✓ "; color: var(--green, #43a047); font-weight: 800; }
.toast--info span::before { content: "• "; color: var(--blue); font-weight: 800; }
.toast.out { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .toast-host { left: 16px; right: 16px; bottom: 92px; } }

/* ---------- Floating chat ---------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 460; width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #2482D8, #1C6DB8); color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(11,92,171,.45); transition: transform .2s ease, box-shadow .2s ease;
}
.chat-fab:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 20px 44px rgba(11,92,171,.5); }
.chat-fab svg { width: 28px; height: 28px; }
.chat-fab .chat-fab-x { display: none; }
.chat-fab.is-open .chat-fab-chat { display: none; }
.chat-fab.is-open .chat-fab-x { display: block; }
.chat-fab .chat-dot { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #61CE70; border: 2px solid #fff; animation: chatDot 1.6s ease-in-out infinite; }
@keyframes chatDot { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.chat-panel {
  position: fixed; right: 22px; bottom: 94px; z-index: 470; width: min(360px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 130px)); background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: 0 30px 80px rgba(6,20,38,.35); overflow: hidden;
  display: flex; flex-direction: column; opacity: 0; transform: translateY(18px) scale(.97);
  pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(135deg, #2482D8, #1C6DB8); color: #fff; flex: none; }
.chat-head .chat-ava { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex: none; }
.chat-head .chat-ava svg { width: 22px; height: 22px; }
.chat-head strong { font-family: var(--font-head); font-size: 1rem; display: block; }
.chat-head small { font-size: .72rem; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 5px; }
.chat-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #61CE70; display: inline-block; }
.chat-close { margin-left: auto; background: rgba(255,255,255,.15); border: 0; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.chat-close:hover { background: rgba(255,255,255,.28); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #FBFBFD; }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.45; word-break: break-word; animation: msgIn .25s ease; }
.chat-msg--bot { background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg--user { background: linear-gradient(135deg, #2482D8, #1C6DB8); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg a { color: inherit; }
.chat-msg--bot a { color: var(--blue); font-weight: 700; }
.chat-msg--typing { color: var(--muted); font-style: italic; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-top: 1px solid var(--light-2); flex: none; }
.chat-chip { font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--blue); background: #EFF5FC; border: 1px solid #D8E8F7; border-radius: 999px; padding: 7px 12px; cursor: pointer; transition: background .2s, color .2s; }
.chat-chip:hover { background: var(--blue); color: #fff; }
.chat-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--light-2); flex: none; }
.chat-form input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-family: inherit; font-size: .88rem; outline: none; }
.chat-form input:focus { border-color: var(--blue); }
.chat-form button { background: var(--blue); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; font-family: var(--font-head); font-weight: 700; cursor: pointer; font-size: .9rem; }
.chat-form button:hover { background: var(--blue-dark); }
@media (max-width: 560px) {
  .chat-fab { right: 14px; bottom: 16px; width: 56px; height: 56px; }
  .chat-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); height: calc(100vh - 24px); border-radius: 16px; }
}

/* ---------- Live hero accents ---------- */
.page-hero, .hero { position: relative; overflow: hidden; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 320px at 12% 18%, rgba(46,141,227,.14), transparent 60%), radial-gradient(500px 300px at 88% 78%, rgba(241,73,63,.10), transparent 60%); }
.hero > *, .page-hero > * { position: relative; z-index: 1; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.topbar-phone svg, .hero .hl { display: inline-block; animation: floaty 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero::before, .page-hero::before { display: none; } .toast, .hero .hl { animation: none; } .hero-blob, .hero-blob .blob-icon, .hero-blob::after, .hero-visual::before, .hero-visual::after, .chat-dot { animation: none; } }
