/* =========================================================
   AVIAN HOME COMFORT — Design system
   Original layout inspired by the reference shop (rebranded)
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --blue: #0B73C9;
  --blue-bright: #1598E6;
  --blue-dark: #07539A;
  --navy: #102A43;
  --navy-2: #071B33;
  --ink: #18324B;
  --muted: #506477;
  --muted-2: #8A98AB;
  --light: #F3F8FC;
  --light-2: #E5EEF6;
  --line: #D5E3EF;
  --white: #FFFFFF;
  --gold: #FFC247;
  --gold-dark: #D89008;
  --red: #E84A43;
  --red-dark: #E0392F;
  --sale: #F1493F;
  --green: #0C9B68;
  --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;
  overflow-x: hidden;
}
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;
}
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 300; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; box-shadow: var(--shadow-md); }
.skip-link:focus { left: 10px; outline: 3px solid var(--gold); outline-offset: 2px; }
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; }
[data-scroll], section[id], div[id="shop"], div[id="rebates"] { scroll-margin-top: 110px; }
.section { padding: 72px 0; }
.home-secondary { display: none; }
.section--light { background: linear-gradient(180deg, #F3F8FC 0%, #EAF3FA 100%); }
.section--navy { background: linear-gradient(135deg, #102F50 0%, #071B33 72%); 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-dark); }
.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 { transition: all .2s ease; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-blue { background: linear-gradient(180deg, #3B96E6, var(--blue)); color: #fff; }
.btn-blue:hover { background: linear-gradient(180deg, var(--blue), var(--blue-dark)); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: linear-gradient(180deg, #FFC93D, var(--gold)); color: var(--navy); text-transform: uppercase; }
.btn-gold:hover { background: linear-gradient(180deg, var(--gold), var(--gold-dark)); color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217,154,10,.35); }
.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: 9px; font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: .02em; }
.topbar-phone svg { width: 17px; height: 17px; }
.topbar-phone:hover { color: var(--gold); }
.topbar-links a:last-child { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 800; box-shadow: 0 4px 12px rgba(245,181,46,.3); }
.topbar-links a:last-child:hover { background: #ffd56b; color: var(--navy); }
.tb-sep { color: rgba(255,255,255,.3); }

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(110deg, #ffffff 0%, #f7fbff 58%, #edf6ff 100%);
  border-top: 3px solid var(--blue);
  position: sticky; top: 0; z-index: 90;
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(10,37,64,.08);
}
.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-icon { transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.brand:hover .brand-icon, .brand:focus-visible .brand-icon {
  transform: rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 6px 12px rgba(11,115,201,.35));
}
.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; }
.home-page .brand-text { font-size: 1.32rem; }
.home-page .brand-accent { color: var(--blue); font-size: .84rem; }
.site-logo { height: 46px; width: auto; object-fit: contain; }
.footer-brand .site-logo { height: 44px; }

.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav-link {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink);
  padding: 10px 14px; border-radius: 8px; position: relative; white-space: nowrap;
}
.nav-drop { flex: none; }
.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 { background: rgba(29,127,217,.08); }
.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, #EAF5FE 0%, #F5FAFE 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-stage { position: relative; min-height: 735px; padding: 26px 0 34px; overflow: hidden; }
.hero-stage::before {
  content: ""; position: absolute; z-index: 0; width: min(920px, 88vw); height: min(920px, 88vw);
  left: 50%; top: 220px; transform: translateX(-50%);
  border: clamp(90px, 9vw, 145px) solid rgba(29,127,217,.16);
  border-radius: 50%; box-shadow: 0 0 0 42px rgba(245,181,46,.10), 0 0 0 82px rgba(29,127,217,.07);
  pointer-events: none;
}
.hero-stage-head, .hero-stage-body, .hero-stage-actions { position: relative; z-index: 1; }
.hero-stage-head { text-align: center; max-width: 850px; margin: -30px auto 0; }
.hero-stage-head .hero-badge { margin: 0 auto; }
.hero-stage-head .hero-title { margin: 11px auto 8px; max-width: 760px; line-height: 1.05; }
.hero-stage-head .hero-sub { margin: 0 auto; max-width: 700px; line-height: 1.5; font-size: 1.14rem; }
.hero-stage-body { display: flex; align-items: center; justify-content: center; min-height: 462px; margin-top: -18px; }
.hero-side-label {
  position: absolute; left: 3%; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; color: var(--navy); font: 800 .84rem var(--font-head); letter-spacing: .3em;
}
.hero-stage .hero-deals { width: min(620px, 100%); height: 452px; aspect-ratio: auto; background: transparent; border: 0; box-shadow: none; overflow: visible; }
.hero-stage .hero-deals::before { display: none; }
.hero-stage .hd-slide { inset: 0; padding: 0 54px 48px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
.hero-stage .hd-slide--profile { padding-top: 0; }
.hero-stage .hd-media { width: 278px; height: 278px; background: transparent; box-shadow: none; }
.hero-stage .hd-media img { max-width: 268px; max-height: 268px; mix-blend-mode: multiply; filter: drop-shadow(0 18px 22px rgba(10,37,64,.16)) contrast(1.08); clip-path: inset(3% 4% 3% 4% round 18px); }
.hero-stage .hd-media img { background: transparent; border: 0; }
.hero-stage .hd-slide--heating .hd-media img { transform: scale(1.04); clip-path: none; }
.hero-stage .hd-media, .hero-stage .hd-profile-media { background: transparent !important; border: 0; box-shadow: none; }
.hero-stage .hd-profile-media { width: 278px; height: 278px; margin: 0 0 8px; border-radius: 0; box-shadow: none; background: transparent; }
.hero-stage .hd-profile-media img { object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 18px 22px rgba(10,37,64,.16)); }
.hero-stage .hd-headline { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.hero-stage .hd-sub { max-width: 520px; }
.hero-stage .hd-foot { margin-top: 4px; }
.hero-stage-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; position: relative; z-index: 4; }
.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: .92rem; letter-spacing: .04em;
}
.home-page .hero::before { background: radial-gradient(600px 320px at 12% 18%, rgba(29,127,217,.14), transparent 60%), radial-gradient(500px 300px at 88% 78%, rgba(245,181,46,.13), transparent 60%); }
.home-page .hero-badge { color: var(--blue-dark); border-color: rgba(11,115,201,.24); }
.home-page .hero-title .hl { background: linear-gradient(90deg, var(--blue), var(--blue-dark)); -webkit-background-clip: text; background-clip: text; }
.home-page .hero-expert-tag { color: var(--navy); }
.hero-badge svg { width: 20px; height: 20px; }
.hero-expert-tag { margin: 12px 0 0; color: var(--navy); font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: .01em; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; margin: 22px 0 16px; line-height: 1.1; }
.hero-title .hl {
  color: var(--blue); position: relative;
  background: linear-gradient(90deg, #0E7FD0, #1C6DB8);
  -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; line-height: 1.6; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-chooser {
  margin-top: 28px;
  max-width: 560px;
  padding: 14px;
  border: 1px solid rgba(11, 115, 201, .18);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 26px rgba(7, 83, 154, .08);
}
.hero-chooser-label {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-chooser-options { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-choice {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
  color: var(--ink);
  font: 600 .84rem var(--font-body);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.hero-choice:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }
.hero-choice.is-active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(11,115,201,.24); }
.hero-choice-help { margin-top: 10px; color: var(--muted); font-size: .88rem; line-height: 1.45; }

/* ---------- 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; width: 100%; }

/* ---------- 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: 280px; 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.5rem, 2.8vw, 2.1rem); font-weight: 800; margin: 10px 0 8px; line-height: 1.2; }
.twin-card p { color: rgba(255,255,255,.82); font-size: .96rem; max-width: 380px; line-height: 1.5; }
.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; }
.home-page .feature-grid .feature-card:nth-child(n+4) { display: none; }
.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; min-width: 0; }
.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: 8px 10px; margin-top: auto; flex-wrap: wrap; min-width: 0; }
.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: linear-gradient(180deg, #FFC93D, var(--gold)); color: var(--navy); }
.p-actions .p-btn-add:hover { background: linear-gradient(180deg, var(--gold), var(--gold-dark)); color: var(--navy); 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; }

/* ---------- Shop by need grid ---------- */
.need-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.need-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: all .25s ease;
  position: relative; overflow: hidden;
}
.need-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;
}
.need-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.need-card:hover::before { transform: scaleX(1); }
.need-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.need-icon svg { width: 28px; height: 28px; }
.need-card h3 { font-size: 1.05rem; font-weight: 700; }
.need-card p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
@media (min-width: 861px) and (max-width: 1100px) { .need-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 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: 0 18px 40px rgba(7,83,154,.18); border-color: var(--blue-bright); }
.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 { background: #E4F4FF; color: #0875C1; }
.cc-amber { background: #FFF2D5; color: #B66A00; }
.cc-green { background: #E2F7EE; color: #087A55; }
.cc-navy { background: #E4ECF5; color: var(--navy); }

/* ---------- 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-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.banner-media .bm-tile svg { display: none; }
.banner-media .bm-tile:nth-child(1) { background-image: url("../images/2025-08/repair-hvac-tech.jpg"); }
.banner-media .bm-tile:nth-child(2) { background-image: url("../images/2025-08/BD-air-conditioner-unit-outside-with-a-mechanic-1-1.jpg"); }
.banner-media .bm-tile:nth-child(3) { background-image: url("../images/2025-03/Central-Air-Conditioner-repair-diagnostic-service.jpg"); }
.banner-media .bm-tile { box-shadow: 0 12px 26px rgba(3, 22, 43, .28); transition: transform .3s ease; }
.banner-media .bm-tile:hover { transform: translateY(-6px) rotate(2deg); }

/* ---------- 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: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); min-height: 220px;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card .rc-stars { color: var(--gold); letter-spacing: 3px; font-size: 1.1rem; }
.review-card p { color: var(--ink); font-size: .95rem; line-height: 1.6; }
.review-card .rc-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-card .rc-avatar {
  width: 48px; height: 48px; 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: .95rem; color: var(--navy); }
.review-card .rc-role { font-size: .82rem; 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 { display: none; }
.gal-tile {
  background-size: cover;
  background-position: center;
  position: relative;
}
.gal-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 28, 48, .2));
  pointer-events: none;
}
.gal-tile:nth-child(1) { background-image: url("../images/2025-08/BD-air-conditioner-unit-outside-with-a-mechanic-1-1.jpg"); }
.gal-tile:nth-child(2) { background-image: url("../images/2025-08/repair-hvac-tech.jpg"); }
.gal-tile:nth-child(3) { background-image: url("../images/2025-03/Central-Air-Conditioner-repair-diagnostic-service.jpg"); }
.gal-tile:nth-child(4) { background-image: url("../images/products/ac_ml14kc.jpg"); }
.gal-tile:nth-child(5) { background-image: url("../images/products/furn_el297.jpg"); }
.gal-tile:nth-child(6) { background-image: url("../images/products/hp_el18_45.jpg"); }
.gal-tile:nth-child(7) { background-image: url("../images/2025-01/Tankless-Water_Heater-Navien-NPE-A.jpg"); }
.gal-tile:nth-child(8) { background-image: url("../images/2025-01/humidifier-heroes_800.jpg"); }
.gal-tile:nth-child(9) { background-image: url("../images/products/svc_hp_maint.jpg"); }
.gal-tile:nth-child(10) { background-image: url("../images/products/svc_ac_repair.jpg"); }
.gal-tile:hover { filter: brightness(1.08); color: var(--blue); transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .brand-icon, .banner-media .bm-tile, .gal-tile { transition: none; }
}

/* ---------- Locations ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.loc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: all .22s ease; position: relative; overflow: hidden;
}
.loc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.loc-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); transform: translateY(-4px); }
.loc-card:hover::before { transform: scaleX(1); }
.loc-card .lc-pin { color: var(--blue); margin-bottom: 12px; }
.loc-card .lc-pin svg { width: 24px; height: 24px; }
.loc-card h4 { font-size: 1.05rem; font-weight: 700; }
.loc-card p { color: var(--muted); font-size: .88rem; margin-top: 6px; line-height: 1.4; }

/* ---------- 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-compliance {
  border-top: 1px dashed rgba(255,255,255,.14); margin: 0 0 22px; padding-top: 20px;
  max-width: 900px; font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.45);
}
.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; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.25rem; margin: 30px 0 10px; padding-top: 6px; }
.prose p { color: var(--ink); line-height: 1.7; margin-bottom: 6px; }
.service-hero + .section { padding-top: 22px; }
.section--tight { padding: 20px 0 24px; }

/* ---------- 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: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s ease; }
.faq-item:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; 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); background: var(--light); }
.faq-item[open] summary .faq-chevron { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--muted); font-size: .96rem; line-height: 1.6; }

/* ---------- 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; }
  .faq-list { max-width: 100%; }
}
@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .header-actions .js-wish-open, .header-actions .header-badge { display: none; }
  .header-actions { gap: 6px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 1; margin-top: 6px; }
  .twin-cards, .split-band, .feature-grid, .cat-grid, .prob-grid, .sol-grid, .stats-band, .need-grid { 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; }
  .faq-list { max-width: 100%; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .products-page .page-hero--compact { padding: 18px 0 16px; }
  .products-page .page-hero--compact .crumbs { font-size: .74rem; margin-bottom: 3px; }
  .products-page .page-hero--compact .eyebrow { font-size: .68rem; }
  .products-page .page-hero--compact h1 { font-size: 1.45rem; line-height: 1.15; margin: 6px auto 0; max-width: 300px; }
  .products-page .shop-section { padding-top: 18px; }
  .products-page .section--tight { padding-top: 16px; padding-bottom: 18px; }
  .products-page .tier-search { padding: 12px 12px 13px; border-radius: 14px; }
  .products-page .tier-search .ts-title { font-size: 1rem; white-space: normal; text-align: center; }
  .products-page .ts-top { gap: 8px; }
  .products-page .chip-row { gap: 6px; margin: 8px 0 2px; }
  .products-page .chip { font-size: .73rem; padding: 5px 9px; }
  .products-page .shop-toolbar { margin-bottom: 14px; }
  .products-page .shop-meta { font-size: .8rem; }
  .products-page .shop-calculator-link { margin: 10px 0 8px; font-size: .78rem; }
  .products-page .shop-filters { padding: 13px; gap: 10px; }
  .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); }
  .container { padding-left: 16px; padding-right: 16px; }
  .topbar-inner { min-height: 36px; justify-content: center; }
  .topbar-phone { font-size: .88rem; }
  .topbar-links a:last-child { padding: 7px 11px; font-size: .78rem; }
  .cta-band { padding: 32px 24px; }
  .header-inner { min-height: 74px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-icon { width: 40px; height: 40px; }
  .brand-text { font-size: .94rem; white-space: nowrap; }
  .brand-accent { font-size: .62rem; letter-spacing: .16em; }
  .header-actions { gap: 5px; }
  .header-actions .icon-btn, .hamburger { width: 40px; height: 40px; }
  .header-actions .js-search-open { display: inline-flex; }
  .header-actions .js-search-open, .header-actions .cart-wrap, .header-actions .hamburger { flex: none; }
  .hero-expert-tag { font-size: .86rem; line-height: 1.4; }
  .hero-grid { gap: 26px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-title { font-size: 1.82rem; letter-spacing: -.018em; }
  .hero { padding-top: 36px; }
  .hero-stage { min-height: 700px; padding: 14px 0 26px; }
  .hero-stage::before { top: 270px; width: 690px; height: 690px; border-width: 84px; box-shadow: 0 0 0 28px rgba(245,181,46,.10), 0 0 0 56px rgba(224,113,143,.08); }
  .hero-stage-head { margin-top: -18px; }
  .hero-stage-head .hero-title { margin-top: 9px; line-height: 1.08; }
  .hero-stage-head .hero-sub { padding: 0 10px; font-size: 1rem; }
  .hero-stage-body { min-height: 420px; margin-top: -12px; }
  .hero-side-label { left: -2px; font-size: .68rem; letter-spacing: .2em; }
  .hero-stage .hero-deals { width: 100%; height: 408px; }
  .hero-stage .hd-slide { padding: 0 24px 44px; }
  .hero-stage .hd-media { width: 210px; height: 210px; }
  .hero-stage .hd-media img { max-width: 205px; max-height: 205px; }
  .hero-stage .hd-profile-media { width: 210px; height: 210px; }
  .hero-stage-actions { padding: 0 12px; margin-top: 8px; }
  .hero-stage-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-stage .hd-headline { font-size: 1.06rem; line-height: 1.2; }
  .hero-stage .hd-sub { font-size: .82rem; line-height: 1.4; max-width: 280px; }
  .hero-badge { max-width: 100%; padding: 8px 12px; font-size: .78rem; }
  .hero-sub { font-size: 1rem; }
  .hero-chooser { margin-top: 22px; padding: 12px; }
  .hero-choice { flex: 1 1 100%; text-align: left; }
  .rating-ribbon { flex-wrap: wrap; row-gap: 10px; }
  .rating-ribbon > span { min-width: 0; }
  .faq-list { max-width: 100%; }
  .faq-item summary { padding: 18px 20px; font-size: .95rem; }
  .faq-item .faq-body { padding: 0 20px 18px; font-size: .9rem; }
  .rating-ribbon > span:last-child { width: 100%; }
  .rating-ribbon .stars { letter-spacing: 2px; }
  .shop-trust { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
  .shop-trust-title { grid-column: 1 / -1; text-align: center; margin: 0 0 2px; }
  .shop-trust .p-trust-item { min-width: 0; justify-content: center; text-align: center; padding: 10px 8px; line-height: 1.25; }
}
/* =========================================================
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: grid; grid-template-columns: auto repeat(4, 1fr); align-items: stretch; gap: 10px; margin-bottom: 22px; padding: 12px 14px; 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); }

/* Product subcategory chooser and size calculator */
.subcategory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.subcategory-card {
  display: grid; grid-template-columns: 46px 1fr; gap: 4px 12px; align-items: start;
  padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
}
.subcategory-icon { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; grid-row: span 2; }
.subcategory-icon svg { width: 25px; height: 25px; }
.subcategory-icon--blue { color: var(--blue); background: #eaf3fb; }
.subcategory-icon--gold { color: #9a6500; background: #fff4d8; }
.subcategory-icon--amber { color: #c46b00; background: #fff0dc; }
.subcategory-card h3 { margin: 1px 0 4px; color: var(--navy); font-family: var(--font-head); font-size: 1rem; }
.subcategory-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.subcategory-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.subcategory-links a, .calculator-link { color: var(--blue); font-size: .82rem; font-weight: 700; text-decoration: none; }
.subcategory-links a:hover, .calculator-link:hover { text-decoration: underline; }
.calculator-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 22px; align-items: stretch; max-width: 960px; }
.calculator-card, .calculator-result { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.calculator-type { display: flex; gap: 8px; margin-bottom: 20px; }
.calculator-type button { flex: 1; border: 1px solid var(--line); border-radius: 999px; background: var(--light); color: var(--navy); padding: 10px 12px; font: 700 .86rem var(--font-head); cursor: pointer; }
.calculator-type button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.calculator-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.calculator-fields label { color: var(--navy); font-size: .82rem; text-transform: none; letter-spacing: 0; }
.calculator-fields input, .calculator-fields select { display: block; margin-top: 6px; }
.calculator-note { color: var(--muted-2); font-size: .78rem; margin: 12px 0 0; }
.calculator-result { background: linear-gradient(145deg, var(--navy), #124c79); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.calculator-result .eyebrow { color: var(--gold); }
.calculator-result h2 { color: #fff; font-family: var(--font-head); font-size: clamp(1.35rem, 3vw, 2rem); margin: 8px 0 12px; }
.calculator-result p { color: rgba(255,255,255,.82); line-height: 1.6; }
.calculator-result .btn { align-self: flex-start; margin-top: 8px; }
.calculator-result .calculator-link { color: #fff; margin-top: 14px; }
.need-card--calculator { border: 2px solid rgba(11,92,171,.22); background: linear-gradient(145deg, #f7fbff, #fff); }
.shop-calculator-link { display: block; margin: 16px 0 12px; padding: 11px 12px; border: 1px solid #cfe2f4; border-radius: 10px; background: #f4f9fe; color: var(--blue); font-size: .82rem; font-weight: 700; line-height: 1.4; text-decoration: none; }
.shop-calculator-link:hover { border-color: var(--blue); background: #eaf3fb; }

/* 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; }
  .subcategory-grid { grid-template-columns: 1fr; }
  .calculator-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .calculator-card, .calculator-result { padding: 18px; }
  .calculator-fields { grid-template-columns: 1fr; gap: 10px; }
  .calculator-type button { font-size: .78rem; }
}
.p-callfor { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--blue); letter-spacing: .02em; text-transform: uppercase; }

/* Keep product actions usable on narrow cards and small touch screens. */
.p-actions { flex-wrap: wrap; }
.p-actions .btn { min-height: 44px; }

/* ---------- 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: linear-gradient(180deg, #FFC93D, var(--gold)); color: var(--navy); }
.p-buy-add:hover { background: linear-gradient(180deg, var(--gold), var(--gold-dark)); color: var(--navy); }
.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-layout { gap: 22px; }
  .p-main-img { aspect-ratio: 1 / 1; border-radius: 16px; }
  .p-main-img img { padding: 18px; }
  .p-summary { min-width: 0; }
  .p-brand-line { font-size: .72rem; letter-spacing: .1em; }
  .p-title { font-size: 1.55rem; line-height: 1.16; overflow-wrap: anywhere; margin-bottom: 10px; }
  .p-sale { font-size: 1.9rem; }
  .p-was { font-size: 1.08rem; }
  .p-short-desc p { font-size: .98rem; line-height: 1.6; margin-bottom: 18px; }
  .p-feats-list { grid-template-columns: 1fr; gap: 8px; }
  .p-feat-txt { font-size: .82rem; }
  .p-buy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .p-qty { grid-column: 1 / -1; min-height: 46px; justify-content: space-between; }
  .p-buy-add, .p-buy-compare { width: 100%; min-width: 0; padding: 12px 10px; font-size: .86rem; }
  .p-secondary-actions .p-wish-big { width: 100%; justify-content: center; }
  .p-meta { gap: 7px 14px; margin-top: 16px; font-size: .8rem; }
  .p-trust { grid-template-columns: 1fr 1fr; gap: 8px; }
  .p-trust-item { min-width: 0; padding: 10px; font-size: .7rem; gap: 6px; }
  .p-trust-item svg { width: 18px; height: 18px; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tab-btn { flex: 0 0 auto; padding: 10px 12px; font-size: .78rem; }
}

/* ---------- 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); }
.chat-lead-form { flex: none; max-height: 45%; overflow-y: auto; padding: 12px 14px; border-top: 1px solid var(--light-2); background: #fff; }
.chat-lead-title { color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: .95rem; margin-bottom: 9px; }
.chat-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat-lead-form label { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; margin-bottom: 8px; }
.chat-lead-form label span { font-weight: 400; }
.chat-lead-form input, .chat-lead-form textarea { width: 100%; box-sizing: border-box; margin-top: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 9px; font: inherit; font-size: .82rem; color: var(--ink); }
.chat-lead-form textarea { resize: vertical; min-height: 54px; }
.chat-lead-form input:focus, .chat-lead-form textarea:focus { outline: 2px solid rgba(36,130,216,.2); border-color: var(--blue); }
.chat-consent { display: flex !important; align-items: flex-start; gap: 7px; line-height: 1.3; }
.chat-consent input { width: auto; margin: 1px 0 0; flex: none; }
.chat-lead-form button { width: 100%; border: 0; border-radius: 9px; padding: 10px; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 800; cursor: pointer; }
.chat-lead-form button:disabled { opacity: .6; cursor: wait; }
.chat-lead-status { color: var(--muted); font-size: .75rem; margin: 7px 0 0; }
@media (max-width: 560px) {
  .chat-fab { right: 14px; bottom: 16px; width: 56px; height: 56px; }
  .chat-panel { right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100vw - 20px); height: min(620px, calc(100dvh - 20px)); max-height: calc(100dvh - 20px); border-radius: 16px; }
  .chat-lead-form { max-height: 48%; padding: 10px 12px; }
  .chat-lead-grid { grid-template-columns: 1fr; gap: 0; }
  .chat-lead-form label { margin-bottom: 6px; }
  .chat-form { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}

/* ---------- 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(245,181,46,.12), transparent 60%); }
.hero > *, .page-hero > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero::before, .page-hero::before { display: none; } .toast, .hero .hl { animation: none; } .chat-dot { animation: none; } .hero-deals .hd-slide, .hero-deals .hd-slide.active { animation: none; } .hero-deals:hover .hd-slide.active { transform: none; } .reveal { opacity: 1 !important; animation: none !important; } .need-card, .sol-card, .card, .product-card, .btn, .tier-card, .p-buy-add, .p-buy-compare { transition: none !important; transform: none !important; } }

/* =========================================================
   NEW — Products: mobile filter drawer
   ========================================================= */
.js-filter-toggle { display: none; align-items: center; gap: 8px; }
.js-filter-toggle svg { width: 16px; height: 16px; }
.filter-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--gold); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .72rem;
}
.shop-side-head { display: none; align-items: center; justify-content: space-between; padding: 4px 2px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.shop-side-head strong { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--navy); }
.shop-side-head button { border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; width: 38px; height: 38px; border-radius: 50%; }
.shop-side-head button:hover { background: var(--light); color: var(--red); }
.js-filter-done { display: none; width: 100%; justify-content: center; margin-top: 16px; }
.filter-scrim { display: none; }

@media (max-width: 980px) {
  .js-filter-toggle { display: inline-flex; }
  .shop-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .shop-side {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 132;
    width: min(340px, 88vw); background: var(--white); margin: 0; border-radius: 0;
    padding: 18px 20px 26px; box-shadow: var(--shadow-lg); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .shop-side.open { transform: translateX(0); visibility: visible; }
  .shop-side-head { display: flex; }
  .js-filter-done { display: flex; }
  .filter-scrim {
    display: block; position: fixed; inset: 0; background: rgba(10,37,64,.5); z-index: 131;
    opacity: 0; visibility: hidden; transition: all .3s ease;
  }
  .filter-scrim.show { opacity: 1; visibility: visible; }
}

/* =========================================================
   NEW — Home hero: offer carousel (rebates / financing / featured)
   ========================================================= */
.hero-deals {
  position: relative; width: min(460px, 100%); aspect-ratio: 1 / 1.05; border-radius: 32px;
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 50%, #0D47A1 100%);
  border: 2px solid rgba(255,255,255,.2); box-shadow: 0 32px 80px rgba(13,71,161,.25), inset 0 1px 0 rgba(255,255,255,.15);
  overflow: hidden;
}
.hero-deals::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 50%);
  pointer-events: none;
}
.hd-track { position: relative; height: 100%; }
.hd-slide {
  position: absolute; inset: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 24px 24px 36px; border-radius: 24px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden; transform: translateX(22px) scale(.94); transition: opacity .6s ease, visibility .6s, transform .6s cubic-bezier(.25, .46, .45, .94);
}
.hd-slide.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.hero-deals:hover .hd-slide.active { transform: translateY(-4px) scale(1.02); }
@keyframes hdSlideIn { from { transform: translateY(12px) scale(.96); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.hd-media {
  display: grid; place-items: center; width: 110px; height: 110px; border-radius: 28px;
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%); color: var(--blue);
  box-shadow: 0 8px 24px rgba(25,118,210,.2), inset 0 1px 0 rgba(255,255,255,.8);
}
.hd-media svg { width: 48px; height: 48px; }
.hd-media--green { background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%); color: var(--green); box-shadow: 0 8px 24px rgba(34,138,86,.2), inset 0 1px 0 rgba(255,255,255,.8); }
.hd-media--blue { background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%); color: var(--blue); box-shadow: 0 8px 24px rgba(25,118,210,.2), inset 0 1px 0 rgba(255,255,255,.8); }
.hd-media--amber { background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%); color: var(--amber); box-shadow: 0 8px 24px rgba(190,137,16,.2), inset 0 1px 0 rgba(255,255,255,.8); }
.hd-media img { width: 100%; max-width: 95px; max-height: 95px; object-fit: contain; }
.hd-profile-media { width: calc(100% + 48px); margin: -24px -24px 0; height: 180px; overflow: hidden; border-radius: 24px 24px 12px 12px; background: var(--light); }
.hd-profile-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05); }
.hd-slide--profile { padding-top: 0; }
.hd-copy { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hd-tag {
  font-family: var(--font-head); font-weight: 800; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, rgba(13,71,161,.1), rgba(25,118,210,.15));
  color: #0D47A1; border: 1px solid rgba(13,71,161,.2);
}
.hd-tag--green { background: linear-gradient(135deg, rgba(27,94,32,.1), rgba(51,105,51,.15)); color: #1B5E20; border: 1px solid rgba(27,94,32,.2); }
.hd-tag--blue { background: linear-gradient(135deg, rgba(13,71,161,.1), rgba(25,118,210,.15)); color: #0D47A1; border: 1px solid rgba(13,71,161,.2); }
.hd-tag--amber { background: linear-gradient(135deg, rgba(121,85,7,.1), rgba(141,110,0,.15)); color: #795500; border: 1px solid rgba(121,85,7,.2); }
.hd-headline {
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; line-height: 1.18; color: var(--navy);
  max-width: 350px; margin: 0; letter-spacing: -.02em;
}
.hd-sub {
  font-size: .92rem; color: var(--muted); line-height: 1.5; max-width: 340px; margin: 0;
}
.hd-foot { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.hd-price { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.hd-price s { color: var(--muted-2); font-weight: 600; font-size: .95rem; }
.hd-saved { font-family: var(--font-body); font-weight: 700; font-size: .72rem; letter-spacing: .05em; color: #0F6B3F;
  background: linear-gradient(135deg, rgba(63,174,108,.15), rgba(34,138,86,.2)); border: 1px solid rgba(34,138,86,.4); padding: 5px 12px; border-radius: 999px; }
.hd-ribbon {
  position: absolute; top: 16px; right: 16px; z-index: 2; font-family: var(--font-head); font-weight: 800; font-size: .66rem;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); white-space: nowrap; backdrop-filter: blur(4px);
}
.hd-ribbon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 2px rgba(255,255,255,.4); vertical-align: 1px; }
.hd-ribbon--disc { background: linear-gradient(135deg, #D32F2F, #B71C1C); }
.hd-ribbon--out { background: linear-gradient(135deg, #546E7A, #37474F); }
.hd-ribbon--few { background: linear-gradient(135deg, #FF9800, #F57C00); }
.hd-ribbon--pre, .hd-ribbon--back, .hd-ribbon--call { background: linear-gradient(135deg, #1976D2, #0D47A1); }
.hd-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.95); color: var(--navy); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.15); transition: all .25s; opacity: .95;
}
.hd-arrow svg { width: 20px; height: 20px; }
.hd-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-50%) scale(1.1); box-shadow: 0 12px 32px rgba(13,71,161,.3); }
.hd-prev { left: 12px; } .hd-next { right: 12px; }
.hd-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 3; }
.hd-dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; }
.hd-dot.active { width: 26px; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.hd-dot:hover { background: rgba(255,255,255,.7); }
@media (max-width: 560px) {
  .hero-deals { width: min(350px, 94vw); aspect-ratio: 1 / 1.12; border-radius: 28px; }
  .hd-slide { inset: 10px; padding: 18px 16px 34px; gap: 12px; }
  .hd-media { width: 95px; height: 95px; border-radius: 24px; }
  .hd-media svg { width: 42px; height: 42px; }
  .hd-media img { max-width: 82px; max-height: 82px; }
  .hd-profile-media { width: calc(100% + 32px); margin: -18px -16px 0; height: 150px; }
  .hd-headline { font-size: 1.2rem; }
  .hd-sub { font-size: .88rem; }
  .hd-foot { flex-direction: column; gap: 12px; }
  .hd-arrow { width: 36px; height: 36px; }
  .hd-arrow svg { width: 18px; height: 18px; }
  .hd-dot { width: 9px; height: 9px; }
  .hd-dot.active { width: 24px; }
}
@media (max-width: 370px) {
  .hd-headline { font-size: 1.06rem; }
  .hd-sub { font-size: .82rem; }
}

/* =========================================================
   NEW — Products dropdown nav (desktop) + mobile submenu
   CSS-only mega menu: grouped 3-column chip panel
   ========================================================= */
.nav-drop { position: relative; }
.nav-drop-chev { width: 13px; height: 13px; margin-left: 3px; vertical-align: -1px; transition: transform .2s ease; }
.nav-drop:hover .nav-drop-chev, .nav-drop:focus-within .nav-drop-chev { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(660px, 92vw); min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 54px rgba(10,37,64,.16), 0 2px 12px rgba(10,37,64,.06);
  padding: 12px; z-index: 70;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 8px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s, transform .18s ease;
}
.nav-dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dropdown::after {
  content: ""; position: absolute; top: 10px; left: 10px; right: 10px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold)); border-radius: 4px; opacity: .85; pointer-events: none;
}
.nav-drop:hover .nav-dropdown, .nav-drop:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a {
  display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: var(--ink); line-height: 1.25;
  border: 1px solid transparent; transition: all .16s ease;
}
.nav-dropdown a:hover { background: var(--light); border-color: var(--line); color: var(--blue); }
.nav-dropdown .nd-all {
  grid-column: 1 / -1; justify-content: center; font-weight: 800; margin-top: 2px;
  background: linear-gradient(180deg, #FFF8E8, #FFF2D2); border-color: #F4DFA4; color: var(--gold-dark);
}
.nav-dropdown .nd-all:hover { background: var(--gold); border-color: var(--gold-dark); color: var(--navy); }
.mobile-group { display: flex; flex-direction: column; }
.mobile-sub { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 8px 14px; border-left: 2px solid var(--line); padding-left: 10px; }
.mobile-sub a { font-size: .9rem; padding: 9px 12px; color: var(--muted); }
.mobile-sub a:hover { color: var(--blue); background: var(--light); }

/* =========================================================
   NEW — Product availability / stock status badge
   ========================================================= */
.p-avail { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.p-avail-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .05em;
  text-transform: uppercase; border: 1px solid; line-height: 1;
}
.p-avail-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(0,0,0,.06); animation: availBlink 2.4s ease-in-out infinite; }
@keyframes availBlink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.avail-stock { color: #14803d; background: #eaf7ef; border-color: #bfe6cd; }
.avail-few   { color: #9a5b04; background: #fff5e1; border-color: #f0d9a4; }
.avail-out   { color: #b3261e; background: #fdecec; border-color: #f2c4c0; }
.avail-disc  { color: #5f6b78; background: #eef1f4; border-color: #d3dbe3; }
.avail-pre, .avail-back, .avail-call { color: #0b5cab; background: #eaf3fb; border-color: #c5def3; }
.avail-note { font-size: .86rem; color: var(--muted-2); }
.p-buy-add.is-disabled { background: var(--muted-2); border-color: var(--muted-2); cursor: not-allowed; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .p-avail-pill::before { animation: none; } }

/* =========================================================
   Status ribbons (discontinued / stock) on cards + detail
   ========================================================= */
.p-markers { position: absolute; top: 12px; left: 12px; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.p-markers .p-badge { position: static; }
.p-ribbon, .hd-ribbon {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; color: #fff; padding: 5px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.p-ribbon { font-size: .68rem; }
.p-ribbon::before, .hd-ribbon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 2px rgba(255,255,255,.3); }
.p-ribbon--disc, .p-detail-ribbon--disc, .hd-ribbon--disc { background: linear-gradient(135deg, #C1121F, #8E0E1C); }
.p-ribbon--out, .p-detail-ribbon--out, .hd-ribbon--out { background: linear-gradient(135deg, #56626E, #37414C); }
.p-ribbon--few, .p-detail-ribbon--few, .hd-ribbon--few { background: linear-gradient(135deg, #F2A93B, #C77E0E); }
.p-ribbon--pre, .p-ribbon--back, .p-ribbon--call,
.p-detail-ribbon--pre, .p-detail-ribbon--back, .p-detail-ribbon--call,
.hd-ribbon--pre, .hd-ribbon--back, .hd-ribbon--call { background: linear-gradient(135deg, #1D7FD9, #0B5CAB); }
.p-main-img { position: relative; }
.p-detail-ribbon {
  position: absolute; top: 18px; left: 18px; z-index: 3; font-family: var(--font-head); font-weight: 800;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  padding: 8px 18px; border-radius: 999px; box-shadow: 0 8px 20px rgba(8,28,48,.25); white-space: nowrap;
}

/* =========================================================
   Mobile search enhancements
   ========================================================= */
.search-box { position: relative; }
.search-clear {
  position: absolute; top: 50%; transform: translateY(-50%); right: 6px; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: var(--light); color: var(--navy); font-size: 1.25rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: all .2s;
}
.search-clear:hover { background: var(--line); }
.search-box input { padding-right: 44px; }
@media (max-width: 620px) {
  .search-modal { max-height: 100dvh; }
  .search-modal-inner { padding: 60px 14px 26px; }
  .search-close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .search-title { font-size: .96rem; }
  .search-box { margin-top: 12px; padding: 0 12px; border-radius: 14px; }
  .search-box input { font-size: 1.12rem; padding: 15px 44px 15px 0; min-height: 28px; }
  .search-hint { display: none; }
  .search-all { width: 100%; justify-content: center; padding: 13px; border-radius: 13px; background: var(--light); }
  .js-search-results .p-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .tier-search { padding: 14px 14px 16px; }
  .ts-box { width: 100%; flex: 1 1 100%; padding: 1px 12px; border-radius: 13px; }
  .ts-box input { font-size: 1.02rem; padding: 10px 0; }
}

/* =========================================================
   Reusable Avian badge component
   ========================================================= */
.avian-badge {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head);
  font-weight: 700; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase;
  color: #0B5CAB; background: linear-gradient(180deg, #EAF3FC, #DCEBFB); border: 1px solid #C3DDF5;
  padding: 5px 11px; border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), var(--shadow-sm);
  white-space: nowrap; line-height: 1.15;
}
.avian-badge svg { width: 13px; height: 13px; flex: none; }
.avian-badge--install {
  color: #0F6B3F; background: linear-gradient(180deg, #E9F8EF, #D9F2E4); border-color: #B9E4CB;
}
.avian-badge--install svg { width: 14px; height: 14px; }
.p-included { margin: 4px 0 2px; display: flex; flex-wrap: wrap; gap: 8px; }
.p-card .avian-badge { margin: 8px 0 2px; align-self: flex-start; }

/* =========================================================
   Cart page
   ========================================================= */
.cart-empty { text-align: center; padding: 40px 16px 56px; }
.cart-empty svg { width: 64px; height: 64px; color: var(--muted-2); margin-bottom: 14px; }
.cart-empty h2 { font-size: 1.45rem; margin: 0 0 8px; color: var(--navy); }
.cart-empty p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.cart-list { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.cart-item {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto auto; gap: 18px; align-items: center;
  padding: 18px; border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item-img { width: 92px; height: 92px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--light); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-name { font-size: .98rem; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.cart-name a { color: inherit; }
.cart-name a:hover { color: var(--blue); }
.cart-meta { margin: 0 0 6px; font-size: .8rem; color: var(--muted-2); }
.cart-each { display: inline-block; font-size: .84rem; font-weight: 700; color: var(--navy); background: var(--light-2); border-radius: 999px; padding: 3px 10px; }
.cart-remove { margin: 8px 0 0; display: inline-flex; background: none; border: 0; padding: 0; color: var(--red); font-size: .82rem; font-weight: 600; cursor: pointer; text-decoration: underline; }
.cart-remove:hover { color: var(--red-dark); }
.cart-qty label { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); margin-bottom: 6px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); overflow: hidden; }
.qty-stepper button {
  width: 34px; height: 34px; border: 0; background: transparent; color: var(--navy); font-size: 1.1rem;
  cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.qty-stepper button:hover { background: var(--light-2); }
.qty-stepper input { width: 44px; height: 34px; border: 0; text-align: center; font: inherit; font-weight: 700; color: var(--navy); -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-line { font-weight: 800; color: var(--navy); font-size: 1rem; min-width: 84px; text-align: right; }
.cart-continue { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--blue); }
.cart-continue:hover { text-decoration: underline; }
.cart-summary {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-md); position: sticky; top: 92px;
}
.cart-summary h2 { color: #fff; font-size: 1.05rem; margin: 0 0 16px; }
.sum-row { display: flex; justify-content: space-between; font-size: .9rem; padding: 8px 0; color: rgba(255,255,255,.88); border-bottom: 1px solid rgba(255,255,255,.12); }
.sum-row--inc { color: var(--gold); }
.sum-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.06rem; padding: 14px 0 8px; color: #fff; }
.sum-note { font-size: .82rem; color: rgba(255,255,255,.7); margin: 10px 0 16px; line-height: 1.5; }
.sum-note b { color: var(--gold); }
.sum-secure { font-size: .76rem; color: rgba(255,255,255,.6); margin: 12px 0 0; line-height: 1.45; text-align: center; }
.btn-block { display: block; width: 100%; text-align: center; }

/* =========================================================
   Checkout / deposit reservation
   ========================================================= */
.chk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.chk-deposit {
  background: linear-gradient(150deg, #FDF3DC, #FCE9BF); border: 1px solid #EED99B; border-radius: var(--radius-lg);
  padding: 18px 20px; margin-bottom: 20px; color: #5B4400;
}
.chk-deposit h2 { margin: 0 0 6px; font-size: 1rem; color: #6B4E00; }
.chk-deposit p { margin: 0; font-size: .88rem; line-height: 1.5; }
.chk-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.chk-card h2 { font-size: 1.05rem; color: var(--navy); margin: 0 0 14px; }
.chk-item { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 8px 0; color: var(--navy); border-bottom: 1px solid var(--line); align-items: baseline; }
.chk-item .q span { display: block; font-size: .76rem; color: var(--muted-2); }
.chk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chk-fields .full { grid-column: 1 / -1; }
.chk-fields label { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #5c6b7a; margin: 0 0 4px; }
.chk-fields input, .chk-fields select, .chk-fields textarea {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 12px; font: inherit; font-size: .95rem; background: var(--white); color: var(--navy);
}
.chk-fields textarea { resize: vertical; min-height: 90px; }
.chk-deposit-pay {
  background: linear-gradient(150deg, #FEF9EC, #FCEFCC); border: 1px solid #F0DC9E; border-radius: 12px;
  padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px;
}
.chk-deposit-pay .amt { font-size: 1.5rem; font-weight: 800; color: #6B4E00; }
.chk-deposit-pay .cap { font-size: .74rem; color: #7A6120; line-height: 1.4; }
.chk-hp { display: none; }
.chk-note { font-size: .8rem; color: var(--muted-2); margin-top: 12px; line-height: 1.5; }
.chk-loading { opacity: .6; pointer-events: none; }
.chk-status { border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; font-size: .92rem; }
.chk-status--ok { background: var(--green-light); border: 1px solid #BFE6CD; color: #0F6B3F; }
.chk-status--err { background: #FDECEC; border: 1px solid #F2C4C0; color: #B3261E; }
.compacts { margin-top: 20px; }

/* =========================================================
   Product page — refined benefit chips (pTrust)
   ========================================================= */
.p-trust { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.p-trust-item { font-size: .82rem; letter-spacing: .01em; }
.p-card .p-trust-item, .shop-trust .p-trust-item { min-height: 46px; }

/* =========================================================
   Product page — review form (live submission)
   ========================================================= */
.p-rev-form { max-width: 640px; }
.p-rev-form label { display: block; margin: 0 0 12px; }
.p-rev-form label > span:first-child { display: block; font-size: .78rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.p-rev-form input, .p-rev-form textarea {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 12px; font: inherit; font-size: .94rem; background: var(--white); color: var(--navy);
}
.p-rev-form textarea { resize: vertical; min-height: 110px; }
.p-rev-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p-stars-input { font-size: 1.3rem; letter-spacing: .18em; color: var(--gold); cursor: pointer; user-select: none; line-height: 1.6; }
.p-stars-input.rate { color: var(--gold-dark); }
.p-rev-state { border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; font-size: .92rem; }
.p-rev-state--ok { background: var(--green-light); border: 1px solid #BFE6CD; color: #0F6B3F; }
.p-rev-state--err { background: #FDECEC; border: 1px solid #F2C4C0; color: #B3261E; }
.p-rev-hint { font-size: .82rem; color: var(--muted-2); }
.rev-approved { border: 1px dashed #BFE6CD; }

/* =========================================================
   Maintenance plans page
   ========================================================= */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.plan-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card--featured { border-color: var(--gold); box-shadow: 0 14px 40px rgba(245,181,46,.22); }
.plan-pop { position: absolute; top: -12px; right: 18px; background: var(--gold); color: #4A3A04; font-family: var(--font-head); font-weight: 800; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.plan-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--blue-bright), var(--blue-dark)); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.plan-card--featured .plan-icon { background: linear-gradient(135deg, #F7C34A, #E09B0E); }
.plan-icon svg { width: 26px; height: 26px; }
.plan-card h3 { font-size: 1.1rem; margin: 0 0 6px; color: var(--navy); }
.plan-btype { font-size: .76rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }
.plan-price { margin: 14px 0 4px; font-family: var(--font-head); font-weight: 800; color: var(--navy); }
.plan-price .amt { font-size: 1.6rem; }
.plan-price .per { font-size: .9rem; color: var(--muted-2); font-weight: 600; }
.plan-price .was { color: var(--muted-2); font-weight: 600; margin-left: 8px; font-size: .92rem; }
.plan-list { list-style: none; margin: 12px 0 4px; padding: 0; }
.plan-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; color: var(--muted); padding: 5px 0; }
.plan-list li svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 1px; }
.plan-card .btn { margin-top: auto; }

/* =========================================================
   Rebates page
   ========================================================= */
.rb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.rb-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.rb-card .rb-ico { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #1F9D6B, #157A50); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.rb-card .rb-ico svg { width: 24px; height: 24px; }
.rb-card--gold .rb-ico { background: linear-gradient(135deg, #F5B52E, #D99A0A); }
.rb-card h3 { font-size: 1.05rem; margin: 0 0 8px; color: var(--navy); }
.rb-card p { font-size: .9rem; color: var(--muted); line-height: 1.55; margin: 0; }
.rb-callout { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 30px; text-align: center; margin-top: 34px; box-shadow: var(--shadow-md); }
.rb-callout h3 { color: #fff; margin: 0 0 10px; font-size: 1.25rem; }
.rb-callout p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto 18px; }
.rb-disclaimer { font-size: .8rem; color: var(--muted-2); margin-top: 22px; line-height: 1.6; max-width: 820px; }

/* =========================================================
   Responsive — cart / checkout / new pages
   ========================================================= */
@media (max-width: 900px) {
  .cart-grid, .chk-grid { grid-template-columns: 1fr; }
  .cart-summary, .chk-side { position: static; }
}
@media (max-width: 640px) {
  .cart-item { grid-template-columns: 70px minmax(0, 1fr); grid-template-areas: "img info" "img qty" "line line"; gap: 10px 14px; }
  .cart-item-img { width: 70px; height: 70px; grid-area: img; }
  .cart-info { grid-area: info; }
  .cart-qty { grid-area: qty; }
  .cart-line { grid-area: line; text-align: left; }
  .chk-fields { grid-template-columns: 1fr; }
  .chk-fields .full { grid-column: auto; }
  .p-rev-cols { grid-template-columns: 1fr; }
  .p-trust { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
  .p-trust-item { font-size: .76rem; padding: 11px 12px; }
  .avian-badge { white-space: normal; }
  .p-price .now { font-size: 1.16rem; }
  .p-price .was { font-size: .84rem; }
  .p-price { row-gap: 2px; }
  .cart-summary, .chk-card { padding: 18px; }
  .chk-deposit-pay { align-items: flex-start; flex-direction: column; }
  .chk-deposit-pay .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand-text { font-size: .86rem; }
  .brand-accent { font-size: .56rem; }
  .header-actions .icon-btn, .hamburger { width: 38px; height: 38px; }
  .hero-title { font-size: 1.9rem; }
  .section { padding: 44px 0; }
  .section-title { font-size: 1.55rem; }
  .shop-trust .p-trust-item { flex-basis: 100%; }
  .shop-toolbar { gap: 10px; }
  .shop-meta { font-size: .84rem; }
  .shop-toolbar .btn { width: 100%; }
  .p-actions { flex-direction: column; }
  .p-actions .btn { width: 100%; }
}
