/*=============================================================================
 * KEY-LIX STYLESHEET
 * Refactored: 2026-02-04
 *
 * TABLE OF CONTENTS:
 * 1. CSS Custom Properties (:root)
 * 2. Reset & Base Styles
 * 3. Typography
 * 4. Layout Containers
 * 5. Navigation
 * 6. Hero Section
 * 7. Buttons & Links
 * 8. Forms
 * 9. Cards & Components
 * 10. Page Sections
 * 11. Products
 * 12. Dealer Locator
 * 13. Footer
 * 14. Utilities
 * 15. Media Queries (Consolidated)
 * 16. TO_DELETE (Zombie CSS - Pending Removal)
 *============================================================================*/


/*=============================================================================
 * 1. CSS CUSTOM PROPERTIES
 *============================================================================*/

:root {
    /* === BRAND COLORS === */
    --kl-yellow: #F7E300;
    --light-shade: rgb(247, 245, 240);
    --dark-shade: rgb(126, 48, 32);
    --dark-accent: rgb(86, 24, 4);
    --red-accent: rgb(200, 38, 42);
    --red-accent-dark: rgb(115, 16, 18);
    --blue-accent: rgb(43, 43, 43);
    --dark-text: #393939;
    --light-text: var(--light-shade);
    --gray-text: #555555;

    /* === NEUTRAL SCALE === */
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f5f5f5;
    --gray-200: #f4f4f4;
    --gray-300: #eee;
    --gray-400: #ddd;
    --gray-500: #ccc;
    --gray-600: #bbb;
    --gray-700: #999;
    --gray-800: #777;
    --gray-900: #333;

    /* === SEMANTIC COLORS === */
    --color-link: #007bff;
    --brown-dark: #230E1B;
    --brown-medium: rgb(49, 37, 27);
    --brown-text: rgb(81, 71, 63);

    /* === TYPOGRAPHY === */
    --ff-body: 'Barlow', sans-serif;
    --ff-heading: 'Barlow Condensed', var(--ff-body);
    --ff-accent: 'Alegreya SC', serif;
    --ff-alegreya: 'Alegreya', serif;

    /* === FONT SIZES (rem-based, 16px base) === */
    --fs-base: 1.1875rem;
    /* 19px */
    --fs-small: 0.9em;
    --fs-icon: 1.6875rem;
    /* 27px */
    --fs-h1-hero: 2.8125rem;
    /* 45px */
    --fs-h1-large: 4rem;
    /* 400% */
    --fs-h2: 1.8rem;
    --fs-h3: 1.3rem;
    --fs-h4: 1.5rem;

    /* === SPACING SCALE (rem-based) === */
    --space-xs: 0.3125rem;
    /* 5px */
    --space-sm: 0.625rem;
    /* 10px */
    --space-md: 0.9375rem;
    /* 15px */
    --space-lg: 1.25rem;
    /* 20px */
    --space-xl: 1.875rem;
    /* 30px */
    --space-2xl: 3.125rem;
    /* 50px */
    --space-3xl: 6.25rem;
    /* 100px */
    --space-4xl: 7.5rem;
    /* 120px */

    /* === LAYOUT === */
    --container-max: 88.75rem;
    /* 1420px */
    --container-narrow: 78.125rem;
    /* 1250px */
    --container-medium: 51.875rem;
    /* 830px */
    --container-small: 35.625rem;
    /* 570px */
    --nav-height: 5.625rem;
    /* 90px */
    --nav-height-sticky: 4.375rem;
    /* 70px */
    --nav-spacer-height: 5.625rem;
    /* 6.875rem 110px */

    /* === BORDER RADIUS === */
    --radius-sm: 0.3125rem;
    /* 5px */
    --radius-md: 0.625rem;
    /* 10px */
    --radius-lg: 0.9375rem;
    /* 15px */
    --radius-pill: 12.5rem;
    /* 200px */
    --radius-circle: 50%;

    /* === SHADOWS === */
    --shadow-sm: 0 2px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 3px 6px rgba(0, 0, 0, 0.8);
    --shadow-lg: 0 3px 10px rgba(0, 0, 0, 0.6);
    --shadow-text: 0px 2px 3px rgba(0, 0, 0, 1), 0px 4px 13px rgba(0, 0, 0, 0.7), 0px 9px 23px rgba(0, 0, 0, 0.2);
    --shadow-btn: 0px 2px 3px rgba(0, 0, 0, 0.5), 0px 4px 13px rgba(0, 0, 0, 0.2), 0px 9px 23px rgba(0, 0, 0, 0.2);

    /* === TRANSITIONS === */
    --transition-fast: 0.1s ease;
    --transition-medium: 0.25s ease;

    /* === HERO MASK === */
    --hero-mask-path: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 50' preserveAspectRatio='none'%3E%3Cpath d='M0,0C0,0 1400,0 1400,0L1400,48.097L1400,0C1400,25.291 1086.34,45.823 700,45.823C313.659,45.823 0,25.291 0,0Z' fill='black'/%3E%3C/svg%3E");
    --hero-curve-depth: 50px;

    /* === FOOTER MASK === */
    --footer-mask-path: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,70 V58 C140,54 240,60 380,42 C480,28 560,36 680,18 C760,6 860,0 960,10 C1060,20 1160,12 1260,26 C1340,36 1400,30 1440,38 V70Z' fill='black'/%3E%3C/svg%3E");
    --footer-ridge-height: 55px;
}


/*=============================================================================
 * 2. RESET & BASE STYLES
 *============================================================================*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
}

html {
    background-color: var(--light-shade);
    background-attachment: fixed;
}

body {
    color: var(--gray-text);
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    font-weight: 600;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--gray-100);
}

::-webkit-scrollbar {
    width: 0.75rem;
    background-color: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: var(--gray-text);
}


/*=============================================================================
 * 3. TYPOGRAPHY
 *============================================================================*/

h1,
h2,
h3,
h4,
h5 {
    /* Base heading styles */
}

h1,
h4,
h5 {
    font-weight: 300;
    margin-top: 0;
    margin-bottom: var(--space-lg);
    color: var(--white);
    word-spacing: 3px;
    letter-spacing: 1px;
}

h1,
h5 {
    font-size: 400%;
    font-family: var(--ff-script);
    text-shadow: var(--shadow-text);
}

h1.brown {
    margin-bottom: 0px;
    margin-top: var(--space-xl);
    color: var(--brown-text);
    text-shadow: none;
    font-size: 350%;
}

h1.red {
    color: var(--gray-text);
    text-shadow: none;
}

h1.red:after {
    display: block;
    height: 2px;
    background-color: var(--red-accent);
    content: "  ";
    width: 150px;
    margin: 0 auto;
    margin-top: var(--space-xl);
}

h1.white {
    color: var(--white);
    text-shadow: none;
}

img.white:after,
h1.white:after,
h1.shadow-bar:after {
    display: block;
    height: 2px;
    background-color: var(--white);
    content: "  ";
    width: 150px;
    margin: 0 auto;
    margin-top: var(--space-xl);
}

h2,
h3 {
    font-weight: 500;
    letter-spacing: 0px;
}

h2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: var(--space-xl);
}

h2:after {
    display: block;
    height: 2px;
    background-color: var(--red-accent);
    content: "  ";
    width: 150px;
    margin: 0 auto;
    margin-top: var(--space-xl);
}

h3 {
    font-family: var(--ff-accent);
    font-size: 130%;
    font-weight: 700;
    margin-bottom: var(--space-md);
    margin-top: var(--space-md);
    color: var(--white);
}

h3.h3add:after,
h3.h3foot:after {
    display: block;
    height: 2px;
    content: "  ";
    width: 150px;
    margin: 0 auto;
}

h3.h3add:after {
    background-color: var(--red-accent);
    margin-top: var(--space-xl);
}

h3.h3foot:after {
    background-color: var(--white);
    margin-top: var(--space-sm);
}

h4 {
    font-size: 150%;
    color: inherit;
}

/* Paragraphs */
p#copy {
    font-size: 70%;
    padding: var(--space-md) 0;
}

.long-copy {
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    text-align: justify;
}

.box p {
    font-size: 90%;
    line-height: 145%;
    text-align: center;
    color: var(--white);
}

.section-products .box p,
.section-products .box h3 {
    color: var(--gray-text);
}

.bold {
    color: var(--gray-text);
    font-weight: bold;
}

.description,
.ingredients {
    text-align: justify;
}


/*=============================================================================
 * 4. LAYOUT CONTAINERS
 *============================================================================*/

/* Legacy .row class removed - Grid.css migration complete */

.third-row {
    max-width: var(--container-medium);
    margin: 0 auto;
    text-align: center;
}

.half-row {
    max-width: var(--container-small);
    margin: 0 auto;
    text-align: center;
}

/* Legacy .row-full and .row-width removed - Grid.css migration complete */

.newrow {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
}

.nav-spacer {
    width: 100%;
    height: var(--nav-spacer-height);
}

.content-container {
    padding: var(--space-4xl) 0;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
}

section {
    width: 100%;
}

section.tight {
    margin: 0 auto;
    padding: 0px;
}

.box {
    padding: 1%;
}


/*=============================================================================
 * 5. NAVIGATION
 *============================================================================*/

/* Nav Wrapper (Flexbox) - DO NOT MODIFY */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(1.5rem, 4vw, 5rem);
    height: 100%;
}

nav {
    position: absolute;
    width: 100%;
    background-image: url('/Assets/img/navbg.png');
    background-size: 150%;
    background-position: -100px;
    height: var(--nav-height);
}

.logo {
    height: 7.1875rem;
    width: auto;
    margin-top: var(--space-sm);
}

.logo-color {
    display: none;
    margin: var(--space-md) 0;
    /*height: var(--space-2xl);*/
    width: auto;
}

/* Main Nav (Flexbox) */
.main-nav {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-top: 10px;
}

.main-nav li {
    display: inline-block;

}

.main-nav li a:link,
.main-nav li a:visited {
    display: inline-flex;
    align-items: center;
    font-family: var(--ff-heading);
    color: var(--gray-text);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    font-weight: 600;
    line-height: 1;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom var(--transition-fast);
    transition: border-bottom var(--transition-fast);
}

.main-nav>li>a:hover,
.main-nav>li>a:active {
    border-bottom: 2px solid var(--red-accent);
}

/* Sticky Nav */
@keyframes nav-drop-in {
    from {
        transform: translateY(-8px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sticky {
    position: fixed;
    top: 0;
    left: auto;
    width: 100%;
    height: var(--nav-height-sticky);
    background-color: rgba(255, 255, 255, 1);
    z-index: 9999;
    animation: nav-drop-in 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Mobile: sticky nav is off-screen by default — slides in only on upward scroll.
   animation:none suppresses the desktop drop-in. */
@media (max-width: 1023px) {
    nav.sticky {
        transform: translateY(-100%);
        transition: none;
        animation: none !important;
    }

    nav.sticky.nav--visible {
        transform: none;
        transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

.sticky .main-nav {
    /* Vertical centering handled by .nav-wrapper align-items: center */
}

.sticky .main-nav>li>a:link,
.sticky .main-nav>li>a:visited {
    color: inherit;
    padding: 8px 0;
    text-shadow: none;
}

.sticky .logo-color {
    display: block;
}

.sticky .logo {
    display: none;
}

/* Mobile Nav */
.mobile-nav-icon {
    float: right;
    margin-top: 2.5rem;
    cursor: pointer;
    display: none;
}

.mobile-nav-icon i {
    font-size: 200%;
    color: var(--white);
}

/* Dropdown Mega-Menu */
.dropdown {
    position: relative;
}

.dropdown>a {
    gap: 4px;
}

.dropdown-caret {
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.dropdown-content.mega-menu {
    position: absolute;
    right: calc(-1 * var(--mm-offset-right, 0px));
    top: 100%;
    padding-top: 15px;
    z-index: 10000;
    width: max-content;
    max-width: calc(100vw - 2rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Invisible hover bridge — fills gap between nav link and dropdown panel */
.dropdown-content.mega-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
}

.dropdown:hover>.mega-menu,
.dropdown:focus-within>.mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-content.mega-menu.mega-menu--hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-6px) !important;
}

/* Arrow — pseudo-element centered under Products trigger */
.dropdown::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 10px;
    background: var(--white);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10001;
    transition: opacity 0.2s ease, visibility 0.2s;
}

.dropdown:hover::after,
.dropdown:focus-within::after {
    opacity: 1;
    visibility: visible;
}

/* Hide arrow when Escape-dismissed (JS fallback + :has()) */
.dropdown.dropdown--arrow-hidden::after,
.dropdown:has(.mega-menu--hidden)::after {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Inner grid panel */
.mega-menu__grid {
    display: grid;
    grid-template-columns: auto auto auto;
    background-color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-sm);
    padding: var(--space-xl) var(--space-2xl);
    gap: var(--space-xl);
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
}

/* Column dividers */
.mega-menu__column+.mega-menu__column {
    border-left: 1px solid var(--gray-400);
    padding-left: var(--space-xl);
}

/* Column headings */
.mega-menu__heading {
    font-family: var(--ff-heading);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--red-accent);
    margin: 0 0 var(--space-md) 0;
}

.mega-menu__heading a,
.mega-menu__heading a:link,
.mega-menu__heading a:visited {
    color: var(--dark-text);
    text-decoration: none;
    border-bottom: none;
    transition: color var(--transition-fast);
}

.mega-menu__heading a:hover {
    color: var(--red-accent-dark);
}

/* Product lists */
.mega-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu__list li {
    display: block;
    width: 100%;
    margin: 0;
}

.mega-menu__list li a,
.mega-menu__list li a:link,
.mega-menu__list li a:visited {
    display: block;
    font-family: var(--ff-body);
    font-size: 0.85rem;
    color: var(--gray-text);
    text-decoration: none;
    padding: 3px 0;
    border-bottom: none;
    text-transform: none;
    font-weight: 400;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.mega-menu__list li a:hover,
.mega-menu__list li a:focus {
    color: var(--red-accent);
    border-bottom: none;
    transform: translateX(3px);
}

/* Tubs column: 2-column flow (top-to-bottom, then next column) */
.mega-menu__list--two-col {
    column-count: 2;
    column-gap: var(--space-md);
}

/* Semantic Nav Classes */
.nav-brand-logo {
    height: var(--nav-height-sticky);
    margin-top: var(--space-sm);
}

.nav-sticky-logo {
    height: var(--space-2xl);
    margin-top: var(--space-sm);
}

/* Mobile overlay — hidden on desktop, activated in queries.css */
.mobile-menu-overlay {
    display: none;
}

body.mobile-menu-open {
    overflow: hidden;
}


/*=============================================================================
 * 6. HERO SECTION
 *============================================================================*/

/* Hero (Flexbox) - DO NOT MODIFY */
.hero {
    font-family: var(--ff-body);
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: calc(var(--nav-height) + 2rem + 10vh);
    margin-bottom: -150px;
    z-index: 10;

    -webkit-mask-image: linear-gradient(black, black), var(--hero-mask-path);
    mask-image: linear-gradient(black, black), var(--hero-mask-path);
    -webkit-mask-size: 100% calc(100% - var(--hero-curve-depth)), 100% var(--hero-curve-depth);
    mask-size: 100% calc(100% - var(--hero-curve-depth)), 100% var(--hero-curve-depth);
    -webkit-mask-position: top, bottom;
    mask-position: top, bottom;
    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/Assets/img/hero_img_p2.jpg);
    background-size: cover;
    filter: blur(0px);
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0) 80%);
    z-index: 0;
    pointer-events: none;
}

.blur-overlay {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.3);
    width: 100%;
    height: 100%;
}

/* Hero Content - DO NOT MODIFY */
.hero_content {
    background-color: transparent;
    text-align: center;
    padding: 2.5rem;
    border-radius: 0;
    width: 50%;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--ff-heading);
    font-size: clamp(1.5rem, 3.1vw, 3.5rem);
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: var(--black);
    text-shadow: none;
    white-space: nowrap;
}

.hero .btn-ghost:link,
.hero .btn-ghost:visited {
    color: var(--black);
    background-color: transparent;
    text-shadow: none;
    box-shadow: inset 0 0 0 4px var(--black), var(--shadow-btn);
}

.hero .btn-ghost:hover,
.hero .btn-ghost:active {
    background-color: var(--red-accent-dark);
    color: var(--white);
    box-shadow: inset 0 0 0 4px var(--red-accent-dark), var(--shadow-btn);
}

.hero h2 {
    padding: 0 1ch;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-family: var(--ff-heading);
    font-weight: 500;
    line-height: 1.4;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.hero h2:after {
    display: none;
}

/* Hero Wave SVG - REMOVED: Now using mask-image on .hero */

/* Hero Buttons (Flexbox) - DO NOT MODIFY */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Page Headers */
.header {
    max-height: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 66vh;
}

.background-image {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/*=============================================================================
 * 7. BUTTONS & LINKS
 *============================================================================*/

.btn:link,
.btn:visited,
button.btn,
.button-full,
.button-ghost,
input[type=submit] {
    display: inline-block;
    padding: 0.525rem 2.125rem;
    font-family: var(--ff-heading);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    -webkit-transition: background-color var(--transition-fast), border var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    transition: background-color var(--transition-fast), border var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    -webkit-box-shadow: var(--shadow-btn);
    box-shadow: var(--shadow-btn);
    text-shadow: var(--shadow-text);
    margin-top: var(--space-xs);
}

button:not(.btn) {
    background: none;
}

.btn-full:link,
.btn-full:visited,
button.btn-full,
.button-full,
input[type=submit] {
    background-color: var(--red-accent);
    border: 1px solid var(--red-accent);
    color: var(--white);
    margin-right: var(--space-sm);
}

.btn:hover,
.btn:active,
.button-full:hover,
input[type=submit]:hover,
input[type=submit]:active {
    background-color: var(--red-accent-dark);
    border: 1px solid var(--red-accent-dark);
    transform: translateY(-2px);
}

.btn-ghost:link,
.btn-ghost:visited,
.button-ghost {
    border: none;
    color: var(--white);
    background-color: transparent;
    box-shadow: inset 0 0 0 4px var(--white), var(--shadow-btn);
}

.btn-ghost:hover,
.btn-ghost:active,
.button-ghost:hover {
    color: var(--white);
    background-color: var(--red-accent-dark);
    border: none;
    box-shadow: inset 0 0 0 4px var(--red-accent-dark), var(--shadow-btn);
    transform: translateY(-2px);
}

.infoLinks,
p>a {
    color: var(--red-accent);
    font-size: 95%;
    text-decoration: none;
    border-top: 1px solid rgba(0, 0, 0, 0);
    border-left: 1px solid rgba(0, 0, 0, 0);
    border-right: 1px solid rgba(0, 0, 0, 0);
    border-bottom: 1px solid var(--red-accent);
    -webkit-transition: color var(--transition-fast), border var(--transition-fast);
    transition: color var(--transition-fast), border var(--transition-fast);
}

.infoLinks:hover,
p>a:hover {
    color: var(--red-accent-dark);
    border: 1px solid rgba(0, 0, 0, 0);
}

/* Tab Buttons */
.det {
    overflow: hidden;
    border-bottom: 2px solid var(--gray-400);
}

.det li {
    display: block;
    text-decoration: none;
}

.det button {
    background-color: var(--gray-200);
    float: left;
    border: none;
    outline: none;
    padding: var(--space-sm) 0.75rem;
    transition: var(--transition-medium);
    line-height: 18px;
    border: solid var(--gray-400);
    border-width: 1px 1px 0;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border-top: 3px solid var(--gray-text);
    color: var(--gray-text);
}

.det button:hover {
    background-color: var(--white);
}

.det button.active {
    font-weight: bold;
    background-color: var(--white);
    border-top: 3px solid var(--red-accent-dark);
}

.detContent {
    display: none;
    margin-top: 1.5625rem;
}


/*=============================================================================
 * 8. FORMS
 *============================================================================*/

/* Contact Form Container */
.contact-form-container {
    max-width: var(--container-medium);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.contact-form {
    width: 100%;
    margin: 0 auto;
}

.newsletter-form {
    width: 100%;
    margin: 0 auto;
}

.newsletter-form>input[type="email"] {
    border-radius: var(--radius-sm);
    padding: 7px;
    border: 1px solid var(--gray-500);
}

.newsletter-form>input[type="submit"] {
    border-radius: var(--radius-sm);
}

input[type=text],
input[type=email],
input[type=tel],
select,
textarea {
    padding: 0.75rem 1rem;
    margin: 0.3rem 0;
    display: inline-block;
    border: 1.5px solid var(--gray-400);
    border-radius: var(--radius-md);
    box-sizing: border-box;
    font-family: var(--ff-body);
    font-size: 1rem;
    color: var(--gray-900);
    background-color: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--red-accent);
    box-shadow: 0 0 0 3px rgba(200, 38, 42, 0.1);
}

textarea {
    resize: none;
}

.half-width {
    width: 49%;
}

.full-width {
    width: 100%;
}

.third-width {
    width: 32.5%;
}

input::placeholder,
textarea::placeholder {
    font-style: normal;
    color: var(--gray-700);
}

input[type=submit] {
    padding: 0.75rem 1.5625rem;
    display: inline-block;
    border: none;
    border-radius: var(--space-xl);
    background-color: var(--red-accent);
    color: var(--white);
    font-weight: bold;
}

input[type=submit]:hover {
    background-color: var(--red-accent-dark);
}

.section-form form {
    padding-top: var(--space-3xl);
}


/*=============================================================================
 * 9. CARDS & COMPONENTS
 *============================================================================*/

/* Icons */
.icon-big {
    font-size: 300%;
    display: block;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.social-icon {
    width: 30%;
    padding: var(--space-xl);
}

/* Tagline Logo */
.tagline-logo {
    align: center;
    width: 50%;
    -webkit-filter: drop-shadow(5px 2px 3px rgba(0, 0, 0, .8));
    filter: drop-shadow(2px 3px 3px rgba(0, 0, 0, .9));
}

/* (Old .testimonial-quote removed — now using .testimonial-card__quote) */

/* Sales Rep Cards */
.rep-card .rep-region {
    font-size: var(--fs-small);
    color: var(--gray-text);
    margin-top: var(--space-md);
    padding: 0 var(--space-sm);
}

.rep-box {
    --rep-pic-size: 150px;
    --rep-pic-overlap: calc(var(--rep-pic-size) / 2);
    width: 100%;
    background-color: whitesmoke;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--gray-600);
    box-shadow: 2px 3px 3px rgba(0, 0, 0, .6);
    text-align: center;
    margin-top: var(--rep-pic-overlap);
    position: relative;
    padding-top: var(--nav-height);
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
    padding-bottom: var(--space-lg);
}

.rep-pic {
    width: 9.375rem;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-circle);
    border: 3px solid var(--white);
    box-shadow: 3px 3px 3px rgba(0, 0, 0, .6);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rep-info h3 {
    margin-top: 0;
    color: var(--black);
}

.rep-email-btn {
    color: var(--gray-900);
    border: 3px solid var(--gray-text);
    font-weight: 500;
    box-shadow: none;
    text-shadow: none;
}

/* Jumbotron */
.jumbotron {
    max-width: var(--container-max);
    width: 100%;
    margin: var(--space-xl) auto var(--space-xl);
    height: 31.25rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.jumbotron--products {
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('/Assets/img/tub-banner2.jpg');
    background-size: cover;
    background-position: center;
}

@media (max-width: 767px) {
    .jumbotron--products {
        background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('/Assets/img/tub-banner2-mobile.jpg');
    }
}

.jumbotron--all-stars {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)), url('/Assets/img/all_star_hero.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.all-stars-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--tan);
    padding: 40px;
    border-radius: 8px;
}

/* Split Jumbotron (Homepage) */
.split-jumbotron {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-xl);
    height: 28.125rem;
}

.jb-half {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.jb-half:first-child {
    border-radius: var(--radius-lg) 0px 0px var(--radius-lg);
    float: left;
}

.jb-half:last-child {
    border-radius: 0px var(--radius-lg) var(--radius-lg) 0px;
    float: right;
}

.jb-half--healthier {
    background-image: url('/Assets/img/absquare.jpg');
}

.jb-half--licking {
    background-image: url('/Assets/img/licking.png');
    background-size: cover;
    background-position: center top;
}

/* Banner Content Layout (Flexbox) */
.banner-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: var(--space-xl);
}

.banner-content-inner {
    width: 50%;
    text-align: center;
}

.banner-content-inner .tagline-logo {
    width: 100%;
    padding: 0 10%;
}

.banner-buttons {
    text-align: center;
    margin-top: var(--space-md);
}

@media (max-width: 768px) {
    .jumbotron {
        border-radius: 0;
    }

    .banner-content {
        justify-content: center;
    }

    .banner-content-inner {
        width: 80%;
    }
}

/* Social Bar */
.social-bar {
    margin-top: var(--space-sm);
}

.social-bar a {
    font-size: 150%;
    color: var(--white);
    padding: 3px;
    -webkit-transition: color var(--transition-fast);
    transition: color var(--transition-fast);
}

.social-bar a:hover {
    color: var(--kl-yellow);
}

/* Subscribe Banner */
.subscribe-banner {
    background-color: var(--dark-accent);
    background-image: repeating-linear-gradient(135deg,
            rgba(255, 255, 255, 0.025) 0px,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px,
            transparent 40px);
    padding: var(--space-3xl) var(--space-xl);
}

.subscribe-banner__inner {
    max-width: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
}

.subscribe-banner__copy {
    flex: 0 0 auto;
    min-width: 0;
}

.subscribe-banner__headline {
    font-family: var(--ff-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 var(--space-xs);
    line-height: 1.1;
}

.subscribe-banner__subtext {
    font-family: var(--ff-body);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.45;
}

.subscribe-banner__form-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.subscribe-banner__input-group {
    display: flex;
    border-radius: var(--radius-pill);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.subscribe-banner__input-group input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-family: var(--ff-body);
    font-size: 0.84rem;
    outline: none;
    margin: 0;
    transition: border-color var(--transition-medium), background-color var(--transition-medium);
}

.subscribe-banner__input-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-style: normal;
}

.subscribe-banner__input-group input[type="email"]:focus {
    border-color: var(--kl-yellow);
    background: rgba(255, 255, 255, 0.1);
}

.subscribe-banner__input-group button {
    padding: 0.65rem 1.3rem;
    background-color: var(--red-accent);
    color: var(--white);
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--transition-fast);
    text-shadow: none;
    box-shadow: none;
}

.subscribe-banner__input-group button:hover {
    background-color: var(--red-accent-dark);
}

@media (max-width: 768px) {
    .subscribe-banner__inner {
        max-width: 90%;
        flex-direction: column;
        text-align: center;
    }

    .subscribe-banner__form-wrap {
        width: 100%;
    }
}

/* At-A-Glance List */
.aag-list li {
    list-style-type: none;
}

.aag-list i {
    margin-right: var(--space-sm);
    font-size: var(--fs-icon);
    position: relative;
    bottom: -3px;
}

.aag-list {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.aag-list li {
    text-align: left;
    padding: 1px;
}

.aag-list li:first-child {
    text-align: center;
}

.aag-list li:first-child p {
    font-family: var(--ff-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark-accent);
    margin-bottom: var(--space-sm);
}

.ingredients .right {
    float: right;
}


/*=============================================================================
 * 10. PAGE SECTIONS
 *============================================================================*/

.section-analysis {
    background-color: var(--white);
}

.section-products {
    background-color: var(--light-shade);
}

/* Highlights Bar — transition strip between hero and advantages */
.highlights-bar {
    background-color: var(--white);
    border-bottom: 3px solid var(--kl-yellow);
    padding-top: 150px; /* matches hero margin-bottom: -150px — pushes content below mask curve */
    padding-bottom: var(--space-xl);
    padding-inline: var(--space-lg);
    position: relative;
    z-index: 5; /* below hero z-index:10 so the hero mask curve reveals this section's background */
}

.highlights-bar__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg) var(--space-3xl);
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: var(--container-max);
    margin-inline: auto;
}

.highlights-bar__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ff-heading);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--dark-text);
    white-space: nowrap;
}

.highlights-bar__icon {
    font-size: 1.15rem;
    color: var(--dark-shade);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .highlights-bar__item {
        font-size: 0.95rem;
    }

    .highlights-bar__list {
        gap: var(--space-md) var(--space-xl);
    }
}

.section-advantages {
    background-image: url('img/advantages.jpeg');
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(203, 32, 63, 0.4)), to(rgba(203, 32, 63, 0.6))), url('img/advantages.jpeg');
    background-image: radial-gradient(rgba(203, 32, 63, 0.4), rgba(203, 32, 63, .6)), url('img/advantages.jpeg');
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 12rem;
}

.section-testimonials {
    background-color: var(--light-shade);
}

.section-form {
    background-color: var(--gray-200);
    padding-top: 0px;
}

.section-black {
    background-color: var(--dark-shade);
    padding: var(--space-3xl) 0;
}

.section-advantages--layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Advantages Section — Desktop two-column layout */
.section-advantages .content-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
}

/* Advantages Section */
.advantages-header {
    text-align: center;
    padding: var(--space-xl);
    flex: 0 0 50%;
}

.advantages-header img {
    width: 75%;
    max-width: 350px;
}

.advantages-header p {
    color: var(--white);
    margin-top: var(--space-xl);
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    padding: 0 var(--space-lg);
    flex: 1 1 50%;
}

.advantage-card {
    flex: 1 1 calc(50% - var(--space-lg));
    min-width: 0;
    max-width: calc(50% - (var(--space-lg) / 2));
    text-align: center;
    padding: 1%;
}

.advantage-card .icon-big {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card h3 {
    color: var(--white);
}

.advantage-card p {
    font-size: 90%;
    line-height: 145%;
    text-align: center;
    color: var(--white);
}

@media (max-width: 900px) {
    .section-advantages .content-container {
        flex-direction: column;
    }

    .advantages-header {
        flex: 0 0 auto;
    }

    .advantages-header img {
        width: 30%;
        max-width: 200px;
    }

    .advantages-header p {
        width: 75%;
    }

    .advantages-grid {
        flex: 0 0 auto;
    }
}

@media (max-width: 500px) {
    .advantages-grid {
        gap: var(--space-md);
        padding: 0 var(--space-md);
    }

    .advantage-card {
        flex: 1 1 calc(50% - var(--space-md));
        min-width: 0;
        max-width: calc(50% - (var(--space-md) / 2));
    }
}

/* Testimonials Section */
.section-testimonials {
    /* Subtle gradient background to make glassmorphism pop */
    background: linear-gradient(135deg, var(--light-shade) 0%, #e8e6e1 100%);
    position: relative;
    overflow: hidden;
    padding: var(--space-2xl) 0;
}

/* Add a decorative background element */
.section-testimonials::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(247, 227, 0, 0.1) 0%, rgba(247, 227, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* --- Desktop Grid Layout (40/60) --- */
.testimonials-desktop-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Approx 40% / 60% */
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.testimonials-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.testimonials-header {
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.success-stories-title {
    width: 100%;
    max-width: 400px;
    /* Filter to match var(--blue-accent) which is rgb(43, 43, 43) */
    /* Generated using https://codepen.io/sosuke/pen/Pjoqqp for #2b2b2b */
    filter: brightness(0) saturate(100%) invert(13%) sepia(0%) saturate(1%) hue-rotate(186deg) brightness(97%) contrast(89%);
    margin-bottom: var(--space-md);
}

.testimonials-video iframe {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.testimonials-left .btn {
    align-self: center;
}

/* --- Right Pane: Snake Slider --- */
.testimonials-right {
    overflow: hidden;
    /* Mask the marquee */
    position: relative;
}

.testimonial-marquee-wrapper {
    position: relative;
    padding: calc(var(--space-md) * 2 + 50px) max(0px, calc(50% - 396px)) var(--space-md);
}

.testimonial-marquee {
    display: flex;
    gap: 2rem;
    margin-bottom: var(--space-lg);
    width: 100%;
}

.testimonial-marquee__track {
    display: flex;
    gap: 2rem;
    width: max-content;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    /* padding removed for precise JS calculation */
}

/* --- Mobile Layout (Hidden by default on Desktop) --- */
.testimonials-mobile {
    display: none;
}

/* --- Navigation Arrows --- */
.testimonial-nav {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-md);
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    backdrop-filter: blur(5px);
}

.nav-arrow:hover {
    background: var(--kl-yellow);
    border-color: var(--kl-yellow);
    transform: scale(1.1);
}

/* Testimonial Card - Glass Kinetic Style (Compact for Grid) */
.testimonial-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 4px solid var(--kl-yellow);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    min-width: 320px;
    /* Slightly tighter for grid */
    max-width: 380px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.9);
    border-left-color: var(--red-accent);
}

.testimonial-card__quote {
    font-family: var(--ff-body);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark-text);
    margin: 0 0 var(--space-md);
    font-style: italic;
    position: relative;
    /* Clamp text to 4 lines */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Decorative quote mark */
.testimonial-card__quote::before {
    content: "“";
    font-family: var(--ff-heading);
    font-size: 3rem;
    color: var(--kl-yellow);
    position: absolute;
    top: -1.5rem;
    left: -0.75rem;
    opacity: 0.5;
    line-height: 1;
}

.testimonial-card__name {
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark-accent);
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: var(--space-sm);
}

.testimonial-card__location {
    font-family: var(--ff-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--red-accent);
    margin: 2px 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Mobile / Tablet Reponsive --- */
@media (max-width: 1024px) {
    .testimonials-desktop-grid {
        display: none;
    }

    .testimonials-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
        width: 100%;
        padding: 0 var(--space-md);
    }

    .testimonials-header-mobile {
        text-align: center;
        width: 100%;
    }

    /* Swiper Styling */
    .testimonials-mobile-swiper {
        width: 100%;
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .swiper-slide .testimonial-card {
        min-width: 0;
        max-width: none;
        width: 100%;
        min-height: 210px;
    }

    /* External pagination — consistent gap below the tallest card */
    .testimonials-mobile-pagination {
        text-align: center;
        margin-top: var(--space-md);
    }

    .swiper-pagination-bullet-active {
        background: var(--kl-yellow) !important;
    }

    /* Video — full width on mobile */
    .testimonials-mobile .testimonials-video {
        width: 100%;
    }

    .testimonials-mobile .testimonials-video iframe {
        height: 220px;
    }
}

.section-sales-reps {
    padding: var(--space-2xl) 0;
    background-color: var(--white);
}

/* Sales Reps Grid (Flexbox) */
.sales-reps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.rep-card {
    flex: 1 1 300px;
    max-width: 400px;
}

@media (max-width: 768px) {
    .rep-card {
        flex: 1 1 100%;
        max-width: 450px;
    }
}




/*=============================================================================
 * 11. PRODUCTS
 *============================================================================*/

/* Product Title Header */
.product_title {
    width: 100%;
    max-width: var(--container-max);
    background: url("/Assets/img/abstractbg.png");
    background-size: 100% auto;
    background-origin: bottom;
    padding: 3.4375rem var(--space-md) var(--space-md) var(--space-md);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.product_title p {
    font-family: var(--ff-accent);
    font-weight: 700;
    font-size: 2.5em;
    color: var(--dark-accent);
}

.spacer {
    width: 100%;
    max-width: var(--container-max);
    height: var(--space-md);
    background-color: var(--dark-shade);
    margin-left: auto;
    margin-right: auto;
}

/* Product Banner */
.product-banner {
    background-image: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), color-stop(rgba(0, 0, 0, 0.4)), color-stop(rgba(0, 0, 0, 0.0)), to(rgba(0, 0, 0, 0))), url('img/tub.jpg');
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0)), url('img/tub.jpg');
    height: 100vh;
    background-attachment: local;
}

/* Analysis Tables - Legacy (deprecated, kept for backwards compatibility) */
.analysis_left,
.analysis_right {
    /* Legacy classes - use .analysis-column instead */
}

table {
    width: 100%;
}

table,
th,
td {
    border: none;
    border-collapse: collapse;
}

.analysis table tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Legacy analysis classes removed - now using .analysis-column with flexbox */

th,
td {
    padding: var(--space-xs);
}

.an_value {
    text-align: right;
}

.an_name {
    text-align: left;
    white-space: nowrap;
}


.analysis-title {
    font-family: var(--ff-heading);
    font-size: 1.5625rem;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 3rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

.analysis--compact {
    font-size: 90%;
}

.product-analysis-padding {
    padding: var(--space-lg) 0 var(--space-3xl) 0;
}

.section-analysis--card {
    padding-bottom: var(--space-2xl);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: var(--space-2xl);
}

/* Product Details Layout (Flexbox) */
.product-details-layout {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    padding: var(--space-xl);
}

.product-sidebar {
    flex: 1 1 250px;
    max-width: 300px;
}

.product-main {
    flex: 2 1 400px;
}

@media (max-width: 768px) {

    .product-sidebar,
    .product-main {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .product-sidebar {
        order: 1;
    }

    .product-main {
        order: 2;
    }

    .product-details-layout {
        padding: var(--space-xl);
    }
}

@media (min-width: 769px) {

    .product-details-layout {
        gap: 0;
    }

    .product-sidebar {
        padding-right: var(--space-2xl);
        border-right: 1px solid var(--gray-400);
    }

    .product-main {
        padding-left: var(--space-2xl);
    }

    .product-main:first-child {
        padding-left: 0;
    }
}

/* Analysis Tables - Flexbox Refactor */
.analysis {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: 90%;
    margin: var(--space-sm) auto var(--space-xl);
}

.analysis-column {
    flex: 1 1 0;
    padding: 2px var(--space-sm);
    overflow-x: auto;
}

.analysis-column:first-child {
    border-right: 3px solid var(--gray-800);
}

@media (max-width: 768px) {
    .analysis {
        width: calc(100% + 2 * var(--space-xl));
        margin-left: calc(-1 * var(--space-xl));
        font-size: 0.82rem;
        overflow-x: auto;
    }
}

/* Canada Label Screenshot Styling */
.ca-label-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ca-label-wrapper {
    width: 66.66%;
    margin: var(--space-md) auto;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-400);
    overflow: hidden;
    background: var(--white);
}

.ca-label-image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .ca-label-wrapper {
        width: 100%;
    }
}

/* Product Grid (Flexbox replacement for 5-col grid) */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    max-width: var(--container-narrow);
    margin: 0 auto;
    text-align: center;
}

.product-grid-item {
    flex: 0 1 calc(20% - var(--space-md));
    min-width: 150px;
}

@media (max-width: 900px) {
    .product-grid-item {
        flex: 0 1 calc(33.33% - var(--space-md));
    }
}

@media (max-width: 600px) {
    .product-grid-item {
        flex: 0 1 calc(50% - var(--space-md));
    }
}


/*=============================================================================
 * 12. DEALER LOCATOR
 *============================================================================*/

.locator-container {
    display: flex;
    flex-direction: row;
    height: calc(100vh - var(--nav-height));
    width: 100%;
    overflow: hidden;
    contain: layout;
}

.dealer-search-controls {
    flex-shrink: 0;
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    background-color: var(--dark-shade);
    text-align: center;
}

.search-bar {
    display: flex;
    border-radius: var(--radius-pill);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    width: 100%;
}

#dealer-search-input {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-family: var(--ff-body);
    font-size: 0.84rem;
    outline: none;
    margin: 0;
    transition: border-color var(--transition-medium), background-color var(--transition-medium);
}

#dealer-search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-style: normal;
}

#dealer-search-input:focus {
    border-color: var(--kl-yellow);
    background: rgba(255, 255, 255, 0.1);
}

.search-bar button {
    padding: 0.65rem 1.3rem;
    background-color: var(--red-accent);
    color: var(--white);
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--transition-fast);
    text-shadow: none;
    box-shadow: none;
    flex-shrink: 0;
}

.search-bar button:hover {
    background-color: var(--red-accent-dark);
}

#dealer-use-location-button {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--kl-yellow);
    font-size: var(--fs-small);
    cursor: pointer;
    text-decoration: underline;
}

.dealer-map-pane {
    flex-grow: 1;
    height: 100%;
}

.dealer-list-pane {
    flex: 0 0 40%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dealer-search-title {
    font-family: 'Barlow Condensed', var(--ff-heading);
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 2rem);
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 var(--space-md) 0;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.dealer-search-title span {
    display: block;
    font-weight: 400;
    font-size: 0.7em;
    opacity: 0.8;
}

/* Mobile dealer card — hidden on desktop */
.dealer-mobile-card {
    display: none;
}

#dealer-list-scrollable {
    padding-top: var(--space-sm);
    flex-grow: 1;
    min-height: 0;
    overflow-y: auto;
    background-color: var(--white);
}

#dealer-map-canvas {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

/* Dealer List Items (AJAX-loaded - DO NOT MOVE TO TO_DELETE) */
.dealer-list-item {
    display: flex;
    align-items: flex-start;
    padding: var(--space-lg) var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-900);
    cursor: pointer;
    margin: var(--space-sm) var(--space-md);
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.dealer-list-item:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    border-color: var(--gray-600);
}

.dealer-list-item:focus-visible {
    outline: 2px solid var(--red-accent);
    outline-offset: 2px;
}

.dealer-list-item.active {
    border-color: var(--red-accent);
    box-shadow: 0 2px 8px rgba(176, 7, 7, 0.15);
}

.dealer-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-xs);
}

.dealer-list-item .dealer-name {
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--black);
    margin: 0;
}

.dealer-list-item .dealer-distance {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--red-accent);
    white-space: nowrap;
    margin-left: var(--space-sm);
}

.dealer-list-item .dealer-address,
.dealer-list-item .dealer-phone {
    margin: 2px 0;
    font-size: 1rem;
    color: var(--gray-text);
}

.dealer-phone-link,
.dealer-phone-link:link,
.dealer-phone-link:visited {
    color: inherit;
    text-decoration: none;
}

.dealer-phone-link:hover {
    text-decoration: underline;
}

.dealer-name-link:link,
.dealer-name-link:visited {
    color: inherit;
    text-decoration: none;
}

.dealer-name-link:hover {
    text-decoration: underline;
}

.dealer-item-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.dealer-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    font-family: var(--ff-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.dealer-action-link--directions {
    background-color: var(--red-accent);
    color: var(--white);
}

.dealer-action-link--directions:link,
.dealer-action-link--directions:visited {
    color: var(--white);
}

.dealer-action-link--directions:hover {
    background-color: var(--red-accent-dark);
    transform: translateY(-2px);
}

.dealer-action-link--website {
    border: 1.5px solid var(--red-accent);
    color: var(--red-accent);
    background: transparent;
}

.dealer-action-link--website:link,
.dealer-action-link--website:visited {
    color: var(--red-accent);
}

.dealer-action-link--website:hover {
    background-color: var(--red-accent);
    color: var(--white);
    transform: translateY(-2px);
}

.dealer-list-placeholder {
    padding: var(--space-lg);
    text-align: center;
    color: var(--gray-800);
}

/* Google Maps InfoWindow Overrides (Required) */
.gm-style .gm-style-iw-c {
    padding: var(--space-sm) !important;
}

.gm-style .gm-style-iw-d {
    overflow: auto !important;
}

.info-window-content h4 {
    margin: 0 0 var(--space-xs) 0;
    font-size: 1.1em;
}

.info-window-content p {
    margin: 3px 0;
    font-size: var(--fs-small);
}

/* Custom Map Pins (AJAX-generated - DO NOT MOVE TO TO_DELETE) */
.custom-map-pin {
    width: 1.75rem;
    height: 1.75rem;
    background-color: var(--red-accent);
    color: var(--white);
    border-radius: var(--radius-circle);
    border: 2px solid var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    font-weight: bold;
}

/* Dealer Item Number (AJAX-generated - DO NOT MOVE TO TO_DELETE) */
.dealer-item-number {
    width: 1.75rem;
    height: 1.75rem;
    min-width: 1.75rem;
    margin-right: var(--space-md);
    margin-top: 2px;
    background-color: var(--red-accent);
    color: var(--white);
    border-radius: var(--radius-circle);
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}


/*--- Product Browser V2 ---*/

/* --- Banner + Filter Dock Wrapper --- */
.prod-banner-wrap .jumbotron {
    margin-bottom: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.prod-banner-wrap .banner-content {
    justify-content: flex-start;
}

.prod-banner-wrap .tagline-logo {
    padding: 0 15%;
}

.prod-filter-dock {
    display: flex;
    justify-content: center;
}

.prod-filter-dock .prod-filter-nav {
    display: flex;
    width: 100%;
    max-width: var(--container-max);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.prod-filter-dock .prod-filter-btn {
    flex: 1;
    text-align: center;
}

.prod-browser {
    padding: var(--space-xl) 0 var(--space-3xl);
}

/* --- Category Filter Nav --- */
.prod-filter-nav {
    display: inline-flex;
    background: var(--dark-shade);
    border-radius: var(--radius-md);
    padding: 4px;
    gap: 3px;
    margin-top: 0;
    box-shadow: 0 8px 32px rgba(60, 15, 5, 0.45);
}

.prod-filter-btn {
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: calc(var(--radius-md) - 3px);
    background: transparent;
    color: rgba(255, 220, 200, 0.55);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.prod-filter-btn:hover {
    background: rgba(0, 0, 0, 0.18);
    color: rgba(255, 220, 200, 0.9);
}

.prod-filter-btn.is-active {
    background: var(--dark-shade);
    color: var(--white);
    box-shadow: 0 1px 8px rgba(86, 24, 4, 0.6);
}

/* --- Smart Table --- */
.prod-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--ff-heading);
    margin-bottom: var(--space-xl);
}

.prod-table__head {
    background-color: var(--gray-900);
    color: var(--white);
}

.prod-table__th {
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: left;
    padding: var(--space-md) var(--space-lg);
}

.prod-table__th--species {
    text-align: center;
    display: none;
}

.prod-table__row {
    border-bottom: 1px solid var(--gray-400);
    cursor: pointer;
    transition: all 0.2s ease;
}

.prod-table__row:nth-child(even) {
    /*background-color: var(--gray-100);*/
}

.prod-table__row:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.prod-table__row[data-hidden="true"] {
    display: none;
}

.prod-table__td {
    padding: 1.5rem var(--space-lg);
    vertical-align: middle;
}

/* Product name cell */
.prod-table__name-link {
    display: block;
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    color: var(--dark-text);
    text-decoration: none;
    line-height: 1.2;
    transition: color var(--transition-fast);
}

.prod-table__name-link:hover {
    color: var(--red-accent);
}

.prod-table__descriptor {
    display: block;
    font-family: var(--ff-heading);
    font-weight: 400;
    font-style: italic;
    font-size: 0.8rem;
    color: var(--gray-text);
    /* Updated for contrast */
    letter-spacing: 0.02em;
    margin-top: 3px;
}

/* Category badges */
.prod-badge {
    display: inline-block;
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.prod-badge--red {
    background-color: var(--blue-accent);
    color: var(--white);
}

.prod-badge--yellow {
    background-color: var(--kl-yellow);
    color: var(--gray-900);
}

.prod-badge--blue {
    background-color: var(--dark-shade);
    color: var(--white);
}

/* Species icons */
.prod-table__td--species {
    text-align: center;
    display: none;
}

.species-icons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    align-items: center;
}

.species-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-circle);
    background: rgba(0, 81, 151, 0.05);
    color: var(--gray-800);
}

.species-icon--dim {
    opacity: 0.2;
}

.species-svg {
    width: 28px;
    height: 28px;
}

/* --- Product Single Header (unified) --- */
.prod-single-header {
    background-color: var(--dark-shade);
    background-image: repeating-linear-gradient(135deg,
            rgba(255, 255, 255, 0.025) 0px,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px,
            transparent 14px);
    border-bottom: 4px solid var(--kl-yellow);
    padding: var(--space-lg) 0 var(--space-2xl);
}

.prod-single-header__inner {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.prod-single-header__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-lg);
    margin-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.prod-back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(247, 245, 240, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.prod-back-link:hover {
    color: var(--kl-yellow);
}

.prod-single-hero__name {
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.0;
    margin: 0;
}

.prod-single-hero__subtitle {
    font-family: var(--ff-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(247, 245, 240, 0.72);
    margin-top: var(--space-xs);
    letter-spacing: 0.02em;
}

.prod-browser__disclaimer {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-top: var(--space-lg);
}

/* --- Responsive: Smart Table --- */
@media (max-width: 1023px) {

    .prod-table__th--species,
    .prod-table__td--species {
        display: none;
        /* hide species column on tablet/mobile */
    }
}

@media (max-width: 600px) {

    /* Tighten the gap between filter nav and first card to match inter-card spacing */
    .prod-browser {
        padding-top: 0;
    }

    .prod-browser .content-container {
        padding-top: 5.5rem !important;
        /* ≈ 88px — overrides base 7.5rem */
    }

    /* Convert to block layout so rows become cards */
    .prod-table,
    .prod-table tbody,
    .prod-table__row,
    .prod-table__td {
        display: block;
        width: 100%;
    }

    /* Hide the column headers entirely */
    .prod-table thead {
        display: none;
    }

    /* Each row becomes a white card */
    .prod-table__row {
        background: white;
        border-radius: var(--radius-md);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        margin-bottom: 1rem;
        padding: 0;
        border-bottom: none;
        transform: none;
    }

    .prod-table__row:nth-child(even) {
        background: white;
    }

    .prod-table__row:hover {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
        transform: none;
    }

    .prod-table__td {
        padding: var(--space-md) var(--space-lg);
    }

    /* Name cell gets extra top padding as card "header" */
    .prod-table__td--name {
        padding-top: var(--space-lg);
        padding-bottom: var(--space-sm);
        border-bottom: 1px solid var(--gray-200);
    }

    /* Show category badge on mobile cards */
    .prod-table__td--category {
        display: block;
        padding-top: var(--space-sm);
        padding-bottom: var(--space-sm);
    }

    /* Re-hide species — overrides the .prod-table__td { display: block } rule above */
    .prod-table__td--species {
        display: none;
    }

    .prod-table__name-link {
        font-size: 1.1rem;
    }

    /* --- Filter bar: prevent overflow on narrow screens --- */
    .prod-filter-dock .prod-filter-btn {
        padding: 0.55rem 0.4rem;
        white-space: normal;
        line-height: 1.2;
    }

    /* --- Square banner on mobile --- */
    .prod-banner-wrap .jumbotron {
        margin-top: 0;
        border-radius: 0;
        height: auto;
        aspect-ratio: 4 / 3;
        background-position: center bottom !important;
    }

    .prod-banner-wrap .banner-content {
        justify-content: center;
        align-items: center;
        padding: var(--space-lg);
    }

    .prod-banner-wrap .banner-content-inner {
        width: 85%;
    }

    .prod-banner-wrap .tagline-logo {
        padding: 0 8%;
        width: 80%;
    }

    .prod-banner-wrap .banner-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .prod-banner-wrap .lockup-engine {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}


/* --- Dealer CTA Section (Become a Dealer + Sales Reps) --- */

.dealer-cta {
    margin-top: 0;
    background-image:
        linear-gradient(to right, rgba(20, 24, 28, 0.82) 0%, rgba(20, 24, 28, 0.7) 100%),
        url('/Assets/img/TubStack.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    min-height: 28rem;
}

/* Left pane — jumbotron promo content */
.dealer-cta__promo {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-md) var(--space-3xl) 4%;
    text-align: center;
}

.dealer-cta__logo {
    max-width: 22rem;
    width: 80%;
    margin-bottom: var(--space-xl);
}

.dealer-cta__promo-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

/* Right pane — semi-transparent overlay with rep cards */
.dealer-cta__reps-pane {
    flex: 1 1 55%;
    background: transparent;
    padding: var(--space-3xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dealer-cta__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    margin: 0 0 var(--space-xs);
    text-align: center;
}

.dealer-cta__subtitle {
    font-family: var(--ff-body);
    font-size: 1.1rem;
    color: rgba(247, 245, 240, 0.85);
    margin: 0 0 var(--space-xl);
    text-align: center;
}

.dealer-cta__reps {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    width: 100%;
}

.dealer-cta__rep-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    text-align: center;
    flex: 1 1 16rem;
    max-width: 22rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dealer-cta__rep-photo {
    width: 8rem;
    height: 8rem;
    border-radius: var(--radius-circle);
    object-fit: cover;
    margin-bottom: var(--space-sm);
    border: 3px solid var(--gray-300);
}

.dealer-cta__rep-name {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: 700;
    margin: 0 0 0.15rem;
    color: var(--gray-900);
}

.dealer-cta__rep-logo {
    display: block;
    width: 100%;
    height: auto;
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    object-fit: contain;
    box-sizing: border-box;
}

.dealer-cta__rep-title {
    font-family: var(--ff-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--red-accent);
    margin: 0 0 var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dealer-cta__rep-region {
    font-family: var(--ff-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    line-height: 1.45;
    margin: 0 0 var(--space-md);
}

.dealer-cta__rep-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: auto;
    flex-wrap: wrap;
    justify-content: center;
}

/* Mobile: stack panes vertically */
@media (max-width: 768px) {
    .dealer-cta {
        flex-direction: column;
        min-height: auto;
    }

    .dealer-cta__promo {
        padding: var(--space-2xl) var(--space-lg);
    }

    .dealer-cta__promo .lockup-engine {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .dealer-cta__reps-pane {
        padding: var(--space-xl) var(--space-md);
    }

    .dealer-cta__reps {
        flex-direction: column;
        align-items: center;
    }

    .dealer-cta__title {
        display: none;
    }

    .dealer-cta__rep-card {
        flex: 0 1 100%;
        max-width: 24rem;
    }
}


/*=============================================================================
 * 13. FOOTER
 *============================================================================*/

.site-footer {
    position: relative;
    z-index: 1;
    margin-top: calc(-1 * var(--footer-ridge-height));

    -webkit-mask-image: var(--footer-mask-path), linear-gradient(black, black);
    mask-image: var(--footer-mask-path), linear-gradient(black, black);
    -webkit-mask-size: 100% var(--footer-ridge-height), 100% calc(100% - var(--footer-ridge-height));
    mask-size: 100% var(--footer-ridge-height), 100% calc(100% - var(--footer-ridge-height));
    -webkit-mask-position: top, bottom;
    mask-position: top, bottom;
    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;
}

/* ── Ridge Divider — hidden, replaced by mask on .site-footer ── */
.footer-ridge {
    display: none;
}

/* ── Footer Body ── */
.footer-body {
    background: linear-gradient(175deg, rgba(255, 255, 255, 0.025) 0%, transparent 35%), var(--dark-shade);
    padding: calc(var(--footer-ridge-height) + var(--space-3xl)) 0 var(--space-2xl);
    position: relative;
}

.footer-body::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 80%;
    aspect-ratio: 1;
    background-color: var(--dark-accent);
    -webkit-mask-image: url('../img/footer-icon.svg');
    mask-image: url('../img/footer-icon.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: bottom left;
    mask-position: bottom left;
    z-index: 0;
    pointer-events: none;
}

/*=============================================================================
 * ACCESSIBILITY UTILITIES
 *============================================================================*/

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

.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    background: var(--dark-shade);
    color: var(--white);
    padding: var(--space-sm) var(--space-md);
    z-index: 99999;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--ff-heading);
    border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
    top: 0;
    left: 0;
    position: fixed;
}

/* ── Footer Grid ── */
.footer__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.3fr;
    gap: var(--space-2xl);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-2xl);
}

/* ── Brand Column ── */
.footer__col--brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer__logo {
    width: 200px;
    height: auto;
    margin-bottom: var(--space-lg);
    filter: brightness(1.05);
}

/*.footer__rule {
    width: 55px;
    height: 2px;
    background: var(--kl-yellow);
    margin-bottom: var(--space-lg);
}*/

.footer__address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--ff-body);
    font-size: 0.88rem;
    font-weight: 400;
    /*line-height: 1.75;*/
    margin-bottom: var(--space-sm);
}

.footer__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--ff-heading);
    letter-spacing: 0.03em;
    margin-bottom: var(--space-lg);
    transition: color var(--transition-medium);
}

.footer__phone:hover {
    color: var(--kl-yellow);
}

.footer__phone i {
    font-size: 0.8em;
}

/* ── Social Icons ── */
.footer__social {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-circle);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition-medium),
        border-color var(--transition-medium),
        background-color var(--transition-medium),
        transform var(--transition-medium);
}

.footer__social a:hover {
    color: var(--dark-shade);
    background-color: var(--kl-yellow);
    border-color: var(--kl-yellow);
    transform: translateY(-2px);
}

/* ── Footer Headings ── */
.footer__heading {
    font-family: var(--ff-accent);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0
        /*var(--space-lg)*/
    ;
    padding-bottom: var(--space-sm);
    /*border-bottom: 2px solid var(--kl-yellow);*/
    display: inline-block;
    width: auto;
}

/* Override global h3::after pseudo-element */
.site-footer .footer__heading::after {
    display: none;
}

/* ── Footer Links ── */
.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__links li {
    margin-bottom: 2px;
}

.footer__links a,
.footer__links a:link,
.footer__links a:visited {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 400;
    font-family: var(--ff-body);
    /*padding: 4px 0;*/
    display: inline-block;
    border-bottom: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer__links a:hover,
.footer__links a:focus {
    color: var(--kl-yellow);
    transform: translateX(3px);
}

/* ── Newsletter ── */
.footer__newsletter-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: var(--space-lg);
}

.footer__input-group {
    display: flex;
    border-radius: var(--radius-pill);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.footer__input-group input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-family: var(--ff-body);
    font-size: 0.84rem;
    outline: none;
    margin: 0;
    transition: border-color var(--transition-medium), background-color var(--transition-medium);
}

.footer__input-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-style: normal;
}

.footer__input-group input[type="email"]:focus {
    border-color: var(--kl-yellow);
    background: rgba(255, 255, 255, 0.1);
}

.footer__input-group button {
    padding: 0.65rem 1.3rem;
    background-color: var(--red-accent);
    color: var(--white);
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--transition-fast);
    text-shadow: none;
    box-shadow: none;
}

.footer__input-group button:hover {
    background-color: var(--red-accent-dark);
}

/* Subscribe form feedback — used on dark backgrounds (footer, homepage banner) */
.subscribe-msg {
    display: none;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.subscribe-msg--success {
    color: #7dcc7d;
}

.subscribe-msg--error {
    color: #ff8080;
}

/* ── Copyright Bar ── */
.footer__bottom {
    background-color: var(--dark-accent);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-2xl);
}

.footer__recaptcha {
    text-align: center;
}

/* Hide the floating reCAPTCHA badge — disclosure in footer satisfies Google ToS */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* ── Privacy Policy Page ── */
.privacy-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px var(--space-lg);
    font-family: var(--ff-body);
    color: var(--text-dark);
    line-height: 1.75;
}

.privacy-content h2 {
    color: var(--color-primary-dark);
    margin-top: 2.5rem;
    text-align: left;
}

.privacy-content h2:after {
    display: none;
}

.privacy-content h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
}

.privacy-toc {
    padding-left: 1.25rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    line-height: 2;
}

.privacy-toc a {
    color: var(--dark-accent);
    text-decoration: none;
}

.privacy-toc a:hover {
    text-decoration: underline;
}

.privacy-content code {
    font-family: monospace;
    font-size: 0.875em;
    background: rgba(0,0,0,0.05);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}

/* ── Cookie Consent Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-2xl);
    background-color: var(--light-shade);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.cookie-banner--visible {
    transform: translateY(0);
}

.cookie-banner--hidden {
    transform: translateY(100%);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-md);
        gap: var(--space-sm);
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: flex-end;
    }
}

.cookie-banner__text {
    flex: 1;
    margin: 0;
    font-family: var(--ff-body);
    font-size: 0.8rem;
    color: var(--gray-text);
    line-height: 1.5;
}

.cookie-banner__text a {
    color: var(--dark-accent);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cookie-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    font-family: var(--ff-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.cookie-banner__btn.cookie-banner__btn--accept {
    background-color: var(--red-accent);
    color: var(--white);
    border: none;
}

.cookie-banner__btn.cookie-banner__btn--accept:hover {
    background-color: var(--red-accent-dark);
    transform: translateY(-2px);
}

.cookie-banner__btn--decline {
    background-color: transparent;
    color: var(--red-accent);
    border: 1.5px solid var(--red-accent);
}

.cookie-banner__btn--decline:hover {
    background-color: var(--red-accent);
    color: var(--white);
    transform: translateY(-2px);
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--ff-body);
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.4;
}

.footer__credit {
    font-style: italic;
}

/* ── Screen-reader-only (footer) ── */
.site-footer .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Footer Responsive ── */
@media (max-width: 1023px) {
    .footer-body::before {
        display: none;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .footer__col--brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .footer__rule {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__social {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
        padding: 0 var(--space-lg);
        text-align: center;
    }

    .footer__col--brand,
    .footer__col--newsletter {
        grid-column: 1 / -1;
    }

    .footer__col--brand {
        align-items: center;
    }

    .footer__heading {
        text-align: center;
    }

    .footer__links {
        text-align: center;
    }

    .footer__links a:hover {
        transform: none;
    }

    .footer-body {
        padding: var(--space-3xl) 0 var(--space-xl);
    }

    .site-footer {
        --footer-ridge-height: 35px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
        padding: var(--space-md) var(--space-lg);
    }
}



.inline-vendor-img {
    height: var(--space-xl);
    margin-bottom: -6px;
}


/*=============================================================================
 * 15. UTILITIES
 *============================================================================*/

.text-center-mt15 {
    text-align: center;
    margin-top: var(--space-md);
}

.show-mobile {
    display: none;
}

.icon-check-green {
    color: green;
}


/*=============================================================================
 * 16. MEDIA QUERIES (Consolidated)
 *
 * These MUST remain at the bottom to correctly override earlier styles.
 *============================================================================*/

/* --- Large Desktop (max-width: 1090px) --- */
@media (max-width: 1090px) {
    /* Hero h1 now uses clamp() for fluid scaling */
}

/* --- Tablet (max-width: 768px) --- */
@media (max-width: 768px) {
    :root {
        --hero-curve-depth: 60px;
    }

    /* ── Dealer Locator: scroll-sticky map layout ── */
    .locator-container {
        display: flow-root;
        /* block layout + BFC: overrides flex, prevents margin-top collapse through container */
        contain: none;
        /* remove contain: layout from base — it creates an implicit scroll container */
        position: relative;
        height: calc(100vh + 200px);
        /* fallback */
        height: calc(100lvh + 200px);
        /* lvh = largest viewport (toolbar hidden) — stable, never shrinks */
        overflow: visible;
        /* must stay visible — any other value creates a scroll container */
        padding: 0;
    }

    /* Search controls: absolute overlay that scrolls off the top naturally */
    .dealer-list-pane {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        z-index: 2;
        width: 100%;
        max-height: none;
        overflow: visible;
        background: transparent;
        pointer-events: none;
    }

    /* Re-enable events on the actual interactive children */
    .dealer-list-pane .dealer-search-controls,
    .dealer-list-pane #dealer-list-scrollable {
        pointer-events: auto;
    }

    .dealer-search-controls {
        padding: var(--space-md) var(--space-md) var(--space-sm);
    }

    .dealer-search-title {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
        margin-bottom: var(--space-sm);
    }

    .dealer-search-title span {
        display: inline;
    }

    /* Hide the scrollable dealer list on mobile */
    #dealer-list-scrollable {
        display: none;
    }

    /* Map: absolute background filling the full container height — scrolls with page */
    .dealer-map-pane {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    /* ── Mobile dealer card: only in-flow element; margin-top sets initial peek position ── */
    .dealer-mobile-card {
        display: block;
        position: sticky;
        /* sticky lock: dvh tracks actual current viewport bottom as toolbar shows/hides */
        top: calc(100vh - 220px);
        /* px fallback (before JS runs) */
        top: calc(100dvh - var(--dealer-card-h, 220px));
        /* dvh PRIMARY */
        /* initial peek: svh = smallest viewport (toolbar visible) — never jumps when toolbar hides */
        margin-top: calc(100vh - var(--nav-spacer-height) - 185px);
        /* px fallback */
        margin-top: calc(100svh - var(--nav-spacer-height) - var(--dealer-card-peek-h, 185px));
        /* svh PRIMARY */
        z-index: 3;
        background: var(--white);
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
        padding: var(--space-lg) var(--space-md);
    }

    .dealer-mobile-card.is-visible {
        /* kept for JS compatibility; card is always in layout */
    }

    .dealer-mobile-card__header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: var(--space-xs);
    }

    .dealer-mobile-card__name {
        font-family: var(--ff-heading);
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--black);
        margin: 0;
    }

    .dealer-mobile-card__distance {
        font-weight: 700;
        color: var(--red-accent);
        font-size: 0.9rem;
        white-space: nowrap;
        margin-left: var(--space-sm);
    }

    .dealer-mobile-card__address,
    .dealer-mobile-card__phone {
        margin: 2px 0;
        font-size: var(--fs-small);
        color: var(--gray-text);
    }

    .dealer-mobile-card__actions {
        display: flex;
        gap: var(--space-sm);
        margin-top: var(--space-md);
    }

    .dealer-mobile-card__actions a {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.55rem 0.75rem;
        border-radius: var(--radius-pill);
        font-family: var(--ff-heading);
        font-size: 0.82rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        text-decoration: none;
        text-align: center;
        transition: background-color var(--transition-fast);
    }

    .dealer-mobile-card__action--directions {
        background-color: var(--red-accent);
        color: var(--white);
    }

    .dealer-mobile-card__action--directions:hover {
        background-color: var(--red-accent-dark);
    }

    .dealer-mobile-card__action--website {
        border: 2px solid var(--red-accent);
        color: var(--red-accent);
        background: transparent;
    }

    .dealer-mobile-card__action--website:hover {
        background-color: var(--red-accent);
        color: var(--white);
    }

    .dealer-mobile-card__nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        margin-top: var(--space-md);
        padding-top: var(--space-sm);
        border-top: 1px solid var(--gray-900);
    }

    .dealer-mobile-card__nav button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: var(--radius-circle);
        border: 1.5px solid var(--gray-600);
        background: var(--white);
        color: var(--dark-text);
        font-size: 1rem;
        cursor: pointer;
        transition: background-color var(--transition-fast), color var(--transition-fast);
    }

    .dealer-mobile-card__nav button:hover {
        background-color: var(--red-accent);
        border-color: var(--red-accent);
        color: var(--white);
    }

    .dealer-mobile-card__nav button:disabled {
        opacity: 0.3;
        cursor: default;
    }

    .dealer-mobile-card__counter {
        font-size: var(--fs-small);
        color: var(--gray-text);
    }
}

/* --- Mobile (max-width: 700px) --- */
@media (max-width: 700px) {
    :root {
        --hero-curve-depth: 25px;
        --nav-height: 3.75rem;
        --nav-height-sticky: 3.75rem;
        --nav-spacer-height: 3.75rem;
    }

    .nav-brand-logo {
        height: 2.5rem;
        margin-top: 0;
    }

    .nav-sticky-logo {
        height: 2.5rem;
        margin: 0;
    }

    .mobile-menu-overlay__logo {
        height: 2.5rem;
    }

    .hero {
        height: 68vh;
        align-items: flex-start;
        padding-top: calc(var(--nav-height) + 0.5rem);
        margin-bottom: -80px;
    }

    .hero::before {
        background-image: url(/Assets/img/hero_img_p2_mobile.jpg);
        background-position: 58% bottom;
    }

    .hero::after {
        background: radial-gradient(ellipse at center,
                rgba(255, 255, 255, 0.52) 0%,
                rgba(255, 255, 255, 0.35) 40%,
                rgba(255, 255, 255, 0.25) 85%);
    }

    .hero_content {
        width: 90%;
        max-width: 400px;
        padding: var(--space-lg);
        margin-left: 0;
    }

    .hero h1 {
        white-space: normal;
        font-size: clamp(1.5rem, 10vw, 2.5rem);
    }

    .hero-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.4rem;
    }

    /* Jumbotron banners: slim height on mobile */
    .jumbotron {
        height: auto;
        min-height: 220px;
    }

    .jumbotron .banner-content {
        width: 100% !important;
    }

    .jumbotron .banner-content-inner {
        width: 85% !important;
        max-width: none !important;
    }

    /* Advantages section: tighten vertical space and stack cards */
    .section-advantages {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .advantages-header p {
        width: 90%;
        margin-top: var(--space-md);
        font-size: 1rem;
        line-height: 1.6;
    }

    .advantages-grid {
        gap: var(--space-md);
        padding: 0 var(--space-md);
    }

    .advantage-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: var(--space-lg) var(--space-xl);
        background: rgba(255, 255, 255, 0.08);
        border-radius: var(--radius-md);
    }

    .advantage-card p {
        font-size: 1rem;
        line-height: 1.6;
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }

    .section-testimonials {
        padding: 1.5rem 0;
    }

    .hide-mobile {
        display: none;
    }

    .show-mobile {
        display: inline;
    }

    .dealer-locator-title .locator-layer-1 {
        margin-bottom: 12px;
        font-size: 13px;
    }

    .dealer-locator-title .locator-layer-3 {
        margin-top: 14px;
    }

    .jumbotron--all-stars {
        margin-top: 0;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
        justify-content: center;
    }

    .all-stars-form {
        padding: 24px 16px;
    }
}


/*=============================================================================
 * 18. DEALER PROFILE PAGE
 *============================================================================*/

.dealer-profile-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
}

.dealer-profile-info {
    background: var(--blue-accent);
    color: var(--light-shade);
    overflow-y: auto;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dealer-profile-name {
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.1;
    margin: 0;
}

.dealer-profile-address {
    font-style: normal;
    line-height: 1.6;
    opacity: 0.9;
}

.dealer-profile-phone {
    margin: 0;
}

.dealer-profile-phone-link {
    color: var(--light-shade);
    text-decoration: none;
    font-size: 1.1rem;
}

.dealer-profile-phone-link:hover {
    text-decoration: underline;
}

.dealer-profile-map {
    position: relative;
}

#dealer-profile-map-canvas {
    width: 100%;
    height: 100%;
}

.dealer-profile-back {
    margin: 0;
    align-self: flex-end;
}

.dealer-profile-back-link {
    color: var(--light-shade);
    opacity: 0.75;
    text-decoration: none;
    font-size: 0.9rem;
}

.dealer-profile-back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Mobile: info on top, map below */
@media (max-width: 1023px) {
    .dealer-profile-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .dealer-profile-map {
        order: 1;
        height: 50vh;
    }

    .dealer-profile-info {
        order: 0;
        padding: 2rem 1.25rem;
    }
}


/*=============================================================================
 * 19. 404 PAGE
 *============================================================================*/

.not-found-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    background-color: var(--blue-accent);
}

.not-found-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.not-found-heading {
    font-family: var(--ff-heading);
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 700;
    line-height: 1;
    color: var(--red-accent);
    margin: 0;
}

.not-found-message {
    font-size: 1.25rem;
    color: var(--light-shade);
    margin: 0;
}


/*=============================================================================
 * 20. CONTACT PAGE
 *============================================================================*/

/* Split layout — 40% map / 60% form, mirrors dealer-profile-layout */
.contact-split-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    height: calc(100vh - var(--nav-height));
}

.contact-split-map {
    position: relative;
}

#contact-hq-map {
    width: 100%;
    height: 100%;
}

.contact-split-form {
    background: var(--light-shade);
    overflow-y: auto;
    padding: var(--space-xl) var(--space-4xl);
    display: flex;
    align-items: center;
}

.contact-page-container {
    width: 100%;
}

.contact-page-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.contact-page-title {
    font-family: var(--ff-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--blue-accent);
    margin-bottom: var(--space-xs);
    text-shadow: none;
}

.contact-page-subtitle {
    color: var(--gray-text);
    font-size: 1rem;
}

/* Ghost switcher */
.contact-switcher {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.contact-switcher__btn {
    padding: 0.5rem 1.25rem;
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent;
    border: 2px solid var(--blue-accent);
    color: var(--blue-accent);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    box-shadow: none;
    text-shadow: none;
}

.contact-switcher__btn:hover,
.contact-switcher__btn.is-active {
    background-color: var(--blue-accent);
    color: var(--light-shade);
}

.contact-switcher__btn:hover:not(.is-active) {
    transform: translateY(-2px);
}

/* Form panels */
.contact-form-panel {
    display: none;
}

.contact-form-panel.is-active {
    display: block;
    animation: contactFadeIn 0.25s ease;
}

@keyframes contactFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Inline message */
.form-message {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    font-size: var(--fs-small);
}

.form-message--success {
    display: block;
    background: #eef7ee;
    border: 1px solid #b8ddb8;
    color: #2d7a2d;
}

.form-message--error {
    display: block;
    background: #fdeaea;
    border: 1px solid #f5b8b8;
    color: #a00;
}

/* Form inputs */
.contact-split-form .contact-page-form input[type="text"],
.contact-split-form .contact-page-form input[type="email"],
.contact-split-form .contact-page-form input[type="tel"],
.contact-split-form .contact-page-form select,
.contact-split-form .contact-page-form textarea {
    background-color: var(--white);
    width: 100%;
    display: block;
    margin: 0.3rem 0;
}

/* Row layout for side-by-side inputs */
.contact-page-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-page-row .half-width {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    width: auto;
}

.contact-page-row .third-width {
    flex: 1 1 calc(33.33% - 0.35rem);
    min-width: 0;
    width: auto;
}

.contact-page-either-note {
    font-size: var(--fs-small);
    color: var(--gray-text);
    margin: 0.1rem 0 0.4rem;
}

.contact-split-form .btn-full {
    width: 100%;
    margin-top: var(--space-md);
    text-align: center;
}

/* Mobile: map on top (40vh), form below — mirrors dealer profile */
@media (max-width: 1023px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .contact-split-map {
        height: 40vh;
        order: 2;
    }

    .contact-split-form {
        overflow-y: visible;
        padding: var(--space-xl) var(--space-md);
        order: 1;
    }


}


/*=============================================================================
 * 17. TO_DELETE (Zombie CSS - Pending Removal)
 *
 * These selectors appear UNUSED based on cross-reference analysis of:
 * - All .twig templates (17 files)
 * - All .php files (root + ajax/)
 * - All .js files (Assets/js/)
 *
 * INSTRUCTIONS BEFORE DELETION:
 * 1. Search entire codebase for each class
 * 2. Test site functionality after removal
 * 3. Remove in small batches with testing between each
 *
 * Last Audited: 2026-02-04
 *============================================================================*/

/*
 * --- ZOMBIE: Legacy Clearfix (modern flexbox/grid handles this) ---

.clearfix { zoom: 1; }
.clearfix:after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

 * --- ZOMBIE: Old Page Headers (not in active templates) ---

.main-header {
    background-image: -webkit-gradient(linear,left top, left bottom,from(rgba(64,204,255,.4)),to(rgba(64,204,255,.6))), url('img/hero.jpeg');
    background-image: radial-gradient(rgba(64,204,255,0.4),rgba(64,204,255,.6)), url('img/hero.jpeg');
    height: 70vh;
    max-height: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-header {
    background-image: -webkit-gradient(linear,left top, left bottom,from(rgba(0,0,0,.2)),to(rgba(0,0,0,.3))), url('img/tub-banner.jpg');
    background-image: radial-gradient(rgba(0,0,0,0.2),rgba(0,0,0,.3)), url('img/tub-banner.jpg');
    background-position: bottom;
}

.dealers-header {
    background-image: -webkit-gradient(linear,left top, left bottom,from(rgba(64,204,255,.4)),to(rgba(64,204,255,.6))), url('img/testimonial.jpeg');
    background-image: radial-gradient(rgba(64,204,255,0.4),rgba(64,204,255,.6)), url('img/testimonial.jpeg');
}

.about-header {
    background-image: -webkit-gradient(linear,left top, left bottom,from(rgba(64,204,255,.4)),to(rgba(64,204,255,.6))), url('img/about.jpg');
    background-image: radial-gradient(rgba(64,204,255,0.4),rgba(64,204,255,.6)), url('img/about.jpg');
    background-position: center;
    height: 70vh;
    max-height: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sponsor-header {
    background-image: -webkit-gradient(linear,left top, left bottom,from(rgba(0,0,0,0.4)),to(rgba(0,0,0,0))), url('img/sun.jpeg');
    background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0)), url('img/sun.jpeg');
}

 * --- ZOMBIE: Old Banners (not in active templates) ---

.advantage-banner {
    background-image: -webkit-gradient(linear, right top, left top, from(rgba(0,0,0,0.6)), color-stop(rgba(0,0,0,0.5)), color-stop(rgba(0,0,0,0.0)), to(rgba(0,0,0,0))), url('img/cow.JPG');
    background-image: linear-gradient(to left, rgba(0,0,0,0.6), rgba(0,0,0,0.5), rgba(0,0,0,0.0), rgba(0,0,0,0)), url('img/cow.JPG');
    height: 100vh;
    background-attachment: local;
}

.history-banner {
    background-image: -webkit-gradient(linear, right top, left top, from(rgba(0,0,0,0.5)), color-stop(rgba(0,0,0,0.4)), color-stop(rgba(0,0,0,0.0)), to(rgba(0,0,0,0))), url('img/history.JPG');
    background-image: linear-gradient(to left, rgba(0,0,0,0.5), rgba(0,0,0,0.4), rgba(0,0,0,0.0), rgba(0,0,0,0)), url('img/history.JPG');
    height: 110vh;
}

.vision-banner {
    background-image: -webkit-gradient(linear, right top, left top, from(rgba(0,0,0,0.5)), color-stop(rgba(0,0,0,0.4)), color-stop(rgba(0,0,0,0.0)), to(rgba(0,0,0,0))), url('img/cow.JPG');
    background-image: linear-gradient(to left, rgba(0,0,0,0.5), rgba(0,0,0,0.4), rgba(0,0,0,0.0), rgba(0,0,0,0)), url('img/cow.JPG');
    height: 110vh;
}

 * --- ZOMBIE: Old Positioning Classes (not in active templates) ---

.hero-text-box {
    position: absolute;
    width: 1140px;
    text-align: center;
    z-index: 0;
}

.banner-title {
    float: right;
    margin-right: 8%;
    margin-top: 25vh;
    text-align: center;
}

.row-middle {
    position: absolute;
    width: 1140px;
    top: calc(50% + 50px);
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

 * --- ZOMBIE: Old Container System (not in active templates) ---

.container-left {
    width: 33.3%;
    background-image: url(https://www.key-lix.com/Assets/css/img/cindy.jpg);
    background-size: cover;
    background-position: center;
}

.container-right {
    width: 66.6%;
    float: right;
    margin: 0px;
    padding: 50px 30px;
    text-align: center;
}

 * --- ZOMBIE: Old Section Backgrounds (not in active templates) ---

.section-intro {
    background-color: white;
}

.section-additives {
    background-color: #f4f4f4;
    border-bottom: 4px solid transparent;
    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.8);
    box-shadow: 0 3px 6px rgba(0,0,0,.8);
}

.section-mission {
    background-image: -webkit-gradient(linear,left top, left bottom,from(rgba(0,0,0,0.7)),to(rgba(0,0,0,0.7))), url('img/cutie.jpg');
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url('img/cutie.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 120vh;
}

.section-vision {
    background-image: -webkit-gradient(linear,left top, left bottom,from(rgba(0,0,0,0.4)),to(rgba(0,0,0,0.0))), url('img/cutie.jpg');
    background-image: radial-gradient(rgba(203,32,63,0.4),rgba(203,32,63,.6)), url('img/cows.jpeg');
    background-size: cover;
    background-position: center;
}

.section-family {
    background-color: #fff;
    background-image: url('img/paper.png');
}

.section-story {
    background-color: #fff;
    background-image: url('img/paper.png');
}

.section-into-future {
    background-color: #f4f4f4;
    background-image: url('img/paper.png');
}

 * --- ZOMBIE: Old Navigation/Footer (not in active templates) ---

.footer-nav {
    list-style: none;
    float: left;
}

.social-links {
    list-style: none;
    float: right;
}

.footer-nav li,
.social-links li {
    display: inline-block;
    margin-right: 20px;
    font-size: 90%;
}

.footer-nav li:last-child,
.social-links li:last-child {
    margin: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.social-links li a:visited {
    text-decoration: none;
    border: 0;
    color: #999;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active,
.social-links li a:hover,
.social-links li a:active {
    color: #ddd;
}

 * --- ZOMBIE: Old Component Styles (not in active templates) ---

.image-round {
    border-radius: 200px;
    width: 60%;
    margin-bottom: 20px;
}

.lix-category {
    text-align: center;
}

.hidden-lix-category {
    display: none;
}

.link-list {
    list-style: none;
}

.link-list li a:link,
.link-list li a:visited {
    color: #555;
    font-size: 90%;
    line-height: 145%;
    text-decoration: none;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.link-list li a:hover,
.link-list li a:active {
    text-decoration: none;
    color: #ae1b36;
}

.wide-copy {
    line-height: 145%;
    width: 90%;
    margin-left: 5%;
    text-align: justify;
}

.ico {
    margin-top: 55px;
}

.list li {
    text-decoration: none;
    list-style: none;
}

.display {
    display: block;
}

.contact-foot {
    color: white;
    background-image: url('img/brushed-alum-dark-lr.png');
    background-color: rgb(247,227,0);
    padding: 100px 0px 50px 0px;
}

.swiper-additives {
    width: 100%;
    height: 200px;
}

.ss-ad {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.vendor-logo {
    height: 60px;
}

.footer-logo {
    position: relative;
    width: 100%;
}

.active-ing {
    width: 75%;
    margin-right: auto;
    margin-left: auto;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 5px;
}

.tabcontent,
.infocontent {
    display: none;
}

.form-area {
    width: 60%;
}

.verify {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.jumbotron--dealers {
    margin-top: 50px;
    background-image: linear-gradient(rgba(0,0,0,0.25),rgba(0,0,0,0.25)), url('/Assets/img/TubStack.jpg');
    background-size: cover;
    background-position: center;
}

 * --- ZOMBIE: Animation Waypoint Classes (removed from templates) ---

.js-wp-1,
.js-wp-2,
.js-wp-3,
.js-wp-4 {
    opacity: 0;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.js-wp-1.animated,
.js-wp-2.animated,
.js-wp-3.animated,
.js-wp-4.animated {
    opacity: 1;
}

 * --- ZOMBIE: Commented Legacy Code (previously commented out) ---

 * Old .rep-box styles (lines 1009-1054) - SUPERSEDED by active version
 * Old .testimonial flexbox (lines 1068-1078) - No template reference
 * Old .testimonial p, h3 (lines 1099-1111) - No template reference
 * Old form input styles (lines 1120-1142) - SUPERSEDED by active version

*/

/*=============================================================================
 * CONTACT FORM REFACTOR (50/50 Split)
 *============================================================================*/

/* Section Wrapper */
.section-form-split {
    padding-bottom: 55px;
    position: relative;
    z-index: 0;
    width: 100%;
    margin: 0 auto;
}

/* Grid Layout */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

/* Panes */
.contact-left,
.contact-right {
    flex: 1 1 50%;
    box-sizing: border-box;
}

/* Left Pane */
.contact-left {
    background-color: var(--light-shade);
    padding: var(--space-4xl) var(--space-4xl) var(--space-4xl) var(--space-2xl);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
}

.contact-form-container-new {
    width: 100%;
    max-width: 600px;
}

/* Recommendation Title */
.recommendation-title.lockup-engine {
    width: 75%;
    margin: 0 auto var(--space-xl);
    color: var(--blue-accent);
}

.recommendation-title .brand-highlight {
    -webkit-text-stroke: 2px var(--blue-accent);
}

.title-line {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: var(--blue-accent);
    font-family: var(--ff-heading);
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 0.8;
}

.title-line-1 {
    font-size: 2.2vw;
}

.title-line-2 {
    font-size: 3.0vw;
}

/* Right Pane */
.contact-right {
    background: url('../img/absquare.jpg') no-repeat center center;
    background-size: cover;
    padding: var(--space-3xl) var(--space-xl);
    color: var(--dark-shade);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-right-content {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.contact-cow-img {
    width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.30));
}

/* Custom Checkbox */
.form-checkbox-group {
    margin: var(--space-md) 0;
    padding: 0;
    text-align: center;
}

.checkbox-container {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: var(--gray-text);
    line-height: 1.4;
    text-align: left;
    font-weight: 400;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid var(--gray-400);
    border-radius: 4px;
}

.checkbox-container:hover input~.checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--kl-yellow);
    border-color: var(--kl-yellow);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid var(--dark-shade);
    /* Dark Check mark on yellow */
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* FAQ Accordion */
.faq-accordion {
    background-color: var(--light-shade);
    border-radius: 4px;
    border-top: 3px solid var(--red-accent);
    padding: calc(80px + var(--space-lg)) var(--space-xl) var(--space-xl);
    margin-top: -80px;
    position: relative;
    z-index: 1;
}

.faq-accordion h3 {
    font-family: var(--ff-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-shade);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(126, 48, 32, 0.2);
}

.faq-accordion details {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-accordion details:last-child {
    border-bottom: none;
}

.faq-accordion summary {
    cursor: pointer;
    font-family: var(--ff-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    list-style: none;
    padding: var(--space-md) 1.75rem var(--space-md) 0;
    position: relative;
    color: var(--dark-text);
    line-height: 1.3;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-accordion summary:hover {
    color: var(--red-accent);
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

/* Rotating chevron */
.faq-accordion summary::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--dark-text);
    border-bottom: 2px solid var(--dark-text);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.faq-accordion details[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
    border-color: var(--red-accent);
}

.faq-accordion details[open] summary {
    color: var(--red-accent);
}

/* Answer content */
.faq-answer {
    font-family: var(--ff-body);
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--dark-text);
    padding-bottom: var(--space-md);
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer a {
    color: var(--red-accent);
    text-decoration: none;
}

/* Form overrides for split layout */
.section-form-split .contact-form input,
.section-form-split .contact-form select,
.section-form-split .contact-form textarea {
    background-color: var(--white);
}

.section-form-split .btn-full {
    width: 100%;
    margin-top: var(--space-sm);
    background-color: var(--red-accent);
    border-color: var(--red-accent);
    display: block;
    margin: var(--space-md) auto 0;
}

.section-form-split .btn-full:hover,
.section-form-split .btn-full:active {
    background-color: var(--red-accent-dark);
    border-color: var(--red-accent-dark);
}

/* Flexbox layout for the homepage contact form — eliminates inline-block whitespace gaps
   so all rows (paired inputs, trio inputs, textareas) align to the same width */
.contact-form-container-new .contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.contact-form-container-new .contact-form input,
.contact-form-container-new .contact-form select,
.contact-form-container-new .contact-form textarea {
    margin: 0;
}

.contact-form-container-new .half-width {
    width: calc(50% - 0.3rem);
}

.contact-form-container-new .third-width {
    width: calc(33.333% - 0.4rem);
}

.contact-form-container-new .full-width,
.contact-form-container-new .form-checkbox-group,
.contact-form-container-new #home-form-message {
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {

    .contact-left,
    .contact-right {
        flex: 1 1 100%;
        padding: var(--space-xl) var(--space-lg);
    }

    .recommendation-title.lockup-engine {
        width: 85%;
    }

    .contact-left {
        justify-content: center;
        box-shadow: none;
    }

    .contact-right {
        min-height: auto;
    }

    .contact-cow-img {
        width: 70%;
    }

    .faq-accordion {
        margin-top: -40px;
        padding-top: calc(40px + var(--space-lg));
    }
}

/* --- Region Toggle UI --- */
.region-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    overflow: hidden;
    z-index: 9999;
}

.region-toggle__btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-text);
    /* Contrast fix */
    text-decoration: none;
    transition: all 0.3s ease;
}

.region-toggle__btn.is-active {
    background: var(--blue-accent);
    /* Standardized contrast safe blue */
    color: var(--white);
}

.region-toggle__btn:not(.is-active):hover {
    background: #f0f0f0;
}

/* --- Typography Lockup Engine --- */
.lockup-engine {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.lockup-engine::after {
    display: none;
}

.lockup-line {
    display: inline-block;
    white-space: nowrap;
    opacity: 0;
    /* Prevent FOUC */
    transform-origin: center center;
    transition: opacity 0.3s ease;
    line-height: 0.9;
    /* Tight authoritative line height */
    margin: 0;
    font-family: var(--ff-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.lockup-engine--accent .lockup-line {
    font-family: var(--ff-accent);
    text-transform: none;
}

.lockup-engine--shadow {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* Dealer Locator 3-Layer Stack */
.dealer-locator-title {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: none;
    /* Override heavy global h1 inheritance */
}

.locator-layer-1 {
    font-family: var(--ff-body);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.2em;
    color: var(--white);
    text-align: center;
    margin-bottom: 24px;
}

.brand-highlight {
    color: var(--kl-yellow);
}

.locator-layer-2 .brand-highlight {
    color: var(--kl-yellow);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.locator-layer-3 {
    font-family: var(--ff-body);
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    text-transform: none;
    color: var(--white);
    text-align: center;
    margin-top: 29px;
    letter-spacing: normal;
}