:root {
    /* ===== GLASS & LIGHT — Midnight Obsidian & Culinary Dark Mode ===== */
    --bg-dark: #070b14;
    --bg-accent: rgba(13, 19, 33, 0.85);
    --primary: #38bdf8;
    --primary-hover: #7dd3fc;
    --primary-glow: rgba(56, 189, 248, 0.45);
    --secondary: #f59e0b;
    --silver: #e2e8f0;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(13, 20, 36, 0.72);
    --glass-border: rgba(255, 255, 255, 0.12);
    --border: rgba(255, 255, 255, 0.08);
    --accent-color: #0284c7; /* Precision Commercial Sky */

    /* ===== Light Mode ===== */
    --light-bg: #d1d5db;
    --light-accent: rgba(255, 255, 255, 0.85);
    --light-header: #0f172a;
    --light-primary: #2563eb;
    --light-primary-hover: #3b82f6;
    --light-text: #020617;
    --light-text-muted: #334155;
    --light-glass: rgba(255, 255, 255, 0.85);
    --light-glass-border: rgba(255, 255, 255, 1);
    --light-border: rgba(79, 70, 229, 0.3);

    /* ===== Culinary Atmospheric Lighting (Ice Cyan, Precision Cobalt & Warm Hearth Ember) ===== */
    --aurora-1: rgba(14, 116, 144, 0.32); /* Cryogenic Cyan (Refrigeration & Cold Beverage) */
    --aurora-2: rgba(56, 189, 248, 0.22); /* Ice Blue (Precision Stainless Tech) */
    --aurora-3: rgba(217, 119, 6, 0.20);  /* Convection Hearth Copper (Ovens & Thermal) */
    --aurora-4: rgba(245, 158, 11, 0.16); /* Warm Flame Amber (Commercial Cooking) */
    --aurora-5: rgba(30, 58, 138, 0.35);  /* Deep Authority Cobalt (Structural Depth) */
    --aurora-6: rgba(180, 83, 9, 0.14);   /* Warm Hearth Simmer */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Glass — Modern Specular Rim Lighting */
    --glass-blur: blur(30px);
    --glass-blur-heavy: blur(60px);
    --glass-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.16), inset 0 -1px 2px rgba(0, 0, 0, 0.5);
    --glass-shadow-hover: 0 35px 80px rgba(0, 0, 0, 0.75), 0 0 45px rgba(56, 189, 248, 0.22), inset 0 1px 2px rgba(255, 255, 255, 0.28);

    /* Clay — MAXIMUM HYPER 3D */
    --clay-shadow: 30px 30px 60px rgba(0, 0, 0, 0.9), inset -6px -6px 14px rgba(0, 0, 0, 0.7);
    --clay-shadow-hover: 45px 45px 90px rgba(0, 0, 0, 1), inset -10px -10px 20px rgba(0, 0, 0, 0.8);

    /* Light Clay — THICK PLASTIC */
    --clay-light: 20px 20px 50px rgba(0, 0, 0, 0.2), -20px -20px 50px rgba(255, 255, 255, 1), inset 8px 8px 16px rgba(255,255,255,1), inset -6px -6px 12px rgba(0,0,0,0.1);
    --clay-light-hover: 35px 35px 80px rgba(59, 130, 246, 0.3), -35px -35px 80px rgba(255, 255, 255, 1), inset 12px 12px 24px rgba(255,255,255,1), inset -10px -10px 20px rgba(0,0,0,0.15);
}

/* ===== CULINARY ATMOSPHERE — Layer 1: Ambient Studio Warmth & Chill ===== */
body::before {
    content: '';
    position: fixed;
    top: -70%;
    left: -70%;
    width: 240%;
    height: 240%;
    background:
        radial-gradient(ellipse 950px 850px at 12% 35%, var(--aurora-1) 0%, transparent 60%),
        radial-gradient(ellipse 1000px 700px at 85% 15%, var(--aurora-3) 0%, transparent 60%),
        radial-gradient(ellipse 850px 900px at 25% 85%, var(--aurora-5) 0%, transparent 60%),
        radial-gradient(ellipse 950px 750px at 78% 60%, var(--aurora-4) 0%, transparent 60%),
        radial-gradient(ellipse 750px 800px at 50% 25%, var(--aurora-2) 0%, transparent 60%),
        radial-gradient(ellipse 650px 550px at 60% 80%, var(--aurora-6) 0%, transparent 60%);
    animation: auroraShift 16s ease-in-out infinite alternate;
    z-index: -2;
    pointer-events: none;
    filter: blur(85px);
}

/* ===== CULINARY ATMOSPHERE — Layer 2: Counter-drift Hearth & Depth ===== */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 900px 750px at 60% 60%, rgba(217, 119, 6, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 800px 900px at 15% 25%, rgba(14, 116, 144, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 700px 650px at 50% 50%, rgba(30, 58, 138, 0.20) 0%, transparent 60%),
        radial-gradient(ellipse 600px 700px at 80% 30%, rgba(245, 158, 11, 0.10) 0%, transparent 60%);
    animation: auroraShift2 22s ease-in-out infinite alternate-reverse;
    z-index: -2;
    pointer-events: none;
    filter: blur(95px);
}

@keyframes auroraShift {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(5%, -6%) rotate(2deg) scale(1.06); }
    50% { transform: translate(-4%, 5%) rotate(-1.5deg) scale(0.97); }
    75% { transform: translate(6%, -3%) rotate(2deg) scale(1.04); }
    100% { transform: translate(-3%, 4%) rotate(-1deg) scale(1.02); }
}

@keyframes auroraShift2 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(-4%, 6%) rotate(-2deg) scale(1.05); }
    66% { transform: translate(5%, -4%) rotate(2.5deg) scale(0.96); }
    100% { transform: translate(-2%, 3%) rotate(1deg) scale(1.02); }
}

/* ===== LIGHT THEME ===== */
body.light-theme {
    background-color: var(--light-bg);
    color: var(--light-text);
    --text-main: var(--light-text);
    --text-muted: #1e293b;
    --border: rgba(0, 0, 0, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.98); /* Nearly solid to prevent "fade-in" jump */
    --glass-border: rgba(0, 0, 0, 0.15);
    --light-glass-border: #cbd5e1;
    --glass-blur: blur(5px);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); /* Snappier transition */
    --clay-light-hover: 15px 15px 35px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.5), inset 4px 4px 8px rgba(255,255,255,1), inset -3px -3px 6px rgba(0,0,0,0.05);
}

body.light-theme::before {
    --aurora-1: rgba(37, 99, 235, 0.25); /* Muted Blue */
    --aurora-2: rgba(59, 130, 246, 0.2);
    --aurora-3: rgba(14, 165, 233, 0.15);
    --aurora-4: rgba(34, 211, 238, 0.2);
    --aurora-5: rgba(45, 212, 191, 0.15);
    --aurora-6: rgba(56, 189, 248, 0.15);
}

body.light-theme::after {
    background: none; /* Remove secondary counter-drift to stabilize background */
}

/* Light theme glass cards — full clay 3D */
body.light-theme .dark-accent,
body.light-theme .product-card,
body.light-theme .pd-tile,
body.light-theme .stat-card,
body.light-theme .contact-card,
body.light-theme .contact-form-card,
body.light-theme .contact-map-card,
body.light-theme .since-1972,
body.light-theme .result-card {
    background: #ffffff; /* Solid white base */
    color: var(--light-text);
    border: 2px solid var(--light-glass-border);
    box-shadow: var(--clay-light);
    backdrop-filter: none !important; /* Remove blur to prevent focus loss */
    -webkit-backdrop-filter: none !important;
    will-change: transform; /* Hint for smoother hardware-accelerated movement */
}

body.light-theme .since-1972 p {
    color: var(--light-text-muted);
    text-shadow: none;
}

body.light-theme .story-item {
    border-left-color: rgba(37, 99, 235, 0.2);
}

body.light-theme .story-item:hover {
    border-left-color: var(--light-primary);
}

body.light-theme .since-1972 strong {
    color: var(--light-primary);
}

body.light-theme .product-card:hover,
body.light-theme .pd-tile:hover,
body.light-theme .stat-card:hover,
body.light-theme .contact-card:hover {
    background: #ffffff;
    box-shadow: var(--clay-light-hover);
    transform: translateY(-8px) scale(1.01);
    filter: none !important; /* Kill any brightness/blur filters */
}

body.light-theme .product-card img {
    filter: none !important; /* Ensure logos stay sharp without drop-shadow bloom */
}

body.light-theme .pd-tile-header h3 { color: var(--light-text); }


body.light-theme .pd-brand {
    background: #ffffff;
    border: 2px solid var(--light-glass-border);
    box-shadow: var(--clay-light);
    border-radius: 18px;
}

body.light-theme .pd-brand span { color: var(--light-text-muted); }

body.light-theme .pd-brand:hover {
    background: #ffffff;
    border-color: var(--light-primary);
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--clay-light-hover); /* Removed extra blue glow */
}

body.light-theme .pd-brand:hover span { color: var(--light-primary); }

body.light-theme .text-muted,
body.light-theme p { color: var(--light-text-muted); }

body.light-theme .accent-line { color: var(--light-primary); }

body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme .card-text a,
body.light-theme .since-1972 h2,
body.light-theme .since-1972 p,
body.light-theme .modern-form label {
    color: var(--light-text);
    text-shadow: none;
}

body.light-theme .accent { color: var(--light-primary); }

body.light-theme .btn-primary {
    background: linear-gradient(145deg, #60a5fa, #2563eb);
    color: white;
    box-shadow: 6px 6px 16px rgba(59, 130, 246, 0.35), -4px -4px 12px rgba(255,255,255,0.6), inset 2px 2px 4px rgba(255,255,255,0.25), inset -1px -1px 3px rgba(0,0,0,0.15);
}

body.light-theme .btn-primary:hover {
    background: linear-gradient(145deg, #9194fa, #3b82f6);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 10px 10px 24px rgba(59, 130, 246, 0.4), -6px -6px 16px rgba(255,255,255,0.7), inset 3px 3px 6px rgba(255,255,255,0.3), 0 0 30px rgba(59, 130, 246, 0.2);
}

body.light-theme .btn-secondary {
    border: 2px solid var(--light-primary);
    color: var(--light-primary);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    box-shadow: var(--clay-light);
}

body.light-theme .btn-secondary:hover {
    background: var(--light-primary);
    color: white;
    box-shadow: var(--clay-light-hover);
}

body.light-theme .card-icon {
    background: linear-gradient(145deg, #60a5fa, #2563eb);
    box-shadow: 6px 6px 14px rgba(59, 130, 246, 0.3), -4px -4px 10px rgba(255,255,255,0.5), inset 2px 2px 3px rgba(255,255,255,0.2);
}

body.light-theme input,
body.light-theme textarea,
body.light-theme select {
    background: rgba(255, 255, 255, 0.75);
    color: var(--light-text);
    border: 2px solid var(--light-glass-border);
    backdrop-filter: blur(10px);
    box-shadow: inset 3px 3px 6px rgba(0,0,0,0.04), inset -2px -2px 4px rgba(255,255,255,0.9);
}

body.light-theme .brand-mini-card {
    background: #ffffff;
    border: 2px solid var(--light-glass-border);
    box-shadow: var(--clay-light);
    backdrop-filter: none !important;
}

body.light-theme #theme-toggle {
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid var(--light-glass-border);
    color: #1e1b4b;
    backdrop-filter: blur(12px);
    box-shadow: var(--clay-light);
}

/* ===== NAV CONTROLS GROUP ===== */
.nav-controls-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 15px;
    margin-left: 10px;
    order: 4;
}

/* Mobile-only menu controls container (hidden on desktop) */
.nav-mobile-controls-item {
    display: none;
}

.nav-social-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #f0f0ff;
    backdrop-filter: blur(12px);
    box-shadow: var(--clay-shadow);
    text-decoration: none;
}

.nav-social-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.nav-social-btn.youtube-btn:hover {
    transform: scale(1.15);
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.6), var(--clay-shadow-hover);
}

.nav-social-btn.instagram-btn:hover {
    transform: scale(1.15);
    background: rgba(219, 39, 119, 0.2);
    border-color: #db2777;
    color: #db2777;
    box-shadow: 0 0 30px rgba(219, 39, 119, 0.6), var(--clay-shadow-hover);
}

body.light-theme .nav-social-btn {
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid var(--light-glass-border);
    color: #1e1b4b;
    backdrop-filter: blur(12px);
    box-shadow: var(--clay-light);
}

body.light-theme .nav-social-btn.youtube-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: var(--clay-light-hover);
}

body.light-theme .nav-social-btn.instagram-btn:hover {
    background: rgba(219, 39, 119, 0.1);
    border-color: #db2777;
    color: #db2777;
    box-shadow: var(--clay-light-hover);
}

/* ===== THEME TOGGLE ===== */
#theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #f0f0ff;
    backdrop-filter: blur(12px);
    box-shadow: var(--clay-shadow);
}

#theme-toggle:hover {
    transform: scale(1.15);
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow), var(--clay-shadow-hover);
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

iframe { display: block; width: 100%; height: 100%; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 100px 0; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.accent { color: var(--primary); }

/* ===== HEADER — Frosted Glass ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 11, 20, 0.72);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 0;
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

header.scrolled {
    background: rgba(7, 11, 20, 0.92);
    backdrop-filter: var(--glass-blur-heavy);
    border-bottom-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.08);
}

body.light-theme header {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 2px solid var(--light-glass-border) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06), var(--clay-light);
    padding: 0;
}

body.light-theme header.scrolled {
    background: #ffffff !important;
    backdrop-filter: none !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), var(--clay-light);
}

body.light-theme .nav-links a {
    color: var(--light-text) !important;
    text-shadow: none;
    font-size: 0.95rem;
    font-weight: 600;
}

body.light-theme .nav-links a:hover { color: var(--light-primary) !important; }

header nav.container {
    max-width: 100%;
    margin: 0;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

body.light-theme header nav.container { min-height: 80px; align-items: center; }

/* Flexbox visual ordering for header components to prevent overlapping, cut-offs, or hidden controls */
.logo { flex-shrink: 0; margin-left: 0; order: 1; }
.nav-links { order: 2; }
.btn-search-trigger { order: 3; }
.nav-controls-group { order: 4; }
#header-cta { order: 5; }
.menu-toggle { order: 6; display: none; }

/* Light theme overrides for search icon (overrides inline white styling) */
body.light-theme .btn-search-trigger {
    color: #0f172a !important;
}

.logo a { display: block; line-height: 0; }

.nav-logo {
    height: auto;
    max-height: 55px;
    width: auto;
    object-fit: contain;
    object-position: left center;
    display: block;
    border: none;
    outline: none;
    content: url('images/logo-dark-cropped.jpeg');
    mix-blend-mode: lighten;
    filter: brightness(0.92);
}

body.light-theme .nav-logo {
    content: url('images/logo-light-cropped.jpeg');
    max-height: 55px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    mix-blend-mode: multiply;
    filter: brightness(1.12);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.nav-links a {
    color: #e0e0ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary-hover); }

body.light-theme .nav-links a { color: var(--light-text); text-shadow: none; }
body.light-theme .nav-links a:hover { color: var(--light-primary); }

/* ===== BUTTONS — 3D Clay ===== */
.btn-primary {
    background: linear-gradient(145deg, #60a5fa, #2563eb);
    color: white;
    border: none;
    padding: 13px 30px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 14px;
    box-shadow: 6px 6px 16px rgba(0,0,0,0.4), -3px -3px 10px rgba(59, 130, 246, 0.15), inset 2px 2px 4px rgba(255,255,255,0.25), inset -1px -1px 3px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    background: linear-gradient(145deg, #9194fa, #3b82f6);
    box-shadow: 10px 10px 24px rgba(0,0,0,0.4), -6px -6px 16px rgba(59, 130, 246, 0.25), 0 0 30px var(--primary-glow), inset 3px 3px 6px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: #e0e0ff;
    border: 2px solid var(--glass-border);
    padding: 12px 28px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-heading);
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 14px;
    backdrop-filter: blur(12px);
    box-shadow: var(--clay-shadow);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--clay-shadow-hover), 0 0 25px var(--primary-glow);
}

/* ===== HERO ===== */
#hero {
    width: 100%;
    height: 90vh;
    min-height: 700px;
    position: relative;
    margin-top: 0;
    padding-top: 80px;
    background: #000;
    box-sizing: border-box;
}

.hero-image-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-image-container img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(3, 3, 8, 0.7) 0%, rgba(3, 3, 8, 0.35) 50%, rgba(3, 3, 8, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative; z-index: 3;
    max-width: 1400px; height: 100%;
    margin: 0 auto; padding: 60px 2rem 120px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: flex-end;
}

.hero-left { padding-right: 20px; }

#hero .sub-title {
    display: block; font-weight: 600; text-transform: uppercase;
    letter-spacing: 4px; font-size: 1rem;
    color: var(--primary-hover);
    margin-bottom: 20px;
    text-shadow: 0 0 25px var(--primary-glow);
}

#hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1; margin-bottom: 30px;
    color: #ffffff; text-transform: uppercase;
    font-family: var(--font-heading); font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

#hero h1 .accent { color: var(--primary-hover); text-shadow: 0 0 35px var(--primary-glow); }

#hero p {
    font-size: 1.15rem; color: #ffffff;
    margin-bottom: 40px; line-height: 1.7;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

#hero .hero-btns { display: flex; gap: 20px; }

/* ===== SINCE 1972 — Deep Glass Panel ===== */
.since-1972 {
    border-left: 5px solid var(--primary);
    padding: 40px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 0 20px 20px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-item {
    border-left: 3px solid rgba(59, 130, 246, 0.35);
    padding-left: 18px;
    transition: border-color 0.3s ease;
}

.story-item:hover {
    border-left-color: var(--primary-hover);
}

.since-1972 p {
    font-size: 1.15rem;
    color: #f0f0f0;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    margin: 0;
}

.since-1972 strong {
    color: var(--secondary);
    font-weight: 700;
}

/* ===== VALUE PROP SECTION (INTEGRATED KITCHEN SOLUTIONS) ===== */
#home-value-prop {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.value-prop-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/commercial-kitchen.png') no-repeat center center;
    background-size: cover;
    filter: brightness(0.65) contrast(1.05) saturate(1.1);
    z-index: 1;
}

body.light-theme .value-prop-bg {
    filter: brightness(0.85) contrast(1.05) saturate(1.1);
}

.value-prop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.55) 100%);
    z-index: 1.5;
}

body.light-theme .value-prop-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 100%);
}

/* ===== SECTIONS ===== */
.section-header { margin-bottom: 60px; }

.accent-line {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 4px;
    color: var(--primary-hover); margin-bottom: 10px; display: block;
    text-shadow: 0 0 18px var(--primary-glow);
}

.section-header h3 {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    white-space: nowrap;
}

/* ===== PRODUCT CARDS — Heavy Glass + Clay ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* ===== SERVICES GRID — All in one row on desktop ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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


.product-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 30px;
    padding-top: 45px; /* Extra space for the top border line */
    border: 3px solid var(--glass-border);
    border-radius: 26px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--clay-shadow);
    transform: rotateX(1deg); /* Slight base tilt */
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.product-card:hover {
    transform: translateY(-20px) scale(1.08) rotateX(6deg) rotateY(-4deg);
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: var(--clay-shadow-hover), 0 0 100px rgba(59, 130, 246, 0.4);
    z-index: 10;
}

.product-card:hover::before { transform: scaleX(1); }

.product-card img { width: 100%; height: 200px; object-fit: contain; margin-bottom: 30px; filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.6)); }
.product-card h4 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); }
.product-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; }

.product-image-box {
    height: 180px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.product-image-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    margin-bottom: 0 !important;
    filter: none !important;
    object-fit: contain !important;
}

/* ===== BRAND CAROUSEL ===== */
.brand-carousel-wrapper { overflow: hidden; padding: 40px 0; position: relative; width: 100%; }

.brand-carousel-wrapper::before,
.brand-carousel-wrapper::after {
    content: ""; height: 100%; position: absolute; width: 120px; z-index: 2; pointer-events: none;
}

.brand-carousel-wrapper::before { left: 0; top: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.brand-carousel-wrapper::after { right: 0; top: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }

body.light-theme .brand-carousel-wrapper::before { background: linear-gradient(to right, var(--light-bg), transparent); }
body.light-theme .brand-carousel-wrapper::after { background: linear-gradient(to left, var(--light-bg), transparent); }

.brand-horizontal-scroll {
    display: flex;
    width: calc(250px * 20);
    animation: scroll 40s linear infinite;
}

.brand-horizontal-scroll:hover { animation-play-state: paused; }

@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 10)); } }

.brand-mini-card {
    flex: 0 0 220px;
    height: 120px;
    margin: 0 15px;
    background: rgba(255, 255, 255, 0.94);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.brand-mini-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(56, 189, 248, 0.35);
    border-color: var(--primary);
    z-index: 10;
}

.brand-mini-card img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ===== FEATURES ===== */
.dark-accent { background-color: rgba(12, 12, 28, 0.5); }

.feature-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-content h3 { font-size: 2.5rem; margin-bottom: 40px; }

.feature-item { display: flex; gap: 20px; margin-bottom: 30px; }

.feature-item .icon {
    font-size: 1.5rem;
    color: var(--primary-hover);
    background: rgba(59, 130, 246, 0.12);
    border: 2px solid rgba(59, 130, 246, 0.25);
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 0 20px var(--primary-glow), var(--clay-shadow);
}

.feature-item h4 { margin-bottom: 5px; }
.feature-item p { color: var(--text-muted); }
.feature-image img { width: 100%; border-radius: 22px; }

/* ===== CONTACT — Glass Panels ===== */
.contact-top-cards { display: flex; justify-content: center; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 22px 30px;
    display: flex; align-items: center; gap: 20px;
    flex: 1; min-width: 250px;
    border: 2px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: var(--clay-shadow);
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px) scale(1.04) rotateX(3deg);
    box-shadow: var(--clay-shadow-hover), 0 0 40px var(--primary-glow);
}

.card-icon {
    background: linear-gradient(145deg, #60a5fa, #2563eb);
    color: white;
    width: 62px; height: 62px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 6px 6px 14px rgba(0,0,0,0.35), -3px -3px 8px rgba(99,102,241,0.12), inset 2px 2px 4px rgba(255,255,255,0.2);
}

.card-text { display: flex; flex-direction: column; }
.card-text a { color: var(--text-main); text-decoration: none; font-size: 1.1rem; font-weight: 500; }

.contact-main-content { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }

.contact-form-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 22px;
    padding: 50px;
    border: 2px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.contact-form-card h2 { font-size: 2.2rem; margin-bottom: 30px; }

.modern-form .form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.modern-form .form-row .form-group { flex: 1; margin-bottom: 0; }
.modern-form .form-group { margin-bottom: 20px; }
.modern-form label { display: block; margin-bottom: 8px; color: var(--text-main); font-size: 0.95rem; }

.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid var(--glass-border);
    border-radius: 14px;
    padding: 15px;
    color: var(--text-main);
    font-family: var(--font-body);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: inset 3px 3px 6px rgba(0,0,0,0.2), inset -2px -2px 4px rgba(255,255,255,0.05);
}

.modern-form select option {
    background: #11112b;
    color: #ffffff;
}

body.light-theme .modern-form select option {
    background: #ffffff;
    color: #020617;
}

.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow), inset 3px 3px 6px rgba(0,0,0,0.2);
}

.contact-map-card {
    border-radius: 22px;
    overflow: hidden;
    min-height: 500px;
    border: 2px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* ===== STATS — Clay Cards ===== */
.flex-row { display: flex; gap: 60px; align-items: center; }
.text-block { flex: 1; }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 20px; width: 300px; }

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 30px;
    text-align: center;
    border-radius: 22px;
    border: 2px solid var(--glass-border);
    box-shadow: var(--clay-shadow);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--clay-shadow-hover);
    transform: translateY(-10px) scale(1.03);
}

body.light-theme .stat-card {
    background: var(--light-glass);
    border-color: var(--light-glass-border);
    box-shadow: var(--clay-light);
    color: var(--light-text);
}

.stat-card .number {
    font-size: 3.5rem; font-weight: 800;
    color: var(--primary-hover); display: block;
    text-shadow: 0 0 25px var(--primary-glow);
}

body.light-theme .stat-card .number {
    color: var(--light-primary);
    text-shadow: none;
}

/* Cinematic Hero Side-Panel */
.hero-details-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    color: #ffffff;
}

body.light-theme .hero-details-card {
    background: var(--light-glass);
    border-color: var(--light-glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    color: #333;
}


/* ===== COMPANY PAGE — Header override (building.jpg bleed-through fix) ===== */
body.company-page header {
    background: rgba(3, 3, 8, 1);
}

body.company-page.light-theme header {
    background: #ffffff !important;
}

/* ===== FOOTER ===== */
footer {
    padding: 60px 0 30px;
    border-top: 2px solid var(--glass-border);
    margin-top: 80px;
    background: rgba(3, 3, 8, 1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
    z-index: 10;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
}

body.light-theme footer {
    background: #ffffff;
    backdrop-filter: none;
    border-top: 2px solid var(--light-glass-border);
    box-shadow: var(--clay-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 60px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 15px; }
.footer-links h4 { margin-bottom: 20px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; }

.footer-links-columns {
    display: flex;
    gap: 60px;
}

.footer-links-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-columns ul li {
    margin-bottom: 12px;
}

.footer-links-columns ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links-columns ul li a:hover {
    color: var(--primary-hover);
    padding-left: 5px;
}

body.light-theme .footer-links-columns ul li a { color: var(--light-text-muted); }
body.light-theme .footer-links-columns ul li a:hover { color: var(--light-primary); }


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .feature-container, .contact-main-content, .flex-row, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    #hero { height: auto; min-height: 100vh; padding-bottom: 60px; }
    .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; align-items: flex-start; padding-top: 100px; }
    .hero-left { padding-right: 0; }
    .hero-btns { justify-content: center; }
    .brand-carousel-wrapper {
        overflow: visible;
        padding: 20px 0;
    }
    .brand-carousel-wrapper::before,
    .brand-carousel-wrapper::after {
        display: none !important;
    }
    .brand-horizontal-scroll {
        animation: none !important;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        width: 100%;
    }
    .brand-mini-card {
        flex: none;
        width: 100%;
        height: 90px;
        margin: 0;
        padding: 15px;
    }

    /* Models Page Sidebar/Grid Stacking */
    #models-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* ===== MOBILE HERO: Vendor name only — equipment fills the screen ===== */
    .pf-split-container {
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: center !important;
        padding: 0 0 30px 0 !important;
        height: 100% !important;
    }

    .pf-info-panel {
        background: rgba(8, 8, 16, 0.72) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 24px 20px !important;
        border-radius: 20px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
        max-width: 92% !important;
        width: 100% !important;
        max-height: 52vh !important;
        overflow-y: auto;
        margin-bottom: 10px !important;
    }

    .pf-split-layout,
    .pf-info-panel.pf-split-layout,
    body.light-theme .pf-info-panel.pf-split-layout {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: center !important;
        height: 100% !important;
        max-height: none !important;
        max-width: 100% !important;
        overflow: visible !important;
        margin: 0 !important;
        border-radius: 0 !important;
        flex: 1 !important;
    }

    /* Hide bottom card entirely (tags, button, description) */
    .pf-info-bottom {
        display: none !important;
    }

    /* Hide spacer */
    .pf-info-middle-spacer {
        display: none !important;
    }

    /* Hide badge and subtitle — keep only vendor name */
    .pf-info-top .supplier-badge,
    .pf-info-top .slide-subtitle {
        display: none !important;
    }

    /* Vendor name: elegant floating pill at bottom of slide */
    .pf-info-top {
        background: rgba(10, 10, 20, 0.55) !important;
        backdrop-filter: blur(20px) saturate(1.4) !important;
        -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 50px !important;
        padding: 14px 36px !important;
        box-shadow:
            0 4px 20px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        width: auto !important;
        max-width: 85%;
        margin: 0 auto 20px auto;
        flex-shrink: 0;
        text-decoration: none !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .pf-info-top .slide-title {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        letter-spacing: 1.5px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
    }

    /* Light theme vendor pill */
    body.light-theme .pf-info-top {
        background: rgba(255, 255, 255, 0.65) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        box-shadow:
            0 4px 20px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    }
    
    /* Strong text-shadows for readability directly over slide images */
    .pf-info-panel .slide-title,
    .pf-info-panel .slide-subtitle,
    .pf-info-panel .combo-info p,
    .pf-info-panel .combo-info strong {
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.7);
    }

    body.light-theme .pf-info-panel {
        background: rgba(255, 255, 255, 0.85) !important;
        border-color: rgba(0, 0, 0, 0.1) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    }
    
    .pf-info-panel .supplier-badge {
        background: rgba(59, 130, 246, 0.25) !important;
        backdrop-filter: blur(12px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .pf-info-panel .btn-primary {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    }
    
    .pf-info-panel .slide-title {
        font-size: 1.8rem !important;
    }
    
    .pf-info-panel .slide-subtitle {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }
    
    .pf-info-panel .combo-info {
        margin-bottom: 15px !important;
        padding-left: 10px !important;
    }
    
    .pf-info-panel .combo-info p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    
    .pf-features {
        margin-bottom: 15px !important;
    }
    
    .pf-feature-tag {
        font-size: 0.72rem !important;
        padding: 6px 12px !important;
    }

    /* Mobile Navigation & Header Fixes */
    header nav.container {
        padding: 0 1rem !important;
        gap: 6px !important;
    }
    
    /* Hide top header controls on mobile to keep viewport clean */
    .nav-controls-group {
        display: none !important;
    }
    
    /* Hide Get a Quote on mobile — nav overlay has Contact link instead */
    #header-cta {
        display: none !important;
    }
    
    /* Mobile-only navigation menu controls (shown inside slide-down overlay) */
    .nav-mobile-controls-item {
        display: flex !important;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    body.light-theme .nav-mobile-controls-item {
        border-top-color: rgba(0, 0, 0, 0.08);
    }
    
    .nav-mobile-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }
    
    .youtube-btn-mobile, .instagram-btn-mobile, .nav-theme-btn-mobile {
        background: rgba(255, 255, 255, 0.08);
        border: 2px solid var(--glass-border);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        color: #f0f0ff;
        backdrop-filter: blur(12px);
        box-shadow: var(--clay-shadow);
        text-decoration: none;
    }
    
    .youtube-btn-mobile svg, .instagram-btn-mobile svg {
        display: block;
        width: 22px;
        height: 22px;
    }
    
    .youtube-btn-mobile:active, .youtube-btn-mobile:hover {
        background: rgba(239, 68, 68, 0.2);
        border-color: #ef4444;
        color: #ef4444;
        box-shadow: 0 0 25px rgba(239, 68, 68, 0.5);
        transform: scale(1.05);
    }
    
    .instagram-btn-mobile:active, .instagram-btn-mobile:hover {
        background: rgba(219, 39, 119, 0.2);
        border-color: #db2777;
        color: #db2777;
        box-shadow: 0 0 25px rgba(219, 39, 119, 0.5);
        transform: scale(1.05);
    }
    
    .nav-theme-btn-mobile:active, .nav-theme-btn-mobile:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: var(--primary);
        box-shadow: 0 0 25px var(--primary-glow);
        transform: scale(1.05);
    }
    
    body.light-theme .youtube-btn-mobile,
    body.light-theme .instagram-btn-mobile,
    body.light-theme .nav-theme-btn-mobile {
        background: rgba(255, 255, 255, 0.7);
        border: 2px solid var(--light-glass-border);
        color: #1e1b4b;
        box-shadow: var(--clay-light);
    }
    
    body.light-theme .youtube-btn-mobile:active,
    body.light-theme .youtube-btn-mobile:hover {
        background: rgba(239, 68, 68, 0.1);
        border-color: #ef4444;
        color: #ef4444;
    }
    
    body.light-theme .instagram-btn-mobile:active,
    body.light-theme .instagram-btn-mobile:hover {
        background: rgba(219, 39, 119, 0.1);
        border-color: #db2777;
        color: #db2777;
    }
    
    body.light-theme .nav-theme-btn-mobile:active,
    body.light-theme .nav-theme-btn-mobile:hover {
        background: rgba(59, 130, 246, 0.1);
        border-color: var(--primary);
    }
    
    #header-cta {
        padding: 8px 14px !important;
        font-size: 0.72rem !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
        box-shadow: none !important;
    }
    
    #theme-toggle {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.9rem !important;
    }
    
    .btn-search-trigger {
        width: 38px !important;
        height: 38px !important;
        padding: 8px !important;
    }
    
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 24px !important;
        height: 16px !important;
        cursor: pointer;
        z-index: 1100;
        position: relative;
        margin-left: 8px !important;
        /* Ensure 48px tap target via padding while keeping visual icon small */
        padding: 16px 12px !important;
        box-sizing: content-box;
    }
    
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    body.light-theme .menu-toggle span {
        background-color: #0f172a;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        background: rgba(3, 3, 8, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 2px solid var(--glass-border);
        padding: 30px 0;
        gap: 20px;
        align-items: center;
        box-shadow: 0 15px 35px rgba(0,0,0,0.6);
        margin: 0;
        
        /* Custom thin premium scrollbar */
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.15) rgba(0, 0, 0, 0);
    }
    
    .nav-links::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-links::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .nav-links::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 6px;
    }
    
    body.light-theme .nav-links::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.12);
    }
    
    body.light-theme .nav-links {
        background: rgba(255, 255, 255, 0.98);
        border-bottom-color: rgba(0,0,0,0.08);
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    body.light-theme .pf-info-panel {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    body.light-theme .pf-info-panel .slide-title,
    body.light-theme .pf-info-panel .slide-subtitle,
    body.light-theme .pf-info-panel .combo-info p {
        text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(255, 255, 255, 0.7);
    }
    
    /* Since 1972 wall-of-text mobile fix */
    .since-1972 {
        border-left: none; 
        border-top: 4px solid var(--primary); 
        border-radius: 0 0 22px 22px;
        padding: 25px !important;
        background: rgba(15, 15, 15, 0.8) !important;
    }
    body.light-theme .since-1972 {
        background: rgba(255, 255, 255, 0.88) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    }
    .since-1972 p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }
}

/* ===== PRODUCTS DASHBOARD ===== */
.products-dashboard { margin-top: 80px; min-height: calc(100vh - 80px); display: flex; align-items: flex-start; padding: 50px 0 40px; }
.products-dashboard .container { display: flex; flex-direction: column; height: 100%; }
.pd-header { text-align: center; margin-bottom: 40px; }
.pd-header h1 { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }

.pd-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    grid-template-rows: auto auto 1fr; /* Track for header, desc, and brands */
    gap: 28px; 
    width: 100%; 
}

/* Category Tile — Glass + Clay */
.pd-tile {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid var(--glass-border);
    border-radius: 22px;
    padding: 35px 30px;
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    align-content: start;
    width: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--clay-shadow);
    box-sizing: border-box;
}

.pd-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.pd-tile:hover {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: var(--clay-shadow-hover), 0 0 60px rgba(59, 130, 246, 0.2);
    transform: translateY(-12px);
}

.pd-tile:hover::before { opacity: 1; }

.pd-tile-header { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }

.pd-icon {
    font-size: 2rem; width: 58px; height: 58px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59, 130, 246, 0.12);
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: 18px;
    flex-shrink: 0;
    box-shadow: 0 0 18px var(--primary-glow), inset 2px 2px 4px rgba(255,255,255,0.08);
}

.pd-tile-header h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--text-main); }
.pd-tile-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; padding-left: 72px; }

/* Brand Cards — Clay */
.pd-brands { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; align-self: start; }
.pd-brands-pyramid { width: 100%; }

.pd-brand {
    overflow: hidden;
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; gap: 10px; padding: 14px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid var(--glass-border);
    border-radius: 18px;
    flex: 0 1 180px; min-width: 100px; max-width: 200px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--clay-shadow);
}

.pd-brand:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-10px);
    box-shadow: var(--clay-shadow-hover), 0 0 35px var(--primary-glow);
}

.pd-brand img { width: 100%; height: 84px; object-fit: contain; background: #ffffff; border-radius: 14px; padding: 4px; }
.pd-brand span { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--text-muted); text-align: center; white-space: nowrap; }
.pd-brand:hover span { color: var(--primary-hover); }

/* --- Light Theme Overrides for Products --- */
body.light-theme .pd-tile {
    background: var(--light-glass);
    border-color: var(--light-glass-border);
    box-shadow: var(--clay-light);
}
body.light-theme .pd-tile:hover {
    box-shadow: var(--clay-light-hover);
    border-color: var(--light-primary);
}
body.light-theme .pd-tile-header h3 { color: var(--light-text); }
body.light-theme .pd-tile-desc { color: var(--light-text-muted); }

body.light-theme .pd-icon {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: inset 2px 2px 4px rgba(255,255,255,1), 4px 4px 10px rgba(0,0,0,0.05);
}

body.light-theme .pd-brand {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--light-glass-border);
    box-shadow: var(--clay-light);
}
body.light-theme .pd-brand:hover {
    background: #ffffff;
    border-color: var(--light-primary);
    box-shadow: var(--clay-light-hover);
}
body.light-theme .pd-brand span { color: var(--light-text-muted); }
body.light-theme .pd-brand:hover span { color: var(--light-primary); }

.pd-tile-wide .pd-brand { min-width: 140px; }
.pd-tile-wide .pd-brand img { height: 84px; padding: 2px; }

@media (max-width: 1100px) {
    .pd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .pd-grid { grid-template-columns: 1fr; }
    .pd-header h1 { font-size: 1.6rem; }
    .products-dashboard { padding: 20px 0; }
}

/* ===== SERVICES ===== */
.services-hero-container { display: flex; align-items: center; justify-content: space-between; gap: 60px; margin-bottom: 80px; }
.services-hero-text { flex: 1; max-width: 45%; }
.services-hero-text h3 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; }
.services-hero-text p { color: var(--text-muted); font-size: 1.15rem; line-height: 1.7; }

.services-hero-image {
    flex: 1.2; height: 450px;
    overflow: hidden;
    border-radius: 22px;
    position: relative;
    box-shadow: var(--clay-shadow), 0 0 50px var(--primary-glow);
    border: 2px solid var(--glass-border);
}

.services-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.services-hero-image:hover img { transform: scale(1.04); }

@media (max-width: 992px) {
    .services-hero-container { flex-direction: column; align-items: stretch; }
    .services-hero-text { max-width: 100%; }
    .services-hero-image { height: 350px; }
}

.nav-links a:hover::after { width: 100%; }

.youtube-banner-link {
    display: none !important;
}

.btn-youtube {
    background: #ff0000;
    color: white !important;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
    transition: var(--transition);
    white-space: nowrap;
}


.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.3);
}

.btn-youtube svg { width: 14px; height: 14px; fill: white; }


/* ===== PREMIUM INTERACTIVE MODEL CARDS ===== */
.vendor-models-page .product-card {
    display: flex;
    flex-direction: column;
    height: 420px; /* Standardize card height for uniform grid alignment */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
}

/* Ensure consistent component spacing inside the product card */
.vendor-models-page .product-card h4 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.vendor-models-page .product-card p {
    margin-top: 5px;
    margin-bottom: auto;
}

.vendor-models-page .product-card .btn-primary {
    margin-top: auto !important;
}

/* Image container transitions */
.vendor-models-page .product-card .product-image-box,
.vendor-models-page .product-card > div:first-of-type {
    max-height: 180px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                margin-bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                padding 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                opacity 0.3s ease;
}

/* Hover Zoom & Deep 3D Tilt */
.vendor-models-page .product-card:hover {
    transform: translateY(-25px) scale(1.15) rotateX(4deg) rotateY(-2deg) !important;
    z-index: 100;
    box-shadow: var(--clay-shadow-hover), 0 0 100px rgba(59, 130, 246, 0.5) !important;
}

/* Collapse and fade the image on hover - DISABLED to prevent clickability issues */
.vendor-models-page .product-card:hover .product-image-box,
.vendor-models-page .product-card:hover > div:first-of-type {
    /* Keep visible so clicks register reliably */
    opacity: 0.9 !important;
}

/* Unclamp description, take up collapsed image space, and add scrollbar if too long */
.vendor-models-page .product-card p {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vendor-models-page .product-card:hover p {
    height: 180px !important; /* Perfect height to fill the card */
    max-height: 180px !important;
    overflow-y: auto !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    padding-right: 5px;
    /* Custom premium scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.05);
}

/* Scrollbar support for Webkit browsers */
.vendor-models-page .product-card:hover p::-webkit-scrollbar {
    width: 6px;
}

.vendor-models-page .product-card:hover p::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.vendor-models-page .product-card:hover p::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.25);
}


/* ===== Models Page Sidebar Light Theme Overrides ===== */
body.light-theme #models-grid > div:first-child,
body.light-theme #models-grid aside > ul {
    background: #ffffff !important;
    border: 2px solid #cbd5e1 !important;
    box-shadow: var(--clay-light) !important;
}

body.light-theme #models-grid > div:first-child h4,
body.light-theme #models-grid aside h4 {
    color: var(--light-primary) !important;
    border-bottom: 1px solid #cbd5e1 !important;
}

body.light-theme .vendor-side-item,
body.light-theme .srv-side-item,
body.light-theme .waring-side-item {
    color: var(--light-text-muted) !important;
}

body.light-theme .vendor-side-item:hover,
body.light-theme .srv-side-item:hover,
body.light-theme .waring-side-item:hover {
    color: var(--light-primary) !important;
    background: rgba(37, 99, 235, 0.05) !important;
}

/* Active sidebar item override in light theme */
body.light-theme .vendor-side-item[style*="white"],
body.light-theme .srv-side-item[style*="white"],
body.light-theme .waring-side-item[style*="white"],
body.light-theme .vendor-side-item[style*="rgb(255, 255, 255)"],
body.light-theme .srv-side-item[style*="rgb(255, 255, 255)"],
body.light-theme .waring-side-item[style*="rgb(255, 255, 255)"],
body.light-theme .vendor-side-item[style*="rgb(0, 255, 242)"],
body.light-theme .srv-side-item[style*="rgb(0, 255, 242)"],
body.light-theme .waring-side-item[style*="rgb(0, 255, 242)"] {
    color: var(--light-primary) !important;
    background: rgba(37, 99, 235, 0.08) !important;
    border-left: 3px solid var(--light-primary) !important;
}

/* ==========================================
   MOBILE PRESETS & MOBILE FIRST STANDARDS
   (320px - 430px Dynamic Scaling & Breakpoints)
   ========================================== */

/* 1. Base inputs typography to avoid iOS auto-zoom */
input, select, textarea, .modern-form input, .modern-form select, .modern-form textarea, #chat-input {
    font-size: 16px !important;
}

/* 2. Tap targets: Only enforce 48px minimums inside mobile overlay, NOT on desktop nav */
.starter-btn {
    min-height: 48px;
    padding: 10px 16px !important;
    margin: 4px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 3. Strategic Responsive Breakpoints */

/* --- Tablet / Large Mobile Landscape (1024px and below) --- */
@media (max-width: 1024px) {
    header nav.container {
        padding: 0 2rem;
    }
}

/* --- Standard Tablet / Mobile Viewport (768px and below) --- */
@media (max-width: 768px) {
    header nav.container {
        padding: 0 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .nav-links {
        top: 80px;
    }
    
    /* Hide swiper prev/next arrows on mobile to maximize touch viewport space */
    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
    /* Keep the kitchen background visible on mobile views */
    .value-prop-bg {
        display: block !important;
    }
}

/* --- Large Mobile / Small Tablet (480px and below) --- */
@media (max-width: 480px) {
    /* Auto scales layout grids and margins for mobile screens */
    .container {
        padding: 0 1rem;
    }
    .section-padding {
        padding: 60px 0;
    }
    #hero h1 {
        font-size: 2.2rem;
    }
    .since-1972 h2 {
        font-size: 1.6rem;
    }
    .footer-links-columns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* #header-cta is now hidden at <=900px — no need to re-hide here */

    /* Ultra-compact slideshow overrides for small screens (320px - 430px) */
    .pf-info-top {
        padding: 12px 28px !important;
        border-radius: 40px !important;
    }

    .pf-info-top .slide-title {
        font-size: 1.25rem !important;
        letter-spacing: 1px !important;
    }

    /* combo-info already hidden via .pf-info-bottom display:none at 900px */
    
    .pf-info-panel .slide-title {
        font-size: 1.35rem !important;
        margin-bottom: 4px !important;
        letter-spacing: 0.5px !important;
    }
    
    .pf-info-panel .slide-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 8px !important;
        letter-spacing: 1px !important;
    }
    
    .pf-features {
        margin-bottom: 10px !important;
        gap: 6px !important;
    }
    
    .pf-feature-tag {
        font-size: 0.8rem !important;
        padding: 8px 14px !important;
        margin: 4px !important;
        gap: 4px !important;
    }
    
    .pf-info-panel .btn-primary {
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
        border-radius: 10px !important;
        margin-top: 5px !important;
    }
}

/* --- Dynamic Mobile Baseline Range (320px - 430px) --- */
@media (max-width: 430px) {
    /* Enforces dynamic fluid margins and scaling */
    body {
        font-size: 16px;
    }
    .logo img, .nav-logo {
        max-height: 48px !important;
    }
    /* Prevents massive banner images from slowing down mobile load times */
    .slide-bg {
        background-size: cover !important;
    }
}

/* --- Small Mobile Baseline (320px) --- */
@media (max-width: 320px) {
    /* Baseline fluid adjustments for older devices */
    #hero h1 {
        font-size: 1.8rem;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* Short mobile screen optimizations to automatically fit menu links and buttons without scrolling when possible */
@media (max-width: 900px) and (max-height: 580px) {
    .nav-links {
        padding: 12px 0 20px !important;
        gap: 8px !important;
    }
    .nav-links li {
        margin: 0 !important;
    }
    .nav-links a {
        font-size: 0.85rem !important;
        padding: 4px 10px !important;
    }
    .nav-mobile-controls-item {
        margin-top: 8px !important;
        padding-top: 12px !important;
    }
    .youtube-btn-mobile, .instagram-btn-mobile, .nav-theme-btn-mobile {
        width: 44px !important;
        height: 44px !important;
    }
}

/* Premium dynamic scaling for header elements on compact desktops ONLY (901px - 1150px) */
/* Uses min-width: 901px guard to prevent undoing mobile styles */
@media (min-width: 901px) and (max-width: 1150px) {
    header nav.container {
        padding: 0 1rem;
        gap: 8px;
    }
    
    .nav-logo {
        max-height: 42px;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .nav-controls-group {
        display: flex; /* Ensure visible on compact desktop */
        gap: 6px;
        margin-right: 6px;
        margin-left: 3px;
    }
    
    .nav-social-btn, #theme-toggle {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        font-size: 0.8rem;
    }
    
    .nav-social-btn svg {
        width: 14px;
        height: 14px;
    }
    
    #header-cta {
        display: inline-block; /* Ensure visible on compact desktop */
        padding: 6px 12px;
        font-size: 0.72rem;
        border-radius: 6px;
    }
    
    .btn-search-trigger {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        padding: 5px;
        margin-right: 8px;
    }
    
    .btn-search-trigger svg {
        width: 16px;
        height: 16px;
    }
}

/* ==========================================
   MODEL TILES THEME COMPATIBILITY OVERRIDES
   ========================================== */
.vendor-models-page .product-card h4.model-title {
    color: #ffffff !important; /* Pure White */
}

.vendor-models-page .product-card p.model-desc {
    color: rgba(255, 255, 255, 0.7);
}

.vendor-models-page .product-card:hover p.model-desc {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Light Theme overrides to match next page theme consistency */
body.light-theme .vendor-models-page .product-card h4,
body.light-theme .vendor-models-page .product-card h4.model-title,
body.light-theme .product-card h4,
body.light-theme .product-card h4.model-title {
    color: #1e3a8a !important; /* Premium Dark Navy Blue */
}

body.light-theme .vendor-models-page .product-card p,
body.light-theme .vendor-models-page .product-card p.model-desc,
body.light-theme .product-card p,
body.light-theme .product-card p.model-desc {
    color: #000000 !important; /* All letters black */
}

body.light-theme .vendor-models-page .product-card:hover p,
body.light-theme .vendor-models-page .product-card:hover p.model-desc,
body.light-theme .product-card:hover p,
body.light-theme .product-card:hover p.model-desc {
    color: #000000 !important; /* All letters black */
}

/* ===== CHATBOT — Floating Launcher & Window ===== */

/* Launcher Button */
#chatbot-launcher {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.4);
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45), 0 0 20px rgba(59, 130, 246, 0.2), inset 2px 2px 4px rgba(255,255,255,0.2);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    animation: chatbot-pulse 3s ease-in-out infinite;
}

#chatbot-launcher:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 44px rgba(37, 99, 235, 0.6), 0 0 40px rgba(59, 130, 246, 0.35), inset 2px 2px 6px rgba(255,255,255,0.3);
    border-color: rgba(96, 165, 250, 0.6);
}

#chatbot-launcher .chat-icon {
    line-height: 1;
    pointer-events: none;
}

@keyframes chatbot-pulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45), 0 0 20px rgba(59, 130, 246, 0.2); }
    50% { box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45), 0 0 40px rgba(59, 130, 246, 0.35), 0 0 60px rgba(59, 130, 246, 0.1); }
}

/* Chat Window */
#chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 9998;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 520px;
    max-height: calc(100vh - 140px);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(8, 8, 24, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255,255,255,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

#chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Chat Header */
.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(15, 15, 40, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.chat-header img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.chat-header-info {
    flex: 1;
    min-width: 0;
}

.chat-header-info h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 0;
    line-height: 1.2;
}

.chat-header-info span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.chat-header-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    transition: background 0.3s ease;
}

.status-dot.online { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.status-dot.thinking { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.5); animation: status-blink 1s ease-in-out infinite; }
.status-dot.offline { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.4); }

@keyframes status-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.status-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.chat-close:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Messages Container */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.chat-messages::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* Message Bubbles */
.message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.55;
    animation: msg-in 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    word-wrap: break-word;
}

@keyframes msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    border-bottom-left-radius: 4px;
}

.message-bot strong { color: #93c5fd; }
.message-bot em { color: #a5b4fc; }

.message-bot.escalated {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
    border-left: 3px solid var(--primary);
}

.message-user {
    align-self: flex-end;
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

/* Thinking / Typing Indicator */
.message.thinking {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.message.thinking .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.message.thinking .dot:nth-child(2) { animation-delay: 0.15s; }
.message.thinking .dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Starter Buttons */
.chat-starters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.starter-btn {
    padding: 7px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    color: #93c5fd;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.starter-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #bfdbfe;
    transform: translateY(-1px);
}

/* Input Area */
.chat-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 30, 0.6);
    flex-shrink: 0;
}

#chat-input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.25s ease;
}

#chat-input::placeholder { color: rgba(255, 255, 255, 0.3); }

#chat-input:focus {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.chat-send {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.chat-send:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.chat-send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.chat-send svg { pointer-events: none; }

/* Email Capture Widget */
.email-capture {
    background: rgba(37, 99, 235, 0.06) !important;
    border: 1px solid rgba(59, 130, 246, 0.18) !important;
    border-left: 3px solid var(--primary) !important;
}

.email-capture p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 10px;
    line-height: 1.5;
}

.email-capture-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.email-capture-row input {
    padding: 9px 12px;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.8rem;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.25s ease;
}

.email-capture-row input::placeholder { color: rgba(255, 255, 255, 0.3); }
.email-capture-row input:focus { border-color: rgba(59, 130, 246, 0.4); }

.email-capture-row button,
#escalation-email-send {
    padding: 8px 18px;
    font-size: 0.78rem;
    font-weight: 600;
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.email-capture-row button:hover,
#escalation-email-send:hover {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    transform: translateY(-1px);
}

.email-skip {
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 500;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
}

.email-skip:hover {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Confidence Badge */
.confidence-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* ===== CHATBOT — Light Theme ===== */
body.light-theme #chatbot-launcher {
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35), 0 2px 8px rgba(0,0,0,0.1);
}

body.light-theme #chatbot-window {
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), 0 0 1px rgba(0,0,0,0.1);
    backdrop-filter: blur(20px);
}

body.light-theme .chat-header {
    background: rgba(248, 250, 252, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .chat-header img {
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .chat-header-info h4 { color: #0f172a; }
body.light-theme .chat-header-info span { color: #64748b; }
body.light-theme .status-label { color: #64748b; }

body.light-theme .chat-close {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #64748b;
}
body.light-theme .chat-close:hover {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}

body.light-theme .message-bot {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #1e293b;
}
body.light-theme .message-bot strong { color: #2563eb; }
body.light-theme .message-bot.escalated {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(59, 130, 246, 0.2);
}

body.light-theme .message-user {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: #fff;
}

body.light-theme .message.thinking {
    background: #f8fafc;
    border-color: #e2e8f0;
}
body.light-theme .message.thinking .dot { background: #94a3b8; }

body.light-theme .starter-btn {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.15);
    color: #2563eb;
}
body.light-theme .starter-btn:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

body.light-theme .chat-input-area {
    border-top-color: rgba(0, 0, 0, 0.06);
    background: rgba(248, 250, 252, 0.8);
}

body.light-theme #chat-input {
    background: #fff;
    border-color: #e2e8f0;
    color: #0f172a;
}
body.light-theme #chat-input::placeholder { color: #94a3b8; }
body.light-theme #chat-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.light-theme .email-capture {
    background: rgba(37, 99, 235, 0.04) !important;
    border-color: rgba(37, 99, 235, 0.12) !important;
}
body.light-theme .email-capture p { color: #334155; }
body.light-theme .email-capture-row input {
    background: #fff;
    border-color: #e2e8f0;
    color: #0f172a;
}
body.light-theme .email-capture-row input::placeholder { color: #94a3b8; }
body.light-theme .email-skip {
    color: #64748b;
    border-color: #e2e8f0;
}

body.light-theme .confidence-badge {
    color: #64748b;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

body.light-theme .chat-messages::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.1); }
body.light-theme .chat-messages::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.2); }

/* ===== CHATBOT — Mobile Responsive ===== */
@media (max-width: 480px) {
    #chatbot-launcher {
        bottom: 24px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        opacity: 0.85;
    }

    #chatbot-window {
        bottom: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        height: calc(100vh - 60px);
        max-height: calc(100vh - 60px);
        border-radius: 20px 20px 0 0;
    }
}

/* ===== HERO SLIDESHOW — Dark Theme Overlays & Text Readability ===== */
.slide-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.15) 45%, transparent 75%) !important;
}

.pf-info-panel .slide-title {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.7)) !important;
}

.pf-info-panel .slide-subtitle,
.pf-info-panel .combo-info p,
.pf-info-panel .combo-info strong {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.7) !important;
}

@media (max-width: 900px) {
    .slide-overlay {
        background: rgba(0, 0, 0, 0.2) !important;
    }
}

/* ===== HERO SLIDESHOW — Light Theme ===== */
body.light-theme .slide-overlay {
    background: transparent !important;
}

/* Light theme hero text: white with dark shadows — same readability as dark mode */
body.light-theme .pf-info-panel .slide-title {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    color: #ffffff !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.7)) !important;
}

body.light-theme .pf-info-panel .slide-subtitle,
body.light-theme .pf-info-panel .combo-info p,
body.light-theme .pf-info-panel .combo-info strong {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.7) !important;
}

body.light-theme .pf-info-panel .combo-info {
    border-left-color: rgba(255, 255, 255, 0.4) !important;
}

body.light-theme .pf-feature-tag {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

body.light-theme .pf-feature-tag:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

body.light-theme .supplier-badge {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

body.light-theme .swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.5 !important;
}

body.light-theme .swiper-pagination-bullet-active {
    background: #ffffff !important;
    opacity: 1 !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6) !important;
}

/* No per-vendor title overrides needed — all use white text now */

/* Light Theme Hero Slideshow Mobile Responsive Overrides */
@media (max-width: 900px) {
    body.light-theme .slide-overlay {
        background: transparent !important;
    }
    
    body.light-theme .pf-info-panel.pf-split-layout {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* ===== HERO SLIDESHOW — Split Layout ===== */
.pf-split-layout {
    display: flex;
    flex-direction: column;
}
.pf-info-top, .pf-info-bottom {
    display: block;
    text-decoration: none;
    color: inherit;
}
.pf-info-middle-spacer {
    display: none;
}

/* Dynamic models grid layout */
.models-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.vendor-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    position: sticky;
    top: 100px;
    z-index: 5;
}

body.light-theme .vendor-sidebar {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive styles for models page */
@media (max-width: 900px) {
    .models-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .vendor-sidebar {
        position: relative !important;
        top: auto !important;
        margin-bottom: 20px !important;
    }
}

/* ===== Parts Verification & Ordering Disclaimer Banner ===== */
.parts-disclaimer-banner {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 15, 40, 0.85) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    border-left: 5px solid #f59e0b;
    border-radius: 14px;
    padding: 16px 20px;
    margin: 15px 0 20px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.light-theme .parts-disclaimer-banner {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.95) 0%, rgba(255, 251, 235, 0.9) 100%);
    border: 1.5px solid rgba(217, 119, 6, 0.35);
    border-left: 5px solid #d97706;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.parts-disclaimer-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    margin-top: 2px;
}

body.light-theme .parts-disclaimer-icon {
    background: rgba(217, 119, 6, 0.15);
    border-color: rgba(217, 119, 6, 0.4);
    color: #b45309;
}

.parts-disclaimer-text {
    flex: 1;
}

.parts-disclaimer-text h4 {
    margin: 0 0 5px 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
}

body.light-theme .parts-disclaimer-text h4 {
    color: #92400e;
}

.parts-disclaimer-text p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-muted);
}

body.light-theme .parts-disclaimer-text p {
    color: #451a03;
}

.parts-disclaimer-text strong {
    color: #f8fafc;
}

body.light-theme .parts-disclaimer-text strong {
    color: #0f172a;
}