@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors (V5 Jetleads Premium) */
    --vw-blue: #001e50;
    --vw-blue-light: #2563eb;
    /* Jetleads primary blue */
    --vw-white: #ffffff;
    --vw-gray-light: #f1f5f9;
    /* Slate 100 */
    --vw-gray: #94a3b8;
    /* Slate 400 */
    --vw-gray-dark: #334155;
    /* Slate 700 */
    --vw-gray-border: #e2e8f0;
    /* Slate 200 */
    --vw-danger: #ef4444;
    --vw-success: #10b981;
    --vw-warning: #f59e0b;

    /* Typograpy V8 (Inter) */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --global-margin: 15px;

    /* Spacing & Utilities (Jetleads SaaS approach) */
    --border-radius: 20px;
    --border-radius-sm: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease-in-out;
}

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

body {
    font-family: var(--font-family);
    background-color: #f8fafc;
    color: var(--vw-gray-dark);
    line-height: 1.6;
    padding-bottom: 90px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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


/* Base button and input resets for soft UI */
input,
select,
button {
    border-radius: var(--border-radius-sm);
}

.icon-btn {
    background: none;
    border: none;
    color: var(--vw-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   H1: Visibility of system status - Loading
   ========================================= */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--vw-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.loader-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(27, 102, 206, 0.1);
    border-top: 4px solid #1b66ce;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-car-icon {
    position: relative;
    font-size: 28px;
    color: #1b66ce;
    animation: pulse 1.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.progress-container {
    width: 200px;
    height: 6px;
    background: var(--vw-gray-light);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #1b66ce;
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--vw-gray-dark);
}



.hidden {
    opacity: 0;
    pointer-events: none;
}

/* =========================================
   HEADER & MOBILE FIRST NAVIGATION
   ========================================= */
/* Main Header (App Mockup) */
.main-header {
    background-color: transparent;
    padding: 20px 0 20px 0;
    /* Balanced top and bottom padding as requested */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logotipo */
.logo a {
    font-size: 1.4rem;
    color: var(--vw-blue);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo strong {
    font-weight: 700;
}

/* App Header Location Block */
.location-header {
    display: flex;
    flex-direction: column;
}

.location-label {
    font-size: 0.75rem;
    color: var(--vw-gray);
    margin-bottom: 2px;
}

.location-value {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.95rem;
    color: var(--vw-blue);
}

.location-icon {
    font-size: 1.1rem;
    color: #4da6ff;
    /* Light blue pin match mockup */
}

.notif-btn {
    border: 1px solid rgba(0, 30, 80, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background: var(--vw-white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions .icon-btn {
    position: relative;
}

.fav-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--vw-danger);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobile Nav is hidden initially */
.main-nav {
    display: none;
}

/* Mobile Search Section detached from Header */
.search-section {
    background: var(--vw-white);
    padding: 10px 0 15px 0;
    border-bottom: 1px solid var(--vw-gray-light);
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: var(--vw-white);
    /* Mockup: White search bar */
    border-radius: 30px;
    /* Pill shape */
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* very subtle border */
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.search-input-group:focus-within {
    border-color: var(--vw-blue);
    box-shadow: 0 4px 15px rgba(0, 30, 80, 0.08);
    /* Soft glow */
}

#main-search {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    padding-left: 10px;
    font-family: inherit;
    font-size: 0.9rem;
}

.search-icon {
    color: var(--vw-gray);
    font-size: 1.2rem;
}

.filter-icon-btn {
    color: var(--vw-blue);
    background: rgba(0, 30, 80, 0.05);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    min-width: 36px;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    padding: 0;
}

.filter-icon-btn .material-icons {
    font-size: 1.1rem;
}

/* Filters Dropdown (App UI inside search area) */
.filters-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: var(--vw-white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 100;
}

.filters-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.filters-dropdown-header h4 {
    font-size: 1rem;
    color: var(--vw-blue);
}

.filters-dropdown .filter-group {
    margin-bottom: 12px;
}

.filters-dropdown label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vw-gray-dark);
    display: block;
    margin-bottom: 5px;
}

.filters-dropdown select,
.filters-dropdown input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--vw-gray-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    background: #f8fafc;
}

.search-suggestions {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: var(--vw-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow);
    display: none;
    z-index: 1001;
    padding: 10px;
    border: 1px solid var(--vw-gray-light);
}

.search-suggestions.show {
    display: block;
}

.suggestion-title {
    font-size: 0.8rem;
    color: var(--vw-gray);
    margin-bottom: 5px;
    padding-left: 10px;
}

.suggestion-list li {
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--vw-blue);
}

/* =========================================
   HERO BANNER (Image tag integration)
   ========================================= */
.hero-banner {
    padding: 10px 0 20px 0;
}

.hero-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    height: 160px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   HERO BANNER V5
   ========================================= */
.hero-banner {
    padding-top: 5px;
}

.hero-container {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    /* Darken image to make text pop */
}

.hero-overlay.v6-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* V7 Left Alignment */
.hero-overlay.v7-left-align {
    align-items: flex-start;
    text-align: left;
    padding: 30px var(--global-margin);
    /* Padding between borders and text */
}

.hero-overlay.v7-left-align .hero-text-content {
    max-width: 60%;
    /* Constraint text to 60% */
    margin-bottom: 20px;
}

.hero-overlay.v7-left-align .btn-hero-cta {
    margin-top: 10px;
}


.hero-text-content {
    margin-bottom: 20px;
}

.hero-overlay h2 {
    color: var(--vw-white);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 400;
    /* Thinner subtitle */
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.carousel-indicators .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.carousel-indicators .dot.active {
    background: var(--vw-white);
    width: 18px;
    border-radius: 10px;
}

.btn-hero-cta {
    background: var(--vw-white);
    color: var(--vw-blue);
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.btn-hero-cta:active {
    transform: scale(0.95);
}

/* =========================================
   NEW DESTAQUE SECTION V5
   ========================================= */
.featured-vehicle-section {
    padding: 25px 0 10px 0;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--vw-gray-dark);
    margin-bottom: 15px;
}

.featured-card {
    border: 1px solid var(--vw-gray-border);
    border-radius: var(--border-radius);
    background: var(--vw-white);
    transform: scale(1);
    transition: var(--transition);
    overflow: hidden;
}

.featured-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.gradient-glow {
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 0 2px 4px -2px rgba(37, 99, 235, 0.1);
}

/* =========================================
   RESPONSIVE BRAND GRID
   ========================================= */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
    padding: 0 var(--global-margin);
}

@media (min-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 20px;
    }
}




/* =========================================
   TOP BRAND SECTION V6
   ========================================= */
.top-brand-section {
    padding: 15px 0 30px 0;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
    padding: 0 var(--global-margin);
}

@media (min-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 20px;
    }
}

.brand-logo-card {
    background: var(--vw-white);
    border: 1px solid var(--vw-gray-border);
    border-radius: 16px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    cursor: pointer;
}

.brand-logo-card img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: var(--transition);
    filter: grayscale(1);
    opacity: 0.7;
}

.brand-logo-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.brand-logo-card:hover {
    border-color: var(--vw-blue-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
}

.brand-logo-card:active {
    transform: scale(0.95);
}

.popular-cars-header {
    padding-top: 20px;
    margin-bottom: 10px;
}

/* V7 Horizontal Scroll for Featured */
.v7-featured-main {
    padding: 0 0 40px 0;
    margin-top: -10px;
}

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

.view-all-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vw-gray);
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--vw-blue-light);
}

/* =========================================
   STICKY BOTTOM NAVIGATION - FLOATING PILL MOCKUP V2
   ========================================= */
/* =========================================
   V10 BOTTOM NAVIGATION (NEW PILL DESIGN)
   ========================================= */
.bottom-nav-container {
    position: fixed;
    bottom: 20px;
    /* Floating more */
    left: 15px;
    right: 15px;
    z-index: 2000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.v10-bottom-nav {
    background: #001540;
    /* Slightly darker navy to match the image precisely */
    border-radius: 50px;
    padding: 12px 22px;
    /* 10% smaller */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    /* 10% smaller */
    pointer-events: auto;
}

.v10-bottom-nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-item a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 58px;
    /* 10% smaller */
    height: 58px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-icon-circle {
    width: 48px;
    /* 10% smaller */
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-icon-circle .material-symbols-rounded {
    font-size: 27px;
    /* 10% smaller */
    color: #ffffff;
    transition: all 0.3s ease;
    font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 27;
}

/* ACTIVE STATE */
.nav-item.active .nav-icon-circle {
    background: #ffffff !important;
    transform: scale(1.1);
    /* The white circle is notably larger than the inactive ones */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-item.active .nav-icon-circle .material-symbols-rounded {
    color: #00bfff !important;
    /* Slightly lighter cyan based on image */
    font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
    /* Filled active icon */
}

/* ACTIVE TABS SPECIFIC COLORS (Optional based on mockup) */
/* If "Home" is always cyan when active, "Search" blue, etc. 
   But the mockup seems to show Cyan for the active icon generally. */

/* WhatsApp nav button — always green with white icon */
.nav-item[data-tab="whatsapp"] .nav-icon-circle {
    background: #25D366 !important;
}
.nav-item[data-tab="whatsapp"] .nav-icon-circle svg {
    fill: #ffffff !important;
}
.nav-item[data-tab="whatsapp"].active .nav-icon-circle {
    background: #25D366 !important;
}
.nav-item[data-tab="whatsapp"].active .nav-icon-circle svg {
    fill: #ffffff !important;
}

.nav-icon-circle .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 2px solid #001e50;
}

/* Material Symbols Rules */
.material-symbols-rounded {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    font-size: 24px;
    transition: color 0.3s, font-variation-settings 0.3s;
}

/* Active state */
.bottom-nav a.active .nav-icon-wrapper {
    background: #1b66ce;
    /* VW Blue */
    color: white;
}

.bottom-nav a.active .material-symbols-rounded {
    color: white;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.bottom-nav a.active .nav-label {
    color: white;
    display: block;
    /* Show when active */
}

.nav-dot {
    display: none;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    position: absolute;
    bottom: -8px;
    transition: 0.3s ease;
}

/* Optional dot */
/* .bottom-nav a.active .nav-dot {
    display: block;
} */

.bottom-nav .icon-with-badge {
    position: relative;
}

.bottom-nav .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--vw-danger);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    width: 14px;
    height: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid #1c1c1e;
    /* Dark border to stand out against nav background */
}

/* =========================================
   MAIN LAYOUT & FILTERS (MOBILE DEFAULT)
   ========================================= */
.page-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.filters-sidebar {
    background: var(--vw-white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--vw-gray-light);
    padding-bottom: 10px;
}

.filters-header h3 {
    color: var(--vw-blue);
    font-size: 1.1rem;
}

.text-btn {
    background: none;
    border: none;
    color: var(--vw-gray-dark);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 15px;
}

/* =========================================
   V18 EQUIPMENT MATRIX PDP GRID
   ========================================= */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.equip-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.equip-check {
    color: #10b981;
    /* Soft Green */
    font-size: 18px;
    margin-right: 8px;
}

@media (min-width: 768px) {
    .equipment-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.filter-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.filter-group select,
.filter-group input[type="number"],
.filter-group input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--vw-gray-light);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    outline: none;
    background: var(--vw-gray-light);
    transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
    background: var(--vw-white);
    border-color: var(--vw-blue);
    box-shadow: 0 0 0 3px rgba(0, 30, 80, 0.1);
}

.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-inputs input {
    width: 45%;
}

.collapsible-filter .collapse-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--vw-blue);
    cursor: pointer;
    padding: 15px 0 5px 0;
    border-top: 1px solid var(--vw-gray-light);
}

.collapsible-filter .collapse-content {
    display: none;
    padding: 10px 0;
}

.collapsible-filter.open .collapse-content {
    display: block;
}

.collapsible-filter.open .expand-icon {
    transform: rotate(180deg);
}

/* =========================================
   VEHICLE CARDS (App Grid Mockup - 2 Columns)
   ========================================= */
.vehicle-listing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Mobile 2 columns */
    gap: 15px;
}

/* =========================================
   VEHICLE CARDS V6 (Full-Bleed Reference Design)
   ========================================= */
.vehicle-listing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-bottom: 30px;
}

.vehicle-card.v6-card {
    height: 220px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--vw-gray-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.v6-card .v6-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.v6-card .v6-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 100%);
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.v6-card .v6-header {
    display: flex;
    flex-direction: column;
}

.v6-card .v6-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.v6-card .v6-specs {
    display: flex;
    gap: 8px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

.v6-card .btn-buy-now {
    background: var(--vw-white);
    color: var(--vw-blue);
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
}

.v6-card .v6-price {
    color: white;
    font-size: 0.95rem;
    font-weight: 800;
}

.v6-card:active {
    transform: scale(0.96);
}

.btn-primary-small {
    background: var(--vw-blue-light);
    color: white;
    border: 1px solid var(--vw-blue-light);
    padding: 8px 0;
    flex: 1;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary-small:hover {
    background: #1d4ed8;
    /* Darker blue */
    border-color: #1d4ed8;
}

.btn-secondary-small {
    background: transparent;
    color: var(--vw-blue-light);
    border: 1px solid var(--vw-gray-border);
    padding: 8px 0;
    flex: 1;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary-small:hover {
    background: var(--vw-gray-light);
    border-color: var(--vw-gray);
}

/* =========================================
   FLOATING WHATSAPP (Hidden on Mobile if Bottom Nav is present)
   ========================================= */
.fab-whatsapp {
    display: flex;
    position: fixed;
    bottom: 84px;
    right: 16px;
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.fab-whatsapp:active { transform: scale(0.93); }
.fab-whatsapp .material-symbols-rounded { font-size: 28px; }

/* =========================================
   MODALS (Soft UI)
   ========================================= */
.modal,
.pdp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.pdp-modal.show {
    display: block;
    /* Different layout logic */
}

.modal-content {
    background: var(--vw-white);
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--vw-gray-dark);
    background: var(--vw-gray-light);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content h2 {
    color: var(--vw-blue);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--vw-gray-dark);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--vw-gray-light);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    background: var(--vw-gray-light);
}

.form-group input:focus {
    background: var(--vw-white);
    border-color: var(--vw-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 30, 80, 0.1);
}

.btn-primary {
    background: var(--vw-blue);
    color: var(--vw-white);
    border: none;
    padding: 14px 20px;
    width: 100%;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 30, 80, 0.2);
}

.btn-primary:active {
    transform: scale(0.98);
}

.feedback-msg {
    margin-top: 15px;
    padding: 15px;
    background: #e6f6ee;
    color: var(--vw-success);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

/* =========================================
   V26 IMMERSIVE PDP (APP-LIKE EXPERIENCE)
   ========================================= */

/* Header V29 - Left Aligned Corrected */
.pdp-header-v26 {
    flex-shrink: 0;
    vertical-align: top;
    background: #ffffff;
    padding: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 80px; /* Increased by 10px for padding-bottom */
    padding-bottom: 10px;
    overflow: hidden;
}

.pdp-header-v26.scrolled {
    max-height: 170px;
}

.pdp-header-top {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
}

.pdp-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    /* Take up space to push actions to the right */
    min-width: 0;
}

.icon-btn-back {
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #001e50;
    margin-left: -8px;
    flex-shrink: 0;
}

.pdp-header-brand-container {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    flex: 1;
    min-width: 0;
}

.pdp-logo-v26 {
    height: 28px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.pdp-header-title-dynamic {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateY(10px);
    font-size: 16px;
    font-weight: 800;
    color: #001e50;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Nome do veículo fixo acima das âncoras */
.pdp-sticky-vehicle-name {
    font-size: 13px;
    font-weight: 800;
    color: #001e50;
    padding: 0 20px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    max-height: 0;
    pointer-events: none;
    transition: opacity 0.25s, max-height 0.25s;
}

.pdp-header-v26.scrolled .pdp-sticky-vehicle-name {
    opacity: 1;
    max-height: 32px;
    pointer-events: auto;
}

.pdp-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pdp-header-actions .icon-btn {
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
}

/* Modal Fullscreen Fix */
.pdp-modal {
    display: none;
    /* MUST be hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: #ffffff;
    z-index: 9999;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
}

/* Sticky Footer V26.2 - Absolute Full Width */
.pdp-footer-v26 {
    flex-shrink: 0;
    background: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    border-top: 1px solid #f1f5f9;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border-radius: 0 !important;
    position: sticky;
    bottom: 0;
    /* Fixed for V30 - Restore stickiness */
}

/* Sticky Navigation V26.4 - Dual State Management */
.pdp-header-v26 .pdp-sticky-nav-container {
    background: transparent;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

.pdp-header-v26.scrolled .pdp-sticky-nav-container {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Centered Anchors for Header */
.pdp-header-v26 .pdp-anchor-nav {
    justify-content: center;
    padding: 8px 16px;
    background: transparent;
}

/* Static Anchors (Below Hero Info) */
.pdp-static-nav-container {
    width: 100%;
    margin-top: 5px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.pdp-static-nav-container .pdp-anchor-nav {
    justify-content: flex-start; /* Standard scroll for mobile */
    padding: 12px 20px;
}

/* Immersive Body */
.pdp-immersive-body {
    flex-grow: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    background: #ffffff;
}

/* Anchor Navigation V26.3 - Modern Chips */
.pdp-anchor-nav {
    display: flex;
    padding: 12px 20px;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.desktop-nav-block {
    display: none;
}

.pdp-desktop-close-btn {
    display: none;
}

.pdp-sidebar-column {
    display: none;
}

.pdp-anchor-nav::-webkit-scrollbar {
    display: none;
}

.pdp-anchor-link {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-decoration: none;
    background: #f1f5f9;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 1px solid transparent;
}

.pdp-anchor-link:hover {
    background: #e2e8f0;
    color: #001e50;
}

.pdp-anchor-link.active {
    background: #001e50;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 30, 80, 0.2);
    border-color: #001e50;
}

/* First Fold Layout Elements */
.pdp-hero-info {
    padding: 24px 20px;
    background: #ffffff;
}

.pdp-main-title-v26 {
    font-size: 28px;
    font-weight: 900;
    color: #001e50;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

/* Hero Gallery */
.pdp-hero-gallery {
    width: 100%;
    background: #f1f5f9;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.pdp-hero-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Sections */
.pdp-section-v26 {
    padding: 32px 20px;
}

.pdp-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

/* Details Section */
.pdp-description-v26 {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

/* Features (Specs) Section */
.pdp-specs-grid-v26 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.pdp-spec-card-v26 {
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pdp-spec-card-v26 i {
    color: #64748b;
    font-size: 20px;
}

.pdp-spec-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pdp-spec-value {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

/* Notable Features */
.pdp-notable-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pdp-notable-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
}

.pdp-notable-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.pdp-notable-status {
    color: #10b981;
    font-size: 12px;
    font-weight: 700;
}

/* Design Gallery Section */
.pdp-design-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 160px);
    gap: 12px;
}

.pdp-design-img {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.pdp-design-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-design-img.large {
    grid-column: span 1;
    grid-row: span 2;
}

.pdp-design-img.wide {
    grid-column: span 2;
    height: 200px;
}

/* Sticky Footer V26.3 - Modern Glassmorphism */
.pdp-footer-v26 {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    border-top: 1px solid rgba(241, 245, 249, 0.5);
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border-radius: 0 !important;
    position: sticky;
    bottom: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pdp-footer-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pdp-footer-label {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.pdp-footer-price-value {
    font-size: 24px;
    font-weight: 900;
    color: #001e50;
    line-height: 1;
    letter-spacing: -0.5px;
}

.pdp-footer-actions-v26 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn-secondary-v26 {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #334155;
    transition: all 0.2s ease;
}

.icon-btn-secondary-v26:hover {
    background: #e2e8f0;
    color: #001e50;
    transform: translateY(-2px);
}

.icon-btn-secondary-v26 .material-symbols-rounded {
    font-size: 22px;
}

.pdp-whatsapp-btn-v26 {
    background: #25d366;
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.pdp-whatsapp-icon-v26 {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.pdp-whatsapp-btn-v26:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.pdp-buy-btn-v26 {
    background: #001e50;
    color: #ffffff;
    border: none;
    padding: 0 24px;
    height: 48px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 30, 80, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdp-buy-btn-v26:hover {
    background: #00368c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 30, 80, 0.3);
}

.pdp-buy-btn-v26:active {
    transform: scale(0.96);
}

/* Trade-in CTA Banner V27 - Fixed Layout */
.pdp-tradein-cta {
    background: linear-gradient(135deg, #001e50 0%, #00a1de 100%);
    border-radius: 20px;
    padding: 28px;
    margin: 24px 0;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.pdp-tradein-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 30, 80, 0.25);
}

.pdp-tradein-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.pdp-tradein-subtitle {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.4;
}

.pdp-tradein-btn {
    background: #ffffff;
    color: #001e50;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    align-self: flex-start;
    margin-top: 8px;
    transition: all 0.2s;
}

.pdp-tradein-btn:hover {
    background: #f1f5f9;
}

/* Photo Gallery Modal (Swipeable Visualizer) */
.pdp-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 30000;
    flex-direction: column;
}

.gallery-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    position: absolute;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
}

.gallery-counter {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.gallery-close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gallery-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    transition: transform 0.3s ease-out;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.gallery-nav button {
    background: rgba(0,0,0,0.3);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav button:active {
    background: rgba(255,255,255,0.2);
}

.gallery-nav button .material-symbols-rounded {
    font-size: 32px;
}

.pdp-tradein-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 30, 80, 0.2);
}

.pdp-tradein-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.pdp-tradein-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.pdp-tradein-btn {
    background: #ffffff;
    color: #001e50;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    align-self: flex-start;
    margin-top: 4px;
}

/* Trade-in Modal - 2 Steps */
.tradein-modal,
.trade-in-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.tradein-modal.show,
.trade-in-modal.show {
    display: flex;
}

.tradein-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 20px;
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    scrollbar-width: none;
}

.tradein-modal-content::-webkit-scrollbar {
    display: none;
}

/* Mobile: Trade-in modal — bottom sheet */
@media (max-width: 600px) {
    .tradein-modal {
        padding: 0;
        align-items: flex-end;
        justify-content: center;
        overflow-y: hidden;
    }

    .tradein-modal-content {
        max-width: 100%;
        max-height: 92dvh;
        overflow-y: auto;
        border-radius: 20px 20px 0 0;
        margin: 0;
    }

    .tradein-step {
        padding: 16px;
    }

    .tradein-form-grid {
        gap: 8px;
    }

    .tradein-form-group {
        margin-bottom: 8px;
    }

    .tradein-form-group label {
        font-size: 11px;
    }

    .tradein-form-group input {
        height: 42px;
        font-size: 14px;
        padding: 0 12px;
    }

    .tradein-photo-upload {
        padding: 12px;
    }

    .tradein-photo-upload i {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .tradein-photo-upload p {
        font-size: 13px;
        margin: 0;
    }

    .tradein-footer {
        padding: 8px 16px 16px;
    }

    .tradein-btn-next,
    .tradein-btn-submit,
    .tradein-btn-back {
        height: 46px;
        font-size: 14px;
    }
}

.tradein-modal-header {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tradein-modal-content h2 {
    font-size: 18px;
    font-weight: 800;
    color: #001e50;
    margin: 0;
}

/* Fallback padding for forms not wrapped in steps (like proposal-form) */
.tradein-modal-content form {
    padding: 24px;
}

.tradein-step {
    padding: 24px;
    display: none;
    box-sizing: border-box;
}

.tradein-step.active {
    display: block;
}

.tradein-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tradein-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.tradein-form-group.full {
    grid-column: span 2;
}

.tradein-form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tradein-form-group input {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 15px;
    transition: all 0.2s;
}

.tradein-form-group input:focus {
    border-color: #00a1de;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 161, 222, 0.1);
}

.tradein-photo-upload {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.tradein-photo-upload:hover {
    border-color: #00a1de;
    background: #f8fafc;
}

.tradein-photo-upload i {
    font-size: 32px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.tradein-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
}

.tradein-btn-next,
.tradein-btn-submit {
    flex: 1;
    background: #001e50;
    color: #ffffff;
    border: none;
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}

.tradein-btn-back {
    background: #f1f5f9;
    color: #64748b;
    border: none;
    height: 52px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.pdp-whatsapp-btn-v26 {
    background: #25d366;
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.pdp-buy-btn-v26 {
    background: #001e50;
    color: #ffffff;
    border: none;
    padding: 0 28px;
    height: 48px;
    border-radius: 14px;
    font-size: 16px;
    /* Slightly larger */
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 18px rgba(0, 30, 80, 0.25);
}

.pdp-buy-btn-v26:hover {
    background: #002b70;
    transform: translateY(-2px);
}



/* =========================================
   DESKTOP MEDIA QUERY (Mobile-First Expansion)
   ========================================= */
@media (min-width: 1024px) {

    body {
        padding-bottom: 0;
        /* Reset body padding on desktop */
    }

    .container {
        max-width: 1200px;
    }

    /* Hide Mobile Bottom Nav */
    .bottom-nav {
        display: none;
    }

    /* Restore Desktop Header & Nav */
    .header-actions .menu-toggle {
        display: none;
        /* Hide hamburger */
    }

    .main-nav {
        display: block;
    }

    .main-nav ul {
        display: flex;
        gap: 25px;
    }

    .main-nav a {
        font-weight: 500;
        color: var(--vw-gray-dark);
        transition: var(--transition);
        padding: 5px 0;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: var(--vw-blue);
        border-bottom: 2px solid var(--vw-blue);
    }

    /* Move search back into header */
    .search-section {
        display: none;
        /* Hide detached mobile section */
    }

    /* We need to restructure the DOM slightly via CSS to show the desktop search in header */
    .main-header .container {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        gap: 30px;
    }

    /* Floating WhatsApp is available on Desktop */
    .fab-whatsapp {
        display: flex;
    }

    /* Desktop Layout Grid */
    .page-content {
        flex-direction: row;
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 40px;
        margin-top: 40px;
    }

    .vehicle-listing {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }

    /* V24 PDP Desktop Override (60/40 Webmotors layout) */
    .pdp-modal {
        align-items: center;
        background: rgba(0, 0, 0, 0.7);
        /* Darker backdrop on desktop */
    }

    .pdp-content {
        width: 100%;
        max-width: 1100px;
        /* Wider canvas for the 60/40 */
        height: 90vh;
        border-radius: 16px;
        background: #f8fafc;
    }

    .pdp-body {
        padding: 30px;
        /* Padding wrapping the inner grid */
    }

    .pdp-layout.pdp-webmotors-layout {
        flex-direction: row;
        gap: 30px;
        align-items: flex-start;
        /* Crucial for sticky height reference */
    }

    .pdp-left-col {
        flex: 6;
        /* 60% Width */
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }

    .pdp-right-col {
        flex: 4;
        /* 40% Width */
        border-radius: 12px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        order: 1;
        /* Restore normal order */
        position: sticky;
        top: 0;
        /* Sticky against the top of pdp-body scrolling context */
        margin-bottom: 0;
    }

    .pdp-cta-group {
        position: relative;
        /* Break out of fixed bottom mobile layer */
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
        flex-direction: column;
        /* Stack buttons vertically on desktop sidebars */
        margin-top: 15px;
    }

    .btn-cta {
        padding: 16px;
        font-size: 16px;
    }

    .pdp-gallery img {
        height: 500px;
        max-height: 500px;
        border-radius: 0;
    }
}

/* V8 Premium Card Design */
.v8-card {
    background: var(--vw-white) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.v8-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.v8-img-content {
    position: relative;
    width: 100%;
}

.v8-bg-img {
    width: 100%;
    aspect-ratio: 16/9;
    /* Shorter image */
    object-fit: cover;
    display: block;
}

.v8-badge-destaque {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: white;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    font-size: 0.9rem !important;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 10 !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.v8-body {
    padding: 10px 10px 24px 10px;
    /* Added more space to the bottom edge */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.v8-top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.v8-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.v8-fav-btn {
    color: #cbd5e1;
    font-size: 20px;
    cursor: pointer;
}

.v8-title {
    font-size: 1rem;
    /* Smaller font */
    font-weight: 700;
    color: var(--vw-blue);
    margin-bottom: 6px;
    line-height: 1.1;
}

.v8-specs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* Super tight gap */
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.v8-spec {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #64748b;
}

.v8-spec .material-symbols-rounded {
    font-size: 16px;
    /* Smaller icons */
    color: #94a3b8;
}

.v8-price-tag {
    font-size: 1.25rem;
    /* Smaller price */
    font-weight: 800;
    color: var(--vw-blue);
    margin-bottom: 10px;
}

.v8-footer {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.v8-btn-outline {
    flex: 1;
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #2563eb;
    padding: 8px;
    /* Tighter padding */
    border-radius: 50px;
    /* Fully rounded */
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.v8-btn-solid {
    flex: 1;
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px;
    /* Tighter padding */
    border-radius: 50px;
    /* Fully rounded */
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

/* Featured Scroll Redefinition for V8 */
/* Final V9 Correction: Forced 15px Screen Offset with Full Bleed via Pseudo Elements */
body .v7-horizontal-scroll {
    display: flex !important;
    overflow-x: auto !important;
    gap: 15px !important;
    padding: 10px 0 30px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

/* Banner Carousel Specifics */
.v12-promo-carousel-container {
    position: relative;
    width: 100%;
    margin-top: 15px;
    padding: 0;
    overflow: hidden;
}

.v12-promo-carousel-track {
    display: flex;
    overflow-x: auto;
    width: 100%;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    gap: 0;
}

.v12-promo-carousel-track::-webkit-scrollbar {
    display: none;
}

.v12-promo-carousel {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: block;
}

/* FOOLPROOF 15PX OFFSET AT THE EDGES - NO CLIPPING */
.v7-horizontal-scroll::before,
.v7-horizontal-scroll::after {
    content: '' !important;
    flex: 0 0 15px !important;
    width: 15px !important;
    display: block !important;
}

.v7-horizontal-scroll::-webkit-scrollbar {
    display: none;
}

body .v7-horizontal-scroll .v8-card {
    flex: 0 0 55% !important;
    /* Reduced width as requested to see more items */
    min-width: 210px !important;
    /* Lowered min-width to accommodate 55% on smaller screens */
    scroll-snap-align: start;
    margin-bottom: 20px;
}

/* Swipe Indicator V9.6 */
.v7-carousel-wrapper {
    position: relative;
    width: 100%;
}

.swipe-indicator {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 15;
    pointer-events: none;
    animation: swipeHint 2s infinite;
}

@keyframes swipeHint {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-50%) translateX(-10px);
        opacity: 1;
    }
}

.swipe-indicator .material-symbols-rounded {
    font-size: 20px;
    color: var(--vw-blue);
}

#vehicle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--global-margin);
}

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

/* =========================================
   V11 FULL APP LAYOUT OVERHAUL
   ========================================= */

/* Header & Logo */
.v11-logo-img {
    height: 50px;
    /* Increased further */
    max-width: 230px;
    object-fit: contain;
    display: block;
}

.v11-header-actions .hamburger-btn {
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
}

/* Search Bar Pill */
.v11-search-section {
    padding: 0;
    /* Zeroed bottom padding, using margin 30px instead */
    background: #ffffff;
}

.v11-search-wrapper {
    padding: 0 15px;
}

.v11-search-input {
    background: #f3f4f6;
    /* Light gray pill */
    border-radius: 50px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.v11-search-input input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 15px;
    font-family: 'Urbanist', sans-serif;
    color: #333;
    outline: none;
}

.v11-search-input input::placeholder {
    color: #9ca3af;
}

.v11-search-input .search-icon {
    color: #9ca3af;
    font-size: 22px;
}

.v11-search-input .filter-icon-btn {
    background: transparent;
    color: #9ca3af;
    border: none;
    padding: 0;
    margin: 0;
}

/* Hero Banner V11 */
.v11-hero {
    padding: 0 15px;
    /* Zeroed bottom padding, using margin 30px instead */
    background: #ffffff;
}

.v11-hero-card {
    background: #e5e5ea url('/img/hero_banner.png') center/cover no-repeat;
    /* Placeholder grey from mockup */
    border-radius: 20px;
    height: 180px;
    /* Increased slightly for better banner frame */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Add a dark overlay so white text stays readable */
.v11-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.v11-hero-content {
    text-align: center;
    z-index: 2;
}

.v11-hero-content h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.v11-hero-indicators {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.v11-hero-indicators .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: block;
}

.v11-hero-indicators .dot.active {
    background: #00e0ff;
    /* Cyan active dot */
    width: 20px;
    border-radius: 10px;
}

/* Section Headers V11 */
.v11-section {
    padding: 0;
    /* Zeroed bottom padding, using margin 30px instead */
    background: #ffffff;
}

.v11-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    /* Reduced margin */
}

.v11-section-header h3 {
    font-size: 18px;
    /* Slightly smaller for compactness */
    font-weight: 800;
    color: var(--vw-blue);
    margin: 0;
}

.v11-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px 15px 15px;
}

.v11-section-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.v11-section-header .v11-see-all {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
}

/* Category Pills V11 */
.v11-pill-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 10px !important;
    padding: 0 0 10px 15px !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: auto !important;
    margin: 0 !important;
}

.v11-pill-grid::-webkit-scrollbar {
    display: none;
}

.v11-pill-grid::after {
    content: '';
    flex: 0 0 15px;
    width: 15px;
}

/* V11.3 Compact Pills to fit 6 on screen */
.v11-3-compact {
    gap: 4px !important;
    /* Extremely tight gap */
    padding: 0 15px 10px 15px !important;
}

.v11-3-compact .v11-pill {
    padding: 6px 12px;
    /* Much smaller padding */
    border-radius: 20px;
    min-width: auto;
}

.v11-3-compact .v11-pill span {
    font-size: 11px;
    /* Smaller font to fit everything */
    letter-spacing: -0.3px;
}

.v11-pill {
    background: #f3f4f6;
    border-radius: 30px;
    padding: 12px 24px;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
}

.v11-pill span {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
}

.v11-pill.active {
    background: #0088cc;
    /* Match the blue from the mockup */
}

.v11-pill.active span {
    color: #ffffff;
}

/* V11 Vehicle Card (Recommendation For You) */
.v11-card {
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    /* Adjust flex properties depending on context: Carousel vs Grid */
}

/* Specific size for carousel */
.v7-horizontal-scroll .v11-card {
    flex: 0 0 65% !important;
    /* Smaller width for V11 to see more of the next */
    min-width: 240px !important;
    scroll-snap-align: start;
    margin-bottom: 20px;
}

/* Specific size for grid */
#vehicle-grid .v11-card {
    width: 100%;
}

.v11-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Approximate proportion from mockup */
    background: #e5e5ea;
    border-radius: 20px;
    overflow: hidden;
}

.v11-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Heart Overlay Top Right */
.v11-heart-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    z-index: 2;
}

.v11-heart-overlay .material-symbols-rounded {
    color: red;
    /* By default shown as red in mockup */
    font-size: 24px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Arrow Overlay Bottom Right */
.v11-arrow-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass if needed */
}

.v11-arrow-overlay .material-symbols-rounded {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.v11-card-info {
    padding: 12px 5px;
    /* Minimal side padding as per mockup */
    background: #ffffff;
}

.v11-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v11-card-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    margin: 0 0 8px 0;
}

.v11-card-price {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

/* =========================================
   V12 DEEP UI REDESIGN (NIELSEN HEURISTICS)
   ========================================= */

:root {
    /* V12 Modern Color Palette & Typography */
    --v12-bg: #fdfdfd;
    --v12-white: #ffffff;
    --v12-text-main: #111827;
    --v12-text-sub: #6b7280;
    --v12-primary: #1b66ce;
    --v12-primary-light: #eff6ff;
    --v12-shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.04);
}

body {
    background-color: var(--v12-bg);
}

/* Hero Section */
.v12-hero-section {
    padding: 24px 0 0 0;
    background: var(--v12-bg);
}

.v12-greeting {
    margin-bottom: 24px;
}

.v12-greeting-sub {
    font-size: 14px;
    color: var(--v12-text-sub);
    margin: 0 0 4px 0;
    font-weight: 500;
}

.v12-greeting-main {
    font-size: 28px;
    color: var(--v12-text-main);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
}

.v12-search-wrapper {
    position: relative;
    z-index: 10;
}

.v12-search-input {
    background: var(--v12-white);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--v12-shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.v12-search-input input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 15px;
    font-family: inherit;
    color: var(--v12-text-main);
    outline: none;
}

.v12-search-input input::placeholder {
    color: #9ca3af;
    font-weight: 500;
}

.v12-search-input .search-icon,
.v12-search-input .filter-icon-btn span {
    color: var(--v12-text-main);
    font-size: 24px;
}

/* Category Icons */
.v12-categories-section {
    padding: 0 15px;
}

.v12-category-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 8px;
    /* For scrollbar breathing room */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -webkit-overflow-scrolling: touch;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
}

.v12-category-grid::-webkit-scrollbar {
    display: none;
}

.v12-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex: 0 0 auto;
}

.v12-cat-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--v12-white);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--v12-shadow-soft);
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.v12-category-item:hover .v12-cat-icon,
.v12-category-item.active .v12-cat-icon {
    background: var(--v12-primary);
    box-shadow: 0 8px 16px rgba(27, 102, 206, 0.2);
}

.v12-category-item.active .v12-cat-label {
    color: var(--v12-text-main);
}

.v12-category-item.active .v12-cat-icon span,
.v12-category-item:hover .v12-cat-icon span {
    color: var(--v12-white);
}

.v12-cat-icon span {
    font-size: 28px;
    color: var(--vw-gray-dark);
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.v12-cat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--v12-text-sub);
}

/* V12 Vehicle Card (Fluid / Glass Approach) */
.v12-card {
    background: var(--v12-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--v12-shadow-soft);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    height: 100%;
    /* V12.3: Ensure identical heights across grids */
}

.v12-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--v12-shadow-md);
}

/* Specific sizing - horizontal scroll (mobile) */
.v7-horizontal-scroll .v12-card {
    flex: 0 0 85% !important;
    min-width: 280px !important;
    scroll-snap-align: center;
    margin-bottom: 24px;
}

/* Featured carousel cards = mini banners (wider, shorter) — mobile only */
#featured-carousel .v12-card {
    flex: 0 0 85% !important;
    min-width: 300px !important;
    scroll-snap-align: center;
    margin-bottom: 24px;
}

/* Featured carousel image = cinematic / mini banner ratio */
#featured-carousel .v12-card-img-wrapper {
    aspect-ratio: 21 / 8;
}

#vehicle-grid .v12-card {
    width: 100%;
}

/* Edge-to-edge Image */
.v12-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e5e5ea;
    overflow: hidden;
}

.v12-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.v12-card:hover .v12-bg-img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

/* Clean Overlays */
.v12-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    color: var(--v12-text-main);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* VW Sky Blue Badge strictly for Destaque */
.v12-destaque-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #00bfff;
    /* VW Light Blue */
    color: var(--v12-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.4);
}

.v12-fav-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.v12-fav-btn span {
    color: var(--v12-text-main);
    font-size: 20px;
}

/* Card Body */
.v12-card-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* V12.3: Push footer down evenly */
}

.v12-card-header {
    margin-bottom: 8px;
}

.v12-card-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--v12-text-main);
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.v12-card-subtitle {
    font-size: 11px;
    font-weight: 500;
    color: var(--v12-text-sub);
    margin: 0;
}

/* Clean Inline Specs Row */
.v12-specs-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.v12-spec-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.v12-spec-item span.icon {
    font-family: 'Material Symbols Rounded', sans-serif;
    font-size: 16px;
    color: var(--v12-primary);
}

.v12-spec-item span.text {
    font-size: 11px;
    font-weight: 600;
    color: var(--v12-text-main);
    white-space: nowrap;
}

/* Minimalist Footer */
.v12-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    /* Push down */
}

.v12-price-block {
    display: flex;
    flex-direction: column;
}

.v12-price-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--v12-text-sub);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.v12-price-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--v12-text-main);
    letter-spacing: -0.5px;
}

/* ========================================= */
/* V12.8 ULTIMATE DESTAQUE CARD              */
/* ========================================= */

.v12-destaque-card {
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    /* Finer shadow for premium feel */
}

.v12-destaque-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.v12-destaque-img-wrapper-v2 {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    /* V12.9 Shorter image */
    background: #e5e5ea;
    overflow: hidden;
}

.v12-destaque-body-v2 {
    padding: 20px 18px;
    /* Taller padding */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Price Top */
.v12-destaque-price-header-v2 {
    margin-bottom: 20px;
}

.v12-destaque-price-label-v2 {
    font-size: 11px;
    font-weight: 800;
    color: #00bfff;
    /* matching VW Sky blue */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.v12-destaque-price-value-v2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--v12-text-main);
    letter-spacing: -1px;
    margin: 0;
}

/* Title Block */
.v12-destaque-title-block-v2 {
    margin-bottom: 12px;
}

.v12-destaque-title-v2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--v12-text-main);
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.v12-destaque-subtitle-v2 {
    font-size: 13px;
    font-weight: 500;
    color: var(--v12-text-sub);
    margin: 0;
}

/* Pill Specs */
.v12-destaque-specs-row-v2 {
    display: flex;
    justify-content: space-between;
    /* V12.9: Spread evenly */
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.v12-destaque-spec-pill-v2 {
    background: #f4f4f5;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    flex: 1;
    /* V12.9: Force pills to stretch identically */
    justify-content: center;
    /* V12.9: Keep text centered inside stretched pill */
    align-items: center;
    gap: 6px;
}

.v12-destaque-spec-pill-v2 span.icon {
    font-size: 18px;
    color: var(--v12-primary);
}

.v12-destaque-spec-pill-v2 span.text {
    font-size: 12px;
    font-weight: 700;
    color: var(--v12-text-main);
    white-space: nowrap;
}

/* Massive CTA Footer */
.v12-destaque-footer-v2 {
    margin-top: auto;
}

.v12-destaque-btn-primary-v2 {
    width: 100%;
    background: var(--v12-text-main);
    color: var(--v12-white);
    padding: 14px 12px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: block;
}

.v12-destaque-btn-primary-v2:hover {
    background: #000;
    transform: scale(1.02);
}

.v12-buy-btn {
    background: var(--v12-text-main);
    color: var(--v12-white);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.v12-buy-btn:hover {
    background: var(--v12-primary);
    box-shadow: var(--v12-shadow-float);
}

/* V12 Section Headers */
.v12-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.v12-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--v12-text-main);
    margin: 0;
    letter-spacing: -0.3px;
}

.v12-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--v12-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.v12-link:hover {
    color: #111827;
}

/* =========================================
   V12.3 UI REFINEMENTS (Carousel & Rigid sizing)
   ========================================= */

/* Promo Carousel (Under Search) */
.v12-promo-carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.v12-promo-carousel {
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
}

.v12-promo-text-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
}

.v12-promo-text-content h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.v12-promo-text-content p {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.v12-promo-btn {
    background: white;
    color: black;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.v12-promo-btn:hover {
    transform: translateY(-2px);
}

.v12-promo-carousel::after {
    content: none;
}

/* Pagination Dots */
.v12-carousel-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.v12-carousel-dots .dot {
    width: 6px;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.v12-carousel-dots .dot.active {
    width: 20px;
    background: var(--v12-primary);
    border-radius: 10px;
}

/* Redefined Card Specs Row for V12.4 (3 Items) */
.v12-specs-row.v12-1-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    /* V12.4: 10px gap */
    padding-bottom: 0px;
    border-bottom: none;
    /* Removed border to save space if needed, or keep tight */
}

.v12-specs-row.v12-1-grid .v12-spec-item {
    gap: 4px;
    justify-content: flex-start;
}

/* Redefined Card Footer (V12.1) */
.v12-card-footer.v12-1-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.v12-card-buttons-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.v12-btn-outline {
    flex: 1;
    background: transparent;
    color: var(--v12-text-main);
    padding: 8px 12px;
    border-radius: 50px;
    /* V12.4 Pill */
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    /* V12.4 Single line */
    transition: all 0.2s ease;
}

.v12-btn-outline:hover {
    background: rgba(0, 0, 0, 0.02);
}

.v12-btn-solid {
    flex: 1;
    background: var(--v12-text-main);
    color: var(--v12-white);
    padding: 8px 12px;
    border-radius: 50px;
    /* V12.4 Pill */
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    /* V12.4 Single line */
    transition: all 0.2s ease;
}

.v12-btn-solid:hover {
    background: var(--v12-primary);
    box-shadow: var(--v12-shadow-float);
}

/* =========================================
   DESKTOP RESPONSIVE OVERRIDES (V30)
   ========================================= */

/* Desktop elements — hidden on mobile */
.desktop-search-wrapper {
    display: none;
}

.desktop-cta-btn {
    display: none;
}

/* ── Large Desktop (>= 1024px) ── */
@media (min-width: 1024px) {

    body {
        padding-bottom: 0;
        background: #f0f4f8;
    }

    .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .bottom-nav-container {
        display: none !important;
    }

    .mobile-only-actions {
        display: none !important;
    }

    .desktop-only-actions {
        display: flex !important;
    }

    /* Header */
    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 2px 16px rgba(0, 30, 80, 0.07);
    }

    .header-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 32px;
        height: 72px;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .logo .v11-logo-img {
        height: 36px;
        width: auto;
    }

    /* Desktop Search */
    .desktop-search-wrapper {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 520px;
        justify-self: center;
    }

    .desktop-search-input {
        display: flex;
        align-items: center;
        background: #f1f5f9;
        border-radius: 50px;
        padding: 10px 20px;
        gap: 10px;
        width: 100%;
        border: 1.5px solid transparent;
        transition: all 0.25s ease;
    }

    .desktop-search-input:focus-within {
        background: #fff;
        border-color: #00a1de;
        box-shadow: 0 0 0 4px rgba(0, 161, 222, 0.1);
    }

    .desktop-search-input input {
        border: none;
        background: transparent;
        outline: none;
        font-family: inherit;
        font-size: 0.9rem;
        color: #334155;
        width: 100%;
    }

    .desktop-search-input .search-icon {
        color: #94a3b8;
        font-size: 20px;
        flex-shrink: 0;
    }

    /* Desktop Nav */
    .main-nav {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-wrap: nowrap;
    }

    .main-nav ul {
        display: flex;
        align-items: center;
        gap: 2px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .main-nav ul li a {
        font-size: 0.85rem;
        font-weight: 600;
        color: #475569;
        padding: 8px 12px;
        border-radius: 8px;
        transition: all 0.2s ease;
        white-space: nowrap;
        text-decoration: none;
        display: block;
    }

    .main-nav ul li a:hover,
    .main-nav ul li a.active {
        color: #001e50;
        background: rgba(0, 30, 80, 0.07);
    }

    /* Refined Header CTA — dark pill (matches reference image) */
    .desktop-cta-btn {
        display: flex;
        align-items: center;
        background: #0d1b3e;
        color: #ffffff;
        gap: 0;
        padding: 12px 28px;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 800;
        letter-spacing: -0.2px;
        text-decoration: none;
        margin-left: 12px;
        white-space: nowrap;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .desktop-cta-btn .material-symbols-rounded {
        display: none;
    }

    .desktop-cta-btn:hover {
        background: #001e50;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(13, 27, 62, 0.35);
    }

    /* Hero */
    .v12-hero-section {
        background: #fff;
        padding-bottom: 0;
        margin-bottom: 0 !important;
    }

    .v12-greeting {
        text-align: center;
        padding-top: 40px;
        margin-bottom: 28px;
    }

    .v12-greeting-sub {
        font-size: 1.05rem;
        color: #64748b;
    }

    .v12-greeting-main {
        font-size: 2.4rem;
        font-weight: 800;
        color: #001e50;
    }

    .v12-hero-section .v12-search-wrapper {
        display: none;
    }

    .v12-promo-carousel {
        border-radius: 24px;
        margin: 0 40px;
        width: calc(100% - 80px) !important;
    }

    .v12-promo-text-content {
        padding: 60px 80px;
        max-width: 640px;
    }

    .v12-promo-text-content h2 {
        font-size: 2.5rem;
    }

    .v12-promo-text-content p {
        font-size: 1.05rem;
    }

    /* Categories */
    .v12-categories-section {
        background: #fff;
        padding: 56px 0;
        margin-bottom: 0 !important;
        border-top: 1px solid #e8edf3;
    }

    .v12-category-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)) !important;
        gap: 16px !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .v12-category-item {
        border-radius: 16px !important;
        padding: 20px 12px !important;
        min-width: unset !important;
        flex-shrink: unset !important;
    }

    .v12-section-header {
        margin-bottom: 32px;
    }

    .v12-section-title {
        font-size: 1.5rem !important;
    }

    /* Featured Offers */
    .v12-section {
        background: #f0f4f8;
        padding: 56px 0;
        margin-bottom: 0 !important;
        border-top: 1px solid #e8edf3;
    }

    .v7-carousel-wrapper {
        overflow: visible !important;
    }

    /* Featured carousel: all cards on one row */
    #featured-carousel.v7-horizontal-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 24px !important;
        overflow: visible !important;
        padding: 0 10% !important;
        scroll-snap-type: none !important;
        align-items: stretch;
    }

    #featured-carousel .v12-card {
        flex: 1 1 0% !important;
        min-width: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Featured cards = wide mini banners on desktop */
    #featured-carousel .v12-card {
        flex: unset !important;
        min-width: unset !important;
        margin-bottom: 0 !important;
    }

    #featured-carousel .v12-card-img-wrapper {
        aspect-ratio: 21 / 8 !important;
    }

    /* Brands */
    .top-brand-section {
        background: #ffffff;
        padding: 56px 0;
        margin-bottom: 0 !important;
        border-top: 1px solid #e8edf3;
    }

    .brand-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .brand-logo-card {
        width: 130px !important;
        height: 90px !important;
        flex-shrink: 0 !important;
        border-radius: 16px !important;
    }

    /* All Vehicles */
    .list-car-section {
        background: #f0f4f8;
        padding: 56px 0;
        margin-bottom: 0 !important;
        border-top: 1px solid #e8edf3;
    }

    #vehicle-grid.vehicle-listing {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 24px !important;
        overflow: visible !important;
        padding: 0 !important;
        scroll-snap-type: none !important;
    }

    .v8-card,
    .v12-card {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07) !important;
        transition: all 0.25s ease !important;
    }

    .v8-card:hover,
    .v12-card:hover {
        transform: translateY(-6px) !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13) !important;
    }

    /* PDP Modal */
    .pdp-modal {
        background: rgba(0, 0, 0, 0.65) !important;
    }

    /* WhatsApp FAB */
    .fab-whatsapp {
        display: flex !important;
        bottom: 32px !important;
        right: 32px !important;
        width: 56px !important;
        height: 56px !important;
    }
}

/* ── Tablet (768px – 1023px) ── */
@media (min-width: 768px) and (max-width: 1023px) {

    body {
        padding-bottom: 100px;
    }

    .container {
        padding: 0 24px;
    }

    #vehicle-grid.vehicle-listing {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    #featured-carousel.v7-horizontal-scroll {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        overflow: visible !important;
        padding: 0 24px !important;
        scroll-snap-type: none !important;
    }

    .v12-category-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)) !important;
        gap: 12px !important;
        overflow: visible !important;
        padding: 0 !important;
    }
}

/* =========================================
   FLOATING CHAT BUTTON (Desktop, V30)
   ========================================= */

/* Hidden on mobile */
.fab-chat-desktop {
    display: none;
}

@media (min-width: 1024px) {

    /* Floating Chat Button */
    .fab-chat-desktop {
        display: flex;
        align-items: center;
        gap: 10px;
        position: fixed;
        bottom: 40px;
        right: 40px;
        background: #25d366;
        color: #ffffff;
        padding: 14px 20px;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
        z-index: 800;
        transition: all 0.3s ease;
        animation: chat-pulse 2.5s infinite;
    }

    .fab-chat-desktop .material-symbols-rounded {
        font-size: 22px;
        flex-shrink: 0;
    }

    .fab-chat-label {
        white-space: nowrap;
    }

    .fab-chat-desktop:hover {
        background: #1da855;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
        animation: none;
    }

    /* Subtle pulse to attract attention */
    @keyframes chat-pulse {
        0% {
            box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
        }

        50% {
            box-shadow: 0 8px 36px rgba(37, 211, 102, 0.65);
        }

        100% {
            box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
        }
    }

    /* Hide the old WhatsApp FAB on desktop (replaced by floating chat) */
    .fab-whatsapp {
        display: none !important;
    }

    /* NOTE: .desktop-cta-btn dark pill style is defined earlier — do NOT override here */
}

/* =========================================
   PDP ORIGINAL IMMERSIVE LAYOUT — RESTORED
   Full Centered Modal experience (pre-V30)
   ========================================= */

/* Base Overlay */
.pdp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pdp-modal.show {
    display: flex !important;
    opacity: 1;
}

/* Standalone PDP (veiculo.html) — must always be visible */
.pdp-modal.standalone-pdp {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1 !important;
    background: none !important;
    backdrop-filter: none !important;
    height: auto !important;
}

/* Modal Inner Wrapper */
.pdp-immersive-wrap {
    width: 100%;
    max-width: 500px; /* Mobile first, desktop wide later */
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Mobile: content stacks vertically */
.pdp-content-area {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.pdp-left-panel {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.pdp-right-panel {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.pdp-left-price-bar {
    display: none; /* hidden on mobile — footer-mobile handles it */
}

/* Desktop: full-screen two-column layout */
@media (min-width: 1024px) {
    .pdp-modal {
        background: #fff !important;
    }

    .pdp-immersive-wrap {
        max-width: 100%;
        height: 100%;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .pdp-content-area {
        display: grid;
        grid-template-columns: 44% 56%;
        overflow: hidden;
        flex: 1;
        min-height: 0;
    }

    .pdp-left-panel {
        border-right: 1px solid #f1f5f9;
        overflow: hidden;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .pdp-left-panel .pdp-hero-gallery {
        flex: 1;
        aspect-ratio: unset;
        min-height: 0;
    }

    .pdp-left-panel .pdp-hero-gallery .gallery-scroll-container {
        height: 100%;
    }

    .pdp-left-panel .pdp-hero-gallery .gallery-scroll-container img {
        height: 100%;
        object-fit: cover;
    }

    .pdp-left-price-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 24px;
        border-top: 1px solid #f1f5f9;
        flex-shrink: 0;
        background: #fff;
        gap: 12px;
    }

    .pdp-left-price-bar .pdp-footer-price {
        flex: 1;
    }

    .pdp-left-price-bar .pdp-footer-actions-v26 {
        flex-shrink: 0;
    }

    /* Expand WA and Proposta buttons on desktop */
    .pdp-left-price-bar .pdp-whatsapp-btn-v26 {
        width: auto;
        padding: 0 20px;
        border-radius: 14px;
        gap: 8px;
        font-size: 14px;
        font-weight: 700;
    }

    .pdp-left-price-bar .pdp-buy-btn-v26 {
        padding: 0 24px;
        font-size: 15px;
    }

    /* Mobile footer hidden on desktop */
    .pdp-footer-mobile {
        display: none !important;
    }

    /* Right panel: full-height scrollable */
    .pdp-right-panel {
        height: 100%;
        padding-bottom: 40px;
    }

    /* Sticky anchor nav in header hidden on desktop */
    .pdp-sticky-nav-container {
        display: none;
    }

    /* Header on desktop: no bottom anchor nav row */
    .pdp-header-v26 {
        border-bottom: 1px solid #f1f5f9;
    }
}

/* Internal Header */
.pdp-header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
    z-index: 10;
}

.pdp-logo { height: 24px; }
.pdp-back, .nav-fav-btn, .nav-share-btn {
    background: none; border: none; cursor: pointer; color: #001e50;
    display: flex; align-items: center; justify-content: center;
}

/* Immersive Body & Gallery */
.pdp-immersive-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.pdp-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #f1f5f9;
    overflow: hidden;
}

.gallery-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 100%;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
}

.gallery-scroll-container img {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: center;
}

.gallery-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Info Container & Title */
.pdp-info-container { padding: 20px; }
.pdp-title { font-size: 24px; font-weight: 800; color: #0f172a; margin: 0; }
.pdp-subtitle { font-size: 14px; color: #64748b; margin: 4px 0 20px; }

/* Action Chips (TAB SELECTORS) */
.pdp-action-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 20px;
    scrollbar-width: none;
}

.pdp-chip {
    padding: 10px 18px;
    background: #f1f5f9;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.pdp-chip.active {
    background: #001e50;
    color: #fff;
}

/* Tab Contents */
.pdp-tab-content { display: none; }
.pdp-tab-content.active { display: block; }

/* Specs Grid */
.pdp-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 768px) { .pdp-spec-grid { grid-template-columns: repeat(4, 1fr); } }

.pdp-spec-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px solid #f1f5f9;
}

.pdp-spec-card .material-symbols-rounded { color: #3b82f6; font-size: 24px; margin-bottom: 4px; }
.pdp-spec-card .label { font-size: 10px; color: #64748b; font-weight: 700; text-transform: uppercase; }
.pdp-spec-card .value { font-size: 14px; color: #0f172a; font-weight: 700; }

/* Trade Banner */
.pdp-trade-banner {
    background: #f0f9ff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px dashed #bae6fd;
}

.pdp-trade-banner span { font-size: 40px; color: #0284c7; margin-bottom: 8px; }

/* Bottom Price Bar (Fixed) */
.pdp-bottom-bar {
    height: 80px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-shrink: 0;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.02);
}

.pdp-price-info { display: flex; flex-direction: column; }
.price-label { font-size: 10px; color: #64748b; font-weight: 700; letter-spacing: 0.5px; }
.price-value { font-size: 22px; font-weight: 800; color: #0f172a; }

.pdp-main-actions { display: flex; align-items: center; gap: 8px; }
.action-btn-circle {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center; background: #fff; cursor: pointer; color: #64748b;
}

.action-btn-whatsapp {
    width: 44px; height: 44px; border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center; background: #22c55e; color: #fff; cursor: pointer;
}

.btn-primary-pdp {
    padding: 12px 24px; background: #001e50; color: #fff; border: none;
    border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer;
}

/* Sidebar Column & Desktop Panels */
@media (min-width: 1024px) {
    .pdp-sidebar-column {
        display: block;
        position: sticky;
        top: 40px;
        height: min-content;
    }

    .pdp-sidebar-card {
        background: white;
        border-radius: 28px;
        padding: 40px;
        border: 1px solid #f1f5f9;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .pdp-sidebar-title {
        font-size: 28px;
        font-weight: 900;
        color: #001e50;
        margin: 0;
        line-height: 1.1;
    }

    .pdp-sidebar-subtitle {
        font-size: 15px;
        color: #64748b;
        margin: 0;
    }

    .pdp-sidebar-price-container {
        background: #f8fafc;
        padding: 24px;
        border-radius: 20px;
        border: 1px solid #e2e8f0;
    }

    .pdp-sidebar-price-label {
        font-size: 12px;
        color: #64748b;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .pdp-sidebar-price-value {
        font-size: 36px;
        font-weight: 900;
        color: #001e50;
        display: block;
    }

    .pdp-sidebar-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .pdp-sidebar-btn-primary {
        background: #001e50;
        color: white;
        border: none;
        padding: 20px;
        border-radius: 16px;
        font-size: 17px;
        font-weight: 800;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 0 10px 25px rgba(0, 30, 80, 0.2);
    }

    .pdp-sidebar-btn-primary:hover {
        background: #002d7a;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 15px 35px rgba(0, 30, 80, 0.3);
    }

    .pdp-sidebar-btn-whatsapp {
        background: #25d366;
        color: white;
        text-decoration: none;
        padding: 18px;
        border-radius: 16px;
        font-size: 16px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.3s ease;
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
    }

    .pdp-sidebar-btn-whatsapp:hover {
        background: #128c7e;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3);
    }

    .pdp-sidebar-secondary-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .pdp-sidebar-btn-outline {
        background: #f8fafc;
        border: 1.5px solid #e2e8f0;
        color: #001e50;
        padding: 14px;
        border-radius: 16px;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all 0.2s ease;
    }

    .pdp-sidebar-btn-outline:hover {
        background: #fff;
        border-color: #001e50;
        transform: translateY(-2px);
    }

    .pdp-sidebar-trust-badges {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .trust-badge {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 14px;
        color: #475569;
        font-weight: 500;
    }

    .trust-badge i {
        color: #10b981;
        font-size: 20px;
    }

    .mobile-only {
        display: none !important;
    }
}
/* End of PDP Section */

/* =========================================
   PREMIUM HEADER V31
   ========================================= */

/* Base: visible on mobile (only top bar) */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8edf3;
    position: sticky;
    top: 0;
    z-index: 20000;
    box-shadow: 0 2px 12px rgba(0, 30, 80, 0.06);
}

/* ─── Top Bar ─── */
.header-top-bar {
    width: 100%;
    border-bottom: 1px solid #f0f4f8;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 60px;
    max-width: 1280px;
    margin: 0 auto;
    gap: 16px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo-img {
    height: 36px;
    width: auto;
}

/* Desktop Nav — hidden on mobile */
.header-nav {
    display: none;
}

/* Right Actions */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* CTA Button — hidden on mobile */
.header-cta-btn {
    display: none;
}

/* Mobile Hamburger */
.header-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001e50;
    padding: 4px;
}

.header-hamburger .material-symbols-rounded {
    font-size: 28px;
    font-variation-settings: 'wght' 400;
}

/* ─── Mobile Menu Drawer V31 ─── */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    z-index: 10001; /* Above sticky header and modals */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-drawer.active {
    right: 0;
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.mobile-menu-backdrop.active {
    display: block;
}

.mobile-menu-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-menu-logo {
    height: 28px;
    width: auto;
}

.close-drawer-btn {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
}

.mobile-menu-nav {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.2s;
    background: #f8fafc;
}

.mobile-nav-link:hover {
    background: #f1f5f9;
    color: #001e50;
    transform: translateX(4px);
}

.mobile-menu-footer {
    margin-top: auto;
    padding: 24px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
}

/* Bottom search bar — hidden on mobile */
.header-search-bar {
    display: none;
}

/* ─── Desktop Overrides ─── */
@media (min-width: 1024px) {

    .site-header {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(228, 236, 246, 0.8);
        box-shadow: 0 4px 24px rgba(0, 30, 80, 0.08);
    }

    /* Top bar layout */
    .header-top-inner {
        padding: 0 40px;
        height: 64px;
        gap: 32px;
    }

    .header-logo-img {
        height: 38px;
    }

    /* Desktop Nav */
    .header-nav {
        display: flex;
        align-items: center;
        gap: 4px;
        flex: 1;
        justify-content: center;
    }

    .header-nav-link {
        font-size: 0.88rem;
        font-weight: 600;
        color: #64748b;
        padding: 8px 14px;
        border-radius: 10px;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .header-nav-link:hover {
        color: #001e50;
        background: rgba(0, 30, 80, 0.06);
    }

    .header-nav-link.active {
        color: #001e50;
        background: rgba(0, 30, 80, 0.08);
        font-weight: 700;
    }

    /* CTA Button */
    .header-cta-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #001e50;
        color: #ffffff;
        padding: 11px 22px;
        border-radius: 50px;
        font-size: 0.88rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        transition: all 0.25s ease;
        flex-shrink: 0;
        letter-spacing: -0.1px;
    }

    .header-cta-btn svg {
        flex-shrink: 0;
        opacity: 0.9;
    }

    .header-cta-btn:hover {
        background: #0a3d7a;
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(0, 30, 80, 0.3);
    }

    /* Hide hamburger on desktop */
    .header-hamburger.mobile-only-actions {
        display: none !important;
    }

    /* ─── Bottom Search Bar ─── */
    .header-search-bar {
        display: block;
        background: #f8fafd;
        border-top: 1px solid rgba(228, 236, 246, 0.6);
        padding: 14px 40px;
    }

    .header-search-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Search Input Group */
    .header-search-input-group {
        display: flex;
        align-items: center;
        background: #ffffff;
        border: 1.5px solid #e2e8f0;
        border-radius: 20px;
        padding: 0 16px 0 0;
        gap: 0;
        overflow: hidden;
        transition: all 0.25s ease;
        box-shadow: 0 2px 8px rgba(0, 30, 80, 0.05);
    }

    .header-search-input-group:focus-within {
        border-color: #001e50;
        box-shadow: 0 4px 20px rgba(0, 30, 80, 0.12);
    }

    .header-search-icon {
        color: #94a3b8;
        font-size: 22px;
        padding: 14px 12px 14px 20px;
        flex-shrink: 0;
    }

    .header-search-input {
        flex: 1;
        border: none;
        outline: none;
        font-family: inherit;
        font-size: 0.95rem;
        color: #1e293b;
        background: transparent;
        min-width: 0;
        padding: 14px 0;
    }

    .header-search-input::placeholder {
        color: #94a3b8;
    }

    /* Search Filters */
    .header-search-filters {
        display: flex;
        align-items: center;
        gap: 0;
        flex-shrink: 0;
        border-left: 1.5px solid #e2e8f0;
        margin-left: 8px;
    }

    .pdp-sidebar-wa-icon {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .header-filter-divider {
        width: 1px;
        height: 24px;
        background: #e2e8f0;
    }

    .header-filter-select {
        border: none;
        outline: none;
        font-family: inherit;
        font-size: 0.85rem;
        font-weight: 600;
        color: #475569;
        background: transparent;
        padding: 10px 12px;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        min-width: 80px;
    }

    .header-filter-select:focus {
        color: #001e50;
    }

    .header-search-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        background: #001e50;
        color: #ffffff;
        border: none;
        padding: 10px 20px;
        border-radius: 14px;
        font-family: inherit;
        font-size: 0.88rem;
        font-weight: 700;
        cursor: pointer;
        margin: 5px;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .header-search-btn .material-symbols-rounded {
        font-size: 18px;
    }

    .header-search-btn:hover {
        background: #0a3d7a;
        box-shadow: 0 4px 12px rgba(0, 30, 80, 0.25);
    }

    /* Quick search tags */
    .header-search-tags {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .header-search-tags::before {
        content: 'Buscas populares:';
        font-size: 0.78rem;
        color: #94a3b8;
        font-weight: 500;
        white-space: nowrap;
        margin-right: 4px;
    }

    .header-tag-chip {
        font-size: 0.78rem;
        font-weight: 600;
        color: #475569;
        background: #f1f5f9;
        padding: 4px 12px;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.2s ease;
        border: 1px solid transparent;
        white-space: nowrap;
    }

    .header-tag-chip:hover {
        background: #e8f0fe;
        color: #001e50;
        border-color: rgba(0, 30, 80, 0.15);
    }
}

/* =========================================
   SEARCH MODAL V31 - Premium
   ========================================= */

/* Trigger button in header (desktop only) */
.header-search-trigger {
    display: none;
}

@media (min-width: 1024px) {
    .header-search-trigger {
        display: flex;
        align-items: center;
        gap: 10px;
        background: #f1f5f9;
        border: 1.5px solid #e2e8f0;
        border-radius: 50px;
        padding: 10px 20px;
        font-family: inherit;
        font-size: 0.88rem;
        font-weight: 500;
        color: #94a3b8;
        cursor: pointer;
        min-width: 220px;
        transition: all 0.2s ease;
    }

    .header-search-trigger:hover {
        background: #e8f0fe;
        border-color: #c7d8fb;
        color: #001e50;
    }

    .header-search-trigger .material-symbols-rounded {
        font-size: 20px;
        color: #001e50;
        font-variation-settings: 'wght' 300;
    }

    .header-search-trigger-text {
        flex: 1;
        text-align: left;
    }
}

/* Modal Overlay */
.search-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
}

.search-modal.open {
    display: flex;
}

/* Backdrop */
.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 10, 30, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: backdrop-fade-in 0.25s ease;
}

@keyframes backdrop-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Panel */
.search-modal-panel {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 40px 36px;
    width: calc(100% - 32px);
    max-width: 680px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25), 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: panel-slide-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes panel-slide-in {
    from {
        opacity: 0;
        transform: translateY(-24px) scale(0.97);
    }

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

/* Close button */
.search-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.search-modal-close:hover {
    background: #e2e8f0;
    color: #001e50;
}

.search-modal-close .material-symbols-rounded {
    font-size: 20px;
}

/* Eyebrow + Headline */
.search-modal-header {
    margin-bottom: 24px;
}

.search-modal-eyebrow {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

.search-modal-headline {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
    min-height: 40px;
}

.search-modal-sparkle {
    color: #2563eb;
    font-size: 1.3rem;
    animation: sparkle-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes sparkle-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.15) rotate(15deg);
    }
}

#search-modal-rotating-text {
    color: #2563eb;
    transition: opacity 0.3s ease;
}

/* Category Tabs */
.search-modal-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.search-modal-tab {
    background: #f1f5f9;
    border: 1.5px solid transparent;
    border-radius: 50px;
    padding: 8px 18px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-modal-tab:hover {
    background: #e8f0fe;
    color: #001e50;
}

.search-modal-tab.active {
    background: #001e50;
    color: #ffffff;
    border-color: #001e50;
}

/* Search Input */
.search-modal-input-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 60px;
    padding: 4px 8px 4px 20px;
    margin-bottom: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
    gap: 8px;
}

.search-modal-input-wrap:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-modal-input-icon {
    color: #2563eb;
    font-size: 22px;
    flex-shrink: 0;
    font-variation-settings: 'wght' 300;
}

.search-modal-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #0f172a;
    background: transparent;
    padding: 14px 0;
}

.search-modal-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-modal-clear {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.search-modal-clear.visible {
    display: flex;
}

.search-modal-clear:hover {
    background: #e2e8f0;
}

.search-modal-clear .material-symbols-rounded {
    font-size: 18px;
}

/* Brand chips */
.search-modal-brands {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.search-modal-brand-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.search-modal-brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-modal-chip {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 7px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.search-modal-chip:hover,
.search-modal-chip.active {
    background: #eef2ff;
    border-color: #2563eb;
    color: #2563eb;
}

/* CTA Button */
.search-modal-cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #001e50;
    color: #ffffff;
    border: none;
    border-radius: 60px;
    padding: 16px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: -0.1px;
}

.search-modal-cta:hover {
    background: #0a3d7a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 30, 80, 0.3);
}

.search-modal-cta .material-symbols-rounded {
    font-size: 20px;
}

.search-modal-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Quick Results Preview */
.search-modal-results {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: #f8fafc;
}

.search-result-img {
    width: 56px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: #e5e7eb;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

.search-result-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #001e50;
    flex-shrink: 0;
}

/* Mobile: modal comes from top (below header), keyboard-aware */
@media (max-width: 1023px) {
    .search-modal {
        align-items: flex-start;
        justify-content: stretch;
        padding-top: 60px;
    }

    .search-modal-panel {
        border-radius: 0 0 24px 24px;
        max-width: 100%;
        width: 100%;
        padding: 24px 20px max(24px, env(safe-area-inset-bottom));
        animation: panel-slide-down 0.28s cubic-bezier(0.34, 1.26, 0.64, 1);
        max-height: calc(100dvh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    @keyframes panel-slide-down {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .search-modal-headline {
        font-size: 1.2rem;
    }
}

/* Soft font overrides for modernity */
.site-header,
.header-nav-link,
.header-cta-btn,
.header-top-inner {
    font-family: 'Inter', -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

.header-nav-link {
    font-weight: 500;
    color: #64748b;
}

.header-nav-link.active {
    font-weight: 600;
}
/* =========================================
   ZONE BANNERS (Middle & Bottom injections)
   ========================================= */
.zone-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: #1e293b;
}

.zone-banner__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.zone-banner:hover .zone-banner__img {
    transform: scale(1.03);
}

.zone-banner__overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.38);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.zone-banner__overlay--dark {
    background: rgba(0, 0, 0, 0.55);
}

.zone-banner__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    font-family: 'Urbanist', sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.zone-banner__sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
    margin: 0;
}

.zone-banner__btn {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 28px;
    background: var(--primary-color, #1447e6);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.zone-banner__btn:hover {
    background: #0d35c0;
    transform: translateY(-2px);
}

.zone-banner__btn--outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.zone-banner__btn--outline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Zone: Middle */
.zone-banner--middle {
    min-height: 260px;
}

@media (min-width: 768px) {
    .zone-banner--middle {
        min-height: 320px;
        border-radius: 16px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    #mid-banner-zone {
        padding: 0 20px;
    }
}

/* Zone: Bottom */
.zone-banner--bottom {
    min-height: 240px;
}

@media (min-width: 768px) {
    .zone-banner--bottom {
        min-height: 320px;
        border-radius: 16px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    #bottom-banner-zone {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .zone-banner__title {
        font-size: 1.2rem;
    }
    .zone-banner--middle,
    .zone-banner--bottom {
        min-height: 200px;
        border-radius: 0;
    }
}

/* Responsive Brand Visibility — 2 linhas × 3 colunas = 6 itens */
.brand-grid.limited-view .brand-logo-card:nth-child(n+7) {
    display: none !important;
}

/* Brand Filter Active Banner */
.brand-filter-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eef4ff;
    border: 1px solid #c7d9f8;
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #001e50;
    font-weight: 600;
}

.brand-filter-clear {
    margin-left: auto;
    background: none;
    border: 1.5px solid #001e50;
    border-radius: 8px;
    color: #001e50;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.brand-filter-clear:hover {
    background: #001e50;
    color: #fff;
}

/* ── Favorites Modal ── */
.fav-modal {
    position: fixed;
    inset: 0;
    background: #f8fafc;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fav-modal-topbar {
    background: #001e50;
    padding: 0;
    flex-shrink: 0;
}
.fav-modal-topbar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    max-width: 600px;
    margin: 0 auto;
}
.fav-modal-back-btn {
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.fav-modal-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    flex: 1;
}
.fav-modal-count {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.12);
    padding: 3px 10px;
    border-radius: 20px;
}

.fav-modal-content {
    flex: 1;
    overflow-y: auto;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 16px 16px 100px;
}

/* Cards */
.fav-modal-item {
    background: #fff;
    border-radius: 18px;
    margin-bottom: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
    position: relative;
}
.fav-modal-item:active { transform: scale(0.98); }
.fav-modal-item.removing {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.25s, transform 0.25s;
}

.fav-modal-item-img {
    width: 120px;
    min-width: 120px;
    height: 110px;
    object-fit: cover;
    background: #e2e8f0;
}
.fav-modal-item-body {
    flex: 1;
    padding: 12px 12px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.fav-modal-item-brand {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 2px;
}
.fav-modal-item-name {
    font-size: 14px;
    font-weight: 800;
    color: #001e50;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fav-modal-item-meta {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 8px;
}
.fav-modal-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.fav-modal-item-price {
    font-size: 16px;
    font-weight: 800;
    color: #001e50;
}
.fav-modal-item-actions {
    display: flex;
    gap: 6px;
}
.fav-modal-action-btn {
    border: none;
    border-radius: 10px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.15s;
}
.fav-modal-action-btn.remove {
    background: #fef2f2;
    color: #ef4444;
}
.fav-modal-action-btn.remove:hover { background: #fee2e2; }
.fav-modal-action-btn.view {
    background: #001e50;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    width: auto;
    padding: 0 12px;
    border-radius: 10px;
    border: none;
}
.fav-modal-action-btn.view:hover { background: #002b70; }

/* Empty state */
.fav-modal-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    gap: 14px;
}
.fav-modal-empty-icon {
    width: 72px;
    height: 72px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fav-modal-empty-icon .material-symbols-rounded {
    font-size: 36px;
    color: #cbd5e1;
    font-variation-settings: 'FILL' 0;
}
.fav-modal-empty-title {
    font-size: 20px;
    font-weight: 800;
    color: #001e50;
    margin: 0;
}
.fav-modal-empty-sub {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    max-width: 260px;
    line-height: 1.5;
}
.fav-modal-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #001e50;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    margin-top: 6px;
    cursor: pointer;
    font-family: inherit;
}

/* ── Toast Notifications ── */
#toast-container {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: #1e293b;
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
    white-space: nowrap;
    max-width: 90vw;
    text-align: center;
}
.toast.visible {
    opacity: 1;
    transform: translateY(0);
}
.toast.toast-error {
    background: #ef4444;
}
.toast.toast-success {
    background: #10b981;
}

/* =========================================
   SITE FOOTER
   ========================================= */

.site-footer {
    background: #0a1628;
    color: #cbd5e1;
    padding: 48px 0 0;
    margin-top: 60px;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 48px;
    }
}

.footer-brand-logo {
    height: 36px;
    filter: brightness(0) invert(1) opacity(0.9);
    margin-bottom: 16px;
    display: block;
}

.footer-tagline {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 280px;
}

.footer-social-row {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 16px;
}

.footer-social-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #fff;
    margin: 0 0 16px;
}

.footer-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-info-item .material-symbols-rounded {
    font-size: 17px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-info-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-info-item a:hover {
    color: #fff;
}

.footer-map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: #1e293b;
    display: flex;
    flex-direction: column;
}

.footer-map-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.footer-map-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: #1e293b;
    color: #3b82f6;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-map-cta:hover {
    background: #263548;
    color: #60a5fa;
}

.footer-map-cta .material-symbols-rounded {
    font-size: 15px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 20px;
    text-align: center;
    font-size: 12px;
    color: #475569;
}

/* Header Login Button */
.desktop-only-actions {
    display: none !important;
}

.header-login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: transparent;
    color: #001e50;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.header-login-btn:hover {
    background: #f1f5f9;
    border-color: #001e50;
}

.header-login-btn .material-symbols-rounded {
    font-size: 19px;
}

.header-login-label {
    display: none;
}

@media (min-width: 1024px) {
    .header-login-label {
        display: inline;
    }
}

/* Header CTA: Venda seu Carro */
.header-tradein-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #001e50;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s;
}

.header-tradein-btn:hover {
    background: #002d7a;
}

/* =========================================
   MODAL DE CADASTRO
   ========================================= */

.cadastro-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99000;
    background: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.cadastro-modal-overlay.visible {
    opacity: 1;
}

.cadastro-modal-box {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cadastro-modal-overlay.visible .cadastro-modal-box {
    transform: translateY(0);
}

.cadastro-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 24px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.cadastro-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563eb;
}

.cadastro-modal-icon .material-symbols-rounded {
    font-size: 22px;
}

.cadastro-modal-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.2;
}

.cadastro-modal-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.cadastro-modal-close {
    margin-left: auto;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.cadastro-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.cadastro-form {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cadastro-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cadastro-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.cadastro-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.cadastro-input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
}

.cadastro-input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
    outline: none;
}

.cadastro-input:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.cadastro-input::placeholder {
    color: #cbd5e1;
}

.cadastro-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #001e50;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    margin-top: 4px;
    transition: background 0.2s, transform 0.15s;
}

.cadastro-submit-btn:hover:not(:disabled) {
    background: #002d7a;
}

.cadastro-submit-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.cadastro-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.cadastro-success {
    padding: 40px 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.cadastro-success-icon {
    font-size: 56px;
    color: #10b981;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.cadastro-success h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.cadastro-success p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* ── Mobile responsiveness for very small screens (320-374px) ── */
@media (max-width: 374px) {
    body { padding-bottom: 80px; }

    .v12-card { border-radius: 14px; }
    .v12-card .v12-card-img { height: 160px; }

    .pdp-specs-grid-v26 { grid-template-columns: repeat(2, 1fr) !important; }
    .pdp-section-title { font-size: 16px; }
    .pdp-main-title-v26 { font-size: 20px; }

    .fav-modal-item-img { width: 90px; min-width: 90px; height: 90px; }
    .fav-modal-item-name { font-size: 13px; }
    .fav-modal-item-price { font-size: 14px; }

    .v10-bottom-nav { padding: 6px 0; }
    .v10-nav-label { font-size: 10px; }

    .tradein-modal-content { padding: 16px 12px; }
}

