/* ===========================================================
   Empire Mattress Liquidators — site styles
   Midnight navy theme. Mobile-first. Brand palette:
     Navy bg · Royal Blue (#0052CC) accent · Gold savings badge.
   Edit :root variables below to fine-tune.
   =========================================================== */

:root {
  --bg: #080c18;            /* page background — midnight navy */
  --surface: #0f1525;       /* cards, panels */
  --surface-2: #161d30;     /* inputs, nested/hover surfaces */
  --elevated: #0b1020;      /* header, footer, contact panel */

  --text: #eef0f6;          /* primary text — crisp white-blue */
  --text-muted: #aeb5c7;    /* secondary text — WCAG-readable on dark surfaces */
  --text-dim: #929bb2;      /* tertiary / fine print */

  --border: #1a2138;        /* hairline borders */
  --border-strong: #253050; /* more visible borders (outline buttons) */

  /* Royal blue — "MATTRESS" from Empire logo */
  --teal: #0052CC;
  --teal-strong: #003EA0;
  --teal-tint: rgba(0, 82, 204, 0.12);
  --on-teal: #ffffff;       /* white text on blue backgrounds */

  --gold: #f2b84b;
  --gold-strong: #d99f2e;
  --gold-tint: rgba(242, 184, 75, 0.12);
  --on-gold: #241804;       /* text placed on a gold background */

  --danger: #f87171;
  --danger-strong: #ef4444;
  --on-danger: #450a0a;      /* text placed on a danger-colored background */
  --success: #34d399;
  --success-strong: #10b981;
  --on-success: #052e1f;     /* text placed on a success-colored background */

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 46px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 82, 204, 0.18);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  padding-bottom: 72px; /* space for sticky mobile contact bar */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; }
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Keyboard access: a consistent high-contrast indicator on every control. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--bg);
}
.skip-link {
  position: fixed; z-index: 10000; top: 10px; left: 10px;
  padding: 12px 18px; border-radius: 8px;
  color: var(--on-gold); background: var(--gold); font-weight: 800;
  transform: translateY(-160%); transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: #fca5a5; font-size: 13px; margin-top: 6px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: var(--on-teal); }
.btn-primary:hover { background: var(--teal-strong); }
.btn-secondary { background: #ffffff; color: #0a0a0c; }
.btn-secondary:hover { background: #d8d8dc; }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { background: var(--surface-2); border-color: var(--text-dim); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-strong); }
.btn-success { background: var(--success); color: var(--on-success); }
.btn-success:hover { background: var(--success-strong); }
.btn-danger { background: var(--danger); color: var(--on-danger); }
.btn-danger:hover { background: var(--danger-strong); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 24px; font-size: 16.5px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-icon { font-size: 18px; line-height: 1; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  background: #ffffff;          /* white — logo blends in naturally */
  color: #0a0e1a;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #e2e5ec;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  overflow: visible;            /* let logo extend past the bar */
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  min-height: 70px;
  overflow: visible;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0;
}
.brand-logo-wrap {
  display: flex;
  align-items: center;
  /* No background or box — white header IS the logo background */
  background: transparent;
  border-radius: 0;
  padding: 4px 0;
  box-shadow: none;
}
.brand-logo-wrap img {
  height: 90px;
  width: auto;
  display: block;
}
@media (min-width: 700px) {
  .brand-logo-wrap img { height: 110px; }
}
/* Fallback text brand (shown only if logo image is missing) */
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: 0.5px; color: #0a0e1a; line-height: 1; }
.brand-tagline { font-size: 10.5px; font-weight: 600; color: var(--teal); letter-spacing: 0.3px; text-transform: uppercase; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, #001a55, #0052CC);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 10px rgba(0, 82, 204, 0.45);
  flex-shrink: 0;
}
.bn-empire      { color: #0a0e1a; font-weight: 900; }
.bn-mattress    { color: var(--teal); font-weight: 900; }
.bn-liquidators { color: #6b7280; font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.main-nav { display: flex; gap: 22px; font-weight: 600; font-size: 18px; align-items: center; color: #1a1f36; }
.main-nav a { color: #1a1f36; opacity: 1; }
.main-nav a:hover { color: var(--teal); text-decoration: none; }
.main-nav a.active { color: var(--teal); font-weight: 700; }

/* Mobile menu toggle (three lines) */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; margin-left: auto; flex-shrink: 0;
  background: #fff; border: 1px solid #d7dbe4; border-radius: 999px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 0 auto;
  background: #1a1f36; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 759.98px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 26px rgba(10,14,26,0.10);
    padding: 4px 20px 12px;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .28s ease, visibility .28s;
  }
  .site-header.nav-open .main-nav { max-height: 75vh; visibility: visible; }
  .main-nav a { padding: 14px 2px; border-bottom: 1px solid var(--border); font-size: 17px; }
  .main-nav a:last-child { border-bottom: 0; }
}

.header-phone {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  background: var(--teal);
  color: var(--on-teal);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-phone span { white-space: nowrap; }
.header-phone:hover { background: var(--teal-strong); }
@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .header-phone { font-size: 15px; }
}
/* Keep the header on one line on small phones */
@media (max-width: 480px) {
  .site-header .container { gap: 8px; }
  .brand-logo-wrap img { height: 78px; }
  .header-phone { font-size: 13px; padding: 7px 12px; gap: 5px; }
}
@media (max-width: 360px) {
  .brand-logo-wrap img { height: 68px; }
  .header-phone { font-size: 12px; padding: 6px 10px; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  /* Left-heavy dark overlay over a real mattress photo, just like the reference */
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.62) 42%,
      rgba(0, 0, 0, 0.28) 75%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    url('../images/simmons-bl-s1-extra-firm-1.webp') center 42% / cover no-repeat;
  color: #ffffff;
  /* No fixed padding — content sits at the bottom via flex */
  padding: 0;
  min-height: 74vh;
  display: flex;
  align-items: flex-end;
  border-bottom: none;
  position: relative;
}
.hero .container {
  padding-top: 40px;
  padding-bottom: 64px;
}
.hero-tagline {
  display: inline-block;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 30px;
  max-width: 20ch;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.hero p.lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 44ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
/* Pill-style "Shop products" button used in the hero */
.btn-pill { border-radius: 999px !important; }
@media (min-width: 700px) {
  .hero { min-height: 82vh; }
  .hero h1 { font-size: 46px; }
  .hero p.lead { font-size: 17.5px; }
}
@media (min-width: 1100px) {
  .hero h1 { font-size: 54px; }
}

/* ── Trust badge ──────────────────────────────────────────── */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.trust-strip .container {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  padding-bottom: 16px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
}
.trust-item .ico { font-size: 20px; }
.trust-item.trust-highlight {
  background: var(--gold-tint);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 18px;
}

/* ── Section headings ────────────────────────────────────── */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { font-size: 23px; color: var(--text); }
.section-head p { color: var(--text-muted); margin: 0; font-size: 14.5px; }

/* ── Filter dropdowns (Size / Comfort / Type) ────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; position: relative; z-index: 10; }
.filter-dropdown { position: relative; }
.filter-dropdown-btn {
  display: flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.filter-dropdown-btn .chev { font-size: 10px; color: var(--text-muted); transition: transform 0.15s ease; }
.filter-dropdown.open .filter-dropdown-btn {
  background: var(--teal); border-color: var(--teal); color: var(--on-teal);
}
.filter-dropdown.open .filter-dropdown-btn .chev { color: var(--on-teal); transform: rotate(180deg); }
.filter-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 20;
  max-height: 320px;
  overflow-y: auto;
}
.filter-dropdown.open .filter-dropdown-panel { display: block; }
.filter-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.filter-option:hover { background: var(--surface-2); }
.filter-option.zero { color: var(--text-dim); }
.filter-option-right { display: flex; align-items: center; gap: 10px; }
.filter-option-count { font-size: 12.5px; color: var(--text-muted); }
.filter-option input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--teal); cursor: pointer; }
.filter-clear-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 9px 6px;
  text-decoration: underline;
}
.filter-clear-btn:hover { color: var(--text); }

/* ── Product grid / card ─────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(0, 82, 204, 0.45); }
.product-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f4f5f7; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.stock-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
}
.stock-badge.in { color: #1e7d4b; }
.stock-badge.in-stock { color: #1e7d4b; }
.stock-badge.low { color: #b5790c; }
.stock-badge.out { color: #b0362c; }

/* ── Live catalog additions ─────────────────────────────────── */
.thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; background: var(--surface-2);
}
.catalog-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.cat-chip {
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em;
  padding: 2px 9px; border-radius: 20px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-muted);
}
.catalog-loading {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 60px 20px; color: var(--text-muted);
  gap: 14px;
}
.catalog-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border); border-top-color: var(--teal);
  border-radius: 50%;
  animation: catalog-spin 0.7s linear infinite;
}
@keyframes catalog-spin { to { transform: rotate(360deg); } }
.price-save { font-size: 12px; font-weight: 700; color: var(--success); }
.product-card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card h3 { font-size: 17px; color: var(--text); }
.product-card .meta { font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; font-weight: 700; }
.tier-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.3px;
  padding: 3px 9px; border-radius: 999px; width: fit-content;
}
.tier-tag.premium { background: var(--gold-tint); color: var(--gold); border: 1px solid rgba(242, 184, 75, 0.35); }
.tier-tag.luxury { background: rgba(232, 232, 238, 0.08); color: #e8e8ee; border: 1px solid rgba(232, 232, 238, 0.3); }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price-from { font-size: 12px; color: var(--text-muted); }
.price { font-size: 20px; font-weight: 800; color: var(--text); }
.price-strike { font-size: 14px; color: var(--text-dim); text-decoration: line-through; }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.rating-count { font-size: 12.5px; color: var(--text-muted); }
.card-cta { margin-top: auto; padding-top: 10px; }

/* ── Product detail ──────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 28px 0 10px; }
@media (min-width: 880px) { .product-detail { grid-template-columns: 1.05fr 1fr; align-items: start; } }

.gallery-main { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: #f4f5f7; }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button {
  border: 2px solid var(--border); padding: 0; background: var(--surface); border-radius: var(--radius-sm);
  width: 76px; height: 58px; flex: 0 0 auto; overflow: hidden; cursor: pointer;
}
.gallery-thumbs button.active { border-color: var(--teal); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pd-type { font-size: 13px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.5px; }
.pd-title { font-size: 27px; color: var(--text); margin: 4px 0 8px; }
.pd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.pd-desc { color: var(--text-muted); font-size: 15px; }

.firmness-meter { margin: 16px 0 20px; }
.firmness-meter .label-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; }
.firmness-track { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--gold)); }
.firmness-dot { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #ffffff; border: 3px solid var(--bg); transform: translate(-50%, -50%); box-shadow: 0 1px 6px rgba(0,0,0,0.6); }

.option-group { margin-bottom: 20px; }
.option-label { font-weight: 700; font-size: 14.5px; color: var(--text); margin-bottom: 8px; display: block; }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pill {
  border: 1.5px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  text-align: center;
  min-width: 84px;
}
.size-pill .sp-price { display: block; font-weight: 700; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.size-pill.selected { border-color: var(--teal); background: var(--teal-tint); color: var(--teal); }
.size-pill.out { opacity: 0.45; cursor: not-allowed; text-decoration: line-through; }

.fulfillment-options { display: flex; gap: 10px; flex-wrap: wrap; }
.fulfillment-card {
  flex: 1 1 160px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
}
.fulfillment-card.selected { border-color: var(--teal); background: var(--teal-tint); }
.fulfillment-card .ft-title { font-weight: 700; font-size: 14px; color: var(--text); }
.fulfillment-card .ft-sub { font-size: 12.5px; color: var(--text-muted); }

.zip-row { display: flex; gap: 8px; margin-top: 12px; }
.zip-row input {
  flex: 1; padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-size: 14px; background: var(--surface-2); color: var(--text);
}
.zip-row input::placeholder { color: var(--text-dim); }
.zip-row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.delivery-result { margin-top: 10px; font-size: 13.5px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--teal-tint); border: 1px solid rgba(0, 82, 204, 0.35); color: var(--text); display: none; }
.delivery-result.show { display: block; }
.delivery-result.warn { background: var(--gold-tint); border-color: rgba(242, 184, 75, 0.35); color: var(--text); }

.summary-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 18px 0;
}
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; color: var(--text-muted); }
.summary-row.total { font-weight: 800; font-size: 17px; color: var(--text); border-top: 1px dashed var(--border); margin-top: 6px; padding-top: 10px; }

.cta-stack { display: flex; flex-direction: column; gap: 10px; }
.btn-disabled-look { opacity: 0.7; }
.cta-note { font-size: 12.5px; color: var(--text-muted); text-align: center; }

/* ── Accordion ────────────────────────────────────────────── */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.accordion + .accordion { margin-top: 10px; }
.accordion summary {
  cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 14.5px; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; color: var(--teal); }
.accordion[open] summary::after { content: "–"; }
.accordion .acc-body { padding: 0 16px 16px; color: var(--text-muted); font-size: 14px; }

/* ── Reviews ─────────────────────────────────────────────── */
/* Company/service reviews of Empire Mattress Liquidators — not tied to
   any individual product. Used on the homepage teaser and /reviews. */
.review-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.review-summary .big-score { font-size: 32px; font-weight: 800; color: var(--text); }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 10px; }
.review-card .rc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; gap: 10px; }
.review-card .rc-name { font-weight: 700; font-size: 14px; color: var(--text); }
.review-card .rc-date { font-size: 12px; color: var(--text-dim); white-space: nowrap; }
.verified-tag { font-size: 11px; font-weight: 700; color: var(--teal); background: var(--teal-tint); padding: 2px 8px; border-radius: 999px; margin-left: 8px; white-space: nowrap; }
.review-card p { margin: 6px 0 0; font-size: 14px; color: var(--text); }

/* Multi-column layout for review cards (homepage teaser + /reviews list) */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-grid .review-card { margin-bottom: 0; display: flex; flex-direction: column; }
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; } }
.review-empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); font-size: 14px; padding: 40px 20px; }

/* "Leave Us a Review" / "Review Us on Google" action row on /reviews */
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 30px; }
.btn-google {
  background: var(--surface); border: 1.5px solid var(--border-strong);
  color: var(--text); font-weight: 700;
}
.btn-google:hover { border-color: var(--teal); color: var(--teal); }

.review-form-wrap { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); max-width: 480px; }
.review-form-title { font-size: 17px; color: var(--text); margin-bottom: 12px; }
.review-form-row { margin-bottom: 14px; }
.review-form-row label { display: block; font-weight: 700; font-size: 13.5px; color: var(--text); margin-bottom: 6px; }
.review-form-row input[type="text"],
.review-form-row input[type="password"],
.review-form-row textarea {
  width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-size: 14px; background: var(--surface-2); color: var(--text); font-family: inherit; resize: vertical;
}
.review-form-row input[type="text"]:focus,
.review-form-row input[type="password"]:focus,
.review-form-row textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.star-picker { display: flex; gap: 4px; }
.star-btn {
  background: none; border: none; padding: 0; font-size: 26px; line-height: 1; cursor: pointer;
  color: var(--text-dim);
}
.star-btn.filled { color: var(--gold); }
/* Honeypot — rendered off-screen (not display:none) so naive bots that only
   skip invisible fields still fill it in and get silently dropped server-side. */
.review-form-honeypot { position: absolute; left: -9999px; top: -9999px; }
.review-form-msg { margin: 12px 0 0; font-size: 13.5px; }
.review-form-msg.success { color: var(--success); }
.review-form-msg.error { color: var(--danger); }

/* ── Contact / footer ────────────────────────────────────── */
.contact-panel {
  background:
    linear-gradient(135deg, rgba(0, 82, 204, 0.14), rgba(242, 184, 75, 0.06)),
    var(--elevated);
  border: 1px solid var(--border);
  color: var(--text); border-radius: var(--radius-lg); padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.contact-panel h2 { font-size: 21px; }
.contact-panel .phone-big { font-size: 26px; font-weight: 800; color: var(--teal); }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.info-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
@media (min-width: 700px) { .info-cards { grid-template-columns: repeat(3, 1fr); } }
.info-card { background: var(--surface); border-radius: var(--radius-md); padding: 16px; border: 1px solid var(--border); }
.info-card h4 { font-size: 14px; color: var(--text); margin-bottom: 6px; }
.info-card p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

.site-footer { background: var(--elevated); border-top: 1px solid var(--border); color: var(--text-muted); margin-top: 50px; padding: 34px 0 90px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid h5 { color: var(--text); font-size: 14px; margin-bottom: 10px; }
.footer-grid a { display: block; padding: 3px 0; color: var(--text-muted); }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { text-align: center; margin-top: 26px; color: var(--text-dim); font-size: 12px; }

/* ── Sticky mobile contact bar ───────────────────────────── */
.mobile-contact-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: var(--elevated);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 24px rgba(0,0,0,0.5);
  display: flex; gap: 10px; padding: 10px 14px;
}
.mobile-contact-bar .btn { flex: 1; }
@media (min-width: 900px) { .mobile-contact-bar { display: none; } }

/* ── Utility ─────────────────────────────────────────────── */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.text-muted { color: var(--text-muted); }
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); }

/* Company logo and slogan lockup. */
.site-header .brand {
  flex-direction: column;
  flex-shrink: 0;
  padding: 8px 0 10px;
}
.site-header .brand-logo-wrap { padding: 0; }
.site-header .brand-logo-wrap img { width: 210px; height: auto; }
.brand-slogan {
  display: block;
  margin-top: 5px;
  color: #343b46;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.1px;
  text-align: center;
  white-space: nowrap;
}
.brand-slogan strong { color: #004dcc; font-weight: 750; }
@media (max-width: 760px) {
  .site-header .brand-logo-wrap img { width: 170px; }
  .brand-slogan { font-size: 9px; letter-spacing: 0; }
}
@media (max-width: 480px) {
  .site-header .brand-logo-wrap img { width: 145px; }
  .brand-slogan { font-size: 10px; }
  .brand-slogan span, .brand-slogan strong { display: block; }
}
@media (max-width: 360px) {
  .site-header .brand-logo-wrap img { width: 115px; }
  .site-header .header-phone { font-size: 11px; padding: 6px 8px; }
}