/* ================= SHOP ================= */
.shop-top-categories {
    padding: 50px 0;
}

.cat-icons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.cat-icon {
    text-align: center;
}

.cat-icon img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.cat-icon span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
}

.cat-icon small {
    font-size: 12px;
    color: var(--muted);
}

/* SIDEBAR */
.shop-sidebar {
    background: #fff;
    padding: 20px;
    border: 1px solid var(--border);
}

.search-box {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
}

.shop-sidebar h4 {
    font-size: 14px;
    margin: 20px 0 10px;
}

.shop-sidebar ul {
    padding: 0;
    list-style: none;
}

.shop-sidebar li {
    font-size: 13px;
    margin-bottom: 6px;
}

.filter-btn {
    margin-top: 10px;
    padding: 6px 14px;
    background: #111;
    color: #fff;
    border: none;
}

.color-filter span {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ccc;
    margin-right: 6px;
}

.best-seller {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.best-seller img {
    width: 50px;
}

/* PAGINATION */
.shop-pagination {
    text-align: center;
    margin: 40px 0;
}

.shop-pagination span {
    display: inline-block;
    border: 1px solid var(--border);
    padding: 6px 10px;
    margin: 0 4px;
}

.shop-pagination .active {
    background: #111;
    color: #fff;
}

.product-gallery .main-img {
    width: 100%;
    border: 1px solid var(--border);
}

.thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.thumbs img {
    width: 70px;
    cursor: pointer;
    border: 1px solid var(--border);
}

.product-info h1 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: bold;
}

.price-section,
.price-section h3 {
    font-size: 16px;
    font-weight: bold;
}

@media (max-width: 800px) {
    .product-info h1 {
        font-family: var(--font-head);
        font-size: 12px;
    }

    .price-section,
    .price-section h3 {
        font-size: 14px;
        font-weight: bold;
    }
}


.rating {
    font-size: 14px;
    color: #f5a623;
}

.stock {
    color: green;
    margin-left: 10px;
}

.price {
    font-size: 22px;
    margin: 14px 0;
}

.short-desc {
    font-size: 14px;
    color: var(--muted);
}

.option {
    margin: 14px 0;
}

.color {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 6px;
}

.c1 {
    background: #c69c6d;
}

.c2 {
    background: #333;
}

.c3 {
    background: #ddd;
}

.size {
    border: 1px solid var(--border);
    padding: 4px 10px;
    font-size: 13px;
    margin-right: 6px;
}

.size.active {
    background: #111;
    color: #fff;
}

.qty-box {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.qty-box input {
    width: 50px;
    text-align: center;
}

.add-cart {
    background: #111;
    color: #fff;
    padding: 8px 18px;
    border: none;
}

.product-tabs {
    margin-top: 60px;
}

/* RELATED */
.related-products {
    margin-top: 60px;
}

.tab-content {
    background-color: #ffffff;
    padding: 8px 16px;
}

.main-img {
    height: 400px;
    object-fit: cover;
}

.thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.thumbs img.active {
    border-color: var(--bs-orange);
}



/* productdetails styles */
/* Features Banner - Below Images on Left Side */
.features-banner {
    background: var(--theme-bg-circle);
    border-radius: 12px;
    border-left: 4px solid var(--bs-orange);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--bs-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
}

.feature-text span {
    display: block;
    font-size: 12px;
    color: #131212;
    font-weight: normal;
}

/* Image Gallery Layout - Left Thumbnails */
.image-gallery-container {
    display: flex;
    gap: 15px;
}

.left-thumbnails {
    width: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-img.active {
    border-color: var(--bs-orange);
}

.thumbnail-img:hover {
    border-color: var(--bs-orange);
    transform: scale(1.05);
}

/* Main Image Container with Zoom */
.main-image-container {
    flex: 1;
    position: relative;
    border-radius: 12px;
}

.main-image-zoom {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image-zoom:hover .main-image {
    transform: scale(1.5);
    cursor: zoom-in;
}

.zoom-lens {
    position: absolute;
    border: 1px solid var(--bs-orange);
    background: rgba(255, 165, 0, 0.1);
    display: none;
    pointer-events: none;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--bs-orange);
    color: white;
    transform: scale(1.1);
}

.action-btn.active {
    background: var(--bs-orange);
    color: white;
}


.emi-option {
    background: var(--theme-bg-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}

.emi-option:last-child {
    border-bottom: none;
}

/* Location/Pincode */

.pincode-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

.check-btn {
    padding: 8px 12px;
    background: var(--bs-orange);
    color: #000000;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.check-btn:hover {
    background: #e69500;
}

/* Quantity Selector */
.qty-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.qty-btn:hover {
    background: var(--bs-orange);
    color: white;
}

.qty-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    background: white;
}

/* Customize Modal Styles */
.customize-form-group {
    margin-bottom: 15px;
}

.customize-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.skip-option {
    margin-left: 10px;
    color: #666;
    font-size: 14px;
}

/* Buttons with Orange Theme */
.btn-primary {
    background-color: var(--bs-orange);
    border-color: var(--bs-orange);
}

.btn-primary:hover {
    background-color: #e69500;
    border-color: #e69500;
}

.btn-outline-primary {
    color: var(--bs-orange);
    border-color: var(--bs-orange);
}

.btn-outline-primary:hover {
    background-color: var(--bs-orange);
    border-color: var(--bs-orange);
}

.text-primary {
    color: var(--bs-orange) !important;
}

.badge.bg-success {
    background-color: var(--bs-orange) !important;
}

/* Price Section */


.feature-text {
    position: relative;
}

.feature-text {
    bottom: 0px;
    left: 18px;
    font-family: var(--font-head);
    font-size: 18px;
    color: #fff;
    background: var(--bs-orange);
    padding: 6px 14px;
}

.benefits-title {
    color: #000000;
    font-weight: 600;
}

.benefits-row {
    display: flex;
    gap: 4px;
    justify-content: space-between;
}

.benefit-pill {
    flex: 1;
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    gap: 4px;
    color: #000000;
}

.benefit-icon {
    color: var(--bs-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.benefit-text {
    font-weight: 600;
    font-size: 12px;
}

@media (max-width: 768px) {
    .benefits-row {
        flex-wrap: wrap;
    }

    .benefit-pill {
        flex: 48%;
    }
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 🔥 IMPORTANT */
    transform-origin: top left;
    transition: transform 0.1s ease;
}

.main-image-zoom {
    cursor: zoom-in;
}

.main-image-zoom:hover {
    cursor: zoom-out;
}


.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

/* ===== LIGHTBOX ===== */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.image-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    transition: transform 0.2s ease;
}

/* Close */
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* Zoom buttons (TOP RIGHT) */
.lightbox-controls {
    position: absolute;
    top: 18px;
    right: 70px;
    display: flex;
    gap: 10px;
}

.lightbox-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bs-orange);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.lightbox-controls {
    position: fixed;
    /* 🔥 IMPORTANT */
    top: 16px;
    right: 70px;
    display: flex;
    gap: 10px;
    z-index: 10000;
}

.lightbox-close {
    background: var(--bs-orange);
}

.img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.img-nav.left {
    left: 10px;
}

.img-nav.right {
    right: 10px;
}

@media (max-width: 800px) {
    .image-gallery-container {
        flex-direction: column-reverse;
    }

    .left-thumbnails {
        flex-direction: row;
    }

    .img-nav {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .img-nav.left {
        left: 6px;
    }

    .img-nav.right {
        right: 6px;
    }

    .product-info {
        margin-top: 10px;
    }
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-nav.left {
    left: 20px;
}

.lightbox-nav.right {
    right: 20px;
}

.lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bs-orange);
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    /* 🔥 higher than image */
}

.lightbox-close:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Default */
.action-btn {
    background: moccasin;
    color: var(--bs-orange);
}

/* Wishlist active — heart orange only */
.action-btn.wishlist-btn.active {
    background: transparent;
    /* keep white */
    color: var(--bs-orange);
    /* heart orange */
    border: none;
    box-shadow: none;
}

/* Hover (optional nice effect) */
.action-btn.wishlist-btn.active:hover {
    background: moccasin;
    color: var(--bs-orange);
}

.bi-heart1 {
    font-size: 1.2em !important;
}

/* ===== FORCE FIX FOR WISHLIST ===== */
.action-btn.wishlist-btn {
    background: transparent !important;
    color: var(--bs-orange) !important;
    box-shadow: none !important;
}

/* Wishlist ACTIVE → heart orange only */
.action-btn.wishlist-btn.active {
    background: transparent !important;
    color: var(--bs-orange) !important;
    box-shadow: none !important;
}

/* Wishlist hover should NOT turn orange bg */
.action-btn.wishlist-btn:hover {
    background: transparent !important;
    color: var(--bs-orange) !important;
}

.emi-section {
    background: var(--theme-bg-card);
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
    border-left: 3px solid var(--bs-orange);
    box-shadow: 1px 1px 5px #ddd;
}

/* Fixed Filter Bar - Add this CSS */
.fixed-filter-bar {
    position: sticky;
    top: 80px;
    background: white;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-options {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn,
.filter-select {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: white;
    cursor: pointer;
}


.filter-btn {
    border: none;
    padding: 7px 12px;
}

.filter-btn:hover {
    background: var(--theme-color);
}

.filter-select {
    min-width: 140px;
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-input {
    width: 80px;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.action-btn.wishlist-btn {
    color: #d35400;
    background: transparent;
    border: 2px solid #d35400;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .action-btn.wishlist-btn.active {
        background: #d35400;
        color: white;
    } */

.action-btn:not(.wishlist-btn) {
    background: var(--theme-bg-circle);
    color: var(--bs-orange);
    border: none !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure product grid shows 4 items per row */
@media (min-width: 1200px) {
    .col-md-4 {
        width: 25% !important;
    }
}

/* BEFORE (FIXED): */
.fixed-filter-bar {
    top: 160px;
    z-index: 999;
}

/* AFTER (NOT FIXED): */
.filter-bar {
    background: white;
    /* Normal positioning */
    padding: 15px 0;
    /* Just regular styling */
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.filter-btn {
    background-color: #000;
    margin-top: 0px;
}

.filter-btn:hover {
    color: #000;
}

.action-btn.wishlist-btn {
    border: none !important;
    box-shadow: none !important;
}

.action-btn.wishlist-btn.active {
    color: var(--bs-orange);
    background: none;
}

.action-btn .bi-heart1 {
    font-size: 1.2em !important;
    line-height: 1em;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 767px) {

    .fixed-filter-bar {
        position: relative !important;
        /* remove sticky */
        top: auto !important;
        z-index: auto !important;
        padding: 10px 0;
        box-shadow: none;
        border-bottom: 1px solid #eee;
    }

    .filter-options {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }

    .filter-options::-webkit-scrollbar {
        height: 4px;
    }

    .filter-options::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }

    .filter-btn,
    .filter-select {
        font-size: 13px;
        padding: 6px 10px;
        min-width: max-content;
    }

    .price-range-inputs {
        min-width: max-content;
    }
}

@media (min-width: 768px) {
    .fixed-filter-bar {
        top: 138px;
        /* header height */
        z-index: 999;
    }
}

.filter-side-modal {
    display: block;
    position: fixed;
    inset: 0px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.filter-side-modal .modal-body {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: white;
    padding: 30px;
    overflow-y: auto;
}

.accordion-button {
    font-weight: bold;
}

#accordionProduct h1,
#accordionProduct h2,
#accordionProduct h3,
#accordionProduct h4,
#accordionProduct h5,
#accordionProduct h6 {
    font-size: 14px;
    font-weight: bold;
    margin: 8px 0 3px;
}

#accordionProduct p {
    text-align: justify;
}

.accordion-button:not(.collapsed) {
    color: #000000;
    background-color: var(--theme-bg-circle);
}

@media (min-width: 992px) {
    .product-images-sticky {
        position: sticky;
        top: 148px;
    }
}

.pagination-products .pagination {
    margin-bottom: 0;
}

.page-link {
    color: #000000;
    background-color: var(--theme-bg-circle);
}

.active>.page-link,
.page-link.active {
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    background-color: var(--theme-color);
    color: #000000;
}

#priceSlider {
    height: 6px;
}

#priceSlider .noUi-handle {
    height: 16px;
}

#priceSlider .noUi-connect {
    background: var(--theme-color);
    /* change color if needed */
}

#priceSlider .noUi-handle::after,
.noUi-handle::before {
    height: 8px;
    top: 3px;
}

.price-slider {
    width: 200px;
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
    padding-top: 6px;
}

#specifications-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#specifications-body ul li {
    display: grid;
    grid-template-columns: 160px 1fr;
    column-gap: 12px;
    border-bottom: 1px solid var(--theme-bg-card);
    padding: 6px 0;
}

#specifications-body ul li strong {
    grid-column: 1;
    white-space: nowrap;
    overflow: hidden;
}

#specifications-body ul li::after {
    content: attr(data-right);
}

.sticky-action-buttons {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    padding: 4px 40px;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.sticky-action-buttons img {
    width: 55px;
}

.sticky-action-buttons .product-sticky-details {
    display: flex;
    font-size: 12px;
    gap: 6px;
}

.sticky-action-buttons .product-sticky-details-btn {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: space-between;
}

.sticky-action-buttons .product-sticky-details-btn .btn-theme {
    padding: 0.75em 2em;
    border-radius: 0;
}

@media (max-width: 800px) {
    .sticky-action-buttons {
        width: 100%;
        border-radius: none;
        margin-bottom: 50px;
        padding: 0;
    }

    .sticky-action-buttons img {
        display: none;
    }

    .sticky-action-buttons .product-sticky-details {
        display: none;
    }

    .sticky-action-buttons .product-sticky-details-btn {
        flex: 1;
        gap: 4px;
    }

    .sticky-action-buttons .product-sticky-details-btn a,
    .sticky-action-buttons .product-sticky-details-btn button {
        flex: 1;
    }

    .sticky-action-buttons button,
    .sticky-action-buttons a {
        border-radius: 0;
    }

    .filters-mobile {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        z-index: 9999;
        padding: 1.25rem;
        gap: 1rem;
    }
}