/* BrothersBedding.com — Brothers Bedding Mattress Factory, Knoxville TN
   Brand: logo blue #065689 + green #6bb646. Dark surfaces are gradients built on the logo blue. Headings Outfit, body Inter (self-hosted). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/outfit-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched fallbacks so text doesn't shift when the web fonts arrive (CLS) */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90.5%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Outfit Fallback"; src: local("Arial"); size-adjust: 100%; ascent-override: 100%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --blue: #065689; --blue-600: #0a6aa3; --blue-100: #e3eff7;
  --green: #6bb646; --green-600: #5aa236; --green-700: #3a7a1e; --green-100: #eaf5e3;
  /* "navy" = the logo blue and two deeper shades of it (client: the old navy read too dark) */
  --navy-950: #043f66; --navy-900: #054b78; --navy-800: #04446c; --navy-700: #0a64a0;
  --ink: #0f2233; --slate: #44566a; --muted: #5c6d7e; --line: #d6e1ea; --mist: #f1f6f9; --white: #fff;
  --focus: #ffb703;
  --font-head: "Outfit", "Outfit Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1440px; --gutter: 16px; --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(4,52,84,.06), 0 12px 32px -12px rgba(4,52,84,.18);
  --shadow-lg: 0 30px 60px -24px rgba(4,52,84,.35);
  --ease-out: cubic-bezier(.2,.8,.2,1); --ease-in-out: cubic-bezier(.7,0,.2,1); --dur-fast: .2s;
  --grad-deep: radial-gradient(120% 80% at 100% 0%, #095a8f 0%, transparent 55%), linear-gradient(160deg, #065689 0%, #04446c 100%);
  --header-h: 76px;
  --stick-h: calc(var(--header-h) + 40px);  /* top bar + header, both sticky; site.js sets the exact height */
}
/* Side padding: 24px on phones; tablets and laptops get more room at the edges (32px, growing to 64px on wide screens) */
@media (min-width: 768px) { :root { --gutter: clamp(32px, 4vw, 64px); } }
@media (max-width: 1023px) { :root { --stick-h: calc(var(--header-h) + 34px); } }
@media (max-width: 767px) { :root { --gutter: 24px; --header-h: 66px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--stick-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font-body); color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .6em; color: var(--navy-900); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-800); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: .7rem 1rem; background: var(--navy-900); color: #fff; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: .9rem; color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: var(--slate); }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico-arrow { width: 1.1em; height: 1.1em; transition: transform var(--dur-fast) var(--ease-out); }
.eyebrow { font: 700 .8rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin: 0 0 .8rem; }
.eyebrow-light { color: #c2eeb0; }

/* Buttons */
.btn { --bg: var(--navy-900); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem;
  font: 700 1rem/1.2 var(--font-head); letter-spacing: .01em; color: var(--fg); background: var(--bg); border: 2px solid var(--bg); border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast); }
.btn:hover { color: var(--fg); text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(4,52,84,.5); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-primary { --bg: var(--green); --fg: #033658; }
.btn-primary:hover { --bg: #7cc957; }
.btn-blue { --bg: var(--blue); --fg: #fff; }
.btn-blue:hover { --bg: var(--navy-800); }
.btn-outline { --bg: transparent; --fg: var(--blue); border-color: var(--blue); }
.btn-outline:hover { --bg: var(--blue); --fg: #fff; }
.btn-ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { --bg: #fff; --fg: var(--navy-900); border-color: #fff; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .92rem; }
.btn-lg { min-height: 56px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.5rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-family: var(--font-head); text-decoration: none; }
.text-link:hover .ico-arrow { transform: translateX(4px); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.link-btn:hover { color: var(--navy-800); text-decoration-thickness: 2px; }

/* Header */
.site-top { position: sticky; top: 0; z-index: 50; }
.site-header { position: relative; z-index: 1; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { width: 150px; height: auto; }
@media (max-width: 767px) { .brand img { width: 124px; } }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav > ul > li > a { display: block; padding: .6rem .8rem; font: 600 1rem var(--font-head); color: var(--navy-900); text-decoration: none; border-radius: 8px; transition: color var(--dur-fast), background-color var(--dur-fast); }
.primary-nav > ul > li > a:hover, .primary-nav > ul > li > a[aria-current="page"], .primary-nav .is-current > a { color: var(--blue); background: var(--blue-100); }
.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: .25rem !important; }
.sub-toggle { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--navy-900); cursor: pointer; border-radius: 6px; }
.sub-toggle .ico { width: 1rem; height: 1rem; transition: transform .3s var(--ease-out); }
.sub-menu { position: absolute; top: calc(100% + 8px); left: -.5rem; min-width: 300px; list-style: none; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility 0s linear .3s; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility 0s; }
.sub-menu a { display: grid; padding: .6rem .8rem; border-radius: 10px; text-decoration: none; color: var(--navy-900); transition: background-color var(--dur-fast); }
.sub-menu a strong { font: 700 1rem var(--font-head); }
.sub-menu a span { font-size: .85rem; color: var(--muted); }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--mist); }
.sub-menu a[aria-current="page"] strong { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font: 700 .98rem var(--font-head); color: var(--navy-900); text-decoration: none; white-space: nowrap; }
.header-phone .ico { color: var(--green-700); }
.header-phone:hover { color: var(--blue); }
.nav-toggle { display: none; }
@media (max-width: 79.99em) {
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid var(--line); }
  .header-phone .ico { width: 1.2rem; height: 1.2rem; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem 1rem; font: 700 .95rem var(--font-head); color: var(--navy-900); background: #fff; border: 1.5px solid var(--navy-900); border-radius: 999px; cursor: pointer; position: relative; z-index: 3; }
}
@media (max-width: 479px) { .header-quote { display: none; } }

/* ===== Full-page menu (tablet and mobile, below 80em = 1280px at default text size) =====
   Circle reveal from the Menu button, links rise in one after another, submenu grows open, hamburger morphs to X.
   Never display:none while in use: visibility + clip-path, so it always animates. */
.menu-overlay { display: none; }
@media (max-width: 79.99em) {
  .nav-toggle-icon { position: relative; width: 1.15rem; height: 1rem; transition: transform .35s var(--ease-out); }
  .nav-toggle-icon i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-out), opacity .25s, top .45s var(--ease-out); }
  .nav-toggle-icon i:nth-child(1) { top: 0; } .nav-toggle-icon i:nth-child(2) { top: calc(50% - 1px); } .nav-toggle-icon i:nth-child(3) { top: calc(100% - 2px); }
  .nav-toggle { transition: color var(--dur-fast), border-color var(--dur-fast), background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
  .nav-toggle:hover { background: var(--navy-900); color: #fff; }
  .nav-toggle:active { transform: scale(.95); }
  .nav-toggle[aria-expanded="true"] { color: #fff; background: rgba(4,63,102,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: rgba(255,255,255,.45); }
  .nav-toggle[aria-expanded="true"]:hover { background: rgba(255,255,255,.1); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }
  .menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; }
  .menu-open .header-phone, .menu-open .header-quote, .menu-open .brand { opacity: 0; pointer-events: none; }
  .brand, .header-phone, .header-quote { transition: opacity .3s; }

  .menu-overlay {
    display: block; position: fixed; inset: 0; z-index: 45; overflow-y: auto; overscroll-behavior: contain; background: var(--grad-deep); color: #e7eef4;
    clip-path: circle(0 at calc(100% - 3.6rem) calc(var(--header-h) / 2)); visibility: hidden; pointer-events: none;
    transition: clip-path .65s var(--ease-in-out), visibility 0s linear .65s;
  }
  .menu-open .menu-overlay { clip-path: circle(150% at calc(100% - 3.6rem) calc(var(--header-h) / 2)); visibility: visible; pointer-events: auto; transition: clip-path .8s var(--ease-in-out), visibility 0s; }
  .menu-open { overflow: hidden; }
  .menu-open .sticky-buy { display: none; }
  .mm-glow { position: fixed; width: 34rem; height: 34rem; right: -12rem; top: -10rem; border-radius: 50%; background: radial-gradient(circle, rgba(107,182,70,.35), transparent 65%); pointer-events: none; animation: glow-drift 18s var(--ease-in-out) infinite; }
  .mm-inner { position: relative; z-index: 1; width: min(100% - 2 * var(--gutter), 64rem); margin-inline: auto; min-height: 100%; padding: 0 0 2rem; display: grid; gap: 1rem; align-content: start; }
  .mm-brand { display: flex; align-items: center; min-height: var(--header-h); }
  .mm-brand img { width: min(150px, 42vw); }
  .mm-list { list-style: none; margin: 0; padding: 0; }
  .mm-item { border-bottom: 1px solid rgba(255,255,255,.12); }
  .mm-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .55rem 0; font: 700 clamp(1.45rem, 5.4vw, 2rem)/1.15 var(--font-head); color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; transition: color var(--dur-fast), padding-left var(--dur-fast) var(--ease-out); }
  .mm-link:hover, .mm-link:focus-visible { color: #c2eeb0; padding-left: .35rem; }
  .mm-link[aria-current="page"] { color: var(--green); }
  .mm-tag { flex: none; padding: .25rem .6rem; border-radius: 999px; background: var(--green); color: var(--navy-950); font: 800 .72rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
  .mm-lbl { display: inline-flex; align-items: center; gap: .7rem; }
  .mm-ico { color: var(--green); width: 1em; height: 1em; }
  .mm-ico--top { width: .8em; height: .8em; }
  .mm-plus { position: relative; width: 1.1rem; height: 1.1rem; flex: none; }
  .mm-plus::before, .mm-plus::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
  .mm-plus::after { transform: rotate(90deg); }
  [aria-expanded="true"] > .mm-plus::after { transform: rotate(0); }
  .mm-sub { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease-out), visibility 0s linear .45s; }
  .mm-sub.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s var(--ease-out), visibility 0s; }
  .mm-sub ul { list-style: none; margin: 0; padding: 0; overflow: hidden; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .6rem; }
  .mm-sub li { opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); }
  .mm-sub.is-open li { opacity: 1; transform: none; transition-delay: calc(.08s + var(--n, 0) * .04s); }
  .mm-sub.is-open ul { padding-bottom: .6rem; }
  .mm-sub a { display: flex; align-items: center; gap: .5rem; padding: .45rem 0; color: #cbd9e6; text-decoration: none; font-size: clamp(.9rem, 3.8vw, 1.05rem); transition: color var(--dur-fast), padding-left var(--dur-fast) var(--ease-out); }
  .mm-sub a:hover, .mm-sub a:focus-visible { color: #fff; padding-left: .3rem; }
  .mm-sub a[aria-current="page"] { color: #c2eeb0; }
  .mm-cta { margin-top: 1rem; display: flex; justify-content: center; align-items: center; gap: .6rem; width: 100%; min-height: 56px; padding: .95rem 1.2rem; font: 700 1.1rem var(--font-head); color: #033658; border: 0; border-radius: 999px; background: linear-gradient(135deg, #8ed46a, var(--green)); box-shadow: 0 10px 28px -8px rgba(107,182,70,.7); cursor: pointer; animation: mm-pulse 3.2s ease-in-out 1.6s infinite; }
  .mm-cta:hover .ico-arrow { transform: translateX(4px); }
  .mm-call { display: flex; align-items: center; justify-content: center; gap: .55rem; margin-top: .75rem; padding: .5rem; color: #dce8f2; text-decoration: none; font-size: 1rem; }
  .mm-call .ico { color: var(--green); }
  .mm-call strong { color: #fff; }
  .mm-call:hover { color: #fff; text-decoration: underline; }
  .mm-extras { display: grid; gap: .8rem; align-content: start; }
  .mm-feature { display: flex; align-items: center; gap: .85rem; padding: .55rem .9rem .55rem .55rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; transition: background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast); }
  .mm-feature:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(107,182,70,.7); transform: translateY(-2px); }
  .mm-feature picture { flex: none; }
  .mm-feature img { width: 4.25rem; height: 4.25rem; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
  .mm-feature-ico { flex: none; display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border-radius: 10px; background: rgba(107,182,70,.16); color: var(--green); }
  .mm-feature-ico .ico { width: 1.8rem; height: 1.8rem; }
  .mm-feature > span:not(.mm-feature-ico) { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
  .mm-feature small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #c2eeb0; font-weight: 700; }
  .mm-feature strong { font: 700 1.02rem var(--font-head); }
  .mm-feature em { font-style: normal; font-size: .86rem; color: #d6e3ee; }
  .mm-feature > .ico-arrow { color: #c2eeb0; }
  .mm-feature:hover > .ico-arrow { transform: translateX(4px); }
  .mm-note { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: .2rem 0 0; font-size: .9rem; color: #d6e3ee; text-align: center; }
  .mm-note .ico { color: var(--green); }
  .menu-overlay a:focus-visible, .menu-overlay button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

  .mm-brand, .mm-item, .mm-cta, .mm-call, .mm-feature, .mm-note { opacity: 0; transform: translateY(22px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), background-color var(--dur-fast), border-color var(--dur-fast); }
  .menu-open .mm-brand, .menu-open .mm-item, .menu-open .mm-cta, .menu-open .mm-call, .menu-open .mm-feature, .menu-open .mm-note { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i, 0) * .07s); }
  .menu-open .mm-brand { transition-delay: .2s; }
  .menu-open .mm-feature:hover { transform: translateY(-2px); transition-delay: 0s; }
}
@keyframes glow-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6rem, 5rem); } }
@keyframes mm-pulse { 0%, 100% { box-shadow: 0 10px 28px -8px rgba(107,182,70,.7); } 50% { box-shadow: 0 10px 36px -4px rgba(107,182,70,1); } }
@media (min-width: 700px) and (max-width: 79.99em) {
  .mm-inner { grid-template-columns: 1.1fr .9fr; column-gap: 3rem; row-gap: 0; }
  .mm-brand { grid-column: 1 / -1; }
  .mm-extras { padding-top: .5rem; }
}
/* Portrait tablets: one roomy column spread over the full height */
@media (min-width: 700px) and (max-width: 79.99em) and (orientation: portrait) {
  .mm-inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; row-gap: 1.5rem; padding-bottom: 2.5rem; width: min(100% - 2 * 2.5rem, 46rem); }
  .mm-main { align-self: center; }
  .mm-link { font-size: clamp(2.2rem, 6vw, 3rem); padding: clamp(.55rem, 1.6vh, 1rem) 0; }
  .mm-sub a { font-size: 1.2rem; padding: .6rem 0; }
  .mm-cta { margin-top: 1.6rem; font-size: 1.3rem; min-height: 64px; }
  .mm-extras { grid-template-columns: 1fr 1fr; gap: 1rem; align-self: end; padding-top: 0; }
  .mm-note { grid-column: 1 / -1; font-size: 1rem; }
}
@media (max-width: 699px) and (max-height: 700px) { .mm-link { font-size: 1.3rem; padding: .4rem 0; } }

/* Breadcrumbs */
.breadcrumbs { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; padding: .9rem 0; font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: .3rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: #9aabbb; }
.breadcrumbs a { color: var(--slate); }
.breadcrumbs [aria-current] { color: var(--navy-900); font-weight: 600; }
/* On pages that open with a dark band (page hero, blog post header, Comfort Quiz) the trail sits inside it */
main > .breadcrumbs:is(:has(+ .page-hero), :has(+ .hero), :has(+ .post), :has(+ .quiz)) { position: absolute; left: 0; right: 0; z-index: 2; }
main > .breadcrumbs:is(:has(+ .page-hero), :has(+ .post), :has(+ .quiz)) :is(a, li) { color: #d6e3ee; }
main > .breadcrumbs:is(:has(+ .page-hero), :has(+ .post), :has(+ .quiz)) li + li::before { color: #8fa6bb; }
main > .breadcrumbs:is(:has(+ .page-hero), :has(+ .post), :has(+ .quiz)) [aria-current] { color: #fff; }
main { position: relative; display: block; }

/* Sections */
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-flush { padding-top: 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--grad-deep); color: #dbe6ef; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a:not(.btn) { color: #c2eeb0; }
.section-head { max-width: 760px; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.25rem); text-align: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--slate); }
.section-navy .section-head p:last-child { color: #d6e3ee; }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: #dbe6ef; padding: clamp(4.5rem, 3rem + 5vw, 7rem) 0 clamp(5rem, 4rem + 4vw, 7.5rem); }
.hero-bg { position: absolute; inset: 0; background: var(--grad-deep); }
.hero-bg::after { content: ""; position: absolute; right: -10%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(107,182,70,.22), transparent 62%); }
.hero-inner { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1rem + 3.4vw, 3.6rem); }
.hero h1 span { color: #8ad366; display: block; }
.hero-lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); color: #d6e3ee; max-width: 38rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 1.6rem 0 0; padding: 0; font-weight: 600; color: #fff; font-size: .98rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; }
.hero-points .ico { color: var(--green); }
.hero-media { position: relative; }
/* Hero mattress slider: crossfade, autoplay with pause, arrows + dots */
.hs-slides { display: grid; }
.hs-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease-out), visibility 0s linear .7s; }
.hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease-out), visibility 0s; }
.hs-slide img { transform: scale(.96) translateX(16px); transition: transform 1s var(--ease-out); }
.hs-slide.is-active img { transform: none; }
.hs-slide .hero-tag { opacity: 0; translate: 0 12px; transition: opacity .5s var(--ease-out), translate .6s var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.hs-slide.is-active .hero-tag { opacity: 1; translate: 0 0; transition-delay: .25s, .25s, 0s; }
.hs-controls { position: absolute; top: .9rem; left: .9rem; z-index: 2; display: flex; align-items: center; gap: .25rem; padding: .25rem; border-radius: 999px; background: rgba(255,255,255,.94); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hs-btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--navy-900); cursor: pointer; transition: background-color var(--dur-fast), color var(--dur-fast); }
.hs-btn:hover { background: var(--navy-900); color: #fff; }
.hs-btn .ico { width: 1.1rem; height: 1.1rem; }
.hs-pause .i-play, .hs-pause[aria-pressed="true"] .i-pause { display: none; }
.hs-pause[aria-pressed="true"] .i-play { display: block; }
.hs-dots { display: flex; gap: .15rem; padding-inline: .15rem; }
.hs-dot { position: relative; width: 24px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; }
.hs-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; translate: -50% -50%; border-radius: 999px; background: #b9c8d5; transition: width .35s var(--ease-out), background-color var(--dur-fast); }
.hs-dot:hover::before { background: var(--blue); }
.hs-dot[aria-current="true"]::before { width: 20px; background: var(--green-600); }
.hero-tag { position: absolute; left: clamp(-1.5rem, -2vw, 0rem); bottom: -1.6rem; display: grid; padding: .85rem 1.1rem; background: var(--navy-900); border: 1px solid rgba(255,255,255,.15); color: #fff; border-radius: 14px; text-decoration: none; box-shadow: var(--shadow-lg); line-height: 1.3; transition: transform var(--dur-fast) var(--ease-out); }
.hero-tag:hover { color: #fff; transform: translateY(-3px); }
.hero-tag small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #c2eeb0; font-weight: 700; }
.hero-tag strong { font: 700 1.1rem var(--font-head); }
.hero-tag span { font-size: .85rem; color: #d6e3ee; }
.hero-badge { position: absolute; right: -.5rem; top: -1.2rem; display: flex; align-items: center; gap: .55rem; margin: 0; padding: .6rem .95rem; background: var(--green); color: #033658; border-radius: 999px; font-size: .82rem; line-height: 1.2; box-shadow: var(--shadow); }
.hero-badge .ico { width: 1.4rem; height: 1.4rem; }
@media (max-width: 599px) {
  .hero-badge { display: none; }   /* "Handmade in Knoxville" is in the trust strip right below */
  .hero-card { padding-top: 3.6rem; }
  .hero-tag, .hs-slide .hero-tag { position: relative; left: auto; right: auto; bottom: auto; margin-top: .9rem; }
}
.trust-wrap { position: relative; z-index: 2; margin-top: -2.6rem; }
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; list-style: none; margin: 0; padding: .5rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.trust-strip li { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; }
.trust-strip li + li { border-left: 1px solid var(--line); }
@media (max-width: 1023px) { .trust-strip li + li { border-left: 0; } .trust-strip li { border-bottom: 1px solid var(--line); } .trust-strip li:last-child { border-bottom: 0; } }
/* Highlights: solid icon badges, larger titles, darker supporting text so each one reads at a glance */
.trust-strip .ico { flex: none; width: 3.25rem; height: 3.25rem; padding: .78rem; border-radius: 16px; background: var(--navy-900); color: #fff; stroke-width: 2.2; box-shadow: 0 8px 18px -10px rgba(4,52,84,.6); }
.trust-strip li:nth-child(even) .ico { background: var(--green-700); box-shadow: 0 8px 18px -10px rgba(58,122,30,.6); }
.trust-strip span { display: grid; gap: .15rem; line-height: 1.25; }
.trust-strip strong { font: 800 clamp(1.05rem, .95rem + .3vw, 1.2rem) var(--font-head); color: var(--navy-950); text-wrap: pretty; }
.trust-strip small { color: var(--slate); font-size: .94rem; font-weight: 500; text-wrap: pretty; }
@media (min-width: 1024px) { .trust-strip li { flex-direction: column; align-items: center; text-align: center; gap: .75rem; padding: 1.5rem 1.2rem 1.4rem; } }

/* Page hero (inner pages) */
.page-hero { background: var(--grad-deep); color: #d6e3ee; padding: clamp(5rem, 4rem + 4vw, 7.5rem) 0 clamp(3rem, 2.5rem + 3vw, 5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -8rem; top: -8rem; width: 28rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(107,182,70,.22), transparent 62%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 52rem; }
.page-hero .lead { color: #d6e3ee; max-width: 46rem; }

/* Short answer box (AIO summary) */
.short-answer { margin: 1.5rem 0; padding: 1.4rem 1.6rem; background: linear-gradient(135deg, var(--green-100), #f4faf0); border: 1px solid #cfe7c1; border-left: 5px solid var(--green); border-radius: var(--radius); text-align: left; }
.short-answer .sa-label { display: flex; align-items: center; gap: .5rem; margin: 0 0 .45rem; font: 800 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); }
.short-answer .sa-label .ico { width: 1.1rem; height: 1.1rem; }
.short-answer p:last-child { margin: 0; color: var(--ink); }

/* Product cards */
.p-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.p-grid-2 { max-width: 900px; margin-inline: auto; }
.p-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.p-card-media { display: block; padding: 1.25rem; background: #fff; border-bottom: 1px solid var(--line); }
.p-card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .5s var(--ease-out); }
.p-card:hover .p-card-media img { transform: scale(1.04); }
.p-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.p-card-title { font-size: 1.5rem; margin-bottom: .35rem; }
.p-card-title a { color: var(--navy-900); text-decoration: none; }
.p-card-title a:hover { color: var(--blue); }
/* Icon grid */
.icon-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; margin: 0 0 2.5rem; padding: 0; }
.icon-card { padding: 1.6rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); transition: transform .3s var(--ease-out), border-color .3s; }
.icon-card:hover { transform: translateY(-3px); border-color: rgba(107,182,70,.7); }
.icon-card > .ico { width: 3rem; height: 3rem; padding: .7rem; margin-bottom: 1rem; border-radius: 12px; background: rgba(107,182,70,.18); color: var(--green); }
.icon-card p { margin: 0; color: #d6e3ee; font-size: .97rem; }
.icon-grid-light .icon-card { background: #fff; border-color: var(--line); }
.icon-grid-light .icon-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.icon-grid-light .icon-card > .ico { background: var(--green-100); color: var(--green-700); }
.icon-grid-light .icon-card p { color: var(--slate); }

/* Steps */
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; padding: 1.8rem 1.5rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-n { position: absolute; top: 1.2rem; right: 1.3rem; font: 800 2.6rem/1 var(--font-head); color: #5b8db3; }
.step > .ico { width: 2.6rem; height: 2.6rem; padding: .55rem; margin-bottom: .9rem; border-radius: 50%; background: var(--blue); color: #fff; }
.step p { margin: 0; color: var(--slate); font-size: .97rem; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.table-scroll:focus-visible { outline-offset: 2px; }
/* FAQ */
.faq-wrap { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; } .faq-intro { position: sticky; top: calc(var(--stick-h) + 2rem); align-self: start; } }
.faq-intro p { color: var(--slate); }
.faq-list { display: grid; gap: .75rem; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font: 700 1.08rem/1.35 var(--font-head); color: var(--navy-900); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-plus { position: relative; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--blue-100); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 30%; right: 30%; top: calc(50% - 1px); height: 2px; background: var(--blue); border-radius: 2px; transition: transform .35s var(--ease-out); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq-item.is-open .faq-body { grid-template-rows: 1fr; }
.faq-body > div { overflow: hidden; min-height: 0; }
.faq-body p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--slate); }

/* CTA band */
.cta-band { background: var(--navy-900); color: #d6e3ee; overflow: hidden; position: relative; }
.cta-band::before { content: ""; position: absolute; left: -10rem; bottom: -14rem; width: 34rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(3,86,138,.6), transparent 65%); }
.cta-inner { position: relative; display: grid; gap: 1rem; align-items: end; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.2fr .8fr; } }
.cta-copy { padding: clamp(3.5rem, 3rem + 3vw, 5.5rem) 0 1rem; }
@media (min-width: 900px) { .cta-copy { padding-bottom: clamp(3.5rem, 3rem + 3vw, 5.5rem); } }
.cta-band h2 { color: #fff; }
/* ===== Product page ===== */
.pdp { padding: .5rem 0 clamp(2.5rem, 2rem + 2vw, 4rem); }
.pdp-grid { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .pdp-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } .gallery { position: sticky; top: calc(var(--stick-h) + 1rem); } }
.g-main { position: relative; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; list-style: none; margin: 0; padding: 0; scrollbar-width: none; }
.g-track::-webkit-scrollbar { display: none; }
/* Every slide keeps the 4:3 frame: a tall photo (e.g. a remote) shrinks to fit instead of stretching the whole gallery */
.g-track { align-items: flex-start; }
.g-slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; padding: clamp(1rem, 3vw, 2.25rem); }
.g-slide picture, .g-slide img { width: 100%; height: 100%; min-height: 0; }
.g-slide img { object-fit: contain; }
.g-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--navy-900); cursor: pointer; box-shadow: var(--shadow); transition: background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.g-nav:hover { background: var(--navy-900); color: #fff; transform: scale(1.06); }
.g-prev { left: .75rem; } .g-next { right: .75rem; }
.g-count { position: absolute; right: .9rem; bottom: .8rem; padding: .2rem .6rem; font-size: .8rem; font-weight: 600; background: rgba(4,52,84,.8); color: #fff; border-radius: 999px; }
.g-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; list-style: none; margin: .75rem 0 0; padding: 0; }
.g-thumb { display: block; width: 100%; aspect-ratio: 1; padding: 4px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color var(--dur-fast), transform var(--dur-fast); }
.g-thumb img { width: 100%; height: 100%; object-fit: contain; }
.g-thumb picture { height: 100%; }
.g-thumb:hover { border-color: var(--blue); transform: translateY(-2px); }
.g-thumb[aria-current="true"] { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-100); }
.buy-title { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); margin-bottom: .35rem; }
.buy-step { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.buy-step legend, .buy-step .legend { display: flex; align-items: center; gap: .6rem; margin: 0 0 .6rem; padding: 0; font: 700 .85rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900); }
.step-num { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: .8rem; letter-spacing: 0; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; width: 100%; min-height: 54px; padding: .8rem 3rem .8rem 1rem; font: 600 1.02rem var(--font-body); color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color var(--dur-fast); }
.select-wrap select:hover { border-color: var(--blue); }
.select-wrap select:focus-visible { border-color: var(--blue); outline: 3px solid var(--focus); outline-offset: 2px; }
.select-wrap .ico { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--navy-900); }
.select-wrap.is-invalid select { border-color: #c0392b; }
.hint { margin: .5rem 0 0; font-size: .88rem; color: var(--muted); }
.buy-summary { margin: 0 0 .9rem; font-size: .95rem; color: var(--slate); }
.buy-summary strong { color: var(--navy-900); }
.buy-alt { margin: .7rem 0 0; text-align: center; font-size: .92rem; color: var(--muted); }
.buy-points { display: grid; gap: .45rem; list-style: none; margin: 1.4rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); font-size: .95rem; }
.buy-points li { display: flex; gap: .55rem; align-items: flex-start; }
.buy-points .ico { color: var(--green-700); margin-top: .2em; }
.check-list { display: grid; gap: .7rem; list-style: none; margin: 0 0 1.6rem; padding: 0; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; color: #e6eef5; }
.check-list .ico { color: var(--green); margin-top: .15em; }

.why-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: w; }
.why-grid li { padding: 1.4rem; border-top: 4px solid var(--green); background: var(--mist); border-radius: 0 0 var(--radius) var(--radius); }
.why-grid h3 { font-size: 1.08rem; }
.why-grid p { margin: 0; color: var(--slate); font-size: .95rem; }

.promise-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; margin: 0; padding: 0; }
.promise-grid li { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); }
.promise-grid strong { display: block; font: 800 2rem/1 var(--font-head); color: var(--blue); margin-bottom: .5rem; }
.promise-grid h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.promise-grid p { margin: 0; color: var(--slate); font-size: .95rem; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(4,52,84,.25); transform: translateY(110%); transition: transform .4s var(--ease-out); padding: .6rem 0 calc(.6rem + env(safe-area-inset-bottom)); }
.sticky-buy.is-visible { transform: none; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sticky-inner > span { display: grid; line-height: 1.25; min-width: 0; }
.sticky-inner strong { font: 700 1rem var(--font-head); color: var(--navy-900); }
.sticky-inner small { color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue); }
.note-card > .ico { width: 2.4rem; height: 2.4rem; color: var(--blue); }
.note-card h3 { margin-bottom: .3rem; }
.note-card p { margin: 0; color: var(--slate); }
.note-card-green { border-left-color: var(--green); margin-top: 2rem; }
.note-card-green > .ico { color: var(--green-700); }
.legal-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .legal-grid { grid-template-columns: 260px 1fr; } .legal-toc { position: sticky; top: calc(var(--stick-h) + 1.5rem); align-self: start; } }
.legal-toc { padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.toc-h { font: 800 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.legal-toc a { display: block; padding: .35rem 0; color: var(--navy-900); text-decoration: none; font-weight: 600; font-size: .95rem; }
.legal-toc a:hover, .legal-toc a.is-active { color: var(--blue); text-decoration: underline; }
.legal { max-width: 52rem; }
.legal-sec { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal-sec h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }
.legal ul { padding-left: 1.2rem; display: grid; gap: .6rem; }
.legal li::marker { color: var(--green-700); }
/* Contact */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.15fr .85fr; } }
.contact-form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.contact-cards { display: grid; gap: .9rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-cards li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-cards li > .ico { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 50%; background: var(--green-100); color: var(--green-700); }
.contact-cards h2 { font-size: 1.1rem; margin-bottom: .3rem; }
.contact-cards p { margin: 0 0 .3rem; }
.big-link { font: 800 1.4rem var(--font-head); text-decoration: none; }
/* Forms */
.field-grid { display: grid; gap: 1rem; }
@media (min-width: 600px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .95rem; color: var(--navy-900); }
.req { color: #b3261e; }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; font: 400 1rem var(--font-body); color: var(--ink); background: #fff; border: 1.5px solid #b9c8d5; border-radius: 10px; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field select { appearance: none; padding-right: 2.5rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308243d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 1.1rem; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(255,183,3,.6); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { font-size: .85rem; color: #b3261e; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .95rem; border: 1.5px solid #b9c8d5; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--navy-900); transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.ts-box { margin: 1.2rem 0 .5rem; min-height: 65px; }
.form-card > .btn-block + .fine { margin: .9rem 0 0; }
.form-status { min-height: 1.4em; margin: .5rem 0; font-weight: 600; }
.form-status.is-error { color: #b3261e; }
.form-status.is-busy { color: var(--blue); }
.form-success { text-align: center; padding: 2rem 1rem; animation: fade-up .5s var(--ease-out); }
.form-success:focus { outline: none; }
.success-ico { display: inline-grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 1rem; border-radius: 50%; background: var(--green); color: #033658; }
.success-ico .ico { width: 2rem; height: 2rem; }
.collapse { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease-out), visibility 0s linear .4s; }
.collapse.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease-out), visibility 0s; }
.collapse-inner { overflow: hidden; min-height: 0; display: grid; gap: .35rem; }

/* Quote dialog */
.quote-dialog { width: min(720px, 100% - 2rem); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); overflow: hidden;
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out), overlay .4s allow-discrete, display .4s allow-discrete; }
.quote-dialog[open] { opacity: 1; transform: none; }
@starting-style { .quote-dialog[open] { opacity: 0; transform: translateY(24px) scale(.97); } }
.quote-dialog::backdrop { background: rgba(6,26,45,0); backdrop-filter: blur(0); transition: background-color .35s, backdrop-filter .35s, overlay .4s allow-discrete, display .4s allow-discrete; }
.quote-dialog[open]::backdrop { background: rgba(6,26,45,.7); backdrop-filter: blur(4px); }
@starting-style { .quote-dialog[open]::backdrop { background: rgba(6,26,45,0); backdrop-filter: blur(0); } }
.qd-inner { position: relative; max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
.qd-close { position: absolute; top: .9rem; right: .9rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy-900); cursor: pointer; transition: background-color var(--dur-fast), transform .3s var(--ease-out); }
.qd-close:hover { background: var(--navy-900); color: #fff; transform: rotate(90deg); }
.qd-head { padding-right: 3rem; }
.qd-head h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); margin-bottom: .4rem; }
.qd-head p:last-child { color: var(--slate); font-size: .98rem; }
.quote-form fieldset { display: grid; gap: .9rem; margin: 0 0 1.2rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
@media (min-width: 600px) { .quote-form fieldset { grid-template-columns: 1fr 1fr; } }
.quote-form legend { padding: 0 .4rem; font: 800 .78rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); }
.qd-pick { background: var(--mist); }
[data-comfort-field][hidden] { display: none; }
.quote-form .fine { text-align: center; margin: .8rem 0 0; }
html.dialog-open { overflow: hidden; }

/* Footer */
.site-footer { background: var(--navy-950); color: #d6e3ee; padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0 1.5rem; font-size: .96rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 180px; margin-bottom: 1rem; }
.site-footer h2 { font: 800 .82rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a, .site-footer .link-btn { color: #dbe6ef; text-decoration: none; }
.site-footer a:hover, .site-footer .link-btn:hover { color: #c2eeb0; text-decoration: underline; }
.footer-parent { font-weight: 600; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .ico { color: var(--green); margin-top: .2em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.is-product .site-footer { padding-bottom: 5.5rem; }
@media (min-width: 900px) { .is-product .site-footer { padding-bottom: 1.5rem; } }

/* Scroll reveal (only when JS is running; content is visible without it) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   Brothers Bedding components
   ===================================================================== */

/* Top bar */
.topbar { background: var(--navy-950); color: #d6e3ee; font-size: .86rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar-msg { display: flex; align-items: center; gap: .5rem; margin: 0; }
.topbar-msg .ico { color: var(--green); width: 1rem; height: 1rem; }
.topbar-msg strong { color: #fff; font-weight: 600; }
.topbar-links { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.topbar-links a { display: inline-flex; align-items: center; gap: .4rem; color: #dbe6ef; text-decoration: none; padding: .45rem 0; }
.topbar-links a:hover { color: #fff; text-decoration: underline; }
.topbar-links .ico { width: 1rem; height: 1rem; color: var(--green); }
.topbar-links .tb-quiz { margin: .3rem 0; padding: .15rem .75rem; border-radius: 999px; background: var(--green); color: #022b47; font-weight: 700; }
.topbar-links .tb-quiz .ico { color: #022b47; }
.topbar-links .tb-quiz:hover { background: #fff; color: var(--navy-950); text-decoration: none; }
@media (max-width: 1023px) { .topbar-links { display: none; } .topbar-inner { justify-content: center; text-align: center; min-height: 34px; } .topbar { font-size: .8rem; } }
@media (max-width: 380px) { .topbar-msg span { font-size: .74rem; } }
.menu-open .topbar { visibility: hidden; }

/* Main nav: buttons + mega menus */
.brand img { width: 170px; }
@media (max-width: 767px) { .brand img { width: 136px; } }
.mega-toggle, .nav-link { display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .75rem; font: 600 1rem var(--font-head); color: var(--navy-900); background: none; border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; transition: color var(--dur-fast), background-color var(--dur-fast); }
.mega-toggle .ico { width: 1rem; height: 1rem; transition: transform .3s var(--ease-out); }
.mega-toggle:hover, .nav-link:hover, .nav-link[aria-current="page"], .is-open > .mega-toggle { color: var(--blue); background: var(--blue-100); }
.is-open > .mega-toggle .ico { transform: rotate(180deg); }
/* Top-level label links to its landing page; the chevron beside it opens the menu. Both share one highlight. */
.nav-split { display: inline-flex; align-items: center; border-radius: 8px; transition: background-color var(--dur-fast); }
.nav-top { display: inline-flex; align-items: center; padding: .6rem .15rem .6rem .75rem; font: 600 1rem var(--font-head); color: var(--navy-900); text-decoration: none; border-radius: 8px 0 0 8px; transition: color var(--dur-fast); }
.nav-split .mega-toggle { padding: .6rem .6rem .6rem .25rem; border-radius: 0 8px 8px 0; min-height: 2.75rem; }
.nav-split .mega-toggle:hover, .is-open > .nav-split .mega-toggle { background: none; }
.nav-split:hover, .is-open > .nav-split, .nav-split:focus-within { background: var(--blue-100); }
.nav-split:hover .nav-top, .nav-split:hover .mega-toggle, .is-open > .nav-split .nav-top, .is-open > .nav-split .mega-toggle, .nav-top[aria-current="page"] { color: var(--blue); }
.nav-top:hover { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; }
.is-open > .nav-split .mega-toggle .ico { transform: rotate(180deg); }
.primary-nav .has-mega { position: static; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(4,52,84,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility 0s linear .3s; }
.site-header { --mega-left: 0; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility 0s; }
@media (hover: hover) and (min-width: 80em) {
  .has-mega:hover .mega, .has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease-out) .08s, transform .3s var(--ease-out) .08s, visibility 0s .08s; }
  .has-mega:hover > .mega-toggle, .has-sub:hover > .mega-toggle { color: var(--blue); background: var(--blue-100); }
  .has-mega:hover > .mega-toggle .ico, .has-sub:hover > .mega-toggle .ico { transform: rotate(180deg); }
  .has-mega:hover > .nav-split, .has-sub:hover > .nav-split { background: var(--blue-100); }
  .has-mega:hover > .nav-split .nav-top, .has-sub:hover > .nav-split .nav-top, .has-mega:hover > .nav-split .mega-toggle, .has-sub:hover > .nav-split .mega-toggle { color: var(--blue); }
  .has-mega:hover > .nav-split .mega-toggle .ico, .has-sub:hover > .nav-split .mega-toggle .ico { transform: rotate(180deg); }
  .has-mega::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 14px); height: 14px; display: none; }
  .has-mega:hover::after { display: block; }
}
.mega-inner { display: grid; grid-template-columns: 1fr 260px; gap: 2.5rem; padding: 2rem 0 2.2rem; }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; }
.mega-h { margin: 0 0 .6rem; font: 800 .74rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.mega-col a { display: block; padding: .32rem 0; color: var(--navy-900); text-decoration: none; font-size: .96rem; transition: color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.mega-col a:hover, .mega-col a[aria-current="page"] { color: var(--blue); transform: translateX(3px); }
.mega-col--special { padding-left: 1.5rem; border-left: 1px solid var(--line); }
/* Mega menu link pictures: drawing, comfort/price mark, icon or product photo in a small tile */
.mega-col a:has(.mv) { display: flex; align-items: center; gap: .7rem; padding: .28rem 0; line-height: 1.25; }
.mv { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--mist); color: var(--navy-900); overflow: hidden; transition: background-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast); }
.mv svg { width: 36px; height: 36px; }
.mv .f { fill: var(--blue-100); }
.mv .a { stroke: var(--green-700); }
.mv .f.a, .mv circle.a { fill: #d9efc9; }
.mv .dot { fill: #fff; }
.mv-ico svg { width: 20px; height: 20px; color: var(--blue); }
.mv-price { font: 800 .78rem/1 var(--font-head); letter-spacing: -.02em; color: var(--green-700); }
.mv-photo { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mv-photo img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .3s var(--ease-out); }
.mv-photo img.is-in { opacity: 1; }
.mega-col a:hover .mv, .mega-col a[aria-current="page"] .mv { background: var(--blue-100); color: var(--blue); }
.mega-col a:hover .mv-photo { background: #fff; box-shadow: inset 0 0 0 1px var(--blue), 0 4px 12px -6px rgba(4,52,84,.35); }
@media (prefers-reduced-motion: reduce) { .mv-photo img { transition: none; } }
.mega-side { display: grid; gap: .8rem; align-content: start; }
.mega-feature { display: grid; gap: .6rem; padding: .9rem; border-radius: 14px; background: var(--mist); color: var(--navy-900); text-decoration: none; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast); }
.mega-feature:hover { color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow); }
.mega-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 10px; }
.mega-feature span { display: grid; line-height: 1.3; }
.mega-feature small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--green-700); }
.mega-feature strong { font: 700 1.05rem var(--font-head); }
.mega-feature em { font-style: normal; color: var(--blue); font-weight: 700; font-size: .92rem; }
.mega-all { display: inline-flex; align-items: center; gap: .4rem; font: 700 .98rem var(--font-head); text-decoration: none; }
.mega-all:hover .ico-arrow { transform: translateX(4px); }
.sub-menu { min-width: 260px; }
.sub-menu a { display: flex; align-items: center; gap: .65rem; font: 600 .97rem var(--font-head); }
.sd-ico { width: 1.05rem; height: 1.05rem; color: var(--green-700); }
.sub-menu a[aria-current="page"] { color: var(--blue); }
.primary-nav > ul { gap: .1rem; }
@media (max-width: 91.25em) and (min-width: 80em) { .header-phone span { display: none; } .mega-toggle, .nav-link { padding: .55rem .5rem; font-size: .96rem; } .nav-top { padding: .55rem .1rem .55rem .5rem; font-size: .96rem; } .nav-split .mega-toggle { padding: .55rem .4rem .55rem .2rem; } .brand img { width: 150px; } .header-inner { gap: 1rem; } }

/* Menu overlay logo on dark */
.mm-logo img { width: min(170px, 44vw); }

/* Hero */
.hero { padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.hero-copy .btn-row { margin-top: 2rem; }
.hero-photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,.1); }
.hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.hero-tag span { display: inline-flex; align-items: center; gap: .3rem; }

/* Page hero variants */
.page-hero--short { padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.page-hero--post h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.page-hero--post .eyebrow a { color: inherit; text-decoration: none; }
.post-meta { margin: 0; color: #d6e3ee; font-size: .95rem; }
.page-hero--img { padding-block: clamp(6rem, 5rem + 6vw, 10rem) clamp(4rem, 3rem + 4vw, 7rem); }
.page-hero--img .phi-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero--img .phi-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--img::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(6,26,45,.92) 0%, rgba(6,26,45,.7) 50%, rgba(6,26,45,.25) 100%); }

/* Generic helpers */
.center-row { justify-content: center; margin-top: 2.5rem; }
.split-top { align-items: start; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.row-head h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.check-list--dark li { color: var(--ink); }
.check-list--dark .ico { color: var(--green-700); }
.tick { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.tick li { position: relative; padding-left: 1.7rem; }
.tick li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a7a1e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / .65rem; }
@media (min-width: 600px) { .tick-2 { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.photo-card { margin: 0; }
.photo-card img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card figcaption { margin-top: .7rem; font-size: .9rem; color: var(--muted); text-align: center; }
.stack-photos { position: relative; min-height: 380px; }
.stack-photos .sp-1 img { width: 82%; border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.stack-photos .sp-2 { position: absolute; right: 0; bottom: 0; width: 55%; }
.stack-photos .sp-2 img { border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 599px) { .stack-photos { min-height: 0; padding-bottom: 30%; } }
.empty { padding: 2rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--slate); }

/* Shop tiles */
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); list-style: none; margin: 0; padding: 0; }
.tiles-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.tile a { position: relative; display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; background: var(--navy-900); isolation: isolate; }
.tile picture, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.tile a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6,26,45,.92) 100%); }
.tile a:hover img { transform: scale(1.06); }
.tile-txt { position: absolute; left: 1.1rem; right: 3.6rem; bottom: 1.1rem; z-index: 1; display: grid; line-height: 1.25; }
.tile-txt strong { font: 700 1.2rem var(--font-head); }
.tile-txt small { color: #d6e3ee; font-size: .86rem; margin-top: .2rem; }
.tile-go { position: absolute; right: 1rem; bottom: 1.1rem; z-index: 1; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--green); color: #033658; transition: transform var(--dur-fast) var(--ease-out); }
.tile a:hover .tile-go { transform: translateX(3px); }
@media (max-width: 599px) { .tile a { aspect-ratio: 16 / 10; } }

/* Product cards (catalog) */
.p-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.p-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.p-card { border-radius: 18px; }
.p-card-media { padding: .9rem; }
.p-card-media img { aspect-ratio: 1; }
.p-card-media .p-ph, .g-slide .p-ph { width: 40%; height: auto; margin: 20% auto; color: #b9c8d5; }
.p-card-body { padding: 1rem 1.1rem 1.15rem; }
.p-brand { margin: 0 0 .2rem; font: 700 .72rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.p-card-title { font-size: 1.12rem; line-height: 1.25; }
.p-tags { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: .3rem 0 .6rem; padding: 0; }
.p-tags li { padding: .15rem .55rem; border-radius: 999px; background: var(--mist); font-size: .76rem; font-weight: 600; color: var(--slate); }
.p-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); }
.p-price { margin: 0; font: 800 1.08rem var(--font-head); color: var(--navy-900); }
.p-card-foot .btn-sm { min-height: 38px; padding: .4rem .85rem; font-size: .88rem; }
.grid-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.grid-count { margin: 0; color: var(--slate); }
.grid-count strong { color: var(--navy-900); }
.sort-wrap { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; color: var(--navy-900); }
.sort-wrap select { appearance: none; min-height: 44px; padding: .5rem 2.4rem .5rem .9rem; font: 600 .95rem var(--font-body); color: var(--ink); border: 1.5px solid #b9c8d5; border-radius: 999px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308243d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 1rem; }
.sort-wrap select:hover { border-color: var(--blue); }
.chip-nav { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: .3rem; }
.chip-nav-l { flex: none; font-weight: 700; font-size: .9rem; color: var(--muted); }
.chip-nav ul { display: flex; gap: .45rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.chip-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: .35rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--navy-900); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.chip-nav a:hover { border-color: var(--blue); color: var(--blue); }
/* Chip thumbnails: a small photo, drawing or icon so each option is recognisable at a glance */
.chip-nav a:has(.mv-chip) { gap: .55rem; min-height: 44px; padding: .25rem .95rem .25rem .3rem; }
.mv.mv-chip { width: 34px; height: 34px; border-radius: 50%; }
.mv-chip svg { width: 28px; height: 28px; }
.mv-chip.mv-ico svg { width: 17px; height: 17px; color: var(--green-700); }
.mv-chip.mv-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }   /* chips load normally, not with the menu */
.chip-nav a:hover .mv-chip { box-shadow: inset 0 0 0 1.5px var(--blue); }
@media (max-width: 767px) { .chip-nav { flex-direction: column; align-items: flex-start; gap: .5rem; } .chip-nav ul { width: 100%; } .chip-nav a { white-space: normal; } }
.chip-nav a[aria-current="page"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.cat-more { margin-top: 3rem; max-width: 52rem; }
.help-card { display: grid; gap: 1rem 1.5rem; align-items: center; margin-top: 3rem; padding: 1.5rem 1.7rem; border-radius: 20px; background: var(--mist); border: 1px solid var(--line); }
@media (min-width: 800px) { .help-card { grid-template-columns: auto 1fr auto; } }
.help-card > .ico { width: 3rem; height: 3rem; padding: .65rem; border-radius: 50%; background: var(--blue); color: #fff; }
.help-card h2 { font-size: 1.3rem; margin: 0 0 .25rem; }
.help-card p { margin: 0; color: var(--slate); }
.help-card .btn-row { margin: 0; }
::view-transition-group(*) { animation-duration: .35s; }

/* Shop finder */
.finder { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.finder-col { padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.finder-col h3 { font-size: 1.1rem; }
.finder-col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.finder-col a { display: flex; justify-content: space-between; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid var(--line); color: var(--navy-900); text-decoration: none; font-weight: 500; }
.finder-col li:last-child a { border-bottom: 0; }
.finder-col a:hover { color: var(--blue); }
.finder-col a span { color: var(--muted); font-size: .86rem; }

/* Product page */
.pdp { padding-top: .25rem; }
.buy .eyebrow { margin-bottom: .4rem; }
.buy-price { display: grid; gap: .1rem; margin: .6rem 0 1.2rem; }
.buy-price span { font: 800 clamp(1.6rem, 1.3rem + 1vw, 2rem) var(--font-head); color: var(--navy-900); }
.buy-price small { color: var(--muted); font-size: .9rem; }
.spec-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0; margin: 0 0 1.5rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.spec-mini > div { padding: .7rem .85rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.spec-mini dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.spec-mini dd { margin: .1rem 0 0; font: 700 .98rem var(--font-head); color: var(--navy-900); }
.opt-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt-chip { position: relative; cursor: pointer; }
.opt-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opt-chip span { display: inline-flex; align-items: center; min-height: 46px; padding: .55rem 1.05rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; font-size: .95rem; color: var(--navy-900); transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast); }
.opt-chip:hover span { border-color: var(--blue); }
.opt-chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; transform: translateY(-1px); }
.opt-chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.buy-summary { min-height: 1.4em; }
.buy-cta .btn-lg { min-height: 58px; }
.buy-alt { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .7rem; }
.buy-alt .btn { min-height: 46px; font-size: .92rem; padding: .5rem .8rem; }
@media (max-width: 420px) { .buy-alt { grid-template-columns: 1fr; } }
.pdp-detail-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .pdp-detail-grid { grid-template-columns: minmax(0, 1fr) 360px; } .pdp-side { position: sticky; top: calc(var(--stick-h) + 1.5rem); } }
.pdp-details { border-top: 1px solid var(--line); }
.pdp-side { display: grid; gap: 1rem; }
.side-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.side-card--navy { background: var(--grad-deep); border: 0; color: #d6e3ee; }
.side-card--navy .side-h { color: #fff; }
.side-h { font-size: 1.15rem; margin-bottom: .8rem; }
.side-card .check-list { margin-bottom: 1.2rem; font-size: .95rem; }
.side-card .table-scroll { border-radius: 12px; }
.side-q { margin: 0 0 1rem; padding: 0 0 1rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.side-q:last-child { margin: 0; padding: 0; border: 0; }
.side-q p { margin: 0 0 .3rem; color: #e6eef5; font-style: italic; }
.side-q footer { font-size: .85rem; color: #c2eeb0; font-weight: 600; }
.price-table, .data-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.price-table caption, .data-table caption { text-align: left; padding: .7rem .9rem; font-weight: 700; color: var(--navy-900); }
.price-table th, .price-table td, .data-table th, .data-table td { padding: .55rem .9rem; border-top: 1px solid var(--line); text-align: left; }
.price-table thead th, .data-table thead th { background: var(--mist); font-size: .82rem; letter-spacing: .04em; color: var(--navy-900); }
.price-table td { font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.price-table tbody th { font-weight: 600; }

/* Long-form content */
.prose { max-width: 52rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); margin-top: 2rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.prose h4 { font-size: 1.05rem; margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; display: grid; gap: .35rem; }
.prose li::marker { color: var(--green-700); }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.3rem; border-left: 4px solid var(--green); background: var(--mist); border-radius: 0 12px 12px 0; }
.prose .table-scroll { margin: 1.2rem 0 1.6rem; }
.c-fig { margin: 1.5rem 0; }
.c-fig img { border-radius: 14px; margin-inline: auto; }
.c-video { margin: 1.5rem 0; }
.c-video video { display: block; width: 100%; height: auto; border-radius: 14px; background: #e9eef3; }
.post-hero-img { margin: 0 0 2rem; }
.post-hero-img img { width: 100%; border-radius: 18px; }

/* Icon / promise / comfort cards */
.promise-cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); list-style: none; margin: 0; padding: 0; }
.promise-cards li { display: flex; flex-direction: column; padding: 1.7rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .3s var(--ease-out), box-shadow .3s; }
.promise-cards li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pc-ico { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1rem; border-radius: 14px; background: var(--blue); color: #fff; }
.promise-cards p { color: var(--slate); }
.promise-cards .text-link { margin-top: auto; }
.comfort-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; margin: 0; padding: 0; }
.comfort-cards a { display: grid; gap: .3rem; height: 100%; padding: 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--navy-900); text-decoration: none; transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s; }
.comfort-cards a:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); color: var(--navy-900); }
.comfort-cards strong { font: 800 1.4rem var(--font-head); }
.comfort-cards small { color: var(--slate); font-size: .94rem; }
.cc-bar { position: relative; display: block; height: 10px; margin-bottom: .9rem; border-radius: 999px; background: linear-gradient(90deg, #cfe6f5, #c2eeb0 45%, var(--blue)); }
.cc-bar::after { content: ""; position: absolute; top: 50%; left: calc((var(--pos) - 1) / 9 * 100%); width: 22px; height: 22px; translate: -50% -50%; border-radius: 50%; background: #fff; border: 4px solid var(--navy-900); box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.cc-quiz a { background: var(--grad-deep); border: 0; color: #fff; }
.cc-quiz a:hover { color: #fff; }
.cc-quiz small { color: #d6e3ee; }
.cc-quiz .ico { width: 2.2rem; height: 2.2rem; color: var(--green); margin-bottom: .4rem; }
.why-grid { list-style: none; }
.steps { list-style: none; }
.steps-5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.feature-rows { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); list-style: none; margin: 0; padding: 0; }
.feature-rows > li { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 900px) { .feature-rows > li { grid-template-columns: 1fr 1fr; } .feature-rows > li:nth-child(even) > div { order: 2; } }
.feature-rows img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.feature-rows p { color: var(--slate); }
/* About: box of material photos (one large, four small) */
.mat-grid { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.mat-grid li { min-width: 0; min-height: 0; overflow: hidden; border-radius: 12px; background: var(--mist); }
.mat-grid li:first-child { grid-row: 1 / 3; }
.mat-grid picture { display: block; width: 100%; height: 100%; }
.feature-rows .mat-grid img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; box-shadow: none; transition: transform .5s var(--ease-out); }
.mat-grid li:hover img { transform: scale(1.04); }
@media (max-width: 599px) { .mat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; } .mat-grid li { aspect-ratio: 1; } .mat-grid li:first-child { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 4 / 3; } }
.mat-grid--6 { grid-template-columns: repeat(3, 1fr); aspect-ratio: 9 / 8; }
.mat-grid--6 li:first-child { grid-row: auto; }
@media (max-width: 599px) { .mat-grid--6 { grid-template-columns: 1fr 1fr; aspect-ratio: auto; } .mat-grid--6 li, .mat-grid--6 li:first-child { grid-column: auto; aspect-ratio: 3 / 4; } }
@media (prefers-reduced-motion: reduce) { .mat-grid li:hover img { transform: none; } }
.fr-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, 1.5vw, 1rem); align-items: start; }
.fr-duo picture:nth-child(2) { margin-top: clamp(1.25rem, 3vw, 2.5rem); }
.fr-duo img { border-radius: 16px; }
.team { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); list-style: none; margin: 0 0 3rem; padding: 0; text-align: center; }
.team li { padding: 1.6rem 1rem; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.team .ico { width: 3.2rem; height: 3.2rem; padding: .7rem; margin: 0 auto .8rem; border-radius: 50%; background: rgba(107,182,70,.18); color: var(--green); }
.team h3 { margin-bottom: .2rem; }
.team p { margin: 0; color: #c2eeb0; font-weight: 600; font-size: .92rem; }
.spec-card { padding: 1.8rem; border-radius: 20px; background: var(--mist); border: 1px solid var(--line); }
.spec-card h2 { font-size: 1.35rem; }
.note-card > span { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--blue-100); color: var(--blue); }
.note-card-green > span { background: var(--green-100); color: var(--green-700); }
.note-card h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.note-card .tick { margin-top: .6rem; }
.split-top .note-card-green { margin-top: 0; }

/* Testimonials */
.t-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); list-style: none; margin: 0; padding: 0; }
.t-card { display: flex; flex-direction: column; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.t-stars { display: flex; gap: .15rem; margin-bottom: .8rem; }
.t-star { width: 1.1rem; height: 1.1rem; fill: #f5b301; stroke: #f5b301; }
.section-head .t-star { display: inline-block; vertical-align: -.15em; }
.t-card blockquote { margin: 0 0 1rem; flex: 1; }
.t-card blockquote p { margin: 0; color: var(--ink); }
.t-name { margin: 0; font: 700 1rem var(--font-head); color: var(--navy-900); }
.t-name small { display: block; font: 500 .82rem var(--font-body); color: var(--muted); }
.rating-big { font: 800 1.6rem var(--font-head); color: var(--navy-900); vertical-align: -.1em; }
.review-stores { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); list-style: none; margin: 0 0 1.5rem; padding: 0; }
.review-store { padding: 1.4rem; background: #fff; border-radius: 18px; border: 1px solid var(--line); text-align: center; }
.review-store h3 { margin-bottom: .3rem; }
.review-store p { color: var(--slate); font-size: .94rem; }

/* Locations */
.loc-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); list-style: none; margin: 0; padding: 0; }
.loc-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.loc-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.loc-media { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist); }
.loc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.loc-card:hover .loc-media img { transform: scale(1.05); }
.loc-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.loc-tag { margin: 0 0 .25rem; font: 700 .72rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.loc-name { font-size: 1.25rem; margin-bottom: .7rem; }
.loc-name a { color: var(--navy-900); text-decoration: none; }
.loc-name a:hover { color: var(--blue); }
.loc-body address, .loc-phone { display: flex; gap: .55rem; align-items: flex-start; margin: 0 0 .5rem; font-style: normal; }
.loc-body address .ico, .loc-phone .ico { color: var(--green-700); margin-top: .2em; }
.loc-phone a { font-weight: 700; text-decoration: none; }
.loc-hours { list-style: none; margin: .4rem 0 1.1rem; padding: .7rem .9rem; background: var(--mist); border-radius: 12px; font-size: .92rem; display: grid; gap: .2rem; }
.loc-hours li { display: flex; justify-content: space-between; gap: 1rem; }
.loc-hours li.is-today span { color: var(--navy-900); font-weight: 700; }
.loc-hours .loc-status { display: block; min-height: 2.9rem; margin-bottom: .2rem; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.loc-status b { display: inline-flex; align-items: center; gap: .4rem; }
.loc-status b::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }
.loc-status.is-open { color: #1c6b2c; }
.loc-status.is-closed { color: #a12a1f; }
.loc-status small { display: block; margin-top: .15rem; font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--slate); }
.loc-hours li span:first-child { color: var(--slate); }
.loc-hours li span:last-child { font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.loc-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: auto; }
.loc-actions > a:not(.btn) { display: inline-flex; align-items: center; gap: .3rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.loc-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.loc-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 14px; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.loc-list li:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.loc-list li > a:first-child { display: grid; text-decoration: none; color: var(--navy-900); line-height: 1.3; }
.loc-list strong { font: 700 1.05rem var(--font-head); }
.loc-list span { color: var(--muted); font-size: .9rem; }
.lc-tel { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; white-space: nowrap; font-size: .95rem; }
@media (max-width: 479px) { .loc-list li { flex-direction: column; align-items: flex-start; gap: .3rem; } }
.map-fig { margin: 0; }
.map-fig img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.map-fig--wide { max-width: 860px; margin: 3rem auto 0; }
.store-card { overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.store-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.store-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.store-card-body h2 { font-size: 1.3rem; }
.store-card-body h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 1rem 0 .2rem; }
.store-card-body address, .store-card-body > p { display: flex; gap: .55rem; margin: 0 0 .5rem; font-style: normal; }
.store-card-body .ico { color: var(--green-700); margin-top: .2em; }
.store-card-body .btn-row { margin-top: 1rem; }
@media (min-width: 900px) { .store-card { position: sticky; top: calc(var(--stick-h) + 1.5rem); } }

/* Posh+Lavish lineup + massage chairs */
.pl-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; margin: 2rem 0; padding: 0; }
.pl-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.pl-card > picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
.pl-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.pl-quote { margin: 0 0 .2rem; font: 600 .82rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.pl-body h3 { font-size: 1.35rem; }
.pl-body .tick { font-size: .93rem; color: var(--slate); }
.pl-prices { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .92rem; }
.pl-prices th, .pl-prices td { padding: .35rem 0; border-top: 1px solid var(--line); text-align: left; }
.pl-prices th { font-weight: 500; color: var(--slate); }
.pl-prices td { text-align: right; font-weight: 700; color: var(--navy-900); }
.pl-actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; flex-wrap: wrap; }
.pl-body .p-price { margin: auto 0 .6rem; }

/* Finance, wholesale, docs, embeds */
.fin-cards { display: grid; gap: .9rem; }
.fin-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; padding: 1.3rem 1.4rem; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; color: var(--navy-900); transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast); }
.fin-card:hover { color: var(--navy-900); border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.fin-card strong { font: 800 1.25rem var(--font-head); }
.fin-card span { grid-column: 1; color: var(--slate); font-size: .94rem; }
.fin-card .ico-arrow { grid-row: 1 / span 2; grid-column: 2; color: var(--blue); }
.logo-wall { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); list-style: none; margin: 0; padding: 0; }
.logo-wall li { display: grid; place-items: center; padding: 1.2rem; aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.logo-wall img { max-height: 80px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.logo-wall li:hover img { filter: none; opacity: 1; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.doc-list a { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 16px; color: var(--navy-900); text-decoration: none; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.doc-list a:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--navy-900); }
.doc-list a > .ico:first-child { width: 2.4rem; height: 2.4rem; padding: .5rem; border-radius: 50%; background: var(--blue-100); color: var(--blue); }
.doc-list span { flex: 1; display: grid; line-height: 1.3; }
.doc-list strong { font: 700 1.05rem var(--font-head); }
.doc-list small { color: var(--muted); }
.coupon { margin: 2rem auto 0; max-width: 485px; }
.coupon img { border-radius: 14px; box-shadow: var(--shadow); }
.track-card { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.8rem; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.track-card > .ico { width: 3rem; height: 3rem; padding: .6rem; border-radius: 50%; background: var(--blue); color: #fff; }
.track-frame { width: 100%; max-width: 360px; height: 110px; border: 0; }
.cal-embed { min-height: 360px; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; background: var(--mist); }
.cal-ph { display: grid; justify-items: center; gap: .6rem; padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1.5rem; text-align: center; }
.cal-ph > .ico { width: 3.4rem; height: 3.4rem; padding: .7rem; border-radius: 50%; background: var(--blue); color: #fff; }
.cal-ph h2 { margin: .3rem 0 0; font-size: 1.6rem; }
.cal-frame { display: block; width: 100%; height: 760px; border: 0; background: #fff; }
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s var(--ease-out); }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; color: #fff; }
.yt-play .ico { width: 4.2rem; height: 4.2rem; padding: 1.1rem 1rem 1.1rem 1.3rem; border-radius: 50%; background: rgba(4,52,84,.85); fill: currentColor; transition: background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.yt-play:hover .ico, .yt-play:focus-visible .ico { background: var(--green); color: #033658; transform: scale(1.08); }
.yt-title { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2rem 1rem .8rem; color: #fff; font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); pointer-events: none; }
.yt.is-playing .yt-title { display: none; }
.video-wrap { max-width: 860px; margin: 1.5rem auto 0; }
.video-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); list-style: none; margin: 0; padding: 0; }

/* Promo slider (Black Friday banners) */
.promo { padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.promo-slider { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--mist); }
.promo-slider .hs-slide img { width: 100%; height: auto; transform: none; }
.promo-slider .hs-controls { top: auto; bottom: .8rem; left: 50%; translate: -50% 0; }
.promo-note { margin: .9rem 0 0; text-align: center; font-size: .92rem; color: var(--slate); }

/* Blog */
.post-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; margin: 0; padding: 0; }
.post-card a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease-out), box-shadow .3s; }
.post-card a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.post-card picture img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-ph { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--grad-deep); color: var(--green); }
.post-ph .ico { width: 3rem; height: 3rem; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.post-body small { color: var(--muted); font-size: .82rem; }
.post-title { font-size: 1.18rem; line-height: 1.25; margin: .3rem 0 .5rem; }
.post-ex { flex: 1; color: var(--slate); font-size: .94rem; margin-bottom: .8rem; }
.post-card .text-link { color: var(--blue); }
.post-card a:hover .ico-arrow { transform: translateX(4px); }

/* CTA band */
.cta-media { align-self: center; padding-block: 0 2.5rem; }
.cta-media img { width: 100%; max-width: 440px; margin-inline: auto; border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .cta-media { padding-block: 3rem; } }
.cta-media--square img { aspect-ratio: 1; object-position: 50% 30%; }

/* Contact */
.contact-form-card .short-answer { margin-top: 0; }
.form-wrap { margin-top: 1rem; padding: clamp(1.3rem, 1rem + 1.5vw, 2rem); border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.form-card { margin: 0; }
.chip-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chip-field legend { padding: 0; margin-bottom: .45rem; }
.chip-field[aria-invalid="true"] .chip span { border-color: #b3261e; }
.chip-field .field-error { display: block; margin-top: .4rem; }
.legal-links { display: flex !important; flex-wrap: wrap; gap: .4rem 1.2rem !important; }

/* Inquiry dialog product preview */
.inq-product { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.2rem; padding: .8rem; border-radius: 14px; background: var(--mist); border: 1px solid var(--line); }
.inq-product[hidden] { display: none; }
.inq-thumb { flex: none; }
.inq-thumb[hidden] { display: none; }
.inq-thumb img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 10px; }
.inq-meta { display: grid; line-height: 1.3; min-width: 0; }
.inq-meta small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); font-weight: 700; }
.inq-meta strong { font: 700 1.1rem var(--font-head); color: var(--navy-900); }
.inq-meta span { font-size: .9rem; color: var(--slate); }
[data-qty-field][hidden] { display: none; }

/* Footer */
.footer-cta { margin-top: calc(-1 * clamp(3rem, 2.5rem + 3vw, 5rem)); margin-bottom: 3rem; background: linear-gradient(135deg, var(--blue), var(--navy-800)); }
.footer-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.8rem; }
.footer-cta p { margin: 0; color: #e6eef5; font-size: 1.05rem; max-width: 40rem; }
.footer-cta strong { color: #fff; font-family: var(--font-head); font-size: 1.2rem; }
.footer-cta .btn-row { margin: 0; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr .9fr .9fr 1fr 1.2fr; } }
.footer-logo img { width: 190px; }
.footer-brand p { color: #d6e3ee; }
.social { display: flex !important; gap: .5rem !important; margin-top: 1rem !important; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #fff; transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.social a:hover { background: var(--green); border-color: var(--green); color: #033658; }
.social .ico { width: 1.15rem; height: 1.15rem; }
.footer-locs li { display: grid; line-height: 1.35; }
.footer-locs span { font-size: .88rem; color: #d6e3ee; }
.f-tel { font-size: .9rem; }
.footer-bottom a { color: #dbe6ef; }

/* Header fit at small desktops */
.mega-toggle, .nav-link, .nav-top, .site-header .btn, .topbar-links a { white-space: nowrap; }
.topbar-msg { min-width: 0; }
.topbar-msg span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 1024px) { .topbar-links { gap: .9rem; } }
@media (max-width: 1023px) { .topbar-msg span { white-space: normal; } }
.icon-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.split-locs .map-fig img { width: auto; max-width: 100%; max-height: 600px; margin-inline: auto; }
body:has(.cta-band) .footer-cta { display: none; }
body:has(.cta-band) .site-footer { padding-top: clamp(3rem, 2.5rem + 3vw, 5rem); }
.promo-slider .hs-controls { top: .8rem; bottom: auto; left: auto; right: .8rem; translate: none; }
@media (max-width: 599px) { .tb-long { display: none; } }
@media (max-width: 79.99em) {
  .mm-brand { margin-top: var(--mm-top, 0px); }
  .menu-overlay { clip-path: circle(0 at calc(100% - 3.6rem) calc(var(--mm-top, 0px) + var(--header-h) / 2)); }
  .menu-open .menu-overlay { clip-path: circle(150% at calc(100% - 3.6rem) calc(var(--mm-top, 0px) + var(--header-h) / 2)); }
}
.pdp-detail-grid > *, .pdp-grid > *, .split > *, .contact-grid > *, .legal-grid > *, .faq-wrap > * { min-width: 0; }
.prose, .legal { overflow-wrap: break-word; }
.prose img { max-width: 100%; height: auto; }
.contact-cards a, .footer-locs, .loc-body { overflow-wrap: anywhere; }
.pdp-side, .side-card { min-width: 0; }

/* Brand logo tiles (menus, mobile menu, shop pages). White tiles everywhere so every logo reads on any background. */
.brand-logos { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.brand-logos a { display: grid; place-items: center; gap: .25rem; height: 100%; min-height: 56px; padding: .55rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy-900);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.brand-logos a:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-logos a[aria-current="page"] { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-100); }
.brand-logos picture { display: grid; place-items: center; width: 100%; }
.brand-logos img { width: auto; max-width: 100%; max-height: 40px; object-fit: contain; }
.bl-text { font: 700 .95rem var(--font-head); }
.bl-count { font-size: .8rem; color: var(--muted); font-weight: 600; }
/* desktop mega menu: one stacked column */
.mega-col--brands .brand-logos { grid-template-columns: 1fr; gap: .45rem; }
.mega-col--brands .brand-logos a { min-height: 50px; padding: .45rem .7rem; transform: none; }
.mega-col--brands .brand-logos a:hover { transform: translateY(-2px); }
.mega-col--brands .brand-logos img { max-height: 34px; }
/* shop pages */
.brand-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-bottom: 1.2rem; }
.brand-nav .chip-nav-l { margin: 0; }
.brand-logos--row { display: flex; flex-wrap: wrap; gap: .6rem; }
.brand-logos--row a { width: 170px; min-height: 64px; }
.brand-logos--row img { max-height: 42px; }
@media (max-width: 599px) { .brand-logos--row { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .brand-logos--row a { width: auto; } }
.brand-logos--finder { grid-template-columns: 1fr 1fr; }
.brand-logos--finder a { min-height: 96px; padding: .8rem; }
.brand-logos--finder img { max-height: 46px; }
/* fullscreen mobile menu */
@media (max-width: 79.99em) {
  .mm-sub-in { overflow: hidden; min-height: 0; }
  .mm-sub .mm-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; overflow: visible; padding: .2rem 0 .9rem; }
  .mm-brands a { min-height: 54px; padding: .4rem .6rem; border: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
  .mm-brands a:hover, .mm-brands a:focus-visible { padding-left: .6rem; box-shadow: 0 0 0 2px var(--green); transform: none; }
  .mm-brands img { max-height: 32px; }
}
@media (min-width: 700px) and (max-width: 79.99em) { .mm-sub .mm-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mega-cols { display: flex; gap: 1.5rem; }
.mega-col { flex: 1 1 0; min-width: 0; }
.mega-col--brands { flex: 1.7 1 0; }
.mega-col--brands .brand-logos a { min-height: 58px; padding: .5rem .9rem; }
.mega-col--brands .brand-logos img { max-height: 40px; }

/* =====================================================================
   November 2026 additions: wider layout, RV link, compare table, product
   badges + Features & Benefits, foundation note, reviews, quiz, popup,
   overlay sliders
   ===================================================================== */
@media (min-width: 1600px) { :root { --wrap: 1520px; } }
.ico-ext { width: .8em; height: .8em; margin-left: .3em; opacity: .7; vertical-align: -.05em; display: inline-block; }
.nav-link .ico-ext { margin-left: .25rem; }
.mega-compare { margin-top: .8rem; padding: .6rem .9rem; border-radius: 999px; background: var(--blue-100); color: var(--blue); }
.mega-compare .ico:first-child { width: 1.1rem; height: 1.1rem; }
.mega-compare:hover { background: var(--blue); color: #fff; }

/* Compare CTA + table */
.compare-cta { display: grid; gap: .8rem 1.2rem; align-items: center; margin: 0 0 1.8rem; padding: 1rem 1.3rem; border-radius: 18px; background: var(--blue-100); border: 1px solid #c4dcec; }
.compare-cta > .ico { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 12px; background: var(--blue); color: #fff; }
.compare-cta p { margin: 0; color: var(--navy-900); }
.compare-cta .btn { margin: 0; }
@media (min-width: 760px) { .compare-cta { grid-template-columns: auto 1fr auto; } }
.compare-link { margin: -.6rem 0 1.4rem; }
.narrow-sa { max-width: 52rem; }
.cmp-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin: 1.5rem 0 1rem; }
.cmp-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.cmp-tools .grid-count { margin: 0 0 0 auto; }
.chip-btn { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .35rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 600 .9rem var(--font-body); color: var(--navy-900); cursor: pointer; transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.chip-btn span { color: var(--muted); font-weight: 500; }
.chip-btn:hover { border-color: var(--blue); color: var(--blue); }
.chip-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip-btn[aria-pressed="true"] span { color: #d6e3ee; }
.chip-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cmp-scroll { max-height: min(78vh, 900px); overflow: auto; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .94rem; min-width: 860px; }
.cmp-table thead th { position: sticky; top: 0; z-index: 2; background: var(--navy-900); color: #fff; font: 700 .8rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; text-align: left; padding: .8rem .9rem; }
.cmp-table th[scope="row"], .cmp-table thead th:first-child { position: sticky; left: 0; z-index: 1; }
.cmp-table thead th:first-child { z-index: 3; }
.cmp-table th[scope="row"] { background: #fff; text-align: left; font-weight: 400; box-shadow: 1px 0 0 var(--line); }
.cmp-table td, .cmp-table th[scope="row"] { padding: .7rem .9rem; border-top: 1px solid var(--line); vertical-align: middle; }
.cmp-table tbody tr:hover td, .cmp-table tbody tr:hover th { background: var(--mist); }
.cmp-name { display: flex; align-items: center; gap: .75rem; min-width: 230px; text-decoration: none; color: var(--navy-900); }
.cmp-name picture { flex: none; }
.cmp-name img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--mist); }
.cmp-name strong { display: block; font: 700 1rem/1.25 var(--font-head); }
.cmp-name small { display: block; color: var(--muted); font-size: .8rem; }
.cmp-name:hover strong { color: var(--blue); text-decoration: underline; }
.cmp-act { text-align: right; white-space: nowrap; }
.firm-bar { display: block; position: relative; width: 84px; height: 6px; margin-top: .35rem; border-radius: 6px; background: linear-gradient(90deg, #b9dcf0, var(--blue) 55%, var(--navy-900)); }
.firm-bar i { position: absolute; top: 50%; left: calc((var(--pos) - 1) / 9 * 100%); width: 12px; height: 12px; translate: -50% -50%; border-radius: 50%; background: #fff; border: 2.5px solid var(--green-700); }

/* Product badges */
.p-badges { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: -.6rem 0 1.4rem; padding: 0; }
.p-badges li { display: grid; justify-items: center; gap: .2rem; width: 4.6rem; text-align: center; }
.p-badges picture, .p-badges img { width: 3.6rem; height: 3.6rem; object-fit: contain; }
.p-badges span { font-size: .68rem; line-height: 1.2; color: var(--muted); font-weight: 600; }

/* Foundation 50% note */
.half-off { display: flex; gap: .8rem; align-items: flex-start; margin: 0 0 1.4rem; padding: .9rem 1.1rem; border-radius: 14px; background: var(--green-100); border: 1.5px solid #bfe0ab; color: var(--ink); font-size: .96rem; }
.half-off > .ico { flex: none; width: 1.6rem; height: 1.6rem; color: var(--green-700); margin-top: .1rem; }
.half-off strong { color: var(--green-700); }
.wrap > .half-off { margin-top: 1.5rem; }

/* Features & Benefits (layered) */
.fb { background: linear-gradient(180deg, #fff, var(--mist)); border-top: 1px solid var(--line); }
.fb-grid { display: grid; gap: 2rem 4rem; align-items: center; }
@media (min-width: 900px) { .fb-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.fb-visual { display: grid; justify-items: center; }
.fb-stack { --gap: clamp(1rem, 2.6vw, 1.7rem); --d: clamp(1.1rem, 2.6vw, 1.7rem); position: relative; width: min(100%, 470px); padding: .5rem 4.5rem 1.5rem .5rem; }
.fb-layer { --top: color-mix(in srgb, var(--c) 55%, #fff); --side: color-mix(in srgb, var(--c) 78%, #08243d); position: relative; width: calc(100% - var(--d)); height: clamp(1.9rem, 4.4vw, 2.6rem); margin-top: calc(var(--d) + var(--gap)); border-radius: 0 0 6px 6px; background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 88%, #08243d)); box-shadow: 0 16px 20px -14px rgba(4,52,84,.5); }
.fb-layer::before { content: ""; position: absolute; left: 0; bottom: 100%; width: 100%; height: var(--d); background: var(--top); transform-origin: bottom left; transform: skewX(-45deg); border-radius: 6px 6px 0 0; }
.fb-layer::after { content: ""; position: absolute; left: 100%; top: 0; width: var(--d); height: 100%; background: var(--side); transform-origin: top left; transform: skewY(-45deg); border-radius: 0 0 6px 0; }
.fb-coil, .fb-innerspring { height: clamp(3rem, 7vw, 4.2rem); background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(4,52,84,.28) 7px 9px), linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 85%, #08243d)); }
.fb-quilt, .fb-tuft { background: radial-gradient(circle at 50% 50%, rgba(4,52,84,.16) 2px, transparent 3px) 0 0 / 22px 100%, linear-gradient(180deg, #fff, var(--c)); }
.fb-quilt::before, .fb-tuft::before { background: radial-gradient(ellipse at center, rgba(4,52,84,.12) 1.5px, transparent 2.5px) 0 0 / 18px 9px, var(--top); }
.fb-latex { background: radial-gradient(circle, rgba(140,110,30,.22) 2px, transparent 2.5px) 0 0 / 12px 12px, linear-gradient(180deg, #fbf1d0, var(--c)); }
.fb-base { height: clamp(2.6rem, 6vw, 3.6rem); }
.fb-num { position: absolute; left: calc(100% + var(--d) + .9rem); top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--blue); color: #fff; font: 800 1.1rem var(--font-head); box-shadow: 0 0 0 4px #fff; z-index: 1; }
.fb-num::before { content: ""; position: absolute; right: 100%; top: 50%; width: .9rem; border-top: 2px solid #9cb3c6; }
.fb-cap { margin: .2rem 0 0; font-size: .8rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .fb-stack .fb-layer { transition: margin-top .9s var(--ease-out); transition-delay: calc(var(--k) * .08s); }
  .js .fb-stack:not(.is-in) .fb-layer { margin-top: var(--d); }
}
.fb-copy h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); padding-bottom: .5rem; border-bottom: 4px solid var(--blue); display: inline-block; }
.fb-list { list-style: none; margin: 1rem 0 1.6rem; padding: 0; display: grid; gap: 1rem; }
.fb-list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.fb-n { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--blue); color: #fff; font: 800 1rem var(--font-head); }
.fb-list h3 { margin: .15rem 0 .2rem; font-size: 1.08rem; color: var(--blue); text-transform: uppercase; letter-spacing: .02em; }
.fb-list p { margin: 0; color: var(--slate); font-size: .98rem; }
.fb-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .6rem; list-style: none; margin: 0 0 1.2rem; padding: 0; }
.fb-specs li { display: grid; justify-items: center; gap: .15rem; padding: .9rem .5rem; border: 1.5px solid #c4dcec; border-radius: 14px; background: #fff; text-align: center; }
.fb-specs .ico { width: 1.6rem; height: 1.6rem; color: var(--blue); }
.fb-specs strong { font: 800 1.35rem/1.1 var(--font-head); color: var(--navy-900); }
.fb-specs small { font-size: .74rem; color: var(--muted); font-weight: 600; line-height: 1.25; }
.fb-seals { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.fb-seals picture, .fb-seals img { height: 64px; width: auto; }

/* Reviews page */
.rev-summary { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 1.8rem; }
@media (min-width: 900px) { .rev-summary { grid-template-columns: auto 1fr; } }
.rev-score { display: grid; justify-items: center; gap: .3rem; margin: 0; padding: 1.4rem 2rem; border-radius: 20px; background: var(--navy-900); color: #d6e3ee; text-align: center; }
.rev-score strong { font: 800 3.4rem/1 var(--font-head); color: #fff; }
.rev-score .t-stars { margin: 0; }
.rev-filter { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.4rem; }
.t-masonry { display: block; columns: 300px; column-gap: 1.2rem; }
.t-masonry .t-card { break-inside: avoid; margin-bottom: 1.2rem; }
.t-name span { font-weight: 500; color: var(--slate); }

/* Comfort quiz */
.quiz { background: var(--grad-deep); color: #d6e3ee; padding: clamp(5rem, 4rem + 3vw, 6.5rem) 0 clamp(3rem, 2rem + 3vw, 4.5rem); min-height: 70vh; }
.qz-wrap { max-width: 1100px; }
.qz-intro { display: grid; gap: 2rem 3rem; align-items: center; }
@media (min-width: 900px) { .qz-intro { grid-template-columns: 1.1fr .9fr; } }
.qz-intro h1 { color: #fff; font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); }
.qz-intro .lead { color: #d6e3ee; }
.qz-intro-media img { border-radius: 24px; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow-lg); }
.qz-perks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 1.4rem 0 0; padding: 0; font-weight: 600; color: #fff; font-size: .95rem; }
.qz-perks li { display: inline-flex; align-items: center; gap: .45rem; }
.qz-perks .ico { color: var(--green); }
.qz-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.qz-back { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .4rem .9rem .4rem .6rem; border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: #fff; font: 600 .95rem var(--font-body); cursor: pointer; }
.qz-back:hover { background: rgba(255,255,255,.1); }
.qz-progress { height: 8px; border-radius: 8px; background: rgba(255,255,255,.15); overflow: hidden; }
.qz-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #8ed46a, var(--green)); transition: width .5s var(--ease-out); }
.qz-count { margin: 0; font: 700 1rem var(--font-head); color: #fff; }
.qz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.qz-q { display: block; width: 100%; padding: 0; margin: 0 0 .5rem; font: 800 clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem)/1.15 var(--font-head); color: #fff; text-wrap: balance; }
.qz-q:focus { outline: none; }
.qz-qn { display: block; margin-bottom: .5rem; font: 700 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #c2eeb0; }
.qz-hint { margin: 0 0 1.6rem; color: #d6e3ee; }
.qz-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.qz-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.qz-grid--sizes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); }
.qz-opt { position: relative; cursor: pointer; }
.qz-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qz-card { position: relative; display: grid; align-content: center; justify-items: center; gap: .35rem; min-height: 96px; height: 100%; padding: 1.2rem 1rem; border-radius: 18px; background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.18); color: #fff; text-align: center; transition: background-color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.qz-opt--art .qz-card { min-height: 150px; }
.qz-card strong { font: 700 1.15rem/1.2 var(--font-head); }
.qz-card small { color: #d6e3ee; font-size: .88rem; }
.qz-ico { width: 2.4rem; height: 2.4rem; color: #c2eeb0; }
.pose { width: 5.5rem; height: auto; fill: none; stroke: #c2eeb0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pose rect { fill: rgba(159,216,132,.15); }
.pose circle, .pose path:not([fill="none"]) { fill: rgba(159,216,132,.35); }
.qz-tick { position: absolute; top: .6rem; right: .6rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--green); color: #033658; opacity: 0; transform: scale(.5); transition: opacity var(--dur-fast), transform .3s var(--ease-out); }
.qz-tick .ico { width: 1rem; height: 1rem; stroke-width: 3; }
.qz-opt:hover .qz-card { background: rgba(255,255,255,.1); border-color: rgba(159,216,132,.7); transform: translateY(-2px); }
.qz-opt input:checked + .qz-card { background: rgba(107,182,70,.2); border-color: var(--green); }
.qz-opt input:checked + .qz-card .qz-tick { opacity: 1; transform: none; }
.qz-opt input:focus-visible + .qz-card { outline: 3px solid var(--focus); outline-offset: 3px; }
.qz-next { margin-top: 1.6rem; }
@media (prefers-reduced-motion: no-preference) {
  .qz-in { animation: qz-in .45s var(--ease-out) both; }
  .qz-in-back { animation: qz-in-back .45s var(--ease-out) both; }
}
@keyframes qz-in { from { opacity: 0; transform: translateX(32px); } }
@keyframes qz-in-back { from { opacity: 0; transform: translateX(-32px); } }
.qz-results { background: #fff; color: var(--ink); border-radius: 26px; padding: clamp(1.4rem, 1rem + 2.5vw, 2.8rem); box-shadow: var(--shadow-lg); }
.qz-results:focus { outline: none; }
.qz-results h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.qz-summary { font-size: 1.08rem; color: var(--slate); max-width: 50rem; }
.qz-matches { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.qz-match { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.qz-match--best { border: 2px solid var(--green); box-shadow: 0 20px 40px -24px rgba(58,122,30,.6); }
.qz-best { position: absolute; z-index: 1; top: .8rem; left: .8rem; margin: 0; padding: .25rem .7rem; border-radius: 999px; background: var(--green); color: #033658; font: 800 .78rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.qz-m-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--mist); }
.qz-m-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.3rem; }
.qz-m-body h3 { font-size: 1.2rem; margin: 0 0 .2rem; }
.qz-m-body h3 a { color: var(--navy-900); text-decoration: none; }
.qz-m-body h3 a:hover { color: var(--blue); text-decoration: underline; }
.qz-pct { position: absolute; top: .8rem; right: .8rem; z-index: 1; display: grid; justify-items: center; margin: 0; font: 700 .7rem var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--navy-900); background: rgba(255,255,255,.92); border-radius: 14px; padding: .35rem .45rem .3rem; }
.qz-ring { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: radial-gradient(closest-side, #fff 79%, transparent 80% 100%), conic-gradient(var(--green) calc(var(--p) * 1%), var(--line) 0); }
.qz-ring span { font: 800 .95rem var(--font-head); color: var(--navy-900); }
.qz-meta { margin: 0 0 .6rem; color: var(--muted); font-size: .9rem; }
.qz-why { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .3rem; font-size: .92rem; }
.qz-why li { position: relative; padding-left: 1.4rem; color: var(--slate); }
.qz-why li::before { content: ""; position: absolute; left: .1rem; top: .35em; width: .8rem; height: .45rem; border-left: 2.5px solid var(--green-700); border-bottom: 2.5px solid var(--green-700); transform: rotate(-45deg); }
.qz-price { margin: auto 0 .8rem; font: 700 1rem var(--font-head); color: var(--navy-900); }
.qz-m-act { display: flex; gap: .5rem; flex-wrap: wrap; }
.qz-more { margin-top: 1.6rem; }
.qz-more summary { cursor: pointer; font: 700 1.05rem var(--font-head); color: var(--blue); }
.qz-after { margin-top: 1.5rem; }
/* Optional: send your results to a specialist (closed until asked for) */
.qz-send { margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.qz-send-sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.25rem 1.5rem; cursor: pointer; list-style: none; }
.qz-send-sum::-webkit-details-marker { display: none; }
.qz-send-copy { display: grid; gap: .3rem; flex: 1 1 320px; }
.qz-send-copy strong { font: 700 1.2rem var(--font-head); color: var(--navy-900); }
.qz-send-copy > span:last-child { color: var(--slate); font-size: .95rem; }
.qz-opt-tag { justify-self: start; padding: .2rem .55rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 800 .68rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.qz-send-btn .ico { width: 1rem; height: 1rem; transition: transform .3s var(--ease-out); }
.qz-send[open] .qz-send-btn .ico { transform: rotate(180deg); }
.qz-send-form { padding: 0 1.5rem 1.5rem; }

/* Comfort quiz popup */
.quiz-pop { width: min(980px, 100% - 2rem); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -20px rgba(6,26,45,.55); opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); overflow: hidden; }
.quiz-pop.is-open { opacity: 1; transform: none; }
.quiz-pop::backdrop { background: rgba(6,26,45,0); transition: background-color .35s; }
.quiz-pop.is-open::backdrop { background: rgba(6,26,45,.7); backdrop-filter: blur(4px); }
.qp-inner { position: relative; display: grid; max-height: calc(100dvh - 2rem); overflow-y: auto; }
@media (min-width: 760px) { .qp-inner { grid-template-columns: 1.15fr .85fr; } }
.qp-copy { padding: clamp(1.6rem, 1rem + 3vw, 3.2rem); }
.qp-copy h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); color: var(--navy-800); padding-right: 2.5rem; }
.qp-copy > p { color: var(--slate); }
.qp-points { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: 1rem; }
.qp-points li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; font: 600 1.02rem/1.4 var(--font-head); color: var(--navy-800); }
.qp-points .ico { width: 2.2rem; height: 2.2rem; color: var(--navy-800); }
.qp-cta { flex-direction: row; min-height: 72px; }
.qp-cta > span { display: grid; line-height: 1.1; text-align: center; font-size: 1.45rem; }
.qp-cta small { font: 600 1rem var(--font-body); }
.qp-note { margin: .8rem 0 0; text-align: center; font-size: .9rem; color: var(--muted); }
.qp-media { display: none; }
@media (min-width: 760px) { .qp-media { display: block; } .qp-media picture, .qp-media img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 40%; } }
.qp-close { position: absolute; top: .9rem; right: .9rem; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy-900); cursor: pointer; box-shadow: 0 4px 14px rgba(4,52,84,.2); transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast); }
.qp-close:hover { background: var(--navy-900); color: #fff; transform: rotate(90deg); }
.qp-close:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.video-wrap--doc { margin: 0 0 1.8rem; max-width: none; }

/* Fullscreen menu: showroom + review sliders */
.mm-x { opacity: 0; transform: translateY(22px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); min-width: 0; }
.menu-open .mm-x { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i, 0) * .07s); }
.mm-slider { padding: .9rem; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.mm-slider-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .7rem; }
.mm-slider-h { margin: 0; font: 700 .78rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #c2eeb0; }
.sl-btns { display: flex; gap: .35rem; }
.sl-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; }
.sl-btn:hover { background: rgba(255,255,255,.14); }
.sl-btn .ico { width: 1.1rem; height: 1.1rem; }
.sl-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; margin: 0; padding: 0; overscroll-behavior-x: contain; }
.sl-track::-webkit-scrollbar { display: none; }
.sl-track:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
.sl-slide { scroll-snap-align: start; min-width: 0; }
.sl-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .6rem; }
.sl-count { margin: 0; font-size: .82rem; color: #d6e3ee; }
.mm-more { display: inline-flex; align-items: center; gap: .35rem; color: #c2eeb0; font-weight: 700; font-size: .9rem; text-decoration: none; }
.mm-more:hover { color: #fff; }
.mm-store { display: grid; grid-template-columns: 6.5rem 1fr; gap: .8rem; align-items: center; color: #fff; text-decoration: none; }
.mm-store-img { width: 6.5rem; height: 4.6rem; object-fit: cover; border-radius: 10px; }
.mm-store-body { display: grid; line-height: 1.3; min-width: 0; }
.mm-store-body small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #c2eeb0; font-weight: 700; }
.mm-store-body strong { font: 700 1.05rem var(--font-head); }
.mm-store-body em { font-style: normal; font-size: .86rem; color: #d6e3ee; }
.mm-store:hover strong { color: #c2eeb0; }
.mm-store-tel { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; color: #dce8f2; text-decoration: none; font-size: .92rem; }
.mm-store-tel .ico { width: 1rem; height: 1rem; color: var(--green); }
.mm-review { margin: 0; }
.mm-review .t-stars { margin-bottom: .4rem; }
.mm-review .t-star { width: .95rem; height: .95rem; }
.mm-review blockquote { margin: 0 0 .4rem; }
.mm-review p { margin: 0; color: #e7eef4; font-size: .95rem; line-height: 1.5; }
.mm-review figcaption { font-size: .86rem; color: #c2eeb0; font-weight: 600; }
/* Overlay extras: showrooms + reviews side by side, quiz card and note full width */
@media (max-width: 79.99em) {
  .mm-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; align-items: stretch; }
  .mm-extras > .mm-feature, .mm-extras > .mm-note { grid-column: 1 / -1; }
  .mm-x { display: flex; }
  .mm-slider { flex: 1; display: flex; flex-direction: column; min-width: 0; container-type: inline-size; }
  .mm-slider .sl-track { flex: 1; }
  .mm-slider .sl-foot { margin-top: auto; padding-top: .6rem; }
}
/* Narrow cards (two columns on phones): stack the store photo, wrap the controls */
@container (max-width: 300px) {
  .mm-slider-head { flex-wrap: wrap; row-gap: .5rem; }
  .mm-slider-h { flex-basis: 100%; font-size: .7rem; }
  .sl-btn { width: 32px; height: 32px; }
  .mm-store { grid-template-columns: 1fr; gap: .5rem; }
  .mm-store-img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .mm-store-body strong { font-size: .95rem; }
  .mm-store-body em, .mm-store-tel { font-size: .8rem; }
  .mm-review p { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
  .sl-foot { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .mm-more { font-size: .8rem; }
}
.qz-intro[hidden], .qz-form[hidden], .qz-step[hidden], .qz-results[hidden], .t-card[hidden], .cmp-table tr[hidden] { display: none !important; }

/* ---------- Get a Quote dialog (full custom quote form) ---------- */
.quote-dialog--wide { width: min(860px, 100% - 2rem); }
.quote-dialog--wide .form-card { padding: 0; border: 0; box-shadow: none; background: none; }
/* ---------- Request a Quote popup ---------- */
.quote-pop .qp-copy > p { margin-bottom: 1.1rem; }
.quote-pop .field-grid { margin-bottom: .6rem; }
.quote-pop .btn-block { margin-top: .4rem; }
.quote-pop .form-success { padding: 1rem 0; }
.quote-pop .qp-media img { object-position: 50% 50%; }
/* ---------- Product page: custom size link ---------- */
.custom-size-link { display: flex; align-items: center; gap: .5rem; margin: .75rem 0 0; font-weight: 600; }
.custom-size-link .ico { width: 1.15rem; height: 1.15rem; color: var(--green-700); flex: none; }
.custom-size-link a { color: var(--blue); }
/* ---------- Staff forms ---------- */
.staff-note { display: flex; gap: .6rem; align-items: flex-start; margin: 1.2rem 0 0; padding: .85rem 1rem; border-radius: 12px; background: var(--green-100); color: var(--navy-900); font-size: .95rem; }
.staff-note .ico { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .1rem; color: var(--green-700); }
.field-cash input { text-align: right; font-variant-numeric: tabular-nums; }
.cash-total { padding: 1rem 1.2rem; border-radius: 14px; background: var(--navy-900); color: #fff; }
.cash-total label { color: #d6e3ee; }
.cash-total-out { display: block; font: 700 2rem/1.1 var(--font-head); font-variant-numeric: tabular-nums; }
.cash-total .fine { margin: .35rem 0 0; color: #d6e3ee; }
.cash-total .fine.cash-off { color: #ffd27a; }
/* Inquiry dialog: "Also interested in" chips sit inside the details box, styled like a normal field label */
.quote-form fieldset.chip-field { display: block; grid-column: 1 / -1; margin: 0; padding: 0; border: 0; border-radius: 0; }
.quote-form .chip-field legend { padding: 0; margin-bottom: .45rem; font: 600 .95rem var(--font-body); letter-spacing: 0; text-transform: none; color: var(--navy-900); }

/* Contrast (WCAG AA) on the logo-blue backgrounds: eyebrows in dark sections use the light green,
   and buttons in the footer keep their own text colour instead of the footer link colour */
.section-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .site-footer .eyebrow { color: #c2eeb0; }
.site-footer a.btn, .site-footer a.btn:hover { color: var(--fg); text-decoration: none; }

/* Home: shop by pain point (tabs; without JS every panel shows, stacked) */
.pain { display: grid; gap: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1rem, .6rem + 1.5vw, 1.75rem); box-shadow: var(--shadow); }
.pain:not(.is-ready) .pain-tabs { display: none; }
.pain:not(.is-ready) .pain-panels { display: grid; gap: 2.5rem; }
.pain-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }   /* phones: every pain point visible at once, no sideways scrolling */
.pain-tabs [role="tab"] { display: flex; align-items: center; gap: .5rem; min-height: 3.5rem; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.pain-tabs [role="tab"]:hover { border-color: var(--blue); transform: translateY(-1px); }
.pain-tabs [role="tab"][aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(4,52,84,.55); }
.pain-tabs strong { display: block; font: 700 1rem/1.2 var(--font-head); }
.pain-tabs small { display: block; font-size: .8rem; color: var(--muted); }
.pain-tabs [aria-selected="true"] small { color: #d6e3ee; }
.pain-mini { width: 1.2rem; height: 2.5rem; flex: none; }
.pain-tabs strong { font-size: .95rem; }
.pain-tabs small { display: none; }
.pain-mini .pain-body { fill: var(--blue-100); }
.pain-mini .pain-ring { display: none; }
.pain-mini .pain-spot { r: 9px; }
[aria-selected="true"] .pain-mini .pain-body { fill: rgba(255,255,255,.28); }
[aria-selected="true"] .pain-mini .pain-spot { fill: #ffb347; }
.pain-panel[hidden] { display: none; }
.pain-panel { position: relative; display: grid; gap: 1.25rem 2rem; align-items: start; }
.pain-panel:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: 12px; }
.pain-panel.pain-in { animation: pain-in .45s var(--ease-out) both; }
@keyframes pain-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pain-figure { display: none; }   /* phones: the tab icon already shows the sore spot */
.pain-body { fill: #dbe8f2; }
.pain-spot { fill: #e4572e; }
.pain-ring { fill: none; stroke: #e4572e; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pain-ping 2s ease-out infinite; }
@keyframes pain-ping { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.pain-h { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin: 0 0 .6rem; }
.pain-why { color: var(--slate); margin: 0 0 1rem; }
.pain-pick-l { font: 700 1.05rem var(--font-head); color: var(--navy-900); margin: 0 0 .6rem; }
.pain-pick-l a { color: var(--blue); }
.pain-list { margin: 0; }
.pain-list li { color: var(--ink); }
.pain-list .ico { color: var(--green-700); }
.pain-card { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; padding: .85rem; border: 1px solid var(--line); border-radius: 18px; background: var(--mist); }
.pain-card-media { display: block; border-radius: 12px; overflow: hidden; background: #fff; aspect-ratio: 4 / 3; }
.pain-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.pain-card:hover .pain-card-media img { transform: scale(1.05); }
.pain-card-body .p-brand { margin: 0 0 .15rem; }
.pain-card-name { font: 800 1.1rem/1.25 var(--font-head); margin: 0 0 .25rem; }
.pain-card-name a { color: var(--navy-900); text-decoration: none; }
.pain-card-name a:hover { text-decoration: underline; }
.pain-card-meta { font-size: .88rem; color: var(--muted); margin: 0 0 .35rem; }
.pain-card .p-price { margin: 0 0 .7rem; }
.pain-card-act { display: flex; flex-wrap: wrap; gap: .5rem; }
.pain-note { max-width: 760px; margin: 1.5rem auto 0; text-align: center; font-size: .92rem; color: var(--slate); }
@media (min-width: 600px) {
  .pain-card { grid-template-columns: 200px 1fr; padding: 1rem; }
  .pain-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pain-tabs [role="tab"] { gap: .7rem; padding: .6rem .95rem .6rem .6rem; }
  .pain-tabs strong { font-size: 1rem; }
  .pain-tabs small { display: block; }
  .pain-mini { width: 1.6rem; height: 3.3rem; }
}
@media (min-width: 768px) {
  .pain-figure { display: block; width: 100%; max-width: 130px; height: auto; justify-self: center; }
  .pain-panel { grid-template-columns: 130px 1fr; }
  .pain-card { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .pain { grid-template-columns: 250px 1fr; gap: 2rem; padding: 1.75rem; }
  .pain:not(.is-ready) { grid-template-columns: 1fr; }
  .pain-tabs { grid-template-columns: 1fr; align-content: start; padding: 0 1.75rem 0 0; border-right: 1px solid var(--line); }
  .pain-panel { grid-template-columns: 120px 1fr 270px; padding-block: .5rem; }
  .pain-card { grid-column: auto; grid-template-columns: 1fr; padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pain-ring { animation: none; opacity: 0; }
  .pain-panel.pain-in { animation: none; }
}

/* Header width in rem (not px), so it grows with the visitor's browser text size along with the menu;
   the nav breakpoints above are in em for the same reason (80em = 1280px at the default 16px) */
.header-inner.wrap { width: min(90rem, 100% - 2 * var(--gutter)); }
@media (min-width: 100em) { .header-inner.wrap { width: min(95rem, 100% - 2 * var(--gutter)); } }

/* ---------- Custom Mattress Builder (/custom-mattress-builder/) ---------- */
.bld-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 1.6rem 0 0; padding: 0; font-weight: 600; color: #fff; font-size: .95rem; }
.bld-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.bld-trust .ico { color: #c2eeb0; }
.bld-sec .short-answer { margin-top: 0; }
.bld { display: grid; gap: 1.75rem; align-items: start; margin-top: 2rem; }
.bld [hidden] { display: none !important; }
.bld-nav { display: none; }
.bld-main { display: grid; gap: 1.25rem; min-width: 0; }
.bld-step { padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: #fff; }  /* html's scroll-padding-top already clears the sticky header */
.bld-next-row { display: flex; justify-content: flex-end; margin: 1.25rem 0 0; }
.bld-next .ico { width: 1em; height: 1em; }
.bld-h:focus { outline: none; }
.bld-h:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.bld-h { display: flex; align-items: center; gap: .75rem; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); margin: 0 0 .35rem; }
.bld-n { display: inline-grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--green-700); color: #fff; font: 800 1rem/1 var(--font-head); }
.bld-opt { font: 500 .95rem var(--font-body); color: var(--muted); }
.bld-sub { color: var(--slate); margin: 0 0 1.25rem; font-size: .98rem; }
.bld-fs { margin-bottom: 0; }
.bld-fs legend.label { display: block; font-weight: 700; color: var(--navy-900); margin-bottom: .6rem; }
.bld-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bld-grid--shapes { grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr)); }
.bld-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 135px), 1fr)); }
.bld-grid--models { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.bld-card { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: .9rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.bld-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.bld-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bld-card:has(input:checked) { border-color: var(--green-600); background: var(--green-100); box-shadow: 0 0 0 1px var(--green-600); }
.bld-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.bld-card strong { font: 700 1.02rem/1.25 var(--font-head); color: var(--navy-900); }
.bld-card small { font-size: .86rem; line-height: 1.4; color: var(--slate); }
.bld-card > .ico { width: 1.8rem; height: 1.8rem; color: var(--blue); margin-bottom: .3rem; }
.bld-tick { position: absolute; top: .55rem; right: .55rem; z-index: 1; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--green-700); color: #fff;
  opacity: 0; transform: scale(.5); transition: opacity var(--dur-fast), transform .25s var(--ease-out); }
.bld-tick .ico { width: 1rem; height: 1rem; }
.bld-card:has(input:checked) .bld-tick { opacity: 1; transform: none; }
.bld-group + .bld-group { margin-top: 1.25rem; }
.bld-group-h { margin: 0 0 .6rem; font: 700 .78rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.bld-model { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: .75rem; padding: .6rem 2.3rem .6rem .6rem; }
.bld-model picture { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--mist); }
.bld-model-img { width: 100%; height: 100%; object-fit: cover; }
.bld-model-txt { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.bld-model-txt small { font-size: .8rem; }
.bld-from { margin-top: .15rem; font-size: .8rem; color: var(--muted); }
.bld-from b { color: var(--green-700); font-size: .95rem; }
.bld-sum-link { margin: -.2rem 0 .6rem; font-size: .9rem; }
.bld-shape { align-items: center; text-align: center; padding: .9rem .6rem; }
.bld-shape-ico { width: 3.2rem; height: 2.7rem; color: var(--blue); margin-bottom: .25rem; }
.bld-presets { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; }
.bld-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); margin-top: 1rem; }
.bld-fields:first-child { margin-top: 0; }
.bld-note { margin: .8rem 0 0; }
.bld-more { margin-top: 1.25rem; padding: 1.1rem; border-radius: 14px; background: var(--mist); animation: pain-in .35s var(--ease-out); }
.bld-more .fine { margin: .75rem 0 0; }
.bld-checks { display: grid; gap: .6rem; margin-top: 1.25rem; }
.bld-check { display: flex; align-items: flex-start; gap: .65rem; margin-top: 1rem; font-weight: 600; color: var(--navy-900); cursor: pointer; }
.bld-checks .bld-check { margin-top: 0; }
.bld-check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; flex: none; accent-color: var(--green-700); }
.bld-ful .ico, .bld-intent .ico { margin-bottom: .25rem; }
.bld-contact { margin-top: 1.5rem; }
.bld-contact .field-full { grid-column: 1 / -1; }
.bld .ts-box { margin-top: 1.25rem; }

/* Summary card */
.bld-sum-card { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); overflow: hidden; padding: 0 1.25rem 1.25rem; }
.bld-sum-h { margin: 0 -1.25rem 1rem; padding: 1rem 1.25rem; background: var(--grad-deep); color: #fff; font-size: 1.25rem; }
.bld-draw-wrap { border-radius: 14px; background: var(--mist); padding: .25rem; }
.bld-draw { width: 100%; height: auto; aspect-ratio: 240 / 200; }
.bd-body { fill: #fff; stroke: var(--navy-900); stroke-width: 2; stroke-linejoin: round; transition: d .3s var(--ease-out); }
.bd-body.is-custom { stroke-dasharray: 6 5; }
.bd-hinge { stroke: var(--green-700); stroke-width: 2; stroke-dasharray: 5 4; }
.bd-dim { stroke: var(--muted); stroke-width: 1; }
.bd-lbl, .bd-head, .bd-mid { font: 700 11px var(--font-body); fill: var(--slate); text-anchor: middle; }
.bd-head { font-size: 9px; letter-spacing: .14em; fill: var(--muted); }
.bd-mid { fill: var(--blue); }
.bld-sum-name { display: flex; flex-direction: column; margin: 1rem 0 .5rem; }
.bld-sum-name strong { font: 800 1.15rem var(--font-head); color: var(--navy-900); }
.bld-sum-name span { color: var(--slate); font-size: .95rem; }
.bld-lines { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; margin: 0; padding: .9rem 0; border-top: 1px solid var(--line); font-size: .93rem; }
.bld-lines dt { color: var(--ink); }
.bld-lines dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy-900); }
.bld-lines dd.is-note { font-weight: 500; color: var(--muted); }
.bld-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0 .3rem; border-top: 2px solid var(--navy-900); }
.bld-total span { font: 800 1.1rem var(--font-head); color: var(--navy-900); }
.bld-total output { font: 800 clamp(1.6rem, 1.3rem + 1vw, 2rem)/1 var(--font-head); color: var(--green-700); font-variant-numeric: tabular-nums; }
.bld-total output.is-quote { font-size: 1.35rem; color: var(--blue); }
.bld-quote-note { display: flex; gap: .55rem; margin: .6rem 0 0; padding: .7rem .8rem; border-radius: 10px; background: var(--blue-100); color: var(--navy-900); font-size: .9rem; line-height: 1.45; }
.bld-quote-note .ico { color: var(--blue); margin-top: .1rem; }
.bld-sum-fine { margin: .7rem 0 1rem; font-size: .84rem; }
.bld-sum-card .btn + .btn { margin-top: .6rem; }
.bld-success { max-width: 640px; margin: 2rem auto 0; border: 1px solid var(--line); border-radius: 20px; }

/* Phone/tablet total bar */
.bld-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: var(--navy-900); color: #fff; box-shadow: 0 -10px 30px -12px rgba(4,52,84,.5);
  transform: translateY(110%); transition: transform .35s var(--ease-out); }
.bld-bar.is-on { transform: none; }
.bld-bar small { display: block; color: #c9d9e6; font-size: .78rem; }
.bld-bar strong { font: 800 1.3rem/1.1 var(--font-head); }

/* Request page promo card */
.bld-promo { margin-bottom: 1.25rem; background: linear-gradient(135deg, var(--green-100), #f4faf0); border-color: #cfe7c1; }
.bld-promo > .ico { width: 2.4rem; height: 2.4rem; padding: .5rem; border-radius: 50%; background: var(--green-700); color: #fff; margin-bottom: .75rem; }
.bld-promo p { color: var(--slate); font-size: .97rem; }

@media (min-width: 700px) {
  .bld-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bld-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .bld { grid-template-columns: minmax(0, 1fr) 340px; }
  .bld-sum { position: sticky; top: calc(var(--stick-h) + 16px); }
  .bld-bar { display: none; }
}
@media (min-width: 1320px) {
  .bld { grid-template-columns: 200px minmax(0, 1fr) 360px; }
  .bld-nav { display: block; position: sticky; top: calc(var(--stick-h) + 16px); }
  .bld-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
  .bld-nav a { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 12px; color: var(--navy-900); font-weight: 600; font-size: .95rem; text-decoration: none;
    transition: background-color var(--dur-fast), color var(--dur-fast); }
  .bld-nav a:hover { background: var(--mist); }
  .bld-nav .bld-n { width: 1.8rem; height: 1.8rem; font-size: .9rem; background: var(--mist); color: var(--navy-900); border: 1px solid var(--line); transition: background-color var(--dur-fast), color var(--dur-fast); }
  .bld-nav a[aria-current="step"] { background: var(--green-100); }
  .bld-nav a[aria-current="step"] .bld-n { background: var(--green-700); border-color: var(--green-700); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .bld-bar, .bld-card, .bld-tick { transition: none; } .bld-more { animation: none; } }

/* Factory photo grid (About, Callahan factory, Our Factory article) */
.fg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(190px, 44vw, 300px); gap: .75rem; }
.fg-wide { grid-column: span 2; }
@media (min-width: 900px) { .fg-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(240px, 22vw, 330px); gap: 1rem; } }
.fg-item figure { position: relative; margin: 0; height: 100%; overflow: hidden; border-radius: 16px; background: var(--mist); }
.fg-item picture, .fg-item img { display: block; width: 100%; height: 100%; }
.fg-item img { object-fit: cover; transition: transform .6s var(--ease-out); }
.fg-item:hover img { transform: scale(1.04); }
.fg-item figcaption { position: absolute; inset: auto 0 0 0; padding: 2.2rem .9rem .75rem; background: linear-gradient(to top, rgba(4,40,64,.85), rgba(4,40,64,0)); color: #fff; font: 700 .95rem/1.3 var(--font-head); }
@media (prefers-reduced-motion: reduce) { .fg-item img { transition: none; } .fg-item:hover img { transform: none; } }
.post-after { padding-top: 0; }

/* Store finder (Locations page): widescreen OpenStreetMap, store cards below */
.store-finder { margin: 1.5rem 0 2.5rem; }
.fs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1rem; }
.fs-count { margin: 0; color: var(--slate); font-size: 1.05rem; }
.fs-count strong { color: var(--navy-950); }
.fs-locate .ico { width: 1.05rem; height: 1.05rem; }
.fs-locate.is-busy .ico { animation: fs-pulse 1s ease-in-out infinite; }
@keyframes fs-pulse { 50% { opacity: .3; } }
.fs-msg { min-height: 1.4rem; margin: .9rem 0 1rem; font-size: .95rem; color: var(--green-700); font-weight: 600; }
.fs-msg.is-error { color: #a12a1f; }

.fs-map { position: relative; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.fs-map-canvas { position: relative; z-index: 0; width: 100%; aspect-ratio: 21 / 9; min-height: 380px; border-radius: 16px; overflow: hidden; background: #e8eef0; font-family: var(--font-body); }
@media (max-width: 1023px) { .fs-map-canvas { aspect-ratio: 16 / 10; } }
@media (max-width: 599px) { .fs-map-canvas { aspect-ratio: 4 / 5; min-height: 0; } }
.fs-map-wait { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 1rem; text-align: center; color: var(--slate); font-weight: 600; }
.fs-map .leaflet-container { font-family: var(--font-body); }
.fs-map .leaflet-tile { mix-blend-mode: normal; }
.fs-map--muted .leaflet-tile-pane { filter: grayscale(1) contrast(.82) brightness(1.1); }
.fs-map--tint .leaflet-tile-pane { filter: url(#fs-tint); }
.fs-map--tint .fs-map-canvas { background: #e9f2ee; }  /* Leaflet's plus-lighter washes the tiles out over a tinted background */
.fs-map .leaflet-control-attribution { font-size: .72rem; }
.fs-map .leaflet-control-attribution a { color: #0b5394; }
.fs-map .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; font-size: 20px; color: var(--navy-950); }

/* Large numbered pins */
.fs-pin { background: none; border: 0; cursor: pointer; }
.fs-pin svg { display: block; overflow: visible; transform-origin: 50% 100%; transition: transform .25s var(--ease-out); filter: drop-shadow(0 4px 4px rgba(4,30,50,.4)); }
.fs-pin-body { fill: var(--navy-900); stroke: #fff; stroke-width: 3; transition: fill var(--dur-fast); }
.fs-pin text { fill: #fff; font: 800 19px var(--font-head); text-anchor: middle; dominant-baseline: middle; }
.fs-pin-label { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); padding: .25rem .75rem; border-radius: 999px; background: #fff; color: var(--navy-950); font: 800 1.2rem/1.2 var(--font-head); white-space: nowrap; box-shadow: 0 2px 8px rgba(4,30,50,.25); pointer-events: none; }
.fs-pin--right .fs-pin-label { left: 100%; top: 22px; transform: translate(2px, -50%); }
.fs-pin:hover svg, .fs-pin.is-active svg { transform: scale(1.18); }
.fs-pin:hover .fs-pin-body, .fs-pin.is-active .fs-pin-body { fill: var(--green-700); }
.fs-pin.is-active .fs-pin-label { background: var(--green-700); color: #fff; }
.fs-pin:focus { outline: none; }
.fs-pin:focus-visible .fs-pin-body { stroke: #ffbf47; stroke-width: 4; }
@media (max-width: 599px) { .fs-pin-label { display: none; } .fs-pin.is-active .fs-pin-label { display: block; } }
.fs-you { pointer-events: none; }
.fs-you-dot, .fs-you-halo { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.fs-you-dot { width: 16px; height: 16px; background: #1a73e8; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.fs-you-halo { width: 28px; height: 28px; background: rgba(26,115,232,.25); animation: fs-you 2s ease-out infinite; }
@keyframes fs-you { from { transform: translate(-50%, -50%) scale(.6); opacity: 1; } to { transform: translate(-50%, -50%) scale(1.8); opacity: 0; } }

/* Store cards */
.fs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1200px) { .fs-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; } .fs-store .fs-body { padding: 1rem 1rem 1.15rem; } }
.fs-store { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; scroll-margin: calc(var(--stick-h) + 1rem) 0 1rem; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.fs-store.is-active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 14px 30px -18px rgba(4,52,84,.45); }
.fs-store:focus { outline: none; }
.fs-store:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.fs-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.fs-media picture { display: block; height: 100%; }
.fs-media img { width: 100%; height: 100%; object-fit: cover; }
.fs-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.25rem; }
.fs-top { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.fs-n { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--navy-900); color: #fff; font: 800 .95rem/1 var(--font-head); }
.fs-store.is-active .fs-n { background: var(--green-700); }
.fs-tag { margin: 0; font: 700 .74rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.fs-dist { margin-left: auto; padding: .2rem .6rem; border-radius: 999px; background: var(--mist); color: var(--navy-950); font: 700 .8rem var(--font-body); }
.fs-dist.is-closest { background: var(--green-100); color: var(--green-700); }
.fs-name { margin: .5rem 0 .25rem; font-size: 1.875rem; line-height: 1.15; }
.fs-name a { color: var(--navy-950); text-decoration: none; }
.fs-name a:hover { color: var(--blue); text-decoration: underline; }
.fs-store .loc-status { min-height: 2.8rem; margin: 0 0 .35rem; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fs-store address { display: flex; gap: .45rem; align-items: flex-start; font-style: normal; color: var(--slate); font-size: .95rem; margin-bottom: .8rem; }
.fs-store address .ico { flex: none; width: 1rem; height: 1rem; margin-top: .2rem; color: var(--green-700); }
.fs-hours { margin: auto 0 .2rem; padding-top: .75rem; border-top: 1px solid var(--line); }  /* margin-top:auto pushes hours + buttons to the bottom so they line up across cards */
.fs-hours-h { display: flex; align-items: center; gap: .4rem; margin: 0 0 .4rem; font: 700 .8rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--navy-950); }
.fs-hours-h .ico { width: 1rem; height: 1rem; color: var(--green-700); }
.fs-hours .loc-hours { margin: 0; font-size: .9rem; }
.fs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding-top: .9rem; }
.fs-actions .btn .ico { width: 1rem; height: 1rem; }
.fs-more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .92rem; text-decoration: none; }
.fs-more .ico { width: 1rem; height: 1rem; transition: transform var(--dur-fast); }
.fs-more:hover .ico { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .fs-pin svg { transition: none; } .fs-you-halo { animation: none; } }

/* ---------- Sales portal (/sales/) ---------- */
.sp-section { background: var(--mist); }
.sp-wait[hidden] { display: none; }
.sp-wait { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 12rem; color: var(--muted); font-weight: 600; }
.sp-spin { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: sp-spin .8s linear infinite; }
@keyframes sp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sp-spin { animation-duration: 2.4s; } }
.sp-lock { max-width: 460px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); text-align: center; }
.sp-lock h2 { margin: .75rem 0 .35rem; font-size: 1.6rem; }
.sp-lock > p { margin: 0 0 1.25rem; color: var(--slate); }
.sp-lock .field { text-align: left; }
.sp-lock-ico { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blue-100); color: var(--blue); }
.sp-lock-ico .ico { width: 28px; height: 28px; }
.sp-portal:focus { outline: none; }
.sp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); padding: 1rem 1.25rem; background: var(--grad-deep); border-radius: 18px; color: #fff; }
.sp-quick { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.sp-quick-h { font: 700 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #cfe3f1; margin-right: .25rem; }
.sp-quick-btn { gap: .5rem; }
.sp-out { gap: .4rem; color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.sp-out:hover, .sp-out:focus-visible { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.sp-out .ico { width: 16px; height: 16px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }
.sp-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.sp-card-head { display: flex; gap: .85rem; align-items: center; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); border-top: 4px solid var(--blue); }
.sp-card--paperwork .sp-card-head, .sp-card--team .sp-card-head { border-top-color: var(--green); }
.sp-card-head h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; }
.sp-card-head p { margin: .1rem 0 0; font-size: .9rem; color: var(--muted); }
.sp-card-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); color: var(--blue); }
.sp-card--paperwork .sp-card-ico, .sp-card--team .sp-card-ico { background: var(--green-100); color: var(--green-700); }
.sp-card-ico .ico { width: 22px; height: 22px; }
.sp-links { list-style: none; margin: 0; padding: .4rem; }
.sp-link { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 56px; padding: .7rem .9rem; border: 0; border-radius: 12px; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: background-color var(--dur-fast), color var(--dur-fast); }
.sp-link:hover, .sp-link:focus-visible { background: var(--mist); color: var(--blue); }
.sp-link-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sp-link-txt strong { font-weight: 700; line-height: 1.3; }
.sp-link-txt small { font-size: .875rem; color: var(--muted); line-height: 1.35; }
.sp-link > .ico { flex: none; width: 18px; height: 18px; color: var(--blue); transition: transform var(--dur-fast) var(--ease-out); }
.sp-link:hover > .ico { transform: translateX(3px); }
.sp-tag { flex: none; padding: .2rem .55rem; border-radius: 999px; background: var(--green-100); color: var(--green-700); font: 700 .72rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.sp-to { display: flex; align-items: center; gap: .5rem; margin: .6rem 0 0; font-size: .9rem; color: var(--slate); }
.sp-to .ico { width: 18px; height: 18px; color: var(--blue); flex: none; }
.sp-dialog .staff-note { margin: .8rem 0 0; }
@media (max-width: 599px) { .sp-bar { flex-direction: column; align-items: stretch; } .sp-quick { flex-direction: column; align-items: stretch; } .sp-quick-btn, .sp-out { justify-content: center; } }
.sp-info-h { margin: clamp(2rem, 4vw, 3rem) 0 1rem; font-size: 1.6rem; }
.sp-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }
.sp-card--wide { grid-column: 1 / -1; }
.sp-card--info .sp-card-head { border-top-color: var(--navy-700); }
.sp-table { width: calc(100% - 2rem); margin: .75rem 1rem; border-collapse: collapse; font-size: .95rem; }
.sp-table th, .sp-table td { padding: .5rem .6rem; border-bottom: 1px solid var(--line); text-align: left; }
.sp-table thead th { font: 700 .75rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sp-table tbody th { font-weight: 700; }
.sp-table td:last-child { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--blue); }
.sp-table a { color: var(--ink); }
.sp-sku { padding: 1rem 1.25rem 1.25rem; }
.sp-sku-ex { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1rem; }
.sp-sku-ex span { display: flex; flex-direction: column; align-items: center; padding: .5rem .8rem; border-radius: 10px; background: var(--blue-100); }
.sp-sku-ex b { font: 800 1.35rem/1.1 var(--font-head); color: var(--blue); font-variant-numeric: tabular-nums; }
.sp-sku-ex small { font-size: .75rem; color: var(--slate); white-space: nowrap; }
.sp-notes, .sp-steps { margin: 0; padding-left: 1.2rem; color: var(--slate); }
.sp-notes li + li { margin-top: .35rem; }
.sp-steps { padding: 1rem 1.25rem 1.25rem 2.6rem; counter-reset: none; }
.sp-steps li { padding-left: .3rem; }
.sp-steps li + li { margin-top: .75rem; }
.sp-steps li::marker { font-weight: 800; color: var(--green-700); }
.sp-onb { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem 1.5rem; }
.sp-onb-sec h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.sp-onb-sec > p { margin: 0 0 .25rem; font-size: .92rem; color: var(--slate); }
.sp-onb-sec .sp-links { padding: 0; }
.sp-onb .sp-link { min-height: 44px; padding: .5rem .6rem; }

/* ---------- Massage chairs landing (/product-category/massage-chairs/) ---------- */
.mc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .75rem; }
.mc-guide h3 { scroll-margin-top: calc(var(--stick-h, 80px) + 1rem); }
.mc-quote h2 { margin: .25rem 0 .75rem; }
.mc-quote .btn-row { margin: 1.25rem 0 1rem; }
#guide { scroll-margin-top: var(--stick-h, 80px); }
/* Chair photos are square product shots: show the whole chair instead of a 4:3 crop */
.mc-grid .pl-card > picture img { aspect-ratio: 1 / 1; object-fit: contain; padding: 1rem; background: #fff; }

/* ---------- Free massage chair demo (/15-minute-massage-chair-demo/) ---------- */
.md-banner { margin: 2rem 0 3rem; border-radius: 20px; overflow: hidden; }
.md-banner img { width: 100%; height: auto; display: block; }
.md-split { display: grid; gap: 2rem 3rem; align-items: center; }
@media (min-width: 960px) { .md-split { grid-template-columns: 1fr 1fr; } }
.md-photo { margin: 0; border-radius: 20px; overflow: hidden; }
.md-photo img { width: 100%; height: auto; display: block; }
.md-split h2 { margin: .25rem 0 .75rem; }
.md-h3 { margin: 1.25rem 0 .5rem; font-size: 1.15rem; }
.md-notice { display: flex; gap: .6rem; align-items: flex-start; margin: 1.25rem 0; padding: 1rem 1.1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green, #6cbf45); }
.md-notice .ico { flex: none; margin-top: .15rem; color: var(--blue); }
.md-stores { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .md-stores { grid-template-columns: 1fr 1fr; } }
.md-store { padding: 1.4rem 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.md-store h3 { margin: 0 0 .75rem; font-size: 1.15rem; }
.md-store p { display: flex; gap: .6rem; align-items: flex-start; margin: .4rem 0; }
.md-store .ico { flex: none; margin-top: .2rem; color: var(--blue); }
.md-reviews { display: grid; gap: 1.25rem; margin-bottom: 3.5rem; }
@media (min-width: 800px) { .md-reviews { grid-template-columns: repeat(3, 1fr); } }
.md-review { margin: 0; padding: 1.5rem; border-radius: 18px; background: var(--mist); border: 1px solid var(--line); }
.md-review p { margin: 0 0 .75rem; font-size: 1.05rem; }
.md-review footer { font-weight: 700; color: var(--navy-900); }
.narrow-col { max-width: 820px; margin-inline: auto; }

/* Photo swaps: keep faces in frame when the portrait shots are cropped */
.hero-photo img.hero-craftsman { object-position: 50% 18%; }
.quote-pop .qp-media img { object-position: 50% 30%; }
.track-photo { margin: 2rem 0; }
.track-photo img { width: 100%; height: auto; display: block; border-radius: 20px; }
.track-photo figcaption { margin-top: .6rem; color: var(--muted, #5b6573); font-size: .95rem; text-align: center; }
img[src*="tile-custom-label"] { object-position: 32% 50%; }   /* keep both mattress labels in the portrait tile */

/* Warranty page: both explainer videos side by side */
.video-pair { display: grid; gap: 1rem; margin: 0 0 1.8rem; }
@media (min-width: 700px) { .video-pair { grid-template-columns: 1fr 1fr; } }
/* Top bar: Warranty & Claims is the only way to file a claim, so it stands out a little */
.topbar-links .tb-warranty { font-weight: 700; color: #fff; }
@media (min-width: 1024px) and (max-width: 1599px) { .topbar .tb-long { display: none; } }
@media (min-width: 1024px) and (max-width: 1279px) { .topbar-msg { display: none; } .topbar-inner { justify-content: center; } }

/* ---------- Skip the Middleman (/about/skip-the-middleman/) ---------- */
.smm-steps { margin: 1rem 0; padding-left: 1.4rem; display: grid; gap: .4rem; }
.smm-compare { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .smm-compare { grid-template-columns: 1.35fr 1fr; } }
.smm-box { padding: 1.6rem 1.6rem 1.3rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.smm-box--ours { border: 2px solid var(--green); }
.smm-box-h { display: flex; align-items: center; gap: .55rem; margin: 0 0 1.2rem; font-family: var(--font-head, inherit); font-weight: 700; font-size: 1.12rem; color: var(--navy-900); }
.smm-box-h .ico { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; color: #fff; }
.smm-box--old .smm-box-h .ico { background: #b4232a; }
.smm-box--ours .smm-box-h .ico { background: var(--green); color: var(--navy-950); }
.smm-box-f { margin: 1.1rem 0 0; color: var(--muted, #5b6573); font-size: .95rem; }
.smm-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.smm-flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; min-width: 4.6rem; }
.smm-flow li + li::before { content: ""; position: absolute; left: -1.25rem; top: 1.1rem; width: .7rem; height: .7rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .45; }
.mf-ico { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 14px; }
.mf-ico .ico { width: 1.4rem; height: 1.4rem; }
.mf-t { font-weight: 700; font-size: .9rem; color: var(--navy-900); line-height: 1.2; }
.smm-flow--old { color: #8a96a3; }
.smm-flow--old .mf-ico { background: var(--mist); color: #5b6573; }
.smm-flow--old li:nth-child(5) .mf-ico { background: #fde8e8; color: #b4232a; }
.smm-flow--old li:nth-child(5) .mf-t { color: #b4232a; }
.smm-flow--ours { color: var(--green); flex-wrap: nowrap; justify-content: space-between; gap: 1.6rem; }
.smm-flow--ours li { flex: 1; min-width: 0; }
.smm-flow--ours .mf-ico { width: 3.4rem; height: 3.4rem; background: var(--blue); color: #fff; }
.smm-flow--ours small { color: var(--muted, #5b6573); font-size: .82rem; line-height: 1.35; }
@media (max-width: 520px) { .smm-flow--ours { flex-direction: column; align-items: stretch; } .smm-flow--ours li + li::before { left: 50%; top: -1.15rem; transform: translateX(-50%) rotate(135deg); } }
.smm-gap { height: 3rem; }
.smm-why h2 { color: #fff; }
.smm-why p { color: #dbe6ef; font-size: 1.08rem; }
.flip-card { margin: 0 0 1.8rem; }

/* Warranty claim: terms acknowledgment + file upload */
.ack-field .fine { margin: .25rem 0 .6rem; }
.ack { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); cursor: pointer; line-height: 1.45; }
.ack input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .1rem; accent-color: var(--blue); }
.ack:has(input:checked) { border-color: var(--blue); background: var(--blue-100); }
.ack:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 1.4rem 1rem; border: 2px dashed var(--line); border-radius: 14px; background: var(--mist); text-align: center; color: var(--slate); transition: border-color .2s, background-color .2s; }
.drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop:hover, .drop.is-over { border-color: var(--blue); background: var(--blue-100); }
.drop:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.drop-ico svg { width: 28px; height: 28px; color: var(--blue); }
.drop-btn { display: inline-block; margin-left: .25rem; padding: .3rem .8rem; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; }
.file-field .opt { font-weight: 400; color: var(--muted); }
.file-list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .3rem; font-size: .9rem; color: var(--slate); }
.file-list li::before { content: "📎 "; }
.ack-field { border: 0; padding: 0; margin: 0; min-width: 0; }

/* Careers page */
.job-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.job-card { display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.job-card h3 { margin: .8rem 0 .5rem; font-size: 1.35rem; }
.job-card h4 { margin: 1.1rem 0 .5rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.job-card .tick { font-size: .95rem; }
.job-card .job-screen { margin-top: auto; padding-top: 1rem; }
.job-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-100); color: var(--blue); }
.job-ico svg { width: 26px; height: 26px; }
.side-card--navy .tick li { color: #e6eef5; }
.apply-head { text-align: center; margin-bottom: 1.5rem; }
.apply-head h2 { margin: .3rem 0 .6rem; }
.apply-foot { text-align: center; margin-top: 1rem; }
.appt-intro { max-width: 820px; margin: 0 auto 2rem; }

/* Accessories mega menu: category photo cards, Infinity card, brands on the right */
.mega-inner--acc { grid-template-columns: minmax(0, 1fr) 300px; }
.mega-cols--acc { display: block; }
.acc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.mega-col .acc-card { display: grid; grid-template-rows: auto auto; height: 100%; padding: .6rem .6rem .75rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; color: var(--navy-900); text-decoration: none; transform: none; transition: border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.mega-col .acc-card:hover, .mega-col .acc-card[aria-current="page"] { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); box-shadow: 0 12px 24px -16px rgba(4,52,84,.45); }
.acc-img { display: block; border-radius: 10px; background: var(--mist); overflow: hidden; }
.acc-img img { display: block; width: 100%; height: 118px; object-fit: cover; transition: transform .4s var(--ease-out); }
.mega-col .acc-card:hover .acc-img img { transform: scale(1.05); }
.acc-t { display: grid; gap: .1rem; margin-top: .55rem; font: 700 1rem var(--font-head); }
.infinity-mark { font: 800 .9rem var(--font-head); letter-spacing: .32em; padding-left: .32em; color: var(--navy-900); }
.acc-card--infinity .acc-img { background: #fff; }
.acc-card--infinity .acc-img img { object-fit: contain; padding: .3rem; }
.acc-card--infinity .acc-t { font-size: .85rem; font-weight: 600; color: var(--slate); }
.mega-side--brands .brand-logos { grid-template-columns: 1fr; gap: .45rem; }
.mega-side--brands .brand-logos a { min-height: 50px; padding: .45rem .7rem; }
.mega-side--brands .brand-logos img { max-height: 32px; }

/* Infinity page banner + 3-column lineup */
.mc-banner { margin: 0 auto 2rem; max-width: 1157px; }
.mc-banner img { display: block; width: 100%; height: auto; border-radius: 18px; }
@media (min-width: 900px) { .mc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Homepage trust icons are links */
.trust-strip li { padding: 0; }
.trust-strip li > a { display: flex; align-items: center; gap: 1rem; width: 100%; height: 100%; padding: 1.2rem 1.3rem; border-radius: 12px; color: inherit; text-decoration: none; transition: background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.trust-strip li > a .ico { transition: transform .35s var(--ease-out), box-shadow .35s; }
.trust-strip li > a:hover { background: var(--mist); }
.trust-strip li > a:hover .ico { transform: translateY(-4px) scale(1.06); box-shadow: 0 14px 22px -12px rgba(4,52,84,.6); }
.trust-strip li > a:hover strong { color: var(--blue); }
.trust-strip li > a:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.trust-strip .trust-more { display: none; }
@media (min-width: 1024px) {
  .trust-strip li > a { flex-direction: column; align-items: center; text-align: center; gap: .75rem; padding: 1.5rem 1.2rem 1.1rem; }
  .trust-strip .trust-more { display: inline-flex; align-items: center; gap: .3rem; font: 700 .85rem var(--font-head); color: var(--blue); opacity: 0; transform: translateY(-4px); transition: opacity var(--dur-fast), transform var(--dur-fast); }
  .trust-strip li .trust-more .ico { width: .9rem; height: .9rem; padding: 0; background: none; box-shadow: none; color: currentColor; }
  .trust-strip li > a:hover .trust-more, .trust-strip li > a:focus-visible .trust-more { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .trust-strip li > a .ico, .mega-col .acc-card { transition: none; } }

/* Staff checklists (Store Audit, Supply Request, Game Plan): section headings + compact rating rows */
.form-sec { margin-top: 1rem; padding-top: 1rem; border-top: 2px solid var(--blue-100); }
.form-sec h3 { margin: 0; font-size: 1.15rem; color: var(--blue); }
.form-sec .fine { margin: .25rem 0 0; }
.rate-row { display: grid; gap: .45rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.rate-row legend { float: left; width: 100%; margin-bottom: .45rem; font-size: .95rem; line-height: 1.4; }
.rate-row .chips { clear: both; gap: .35rem; }
.rate-row .chip span { min-height: 34px; padding: .3rem .75rem; font-size: .84rem; }
