:root {
  --maroon-900: #5c0a10;
  --maroon-700: #7d1319;
  --crimson: #95031a;
  --red: #cc0000;
  --ink: #1a1a1a;
  --muted: #666;
  --bg: #ffffff;
  --bg-alt: #f4f1ee;
  --flag: #a33;
  --flag-bg: #fdeceb;
  --flag-border: #f2b9b4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 20px;
  flex-wrap: wrap;
}
.logo { height: 56px; width: auto; display: block; }
.main-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.main-nav a:hover { color: var(--red); text-decoration: none; }
.main-nav a.active { color: var(--red); }
.header-phone {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}
.header-phone:hover { text-decoration: underline; }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  background-image: url('images/site/hero-bg.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 160px 0 44px;
}
.hero-inner { position: relative; z-index: 2; max-width: 1100px; }
.ribbon {
  position: absolute;
  top: 20px;
  left: -90px;
  transform: rotate(-40deg);
  background: #fff;
  color: var(--crimson);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 100px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  z-index: 3;
}
.hero-kicker {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: #f7e3e4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.hero h1 {
  margin: 0 0 22px;
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-text {
  font-size: 1.2rem;
  color: #f7ecec;
  max-width: 100%;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}
.hero-text--small { font-size: 1.12rem; opacity: 0.95; }

.btn {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  text-decoration: none;
}
.btn--outline {
  background: rgba(0,0,0,0.15);
  border: 2px solid #fff;
  color: #fff;
}
.btn--outline:hover {
  background: #fff;
  color: var(--maroon-700);
  text-decoration: none;
}

/* warranty bar - mirrors the live site's red info bar */
.warranty-bar { background: var(--crimson); color: #fff; }
.warranty-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.warranty-bar-col h3 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  margin: 0 0 10px;
}
.warranty-bar-col .phone {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.warranty-bar-col .phone:hover { text-decoration: underline; }
.warranty-bar-col .hours {
  font-size: 0.82rem;
  color: #f3cfd4;
  margin: 0 0 8px;
}
.warranty-bar-col a.link {
  color: #fff;
  font-size: 0.85rem;
  text-decoration: underline;
}

/* Warranty phone numbers: tap-to-call on phones, plain text on computers
   (clicking a tel: link on a PC pops up a "pick an app to call" prompt) */
@media (hover: hover) and (pointer: fine) {
  .warranty-bar a[href^="tel:"],
  .protection-plan a[href^="tel:"] {
    pointer-events: none;
    cursor: text;
  }
  .warranty-bar-col .phone:hover { text-decoration: none; }
  .protection-plan a[href^="tel:"] { color: inherit; font-weight: 600; }
}

/* warranty section below bar */
.warranty { background: var(--bg-alt); padding: 48px 0; }
.section-intro {
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 20px;
}
.protection-plan {
  background: #fff;
  border: 1px solid #e2ded8;
  border-radius: 6px;
  padding: 24px;
  margin-top: 8px;
}
.protection-plan h3 { margin-top: 0; color: var(--maroon-700); font-weight: 800; }

/* generic sections */
section { padding: 48px 0; }
.contact-info-section { background: #ece7e2; }

h2 {
  font-size: 1.7rem;
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 800;
}
h3 { color: var(--maroon-700); }

.verify-flag {
  display: inline-block;
  color: var(--flag);
  font-size: 0.82rem;
  font-style: italic;
  margin-left: 6px;
}
.verify-flag.inline { display: block; font-size: 0.72rem; opacity: 0.85; }
.verify-flag.block {
  display: block;
  background: var(--flag-bg);
  border: 1px solid var(--flag-border);
  border-radius: 4px;
  padding: 12px 16px;
  margin: 18px 0 30px;
  font-size: 0.88rem;
}
.verify-flag.block.small { margin: 14px 0 0; font-size: 0.78rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.error-banner {
  display: block;
  width: 100%;
  height: auto;
}

/* content pages: about / contact */
.page-hero {
  background-image: url('images/site/hero-bg.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-hero h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.page-hero .underline {
  width: 54px;
  height: 3px;
  background: #ff3b5c;
  margin-top: 16px;
}

.page-content { padding: 44px 0 60px; }
.page-content p {
  color: #333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow-text {
  text-align: center;
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--maroon-700);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 24px;
}
.about-photo {
  max-width: 800px;
  width: 100%;
  border-radius: 6px;
  margin: 10px auto 30px;
  display: block;
}

.stat-row-section {
  background: var(--maroon-900);
  margin: 36px calc(50% - 50vw) 0;
  padding: 44px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}
.stat { text-align: center; color: #fff; }
.stat svg {
  width: 42px;
  height: 42px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.4;
  opacity: 0.9;
  margin-bottom: 12px;
}
.stat .num { font-size: 2rem; font-weight: 700; display: block; margin-bottom: 6px; }
.stat .label {
  font-size: 0.8rem;
  color: #f3cfd4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


.brand-intro { max-width: 800px; color: #333; margin-bottom: 36px; }
.brand-block {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
}
.brand-block img { height: 48px; width: auto; max-width: 160px; object-fit: contain; }
.brand-block p { color: #333; flex: 1; min-width: 260px; margin: 0; }

/* contact page */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) { .contact-page-grid { grid-template-columns: 1fr; } }
.map-embed {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 6px;
}

/* policy / legal pages */
.policy-page { padding: 40px 0 60px; }
.back-link { display: inline-block; margin-bottom: 18px; font-weight: 600; }
.policy-page h1 { color: var(--maroon-700); font-size: 2rem; margin-bottom: 4px; }
.policy-page h2 { font-size: 1.3rem; margin-top: 34px; }
.policy-page h3 { font-size: 1.05rem; margin-top: 22px; }
.policy-page p { color: #333; max-width: 850px; }
.policy-page .note { color: var(--muted); font-size: 0.9rem; }

/* footer */
.site-footer { background: var(--crimson); color: #fde8ea; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
  padding-top: 44px;
  padding-bottom: 30px;
}
.footer-grid h3 { color: #fff; font-size: 1.15rem; margin: 0 0 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-grid a, .footer-grid p a { color: #fde8ea; }
.footer-grid p { margin: 0 0 14px; color: #fde8ea; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.social-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-badge:hover { opacity: 0.85; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: #fff; }

.disclaimer-bar { background: #1f1f1f; padding: 16px 0 28px; }
.disclaimer-bar p {
  color: #999;
  font-size: 0.78rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 1260px) and (min-width: 901px) {
  .hero { padding-top: 140px; }
  .ribbon {
    top: 14px;
    left: -75px;
    font-size: 1.5rem;
    padding: 8px 80px;
  }
}

@media (max-width: 900px) and (min-width: 701px) {
  .hero { padding-top: 120px; }
  .ribbon {
    top: 4px;
    left: -60px;
    font-size: 1.1rem;
    padding: 6px 55px;
  }
}

@media (max-width: 700px) {
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 1.7rem; }
  .ribbon { display: none; }
  .header-inner { justify-content: center; text-align: center; }
  .main-nav { justify-content: center; width: 100%; order: 3; }
}

@media (max-width: 900px) {
  .contact-grid, .contact-page-grid { gap: 36px; }
}

@media (max-width: 560px) {
  .footer-grid {
    gap: 8px;
    padding-top: 36px;
  }
  .footer-grid > div {
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  .footer-grid > div:first-child {
    padding-top: 0;
    border-top: none;
  }
}

/* clearance: carousel, grid, product pages */
.btn--solid { background: var(--red); color: #fff; border: 2px solid var(--red); }
.btn--solid:hover { background: var(--maroon-700); border-color: var(--maroon-700); text-decoration: none; }
.btn--ghost { background: #fff; color: var(--red); border: 2px solid var(--red); }
.btn--ghost:hover { background: var(--flag-bg); text-decoration: none; }

.clr-intro p, .clr-teaser .section-intro { color: #333; max-width: 760px; }
.clr-all { background: var(--bg-alt); }
.clr-teaser { background: #fff; border-top: 1px solid #eee; }
.fine-print { color: var(--muted); font-size: 0.82rem; margin-top: 24px; }

.carousel { position: relative; margin-top: 24px; }
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  list-style: none;
  margin: 0;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
}
.carousel-track > li { scroll-snap-align: start; }
.carousel-track:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.carousel-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--crimson);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.carousel-btn.prev { left: -14px; }
.carousel-btn.next { right: -14px; }
.carousel-btn:disabled { opacity: 0; pointer-events: none; }
.carousel-btn:hover { background: var(--maroon-700); }

.clr-grid {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.clr-card {
  background: #fff;
  border: 1px solid #e2ded8;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}
.clr-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.12); transform: translateY(-2px); }
.clr-card a { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.clr-card a:hover { text-decoration: none; }
.clr-card-img { position: relative; background: #fff; aspect-ratio: 4 / 3; }
.clr-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 8px; }
.clr-card-body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.clr-brand {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.clr-name { font-weight: 700; font-size: 0.98rem; line-height: 1.35; }
.clr-price, .product-price { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price-now { color: var(--red); font-weight: 800; font-size: 1.2rem; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 0.85rem; }
.price-save {
  background: #fff3c4;
  color: #6b4d00;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
}
.price-sold { color: var(--muted); font-weight: 800; text-transform: uppercase; }
.clr-card.is-sold img { opacity: 0.45; }
.sold-badge, .clr-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--crimson);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
}
.sold-badge { background: #333; }

.product-page .crumbs { margin: 0 0 20px; font-weight: 600; }
.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
}
.gallery-main {
  position: relative;
  border: 1px solid #e2ded8;
  border-radius: 6px;
  background: #fff;
  aspect-ratio: 4 / 3;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 12px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs a {
  width: 76px;
  height: 60px;
  border: 2px solid #e2ded8;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}
.gallery-thumbs a[aria-current="true"] { border-color: var(--red); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-info h1 { margin: 2px 0 6px; font-size: 1.75rem; line-height: 1.25; color: var(--ink); }
.product-price .price-now { font-size: 1.7rem; }
.product-page .product-desc { color: #333; margin: 16px 0 10px; max-width: none; }
.feature-list { margin: 0 0 6px; padding-left: 20px; color: #333; }
.feature-list li { margin-bottom: 4px; }
.product-page .fine-print { margin: 12px 0 0; max-width: none; }

.buy-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 20px 22px 22px;
  margin-top: 24px;
}
.buy-box h2 { font-size: 1.2rem; margin: 0 0 6px; }
.product-page .buy-box p { margin: 0 0 4px; max-width: none; }
.buy-box .btn { margin: 12px 10px 0 0; }
.product-page .buy-box .buy-meta { margin-top: 16px; font-size: 0.85rem; color: var(--muted); }

.specs-title { margin-top: 48px; }
.spec-table { width: 100%; max-width: 760px; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid #eee; vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; }
.spec-table tr:nth-child(odd) { background: #faf8f6; }

@media (max-width: 1000px) {
  .carousel-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}
@media (max-width: 760px) {
  .product-grid { grid-template-columns: 1fr; gap: 24px; }
  .carousel-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .carousel-btn.prev { left: -6px; }
  .carousel-btn.next { right: -6px; }
}
@media (max-width: 480px) {
  .carousel-track { grid-auto-columns: 78%; }
  .buy-box .btn { display: block; text-align: center; margin-right: 0; }
}
