﻿.vehicles-actions {
    text-align: center;
    margin: 2rem 0;
}

.btn-vehicles-all {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-green);
    position: relative;
    overflow: hidden;
}

.btn-vehicles-all:hover {
    background: var(--primary-green-hover);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-vehicles-all:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-vehicles-all i:first-child {
    font-size: 1.125rem;
}

.btn-vehicles-all i:last-child {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.btn-vehicles-all:hover i:last-child {
    transform: translateX(4px);
}

.btn-vehicles-all.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-vehicles-all.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

.btn-primary {
    background: var(--primary-green);
    color: #fff;
    border: none;
    padding: .75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--primary-green-hover);
}

.btn-action {
    padding: .75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    white-space: nowrap;
    min-width: 140px;
    width: 140px;
    text-align: center;
    box-sizing: border-box;
    justify-content: center;
    align-content: center;
}

.btn-cart {
    background: var(--link-blue);
    color: #fff;
    min-width: 140px;
    width: 140px;
}

.btn-cart:hover {
    background: var(--link-blue);
    color: #fff;
    text-decoration: none;
}

.btn-view {
    background: var(--grey-100);
    color: var(--grey-700);
    border: 1px solid var(--grey-300);
}

.btn-view:hover {
    background: var(--grey-200);
    color: var(--grey-800);
    text-decoration: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
}

.contact-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.main-button {
    width: 60px;
    height: 60px;
    background: #4F6ACA;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(79, 106, 202, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.main-button i {
    color: white;
}

.main-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(79, 106, 202, 0.6);
}

.main-button .icon-dots,
.main-button .icon-close {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-button .icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.widget-open .main-button .icon-dots {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.widget-open .main-button .icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.contact-channels {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.contact-channels.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-channel {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    color: white !important;
}

.contact-channel:hover {
    transform: translateX(-8px) scale(1.05);
    filter: brightness(1.15);
    text-decoration: none;
}

.phone { background: #03E78B; }
.whatsapp { background: #49E670; font-size: 20px }
.sms { background: #FF549C; }
.email { background: #FF485F; }

.tooltip {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.contact-channel:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.vehicles-awaiting {
    padding: 3rem 0;
    background: var(--white);
}

.vehicles-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--bde-headings-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-header h2 i {
    color: var(--primary-green);
    font-size: 2rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--grey-600);
    max-width: 600px;
    margin: 0 auto;
}

.vehicles-slider-container {
    position: relative;
    margin-bottom: 2rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.slider-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: -20px;
}

.slider-btn-next {
    right: -20px;
}

.vehicles-slider {
    overflow: hidden;
    padding: 0.5rem 0;
}

.vehicles-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 1rem;
}

.vehicle-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--grey-200);
    flex: 0 0 calc(20% - 0.8rem);
    min-width: 220px;
}

.vehicle-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.vehicle-image {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.03);
}

.vehicle-status {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.status-badge {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vehicle-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bde-headings-color);
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1.3;
}

.vehicle-details {
    text-align: center;
}

.detail-item {
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 0.75rem;
    color: var(--grey-600);
    font-weight: 500;
}

.vehicles-note {
    max-width: 800px;
    margin: 0 auto;
}

.index-note {
    background: var(--red-50);
    border: 1px solid var(--red-500);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.index-note i {
    color: var(--red-500);
    font-size: 1.25rem;
    margin-top: .125rem;
}

.index-note p {
    margin: 0;
    font-size: .875rem;
    color: var(--grey-700);
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.5rem;
    transition: opacity .3s ease, transform .3s ease;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: .5rem;
    color: var(--grey-700);
    font-size: .875rem;
}

.form-control {
    width: 100%;
    height: 100%;
    padding: .75rem;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-md);
    font-size: .875rem;
    transition: border-color .2s, transform .15s ease;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(92, 207, 112, .1);
    border-color: var(--primary-green);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: var(--grey-600);
}

.meta-item i {
    color: var(--primary-green);
    font-size: .75rem;
}

.seller-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-green-darker);
}

.seller-indicator.blue {
    background: var(--sky-500);
}

.seller-indicator.purple {
    background: var(--purple-500);
}

.quality-badge {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: var(--primary-green);
    color: #fff;
    padding: .25rem .75rem;
    border-radius: var(--radius-sm);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.quality-badge.b {
    background: var(--yellow-500);
}

.quality-badge.c {
    background: var(--red-500);
}

.shipping-info {
    justify-content: center;
    font-size: .75rem;
    color: var(--grey-500);
    margin-top: .25rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.shipping-info i {
    color: var(--primary-green);
}

.subscription-notice {
    background: var(--sky-100);
    border: 1px solid var(--sky-500);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem;
    color: var(--grey-700);
    line-height: 1.6;
}

.subscription-notice a {
    color: var(--sky-500);
    font-weight: 600;
    text-decoration: none;
}

.subscription-notice a:hover {
    text-decoration: underline;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-500);
    font-size: 2rem;
}

.breadcrumb-section {
    display: flex;
    justify-content: flex-end;
}

.breadcrumb-link {
    color: var(--grey-600);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    border-radius: var(--radius-md);
    transition: all .2s;
}

.breadcrumb-link:hover {
    color: var(--primary-green-darker);
    background: var(--grey-100);
    text-decoration: none;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--grey-300);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

.search-hints {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.search-hints.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.search-hint-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--grey-100);
    text-decoration: none;
    color: var(--bde-body-text-color);
    font-size: 0.95rem;
    position: relative;
}

.search-hint-item:last-child {
    border-bottom: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.search-hint-item:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.search-hint-item:hover,
.search-hint-item.highlighted {
    background: var(--grey-50);
    color: var(--primary-green-darker);
    transform: translateX(2px);
}

.search-hint-item:active {
    background: var(--primary-green-light);
}

.search-hint-icon {
    color: var(--primary-green);
    margin-right: 0.75rem;
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.search-hint-text {
    flex: 1;
}

.search-hint-type {
    font-size: 0.75rem;
    color: var(--grey-500);
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.search-hints-loading {
    padding: 1rem;
    text-align: center;
    color: var(--grey-500);
    font-size: 0.875rem;
}

.search-hints-loading i {
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

.search-hints-empty {
    padding: 1rem;
    text-align: center;
    color: var(--grey-500);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .btn-vehicles-all {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .vehicle-card {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 180px;
    }

    .slider-btn-prev {
        left: -15px;
    }

    .slider-btn-next {
        right: -15px;
    }

    .search-hint-item {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }

    .search-hint-icon {
        margin-right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .vehicles-actions {
        margin: 1.5rem 0;
    }

    .btn-vehicles-all {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .vehicle-image {
        height: 100px;
    }

    .vehicle-card {
        flex: 0 0 calc(100% - 0.5rem);
        min-width: 160px;
    }

    .vehicle-title {
        font-size: 0.9rem;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
    }

    .slider-btn-prev {
        left: -10px;
    }

    .slider-btn-next {
        right: -10px;
    }

    .index-note {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .index-note i {
        margin-top: 0;
    }
}