/* Reset & Exact Premium Tone Variables */
:root {
    --mz-black: #000000;
    --mz-white: #ffffff;
    --mz-bg: #f3f4f6;
    --mz-card-bg: #ffffff;
    --mz-card-active: #e2e4e6;
    --mz-text-main: #191919;
    --mz-text-light: #666666;
    --mz-gray-border: #cccccc;
    --mz-red: #9e0b0f;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --border-radius: 8px;
    
    --transition-soft: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    /* No native scrolling for fullpage */
}

body {
    font-family: var(--font-secondary);
    background-color: var(--mz-bg);
    color: var(--mz-text-main);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
button { background: none; border: none; cursor: pointer; font-family: inherit; outline: none; }

/* Global Header */
.mazda-global-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 40px; height: 70px; background-color: var(--mz-bg);
    position: sticky; top: 0; z-index: 9000;
}
.header-left, .header-right { display: flex; align-items: center; gap: 20px; width: 25%; }
.header-right { justify-content: flex-end; }
.header-center { width: 50%; text-align: center; }

.btn-menu { background: none; border: none; font-size: 14px; font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; transition: color 0.3s; }
.btn-menu:hover { color: var(--mz-red); }

.logo { font-size: 24px; font-weight: 800; letter-spacing: 4px; text-decoration: none; color: var(--mz-black); }

.desktop-nav { display: flex; gap: 20px; }
.desktop-nav a { text-decoration: none; font-size: 13px; font-weight: 600; color: var(--mz-black); text-transform: uppercase; transition: color 0.3s; }
.desktop-nav a:hover { color: var(--mz-red); }

.icon-btn { background: none; border: none; font-size: 18px; cursor: pointer; transition: color 0.3s; }
.icon-btn:hover { color: var(--mz-red); }

/* Mega Menu Sidebar (Porsche Style) */
.mega-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 9998; opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.mega-menu-overlay.active { opacity: 1; visibility: visible; }
.btn-close-mega { position: absolute; top: 30px; left: 880px; width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; z-index: 10000; }
.btn-close-mega:hover { background: rgba(255,255,255,0.4); transform: scale(1.1); }
@media (max-width: 950px) { .btn-close-mega { left: auto; right: 20px; top: 20px; } }

.mega-menu-container { position: fixed; top: 0; left: -100%; width: 100%; max-width: 850px; height: 100%; background: #f4f4f4; z-index: 9999; box-shadow: 10px 0 40px rgba(0,0,0,0.2); transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1); display: flex; }
.mega-menu-container.active { left: 0; }

/* Left Column: Categories */
.mega-menu-left { width: 35%; background: #fff; padding: 60px 0 30px; border-right: none; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; }
.mega-menu-left::-webkit-scrollbar { display: none; }
.mega-cat-list { list-style: none; padding: 0 30px; margin: 0; flex-grow: 1; }
.mega-cat-item { margin-bottom: 5px; padding: 15px 25px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--mz-black); font-size: 16px; font-weight: 400; transition: background 0.3s ease; }
.mega-cat-item i { font-size: 12px; color: #888; transition: transform 0.3s ease; }
.mega-cat-item:hover, .mega-cat-item.active { background: #f4f4f4; font-weight: 500; }
.mega-cat-item:hover i, .mega-cat-item.active i { transform: translateX(5px); color: var(--mz-black); }

/* Left Column: Bottom Card */
.mega-left-card { margin: 0 30px; padding: 25px; background: #f4f4f4; border-radius: 12px; text-decoration: none; color: var(--mz-black); cursor: pointer; transition: background 0.3s ease; display: block; }
.mega-left-card:hover { background: #eaeaea; }
.mega-left-card img { width: 100%; max-width: 180px; height: auto; margin-bottom: 15px; display: block; }
.mega-left-card-info { display: flex; justify-content: space-between; align-items: flex-end; }
.mega-left-card-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 5px; color: var(--mz-black); }
.mega-left-card-info p { font-size: 12px; color: #666; margin-bottom: 0; }
.mega-card-arrow { width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,0.1); border: none; color: var(--mz-black); display: flex; align-items: center; justify-content: center; font-size: 12px; transition: background 0.3s ease; }
.mega-left-card:hover .mega-card-arrow { background: rgba(0,0,0,0.2); }

/* Right Column: Panes */
.mega-menu-right { width: 65%; padding: 60px 50px; position: relative; overflow-y: auto; background: #f4f4f4; -ms-overflow-style: none; scrollbar-width: none; }
.mega-menu-right::-webkit-scrollbar { display: none; }
.mega-pane { display: none; animation: fadeInPane 0.4s ease forwards; }
.mega-pane.active { display: block; }

@keyframes fadeInPane {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Models Pane Specifics */
.mega-scroll-area { display: flex; flex-direction: column; gap: 10px; padding-right: 20px; }
.mega-car-item { text-align: left; background: transparent; padding: 25px; border-radius: 16px; border: none; cursor: pointer; text-decoration: none; color: inherit; display: block; transition: all 0.3s ease; }
.mega-car-item:hover { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.mega-car-name { font-size: 22px; font-weight: 400; margin-bottom: 0; color: var(--mz-black); }
.mega-car-item img { width: 100%; max-width: 450px; height: auto; max-height: 180px; display: block; margin: 10px 0 15px; object-fit: contain; object-position: left center; }
.mega-badge { display: inline-block; padding: 5px 14px; background: #fff; border: 1px solid #eaeaea; border-radius: 20px; font-size: 11px; font-weight: 500; color: var(--mz-black); }

/* Links Pane Specifics */
.mega-link-list { display: flex; flex-direction: column; gap: 20px; }
.mega-link-item { text-decoration: none; font-size: 20px; font-weight: 400; color: var(--mz-black); transition: color 0.3s ease; display: inline-block; }
.mega-link-item:hover { color: var(--mz-red); transform: translateX(5px); }

/* Desktop Navigation */
.desktop-nav { display: none; }
@media (min-width: 1025px) {
    .header-left, .header-right { flex: 1; }
    .desktop-nav { display: flex; gap: 2.5vw; margin-right: 2.5vw; align-items: center; height: 100%; }
    .desktop-nav a { 
        font-family: var(--font-primary); font-size: 11px; font-weight: 600; 
        color: #444; text-decoration: none; text-transform: uppercase; letter-spacing: 1.5px;
        transition: color 0.3s;
        white-space: nowrap; display: flex; align-items: center;
    }
    .desktop-nav a:hover { color: var(--mz-black); }
}
.logo { font-family: var(--font-primary); font-weight: 700; font-size: 24px; letter-spacing: 5px; color: var(--mz-black); text-transform: uppercase; }
.icon-btn { font-size: 20px; color: var(--mz-black); }

/* 3D LAYERED HERO SECTION */
.hero-3d-section {
    position: relative; width: 100%; height: calc(100vh - 70px); min-height: 600px;
    background: radial-gradient(circle at center, #f5f6f8 0%, #e2e4e8 100%); overflow: hidden; margin-bottom: 0px;
    display: flex; align-items: center; justify-content: center;
}

/* Background Layer 1: Watermark Text */
.hero-text-background {
    position: absolute; top: 40%; left: 0; width: 100%; text-align: center; z-index: 1;
    animation: fadeWatermark 1.2s ease-out forwards;
    pointer-events: none;
}
.hero-watermark { 
    font-family: var(--font-primary); font-size: 15vw; font-weight: 900; 
    color: var(--mz-black); letter-spacing: -2px; line-height: 0.9; text-transform: uppercase; 
    white-space: nowrap; margin: 0;
}

/* Middle Layer: Static High-Res Car (Right Side) */
.hero-car-static-wrap {
    position: absolute; z-index: 2; bottom: 3%; right: 0;
    width: 65%; max-width: 1350px; height: 85%;
    pointer-events: none;
    animation: driveIn 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.hero-car-static {
    position: absolute; bottom: 0; right: 0;
    width: 100%; max-height: 100%; object-fit: contain; object-position: right bottom;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    transition: opacity 0.4s ease-in-out;
}
.hero-car-static.active-layer { opacity: 1; z-index: 2; }
.hero-car-static.inactive-layer { opacity: 0; z-index: 1; }

/* Foreground Layer: Split Text Layout (Left Side) */
.hero-foreground-split {
    position: absolute; top: 50%; left: 5%; z-index: 1;
    transform: translateY(-50%); width: 45%; max-width: 650px;
    display: flex; flex-direction: column; justify-content: center;
    padding-left: 5%;
}
.hero-tagline-split {
    font-family: var(--font-primary); font-size: 5vw; font-weight: 900; 
    color: var(--mz-black); letter-spacing: -1.5px; line-height: 1; text-transform: uppercase; 
    margin-bottom: 15px;
    animation: fadeUpSoft 1s ease-out forwards;
}
.hero-subtext-split { 
    font-size: 16px; font-weight: 400; color: #444; margin-bottom: 25px; line-height: 1.5; 
    animation: fadeUpSoft 1.2s ease-out forwards;
}
.hero-cta-group {
    display: flex; gap: 15px; align-items: center; margin-bottom: 10px;
    animation: fadeUpSoft 1.4s ease-out forwards;
}
.btn-hero-3d { 
    display: inline-block; background: var(--mz-black); color: var(--mz-white); 
    padding: 16px 35px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border-radius: 4px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-hero-3d:hover { background: #333; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); color: var(--mz-white); }
.btn-hero-outline {
    display: inline-block; background: transparent; color: var(--mz-black); 
    padding: 15px 34px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border-radius: 4px; border: 1px solid var(--mz-black); transition: all 0.3s ease;
}
.btn-hero-outline:hover { background: var(--mz-black); color: var(--mz-white); transform: translateY(-2px); }

/* Color Picker */
.hero-color-picker { margin-top: 15px; animation: fadeUpSoft 1.6s ease-out forwards; }
.color-swatches { display: flex; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.color-swatch { 
    width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; 
    cursor: pointer; transition: all 0.2s ease; padding: 0; box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.active { border: 2px solid var(--mz-black); transform: scale(1.1); box-shadow: 0 0 0 2px var(--mz-white), inset 0 2px 4px rgba(0,0,0,0.1); }
.active-color-name { font-size: 11px; color: #666; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin: 5px 0 0 0; transition: opacity 0.3s ease; }

/* Floating WA Bubble */
.hero-wa-bubble {
    position: fixed; bottom: 40px; right: 40px; z-index: 90;
    background: #fff; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 15px 20px; width: 280px;
    opacity: 0; transform: translateY(20px); pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-wa-bubble.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.close-wa-bubble {
    position: absolute; top: -10px; right: -10px; background: #fff; border: 1px solid #ddd;
    width: 24px; height: 24px; border-radius: 50%; font-size: 12px; color: #555;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: color 0.2s;
}
.close-wa-bubble:hover { color: var(--mz-black); }
.wa-bubble-content { display: flex; gap: 15px; align-items: center; }
.cs-avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; background: #f0f0f0; }
.wa-bubble-text p { font-size: 12px; font-weight: 500; color: #333; margin-bottom: 8px; line-height: 1.4; margin-top: 0; }
.btn-wa-chat {
    display: inline-flex; align-items: center; gap: 6px; background: #25D366; color: #fff;
    padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; text-decoration: none;
    transition: background 0.2s;
}
.btn-wa-chat:hover { background: #1ebd5a; }

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 5; cursor: pointer; opacity: 1; transition: opacity 0.4s ease;
}
.hero-scroll-indicator.hidden { opacity: 0; pointer-events: none; }
.hero-scroll-indicator span { font-size: 10px; font-weight: 600; letter-spacing: 2px; color: #444; text-transform: uppercase; }
.hero-scroll-indicator .scroll-line { width: 1px; height: 30px; background: #888; animation: bounceLine 2s infinite ease-in-out; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-foreground-split { width: 55%; }
    .hero-tagline-split { font-size: 6vw; }
}
@media (max-width: 768px) {
    /* Stack layout for mobile */
    .hero-3d-section { display: flex; flex-direction: column; justify-content: center; height: auto; min-height: 100vh; padding-top: 80px; }
    .hero-foreground-split { 
        position: relative; top: auto; left: 0; transform: none; width: 100%; max-width: 100%; 
        padding: 30px 20px; text-align: center;
        background: transparent; border: none; box-shadow: none; backdrop-filter: none;
        order: 1; /* Text on top */
    }
    .hero-cta-group { flex-direction: column; width: 100%; gap: 10px; margin-top: 15px; margin-bottom: 15px; }
    .btn-hero-3d, .btn-hero-outline { width: 100%; text-align: center; }
    .hero-car-static-wrap { 
        position: relative; width: 100%; right: 0; bottom: 0; height: auto; max-height: 350px; 
        justify-content: center; align-items: center; order: 2; /* Car below text */
        margin-top: 10px; padding: 0 20px;
    }
    .hero-tagline-split { font-size: 11vw; }
    .hero-text-background { top: 30%; }
    .color-swatch { width: 44px; height: 44px; } /* Larger touch target for accessibility */
    .hero-wa-bubble { bottom: 20px; right: 20px; left: 20px; width: auto; z-index: 105; }
}

@keyframes fadeWatermark {
    from { opacity: 0; transform: translateY(-40%); }
    to { opacity: 0.03; transform: translateY(-50%); }
}

@keyframes bounceLine {
    0%, 100% { transform: scaleY(1); transform-origin: top; }
    50% { transform: scaleY(0.5); transform-origin: top; }
}

@keyframes driveIn {
    from { opacity: 0; transform: translateX(10%); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUpSoft {
    from { opacity: 0; transform: translate(0, -30%); }
    to { opacity: 1; transform: translate(0, -50%); }
}

/* Main Container - Natural Flow */
.page-container { 
    width: 100%; max-width: 1440px; margin: 0 auto; padding: 30px 40px 100px; 
    display: flex; flex-direction: column;
}

/* Top Section */
.top-section { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; flex-shrink: 0;}
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 20px; font-weight: 500; color: var(--mz-black); }
.main-title { font-family: var(--font-primary); font-size: 34px; line-height: 1.2; font-weight: 700; color: var(--mz-black); letter-spacing: -0.5px; max-width: 650px; margin: 0 0 16px 0;}
.top-right { text-align: right; }
.top-right p { font-size: 13px; color: var(--mz-text-light); margin-bottom: 12px; }
.btn-primary {
    background-color: var(--mz-black); color: var(--mz-white);
    padding: 12px 20px; font-weight: 600; font-size: 13px; letter-spacing: 0.5px;
    border-radius: 4px; transition: background-color 0.2s;
}
.btn-primary:hover { background-color: #333; }

/* Content Layout */
.content-wrapper { display: flex; gap: 30px; flex-grow: 1; overflow: visible; padding-bottom: 20px;}

/* Sidebar Left (Filters) */
.sidebar-filters { width: 260px; flex-shrink: 0; padding-right: 20px; position: sticky; top: 90px; height: max-content; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.filter-label { display: block; font-weight: 700; margin-bottom: 15px; font-size: 13px; color: #111; }
.sidebar-divider { border: none; border-top: 1px solid #d4d4d4; margin: 30px 0; }

/* Exact Search Input Match */
.search-input-wrap {
    position: relative; display: flex; align-items: center;
    background: transparent; border: 1px solid #777; padding: 10px 14px; border-radius: 2px; transition: border 0.3s;
}
.search-input-wrap:focus-within { border-color: #999; background: #fff; }
.search-input-wrap i { color: #555; font-size: 16px; margin-right: 14px; }
.search-input-wrap input { border: none; background: transparent; outline: none; width: 100%; color: var(--mz-black); font-family: var(--font-secondary); font-size: 15px;}
.search-input-wrap input::placeholder { color: #888; }

/* Checkbox Custom with Images */
.checkbox-list { display: flex; flex-direction: column; gap: 18px; }
.custom-checkbox { display: flex; align-items: center; position: relative; cursor: pointer; user-select: none; font-size: 14px; font-weight: 400; color: #111; transition: 0.2s;}
.custom-checkbox:hover { color: #000; }
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark { position: relative; display: inline-block; width: 22px; height: 22px; background-color: transparent; border: 1px solid #777; border-radius: 2px; transition: 0.2s; margin-right: 15px; flex-shrink: 0;}
.custom-checkbox:hover input ~ .checkmark { border-color: #333; }
.custom-checkbox input:checked ~ .checkmark { background-color: var(--mz-black); border-color: var(--mz-black); }
.checkmark:after { content: ""; position: absolute; display: none; }
.custom-checkbox input:checked ~ .checkmark:after { display: block; }
.custom-checkbox .checkmark:after {
    left: 7px; top: 2px; width: 5px; height: 10px;
    border: solid var(--mz-white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.filter-thumb { width: 65px; height: auto; margin-right: 15px; mix-blend-mode: multiply; flex-shrink: 0; font-size: 11px; color: #999; text-align: center; display: flex; align-items: center; justify-content: center; }
.custom-checkbox:hover .filter-thumb { opacity: 0.8; }

/* Compare Banner */
.compare-banner-full {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; background: #e9eaec; border-radius: 4px;
    margin-top: 15px; margin-bottom: 60px; font-weight: 600; font-size: 13px;
    cursor: pointer; color: var(--mz-black); transition: background 0.2s;
}
.compare-banner-full:hover { background: #dcdede; }
.compare-left { display: flex; align-items: center; }

/* Grid Area */
.models-grid-section { 
    flex-grow: 1; display: flex; flex-direction: column; padding-bottom: 0px; min-width: 0;
}
.group-title { font-size: 24px; font-family: var(--font-primary); margin: 0 0 24px 0; font-weight: 700; color: var(--mz-black); letter-spacing: -0.5px; display: flex; align-items: center;}

.grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; width: 100%; transition: all 0.5s ease; margin-bottom: 64px; }
.grid-container::-webkit-scrollbar { width: 6px; }
.grid-container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

/* Sidebar Right (Contact Widgets) */
.sidebar-sales {
    width: 260px; flex-shrink: 0;
    position: sticky; top: 90px; height: max-content;
}
/* Unified Sales Dashboard */
.sales-dashboard-card {
    background: var(--mz-white); border-radius: 16px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.06); border: 1px solid #eaeaea;
    overflow: hidden;
}
.sales-profile-header {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 35px 25px 25px; text-align: center;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}
.sales-photo-modern {
    width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); border: 3px solid var(--mz-white);
    margin-bottom: 5px;
}
.sales-header-text h4 { font-family: var(--font-primary); font-size: 20px; font-weight: 700; margin-bottom: 2px; color: var(--mz-black); }
.sales-header-text p { font-size: 12px; color: #888; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }

.sales-dashboard-actions {
    padding: 0 25px 25px; display: flex; flex-direction: column; gap: 10px;
}
.btn-action-modern {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 13px;
    text-decoration: none; transition: all 0.3s ease; border: 1px solid transparent;
}
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1ebd5a; box-shadow: 0 4px 15px rgba(37,211,102,0.25); color: white; }
.btn-call { background: var(--mz-black); color: white; }
.btn-call:hover { background: #333; box-shadow: 0 4px 15px rgba(0,0,0,0.15); color: white; }
.btn-testdrive { background: transparent; color: var(--mz-black); border-color: #ddd; }
.btn-testdrive:hover { background: #f5f5f5; border-color: #bbb; }

.sales-dashboard-footer {
    background: #fcfcfc; padding: 20px 25px; border-top: 1px solid #eaeaea;
}
.sales-location-modern {
    display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: #555;
}
.sales-location-modern i { color: var(--mz-black); font-size: 14px; margin-top: 2px; }
.sales-location-modern strong { display: block; font-size: 13px; color: var(--mz-black); margin-bottom: 3px; }
.sales-location-modern span { font-size: 12px; line-height: 1.4; display: block; }
.sales-social-modern {
    display: flex; gap: 15px; justify-content: flex-start; font-size: 16px; margin-left: 26px;
}
.sales-social-modern a { color: #aaa; transition: color 0.2s; }
.sales-social-modern a:hover { color: var(--mz-black); }

/* Model Card - Proportional Match Layout */
.model-card { 
    background: var(--mz-card-bg); padding: 25px 20px; position: relative; border-radius: 12px;
    transition: opacity 0.4s ease, display 0.4s; 
    display: flex; flex-direction: column;
    width: 100%; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #eaeaea;
}
.model-card.active-card { background: var(--mz-card-active); }
.model-card.hide-card { display: none; opacity: 0; }

.card-badges { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 13px; font-weight: 500; align-items: center; min-height: 26px;}
.badge { background: #f0f0f0; padding: 6px 10px; border-radius: 4px; color: var(--mz-black); }
.active-card .badge { background: var(--mz-white); }
.badge-right { color: var(--mz-black); display: flex; align-items: center; gap: 4px;}

.card-image-wrap { width: 100%; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; position: relative; }
.card-image-wrap img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.placeholder-img { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: #f4f4f4; border-radius: 8px; color: #888; font-size: 12px; font-weight: 500; }
.placeholder-img i { font-size: 28px; margin-bottom: 8px; color: #bbb; }

.card-title { font-family: var(--font-primary); font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--mz-black); letter-spacing: -0.2px;}
.card-price { font-size: 13px; color: var(--mz-text-light); margin-bottom: 25px; font-weight: 400; }

/* Specs Vertical Stacking Exact Match */
.card-specs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
.spec { display: flex; flex-direction: column; gap: 1px; }
.spec strong { font-family: var(--font-primary); font-size: 15px; font-weight: 700; color: var(--mz-black); letter-spacing: -0.3px;}
.spec span { font-size: 12px; color: #888; }

/* Fine print paragraph */
.fine-print { font-size: 11px; color: #888; line-height: 1.5; margin-bottom: 15px; margin-top: auto;}

.tech-link { display: inline-block; font-size: 12px; font-weight: 500; color: var(--mz-black); text-decoration: underline; margin-bottom: 25px; }

.btn-config { width: 100%; text-align: center; display: block; padding: 12px; border-radius: 4px; font-weight: 600; margin-bottom: 15px; background: var(--mz-black); color: white; font-size: 13px; letter-spacing: 0.5px;}
.btn-config:hover { background: #333; }

/* Compare Checkbox at bottom */
.compare-checkbox {
    display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--mz-black); cursor: pointer; margin-top: auto;
}
.compare-checkbox input { width: 16px; height: 16px; cursor: pointer; border: 1px solid #aaa; }

/* --- MODAL POPUP STYLES --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    display: flex; justify-content: center; align-items: center;
    z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background: var(--mz-white); padding: 50px; border-radius: 8px; width: 400px;
    text-align: center; position: relative;
    transform: translateY(30px); transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-modal {
    position: absolute; top: 15px; right: 20px; font-size: 20px; color: #888;
}

/* Soft Animation Classes */
.animate-up { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.animate-up.is-visible { opacity: 1; transform: translateY(0); }

/* Footer */
.porsche-footer {
    background-color: #0b0c10; color: #fff;
    padding: 70px 0; margin-top: 80px; font-size: 14px; font-weight: 300;
}
.footer-top {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #333; padding-bottom: 30px; margin-bottom: 40px;
}
.social-links { display: flex; gap: 20px; font-size: 18px; }
.social-links a { color: #fff; transition: color 0.3s; }
.social-links a:hover { color: #999; }
.footer-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 50px;
}
.footer-col h4 {
    font-size: 16px; font-weight: 600; margin-bottom: 25px; font-family: var(--font-primary); letter-spacing: -0.5px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 14px; }
.footer-col ul li a { color: #aaa; transition: color 0.3s; font-size: 13px;}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding-top: 25px; font-size: 12px; color: #777; line-height: 1.6;}
.footer-bottom a { color: #aaa; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* =========================================
   SINGLE MODEL PAGE STYLES (Phase 2.1)
   ========================================= */

/* Section Basics */
.fp-section { padding: 80px 0; }
.section-title { font-size: 32px; font-weight: 700; text-transform: uppercase; margin-bottom: 40px; text-align: center; }

/* Specs Grid */
.model-specs-section { background-color: #fff; }
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.spec-item { padding: 30px; border: 1px solid #eaeaea; border-radius: 8px; transition: transform 0.3s; }
.spec-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.spec-item i { font-size: 36px; margin-bottom: 20px; color: var(--mz-black); }
.spec-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 10px; color: #555; }
.spec-item p { font-size: 18px; font-weight: 700; margin: 0; color: var(--mz-black); }

/* Gallery */
.model-gallery-section { background-color: #f5f5f5; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; grid-auto-rows: 250px; }
.gallery-item { border-radius: 8px; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }

/* Credit Calculator */
.model-credit-section { background-color: #fff; }
.credit-calculator-card { max-width: 600px; margin: 0 auto; padding: 40px; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); background: #fff; border: 1px solid #eaeaea; }
.calc-row { margin-bottom: 25px; }
.calc-row label { display: block; font-size: 14px; font-weight: 600; color: #666; margin-bottom: 10px; }
.calc-value { font-size: 28px; font-weight: 700; color: var(--mz-black); }
.calc-value.small { font-size: 18px; margin-top: 10px; }
input[type="range"] { width: 100%; height: 6px; background: #ddd; outline: none; border-radius: 3px; -webkit-appearance: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--mz-black); border-radius: 50%; cursor: pointer; }
select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; font-family: inherit; }
.total-row { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; margin-bottom: 10px; }
.total-row label { margin: 0; font-size: 16px; }
.calc-total { font-size: 32px; font-weight: 800; color: var(--mz-red); }
.calc-disclaimer { font-size: 12px; color: #888; text-align: center; margin-bottom: 25px; }

/* Testimonials */
.model-testimonial-section { background-color: var(--mz-black); color: #fff; }
.model-testimonial-section .section-title { color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.testimonial-card { padding: 40px; background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.testimonial-card .quote { font-size: 20px; font-style: italic; line-height: 1.6; margin-bottom: 20px; font-weight: 300; }
.testimonial-card .author { font-size: 16px; font-weight: 600; margin: 0; color: #aaa; text-transform: uppercase; letter-spacing: 1px; }

/* Bottom CTA */
.model-bottom-cta { background-color: #fff; padding: 100px 0; }
.model-bottom-cta h2 { font-size: 36px; font-weight: 700; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 20px; justify-content: center; }
.btn-primary.large, .btn-outline.large { padding: 18px 40px; font-size: 16px; }
.w-100 { width: 100%; display: block; text-align: center; }

/* Floating WA Standard */
.floating-wa-standard {
    position: fixed; bottom: 30px; right: 30px; z-index: 99;
    width: 60px; height: 60px; background: #25D366; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 32px; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-wa-standard:hover { transform: scale(1.1) rotate(5deg); color: #fff; }

/* =========================================
   COMPARE MODELS PAGE STYLES (Phase 2.2)
   ========================================= */
.compare-header-section { background-color: #f9f9f9; padding-top: 120px; }
.compare-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.compare-table th, .compare-table td { padding: 20px; border-bottom: 1px solid #eaeaea; text-align: center; vertical-align: top; }
.compare-table th { background: #fff; position: sticky; top: 0; z-index: 10; padding-top: 30px; }
.compare-table th.spec-label-col { text-align: left; width: 200px; background: #fdfdfd; z-index: 11; font-weight: 700; color: #555; }
.compare-table td.spec-label-col { text-align: left; font-weight: 600; background: #fdfdfd; color: #333; }
.compare-table td { color: #555; font-size: 15px; }

.compare-model-card { display: flex; flex-direction: column; align-items: center; }
.compare-model-img { width: 160px; height: 100px; object-fit: contain; margin-bottom: 15px; }
.compare-model-title { font-size: 18px; font-weight: 700; margin: 0 0 5px; color: var(--mz-black); }
.compare-model-price { font-size: 14px; color: #888; margin-bottom: 15px; }

/* Modal Pilihan Mobil */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: #fff; width: 90%; max-width: 600px; padding: 40px; border-radius: 12px; position: relative; max-height: 80vh; overflow-y: auto; }
.close-modal { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 24px; cursor: pointer; color: #555; }
.model-select-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.model-select-item { border: 1px solid #eaeaea; border-radius: 8px; padding: 15px; text-align: center; cursor: pointer; transition: all 0.2s; }
.model-select-item:hover { border-color: var(--mz-black); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.model-select-item img { width: 100%; height: 80px; object-fit: contain; margin-bottom: 10px; }
.model-select-item h4 { margin: 0; font-size: 14px; font-weight: 600; }

/* =========================================
   CREDIT SIMULATOR PAGE STYLES (Phase 2.3)
   ========================================= */
.credit-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.credit-form-col { background: #fff; padding: 40px; border-radius: 12px; border: 1px solid #eaeaea; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.credit-summary-col { position: sticky; top: 100px; }
.summary-card { background: #111; color: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.summary-card h3 { font-size: 20px; font-weight: 600; text-transform: uppercase; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 15px; color: #aaa; }
.summary-row strong { color: #fff; font-weight: 600; font-size: 16px; text-align: right; }
.summary-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 20px 0; }
.summary-row.tdp-row { font-size: 18px; color: #fff; }
.summary-row.tdp-row strong { font-size: 22px; color: var(--mz-red); }
.summary-row.installment-row { font-size: 18px; color: #fff; margin-top: 10px; }
.summary-row.installment-row strong { font-size: 24px; color: #fff; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #555; margin-bottom: 8px; }
.form-control { width: 100%; padding: 14px 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; font-family: inherit; transition: border-color 0.3s; }
.form-control:focus { border-color: var(--mz-black); outline: none; }
.read-only-value { width: 100%; padding: 14px 15px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 8px; font-size: 18px; font-weight: 700; color: var(--mz-black); }

/* =========================================
   TEST DRIVE PAGE STYLES (Phase 2.4)
   ========================================= */
.td-card { background: #fff; padding: 40px; border-radius: 12px; border: 1px solid #eaeaea; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.td-stepper { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; padding: 0 20px; }
.step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; flex: 1; }
.step-circle { width: 40px; height: 40px; border-radius: 50%; background: #f0f0f0; color: #888; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; transition: all 0.3s; }
.step-label { font-size: 14px; font-weight: 600; color: #888; text-align: center; }
.step.active .step-circle { background: var(--mz-black); color: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.step.active .step-label { color: var(--mz-black); }
.step.completed .step-circle { background: var(--mz-red); color: #fff; }
.step-line { height: 2px; background: #eaeaea; flex: 2; margin-top: -25px; z-index: 1; }

.td-step-content { display: none; animation: fadeIn 0.4s ease-in-out; }
.td-step-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.td-step-content h3 { font-size: 24px; font-weight: 700; margin-bottom: 5px; }
.td-form-actions { display: flex; justify-content: space-between; margin-top: 35px; border-top: 1px solid #eaeaea; padding-top: 25px; }

.td-summary-box { background: #f9f9f9; padding: 25px; border-radius: 8px; border: 1px dashed #ccc; margin-top: 10px; }
.td-summary-box h4 { font-size: 16px; text-transform: uppercase; margin-bottom: 15px; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.td-summary-row { display: flex; margin-bottom: 10px; font-size: 15px; }
.td-summary-label { width: 120px; color: #666; font-weight: 600; }

/* =========================================
   TRADE-IN PAGE STYLES (Phase 2.5)
   ========================================= */
.ti-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.ti-form-col { background: #fff; padding: 40px; border-radius: 12px; border: 1px solid #eaeaea; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.ti-info-col { position: sticky; top: 100px; }
.info-card { background: #111; color: #fff; padding: 35px; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.info-card h3 { font-size: 20px; font-weight: 600; text-transform: uppercase; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.info-icon { font-size: 24px; color: var(--mz-red); margin-right: 20px; margin-top: 5px; }
.info-text h4 { margin: 0 0 5px 0; font-size: 16px; font-weight: 600; color: #fff; }
.info-text p { margin: 0; font-size: 14px; color: #aaa; line-height: 1.5; }
.photo-reminder { margin-top: 35px; background: rgba(255,255,255,0.05); padding: 20px; border-radius: 8px; border-left: 4px solid var(--mz-red); display: flex; align-items: center; }
.photo-reminder i { font-size: 20px; color: var(--mz-red); margin-right: 15px; }
.photo-reminder p { margin: 0; font-size: 13px; color: #ddd; line-height: 1.5; }

/* =========================================
   PROMO PAGE STYLES (Phase 2.6)
   ========================================= */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.promo-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #eaeaea; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; position: relative; display: flex; flex-direction: column; }
.promo-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.promo-badge { position: absolute; top: 15px; left: 15px; background: var(--mz-red); color: #fff; padding: 5px 12px; font-size: 12px; font-weight: 700; border-radius: 4px; z-index: 2; letter-spacing: 1px; }
.promo-img-container { height: 200px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden; }
.promo-img-container img { max-width: 90%; max-height: 90%; object-fit: contain; transition: transform 0.5s; }
.promo-card:hover .promo-img-container img { transform: scale(1.05); }
.promo-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.promo-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--mz-black); }
.promo-content p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.promo-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-top: 15px; border-top: 1px dashed #eaeaea; }
.promo-date { font-size: 13px; color: #888; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.promo-tnc { display: block; text-align: center; font-size: 11px; color: #aaa; margin-top: 15px; line-height: 1.4; }

/* =========================================
   DEALER PAGE STYLES (Phase 2.7)
   ========================================= */
.dealer-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn-filter { padding: 10px 20px; border: 1px solid #ddd; background: #fff; color: #555; border-radius: 30px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.btn-filter:hover { border-color: var(--mz-black); color: var(--mz-black); }
.btn-filter.active { background: var(--mz-black); color: #fff; border-color: var(--mz-black); }

.dealer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.dealer-card { background: #fff; border: 1px solid #eaeaea; border-radius: 12px; padding: 25px; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.dealer-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.dealer-card-header h3 { font-size: 18px; font-weight: 700; margin-bottom: 5px; color: var(--mz-black); }
.dealer-badge { display: inline-block; background: #f0f0f0; color: #555; padding: 4px 10px; font-size: 11px; font-weight: 700; border-radius: 4px; margin-bottom: 20px; }
.dealer-card-body { flex-grow: 1; }
.dealer-card-body p { margin-bottom: 12px; font-size: 14px; color: #666; display: flex; align-items: flex-start; line-height: 1.5; }
.dealer-card-body p i { width: 20px; color: var(--mz-red); margin-top: 3px; }
.dealer-card-footer { display: flex; gap: 10px; margin-top: 25px; border-top: 1px dashed #eaeaea; padding-top: 20px; }
.dealer-card-footer a { flex: 1; text-align: center; padding: 10px 0; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* =========================================
   CONTACT & SALES PAGE STYLES (Phase 8)
   ========================================= */
/* Phase 8: Kontak & Sales Layout */
.contact-grid-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.sales-profile-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); padding: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 15px 30px rgba(0,0,0,0.5); text-align: center; }
.sales-photo-wrapper { width: 150px; height: 150px; margin: 0 auto 25px; border-radius: 50%; overflow: hidden; border: 3px solid var(--mz-red); }
.sales-photo { width: 100%; height: 100%; object-fit: cover; }
.sales-name { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.sales-title { font-size: 14px; color: #aaa; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.sales-badges { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
.sales-badge { background: rgba(255,255,255,0.1); padding: 8px 15px; border-radius: 4px; font-size: 13px; font-weight: 600; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255,255,255,0.2); }
.sales-badge i { color: var(--mz-red); }
.sales-bio { font-size: 14px; color: #bbb; line-height: 1.6; font-style: italic; margin-bottom: 30px; }

.contact-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.channel-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); padding: 30px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: flex-start; gap: 20px; }
.channel-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.1); color: var(--mz-red); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 20px; flex-shrink: 0; }
.channel-text h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.channel-text p { font-size: 14px; color: #aaa; line-height: 1.5; margin-bottom: 10px; }
.channel-link { color: var(--mz-red); font-size: 13px; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 5px; }

.contact-form-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); padding: 35px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
.contact-form-card label { color: #ccc; }
.contact-form-card .form-control { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.contact-form-card .form-control:focus { border-color: var(--mz-red); background: rgba(255,255,255,0.1); }

/* =========================================
   BLOG & ARTICLE STYLES (Phase 9)
   ========================================= */
.featured-article { margin-bottom: 50px; }
.featured-article-link { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 15px 30px rgba(0,0,0,0.5); transition: transform 0.3s ease; }
.featured-article-link:hover { transform: translateY(-5px); }
.featured-image { height: 100%; min-height: 350px; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.blog-category { display: inline-block; background: var(--mz-red); color: #fff; padding: 5px 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; border-radius: 4px; margin-bottom: 15px; align-self: flex-start; }
.featured-title { font-size: 28px; font-weight: 700; margin-bottom: 15px; color: #fff; line-height: 1.3; }
.featured-excerpt { font-size: 16px; color: #aaa; line-height: 1.6; margin-bottom: 25px; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #888; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }
.read-more-text { color: var(--mz-red); font-weight: 600; display: flex; align-items: center; gap: 5px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
.blog-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 20px rgba(0,0,0,0.5); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.8); }
.blog-card a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.blog-card-img { height: 200px; width: 100%; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; color: #fff; }
.blog-excerpt { font-size: 14px; color: #aaa; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }

.blog-pagination { display: flex; justify-content: center; gap: 10px; align-items: center; }
.page-numbers { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s ease; }
.page-numbers:hover, .page-numbers.current { background: var(--mz-red); color: #fff; border-color: var(--mz-red); }
.page-numbers.dots { background: transparent; border: none; }

/* Single Article Layout */
.single-article-layout { display: grid; grid-template-columns: 2.5fr 1fr; gap: 50px; align-items: start; }
.article-content { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); padding: 50px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
.article-meta-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.article-date { font-size: 14px; color: #aaa; }
.article-title { font-size: 36px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 25px; }
.article-author { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.article-author span { font-size: 15px; color: #ccc; }
.article-featured-image { width: 100%; height: 450px; border-radius: 12px; overflow: hidden; margin-bottom: 40px; }
.article-featured-image img { width: 100%; height: 100%; object-fit: cover; }

.article-body { font-size: 17px; line-height: 1.8; color: #ddd; }
.article-body p { margin-bottom: 20px; }
.article-body h3 { font-size: 24px; font-weight: 700; margin: 40px 0 20px; color: #fff; }
.article-body img { width: 100%; border-radius: 12px; margin: 30px 0; }
.article-body .lead { font-size: 20px; color: #eee; font-weight: 300; margin-bottom: 30px; line-height: 1.6; }
.article-body ul { margin-bottom: 25px; padding-left: 20px; }
.article-body ul li { margin-bottom: 10px; }
.article-quote { font-size: 24px; font-style: italic; font-weight: 300; color: var(--mz-red); border-left: 4px solid var(--mz-red); padding-left: 30px; margin: 40px 0; line-height: 1.4; }

.article-footer { margin-top: 50px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.article-share { display: flex; align-items: center; gap: 15px; font-weight: 600; font-size: 15px; color: #fff; }
.share-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; text-decoration: none; transition: transform 0.3s ease; }
.share-btn:hover { transform: translateY(-3px); }
.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #000000; border: 1px solid rgba(255,255,255,0.2); }

.sidebar-widget { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); padding: 30px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 20px rgba(0,0,0,0.5); margin-bottom: 30px; }
.sidebar-widget h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); text-transform: uppercase; color: #fff; }
.widget-cta p { font-size: 14px; color: #ccc; line-height: 1.5; margin-bottom: 20px; }
.recent-posts-list { list-style: none; padding: 0; margin: 0; }
.recent-posts-list li { margin-bottom: 20px; }
.recent-posts-list li:last-child { margin-bottom: 0; }
.recent-posts-list a { display: flex; gap: 15px; text-decoration: none; color: inherit; align-items: center; }
.recent-posts-list img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.recent-post-info h4 { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 5px; transition: color 0.3s ease; color: #fff; }
.recent-posts-list a:hover .recent-post-info h4 { color: var(--mz-red); }
.recent-post-info span { font-size: 12px; color: #aaa; }

/* Responsive */
@media (max-width: 1200px) {
    html { scroll-snap-type: none; }
    .page-container { height: auto; }
    .content-wrapper { flex-direction: column; overflow: visible; }
    .sidebar-filters { width: 100%; height: auto; overflow: visible; position: static; margin-bottom: 30px; }
    .models-grid-section { height: auto; overflow: visible; }
}

@media (max-width: 768px) {
    html, body { overflow-x: hidden; }
    .page-container { padding: 20px 15px; }
    .content-wrapper { padding: 0; }
    
    /* Hide contact widgets on mobile to save space */
    .sales-profile-card, .contact-widget, .sidebar-filters h3, .filter-label { display: none; }
    
    /* Make filters more compact on mobile */
    .sidebar-filters { padding: 15px; background: #f9f9f9; border-radius: 8px; border: 1px solid #eaeaea; }
    .checkbox-list { flex-direction: row; flex-wrap: wrap; gap: 10px; }
    .custom-checkbox { width: 45%; font-size: 14px; }
    .filter-thumb { width: 40px; }
    
    /* Mobile Header & Navbar */
    .mazda-global-header { padding: 10px 15px; }
    .header-left .btn-menu { font-size: 12px; }
    .logo { font-size: 16px; }
    
    /* Mobile Hero Video Crop */
    .hero-banner { height: 50vh; min-height: 400px; }
    .hero-banner video { object-position: center; }
    .video-overlay div { font-size: 32px !important; }
    
    .credit-grid { grid-template-columns: 1fr; gap: 20px; }
    .credit-summary-col { position: relative; top: 0; }
    .summary-card { padding: 25px; }

    .ti-grid { grid-template-columns: 1fr; gap: 20px; }
    .ti-info-col { position: relative; top: 0; }
    .info-card { padding: 25px; }

    /* Mobile Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-top { flex-direction: column; gap: 20px; align-items: flex-start; }
}

/* =========================================
   MODEL OVERVIEW STYLES (REVISED Native WP)
   ========================================= */
.model-overview-page { padding: 40px; background-color: #f4f4f4; min-height: 100vh; }
.mo-header { margin-bottom: 20px; }
.mo-header h1 { font-family: var(--font-primary); font-size: 32px; font-weight: 300; letter-spacing: -0.5px; }

/* Toolbar (Search & Sort) */
.mo-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.mo-search-box { position: relative; width: 320px; }
.mo-search-box i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #888; }
.mo-search-box input { width: 100%; padding: 12px 15px 12px 40px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; font-family: var(--font-primary); outline: none; transition: border-color 0.2s; }
.mo-search-box input:focus { border-color: var(--mz-black); }

.mo-sort-box { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #555; }
.mo-sort-box select { padding: 10px 15px; border: 1px solid #ddd; border-radius: 8px; font-family: var(--font-primary); font-size: 14px; outline: none; cursor: pointer; background-color: #fff; }

.mo-container { display: flex; gap: 40px; position: relative; }
.mo-sidebar { width: 320px; flex-shrink: 0; position: sticky; top: 40px; align-self: flex-start; height: calc(100vh - 80px); overflow-y: auto; scrollbar-width: none; }
.mo-sidebar::-webkit-scrollbar { display: none; }
.mo-content { flex: 1; min-width: 0; }

.mo-filter-header-mobile, .mo-filter-footer-mobile { display: none; }

.mo-filter-group { margin-bottom: 25px; border-bottom: 1px solid #eaeaea; padding-bottom: 20px; }
.mo-filter-group:last-child { border-bottom: none; }
.mo-filter-group.hidden { display: none !important; }
.mo-filter-title { font-size: 15px; font-weight: 600; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }
.mo-filter-title.toggle-btn { cursor: pointer; user-select: none; }

.mo-radio-list, .mo-checkbox-list { display: flex; flex-direction: column; gap: 12px; }
.mo-radio, .mo-checkbox { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 13px; color: var(--mz-black); }
.mo-radio.hidden, .mo-checkbox.hidden { display: none !important; }
.mo-radio input, .mo-checkbox input { display: none; }

.mo-radio-mark { width: 18px; height: 18px; border: 1px solid #ccc; border-radius: 50%; position: relative; display: inline-block; transition: all 0.2s ease; flex-shrink: 0; }
.mo-radio input:checked ~ .mo-radio-mark { border-width: 5px; border-color: var(--mz-black); }

.mo-checkmark { width: 18px; height: 18px; border: 1px solid #ccc; border-radius: 4px; position: relative; display: inline-block; transition: all 0.2s ease; flex-shrink: 0; }
.mo-checkbox input:checked ~ .mo-checkmark { background-color: var(--mz-black); border-color: var(--mz-black); }
.mo-checkmark::after { content: ''; position: absolute; display: none; left: 5px; top: 2px; width: 4px; height: 9px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mo-checkbox input:checked ~ .mo-checkmark::after { display: block; }

.mo-check-text { display: flex; flex: 1; justify-content: space-between; align-items: center; }
.mo-count { color: #888; font-size: 12px; }

.mo-btn-primary { background: var(--mz-black); color: #fff; padding: 12px 20px; font-size: 13px; font-weight: 500; border-radius: 4px; border: none; cursor: pointer; transition: background 0.2s ease; width: 100%; }
.mo-btn-primary:hover { background: #333; }
.mo-btn-secondary { background: transparent; color: var(--mz-black); padding: 11px 19px; font-size: 13px; font-weight: 500; border-radius: 4px; border: 1px solid var(--mz-black); cursor: pointer; transition: background 0.2s ease; width: 100%; text-align: center; text-decoration: none; display: block; }
.mo-btn-secondary:hover { background: #f0f0f0; }
.mo-btn-reset { width: 100%; background: #e0e0e0; color: var(--mz-black); padding: 12px 20px; font-size: 13px; font-weight: 500; border-radius: 4px; border: none; cursor: pointer; margin-top: 15px; }

/* Grid & Cards */
.mo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.mo-card { background: #fff; border-radius: 12px; padding: 25px; position: relative; display: flex; flex-direction: column; opacity: 0; transform: translateY(20px); border: 1px solid #eaeaea; box-shadow: 0 10px 30px rgba(0,0,0,0.02); transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.mo-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: #ddd; }
.mo-card.hidden { display: none !important; }
.mo-card-image { width: 100%; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; position: relative; }
.mo-card-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.mo-availability { position: absolute; top: 0; right: 0; font-size: 10px; font-weight: 600; padding: 4px 8px; border-radius: 4px; background: rgba(0,0,0,0.05); color: #555; }

.mo-card-title { font-family: var(--font-primary); font-size: 20px; font-weight: 400; margin-bottom: 5px; letter-spacing: -0.5px; }
.mo-card-price { font-size: 14px; color: #555; margin-bottom: 15px; font-weight: 500; }

.mo-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.mo-badge { border: 1px solid #ccc; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 500; color: #555; background: transparent; }

.mo-specs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; }
.mo-spec-item { display: flex; justify-content: space-between; align-items: baseline; }
.mo-spec-item span { font-size: 12px; color: #777; }
.mo-spec-item strong { font-size: 13px; font-weight: 600; color: #111; }

.mo-tech-link { font-size: 12px; color: var(--mz-black); text-decoration: underline; margin-bottom: 25px; display: inline-block; font-weight: 500; }

.mo-card-actions { display: flex; gap: 10px; margin-bottom: 15px; margin-top: auto; }
.mo-card-actions button, .mo-card-actions a { flex: 1; }

.mo-compare-check { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; color: #444; justify-content: center; }
.mo-compare-check input { display: none; }
.mo-compare-check:hover { color: var(--mz-black); }

.mo-btn-mobile-filter { display: none; }

/* Empty State */
.mo-empty-state { text-align: center; padding: 80px 20px; background: #fff; border-radius: 12px; grid-column: 1 / -1; }
.mo-empty-state i { font-size: 48px; color: #ccc; margin-bottom: 20px; }
.mo-empty-state h2 { font-family: var(--font-primary); font-size: 24px; margin-bottom: 10px; }
.mo-empty-state p { color: #666; margin-bottom: 25px; font-size: 14px; }
.mo-empty-state .mo-btn-primary { width: auto; }

/* Skeleton Loading */
.mo-skeleton { background: #eee; background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%); background-size: 200% 100%; animation: 1.5s shine linear infinite; border-radius: 12px; }
.mo-skeleton-card { height: 500px; }
.mo-skeleton-filter { height: 150px; margin-bottom: 20px; }
@keyframes shine { to { background-position-x: -200%; } }

/* Compare Floating Bar */
.mo-compare-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.mo-compare-bar.active { transform: translateY(0) !important; }
.mo-compare-info { font-size: 16px; font-weight: 500; }
.mo-compare-actions { display: flex; gap: 15px; }
.mo-compare-actions .mo-btn-secondary, .mo-compare-actions .mo-btn-primary { width: auto; padding: 10px 25px; }

/* Responsive Model Overview */
@media (max-width: 1200px) {
    .mo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .mo-toolbar { flex-direction: column; align-items: stretch; }
    .mo-search-box { width: 100%; }
    .mo-container { flex-direction: column; }
    .mo-sidebar { display: none; }
    .mo-sidebar.bottom-sheet-active { display: flex; flex-direction: column; position: fixed; top: 10vh; left: 0; width: 100%; height: 90vh; background: #fff; z-index: 9999; border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,0.1); }
    .mo-filter-scroll { flex: 1; overflow-y: auto; padding: 20px; }
    .mo-filter-header-mobile { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #eaeaea; }
    .mo-filter-footer-mobile { display: flex; gap: 10px; padding: 20px; border-top: 1px solid #eaeaea; background: #fff; }
    .mo-btn-apply { flex: 2; background: var(--mz-black); color: #fff; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }
    .mo-btn-reset-mobile { flex: 1; background: #eee; color: #333; border: none; border-radius: 8px; font-weight: 500; cursor: pointer; }
    
    .mo-btn-mobile-filter { display: block; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--mz-black); color: #fff; border: none; padding: 15px 30px; border-radius: 30px; font-size: 14px; font-weight: 600; box-shadow: 0 5px 20px rgba(0,0,0,0.2); z-index: 9000; cursor: pointer; }
    
    .mo-grid { grid-template-columns: 1fr; }
    .model-overview-page { padding: 20px 15px; }
    .mo-compare-bar { padding: 20px 15px; flex-direction: column; gap: 15px; text-align: center; }
    .mo-compare-actions { width: 100%; }
    .mo-compare-actions button { flex: 1; }
}

/* =========================================
   SINGLE MODEL PAGE STYLES (Native WP)
   ========================================= */
.single-mazda-page { background: #fbfbfb; min-height: 100vh; padding-bottom: 60px; }

/* Sticky Nav */
.sm-sticky-nav { position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #eaeaea; z-index: 1000; padding: 15px 40px; }
.sm-nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.sm-model-name { font-family: var(--font-primary); font-size: 20px; font-weight: 500; margin: 0; letter-spacing: -0.5px; }

.sm-variant-tabs { display: flex; gap: 20px; }
.sm-tab-btn { background: none; border: none; font-family: var(--font-primary); font-size: 14px; font-weight: 500; color: #888; cursor: pointer; padding: 5px 0; position: relative; transition: color 0.2s; }
.sm-tab-btn:hover { color: var(--mz-black); }
.sm-tab-btn.active { color: var(--mz-black); }
.sm-tab-btn.active::after { content: ''; position: absolute; bottom: -16px; left: 0; width: 100%; height: 2px; background: var(--mz-black); }

.sm-nav-actions { display: flex; align-items: center; gap: 20px; }
.sm-nav-price { font-size: 16px; font-weight: 600; color: var(--mz-black); }
.mz-btn { padding: 12px 24px; font-size: 14px; font-weight: 500; border-radius: 4px; cursor: pointer; transition: all 0.2s ease; text-decoration: none; text-align: center; border: none; font-family: var(--font-primary); }
.mz-btn-primary { background: var(--mz-black); color: #fff; }
.mz-btn-primary:hover { background: #333; }
.mz-btn-outline { background: transparent; border: 1px solid var(--mz-black); color: var(--mz-black); }
.mz-btn-outline:hover { background: #f4f4f4; }

/* Hero Swiper */
.sm-hero { height: 70vh; background: #eee; position: relative; }
.sm-hero-swiper { width: 100%; height: 100%; }
.sm-hero-img { width: 100%; height: 100%; object-fit: cover; }
.sm-hero .swiper-button-next, .sm-hero .swiper-button-prev { color: #fff; background: rgba(0,0,0,0.3); width: 50px; height: 50px; border-radius: 50%; }
.sm-hero .swiper-button-next::after, .sm-hero .swiper-button-prev::after { font-size: 20px; }
.sm-hero .swiper-pagination-bullet { background: #fff; opacity: 0.5; }
.sm-hero .swiper-pagination-bullet-active { opacity: 1; }

/* Specs Bar */
.sm-specs-bar { display: flex; max-width: 1200px; margin: -40px auto 40px auto; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-radius: 12px; position: relative; z-index: 10; padding: 30px 40px; justify-content: space-between; }
.sm-spec-box { flex: 1; text-align: center; border-right: 1px solid #eaeaea; }
.sm-spec-box:last-child { border-right: none; }
.sm-spec-label { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; font-weight: 500; }
.sm-spec-value { font-family: var(--font-primary); font-size: 24px; font-weight: 300; color: var(--mz-black); }

/* Details Section */
.sm-details-section { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.sm-details-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }

.sm-details-content h2 { font-family: var(--font-primary); font-size: 28px; font-weight: 300; margin-bottom: 25px; letter-spacing: -0.5px; }
.sm-features-html { color: #555; line-height: 1.8; font-size: 15px; }
.sm-features-html p { margin-bottom: 15px; }
.sm-features-html ul { padding-left: 20px; margin-bottom: 20px; }
.sm-features-html li { margin-bottom: 10px; }

.sm-tech-table { width: 100%; border-collapse: collapse; }
.sm-tech-table td { padding: 15px 0; border-bottom: 1px solid #eaeaea; font-size: 15px; }
.sm-tech-table td:first-child { color: #888; width: 40%; }
.sm-tech-table td:last-child { font-weight: 500; color: var(--mz-black); }

/* CTA Sidebar */
.sm-details-sidebar { position: sticky; top: 100px; }
.sm-cta-card { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.sm-cta-card h3 { font-family: var(--font-primary); font-size: 24px; font-weight: 400; margin-bottom: 15px; letter-spacing: -0.5px; }
.sm-cta-card p { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 30px; }
.sm-cta-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 15px; }
.sm-cta-btn:last-child { margin-bottom: 0; }

@media (max-width: 992px) {
    .sm-sticky-nav { padding: 15px 20px; }
    .sm-nav-container { flex-direction: column; gap: 15px; }
    .sm-variant-tabs { width: 100%; overflow-x: auto; padding-bottom: 5px; }
    .sm-nav-actions { width: 100%; justify-content: space-between; }
    
    .sm-specs-bar { flex-direction: column; margin: 0; border-radius: 0; gap: 20px; }
    .sm-spec-box { border-right: none; border-bottom: 1px solid #eaeaea; padding-bottom: 20px; }
    .sm-spec-box:last-child { border-bottom: none; padding-bottom: 0; }
    
    .sm-details-grid { grid-template-columns: 1fr; gap: 40px; }
    .sm-details-sidebar { position: static; }
}

/* =========================================
   COMPARE PAGE STYLES (Native WP)
   ========================================= */
.compare-page { padding: 40px; background: #fff; min-height: 100vh; }
.cp-header { max-width: 1400px; margin: 0 auto 40px auto; text-align: center; }
.cp-header h1 { font-family: var(--font-primary); font-size: 36px; font-weight: 300; margin-bottom: 15px; letter-spacing: -0.5px; }
.cp-header p { color: #666; margin-bottom: 25px; font-size: 16px; }

.cp-container { max-width: 1400px; margin: 0 auto; position: relative; }
.cp-wrapper { width: 100%; overflow-x: auto; scrollbar-width: thin; padding-bottom: 20px; }

.cp-skeleton-grid { display: flex; gap: 30px; }
.cp-skel-col { flex: 1; min-width: 300px; }
.cp-skel-img { height: 180px; border-radius: 8px; margin-bottom: 20px; }
.cp-skel-text { height: 20px; border-radius: 4px; margin-bottom: 15px; }
.cp-skel-text.short { width: 60%; }

.cp-table { width: 100%; border-collapse: collapse; min-width: 900px; table-layout: fixed; }

/* Sticky Header */
.cp-sticky-head { position: sticky; top: 0; background: #fff; z-index: 100; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.cp-sticky-head th { padding: 20px; border-bottom: 2px solid var(--mz-black); vertical-align: top; text-align: center; width: 33.33%; position: relative; }
.cp-head-card { display: flex; flex-direction: column; align-items: center; }
.cp-head-img { width: 100%; height: 160px; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 15px; }
.cp-head-model { font-family: var(--font-primary); font-size: 20px; font-weight: 400; margin-bottom: 5px; }
.cp-head-variant { font-size: 12px; font-weight: 600; color: #666; background: #f4f4f4; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.cp-head-price { font-size: 16px; font-weight: 600; color: var(--mz-black); margin-bottom: 15px; }
.cp-btn-remove { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: #f9f9f9; border: 1px solid #ddd; color: #888; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.cp-btn-remove:hover { background: #fee; color: #d00; border-color: #fcc; }

/* Table Body */
.cp-table tbody td { padding: 20px; border-bottom: 1px solid #eaeaea; text-align: center; vertical-align: top; }
.cp-table tbody tr:nth-child(even) { background: #fafafa; }
.cp-table tbody tr:hover { background: #f5f5f5; }

.cp-group-row td { padding: 30px 20px 10px 20px !important; text-align: left !important; font-family: var(--font-primary); font-size: 18px; font-weight: 500; border-bottom: 2px solid #ddd !important; background: #fff !important; }

.cp-spec-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.cp-spec-val { font-size: 15px; font-weight: 500; color: var(--mz-black); }
.cp-spec-features { text-align: left; font-size: 14px; color: #555; line-height: 1.6; }
.cp-spec-features ul { padding-left: 20px; }
.cp-spec-features li { margin-bottom: 8px; }

.cp-action-row td { padding-top: 30px; border-bottom: none; }
.cp-action-row .mz-btn { width: 100%; display: block; margin-bottom: 10px; }

@media (max-width: 992px) {
    .compare-page { padding: 20px 10px; }
    .cp-header h1 { font-size: 28px; }
    .cp-head-img { height: 120px; }
    .cp-table { min-width: 800px; }
}

/* =========================================
   MOBILE RESPONSIVE & ACCESSIBILITY FIXES
   ========================================= */

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--mz-red);
    outline-offset: 2px;
}

/* Tablet & Mobile Layout Adjustments */
@media (max-width: 768px) {
    .page-container {
        padding: 20px 15px 60px;
    }
    
    /* Model Overview Layout */
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar-filters {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid #eaeaea;
        margin-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .checkbox-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .custom-checkbox {
        margin-bottom: 0;
    }
}

/* Specific Smartphone Adjustments */
@media (max-width: 430px) {
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero-3d, .btn-hero-outline {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    .hero-tagline-split {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
}
