/* ==========================================
   HOTDEAL-AUTO MULTI-PAGE STYLES
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20 0px;
}


/* Navigation */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s;
    width: 100%;
    /* Ensure full width */
}


/* New nav-inner container for edge-to-edge layout */

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    /* Keep this */
    align-items: center;
    height: 80px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    max-width: 60%;
    /* Remove margin-right: auto if present */
}

.logo-img {
    width: 100px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text h1 {
    font-family: Georgia, serif;
    font-size: 18px;
    /* Smaller for mobile */
    font-weight: bold;
    letter-spacing: -0.5px;
    color: #1a1a1a;
    white-space: nowrap;
    /* Prevent wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-text h1 {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

.logo-text p {
    font-size: 10px;
    color: #6b7280;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    /* This pushes nav-links to the right */
}

@media (min-width: 1000px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #c9a962;
}

.nav-links a.auction-link {
    color: #dc2626;
    font-weight: 600;
}

.nav-links a.auction-link:hover {
    color: #b91c1c;
}

.nav-links a.active {
    color: #c9a962;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #c9a962;
}


/* Cart Icon */

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
}

.cart-icon:hover {
    background: #f3f4f6;
}

.cart-icon span:first-child {
    font-size: 24px;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #dc2626;
    color: white;
    font-size: 11px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-cart {
    display: flex;
}

@media (min-width: 1024px) {
    .mobile-cart {
        display: none;
    }
}


/* Cart Sidebar */

.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.cart-overlay.active {
    display: block;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: white;
    z-index: 2001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    font-weight: bold;
}

.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cart-close:hover {
    background: #f3f4f6;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    color: #6b7280;
    padding: 40px 0;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 12px;
    position: relative;
}

.cart-item-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.cart-item-price {
    font-weight: bold;
    color: #c9a962;
}

.cart-item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cart-item-remove:hover {
    background: #fee2e2;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    background: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
}


/* Mobile Menu */

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 24px;
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background: #c9a962;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s;
    background: #f9fafb;
    border: 2px solid transparent;
}

.mobile-menu a:hover {
    background: #c9a962;
    color: white;
    border-color: #c9a962;
    transform: translateX(8px);
}

.mobile-menu .btn {
    width: 100%;
    margin-top: 8px;
    padding: 16px;
}


/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-primary {
    background: #1a1a1a;
    color: white;
}

.btn-primary:hover {
    background: #c9a962;
    color: #1a1a1a;
    transform: scale(1.05);
}

.btn-accent {
    background: #c9a962;
    color: #1a1a1a;
}

.btn-accent:hover {
    background: #1a1a1a;
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #1a1a1a;
}

.btn-white {
    background: white;
    color: #1a1a1a;
}

.btn-white:hover {
    background: #f3f4f6;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-success {
    background: #16a34a;
    color: white;
}

.btn-success:hover {
    background: #15803d;
}


/* Sections */

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 48px;
    }
}

.section-subtitle {
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}


/* Hero Section */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 100px 20px 60px;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.hero-subtitle {
    color: red;
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    font-family: Georgia, serif;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 72px;
    }
}

.hero-title span {
    color: red;
    font-style: italic;
}

.hero-text {
    font-size: 18px;
    color: #d1d5db;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 24px;
    color: white;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* Inventory Section */

.inventory-section {
    background: #f9fafb;
    padding-top: 120px;
}

.filters {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .filter-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.filter-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.filter-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-group select:focus {
    outline: none;
    border-color: #c9a962;
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.1);
}

.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.results-count {
    color: #6b7280;
    font-size: 16px;
}

.results-count span {
    color: #1a1a1a;
    font-weight: bold;
    font-size: 20px;
}

.reset-btn {
    color: #c9a962;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.reset-btn:hover {
    background: rgba(201, 169, 98, 0.1);
}


/* Car Grid */

.car-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .car-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .car-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.car-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #c9a962;
}

.car-image {
    position: relative;
    height: 240px;
    background: #f3f4f6;
    overflow: hidden;
}

.car-image img.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.car-card:hover .car-image img.main-image {
    transform: scale(1.05);
}

.car-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #c9a962;
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.car-badge.auction {
    background: #dc2626;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.car-year {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.car-price-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px 16px 16px;
}

.car-price-tag p {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.car-price-tag .auction-info {
    font-size: 12px;
    color: #fca5a5;
    margin-top: 4px;
}

.car-info {
    padding: 32px;
}

.car-header {
    margin-bottom: 12px;
}

.car-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.car-meta {
    color: #6b7280;
    font-size: 14px;
}

.car-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #6b7280;
}

.car-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.car-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.car-feature {
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #4b5563;
    font-weight: 500;
}

.car-btn {
    width: 100%;
    background: #1a1a1a;
    color: white;
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.car-btn:hover {
    background: #c9a962;
    color: #1a1a1a;
}

.car-btn.auction-btn {
    background: #dc2626;
    animation: pulse-bg 2s infinite;
}

@keyframes pulse-bg {
    0%,
    100% {
        background: #dc2626;
    }
    50% {
        background: #b91c1c;
    }
}

.load-more {
    text-align: center;
    margin-top: 48px;
}


/* Services Section */

.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #f9fafb;
    padding: 32px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-8px);
    border-color: #1a1a1a;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #c9a962;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.service-desc {
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-card:hover .service-desc {
    color: #d1d5db;
}

.service-link {
    color: #c9a962;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.service-card:hover .service-link {
    color: white;
}


/* Financing Section */

.financing-section {
    background: #1a1a1a;
    color: white;
}

.financing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .financing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.financing-content h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .financing-content h2 {
        font-size: 48px;
    }
}

.financing-content>p {
    color: #9ca3af;
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.payment-display {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.payment-label {
    color: #d1d5db;
    font-size: 14px;
}

.payment-amount {
    font-size: 32px;
    font-weight: bold;
    color: #c9a962;
}

.payment-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.payment-progress {
    height: 100%;
    background: #c9a962;
    transition: width 0.5s ease;
}

.payment-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.payment-stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-stat-label {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.payment-stat-value {
    font-size: 24px;
    font-weight: 700;
}

.calculator-form {
    background: white;
    color: #1a1a1a;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.calculator-form h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.input-wrapper {
    position: relative;
}

.input-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c9a962;
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.1);
}

.input-with-prefix {
    padding-left: 40px !important;
}

.range-slider {
    width: 100%;
    margin-top: 12px;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #c9a962;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}


/* About Section */

.about-section {
    background: #f9fafb;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: #c9a962;
    color: #1a1a1a;
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    text-align: center;
}

@media (max-width: 768px) {
    .about-badge {
        right: 20px;
        bottom: -20px;
        padding: 16px 24px;
    }
}

.about-badge p:first-child {
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
}

.about-badge p:last-child {
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
}

.about-content h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    gap: 16px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 169, 98, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a962;
    font-size: 20px;
    flex-shrink: 0;
    font-weight: bold;
}

.about-feature h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
}

.about-feature p {
    color: #6b7280;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.about-stat {
    text-align: center;
}

.about-stat p:first-child {
    font-size: 36px;
    font-weight: bold;
    color: #c9a962;
    line-height: 1;
}

.about-stat p:last-child {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}


/* Testimonials */

.testimonials-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.testimonials-carousel {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 30px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    min-width: 400px;
    max-width: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: rgba(102, 126, 234, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    color: rgba(102, 126, 234, 0.4);
    transform: scale(1.2) rotate(-10deg);
}

.testimonial-stars {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-name {
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
}

.author-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 5px 0 0 0;
    font-weight: 500;
}


/* CTA Section */

.cta-section {
    background: #c9a962;
    text-align: center;
}

.cta-section h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .cta-section h2 {
        font-size: 48px;
    }
}

.cta-section>p {
    color: rgba(26, 26, 26, 0.8);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}


/* Location Section */

.location-section {
    padding: 80px 0;
    background: #f9fafb;
}


/* Footer */

footer {
    background: #1a1a1a;
    color: white;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand-icon {
    font-size: 32px;
}

.footer-brand-text {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: bold;
}

.footer-desc {
    color: #9ca3af;
    margin-bottom: 24px;
    line-height: 1.7;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.social-link:hover {
    background: #c9a962;
    color: #1a1a1a;
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 24px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #c9a962;
    transform: translateX(4px);
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: #9ca3af;
    align-items: flex-start;
}

.contact-icon {
    color: #c9a962;
    flex-shrink: 0;
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-legal {
        justify-content: flex-start;
    }
}

.footer-legal a {
    color: #9ca3af;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: white;
}


/* ==========================================
   WHATSAPP ICON - VISIBLE & CLICKABLE
   ========================================== */

.whatsapp-icon {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    cursor: pointer;
    text-decoration: none;
    border: 3px solid white;
    transition: all 0.3s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    background: #128C7E;
}

.whatsapp-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}


/* Pulse animation */

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-icon {
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-icon:hover {
    animation: none;
}


/* Mobile */

@media (max-width: 768px) {
    .whatsapp-icon {
        bottom: 20px;
        right: 16px;
        width: 56px;
        height: 56px;
    }
    .whatsapp-icon svg {
        width: 28px;
        height: 28px;
    }
}


/* ==========================================
   MODALS - FIXED
   ========================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: scale(1);
}


/* LARGE MODAL - for car detail */

.modal-large {
    max-width: 1100px;
    width: 90vw;
    max-height: 80vh;
    height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 100;
}

.modal-close:hover {
    background: #c9a962;
    color: white;
}

.modal-content {
    padding: 32px;
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.modal-header p {
    color: #6b7280;
}

.submit-btn {
    width: 100%;
    background: #1a1a1a;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.submit-btn:hover:not(:disabled) {
    background: #c9a962;
    color: #1a1a1a;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #6b7280;
}

.modal-footer a {
    color: #c9a962;
    text-decoration: none;
    font-weight: 600;
}


/* ==========================================
   CAR DETAIL MODAL - SIDE BY SIDE
   ========================================== */


/* The grid container - MOBILE FIRST */

.car-detail-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}


/* LEFT: Image side */

.car-detail-grid>.car-detail-image {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
}

.car-detail-grid .image-gallery {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.car-detail-grid .gallery-main {
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.car-detail-grid .gallery-main img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* Gallery navigation */

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-nav:hover {
    background: #c9a962;
}

.gallery-nav.prev {
    left: 16px;
}

.gallery-nav.next {
    right: 16px;
}

.gallery-counter {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}


/* Thumbnails */

.car-detail-grid .gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #1a1a1a;
    overflow-x: auto;
    justify-content: center;
    flex-shrink: 0;
}

.gallery-thumbs {
    scrollbar-width: thin;
    scrollbar-color: #c9a962 #1a1a1a;
    width: 324px;
    margin: 0 auto;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 8px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #c9a962;
    border-radius: 4px;
}

.gallery-thumb {
    height: 80px;
    width: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    opacity: 0.6;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: #c9a962;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-images {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 20px;
}

.no-images .icon {
    font-size: 64px;
    margin-bottom: 16px;
}


/* RIGHT: Info side */

.car-detail-grid>.car-detail-info {
    width: 100%;
    padding: 20px;
    overflow-y: auto;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.car-detail-header {
    margin-bottom: 8px;
}

.car-detail-subtitle {
    color: #c9a962;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.car-detail-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.car-detail-meta {
    color: #6b7280;
    font-size: 15px;
}

.car-detail-price {
    text-align: right;
}

.car-detail-price-amount {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1;
}

.car-detail-price-note {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

.car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.car-spec {
    background: #f9fafb;
    padding: 16px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.car-spec:hover {
    border-color: #c9a962;
}

.car-spec-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}

.car-spec-value {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 16px;
}

.car-features-list {
    margin-bottom: 24px;
}

.car-features-list h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.car-features-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.car-feature-tag {
    background: rgba(201, 169, 98, 0.1);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(201, 169, 98, 0.3);
}

.car-description {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 15px;
}

.car-detail-actions {
    display: flex;
    gap: 12px;
}

.car-detail-actions .btn {
    flex: 1;
    padding: 16px;
}


/* ==========================================
   DESKTOP: SIDE BY SIDE
   ========================================== */

@media (min-width: 769px) {
    .car-detail-grid {
        flex-direction: row;
        height: 100%;
    }
    /* Image - LEFT (55%) */
    .car-detail-grid>.car-detail-image {
        flex: 0 0 55%;
        min-width: 0;
        height: 100%;
    }
    /* Info - RIGHT (45%) */
    .car-detail-grid>.car-detail-info {
        flex: 0 0 45%;
        min-width: 0;
        height: 100%;
        padding: 28px;
        overflow-y: auto;
    }
}


/* ==========================================
   MOBILE: STACKED
   ========================================== */

@media (max-width: 768px) {
    .modal-large {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    .car-detail-grid {
        flex-direction: column;
        height: 100vh;
        overflow-y: auto;
    }
    .car-detail-grid>.car-detail-image {
        flex: none;
        height: 40vh;
        min-height: 250px;
    }
    .car-detail-grid .gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .car-detail-grid>.car-detail-info {
        flex: 1;
        padding: 20px;
    }
}


/* ==========================================
   SUCCESS MESSAGE
   ========================================== */

.success-message {
    display: none;
    text-align: center;
    padding: 48px 32px;
}

.success-message.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #c9a962;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-message h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.success-message p {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}


/* ==========================================
   LOADING SPINNER
   ========================================== */

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* ==========================================
   TOAST NOTIFICATION
   ========================================== */

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1a1a1a;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 3000;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 32px;
    height: 32px;
    background: #c9a962;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}


/* ==========================================
   AUCTION STYLES
   ========================================== */

.auction-section {
    background: #f9fafb;
    padding-top: 120px;
}

.auction-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 16px;
}

.auction-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 8px;
}

.auction-tab:hover {
    color: #1a1a1a;
    background: #f3f4f6;
}

.auction-tab.active {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.auction-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dc2626;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.auction-timer.ending-soon {
    animation: pulse-timer 1s infinite;
}

@keyframes pulse-timer {
    0%,
    100% {
        background: #dc2626;
    }
    50% {
        background: #b91c1c;
    }
}

.bid-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 8px;
    margin-bottom: 12px;
}

.bid-label {
    font-size: 12px;
    color: #6b7280;
}

.bid-amount {
    font-size: 18px;
    font-weight: bold;
    color: #dc2626;
}

.bid-count {
    font-size: 12px;
    color: #6b7280;
}

.bid-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.bid-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.bid-input:focus {
    outline: none;
    border-color: #dc2626;
}

.bid-btn {
    padding: 12px 24px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.bid-btn:hover {
    background: #b91c1c;
}

.bid-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.reserve-met {
    color: #16a34a;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.reserve-not-met {
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.watchlist-btn:hover {
    background: white;
    transform: scale(1.1);
}

.watchlist-btn.active {
    background: #dc2626;
    color: white;
}


/* Quick Bid Buttons */

.quick-bid-buttons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.quick-bid-btn {
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-bid-btn:hover {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}


/* Auction Detail Modal */

.auction-detail-bid-section {
    background: rgba(220, 38, 38, 0.05);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
}

.current-bid-display {
    text-align: center;
    margin-bottom: 24px;
}

.current-bid-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.current-bid-amount {
    font-size: 48px;
    font-weight: bold;
    color: #dc2626;
    line-height: 1;
}

.bid-increment-info {
    font-size: 14px;
    color: #6b7280;
    margin-top: 8px;
}

.bid-history {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 16px;
}

.bid-history-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
}

.bid-history-item.winning {
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.bidder-name {
    font-weight: 600;
    color: #1a1a1a;
}

.bid-time {
    font-size: 12px;
    color: #6b7280;
}


/* ==========================================
   UTILITY CLASSES
   ========================================== */

.hidden {
    display: none !important;
}

.form-content.hidden {
    display: none;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
        padding: 30px;
    }
    .section-title {
        font-size: 2rem;
    }
    .testimonials-track {
        animation-duration: 30s;
    }
    .auction-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .bid-form {
        flex-direction: column;
    }
    .quick-bid-buttons {
        flex-wrap: wrap;
    }
}


/* Hide tawk branding */

.tawk-branding,
a[href*="tawk.to"],
.tawk-footer {
    display: none !important;
}