/* Prevent horizontal overflow on mobile */
body {
    overflow-x: hidden;
}

.container,
.container-fluid {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    overflow-x: hidden;
}

/* Ensure all sections respect the unified width */
section .container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

* {
    box-sizing: border-box;
}

:root {
    --promo-bg-start: #f6f8fb;
    --promo-bg-end: #ffffff;
    --promo-card-overlay: rgba(8, 22, 48, 0.75);
    --promo-headline-text: #0f172a;
}

/* ========================================
   Botão Ver Veículos - Padrão Kavo
   Baseado em docs/padrao-criacoes-kavo.md
   ======================================== */
.kavo-cta-section {
    padding: 3rem 0;
    background: #ffffff;
    text-align: center;
}

.kavo-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.kavo-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(
        90deg,
        #0d6b52 0%,
        #0c604a 25%,
        #0a5742 50%,
        #0c604a 75%,
        #0d6b52 100%
    );
    background-size: 200% 100%;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1.25rem 2.5rem;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(13, 107, 82, 0.24);
    animation: gradient-shift 4s ease infinite;
    overflow: hidden;
}

.kavo-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    transition: left 0.5s ease;
}

.kavo-btn-primary:hover::before {
    left: 100%;
}

.kavo-btn-primary i {
    font-size: 1.5rem;
}

.kavo-btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kavo-btn-primary__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.kavo-btn-primary:hover {
    background: linear-gradient(
        90deg,
        #0a5742 0%,
        #094f3c 25%,
        #084935 50%,
        #094f3c 75%,
        #0a5742 100%
    );
    background-size: 200% 100%;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 107, 82, 0.32);
    color: #ffffff;
}

.kavo-btn-primary:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .kavo-btn-primary {
        font-size: 1rem;
        padding: 1rem 2rem;
        font-size: 0.95rem;
        min-height: 50px;
    }
    
    .kavo-btn-primary svg {
        width: 18px;
        height: 18px;
    }
}

.promo-carousel-section {
    padding: clamp(32px, 6vw, 80px) 0;
    background: #ffffff;
}

.promo-carousel-section .container {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 40px);
}

.promo-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: clamp(16px, 4vw, 32px);
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
}

/* Mobile: um em baixo do outro */
@media (max-width: 767.98px) {
    .promo-carousel {
        display: flex;
        flex-direction: column;
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 20px;
        padding: 0 16px;
    }
    
    .promo-slide {
        width: 100%;
        min-height: 220px;
    }
}

.promo-carousel::-webkit-scrollbar {
    height: 6px;
}

.promo-carousel::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 999px;
}

.promo-slide {
    position: relative;
    min-height: 200px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
    scroll-snap-align: start;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.15);
}

.promo-slide__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.promo-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 12, 30, 0.1) 0%, var(--promo-card-overlay) 100%);
}

.promo-slide__meta {
    position: relative;
    width: 100%;
    padding: clamp(18px, 4vw, 28px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.promo-slide__title {
    font-size: clamp(1rem, 3.5vw, 1.25rem);
}

.promo-slide__arrow {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    transition: transform 0.3s ease;
}

.promo-slide:hover .promo-slide__arrow,
.promo-slide:focus-visible .promo-slide__arrow {
    transform: translateX(6px);
}

.promo-carousel-headline {
    margin: 0 auto;
    max-width: min(760px, 100%);
    padding: clamp(18px, 5vw, 36px);
    border-radius: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #e6f4f3 100%);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.promo-carousel-headline p {
    margin: 0;
    font-size: clamp(1.125rem, 4.5vw, 1.875rem);
    line-height: 1.35;
    font-weight: 600;
    color: var(--promo-headline-text);
    letter-spacing: -0.01em;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

/* Search Card Filters Row */
.search-filters-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.search-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: 12px;
    border: 1.5px solid #e9ecef;
    transition: all 0.2s ease;
    min-width: 0;
    overflow: hidden;
}

.search-filter-item:hover {
    border-color: #0d6b52;
    background: #ffffff;
}

.search-filter-item i {
    font-size: 1.1rem;
    color: #6c757d;
    flex-shrink: 0;
}

.search-filter-select {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d3748;
    outline: none;
    cursor: pointer;
    padding: 0;
    min-width: 0;
    max-width: 100%;
}

.search-filter-select option {
    padding: 8px;
}

@media (max-width: 768px) {
    .search-filters-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px;
    }
    
    /* Hide hero content on mobile */
    .hero-content {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .promo-carousel {
        grid-template-columns: repeat(2, 1fr);
        overflow: visible;
    }
}

@media (min-width: 992px) {
    .promo-carousel {
        grid-auto-flow: initial;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
    }

    .promo-slide {
        min-height: 260px;
    }
}

/* ========================================
   4 CATEGORY CONTAINERS
   ======================================== */
.category-containers-tagline {
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.category-containers-section {
    padding: 2rem 0 4rem;
    background: #ffffff;
}

.category-containers-wrap {
    width: min(95%, 1280px);
    margin: 0 auto;
}

.category-containers-shell {
    position: relative;
}

.category-containers-tagline p {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.4;
    color: #6b7280;
    margin: 0;
    font-weight: 300;
}

.category-containers-tagline strong {
    color: #1f2937;
    font-weight: 600;
}

.category-containers-section .container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.category-containers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.category-containers-nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    transform: translateY(-50%);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.category-containers-nav:hover,
.category-containers-nav:focus-visible {
    background: #ffffff;
    border-color: rgba(13, 107, 82, 0.38);
    color: #0d6b52;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18), 0 0 0 3px rgba(13, 107, 82, 0.14);
    outline: none;
}

.category-containers-nav:disabled {
    opacity: 0.45;
    cursor: default;
}

.category-containers-nav--prev {
    left: 8px;
}

.category-containers-nav--next {
    right: 8px;
}

.category-container-card {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(148, 163, 184, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.category-container-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: inherit;
    filter: grayscale(0.48) saturate(0.62) brightness(0.9);
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
    z-index: 1;
}

.category-container-card:hover::before {
    transform: scale(1.08);
}

.category-container-card--placeholder::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.category-container-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.58) 100%),
        rgba(148, 163, 184, 0.2);
    z-index: 2;
}

.category-container-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding-bottom: 3rem;
}

.category-container-title {
    font-size: clamp(1.05rem, 1.8vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
    color: #ffffff;
}

.category-container-btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: rgba(248, 250, 252, 0.76);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #111827;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.category-container-card:hover .category-container-btn {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.58);
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .category-containers-section {
        padding: 1.5rem 0 3rem;
    }

    .category-containers-wrap {
        width: 100%;
    }

    .category-containers-shell {
        overflow: visible;
    }

    .category-containers-grid {
        display: flex;
        gap: 12px;
        padding: 0 16px 8px;
        overflow-x: auto;
        scroll-padding-inline: 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

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

    .category-containers-nav {
        display: inline-flex;
    }
    
    .category-container-card {
        height: 300px;
        flex: 0 0 min(82vw, 320px);
        width: min(82vw, 320px);
        max-width: none;
        aspect-ratio: 4/3;
        scroll-snap-align: start;
    }
    
    /* Força uso de imagem mobile em telas pequenas */
    .category-container-card[data-mobile-image]::before {
        background-image: var(--mobile-bg-image) !important;
    }
    
    .category-containers-tagline {
        padding: 0 16px;
    }
    
    /* Ensure all sections respect mobile width */
    section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ========================================
   BODY TYPES QUICK FILTER SECTION
   ======================================== */
.bodytype-quick-filter-section {
    padding: 3rem 0;
    background: #ffffff;
}

.bodytype-quick-filter-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

.bodytype-quick-filter-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.bodytype-quick-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.bodytype-quick-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}

.bodytype-quick-card:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #dee2e6;
}

.bodytype-quick-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bodytype-quick-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bodytype-quick-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    line-height: 1.3;
    flex: 1;
}

@media (max-width: 768px) {
    .bodytype-quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .bodytype-quick-card {
        padding: 0.5rem;
    }
    
    .bodytype-quick-icon {
        width: 50px;
        height: 50px;
    }
    
    .bodytype-quick-icon img {
        width: 35px;
        height: 35px;
    }
    
    .bodytype-quick-name {
        font-size: 0.75rem;
    }
}


/* ========================================
   PRICE RANGES SECTION
   ======================================== */
.price-ranges-section {
    padding: 3rem 0;
    background: #ffffff;
}

.price-ranges-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

.price-ranges-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.price-ranges-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.price-range-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}

.price-range-card:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #dee2e6;
}

.price-range-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.price-range-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-range-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .price-ranges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .price-range-card {
        padding: 1.25rem 0.75rem;
    }
    
    .price-range-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .price-range-label {
        font-size: 0.7rem;
    }
    
    .price-range-title {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .price-ranges-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   CUSTOM CAROUSEL SECTION (ImageCarousel)
   Referência: Cards com imagem + ícone + título + descrição
   ======================================== */
.custom-carousel-section {
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    background: #ffffff;
}

.custom-carousel-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

.custom-carousel-title {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 400;
    color: #5a6a7a;
    margin: 0 0 clamp(1.25rem, 3vw, 2rem) 0;
}

.custom-carousel-grid {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.custom-carousel-grid::-webkit-scrollbar {
    display: none;
}

.custom-carousel-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.25s ease;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 4 * clamp(0.75rem, 2vw, 1.25rem)) / 5);
    min-width: 0;
    border: 1px solid rgba(0,0,0,0.04);
}

.custom-carousel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.custom-carousel-image {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: #e5e8ec;
}

.custom-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-carousel-card:hover .custom-carousel-image img {
    transform: scale(1.03);
}

.custom-carousel-placeholder {
    width: 100%;
    height: 100%;
    background: #e5e8ec;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-carousel-placeholder i {
    font-size: 2.5rem;
    color: #b0b8c4;
}

.custom-carousel-content {
    padding: clamp(1rem, 2vw, 1.375rem);
}

.custom-carousel-icon {
    margin-bottom: 0.5rem;
}

.custom-carousel-icon i,
.custom-carousel-icon img {
    font-size: 1.5rem;
    color: #7aafdb;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.custom-carousel-name {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
}

.custom-carousel-desc {
    font-size: clamp(0.75rem, 1.2vw, 0.8125rem);
    color: #8896a6;
    margin: 0;
    line-height: 1.45;
}

/* Desktop large: 5 cards */
@media (min-width: 1201px) {
    .custom-carousel-card {
        flex: 0 0 calc((100% - 4 * 1.25rem) / 5);
    }
}

/* Laptop: 4 cards */
@media (min-width: 993px) and (max-width: 1200px) {
    .custom-carousel-card {
        flex: 0 0 calc((100% - 3 * 1rem) / 4);
    }
}

/* Tablet: 3 cards */
@media (min-width: 769px) and (max-width: 992px) {
    .custom-carousel-card {
        flex: 0 0 calc((100% - 2 * 1rem) / 3);
    }
}

/* Mobile: 2.2 cards visible (peek next) */
@media (max-width: 768px) {
    .custom-carousel-card {
        flex: 0 0 calc((100% - 0.75rem) / 2.2);
    }

    .custom-carousel-section .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Small mobile: 1.3 cards visible */
@media (max-width: 480px) {
    .custom-carousel-card {
        flex: 0 0 75%;
    }
}

/* ========================================
   INSTALLMENT RANGES SECTION
   ======================================== */
.installment-ranges-section {
    padding: 3rem 0;
    background: #ffffff;
}

.installment-ranges-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

.installment-ranges-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.installment-ranges-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.installment-range-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    text-align: center;
}

.installment-range-card:hover {
    background: #ffffff;
    border-color: #dee2e6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.installment-range-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.installment-range-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 3px solid #0d6b52;
    padding-bottom: 0.25rem;
    margin-bottom: 0.25rem;
}

.installment-range-sublabel {
    font-size: 0.8rem;
    color: #6b7280;
}

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

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

@media (max-width: 576px) {
    .installment-ranges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .installment-range-value {
        font-size: 1rem;
    }
}

/* ========================================
   QUICK ACTIONS SECTION
   ======================================== */
.quick-actions-section {
    padding: 2.5rem 0;
    background: #ffffff;
}

.quick-actions-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

.quick-actions-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s ease;
    text-align: center;
    aspect-ratio: 1 / 1;
}

.quick-action-card:hover {
    background: #ffffff;
    border-color: #0d6b52;
    color: #0d6b52;
    box-shadow: 0 4px 12px rgba(13, 107, 82, 0.12);
    transform: translateY(-2px);
}

.quick-action-card i {
    font-size: 1.75rem;
    color: #6b7280;
    transition: color 0.2s ease;
}

.quick-action-card:hover i {
    color: #0d6b52;
}

.quick-action-card span {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
}

.quick-action-card--accent {
    background: #0d6b52;
    border-color: #0d6b52;
    color: #ffffff;
}

.quick-action-card--accent i {
    color: #ffffff;
}

.quick-action-card--accent:hover {
    background: #0a5742;
    border-color: #0a5742;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 107, 82, 0.3);
}

.quick-action-card--accent:hover i {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .quick-actions-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .quick-action-card {
        aspect-ratio: auto;
        padding: 1.25rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .quick-actions-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.625rem;
    }

    .quick-action-card {
        padding: 1rem 0.5rem;
        gap: 0.5rem;
    }

    .quick-action-card i {
        font-size: 1.5rem;
    }

    .quick-action-card span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .quick-actions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .quick-action-card {
        padding: 0.875rem 0.5rem;
    }

    .quick-action-card i {
        font-size: 1.25rem;
    }

    .quick-action-card span {
        font-size: 0.6875rem;
    }
}

/* ========================================
   RECENT VEHICLES - SAME FEED DESIGN
   ======================================== */
.recent-vehicles-section {
    background: #ffffff;
}

.recent-vehicles-grid {
    row-gap: 1rem;
}

.recent-vehicle-card {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 16px;
    box-sizing: border-box;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    color: inherit;
}

.recent-vehicle-card:hover {
    transform: none;
    box-shadow: 0 18px 50px -10px rgba(0, 0, 0, 0.12);
    color: inherit;
}

.recent-vehicle-card.hover-lift:hover {
    transform: none !important;
}

.recent-vehicle-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recent-vehicle-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 12px;
    background: #f3f4f6;
}

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

.recent-vehicle-card__img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.92);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 4;
    opacity: 0;
    pointer-events: none;
}

.recent-vehicle-card__img-nav:hover {
    background: #ffffff;
    color: #0d6b52;
}

.recent-vehicle-card__img-nav--prev {
    left: 8px;
}

.recent-vehicle-card__img-nav--next {
    right: 8px;
}

.recent-vehicle-card__featured {
    position: absolute;
    top: 8px;
    left: 8px;
    height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0d6b52;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 2;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.recent-vehicle-card__report {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 3;
    font-size: 0.82rem;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
}

.recent-vehicle-card__report:hover {
    background: #ffffff;
    color: #374151;
    transform: translateY(-1px);
}

.recent-vehicle-card__image:hover .recent-vehicle-card__img-nav,
.recent-vehicle-card__image:focus-within .recent-vehicle-card__img-nav {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

.recent-vehicle-card__image:hover .recent-vehicle-card__featured,
.recent-vehicle-card__image:hover .recent-vehicle-card__report,
.recent-vehicle-card__image:focus-within .recent-vehicle-card__featured,
.recent-vehicle-card__image:focus-within .recent-vehicle-card__report {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.recent-vehicle-card__body {
    display: flex;
    flex-direction: column;
    padding: 0;
    flex: 1;
    min-height: 0;
}

.recent-vehicle-card__brand {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.recent-vehicle-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
    min-height: calc(1.3em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-vehicle-card__specs {
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    padding: 8px 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.8rem;
    gap: 6px;
    flex-wrap: wrap;
}

.recent-vehicle-card__spec-item {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.recent-vehicle-card__spec-separator {
    color: #e5e7eb;
    font-size: 0.7rem;
}

.recent-vehicle-card__price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.03em;
    margin-top: auto;
}

.recent-vehicle-card__cta {
    margin-top: 10px;
    width: 100%;
    min-height: 40px;
    border-radius: 12px;
    background: #1f2937;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.recent-vehicle-card__cta:hover {
    background: #111827;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.24);
}

@media (max-width: 991.98px) {
    .recent-vehicles-grid > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575.98px) {
    .recent-vehicles-grid > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
