/**
 * Project 39 Homepage Styles
 * Based on Figma Design: https://www.figma.com/proto/dp39iOtGrXdvRjc0c5jChP/Bike-Spareparts
 */

:root {
    --primary-color: #f97c30;
    --primary-red: #e74c3c;
    --dark-bg: #1a1a1a;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --gray-light: #f8f8f8;
    --container-width: 1600px;
}

.homepage-project39 {
    width: 100%;
    font-family: "Poppins", sans-serif;
}

/* Hero Banner Section - Matching Figma */
.hero-banner-section {
    margin-bottom: 50px;
}

.hero-main-banner {
    position: relative;
    height: 550px;
    background: #1a1a1a;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-main-banner .hero-content {
    position: absolute;
    left: 60px;
    z-index: 2;
    color: var(--white);
    max-width: 500px;
}

.hero-main-banner .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 35px;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-main-banner .hero-image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 65%;
    overflow: hidden;
}

.hero-main-banner .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.btn-shop-now {
    background: var(--primary-red);
    color: var(--white);
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.btn-shop-now:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.hero-side-banners {
    display: flex;
    flex-direction: column;
    height: 550px;
    gap: 12px;
}

.hero-side-banners .side-banner {
    flex: 1;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.hero-side-banners .side-banner .banner-content {
    padding: 25px;
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-side-banners .side-banner h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero-side-banners .side-banner img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    border-radius: 4px;
}

/* CATEGORY SIDEBAR */
.category-box {
    border: 1px solid #eee;
    position: relative;
    background: #ffffff;
    max-width: 243px;
    width: 300px;
}

.category-box ul {
    position: relative;
    margin: 0;
    padding: 0;
}

.category-box ul li {
    list-style: none;
    padding: 6px;
}

.category-box ul li a {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
}

.category-box ul li a:hover {
    color: var(--primary-color);
}

.category-box .category-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: background-color 0.3s;
    color: #333333;
}

.category-box .category-item:hover {
    background-color: #eeeeee;
    color: var(--primary-color);
}

.category-box .category-item .category-name-link {
    flex: 1;
    display: block;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.category-box .category-item .category-name-link:hover {
    color: var(--primary-color);
}

.category-box .category-item i {
    font-size: 0.7rem;
    color: #666666;
    transition:
        transform 0.3s,
        color 0.3s;
}

.category-box .category-item:hover i {
    transform: translateX(3px);
    color: var(--primary-color);
}

.category-box .see-more {
    padding: 12px 15px;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
    background: #ffffff;
    transition: background-color 0.3s;
}

.category-box .see-more:hover {
    background-color: #fff5f5;
}

.category-box .see-more-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    text-transform: inherit;
    font-size: inherit;
}

.category-box .see-more-link:hover {
    color: inherit;
    text-decoration: none;
}

.category-box .hero-see-more + .hero-see-more {
    display: none !important;
}

/* Category Dropdown */
.category-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    width: 350px;
    background: #ffffff;
    border: 1px solid #eee;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s,
        visibility 0.3s;
    z-index: 1000;
}

.category-item:hover .category-dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown-content {
    padding: 20px;
}

.dropdown-content .category-link {
    display: block;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    margin-bottom: 15px;
    font-weight: 400;
    transition: color 0.2s;
}

.dropdown-content .category-link:hover {
    color: var(--primary-color);
}

.dropdown-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #333333;
    text-transform: none;
    line-height: 1.2;
}

.dropdown-content p {
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: 400;
}

/* Search By Bike Section */
.search-by-bike-section {
    /* background: #f5f5f5; */
    margin-bottom: 35px;
    margin-top: 13px;
}

.search-box {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 0;
}

.search-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

.search-controls {
    row-gap: 12px;
}



.search-select {
    flex: 1;
    /* max-width: 270px; */
    width: 100%;
    padding: 7.5px 15px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #333333;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
    transition: border-color 0.3s;
    min-height: 44px;
}

.search-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-select option {
    padding: 10px;
}

.btn-reset {
    background: #999999;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-reset:hover {
    background: #777777;
}

.btn-search {
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.section-header {
    margin-bottom: 35px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
    color: #333333;
}

.section-title__heading {
    min-width: 0;
    flex: 1 1 auto;
}

.section-title__actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.section-title .arrows {
    color: var(--primary-color);
    letter-spacing: -5px;
    margin-right: 10px;
}

.carousel-nav {
    display: flex;
    gap: 5px;
    align-items: center;
}

.carousel-nav .carousel-control-prev,
.carousel-nav .carousel-control-next {
    position: static;
    width: 40px;
    height: 40px;
    border: 1px solid #dddddd;
    border-radius: 50%;
    opacity: 1;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-nav .carousel-control-prev:hover,
.carousel-nav .carousel-control-next:hover {
    background: #e8e8e8;
    border-color: #b0b0b0;
}

.carousel-nav .carousel-control-prev i,
.carousel-nav .carousel-control-next i {
    color: #666666;
    font-size: 0.85rem;
    font-weight: 600;
}

.carousel-nav .carousel-control-prev:hover i,
.carousel-nav .carousel-control-next:hover i {
    color: #333333;
}

.carousel-nav .carousel-control-prev .visually-hidden,
.carousel-nav .carousel-control-next .visually-hidden {
    display: none;
}

.bike-search-form {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.bike-search-form .form-control {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
    width: 100%;
}

.bike-search-form .form-control:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-reset {
    background: #999999;
    color: var(--white);
    max-width: 200px;
    width: 100%;
    padding: 8px 4px;
    border-radius: 0px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-reset:hover {
    background: #777777;
}

.btn-search {
    background: var(--primary-color);
    color: var(--white);
    max-width: 200px;
    width: 100%;
    /* padding: 14px 40px; */
    border: none;
    padding: 8px 4px;
    border-radius: 0px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-search:hover {
    background: #f15f06;
    transform: translateY(-2px);
    /* box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4); */
}

@media (min-width: 768px) and (max-width: 991px) {
    .search-box {
        padding: 18px;
    }

    .search-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .search-controls>[class*="col-"] {
        width: 100%;
    }

    .search-controls .col-md-2,
    .search-controls .col-md-3 {
        width: 50%;
    }

    .search-controls .col-lg-3 .row {
        margin-top: 4px;
    }

    .search-controls .col-lg-3 .col-md-6 {
        width: 50%;
    }

    .btn-reset,
    .btn-search {
        max-width: none;
        min-height: 44px;
    }
}

/* Popular Brands Section */
.popular-brands-section {
    padding: 35px 0;
}

.popular-brands-section .carousel {
    position: relative;
}

.popular-brands-section .carousel-inner {
    overflow: visible;
}

.popular-brands-section .carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Brands slider: Slick controls layout; each slide is one .brand-item */
.brands-slider .slick-slide {
    margin: 10px;
}

.brand-item {
    background: #ffffff;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 6px 0px #0000001a;
    transition: all 0.3s;
    width: 100%;
    height: 140px;
    min-height: 140px;
    box-sizing: border-box;
}

.brand-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.brand-item img {
    max-width: 100%;
    max-height: 90px;
    aspect-ratio: 4/2;
    object-fit: contain;
}

.btn-see-all {
    display: inline-block;
    padding: 6px 18px;
    background-color: #ff7019;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
}

.btn-see-all:hover {
    background-color: #e65c00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 112, 25, 0.3);
    text-decoration: none;
}

@media (min-width: 768px) and (max-width: 991px) {
    .section-title {
        font-size: 1.6rem;
        gap: 12px;
        align-items: center;
        flex-wrap: nowrap;
    }

    .section-title__heading {
        flex: 1 1 auto;
        min-width: 0;
    }

    .section-title__actions {
        width: auto;
        flex: 0 0 auto;
        gap: 10px !important;
        justify-content: flex-end !important;
    }

    .btn-see-all {
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
        min-width: auto;
    }

    .carousel-nav .carousel-control-prev,
    .carousel-nav .carousel-control-next {
        width: 36px;
        height: 36px;
    }
}

/* Popular Categories Section */
.popular-categories-section {
    padding-top: 35px;
    /* background: #f8f8f8; */
    /* margin-bottom: 50px; */
}

.popular-categories-section .container {
    overflow: hidden;
    position: relative;
}

.popular-categories-section .carousel {
    position: relative;
    overflow: hidden;
}

.popular-categories-section .carousel-inner {
    overflow: hidden;
    width: 100%;
}

/* Categories slider: Slick controls layout */
.categories-slider .slick-slide {
    margin: 0 1px;
}

.categories-slider .category-slide {
    padding: 0;
    box-sizing: border-box;
}

.categories-slider .category-item-custom {
    max-width: 100%;
}

.category-item-custom {
    background: #ffffff;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s;
    max-width: 219px;
    width: 100%;
    display: block;
    text-decoration: none;
}

.category-item-custom:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.category-item-custom img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 15px;
    display: block;
    max-width: 100%;
}

.category-item-custom h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #333333;
    text-transform: uppercase;
}

.category-item-custom span {
    font-size: 16px;
    color: #a3a3a3;
}

/* Bike Features Section - category cards in grid */
.bike-features-section {
    padding: 40px 0 50px;
}

.bike-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    justify-items: center;
}

.bike-features-section .bike-feature-card {
    max-width: 280px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bike-features-section .bike-feature-card img {
    height: 180px;
    object-fit: cover;
    background: #f5f5f5;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.category-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

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

.category-card .category-image {
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.category-card .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-card .category-info {
    padding: 20px;
    text-align: center;
}

.category-card .category-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    text-transform: uppercase;
}
.product-card-custom .product-card-actions .product-card-add-to-cart .btn-text {
    color: #ffffff;
}
.category-card .category-info .item-count {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Products Carousel */
/* New Arrivals Section */
.new-arrivals-section {
    padding: 35px 0;
}

/* Feature Products Section */
.feature-products-section {
    padding: 50px 0;
    margin-bottom: 50px;
}

.feature-products-section .carousel {
    position: relative;
    overflow: visible;
}

.feature-products-section .carousel-inner {
    overflow: hidden;
    width: 100%;
}

.feature-products-section .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.new-arrivals-section .carousel {
    position: relative;
    overflow: visible;
    /* padding: 0 60px; */
}

.new-arrivals-section .carousel-inner {
    overflow: hidden;
    width: 100%;
}

.new-arrivals-section .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.new-arrivals-section .carousel-control-prev,
.new-arrivals-section .carousel-control-next,
.feature-products-section .carousel-control-prev,
.feature-products-section .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 70px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    box-shadow: 0px 4px 24px 0px #0000001a;
    border-radius: 0;
    opacity: 1;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-products-section .carousel-control-prev,
.new-arrivals-section .carousel-control-prev {
    left: -20px;
}

.new-arrivals-section .carousel-control-next,
.feature-products-section .carousel-control-next {
    right: -20px;
}

.feature-products-section .carousel-control-prev:hover,
.feature-products-section .carousel-control-next:hover,
.new-arrivals-section .carousel-control-prev:hover,
.new-arrivals-section .carousel-control-next:hover {
    background: #e8e8e8;
    border-color: #b0b0b0;
}

.feature-products-section .carousel-control-prev i,
.feature-products-section .carousel-control-next i,
.new-arrivals-section .carousel-control-prev i,
.new-arrivals-section .carousel-control-next i {
    color: #b4b3b3;
    font-size: 0.9rem;
    font-weight: 700;
}

.feature-products-section .carousel-control-prev:hover i,
.feature-products-section .carousel-control-next:hover i,
.new-arrivals-section .carousel-control-prev:hover i,
.new-arrivals-section .carousel-control-next:hover i {
    color: #000000;
}

.feature-products-section .carousel-control-prev .visually-hidden,
.feature-products-section .carousel-control-next .visually-hidden,
.new-arrivals-section .carousel-control-prev .visually-hidden,
.new-arrivals-section .carousel-control-next .visually-hidden {
    display: none;
}

/* Slick Slider Styles for New Arrivals and Feature Products */
.new-arrivals-slider-wrapper,
.feature-products-slider-wrapper {
    position: relative;
}

.products-slider .slick-track {
    display: flex !important;
}

.products-slider .slick-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.products-slider .product-card-carousel-item {
    padding: 0 10px;
    height: inherit;
    width: 100%;
}

/* Related products: fixed card width so Slick (variableWidth) doesn't shrink them */
.related-products-slider-wrapper .product-card-carousel-item {
    width: 261px;
    min-width: 261px;
    max-width: 261px;
}

@media (max-width: 1200px) {
    .related-products-slider-wrapper .product-card-carousel-item {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .related-products-slider-wrapper .product-card-carousel-item {
        width: 200px;
        min-width: 200px;
        max-width: 200px;
    }

    .container {
        max-width: 100%;
        padding: 0px 10px;
    }
}

@media (max-width: 480px) {
    .section-title {
        gap: 8px;
    }

    .section-title__heading {
        font-size: 1.15rem;
    }

    .section-title__actions {
        align-items: center !important;
        gap: 8px !important;
    }

    .carousel-nav {
        gap: 6px;
    }

    .carousel-nav .carousel-control-prev,
    .carousel-nav .carousel-control-next {
        width: 34px;
        height: 34px;
    }

    .btn-see-all {
        padding: 7px 10px;
        font-size: 10px;
    }

    .hotspot-dot {
        width: 18px;
        height: 18px;
    }

    .hotspot-dot::before {
        width: 26px;
        height: 26px;
    }

    .related-products-slider-wrapper .product-card-carousel-item {
        width: 160px;
        min-width: 160px;
        max-width: 160px;
    }
}

.new-arrivals-prev,
.new-arrivals-next,
.feature-products-prev,
.feature-products-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.new-arrivals-prev,
.feature-products-prev {
    left: -50px;
}

.new-arrivals-next,
.feature-products-next {
    right: -50px;
}

.new-arrivals-prev i,
.new-arrivals-next i,
.feature-products-prev i,
.feature-products-next i {
    font-size: 20px;
    color: #333;
}

.new-arrivals-prev:hover i,
.new-arrivals-next:hover i,
.feature-products-prev:hover i,
.feature-products-next:hover i {
    color: var(--primary-color);
}

.products-row {
    display: flex;
    gap: 32px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
}

/* Carousel item wrapper for product cards (home New Arrivals, Feature Products) */
.product-card-carousel-item {
    min-width: 0;
    /* flex: 0 0 300px; */
    /* Let the content determine width or set in JS/CSS?
           Wait, if it's a native slider, children need a width.
           In default CSS earlier, product-card had flex: 0 0 300px.
           Let's check if we need to restore that. */
}

.product-card-carousel-item .product-card-custom {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
}

/* Product Cards */
.products-grid-custom {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.product-card-custom {
    position: relative;
    border: 1px solid #eeeeee;
    padding: 15px;
    border-radius: 5px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-custom .product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.product-card-custom:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000000;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px;
    width: 35px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.product-card-image-wrap {
    margin-bottom: 12px;
}

.product-card-image-wrap>img {
    width: 100%;
    margin-bottom: 0;
    height: 180px;
    object-fit: contain;
    display: block;
    max-width: 100%;
    background: #fafafa;
}

/* Top-right related images strip: icon + hover flyout */
.product-card-images-strip {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.product-card-images-trigger {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    /* background: #fff; */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.product-card-images-trigger i {
    color: #1c1c1c;
}

.product-card-images-trigger:hover,
.product-card-images-trigger:focus {
    background: rgba(0, 0, 0, 0.08);
    outline: none;
}

.product-card-images-trigger i {
    font-size: 14px;
}

.product-card-images-flyout {
    display: none;
    flex-direction: column;
    gap: 4px;
    max-height: 180px;
    overflow-y: auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 6px;
    border: 1px solid #eee;
}

.product-card-images-strip:hover .product-card-images-flyout,
.product-card-images-strip:focus-within .product-card-images-flyout {
    display: flex;
}

.product-card-images-thumb {
    display: block;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    background: #fafafa;
    transition: border-color 0.2s;
}

.product-card-images-thumb:hover,
.product-card-images-thumb:focus {
    border-color: var(--primary-color, #f97c30);
    outline: none;
}

.product-card-images-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 0;
}

@media (max-width: 767.98px) {
    .product-card-custom {
        padding: 12px;
    }

    .product-card-image-wrap {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }

    .product-card-image-wrap>img {
        height: 150px;
    }

    .product-card-images-strip {
        position: static;
        width: 100%;
        align-items: stretch;
        gap: 8px;
    }

    .product-card-images-trigger {
        display: none;
    }

    .product-card-images-flyout {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .product-card-images-thumb {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        border-width: 1px;
        border-color: #e5e7eb;
        border-radius: 6px;
    }

    .product-card-custom h5 {
        font-size: 14px;
        line-height: 1.4;
    }

    .product-card-custom .price .new {
        font-size: 16px;
    }
}

.product-card-custom h5 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.5;
    min-height: unset;
    overflow: hidden;
    color: #333333;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-custom .price {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 5px;
}

.product-card-custom .price .old {
    font-size: 12px;
    text-decoration: line-through;
    color: #999999;
    font-weight: 400;
}

.product-card-custom .price .new {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.product-card-custom .product-card-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: auto;
    padding-top: 10px;
}

.product-card-custom .product-card-actions a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-card-custom .product-card-actions button,
.product-card-custom .product-card-actions a.btn {
    padding: 5px 15px;
    border-radius: 4px;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
}

.product-card-custom .product-card-actions .btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
}

.product-card-custom .product-card-actions .btn-primary i {
    color: #ffffff;
}

.product-card-custom .product-card-actions .btn-outline-secondary {
    background: transparent;
    color: #4e4e4e;
    border: 1px solid #4e4e4e;
}


.feature-products-section {
    padding: 70px 0;
    background-color: #f9f9f9;
}


/* Promo Banner Large */
.promo-banner-large {
    margin: 50px 0;
    padding: 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #ffffff;
    border: 1px solid #eeeeee;
    min-height: 500px;
}

.promo-image {
    position: relative;
    overflow: visible;
    /* background: #f5f5f5; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 40px; */
}

.promo-image img {
    height: auto;
    max-height: 560px;
    object-fit: contain;
    display: block;
}

/* Hotspot Styles */
.hotspot {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.hotspot-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.hotspot-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(231, 76, 60, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.hotspot:hover .hotspot-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Removed hover - show only on click */

.hotspot-card {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* padding: 20px; */
    min-width: max-content;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
    pointer-events: none;
}

.hotspot.active .hotspot-card {
    pointer-events: auto;
}

.hotspot-card .product-card-custom {
    max-width: unset;
    border: 0px
}

.hotspot-card::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ffffff;
}

.hotspot-card::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #e0e0e0;
    z-index: -1;
}

.hotspot.active .hotspot-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.hotspot-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hotspot-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* Adjust card position for hotspots near edges */
.hotspot[data-hotspot="1"] .hotspot-card,
.hotspot[data-hotspot="2"] .hotspot-card {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.hotspot[data-hotspot="1"].active .hotspot-card,
.hotspot[data-hotspot="2"].active .hotspot-card {
    transform: translateX(0) translateY(-5px);
}

.hotspot[data-hotspot="1"] .hotspot-card::before,
.hotspot[data-hotspot="2"] .hotspot-card::before {
    left: auto;
    right: 20px;
    transform: translateX(0);
}

.hotspot[data-hotspot="1"] .hotspot-card::after,
.hotspot[data-hotspot="2"] .hotspot-card::after {
    left: auto;
    right: 19px;
    transform: translateX(0);
}

.hotspot[data-hotspot="5"] .hotspot-card,
.hotspot[data-hotspot="6"] .hotspot-card {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.hotspot[data-hotspot="5"].active .hotspot-card,
.hotspot[data-hotspot="6"].active .hotspot-card {
    transform: translateX(0) translateY(-5px);
}

.hotspot[data-hotspot="5"] .hotspot-card::before,
.hotspot[data-hotspot="6"] .hotspot-card::before {
    left: auto;
    right: 20px;
    transform: translateX(0);
}

.hotspot[data-hotspot="5"] .hotspot-card::after,
.hotspot[data-hotspot="6"] .hotspot-card::after {
    left: auto;
    right: 19px;
    transform: translateX(0);
}



.promo-content {
    padding: 80px 60px;
    background: #1a1a1a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
    color: #ffffff;
}

.promo-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 0;
    text-align: justify;
}


/* Service Features */
.service-features {
    background: #ffffff;
    margin-bottom: 50px;
}

/* Bottom Banners */
.bottom-banners {
    margin-bottom: 21px;
}

.bottom-banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34.44px;
}

.bottom-banner-item {
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    width: 100%;
    height: 250px;
    background: #f5f5f5;
}

.bottom-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 4px;
}

.services-grid-custom {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 15px 60px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}

.service-item-custom {
    display: flex;
    align-items: center;
    gap: 15px;
}


.service-icon i {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-color);
}

.service-text {
    flex: 1;
}

.service-text h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #333333;
    text-transform: uppercase;
    line-height: 1.3;
}

.service-text p {
    font-size: 0.85rem;
    color: #999999;
    margin: 0;
    line-height: 1.3;
}

.products-carousel {
    position: relative;
    padding: 0 50px;
}

.products-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
}

.products-slider::-webkit-scrollbar {
    display: none;
}

/* Product Card - Matching Figma */
.product-card {
    flex: 0 0 300px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

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

.product-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f0f0f0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.discount-badge {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #00000024;
    color: #000000;
    padding: 4px 12px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    z-index: 2;
}

.product-actions {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
}



.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
    min-height: 45px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.sale-price,
.current-price {
    color: var(--primary-red);
    font-size: 1.4rem;
    font-weight: 800;
}

.product-brand {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.product-actions-bottom {
    padding: 0 20px 20px;
    display: flex;
    gap: 12px;
}

.btn-add-to-cart {
    flex: 1;
    background: var(--primary-red);
    color: var(--white);
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s;
}

.btn-add-to-cart:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.btn-follow-up {
    background: transparent;
    color: var(--text-dark);
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-follow-up:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* Promotional Section */
.promotional-section {
    padding: 70px 0;
    background: var(--gray-light);
    margin-bottom: 50px;
}

/* Promo Banner Large */
.promo-banner-large {
    margin: 50px 0;
    padding: 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    /* border: 1px solid #eeeeee; */
    min-height: 557px;
}


.promo-image {
    position: relative;
    /* overflow: hidden; */
    /* background: #f5f5f5; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 40px; */
}



.hotspot {
    /* position: absolute;
    width: 20px;
    height: 20px; */
    background: var(--primary-color);
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(243, 68, 68, 0.6);
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 5;
}

.promo-content {
    padding: 80px 60px;
    background: #1a1a1a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-content h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #ffffff;
}

.promo-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 0;
    text-align: justify;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 500;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Service Guarantees Section */
.service-guarantees-section {
    padding: 50px 0;
    background: var(--white);
    margin-bottom: 50px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.service-item {
    text-align: center;
    padding: 25px;
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
    display: block;
}

.service-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.service-item p {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

/* Promotional Banners Section */
.promo-banners-section {
    padding: 50px 0;
    margin-bottom: 50px;
}

.promo-banner {
    background: var(--dark-bg);
    border-radius: 8px;
    overflow: hidden;
    height: 280px;
    position: relative;
    transition: transform 0.3s;
}

.promo-banner:hover {
    transform: translateY(-5px);
}

.promo-banner .banner-content {
    padding: 35px;
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-banner h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.promo-banner p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.promo-banner.mega-sale {
    background: linear-gradient(135deg, var(--primary-red), #c0392b);
}

.promo-banner img {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 4px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}



/* ============================================
   Cart Page & Cart Summary
   ============================================ */
.cart-page {
    --cart-accent: #ff7019;
    --cart-accent-hover: #e66414;
    --cart-border: #e8e8e8;
    --cart-bg: #fafafa;
}

.cart-item-card {
    background: #fff;
    border: 1px solid var(--cart-border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.6rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cart-item-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}

.cart-item-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0px 5px
}

.cart-item-image-wrap {
    flex: 0 0 100px;
    max-width: 100px;
    min-height: 100px;
    background: var(--cart-bg);
}

.cart-item-image-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100px;
    overflow: hidden;
}

.cart-item-img {
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item-image-link:hover .cart-item-img {
    transform: scale(1.05);
}

.cart-item-details {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.25;
    display: inline;
}

.cart-item-title:hover {
    color: var(--cart-accent);
}

.cart-item-sku {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    display: inline-block;
}

.cart-item-unit-price {
    font-size: 0.875rem;
    margin: 0;
}

.cart-item-options {
    margin-bottom: 0.25rem;
}

.cart-item-options small {
    font-size: 0.8rem;
}

.cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: 0.35rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--cart-border);
}

.cart-item-qty-remove {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.qty-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--cart-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: #f3f4f6;
    color: #374151;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.qty-btn:hover {
    background: var(--cart-accent);
    color: #fff;
}

.qty-btn:active {
    transform: scale(0.98);
}

.qty-input {
    width: 44px;
    height: 34px;
    border: none;
    border-left: 1px solid var(--cart-border);
    border-right: 1px solid var(--cart-border);
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.qty-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--cart-accent);
}

.cart-item-remove {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid #fecaca;
    border-radius: 6px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cart-item-remove:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.cart-item-total {
    text-align: right;
}

.cart-item-total-label {
    display: block;
    font-size: 0.7rem;
    color: #6b7280;
    margin-bottom: 0.1rem;
}

.cart-item-total-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cart-accent);
}

.cart-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.cart-page-actions .btn-cart-outline,
.btn-cart-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border: 2px solid #1f2937;
    background: #fff !important;
    color: #1f2937 !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cart-page-actions .btn-cart-outline i,
.btn-cart-outline i {
    color: inherit !important;
}

.cart-page-actions .btn-cart-outline:hover,
.btn-cart-outline:hover {
    background: #1f2937 !important;
    border-color: #1f2937;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.cart-page-actions .btn-cart-outline:hover i,
.btn-cart-outline:hover i {
    color: #fff !important;
}

.cart-page-actions .btn-cart-primary,
.btn-cart-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    background: var(--cart-accent) !important;
    border: 2px solid var(--cart-accent) !important;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.cart-page-actions .btn-cart-primary i,
.btn-cart-primary i {
    color: #fff;
}

.cart-page-actions .btn-cart-primary:hover,
.btn-cart-primary:hover {
    background: var(--cart-accent-hover) !important;
    border-color: var(--cart-accent-hover) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 112, 25, 0.35);
    transform: translateY(-1px);
}

.cart-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 420px;
    margin: 0 auto;
}

.cart-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: var(--cart-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-empty-icon i {
    font-size: 3rem;
    color: #d1d5db;
}

.cart-empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cart-empty-text {
    margin-bottom: 0;
}

/* Cart Summary */
.cart-summary-card {

    position: sticky;
    top: 2rem;
    z-index: 100;
}

/* Ensure coupon modal appears above Bootstrap's modal-backdrop (z-index: 1050) */
body.modal-open .cart-summary-card {
    z-index: 1060;
}

.cart-summary-inner {
    background: #fff;
    border: 1px solid var(--cart-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.cart-summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    padding: 1.25rem 1.5rem 0;
    letter-spacing: 0.02em;
}

.cart-summary-body {
    padding: 1rem 1.5rem 1.5rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.cart-summary-row-sm {
    padding: 0.25rem 0;
    font-size: 0.85rem;
}

.cart-summary-label {
    color: #6b7280;
}

.cart-summary-value {
    font-weight: 600;
    color: #1a1a1a;
}

.cart-summary-discount .cart-summary-value {
    font-weight: 700;
}

.cart-summary-tax-detail {
    padding-left: 1rem;
    margin-bottom: 0.25rem;
    border-left: 2px solid var(--cart-border);
}

.cart-summary-coupon {
    margin: 1rem 0;
}

.cart-coupon-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--cart-border);
    border-radius: 10px;
    background: #f9fafb;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cart-coupon-trigger:hover {
    border-color: var(--cart-accent);
    background: #fff7ed;
    color: var(--cart-accent);
}

.cart-coupon-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    background: #ecfdf5;
    border: 2px solid #a7f3d0;
    border-radius: 10px;
}

.cart-coupon-label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.15rem;
}

.cart-coupon-code {
    font-weight: 700;
    color: #059669;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.cart-coupon-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #dc2626;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.25rem;
}

.cart-coupon-remove:hover {
    color: #b91c1c;
}

.cart-coupon-applied .cart-coupon-remove {
    display: none;
}

.cart-summary-divider {
    height: 1px;
    background: var(--cart-border);
    margin: 1rem 0 1.25rem;
}

.cart-summary-grand-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.cart-summary-grand-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
}

.cart-summary-grand-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cart-accent);
}

.btn-cart-checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 25px;
    background: var(--cart-accent) !important;
    border: 2px solid var(--cart-accent) !important;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.btn-cart-checkout i {
    color: #fff;
}

.btn-cart-checkout:hover {
    background: var(--cart-accent-hover) !important;
    border-color: var(--cart-accent-hover) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 112, 25, 0.35);
    transform: translateY(-1px);
}

.btn-cart-summary-apply {
    display: inline-flex;
    align-items: center;
    background: var(--cart-accent);
    border: 2px solid var(--cart-accent);
    color: #fff;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-cart-summary-apply:hover {
    background: var(--cart-accent-hover);
    border-color: var(--cart-accent-hover);
    color: #fff;
}

.cart-summary-secure {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 1rem 0 0;
}

.btn-cart-modal-close {
    display: inline-flex;
    align-items: center;
    border: 2px solid #d1d5db;
    background: #fff;
    color: #374151;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-cart-modal-close:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #1f2937;
}

.cart-coupon-modal-content .form-control:focus {
    border-color: var(--cart-accent);
    box-shadow: 0 0 0 0.2rem rgba(255, 112, 25, 0.2);
}

/* ============================================
   Checkout Onepage
   ============================================ */
.checkout-page {
    --checkout-accent: #ff7019;
    --checkout-accent-hover: #e66414;
    --checkout-border: #e8e8e8;
    background: #f5f5f7;
    min-height: 100vh;
}

.checkout-page .checkout-section-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.checkout-section-header {
    background: var(--checkout-accent);
    color: #fff;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border: none;
}

.checkout-section-header .mb-0 {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.checkout-page .card-body {
    padding: 1.5rem;
    background: #fff;
}

.checkout-page .form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.checkout-page .form-control,
.checkout-page .form-select {
    border: 1px solid var(--checkout-border);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
}

.checkout-page .form-control:focus,
.checkout-page .form-select:focus {
    border-color: var(--checkout-accent);
    box-shadow: 0 0 0 3px rgba(255, 112, 25, 0.15);
}

.checkout-page .form-control.is-invalid {
    border-color: #dc3545;
}

.btn-checkout-secondary {
    border: 2px solid #374151;
    background: #fff;
    color: #374151;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-checkout-secondary:hover {
    background: #374151;
    color: #fff;
    border-color: #374151;
}

/* Order Summary Sidebar */
.checkout-summary-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    top: 1.25rem !important;
}

.checkout-summary-header {
    background: var(--checkout-accent);
    color: #fff;
}

.order-summary-items {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}



/* Order summary content */
.order-summary-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
}

.order-summary-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--checkout-border);
}

.order-summary-item:last-child {
    border-bottom: none;
}

.order-summary-item-img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.order-summary-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-summary-item-details {
    flex: 1;
    min-width: 0;
}

.order-summary-item-title {
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.order-summary-item-price,
.checkout-price {
    color: var(--checkout-accent);
    font-weight: 700;
}

/* Coupon */
.order-summary-coupon-input-group {
    display: flex;
    gap: 0.5rem;
}

.order-summary-coupon-input-group .form-control {
    flex: 1;
    border-radius: 8px;
}

.btn-checkout-apply-coupon {
    background: var(--checkout-accent);
    border: 2px solid var(--checkout-accent);
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-checkout-apply-coupon:hover {
    background: var(--checkout-accent-hover);
    border-color: var(--checkout-accent-hover);
    color: #fff;
}

.order-summary-coupon-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
}

.btn-checkout-coupon-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #fecaca;
    border-radius: 6px;
    background: #fef2f2;
    color: #dc2626;
    padding: 0;
    transition: all 0.2s;
}

.btn-checkout-coupon-remove:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

/* Totals */
.order-summary-totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.order-summary-grand-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--checkout-border);
}

.order-summary-grand-value {
    color: var(--checkout-accent);
    font-size: 1.35rem;
}

/* Place Order */
.order-summary-place-order {
    margin-top: 1.25rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--checkout-border);
}

.btn-checkout-place-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    background: var(--cart-accent) !important;
    border: 2px solid var(--cart-accent) !important;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.btn-checkout-place-order:hover {
    background: var(--cart-accent-hover) !important;
    border-color: var(--cart-accent-hover) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 112, 25, 0.35);
    transform: translateY(-1px);
}

.order-summary-secure-note {
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0.75rem 0 0;
}

/* Payment & Shipping method cards */
.checkout-page .payment-method-card,
.checkout-page .shipping-method-card {
    border: 2px solid var(--checkout-border);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.checkout-page .payment-method-card:hover,
.checkout-page .shipping-method-card:hover {
    border-color: var(--checkout-accent);
    background: #fffaf5;
}

.checkout-page .payment-method-card.selected,
.checkout-page .shipping-method-card.selected {
    border-color: var(--checkout-accent);
    background: #fffaf5;
}

.checkout-page .security-badges .badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Checkout loading spinner */
@keyframes checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

.checkout-page .loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: checkout-spin 0.6s linear infinite;
}

/* Checkout toasts */
.checkout-toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1080;
    pointer-events: none;
}

.checkout-toast {
    display: flex;
    align-items: center;
    min-width: 260px;
    max-width: 360px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
    background: #0f172a;
    color: #e5e7eb;
    pointer-events: auto;
    animation: checkout-toast-in 0.25s ease-out forwards;
}

.checkout-toast--hide {
    animation: checkout-toast-out 0.25s ease-in forwards;
}

.checkout-toast__icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
    font-size: 1rem;
}

.checkout-toast__content {
    flex: 1;
    min-width: 0;
}

.checkout-toast__title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.checkout-toast__message {
    font-size: 0.8rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.checkout-toast__close {
    border: none;
    background: transparent;
    color: inherit;
    margin-left: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
}

.checkout-toast--success {
    background: #e5f9f0;
    color: #166534;
}

.checkout-toast--success .checkout-toast__icon {
    background: rgba(22, 101, 52, 0.12);
    color: #166534;
}

.checkout-toast--error {
    background: #fee2e2;
    color: #b91c1c;
}

.checkout-toast--error .checkout-toast__icon {
    background: rgba(185, 28, 28, 0.12);
    color: #b91c1c;
}

.checkout-toast--info {
    background: #e0f2fe;
    color: #0369a1;
}

.checkout-toast--info .checkout-toast__icon {
    background: rgba(3, 105, 161, 0.12);
    color: #0369a1;
}

@keyframes checkout-toast-in {
    from {
        opacity: 0;
        transform: translateX(20px) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes checkout-toast-out {
    from {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }

    to {
        opacity: 0;
        transform: translateX(20px) translateY(-10px);
    }
}

/* Responsive */


@media (max-width: 1450px) {
    .promo-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .promo-image img {
        width: 100%;
        height: auto;
        max-height: unset;
        object-fit: unset;

    }
}

@media (max-width: 991px) {
    #order-summary-card {
        position: relative !important;
        top: 0 !important;
    }



    .services-grid-custom {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }


}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .promo-image {
        overflow: visible;
    }

    .hotspot {
        z-index: 10;
    }

    .hotspot.active {
        z-index: 1000;
    }

    .category-item-custom h4 {
        font-size: 16px;
    }

    .hotspot-card {
        min-width: 0;
        width: min(170px, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-8px);
        bottom: 28px;
    }

    .hotspot.active .hotspot-card {
        transform: translateX(-50%) translateY(-12px);
    }

    .hotspot[data-hotspot="1"] .hotspot-card,
    .hotspot[data-hotspot="2"] .hotspot-card,
    .hotspot[data-hotspot="5"] .hotspot-card,
    .hotspot[data-hotspot="6"] .hotspot-card {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-8px);
    }

    .hotspot[data-hotspot="1"].active .hotspot-card,
    .hotspot[data-hotspot="2"].active .hotspot-card,
    .hotspot[data-hotspot="5"].active .hotspot-card,
    .hotspot[data-hotspot="6"].active .hotspot-card {
        transform: translateX(-50%) translateY(-12px);
    }

    .hotspot-card::before,
    .hotspot-card::after,
    .hotspot[data-hotspot="1"] .hotspot-card::before,
    .hotspot[data-hotspot="2"] .hotspot-card::before,
    .hotspot[data-hotspot="5"] .hotspot-card::before,
    .hotspot[data-hotspot="6"] .hotspot-card::before,
    .hotspot[data-hotspot="1"] .hotspot-card::after,
    .hotspot[data-hotspot="2"] .hotspot-card::after,
    .hotspot[data-hotspot="5"] .hotspot-card::after,
    .hotspot[data-hotspot="6"] .hotspot-card::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .hotspot-card .category-item-custom {
        padding: 12px;
        text-align: center;
    }

    .hotspot-card .category-item-custom h4 {
        font-size: 14px;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
    }

    .hotspot-card .category-item-custom span {
        font-size: 12px;
        line-height: 1.3;
        white-space: normal;
    }

    .hero-main-banner {
        height: 400px;
        flex-direction: column;
    }

    .hero-main-banner .hero-content {
        left: 20px;
        max-width: 90%;
    }

    .hero-main-banner .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .hero-main-banner .hero-image {
        width: 100%;
        height: 50%;
        position: relative;
    }

    .hero-side-banners {
        height: auto;
    }

    .search-by-bike-section {
        padding: 20px 0;
        margin-bottom: 0px;
    }
    

    .search-box {
        padding: 20px 15px;
    }

    .search-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }



    .search-select {
        width: 100%;
        min-width: 100%;
    }

    .btn-reset,
    .btn-search {
        width: 100%;
        padding: 12px 20px;
    }

    .popular-brands-section,
    .popular-categories-section {
        padding: 30px 0;
    }

    .category-item-custom,
    .product-card-custom {
        flex: 0 0 160px;
    }

    .product-card-custom {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .category-item-custom img {
        height: 140px;
    }

    .product-card-image-wrap>img {
        height: 150px;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    .section-title__heading {
        flex: 1 1 auto;
        min-width: 0;
        line-height: 1.25;
    }

    .section-title__actions {
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-end !important;
        gap: 10px !important;
    }

    .btn-see-all {
        padding: 7px 12px;
        font-size: 11px;
        white-space: nowrap;
        text-align: center;
        min-width: auto;
    }

    .carousel-nav .carousel-control-prev,
    .carousel-nav .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .product-card {
        flex: 0 0 240px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .promo-image {
        min-height: auto;
        align-items: stretch;
        justify-content: stretch;
        overflow: hidden;
    }

    .promo-image img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .promo-content {
        padding: 40px 30px;
    }

    .promo-content h2 {
        font-size: 1.5rem;
    }

    .promo-content p {
        font-size: 0.9rem;
    }

    .brands-carousel,
    .products-carousel {
        padding: 0 20px;
    }

    .services-grid-custom {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-item-custom {
        gap: 12px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-icon i {
        font-size: 1.2rem;
    }

    .service-text h5 {
        font-size: 0.8rem;
    }

    .service-text p {
        font-size: 0.75rem;
    }

    .bottom-banners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bottom-banners {
        padding: 30px 0;
    }

    .bottom-banner-item {
        height: 180px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .promo-banner-large {
        margin: 40px 0;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .promo-image {
        min-height: auto;
        align-items: stretch;
        justify-content: stretch;
        overflow: hidden;
    }

    .promo-image img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .promo-content {
        padding: 36px 32px;
    }

    .promo-content h2 {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }

    .promo-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}



@media (max-width: 576px) {
    .cart-item-image-wrap {
        flex: 0 0 100px;
        max-width: 100px;
    }

    .services-grid-custom {
        grid-template-columns: repeat(1, 1fr);
    }

}

/* ========== Quick View Modal (theme: ) ========== */
.quick-view-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.quick-view-modal.quick-view-open {
    opacity: 1;
    visibility: visible;
}

.quick-view-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.quick-view-dialog {
    position: relative;
    background: var(--white, #fff);
    border-radius: 8px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}


body.refund-policy-front #refundPolicyModal {
    z-index: 10050;
}

body.refund-policy-front .modal-backdrop.show {
    z-index: 10040;
}

.quick-view-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.2s, color 0.2s;
}

.quick-view-close-btn:hover {
    background: #e0e0e0;
    color: #000;
}

.quick-view-body {
    position: relative;
    padding: 24px;
    min-height: 200px;
}

#quick-view-inner {
    display: block;
    min-height: 100px;
}

#quick-view-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light, #666);
}

.quick-view-content {
    display: flex;
    flex-wrap: wrap;
}

.quick-view-image-col {
    padding-right: 20px;
}

/* Quick View: image container with thumbnail gallery support */
.quick-view-single-image-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    height: 350px;
}

/* Quick View: Thumbnail gallery sidebar */
.qv-product-gallery-sidebar {
    flex-shrink: 0;
    width: 70px;
    height: 100%;
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.qv-product-gallery-sidebar::-webkit-scrollbar {
    width: 4px;
}

.qv-product-gallery-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.qv-product-gallery-sidebar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.qv-product-gallery-sidebar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.qv-thumbnail-gallery--vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.qv-thumbnail-item {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #f8f8f8;
}

.qv-thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.qv-thumbnail-item.active {
    border-color: var(--primary-color, #f97c30);
}

.qv-thumbnail-item:hover {
    border-color: var(--primary-color, #f97c30);
    transform: translateY(-1px);
}

/* Quick View: Main image wrap (contains arrows and main image) */
.qv-product-gallery-main-wrap {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qv-product-gallery-main-wrap .gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    border: 1px solid var(--border-color, #e0e0e0);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.qv-product-gallery-main-wrap .gallery-arrow--prev {
    left: 8px;
}

.qv-product-gallery-main-wrap .gallery-arrow--next {
    right: 8px;
}

.qv-product-gallery-main-wrap .gallery-arrow:hover {
    background: var(--primary-color, #f97c30);
    color: #fff;
    border-color: var(--primary-color, #f97c30);
}

.qv-product-gallery-main-wrap .quick-view-image-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.qv-product-gallery-main-wrap .main-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qv-product-gallery-main-wrap .zoom-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qv-product-gallery-main-wrap .quick-view-product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Legacy support for single image without thumbnails */

.quick-view-single-image-wrap .gallery-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border: 1px solid var(--border-color, #e0e0e0);
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.quick-view-single-image-wrap .gallery-arrow:hover {
    background: var(--primary-color, #f97c30);
    color: #fff;
    border-color: var(--primary-color, #f97c30);
}

.quick-view-single-image-wrap .gallery-arrow.hidden {
    opacity: 0.4;
    pointer-events: none;
}

.quick-view-single-image-wrap .quick-view-image-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
    background: var(--gray-light, #f8f8f8);
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
}

.quick-view-single-image-wrap .main-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.quick-view-single-image-wrap .zoom-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.quick-view-single-image-wrap .quick-view-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.15s ease-out;
}

.quick-view-image-wrap {
    position: relative;
    background: var(--gray-light, #f8f8f8);
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
}

.quick-view-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quick-view-badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #ff7019;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 9999px;
}

#quick-view-modal .refund-policy-trigger {
    margin-bottom: 0 !important;
}

.quick-view-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark, #333);
    margin-bottom: 12px;
    line-height: 1.3;
}

.quick-view-price-block {
    margin-bottom: 12px;
}

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

.quick-view-price-old {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.quick-view-savings {
    display: block;
    color: #e91e8c;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 4px;
}

.quick-view-availability,
.quick-view-shipping,
.quick-view-meta-line {
    font-size: 0.9rem;
    color: var(--text-light, #666);
    margin-bottom: 6px;
}

.quick-view-in-stock {
    color: #10b981;
    font-weight: 500;
}

.quick-view-out-stock {
    color: #ef4444;
    font-weight: 500;
}

.quick-view-meta {
    margin: 12px 0;
    font-size: 0.85rem;
    color: var(--text-light, #666);
}

.quick-view-label {
    font-weight: 500;
    color: var(--text-dark, #333);
}

.quick-view-quantity {
    margin: 16px 0;
}

.quantity-input-group {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-input-group .qty-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    color: #333;
}

.quantity-input-group .qty-btn:hover {
    background: #eee;
}

.quantity-input-group .qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--border-color, #e0e0e0);
    border-right: 1px solid var(--border-color, #e0e0e0);
    text-align: center;
    font-size: 1rem;
}

.quick-view-add-to-cart-form {
    margin: 16px 0;
}

.quick-view-add-to-cart-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: var(--primary-color, #f97c30);
    color: #fff;
    transition: background 0.2s, transform 0.2s;
}

.quick-view-add-to-cart-btn:hover:not(:disabled) {
    background: #e06b20;
}

.quick-view-add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.quick-view-configurable-note {
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.quick-view-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0;
    font-size: 0.85rem;
    color: var(--text-light, #666);
}

.quick-view-trust-item i {
    margin-right: 6px;
    color: var(--primary-color, #f97c30);
}

.quick-view-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.quick-view-btn-view,
.quick-view-btn-close {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-view-btn-view {
    background: #fff;
    color: #333;
    border: 1px solid var(--border-color, #e0e0e0);
}

.quick-view-btn-view:hover {
    background: #f5f5f5;
    color: #333;
}

.quick-view-btn-close {
    background: #fff;
    color: #333;
    border: 1px solid var(--border-color, #e0e0e0);
}

.quick-view-btn-close:hover {
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .quick-view-image-col {
        padding-right: 0;
        margin-bottom: 16px;
    }

    .quick-view-details-col {
        min-width: 100%;
    }

    .quick-view-content {
        flex-direction: column;
    }

    .quick-view-single-image-wrap {
        flex-direction: column;
        height: auto;
    }

    .qv-product-gallery-sidebar {
        width: 100%;
        max-height: none;
        height: auto;
        order: 2;
        margin-top: 10px;
    }

    .qv-thumbnail-gallery--vertical {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .qv-thumbnail-item {
        width: 50px;
        height: 50px;
    }

    .qv-product-gallery-main-wrap {
        order: 1;
        height: 280px;
    }
}
