/* ==========================================================================
   ECU Shop NZ — Main Stylesheet
   Component and layout styles for the custom theme.
   ========================================================================== */

/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(48, 54, 61, 0.6);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header--scrolled {
    background: rgba(13, 17, 23, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-header__logo a {
    display: flex;
    align-items: center;
}

.site-header__logo img {
    max-height: 48px;
    width: auto;
}

.site-header__logo-text {
    font-family: var(--ecu-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-ecu {
    color: var(--ecu-text-accent);
}

.logo-shop {
    color: var(--ecu-text-primary);
}

.logo-nz {
    color: var(--ecu-text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 4px;
}

/* Navigation */
.site-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav__list .menu-item {
    position: relative;
}

.site-nav__list .menu-item > a {
    display: block;
    padding: 8px 16px;
    color: var(--ecu-text-secondary);
    font-family: var(--ecu-font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-decoration: none;
    position: relative;
}

/* Animated underline on nav links */
.site-nav__list .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--ecu-cta);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 1px;
}

.site-nav__list .menu-item > a:hover::after,
.site-nav__list .current-menu-item > a::after {
    width: calc(100% - 32px);
    left: 16px;
}

.site-nav__list .menu-item > a:hover,
.site-nav__list .current-menu-item > a {
    color: var(--ecu-text-primary);
}

.site-nav__list .menu-item > a:focus-visible {
    outline: 2px solid var(--ecu-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Dropdown */
.site-nav__list .menu-item-has-children {
    position: relative;
}

.site-nav__list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(48, 54, 61, 0.6);
    border-radius: var(--ecu-card-radius);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.site-nav__list .menu-item-has-children:hover .sub-menu,
.site-nav__list .menu-item-has-children:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav__list .sub-menu .menu-item a {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Header actions */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cart {
    position: relative;
    color: var(--ecu-text-primary);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.header-cart:hover {
    color: var(--ecu-text-accent);
}

.header-cart__count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--ecu-accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px var(--ecu-bg-primary);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-cart__count:empty,
.header-cart__count[data-count="0"] {
    display: none;
}

.header-cart.is-bumping .header-cart__count {
    transform: scale(1.3);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--ecu-text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.is-active .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

/* Body offset for fixed header handled by .site-main padding-top */

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* ECU Shop blue-teal board — the dark circuit + bright current render over this */
    background: linear-gradient(157deg, var(--ecu-teal-light) 0%, var(--ecu-teal) 48%, var(--ecu-teal-dark) 100%);
    overflow: hidden;
}

/* Engine hologram background iframe */
.hero__engine-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    /* Fade in once loaded so there's no flash */
    animation: engine-fadein 1.8s ease-out both;
}
@keyframes engine-fadein {
    from { opacity: 0; }
    to   { opacity: 0.55; }
}

/* Circuit-field canvas background (replaces the old landscape image cycler) */
.hero__circuit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

/* Legibility veil: a soft teal wash mutes the white circuitry behind the black
   headline (keeping the teal tone), plus a gentle fade into the dark page below. */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 58% 54% at 50% 45%, rgba(36,140,190,0.55) 0%, rgba(33,134,184,0.20) 46%, transparent 72%),
        linear-gradient(to bottom, transparent 58%, rgba(9,42,62,0.42) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 60px 24px 100px;
}

.hero__heading {
    font-family: var(--ecu-font-display);
    font-size: 6.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 18px;
    /* Black headline over the teal circuit board, with a faint white halo so it
       lifts cleanly off the subtle white circuitry. */
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: #08171f;
    text-shadow: 0 1px 0 rgba(255,255,255,0.30), 0 3px 22px rgba(255,255,255,0.18);
    filter: none;
    line-height: 1.05;
}

/* Keep the possessive "'s" lowercase inside the all-caps hero heading
   so it reads "NZ's" not "NZ'S". */
.hero__heading-lc {
    text-transform: lowercase;
}

/* Hero H1 now contains the brand logo image (the wordmark is baked into the
   artwork). Strip text-heading metrics so only the image drives layout; the
   <h1> is retained with descriptive alt text for SEO/accessibility. */
.hero__heading--logo {
    font-size: 0;
    line-height: 0;
    letter-spacing: 0;
    margin: 0;
    text-shadow: none;
    background: none;
}

/* Brand logo lockup — now the hero H1 (wide metallic wordmark). */
.hero__logo-img {
    display: block;
    width: min(560px, 86vw);
    height: auto;
    margin: 0 auto 26px;
}

@media (max-width: 768px) {
    .hero__logo-img {
        width: min(400px, 86vw);
        margin-bottom: 18px;
    }
}

.hero__subheading {
    /* Semantic <h2> for SEO. Solid near-white with a soft bevel: a faint top
       highlight and a stacked bottom shadow give it a gentle 3D/shaded-at-the-
       bottom look while every line stays fully legible. No gradient fill (which
       washed the lower lines grey) and no text-stroke (which cut the glyphs). */
    font-family: var(--ecu-font-display);
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.4px;
    line-height: 1.32;
    max-width: 720px;
    margin: 0 auto 40px;
    color: #f4f7fb;
    text-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.18),
        0 1px 0 rgba(0, 0, 0, 0.38),
        0 2px 3px rgba(0, 0, 0, 0.45),
        0 4px 10px rgba(0, 0, 0, 0.28);
}

/* Hero secondary CTA tuned for the black-text / teal board theme */
.hero .btn-secondary {
    color: #08171f;
    border-color: rgba(8, 23, 31, 0.5);
    background: rgba(8, 23, 31, 0.10);
}
.hero .btn-secondary:hover {
    color: #08171f;
    border-color: rgba(8, 23, 31, 0.8);
    background: rgba(8, 23, 31, 0.18);
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ECU-118: Hero CTA — oversized primary button for maximum click-through.
   .btn-hero-cta layers on top of btn-primary + btn-lg for the hero CTA only. */
/* Hero buy CTA — layers on .btn-primary; glow stays red to match (Option A). */
.btn-hero-cta {
    padding: 20px 48px;
    font-size: 1.125rem;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 24px rgba(230, 57, 70, 0.45);
}

/* Home hero now has three category CTAs — tighten them so they sit in one tidy
   row (they wrap, then stack, on narrower screens). */
.hero__actions--triple .btn-hero-cta {
    padding: 16px 30px;
    font-size: 1.0625rem;
    letter-spacing: 1px;
}

.btn-hero-cta:hover {
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.65);
}

/* ==========================================================================
   Brand Logos Strip
   ========================================================================== */

.brand-strip {
    padding: 40px 0;
    border-bottom: 1px solid var(--ecu-border);
    overflow: hidden;
}

.brand-strip__title {
    text-align: center;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ecu-text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
}

.brand-strip__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.brand-strip__logo {
    font-family: var(--ecu-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ecu-text-secondary);
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    user-select: none;
}

.brand-strip__logo:hover {
    opacity: 0.8;
    color: var(--ecu-text-primary);
}

/* ==========================================================================
   Stats/Counter Section
   ========================================================================== */

.stats-bar {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(31, 134, 184, 0.08) 0%, rgba(13, 17, 23, 0.95) 100%);
    border-top: 1px solid var(--ecu-border);
    border-bottom: 1px solid var(--ecu-border);
}

.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stats-bar__item {
    position: relative;
}

.stats-bar__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--ecu-border);
}

.stats-bar__number {
    font-family: var(--ecu-font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--ecu-text-accent);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 40px var(--ecu-accent-glow-soft);
}

.stats-bar__label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ecu-text-secondary);
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
    padding: 60px 0 40px;
    text-align: center;
    background: radial-gradient(ellipse at top center, #1a2030 0%, var(--ecu-bg-secondary) 70%);
    border-bottom: 1px solid var(--ecu-border);
    position: relative;
    overflow: hidden;
}

/* Subtle circuit pattern */
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.page-header__title {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-header__subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Category Cards (Homepage)
   ========================================================================== */

.category-card {
    position: relative;
    display: block;
    border-radius: var(--ecu-card-radius);
    overflow: hidden;
    aspect-ratio: 16/10;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.4s ease;
}

.category-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 30px var(--ecu-accent-glow-soft);
}

.category-card:focus-visible {
    outline: 2px solid var(--ecu-accent);
    outline-offset: 4px;
    border-radius: var(--ecu-card-radius);
}

.category-card__image-wrap {
    position: absolute;
    inset: 0;
    /* Brand-teal spotlight behind every category render. The products are dark
       transparent PNGs, so a teal backdrop keeps them legible at every size
       (the dark spotlight this replaced lost the black EGR cables on mobile). */
    background: radial-gradient(ellipse 78% 68% at 50% 42%, var(--ecu-teal-light) 0%, var(--ecu-teal) 55%, var(--ecu-teal-dark) 100%);
}

.category-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px 20px 72px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-card__image {
    transform: scale(1.08);
}

.category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 17, 23, 0.9) 0%, rgba(13, 17, 23, 0.1) 60%);
    transition: background 0.4s ease;
}

.category-card:hover .category-card__overlay {
    background: linear-gradient(to top, rgba(13, 17, 23, 0.95) 0%, rgba(31, 134, 184, 0.12) 60%);
}

.category-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 1;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.category-card:hover .category-card__content {
    transform: translateY(-4px);
}

.category-card__title {
    color: #fff;
    font-size: 1.375rem;
    margin-bottom: 4px;
}

.category-card__link {
    color: var(--ecu-cta);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-card__link::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.category-card:hover .category-card__link::after {
    transform: translateX(4px);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ecu-border) transparent;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 24px;
}

.gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: var(--ecu-border);
    border-radius: 3px;
}

.gallery-scroll__track {
    display: flex;
    gap: 4px;
    min-width: max-content;
}

.gallery-scroll__image {
    width: 400px;
    height: 280px;
    object-fit: cover;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: filter 0.3s ease;
}

.gallery-scroll__image:hover {
    filter: brightness(1.1);
}

/* ==========================================================================
   About Preview (Homepage)
   ========================================================================== */

.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-preview__text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-preview__text p {
    margin-bottom: 24px;
}

.about-preview__image img {
    border-radius: var(--ecu-card-radius);
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Why Choose Section
   ========================================================================== */

.why-choose {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.why-choose__item {
    margin-bottom: 24px;
    padding-left: 20px;
    border-left: 3px solid var(--ecu-accent);
}

.why-choose__item h3 {
    margin-bottom: 8px;
    color: var(--ecu-text-accent);
    text-shadow: 0 0 30px var(--ecu-accent-glow-soft);
}

.why-choose__image img {
    border-radius: var(--ecu-card-radius);
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   BSN Page — Trust Bar
   ========================================================================== */

.bsn-trust-bar {
    background: linear-gradient(135deg, rgba(31, 134, 184, 0.12) 0%, rgba(13, 17, 23, 0.95) 50%, rgba(31, 134, 184, 0.12) 100%);
    border-bottom: 1px solid var(--ecu-border);
    padding: 10px 0;
    overflow: hidden;
}

.bsn-trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.bsn-trust-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ecu-text-secondary);
    white-space: nowrap;
}

.bsn-trust-bar__item svg {
    flex-shrink: 0;
}

/* ==========================================================================
   BSN Page — Hero
   ========================================================================== */

.bsn-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 460px) 1fr;
    gap: 40px;
    align-items: start;
}

/* EGR + Ultra Boost heroes: the vehicle/product image is taller than the short
   text column, so vertically centre the text against it. (The BSN hero keeps
   top-alignment for its taller, sticky content column.) */
.bsn-hero:not(.bsn-hero--circuit) .bsn-hero__grid {
    align-items: center;
}

.bsn-hero__image img {
    width: 100%;
    border-radius: var(--ecu-card-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Product image column stays a sensible size and follows the taller buy column
   as it scrolls, so the two sides stay balanced instead of one dwarfing the
   other. Falls back to a plain top-aligned image where sticky is unsupported. */
.bsn-hero__image--carousel {
    position: sticky;
    top: 88px;
}

/* EGR hero uses a transparent cut-out PNG — drop the card shadow/radius that
   would otherwise draw a ghost rectangle behind the connectors. */
/* The EGR connectors are a black cut-out that disappears on the dark hero, so
   frame them in a slightly lighter, softly blurred glass panel (mirrors the BSN
   product frame) to lift them out. */
.bsn-hero__image--egr picture {
    display: block;
    width: 80%;
    margin: 0 auto;
    padding: 22px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--ecu-card-radius, 12px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.bsn-hero__image--egr img {
    width: 100%;
    margin: 0;
    display: block;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

/* EGR hero sits on the teal field. The heading is white (large display type, so
   it clears AA on the teal); the subheading stays dark for body-size contrast.
   (Features keep their own dark panel.) */
.bsn-hero--egr-teal .bsn-hero__heading {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #fff;
}
.bsn-hero--egr-teal .bsn-hero__subheading {
    color: #0c2735;
}

/* === BSN hero — animated teal circuit board behind the product block ===
   Mirrors the homepage hero field. The product photo floats on the teal,
   while the dense (light-on-dark) text column sits on a dark teal-tinted
   glass panel so every box and the benefit text stays readable. */
.bsn-hero--circuit {
    position: relative;
    overflow: hidden;
    /* Swapped to the dark, subtle field — the bright teal field now lives on the
       Feel the Difference section. */
    background: #0a0e14;
}

.bsn-hero__circuit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
}

/* Soft edge-darkening + fade into the dark page above and below the section.
   The rgba(10,58,85,…) stops ARE --ecu-teal-deep (#0a3a55) — the deep teal
   section-background stop the token exists for (kept as rgba for per-stop
   alpha; teal-deep white-fg contrast is 12:1). */
.bsn-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 82% 66% at 50% 38%, rgba(46,158,203,0.22) 0%, rgba(10,58,85,0.10) 55%, transparent 82%),
        linear-gradient(to bottom, rgba(10,58,85,0.20) 0%, transparent 20%, transparent 72%, rgba(13,17,23,0.85) 100%);
}

.bsn-hero--circuit > .container {
    position: relative;
    z-index: 2;
}

/* Dark circuit-field host — a subtle, very soft teal trace texture behind a
   dark section (Feel the Difference on the BSN page, and the EGR hero). The
   canvas is prepended by ecu-trace-field.js at z-index 0; a vignette softens
   it, and the section content sits above both. */
.bsn-section--circuit-dark {
    position: relative;
    overflow: hidden;
    background: #0a0e14;
}

.bsn-section--circuit-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 82% 72% at 50% 42%, transparent 38%, rgba(10, 14, 20, 0.62) 100%);
}

.bsn-section--circuit-dark > .container {
    position: relative;
    z-index: 2;
}

/* Light circuit-field host — the bright teal field (formerly the BSN hero look)
   now used on the Feel the Difference section. */
.bsn-section--circuit-light {
    position: relative;
    overflow: hidden;
    background: linear-gradient(157deg, var(--ecu-teal-light) 0%, var(--ecu-teal) 48%, var(--ecu-teal-dark) 100%);
}

.bsn-section--circuit-light::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 82% 66% at 50% 40%, rgba(46, 158, 203, 0.18) 0%, rgba(10, 58, 85, 0.10) 55%, transparent 82%),
        linear-gradient(to bottom, rgba(10, 58, 85, 0.16) 0%, transparent 24%, transparent 74%, rgba(13, 17, 23, 0.55) 100%);
}

.bsn-section--circuit-light > .container {
    position: relative;
    z-index: 2;
}

.bsn-hero--circuit .bsn-hero__content {
    background: rgba(7, 24, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: clamp(22px, 2.6vw, 36px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

@media (max-width: 768px) {
    .bsn-hero--circuit .bsn-hero__content {
        padding: 22px 18px;
        border-radius: 14px;
    }
}

/* ============================================================
   Animated ECU-trace divider — a row of ~12 dim dots; a staggered pulse lights
   each dot in turn then fades, leaving a dimming trail behind the leading dot.
   A subtle echo of the background circuit field. Fills the gap above "How It
   Works".
   ============================================================ */
.ecu-divider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(440px, 74vw);
    margin: 24px auto;
}
.ecu-divider__dot {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(46, 158, 203, 0.22);
    animation: ecu-dot-pulse 3s ease-in-out infinite;
}
/* A pulse lights each dot in turn (6%), then it fades back over the next stretch
   (34%) so a dimming trail follows the leading dot. Subtle, not bold. */
@keyframes ecu-dot-pulse {
    0%, 100% {
        background: rgba(46, 158, 203, 0.22);
        box-shadow: none;
        transform: scale(1);
    }
    6% {
        background: var(--ecu-accent-bright, #5bbfe6);
        box-shadow: 0 0 6px 1px rgba(91, 191, 230, 0.6);
        transform: scale(1.5);
    }
    34% {
        background: rgba(46, 158, 203, 0.22);
        box-shadow: none;
        transform: scale(1);
    }
}
/* Stagger each dot so the highlight travels left to right. */
.ecu-divider__dot:nth-child(1)  { animation-delay: 0s; }
.ecu-divider__dot:nth-child(2)  { animation-delay: 0.2s; }
.ecu-divider__dot:nth-child(3)  { animation-delay: 0.4s; }
.ecu-divider__dot:nth-child(4)  { animation-delay: 0.6s; }
.ecu-divider__dot:nth-child(5)  { animation-delay: 0.8s; }
.ecu-divider__dot:nth-child(6)  { animation-delay: 1s; }
.ecu-divider__dot:nth-child(7)  { animation-delay: 1.2s; }
.ecu-divider__dot:nth-child(8)  { animation-delay: 1.4s; }
.ecu-divider__dot:nth-child(9)  { animation-delay: 1.6s; }
.ecu-divider__dot:nth-child(10) { animation-delay: 1.8s; }
.ecu-divider__dot:nth-child(11) { animation-delay: 2s; }
.ecu-divider__dot:nth-child(12) { animation-delay: 2.2s; }
@media (prefers-reduced-motion: reduce) {
    .ecu-divider__dot { animation: none; }
}

/* The divider carries the hero -> How It Works transition, so pull the big blank
   space in around it (was the hero's 80px bottom + section's 80px top padding). */
.bsn-hero--circuit {
    padding-bottom: 40px;
}
#bsn-how-it-works {
    padding-top: 28px;
}

.bsn-hero__heading {
    font-family: var(--ecu-font-display);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* BSN title — retinted white→teal for the teal-led theme (was white→red). */
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 40%, #ffffff 60%, #5bbfe6 85%, var(--ecu-teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bsn-hero__subheading {
    font-size: 1.0625rem;
    color: var(--ecu-text-primary);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.45;
}

.bsn-features {
    margin-bottom: 24px;
}

/* Dark opaque highlight so features list is readable over the bright engine-hologram background */
.bsn-hero .bsn-features {
    background: rgba(13, 17, 23, 0.78);
    border-radius: 8px;
    padding: 4px 12px;
    backdrop-filter: blur(2px);
}

.bsn-features--compact .bsn-features__item {
    padding: 6px 0;
    border-bottom: none;
    font-size: 0.875rem;
}

/* BSN hero: lay the eight benefits out in two columns so they don't push the
   price and buy box a full screen down. Collapses to one column on phones. */
.bsn-hero--circuit .bsn-features--compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    row-gap: 0;
}

.bsn-features__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--ecu-text-secondary);
    border-bottom: 1px solid var(--ecu-border);
    transition: color 0.3s ease;
}

.bsn-features__item:hover {
    color: var(--ecu-text-primary);
}

/* Glowing green "LED" orb marker for each feature (replaces the old checkmark). */
.bsn-features__orb {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #86ffa8 0%, #3fb950 48%, #1c7331 100%);
    box-shadow: 0 0 6px rgba(63, 185, 80, 0.85), 0 0 13px rgba(63, 185, 80, 0.45), inset 0 0 2px rgba(255, 255, 255, 0.55);
}

.bsn-hero__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
}

.bsn-hero__price-amount {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--ecu-font-heading);
    color: var(--ecu-text-primary);
}

.bsn-hero__price-suffix {
    font-size: 0.9375rem;
    color: var(--ecu-text-secondary);
    margin-left: 8px;
}

.bsn-hero__afterpay {
    font-size: 0.875rem;
    margin: 0 0 14px;
}

.bsn-hero__actions {
    margin-bottom: 20px;
}

.bsn-hero__cta {
    width: 100%;
    text-align: center;
    padding: 18px 32px;
    font-size: 1.0625rem;
}

/* Buy-CTA pulse — red glow, matches the red buy button (Option A). */
@keyframes bsn-cta-pulse {
    0%, 100% { box-shadow: 0 4px 16px var(--ecu-cta-glow); }
    50% { box-shadow: 0 4px 28px var(--ecu-cta-glow), 0 0 40px var(--ecu-cta-glow-soft); }
}

.bsn-hero__cta {
    animation: bsn-cta-pulse 3s ease-in-out infinite;
}

.bsn-hero__cta:hover {
    animation: none;
}

@keyframes ctaPulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 var(--ecu-cta-glow); }
    50% { box-shadow: 0 0 0 8px rgba(230, 57, 70, 0); }
}

.bsn-hero__cta .btn-primary {
    animation: ctaPulseGlow 2s ease-in-out infinite;
}

.bsn-hero__trust-trio {
    display: flex;
    justify-content: center;
    gap: 14px 22px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.bsn-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.875rem;
    color: var(--ecu-text-secondary);
    font-weight: 500;
}

/* ==========================================================================
   BSN Page — How It Works
   ========================================================================== */

.bsn-step {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.bsn-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ecu-cta), var(--ecu-cta-dark));
    color: #fff;
    font-family: var(--ecu-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px var(--ecu-cta-glow);
}

.bsn-step__title {
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bsn-step__text {
    color: var(--ecu-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ==========================================================================
   BSN Page — Feature Cards
   ========================================================================== */

.bsn-feature-card__icon {
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--ecu-accent-tint);
    border: 1px solid rgba(31, 134, 184, 0.15);
}

.bsn-feature-card .card__title {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin-bottom: 8px;
}

.bsn-feature-card .card__text {
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ==========================================================================
   BSN Page — Before/After Comparison
   ========================================================================== */

.bsn-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

/* CTA under the comparison — scrolls back up to the hero vehicle selector. */
.bsn-compare__cta {
    text-align: center;
    margin-top: 36px;
}

.bsn-compare__find {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bsn-compare__col {
    padding: 32px;
    border-radius: var(--ecu-card-radius);
    border: 1px solid var(--ecu-border);
    /* On the bright teal field the cards need a solid dark panel behind the text
       so it stays readable (they used to sit on the dark page background). */
    background: rgba(13, 17, 23, 0.88);
    backdrop-filter: blur(3px);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.38);
}

/* "Without product" = pain/negative state — danger red is intentional here. */
.bsn-compare__col--without {
    background: rgba(28, 14, 17, 0.9);
    border-color: rgba(230, 57, 70, 0.35);
}

.bsn-compare__col--with {
    background: rgba(14, 26, 18, 0.9);
    border-color: rgba(63, 185, 80, 0.35);
}

.bsn-compare__heading {
    font-size: 1.125rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bsn-compare__col--without .bsn-compare__heading {
    color: var(--ecu-text-secondary);
}

.bsn-compare__col--with .bsn-compare__heading {
    color: var(--ecu-green);
    text-shadow: 0 0 20px rgba(63, 185, 80, 0.2);
}

.bsn-compare__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bsn-compare__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.bsn-compare__item--negative {
    color: var(--ecu-text-secondary);
}

.bsn-compare__item--negative svg {
    color: var(--ecu-danger);
    flex-shrink: 0;
    opacity: 0.7;
}

.bsn-compare__item--positive {
    color: var(--ecu-text-primary);
}

.bsn-compare__item--positive svg {
    color: var(--ecu-green);
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(63, 185, 80, 0.3));
}

/* ==========================================================================
   Reviews — Enhanced
   ========================================================================== */

.bsn-reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.bsn-reviews-header .section__heading {
    margin-bottom: 16px;
}

.bsn-reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bsn-reviews-summary__stars {
    display: flex;
    gap: 2px;
}

.bsn-reviews-summary__stars svg {
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5));
}

.bsn-reviews-summary__text {
    font-size: 0.9375rem;
    color: var(--ecu-text-secondary);
    margin: 0;
}

.bsn-reviews-summary__google {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.bsn-reviews-summary__google-g {
    display: block;
    flex-shrink: 0;
}
.bsn-reviews-summary__google-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ecu-text-secondary);
}

.review-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.review-card__stars svg {
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.4));
}

.review-card__text {
    color: var(--ecu-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.review-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.review-card__author {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ecu-text-primary);
}

.review-card__vehicle {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-card__source {
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-card__date {
    font-size: 0.75rem;
}

.review-card__verified {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ecu-green);
    padding: 3px 8px;
    background: rgba(63, 185, 80, 0.08);
    border: 1px solid rgba(63, 185, 80, 0.2);
    border-radius: 4px;
}

.bsn-reviews-cta {
    text-align: center;
    margin-top: 32px;
}

/* ==========================================================================
   Video Cards
   ========================================================================== */

.video-card__thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0d1117;
}

.video-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-card:hover .video-card__thumbnail img {
    transform: scale(1.05);
}

.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    /* Glossy metallic red disc (resets the native button's white background). */
    background: radial-gradient(circle at 38% 30%, #ff8080 0%, var(--ecu-red) 46%, var(--ecu-red-dark) 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card__play svg {
    margin-left: 3px; /* optical centring of the play triangle */
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
}

.video-card:hover .video-card__play {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 8px 26px rgba(230, 57, 70, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Products Hub
   ========================================================================== */

.products-hub {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-hub-card {
    display: grid;
    grid-template-columns: 450px 1fr;
    background: var(--ecu-bg-secondary);
    border: 1px solid var(--ecu-border);
    border-radius: var(--ecu-card-radius);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

/* Gradient left accent */
.product-hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--ecu-accent), var(--ecu-accent-soft));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-hub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px var(--ecu-accent-glow-soft);
    border-color: var(--ecu-border-light);
}

.product-hub-card:hover::before {
    opacity: 1;
}

/* Featured first card */
.product-hub-card--featured {
    grid-template-columns: 1fr;
    background: linear-gradient(135deg, var(--ecu-bg-secondary) 0%, rgba(31, 134, 184, 0.06) 100%);
}

.product-hub-card--featured .product-hub-card__image img {
    height: 350px;
}

.product-hub-card--featured .product-hub-card__content {
    padding: 40px;
}

.product-hub-card__badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--ecu-amber), var(--ecu-orange));
    color: #000;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.product-hub-card__image {
    overflow: hidden;
}

.product-hub-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-hub-card:hover .product-hub-card__image img {
    transform: scale(1.03);
}

.product-hub-card__content {
    padding: 32px;
}

.product-hub-card__title {
    color: var(--ecu-text-primary);
    margin-bottom: 4px;
}

.product-hub-card__subtitle {
    color: var(--ecu-text-accent);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-hub-card__text {
    margin-bottom: 16px;
}

.product-hub-card__price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--ecu-font-heading);
    color: var(--ecu-text-primary);
    margin-bottom: 16px;
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.about-block--reverse .about-block__image {
    order: -1;
}

.about-block__text p {
    color: var(--ecu-text-secondary);
    line-height: 1.8;
}

.about-block__image {
    width: 100%;
    border-radius: var(--ecu-card-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Timeline layout */
.about-timeline {
    position: relative;
    padding-left: 40px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--ecu-accent), var(--ecu-border), var(--ecu-accent));
}

.about-timeline__year {
    position: relative;
    margin-bottom: 16px;
}

.about-timeline__year::before {
    content: '';
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ecu-accent);
    box-shadow: 0 0 12px var(--ecu-accent-glow);
}

.about-timeline__year-label {
    margin: 0;
    font-family: var(--ecu-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ecu-text-accent);
    text-shadow: 0 0 30px var(--ecu-accent-glow-soft);
}

/* ==========================================================================
   Dealers Page
   ========================================================================== */

.dealer-map {
    width: 100%;
    height: 500px;
    background: var(--ecu-bg-tertiary);
}

/* Dark theme for Leaflet map */
.dealer-map .leaflet-tile-pane {
    filter: brightness(0.7) contrast(1.1) saturate(0.3) hue-rotate(180deg) invert(1);
}

.dealer-map .leaflet-control-zoom a {
    background: var(--ecu-bg-secondary);
    color: var(--ecu-text-primary);
    border-color: var(--ecu-border);
}

.dealer-map .leaflet-popup-content-wrapper {
    background: var(--ecu-bg-secondary);
    color: var(--ecu-text-primary);
    border-radius: var(--ecu-card-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.dealer-map .leaflet-popup-tip {
    background: var(--ecu-bg-secondary);
}

.dealer-map .leaflet-popup-content a {
    color: var(--ecu-text-accent);
}

.dealer-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--ecu-border);
    padding-bottom: 0;
}

.dealer-tabs__tab {
    padding: 12px 24px;
    font-family: var(--ecu-font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    color: var(--ecu-text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dealer-tabs__tab:hover,
.dealer-tabs__tab--active {
    color: var(--ecu-text-accent);
    border-bottom-color: var(--ecu-text-accent);
}

.dealer-tabs__tab:focus-visible {
    outline: 2px solid var(--ecu-accent);
    outline-offset: 2px;
}

.dealer-region-group {
    margin-bottom: 48px;
}

.dealer-region-group__heading {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ecu-border);
}

.dealer-card__region {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.dealer-card__name {
    font-size: 1.0625rem;
    margin-bottom: 4px;
}

.dealer-card__address {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.dealer-card__phone {
    font-size: 0.875rem;
    font-weight: 500;
}

.dealer-popup__address {
    color: var(--ecu-text-secondary);
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

.form-group {
    margin-bottom: 20px;
}

.contact-details__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.contact-details__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ecu-text-secondary);
}

.contact-details__list svg {
    flex-shrink: 0;
    color: var(--ecu-text-accent);
    filter: drop-shadow(0 0 4px var(--ecu-accent-glow-soft));
}

/* ==========================================================================
   Blog
   ========================================================================== */

.single-post__hero {
    max-height: 500px;
    overflow: hidden;
}

.single-post__hero-image {
    width: 100%;
    object-fit: cover;
}

.single-post__header {
    margin-bottom: 32px;
}

.single-post__title {
    margin-bottom: 12px;
}

.single-post__meta {
    font-size: 0.875rem;
}

.single-post__sep {
    margin: 0 8px;
}

.single-post__body {
    max-width: 720px;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.entry-content p {
    color: var(--ecu-text-secondary);
    line-height: 1.8;
}

.entry-content img {
    border-radius: var(--ecu-card-radius);
    margin: 24px 0;
}

.entry-content a {
    color: var(--ecu-text-accent);
    text-decoration: underline;
}

.single-post__tags {
    display: flex;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--ecu-border);
}

.tag {
    padding: 4px 12px;
    background: var(--ecu-bg-tertiary);
    border: 1px solid var(--ecu-border);
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--ecu-text-secondary);
    transition: all 0.3s ease;
}

.tag:hover {
    border-color: var(--ecu-text-accent);
    color: var(--ecu-text-accent);
    box-shadow: 0 0 12px var(--ecu-accent-glow-soft);
}

.blog-card__date {
    display: block;
    font-size: 0.8125rem;
    margin-bottom: 8px;
}

.blog-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.blog-card__read-more::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.blog-card__read-more:hover::after {
    transform: translateX(4px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-signup {
    padding: 56px 0;
    text-align: center;
    position: relative;
}

.footer-signup__heading {
    margin-bottom: 8px;
}

.footer-signup__text {
    margin-bottom: 24px;
}

.footer-signup__input-group {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 8px;
}

.footer-signup__input-group input {
    flex: 1;
}

.footer-signup__message {
    margin-top: 12px;
    font-size: 0.875rem;
}

/* Gradient divider above footer */
.footer-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ecu-accent), transparent);
    opacity: 0.4;
}

.footer-main {
    padding: 60px 0 40px;
    background: var(--ecu-bg-secondary);
    border-top: 1px solid var(--ecu-border);
    position: relative;
}

/* Carbon fiber texture */
.footer-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    position: relative;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo a {
    display: inline-block;
}

.footer-logo img {
    max-height: 48px;
    width: auto;
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--ecu-text-secondary);
    font-style: italic;
    margin-bottom: 16px;
}

.footer-col__title {
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--ecu-text-primary);
    position: relative;
    padding-bottom: 12px;
}

/* Teal accent line under footer column titles */
.footer-col__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--ecu-accent);
    border-radius: 1px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--ecu-text-secondary);
    font-size: 0.9375rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--ecu-text-primary);
    padding-left: 4px;
}

.footer-contact li {
    color: var(--ecu-text-secondary);
    font-size: 0.9375rem;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ecu-bg-tertiary);
    border: 1px solid var(--ecu-border);
    border-radius: 50%;
    color: var(--ecu-text-secondary);
    transition: all 0.3s ease;
}

.footer-social__link:hover {
    color: #fff;
    background: var(--ecu-accent-strong);
    border-color: var(--ecu-text-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--ecu-accent-glow);
}

.footer-social__link:focus-visible {
    outline: 2px solid var(--ecu-accent);
    outline-offset: 4px;
}

.footer-bottom {
    background: var(--ecu-bg-primary);
    border-top: 1px solid var(--ecu-border);
    padding: 24px 0;
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icon {
    display: inline-flex;
    transition: transform 0.3s ease;
}

.payment-icon:hover {
    transform: translateY(-2px);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--ecu-text-secondary);
    margin: 0;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    margin-top: 48px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ecu-bg-secondary);
    border: 1px solid var(--ecu-border);
    border-radius: 6px;
    color: var(--ecu-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: var(--ecu-accent-strong);
    border-color: var(--ecu-text-accent);
    color: #fff;
    box-shadow: 0 4px 12px var(--ecu-accent-glow);
}

.pagination .page-numbers:hover:not(.current) {
    border-color: var(--ecu-text-accent);
    color: var(--ecu-text-accent);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 16px;
}

/* ==========================================================================
   Afterpay Message
   ========================================================================== */

.afterpay-message {
    font-size: 0.875rem;
    color: var(--ecu-text-secondary);
    margin-top: 8px;
}

.afterpay-logo {
    color: var(--ecu-text-primary);
    font-weight: 700;
}

/* ==========================================================================
   BSN Page — FAQ
   ========================================================================== */

.bsn-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.bsn-faq-item {
    border: 1px solid var(--ecu-border);
    border-radius: var(--ecu-card-radius);
    margin-bottom: 8px;
    background: var(--ecu-bg-secondary);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.bsn-faq-item[open] {
    border-color: var(--ecu-border-light);
}

.bsn-faq-item__question {
    padding: 20px 24px;
    font-family: var(--ecu-font-heading);
    font-weight: 700;
    font-size: 1.0625rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    color: var(--ecu-text-primary);
    transition: color 0.3s ease;
    user-select: none;
}

.bsn-faq-item__question::-webkit-details-marker {
    display: none;
}

.bsn-faq-item__question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ecu-text-accent);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.bsn-faq-item[open] .bsn-faq-item__question::after {
    content: '\2212';
    transform: rotate(180deg);
}

.bsn-faq-item__question:hover {
    color: var(--ecu-text-accent);
}

.bsn-faq-item__question:focus-visible {
    outline: 2px solid var(--ecu-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.bsn-faq-item__answer {
    padding: 0 24px 20px;
}

.bsn-faq-item__answer p {
    color: var(--ecu-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   BSN Page — Final CTA
   ========================================================================== */

.bsn-final-cta {
    position: relative;
}

.bsn-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(31, 134, 184, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.bsn-final-cta__price {
    justify-content: center;
    margin-bottom: 8px;
}

.bsn-final-cta__afterpay {
    margin-bottom: 32px;
}

/* ==========================================================================
   BSN Page — Sticky Mobile CTA
   ========================================================================== */

.bsn-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--ecu-border);
    padding: 12px 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: none;
}

.bsn-sticky-cta--visible {
    transform: translateY(0);
}

.bsn-sticky-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--ecu-max-width);
    margin: 0 auto;
    gap: 12px;
}

.bsn-sticky-cta__name {
    font-family: var(--ecu-font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--ecu-text-primary);
}

.bsn-sticky-cta__price {
    font-size: 0.8125rem;
    color: var(--ecu-text-secondary);
    display: block;
}

/* Show sticky CTA only when scrolled past hero on all devices */
@media (max-width: 991px) {
    .bsn-sticky-cta {
        display: block;
    }

    /* Offset back-to-top button when sticky CTA is visible */
    .bsn-sticky-cta--visible ~ .back-to-top.visible {
        bottom: 80px;
    }
}

/* ==========================================================================
   Skip Link
   ========================================================================== */

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--ecu-accent-strong);
    color: #fff;
    font-weight: 600;
    clip: auto;
    width: auto;
    height: auto;
}

/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */

@media (max-width: 991px) {
    /* CRITICAL: backdrop-filter on .site-header makes it a containing block for
       fixed-position descendants, which traps the mobile nav inside the header
       box (it collapses to invisible). Disable the blur on mobile so the nav's
       position:fixed resolves against the viewport. The header background is
       already near-opaque, so the glass effect isn't missed here. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(13, 17, 23, 0.98);
    }

    .site-nav {
        position: fixed;
        top: calc(72px + var(--announcement-bar-height, 40px));
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, var(--ecu-bg-primary), #0a0e14);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .site-nav--open {
        transform: translateX(0);
    }

    .site-nav__list {
        flex-direction: column;
        padding: 24px;
        gap: 0;
    }

    /* Stagger mobile nav items */
    .site-nav--open .site-nav__list .menu-item {
        animation: slideInRight 0.3s ease forwards;
        opacity: 0;
    }

    .site-nav--open .site-nav__list .menu-item:nth-child(1) { animation-delay: 0.05s; }
    .site-nav--open .site-nav__list .menu-item:nth-child(2) { animation-delay: 0.1s; }
    .site-nav--open .site-nav__list .menu-item:nth-child(3) { animation-delay: 0.15s; }
    .site-nav--open .site-nav__list .menu-item:nth-child(4) { animation-delay: 0.2s; }
    .site-nav--open .site-nav__list .menu-item:nth-child(5) { animation-delay: 0.25s; }
    .site-nav--open .site-nav__list .menu-item:nth-child(6) { animation-delay: 0.3s; }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .site-nav__list .menu-item > a {
        padding: 14px 0;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--ecu-border);
    }

    .site-nav__list .menu-item > a::after {
        display: none;
    }

    .site-nav__list .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0 0 0 16px;
        backdrop-filter: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

    .hero__heading {
        font-size: 3.5rem;
        letter-spacing: 3px;
    }

    .hero__content {
        padding: 60px 24px;
    }

    /* Layout grids */
    .about-preview,
    .why-choose,
    .bsn-hero__grid,
    .about-block,
    .about-block--reverse {
        grid-template-columns: 1fr;
    }

    .about-block--reverse .about-block__image {
        order: 0;
    }

    .bsn-hero__heading {
        font-size: 2.5rem;
    }

    .bsn-compare {
        grid-template-columns: 1fr;
    }

    .bsn-trust-bar__inner {
        gap: 16px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        padding: 0 8px;
    }

    .bsn-hero__trust-trio {
        gap: 12px;
    }

    .bsn-hero__cta {
        animation: none;
    }

    .reviews-grid.grid--4 {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .product-hub-card {
        grid-template-columns: 1fr;
    }

    .product-hub-card--featured {
        grid-template-columns: 1fr;
    }

    .product-hub-card__image img {
        height: 200px;
    }

    /* Stats */
    .stats-bar__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stats-bar__item:nth-child(2)::after {
        display: none;
    }

    .stats-bar__number {
        font-size: 2.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom__inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-signup__input-group {
        flex-direction: column;
    }

    /* Gallery */
    .gallery-scroll__image {
        width: 300px;
        height: 200px;
    }

    /* Brand strip */
    .brand-strip__logos {
        gap: 24px;
    }

    .brand-strip__logo {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .hero__heading {
        font-size: 2.25rem;
        letter-spacing: 2px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .dealer-tabs {
        flex-wrap: wrap;
    }

    .dealer-tabs__tab {
        padding: 8px 16px;
        font-size: 0.8125rem;
    }

    .stats-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar__item::after {
        display: none;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .site-nav--open .site-nav__list .menu-item {
        animation: none;
        opacity: 1;
    }

    .category-card__image,
    .product-hub-card__image img,
    .video-card__thumbnail img {
        transition: none;
    }
}

/* 404 Page */
.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-404__title {
    font-family: var(--ecu-font-display);
    font-size: clamp(4.5rem, 12vw, 8rem);
    color: var(--ecu-text-accent);
    line-height: 1;
    text-shadow: 0 0 60px rgba(31, 134, 184, 0.35);
}

/* Card date */
.card__date {
    font-size: 0.8125rem;
}

/* Honeypot field - hidden from real users */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ==========================================================================
   Contact Form 7 — Dark Theme
   ========================================================================== */

.wpcf7-form .form-group,
.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ecu-text-secondary);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
    width: 100%;
    background: #1a1f2e;
    border: 1px solid var(--ecu-border);
    border-radius: var(--ecu-radius);
    padding: 12px 16px;
    color: var(--ecu-text-primary);
    font-family: var(--ecu-font-body);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--ecu-accent);
    box-shadow: 0 0 0 3px var(--ecu-accent-glow-soft);
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Contact-form submit = a non-buy action → teal (red reserved for buy CTAs).
   Teal-dark fill keeps white label ≥6.9:1. */
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
    background: var(--ecu-accent-strong);
    color: #fff;
    border: none;
    border-radius: var(--ecu-radius);
    padding: 14px 32px;
    font-family: var(--ecu-font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
    background: var(--ecu-teal);
    box-shadow: 0 4px 20px var(--ecu-accent-glow);
}

/* Validation error — danger red (intentional, 4.54:1 on dark). */
.wpcf7-not-valid-tip {
    color: var(--ecu-danger);
    font-size: 0.8125rem;
    margin-top: 4px;
    display: block;
}

.wpcf7-response-output {
    border-radius: var(--ecu-radius);
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 0.9375rem;
}

.wpcf7-mail-sent-ok {
    border: 1px solid #22c55e;
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
}

/* Error response box — danger red is intentional. */
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked,
.wpcf7-validation-errors {
    border: 1px solid var(--ecu-danger);
    background: rgba(230, 57, 70, 0.1);
    color: #fc8181;
}

/* ==========================================================================
   Dealers Page — Become a Dealer CTA
   ========================================================================== */

.dealer-search-intro {
    margin-bottom: 40px;
}

.dealer-search-intro__heading {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.dealer-search-intro__text {
    max-width: 600px;
}

.become-dealer-cta {
    background: var(--ecu-bg-secondary);
    border-top: 1px solid var(--ecu-border);
}

.become-dealer-cta__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    padding: 60px 0;
}

.become-dealer-cta__heading {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.become-dealer-cta__text {
    max-width: 560px;
    margin-bottom: 20px;
}

.become-dealer-cta__benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.become-dealer-cta__benefits li {
    padding-left: 20px;
    position: relative;
    color: var(--ecu-text-secondary);
    font-size: 0.9375rem;
}

.become-dealer-cta__benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background: var(--ecu-accent);
    border-radius: 50%;
}

.become-dealer-cta__action {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .become-dealer-cta__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0;
    }
}

/* ==========================================================================
   CRO Phase 1 — Announcement Bar, Trust Badges, BSN Comparison, Product Benefits
   ========================================================================== */

/* ------------------------------------------------------------------
   Announcement / CTA Bar
   ------------------------------------------------------------------ */
:root {
    /* Announcement bar removed — height collapses to 0 so the fixed header sits
       flush at the top and content padding resolves to just the header height. */
    --announcement-bar-height: 0px;
}


/* Site-wide urgency/promo bar — keeps red (Option A: urgency = red). */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--ecu-cta);
    color: #fff;
    overflow: hidden;
    max-height: 60px;
    transition: opacity 0.25s ease, max-height 0.35s ease;
}

.announcement-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 9px 16px;
    position: relative;
}

.announcement-bar__text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-bar__text svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.announcement-bar__divider {
    opacity: 0.5;
    margin: 0 4px;
}

.announcement-bar__cta {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--ecu-font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.announcement-bar__cta:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
}

.announcement-bar__close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.announcement-bar__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Push .site-header below the announcement bar */
.site-header {
    top: var(--announcement-bar-height, 40px);
}

/* Push body content down to account for both bars */
.site-main {
    padding-top: calc(72px + var(--announcement-bar-height, 40px));
}

/* Adjust for pages that use a hero that sits directly under the header */
.hero,
.bsn-hero {
    margin-top: 0;
}

@media (max-width: 600px) {
    .announcement-bar__text {
        font-size: 0.75rem;
    }

    .announcement-bar__divider,
    .announcement-bar__text svg:nth-child(4) {
        display: none;
    }
}

/* ------------------------------------------------------------------
   Trust Badge Strip — Homepage and product pages
   ------------------------------------------------------------------ */
.trust-badge-strip {
    background: var(--ecu-bg-secondary, #161b22);
    border-top: 1px solid var(--ecu-border, #30363d);
    border-bottom: 1px solid var(--ecu-border, #30363d);
    padding: 24px 0;
}

.trust-badge-strip--product {
    background: transparent;
    border: none;
    border-top: 1px solid var(--ecu-border, #30363d);
    padding: 20px 0 0;
    margin-top: 16px;
}

.trust-badge-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: center;
}

.trust-badge-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--ecu-bg-card, #1c2128);
    border: 1px solid var(--ecu-border, #30363d);
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color 0.2s ease;
}

.trust-badge-pill:hover {
    border-color: var(--ecu-accent, #1f86b8);
}

.trust-badge-pill svg {
    flex-shrink: 0;
    color: var(--ecu-cta);
}

.trust-badge-pill__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-badge-pill__title {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--ecu-text-primary, #e6edf3);
    line-height: 1.2;
}

.trust-badge-pill__sub {
    font-size: 0.6875rem;
    color: var(--ecu-text-secondary, #8b949e);
    line-height: 1.2;
}

/* Small variant — product page */
.trust-badge-pill--sm {
    padding: 10px 12px;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ecu-text-secondary, #8b949e);
    background: transparent;
    border-color: var(--ecu-border, #30363d);
}

.trust-badge-pill--sm svg {
    color: var(--ecu-text-secondary, #8b949e);
}

@media (max-width: 900px) {
    .trust-badge-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .trust-badge-strip__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .trust-badge-pill {
        padding: 10px 12px;
        gap: 8px;
    }

    .trust-badge-pill__sub {
        display: none;
    }
}

/* ------------------------------------------------------------------
   ECU-115: CRO Trust Signals — Product Page
   ------------------------------------------------------------------ */

/* Social proof rating badge (Google reviews) */
.product-social-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.product-social-proof__stars {
    display: flex;
    gap: 2px;
    line-height: 1;
}

.product-social-proof__text {
    font-size: 0.875rem;
    color: var(--ecu-text-secondary, #9ca3af);
}

.product-social-proof__text strong {
    color: var(--ecu-text-primary, #f0f6fc);
}

.product-social-proof__link {
    font-size: 0.8125rem;
    color: var(--ecu-accent-soft, #2e9ecb);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-social-proof__link:hover {
    color: var(--ecu-accent-bright, #5bbfe6);
}

/* Stock / availability pill */
.product-availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    margin: 8px 0;
}

.product-availability--in-stock {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.product-availability--low {
    color: #f97316;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

/* Payment method icons row */
.product-payment-methods {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--ecu-border, #30363d);
}

.product-payment-methods__label {
    font-size: 0.75rem;
    color: var(--ecu-text-secondary, #9ca3af);
    margin-right: 4px;
}

.product-payment-method-icon {
    display: inline-flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.product-payment-method-icon:hover {
    opacity: 1;
}

/* ------------------------------------------------------------------
   Product Key Benefits List
   ------------------------------------------------------------------ */
.product-key-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-key-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--ecu-text-secondary, #8b949e);
    line-height: 1.4;
}

.product-key-benefits li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ------------------------------------------------------------------
   Responsive Polish Pass
   ------------------------------------------------------------------ */

/* Vehicle Finder widget — full-width on mobile */
@media (max-width: 768px) {
    .vehicle-finder,
    .vehicle-finder__form,
    .vehicle-finder__selects {
        flex-direction: column;
        width: 100%;
    }

    .vehicle-finder__selects select,
    .vehicle-finder__submit {
        width: 100%;
        min-width: 0;
    }
}

/* Product grid — uniform card height */
.products .product,
.product-grid .product-card,
ul.products li.product {
    display: flex;
    flex-direction: column;
}

.products .product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
    flex: 1;
}

/* Prevent text/elements overflowing containers on narrow viewports */
@media (max-width: 390px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero__heading,
    .bsn-hero__heading {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }

    .hero__subheading {
        font-size: 1.2rem;
    }

    .bsn-hero__subheading {
        font-size: 0.9375rem;
    }

    .btn-lg {
        padding: 14px 22px;
        font-size: 0.9375rem;
    }

    .hero__actions {
        flex-direction: column;
        gap: 10px;
    }

    .bsn-hero__grid {
        grid-template-columns: 1fr;
    }

    /* Center the BSN buy box on mobile; the feature list becomes one centered
       column (never 2-up) with its ticks still left-aligned for readability. */
    .bsn-hero--circuit .bsn-hero__content {
        text-align: center;
    }
    .bsn-hero--circuit .bsn-hero__content .bsn-hero__logo-img {
        margin-left: auto;
        margin-right: auto;
    }
    .bsn-hero--circuit .bsn-features--compact {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }
    .bsn-hero__price,
    .bsn-hero__trust-trio {
        justify-content: center;
    }
    .bsn-hero__rating {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Cart and checkout — better spacing on mobile */
@media (max-width: 768px) {
    .woocommerce-cart .wc-proceed-to-checkout .checkout-button,
    .woocommerce form.checkout .woocommerce-checkout .button#place_order {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }

    .woocommerce-cart table.cart td,
    .woocommerce-cart table.cart th {
        padding: 10px 8px;
        font-size: 0.875rem;
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review {
        float: none;
        width: 100%;
    }
}

/* Single product — Add to Cart stays near top on mobile */
@media (max-width: 768px) {
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        float: none;
        width: 100%;
    }

    .woocommerce div.product div.summary {
        margin-top: 20px;
    }

    .single_add_to_cart_button {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }
}

/* 768px — iPad */
@media (max-width: 768px) {
    /* Multi-column grids always collapse straight to ONE column on mobile —
       never an awkward 2-up (e.g. the 3-step "How It Works"). */
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .bsn-hero__grid {
        grid-template-columns: 1fr;
    }

    /* Stacked hero: the image viewer is the primary content — full width. */
    .bsn-hero__image--carousel {
        position: static;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 375 / 390px — iPhone */
@media (max-width: 480px) {
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .bsn-hero--circuit .bsn-features--compact {
        grid-template-columns: 1fr;
    }

    .stats-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Section Tag
   ========================================================================== */

.section-tag {
    display: inline-block;
    font-family: var(--ecu-font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ecu-text-accent);
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 2px;
    background: var(--ecu-accent);
}

/* ==========================================================================
   Social Proof Strip
   ========================================================================== */

.bsn-social-proof-strip {
    background: var(--ecu-bg-secondary);
    border-top: 1px solid var(--ecu-border);
    border-bottom: 1px solid var(--ecu-border);
    padding: 32px 0;
}

.bsn-social-proof-strip__heading {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ecu-text-secondary);
    margin-bottom: 24px;
}

.bsn-social-proof-strip__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.bsn-social-proof-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.bsn-social-proof-strip__name {
    font-family: var(--ecu-font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--ecu-text-primary);
}

.bsn-social-proof-strip__detail {
    font-size: 0.75rem;
    color: var(--ecu-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bsn-social-proof-strip__thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--ecu-border);
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .bsn-social-proof-strip__logos {
        gap: 24px 32px;
    }
}

/* ==========================================================================
   BSN Ramble Idle Section
   ========================================================================== */

.bsn-ramble {
    background: var(--ecu-bg-primary);
    position: relative;
    overflow: hidden;
}

.bsn-ramble::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 134, 184, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.bsn-ramble .section-tag {
    color: var(--ecu-text-accent);
}

.bsn-ramble__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.bsn-ramble__intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--ecu-text-primary);
    margin-bottom: 32px;
}

.bsn-ramble__features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.bsn-ramble__feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.bsn-ramble__feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--ecu-accent-tint);
    border: 1px solid rgba(31, 134, 184, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bsn-ramble__feature-title {
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bsn-ramble__feature-text {
    color: var(--ecu-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.bsn-ramble__how-it-works {
    background: var(--ecu-bg-secondary);
    border: 1px solid var(--ecu-border);
    border-radius: var(--ecu-card-radius);
    padding: 24px;
    margin-bottom: 32px;
}

.bsn-ramble__subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ecu-text-accent);
    margin-bottom: 8px;
}

.bsn-ramble__explanation {
    color: var(--ecu-text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0;
}

.bsn-ramble__visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bsn-ramble__xy-pad {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #0c0c0c;
    background-image:
        repeating-linear-gradient(0deg,  transparent, transparent 23px, rgba(255,255,255,0.045) 23px, rgba(255,255,255,0.045) 24px),
        repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(255,255,255,0.045) 23px, rgba(255,255,255,0.045) 24px);
    border: 1px solid var(--ecu-border);
    border-radius: var(--ecu-card-radius);
    overflow: hidden;
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
}

.bsn-ramble__xy-pad.is-dragging { cursor: none; }

.bsn-ramble__limit-line {
    position: absolute;
    top: 18%;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1px dashed rgba(230, 57, 70, 0.65);
    pointer-events: none;
}

.bsn-ramble__limit-label {
    position: absolute;
    left: 8px;
    top: -18px;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(230, 57, 70, 0.8);
    font-family: var(--ecu-font-display);
}

.bsn-ramble__cross-h,
.bsn-ramble__cross-v {
    position: absolute;
    background: rgba(255,255,255,0.12);
    pointer-events: none;
}
.bsn-ramble__cross-h { top: 50%; left: 0; right: 0; height: 1px; }
.bsn-ramble__cross-v { left: 50%; top: 0; bottom: 0; width: 1px; }

.bsn-ramble__axis-label {
    position: absolute;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.35);
    font-family: var(--ecu-font-display);
    pointer-events: none;
}
.bsn-ramble__axis-label--top    { top: 6px;    left: 50%; transform: translateX(-50%); }
.bsn-ramble__axis-label--bottom { bottom: 6px; left: 50%; transform: translateX(-50%); }
.bsn-ramble__axis-label--left   { left: 6px;   top: 50%;  transform: translateY(-50%); }
.bsn-ramble__axis-label--right  { right: 6px;  top: 50%;  transform: translateY(-50%); }

.bsn-ramble__dot {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #39ff74;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px #39ff74, 0 0 20px rgba(57,255,116,0.4);
    pointer-events: none;
    transition: box-shadow 0.15s ease;
    z-index: 2;
}
.bsn-ramble__xy-pad.is-dragging .bsn-ramble__dot {
    box-shadow: 0 0 12px #39ff74, 0 0 32px rgba(57,255,116,0.6);
}

.bsn-ramble__canvas {
    display: block;
    width: 100%;
    height: 72px;
    border: 1px solid var(--ecu-border);
    border-radius: var(--ecu-card-radius);
    background: var(--ecu-bg-secondary);
}

.bsn-ramble__sound-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--ecu-accent);
    border-radius: var(--ecu-card-radius);
    color: var(--ecu-text-accent);
    font-family: var(--ecu-font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.bsn-ramble__sound-btn:hover {
    background: var(--ecu-accent-tint-strong);
    box-shadow: 0 0 16px var(--ecu-accent-glow-soft);
}
.bsn-ramble__sound-btn.is-playing {
    background: var(--ecu-accent-strong);
    color: #fff;
    box-shadow: 0 0 20px var(--ecu-accent-glow-soft);
}

.bsn-ramble__volume {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bsn-ramble__volume-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ecu-text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

.bsn-ramble__volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--ecu-border);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.bsn-ramble__volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--ecu-accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 6px var(--ecu-accent-glow-soft);
}
.bsn-ramble__volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--ecu-accent);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.bsn-ramble__volume-value {
    font-size: 0.75rem;
    color: var(--ecu-text-secondary);
    min-width: 32px;
    text-align: right;
    flex-shrink: 0;
}

.bsn-ramble__badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ecu-accent-tint);
    border: 1px solid rgba(31, 134, 184, 0.2);
    border-radius: var(--ecu-card-radius);
    padding: 16px 20px;
    font-size: 0.875rem;
    color: var(--ecu-text-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .bsn-ramble__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bsn-ramble__xy-pad {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================================================
   Technical Specifications Grid
   ========================================================================== */

.bsn-specs__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--ecu-border);
    border: 1px solid var(--ecu-border);
    border-radius: var(--ecu-card-radius);
    overflow: hidden;
}

.bsn-specs__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 24px;
    background: var(--ecu-bg-secondary);
}

.bsn-specs__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ecu-text-secondary);
}

.bsn-specs__value {
    font-family: var(--ecu-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ecu-text-primary);
}

@media (max-width: 1024px) {
    .bsn-specs__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .bsn-specs__grid {
        grid-template-columns: 1fr 1fr;
    }

    .bsn-specs__item {
        padding: 16px;
    }
}

/* ==========================================================================
   Competitor Comparison Table (BSN vs iDrive vs EVC)
   ========================================================================== */

.bsn-vs-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--ecu-card-radius);
    border: 1px solid var(--ecu-border);
}

.bsn-vs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.bsn-vs-table thead tr {
    background: var(--ecu-bg-tertiary);
}

.bsn-vs-table thead th {
    padding: 16px 20px;
    font-family: var(--ecu-font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ecu-text-primary);
    text-align: center;
    border-bottom: 2px solid var(--ecu-border);
}

.bsn-vs-table thead th:first-child {
    text-align: left;
}

/* BSN winner column — brand-win highlight, teal (Option A). */
.bsn-vs-table__winner {
    background: rgba(230, 57, 70, 0.12);
    color: var(--ecu-cta-light) !important;
    border-top: 2px solid var(--ecu-cta) !important;
    border-left: 2px solid var(--ecu-cta) !important;
    border-right: 2px solid var(--ecu-cta) !important;
}

.bsn-vs-table tbody tr {
    border-bottom: 1px solid var(--ecu-border);
    background: var(--ecu-bg-secondary);
}

.bsn-vs-table tbody tr:nth-child(even) {
    background: var(--ecu-bg-tertiary);
}

.bsn-vs-table tbody tr:last-child {
    border-bottom: none;
}

.bsn-vs-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

.bsn-vs-table tbody td {
    padding: 14px 20px;
    color: var(--ecu-text-secondary);
    font-size: 0.875rem;
    text-align: center;
    border-bottom: 1px solid var(--ecu-border);
}

.bsn-vs-table tbody td:first-child {
    text-align: left;
    color: var(--ecu-text-primary);
    font-weight: 500;
}

.bsn-vs-table tbody td:nth-child(2) {
    border-left: 2px solid var(--ecu-cta);
    border-right: 2px solid var(--ecu-cta);
    background: rgba(230, 57, 70, 0.06);
}

.bsn-vs-table tbody tr:last-child td:nth-child(2) {
    border-bottom: 2px solid var(--ecu-cta);
}

.bsn-vs-value {
    font-weight: 600;
    color: var(--ecu-text-primary);
}

.bsn-vs-value--winner {
    color: var(--ecu-cta-light);
    font-family: var(--ecu-font-heading);
    font-size: 1rem;
}

/* "Read All Google Reviews" CTA — red, overriding the teal ghost .btn-secondary
   (everything else stays teal-led). */
.btn.btn-reviews-cta {
    border-color: var(--ecu-cta);
    color: var(--ecu-cta-light);
}

.btn.btn-reviews-cta:hover {
    background: var(--ecu-cta);
    border-color: var(--ecu-cta);
    color: #fff;
}

.bsn-vs-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(63, 185, 80, 0.12);
    border: 1px solid rgba(63, 185, 80, 0.3);
    border-radius: 50%;
    color: var(--ecu-green);
}

/* Competitor "lacks feature" cross — negative marker, danger red (pairs with
   the green .bsn-vs-check). */
.bsn-vs-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(230, 57, 70, 0.08);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 50%;
    color: var(--ecu-danger);
}

@media (max-width: 767px) {
    /* Fit the whole comparison on one screen — no sideways-scroll box on any
       phone or small tablet. Fixed layout forces 4 columns into the viewport. */
    .bsn-vs-table-wrap {
        overflow-x: hidden;
    }

    .bsn-vs-table {
        table-layout: fixed;
        width: 100%;
        font-size: 0.7rem;
    }

    .bsn-vs-table thead th,
    .bsn-vs-table tbody td {
        padding: 8px 4px;
        font-size: 0.6875rem;
        letter-spacing: 0;
        word-break: break-word;
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    .bsn-vs-table thead th {
        text-transform: none;
        line-height: 1.2;
    }

    /* Feature label column wider; three product columns split the rest */
    .bsn-vs-table thead th:first-child,
    .bsn-vs-table tbody td:first-child {
        width: 40%;
        white-space: normal;
        line-height: 1.25;
    }

    .bsn-vs-table thead th:not(:first-child),
    .bsn-vs-table tbody td:not(:first-child) {
        width: 20%;
    }

    .bsn-vs-value--winner {
        font-size: 0.75rem;
    }

    .bsn-vs-check,
    .bsn-vs-cross {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   Product Image Gallery / Carousel
   ========================================================================== */

.bsn-product-gallery .section__heading {
    text-align: center;
}

.bsn-gallery__carousel {
    max-width: 900px;
    margin: 0 auto;
}

.bsn-gallery__main {
    position: relative;
    aspect-ratio: 1 / 1;
    /* No plate — the product shots are transparent PNG/WebP, so they float on the
       dark circuit hero behind them. */
    background: transparent;
    border-radius: var(--ecu-card-radius);
    overflow: hidden;
}

.bsn-gallery__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

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

.bsn-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    display: block;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.5));
}

.bsn-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(13, 17, 23, 0.75);
    border: 1px solid var(--ecu-border);
    border-radius: 50%;
    color: var(--ecu-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    z-index: 2;
}

.bsn-gallery__arrow:hover {
    background: var(--ecu-accent-strong);
    border-color: var(--ecu-text-accent);
}

.bsn-gallery__arrow--prev { left: 12px; }
.bsn-gallery__arrow--next { right: 12px; }

/* Hidden source thumbs used as image data by JS */
.bsn-gallery__thumbs {
    display: none;
}

/* 3-slot visible thumb window */
.bsn-gallery__thumb-window {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.bsn-gallery__thumb-slot {
    flex: 0 0 calc((100% - 16px) / 3);
    max-width: 120px;
    aspect-ratio: 1 / 1;
    border: 2px solid var(--ecu-border);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: var(--ecu-bg-secondary);
    padding: 0;
    transition: border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.55;
}

.bsn-gallery__thumb-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    display: block;
}

.bsn-gallery__thumb-slot:hover {
    border-color: var(--ecu-text-secondary);
    opacity: 0.8;
}

.bsn-gallery__thumb-slot.is-active {
    border-color: var(--ecu-text-accent);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .bsn-gallery__thumb-slot {
        max-width: 76px;
    }
}

/* ==========================================================================
   NZ Lifestyle Hero Backgrounds
   ========================================================================== */

/* Homepage hero — photo background replacing engine hologram */
.hero__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    animation: hero-img-fadein 1.2s ease-out both;
}

@keyframes hero-img-fadein {
    from { opacity: 0; transform: scale(1.03); }
    to   { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   NZ Statement Band — mid-page parallax section
   ========================================================================== */

.nz-statement-band {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.nz-statement-band__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

@supports (background-attachment: fixed) {
    .nz-statement-band--parallax .nz-statement-band__bg {
        /* Use CSS parallax where supported (not mobile Safari) */
    }
}

.nz-statement-band__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.nz-statement-band__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 60px 24px;
}

.nz-statement-band__heading {
    font-family: var(--ecu-font-display);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--ecu-text-primary);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    margin-bottom: 16px;
}

.nz-statement-band__text {
    font-size: 1.25rem;
    color: var(--ecu-text-secondary);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 24px;
}

.nz-statement-band__cta {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .nz-statement-band {
        min-height: 320px;
    }
    .nz-statement-band__heading {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    .nz-statement-band__text {
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   Homepage polish — tighter rhythm for the pared-back layout
   ========================================================================== */

.section__heading + .section__subheading {
    text-align: center;
    max-width: 56ch;
    margin: -32px auto 48px;
    color: var(--ecu-text-secondary);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    text-transform: none;
}

.why-choose__lead {
    margin: 0 0 32px;
    font-size: 1.0625rem;
    line-height: 1.65;
    max-width: 56ch;
}

.homepage-reviews__cta {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .section__heading + .section__subheading {
        margin: -24px auto 32px;
        font-size: 1rem;
        padding: 0 16px;
    }
    .why-choose__lead {
        margin-bottom: 24px;
    }
}

/* ==========================================================================
   BSN Hero — inline buy-box (vehicle picker replaces separate CTA buttons)
   ========================================================================== */

.bsn-hero__buy-box {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ecu-card-radius, 12px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* Land anchor scrolls (the mobile "Find My Vehicle" CTA and the comparison CTA)
   below the 72px fixed header so the Select Make dropdown isn't tucked under it. */
#vehicle-finder {
    scroll-margin-top: 90px;
}

.bsn-hero__buy-box .vehicle-finder {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* Flatten the inner shortcode wrapper — only the outer buy-box frames it */
.bsn-hero__buy-box .vehicle-finder__wrapper {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.bsn-hero__buy-box .vehicle-finder__title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: var(--ecu-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bsn-hero__buy-box .vehicle-finder__title-icon svg {
    width: 18px;
    height: 18px;
}

.bsn-hero__buy-box .vehicle-finder__subtitle {
    display: none;
}

.bsn-hero__buy-box .vehicle-finder__dropdowns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.bsn-hero__buy-box .vehicle-finder__select {
    padding: 11px 32px 11px 12px;
    font-size: 0.9375rem;
}

.bsn-hero__buy-box .vehicle-finder__result {
    margin-top: 14px;
    padding: 16px 14px;
    background: rgba(31, 134, 184, 0.08);
    border: 1px solid rgba(31, 134, 184, 0.25);
    border-radius: 10px;
    text-align: left;
}

.bsn-hero__buy-box .vehicle-finder__product {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    text-align: left;
}

.bsn-hero__buy-box .vehicle-finder__product-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.bsn-hero__buy-box .vehicle-finder__product-name {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    color: var(--ecu-text-primary);
}

.bsn-hero__buy-box .vehicle-finder__product-code {
    font-size: 0.8125rem;
    margin: 0;
}

.bsn-hero__buy-box .vehicle-finder__product-price {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 4px 0 0;
}

.bsn-hero__buy-box .vehicle-finder__afterpay {
    margin: 0;
}

.bsn-hero__buy-box .vehicle-finder__product-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.bsn-hero__buy-box #vf-add-to-cart {
    width: 100%;
    flex: none;
    padding: 15px 20px;
    font-size: 1.0625rem;
    font-weight: 700;
}

.bsn-hero__buy-fallback {
    font-size: 0.8125rem;
    margin: 12px 0 0;
    line-height: 1.5;
    text-align: center;
}

.bsn-hero__buy-fallback a {
    color: var(--ecu-text-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Prominent red "Find My Vehicle" CTA sitting directly under the dropdowns. */
.vehicle-finder__find {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 4px 0 2px;
    padding: 14px 20px;
    font-family: var(--ecu-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--ecu-red) 0%, var(--ecu-red-dark) 100%);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
    max-height: 80px;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.3s ease, max-height 0.35s ease, margin 0.3s ease, padding 0.3s ease;
}

/* Collapses out smoothly once a product result is shown, so Add to Cart is the
   only remaining button. JS toggles this class. Doubled class keeps it ahead of
   the later .vehicle-finder__find--inline padding rule. */
.vehicle-finder__find.vehicle-finder__find--hidden {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: none;
    pointer-events: none;
}

.vehicle-finder__find:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(230, 57, 70, 0.45);
}

.vehicle-finder__find:active {
    transform: translateY(0);
}

.vehicle-finder__find:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Compact (BSN buy-box) finder CTA: not full-width, centered, white magnifier
   icon; the heading + its magnifier are removed for this style. */
.vehicle-finder__find--inline {
    width: fit-content;
    min-width: 230px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 13px 30px;
}
.vehicle-finder__find-icon {
    flex-shrink: 0;
}

/* Brief highlight when Find is pressed with an incomplete selection. */
.vehicle-finder__select--nudge {
    outline: 2px solid var(--ecu-red);
    outline-offset: 1px;
    animation: vf-nudge 0.3s ease;
}

@keyframes vf-nudge {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
    .vehicle-finder__find { transition: none; }
    .vehicle-finder__select--nudge { animation: none; }
}

@media (max-width: 640px) {
    /* Fewer nested boxes on phones: the outer content panel becomes a full-bleed,
       lower-opacity band (edge to edge, small side padding), and the vehicle
       selector drops its own frame so only the result card reads as a box. */
    .bsn-hero--circuit .bsn-hero__content {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 22px 20px;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        background: rgba(7, 24, 35, 0.5);
        box-shadow: none;
    }
    .bsn-hero__buy-box {
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
        margin-top: 16px;
    }
    .bsn-hero__buy-box .vehicle-finder__dropdowns {
        grid-template-columns: 1fr;
    }
    .bsn-hero__buy-box .vehicle-finder__title {
        font-size: 0.8125rem;
    }
}

/* ==========================================================================
   Above-fold proof strip (homepage) — ★ rating bar under hero
   ========================================================================== */

.proof-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(13, 17, 23, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--ecu-text-primary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.proof-strip:hover {
    background: rgba(31, 134, 184, 0.08);
    color: var(--ecu-text-primary);
}

.proof-strip__stars {
    display: inline-flex;
    gap: 2px;
}

.proof-strip__text strong {
    font-weight: 700;
    margin-right: 4px;
}

.proof-strip__arrow {
    display: inline-flex;
    color: var(--ecu-text-accent);
    transition: transform 0.25s ease;
}

.proof-strip:hover .proof-strip__arrow {
    transform: translateX(4px);
}

@media (max-width: 480px) {
    .proof-strip {
        font-size: 0.875rem;
        gap: 8px;
        padding: 12px 16px;
    }
}

/* ==========================================================================
   Category card meta row — price anchor + "Shop now" link
   ========================================================================== */

.category-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.category-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--ecu-font-heading, inherit);
    letter-spacing: -0.01em;
}

.category-card__price::before {
    content: 'From ';
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ecu-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 6px;
    vertical-align: 1px;
}

@media (max-width: 480px) {
    .category-card__price { font-size: 1.125rem; }
    .category-card__price::before { font-size: 0.6875rem; }
}

/* ==========================================================================
   BSN hero — inline testimonial (below buy-box)
   ========================================================================== */

/* ==========================================================================
   Unified trust icon color — all checkmarks and trust ticks use the teal
   accent (was red; retinted for the teal-led theme). Consistent across hero
   trust trio and finder.
   ========================================================================== */

.bsn-hero__trust-trio svg {
    stroke: var(--ecu-accent) !important;
}

/* ==========================================================================
   Why Choose — founder image (crop into right-hand part of the photo)
   ========================================================================== */

.why-choose__image--founder img {
    object-fit: cover;
    object-position: 85% center;
    aspect-ratio: 3 / 2;
    width: 100%;
    height: auto;
}

/* ==========================================================================
   SKU cards — vehicle-named purchase rows on EGR / Ultra Boost landing pages
   ========================================================================== */

.sku-grid {
    gap: 16px;
}

.sku-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.sku-card:hover {
    border-color: var(--ecu-accent, #1f86b8);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Grouped model sections (EGR + Ultra Boost): one clear-cut vehicle image and a
   model heading per section, with that model's variants in a row below. */
.veh-group {
    margin-bottom: 44px;
}

.veh-group:last-of-type {
    margin-bottom: 0;
}

.veh-group__header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ecu-border);
}

.veh-group__image {
    flex-shrink: 0;
    width: 200px;
}

.veh-group__image img {
    display: block;
    width: 100%;
    height: auto;
}

.veh-group__title {
    margin: 0;
    font-family: var(--ecu-font-display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    color: var(--ecu-text-primary);
}

@media (max-width: 600px) {
    .veh-group__header {
        gap: 14px;
    }

    .veh-group__image {
        width: 130px;
    }
}

/* ==========================================================================
   Mobile overflow hardening — kills the horizontal side-scroll / scroll-boxes.
   (Adversarially reviewed; each rule targets a verified overflow source.)
   ========================================================================== */

/* The off-canvas mobile nav is translateX(100%) off-screen to the right, which
   adds document scroll width. Clip it at the scroll ROOT (<html>) so the page
   never side-scrolls, and position:sticky (hero image) stays unaffected. */
@media (max-width: 991px) {
    html {
        overflow-x: hidden;
    }
}

@media (max-width: 767px) {
    /* style.css sets .bsn-vs-table min-width:500px; the cram never unset it, so
       the table was clipped rather than fitting. Force it to fit the viewport and
       shrink padding/type so all four columns sit on one screen (no side-scroll). */
    .bsn-vs-table {
        min-width: 0;
        max-width: 100%;
        table-layout: fixed;
    }
    .bsn-vs-table th,
    .bsn-vs-table td {
        padding: 10px 5px;
        font-size: 0.72rem;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .bsn-vs-table thead th {
        font-size: 0.74rem;
        white-space: normal;
    }
    .bsn-vs-table th:first-child,
    .bsn-vs-table td:first-child {
        font-size: 0.72rem;
    }
    .bsn-vs-value {
        white-space: nowrap;
    }
}

@media (max-width: 600px) {
    /* Hero testimonial meta wraps instead of overflowing the narrow quote card. */
    .bsn-hero__quote-meta {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .bsn-hero__quote-source {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 768px) {
    /* Defensive: let Why-Choose children shrink and long words break. */
    .why-choose > * {
        min-width: 0;
    }

    .why-choose__lead,
    .why-choose__item {
        overflow-wrap: anywhere;
    }
}

.sku-card .card__title {
    font-size: 1.0625rem;
    line-height: 1.35;
    margin-bottom: 8px;
    min-height: 2.7em;
}

.sku-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ecu-text-primary);
    margin: 4px 0 14px;
    font-family: var(--ecu-font-heading, inherit);
}

.sku-card .cart {
    margin-top: auto;
}

/* Ultra Boost dealer-only treatment */
.sku-card__dealer-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ecu-text-secondary);
    margin: 4px 0 14px;
}

.ultraboost-dealer-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto 40px;
    padding: 16px 20px;
    background: rgba(31, 134, 184, 0.06);
    border: 1px solid rgba(31, 134, 184, 0.25);
    border-radius: var(--ecu-card-radius);
    color: var(--ecu-text-primary);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.ultraboost-dealer-note svg {
    flex-shrink: 0;
    color: var(--ecu-text-accent);
    margin-top: 2px;
}

/* ==========================================================================
   Mobile audit polish (2026-04-27)
   - Sub-menu visual hierarchy on mobile (SHOP > children)
   - Tap target floor (44×44 minimum)
   - SKU card grid on the smallest phones
   - Category card meta wrapping on narrow widths
   - Proof strip 2-line fallback for very narrow screens
   - 404 + checkout body padding
   ========================================================================== */

@media (max-width: 991px) {
    /* SHOP parent in mobile menu — make it read like a header above its
       children instead of feeling like a sibling link. */
    .site-nav__list .menu-item-has-children > a {
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.75rem;
        color: var(--ecu-text-secondary);
        padding-top: 18px;
        padding-bottom: 6px;
        border-bottom: 0;
        cursor: default;
    }

    .site-nav__list .menu-item-has-children > a:hover {
        color: var(--ecu-text-secondary);
    }

    .site-nav__list .sub-menu {
        padding: 0 0 12px 0;
        border-bottom: 1px solid var(--ecu-border);
        margin-bottom: 8px;
    }

    .site-nav__list .sub-menu .menu-item > a {
        font-size: 1rem;
        padding: 10px 0;
    }

    /* Tap-target floor for header cart + back-to-top */
    .header-cart {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }

    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Reviews grid on BSN — was already grid--3, but ensure single column on
       phones rather than the 2-col fallback grid--3 pattern uses at 768px. */
    .reviews-grid.grid--3 {
        grid-template-columns: 1fr;
    }

    /* Container padding on mobile — give the page edges breathing room */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 600px) {
    /* Stats bar — keep 2x2 but reduce gap so labels don't truncate */
    .stats-bar__grid {
        gap: 16px 12px;
    }

    .stats-bar__number {
        font-size: 2rem;
    }

    .stats-bar__label {
        font-size: 0.75rem;
    }

    /* Category card meta row — stack price above link if cramped */
    .category-card__meta {
        gap: 6px;
    }

    .category-card__price {
        font-size: 1.0625rem;
    }

    /* SKU cards — single column on small phones (was 2-col at 768) */
    .sku-grid.grid--3 {
        grid-template-columns: 1fr;
    }

    .sku-card .card__title {
        min-height: 0;
    }

    /* Proof strip — let the rating + text wrap to 2 lines on narrow screens */
    .proof-strip {
        flex-wrap: wrap;
        text-align: center;
        gap: 6px 10px;
    }

    /* BSN inline testimonial in hero — slightly smaller padding */
    .bsn-hero__quote {
        padding: 14px 16px 14px 40px;
    }

    .bsn-hero__quote-icon {
        top: 12px;
        left: 12px;
    }

    /* Hero CTAs — full-width stack on small screens */
    .hero__actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Trust badge pills — single column on the smallest screens */
    .trust-badge-strip__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Why Choose — image on top, content below, smaller image height */
    .why-choose__image img {
        max-height: 280px;
        object-fit: cover;
    }

    /* BSN trust trio — stack vertically, centered */
    .bsn-hero__trust-trio {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* Subheading on smallest screens */
    .hero__subheading {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Homepage reviews — Google-branded summary block
   ========================================================================== */

.homepage-reviews__summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: -24px 0 40px;
    color: var(--ecu-text-secondary);
    font-size: 1rem;
}

.homepage-reviews__stars {
    display: inline-flex;
    gap: 2px;
}

.homepage-reviews__rating-text strong {
    color: var(--ecu-text-primary);
    font-weight: 700;
    margin-right: 4px;
}

.homepage-reviews__google-logo {
    display: inline-flex;
    align-items: center;
    color: var(--ecu-text-secondary);
    padding: 4px 10px;
    border: 1px solid var(--ecu-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 600px) {
    .homepage-reviews__summary {
        gap: 8px 12px;
        font-size: 0.9375rem;
        margin-bottom: 28px;
    }

    .homepage-reviews__stars svg {
        width: 18px;
        height: 18px;
    }

    .homepage-reviews__google-logo svg {
        width: 60px;
        height: 20px;
    }
}

/* ==========================================================================
   Afterpay brand badge
   Built on the official kit's loop sticker (Apr 2026 brand assets).
   ========================================================================== */

.afterpay-badge {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
}

/* Pill variant — mint capsule with official loop icon + "afterpay" wordmark.
   Matches the standard "Afterpay" payment-method pill seen across retail. */
.afterpay-badge--pill {
    background: #B2FCE4;
    color: #000;
    padding: 3px 12px 3px 4px;
    border-radius: 999px;
    font-weight: 800;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    gap: 4px;
}

.afterpay-badge--pill .afterpay-badge__icon {
    flex-shrink: 0;
    display: block;
    width: var(--afterpay-icon-size, 22px);
    height: var(--afterpay-icon-size, 22px);
}

.afterpay-badge--pill .afterpay-badge__wordmark {
    font-size: calc(var(--afterpay-icon-size, 22px) * 0.65);
    line-height: 1;
}

/* Sticker variants — round badge only, sized to match icon-row contexts */
.afterpay-badge--sticker,
.afterpay-badge--sticker-dark {
    display: inline-block;
    border-radius: 50%;
}

/* Single-product page Afterpay note (under Add to Cart) */
.afterpay-single-badge {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--ecu-text-secondary);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.5;
}

.afterpay-single-badge strong {
    color: var(--ecu-text-primary);
    font-weight: 700;
}

/* Archive / loop card Afterpay note */
.afterpay-archive-badge {
    font-size: 0.75rem;
    color: var(--ecu-text-secondary);
    margin: 4px 0 8px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: center;
}

/* Inline pill in BSN hero / vehicle finder / landing pages — slightly smaller */
.bsn-hero__afterpay,
.vehicle-finder__afterpay,
.bsn-final-cta__afterpay {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.5;
}

.bsn-hero__afterpay .afterpay-badge--pill,
.vehicle-finder__afterpay .afterpay-badge--pill,
.bsn-final-cta__afterpay .afterpay-badge--pill {
    --afterpay-icon-size: 20px;
}

/* Footer / WC payment-icons row — official sticker, slightly smaller */
.payment-icon .afterpay-badge--sticker,
.product-payment-method-icon .afterpay-badge--sticker {
    width: 28px;
    height: 28px;
}

@media (max-width: 480px) {
    .afterpay-badge--pill {
        padding: 2px 9px 2px 3px;
    }
    .afterpay-badge--pill .afterpay-badge__icon {
        width: var(--afterpay-icon-size, 18px);
        height: var(--afterpay-icon-size, 18px);
    }
    .afterpay-badge--pill .afterpay-badge__wordmark {
        font-size: calc(var(--afterpay-icon-size, 18px) * 0.7);
    }
}

/* ============================================================
   ULTRA BOOST — app preview slideshow (page-ultra-boost.php)
   Landscape-phone frame + crossfade screenshots; icon links to
   Google Play. Teal glow tuned brighter than site accent for a
   device-screen feel. Scoped under .ub-app-section.
   ============================================================ */
.ub-app-section {
    --ub-teal: #2ad2e0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(130% 90% at 50% -10%, #131a24 0%, var(--ecu-bg-primary) 58%, #07090d 100%);
}
.ub-app-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
    background:
        repeating-linear-gradient(0deg, transparent 0 39px, rgba(42, 210, 224, 0.035) 39px 40px),
        repeating-linear-gradient(90deg, transparent 0 39px, rgba(42, 210, 224, 0.035) 39px 40px);
}

.ub-stage {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 40px);
    text-align: center;
    color: var(--ecu-text-primary);
}

/* ---- App link (icon + name -> Google Play) ---- */
.ub-applink {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ecu-text-primary);
    cursor: pointer;
    transition: transform 0.2s ease;
}
.ub-applink:hover,
.ub-applink:focus-visible {
    transform: translateY(-2px);
}
.ub-applink:focus-visible {
    outline: 2px solid var(--ub-teal);
    outline-offset: 8px;
    border-radius: 8px;
}
.ub-app-icon {
    width: clamp(84px, 12vw, 104px);
    height: auto;
    display: block;
    border-radius: 22px;
    box-shadow: 0 12px 34px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.2s ease;
}
.ub-applink:hover .ub-app-icon,
.ub-applink:focus-visible .ub-app-icon {
    box-shadow: 0 14px 38px -8px rgba(0, 0, 0, 0.75), 0 0 26px rgba(42, 210, 224, 0.45), 0 0 0 1px rgba(42, 210, 224, 0.55);
}
.ub-app-name {
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.ub-app-store {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ub-teal);
    transition: color 0.2s ease;
}
.ub-applink:hover .ub-app-store,
.ub-applink:focus-visible .ub-app-store {
    color: var(--ecu-text-primary);
}

/* ---- Phone ---- */
.ub-phone-wrap {
    position: relative;
    width: min(940px, 95vw);
}
.ub-underglow {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -28px;
    height: 78px;
    z-index: 0;
    background: radial-gradient(60% 100% at 50% 50%, rgba(42, 210, 224, 0.55), transparent 72%);
    filter: blur(28px);
    opacity: 0.6;
    pointer-events: none;
}
.ub-phone {
    position: relative;
    z-index: 1;
    padding: 14px;
    border-radius: 46px;
    background: linear-gradient(150deg, #20262f 0%, #12151b 46%, #0a0c10 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 46px 100px -34px rgba(0, 0, 0, 0.85),
        0 8px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 0 2px rgba(0, 0, 0, 0.4);
}
.ub-btn {
    position: absolute;
    top: -2px;
    height: 3px;
    border-radius: 3px;
    background: #23282f;
}
.ub-btn--power {
    right: 22%;
    width: 62px;
}
.ub-btn--vol {
    left: 24%;
    width: 100px;
}
.ub-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 32px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.ub-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.ub-slide.is-active {
    opacity: 1;
}
.ub-cam {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    z-index: 3;
    background: #05070a;
    box-shadow: inset 0 0 0 1px rgba(90, 120, 140, 0.35), 0 0 3px rgba(0, 0, 0, 0.6);
}
.ub-glare {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(118deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 20%, transparent 46%, transparent 80%, rgba(255, 255, 255, 0.05) 100%);
}

@media (prefers-reduced-motion: reduce) {
    .ub-slide,
    .ub-applink,
    .ub-app-icon {
        transition: none;
    }
}

/* ============================================================
   Dark ECU-pulse page header (About + Dealers)
   The trace-field canvas (z-index:0) is prepended by
   ecu-trace-field.js; a soft vignette (::after, z-index:1) sinks
   the edges; heading + subtitle sit above at z-index:2.
   ============================================================ */
.page-header--circuit {
    padding: 100px 0 64px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0e14;
    border-bottom: 1px solid var(--ecu-border);
}
.page-header--circuit::after {
    /* Replace the base 40px grid with a dark vignette that sits above the
       canvas (z-index:0) but below the content (z-index:2). */
    background: radial-gradient(ellipse 82% 74% at 50% 44%, transparent 40%, rgba(10, 14, 20, 0.66) 100%);
    background-size: auto;
    z-index: 1;
}
.page-header--circuit > .container {
    position: relative;
    z-index: 2;
}
.page-header--circuit .page-header__title {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.page-header--circuit .about-hero-subtitle,
.page-header--circuit .page-header__subtitle {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--ecu-text-secondary);
}
@media (max-width: 768px) {
    .page-header--circuit {
        padding: 76px 0 44px;
        min-height: 240px;
    }
}

/* ============================================================
   Boost Speed Next — wordmark logo as the hero H1
   The <h1> keeps alt="Boost Speed Next" for SEO; text metrics are
   stripped so only the transparent wordmark drives layout.
   Mirrors .hero__heading--logo (homepage brand lockup).
   ============================================================ */
.bsn-hero__heading--logo {
    font-size: 0;
    line-height: 0;
    letter-spacing: 0;
    margin: 0 0 8px;
    background: none;
}
.bsn-hero__logo-img {
    display: block;
    width: min(230px, 62%);
    height: auto;
}
@media (max-width: 991px) {
    .bsn-hero__logo-img {
        width: min(200px, 60%);
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================================
   Ultra Boost — per-vehicle dealer group
   One header (vehicle image + name), the model / engine variants
   tuned for that vehicle as chips, and a single red dealer CTA —
   every SKU routes to the same dealer fit-and-tune workflow.
   ============================================================ */
.veh-group--dealer {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 36px);
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--ecu-border);   /* separates each vehicle */
}
.veh-group--dealer:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.veh-group__media {
    flex: 0 0 auto;
    width: clamp(150px, 20vw, 220px);
}
.veh-group__media img {
    display: block;
    width: 100%;
    height: auto;
}
.veh-group__info {
    flex: 1 1 auto;
    min-width: 0;
}
.veh-group__info .veh-group__title {
    margin: 0 0 4px;
}
/* Models the vehicle is tuned for: one size down from the vehicle name, in the
   light-blue accent, on the line right below the name (not small chips). */
.veh-group__models {
    font-family: var(--ecu-font-display);
    font-size: clamp(1.15rem, 2.4vw, 1.6rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.05;
    color: var(--ecu-text-accent);
    margin: 0 0 16px;
}
.veh-group__dealer-btn {
    display: inline-flex;
}
@media (max-width: 600px) {
    .veh-group--dealer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .veh-group__media {
        width: min(200px, 46%);
    }
    .veh-group__dealer-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   Review card customer photo (sits at the top of the card) + equal-height
   layout so the name + "Verified Purchase" labels line up across all cards.
   ============================================================ */
.review-card__photo {
    margin: 0 0 16px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--ecu-border);
    background: var(--ecu-bg-primary);
}
.review-card__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Cards stretch to equal height (grid); the review text grows so the meta row
   and the Verified Purchase chip are pinned to the bottom and align. */
.review-card {
    display: flex;
    flex-direction: column;
}
.review-card .card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.review-card__text {
    flex: 1 1 auto;
}
.review-card__meta {
    margin-top: auto;
}
.review-card__verified {
    margin-top: 4px;
}

/* ============================================================
   BSN hero — compact Google rating (links to reviews section)
   Replaces the single inline testimonial. Yellow stars + small
   Google "G" + "Our reviews", scrolls to #bsn-reviews.
   ============================================================ */
.bsn-hero__rating {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 12px;
    margin: 0 0 6px;
    padding: 4px 0;
    text-decoration: none;
    color: var(--ecu-text-secondary);
}
.bsn-hero__rating:focus-visible {
    outline: 2px solid var(--ecu-accent);
    outline-offset: 3px;
    border-radius: 6px;
}
.bsn-hero__rating-stars {
    display: inline-flex;
    gap: 2px;
}
.bsn-hero__rating-stars svg {
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.45));
}
.bsn-hero__rating-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.bsn-hero__rating-g {
    display: block;
    flex-shrink: 0;
}
.bsn-hero__rating-label::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-left: 2px;
    opacity: 0.6;
}

/* ============================================================
   Ultra Boost widget — split layout (icon/link left, phone right),
   ~20% smaller phone, auto-cycle only (dots + arrows removed).
   ============================================================ */
.ub-stage--split {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 5vw, 60px);
    text-align: left;
    flex-wrap: wrap;
}
.ub-stage--split .ub-applink {
    flex: 0 0 auto;
    align-items: flex-start;
}
.ub-stage--split .ub-phone-wrap {
    flex: 0 1 auto;
    width: min(660px, 56vw);
}
@media (max-width: 860px) {
    .ub-stage--split {
        flex-direction: column;
        text-align: center;
    }
    .ub-stage--split .ub-applink {
        align-items: center;
    }
    .ub-stage--split .ub-phone-wrap {
        width: min(560px, 92vw);
    }
}

/* ============================================================
   EGR hero benefits — no panel behind them; bold + brighter so
   they read directly over the trace-field animation.
   (.bsn-hero.bsn-section--circuit-dark targets the EGR hero only,
   not the BSN .bsn-hero--circuit panel.)
   ============================================================ */
.bsn-hero.bsn-section--circuit-dark .bsn-hero__content {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}
.bsn-hero.bsn-section--circuit-dark .bsn-features__item {
    color: var(--ecu-text-primary);
    font-weight: 600;
    border-bottom: none;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}
.bsn-hero.bsn-section--circuit-dark .bsn-hero__subheading {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

/* ============================================================
   EGR page — per-vehicle collapsible options.
   <details open> by default (works with no JS and on desktop);
   ecushop-egr-collapse.js collapses them on mobile so buyers scroll
   vehicles, then tap one to reveal its cables + Add to Cart.
   ============================================================ */
.veh-group--collapsible {
    margin-bottom: 44px;
}
.veh-group--collapsible:last-of-type {
    margin-bottom: 0;
}
.veh-group__summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
}
.veh-group__summary::-webkit-details-marker {
    display: none;
}
.veh-group__summary .veh-group__header {
    flex: 1 1 auto;
    margin-bottom: 0;
}
.veh-group__summary-hint {
    display: none;
}
.veh-group__chevron {
    flex-shrink: 0;
    display: none;
    color: var(--ecu-text-accent);
    transition: transform 0.25s ease;
}
.veh-group--collapsible > .sku-grid {
    margin-top: 20px;
}

@media (min-width: 768px) {
    /* Desktop: always expanded, summary is inert (no accidental collapse). */
    .veh-group__summary {
        pointer-events: none;
    }
}

@media (max-width: 767px) {
    .veh-group__summary {
        cursor: pointer;
    }
    .veh-group__summary .veh-group__header {
        border-bottom: none;
        padding-bottom: 0;
    }
    .veh-group__summary-hint {
        display: inline;
        flex-shrink: 0;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--ecu-text-secondary);
    }
    .veh-group__chevron {
        display: block;
    }
    .veh-group--collapsible[open] .veh-group__chevron {
        transform: rotate(180deg);
    }
    .veh-group--collapsible[open] .veh-group__summary-hint {
        display: none;
    }
    .veh-group--collapsible > .sku-grid {
        margin-top: 14px;
    }
}

/* ============================================================
   Home category cards — per-product zoom (padding controls how
   much of the card the transparent render fills). Tuned per the
   product's own proportions.
   ============================================================ */
.category-card--bsn .category-card__image {
    padding: 20px 26px 74px;
}
.category-card--ub .category-card__image {
    padding: 34px 44px 84px;
}
.category-card--egr .category-card__image {
    padding: 32px 42px 82px;
}
.category-card--gauge .category-card__image {
    padding: 14px 46px 122px;
}

/* ============================================================
   BSN hero — Boost Speed Next wordmark centered above the product image
   (left column); the right column leads with "Boost Speed Next" (title) and
   "Throttle Controller" (subtext), both in the display header font (Teko).
   ============================================================ */
.bsn-hero__wordmark {
    text-align: center;
    margin-bottom: 18px;
}
.bsn-hero__wordmark img {
    display: block;
    width: min(180px, 43%);
    height: auto;
    margin: 0 auto;
}

/* Mobile-only above-the-fold CTA beneath the image selector — scrolls to the
   vehicle finder. Hidden on desktop where the finder is already visible. */
.bsn-hero__find-mobile {
    display: none;
}

@media (max-width: 640px) {
    /* Tighter gap above the wordmark on phones (was the 48px section padding). */
    .bsn-hero.bsn-hero--circuit {
        padding-top: 20px;
    }
    /* Reclaim vertical room: trim the preview image ~15% (thumb slots trimmed
       to match near their own rule). */
    .bsn-hero__image--carousel .bsn-gallery__main {
        max-width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
    /* Even spacing around the CTA: the hero grid row-gap (below it) is halved to
       20px, matched by a 20px margin above. Width/style come from the shared
       .vehicle-finder__find--inline classes so it matches the selector button. */
    .bsn-hero--circuit .bsn-hero__grid {
        gap: 20px;
    }
    .bsn-hero__find-mobile {
        display: flex;
        margin-top: 20px;
        margin-bottom: 0;
    }
}
/* Product title — big, the display header font, title-case (keeps the base
   white->teal gradient). */
.bsn-hero__heading--product {
    font-size: clamp(2.2rem, 4.6vw, 2.9rem);
    letter-spacing: 0.5px;
    text-transform: none;
    line-height: 1.02;
    margin: 0 0 2px;
}
/* Subtext — same display font, one size down, solid white. */
.bsn-hero__subheading--product {
    font-family: var(--ecu-font-display);
    font-size: clamp(1.3rem, 2.6vw, 1.65rem);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: var(--ecu-text-primary);
    margin: 0 0 14px;
}

