/* Premium Design Enhancements - Professional, Stylish, Animated */

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header Enhancements - Premium White */
.header {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

/* Logo - Consistent with parts-orders.html */
.logo-img {
    display: block;
    height: 65px !important;
    width: auto;
    max-height: 65px !important;
    object-fit: contain;
    margin-right: 12px;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    flex-shrink: 0;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    text-decoration: none;
}

.logo span,
body.premium .logo span {
    color: #d9a400 !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 0 rgba(17, 24, 39, 0.95), 0 0 14px rgba(250, 204, 21, 0.28) !important;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo.active,
.logo--home.active {
    border-bottom: 3px solid #d4af37;
}

/* Navigation Enhancements - High Contrast */
.nav a,
.header .nav a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: color, transform;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    letter-spacing: 0.01em;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav a:hover,
.header .nav a:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    font-weight: 700;
}

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

.nav a.active,
.header .nav a.active {
    color: #ffffff !important;
    font-weight: 700;
}

.nav a.active::after {
    width: 100%;
}

/* Car Cards - Premium Professional Design */
.car-card {
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.95) 100%) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    will-change: transform, box-shadow;
    position: relative;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.car-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(244, 208, 63, 0.08) 50%, rgba(212, 175, 55, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-radius: 20px;
    z-index: 1;
}

.car-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.car-card:hover {
    transform: translateY(-12px) scale(1.03) rotateX(2deg) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.4),
        0 8px 24px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(212, 175, 55, 0.3) !important;
}

.car-card:hover::before {
    opacity: 1;
}

.car-card:hover::after {
    opacity: 1;
}

/* Car Image Enhancements - Square Format */
.car-image {
    background: #000000 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px 8px 0 0 !important;
}

.car-image img,
.car-gallery-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    box-sizing: border-box !important;
    padding: 8px !important;
}

.car-card {
    display: flex !important;
    flex-direction: column !important;
}

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

.car-gallery-img {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Buttons - Premium Animated Design */
.btn-primary,
.filter-btn,
.cta-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%) !important;
    background-size: 200% 200% !important;
    color: #1f2937 !important;
    border: none !important;
    padding: 0.75rem 2rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.02em !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25), 0 2px 4px rgba(212, 175, 55, 0.15) !important;
    will-change: transform, box-shadow, background-position;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform: translateY(0) scale(1);
}

/* Animated gradient background */
.btn-primary::before,
.filter-btn::before,
.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Shine effect overlay */
.btn-primary::after,
.filter-btn::after,
.cta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Hover state - gradient shift and movement */
.btn-primary:hover,
.filter-btn:hover,
.cta-btn:hover {
    background-position: 100% 0% !important;
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4), 0 4px 8px rgba(212, 175, 55, 0.3) !important;
}

.btn-primary:hover::before,
.filter-btn:hover::before,
.cta-btn:hover::before {
    left: 100%;
}

.btn-primary:hover::after,
.filter-btn:hover::after,
.cta-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Active state - press down effect */
.btn-primary:active,
.filter-btn:active,
.cta-btn:active {
    background-position: 0% 0% !important;
    transform: translateY(-1px) scale(0.98) !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3), 0 1px 2px rgba(212, 175, 55, 0.2) !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Button text positioning */
.btn-primary > *,
.filter-btn > *,
.cta-btn > * {
    position: relative;
    z-index: 2;
}

/* Secondary button style */
.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border: 2px solid rgba(212, 175, 55, 0.3) !important;
    color: #f3f4f6 !important;
    padding: 0.75rem 2rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #374151 100%) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    color: #ffffff !important;
}

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

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98) !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Gallery Arrows - Premium */
.gallery-arrow {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform, opacity;
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.85) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Catalog Filters - Premium Professional White */
.catalog-filters {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%) !important;
    background-size: 200% 200% !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 20px !important;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem !important;
    position: relative;
    overflow: hidden;
}

.catalog-filters label {
    color: #1f2937 !important;
    font-weight: 600 !important;
}

.catalog-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.catalog-filters:hover {
    background-position: 100% 0% !important;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.12),
        0 6px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(212, 175, 55, 0.2) !important;
}

.catalog-filters:hover::before {
    left: 100%;
}

.filter-group select,
.filter-group input {
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1) !important;
    outline: none !important;
}

/* Hero Section - Premium Professional Gradients */
.hero {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 25%, #f3f4f6 50%, #e5e7eb 75%, #d1d5db 100%) !important;
    background-size: 400% 400% !important;
    position: relative;
    overflow: hidden;
    animation: heroGradientShift 15s ease infinite;
    color: #1f2937 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.25) 0%, transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(244, 208, 63, 0.2) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 75%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.3) 0%, transparent 50%);
    pointer-events: none;
    animation: heroGlow 12s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.6) 0%, rgba(15, 23, 42, 0.85) 40%, rgba(15, 23, 42, 0.95) 100%);
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.car-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.car-card:nth-child(1) { animation-delay: 0.1s; }
.car-card:nth-child(2) { animation-delay: 0.2s; }
.car-card:nth-child(3) { animation-delay: 0.3s; }
.car-card:nth-child(4) { animation-delay: 0.4s; }
.car-card:nth-child(5) { animation-delay: 0.5s; }
.car-card:nth-child(6) { animation-delay: 0.6s; }
.car-card:nth-child(7) { animation-delay: 0.7s; }
.car-card:nth-child(8) { animation-delay: 0.8s; }

/* Loading States */
.car-image img {
    transition: opacity 0.3s ease;
}

.car-image img[loading="lazy"] {
    opacity: 0;
}

.car-image img.loaded {
    opacity: 1;
}

/* Performance: GPU Acceleration */
.car-card,
.car-image,
.gallery-arrow,
.btn-primary,
.filter-btn,
.logo-img {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .car-card {
        opacity: 0;
        animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
}

/* Currency and Language Selectors - Dark Theme - Maximum Specificity */
.header .header-actions .currency-selector .currency-select,
.header .header-actions .language-selector .language-select,
.currency-selector .currency-select,
.language-selector .language-select,
#currencySelector.currency-select,
#languageSelector.language-select,
select.currency-select,
select.language-select {
    background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #374151 100%) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    padding: 0.5rem 2rem 0.5rem 0.75rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.5rem center !important;
    background-size: 12px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    min-width: 90px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    will-change: transform, box-shadow, background-position !important;
}

.header .header-actions .currency-selector .currency-select:hover,
.header .header-actions .language-selector .language-select:hover,
.currency-selector .currency-select:hover,
.language-selector .language-select:hover,
#currencySelector.currency-select:hover,
#languageSelector.language-select:hover,
select.currency-select:hover,
select.language-select:hover {
    background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #1f2937 100%) !important;
    background-size: 200% 200% !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 20px rgba(31, 41, 55, 0.5) !important;
    transform: translateY(-2px) scale(1.02) !important;
    animation-duration: 2s !important;
}

.header .header-actions .currency-selector .currency-select:focus,
.header .header-actions .language-selector .language-select:focus,
.currency-selector .currency-select:focus,
.language-selector .language-select:focus,
#currencySelector.currency-select:focus,
#languageSelector.language-select:focus,
select.currency-select:focus,
select.language-select:focus {
    outline: none !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.4), 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    animation-duration: 1.5s !important;
}

.header .header-actions .currency-selector .currency-select:active,
.header .header-actions .language-selector .language-select:active,
.currency-selector .currency-select:active,
.language-selector .language-select:active,
#currencySelector.currency-select:active,
#languageSelector.language-select:active,
select.currency-select:active,
select.language-select:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Cart Button - Premium White */
.cart-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    color: #1f2937 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
    font-weight: 600 !important;
}

.cart-btn:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
}

/* Image Count Badge */
.image-count {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px !important;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

/* Contact Section - Professional Gradients */
.contact {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
    background-size: 200% 200% !important;
    position: relative;
    overflow: hidden;
    animation: contactGradient 15s ease infinite;
}

@keyframes contactGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-item {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;

}

.contact-item:hover {
    transform: translateY(-4px) scale(1.02) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Footer - Professional Design */
.footer {
    background: linear-gradient(180deg, #0a0e1a 0%, #0f172a 100%) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

/* Orders CTA Section */
.orders-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
    background-size: 200% 200% !important;
    position: relative;
    overflow: hidden;
    animation: ctaGradient 12s ease infinite;
}

@keyframes ctaGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.orders-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Responsive Optimizations */
@media (max-width: 768px) {
    .car-card:hover {
        transform: translateY(-6px) scale(1.01) !important;
    }

    .logo-img {
        height: 46px !important;
        max-height: 46px !important;
        padding: 0 !important;
        margin-right: 8px;
    }

    .logo {
        font-size: 1.1rem !important;
        margin-right: 0 !important;
    }

    .logo span {
        font-size: 1.05rem !important;
    }

    .btn-primary,
    .filter-btn,
    .cta-btn {
        padding: 0.65rem 1.5rem !important;
        font-size: 0.85rem !important;
    }
    
    .btn-primary:hover,
    .filter-btn:hover,
    .cta-btn:hover {
        transform: translateY(-2px) scale(1.01) !important;
    }
}


/* ─────────────────────────────────────────────────────────
   EXPO MIR — UX Enhancements (header.js companion styles)
   ───────────────────────────────────────────────────────── */

/* Active nav link */
.nav a.active {
    color: #ffffff !important;
    font-weight: 700;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 2px;
}

/* Header scrolled shadow upgrade */
.header--scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* ── Scroll-to-top button ─────────────────────────────── */
#scrollTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
    color: #d4af37;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
#scrollTopBtn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#scrollTopBtn:hover {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.8);
}

/* ── Cart badge pulse ─────────────────────────────────── */
@keyframes cartPulse {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(212,175,55,0.7); }
    40%  { transform: scale(1.18); box-shadow: 0 0 0 8px rgba(212,175,55,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}
.cart-pulse {
    animation: cartPulse 0.5s ease-out forwards;
}

/* ── Mobile hamburger menu ───────────────────────────── */
#mobileMenuToggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 6px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    cursor: pointer;
    margin-left: 0.5rem;
    flex-shrink: 0;
}
#mobileMenuToggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
#mobileMenuToggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#mobileMenuToggle.active span:nth-child(2) { opacity: 0; }
#mobileMenuToggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    #mobileMenuToggle { display: flex; }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #374151 0%, #1f2937 100%);
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.25rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
        z-index: 999;
    }
    .nav.nav--open {
        display: flex;
    }
    .nav a {
        padding: 0.6rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav a:last-child { border-bottom: none; }
    .header-content {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative;
        padding: 0.65rem 0;
        gap: 0.5rem;
    }
    .header-actions { gap: 0.4rem; flex-shrink: 0; }
    #openRequestBtn { display: none; }
    /* Prevent background scroll when mobile nav is open */
    body.nav-open { overflow: hidden; }
}

/* ── Notification toast base (type colors via --success/--error modifiers below) */
.notification {
    border-left: 3px solid #d4af37;
}

/* ── Form focus ring improvement ─────────────────────── */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.6) !important;
}

/* ── Card hover shine effect ─────────────────────────── */
@keyframes cardShine {
    0%   { left: -120%; }
    100% { left: 120%; }
}
body.premium .car-card {
    overflow: hidden;
    position: relative;
}
body.premium .car-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
    pointer-events: none;
    transition: none;
}
body.premium .car-card:hover::after {
    animation: cardShine 0.6s ease forwards;
}

/* ── Smooth page load fade-in ─────────────────────────── */
@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
main, .catalog, .hero, section {
    animation: fadeInPage 0.4s ease both;
}



/* ═══════════════════════════════════════════════════════════
   EXPO MIR — Top-level UX (hero, why-us, whatsapp, footer)
   ═══════════════════════════════════════════════════════════ */

/* ── Site Hero ───────────────────────────────────────────── */
.site-hero {
    background: linear-gradient(135deg, #070d1a 0%, #0f172a 50%, #0a1628 100%);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}
.site-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(212,175,55,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.site-hero__content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.site-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.25;
    margin: 0;
}
.site-hero__accent {
    background: linear-gradient(90deg, #d4af37, #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.site-hero__subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    margin: 0.75rem 0 0;
    max-width: 560px;
    line-height: 1.6;
}
.site-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #0a0e1a;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(212,175,55,0.4);
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.55);
}
.btn-hero-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-hero-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.45);
}
.site-hero__stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}
.hero-stat__num {
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
}
.hero-stat__label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
@media (min-width: 768px) {
    .site-hero__content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .site-hero__text { max-width: 55%; }
    .site-hero__stats {
        flex-direction: column;
        gap: 1.25rem;
        align-items: flex-end;
    }
    .hero-stat { align-items: flex-end; }
}

/* ── Why Us Section ──────────────────────────────────────── */
.why-us {
    padding: 4rem 0;
    background: #0a0e1a;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.why-us__title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 2.5rem;
}
.why-us__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}
.why-card {
    background: linear-gradient(160deg, rgba(15,23,42,0.95), rgba(30,41,59,0.9));
    border: 1px solid rgba(148,163,184,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,0.35);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.why-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(212,175,55,0.12);
    border: 1px solid rgba(212,175,55,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #d4af37;
}
.why-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}
.why-card p {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.55;
}

/* ── WhatsApp floating button ────────────────────────────── */
#whatsappFloatBtn {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    z-index: 9998;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: waPulseRing 3s ease-out infinite;
}
#whatsappFloatBtn:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37,211,102,0.6);
}
#whatsappFloatBtn .fa-whatsapp { pointer-events: none; }
.wa-tooltip {
    position: absolute;
    right: 60px;
    background: #1f2937;
    color: #f1f5f9;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
#whatsappFloatBtn:hover .wa-tooltip { opacity: 1; }
@keyframes waPulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 4px 20px rgba(37,211,102,0.4); }
    70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0), 0 4px 20px rgba(37,211,102,0.4); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 4px 20px rgba(37,211,102,0.4); }
}

/* ── Footer improvements ─────────────────────────────────── */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8 !important;
    font-size: 1rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}
.footer-social a:hover {
    background: rgba(212,175,55,0.15) !important;
    color: #d4af37 !important;
    border-color: rgba(212,175,55,0.4) !important;
}
.footer-icon {
    margin-right: 0.5rem;
    color: #64748b;
    font-size: 0.85rem;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom__note {
    font-size: 0.8rem;
    color: #64748b !important;
}
.footer-section ul li { margin-bottom: 0.35rem; }
.footer-section ul li a,
.footer-section p a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-section ul li a:hover,
.footer-section p a:hover {
    color: #d4af37 !important;
}

/* ── Preconnect / font-display improvements ──────────────── */
@font-face {
    font-display: swap;
}

/* ── Better modal overlay ────────────────────────────────── */
.modal {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.modal-content {
    animation: modalSlideIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════════
   EXPO MIR — Wave 3: Testimonials, Mobile Nav, Skeleton,
                      Section titles, Contact CTA, Misc polish
   ═══════════════════════════════════════════════════════════ */

/* ── Shared section title style ─────────────────────────── */
.section-title {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
}

/* ── Testimonials section ────────────────────────────────── */
.testimonials {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, #070d1a 0%, #0a0e1a 100%);
    border-bottom: 1px solid rgba(212,175,55,0.1);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
@media (max-width: 640px) {
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }
    .testimonials-grid::-webkit-scrollbar { display: none; }
    .testimonial-card {
        flex: 0 0 82vw;
        scroll-snap-align: start;
    }
}
.testimonial-card {
    background: linear-gradient(160deg, rgba(15,23,42,0.97), rgba(22,33,56,0.95));
    border: 1px solid rgba(148,163,184,0.1);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,0.3);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.testimonial-stars {
    color: #f4d03f;
    font-size: 1rem;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.65;
    flex: 1;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b89324);
    color: #0a0e1a;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: #f1f5f9;
    font-weight: 600;
}
.testimonial-author span {
    font-size: 0.78rem;
    color: #64748b;
}

/* ── Contact section enhancements ───────────────────────── */
.contact {
    padding: 4rem 0;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.contact-cta-card {
    background: linear-gradient(160deg, rgba(15,23,42,0.97), rgba(22,33,56,0.9));
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.contact-cta-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.08));
    border: 1px solid rgba(212,175,55,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}
.contact-cta-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
}
.contact-cta-card p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.55;
}

/* ── Mobile bottom navigation ────────────────────────────── */
#mobileBottomNav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9995;
    background: linear-gradient(180deg, rgba(10,14,26,0.97) 0%, rgba(7,10,18,1) 100%);
    border-top: 1px solid rgba(212,175,55,0.15);
    padding: 0.5rem 0 env(safe-area-inset-bottom, 0.5rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
@media (max-width: 900px) {
    #mobileBottomNav { display: flex; }
    body { padding-bottom: 68px; }
    /* Push WhatsApp float above bottom nav */
    #whatsappFloatBtn { bottom: 5rem; }
    #scrollTopBtn,
    #backToTop { display: none !important; }
}
.mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.5rem 0;
    text-decoration: none;
    color: #475569;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
}
.mbn-item i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}
.mbn-item:hover,
.mbn-item:active {
    color: #d4af37;
}
.mbn-item:hover i { transform: translateY(-2px); }
.mbn-item--premium { color: #facc15 !important; }
.mbn-item--premium i { color: #facc15 !important; }
.mbn-item--cta {
    background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.08));
    border-radius: 10px;
    color: #d4af37 !important;
    margin: 0 0.12rem;
    border: 1px solid rgba(212,175,55,0.25) !important;
}
.mbn-item--cta:hover { background: rgba(212,175,55,0.28) !important; }
.mbn-active { color: #d4af37 !important; }
.mbn-active i { color: #d4af37 !important; }

/* ── Skeleton loading cards ──────────────────────────────── */
.skeleton-card {
    background: linear-gradient(160deg, rgba(15,23,42,0.95), rgba(30,41,59,0.9));
    border: 1px solid rgba(148,163,184,0.08);
    border-radius: 12px;
    overflow: hidden;
    animation: skeletonFade 0.3s ease;
}
.skeleton-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(90deg, #0f172a 25%, #1e293b 50%, #0f172a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
.skeleton-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.skeleton-line {
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, #0f172a 25%, #1e293b 50%, #0f172a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
.skeleton-line--short { width: 55%; }
.skeleton-line--price { width: 40%; height: 20px; margin-top: 0.25rem; }
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes skeletonFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Better scroll-to-top button ────────────────────────── */
#scrollTopBtn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212,175,55,0.9), rgba(180,147,36,0.9));
    color: #0a0e1a;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    z-index: 9997;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(212,175,55,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
#scrollTopBtn.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
#scrollTopBtn:hover {
    box-shadow: 0 8px 24px rgba(212,175,55,0.5);
    transform: translateY(-2px);
}

/* ── Floating subscribe Telegram widget ──────────────────── */
.floating-subscribe {
    position: fixed;
    bottom: 2rem;
    right: 6rem;
    z-index: 9990;
    max-width: 280px;
    background: linear-gradient(135deg, #1a2744 0%, #0f172a 100%);
    border: 1px solid rgba(42,171,238,0.3);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(42,171,238,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.floating-subscribe--hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}
.floating-subscribe__inner {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.floating-subscribe__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f1f5f9;
}
.floating-subscribe__title .fab { color: #2AABEE; margin-right: 0.35rem; }
.floating-subscribe__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #2AABEE, #1a8fd1);
    color: #fff !important;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-subscribe__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42,171,238,0.4);
}
.floating-subscribe__close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: #475569;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s ease;
}
.floating-subscribe__close:hover { color: #f1f5f9; }

/* ── Car card badge / tag ────────────────────────────────── */
.car-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #0a0e1a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}
.car-badge--new { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
.car-badge--hot { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }

/* ── Input number spin buttons hidden ───────────────────── */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

/* ── Improved scrollbar (desktop) ───────────────────────── */
@media (min-width: 768px) {
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: #0a0e1a; }
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #374151, #1f2937);
        border-radius: 3px;
    }
    ::-webkit-scrollbar-thumb:hover { background: #4b5563; }
}

/* ── Print styles ────────────────────────────────────────── */
@media print {
    .header, .floating-subscribe, #whatsappFloatBtn,
    #scrollTopBtn, #mobileBottomNav, .footer-social,
    .floating-wa, #backToTop, .scroll-progress,
    #mobileMenuToggle, .cart-btn, .header-actions { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .car-card { border: 1px solid #ccc !important; break-inside: avoid; }
    a[href]::after { content: ' (' attr(href) ')'; font-size: 0.8em; color: #555; }
    a[href^='tel:']::after, a[href^='javascript:']::after { content: '' !important; }
}

/* ═══════════════════════════════════════════════════════════
   EXPO MIR — Wave 4: Search, Sort, View Toggle, Favorites,
                       VIN copy, List view, Catalog toolbar
   ═══════════════════════════════════════════════════════════ */

/* ── Catalog toolbar (results count + sort + view toggle) ── */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(15,23,42,0.6), rgba(22,33,56,0.5));
    border: 1px solid rgba(148,163,184,0.1);
    border-radius: 10px;
    backdrop-filter: blur(8px);
}
.catalog-count {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}
.catalog-toolbar__right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ── Sort select ─────────────────────────────────────────── */
.sort-select {
    background: rgba(30,41,59,0.9) !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(148,163,184,0.15) !important;
    border-radius: 8px !important;
    padding: 0.4rem 2rem 0.4rem 0.75rem !important;
    font-size: 0.85rem !important;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%2394a3b8' d='M5 7L1 3h8z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.5rem center !important;
    transition: border-color 0.2s ease;
}
.sort-select:focus {
    border-color: rgba(212,175,55,0.5) !important;
    outline: none;
}
.sort-select:hover { border-color: rgba(148,163,184,0.3) !important; }

/* ── View toggle buttons ─────────────────────────────────── */
.view-toggle {
    display: flex;
    gap: 2px;
    background: rgba(15,23,42,0.8);
    border: 1px solid rgba(148,163,184,0.12);
    border-radius: 8px;
    padding: 2px;
}
.view-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #475569;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.view-btn.active {
    background: linear-gradient(135deg, #d4af37, #b89324);
    color: #0a0e1a;
}
.view-btn:hover:not(.active) {
    background: rgba(148,163,184,0.1);
    color: #94a3b8;
}

/* ── Search input in filters ─────────────────────────────── */
.filter-group--search { flex: 1 1 200px; min-width: 180px; }
.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 0.6rem;
    color: #9ca3af;
    font-size: 0.8rem;
    pointer-events: none;
}
.search-input-wrap input {
    padding-left: 2rem !important;
    width: 100%;
}

/* ── Reset filter button variant ────────────────────────── */
.filter-btn--reset {
    background: transparent !important;
    color: #64748b !important;
    border: 1px solid rgba(148,163,184,0.2) !important;
    box-shadow: none !important;
}
.filter-btn--reset:hover {
    background: rgba(148,163,184,0.08) !important;
    color: #94a3b8 !important;
    transform: translateY(-2px) !important;
    border-color: rgba(148,163,184,0.3) !important;
}

/* ── Favorites heart button ──────────────────────────────── */
.fav-btn {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(10,14,26,0.7);
    backdrop-filter: blur(6px);
    color: #475569;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.fav-btn:hover {
    background: rgba(239,68,68,0.15);
    color: #f87171;
    transform: scale(1.15);
}
.fav-btn--active {
    color: #ef4444 !important;
    background: rgba(239,68,68,0.15) !important;
}
.fav-btn--active i { animation: heartPop 0.3s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes heartPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* ── Favorites badge ─────────────────────────────────────── */
.fav-badge {
    display: none;
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 2px 6px rgba(239,68,68,0.5);
}
.fav-badge--visible { display: flex; }

/* ── VIN row with copy button ────────────────────────────── */
.vin-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.vin-link {
    color: #94a3b8 !important;
    text-decoration: none;
    font-size: 0.8rem;
    word-break: break-all;
}
.vin-link:hover { color: #d4af37 !important; }
.vin-copy-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background: rgba(148,163,184,0.1);
    color: #64748b;
    font-size: 0.7rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}
.vin-copy-btn:hover {
    background: rgba(212,175,55,0.15);
    color: #d4af37;
}

/* ── List view layout ────────────────────────────────────── */
.cars-grid--list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}
.cars-grid--list .car-card {
    flex-direction: row !important;
    border-radius: 12px !important;
    min-height: 0 !important;
    animation: fadeInUp 0.35s ease backwards !important;
}
.cars-grid--list .car-card:nth-child(n) { animation-delay: 0s !important; }
.cars-grid--list .car-image {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
    flex-shrink: 0 !important;
    border-radius: 12px 0 0 12px !important;
    aspect-ratio: unset !important;
}
.cars-grid--list .car-info {
    flex: 1 !important;
    padding: 1rem 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}
.cars-grid--list .car-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem 1rem;
    font-size: 0.82rem;
}
.cars-grid--list .car-actions {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.cars-grid--list .car-price {
    font-size: 1.2rem !important;
}
@media (max-width: 640px) {
    .cars-grid--list .car-card {
        flex-direction: column !important;
    }
    .cars-grid--list .car-image {
        width: 100% !important;
        max-width: none !important;
        height: 200px !important;
        border-radius: 12px 12px 0 0 !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   EXPO MIR — Wave 5: Calculator breakdown, calc-select,
                       modal polish, general UX refinements
   ═══════════════════════════════════════════════════════════ */

/* ── Calc select (age/origin dropdowns inside modals) ────── */
.calc-select {
    width: 100%;
    padding: 0.55rem 0.75rem;
    background: rgba(15,23,42,0.95) !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(148,163,184,0.2) !important;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%2394a3b8' d='M5 7L1 3h8z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.65rem center !important;
    transition: border-color 0.2s ease;
}
.calc-select:focus {
    border-color: rgba(212,175,55,0.5) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

/* ── Calculator result breakdown table ──────────────────── */
.calc-breakdown {
    margin-top: 1.25rem;
    background: linear-gradient(160deg, rgba(15,23,42,0.98), rgba(22,33,56,0.95));
    border: 1px solid rgba(148,163,184,0.12);
    border-radius: 12px;
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
}
.calc-breakdown__title {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.08));
    border-bottom: 1px solid rgba(212,175,55,0.2);
    font-size: 0.85rem;
    font-weight: 700;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.calc-breakdown__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(148,163,184,0.06);
    font-size: 0.875rem;
    color: #94a3b8;
}
.calc-breakdown__row:last-of-type { border-bottom: none; }
.calc-breakdown__row--sub {
    padding-left: 1.75rem;
    font-size: 0.82rem;
    color: #64748b;
}
.calc-breakdown__row--sub::before {
    content: '↳';
    margin-left: -1rem;
    margin-right: 0.4rem;
    color: #475569;
}
.calc-breakdown__row span:last-child {
    text-align: right;
    flex-shrink: 0;
    color: #cbd5e1;
    font-variant-numeric: tabular-nums;
}
.calc-breakdown__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06));
    border-top: 1px solid rgba(212,175,55,0.25);
    font-size: 0.9rem;
    font-weight: 600;
    color: #f1f5f9;
}
.calc-breakdown__total span:last-child {
    color: #d4af37;
    font-size: 1rem;
}
.calc-breakdown__note {
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
    color: #475569;
    border-top: 1px solid rgba(148,163,184,0.06);
    line-height: 1.5;
}
.calc-breakdown__note i {
    color: #64748b;
    margin-right: 0.35rem;
}

/* ── Calc loading / error states ─────────────────────────── */
.calc-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    color: #64748b;
    font-size: 0.875rem;
}
.calc-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #f87171;
    font-size: 0.875rem;
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 8px;
    margin-top: 0.75rem;
}

/* ── Modal polish (larger content area, smoother) ────────── */
.modal-content {
    max-height: 92vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #374151 transparent;
}
.modal-content::-webkit-scrollbar { width: 4px; }
.modal-content::-webkit-scrollbar-thumb { background: #374151; border-radius: 2px; }

/* ── Calc form row improvements ──────────────────────────── */
.calc-form .calc-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}
.calc-form .calc-row label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.calc-form input[type="number"],
.calc-form input[type="text"] {
    padding: 0.55rem 0.75rem;
    background: rgba(15,23,42,0.9) !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(148,163,184,0.2) !important;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.calc-form input:focus {
    border-color: rgba(212,175,55,0.5) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.08) !important;
}
.calc-actions {
    margin-top: 0.5rem;
}
.calc-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem !important;
}

/* ── Self-calc modal header ───────────────────────────────── */
#selfCalcModal .modal-header h3 {
    font-size: 1rem;
    line-height: 1.45;
    color: #f1f5f9;
}
#selfCalcModal .modal-body p a {
    color: #d4af37 !important;
    text-decoration: none;
    font-weight: 500;
}
#selfCalcModal .modal-body p a:hover {
    text-decoration: underline;
}

/* ── Request modal form improvements ────────────────────── */
.request-form__contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}
.request-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.request-form__field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.calc-row--full { grid-column: 1 / -1; }
.calc-actions--full { justify-content: flex-start; }

/* ── Improved notification toast ─────────────────────────── */
.notification {
    position: fixed;
    bottom: 5.5rem;
    right: 1.25rem;
    z-index: 99999;
    max-width: 320px;
    background: linear-gradient(135deg, rgba(15,23,42,0.97), rgba(22,33,56,0.95));
    border: 1px solid rgba(148,163,184,0.15);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    color: #f1f5f9;
    font-size: 0.875rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: slideInRight 0.3s cubic-bezier(0.34,1.56,0.64,1);
    backdrop-filter: blur(12px);
}
.notification.hiding {
    animation: slideOutRight 0.3s ease forwards;
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100%); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(100%); }
}

/* ── Header banner improvements ──────────────────────────── */
.header-info-banner {
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(180,147,36,0.1));
    border-bottom: 1px solid rgba(212,175,55,0.2);
    padding: 0.5rem 0;
    text-align: center;
}
.header-info-banner-text {
    font-size: 0.82rem;
    color: #cbd5e1;
    letter-spacing: 0.01em;
}
.header-info-banner-text strong {
    color: #d4af37;
    font-weight: 700;
}

/* ── Car card — fuel/transmission badges ─────────────────── */
.car-badge--fuel { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; }
.car-badge--trans { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; }

/* ── Price display in catalog count ──────────────────────── */
#catalogCount strong { color: #d4af37; }

/* ── Spinner for loading states ──────────────────────────── */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.fa-spin { animation: spin 1s linear infinite; }

/* ── Better car-info padding in list view ────────────────── */
.cars-grid--list .car-info { min-height: 0 !important; }

/* ═══════════════════════════════════════════════════════════
   EXPO MIR — Wave 6: Premium car-detail modal, WhatsApp/
                       Telegram buttons, notification types
   ═══════════════════════════════════════════════════════════ */

/* ── Car detail modal layout ─────────────────────────────── */
.car-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.car-detail__gallery { border-radius: 12px; overflow: hidden; }

.car-detail__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Specs 2×2 grid */
.car-detail__spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.car-detail__spec {
    background: rgba(30,41,59,0.8);
    border: 1px solid rgba(148,163,184,0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.car-detail__spec-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.car-detail__spec-label i { margin-right: 0.3rem; }
.car-detail__spec-value {
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
}

/* VIN row */
.car-detail__vin {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    background: rgba(15,23,42,0.8);
    border: 1px solid rgba(148,163,184,0.1);
    border-radius: 10px;
    font-size: 0.875rem;
    flex-wrap: wrap;
}
.car-detail__vin .car-detail__spec-label { flex-shrink: 0; }

/* Price box */
.car-detail__price-box {
    background: linear-gradient(135deg, rgba(15,23,42,0.98), rgba(22,33,56,0.95));
    border: 1px solid rgba(148,163,184,0.12);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}
.car-detail__sold-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.35);
    border-radius: 6px;
    color: #f87171;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}
.car-detail__price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #d4af37;
    line-height: 1;
}
.car-detail__price-note {
    font-size: 0.82rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Action buttons row */
.car-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.car-detail__actions .btn-primary,
.car-detail__actions .btn-secondary {
    font-size: 0.88rem !important;
}

/* WhatsApp button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: #25d366;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.btn-whatsapp:hover {
    background: #1ebe5e;
    transform: translateY(-1px);
    color: #fff !important;
}
.btn-whatsapp .fab { font-size: 1rem; }

/* Telegram button */
.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: #0088cc;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.btn-telegram:hover {
    background: #0077b3;
    transform: translateY(-1px);
    color: #fff !important;
}

/* "Calculate cost" link button */
.car-detail__calc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px dashed rgba(212,175,55,0.35);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.82rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
}
.car-detail__calc-btn:hover {
    border-color: rgba(212,175,55,0.6);
    color: #d4af37;
}
.car-detail__calc-btn i { color: #d4af37; }

/* Large screen: side-by-side gallery + body */
@media (min-width: 768px) {
    .car-detail {
        flex-direction: row;
        align-items: flex-start;
    }
    .car-detail__gallery { flex: 0 0 52%; }
    .car-detail__body    { flex: 1; }
}

/* ── Notification type modifiers ─────────────────────────── */
.notification--success { border-left: 3px solid #10b981; }
.notification--error   { border-left: 3px solid #ef4444; }
.notification--info    { border-left: 3px solid #3b82f6; }
.notification--warning { border-left: 3px solid #f59e0b; }

.notification--success i { color: #10b981; }
.notification--error   i { color: #ef4444; }
.notification--info    i { color: #3b82f6; }
.notification--warning i { color: #f59e0b; }

/* Wider car modal for the new layout */
.car-modal {
    max-width: 900px !important;
    width: 95vw !important;
}

/* ═══════════════════════════════════════════════════════════
   EXPO MIR — Wave 7: Scroll progress, back-to-top, checkout
                       modal, cart polish, model filter, misc
   ═══════════════════════════════════════════════════════════ */

/* ── Scroll progress bar ─────────────────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 60%, #d4af37 100%);
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 100000;
    pointer-events: none;
    transition: transform 0.08s linear;
}

/* ── Back-to-top button ──────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 5.5rem;
    right: 1.35rem;
    z-index: 9998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    border: none;
    color: #0b1220;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px) scale(0.85);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(212,175,55,0.35);
}
.back-to-top--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.back-to-top:hover {
    box-shadow: 0 6px 24px rgba(212,175,55,0.55);
    transform: translateY(-3px) scale(1.05);
}

/* ── Checkout modal premium styles ──────────────────────── */
.checkout-modal { max-width: 500px !important; }

.checkout-summary { margin-bottom: 1.25rem; }
.checkout-summary__inner {
    background: rgba(15,23,42,0.95);
    border: 1px solid rgba(148,163,184,0.12);
    border-radius: 10px;
    overflow: hidden;
}
.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(148,163,184,0.06);
    font-size: 0.875rem;
    color: #94a3b8;
}
.checkout-summary__row span:last-child { color: #f1f5f9; white-space: nowrap; }
.checkout-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06));
    font-size: 0.9rem;
    font-weight: 700;
    color: #f1f5f9;
}
.checkout-summary__total span:last-child { color: #d4af37; }

.checkout-submit-btn {
    flex: 1;
    justify-content: center;
    gap: 0.5rem;
}
.checkout-note {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.checkout-note i { color: #10b981; }

/* ── Cart empty + include note ───────────────────────────── */
.cart-empty {
    text-align: center;
    color: #64748b;
    padding: 2.5rem 1rem;
    font-size: 0.9rem;
}
.cart-include-note {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #10b981;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}
.cart-include-note i { flex-shrink: 0; }
.cart-item-meta {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0.15rem 0 0;
}

/* ── Cart modal footer layout ────────────────────────────── */
.cart-total strong {
    font-size: 1rem;
    color: #f1f5f9;
}
.cart-total strong #cartTotal { color: #d4af37; }

/* ── Model filter pill animation ────────────────────────── */
#modelFilter {
    transition: opacity 0.2s ease;
}
#modelFilter.updating { opacity: 0.5; pointer-events: none; }

/* ── Catalog toolbar count ───────────────────────────────── */
.catalog-count {
    font-size: 0.875rem;
    color: #64748b;
}
.catalog-count strong { color: #d4af37; font-weight: 700; }

/* ── Hero stat live count pulse ─────────────────────────── */
@keyframes statPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.06); color: #f4d03f; }
    100% { transform: scale(1); }
}
.hero-stat__num--updated { animation: statPulse 0.6s ease; }

/* ── Floating subscribe banner ───────────────────────────── */
.floating-subscribe {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 9997;
    max-width: 280px;
}
.floating-subscribe__inner {
    background: linear-gradient(135deg, rgba(0,136,204,0.95), rgba(0,100,160,0.95));
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: slideInLeft 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.floating-subscribe--hidden { display: none !important; }
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100%); }
    to   { opacity: 1; transform: translateX(0); }
}
.floating-subscribe__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.floating-subscribe__title .fab { font-size: 1rem; }
.floating-subscribe__link {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
}
.floating-subscribe__link:hover { background: rgba(255,255,255,0.25); }
.floating-subscribe__close {
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.1rem 0.25rem;
}
.floating-subscribe__close:hover { color: #fff; }

/* Floating subscribe position fix for mobile (above back-to-top) */
@media (max-width: 500px) {
    .floating-subscribe { bottom: 5.5rem; left: 0.75rem; max-width: calc(100vw - 4rem); }
    .back-to-top { bottom: 5rem; }
}

/* ── Why-us card entrance animation ─────────────────────── */
.why-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(212,175,55,0.12);
}

/* ── Testimonial card hover ──────────────────────────────── */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}

/* ── Floating WhatsApp CTA button ───────────────────────── */
.floating-wa {
    position: fixed;
    bottom: 1.5rem;
    right: 1.35rem;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #25d366;
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    padding: 0.65rem 1.1rem 0.65rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.2s ease;
    animation: waPulse 3.5s ease-in-out infinite;
}
.floating-wa .fab { font-size: 1.25rem; line-height: 1; }
.floating-wa:hover,
.floating-wa:focus-visible {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.58);
    color: #fff !important;
    outline: none;
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42); }
    50%       { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7); }
}
@media (max-width: 500px) {
    .floating-wa { padding: 0.72rem; border-radius: 50%; bottom: 1.25rem; right: 1rem; }
    .floating-wa__label { display: none; }
    .back-to-top { bottom: 8.5rem; right: 1rem; }
}

/* ── Scroll-reveal animation ────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .back-to-top,
    .floating-subscribe,
    .floating-wa {
        animation: none;
        transition: none;
    }
}

/* ── Request status messages ────────────────────────────── */
.request-status {
    display: block;
    margin-top: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}
.request-status--success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}
.request-status--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}
.request-status i { margin-right: 0.4rem; }

/* ── Wave 9 additions ─────────────────────────────────────────── */

/* request-status: hidden by default, shown when type class is added */
.request-status:not(.request-status--success):not(.request-status--error) { display: none; }

/* Contact social icon colours */
.icon-wa { color: #25d366; }
.icon-tg { color: #2AABEE; }

/* Contact CTA button — removes need for inline styles */
.btn-contact-cta {
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Self-calc modal subtitle */
.selfcalc-subtitle {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.5;
    border-left: 3px solid rgba(212,175,55,0.5);
    padding-left: 0.75rem;
}

/* Header compact on scroll */
.header {
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease !important;
}
.header--scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.45) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}
.header--scrolled .header-content {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}
.header--scrolled .logo-img {
    height: 48px !important;
    max-height: 48px !important;
}
body.premium .header--scrolled {
    background: rgba(7,13,26,0.98) !important;
    border-bottom-color: rgba(212,175,55,0.2) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #0b1220; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af37 0%, #b8962e 100%);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #f4d03f; }
* { scrollbar-width: thin; scrollbar-color: #d4af37 #0b1220; }

/* Text selection */
::selection { background: rgba(212,175,55,0.35); color: #fff; }
::-moz-selection { background: rgba(212,175,55,0.35); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   EXPO MIR — Wave 12: Accessibility, UX, Performance
   ═══════════════════════════════════════════════════════════ */

/* ── Skip-to-content link ────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 10000;
    background: #d4af37;
    color: #0a0e1a;
    padding: 0.55rem 1.4rem;
    border-radius: 0 0 10px 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: top 0.18s cubic-bezier(0.4,0,0.2,1);
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #0a0e1a;
    outline-offset: 2px;
}

/* ── Focus-visible keyboard navigation rings ─────────────── */
:focus-visible {
    outline: 2px solid #d4af37 !important;
    outline-offset: 3px !important;
    border-radius: 3px;
}
/* Hide default focus ring for mouse users */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
    outline: none;
}

/* ── Scroll margin for anchored sections (sticky header) ─── */
#catalog,
#contact,
section[id] {
    scroll-margin-top: 92px;
}

/* ── Catalog empty state ─────────────────────────────────── */
.catalog-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text, #f1f5f9);
    animation: fadeInUp 0.4s ease both;
}
.catalog-empty-state__icon {
    font-size: 3.5rem;
    color: var(--accent, #d4af37);
    margin-bottom: 1.25rem;
    opacity: 0.65;
}
.catalog-empty-state__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.catalog-empty-state__text {
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 44ch;
    line-height: 1.6;
}
.catalog-empty-state__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.catalog-empty-state__btn {
    min-width: 180px;
}

/* ── Modal ARIA: subtle focus indicator inside modals ────── */
.modal:focus-within .modal-content {
    box-shadow:
        0 20px 60px rgba(0,0,0,0.6),
        0 0 0 2px rgba(212,175,55,0.18);
}

/* ── Improved modal backdrop (darker) ───────────────────── */
.modal {
    background: rgba(0,0,0,0.72) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
}

/* ── Fade-in animation (reusable) ───────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── cart-empty better styling ───────────────────────────── */
.cart-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #94a3b8;
    font-size: 1rem;
}
.cart-empty::before {
    content: '\f07a';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
    font-weight: 900;
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.4;
    color: #d4af37;
}

/* Car card hover lift (enhance) */
.car-card {
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
}
.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,175,55,0.15);
}

/* Hero stat counter number styling */
.hero-stat__num {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s;
}

/* ═══════════════════════════════════════════════════════════
   EXPO MIR — Wave 13: prefers-reduced-motion, hover guards,
                        touch-action, performance polish
   ═══════════════════════════════════════════════════════════ */

/* ── prefers-reduced-motion: kill all infinite / entrance animations ── */
@media (prefers-reduced-motion: reduce) {
    /* Hero gradient & glow */
    .hero,
    .hero::before { animation: none !important; }

    /* Section background gradients */
    .contact,
    .orders-cta { animation: none !important; }

    /* Currency / language selector gradient */
    .currency-select,
    .language-select,
    select.currency-select,
    select.language-select { animation: none !important; }

    /* Page & section entrance */
    main, .catalog, .hero, section { animation: none !important; }

    /* Car card entrance stagger */
    .car-card { animation: none !important; opacity: 1 !important; }
    .car-card:nth-child(n) { animation-delay: 0s !important; }

    /* Card shine sweep */
    body.premium .car-card:hover::after { animation: none !important; }

    /* Skeleton shimmer */
    .skeleton-img,
    .skeleton-line {
        animation: none !important;
        background: rgba(30,41,59,0.5) !important;
    }

    /* Modal slide-in */
    .modal-content { animation: none !important; }

    /* Catalog empty-state entrance */
    .catalog-empty-state { animation: none !important; }

    /* Calculator breakdown entrance */
    .calc-breakdown { animation: none !important; }

    /* Floating subscribe slide-in */
    .floating-subscribe__inner { animation: none !important; }

    /* WhatsApp pulse rings */
    #whatsappFloatBtn,
    .floating-wa { animation: none !important; }

    /* Cart badge pulse */
    .cart-pulse { animation: none !important; }

    /* LED info banner */
    .header-info-banner { animation: none !important; }
    .header-info-banner::before { animation: none !important; }

    /* Scroll-reveal – ensure elements stay visible */
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── hover: none — disable lift/scale transforms on touch screens ── */
@media (hover: none) {
    /* Car cards: skip 3D tilt on touch */
    .car-card:hover {
        transform: none !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.2) !important;
    }

    /* Primary / filter / CTA buttons */
    .btn-primary:hover,
    .filter-btn:hover,
    .cta-btn:hover {
        transform: none !important;
    }

    /* Secondary button */
    .btn-secondary:hover { transform: none !important; }

    /* Contact items */
    .contact-item:hover { transform: none !important; }

    /* Why-us & testimonial cards */
    .why-card:hover,
    .testimonial-card:hover { transform: none !important; }

    /* Currency / language selectors */
    select.currency-select:hover,
    select.language-select:hover { transform: none !important; }
}

/* ── touch-action: prevent 300 ms tap delay on interactive controls ── */
button,
a,
.btn-primary,
.btn-secondary,
.filter-btn,
.cta-btn,
.fav-btn,
.view-btn,
.mbn-item,
.gallery-arrow,
.vin-copy-btn,
.cart-btn,
.floating-subscribe__close,
.floating-subscribe__link,
.floating-wa,
#backToTop,
#scrollTopBtn {
    touch-action: manipulation;
}

/* ── font-size safety: never go below readable size on form inputs ── */
input,
select,
textarea {
    font-size: max(1rem, 16px);
}

/* ── Text selection — premium gold highlight ─────────────────────── */
::selection {
    background: #d4af37;
    color: #0b1220;
}
::-moz-selection {
    background: #d4af37;
    color: #0b1220;
}

/* ── Print styles ────────────────────────────────────────────────── */
@media print {
    .header,
    footer,
    .floating-wa,
    #whatsappFloatBtn,
    #backToTop,
    #scrollTopBtn,
    #mobileBottomNav,
    .floating-subscribe,
    .cart-btn,
    .filter-btn,
    .view-toggle,
    .sort-select,
    #mobileMenuToggle {
        display: none !important;
    }
    body,
    body.premium {
        background: #fff !important;
        color: #111 !important;
    }
    a {
        color: #111 !important;
        text-decoration: underline !important;
    }
    .car-card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }
    .car-image {
        height: 200px !important;
        min-height: 200px !important;
    }
    .modal {
        display: none !important;
    }
}

/* ======================================================
   KOREA CARDS — REDESIGNED (Wave 15)
   ====================================================== */

/* Banner calc button */
.banner-calc-btn {
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.4);
    color: #d4af37;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 12px;
    transition: background 0.2s;
}
.banner-calc-btn:hover { background: rgba(212,175,55,0.25); }

.korea-card__img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: #131e2e;
    aspect-ratio: 16/9;
}
.korea-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.korea-card:hover .korea-card__img-wrap img {
    transform: scale(1.04);
}
.korea-card__brand-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(11,18,32,0.82);
    color: #d4af37;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(212,175,55,0.35);
    backdrop-filter: blur(4px);
}
.korea-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.kbadge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: 20px;
}
.kbadge--new {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.3);
}
.kbadge--ok {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,0.3);
}
.kbadge--util {
    background: rgba(212,175,55,0.12);
    color: #d4af37;
    border: 1px solid rgba(212,175,55,0.3);
}
.korea-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 10px;
    line-height: 1.35;
}
.kspec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 8px;
}
.kspec-item {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.3;
}
.kspec-icon {
    color: #d4af37;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.kspec-key {
    color: #7a8599;
    font-size: 0.72rem;
    white-space: nowrap;
}
.kspec-val {
    color: #cbd5e1;
    font-size: 0.78rem;
}
.kspec-list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}
.korea-extra-price {
    background: rgba(251,191,36,0.08);
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 0.78rem;
    color: #fbbf24;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.korea-extra-price i { opacity: 0.7; flex-shrink: 0; }
.korea-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.korea-card__src-link {
    color: #4b5563;
    font-size: 0.9rem;
    transition: color 0.2s;
    flex-shrink: 0;
}
.korea-card__src-link:hover { color: #d4af37; }
@media (max-width: 320px) {
    .kspec-list { grid-template-columns: 1fr; }
}

/* ======================================================
   COUNTRY SHOWCASE CARDS (Wave 15 — index landing page)
   ====================================================== */
.countries-section {
    padding: 64px 0;
    background: var(--bg-secondary, #0f172a);
}
.countries-section .section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 12px;
}
.countries-section .section-subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 1rem;
    margin: 0 0 40px;
}
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.country-card {
    background: linear-gradient(145deg, #131e2e, #0f1829);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 28px 20px 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}
.country-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.country-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212,175,55,0.35);
    box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.country-card:hover::before { opacity: 1; }

/* ======================================================
   TELEGRAM OFFERS MONITOR
   ====================================================== */
.telegram-offers-section {
    padding: 64px 0;
    background: #0b1220;
}
.telegram-offers-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.telegram-offers-head .section-title,
.telegram-offers-head .section-subtitle {
    text-align: left;
}
.telegram-offers-head__btn { white-space: nowrap; }
.telegram-offers-meta {
    color: #94a3b8;
    font-size: .9rem;
    margin-bottom: 1.25rem;
}
.telegram-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.telegram-offer-card {
    background: #111c2e;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 12px;
    overflow: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.telegram-offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, .35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
}
.telegram-offer-card__gallery {
    position: relative;
    background: #050914;
}
.telegram-offer-card__image {
    width: 100%;
    aspect-ratio: 16 / 11;
    background: #050914;
    object-fit: cover;
    display: block;
}
.telegram-offer-card__nav {
    position: absolute;
    top: 50%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(5, 9, 20, .74);
    color: #f8fafc;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.telegram-offer-card__nav:hover {
    background: rgba(212, 175, 55, .88);
    border-color: rgba(212, 175, 55, .95);
    color: #07111f;
}
.telegram-offer-card__nav--prev { left: .55rem; }
.telegram-offer-card__nav--next { right: .55rem; }
.telegram-offer-card__counter {
    position: absolute;
    right: .55rem;
    bottom: .55rem;
    border-radius: 999px;
    background: rgba(5, 9, 20, .78);
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    padding: .22rem .55rem;
}
.telegram-offer-card__body {
    padding: .9rem;
    display: flex;
    flex-direction: column;
    gap: .58rem;
    flex: 1;
}
.telegram-offer-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.telegram-offer-card__source,
.telegram-offer-card__region {
    color: #facc15;
    font-size: .8rem;
    font-weight: 800;
}
.telegram-offer-card__title {
    color: #fff;
    font-size: 1.04rem;
    line-height: 1.25;
    margin: 0;
}
.telegram-offer-card__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
}
.telegram-offer-card__spec {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: 7px;
    background: rgba(15, 23, 42, .74);
    padding: .45rem .5rem;
}
.telegram-offer-card__spec span {
    display: block;
    color: #a9b8cc;
    font-size: .7rem;
    line-height: 1.1;
}
.telegram-offer-card__spec b {
    display: block;
    margin-top: .18rem;
    color: #ffffff;
    font-size: .82rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.telegram-offer-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.telegram-offer-card__chip {
    border: 1px solid rgba(148, 163, 184, .36);
    border-radius: 999px;
    color: #e5eefb;
    font-size: .76rem;
    padding: .25rem .55rem;
    background: rgba(15, 23, 42, .62);
}
.telegram-offer-card__price {
    color: #facc15;
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: 0;
}
.telegram-offer-card__text {
    color: #c9d5e6;
    font-size: .86rem;
    line-height: 1.42;
}
.telegram-offer-card__actions {
    display: flex;
    gap: .5rem;
    margin-top: auto;
}
.telegram-offer-card__actions a,
.telegram-offer-card__actions button {
    flex: 1;
    min-height: 38px;
    border-radius: 7px;
    border: 1px solid rgba(212, 175, 55, .35);
    background: rgba(212, 175, 55, .12);
    color: #f8fafc;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    text-decoration: none;
    font-size: .82rem;
}

@media (max-width: 700px) {
    .telegram-offers-head {
        align-items: stretch;
        flex-direction: column;
    }
}
.country-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(212,175,55,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #d4af37;
    border: 1px solid rgba(212,175,55,0.2);
    transition: background 0.3s;
}
.country-card:hover .country-card__icon { background: rgba(212,175,55,0.2); }
.country-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
}
.country-card__desc {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}
.country-card__count {
    font-size: 0.73rem;
    color: #d4af37;
    font-weight: 600;
    background: rgba(212,175,55,0.1);
    padding: 3px 10px;
    border-radius: 12px;
}

/* ======================================================
   GEORGIA CATALOG PAGE HERO (Wave 15)
   ====================================================== */
.catalog-page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #131e2e 100%);
    border-bottom: 1px solid rgba(212,175,55,0.15);
    padding: 32px 0 28px;
}
.catalog-page-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.catalog-page-hero__text h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 6px;
}
.catalog-page-hero__text p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}
.catalog-page-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ======================================================
   WAVE 16 — UX Polish
   ====================================================== */

/* Keyboard focus ring — visible only on keyboard nav */
:focus-visible {
    outline: 2px solid rgba(212, 175, 55, 0.7);
    outline-offset: 3px;
    border-radius: 4px;
}
:focus:not(:focus-visible) {
    outline: none;
}

/* Telegram offer card action button hover */
.telegram-offer-card__actions a:hover,
.telegram-offer-card__actions button:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: rgba(212, 175, 55, 0.6);
}

/* Mobile: hero stats center-align on small screens */
@media (max-width: 480px) {
    .site-hero__stats {
        justify-content: center;
    }
    .hero-stat {
        align-items: center;
        text-align: center;
    }
    .site-hero__text { max-width: 100%; }
    .site-hero__subtitle { font-size: 0.95rem; }
}

/* Premium catalog: compact, restrained catalogue UI. */
body.premium-page .premium-hero {
    padding: 56px 0 44px;
    background: #09111f;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

body.premium-page .premium-hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
}

body.premium-page .premium-hero h1 {
    max-width: 700px;
    margin: 6px 0 10px;
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    line-height: 1;
}

body.premium-page .premium-hero p:not(.premium-eyebrow) {
    max-width: 550px;
    margin: 0;
    font-size: 1.04rem;
}

body.premium-page .premium-hero__actions { margin-top: 24px; }

body.premium-page .premium-hero__panel {
    width: auto;
    min-width: 230px;
    padding: 22px 24px;
    border-radius: 8px;
    background: #101927;
    border: 1px solid rgba(212, 175, 55, 0.36);
    box-shadow: none;
}

body.premium-page .premium-hero__panel strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

body.premium-page .premium-hero__panel span { color: #facc15; font-weight: 700; }

body.premium-page .premium-catalog { padding: 42px 0 88px; }
body.premium-page .premium-catalog__head { margin-bottom: 20px; }
body.premium-page .premium-catalog__head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
body.premium-page .premium-count { border-radius: 999px; padding: 8px 14px; }

.premium-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(140px, 1fr));
    gap: 12px;
    align-items: end;
    margin: 0 0 26px;
    padding: 16px;
    border: 1px solid #27344a;
    border-radius: 8px;
    background: #111a2a;
}

.premium-filter { min-width: 0; }
.premium-filter--search { grid-column: span 2; }
.premium-filter label {
    display: block;
    margin: 0 0 6px;
    color: #b7c4d8;
    font-size: 0.76rem;
    font-weight: 700;
}

.premium-filter input,
.premium-filter select {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 11px;
    border: 1px solid #2d3b52;
    border-radius: 6px;
    background: #0b1322;
    color: #f8fafc;
    font: inherit;
}

.premium-filter input:focus,
.premium-filter select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.premium-filter__apply,
.premium-filter__reset {
    height: 42px;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.premium-filter__apply {
    padding: 0 18px;
    border: 1px solid #d4af37;
    background: #d4af37;
    color: #101827;
}

.premium-filter__reset {
    width: 42px;
    border: 1px solid #3a4960;
    background: transparent;
    color: #cbd5e1;
}

body.premium-page .premium-card {
    border-radius: 8px;
    border-color: #2a374c;
    box-shadow: none;
}

body.premium-page .premium-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26); }

.premium-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #050913;
    touch-action: pan-y;
    user-select: none;
}

.premium-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.premium-card__gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(7, 12, 22, 0.76);
    color: #fff;
    cursor: pointer;
}

.premium-card__gallery-nav--prev { left: 10px; }
.premium-card__gallery-nav--next { right: 10px; }
.premium-card__gallery-nav:hover { border-color: #d4af37; color: #facc15; }

.premium-card__photo-count {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 5px;
    background: rgba(7, 12, 22, 0.74);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
}

.premium-card__gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    z-index: 2;
    display: flex;
    gap: 4px;
    transform: translateX(-50%);
}

.premium-card__gallery-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.45); }
.premium-card__gallery-dots i.is-active { background: #facc15; }

@media (max-width: 900px) {
    .premium-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .premium-filter--search { grid-column: span 3; }
}

@media (max-width: 640px) {
    body.premium-page .premium-hero { padding: 30px 0 26px; }
    body.premium-page .premium-hero__inner { grid-template-columns: 1fr; gap: 16px; }
    body.premium-page .premium-hero h1 { font-size: 2.25rem; }
    body.premium-page .premium-hero__panel { min-width: 0; padding: 14px 16px; }
    .premium-filters { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
    .premium-filter--search { grid-column: span 2; }
    .premium-filter input, .premium-filter select { height: 40px; }
    .premium-filter__apply { grid-column: span 1; }
    body.premium-page .premium-catalog { padding-top: 28px; }
}

/* Countries grid: ensure wraps cleanly on narrow screens */
@media (max-width: 480px) {
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .country-card {
        padding: 20px 12px 18px;
    }
}

/* Better telegram offers section heading on mobile */
@media (max-width: 480px) {
    .telegram-offers-section { padding: 40px 0; }
    .countries-section { padding: 40px 0; }
    .why-us { padding: 2.5rem 0; }
    .testimonials { padding: 3rem 0; }
}

/* ======================================================
   MOBILE HOME UX COMPACT HEADER (2026-06-18)
   ====================================================== */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 92px;
    }

    body.premium {
        padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
        overflow-x: hidden;
    }

    body.premium .header {
        background: rgba(96, 106, 121, 0.96) !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.18) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    body.premium .header .container {
        padding: 0 14px;
    }

    body.premium .header-content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 74px 42px 42px 42px;
        grid-template-areas:
            "logo lang calc cart menu"
            "nav nav nav nav nav";
        align-items: center;
        gap: 8px;
        padding: 9px 0 8px !important;
        min-height: 0;
    }

    body.premium .logo {
        grid-area: logo;
        justify-self: start;
        min-width: 0;
        margin: 0;
        padding-bottom: 4px;
        border-bottom-width: 2px;
    }

    body.premium .logo-img,
    body.premium .header--scrolled .logo-img {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        margin-right: 8px;
        object-fit: contain;
    }

    body.premium .logo span {
        max-width: 138px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 1.28rem;
        line-height: 1;
    }

    body.premium .header-actions {
        display: contents;
    }

    body.premium .language-selector {
        grid-area: lang;
        margin: 0;
    }

    body.premium .language-select {
        width: 74px;
        min-width: 74px;
        height: 42px;
        padding: 0 28px 0 13px;
        border-radius: 12px;
        font-size: 0.8rem;
    }

    body.premium .customs-toolbar-btn {
        grid-area: calc;
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 0;
        border-radius: 12px;
    }

    body.premium .cart-btn {
        grid-area: cart;
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 0;
        border-radius: 12px;
    }

    body.premium .cart-count {
        top: -8px;
        right: -8px;
        min-width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    body.premium #openRequestBtn {
        display: none !important;
    }

    body.premium #mobileMenuToggle {
        grid-area: menu;
        position: static;
        width: 42px;
        height: 42px;
        margin: 0;
        border-radius: 12px;
        background: rgba(15, 23, 42, 0.22);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: none;
    }

    body.premium #mobileMenuToggle span {
        width: 19px;
        height: 2px;
        background: #f8fafc;
    }

    body.premium .nav {
        grid-area: nav;
        display: none;
        width: 100%;
        margin: 0;
        padding: 8px 0 2px;
        gap: 7px;
        justify-content: center;
        overflow-x: auto;
        scrollbar-width: none;
    }

    body.premium .nav::-webkit-scrollbar {
        display: none;
    }

    body.premium .nav.nav--open {
        display: flex;
    }

    body.premium .nav a {
        flex: 0 0 auto;
        padding: 7px 10px;
        border: 1px solid rgba(226, 232, 240, 0.2);
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.34);
        font-size: 0.8rem;
        line-height: 1;
    }

    body.premium .nav a::after {
        display: none;
    }

    body.premium #main-content {
        padding-top: 80px;
    }

    body.premium .header-info-banner {
        display: none;
    }

    body.premium .telegram-offers-section {
        padding: 18px 0 calc(96px + env(safe-area-inset-bottom, 0px));
        scroll-margin-top: 92px;
    }

    body.premium .telegram-offers-section .container {
        padding: 0 16px;
    }

    body.premium .telegram-offers-head {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 14px;
    }

    body.premium .telegram-offers-head .section-title {
        margin: 0;
        font-size: clamp(1.65rem, 8vw, 2.15rem);
        line-height: 1.15;
        letter-spacing: 0;
    }

    body.premium .telegram-offers-head__btn {
        width: 100%;
        min-height: 52px;
        border-radius: 11px;
        justify-content: center;
        font-size: 1rem;
        box-shadow: 0 10px 28px rgba(212, 175, 55, 0.22);
    }

    body.premium .telegram-offers-meta {
        margin: 0 0 18px;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    body.premium .telegram-offers-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    body.premium .telegram-offer-card {
        width: 100%;
        min-width: 0;
        border-radius: 13px;
        overflow: hidden;
    }

    body.premium .telegram-offer-card__gallery {
        aspect-ratio: 4 / 3;
        min-height: 0;
        background: #050914;
    }

    body.premium .telegram-offer-card__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body.premium .telegram-offer-card__nav {
        width: 36px;
        height: 36px;
        background: rgba(15, 23, 42, 0.72);
    }

    body.premium .telegram-offer-card__body {
        padding: 14px;
        gap: 10px;
    }

    body.premium .telegram-offer-card__title {
        font-size: 1.08rem;
        line-height: 1.24;
    }

    body.premium .telegram-offer-card__price {
        font-size: 1.38rem;
    }

    body.premium .telegram-offer-card__specs {
        gap: 8px;
    }

    body.premium .telegram-offer-card__spec {
        padding: 8px 9px;
        border-radius: 9px;
    }

    body.premium .telegram-offer-card__spec b {
        white-space: normal;
        word-break: break-word;
    }

    body.premium .telegram-offer-card__text {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    body.premium #mobileBottomNav {
        display: flex;
        min-height: 62px;
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
        z-index: 9996;
    }

    body.premium .mbn-item {
        min-width: 0;
        padding: 7px 4px;
        border-radius: 12px;
        font-size: 0.68rem;
    }

    body.premium .mbn-item i {
        font-size: 1.05rem;
    }

    body.premium .floating-wa,
    body.premium .floating-subscribe {
        display: none !important;
    }
}

@media (max-width: 390px) {
    body.premium .header .container {
        padding: 0 10px;
    }

    body.premium .header-content {
        grid-template-columns: minmax(0, 1fr) 66px 38px 38px 38px;
        gap: 6px;
        padding-top: 8px !important;
    }

    body.premium .logo-img,
    body.premium .header--scrolled .logo-img {
        width: 44px !important;
        height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
        margin-right: 7px;
    }

    body.premium .logo span {
        max-width: 114px;
        font-size: 1.05rem;
    }

    body.premium .language-select {
        width: 66px;
        min-width: 66px;
        height: 38px;
        padding-left: 10px;
        padding-right: 24px;
    }

    body.premium .customs-toolbar-btn,
    body.premium .cart-btn,
    body.premium #mobileMenuToggle {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    body.premium #main-content {
        padding-top: 74px;
    }

    body.premium .telegram-offers-section .container {
        padding: 0 12px;
    }

    body.premium .telegram-offers-head .section-title {
        font-size: 1.48rem;
    }

    body.premium .telegram-offer-card__body {
        padding: 12px;
    }
}
