/**
 * Vehicle Archive/Search Results Styles
 */

/* Main Layout */
.vehicle-archive-page {
    background-color: #f5f5f5;
    padding-bottom: 60px;
}

.vehicle-archive-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.vehicle-filters-sidebar {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 20px;
    display: block !important;
}

.vehicle-results {
    flex: 1;
    min-width: 0;
}

/* Search Results Header */
.search-results {
    padding-top: 20px;
}

.search-results .page-header {
    margin-bottom: 30px;
}

.search-results .page-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.search-results .stock-count {
    color: #8cc641;
    font-weight: 700;
}

.search-results .archive-description {
    color: #666;
    font-size: 16px;
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Search Results Title Styles */
.search-results h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

/* Top Filter Bar */
.top-filter-bar {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: none !important;
}

.top-filter-bar .clear-filters {
    background-color: #eee;
    color: #444;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.top-filter-bar .clear-filters:hover {
    background-color: #e0e0e0;
    color: #C4122F;
}

/* Filters Section */
.filters {
    margin-top: 20px;
}

.filters h2 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

.filters .clear-x {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.filters .clear-x:hover {
    color: #C4122F;
}

/* Radio Button Styling */
.filters input[type="radio"] {
    margin-right: 8px;
    accent-color: #8cc641;
}

.filters label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

/* Price Range Styling */
.price-range-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

/* Select Dropdowns */
.filters select {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    outline: none;
}

/* Add specific match for the elements in the screenshot */
.filters h3, .filters h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #444;
}

/* Filter Styles */
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.filters-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.clear-link {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.clear-link span {
    margin-left: 5px;
    font-size: 18px;
}

.clear-link:hover {
    color: #C4122F;
}

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

.filter-group h4 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 500;
    color: #444;
}

.filter-option {
    margin-bottom: 10px;
    display: flex !important;
    align-items: center !important;
    position: relative;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    margin-right: 8px !important;
    accent-color: #8cc641 !important;
    width: 20px !important;
    height: 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    cursor: pointer !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;
    border: 1px solid #999 !important;
    border-radius: 3px !important;
    display: inline-block !important;
}

.filter-option input[type="radio"] {
    border-radius: 50% !important;
}

.filter-option input[type="checkbox"]:checked,
.filter-option input[type="radio"]:checked {
    background-color: #8cc641 !important;
    border-color: #8cc641 !important;
}

.filter-option label {
    cursor: pointer !important;
    font-size: 14px !important;
    color: #555 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-bottom: 0 !important;
    margin-left: 8px !important;
}

/* Range slider styling */
.range-slider-container {
    margin-top: 10px;
    padding: 0 5px;
}

.price-slider {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: #f0f0f0;
    outline: none;
    border-radius: 5px;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #8cc641;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.price-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #8cc641;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* Dropdown selects */
.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23555' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.filter-group select:focus {
    border-color: #8cc641;
}

.extra-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
}

.extra-features h4 {
    grid-column: span 2;
}

.filter-submit-button {
    width: 100%;
    padding: 12px;
    background-color: #8cc641;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.filter-submit-button:hover {
    background-color: #78b32f;
}

/* Results Header Styles */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.view-toggle {
    display: flex;
}

.view-toggle button {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 12px;
    cursor: pointer;
    outline: none;
    color: #777;
    transition: all 0.2s ease;
}

.view-toggle button:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.view-toggle button:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-left: none;
}

.view-toggle button.active {
    background-color: #8cc641;
    border-color: #8cc641;
    color: white;
}

.sort-by select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    outline: none;
    cursor: pointer;
    min-width: 150px;
}

/* Vehicle Grid Styles */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.vehicles-grid.list-view {
    grid-template-columns: 1fr;
}

.vehicles-grid.list-view .vehicle-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.vehicles-grid.list-view .vehicle-image {
    flex: 0 0 300px;
    max-width: 300px;
    height: auto;
}

.vehicles-grid.list-view .vehicle-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vehicles-grid.list-view .vehicle-title {
    font-size: 20px;
}

.vehicles-grid.list-view .vehicle-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.vehicle-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vehicle-image {
    position: relative;
    height: 220px;
    background-color: #f5f5f5;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.vehicle-info {
    padding: 20px;
}

/* Price Container Styling */
.price-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
    margin-top: 2px;
}

.price-gb, .price-us, .price-eu {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0 15px;
}

/* Currency switcher JavaScript will override these with display: none */
.price-gb[style*="display: none"], 
.price-us[style*="display: none"], 
.price-eu[style*="display: none"] {
    display: none !important;
}

.price-gb img, .price-us img, .price-eu img {
    width: 40px;
    height: 30px;
    border-radius: 3px;
}

.price-gb .price, .price-us .price, .price-eu .price {
    font-size: 36px;
    font-weight: 700;
    color: #000;
}

/* Sale price styling - red for sale prices */
.price-container.on-sale .price-gb .price,
.price-container.on-sale .price-us .price,
.price-container.on-sale .price-eu .price {
    color: #C4122F;
}

.original-price {
    font-size: 20px;
    text-decoration: line-through;
    color: #999;
    margin-top: 4px;
}

.vehicle-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.vehicle-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.vehicle-title a:hover {
    color: #C4122F;
}

.vehicle-price {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.price-gbp {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.price-gbp .flag-icon {
    margin-right: 8px;
}

.price-gbp .price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.price-gbp .ex-vat {
    margin-left: 5px;
    font-size: 13px;
    color: #777;
}

.price-vat {
    display: flex;
    align-items: center;
}

.price-vat .price {
    font-size: 15px;
    color: #777;
}

.price-vat .inc-vat {
    margin-left: 5px;
    font-size: 13px;
    color: #999;
}

.vehicle-specs {
    margin-bottom: 20px;
}

.spec-group {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.spec-icon {
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 10px;
    opacity: 0.7;
}

.registration-icon {
    background-image: url('../images/icon-registration.svg');
}

.mileage-icon {
    background-image: url('../images/icon-mileage.svg');
}

.axle-icon {
    background-image: url('../images/icon-axle.svg');
}

.spec-text {
    font-size: 14px;
    color: #666;
}

.vehicle-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.btn-view, .btn-enquire {
    flex: 1;
    display: inline-block;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-view {
    background-color: #f8f8f8;
    color: #333;
    border: 1px solid #ddd;
}

.btn-enquire {
    background-color: #8cc641;
    color: white;
    border: 1px solid #8cc641;
}

.btn-view:hover {
    background-color: #eee;
    border-color: #ccc;
}

.btn-enquire:hover {
    background-color: #78b32f;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.pagination li {
    display: inline-block;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pagination li span.current {
    background-color: #8cc641;
    border-color: #8cc641;
    color: white;
    font-weight: 600;
}

.pagination li a:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

/* No Results */
.no-results {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.no-results h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.no-results p {
    color: #666;
    font-size: 16px;
}

.no-results a {
    color: #8cc641;
    text-decoration: none;
    font-weight: 500;
}

.no-results a:hover {
    text-decoration: underline;
}

/* Fix Font Awesome icons */
.fa, .fas, .far, .fal, .fab {
    display: inline-block;
}

.view-toggle .fa {
    font-size: 14px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .vehicle-archive-wrapper {
        flex-direction: column;
    }
    
    .vehicle-filters-sidebar {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .vehicles-grid.list-view .vehicle-card {
        flex-direction: column;
    }
    
    .vehicles-grid.list-view .vehicle-image {
        flex: 0 0 100%;
        max-width: 100%;
        height: 200px;
    }
    
    .vehicles-grid.list-view .vehicle-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Additional styles for the search filter display in browser */
.search-filters {
    background-color: #f9f9f9;
    padding: 15px 20px;
    margin: 0 0 30px 0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    display: none !important;
}

.search-filter-summary {
    margin: 0;
    font-size: 14px;
    color: #444;
    flex: 1;
}

.clear-filters-button {
    display: inline-block;
    background-color: #f2f2f2;
    color: #333;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    margin-left: 15px;
    transition: all 0.2s ease;
    border: 1px solid #ddd;
}

.clear-filters-button:hover {
    background-color: #e5e5e5;
    color: #C4122F;
}

/* Hide duplicate filter displays */
.search-filters,
.filter-summary,
.page-header + .search-filters,
.page-header ~ .search-filters,
.top-filter-bar {
    display: none !important;
}

/* Hide "Make: DAF" displays that appear outside the sidebar */
.page-title + .filter-display,
.archive-description + .filter-display,
[class*="make-filter"],
.clear-filters {
    display: none !important;
}

/* Only show filters in the sidebar */
.vehicle-filters-sidebar {
    display: block !important;
}

/* Single Vehicle Page Styles */
.single-vehicle-page {
    padding: 2rem 0;
    background-color: #fff;
    color: #333;
}

.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #c4122f;
}

.vehicle-single-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .vehicle-single-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.vehicle-main-gallery {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f1f1f1;
}

.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.main-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-slide.active {
    opacity: 1;
    z-index: 1;
}

.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    z-index: 2;
}

.prev-slide, .next-slide {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

.slide-counter {
    color: white;
    font-size: 14px;
}

.gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 1rem;
    background-color: #fff;
}

.thumb {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.thumb:hover, .thumb.active {
    opacity: 1;
}

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

.play-video-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #c4122f;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 3;
}

.play-video-btn:hover {
    background-color: #a51029;
}

/* Vehicle Details Section */
.vehicle-details-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vehicle-header {
    margin-bottom: 1.5rem;
}

.vehicle-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #333;
}

.flags-price-container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.flags-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flags-price img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c4122f;
}

.original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #999;
    margin-left: 0.5rem;
}

.registration-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
}

.registration-info {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.registration-plate {
    background-color: #ffcc00 !important;
    color: #000 !important;
    font-weight: bold !important;
    padding: 4px 10px !important;
    border-radius: 4px;
    border: 1px solid #333 !important;
}

.registration-year {
    font-size: 14px;
    color: #666;
    margin-left: 5px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    color: #333;
}

.btn:hover {
    background-color: #f1f1f1;
}

.vehicle-description, .vehicle-overview {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.vehicle-description h3, .vehicle-overview h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.vehicle-description p {
    line-height: 1.6;
    color: #444;
    margin-bottom: 1rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

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

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.spec-icon img, .spec-icon svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.spec-content {
    flex-grow: 1;
}

.spec-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}

.spec-value {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* Enquiry Form Section */
.vehicle-enquiry-section {
    background-color: #00517a;
    color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: center;
}

.vehicle-enquiry-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.enquiry-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.enquiry-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

.form-field {
    flex: 1;
}

.full-width {
    width: 100%;
}

.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 22px;
    border: none;
    font-size: 16px;
    color: #333;
}

.enquiry-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.btn-submit {
    background-color: #c4122f;
    color: white;
    border: none;
    border-radius: 22px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: #a51029;
}

/* Related Vehicles Section */
.related-vehicles-section {
    margin-bottom: 3rem;
}

.related-vehicles-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.related-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .related-vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .related-vehicles-grid {
        grid-template-columns: 1fr;
    }
}

.related-vehicle-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.on-sale-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #c4122f;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.related-vehicle-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.related-vehicle-details {
    padding: 1rem;
}

.related-vehicle-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
    line-height: 1.3;
}

.related-price-container {
    margin-bottom: 1rem;
}

.flag-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flag-price img {
    width: 20px;
    height: 20px;
}

.related-vehicle-specs {
    background-color: #f9f9f9;
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.spec-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.spec-row:last-child {
    margin-bottom: 0;
}

.spec {
    flex: 1;
}

.spec .label {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 2px;
}

.spec .value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.related-vehicle-actions {
    display: flex;
    gap: 10px;
}

.related-vehicle-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 8px 12px;
}

.btn-outline {
    border: 1px solid #ccc;
    background: none;
    color: #333;
}

.btn-primary {
    background-color: #c4122f;
    border: 1px solid #c4122f;
    color: white;
}

.btn-primary:hover {
    background-color: #a51029;
} 