/* ==========================================================================
   MOTOWHEEL - ULTRA MODERN AUTOMOTIVE THEME STYLES
   High-performance aesthetic, Racing Accents, Glassmorphism & Carbon details
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --auto-dark-bg: #0b0f19;
    --auto-card-bg: #ffffff;
    --auto-card-dark: #121824;
    --auto-red: #ff2e3b;
    --auto-red-hover: #e01b28;
    --auto-red-glow: rgba(255, 46, 59, 0.35);
    --auto-cyan: #00d2ff;
    --auto-gold: #ffb700;
    --auto-text-dark: #0f172a;
    --auto-text-muted: #64748b;
    --auto-border-light: #e2e8f0;
    --auto-border-dark: rgba(255, 255, 255, 0.1);
    --auto-font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --auto-font-racing: 'Rajdhani', 'Outfit', sans-serif;
    --auto-radius-xl: 20px;
    --auto-radius-lg: 16px;
    --auto-radius-md: 12px;
    --auto-radius-sm: 8px;
    --auto-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --auto-shadow-hover: 0 20px 40px -12px rgba(255, 46, 59, 0.18);
    --auto-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Font & Body Overrides for Automotive Theme */
body {
    font-family: var(--auto-font-main);
    color: var(--auto-text-dark);
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--auto-font-main);
    letter-spacing: -0.02em;
}

/* ==========================================================================
   1. AUTOMOTIVE FITMENT / VEHICLE SEARCH BAR
   ========================================================================== */
.auto-fitment-section {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    margin-bottom: 25px;
}

@media (max-width: 991px) {
    .auto-fitment-section {
        margin-top: 15px;
    }
}

.auto-fitment-card {
    background: linear-gradient(135deg, #0b0f19 0%, #171f30 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--auto-radius-xl);
    padding: 24px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.auto-fitment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--auto-red), var(--auto-cyan), var(--auto-red));
    background-size: 200% 100%;
    animation: autoRacingGlow 4s linear infinite;
}

@keyframes autoRacingGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.auto-fitment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.auto-fitment-title {
    font-family: var(--auto-font-racing);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.auto-fitment-title i {
    color: var(--auto-red);
    font-size: 24px;
    filter: drop-shadow(0 0 8px var(--auto-red-glow));
}

.auto-fitment-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    font-weight: 400;
}

.auto-fitment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

@media (max-width: 767px) {
    .auto-fitment-grid {
        grid-template-columns: 1fr 1fr;
    }
    .auto-fitment-btn-wrap {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .auto-fitment-grid {
        grid-template-columns: 1fr;
    }
    .auto-fitment-btn-wrap {
        grid-column: span 1;
    }
}

.auto-select-wrapper {
    position: relative;
}

.auto-select-wrapper label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 6px;
}

.auto-select-wrapper select {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--auto-radius-md);
    color: #ffffff;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: var(--auto-transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.auto-select-wrapper select option {
    background: #0b0f19;
    color: #ffffff;
}

.auto-select-wrapper select:focus {
    border-color: var(--auto-red);
    box-shadow: 0 0 15px var(--auto-red-glow);
    background-color: rgba(255, 255, 255, 0.12);
}

.btn-auto-search {
    height: 48px;
    background: linear-gradient(135deg, var(--auto-red) 0%, var(--auto-red-hover) 100%);
    color: #ffffff !important;
    font-family: var(--auto-font-racing);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: none;
    border-radius: var(--auto-radius-md);
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--auto-transition);
    box-shadow: 0 8px 20px var(--auto-red-glow);
    width: 100%;
}

.btn-auto-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 46, 59, 0.5);
    background: linear-gradient(135deg, #ff4755 0%, var(--auto-red) 100%);
}

.btn-auto-search i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-auto-search:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   2. HERO TOP SLIDER & CATEGORY SIDEBAR
   ========================================================================== */
.__top-slider-cate {
    border-radius: var(--auto-radius-lg) 0 0 var(--auto-radius-lg);
}

.category-menu-wrap {
    background: #ffffff;
    border: 1px solid var(--auto-border-light);
    border-radius: var(--auto-radius-lg);
    box-shadow: var(--auto-shadow-card);
    overflow: hidden;
}

.category-menu {
    padding: 8px 0;
}

.category-menu li a {
    padding: 10px 18px;
    font-weight: 500;
    color: var(--auto-text-dark);
    font-size: 14px;
    transition: var(--auto-transition);
    border-left: 3px solid transparent;
}

.category-menu li a:hover {
    background: rgba(255, 46, 59, 0.05);
    color: var(--auto-red) !important;
    border-left-color: var(--auto-red);
    padding-left: 22px;
}

.category-menu li a img {
    filter: grayscale(0.2);
    transition: var(--auto-transition);
}

.category-menu li a:hover img {
    filter: grayscale(0) scale(1.1);
}

.__slide-img {
    border-radius: var(--auto-radius-lg);
    box-shadow: var(--auto-shadow-card);
    transition: var(--auto-transition);
}

.__slide-img:hover {
    transform: scale(1.01);
}

/* ==========================================================================
   3. MODERN SECTION HEADERS & CARD STYLES
   ========================================================================== */
.section-card-margin {
    background: #ffffff;
    border-radius: var(--auto-radius-xl);
    box-shadow: var(--auto-shadow-card);
    padding: 12px 16px 24px;
    border: 1px solid #f1f5f9;
}

.feature-product-title,
.categories-title,
.arrival-title,
.featured_deal_title {
    font-family: var(--auto-font-main);
    font-weight: 800 !important;
    font-size: 22px !important;
    color: var(--auto-text-dark) !important;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.feature-product-title::after,
.categories-title::after,
.arrival-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--auto-red), var(--auto-cyan));
    border-radius: 2px;
}

.view-all-text {
    font-weight: 700 !important;
    font-size: 14px !important;
    color: var(--auto-red) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em;
    transition: var(--auto-transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.view-all-text:hover {
    color: var(--auto-red-hover) !important;
    transform: translateX(4px);
}

/* ==========================================================================
   4. PRODUCT CARDS - MOTOWHEEL RACING AESTHETIC
   ========================================================================== */
.product-single-hover,
.flash_deal_product,
.__inline-single-product,
.product-card-2,
.deal_latest_product .product-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--auto-radius-lg) !important;
    box-shadow: var(--auto-shadow-card) !important;
    transition: var(--auto-transition) !important;
    overflow: hidden;
    position: relative;
    padding: 12px;
}

.product-single-hover:hover,
.flash_deal_product:hover,
.__inline-single-product:hover,
.product-card-2:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(255, 46, 59, 0.4) !important;
    box-shadow: var(--auto-shadow-hover) !important;
}

/* Product Discount Badges */
.for-discount-value {
    background: linear-gradient(135deg, var(--auto-red) 0%, #d90429 100%) !important;
    color: #ffffff !important;
    font-family: var(--auto-font-racing);
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    padding: 4px 10px !important;
    border-radius: 4px var(--auto-radius-sm) var(--auto-radius-sm) 4px !important;
    box-shadow: 0 4px 10px var(--auto-red-glow) !important;
    z-index: 5;
}

/* Product Titles & Prices */
.single-product-details h3 a,
.flash-product-title,
.product-title1,
.product-title {
    font-weight: 600 !important;
    color: var(--auto-text-dark) !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    transition: var(--auto-transition);
}

.product-single-hover:hover .single-product-details h3 a,
.flash_deal_product:hover .flash-product-title {
    color: var(--auto-red) !important;
}

.text-accent,
.flash-product-price,
.featured_product-price .ptp {
    font-family: var(--auto-font-main);
    font-weight: 800 !important;
    color: var(--auto-red) !important;
    font-size: 17px !important;
}

del.category-single-product-price,
del.__color-9B9B9B {
    color: var(--auto-text-muted) !important;
    font-size: 13px !important;
}

/* Rating Stars Glow */
.tio-star.text-warning,
.tio-star-half.text-warning {
    color: var(--auto-gold) !important;
    filter: drop-shadow(0 0 3px rgba(255, 183, 0, 0.4));
}

/* Quick View Circular Buttons */
.quick-view .btn-circle {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: var(--auto-text-dark) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: var(--auto-transition) !important;
}

.quick-view .btn-circle:hover {
    background: var(--auto-red) !important;
    border-color: var(--auto-red) !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

/* ==========================================================================
   5. FLASH DEALS & TACHOMETER COUNTDOWN
   ========================================================================== */
.flash-deals-wrapper {
    background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--auto-radius-xl) !important;
    padding: 24px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.flash-deal-text h1 span {
    color: #ffffff !important;
    font-family: var(--auto-font-racing);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.flashdeal-responsive h2 {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.countdown-background {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--auto-radius-lg) !important;
    backdrop-filter: blur(10px);
}

.cz-countdown-days,
.cz-countdown-hours,
.cz-countdown-minutes,
.cz-countdown-seconds {
    background: linear-gradient(180deg, rgba(255, 46, 59, 0.2) 0%, rgba(255, 46, 59, 0.05) 100%) !important;
    border: 1px solid var(--auto-red) !important;
    border-radius: var(--auto-radius-md) !important;
    padding: 8px 12px !important;
    min-width: 52px;
    text-align: center;
    box-shadow: 0 0 12px var(--auto-red-glow) !important;
}

.cz-countdown-value {
    color: #ffffff !important;
    font-family: var(--auto-font-racing);
    font-size: 20px !important;
    font-weight: 700 !important;
}

.cz-countdown-text {
    color: #94a3b8 !important;
    font-size: 10px !important;
    text-transform: uppercase;
}

.progress-bar.flash-deal-progress-bar {
    background: linear-gradient(90deg, var(--auto-red), var(--auto-cyan)) !important;
    border-radius: 10px;
}

/* ==========================================================================
   6. CATEGORIES SECTION (AUTO PART HUBS)
   ========================================================================== */
.__cate-item {
    transition: var(--auto-transition);
}

.__cate-item .__img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--auto-transition);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.__cate-item:hover .__img {
    border-color: var(--auto-red);
    background: #ffffff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 24px var(--auto-red-glow);
}

.__cate-item h3 {
    font-weight: 600 !important;
    color: var(--auto-text-dark) !important;
    transition: var(--auto-transition);
}

.__cate-item:hover h3 {
    color: var(--auto-red) !important;
}

/* ==========================================================================
   7. DEAL OF THE DAY & RECOMMENDED
   ========================================================================== */
.deal_of_the_day {
    background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%) !important;
    border-radius: var(--auto-radius-xl) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 20px !important;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.deal_of_the_day h2 {
    color: #ffffff !important;
    font-family: var(--auto-font-racing);
    font-size: 20px !important;
    letter-spacing: 0.04em;
}

.recommended-product-card h3 {
    color: #ffffff !important;
}

.recommended-product-card span.text-dark {
    color: #ffffff !important;
}

.btn--primary,
.btn-primary {
    background: linear-gradient(135deg, var(--auto-red) 0%, var(--auto-red-hover) 100%) !important;
    border: none !important;
    border-radius: var(--auto-radius-md) !important;
    font-family: var(--auto-font-racing);
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 16px var(--auto-red-glow) !important;
    transition: var(--auto-transition) !important;
}

.btn--primary:hover,
.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(255, 46, 59, 0.4) !important;
    background: linear-gradient(135deg, #ff4755 0%, var(--auto-red) 100%) !important;
}

/* ==========================================================================
   8. COMPANY RELIABILITY / MOTORSPORT GUARANTEE BAR
   ========================================================================== */
.shipping-policy-web {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--auto-radius-xl);
    padding: 24px;
    box-shadow: var(--auto-shadow-card);
}

.shopping-method-icon {
    width: 70px !important;
    height: 70px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    transition: var(--auto-transition);
}

.shipping-method-system:hover .shopping-method-icon {
    border-color: var(--auto-red) !important;
    transform: scale(1.1) rotate(4deg);
    box-shadow: 0 8px 20px var(--auto-red-glow) !important;
}

.shipping-method-system p {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--auto-text-dark) !important;
}

/* ==========================================================================
   9. BRANDS & TOP SELLERS SHOWROOM
   ========================================================================== */
.__brand-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--auto-radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: var(--auto-transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.__brand-item:hover {
    border-color: var(--auto-red);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px var(--auto-red-glow);
}

.__brand-item img {
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: var(--auto-transition);
}

.__brand-item:hover img {
    filter: grayscale(0);
}

.others-store-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--auto-radius-lg) !important;
    box-shadow: var(--auto-shadow-card) !important;
    overflow: hidden;
    transition: var(--auto-transition) !important;
}

.others-store-card:hover {
    transform: translateY(-5px) !important;
    border-color: var(--auto-red) !important;
    box-shadow: var(--auto-shadow-hover) !important;
}

/* ==========================================================================
   10. HEADER & NAVBAR AUTOMOTIVE OVERRIDES
   ========================================================================== */
header.rtl {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.topbar {
    background: #0b0f19 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
}

.topbar .topbar-link {
    color: #cbd5e1 !important;
    transition: var(--auto-transition);
}

.topbar .topbar-link:hover {
    color: var(--auto-red) !important;
}

.navbar-sticky {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.search_button {
    background: linear-gradient(135deg, var(--auto-red) 0%, var(--auto-red-hover) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 var(--auto-radius-md) var(--auto-radius-md) 0 !important;
    padding: 0 24px !important;
    font-family: var(--auto-font-racing);
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--auto-transition);
}

.search_button:hover {
    background: linear-gradient(135deg, #ff4755 0%, var(--auto-red) 100%) !important;
    box-shadow: 0 0 15px var(--auto-red-glow) !important;
}

.navbar-stuck-menu {
    background: #0b0f19 !important;
    border-radius: var(--auto-radius-md);
    padding: 4px 16px !important;
}

.navbar-nav .nav-item .nav-link {
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.02em;
    color: #ffffff !important;
    transition: var(--auto-transition);
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--auto-red) !important;
}

.navbar-stuck-menu .dropdown-menu {
    border-radius: var(--auto-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
}

