/* ===== CSS Variables - Light Mode (Default) ===== */
:root {
    --primary: #FF7A1A;
    /* Orange Brand (Light) */
    --primary-dark: #E66000;
    --primary-light: #FFB36B;
    --primary-soft: #FFF2E8;
    --action-green: #2E7D32;
    /* Green Action */
    --action-green-dark: #1B5E20;
    --secondary: #1A1A2E;
    --accent: #FFD1A3;
    --cta-green: #1E8E3E;
    --cta-green-dark: #166A31;

    /* Layout Tokens */
    --header-height: 80px;
    --scroll-offset: 96px;
    --container-width: 1200px;

    /* Light Mode Colors (Source of Truth) */
    --text-primary: #1A1A2E;
    --text-secondary: #4B5563;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F7FA;
    --bg-dark: #FFFFFF;
    /* Header background in light mode */
    --border-color: #E5E7EB;
    --header-bg: #0B0B0B;
    --header-text: #FFFFFF;
    --header-border: rgba(255, 255, 255, 0.08);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Dark Mode ===== */
body.dark-mode {
    --text-primary: #FFFFFF;
    --text-secondary: #D1D5DB;
    --text-light: #9CA3AF;
    --bg-primary: #0D0D0D;
    --bg-secondary: #111111;
    --bg-dark: #000000;
    --border-color: #333333;
    --header-bg: #FF7A1A;
    --header-text: #FFFFFF;
    --header-border: rgba(0, 0, 0, 0.16);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.8);
}

body.dark-mode .header {
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

body.dark-mode .nav-desktop a,
body.dark-mode .theme-toggle {
    color: #ffffff !important;
}

body.dark-mode .nav-desktop a:hover,
body.dark-mode .nav-desktop a.active {
    color: #ffffff !important;
    opacity: 0.86;
}

body.dark-mode .mobile-menu {
    background: #ff7a1a;
}

body.dark-mode .mobile-menu nav a {
    color: #ffffff;
}

body.dark-mode .mobile-menu nav a:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #ffffff;
}

body.dark-mode .mobile-menu-btn span {
    background: #ffffff;
}

body.dark-mode .car-card,
body.dark-mode .carousel-car-card,
body.dark-mode .vehicle-mini-card,
body.dark-mode .vehicle-related-card {
    --bg-secondary: #f3f4f6;
    --text-primary: #111111;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    background: #ffffff;
    border-color: #e7e7e7;
    color: #111111;
}

body.dark-mode .car-title,
body.dark-mode .carousel-car-card .car-title,
body.dark-mode .vehicle-mini-title,
body.dark-mode .vehicle-related-title,
body.dark-mode .car-specs,
body.dark-mode .carousel-car-card .car-specs,
body.dark-mode .vehicle-mini-meta,
body.dark-mode .vehicle-related-meta {
    color: #111111;
}

body.dark-mode .brands-section,
body.dark-mode .categories-section,
body.dark-mode .price-range-section {
    background: #161616;
}

body.dark-mode .brand-card {
    background: #ffffff;
    border: 1px solid #e3e3e3;
}

body.dark-mode .brand-card img {
    filter: none;
    opacity: 1;
}

body.dark-mode .category-card {
    background: #ffffff;
    border-color: #ececec;
}

body.dark-mode .category-card span {
    color: #111111;
}

body.dark-mode .category-icon {
    background: #fff3e6;
    border: 1px solid #ffd3a8;
}

body.dark-mode .category-icon svg {
    stroke: #ff7a1a;
}

body.dark-mode .price-range-card {
    background: #ff7a1a;
    border-color: #ff7a1a;
}

body.dark-mode .price-range-title {
    color: #111111;
}

body.dark-mode .price-range-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

body.dark-mode .price-range-card:hover {
    background: #ff8a2b;
    border-color: #ff8a2b;
}

body.dark-mode .footer {
    background: #0b0b0b;
}

body.dark-mode .footer-links h4 {
    color: var(--primary);
}

body.dark-mode .footer-brand p,
body.dark-mode .footer-links a,
body.dark-mode .footer-contact p,
body.dark-mode .footer-bottom p,
body.dark-mode .footer-legal a {
    color: rgba(255, 255, 255, 0.92);
}

body.dark-mode .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.28);
}

body.dark-mode .restricted-link {
    border-color: transparent;
    background: none;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-offset);
    /* Evita que o header cubra o conteÃƒÂºdo das ÃƒÂ¢ncoras */
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    overflow-x: hidden;
}

body.has-fixed-header {
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-weight: 300;
    letter-spacing: 0.02em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    stroke-linecap: round;
    stroke-linejoin: round;
}

ul,
ol {
    list-style: none;
}

.icon-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: var(--primary);
}

.icon-inline svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--header-border);
    transition: all var(--transition-normal);
    color: var(--header-text);
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: var(--header-height);
    /* Tamanho fixo e pequeno */
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo-img {
    height: clamp(52px, 7vw, 70px);
    /* Tamanho fixo e pequeno */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    /* Pequeno efeito sem mudar layout */
}

/* Nav Desktop centered */
.nav-desktop {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    min-width: max-content;
    justify-self: center;
}

/* ... existing nav styles ... */

/* Carousel Controls */
.carousel-controls {
    display: flex;
    gap: 12px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* End Carousel Controls */


.nav-desktop ul {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.nav-desktop a {
    font-weight: 300;
    color: var(--header-text) !important;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.nav-desktop a:hover {
    color: var(--primary) !important;
}

.nav-desktop .nav-cta {
    padding: 10px 18px;
    background: var(--cta-green);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 300;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 20px rgba(30, 142, 62, 0.25);
}

.nav-desktop .nav-cta::after {
    display: none;
}

.nav-desktop .nav-cta:hover {
    background: var(--cta-green-dark);
    color: #fff !important;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .header-actions {
        gap: 8px;
    }
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-weight: 300;
    color: var(--header-text) !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-login:hover {
    color: var(--primary);
    background: rgba(255, 107, 0, 0.1);
}

.btn-anunciar {
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    font-weight: 300;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-anunciar:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.btn-details {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
    border-radius: 15px;
    padding: 7px 12px;
    font-size: 0.78rem;
    min-height: 32px;
    white-space: nowrap;
    line-height: 1;
}

.btn-details:hover {
    background: var(--primary-dark);
    color: #ffffff;
    border-color: var(--primary-dark);
}

.btn-whatsapp {
    background: var(--cta-green);
    color: #fff;
    border: 1px solid var(--cta-green);
    border-radius: 15px;
    padding: 7px 12px;
    font-size: 0.78rem;
    min-height: 32px;
    white-space: nowrap;
    line-height: 1;
}

.btn-whatsapp:hover {
    background: var(--cta-green-dark);
    border-color: var(--cta-green-dark);
}

.car-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: nowrap;
}

.car-actions button {
    flex: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.btn-search,
.btn-anunciar,
.btn-anunciar-mobile,
.btn-login,
.btn-login-mobile,
.btn-load-more,
.btn-evaluation,
.btn-primary,
.filter-btn,
.tab-btn,
.nav-cta,
.btn-details,
.btn-whatsapp {
    font-weight: 300;
    letter-spacing: 0.02em;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--header-text);
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    /* Matches header height */
    left: 0;
    right: 0;
    background: #0B0B0B;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu nav a {
    display: block;
    padding: 12px 16px;
    font-weight: 300;
    color: #fff;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-menu nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
}

.mobile-menu .nav-cta {
    background: var(--cta-green);
    color: #fff;
    text-align: center;
}

.mobile-menu .nav-cta:hover {
    background: var(--cta-green-dark);
    color: #fff;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-login-mobile,
.btn-anunciar-mobile {
    padding: 14px 24px;
    font-weight: 300;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-fast);
}

.btn-login-mobile {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-anunciar-mobile {
    background: var(--primary);
    color: white;
}

/* ===== Sections Scroll Fix ===== */
section,
footer {
    scroll-margin-top: var(--scroll-offset);
}


/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: clamp(420px, 65vh, 680px);
    margin-top: 0;
    overflow: hidden;
}

.hero-banner {
    position: absolute;
    inset: 0;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img,
.banner-slide video,
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.34) 0%,
            rgba(0, 0, 0, 0.22) 45%,
            rgba(0, 0, 0, 0.38) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

/* Mobile: reset "xeque-mate" do Hero (sem coluna fantasma, 100% largura, centralizado) */
@media (max-width: 480px) {
    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 10px 16px !important;
        box-sizing: border-box;
    }

    .hero-title,
    .hero-subtitle {
        text-align: center !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.hero-title {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* ===== Page Templates ===== */
.page-hero {
    padding: 40px 0 20px;
    min-height: clamp(420px, 70vh, 720px);
}

.page-hero .section-title {
    margin-bottom: 40px;
}

.page-main {
    padding: 40px 0 80px;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    overflow: visible;
}

/* ===== Search Section ===== */
.search-section {
    position: relative;
    z-index: 100;
    margin-top: -60px;
    padding-bottom: 40px;
}

.search-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 0;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-weight: 300;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
    border-bottom: none;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-btn:hover:not(.active) {
    background: var(--bg-secondary);
}

.tab-btn svg {
    stroke: currentColor;
}

.search-box {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.search-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 180px;
}

.search-field select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.search-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    font-weight: 300;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    min-width: 160px;
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

/* ===== Categories Section ===== */
.categories-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.section-title {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.section-title.center {
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.category-card:hover {
    background: var(--bg-primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.category-icon svg {
    stroke: white;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card span {
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== Featured Section ===== */
.featured-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header.center {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.section-header.center .see-all {
    margin-top: 4px;
}

.see-all {
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.see-all:hover {
    color: var(--primary-dark);
}

.featured-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition-fast);
    border: 1.5px solid var(--border-color);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.car-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    animation: fadeInUp 0.5s ease both;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.car-image {
    position: relative;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    background: #f6f6f6;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 300;
    border-radius: 50px;
    text-transform: uppercase;
}

.car-card .car-badge,
.carousel-car-card .car-badge,
.vehicle-card-badge,
.vehicle-status-chip {
    display: none !important;
}

.car-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.car-favorite:hover {
    background: var(--primary);
}

.car-favorite:hover svg {
    stroke: white;
}

.car-favorite svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
    fill: none;
}

.car-favorite.active svg {
    fill: var(--primary);
    stroke: var(--primary);
}

.car-info {
    padding: 20px;
}

.car-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.car-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.car-options-preview {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    height: 48px;
    overflow: hidden;
    align-content: flex-start;
}

.car-options-preview span {
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 500;
}

.car-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 8px;
    margin: 10px 0 12px;
}

.car-highlight-item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.74rem;
    line-height: 1.2;
}

.car-highlight-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 149, 0, 0.14);
    color: #ff9500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.car-highlight-icon svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.car-highlight-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .car-highlight-grid {
        grid-template-columns: 1fr;
    }
}

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

.car-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111111;
}

.load-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-load-more {
    padding: 14px 40px;
    background: transparent;
    color: var(--primary);
    font-weight: 300;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-load-more:hover {
    background: var(--primary);
    color: white;
}

/* ===== Brands Section ===== */
.brands-section {
    padding: 50px 0 30px;
    background: var(--bg-primary);
    overflow: hidden;
}

.brands-carousel {
    position: relative;
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
}

.brands-carousel::-webkit-scrollbar {
    display: none;
}

.brands-track {
    display: flex;
    gap: 24px;
    /* animation: scroll 30s linear infinite; */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-card {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all var(--transition-normal);
}

.brand-card:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.brand-card img {
    max-width: 80px;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-normal);
}

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

/* ===== Sell Section ===== */
.sell-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.sell-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sell-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.sell-text h2 span {
    color: var(--primary);
}

.sell-text>p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.sell-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.sell-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.sell-benefits svg {
    stroke: var(--primary);
    flex-shrink: 0;
}

.btn-sell {
    padding: 16px 40px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-sell:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.4);
}

.sell-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.sell-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.sell-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--primary), transparent);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.3;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 60px 0;
    background: var(--primary);
}

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

.stat-card {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== News Section ===== */
.news-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.news-card {
    display: flex;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

.news-image {
    flex-shrink: 0;
    width: 180px;
    height: 140px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

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

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== About Section Refined ===== */
.about-section {
    padding: 56px 20px;
    background: var(--primary-soft);
    border-top: 1px solid rgba(255, 122, 26, 0.15);
}

.about-section .container {
    max-width: 820px;
    margin: 0 auto;
    display: block;
}

.about-subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.about-title {
    color: var(--text-primary);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: center;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
    text-align: center;
}

.search-field label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

#searchCounter {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

/* ===== Responsive Adjustments - Stock Filters & About Section ===== */
@media (max-width: 900px) {
    .search-row {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .btn-search {
        width: 100% !important;
        height: 55px !important;
    }

    .about-section .container {
        max-width: 760px !important;
        padding: 0 12px !important;
    }

    .about-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-subtitle,
    .about-title {
        text-align: center;
        width: 100%;
    }

    .about-title {
        font-size: 1.8rem !important;
        margin-bottom: 14px !important;
    }
}

@media (max-width: 480px) {
    .search-field {
        min-width: 100% !important;
    }

    .about-text h3 {
        font-size: 1.62rem !important;
    }

    .evaluation-cta h2 {
        font-size: 1.8rem !important;
    }
}

/* ===== Footer ===== */
.footer {
    background: #0B0B0B;
    color: #fff;
}

.footer-main {
    padding: 60px 0 40px;
}

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

.footer-brand p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-contact svg {
    stroke: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary);
}

.restricted-link {
    display: inline-block;
    min-height: auto;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: none;
    touch-action: manipulation;
    transition: color var(--transition-normal);
}

.restricted-link:hover {
    background: none;
}

/* Restrito no header: mesmo estilo dos outros links */
.nav-desktop .restricted-link {
    display: inline !important;
    min-height: auto;
    padding: 8px 0;
    font-size: inherit;
    line-height: inherit;
}

.nav-desktop .restricted-link::after {
    display: block;
}

.mobile-menu .restricted-link {
    width: auto;
    margin-top: 0;
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-fast);
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 90px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
    }

    .sell-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sell-image {
        order: -1;
    }

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

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --scroll-offset: 76px;
    }

    .header {
        height: var(--header-height);
    }

    .header-container {
        height: var(--header-height);
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 12px;
        padding-right: 12px;
        position: relative;
        /* Layout travado no mobile: logo a esquerda, acoes a direita (igual ao print) */
        display: block;
    }

    .nav-desktop {
        display: none !important;
    }


    .header-actions {
        display: flex !important;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        flex: 0 0 auto;
        justify-content: flex-end;
        gap: 12px;
    }

    .mobile-menu-btn {
        display: flex;
        padding: 6px;
    }

    /* Mobile header: logo centralizado no topo do header */
    .header .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        text-align: center;
    }

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

    .theme-toggle {
        margin-left: 0;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
    }

    .mobile-menu-btn span {
        width: 22px;
    }

    .hero {
        height: clamp(360px, 60vh, 520px);
    }

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 2.6vw, 1.1rem);
    }

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

    .tab-btn {
        flex: 1;
        min-width: 100px;
        justify-content: center;
        padding: 12px 16px;
    }

    .search-row {
        flex-direction: column;
    }

    .search-field {
        min-width: 100%;
    }

    .btn-search {
        width: 100%;
    }

    .sell-text h2 {
        font-size: 1.75rem;
    }

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

    .footer-brand {
        grid-column: span 2;
    }

    .footer-contact {
        grid-column: span 2;
    }

    .news-card {
        flex-direction: column;
    }

    .news-image {
        width: 100%;
        height: 180px;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

#detailsTitle {
    font-size: 2rem;
    font-weight: 800;
    text-transform: none;
    /* Garante GramÃƒÂ¡tica Correta */
}

@media (max-width: 900px) {
    .details-container {
        display: flex;
        flex-direction: column;
    }

    /* Unwrap sections logic */
    .gallery-section,
    .info-section {
        display: contents;
    }

    /* 1. Fotos */
    .gallery-main {
        order: 1;
    }

    .thumb-grid {
        order: 2;
        margin-bottom: 20px;
    }

    /* 2. Painel Principal (Nome, PreÃƒÂ§o etc) */
    .info-card {
        order: 3;
        position: static;
        margin-bottom: 30px;
        margin-top: 0;
    }

    /* 3. Opcionais */
    .options-section {
        order: 4;
        margin-top: 0;
        margin-bottom: 30px;
    }

    /* 4. DescriÃƒÂ§ÃƒÂ£o */
    .description-box {
        order: 5;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-container {
        padding: 0 16px;
    }

    .logo a {
        font-size: 1.25rem;
    }

    .hero {
        height: clamp(320px, 55vh, 420px);
    }

    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }

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

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

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

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

    .footer-brand,
    .footer-contact {
        grid-column: span 1;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        padding-right: 80px;
        /* Space for WhatsApp button */
    }

    .back-to-top {
        right: 16px;
        bottom: 90px;
    }

    .whatsapp-btn {
        right: 16px;
        bottom: 24px;
    }
}



.footer-logo .logo-img {
    height: 50px;
}

/* ===== Section Header V2 ===== */
.section-header-v2 {
    text-align: center;
    margin-bottom: 24px;
}

.section-header-v2 .section-title {
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== Lifestyle Section ===== */
.lifestyle-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.lifestyle-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
}

.lifestyle-card:hover {
    background: var(--bg-primary);
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.lifestyle-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: transform var(--transition-normal);
}

.lifestyle-card:hover .lifestyle-icon {
    transform: scale(1.1);
}

.lifestyle-icon svg {
    stroke: white;
    width: 28px;
    height: 28px;
}

.lifestyle-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.lifestyle-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== Installment Section ===== */
.installment-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #FFF5EB 100%);
}

.installment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
}

.installment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.installment-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.installment-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, #FFF5EB 0%, #FFEDE0 100%);
}

.installment-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    margin-bottom: 12px;
    transition: all var(--transition-normal);
}

.installment-card:hover .installment-icon,
.installment-card.active .installment-icon {
    background: var(--primary);
}

.installment-card:hover .installment-icon svg,
.installment-card.active .installment-icon svg {
    stroke: white;
}

.installment-icon svg {
    stroke: var(--primary);
    width: 24px;
    height: 24px;
}

.installment-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.installment-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===== Price Range Section ===== */
.price-range-section {
    padding: 28px 0 60px;
    background: var(--bg-primary);
}

.price-range-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.price-range-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-range-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.price-range-card:hover::before,
.price-range-card.active::before {
    transform: scaleX(1);
}

.price-range-card:hover {
    background: var(--bg-primary);
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.price-range-card.active {
    background: var(--bg-primary);
    border-color: var(--primary);
}

.price-range-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.price-range-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.price-range-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===== Active Filters Section ===== */
.active-filters-section {
    padding: 20px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    animation: scaleIn 0.3s ease;
}

.active-filter-chip button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.active-filter-chip button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.active-filter-chip button svg {
    stroke: white;
}

.results-count {
    display: inline-block;
    margin-left: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===== Car Card with Installment ===== */
.car-installment {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.car-installment-value {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.car-installment-value strong {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Responsive New Sections ===== */
@media (max-width: 768px) {
    .lifestyle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lifestyle-card {
        padding: 20px;
    }

    .installment-grid,
    .price-range-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header-v2 .section-title {
        font-size: 1.5rem;
    }
}

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

    .lifestyle-card {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px;
    }

    .lifestyle-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .lifestyle-content {
        flex: 1;
    }

    .installment-grid,
    .price-range-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .installment-card,
    .price-range-card {
        padding: 20px 12px;
    }

    .installment-value {
        font-size: 1rem;
    }


}

/* ===== Featured Carousel Section ===== */
.featured-carousel-section {
    padding: 60px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.featured-carousel-container,
.brands-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-carousel-wrapper {
    position: relative;
    overflow-x: auto;
    flex: 1;
    padding: 20px 0;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
}

.featured-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.side-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.side-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn.side-btn,
.brand-prev.side-btn {
    left: -20px;
}

.next-btn.side-btn,
.brand-next.side-btn {
    right: -20px;
}

@media (max-width: 768px) {
    .side-btn {
        display: none !important;
    }

    .featured-carousel-wrapper,
    .brands-carousel {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-left: 20px;
        padding-right: 20px;
    }

    .featured-carousel-wrapper::-webkit-scrollbar,
    .brands-carousel::-webkit-scrollbar {
        display: none;
    }
}

.featured-carousel {
    display: flex;
    gap: 20px;
    width: max-content;
    /* Remove animation scrolling to allow manual control/side buttons */
    /* animation: carouselScroll 40s linear infinite; */
}

.featured-carousel:hover,
.brands-track:hover {
    animation-play-state: paused;
}

.carousel-car-card,
.brand-card {
    flex-shrink: 0;
    scroll-snap-align: start;
}

@keyframes carouselScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.carousel-car-card {
    flex-shrink: 0;
    width: 300px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.carousel-car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.carousel-car-card .car-image {
    position: relative;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    background: #f6f6f6;
}

.carousel-car-card .car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.carousel-car-card:hover .car-image img {
    transform: scale(1.05);
}

.carousel-car-card .car-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
}

.carousel-car-card .car-info {
    padding: 16px;
}

.carousel-car-card .car-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-car-card .car-specs {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.carousel-car-card .car-price {
    display: flex;
    flex-direction: column;
}

.carousel-car-card .price-label {
    font-size: 0.7rem;
    color: var(--text-light);
}

.carousel-car-card .price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111111;
}

/* ===== Toast System ===== */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(26, 26, 26, 0.95);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    pointer-events: auto;
}

@keyframes toastIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

@keyframes toastOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

/* ===== Skeleton Loading ===== */
.skeleton {
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
}

@keyframes skeleton-shimmer {
    100% {
        background-position: -200% 0;
    }
}

/* Back to Top positioning */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--text-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 25px;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
}

.whatsapp-label {
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid #eee;
}

.whatsapp-float-container:hover .whatsapp-label {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
    position: relative;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* ===== Evaluation CTA Section ===== */
.evaluation-cta {
    background: rgba(255, 107, 0, 0.08);
    /* Laranja oficial com 8% de opacidade */
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 0, 0.1);
    border-bottom: 1px solid rgba(255, 107, 0, 0.1);
    margin: 60px 0;
}

.evaluation-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.evaluation-content p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn-evaluation {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 300;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-evaluation:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

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

/* Price Range Cards Refined */
.price-range-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.price-range-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.price-range-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.price-range-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all var(--transition-normal);
}

.price-range-card:hover .price-range-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.price-range-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Mobile: 3 quadrados lado a lado (compacto) */
@media (max-width: 480px) {
    .price-range-section {
        padding: 18px 0 34px;
    }

    .price-range-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .price-range-card {
        padding: 10px 8px;
        border-radius: 16px;
        aspect-ratio: 1 / 1;
        box-shadow: var(--shadow-sm);
    }

    .price-range-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 8px;
    }

    .price-range-icon svg {
        width: 20px;
        height: 20px;
    }

    .price-range-title {
        font-size: 0.82rem;
        line-height: 1.15;
        margin: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
}

/* Mobile: categorias em carrossel (3 quadrados por vez) */
@media (max-width: 480px) {
    .categories-section {
        padding: 34px 0;
    }

    .categories-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 2px 2px 10px;
        touch-action: pan-x;
    }

    .categories-grid::-webkit-scrollbar {
        display: none;
    }

    .category-card {
        flex: 0 0 calc((100% - 16px) / 3);
        padding: 12px 8px;
        gap: 8px;
        border-radius: 16px;
        scroll-snap-align: start;
        aspect-ratio: 1 / 1;
        justify-content: center;
    }

    .category-icon {
        width: 42px;
        height: 42px;
    }

    .category-icon svg {
        width: 22px;
        height: 22px;
    }

    .category-card span {
        font-size: 0.82rem;
        line-height: 1.1;
    }
}

/* Mobile: filtros "Nossos Veiculos" fixos na mesma linha (4 colunas) */
@media (max-width: 480px) {
    .featured-filters {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 22px;
    }

    .filter-btn {
        width: 100%;
        padding: 8px 6px;
        font-size: 0.82rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 360px) {
    .filter-btn {
        padding: 8px 5px;
        font-size: 0.78rem;
    }
}

/* Better Mobile Adjustments */
@media (max-width: 768px) {
    .whatsapp-float-container {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .whatsapp-label {
        display: none;
        /* Hide label on mobile to save space */
    }

    .back-to-top {
        bottom: 80px;
        /* Offset to not overlap with WA button if triggered */
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .search-box {
        padding: 15px;
    }
}

/* ===== Theme & Sound Toggle Buttons ===== */
.theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-left: 8px;
    flex-shrink: 0;
}

.header .theme-toggle,
.header .sound-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.theme-toggle:hover,
.sound-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.theme-toggle svg,
.sound-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    transition: all var(--transition-normal);
}

.theme-toggle:hover svg,
.sound-toggle:hover svg {
    stroke: #fff;
}

/* AnimaÃƒÂ§ÃƒÂ£o do ÃƒÂ­cone */
.theme-toggle .icon-sun {
    display: block;
}

.theme-toggle .icon-moon {
    display: none;
}

body.dark-mode .theme-toggle .icon-sun {
    display: none;
}

body.dark-mode .theme-toggle .icon-moon {
    display: block;
}

/* TransiÃƒÂ§ÃƒÂ£o suave de cor de fundo */
body {
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Mobile */
@media (max-width: 768px) {
    .theme-toggle {
        width: 36px;
        height: 36px;
        margin-left: 10px;
    }

    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== Search Input Styles ===== */
#searchInput:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1) !important;
}

#searchInput::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

/* ===== Filter Selects Styles ===== */
.filter-select:hover {
    border-color: var(--primary) !important;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.filter-select:disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
    min-height: 200px;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 50;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Full Page Loader */
#appLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader-car {
    font-size: 4rem;
    animation: bounce 1s infinite alternate;
}

.toast {
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 122, 26, 0.35);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.active {
    opacity: 1;
    transform: translateY(0);
}

.loader-text {
    color: var(--primary);
    margin-top: 20px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 2px;
    animation: pulse 1.5s infinite;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-20px);
    }
}

/* ===== Premium Modal Gallery ===== */
.modal-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-gallery.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content-wrapper {
    position: relative;
    max-width: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-main-img {
    max-height: 85vh;
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

/* Navigation Buttons (Desktop) */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    color: white;
}

.modal-nav:hover {
    background: var(--primary);
    transform: scale(1.1) translateY(-45%);
}

.modal-prev {
    left: -80px;
}

.modal-next {
    right: -80px;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10002;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #ff3333;
    transform: rotate(90deg);
}

/* Counter */
.modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .modal-nav {
        display: none;
        /* Hide arrows on mobile, use swipe */
    }

    .modal-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.5);
    }

    .modal-main-img {
        max-width: 100vw;
        max-height: 70vh;
    }

    .modal-content-wrapper {
        width: 100%;
    }
}

.carousel-car-card .car-options-preview {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    height: 48px;
    overflow: hidden;
    align-content: flex-start;
}

.carousel-car-card .car-options-preview span {
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 500;
}

/* ===== Button Typography ===== */
button,
.btn-search,
.btn-anunciar,
.btn-anunciar-mobile,
.btn-login,
.btn-login-mobile,
.btn-load-more,
.btn-evaluation,
.btn-primary,
.filter-btn,
.tab-btn,
.nav-cta,
.btn-details,
.btn-whatsapp {
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* ===== Vehicle Details Redesign ===== */
.vehicle-page {
    background: var(--bg-primary);
    color: var(--text-primary);
}

#detailsTitle {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.01em;
    margin: 0;
}

.vehicle-section-title {
    margin: 0 0 18px;
    color: #2f2f2f;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 500;
    line-height: 1.3;
}

.vehicle-hero-section,
.vehicle-summary-section,
.vehicle-spec-section,
.vehicle-items-section,
.vehicle-about-section,
.vehicle-video-section,
.vehicle-contact-section,
.vehicle-carousel-section,
.vehicle-location-section {
    padding: 24px 0;
}

.vehicle-hero-section {
    padding-top: 34px;
}

.vehicle-main-carousel {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff8f0 0%, #fff 100%);
    border: 1px solid #f0dfcc;
    box-shadow: 0 10px 30px rgba(20, 20, 20, 0.08);
}

.vehicle-carousel-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8.4;
    min-height: 330px;
}

.vehicle-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vehicle-overlay-top {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 4;
}

.vehicle-brand-chip {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 149, 0, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.vehicle-brand-chip img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.vehicle-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 149, 0, 0.95);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.vehicle-status-chip.inline {
    background: rgba(255, 149, 0, 0.16);
    color: #be6b00;
}

.vehicle-code-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f4f4f4;
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.vehicle-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(18, 18, 18, 0.62);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.vehicle-carousel-btn svg {
    width: 18px;
    height: 18px;
}

.vehicle-carousel-btn:hover {
    background: rgba(255, 149, 0, 0.95);
    border-color: rgba(255, 149, 0, 0.95);
}

.vehicle-carousel-btn.left {
    left: 12px;
}

.vehicle-carousel-btn.right {
    right: 12px;
}

.vehicle-carousel-btn.mini {
    top: 42%;
    background: rgba(15, 15, 15, 0.72);
}

.vehicle-thumb-strip {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fff;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vehicle-thumb-strip::-webkit-scrollbar {
    display: none;
}

.vehicle-thumb-btn {
    width: 92px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ebebeb;
    cursor: pointer;
    flex-shrink: 0;
    background: #fff;
    padding: 0;
}

.vehicle-thumb-btn.active {
    border-color: #FF9500;
    box-shadow: 0 0 0 2px rgba(255, 149, 0, 0.16);
}

.vehicle-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-summary-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 16px;
}

.vehicle-summary-main,
.vehicle-summary-price {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 16px rgba(10, 10, 10, 0.05);
}

.vehicle-summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.vehicle-main-subtitle {
    margin: 10px 0 14px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
}

.vehicle-main-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vehicle-fav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e2e2;
    color: #7b7b7b;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.vehicle-fav-btn:hover,
.vehicle-fav-btn.active {
    border-color: #FF9500;
    color: #FF9500;
    background: rgba(255, 149, 0, 0.09);
}

.vehicle-fav-btn svg {
    width: 18px;
    height: 18px;
}

.vehicle-price-label {
    color: #7d7d7d;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
}

.vehicle-price-value {
    color: #FF9500;
    font-size: clamp(2rem, 3.4vw, 2.7rem);
    line-height: 1.1;
    font-weight: 500;
}

.vehicle-share-block {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
}

.vehicle-share-block h3 {
    margin: 0 0 10px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
}

.vehicle-share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, opacity .2s ease;
}

.share-btn svg {
    width: 16px;
    height: 16px;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-btn.wa {
    background: #1f9f52;
}

.share-btn.fb {
    background: #1b74e4;
}

.share-btn.tw {
    background: #35a0f2;
}

.share-btn.in {
    background: #0a66c2;
}

.share-btn.mail {
    background: #d23f31;
}

.vehicle-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.vehicle-spec-item {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 12px;
    min-height: 82px;
    box-shadow: 0 3px 10px rgba(10, 10, 10, 0.04);
}

.spec-label {
    display: block;
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
}

.spec-value {
    display: block;
    color: #2f2f2f;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

.vehicle-items-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.vehicle-items-grid li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 10px;
    color: #555;
    font-size: 14px;
    font-weight: 400;
}

.vehicle-items-grid li svg {
    width: 16px;
    height: 16px;
    color: #FF9500;
    flex-shrink: 0;
}

.vehicle-divider {
    border-top: 1px solid #ececec;
    margin-bottom: 14px;
}

.vehicle-about-text {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
    background: #fcfcfc;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 16px;
}

.vehicle-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ead8bf;
    box-shadow: 0 10px 24px rgba(15, 15, 15, 0.1);
    background: #fff;
}

.vehicle-video-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.vehicle-mosaic-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ead8bf;
    box-shadow: 0 10px 24px rgba(15, 15, 15, 0.1);
    background: #fff;
    padding: 6px;
}

.vehicle-mosaic-tile {
    position: relative;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: #f3f3f3;
    cursor: pointer;
}

.vehicle-mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vehicle-mosaic-overflow span {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vehicle-media-note {
    margin: 10px 0 0;
    color: #6d6d6d;
    font-size: 13px;
    font-weight: 400;
}

.vehicle-contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 16px;
}

.vehicle-contact-form-card,
.vehicle-owner-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 16px rgba(10, 10, 10, 0.05);
}

.vehicle-contact-form .form-group {
    margin-bottom: 12px;
}

.vehicle-contact-form .form-group label {
    color: #8e8e8e;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.vehicle-contact-form input,
.vehicle-contact-form textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 400;
    color: #2f2f2f;
    background: #fff;
    font-family: inherit;
}

.vehicle-contact-form input:focus,
.vehicle-contact-form textarea:focus {
    outline: none;
    border-color: #FF9500;
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.14);
}

.vehicle-contact-form .btn-primary {
    width: 100%;
}

.vehicle-recaptcha-placeholder {
    margin-top: 10px;
    color: #8e8e8e;
    font-size: 12px;
    text-align: center;
}

.vehicle-owner-card {
    text-align: center;
}

.vehicle-owner-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 6px auto 12px;
    background: linear-gradient(145deg, rgba(255, 149, 0, 0.95), rgba(232, 126, 13, 0.95));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 500;
    border: 4px solid rgba(255, 149, 0, 0.14);
}

.vehicle-owner-name {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #2f2f2f;
}

.vehicle-owner-role {
    margin: 8px 0 14px;
    font-size: 13px;
    font-weight: 400;
    color: #727272;
}

.vehicle-owner-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.owner-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.owner-action-btn svg {
    width: 17px;
    height: 17px;
}

.owner-action-btn.wa {
    background: #1f9f52;
}

.owner-action-btn.mail {
    background: #d23f31;
}

.vehicle-card-carousel {
    position: relative;
}

.vehicle-card-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px;
    scroll-snap-type: x mandatory;
}

.vehicle-card-track::-webkit-scrollbar {
    display: none;
}

.vehicle-mini-card,
.vehicle-related-card {
    flex: 0 0 clamp(250px, 30vw, 320px);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(12, 12, 12, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
}

.vehicle-mini-card:hover,
.vehicle-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(12, 12, 12, 0.1);
}

.vehicle-mini-image,
.vehicle-related-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    background: #f6f6f6;
}

.vehicle-mini-image img,
.vehicle-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 149, 0, 0.94);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
}

.vehicle-card-badge.code {
    left: auto;
    right: 10px;
    background: rgba(18, 18, 18, 0.75);
}

.vehicle-mini-body,
.vehicle-related-body {
    padding: 12px;
}

.vehicle-mini-title,
.vehicle-related-title {
    margin: 0 0 4px;
    color: #2f2f2f;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

.vehicle-mini-meta,
.vehicle-related-meta {
    margin: 0;
    color: #7a7a7a;
    font-size: 12px;
    font-weight: 400;
}

.vehicle-mini-price,
.vehicle-related-price {
    margin: 8px 0 0;
    color: #111111;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 500;
}

.vehicle-mini-bottom,
.vehicle-related-bottom {
    margin-top: 8px;
    color: #6b6b6b;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.vehicle-related-fav {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    color: #999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vehicle-related-fav svg {
    width: 14px;
    height: 14px;
}

.vehicle-lined-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.vehicle-lined-title span {
    display: block;
    height: 1px;
    flex: 1;
    background: #ebebeb;
}

.vehicle-lined-title h2 {
    margin: 0;
    color: #2f2f2f;
    font-size: 1.4rem;
    font-weight: 500;
    white-space: nowrap;
}

.vehicle-location-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7.2;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10, 10, 10, 0.06);
}

.vehicle-location-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.vehicle-address-text {
    margin: 10px 0 0;
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 1080px) {

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

    .vehicle-spec-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vehicle-items-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .vehicle-carousel-stage {
        min-height: 260px;
        aspect-ratio: 16 / 10;
    }

    .vehicle-carousel-btn {
        width: 36px;
        height: 36px;
    }

    .vehicle-thumb-btn {
        width: 82px;
        height: 58px;
    }

    .vehicle-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vehicle-card-track.related .vehicle-related-card {
        flex-basis: clamp(260px, 74vw, 320px);
    }
}

@media (max-width: 560px) {

    .vehicle-hero-section,
    .vehicle-summary-section,
    .vehicle-spec-section,
    .vehicle-items-section,
    .vehicle-about-section,
    .vehicle-video-section,
    .vehicle-contact-section,
    .vehicle-carousel-section,
    .vehicle-location-section {
        padding: 16px 0;
    }

    .vehicle-main-carousel {
        border-radius: 12px;
    }

    .vehicle-carousel-stage {
        min-height: 210px;
        aspect-ratio: 4 / 3;
    }

    .vehicle-brand-chip {
        width: 52px;
        height: 52px;
    }

    .vehicle-brand-chip img {
        width: 33px;
        height: 33px;
    }

    .vehicle-status-chip {
        font-size: 11px;
        padding: 5px 9px;
    }

    .vehicle-spec-grid,
    .vehicle-items-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-card-track {
        gap: 10px;
    }

    .vehicle-mini-card,
    .vehicle-related-card {
        flex-basis: calc(100% - 8px);
    }

    .vehicle-location-wrap {
        aspect-ratio: 4 / 3;
    }

    .vehicle-carousel-btn.mini {
        display: none;
    }
}

/* ===== Vehicle Layout Refinement (Autoshop-like) ===== */
.vehicle-content-shell {
    padding-top: 0;
}

.vehicle-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 18px;
    align-items: start;
}

.vehicle-left-column,
.vehicle-right-column {
    display: grid;
    gap: 16px;
}

.vehicle-info-card,
.vehicle-block-card,
.vehicle-price-card,
.vehicle-contact-form-card,
.vehicle-visited-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 3px 14px rgba(15, 15, 15, 0.05);
}

.vehicle-main-carousel {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ecd9bf;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.vehicle-hero-window {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    outline: none;
}

.vehicle-hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .36s ease;
}

.vehicle-hero-photo {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #fff;
    cursor: pointer;
}

.vehicle-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vehicle-overlay-top {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.vehicle-title-top {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.vehicle-logo-inline {
    width: 86px;
    height: 86px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e4e4e4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-logo-inline img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.vehicle-main-title {
    margin: 8px 0 0;
    color: #2f2f2f;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 500;
    line-height: 1.2;
}

.vehicle-main-subtitle {
    margin: 6px 0 0;
    color: #666;
    font-size: 1.05rem;
    font-weight: 400;
}

.vehicle-main-meta {
    margin-top: 10px;
    margin-bottom: 10px;
}

.vehicle-section-title.with-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vehicle-section-title.with-line::after {
    content: "";
    display: block;
    flex: 1;
    height: 1px;
    background: #dddddd;
}

.vehicle-price-card {
    position: sticky;
    top: calc(var(--header-height) + 18px);
}

.vehicle-side-carousel {
    position: relative;
}

.vehicle-card-track.side {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    display: grid;
    gap: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 2px;
}

.vehicle-card-track.side::-webkit-scrollbar {
    display: none;
}

.vehicle-card-track.side .vehicle-mini-card {
    flex: unset;
    width: 100%;
}

.vehicle-card-track.side .vehicle-mini-image {
    height: 96px;
}

.vehicle-card-track.side .vehicle-mini-title {
    font-size: 1rem;
}

.vehicle-card-track.side .vehicle-mini-price {
    font-size: 1.2rem;
}

.vehicle-card-track.side:focus,
.vehicle-card-track.related:focus,
.featured-carousel-wrapper:focus,
.brands-carousel:focus,
.vehicle-hero-window:focus {
    outline: 2px solid rgba(255, 149, 0, 0.45);
    outline-offset: 2px;
}

@media (max-width: 1180px) {
    .vehicle-content-grid {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .vehicle-title-top {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .vehicle-logo-inline {
        width: 72px;
        height: 72px;
    }

    .vehicle-logo-inline img {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 960px) {
    .vehicle-content-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-price-card {
        position: static;
    }

    .vehicle-card-track.side {
        max-height: none;
        overflow-y: hidden;
        overflow-x: auto;
        display: flex;
    }

    .vehicle-card-track.side .vehicle-mini-card {
        min-width: 260px;
    }
}

@media (max-width: 640px) {
    .vehicle-hero-window {
        aspect-ratio: 1 / 1;
    }

    .vehicle-hero-photo {
        flex-basis: 50%;
        width: 50%;
    }

    .vehicle-carousel-btn {
        width: 34px;
        height: 34px;
    }

    .vehicle-title-top {
        grid-template-columns: 1fr;
    }

    .vehicle-logo-inline {
        width: 62px;
        height: 62px;
    }

    .vehicle-logo-inline img {
        width: 42px;
        height: 42px;
    }
}

/* ===== Vehicle Details Final Layout (Corrected) ===== */
.vehicle-page.vehicle-v2 {
    padding: 16px 0 44px;
}

.vehicle-page.vehicle-v2 .vehicle-top-section,
.vehicle-page.vehicle-v2 .vehicle-details-section,
.vehicle-page.vehicle-v2 .vehicle-items-section,
.vehicle-page.vehicle-v2 .vehicle-about-section,
.vehicle-page.vehicle-v2 .vehicle-video-section,
.vehicle-page.vehicle-v2 .vehicle-carousel-section,
.vehicle-page.vehicle-v2 .vehicle-location-section {
    padding: 10px 0;
}

.vehicle-page.vehicle-v2 .vehicle-top-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
}

.vehicle-page.vehicle-v2 .vehicle-top-carousel-card {
    position: relative;
    border: 1px solid #e3e3e3;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.07);
}

.vehicle-page.vehicle-v2 .vehicle-hero-window {
    --hero-visible-slides: 3;
    aspect-ratio: var(--hero-visible-slides) / 1;
    height: auto;
    max-height: none;
    min-height: 0;
}

.vehicle-page.vehicle-v2 .vehicle-hero-track {
    height: 100%;
}

.vehicle-page.vehicle-v2 .vehicle-hero-photo {
    flex: 0 0 calc(100% / var(--hero-visible-slides, 3));
    width: calc(100% / var(--hero-visible-slides, 3));
}

.vehicle-page.vehicle-v2 .vehicle-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 7;
}

.vehicle-page.vehicle-v2 .vehicle-carousel-btn.left {
    left: 10px;
}

.vehicle-page.vehicle-v2 .vehicle-carousel-btn.right {
    right: 10px;
}

.vehicle-page.vehicle-v2 .vehicle-top-info-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);
    display: grid;
    gap: 10px;
    align-content: start;
}

.vehicle-page.vehicle-v2 .vehicle-main-title {
    font-size: clamp(1.2rem, 1.9vw, 1.55rem);
    line-height: 1.2;
    font-weight: 500;
    text-transform: none !important;
}

.vehicle-page.vehicle-v2 .vehicle-title-top {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.vehicle-page.vehicle-v2 .vehicle-title-content {
    min-width: 0;
}

.vehicle-page.vehicle-v2 .vehicle-logo-inline {
    width: 70px;
    height: 70px;
    border-radius: 10px;
}

.vehicle-page.vehicle-v2 .vehicle-logo-inline img {
    width: 46px;
    height: 46px;
}

.vehicle-page.vehicle-v2 .vehicle-main-subtitle {
    margin-top: 6px;
    font-size: 1rem;
}

.vehicle-page.vehicle-v2 .vehicle-price-label {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.vehicle-page.vehicle-v2 .vehicle-price-value {
    color: #111111;
    font-size: clamp(1.3rem, 1.8vw, 1.7rem);
    line-height: 1;
    font-weight: 500;
}

.vehicle-page.vehicle-v2 .vehicle-hero-photo img {
    object-fit: cover;
    background: #f6f6f6;
}

.vehicle-page.vehicle-v2 .vehicle-details-inline-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ececec;
    background: #fafafa;
}

.vehicle-page.vehicle-v2 .vehicle-details-inline-grid div {
    display: grid;
    gap: 2px;
}

.vehicle-page.vehicle-v2 .vehicle-details-inline-grid span {
    font-size: 10px;
    color: #8a8a8a;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: none;
}

.vehicle-page.vehicle-v2 .vehicle-details-inline-grid strong {
    font-size: 13px;
    color: #2e2e2e;
    font-weight: 500;
}

.vehicle-page.vehicle-v2 .vehicle-options-inline {
    border-top: 1px solid #ececec;
    padding-top: 12px;
}

.vehicle-page.vehicle-v2 .vehicle-options-inline h3 {
    margin: 0 0 8px;
    color: #444;
    font-size: 13px;
    font-weight: 500;
}

.vehicle-page.vehicle-v2 .vehicle-options-inline-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
}

.vehicle-page.vehicle-v2 .vehicle-options-inline-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #555;
    font-size: 13px;
    line-height: 1.35;
}

.vehicle-page.vehicle-v2 .vehicle-options-inline-list li svg {
    width: 15px;
    height: 15px;
    color: #ff9500;
    flex-shrink: 0;
}

.vehicle-page.vehicle-v2 .vehicle-share-block {
    margin-top: 0;
    padding-top: 12px;
}

.vehicle-page.vehicle-v2 .vehicle-share-buttons {
    gap: 7px;
}

.vehicle-page.vehicle-v2 .share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.vehicle-page.vehicle-v2 .share-btn.ig {
    background: linear-gradient(135deg, #fd5949 0%, #d6249f 60%, #285aeb 100%);
}

.vehicle-page.vehicle-v2 .vehicle-contact-cta {
    width: auto;
    align-self: flex-start;
    margin-top: 2px;
    margin-bottom: 2px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 400;
    padding: 7px 12px;
    background: var(--cta-green);
    border: 1px solid var(--cta-green);
    color: #ffffff;
    white-space: nowrap;
    line-height: 1;
}

.vehicle-page.vehicle-v2 .vehicle-contact-cta:hover {
    background: var(--cta-green-dark);
    border-color: var(--cta-green-dark);
}

.vehicle-page.vehicle-v2 .vehicle-contact-form.compact .form-group {
    margin-bottom: 10px;
}

.vehicle-page.vehicle-v2 .vehicle-contact-form.compact textarea {
    min-height: 100px;
    max-height: 130px;
}

.vehicle-page.vehicle-v2 .vehicle-recaptcha-placeholder {
    margin-top: 8px;
}

.vehicle-page.vehicle-v2 .vehicle-block-card {
    border-radius: 12px;
    padding: 16px;
}

.vehicle-page.vehicle-v2 .vehicle-section-title {
    font-size: 1.42rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.vehicle-page.vehicle-v2 .vehicle-spec-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.vehicle-page.vehicle-v2 .vehicle-spec-item {
    min-height: 78px;
}

.vehicle-page.vehicle-v2 .vehicle-items-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.vehicle-page.vehicle-v2 .vehicle-about-text {
    max-height: 300px;
    overflow: auto;
    scrollbar-width: none;
}

.vehicle-page.vehicle-v2 .vehicle-about-text::-webkit-scrollbar {
    display: none;
}

.vehicle-page.vehicle-v2 .vehicle-video-wrap {
    border-radius: 12px;
}

.vehicle-page.vehicle-v2 #visitedTrack,
.vehicle-page.vehicle-v2 #relatedTrack {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    cursor: grab;
    padding: 6px 44px;
}

.vehicle-page.vehicle-v2 #visitedTrack::-webkit-scrollbar,
.vehicle-page.vehicle-v2 #relatedTrack::-webkit-scrollbar {
    display: none;
}

.vehicle-page.vehicle-v2 #visitedTrack .vehicle-mini-card {
    flex: 0 0 clamp(220px, 24vw, 280px);
    max-height: 300px;
}

.vehicle-page.vehicle-v2 #visitedTrack .vehicle-mini-image {
    height: 132px;
}

.vehicle-page.vehicle-v2 #relatedTrack .vehicle-related-card {
    flex: 0 0 clamp(245px, 31vw, 320px);
    min-width: 280px;
    scroll-snap-align: start;
}

.vehicle-page.vehicle-v2 .vehicle-carousel-section .vehicle-card-carousel {
    position: relative;
}

.vehicle-page.vehicle-v2 .vehicle-carousel-section .vehicle-carousel-btn.mini {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 12;
}

.vehicle-page.vehicle-v2 .vehicle-carousel-section .vehicle-carousel-btn.mini.left {
    left: 6px;
}

.vehicle-page.vehicle-v2 .vehicle-carousel-section .vehicle-carousel-btn.mini.right {
    right: 6px;
}

.vehicle-page.vehicle-v2 .vehicle-location-wrap {
    aspect-ratio: 16 / 9;
    height: auto;
    max-width: 100%;
    overflow: hidden;
}

.vehicle-page.vehicle-v2 .vehicle-media-map-section {
    padding: 10px 0 14px;
}

.vehicle-page.vehicle-v2 .vehicle-media-map-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.vehicle-page.vehicle-v2 .vehicle-media-map-grid .vehicle-block-card {
    height: auto;
    align-self: start;
    max-width: 100%;
    overflow: hidden;
}

.vehicle-page.vehicle-v2 .vehicle-media-map-grid .vehicle-video-wrap {
    aspect-ratio: 16 / 9;
    max-height: none;
    max-width: 100%;
    overflow: hidden;
}

.vehicle-page.vehicle-v2 .vehicle-media-map-grid .vehicle-mosaic-wrap {
    aspect-ratio: 16 / 9;
    max-height: none;
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 1100px) {
    .vehicle-page.vehicle-v2 .vehicle-top-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .vehicle-page.vehicle-v2 .vehicle-top-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-page.vehicle-v2 .vehicle-details-inline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vehicle-page.vehicle-v2 .vehicle-options-inline-list {
        grid-template-columns: 1fr;
    }

    .vehicle-page.vehicle-v2 .vehicle-media-map-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .vehicle-page.vehicle-v2 .vehicle-top-info-card {
        padding: 14px;
    }

    .vehicle-page.vehicle-v2 .vehicle-hero-window {
        --hero-visible-slides: 1;
    }

    .vehicle-page.vehicle-v2 .vehicle-hero-photo {
        flex: 0 0 100%;
        width: 100%;
    }

    .vehicle-page.vehicle-v2 .vehicle-main-title {
        font-size: 1.35rem;
    }

    .vehicle-page.vehicle-v2 .vehicle-title-top {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 8px;
    }

    .vehicle-page.vehicle-v2 .vehicle-logo-inline {
        width: 58px;
        height: 58px;
    }

    .vehicle-page.vehicle-v2 .vehicle-logo-inline img {
        width: 38px;
        height: 38px;
    }

    .vehicle-page.vehicle-v2 .vehicle-details-inline-grid,
    .vehicle-page.vehicle-v2 .vehicle-options-inline-list {
        grid-template-columns: 1fr;
    }

    .vehicle-page.vehicle-v2 .vehicle-location-wrap {
        height: 280px;
    }

    .vehicle-page.vehicle-v2 .vehicle-mosaic-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vehicle-page.vehicle-v2 .vehicle-carousel-section .vehicle-carousel-btn.mini {
        display: none;
    }
}

/* === BETTER MOBILE FOOTER === */
/* Compacta o rodapÃ© em 2 colunas no mobile para economizar espaÃ§o vertical */
@media (max-width: 768px) {
    footer .container {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px; /* Row gap 24, Col gap 16 */
        text-align: left;
    }

    footer .footer-brand {
        grid-column: 1 / -1; /* Logo ocupa largura total no topo */
        text-align: center;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    footer .footer-links {
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    footer .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 12px;
        border-left: 3px solid var(--primary);
        padding-left: 8px;
    }

    footer .footer-links ul li {
        margin-bottom: 8px;
    }
    
    footer .footer-links p {
        font-size: 0.85rem !important;
        line-height: 1.4;
    }

    /* Oculta textos muito longos ou ajusta se necessÃ¡rio */
    .footer-bottom {
        text-align: center;
        padding-top: 20px;
        margin-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}



/* CORREÃ‡ÃƒO DE CAIXA BRANCA INDESEJADA */
/* Garante que elementos com atributo 'hidden' sumam de verdade,
   sobrepondo regras de display grid/flex que podem ignorar o atributo */

[hidden] {
    display: none !important;
}

.vehicle-mosaic-wrap[hidden],
#detailsMosaicWrap[hidden] {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}



/* === CORREÃ‡ÃƒO DEFINITIVA DO FOOTER MOBILE (GRID 2 COLUNAS) === */
@media (max-width: 768px) {
    /* ForÃ§a o container dos itens a usar Grid de 2 colunas */
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px 10px !important;
        align-items: start !important;
    }

    /* Garante que o Logo/Marca ocupe a linha inteira no topo */
    .footer-brand {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Os blocos de links (Comprar, Info, Contato) agora ficam lado a lado */
    .footer-links {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ajustes para caber melhor na coluna estreita */
    .footer-links h4 {
        font-size: 1rem !important;
        margin-bottom: 10px !important;
    }

    .footer-links p, .footer-links li {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}



/* === CORREÃ‡ÃƒO FINAL FOOTER MOBILE (FLEXBOX) === */
/* Trocando Grid por Flexbox para garantir que fiquem lado a lado (48% cada) */
@media (max-width: 768px) {
    .footer-content {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 0 !important; /* Remove gap do grid, usa space-between */
    }

    .footer-brand {
        width: 100% !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }

    /* ForÃ§a os blocos a ocuparem metade da tela menos um tiquinho */
    .footer-links {
        width: 48% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Reduz um pouco o tÃ­tulo e texto para nÃ£o estourar */
    .footer-links h4 {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
        white-space: nowrap; /* Evita quebra do tÃ­tulo 'Contato' */
    }
    
    .footer-links p, .footer-links li, .footer-links a {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important; /* ForÃ§a quebra de endereÃ§o longo */
    }
}



/* === REFORÃ‡O FINAL FOOTER === */
/* Garante reset total de layout para flexbox */
@media (max-width: 768px) {
    .footer-content {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
    }

    .footer-brand {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }

    .footer-links {
        flex: 0 0 48% !important;
        max-width: 48% !important;
        width: 48% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Garante que imagens ou iframes nÃ£o estourem */
    .footer-links * {
        max-width: 100% !important;
    }
}



/* === AJUSTE FINO DE ESPAÃ‡AMENTO FOOTER MOBILE === */
@media (max-width: 768px) {
    /* Aumenta o respiro entre os blocos */
    .footer-content {
        justify-content: space-between !important; 
        gap: 15px !important; /* Adiciona gap explÃ­cito */
    }

    /* Reduz largura para 44% cada -> Gera um buraco de ~12% no meio */
    .footer-links {
        flex: 0 0 44% !important; 
        max-width: 44% !important;
    }
    
    /* Garante alinhamento Ã  esquerda e evita colagem */
    .footer-links:nth-child(2) { /* Primeiro bloco de links (Comprar) */
        text-align: left !important;
    }
    .footer-links:nth-child(3) { /* Segundo bloco de links (Contato) */
        text-align: left !important;
        padding-left: 10px !important; /* Extra padding visual */
    }
}



/* === REORGANIZAÃ‡ÃƒO UI/UX PREMIUM DO FOOTER MOBILE === */
@media (max-width: 768px) {
    /* 1. Reset e DefiniÃ§Ã£o do Grid com Respiro */
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* DivisÃ£o exata meio a meio */
        gap: 30px 20px !important; /* 30px vertical entre linhas, 20px horizontal entre colunas */
        padding-left: 15px !important; /* Margem de seguranÃ§a lateral */
        padding-right: 15px !important;
        align-items: start !important;
        
        /* Remove regras flex anteriores */
        flex-direction: row !important; 
        flex-wrap: wrap !important;
    }

    /* 2. Marca/Logo - Ocupa largura total no topo */
    .footer-brand {
        grid-column: 1 / -1 !important; /* Span full width */
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 10px !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid rgba(255,255,255,0.08); /* Divisor sutil */
    }

    /* 3. Colunas de Links (Comprar e Contato) */
    .footer-links {
        width: auto !important; /* Deixa o grid controlar a largura */
        max-width: none !important;
        flex: none !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important; /* Alinhamento estrito Ã  esquerda */
    }

    /* Remove alinhamentos especÃ­ficos anteriores */
    .footer-links:nth-child(2), 
    .footer-links:nth-child(3) {
        text-align: left !important;
        padding-left: 0 !important;
    }

    /* 4. Tipografia e Leitura (UX) */
    .footer-links h4 {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
        color: var(--primary); /* Destaque visual */
        letter-spacing: 0.5px;
    }

    .footer-links p, 
    .footer-links li, 
    .footer-links a {
        font-size: 0.85rem !important;
        line-height: 1.6 !important; /* Respiro vertical para leitura */
        color: rgba(255,255,255,0.85) !important;
        word-break: break-word !important; /* Evita quebra de layout segura */
        overflow-wrap: break-word !important; /* Suporte moderno */
    }

    /* Ajuste especÃ­fico para nÃ£o quebrar palavra 'EndereÃ§o' ou cidade de forma feia */
    .footer-links p strong { 
        display: block; 
        margin-bottom: 4px;
        color: #fff;
    }
}



/* === ULTRA SEPARAÃ‡ÃƒO DO FOOTER MOBILE === */
@media (max-width: 768px) {
    .footer-content {
        /* Aumenta o gap horizontal para 40px (muito espaÃ§o!) */
        gap: 30px 40px !important; 
    }
    
    /* Garante que o texto seja levemente menor para caber com tanto espaÃ§o no meio */
    .footer-links p, 
    .footer-links li, 
    .footer-links a {
        font-size: 0.8rem !important; /* Reduz fonte para 13px aprox */
        letter-spacing: 0.3px !important;
    }

    /* Remove qualquer margem que possa estar atrapalhando o alinhamento */
    .footer-links {
        margin: 0 !important;
        padding: 0 !important;
    }
}



/* === CORREÃ‡ÃƒO FINAL DE LAYOUT E QUEBRA DE LINHA === */
@media (max-width: 768px) {
    .footer-content {
        display: flex !important;
        justify-content: center !important; /* Centraliza os blocos na tela */
        gap: 15px !important;            /* EspaÃ§o suficiente, mas nÃ£o exagerado */
        padding: 0 5px !important;       /* Remove padding excessivo das bordas */
    }

    .footer-links {
        flex: 1 !important;              /* Cresce igualmente para ocupar espaÃ§o */
        text-align: center !important;   /* Centraliza o texto (Rio Claro fica no meio) */
        min-width: 0 !important;         /* Permite encolher se necessÃ¡rio */
    }

    /* TRUQUE PARA EVITAR QUEBRA FEIA EM CIDADES/TELEFONES */
    /* ForÃ§a o texto a tentar ficar na mesma linha se possÃ­vel */
    .footer-links p, 
    .footer-links a, 
    .footer-links li {
        font-size: 0.8rem !important;    /* Fonte 13px ideal para mobile */
        white-space: nowrap !important;  /* PROÃBE quebrar 'Rio Claro/SP' no meio */
        overflow: visible !important;    /* Deixa vazar um pouquinho se precisar, melhor que quebrar */
        line-height: 1.8 !important;     /* EspaÃ§amento vertical bom */
    }

    /* Ajuste especÃ­fico para o endereÃ§o que tem <br> no HTML */
    .footer-links p {
        white-space: normal !important; /* O bloco P pode quebrar */
    }
    
    .footer-links p span, 
    .footer-links p strong {
        white-space: nowrap !important; /* Mas os trechos dentro dele nÃ£o quebram */
    }
}



/* === RESTAURAÃ‡ÃƒO DO LAYOUT DESKTOP === */
/* NecessÃ¡rio pois removemos o estilo inline do detalhes.html */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    width: 100%;
}

/* No desktop, o brand pode ter limite de largura se necessÃ¡rio */
@media (min-width: 769px) {
    .footer-brand p {
        max-width: 300px; /* Evita que o texto fique muito largo */
    }
}



/* === CORREÃ‡ÃƒO ESTRUTURAL SENIOR (FOOTER MOBILE) === */
@media (max-width: 768px) {
    /* Container Flex com preenchimento generoso e espaÃ§amento seguro */
    .footer-content {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 25px 10px !important; /* 25px vertical, 10px horizontal */
        padding: 30px 20px !important; /* Preenchimento lateral e vertical */
        justify-content: space-between !important; /* Distribui as colunas */
        background: transparent !important; /* Garante fundo limpo */
    }

    /* Marca: Ocupa 100% e mantÃ©m o fluxo do documento */
    .footer-brand {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 20px;
    }

    /* Colunas: 48% cada para garantir lado a lado sem colisÃ£o */
    .footer-links {
        flex: 0 0 48% !important;
        width: 48% !important;
        max-width: 48% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important; /* Alinhamento consistente */
    }

    /* TÃ­tulos com respiro inferior */
    .footer-links h4 {
        margin-bottom: 15px !important;
        font-size: 1rem !important;
        display: block !important;
    }

    /* Tipografia ajustada: Leitura confortÃ¡vel e espaÃ§ada */
    .footer-links p, 
    .footer-links li, 
    .footer-links a {
        font-size: 13.5px !important; /* Tamanho legÃ­vel */
        line-height: 1.6 !important; /* EspaÃ§o entre linhas do endereÃ§o */
        color: rgba(255,255,255,0.8) !important;
        word-break: break-word !important; /* SeguranÃ§a contra quebra */
        display: block !important;
    }

    /* Garante que o telefone e cidade nÃ£o quebrem no meio da palavra se possÃ­vel */
    .js-admin-phone-display {
        white-space: nowrap !important;
    }
}



/* === CORREÃ‡ÃƒO FINALISSIMA: GRID 2 COLUNAS LADO A LADO === */
/* Substitui qualquer regra flex anterior que possa estar quebrando linha */
@media (max-width: 768px) {
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* FORÃ‡A LADO A LADO MATEMATICAMENTE */
        gap: 30px 15px !important; /* EspaÃ§o vertical 30px, horizontal 15px */
        padding: 20px 15px !important;
        justify-items: start !important; /* Alinha tudo Ã  esquerda */
    }

    .footer-brand {
        grid-column: 1 / -1 !important; /* Marca ocupa linha inteira no topo */
        width: 100% !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 15px !important;
        margin-bottom: 10px !important;
    }

    .footer-links {
        width: 100% !important; /* Ocupa toda a cÃ©lula do grid */
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ajuste para evitar que palavras longas quebrem o grid */
    .footer-links p, 
    .footer-links ul, 
    .footer-links li {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important; /* Permite quebrar linha se precisar */
    }
}



/* === CORREÃ‡ÃƒO FINAL BASEADA IMAGEM (TEXTO Ã€ ESQUERDA) === */
@media (max-width: 768px) {
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* DivisÃ£o meio a meio perfeita */
        gap: 30px 20px !important; /* 30px vertical, 20px distÃ¢ncia horizontal */
        padding: 0 20px !important; /* Margem lateral da tela */
        justify-items: start !important; /* Alinha os blocos Ã  esquerda */
    }

    /* Marca centralizada no topo */
    .footer-brand {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    /* Colunas de Links: Alinhadas Ã  Esquerda (fundamental para a leitura do endereÃ§o) */
    .footer-links {
        width: 100% !important;
        text-align: left !important; /* ISSO CORRIGE O VISUAL */
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Tipografia limpa e legÃ­vel */
    .footer-links p, 
    .footer-links li, 
    .footer-links a {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        white-space: normal !important; /* Permite quebra natural */
        color: rgba(255,255,255,0.85) !important;
    }
}



/* === ULTRA SEPARAÃ‡ÃƒO FOOTER MOBILE (CONTATO Ã€ DIREITA) === */
@media (max-width: 768px) {
    .footer-content {
        display: flex !important; /* Flex para controle total */
        flex-direction: row !important; /* Lado a lado */
        justify-content: space-between !important; /* Cola nas extremidades */
        align-items: flex-start !important;
        padding: 0 10px !important; /* Margem da tela */
        gap: 40px !important; /* GAP GIGANTE: Empurra Contato para longe de Comprar */
    }

    .footer-links:nth-child(2) { /* Coluna Comprar */
        flex: 0 0 auto !important; /* Ocupa sÃ³ o necessÃ¡rio */
        text-align: left !important;
    }

    .footer-links:nth-child(3) { /* Coluna Contato */
        flex: 1 !important; /* Ocupa o resto do espaÃ§o */
        text-align: right !important; /* Alinha texto Ã  direita? NÃ£o, vocÃª pediu 'pra frente', nÃ£o alinhamento de texto */
        /* Mas vou manter text-align left para leitura e usar margin-left */
        text-align: left !important;
        padding-left: 20px !important; /* Empurra o conteÃºdo ainda mais pra direita */
    }
}



/* === REORGANIZAÃ‡ÃƒO VISUAL BASEADA NA IMAGEM DE REFERÃŠNCIA === */
@media (max-width: 768px) {
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Grid puro de 2 colunas */
        gap: 50px !important; /* GAP MUITO GRANDE para jogar o Contato bem pra frente */
        padding: 0 10px !important;
        align-items: start !important;
        justify-content: start !important;
    }

    /* Marca ocupa o topo centralizado */
    .footer-brand {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 30px !important; /* Mais espaÃ§o antes das colunas */
    }

    /* ConfiguraÃ§Ã£o das Colunas */
    .footer-links {
        width: 100% !important;
        min-width: 0 !important;
        text-align: left !important; /* Garante alinhamento Ã  ESQUERDA como na foto */
        margin: 0 !important;
        padding: 0 !important;
    }

    /* TÃ­tulos (Comprar / Contato) */
    .footer-links h4 {
        border-left: 3px solid var(--primary) !important; /* Barra Laranja */
        padding-left: 12px !important;
        margin-bottom: 15px !important;
        font-size: 1rem !important;
        line-height: 1.2 !important;
        display: block !important;
    }

    /* ConteÃºdo (Listas e EndereÃ§o) alinhado visualmente com o TÃ­tulo */
    .footer-links ul, 
    .footer-links p {
        padding-left: 15px !important; /* Recuo para alinhar com o texto do tÃ­tulo */
        list-style: none !important;
        margin: 0 !important;
    }

    .footer-links li, 
    .footer-links a,
    .footer-links p {
        font-size: 13px !important; /* Tamanho da fonte conforme imagem */
        line-height: 1.6 !important;
        color: rgba(255,255,255,0.85) !important;
        white-space: normal !important; /* Permite quebrar linha se necessÃ¡rio */
    }
    
    /* Remove padding extra do primeiro item que poderia desalinhar */
    .footer-links:first-child {
        padding-left: 0 !important;
    }
}



/* === CENTRALIZAÃ‡ÃƒO DA MARCA E TEXTO (FOOTER MOBILE) === */
@media (max-width: 768px) {
    /* ForÃ§a centralizaÃ§Ã£o absoluta do bloco da marca */
    .footer-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Centraliza horizontalmente */
        text-align: center !important; /* Centraliza texto interno */
        margin: 0 auto 30px auto !important; /* Centraliza o bloco na tela e dÃ¡ margem inferior */
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Garante que o parÃ¡grafo 'A vitrine premium...' respeite a centralizaÃ§Ã£o */
    .footer-brand p {
        text-align: center !important;
        margin: 10px auto !important; /* Margem auto ajuda a centralizar bloco de texto */
        max-width: 90% !important; /* Evita colar nas bordas */
        display: block !important;
    }

    /* Garante que o logo tambÃ©m fique no meio */
    .footer-brand .logo, 
    .footer-brand img {
        margin: 0 auto !important;
        display: block !important;
    }
}






/* === CENTRALIZAÃ‡ÃƒO SUPREMA DA MARCA (FOOTER MOBILE) === */
@media (max-width: 768px) {
    /* Container da Marca (Logo + Texto) */
    .footer-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Eixo X: Centro */
        justify-content: center !important;
        text-align: center !important; /* Texto: Centro */
        width: 100% !important;
        margin: 0 auto 40px auto !important; /* Margem inferior generosa */
        padding: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important; /* Linha divisÃ³ria sutil */
        padding-bottom: 30px !important;
    }

    /* Imagem do Logo */
    .footer-brand .logo, 
    .footer-brand img {
        margin: 0 auto 15px auto !important;
        display: block !important;
        max-width: 160px !important; /* Tamanho controlado */
        height: auto !important;
    }

    /* Texto 'A vitrine premium...' */
    .footer-brand p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: rgba(255,255,255,0.7) !important;
        text-align: center !important;
        margin: 0 auto !important;
        max-width: 300px !important; /* Bloco de texto compacto no meio */
    }
}



/* === REVERSÃƒO PARA CENTRALIZAÃ‡ÃƒO COMPACTA === */
/* Remove margens excessivas para manter rodapÃ© curto */
@media (max-width: 768px) {
    .footer-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Centraliza horizontalmente */
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 0 20px 0 !important; /* Apenas 20px de espaÃ§o abaixo */
        padding: 0 !important;
        border: none !important; /* Remove bordas que ocupam espaÃ§o */
    }

    .footer-brand .logo,
    .footer-brand img {
        margin: 0 auto 8px auto !important; /* EspaÃ§o mÃ­nimo entre logo e texto */
        display: block !important;
        max-width: 150px !important;
    }

    .footer-brand p {
        margin: 0 !important; /* Remove margem do parÃ¡grafo */
        padding: 0 10px !important; /* Pequeno respiro lateral */
        font-size: 0.85rem !important;
        line-height: 1.3 !important; /* Linha mais compacta */
        max-width: 100% !important;
    }
}



/* === CORREÃ‡ÃƒO MINIATURAS GALERIA (VER FOTO TODA) === */
.vehicle-mosaic-tile {
    background: #000 !important; /* Fundo preto para caso a foto nÃ£o preencha tudo */
    border: 1px solid rgba(255,255,255,0.1);
}

.vehicle-mosaic-tile img {
    object-fit: contain !important; /* GARANTE QUE A FOTO APAREÃ‡A INTEIRA, SEM CORTES */
    width: 100% !important;
    height: 100% !important;
    background: #000;
}



/* === NOVO CARROSSEL HORIZONTAL (SUBSTITUI MOSAICO) === */
.mosaic-carousel-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 0 15px 0; /* Padding inferior para scroll nativo nÃ£o colar */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* Oculta scrollbar feia mas mantÃ©m funcionalidade */
.mosaic-carousel-container::-webkit-scrollbar {
    height: 6px;
}
.mosaic-carousel-container::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.mosaic-carousel-item {
    flex: 0 0 280px; /* Largura fixa boa para visualizar */
    height: 210px; /* Aspect Ratio 4:3 (Retangular) */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
    border: 1px solid rgba(255,255,255,0.1);
    background: #111;
}

.mosaic-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Preenche o retÃ¢ngulo sem deformar */
    transition: transform 0.3s;
}

.mosaic-carousel-item:hover img {
    transform: scale(1.05); /* Zoom suave ao passar mouse */
}

/* Responsivo para telas muito pequenas */
@media (max-width: 360px) {
    .mosaic-carousel-item {
        flex: 0 0 85%; /* Ocupa quase toda a tela */
        height: 200px;
    }
}



/* === CORREÃ‡ÃƒO CARROSSEL (VISUAL LIMPO E PREENCHIDO) === */
.mosaic-carousel-container {
    padding: 0 !important;
    gap: 15px !important;
}

.mosaic-carousel-item {
    flex: 0 0 260px !important; /* Largura fixa boa */
    height: 195px !important; /* Retangular 4:3 */
    background: transparent !important; /* Remove fundo preto/branco */
    border: none !important; /* Remove bordas */
    border-radius: 12px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important; /* Sombra suave para destacar */
}

/* Garante que a imagem preencha TUDO bonito (Cover) */
.mosaic-carousel-item img {
    object-fit: cover !important; 
    border-radius: 12px !important;
    width: 100% !important;
    height: 100% !important;
}



/* === CORREÃ‡ÃƒO FINAL GALERIA & RODAPÃ‰ COMPACTO === */

/* 1. Galeria Carrossel (Simplificada e Robusta) */
.mosaic-carousel-container {
    display: flex !important;
    flex-wrap: nowrap !important; /* Garante linha Ãºnica */
    gap: 10px !important;
    overflow-x: auto !important;
    padding: 10px 5px !important;
    width: 100% !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.mosaic-carousel-item {
    flex: 0 0 auto !important;
    width: 85% !important; /* Ocupa quase a tela toda no celular (boa visibilidade) */
    max-width: 320px !important;
    aspect-ratio: 4/3 !important; /* MantÃ©m proporÃ§Ã£o retangular */
    height: auto !important; /* Altura automÃ¡tica baseada na largura */
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f0f0f0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.mosaic-carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Preenche sem distorcer */
    display: block !important;
}

/* 2. RodapÃ© Ultra Compacto (Mobile) */
@media (max-width: 768px) {
    footer {
        padding-top: 20px !important; /* Reduz padding superior geral */
        padding-bottom: 20px !important;
    }

    .footer-main {
        padding: 0 !important; /* Remove padding interno extra */
    }

    .footer-content {
        padding: 0 !important;
        gap: 20px !important; /* Reduz gap vertical entre blocos */
        margin-bottom: 0 !important;
    }

    /* Marca/Logo Compacta */
    .footer-brand {
        margin-bottom: 15px !important; /* Menos espaÃ§o antes das colunas */
        padding-bottom: 10px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    
    .footer-brand .logo, 
    .footer-brand img {
        margin-bottom: 5px !important; /* Logo mais perto do texto */
        max-width: 120px !important; /* Logo menor */
    }
    
    .footer-brand p {
        font-size: 0.8rem !important; /* Texto menor */
        line-height: 1.2 !important;
        max-width: 90% !important;
    }

    /* Colunas de Links Compactas */
    .footer-links h4 {
        margin-bottom: 8px !important; /* TÃ­tulo mais perto da lista */
        font-size: 0.95rem !important;
    }

    .footer-links p, 
    .footer-links li {
        margin-bottom: 4px !important; /* Itens mais juntos */
        font-size: 0.8rem !important;
    }
}



/* === CORREÃ‡ÃƒO AGRESSIVA: GALERIA MINIATURAS & RODAPÃ‰ MINI === */

/* 1. Galeria de Miniaturas (Visual real de lista horizontal) */
.mosaic-carousel-container {
    gap: 8px !important; /* EspaÃ§o pequeno entre fotos */
    padding: 0 10px !important; /* Margem lateral */
}

.mosaic-carousel-item {
    flex: 0 0 45% !important; /* Mostra 2 fotos e um pedaÃ§o (Miniaturas) */
    max-width: 200px !important;
    aspect-ratio: 4/3 !important;
    height: auto !important;
    border-radius: 8px !important; /* Canto menos arredondado */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* 2. RodapÃ© Micro (Mobile) */
@media (max-width: 768px) {
    footer {
        padding: 15px 0 15px 0 !important; /* MÃ­nimo possÃ­vel */
    }

    .footer-content {
        gap: 15px !important; /* Gap mÃ­nimo */
    }

    /* Marca Super Pequena */
    .footer-brand {
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
    }

    .footer-brand .logo, 
    .footer-brand img {
        max-width: 100px !important; /* Logo BEM menor */
        margin-bottom: 5px !important;
    }

    .footer-brand p {
        font-size: 0.75rem !important; /* Texto minÃºsculo */
        line-height: 1.2 !important;
        display: none !important; /* Opcional: Se quiser esconder o texto da marca pra encurtar mais, avise. Por enquanto mantive, mas pequeno. */
    }

    /* Colunas Apertadas */
    .footer-links h4 {
        font-size: 0.85rem !important;
        margin-bottom: 6px !important;
        padding-left: 8px !important;
    }

    .footer-links p, 
    .footer-links li,
    .footer-links a {
        font-size: 0.75rem !important; /* Fonte 12px */
        line-height: 1.4 !important;
        margin-bottom: 3px !important;
        padding-left: 10px !important;
    }
    
    /* Copyright minÃºsculo */
    .footer-bottom {
        padding: 10px 0 !important;
        margin-top: 10px !important;
    }
    .footer-bottom p, 
    .footer-bottom a {
        font-size: 0.7rem !important; /* 11px */
    }
}



/* === GALERIA SWIPE (1 FOTO POR VEZ) === */
.mosaic-carousel-container {
    scroll-snap-type: x mandatory !important;
    padding: 0 0px !important; /* Sem padding lateral */
    gap: 0 !important; /* Sem gap, foto cola na outra */
}

.mosaic-carousel-item {
    flex: 0 0 100% !important; /* Ocupa 100% da largura */
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 4/3 !important; /* Formato Retangular PadrÃ£o */
    scroll-snap-align: center !important; /* Centraliza ao parar */
    border-radius: 0 !important; /* Quadrado ou levemente arredondado? Vou deixar 0 pra parecer app full width */
    margin: 0 !important;
    box-shadow: none !important;
}

/* Indicador visual de que tem mais fotos (opcional) */
/* Adiciona padding no container pai se quiser ver pontinha */



/* === RESTAURAÃ‡ÃƒO TEXTO DA MARCA (RODAPÃ‰) === */
@media (max-width: 768px) {
    .footer-brand p {
        display: block !important; /* Restaura visibilidade */
        font-size: 0.8rem !important; /* Fonte pequena mas legÃ­vel */
        line-height: 1.3 !important;
        margin-top: 5px !important;
        color: rgba(255,255,255,0.7) !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}



/* === CORREÃ‡ÃƒO ESPAÃ‡O BRANCO GALERIA (PREENCHIMENTO TOTAL) === */
.mosaic-carousel-container {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    display: flex !important;
}

.mosaic-carousel-item {
    flex: 0 0 100% !important; /* OItem ocupa 100% da largura disponÃ­vel */
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    background: #000 !important; /* Fundo preto caso a imagem nÃ£o carregue ou ratio falhe */
    border: none !important;
    border-radius: 8px !important; /* Arredondado suave, igual os outros cards */
}

/* Garante que a imagem estique para preencher tudo */
.mosaic-carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Cobre todo o espaÃ§o, sem sobrar branco */
    display: block !important;
}

/* === GALERIA: 2 IMAGENS POR SLIDE (AVANCA 2 EM 2) === */
.vehicle-mosaic-wrap.is-carousel {
    /* O estilo antigo da .vehicle-mosaic-wrap eh um grid 3 colunas (mosaico).
       Para o carrossel, precisa ocupar o card inteiro. */
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding: 0 !important;
}

.vehicle-mosaic-wrap .mosaic-carousel-shell {
    position: relative;
    height: 100%;
}

.vehicle-mosaic-wrap .mosaic-carousel-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    gap: 0 !important; /* gap fica dentro do slide (grid) */
    padding: 0 !important;
    height: 100%;
}

.vehicle-mosaic-wrap .mosaic-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    scroll-snap-align: start;
    height: 100%;
}

/* Quando sobrar 1 foto no ultimo slide, evita buraco: ela ocupa tudo */
.vehicle-mosaic-wrap .mosaic-slide.single {
    grid-template-columns: 1fr;
}

.vehicle-mosaic-wrap .mosaic-carousel-item {
    border: 0;
    padding: 0;
    margin: 0;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    height: 100% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    cursor: pointer;
}

.vehicle-mosaic-wrap .mosaic-carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.vehicle-mosaic-wrap .mosaic-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.92);
    color: #111;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.14);
    cursor: pointer;
    z-index: 2;
}

.vehicle-mosaic-wrap .mosaic-nav svg {
    width: 18px;
    height: 18px;
}

.vehicle-mosaic-wrap .mosaic-nav.prev { left: 8px; }
.vehicle-mosaic-wrap .mosaic-nav.next { right: 8px; }

@media (max-width: 420px) {
    .vehicle-mosaic-wrap .mosaic-slide { gap: 8px; }
    .vehicle-mosaic-wrap .mosaic-nav { width: 34px; height: 34px; }
}

/* === Footer Final Override 2026 === */
footer.footer .footer-main {
    padding: 22px 0 12px !important;
}

footer.footer .footer-grid,
footer.footer .footer-content {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 28px !important;
    align-items: start !important;
}

footer.footer .footer-brand {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto 4px !important;
    max-width: 760px !important;
    padding: 0 !important;
}

footer.footer .footer-brand .footer-logo,
footer.footer .footer-brand .logo {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
}

footer.footer .footer-brand .logo-img,
footer.footer .footer-brand img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 150px !important;
    height: auto !important;
}

footer.footer .footer-brand p {
    margin: 6px auto 0 !important;
    max-width: 56ch !important;
    text-align: center !important;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
}

footer.footer .social-links {
    justify-content: center !important;
    margin-top: 12px !important;
}

footer.footer .footer-links {
    text-align: center !important;
}

footer.footer .footer-links ul {
    align-items: center !important;
    gap: 8px !important;
}

footer.footer .footer-links p[style] {
    margin-bottom: 8px !important;
}

footer.footer .footer-bottom {
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

footer.footer .footer-bottom .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center !important;
}

footer.footer .footer-bottom p,
footer.footer .footer-bottom a {
    margin: 0 !important;
    font-size: 0.82rem !important;
}

footer.footer .footer-credit {
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em;
}

footer.footer .footer-legal {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    footer.footer .footer-main {
        padding: 22px 0 12px !important;
    }

    footer.footer .footer-grid,
    footer.footer .footer-content {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    footer.footer .footer-brand {
        margin-bottom: 0 !important;
    }

    footer.footer .footer-brand p {
        max-width: 36ch !important;
    }
}

/* === Footer Refinado (simetria + compactação) === */
footer.footer .footer-main {
    padding: 22px 0 12px !important;
}

footer.footer .footer-grid,
footer.footer .footer-content {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 28px !important;
    align-items: start !important;
}

footer.footer .footer-brand {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto 4px !important;
    max-width: 760px !important;
    padding: 0 !important;
}

footer.footer .footer-brand .footer-logo,
footer.footer .footer-brand .logo {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
}

footer.footer .footer-brand .logo-img,
footer.footer .footer-brand img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 150px !important;
    height: auto !important;
}

footer.footer .footer-brand p {
    margin: 6px auto 0 !important;
    max-width: 56ch !important;
    text-align: center !important;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
}

footer.footer .social-links {
    justify-content: center !important;
    margin-top: 12px !important;
}

footer.footer .footer-links {
    text-align: center !important;
}

footer.footer .footer-links ul {
    align-items: center !important;
    gap: 8px !important;
}

footer.footer .footer-links p[style] {
    margin-bottom: 8px !important;
}

footer.footer .footer-bottom {
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

footer.footer .footer-bottom .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
}

footer.footer .footer-bottom p,
footer.footer .footer-bottom a {
    margin: 0 !important;
    font-size: 0.82rem !important;
}

footer.footer .footer-credit {
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em;
}

footer.footer .footer-legal {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    footer.footer .footer-main {
        padding: 22px 0 12px !important;
    }

    footer.footer .footer-grid,
    footer.footer .footer-content {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    footer.footer .footer-brand {
        margin-bottom: 0 !important;
    }

    footer.footer .footer-brand p {
        max-width: 36ch !important;
    }
}

/* === FOOTER MOBILE: CENTRALIZAR LOGO + TEXTO (SEM MEXER EM ALTURAS/LAYOUT) === */
@media (max-width: 768px) {
    .footer-brand {
        text-align: center !important;
        align-items: center !important;
    }

    .footer-brand .logo,
    .footer-brand img {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-brand p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Mobile: logo do rodape (acima do texto) sempre no meio */
@media (max-width: 480px) {
    .footer .footer-brand {
        text-align: center !important;
    }

    .footer .footer-logo,
    .footer .footer-brand .logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .footer .footer-logo img,
    .footer .footer-brand img {
        display: block !important;
        margin: 0 auto !important;
    }

    /* Garante que a marca ocupe a largura toda no mobile */
    .footer .footer-brand {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* === FOOTER MOBILE FINAL (COMPACTO, BONITO, SEM SURPRESAS) === */
@media (max-width: 768px) {
    .footer .footer-main {
        padding: 26px 0 16px !important;
    }

    /* Normaliza os dois layouts que existem (footer-grid vs footer-content) */
    .footer .footer-grid,
    .footer .footer-content {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 12px !important;
        width: 100% !important;
        align-items: start !important;
    }

    .footer .footer-brand {
        grid-column: 1 / -1 !important;
        justify-self: stretch !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: center !important;
        max-width: 100% !important;
    }

    .footer .footer-logo img,
    .footer .footer-brand img {
        max-width: 150px !important;
        height: auto !important;
    }

    /* Texto curto e elegante, sem ocupar tela */
    .footer .footer-brand p {
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
        max-width: 36ch !important;
        margin: 8px auto 0 auto !important;
        padding: 0 12px !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
    }

    /* Social some no mobile para ficar bem compacto */
    .footer .social-links {
        display: none !important;
    }

    .footer .footer-links h4 {
        font-size: 0.95rem !important;
        margin: 0 0 8px 0 !important;
    }

    .footer .footer-links ul {
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer .footer-links ul li {
        margin: 0 0 6px 0 !important;
    }

    .footer .footer-links a,
    .footer .footer-links p {
        font-size: 0.8rem !important;
        line-height: 1.35 !important;
    }

    /* Neutraliza inline styles enormes em paragrafos de contato */
    .footer .footer-links p[style] {
        margin-bottom: 8px !important;
    }

    .footer .footer-bottom {
        padding: 14px 0 !important;
    }

    .footer .footer-bottom .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .footer .footer-bottom p {
        font-size: 0.8rem !important;
        text-align: center !important;
    }

    .footer .footer-legal {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 0 !important;
    }

    .footer .footer-legal a {
        font-size: 0.8rem !important;
    }
}

/* Mobile: garantia absoluta de logo do rodape no centro */
@media (max-width: 480px) {
    .footer .footer-brand .footer-logo {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        justify-self: center !important;
    }

    .footer .footer-brand .footer-logo img {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: min(180px, 70vw) !important;
    }

    /* Evita qualquer "empurrÃ£o" lateral no bloco da marca */
    .footer .footer-brand {
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-self: center !important;
    }

    /* Remove regra antiga que deslocava o rodape para abrir espaco do WhatsApp */
    .footer-bottom .container {
        padding-right: 0 !important;
    }
}

/* === XEQUE-MATE MOBILE: LOGO + TEXTO CENTRALIZADOS (FULL WIDTH) === */
@media (max-width: 480px) {
    /* Quebra qualquer container "centrado" que esteja criando coluna fantasma */
    .footer .footer-main .container {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Marca em coluna unica, 100% viewport, sem empurrao lateral */
    .footer .footer-brand {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 16px !important; /* respiro interno sem deslocar o bloco */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .footer .footer-brand .footer-logo {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer .footer-brand .footer-logo img {
        display: block !important;
        margin: 0 !important;
    }

    .footer .footer-brand p {
        width: 100% !important;
        max-width: 40ch !important;
        margin: 10px 0 0 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
}

/* === CABECALHO INFERIOR (RODAPE) - TRAVA CENTRALIZACAO NO MOBILE === */
/* Regra final para evitar qualquer "coluna fantasma" e centralizar logo + texto. */
@media (max-width: 480px) {
    footer.footer .footer-main .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    footer.footer .footer-grid,
    footer.footer .footer-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    footer.footer .footer-brand {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        grid-column: 1 / -1 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
        gap: 12px !important;
    }

    footer.footer .footer-brand .footer-logo {
        flex: 0 0 auto !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    footer.footer .footer-brand .logo-img,
    footer.footer .footer-brand img {
        display: block !important;
        margin: 0 !important;
        max-width: 140px !important;
        height: auto !important;
    }

    footer.footer .footer-brand p {
        flex: 1 1 auto !important;
        width: auto !important;
        margin: 2px 0 0 0 !important;
        padding: 0 !important;
        text-align: left !important;
        max-width: none !important;
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 4 !important;
    }
}

/* Mobile: endereco 1 por linha (sem quebrar "Rio Claro/SP") */
@media (max-width: 480px) {
    .footer .footer-address-line,
    .footer .footer-city {
        display: block;
    }

    .footer .footer-city {
        white-space: nowrap;
    }
}

.vehicle-mosaic-wrap.is-carousel {
    display: block !important;
}

.vehicle-mosaic-wrap .mosaic-carousel-shell {
    position: relative;
    height: 100%;
}

.vehicle-mosaic-wrap .mosaic-carousel-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    gap: 0 !important;
    padding: 0 !important;
    height: 100%;
}

.vehicle-mosaic-wrap .mosaic-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    scroll-snap-align: start;
    height: 100%;
}

.vehicle-mosaic-wrap .mosaic-slide.single {
    grid-template-columns: 1fr;
}

.vehicle-mosaic-wrap .mosaic-carousel-item {
    border: 0;
    padding: 0;
    margin: 0;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    height: 100% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    cursor: pointer;
}

.vehicle-mosaic-wrap .mosaic-carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.vehicle-mosaic-wrap .mosaic-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.92);
    color: #111;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.14);
    cursor: pointer;
    z-index: 2;
}

.vehicle-mosaic-wrap .mosaic-nav svg {
    width: 18px;
    height: 18px;
}

.vehicle-mosaic-wrap .mosaic-nav.prev { left: 8px; }
.vehicle-mosaic-wrap .mosaic-nav.next { right: 8px; }

@media (max-width: 420px) {
    .vehicle-mosaic-wrap .mosaic-slide { gap: 8px; }
    .vehicle-mosaic-wrap .mosaic-nav { width: 34px; height: 34px; }
}

/* === Footer Master Final (aplicar por último) === */
footer.footer .footer-main {
    padding: 30px 0 18px !important;
}

footer.footer .footer-grid,
footer.footer .footer-content {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 28px !important;
    align-items: start !important;
}

footer.footer .footer-brand {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto 4px !important;
    max-width: 760px !important;
    padding: 0 !important;
}

footer.footer .footer-brand .footer-logo,
footer.footer .footer-brand .logo {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
}

footer.footer .footer-brand .logo-img,
footer.footer .footer-brand img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 170px !important;
    height: auto !important;
}

footer.footer .footer-brand p {
    margin: 8px auto 0 !important;
    max-width: 56ch !important;
    text-align: center !important;
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
}

footer.footer .footer-links {
    text-align: center !important;
}

footer.footer .footer-links ul {
    align-items: center !important;
    gap: 8px !important;
}

footer.footer .footer-bottom {
    padding: 12px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

footer.footer .footer-bottom .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center !important;
}

footer.footer .footer-bottom p,
footer.footer .footer-bottom a {
    margin: 0 !important;
    font-size: 0.82rem !important;
}

footer.footer .footer-credit {
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em;
}

footer.footer .footer-legal {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    footer.footer .footer-main {
        padding: 12px 0 8px !important;
    }

    footer.footer .footer-grid,
    footer.footer .footer-content {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    footer.footer .footer-brand .logo-img,
    footer.footer .footer-brand img {
        max-width: 120px !important;
    }

    footer.footer .footer-brand p {
        max-width: 34ch !important;
        margin-top: 4px !important;
        font-size: 0.76rem !important;
        line-height: 1.25 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    footer.footer .social-links {
        display: none !important;
    }

    footer.footer .footer-links h4 {
        margin-bottom: 6px !important;
        font-size: 0.9rem !important;
    }

    footer.footer .footer-links ul {
        gap: 5px !important;
    }

    footer.footer .footer-links a,
    footer.footer .footer-links p {
        font-size: 0.76rem !important;
        line-height: 1.25 !important;
    }

    footer.footer .footer-bottom {
        padding: 7px 0 !important;
    }

    footer.footer .footer-bottom .container {
        gap: 4px !important;
    }

    footer.footer .footer-bottom p,
    footer.footer .footer-bottom a {
        font-size: 0.76rem !important;
    }

    footer.footer .footer-legal {
        gap: 10px !important;
    }
}

/* === Footer Compact Override (última prioridade) === */
footer.footer .footer-main { padding: 18px 0 10px !important; }
footer.footer .footer-brand .logo-img,
footer.footer .footer-brand img { max-width: 142px !important; }
footer.footer .footer-brand p { margin-top: 4px !important; font-size: 0.8rem !important; line-height: 1.32 !important; }
footer.footer .footer-bottom { padding: 8px 0 !important; }
footer.footer .footer-bottom .container { gap: 5px !important; }

@media (max-width: 768px) {
  footer.footer .footer-main { padding: 10px 0 6px !important; }
  footer.footer .footer-grid,
  footer.footer .footer-content { gap: 8px !important; }
  footer.footer .footer-brand .logo-img,
  footer.footer .footer-brand img { max-width: 110px !important; }
  footer.footer .footer-brand p {
    max-width: 32ch !important;
    margin-top: 2px !important;
    font-size: 0.74rem !important;
    line-height: 1.22 !important;
    -webkit-line-clamp: 2 !important;
  }
  footer.footer .footer-links h4 { margin-bottom: 4px !important; font-size: 0.85rem !important; }
  footer.footer .footer-links ul { gap: 4px !important; }
  footer.footer .footer-links a,
  footer.footer .footer-links p { font-size: 0.74rem !important; line-height: 1.2 !important; }
  footer.footer .footer-bottom { padding: 6px 0 !important; }
  footer.footer .footer-bottom .container { gap: 3px !important; }
  footer.footer .footer-bottom p,
  footer.footer .footer-bottom a,
  footer.footer .footer-credit { font-size: 0.72rem !important; }
}

/* === Footer Mobile Hard Reset (centralizado e proporcional) === */
@media (max-width: 768px) {
    footer.footer .footer-main .container,
    footer.footer .footer-bottom .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }

    footer.footer .footer-grid,
    footer.footer .footer-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        align-items: start !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    footer.footer .footer-brand {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 4px !important;
        padding: 0 !important;
        border: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    footer.footer .footer-links {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        justify-self: center !important;
    }

    footer.footer .footer-links h4 {
        border-left: 0 !important;
        padding-left: 0 !important;
        margin: 0 0 4px !important;
        text-align: center !important;
    }

    footer.footer .footer-links ul,
    footer.footer .footer-links p {
        margin: 0 auto !important;
        padding-left: 0 !important;
        text-align: center !important;
    }

    footer.footer .footer-links li,
    footer.footer .footer-links a,
    footer.footer .footer-links p,
    footer.footer .footer-links strong,
    footer.footer .footer-address-line,
    footer.footer .footer-city {
        text-align: center !important;
    }

    footer.footer .footer-city {
        white-space: normal !important;
    }

    footer.footer .footer-bottom {
        padding: 6px 0 !important;
    }

    footer.footer .footer-bottom .container {
        gap: 3px !important;
    }
}

/* === Footer Requested Layout (final) === */
footer.footer .footer-brand > p {
    display: none !important;
}

@media (max-width: 768px) {
    footer.footer .footer-main {
        padding: 12px 0 8px !important;
    }

    footer.footer .footer-grid,
    footer.footer .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 12px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        align-items: start !important;
        justify-items: stretch !important;
    }

    footer.footer .footer-brand {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin: 0 0 6px !important;
        padding: 0 !important;
        border: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    footer.footer .footer-brand .footer-logo,
    footer.footer .footer-brand .logo {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    footer.footer .footer-brand .logo-img,
    footer.footer .footer-brand img {
        max-width: 120px !important;
        margin: 0 auto !important;
    }

    footer.footer .social-links {
        display: none !important;
    }

    footer.footer .footer-links {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    footer.footer .footer-links:nth-child(2) {
        grid-column: 1 !important;
        justify-self: start !important;
        text-align: left !important;
    }

    footer.footer .footer-links:nth-child(3) {
        grid-column: 2 !important;
        justify-self: start !important;
        text-align: left !important;
    }

    footer.footer .footer-links h4 {
        margin: 0 0 4px !important;
        padding-left: 0 !important;
        border-left: 0 !important;
        font-size: 0.86rem !important;
        text-align: left !important;
    }

    footer.footer .footer-links ul,
    footer.footer .footer-links p {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    footer.footer .footer-links li,
    footer.footer .footer-links a,
    footer.footer .footer-links p,
    footer.footer .footer-links strong,
    footer.footer .footer-address-line,
    footer.footer .footer-city {
        text-align: left !important;
        font-size: 0.74rem !important;
        line-height: 1.25 !important;
    }

    footer.footer .footer-address-line,
    footer.footer .footer-city {
        display: block !important;
        white-space: normal !important;
    }

    footer.footer .footer-links ul {
        gap: 4px !important;
    }

    footer.footer .footer-bottom {
        padding: 6px 0 !important;
    }

    footer.footer .footer-bottom .container {
        text-align: center !important;
        align-items: center !important;
        gap: 3px !important;
    }
}

/* === Footer Symmetry Lock (mobile) === */
@media (max-width: 768px) {
    footer.footer .footer-main .container,
    footer.footer .footer-bottom .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }

    footer.footer .footer-grid,
    footer.footer .footer-content,
    footer.footer .footer-grid[style],
    footer.footer .footer-content[style] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: start !important;
        justify-items: stretch !important;
    }

    footer.footer .footer-brand {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin: 0 0 4px !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    footer.footer .footer-brand > p,
    footer.footer .social-links {
        display: none !important;
    }

    footer.footer .footer-brand .footer-logo,
    footer.footer .footer-brand .logo {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    footer.footer .footer-brand .logo-img,
    footer.footer .footer-brand img {
        max-width: 112px !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    footer.footer .footer-links:nth-child(2) {
        grid-column: 1 !important;
    }

    footer.footer .footer-links:nth-child(3) {
        grid-column: 2 !important;
    }

    footer.footer .footer-links {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    footer.footer .footer-links h4 {
        margin: 0 0 3px !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: center !important;
        font-size: 0.82rem !important;
        line-height: 1.1 !important;
    }

    footer.footer .footer-links ul,
    footer.footer .footer-links p,
    footer.footer .footer-links p[style] {
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    footer.footer .footer-links ul {
        display: grid !important;
        gap: 3px !important;
    }

    footer.footer .footer-links p br {
        display: none !important;
    }

    footer.footer .footer-links strong,
    footer.footer .footer-address-line,
    footer.footer .footer-city,
    footer.footer .js-admin-phone-display {
        display: inline !important;
        white-space: nowrap !important;
    }

    footer.footer .footer-address-line::after {
        content: ' · ';
    }

    footer.footer .footer-links li,
    footer.footer .footer-links a,
    footer.footer .footer-links p,
    footer.footer .footer-links strong,
    footer.footer .footer-address-line,
    footer.footer .footer-city,
    footer.footer .js-admin-phone-display {
        font-size: 0.71rem !important;
        line-height: 1.18 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    footer.footer .footer-bottom,
    footer.footer .footer-bottom[style] {
        padding: 5px 0 !important;
    }

    footer.footer .footer-bottom .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2px !important;
        text-align: center !important;
    }

    footer.footer .footer-bottom p,
    footer.footer .footer-bottom a,
    footer.footer .footer-credit {
        font-size: 0.69rem !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }

    footer.footer .footer-legal,
    footer.footer .footer-legal[style] {
        display: flex !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 0 !important;
        flex-wrap: nowrap !important;
    }
}

/* === Footer Mobile Definitive Override === */
@media (max-width: 768px) {
  footer.footer {
    overflow: hidden !important;
  }

  footer.footer .footer-main {
    padding: 10px 0 8px !important;
  }

  footer.footer .footer-main .container,
  footer.footer .footer-bottom .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  footer.footer .footer-grid,
  footer.footer .footer-content,
  footer.footer .footer-grid[style],
  footer.footer .footer-content[style] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "brand brand"
      "buy contact" !important;
    gap: 8px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: start !important;
  }

  footer.footer .footer-grid > .footer-brand,
  footer.footer .footer-content > .footer-brand {
    grid-area: brand !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    border: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  footer.footer .footer-brand > p,
  footer.footer .social-links {
    display: none !important;
  }

  footer.footer .footer-brand .footer-logo,
  footer.footer .footer-brand .logo {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  footer.footer .footer-brand .logo-img,
  footer.footer .footer-brand img {
    width: auto !important;
    max-width: 118px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  footer.footer .footer-grid > .footer-links:nth-child(2),
  footer.footer .footer-content > .footer-links:nth-child(2) {
    grid-area: buy !important;
  }

  footer.footer .footer-grid > .footer-links:nth-child(3),
  footer.footer .footer-content > .footer-links:nth-child(3) {
    grid-area: contact !important;
  }

  footer.footer .footer-links {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  footer.footer .footer-links h4 {
    margin: 0 0 4px !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 0.84rem !important;
    line-height: 1.1 !important;
    text-align: left !important;
  }

  footer.footer .footer-links ul,
  footer.footer .footer-links p,
  footer.footer .footer-links p[style] {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  footer.footer .footer-links ul {
    display: grid !important;
    gap: 3px !important;
    list-style: none !important;
  }

  footer.footer .footer-links li,
  footer.footer .footer-links a,
  footer.footer .footer-links p,
  footer.footer .footer-links strong,
  footer.footer .footer-address-line,
  footer.footer .footer-city,
  footer.footer .js-admin-phone-display {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    text-align: left !important;
  }

  footer.footer .footer-links p br {
    display: none !important;
  }

  footer.footer .footer-address-line::after {
    content: "" !important;
  }

  footer.footer .footer-bottom,
  footer.footer .footer-bottom[style] {
    padding: 6px 0 !important;
  }

  footer.footer .footer-bottom .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    text-align: center !important;
  }

  footer.footer .footer-bottom p,
  footer.footer .footer-bottom a,
  footer.footer .footer-credit {
    margin: 0 !important;
    font-size: 0.7rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  footer.footer .footer-legal,
  footer.footer .footer-legal[style] {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 0 !important;
  }
}

/* === Footer Mobile Pixel-Fix (último override absoluto) === */
@media (max-width: 768px) {
  footer.footer .footer-main {
    padding: 8px 0 6px !important;
  }

  footer.footer .footer-main .container,
  footer.footer .footer-bottom .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
  }

  footer.footer .footer-grid,
  footer.footer .footer-content,
  footer.footer .footer-grid[style],
  footer.footer .footer-content[style] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "brand brand"
      "buy contact" !important;
    column-gap: 14px !important;
    row-gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: start !important;
  }

  footer.footer .footer-grid > .footer-brand,
  footer.footer .footer-content > .footer-brand {
    grid-area: brand !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  footer.footer .footer-brand > p,
  footer.footer .social-links {
    display: none !important;
  }

  footer.footer .footer-brand .footer-logo,
  footer.footer .footer-brand .logo {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  footer.footer .footer-brand .logo-img,
  footer.footer .footer-brand img {
    max-width: 116px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  footer.footer .footer-grid > .footer-links:nth-child(2),
  footer.footer .footer-content > .footer-links:nth-child(2) {
    grid-area: buy !important;
  }

  footer.footer .footer-grid > .footer-links:nth-child(3),
  footer.footer .footer-content > .footer-links:nth-child(3) {
    grid-area: contact !important;
  }

  footer.footer .footer-links {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  footer.footer .footer-links h4 {
    margin: 0 0 4px !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1.1 !important;
    text-align: left !important;
  }

  footer.footer .footer-links ul,
  footer.footer .footer-links p,
  footer.footer .footer-links p[style] {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    overflow: visible !important;
  }

  footer.footer .footer-links ul {
    list-style: none !important;
    display: grid !important;
    gap: 2px !important;
  }

  footer.footer .footer-links p br {
    display: none !important;
  }

  footer.footer .footer-links strong,
  footer.footer .footer-address-line,
  footer.footer .footer-city,
  footer.footer .js-admin-phone-display {
    display: inline !important;
  }

  footer.footer .footer-address-line::after {
    content: ' · ' !important;
  }

  footer.footer .footer-links li,
  footer.footer .footer-links a,
  footer.footer .footer-links p,
  footer.footer .footer-links strong,
  footer.footer .footer-address-line,
  footer.footer .footer-city,
  footer.footer .js-admin-phone-display {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 0.72rem !important;
    line-height: 1.18 !important;
    letter-spacing: -0.01em !important;
    text-align: left !important;
  }

  footer.footer .footer-bottom,
  footer.footer .footer-bottom[style] {
    padding: 6px 0 !important;
  }

  footer.footer .footer-bottom .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    text-align: center !important;
  }

  footer.footer .footer-bottom p,
  footer.footer .footer-bottom a,
  footer.footer .footer-credit {
    margin: 0 !important;
    white-space: nowrap !important;
    font-size: 0.7rem !important;
    line-height: 1.14 !important;
  }

  footer.footer .footer-legal,
  footer.footer .footer-legal[style] {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-top: 0 !important;
  }
}

/* === Footer Unified Responsive Layout (final) === */
footer.footer .footer-main {
  padding: 24px 0 14px !important;
}

footer.footer .footer-main .container,
footer.footer .footer-bottom .container {
  width: 100% !important;
  max-width: var(--container-width) !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

footer.footer .footer-grid,
footer.footer .footer-content,
footer.footer .footer-grid[style],
footer.footer .footer-content[style] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start !important;
}

footer.footer .footer-brand {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  display: grid !important;
  gap: 8px !important;
}

footer.footer .footer-brand .footer-logo,
footer.footer .footer-brand .logo {
  margin: 0 !important;
}

footer.footer .footer-brand .logo-img,
footer.footer .footer-brand img {
  max-width: 150px !important;
  height: auto !important;
}

footer.footer .footer-brand > p {
  display: block !important;
  margin: 0 !important;
  max-width: 38ch !important;
  font-size: 0.86rem !important;
  line-height: 1.4 !important;
}

footer.footer .social-links {
  display: flex !important;
  margin-top: 2px !important;
  gap: 10px !important;
}

footer.footer .footer-links {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

footer.footer .footer-links h4 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

footer.footer .footer-links ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 6px !important;
}

footer.footer .footer-links li,
footer.footer .footer-links a,
footer.footer .footer-links p,
footer.footer .footer-links strong,
footer.footer .footer-address-line,
footer.footer .footer-city,
footer.footer .js-admin-phone-display {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.84rem !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

footer.footer .footer-links p br {
  display: block !important;
}

footer.footer .footer-bottom,
footer.footer .footer-bottom[style] {
  padding: 10px 0 !important;
}

footer.footer .footer-bottom .container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
  text-align: center !important;
}

footer.footer .footer-bottom p,
footer.footer .footer-bottom a {
  margin: 0 !important;
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

footer.footer .footer-legal,
footer.footer .footer-legal[style] {
  margin: 0 !important;
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
}

footer.footer .footer-credit {
  display: none !important;
}

@media (max-width: 768px) {
  footer.footer .footer-main {
    padding: 14px 0 10px !important;
  }

  footer.footer .footer-main .container,
  footer.footer .footer-bottom .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  footer.footer .footer-grid,
  footer.footer .footer-content,
  footer.footer .footer-grid[style],
  footer.footer .footer-content[style] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    justify-items: center !important;
  }

  footer.footer .footer-brand,
  footer.footer .footer-links {
    width: 100% !important;
    text-align: center !important;
  }

  footer.footer .footer-brand .footer-logo,
  footer.footer .footer-brand .logo {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  footer.footer .footer-brand .logo-img,
  footer.footer .footer-brand img {
    max-width: 120px !important;
    margin: 0 auto !important;
  }

  footer.footer .footer-links h4,
  footer.footer .footer-links ul,
  footer.footer .footer-links li,
  footer.footer .footer-links a,
  footer.footer .footer-links p,
  footer.footer .footer-links strong,
  footer.footer .footer-address-line,
  footer.footer .footer-city,
  footer.footer .js-admin-phone-display {
    text-align: center !important;
  }

  footer.footer .footer-links h4 {
    font-size: 0.9rem !important;
    margin-bottom: 4px !important;
  }

  footer.footer .footer-links ul {
    gap: 0 !important;
  }

  footer.footer .footer-links li,
  footer.footer .footer-links a,
  footer.footer .footer-links p,
  footer.footer .footer-links strong,
  footer.footer .footer-address-line,
  footer.footer .footer-city,
  footer.footer .js-admin-phone-display {
    font-size: 0.78rem !important;
    line-height: 1.28 !important;
    white-space: nowrap !important;
  }

  footer.footer .footer-bottom,
  footer.footer .footer-bottom[style] {
    padding: 8px 0 !important;
  }

  footer.footer .footer-bottom .container {
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  footer.footer .footer-bottom p,
  footer.footer .footer-bottom a {
    font-size: 0.74rem !important;
  }
}

/* === Footer Reset FINAL (desktop + mobile) === */
footer.footer {
  background: #0b0b0b !important;
  color: #ffffff !important;
}

footer.footer .footer-main {
  padding: 28px 0 16px !important;
}

footer.footer .footer-main .container,
footer.footer .footer-bottom .container {
  width: 100% !important;
  max-width: var(--container-width) !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

footer.footer .footer-grid,
footer.footer .footer-content,
footer.footer .footer-grid[style],
footer.footer .footer-content[style] {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1fr !important;
  gap: 24px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer.footer .footer-brand,
footer.footer .footer-links {
  margin: 0 !important;
  padding: 0 !important;
}

footer.footer .footer-brand {
  text-align: left !important;
  display: grid !important;
  gap: 10px !important;
}

footer.footer .footer-brand .footer-logo,
footer.footer .footer-brand .logo {
  display: block !important;
  margin: 0 !important;
}

footer.footer .footer-brand .logo-img,
footer.footer .footer-brand img {
  max-width: 160px !important;
  height: auto !important;
  margin: 0 !important;
}

footer.footer .footer-brand > p {
  display: block !important;
  margin: 0 !important;
  max-width: 42ch !important;
  color: rgba(255,255,255,0.74) !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}

footer.footer .social-links {
  display: flex !important;
  gap: 10px !important;
  margin-top: 0 !important;
  justify-content: flex-start !important;
}

footer.footer .footer-links {
  text-align: left !important;
}

footer.footer .footer-links h4 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #ff9500 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

footer.footer .footer-links ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 6px !important;
}

footer.footer .footer-links li,
footer.footer .footer-links a,
footer.footer .footer-links p,
footer.footer .footer-links strong,
footer.footer .footer-address-line,
footer.footer .footer-city,
footer.footer .js-admin-phone-display {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.86rem !important;
  line-height: 1.35 !important;
  color: rgba(255,255,255,0.82) !important;
  text-align: left !important;
  white-space: normal !important;
}

footer.footer .footer-links p br {
  display: block !important;
}

footer.footer .footer-credit {
  display: none !important;
}

footer.footer .footer-bottom,
footer.footer .footer-bottom[style] {
  padding: 10px 0 !important;
  border-top: 1px solid rgba(255,255,255,0.12) !important;
}

footer.footer .footer-bottom .container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;
  text-align: center !important;
}

footer.footer .footer-bottom p,
footer.footer .footer-bottom a {
  margin: 0 !important;
  color: rgba(255,255,255,0.64) !important;
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

footer.footer .footer-legal,
footer.footer .footer-legal[style] {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  flex-wrap: nowrap !important;
}

@media (max-width: 768px) {
  footer.footer .footer-main {
    padding: 18px 0 12px !important;
  }

  footer.footer .footer-main .container,
  footer.footer .footer-bottom .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  footer.footer .footer-grid,
  footer.footer .footer-content,
  footer.footer .footer-grid[style],
  footer.footer .footer-content[style] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "logo logo"
      "comprar contato" !important;
    column-gap: 2rem !important;
    row-gap: 14px !important;
    justify-items: stretch !important;
    align-items: start !important;
  }

  footer.footer .footer-grid > .footer-brand,
  footer.footer .footer-content > .footer-brand {
    grid-area: logo !important;
    grid-column: 1 / -1 !important;
    place-self: start center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 8px 12px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  footer.footer .footer-grid > .footer-links:nth-child(2),
  footer.footer .footer-content > .footer-links:nth-child(2) {
    grid-area: comprar !important;
  }

  footer.footer .footer-grid > .footer-links:nth-child(3),
  footer.footer .footer-content > .footer-links:nth-child(3) {
    grid-area: contato !important;
  }

  footer.footer .footer-links {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    text-align: left !important;
  }

  footer.footer .footer-brand .footer-logo,
  footer.footer .footer-brand .logo {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
    text-align: center !important;
  }

  footer.footer .footer-brand .logo-img,
  footer.footer .footer-brand img {
    display: block !important;
    max-width: 140px !important;
    margin: 0 auto !important;
  }

  footer.footer .footer-brand > p {
    display: none !important;
  }

  footer.footer .social-links {
    display: none !important;
  }

  footer.footer .footer-links h4 {
    margin: 0 0 8px !important;
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  footer.footer .footer-links ul {
    display: grid !important;
    justify-items: start !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  footer.footer .footer-links h4,
  footer.footer .footer-links ul,
  footer.footer .footer-links li,
  footer.footer .footer-links a,
  footer.footer .footer-links p,
  footer.footer .footer-links p[style],
  footer.footer .footer-links strong,
  footer.footer .footer-address-line,
  footer.footer .footer-city,
  footer.footer .js-admin-phone-display {
    text-align: left !important;
  }

  footer.footer .footer-links li,
  footer.footer .footer-links a,
  footer.footer .footer-links p,
  footer.footer .footer-links p[style],
  footer.footer .footer-links strong,
  footer.footer .footer-address-line,
  footer.footer .footer-city,
  footer.footer .js-admin-phone-display {
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  footer.footer .footer-links p,
  footer.footer .footer-links p[style] {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  footer.footer .footer-links p strong {
    margin: 0 !important;
  }

  footer.footer .footer-links p br {
    display: none !important;
  }

  footer.footer .footer-address-line,
  footer.footer .footer-city,
  footer.footer .js-admin-phone-display {
    display: block !important;
    margin: 0 !important;
  }

  footer.footer .footer-bottom,
  footer.footer .footer-bottom[style] {
    padding: 10px 0 !important;
  }

  footer.footer .footer-bottom .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    text-align: center !important;
  }

  footer.footer .footer-bottom p,
  footer.footer .footer-bottom a {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }

  footer.footer .footer-legal,
  footer.footer .footer-legal[style] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
  }
}

@media (min-width: 769px) {
  footer.footer .footer-grid,
  footer.footer .footer-content,
  footer.footer .footer-grid[style],
  footer.footer .footer-content[style] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "logo logo"
      "comprar contato" !important;
    column-gap: 28px !important;
    row-gap: 20px !important;
    justify-items: stretch !important;
    align-items: start !important;
  }

  footer.footer .footer-grid > .footer-brand,
  footer.footer .footer-content > .footer-brand {
    grid-area: logo !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
    gap: 4px !important;
  }

  footer.footer .footer-grid > .footer-links:nth-child(2),
  footer.footer .footer-content > .footer-links:nth-child(2) {
    grid-area: comprar !important;
  }

  footer.footer .footer-grid > .footer-links:nth-child(3),
  footer.footer .footer-content > .footer-links:nth-child(3) {
    grid-area: contato !important;
  }

  footer.footer .footer-grid > .footer-links,
  footer.footer .footer-content > .footer-links {
    width: 100% !important;
    max-width: 320px !important;
    justify-self: center !important;
    text-align: center !important;
  }

  footer.footer .footer-links h4,
  footer.footer .footer-links ul,
  footer.footer .footer-links li,
  footer.footer .footer-links a,
  footer.footer .footer-links p,
  footer.footer .footer-links p[style],
  footer.footer .footer-links strong,
  footer.footer .footer-address-line,
  footer.footer .footer-city,
  footer.footer .js-admin-phone-display {
    text-align: center !important;
  }

  footer.footer .footer-links ul {
    display: grid !important;
    justify-items: center !important;
    gap: 8px !important;
  }

  footer.footer .footer-brand .footer-logo,
  footer.footer .footer-brand .logo {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  footer.footer .footer-brand .logo-img,
  footer.footer .footer-brand img {
    margin: 0 auto !important;
  }

  footer.footer .footer-brand > p {
    margin-top: -2px !important;
  }
}

/* === Footer Canonical Layout (Single Source) === */
footer.footer#contato .footer-main {
  padding: 22px 0 12px !important;
}

footer.footer#contato .footer-grid,
footer.footer#contato .footer-content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-areas:
    "logo logo"
    "comprar contato" !important;
  column-gap: 28px !important;
  row-gap: 18px !important;
  align-items: start !important;
  justify-items: stretch !important;
}

footer.footer#contato .footer-grid > .footer-brand,
footer.footer#contato .footer-content > .footer-brand {
  grid-area: logo !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 6px !important;
}

footer.footer#contato .footer-grid > .footer-links:nth-child(2),
footer.footer#contato .footer-content > .footer-links:nth-child(2) {
  grid-area: comprar !important;
}

footer.footer#contato .footer-grid > .footer-links:nth-child(3),
footer.footer#contato .footer-content > .footer-links:nth-child(3) {
  grid-area: contato !important;
}

footer.footer#contato .footer-brand .footer-logo,
footer.footer#contato .footer-brand .logo {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
  text-align: center !important;
}

footer.footer#contato .footer-brand .logo-img,
footer.footer#contato .footer-brand img {
  display: block !important;
  max-width: 150px !important;
  margin: 0 auto !important;
}

footer.footer#contato .footer-brand > p {
  margin: 0 !important;
  max-width: 52ch !important;
  text-align: center !important;
}

footer.footer#contato .footer-grid > .footer-links,
footer.footer#contato .footer-content > .footer-links {
  width: 100% !important;
  max-width: 340px !important;
  justify-self: center !important;
  margin: 0 !important;
  text-align: center !important;
}

footer.footer#contato .footer-links h4 {
  margin: 0 0 10px !important;
  text-align: center !important;
}

footer.footer#contato .footer-links ul {
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 7px !important;
  justify-items: center !important;
}

footer.footer#contato .footer-contact-block {
  margin: 0 !important;
  display: grid !important;
  gap: 4px !important;
  text-align: center !important;
}

footer.footer#contato .footer-address-line,
footer.footer#contato .footer-city,
footer.footer#contato .js-admin-phone-display {
  display: block !important;
  margin: 0 !important;
}

footer.footer#contato .footer-bottom {
  padding: 10px 0 !important;
}

footer.footer#contato .footer-bottom .container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;
  text-align: center !important;
}

footer.footer#contato .footer-bottom p {
  margin: 0 !important;
}

footer.footer#contato .footer-legal {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  footer.footer#contato .footer-main {
    padding: 16px 0 10px !important;
  }

  footer.footer#contato .footer-main .container,
  footer.footer#contato .footer-bottom .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  footer.footer#contato .footer-main .container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  footer.footer#contato .footer-grid,
  footer.footer#contato .footer-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "logo logo"
      "comprar contato" !important;
    column-gap: 12px !important;
    row-gap: 12px !important;
  }

  footer.footer#contato .footer-grid > .footer-brand,
  footer.footer#contato .footer-content > .footer-brand {
    grid-column: 1 / -1 !important;
    place-self: start center !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 8px 0 10px !important;
    gap: 0 !important;
  }

  footer.footer#contato .footer-brand .footer-logo,
  footer.footer#contato .footer-brand .logo {
    margin: 0 auto !important;
    padding: 0 !important;
  }

  footer.footer#contato .footer-brand .logo-img,
  footer.footer#contato .footer-brand img {
    max-width: 136px !important;
    margin: 0 auto !important;
  }

  footer.footer#contato .footer-brand > p,
  footer.footer#contato .social-links {
    display: none !important;
  }

  footer.footer#contato .footer-grid > .footer-links,
  footer.footer#contato .footer-content > .footer-links {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    padding: 0 6px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  footer.footer#contato .footer-links h4 {
    margin: 0 0 8px !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  footer.footer#contato .footer-links ul {
    justify-items: center !important;
    gap: 6px !important;
  }

  footer.footer#contato .footer-links li,
  footer.footer#contato .footer-links a,
  footer.footer#contato .footer-links p,
  footer.footer#contato .footer-links strong,
  footer.footer#contato .footer-address-line,
  footer.footer#contato .footer-city,
  footer.footer#contato .js-admin-phone-display {
    text-align: center !important;
    font-size: 0.74rem !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  footer.footer#contato .footer-contact-block {
    gap: 6px !important;
    align-items: center !important;
  }

  footer.footer#contato .footer-bottom .container {
    flex-direction: column !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  footer.footer#contato .footer-bottom p {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
  }

  footer.footer#contato .footer-legal {
    gap: 12px !important;
    flex-wrap: wrap !important;
  }
}
