/* ============================================================
   Audioengine - Custom CSS
   Author: Senior Fullstack Developer
   Version: 1.0.0
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  --color-primary:       #e8192c;
  --color-primary-dark:  #c41020;
  --color-black:         #111111;
  --color-dark:          #1a1a1a;
  --color-dark-alt:      #2a2a2a;
  --color-charcoal:      #3d3d3d;
  --color-gray-dark:     #555555;
  --color-gray:          #888888;
  --color-gray-light:    #cccccc;
  --color-gray-lighter:  #e8e8e8;
  --color-gray-bg:       #f4f4f4;
  --color-white:         #ffffff;
  --color-topbar-bg:     #1a1a1a;
  --color-nav-bg:        #2b2b2b;
  --color-footer-bg:     #2c2c2c;
  --color-streaming-bg:  #3a3a3a;

  --font-primary:   "Montserrat", sans-serif;
  --font-heading:   "Lato", sans-serif;
  --font-size-xs:   0.75rem;    /* 12px */
  --font-size-sm:   0.875rem;   /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-md:   1.125rem;   /* 18px */
  --font-size-lg:   1.25rem;    /* 20px */
  --font-size-xl:   1.5rem;     /* 24px */
  --font-size-2xl:  2rem;       /* 32px */
  --font-size-3xl:  2.5rem;     /* 40px */
  --font-size-4xl:  3rem;       /* 48px */

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold: 600;
  --fw-bold:    700;
  --fw-black:   900;

  --lh-tight:  1.2;
  --lh-snug:   1.35;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.12);
  --shadow-md:  0 4px 12px rgba(0,0,0,.15);
  --shadow-lg:  0 8px 24px rgba(0,0,0,.18);
  --shadow-card: 0 2px 8px rgba(0,0,0,.08);

  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  --container-max: 1260px;
  --container-pad: var(--space-6);

  --nav-height:    62px;
  --topbar-height: 42px;
  --header-total:  104px; /* topbar + nav */
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* All headings: Lato, no forced weight (inherits context weight) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}
.listning-group .elementor-container.elementor-column-gap-custom{
	gap: 30px!important;
}
.listning-group .elementor-column-gap-custom .elementor-widget-image a img{
	    width: 120px;
    opacity: 1;
    filter: none;
}
.overflow-hidden{
  overflow: hidden;
}
.section-border-radius{
  border-radius: 15px;
}
/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--wide {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-center { text-align: center; }
.text-red    { color: var(--color-primary); }
.text-white  { color: var(--color-white); }
.text-gray   { color: var(--color-gray); }
.text-upper  { text-transform: uppercase; }
.text-sm     { font-size: var(--font-size-sm); }
.text-xs     { font-size: var(--font-size-xs); }
.fw-bold     { font-weight: var(--fw-bold); }
.fw-semibold { font-weight: var(--fw-semibold); }

.d-flex         { display: flex; }
.align-center   { align-items: center; }
.justify-center { justify-content: center; }
.gap-2          { gap: var(--space-2); }
.gap-4          { gap: var(--space-4); }

/* ============================================================
   4. BUTTONS (REUSABLE COMPONENT)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.65rem 1.5rem;
  font-size: var(--font-size-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary – Red fill */
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

/* Outline – transparent with border */
.btn--outline {
  background-color: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn--outline:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

/* Size variants */
.btn--sm {
  padding: 0.45rem 1rem;
  font-size: var(--font-size-xs);
}

.btn--lg {
  padding: 0.85rem 2rem;
  font-size: var(--font-size-base);
}

.btn--full {
  width: 100%;
}


/* ============================================================
   4b. SITE HEADER WRAPPER
   ─ .site-header is position:sticky at top:0
   ─ Topbar slides UP cleanly via translateY on scroll-down
   ─ Nav bar ALWAYS stays fixed at top (it's inside the sticky wrapper)
   ─ Using translateY (NOT max-height) — eliminates bounce completely
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  /* translateY trick: whole wrapper shifts up by topbar height when hidden */
  transform: translateY(0);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When scrolled down: push the whole wrapper up by topbar height.
   The nav (which is taller) stays visible — the topbar disappears above viewport */
.site-header.topbar-hidden {
  transform: translateY(calc(-1 * var(--topbar-height)));
}

/* Topbar: normal, no independent animation needed */
.topbar {
  background-color: var(--color-topbar-bg);
  color: var(--color-white);
  height: var(--topbar-height);
  width: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
  /* visibility managed by parent's translateY — no extra CSS needed */
}

/* ============================================================
   5. TOP BAR — inner layout styles
   ============================================================ */
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-height);
  width: 100%;
  padding-inline: var(--space-8);
}

/* LEFT: "FREE SHIPPING IN THE CONTIGUOUS US" in red */
.topbar__left {
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* CENTER: prev arrow | announcement text | next arrow | pause btn */
.topbar__center {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1;
  justify-content: center;
}

.topbar__slider {
  position: relative;
  overflow: hidden;
  min-width: 200px;
  text-align: center;
}

.topbar__slider-item {
  display: none;
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  color: var(--color-white);
  white-space: nowrap;
}

.topbar__slider-item.is-active {
  display: block;
}

/* Arrow buttons — plain chevron style matching screenshot */
.topbar__arrow {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 4px 6px;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar__arrow:hover {
  opacity: 1;
}

/* Pause / Play button — square icon style */
.topbar__pause {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 4px 6px;
  font-size: 0.8rem;
  line-height: 1;
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-base);
}

.topbar__pause:hover {
  opacity: 1;
}

/* RIGHT: headset icon + phone number + sub-label */
.topbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.topbar__right-icon {
  font-size: 1.5rem;
  color: var(--color-white);
  opacity: 0.9;
  display: flex;
  align-items: center;
}

.topbar__right-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.topbar__phone {
  color: var(--color-primary);
  font-weight: var(--fw-bold);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.topbar__phone:hover {
  opacity: 0.85;
}

.topbar__phone-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.65);
  font-weight: var(--fw-regular);
}

/* ============================================================
   6. HEADER / MAIN NAV
   ============================================================ */
.header {
  background-color: var(--color-nav-bg);
  position: relative;   /* site-header wrapper is sticky, not this */
  z-index: 2;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.nav {
  height: var(--nav-height);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding-inline: var(--space-8);  /* full-width, no container cap */
}

/* ---- LOGO ---- */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;             /* remove inline-block gap */
}

/* White Audioengine logo — icon + wordmark + tagline */
.nav__logo picture,
.nav__logo-img {
  display: block;
  height: 44px;              /* matches real site nav height */
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* ---- DESKTOP MENU ---- */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  flex: 1;
  justify-content: center;
}

.nav__item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 0.7rem;
  font-size: 0.8125rem;     /* ~13px matching screenshot */
  font-weight: var(--fw-regular);
  color: rgba(255,255,255,0.88);
  height: 100%;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-base);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.7rem;
  right: 0.7rem;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.nav__link:hover {
  color: var(--color-white);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

/* Down-chevron arrow — small, subtle */
.nav__link-arrow {
  font-size: 0.5rem;
  opacity: 0.65;
  margin-top: 1px;
  transition: transform var(--transition-base);
}

.nav__item:hover .nav__link-arrow {
  transform: rotate(180deg);
}

/* ---- DROPDOWN ---- */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--color-nav-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid var(--color-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-base),
              visibility var(--transition-base),
              transform var(--transition-base);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 200;
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-3) var(--space-5);
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav__dropdown-link:last-child {
  border-bottom: none;
}

.nav__dropdown-link:hover {
  background-color: rgba(255,255,255,0.07);
  color: var(--color-white);
}

/* ---- NAV ACTIONS (Search + Cart) ---- */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-shrink: 0;
}

.nav__action-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.88);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background-color var(--transition-base);
  font-size: 1.05rem;
  position: relative;
}

.nav__action-btn:hover {
  color: var(--color-white);
  background-color: rgba(255,255,255,0.1);
}

/* Cart badge dot — blue dot matching screenshot */
.nav__cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: #1a8fe3;   /* blue badge as in screenshot */
  color: var(--color-white);
  font-size: 0.55rem;
  font-weight: var(--fw-bold);
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---- HAMBURGER (mobile only) ---- */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: transform var(--transition-base), opacity var(--transition-base);
  border-radius: 2px;
}

.nav__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   7. GIVEAWAY BADGE (STICKY SIDE)
   ============================================================ */
.giveaway-badge {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  z-index: 998;
  writing-mode: horizontal-tb;
  transform: translateX(-50%) translateY(-50%) rotate(-90deg);
}

/* Better approach – vertical rotated text */
.giveaway-badge {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 998;
}

.giveaway-badge__link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-2);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg) translateY(50%);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: background-color var(--transition-base);
  line-height: 1;
}

.giveaway-badge__link:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

/* ============================================================
   8. HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a;
  /* Fill remaining viewport below header (topbar + nav) */
  height: calc(100vh - var(--topbar-height) - var(--nav-height));
  /* svh fallback for mobile browsers with dynamic toolbars */
  height: calc(100svh - var(--topbar-height) - var(--nav-height));
  min-height: 520px;
  max-height: 900px;
  width: 100%;
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each slide absolutely fills the full hero area */
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Background image: fills slide edge-to-edge */
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Dual-layer gradient overlay — left heavier + bottom slight darkening */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.28) 0%,
      transparent 38%
    ),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.38) 38%,
      rgba(0, 0, 0, 0.08) 68%,
      transparent 100%
    );
}

/* Text block — bottom-left, matching screenshot exactly */
.hero__content {
  position: absolute;
  bottom: 13%;
  left: 5%;
  z-index: 2;
  max-width: 1080px;
}

.hero__title {
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 0.45rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
  letter-spacing: -0.01em;
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 4rem) !important;
  line-height: 1.1 !important;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 4.3rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
  font-weight: var(--fw-regular);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
  line-height: 1.4;
}

/* Red "Shop Now" button — exact match to screenshot */
.hero .btn--primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  padding: 0.7rem 1.8rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(232, 25, 44, 0.32);
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-fast);
}

.hero .btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(232, 25, 44, 0.45);
  transform: translateY(-1px);
  color: var(--color-white);
}

/* ============================================================
   9. TRUST BAR
   ─ Desktop (≥1024px):  icon centred on TOP, label centred BELOW
                          5 equal columns, full viewport width
   ─ Tablet/Mobile:      Swiper slider — icon + label SIDE-BY-SIDE per slide
   ============================================================ */
.trust-bar {
  background-color: #3d3d3d;
  width: 100%;
  overflow: hidden;
}

/* ── DESKTOP list (no Swiper) ─────────────────────────────── */
.trust-bar__desktop {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Each desktop item: icon centred top, label centred bottom */
.trust-bar__desktop .trust-bar__item {
  display: flex;
  flex-direction: column;       /* icon TOP, label BOTTOM */
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 0;
  gap: 14px;
  padding: 26px 12px 24px;
  min-width: 0;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
}

.trust-bar__desktop .trust-bar__item:last-child {
  border-right: none;
}

/* Icon area: fixed height so all labels sit on the same baseline */
.trust-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 62px;
}

.trust-bar__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 72px;
  max-height: 62px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Label */
.trust-bar__label {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}
.mid-gallery-slider .container{
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
}

/* ── MOBILE Swiper wrapper (hidden on desktop) ─────────────── */
.trust-bar__swiper-wrap {
  display: none;               /* shown only on tablet/mobile via responsive.css */
}

/* Swiper slide: icon LEFT + label RIGHT, vertically centred */
.trust-bar__swiper-wrap .trust-bar__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px;
  height: 100%;
}

.trust-bar__swiper-wrap .trust-bar__icon {
  width: 46px;
  height: 38px;
  flex-shrink: 0;
}

.trust-bar__swiper-wrap .trust-bar__icon img {
  max-width: 46px;
  max-height: 38px;
}

.trust-bar__swiper-wrap .trust-bar__label {
  white-space: nowrap;
  text-align: left;
  font-size: 0.8125rem;
}

/* Swiper overrides */
.trust-bar__swiper-wrap .swiper {
  width: 100%;
  padding: 0;
}

.trust-bar__swiper-wrap .swiper-wrapper {
  align-items: stretch;
}

.trust-bar__swiper-wrap .swiper-slide {
  width: auto !important;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: transparent;
}

.trust-bar__swiper-wrap .swiper-slide:last-child {
  border-right: none;
}


/* ============================================================
   10. SECTION SHARED STYLES
   ============================================================ */
.section {
  padding-block: var(--space-16);
}

.section--sm {
  padding-block: var(--space-12);
}

.section--lg {
  padding-block: var(--space-24);
}

.section--gray {
  background-color: var(--color-gray-bg);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-10);
}

/* ============================================================
   GLOBAL HEADING TYPOGRAPHY SYSTEM
   Consistent font sizes across all sections on the site.
   Based on live audioengine.com visual reference:
     h1 (hero):          3rem  / 48px  — Montserrat (exception)
     h2 (section title): 2.5rem / 40px — Lato
     h3 (card title):    1rem  / 16px  — Lato
   All headings use Lato; hero title exclusively uses Montserrat.
   ============================================================ */

/* Page/hero title — Montserrat only, overrides the Lato heading rule */
.hero__title {
  
}

/* All section h2 titles — unified 2.5rem desktop */
.section__title,
.gallery-strip__title,
.why-choose__title,
.streaming__title,
.reviews__headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Promo block headings — slightly smaller at 1.875rem */
.promo-block__title {
  font-size: clamp(1.25rem, 2vw, 1.875rem) !important;
  font-weight: var(--fw-bold) !important;
  line-height: 1.25 !important;
}

/* Section description/sub copy — uniform 1rem / 16px */
.section__description,
.gallery-strip__desc {
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.7;
  max-width: 640px;
  margin-inline: auto;
}

.section__tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section__description {
  font-size: 1rem;
  color: var(--color-gray);
  max-width: 640px;
  margin-inline: auto;
  line-height: var(--lh-relaxed);
}


/* ============================================================
   11. PRODUCT CARD (REUSABLE COMPONENT)
   Matches live audioengine.com featured products layout
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Base card */
.product-card {
  background-color: var(--color-white);
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  transform: translateY(-4px);
}

/* Featured / active card — slightly elevated shadow by default */
.product-card--featured {
  box-shadow: 0 6px 24px rgba(0,0,0,0.11);
}

/* Compare button — top-right, icon + text */
.product-card__compare {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 400;
  color: #999;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
  line-height: 1;
}

.product-card__compare:hover {
  color: var(--color-primary);
}

/* Image area — pure white bg, no padding crop, square */
.product-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image-wrap a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* show full product, no crop */
  object-position: center;
  transition: transform 0.4s ease;
  padding: 1rem;                /* small breathing room */
}

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.04);
}

/* Body */
.product-card__body {
  padding: 16px 18px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

/* Product title */
.product-card__title {
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  line-height: 1.35;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--color-primary);
}

/* Price */
.product-card__price {
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin: 0;
}

/* Colour swatches */
.product-card__swatches {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.product-card__swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 1px;
  cursor: pointer;
  transition: outline-color 0.15s ease, transform 0.15s ease;
  display: inline-block;
  flex-shrink: 0;
}

.product-card__swatch:hover {
  transform: scale(1.2);
}

.product-card__swatch.is-active {
  outline-color: #555;
}

/* Swatch colours */
.product-card__swatch--white  { background-color: #f2f2f2; border-color: #ccc; }
.product-card__swatch--red    { background-color: #c8102e; }
.product-card__swatch--black  { background-color: #111111; }
.product-card__swatch--yellow { background-color: #f5c400; }
.product-card__swatch--green  { background-color: #2d5a27; }
.product-card__swatch--gray   { background-color: #888888; }
.product-card__swatch--brown  { background-color: #6b3d14; }

/* Footer: Buy now button */
.product-card__footer {
  padding: 8px 18px 18px;
}

.product-card__footer .btn--outline {
  border-color: #222;
  color: #222;
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.product-card__footer .btn--outline:hover {
  background-color: #111;
  color: #fff;
  border-color: #111;
}


/* ============================================================
   12. ALWAYS A SOUND INVESTMENT — GALLERY SWIPER
   ─ Centre slide: full size, rounded corners, slightly elevated
   ─ Side slides: peeking in from edges, same height, same radius
   ─ Dot pagination below in Audioengine red
   ─ Matches live site screenshot exactly
   ============================================================ */
.gallery-strip {
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
  overflow: hidden;           /* contains the Swiper overflow */
}

/* Section header — centred, contained */
.gallery-strip__header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.gallery-strip__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.gallery-strip__desc {
  font-size: var(--font-size-base);
  color: var(--color-gray);
  max-width: 620px;
  margin-inline: auto;
  line-height: var(--lh-relaxed);
}

/* ── Swiper outer wrapper: full-bleed, allows slides to peek ── */
.gallery-swiper-wrap {
  width: 100%;
  position: relative;
  padding-bottom: 2.5rem;     /* space for pagination dots */
}

/* ── Swiper container ─────────────────────────────────────── */
.gallery-swiper {
  width: 100%;
  overflow: visible !important;  /* let side slides show */
  padding-inline: 15%;           /* ← creates the peek gap on each side */
}

/* ── Each slide ───────────────────────────────────────────── */
.gallery-swiper .swiper-slide {
  border-radius: 16px;
  overflow: hidden;
  opacity: 0.55;                /* side slides dimmed */
  transform: scale(0.92);
  transition: opacity 0.45s ease, transform 0.45s ease;
  cursor: pointer;
}

/* Active (centred) slide: full opacity + size */
.gallery-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

/* Also brighten prev/next slides slightly */
.gallery-swiper .swiper-slide-prev,
.gallery-swiper .swiper-slide-next {
  opacity: 0.7;
  transform: scale(0.94);
}

/* Image inside slide: landscape 16:9 crop */
.gallery-swiper__slide-inner {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
  border-radius: 16px;
}

.gallery-swiper__slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-swiper .swiper-slide-active .gallery-swiper__slide-inner img {
  transform: scale(1.02);
}

/* ── Dot pagination ───────────────────────────────────────── */
.gallery-swiper__pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 1.25rem;
}

/* Override Swiper default bullet styles */
.gallery-swiper__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  opacity: 1;
  transition: background-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  margin: 0 !important;
}

.gallery-swiper__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-dark);
  transform: scale(1.2);
}


/* ============================================================
   13. FEATURE PROMO BLOCK
   ─ Constrained to 1024px max-width (matching screenshot)
   ─ Two columns: content | image  (or reversed)
   ─ No direction:rtl hack — use explicit grid-column order
   ============================================================ */

/* Dedicated 1024px container for promo sections */
.container--promo {
  max-width: 1024px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.promo-section {
  padding-block: 4rem;
}

/* Grid: 2 equal columns */
.promo-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* Normal layout: content col-1, image col-2 */
.promo-block__content { order: 1; }
.promo-block__image   { order: 2; }

/* Reverse layout: image col-1, content col-2 */
.promo-block--reverse .promo-block__image   { order: 1; }
.promo-block--reverse .promo-block__content { order: 2; }

/* Image panel */
.promo-block__image {
  overflow: hidden;
  height: 100%;
  min-height: 360px;
}

.promo-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.promo-block:hover .promo-block__image img {
  transform: scale(1.03);
}

/* Content panel */
.promo-block__content {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Tag: "Best Sellers" / "Product Spotlight" */
.promo-block__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* Title */
.promo-block__title {
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: var(--lh-tight);
  margin-bottom: 1rem;
}

/* Body text */
.promo-block__text {
  font-size: var(--font-size-sm);
  color: var(--color-gray);
  line-height: var(--lh-relaxed);
  margin-bottom: 2rem;
}

/* Shop Now button — outline red matching screenshot */
.promo-block .btn--outline {
  align-self: flex-start;
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  padding: 0.65rem 1.75rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.promo-block .btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ============================================================
   14. CUSTOMER REVIEWS SECTION
   ─ Full-width light-grey background (#f4f4f4)
   ─ SVG "CUSTOMER REVIEWS" outline text floats in upper-left,
     overflow visible so it bleeds off the left edge
   ─ Layout: left panel (headline + arrow btns) | right Swiper
   ─ Swiper: 2 full cards + 3rd card peeking from right edge
   ─ Arrow buttons: square outline, ← → SVG arrows, red border on hover
   ─ Cards: white, rounded, no star rating (matches screenshot)
   ============================================================ */
.reviews {
  background-color: #f4f4f4;
  position: relative;
  padding-top: 0;
  padding-bottom: 5rem;
  margin-top: 12rem;;
}

/* ── SVG background text ──────────────────────────────────── */
.reviews__svg-wrap {
  position: absolute;
  top: -16%;
  left: -2%;            /* bleeds off-left like the screenshot */
  width: 72%;           /* fills ~2/3 of the section width */
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.reviews__svg-bg {
  display: block;
  width: 100%;
  height: auto;
  /* The SVG has opacity built-in (0.196), so no extra opacity needed */
}

/* ── Body: left headline + right Swiper ───────────────────── */
.reviews__body {
  position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-top: 20rem;
    padding-inline: 1rem 0;
    max-width: 1400px;
    margin: 0 0 0 auto;
}

/* ── Left panel ───────────────────────────────────────────── */
.reviews__left {
  flex-shrink: 0;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.reviews__headline {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* Arrow buttons — square with rounded corners, outline style */
.reviews__controls {
  display: flex;
  gap: 0.75rem;
}

.reviews__btn {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  border: 1.5px solid #bbb;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.reviews__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.reviews__btn svg {
  display: block;
  flex-shrink: 0;
}

/* ── Right: Swiper wrap ───────────────────────────────────── */
.reviews__swiper-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;      /* clip so 3rd card peek is controlled */
  width: 100%;
}

/* Swiper: 2 full slides + partial 3rd visible */
.reviews-swiper {
  overflow: visible !important;   /* let partial card peek */
}

.reviews-swiper .swiper-slide {
  width: 300px;          /* fixed card width */
  height: auto;
}

/* ── Review Card ──────────────────────────────────────────── */
.review-card {
  background-color: var(--color-white);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  height: 100%;
  min-height: 220px;
  transition: box-shadow 0.25s ease;
}

.review-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

.review-card__name {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin: 0;
  padding-bottom: 0.5rem;
}

.review-card__text {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
  flex: 1;
}

.review-card__read-more {
  font-size: 0.8125rem;
  color: var(--color-primary);
  font-weight: var(--fw-medium);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: opacity 0.2s ease;
}

.review-card__read-more:hover {
  opacity: 0.75;
}


/* ============================================================
   15. HTML VIDEO SECTION
   ─ Full-width video block
   ─ Aspect-ratio 16/9, object-fit cover
   ─ Custom play/pause button: dark pill, bottom-left
   ─ "Play" label text next to icon, matching screenshot 3
   ============================================================ */

/* ── Outer section wrapper ───────────────────────────────── */
.video-section {
  width: 100%;
  background-color: #fff;
  overflow: hidden;
  position: relative;
  padding: 8rem 0 1rem 0;
}

/* ── Video wrapper: fixed aspect-ratio ───────────────────── */
.video-section__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 640px;
  overflow: hidden;
}

/* ── The video itself ────────────────────────────────────── */
.video-section__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Custom play/pause button ────────────────────────────── */
.video-section__btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 12px 12px;
  border-radius: 4px;
  background-color: rgba(20, 20, 20, 0.78);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.25s ease, transform 0.25s ease;
  user-select: none;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  overflow: hidden;
}

/* Reveal the button when the user hovers the video (or focuses it via keyboard) */
.video-section__wrapper:hover .video-section__btn,
.video-section__wrapper:focus-within .video-section__btn,
.video-section__btn:focus-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.video-section__btn:hover {
  background-color: rgba(40, 40, 40, 0.92);
  border-color: rgba(255,255,255,0.4);
}

/* Timeline progress bar that grows with video playback */
.video-section__progress {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

.video-section__progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: width 0.15s linear;
}

.video-section__icon {
  display: block;
  flex-shrink: 0;
}

.video-section__icon[hidden] {
  display: none;
}

.video-section__btn-label {
  color: var(--color-white);
  line-height: 1;
}

/* Mobile: smaller button */
@media (max-width: 767px) {
  .video-section__wrapper {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .video-section__btn {
    bottom: 14px;
    left: 14px;
    padding: 6px 12px 6px 10px;
    font-size: 0.75rem;
  }
}

/* ============================================================
   16. WHY CHOOSE SECTION
   ============================================================ */
.why-choose {
  padding-block: 5rem 4rem;
  background-color: var(--color-white);
}

/* Section title — centred, bold, matching screenshot */
.why-choose__title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

/* 3-column equal-width grid */
.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* Card: image on top, text below */
.why-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Image: rounded corners, 3:2 landscape crop matching screenshot */
.why-card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;        /* rounded corners visible in screenshot */
}

.why-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.why-card:hover .why-card__image img {
  transform: scale(1.04);
}

/* Content below image */
.why-card__content {
  padding: 0.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Two-line heading block: line1 (e.g. "INCREDIBLE") + line2 (e.g. "SOUND")
   Both bold uppercase dark — displayed as block so they stack naturally */
.why-card__heading {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 0;
}

.why-card__line1,
.why-card__line2 {
  display: block;
}

/* Body text — small, grey, matching screenshot */
.why-card__text {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
}


/* ============================================================
   17. STREAMING PARTNERS SECTION
   ============================================================ */
.streaming {
  background-color: var(--color-streaming-bg);
  padding-block: var(--space-16);
}

.streaming__title {
  text-align: center;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.streaming__subtitle {
  text-align: center;
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-10);
}

.streaming__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12);
  margin-inline: auto;
}

.streaming-tile {
  background-color: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: var(--space-12) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.streaming-tile:hover {
  background-color: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.2);
}

.streaming-tile__logo {
  display: block;
  max-width: 140px;
  height: auto;
  width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity var(--transition-base);
}

.streaming-tile:hover .streaming-tile__logo {
  opacity: 1;
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-footer-bg);
  padding-top: var(--space-12);
}

.footer__main {
  display: grid;
  grid-template-columns: 260px 1fr 1.4fr 1fr 0.8fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Hide the logo image — address leads per design */
.footer__logo {
  display: none;
}

.footer__address {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.55);
  line-height: var(--lh-relaxed);
  font-style: normal;
}

.footer__phone {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.55);
  line-height: var(--lh-relaxed);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
  flex-wrap: wrap;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--font-size-sm);
  transition: background-color var(--transition-base), border-color var(--transition-base);
  border: 1px solid rgba(255,255,255,0.15);
}

.footer__social-link:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* SVG sprite icons inside social links */
.footer__social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}

/* Footer Nav Columns */
.footer__col-title {
  font-size: var(--font-size-sm);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-5);
  letter-spacing: 0.02em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-base);
  line-height: var(--lh-snug);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__link--highlight {
  color: var(--color-primary);
}

.footer__link--highlight:hover {
  color: var(--color-primary-dark);
}

/* Footer Bottom */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-5);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.4);
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.footer__bottom-link {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color var(--transition-base);
}

.footer__bottom-link:hover {
  color: var(--color-white);
}

/* Email signup icon pill */
.footer__bottom-link--email {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--fw-semibold);
  gap: var(--space-2);
}

.footer__bottom-link--email:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

/* Accessibility link — underlined per screenshot */
.footer__bottom-link--accessibility {
  text-decoration: underline;
  color: var(--color-white);
  font-weight: var(--fw-semibold);
}

.footer__bottom-link--accessibility:hover {
  color: rgba(255,255,255,0.75);
}

.footer__bottom-link svg,
.footer__bottom-link i {
  font-size: 0.875rem;
}

/* ============================================================
   19. MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background-color: var(--color-nav-bg);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-menu.is-open {
  pointer-events: auto;
}

.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-white);
  line-height: 1;
  padding: var(--space-2);
}

.mobile-menu__nav-link {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--font-size-base);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition-base);
}

.mobile-menu__nav-link:hover {
  color: var(--color-primary);
}

/* ============================================================
   20. BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--transition-base),
              visibility var(--transition-base),
              transform var(--transition-base),
              background-color var(--transition-base);
  z-index: 500;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary-dark);
}

/* ============================================================
   21. SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--space-20);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__box {
  width: min(640px, 90vw);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transform: translateY(-20px);
  transition: transform var(--transition-base);
}

.search-overlay.is-open .search-overlay__box {
  transform: translateY(0);
}

.search-overlay__form {
  display: flex;
  gap: var(--space-3);
}

.search-overlay__input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-gray-lighter);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-base);
}

.search-overlay__input:focus {
  border-color: var(--color-primary);
}

.search-overlay__submit {
  padding: var(--space-3) var(--space-5);
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background-color var(--transition-base);
}

.search-overlay__submit:hover {
  background-color: var(--color-primary-dark);
}

.search-overlay__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   22. HEADER SCROLL STATES
   ============================================================ */

/* Scrolled state shadow on nav */
.site-header.is-scrolled .header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}


/* ============================================================
   24. NAV ACTIVE STATE
   ============================================================ */
.nav__link--active {
  color: var(--color-primary);
}

.nav__link--active::after {
  transform: scaleX(1);
}

/* ============================================================
   25. FOOTER COLUMN LAYOUT TWEAK
   ============================================================ */
.footer__col {
  min-width: 0;
}

/* ============================================================
   26. COMPARE FEATURE
   ============================================================ */

/* Active state on the product-card compare button when product is added */
.product-card__compare.is-active {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 6px 10px;
  border-radius: 2px;
}
.product-card__compare.is-active svg {
  display: none;
}

/* Bottom compare bar */
.compare-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 30px);
  z-index: 1000;
  background-color: #2a2a2a;
  color: var(--color-white);
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  padding: 16px 28px;
  min-width: 320px;
  max-width: calc(100% - 32px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.compare-bar.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.compare-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.compare-bar__count {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-white);
}

.compare-bar__actions {
  display: flex;
  gap: 28px;
  align-items: center;
}

.compare-bar__action {
  background: none;
  border: none;
  color: var(--color-primary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.2s ease;
}

.compare-bar__action:hover,
.compare-bar__action:focus-visible {
  color: var(--color-primary-dark);
  outline: none;
}

@media (max-width: 480px) {
  .compare-bar {
    bottom: 16px;
    padding: 14px 18px;
    min-width: 0;
    width: calc(100% - 32px);
  }
  .compare-bar__actions {
    gap: 20px;
  }
}

/* Fullscreen compare modal */
.compare-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background-color: var(--color-white);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.compare-modal.is-open {
  opacity: 1;
  visibility: visible;
}

body.compare-modal-open {
  overflow: hidden;
}

.compare-modal__sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.compare-modal__close,
.compare-modal__share {
  position: absolute;
  top: 24px;
  background: none;
  border: none;
  color: var(--color-dark);
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  transition: color 0.2s ease;
  z-index: 2;
}
.compare-modal__close { right: 28px; }
.compare-modal__share { right: 64px; }

.compare-modal__close:hover,
.compare-modal__share:hover {
  color: var(--color-primary);
}

.compare-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0;
  padding: 72px 32px 48px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

.compare-col {
  position: relative;
  padding: 0 24px;
  border-left: 1px solid var(--color-gray-lighter);
}
.compare-col:first-child {
  border-left: none;
}

.compare-col__remove {
  position: absolute;
  top: 0;
  right: 12px;
  background: none;
  border: none;
  color: var(--color-gray);
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  transition: color 0.2s ease;
}
.compare-col__remove:hover {
  color: var(--color-primary);
}

.compare-col__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  margin-bottom: 16px;
}
.compare-col__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.compare-col__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--color-dark);
  line-height: 1.35;
}

.compare-col__specs {
  display: flex;
  flex-direction: column;
}

.compare-spec {
  padding: 12px 0;
  border-top: 1px solid var(--color-gray-lighter);
}
.compare-spec:first-child {
  border-top: none;
  padding-top: 0;
}

.compare-spec__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c98a2b; /* orange/amber accent from screenshot */
  margin-bottom: 6px;
}

.compare-spec__value {
  font-size: 0.9rem;
  color: var(--color-dark);
  line-height: 1.5;
  white-space: pre-line;
  min-height: 1.35em;
}

.compare-spec__swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.compare-spec__swatch {
  width: 26px;
  height: 26px;
  border-radius: 3px;
  border: 1px solid var(--color-gray-lighter);
  display: inline-block;
}

.compare-spec__check {
  display: inline-block;
  font-size: 1rem;
  color: var(--color-dark);
}

@media (max-width: 768px) {
  .compare-modal__grid {
    grid-template-columns: 1fr;
    padding: 64px 16px 32px;
  }
  .compare-col {
    border-left: none;
    border-top: 1px solid var(--color-gray-lighter);
    padding: 24px 8px;
  }
  .compare-col:first-child {
    border-top: none;
    padding-top: 8px;
  }
}


