/* Isuzu/Toyota Dark Mode Replication */
:root {
    --primary-red: #ed1b2e;
    --bg-black: #000000;
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
    --border-color: #333333;
    --font-main: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

main#maincontent {
    padding: 0 0 50px 0;
}

/* Standard Container */
.standard {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
    /* Added base padding */
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--text-white);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-red);
}

/* ========================================
   HEADER STYLES - Toyota Indus Replica (Black Theme)
   ======================================== */

/* Header Container */
.site-header {
    background-color: #000000;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Main Header */
.header-main {
    background-color: #000000;
    border-bottom: 1px solid #1a1a1a;
}

.header-main-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    display: block;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 600px;
}

.search-bar form {
    position: relative;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 3px;
    color: #ffffff;
    font-size: 14px;
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.3s;
}

.search-bar input::placeholder {
    color: #666666;
}

.search-bar input:focus {
    border-color: #3a3a3a;
}

.search-bar button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: transparent;
    border: none;
    color: #999999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.search-bar button:hover {
    color: var(--primary-red);
}

.search-bar button i {
    font-size: 16px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
}

.account-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.account-trigger:hover {
    background-color: #1a1a1a;
}

.account-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.account-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.account-sublabel {
    color: #999999;
    font-size: 12px;
    font-weight: 400;
}

.account-trigger i.dropdown-arrow {
    color: var(--primary-red);
    font-size: 12px;
    transition: transform 0.3s;
}

.mobile-account-icon {
    display: none;
}

.account-dropdown:hover .account-trigger i {
    /* transform: rotate(180deg); */
}

/* Account Dropdown Menu */
.account-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: -20px;
    padding: 0 10px 10px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: max-content;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.account-dropdown:hover .account-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link,
.dropdown-btn {
    display: block;
    padding: 12px 20px;
    color: #333333;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    transition: background-color 0.3s;
    border: none;
    width: 100%;
    background: transparent;
    cursor: pointer;
    text-align: center;
}

.dropdown-link:hover {
    background-color: #f5f5f5;
    color: #333333;
}

.dropdown-btn {
    background-color: var(--primary-red);
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    /* border-radius: 0 0 4px 4px; */
    text-align: center;
}

.dropdown-btn:hover {
    background-color: #c00;
    color: #ffffff;
}

/* Header Buttons */
.header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.header-btn:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

.header-btn i {
    font-size: 18px;
}

.header-btn .car-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.header-btn span {
    font-weight: 400;
}

/* Cart Button */
.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--primary-red);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* ========================================
   NAVIGATION BAR & MEGA MENU
   ======================================== */

/* Navigation Bar Container */
.nav-bar {
    background-color: #1a1a1a;
    border-bottom: 2px solid var(--primary-red);
    position: relative;
}

.nav-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: static;
}

/* Navigation Items */
.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link i {
    font-size: 10px;
    color: #666666;
    transition: color 0.3s, transform 0.3s;
}

.nav-link:hover i {
    color: var(--primary-red);
}

.has-megamenu:hover .nav-link i {
    transform: rotate(180deg);
}

/* Mega Menu Container */
.megamenu {
    position: fixed;
    top: calc(100% + 1px);
    left: 0;
    width: 100vw;
    background-color: #000000;
    border-top: 1px solid #2a2a2a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega Menu Wrapper - 2 Column Layout */
.megamenu-wrapper {
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 400px;
    max-height: 500px;
}

/* Left Navigation Column */
.megamenu-nav {
    flex: 0 0 280px;
    background-color: #0a0a0a;
    border-right: 1px solid #2a2a2a;
    padding: 20px 0;
    overflow-y: auto;
}

.megamenu-nav-item {
    width: 100%;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    color: #999999;
    font-size: 16px;
    font-weight: 400;
    padding: 18px 30px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.megamenu-nav-item:hover,
.megamenu-nav-item:focus {
    background-color: #1a1a1a;
    color: #ffffff;
    outline: none;
}

.megamenu-nav-item.is-active {
    background-color: #1a1a1a;
    border-left-color: var(--primary-red);
    color: #ffffff;
}

.megamenu-nav-item i {
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.megamenu-nav-item:hover i,
.megamenu-nav-item.is-active i {
    opacity: 1;
    color: var(--primary-red);
}

/* Right Content Panels */
.megamenu-panels {
    flex: 1;
    position: relative;
    background-color: #000000;
    overflow: hidden;
}

.megamenu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px 40px;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.megamenu-panel.is-active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Panel Grid Layout */
.megamenu-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px 30px;
    margin-bottom: 30px;
}

.megamenu-panel-item a {
    color: #cccccc;
    font-size: 15px;
    font-weight: 300;
    transition: color 0.2s ease;
    display: block;
    padding: 8px 0;
}

.megamenu-panel-item a:hover {
    color: var(--primary-red);
}

/* Panel Footer */
.megamenu-panel-footer {
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
}

.megamenu-footer-link {
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s;
}

.megamenu-footer-link:hover {
    color: #c00;
}

/* Scrollbar Styling for Panels */
.megamenu-nav::-webkit-scrollbar,
.megamenu-panel::-webkit-scrollbar {
    width: 6px;
}

.megamenu-nav::-webkit-scrollbar-track,
.megamenu-panel::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.megamenu-nav::-webkit-scrollbar-thumb,
.megamenu-panel::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.megamenu-nav::-webkit-scrollbar-thumb:hover,
.megamenu-panel::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive Navigation */
@media (max-width: 1200px) {
    .nav-content {
        padding: 0 20px;
    }

    .nav-link {
        padding: 18px 15px;
        font-size: 14px;
    }

    .megamenu-content {
        padding: 30px 20px 15px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .nav-link {
        padding: 16px 12px;
        font-size: 13px;
    }

    .megamenu-column {
        min-width: 150px;
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {

    .header-main-content,
    .header-top-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 992px) {
    .search-bar {
        max-width: 400px;
    }

    .header-actions {
        gap: 15px;
    }

    .header-btn span {
        display: none;
    }

    .account-text {
        display: none;
    }
}

/* ========================================
   HERO SLIDER - Swiper Based
   ======================================== */

.hero-section {
    position: relative;
    width: 100%;
    background-color: #000;
    padding: 15px 0 40px 0;
}

.heroSwiper {
    width: 100%;
    height: 550px;
}

.hero-slide {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
}

/* Swiper Navigation Buttons */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-button-next:after,
.heroSwiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: 900;
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
    background-color: var(--primary-red);
    transform: scale(1.1);
}

/* Swiper Pagination */
.heroSwiper .swiper-pagination {
    bottom: -30px;
    position: relative;
    margin-top: 20px;
}

.heroSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #666666;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--primary-red);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Responsive Hero Slider */
@media (max-width: 1200px) {
    .heroSwiper {
        height: 450px;
    }

    .hero-slide {
        max-width: 1200px;
    }
}

@media (max-width: 992px) {
    .heroSwiper {
        height: 400px;
    }

    .hero-section {
        padding: 10px 0 30px 0;
    }

    .hero-slide {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .heroSwiper {
        height: 350px;
    }

    .hero-section {
        padding: 10px 0 25px 0;
    }

    .hero-slide {
        padding: 0 15px;
    }

    .heroSwiper .swiper-button-next,
    .heroSwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .heroSwiper .swiper-button-next:after,
    .heroSwiper .swiper-button-prev:after {
        font-size: 16px;
    }

    .heroSwiper .swiper-pagination {
        bottom: -25px;
        margin-top: 15px;
    }
}


/* Filter Section */
.filter-section {
    background-color: #1a1a1a;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto 40px;
    border-bottom: 4px solid var(--primary-red);
    border-radius: 0 0 4px 4px;
}

.filter-section .standard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.filter-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    padding-right: 20px;
    border-right: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.filter-dropdowns {
    display: flex;
    gap: 15px;
    flex-grow: 1;
    align-items: center;
}

.filter-select {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 4px;
    flex: 1;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 14px;
}

.filter-btn {
    background-color: var(--primary-red);
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.filter-btn:hover {
    background-color: #c00;
}

@media (max-width: 992px) {
    .filter-section {
        margin-bottom: 20px;
        padding: 15px 0;
    }

    .filter-section .standard {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .filter-title {
        border-right: none;
        padding-right: 0;
        justify-content: center;
        font-size: 18px;
    }

    .filter-dropdowns {
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-select {
        flex: 0 0 100%;
    }

    .filter-btn {
        flex: 0 0 100%;
        margin-top: 5px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .filter-select {
        flex: 0 0 100%;
    }
}


/* Slick Styling */
.slick-dots {
    bottom: 10px;
}

.slick-dots li button:before {
    color: #fff !important;
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    color: var(--primary-red) !important;
    opacity: 1;
}

/* Featured Products */
.product-section {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.section-title h2 {
    font-size: 42px;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.section-title .section-description {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.section-title .section-shop-btn {
    display: inline-block;
    background-color: var(--primary-red);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 40px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 30px;
}

/* Section Title Mobile Spacing */
@media (max-width: 992px) {
    .section-title {
        padding: 20px 15px;
    }

    .section-title h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .section-title .section-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .section-title .section-shop-btn {
        padding: 10px 30px;
        margin-bottom: 15px;
    }
}

.toyota-parts-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.tab-link {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-link:hover,
.tab-link.active {
    border-bottom-color: #ffffff;
}

/* ========================================
   PRODUCTS SWIPER
   ======================================== */

.productsSwiper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}

.productsSwiper .swiper-slide {
    height: auto;
}

/* Products Navigation Buttons */
.productsSwiper .swiper-button-next,
.productsSwiper .swiper-button-prev {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.productsSwiper .swiper-button-next {
    right: 10px;
}

.productsSwiper .swiper-button-prev {
    left: 10px;
}

.productsSwiper .swiper-button-next:after,
.productsSwiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 900;
}

.productsSwiper .swiper-button-next:hover,
.productsSwiper .swiper-button-prev:hover {
    background-color: var(--primary-red);
    transform: scale(1.1);
}

.product-card {
    background-color: transparent;
    transition: all 0.3s;
    position: relative;
    margin: 10px;
    border: 1px solid transparent;
}

.product-card:hover {
    border-color: #333;
    background: #151515;
}

.product-image {
    width: 100%;
    height: 200px;
    /* Adjusted height */
    background-color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s;
}

/* Hover Overlay */
.product-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-image .overlay {
    opacity: 1;
}

.overlay-btn {
    background: var(--primary-red);
    color: white !important;
    text-align: center;
    padding: 8px 20px;
    margin: 5px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    width: 80%;
}

a.overlay-btn.secondary:hover {
    color: #000 !important;
}

.overlay-btn.secondary {
    background: transparent;
    border: 1px solid white;
}

.overlay-btn.secondary:hover {
    background: white;
    color: black;
}

.product-details {
    padding: 10px;
    text-align: center;
}

.product-name {
    display: block;
    font-size: 15px;
    color: #ccc;
    margin-bottom: 5px;
    height: 45px;
    overflow: hidden;
}

.product-name:hover {
    color: var(--primary-red);
}

.product-price {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.action-btn {
    background: transparent;
    border: 1px solid #333;
    color: #999;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.action-btn:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
    transform: translateY(-2px);
}

.action-btn i {
    pointer-events: none;
}

/* Custom Arrows */
.custom-slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 10;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.custom-slick-arrow:hover {
    background: var(--primary-red);
}

.custom-slick-arrow.prev {
    left: -50px;
}

.custom-slick-arrow.next {
    right: -50px;
}

/* Toyota All Parts Tabs */
.toyota-parts-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    margin-bottom: 30px;
}

.tab-link {
    color: #888;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding-bottom: 5px;
}

.tab-link:hover,
.tab-link.active {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

/* Periodic Maintenance Interactive */
.periodic-interactive {
    display: flex;
    max-width: 1200px;
    margin: 60px auto;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
}

.pi-image {
    flex: 1;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
}

.pi-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pi-links {
    display: flex;
    gap: 15px;
}

.pi-link-item {
    background: #252525;
    padding: 20px;
    border-left: 4px solid transparent;
    /* default */
    cursor: pointer;
    transition: all 0.3s;
}

.pi-link-item:hover,
.pi-link-item.active {
    background: #2a2a2a;
    border-left-color: var(--primary-red);
}

.pi-link-item h4 {
    margin: 0;
    font-size: 16px;
    color: white;
}

.pi-link-item p {
    margin: 5px 0 0;
    color: #888;
    font-size: 13px;
}

/* Full Banner */
.full-banner {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
}

.full-banner img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .full-banner {
        margin: 30px auto;
    }
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background-color: #0d0d0d;
    padding: 60px 0 30px;
    border-top: 1px solid #222;
}

/* Newsletter Section */
.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
    margin-bottom: 40px;
}

.newsletter-text {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    width: 300px;
    padding: 12px 20px;
    background-color: transparent;
    border: 1px solid #444;
    color: #ffffff;
    font-size: 14px;
    border-radius: 4px;
}

.newsletter-input::placeholder {
    color: #888;
}

.newsletter-input:focus {
    outline: none;
    border-color: #666;
}

.newsletter-btn {
    background-color: var(--primary-red);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #c00;
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col a {
    color: #cccccc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #888;
}

.copyright {
    color: #888;
}

.terms a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-newsletter {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-col {
        min-width: 150px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .site-footer {
        padding: 30px 0 20px;
    }
}

/* ========================================
   PERIODIC MAINTENANCE SECTION
   ======================================== */

.periodic-interactive {
    background-color: #000000;
    padding: 60px 0;
}

@media (max-width: 992px) {
    .periodic-interactive {
        padding: 20px 0;
    }
}

.periodic-interactive .standard {
    display: flex;
    gap: 60px;
    align-items: center;
}

.pi-image {
    flex: 1;
    height: 400px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}

.pi-content {
    flex: 1;
    padding: 40px 0;
}

.pi-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-align: center;
}

.pi-description {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
    margin: 0 0 30px 0;
}

.pi-shop-btn {
    display: block;
    width: max-content;
    margin: 0 auto 30px auto;
    background-color: var(--primary-red);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 40px;
    border-radius: 4px;
    text-decoration: none;
    transition: none;
}

.product-inquiry {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 25px;
    padding: 0 25px;
    /* margin-right: 25px; */
}

.pi-inquiry {
    display: block;
    width: max-content;
    /* margin: 0 auto 30px auto; */
    background-color: var(--primary-red);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 40px;
    border-radius: 4px;
    text-decoration: none;
    transition: none;
}

.pi-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.pi-link {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: max-content;
}

.pi-link:hover,
.pi-link.active {
    border-bottom-color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
    .periodic-interactive .standard {
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }

    .pi-image {
        width: 100%;
        height: 100%;
        background-size: cover;
    }

    .pi-title {
        font-size: 32px;
    }

    .service-content p {
        font-size: 14px;
    }

    .launching-soon {
        font-size: 18px;
    }
}

/* ========================================
   SHOP SERVICE SECTION
   ======================================== */

.shop-service-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* padding: 80px 0;
    margin: 60px 0; */
    position: relative;
}

.shop-service-section .standard {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 400px;
}

.service-content {
    max-width: 600px;
    background-color: #000000b5;
    padding: 60px 50px;
    color: #ffffff;
}

.service-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.service-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
    margin: 0 0 30px 0;
}

.launching-soon {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    text-transform: none;
}

/* Responsive */
@media (max-width: 992px) {
    .shop-service-section {
        padding: 30px 0;
    }

    .shop-service-section .standard {
        justify-content: center;
        min-height: 300px;
    }

    .service-content {
        max-width: 100%;
        padding: 40px 30px;
    }

    .service-content h2 {
        font-size: 32px;
    }

    .service-content p {
        font-size: 14px;
    }

    .launching-soon {
        font-size: 18px;
    }
}

/* Vehicle Search Styles */
.page-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.breadcrumbs {
    margin-bottom: 0;
}

.btn-vehicle-search {
    background-color: #000;
    border: 1px dashed #444;
    color: #fff;
    padding: 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    width: 100%;
}

.btn-vehicle-search:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background-color: #111;
}

.vehicle-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.vehicle-modal-overlay.active {
    display: flex;
}

.vehicle-modal {
    background-color: #1a1a1a;
    width: 90%;
    max-width: 700px;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    color: #fff;
    border: 1px solid #333;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    border: none;
    background: none;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s;
}

.close-modal-btn:hover {
    color: #fff;
}

.modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
}

.vehicle-dropdown-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.vehicle-select {
    flex: 1;
    padding: 12px;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    outline: none;
}

.vehicle-select:focus {
    border-color: var(--primary-red);
}

.vehicle-select option {
    background-color: #222;
}

.btn-save-vehicle {
    background-color: var(--primary-red);
    color: #fff;
    border: none;
    width: 100%;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.btn-save-vehicle:hover {
    background-color: #c00;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #fff;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    accent-color: var(--primary-red);
    width: 18px;
    height: 18px;
}

.radio-label span {
    color: #fff;
}

@media (max-width: 768px) {
    .vehicle-dropdown-row {
        flex-direction: column;
    }
}

.selected-vehicle-box {
    border: 1px solid #fff;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.vehicle-icon {
    font-size: 50px;
    color: #fff;
}

.vehicle-details h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vehicle-details div {
    color: #ccc;
    margin-top: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

/* ========================================
   MOBILE NAVIGATION STYLES
   ======================================== */

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background-color: var(--bg-black);
    z-index: 1001;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.sidebar-logo img {
    height: 35px;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.sidebar-close:hover {
    color: var(--primary-red);
}

.sidebar-content {
    flex: 1;
    overflow-x: hidden;
    position: relative;
    padding: 10px 0;
}

.menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-black);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    visibility: hidden;
    display: flex;
    flex-direction: column;
}

.menu-panel.active {
    transform: translateX(0);
    visibility: visible;
    position: relative;
    /* Let active panel determine height if not fixed */
}

/* Panel being exited to the left */
.menu-panel.exit {
    transform: translateX(-100%);
}

.menu-back {
    padding: 15px 25px;
    background-color: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #222;
    transition: background-color 0.3s;
}

.menu-back:hover {
    background-color: #1a1a1a;
    color: var(--primary-red);
}

.mobile-nav-item {
    border-bottom: 1px solid #1a1a1a;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    background-color: #111;
    color: var(--primary-red);
}

.mobile-nav-link i {
    font-size: 14px;
}

/* Update Responsive Header */
@media (max-width: 992px) {
    .site-header {
        background-color: var(--bg-black) !important;
        box-shadow: none;
    }

    .header-main {
        background-color: var(--bg-black) !important;
        border-bottom: 1px solid #1a1a1a;
    }

    .header-main-content {
        flex-wrap: wrap;
        padding: 10px 15px;
        gap: 0;
        justify-content: space-between;
    }

    /* Row 1: Search Bar */
    .search-bar {
        order: -1;
        width: 100%;
        flex: 0 0 100%;
        max-width: none;
        margin: 0 0 10px 0;
    }

    .search-bar form {
        background-color: #1a1a1a;
        border-radius: 4px;
        position: relative;
        display: flex;
        align-items: center;
        overflow: hidden;
        border: 1px solid #333;
    }

    .search-bar input {
        background-color: transparent;
        color: #fff;
        padding: 12px 15px;
        font-size: 14px;
        border: none;
        width: 100%;
        height: 40px;
        outline: none;
    }

    .search-bar input::placeholder {
        color: #777;
    }

    .search-bar button {
        background: transparent;
        color: #fff;
        padding: 0 15px;
        font-size: 18px;
        border: none;
        cursor: pointer;
        position: static;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Row 2: Logo and Actions */
    .logo {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        margin-right: auto;
    }

    .logo img {
        height: 25px;
        filter: none;
        /* Logo is already white */
    }

    .header-actions {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 20px;
    }

    .account-trigger {
        padding: 0;
        gap: 0;
        background: none !important;
        /* Remove hover effect */
    }

    .account-text,
    .dropdown-arrow,
    .header-btn .cart-badge {
        display: none !important;
    }

    .mobile-account-icon {
        display: block;
        font-size: 26px;
        color: #fff;
    }

    .header-btn {
        padding: 0;
        display: flex;
        align-items: center;
        gap: 15px;
        color: #fff;
        background: none !important;
        /* Remove hover effect */
        border: none;
    }

    .header-btn img.car-icon {
        width: 26px;
        height: 26px;
        /* filter: none; */
        /* Icon is already white svg */
    }

    .header-btn span {
        display: block !important;
        font-size: 14px;
        font-weight: 500;
        color: #fff;
    }

    .cart-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        margin: 0;
        border: none;
        color: #fff;
        font-size: 26px;
        padding: 0;
        background: none !important;
        /* Remove hover effect */
    }

    /* Mobile Account Dropdown Fix */
    .account-dropdown.is-open .account-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        z-index: 1001;
    }

    .nav-bar {
        display: none;
    }
}

@media (max-width: 576px) {
    .header-btn span {
        display: none !important;
    }

    .header-actions {
        gap: 15px;
    }
}

/* ========================================
   ALL PARTS PAGE STYLES
   ======================================== */


/* Inner Page Banner */
.inner-page-banner {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.inner-page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Overlay for better text readability */
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.banner-content h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    margin-left: 15px;
    /* Alignment fix */
}

.page-wrapper {

    background-color: #000;
    min-height: 600px;
    padding-bottom: 50px;
}

.page-title-wrapper.standard {
    padding: 20px 15px;
    margin-bottom: 20px;
}

.page-title {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    text-transform: capitalize;
}

.two-columns-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Sidebar Styling */
.sidebar-main {
    flex: 0 0 280px;
    width: 280px;
    position: sticky;
    top: 180px;
    /* Adjusted for sticky header */
    align-self: flex-start;
}

.my-garage-block {
    background-color: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.block-title {
    background-color: var(--primary-red);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.block-title i {
    color: #fff;
    font-size: 20px;
}

.block-title h2 {
    color: #fff;
    font-size: 18px;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.block-content {
    padding: 20px;
}

.garage-subtitle {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
}

.garage-select {
    width: 100%;
    padding: 10px 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    /* Updated to match the white/light theme of the dropdowns on target */
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' width='18px' height='18px'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.garage-select:disabled {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.garage-submit-btn {
    width: 100%;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.garage-submit-btn:hover {
    background-color: #555;
    color: var(--primary-red);
}

/* Category Groups and Grid */
.column.main {
    flex: 1;
}

.category-group {
    margin-bottom: 40px;
}

.group-header {
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.group-header h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Category Card Styling */
.category-item-card {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 20px;
    /* Matching reference */
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-red);
}

.category-item-card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    height: 100%;
}

.category-item-card figure {
    margin: 0;
    padding: 30px;
    background-color: transparent;
    /* Changed from white to transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    position: relative;
    /* Optional: Add a radial gradient to make the product pop if needed, but keeping simple for now */
}

.category-item-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    /* Adding depth to product images */
    transition: transform 0.3s;
}

.category-item-card:hover img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.category-name {
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #222;
    flex-grow: 1;
    /* Pushes content to fill height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-item-card:hover .category-name {
    color: var(--primary-red);
    background-color: #161616;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .two-columns-layout {
        flex-direction: column;
    }

    .sidebar-main {
        width: 100%;
        flex: none;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* Why Isuzu Genuine Page Styles */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    background-color: #111;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #222;
}

.feature-image img {
    max-width: 100%;
    max-height: 400px;
    /* Limit height */
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.feature-desc {
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.feature-comparison {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-red);
}

.comp-item {
    margin-bottom: 10px;
    font-size: 15px;
    color: #ddd;
}

.comp-item:last-child {
    margin-bottom: 0;
}

.comp-item strong {
    color: #fff;
    margin-right: 5px;
}

.comp-item.fake strong {
    color: #e57373;
    /* Light red for fake/warning */
}

.comp-item.genuine strong {
    color: #4caf50;
    /* Green for genuine */
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-red);
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #c00;
    transform: translateY(-2px);
    color: #fff;
}

@media (max-width: 992px) {
    .feature-row {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .feature-comparison {
        text-align: left;
    }
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid #fff;
    border-radius: 4px;
    transition: all 0.3s;
    margin-left: 15px;
    /* Spacing between buttons */
}

.btn-secondary:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
}

.feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Dealer Locator Styles */
.dealer-locator-wrapper {
    position: relative;
    width: 100%;
    height: calc(100vh - 100px);
    /* Full height minus header approx */
    overflow: hidden;
}

.dealer-map-container {
    width: 100%;
    height: 100%;
}

.dealer-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    /* Moved to right to avoid covering map controls */
    left: auto;
    bottom: 20px;
    width: 380px;
    background-color: rgba(20, 20, 20, 0.95);
    /* Semi-transparent dark bg */
    border: 1px solid #333;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.dealer-search-header {
    padding: 20px;
    border-bottom: 1px solid #333;
}

.dealer-search-header h1.page-title.small {
    font-size: 24px;
    margin-bottom: 15px;
    padding: 0;
}

.dealer-list-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.dealer-list-content::-webkit-scrollbar {
    width: 6px;
}

.dealer-list-content::-webkit-scrollbar-track {
    background: #111;
}

.dealer-list-content::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

/* Dealer Card */
.dealer-card {
    background-color: #222;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.dealer-card:hover,
.dealer-card.active {
    border-color: var(--primary-red);
    background-color: #2a2a2a;
    transform: translateX(5px);
}

.dealer-name {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.dealer-address {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.dealer-address i {
    color: var(--primary-red);
    width: 20px;
    text-align: center;
}

.dealer-contact {
    color: #ccc;
    font-size: 13px;
    margin-bottom: 15px;
}

.dealer-contact div {
    margin-bottom: 5px;
}

.dealer-contact i {
    color: var(--primary-red);
    width: 20px;
    text-align: center;
}

.dealer-direction-btn {
    display: inline-block;
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

.dealer-direction-btn:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .dealer-locator-wrapper {
        height: auto;
        display: flex;
        flex-direction: column-reverse;
    }

    .dealer-map-container {
        height: 300px;
        position: relative;
    }

    .dealer-sidebar {
        position: relative;
        width: 100%;
        top: auto;
        left: auto;
        bottom: auto;
        border-radius: 0;
        height: 500px;
    }
}

/* Product Detail Page Styles */
.product-detail-wrapper {
    padding: 60px 0;
    background-color: #000;
}

.breadcrumbs {
    margin-bottom: 30px;
    color: #888;
    font-size: 14px;
}

.breadcrumbs a {
    color: #aaa;
}

.breadcrumbs a:hover {
    color: var(--primary-red);
}

.breadcrumbs span {
    margin: 0 10px;
}

.breadcrumbs span.active {
    color: var(--primary-red);
}

.product-main-area {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: flex-start;
}

.product-gallery {
    flex: 1;
}

.main-image-container {
    background-color: #111;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s;
}

.main-image-container:hover img {
    transform: scale(1.05);
}

.zoom-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #555;
    font-size: 24px;
    pointer-events: none;
}

.product-info-column {
    flex: 1;
}

.product-title {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-transform: uppercase;
}

.product-sku {
    color: #888;
    font-size: 14px;
    margin-bottom: 25px;
}

.product-sku span {
    color: #ccc;
    font-family: monospace;
    font-size: 15px;
}

.product-price {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.current-price {
    color: var(--primary-red);
    font-size: 32px;
    font-weight: 700;
}

.stock-status {
    margin-left: 20px;
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-status-out {
    margin-left: 20px;
    background-color: var(--primary-red);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-short-desc {
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    border-bottom: 1px solid #222;
    padding-bottom: 30px;
}

.product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
}

.quantity-selector button {
    background: none;
    border: none;
    color: #fff;
    width: 40px;
    height: 50px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.2s;
}

.quantity-selector button:hover {
    background-color: #333;
}

.quantity-selector input {
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}

.btn-add-to-cart,
.btn-buy-now {
    flex: 1;
    min-width: 160px;
    height: 50px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-to-cart {
    background-color: var(--primary-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-to-cart:hover {
    background-color: #c00;
    transform: translateY(-2px);
    color: #fff;
}

.btn-action-small {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-action-small:hover {
    background-color: #333;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.product-meta .meta-row {
    margin-bottom: 10px;
    color: #aaa;
    font-size: 14px;
}

.meta-label {
    color: #fff;
    font-weight: 600;
    margin-right: 10px;
    min-width: 80px;
    display: inline-block;
}

.product-meta a {
    color: #888;
    transition: color 0.2s;
}

.product-meta a:hover {
    color: var(--primary-red);
}

/* Tabs */
.product-tabs-wrapper {
    margin-bottom: 80px;
}

.tabs-header {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #333;
    margin-bottom: 40px;
}

.tab-item {
    color: #888;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 15px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab-item.active,
.tab-item:hover {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.tab-content {
    color: #ccc;
    line-height: 1.8;
    font-size: 16px;
    max-width: 900px;
}

.tab-content p {
    margin-bottom: 20px;
}

.tab-content h3 {
    color: #fff;
    font-size: 20px;
    margin: 30px 0 15px;
}

.tab-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.tab-content li {
    margin-bottom: 10px;
}

.warning-box {
    background-color: rgba(237, 27, 46, 0.1);
    border-left: 4px solid var(--primary-red);
    padding: 20px;
    border-radius: 4px;
    margin-top: 30px;
}

/* Related Products */
.related-products .section-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .product-main-area {
        flex-direction: column;
    }

    .product-info-column {
        width: 100%;
    }

    .main-image-container {
        height: 350px;
    }

    .tabs-header {
        overflow-x: auto;
        gap: 20px;
        white-space: nowrap;
        border-bottom-width: 2px;
    }
}

/* Product Category Grid Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-item-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding-bottom: 20px;
    transition: box-shadow 0.3s;
    text-align: center;
    position: relative;
}

.product-item-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-color: #444;
}

.product-top {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #fff;
    /* Images usually white bg */
    padding: 20px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-top img {
    max-width: 70%;
    max-height: 180px;
    height: auto;
    width: auto;
}

.btn-view-details-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s;
    text-decoration: none;
    letter-spacing: 1px;
}

.product-item-card:hover .btn-view-details-hover {
    opacity: 1;
}

.product-details {
    padding: 0 20px 10px;
}

.btn-grid-cart {
    background-color: var(--primary-red);
    color: #fff;
    border: none;
    padding: 12px 20px;
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
}

.btn-grid-cart:hover {
    background-color: #c00;
    color: #fff;
}

.product-name {
    margin: 10px 0;
    line-height: 1.4;
}

.product-name a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: block;
    /* min-height: 42px; */
    /* Optional height for alignment */
}

.product-name a:hover {
    color: var(--primary-red);
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 10px;
    justify-content: center;
}

.product-secondary-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
    border-top: 1px solid #333;
    padding-top: 15px;
}

.action-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-link:hover {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 1200px) and (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Ensure 3 even on slightly smaller desktops */
    }
}

/* Compare Page Styles */
.compare-container {
    padding: 60px 0;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.compare-table td {
    padding: 20px;
    border: 1px solid #333;
    vertical-align: middle;
}

.compare-label {
    background-color: #111;
    font-weight: 700;
    width: 20%;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}

.compare-item {
    background-color: #1a1a1a;
    width: 40%;
    text-align: center;
    position: relative;
}

.compare-image-wrapper {
    position: relative;
    display: inline-block;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
}

.compare-image-wrapper img {
    max-width: 180px;
    height: auto;
}

.btn-remove-compare {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: var(--primary-red);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: background 0.3s;
}

.btn-remove-compare:hover {
    background-color: #c00;
}

.compare-row-name .product-name a {
    font-size: 18px;
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.compare-row-name .product-name a:hover {
    color: var(--primary-red);
}

.compare-row-price .price {
    font-size: 24px;
    color: var(--primary-red);
    font-weight: 700;
}

.compare-row-desc .description {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
}

.compare-row-stock .stock-status-text {
    color: #4caf50;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.compare-table .btn-add-to-cart {
    width: auto;
    padding: 0 30px;
    display: inline-block;
}

/* ========================================
   LOGIN & ACCOUNT PAGES
   ======================================== */

.page-title-wrapper {
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.page-title {
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    margin: 0;
}

.login-columns {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.column {
    flex: 0 0 50%;
    max-width: calc(100% - 200px);
    padding: 0 15px;
    box-sizing: border-box;
}

.login-box-content,
.new-customer-box {
    background: #1a1a1a;
    padding: 30px;
    height: 100%;
    border-radius: 4px;
}

.block-title {
    border-bottom: 1px solid #333;
    /* margin-bottom: 20px; */
    padding-bottom: 10px;
    background: transparent;
}

.block-title h2 {
    font-size: 22px;
    font-weight: 400;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.block-title.top-header {
    background: transparent;
    border-bottom: 2px solid #ed1b2e;
    padding: 0 0 15px 0;
    margin-bottom: 30px;
}

.action-link {
    color: #ed1b2e;
    font-size: 14px;
    text-decoration: none;
}

.action-link:hover {
    text-decoration: underline;
}

.block-content p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.form-login .fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.field {
    margin-bottom: 20px;
}

.field.required .label span::after {
    content: '*';
    color: #ed1b2e;
    margin-left: 5px;
}

.label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.control input.form-edit-input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #444;
    color: #fff;
    padding: 12px 15px;
    margin-bottom: 0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-edit-input:focus {
    border-color: #ed1b2e;
    outline: none;
    background: #000;
}

.field-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: #999;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
}

.field-row {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.field-label {
    color: #999;
    font-size: 14px;
    font-weight: 500;
    min-width: 80px;
    flex-shrink: 0;
}

.field-row .data-text {
    color: #fff;
    font-size: 15px;
}

.edit-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-save {
    background: #ed1b2e;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-cancel {
    background: transparent;
    color: #999;
    border: 1px solid #444;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}

.control input.input-text {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    height: 40px;
    padding: 0 15px;
    border-radius: 3px;
}

.control input.input-text:focus {
    border-color: #ed1b2e;
    outline: none;
}

.actions-toolbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.action.primary {
    background: #ed1b2e;
    border: 1px solid #ed1b2e;
    color: #fff;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.action.primary:hover {
    background: #c00;
    border-color: #c00;
}

.action.remind {
    color: #ed1b2e;
    font-size: 14px;
    text-decoration: none;
}

.action.remind:hover {
    text-decoration: underline;
}

/* Signup Form Specific Styles */
.signup-intro {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.input-select {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    height: 40px;
    padding: 0 15px;
    border-radius: 3px;
    font-family: var(--font-main);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.input-select:focus {
    border-color: #ed1b2e;
    outline: none;
}

.input-select option {
    background: #000;
    color: #fff;
}

.control textarea.input-text {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 10px 15px;
    border-radius: 3px;
    font-family: var(--font-main);
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s;
}

.control textarea.input-text:focus {
    border-color: #ed1b2e;
    outline: none;
}

.field.message {
    margin-bottom: 20px;
}

/* ========================================
   MODERN TABBED LOGIN/SIGNUP INTERFACE
   ======================================== */

.auth-tabs-wrapper {
    margin-bottom: 30px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    position: relative;
    background: #1a1a1a;
    padding: 5px;
    border-radius: 50px;
    max-width: 400px;
    margin: 0 auto;
}

.auth-tab {
    flex: 1;
    padding: 12px 25px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.auth-tab i {
    font-size: 16px;
}

.auth-tab.active {
    color: #fff;
}

.tab-indicator {
    position: absolute;
    height: calc(100% - 10px);
    background: linear-gradient(135deg, #ed1b2e 0%, #c00 100%);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    top: 5px;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(237, 27, 46, 0.3);
}

.auth-tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   GLOBAL BREADCRUMBS
   ======================================== */

.breadcrumbs {
    margin-bottom: 30px;
    padding: 20px 0;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

.breadcrumbs ul li {
    display: flex;
    align-items: center;
}

.breadcrumbs ul li a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs ul li a:hover {
    color: #ed1b2e;
}

.breadcrumbs ul li strong {
    color: #fff;
    font-weight: 500;
}

.breadcrumbs ul li:not(:last-child)::after {
    content: "\f105";
    /* FontAwesome chevron-right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin: 0 12px;
    font-size: 10px;
    color: #444;
}

/* Page Specific Breadcrumb Overrides (if any) */
.contact-page .breadcrumbs,
.policy-page .breadcrumbs {
    margin-bottom: 20px;
}

.contact-intro {
    margin-bottom: 40px;
    color: #ccc;
    font-size: 15px;
    line-height: 1.8;
}

.contact-intro a {
    color: #ed1b2e;
    text-decoration: none;
    font-weight: 600;
}

.contact-intro a:hover {
    text-decoration: underline;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-form .fieldset {
    border: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.contact-form .legend {
    display: block;
    width: 100%;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.contact-form .legend span {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Choice (Checkbox) Fields */
.contact-form .field.choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-form .field.choice .checkbox {
    margin-top: 4px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #ed1b2e;
}

.contact-form .field.choice .label {
    margin-bottom: 0;
    cursor: pointer;
    line-height: 1.5;
    color: #ccc;
}

.contact-form .field.choice .label span {
    font-size: 14px;
}

/* Consent Section */
.contact-consent-section {
    margin-bottom: 30px;
}

.consent-statement {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 15px;
}

.consent-statement a {
    color: #ed1b2e;
    text-decoration: none;
}

.consent-statement a:hover {
    text-decoration: underline;
}

.marketing-agreement .label span {
    font-size: 13px;
    color: #999;
}

.contact-form .field {
    margin-bottom: 20px;
}

.contact-form .label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #999;
}

.contact-form .input-text,
.contact-form .input-select {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-form .input-text:focus,
.contact-form .input-select:focus {
    border-color: #ed1b2e;
    outline: none;
    box-shadow: 0 0 5px rgba(237, 27, 46, 0.2);
}

.contact-form .action.submit {
    height: auto;
    width: auto;
    padding: 12px 40px;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.info-box h3 {
    color: #ed1b2e;
    font-size: 18px;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    color: #ed1b2e;
    font-size: 18px;
    margin-top: 3px;
}

.info-item p {
    color: #ccc;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

.info-item a {
    color: #ccc;
    text-decoration: none;
}

.info-item a:hover {
    color: #ed1b2e;
}

.map-wrapper {
    border-radius: 4px;
    overflow: hidden;
    filter: invert(90%) hue-rotate(180deg) brightness(0.9);
    /* Dark mode map trick */
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   POLICY PAGE & CUSTOM TABS (No clash with auth-tabs)
   ======================================== */

.policy-page .breadcrumbs {
    margin-bottom: 30px;
    padding-top: 20px;
}

.policy-tabs-wrapper {
    position: relative;
    margin-bottom: 50px;
    border-bottom: 1px solid #333;
}

.policy-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.p-tab {
    background: transparent;
    border: none;
    color: #999;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 0;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.p-tab:hover {
    color: #fff;
}

.p-tab.active {
    color: #fff;
    font-weight: 700;
}

.p-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ed1b2e;
}

.p-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.p-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.p-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.p-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.p-text-content {
    max-width: 900px;
    margin: 0 auto;
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
}

.p-text-content h3 {
    color: #fff;
    font-size: 20px;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.p-text-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.p-text-content li {
    margin-bottom: 10px;
}

.distributor-info {
    margin-top: 40px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border-left: 4px solid #ed1b2e;
}

/* FAQ Accordion Styles */
.faq-accordion {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.faq-header {
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 600;
    color: #eee;
}

.faq-header:hover {
    background: #1a1a1a;
}

.faq-header i {
    font-size: 14px;
    transition: transform 0.3s;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #000;
}

.faq-body p {
    padding: 20px 25px;
    margin: 0;
}

.faq-item.active .faq-body {
    max-height: 500px;
}

.faq-item.active .faq-header {
    background: #ed1b2e;
    color: #fff;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .policy-tabs {
        gap: 20px;
        flex-wrap: wrap;
    }

    .p-tab {
        font-size: 14px;
    }

    .p-title {
        font-size: 24px;
    }
}

.auth-form-box {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
    max-width: 600px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #fff;
}

.form-header p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.form-footer {
    text-align: right;
    margin-bottom: 20px;
}

.form-footer .action.remind {
    color: #ed1b2e;
    font-size: 13px;
}

.form-footer .action.remind:hover {
    text-decoration: underline;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-alternate {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #2a2a2a;
}

.form-alternate p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.form-alternate a {
    color: #ed1b2e;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.form-alternate a:hover {
    color: #c00;
    text-decoration: underline;
}

.action.primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #ed1b2e 0%, #c00 100%);
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 27, 46, 0.3);
}

.action.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 27, 46, 0.4);
}

.action.primary:active {
    transform: translateY(0);
}

.action.primary i {
    transition: transform 0.3s ease;
}

.action.primary:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .auth-form-box {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .auth-tab span {
        display: none;
    }

    .auth-tabs {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .column {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
}

/* Dashboard Specific Styles */
.columns {
    display: flex;
    /*flex-wrap: wrap;*/
    margin-top: 2rem;
}

.column.main {
    flex: 1;
    order: 2;
    padding-left: 40px;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
    order: 1;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 4px;
    height: fit-content;
}

.sidebar .block-title strong {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.sidebar .nav.item {
    margin-bottom: 10px;
    list-style: none;
}

.sidebar .nav.item a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar .nav.item a:hover {
    color: #ed1b2e;
}

.sidebar .nav.item.current strong {
    color: #ed1b2e;
    border-left: 3px solid #ed1b2e;
    padding-left: 10px;
    display: block;
}

.dashboard-block {
    margin-bottom: 40px;
}

.dashboard-block .block-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.two-columns-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .two-columns-dashboard {
        grid-template-columns: 1fr;
    }
}

.box .box-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.box .box-title strong {
    color: #ed1b2e;
}

.box-content {
    margin-bottom: 0;
    color: #ccc;
}

.box-content p {
    margin: 0 0 15px 0;
    line-height: 1.8;
}

.box-actions-links a {
    color: #ed1b2e;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.box-actions-links a:hover {
    text-decoration: underline;
}

.box-actions a {
    color: #ed1b2e;
    margin-right: 15px;
    text-decoration: none;
}

.box-actions a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .columns {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        order: 2;
        margin-top: 30px;
    }

    .column {
        width: 100%;
    }
}

.btn-save:hover {
    background: #c00;
}

.btn-cancel:hover {
    border-color: #666;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.form-edit-input,
textarea.form-edit-input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #444;
    color: #fff;
    padding: 12px 15px;
    margin-bottom: 0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s, background 0.3s;
    resize: vertical;
}

.form-edit-input:focus,
textarea.form-edit-input:focus {
    border-color: #ed1b2e;
    outline: none;
    background: #000;
}

/* ========================================
/* ========================================
   ORDER HISTORY TABLES
   ======================================== */

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 25px;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    background: #151515;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.data.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.data.table thead th {
    background: #0a0a0a;
    color: #fff;
    font-weight: 700;
    padding: 20px 25px;
    text-align: left;
    border-bottom: 2px solid #333;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.data.table tbody td {
    padding: 22px 25px;
    color: #ccc;
    border-bottom: 1px solid #222;
    vertical-align: middle;
}

.data.table tbody tr:last-child td {
    border-bottom: none;
}

.data.table tbody tr:hover {
    background: #1f1f1f;
}

/* Column Specifics */
.col.id {
    font-weight: 700;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    /* Monospaced logic for IDs usually looks good */
    letter-spacing: -0.5px;
}

.col.total .price {
    color: #fff;
    font-weight: 800;
    font-size: 16px;
}

/* Status Badges */
.order-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    /* Pill shape */
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    min-width: 90px;
    text-align: center;
}

.order-status.processing {
    background: rgba(33, 150, 243, 0.15);
    color: #4dabf5;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.order-status.complete {
    background: rgba(76, 175, 80, 0.15);
    color: #66bb6a;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.order-status.pending {
    background: rgba(255, 152, 0, 0.15);
    color: #ffa726;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.order-status.canceled {
    background: rgba(244, 67, 54, 0.15);
    color: #ef5350;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Action Buttons */
.col.actions {
    white-space: nowrap;
}

.col.actions a {
    display: inline-block;
    color: #ed1b2e;
    text-decoration: none;
    margin-right: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.col.actions a.action.order {
    color: #fff;
    border-left: 1px solid #444;
    padding-left: 20px;
}

.col.actions a:hover {
    color: #ff4d5e;
}

.col.actions a.action.order:hover {
    color: #ddd;
}

/* Pagination Toolbar */
.order-history-pagination .toolbar {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    color: #888;
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   WISHLIST PAGE STYLES
   ======================================== */

.wishlist-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.wishlist-actions {
    display: flex;
    gap: 15px;
}

.wishlist-actions .action {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.wishlist-actions .action:hover {
    border-color: #ed1b2e;
    color: #ed1b2e;
}

.wishlist-actions .action.primary {
    background: #ed1b2e;
    border-color: #ed1b2e;
    color: #fff;
}

.wishlist-actions .action.primary:hover {
    background: #c00;
    border-color: #c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(237, 27, 46, 0.3);
}

.wishlist-grid-container .wishlist-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 30px !important;
}

.wishlist-grid-container .wishlist-item {
    width: auto !important;
    margin: 0 !important;
}

.product-item-info {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.product-item-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #ed1b2e;
}

.product-image-photo {
    width: 100%;
    height: 180px;
    /* Static height as requested */
    object-fit: contain;
    /* Contain the image */
    margin-bottom: 15px;
    border-radius: 4px;
    /* background: #fff; */
    /* White background to make products pop */
    padding: 10px;
}

.product-item-name {
    display: block;
    margin-bottom: 10px;
    min-height: 40px;
}

.product-item-name a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.product-item-name a:hover {
    color: #ed1b2e;
}

.price-box {
    margin-bottom: 15px;
}

.price-box .price {
    font-size: 18px;
    font-weight: 700;
    color: #ed1b2e;
}

.product-item-inner {
    border-top: 1px solid #333;
    padding-top: 15px;
    margin-top: 15px;
}

.product-item-actions.cart-action {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

.qty-input {
    width: 50px;
    padding: 8px;
    background: #111;
    border: 1px solid #444;
    color: #fff;
    text-align: center;
    border-radius: 4px;
}

.action.tocart {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.action.tocart:hover {
    background: #ed1b2e;
}

.actions-secondary {
    position: absolute;
    top: 15px;
    right: 15px;
}

.action.delete {
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
    background: rgba(0, 0, 0, 0.5);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.action.delete:hover {
    color: #ed1b2e;
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   MOBILE & TABLET OPTIMIZATIONS (MINIMAL SPACING)
   ======================================== */
@media (max-width: 992px) {
    main#maincontent {
        padding-bottom: 30px;
    }

    .section-title {
        padding: 20px 10px;
    }

    .section-title h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .product-section {
        padding: 20px 0;
    }

    .periodic-interactive {
        padding: 20px 0;
    }

    .periodic-interactive .standard {
        gap: 20px;
    }

    .shop-service-section {
        padding: 20px 0;
    }

    .product-detail-wrapper {
        padding: 20px 0;
    }

    .product-main-area {
        gap: 30px;
        margin-bottom: 40px;
    }

    .breadcrumbs {
        margin-bottom: 15px;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {

    /* Global Spacing Reductions */
    .standard {
        padding: 0 10px;
    }

    /* Header */
    .header-main-content {
        padding: 10px;
    }

    /* Hero */
    .hero-section {
        padding-bottom: 20px;
    }

    .heroSwiper {
        height: 250px;
    }

    /* Filter Section */
    .filter-section {
        margin-bottom: 20px;
        padding: 15px 0;
    }

    .filter-section .standard {
        gap: 10px;
    }

    .filter-dropdowns {
        gap: 10px;
    }

    /* Product Grids - Force 2 Columns on Mobile for better space usage */
    .products-grid {
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }

    .wishlist-grid-container .wishlist-items-list {
        gap: 10px !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .wishlist-grid-container .wishlist-item {
        width: 100% !important;
    }

    .product-item-info {
        padding: 10px;
    }

    .product-image img,
    .product-image-photo {
        height: 120px;
    }

    .product-name a {
        font-size: 13px;
    }

    .product-price {
        font-size: 16px;
        margin-bottom: 10px;
    }

    /* Product Page */
    .product-main-area {
        gap: 20px;
        margin-bottom: 30px;
    }

    .main-image-container {
        height: 250px;
        padding: 20px;
    }

    .product-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .current-price {
        font-size: 24px;
    }

    .product-actions {
        gap: 10px;
    }

    .btn-add-to-cart,
    .btn-buy-now {
        min-width: unset;
        font-size: 14px;
    }

    /* Comparison Page */
    .compare-container {
        padding: 20px 0;
    }

    /* Login / Account */
    .login-columns {
        margin: 0;
        gap: 20px;
    }

    .column {
        padding: 0;
        margin-bottom: 20px;
    }

    .login-box-content,
    .new-customer-box,
    .auth-form-box {
        padding: 20px;
    }

    /* Dealer Locator */
    .dealer-sidebar {
        height: 400px;
        position: relative;
        width: 100%;
        margin-bottom: 20px;
        border-radius: 6px;
    }

    .dealer-map-container {
        height: 300px;
    }

    .dealer-locator-wrapper {
        height: auto;
        display: flex;
        flex-direction: column-reverse;
        /* Map on top, List below */
    }

    /* Footer */
    .site-footer {
        padding: 30px 0 15px;
    }

    .footer-newsletter,
    .footer-links {
        padding-bottom: 20px;
        margin-bottom: 20px;
        gap: 20px;
    }

    .footer-col {
        min-width: 45%;
        /* Allow 2 cols per row in footer */
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 20px;
    }

    .heroSwiper {
        height: 200px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-image {
        height: 140px;
    }

    .filter-btn {
        padding: 10px;
    }

    .dealer-sidebar {
        height: 350px;
    }


}

/* ========================================
   SLIDE-IN CART STYLES
   ======================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: #fff;
    z-index: 10001;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.side-cart.open {
    right: 0;
}

.side-cart-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    color: #333;
    flex-shrink: 0;
}

.cart-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.close-item-cart-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.close-item-cart-btn:hover {
    color: #333;
}

.side-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-summary-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.cart-summary-info .cart-count {
    font-size: 14px;
    color: #666;
}

.cart-subtotal-header {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    color: #333;
}

.cart-subtotal-header span:first-child {
    font-weight: 500;
    color: #666;
}

.subtotal-amount {
    font-size: 18px;
    color: #000;
    margin-top: 2px;
}

.side-cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-checkout {
    width: 100%;
    background-color: #D31010;
    color: white;
    border: none;
    padding: 15px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 2px;
}

.btn-checkout:hover {
    background-color: #b00c0c;
}

.side-cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.item-image {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
    display: block;
    word-wrap: break-word;
}

.item-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.item-price {
    font-weight: 700;
    font-size: 15px;
    color: #000;
}

.item-qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-label {
    font-size: 12px;
    color: #777;
    font-weight: 600;
}

.qty-actions {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    height: 28px;
}

.qty-btn {
    background: #f1f1f1;
    border: none;
    width: 25px;
    height: 100%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 35px;
    height: 100%;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    outline: none;
    background: transparent;
    color:#000;
}

.item-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.item-action-btn {
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    font-size: 15px;
    padding: 0;
    transition: color 0.2s;
}

.item-action-btn:hover {
    color: #666;
}

.item-action-btn.delete:hover {
    color: #D31010;
}

.view-cart-link {
    color: #333;
    text-decoration: underline;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    display: block;
}

.view-cart-link:hover {
    color: #D31010;
}

@media (max-width: 480px) {
    .side-cart {
        width: 100%;
        right: -100%;
    }
}

/* Inquiry Form */
.inquiry-section {
    padding: 60px 0;
    background-color: #000;
    /* Dark background */
    color: #fff;
}

.inquiry-form-container {
    background-color: #1a1a1a;
    /* Dark card background */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin: 0 auto;
    border-top: 5px solid var(--primary-red);
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.form-title span {
    color: var(--primary-red);
}

.section-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    margin-top: 10px;
    grid-column: span 2;
}

.inquiry-type-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.type-option {
    position: relative;
}

.type-option input {
    display: none;
}

.type-option label {
    display: block;
    padding: 10px 30px;
    background-color: #333;
    border: 2px solid #444;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #ccc;
}

.type-option input:checked+label {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
    box-shadow: 0 0 15px rgba(237, 27, 46, 0.4);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ccc;
    font-size: 14px;
}

.form-label .required {
    color: var(--primary-red);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
    color: #fff;
}

.form-control:focus {
    border-color: var(--primary-red);
    outline: none;
    background-color: #333;
}

.form-control::placeholder {
    color: #666;
}

.helper-text {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.btn-submit {
    background-color: var(--primary-red);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #c00;
}

.btn-reset {
    background-color: transparent;
    color: #ccc;
    border: 1px solid #555;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-reset:hover {
    background-color: #333;
    border-color: #777;
    color: #fff;
}

/* Hide Corporate fields by default if Individual is selected */
.corporate-only {
    display: none;
}

/* Optgroup styling for Model dropdown */
.form-control optgroup {
    font-weight: 700;
    font-style: normal;
    color: #fff;
    background-color: #1a1a1a;
}

.form-control option {
    font-weight: 400;
    color: #fff;
    background-color: #2a2a2a;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .section-heading {
        grid-column: span 1;
    }

    .inquiry-form-container {
        padding: 20px;
    }
}

.product-gallery {
    width: 100%;
}

.main-image-container {
    position: relative;
    overflow: hidden;
}

.main-image-container img {
    width: 100%;
    display: block;
}

.thumbs-slider {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.thumb-btn {
    width: 100px;
    height: 80px;
    border: 2px solid #222;
    background: #111;
    padding: 4px;
    cursor: pointer;
    flex: 0 0 auto;
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-btn.active {
    border-color: #d99a18;
}