@media(max-width:1400px) {
    /*.Products_wrapper .main-img img {
        height: 250px !important;
        width: 100% !important;
    }*/
    .Products_wrapper .main-img {
        height: 250px !important;
        width: 100% !important;
    }
}

@media(max-width:1200px) {
    .Products_wrapper .pr-view a {
        display: none;
    }

    /* category page */
    .product-side .accordion-body .cat-price-input input {
        width: 80px !important;
        padding: 5px;
        border-radius: 18px;
    }
}

@media(max-width:992px) {
    .fliter-main {
        position: static !important;
    }

    .overflow-auto {
        height: 480px !important;
    }

    /* category page */
    .slider-img img {
        padding-right: 0px !important;
    }

    .product-side .accordion-body .cat-price-input input {
        width: 120px !important;
        padding: 5px;
        border-radius: 18px;
    }

    /* ------- home page ---- */
    .Products_wrapper .main-img {
        height: 230px !important;
        width: 100% !important;
    }
    .Products_wrapper .main-img img {
        transition: 0.6s;
    }

    /* desbord page  */
    .dashboard_wrapper .overflow {
        width: 100% !important;
        overflow-x: scroll !important;
    }
}

/* Mobile Filter Bar Styles */
.mobile-filter-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.btn-filter-toggle {
    background: var(--dark-blue, #04155e);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.filter-badge {
    background: #ff6b6b;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

.filter-badge:empty {
    display: none;
}

.mobile-sort-wrap .form-select {
    border: 1px solid var(--dark-blue, #04155e);
    border-radius: 8px;
    font-size: 13px;
    padding: 6px 28px 6px 10px;
    color: var(--dark-blue, #04155e);
}

.btn-close-filters {
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--dark-blue, #04155e);
    padding: 4px 8px;
    cursor: pointer;
}

@media(max-width:767px) {
    /* Ensure button text is visible - black text on white buttons */
    .button:not(.add-to-bag-btn):not(.cart-btn) {
        color: #000 !important;
    }
    
    /* Payment page button styling */
    #payment-button,
    .custom-payment-form .button {
        background: var(--dark-blue, #04155e) !important;
        color: #fff !important;
    }
    
    /* Hide filter sidebar by default on mobile */
    .mobile-filter-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1050;
        background: #fff;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 15px;
        padding-bottom: 70px;
        animation: slideIn 0.3s ease;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    /* Hide main sidebar scrollbar but keep scroll functionality */
    .mobile-filter-sidebar::-webkit-scrollbar {
        display: none;
    }
    
    .mobile-filter-sidebar.show {
        display: block;
    }
    
    @keyframes slideIn {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    /* Mobile filter overlay */
    .mobile-filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        display: none;
    }
    
    .mobile-filter-overlay.show {
        display: block;
    }
    
    /* Apply filters button */
    .mobile-filter-sidebar .btn-apply-filters {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--dark-blue, #04155e);
        color: #fff;
        padding: 15px;
        text-align: center;
        font-weight: 600;
        font-size: 16px;
        border: none;
        z-index: 1051;
    }
    
    /* Hide desktop sort on mobile */
    .category-product .justify-content-end > .col-xl-3 {
        display: none !important;
    }
    
    /* Adjust product grid */
    .category .col-xl-9 {
        width: 100%;
        padding: 0 10px;
    }
    
}

/* Checkout Page Mobile Improvements */
@media(max-width:767px) {
    .cart_wrapper .chekoutpage-title {
        font-size: 20px !important;
    }
    
    .cart_wrapper .form-control {
        font-size: 16px;
        padding: 12px;
        border-radius: 8px;
    }
    
    .cart_wrapper .btn {
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .cart_wrapper .card {
        border-radius: 12px;
        margin-bottom: 15px;
    }
    
    .cart_wrapper .cart-item {
        padding: 12px;
    }
    
    .cart_wrapper .cart-product-img {
        width: 80px;
        height: 80px;
        border-radius: 8px;
    }
    
    /* Sticky checkout button */
    .cart_wrapper .checkout-btn-wrapper {
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 15px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }
}

@media (max-width:768px) {
    .product-details-wrapper .swiper-container {
        width: auto;
        height: auto;
    }

    .product-details-wrapper .main-product {
        display: flex;
        /* justify-content: center; */
        align-items: center;
        gap: 20px;
    }

    .product-details-wrapper .main-product img {
        height: 100px;
    }

    .main_category_wrapper .card {
        padding: 0px !important;
    }

    .main_category_wrapper .card-img-overlay {
        padding: 0px !important;
    }

    .main_category_wrapper .main-cat-text {
        padding: 10px 0px !important;
        width: 100%;
    }

    .main_category_wrapper .main-cat-text {
        background-color: #ebebeb !important;
        /* padding: 13px 40px; */
    }

    .main_category_wrapper .main-cat-text a i {
        padding: 5px !important;
    }

    .main_category_wrapper .main-cat-text .cat-text1 {
        font-size: 16px !important;
    }

    /* product section  */
    .Products_wrapper .pr-text1 {
        font-size: 20px !important;
    }

    .Products_wrapper .product-star i {
        font-size: 12px !important;
    }

    /* banner section  */
    .banner-partimg-1 .banner-main-text .ban-title {
        font-size: 36px !important;
    }

    /* category page */
    .main-product-modal .control {
        padding: min(11.5rem, 2.5vw) !important;
    }

    .product-side .accordion-body .cat-price-input input {
        width: 120px;
        padding: 5px;
        border-radius: 18px;
    }

    .pagination ul {
        gap: 0px !important;
        padding: 8px !important;
        /* font-weight: semi-bold; */
    }

    /* cart page */
    .cart_wrapper .cart-main-text .cart-product-title {
        width: auto !important;
    }
    .cart_wrapper .chekoutpage-title{
        font-size: 24px !important;
    }

    /* contact page  */
    .contact_wrapper .form {
        grid-template-columns: 1fr !important;
    }

    /* faq page */
    .faq_wrapper .accordion-button {
        font-size: 16px !important;
    }

    .faq_wrapper .faq-title {
        font-size: 24px !important;
    }

}

@media(max-width:576px) {
    /*.Products_wrapper .main-img img {
        height: 180px !important;
        width: 160px !important;
    }*/

    .Products_wrapper .main-img {
        height: 180px !important;
/*        width: 160px !important;*/
    }

    .Products_wrapper .pr-text1 {
        font-size: 16px !important;
    }

    .Products_wrapper .card-text {
        font-size: 12px !important;
    }

    .Products_wrapper .product-price {
        font-size: 12px !important;
    }

    .about_wrapper .main-about-text .about-heding {
        font-size: 30px !important;
    }

    .banner-partimg-1 .banner-main-text .ban-title {
        font-size: 30px !important;
    }

    /* category page */
    .slider-img img {
        height: 300px !important;
        width: 300px !important;
        padding-right: 10px !important;
    }

    .pagination ul {
        gap: 2px !important;
        padding: 12px !important;
        /* font-weight: semi-bold; */
    }

    .main-product-modal .control {
        padding: min(11.5rem, 4.5vw) !important;
    }

    /* cart page */
    .cart_wrapper .cart-main-text .cart-product-title {
        text-align: justify !important;
    }

    .about_wrapper .main-about-text .about-subtitle {
        text-align: justify;
    }

}


@media(max-width:375px) {
   /* .Products_wrapper .main-img img {
        height: 120px !important;
        width: 110px !important;
    }*/

    .Products_wrapper .main-img {
        height: 120px !important;
        width: 110px !important;
    }

    .collection_wrapper .main-cat-text {
        /* background-color: var(--text-white);
        padding: 13px 40px; */
        width: 75% !important;
    }

    .collection_wrapper .card-img-overlay {
        padding: 0px !important;
    }

    .collection_wrapper .main-cat-text .collection-text1 {
        font-size: 12px !important;
        margin: 0px !important;
    }

    .collection_wrapper .main-cat-text .collection-text2 {
        font-size: 18px !important;
        padding: 0px !important;
    }

    .collection_wrapper .main-cat-text .main-cat-btn {
        width: 100%;
        font-size: 12px !important;
    }

    .main_category_wrapper .main-cat-text a i {
        background-color: var(--dark-blue);
        color: white;
        padding: 6px !important;
        border-radius: 6px;
        transition: 0.5s;
        font-size: 14px;
    }

    /* category page */
    .slider-img img {
        height: 200px !important;
        width: 300px !important;
        padding-right: 100px !important;
    }

    .category ul li {
        cursor: pointer;
        padding: min(0.2rem, 1.5vw) !important;
        gap: 2px !important;
    }

    .main-product-modal .control i {
        font-size: 12px !important;
        padding: 10px !important;
    }

    .product-side .accordion-body .cat-price-input input {
        width: 80px !important;
        padding: 5px;
        border-radius: 18px;
    }
}

@media (max-width: 850px) {
    .contact_wrapper .form {
        grid-template-columns: 1fr !important;
    }

    .contact_wrapper .contact-info:before {
        bottom: initial;
        top: -75px;
        right: 65px;
        transform: scale(0.95);
    }

    .contact_wrapper .contact-form:before {
        top: -13px;
        left: initial;
        right: 70px;
    }

    .contact_wrapper .square {
        transform: translate(140%, 43%);
        height: 350px;
    }

    .contact_wrapper .big-circle {
        bottom: 75%;
        transform: scale(0.9) translate(-40%, 30%);
        right: 50%;
    }

    .contact_wrapper .text {
        margin: 1rem 0 1.5rem 0;
    }

    .contact_wrapper .social-media {
        padding: 1.5rem 0 0 0;
    }
}

@media (max-width: 480px) {
    .contact_wrapper .container {
        padding: 1.5rem;
    }

    .contact_wrapper .contact-info:before {
        display: none;
    }

    .contact_wrapper .square,
    .contact_wrapper .big-circle {
        display: none;
    }

    .contact_wrapper form,
    .contact_wrapper .contact-info {
        padding: 1.7rem 1.6rem;
    }

    .contact_wrapper .text,
    .contact_wrapper .information,
    .contact_wrapper .social-media p {
        font-size: 0.8rem;
    }

    .contact_wrapper .title {
        font-size: 1.15rem;
    }

    .contact_wrapper .social-icons a {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .contact_wrapper .icon {
        width: 23px;
    }

    .contact_wrapper .input {
        padding: 0.45rem 1.2rem;
    }

    .contact_wrapper .btn {
        padding: 0.45rem 1.2rem;
    }
}

/* Mobile Filter Sidebar Styling Improvements */
@media(max-width:767px) {
    /* Filter sidebar header */
    .mobile-filter-sidebar .accordion-button {
        background: #f8f9fa !important;
        border-radius: 8px !important;
        margin-bottom: 5px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #333 !important;
        padding: 12px 15px !important;
    }
    
    .mobile-filter-sidebar .accordion-button:not(.collapsed) {
        background: #e9ecef !important;
        color: var(--dark-blue, #04155e) !important;
    }
    
    .mobile-filter-sidebar .accordion-button:focus {
        box-shadow: none !important;
    }
    
    .mobile-filter-sidebar .accordion-button::after {
        width: 16px !important;
        height: 16px !important;
        background-size: 16px !important;
    }
    
    .mobile-filter-sidebar .accordion-item {
        border: none !important;
        margin-bottom: 5px !important;
    }
    
    .mobile-filter-sidebar .accordion-body {
        padding: 10px 5px !important;
    }
    
    /* Welcome hint section for mobile filters */
    .mobile-filter-sidebar .filter-welcome-hint,
    .filter-welcome-hint.d-md-none {
        display: block !important;
        text-align: center !important;
        padding: 20px 15px !important;
        margin-bottom: 15px !important;
        background: linear-gradient(135deg, #f8f9ff 0%, #eef0ff 100%) !important;
        border-radius: 12px !important;
        border: 1px solid #e0e5ff !important;
    }
    
    .mobile-filter-sidebar .filter-welcome-hint .welcome-icon {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 12px !important;
        background: var(--dark-blue, #04155e) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-filter-sidebar .filter-welcome-hint .welcome-icon i {
        font-size: 22px !important;
        color: #fff !important;
    }
    
    .mobile-filter-sidebar .filter-welcome-hint .welcome-text {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--dark-blue, #04155e) !important;
        margin: 0 0 6px 0 !important;
    }
    
    .mobile-filter-sidebar .filter-welcome-hint .welcome-subtext {
        font-size: 13px !important;
        color: #666 !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }
    
    /* Pill container - flexbox wrap layout with proper scrolling */
    .mobile-filter-sidebar .jewllery-menu {
        padding: 8px 5px !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
    
    .mobile-filter-sidebar .jewllery-menu .jewllery-type-main {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        max-height: 180px !important;
        overflow-y: auto !important;
        padding-right: 5px !important;
    }
    
    /* Custom scrollbar for filter sections */
    .mobile-filter-sidebar .jewllery-menu::-webkit-scrollbar {
        width: 4px;
    }
    
    .mobile-filter-sidebar .jewllery-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    .mobile-filter-sidebar .jewllery-menu::-webkit-scrollbar-thumb {
        background: var(--dark-blue, #04155e);
        border-radius: 4px;
    }
    
    /* Pill button - style the whole anchor as a pill */
    .mobile-filter-sidebar .jewllery-type {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px 16px !important;
        margin: 0 !important;
        background: #f0f0f5 !important;
        border: 1px solid #e0e0e5 !important;
        border-radius: 20px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }
    
    .mobile-filter-sidebar .jewllery-type:hover,
    .mobile-filter-sidebar .jewllery-type:active {
        background: #e5e5ea !important;
        border-color: #d0d0d5 !important;
    }
    
    /* Hide the checkbox completely */
    .mobile-filter-sidebar .j-checkbox {
        position: absolute !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
    
    .mobile-filter-sidebar .j-checkbox input[type="checkbox"] {
        position: absolute !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Selected pill state - using :has() */
    .mobile-filter-sidebar .jewllery-type:has(input[type="checkbox"]:checked) {
        background: var(--dark-blue, #04155e) !important;
        border-color: var(--dark-blue, #04155e) !important;
    }
    
    .mobile-filter-sidebar .jewllery-type:has(input[type="checkbox"]:checked) span {
        color: #fff !important;
    }
    
    /* Fallback for browsers without :has() - JS adds class to anchor */
    .mobile-filter-sidebar .jewllery-type.pill-selected {
        background: var(--dark-blue, #04155e) !important;
        border-color: var(--dark-blue, #04155e) !important;
    }
    
    .mobile-filter-sidebar .jewllery-type.pill-selected span {
        color: #fff !important;
    }
    
    /* Pill label text */
    .mobile-filter-sidebar .jewllery-type span,
    .mobile-filter-sidebar .jewllery-name {
        font-size: 13px !important;
        color: #444 !important;
        font-weight: 500 !important;
        pointer-events: none !important;
    }
    
    /* Search box styling */
    .mobile-filter-sidebar .serach-box,
    .mobile-filter-sidebar input[type="text"] {
        border: 1px solid #dee2e6 !important;
        border-radius: 8px !important;
        padding: 12px 15px !important;
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }
    
    /* Filters title */
    .mobile-filter-sidebar .cat-title {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: var(--dark-blue, #04155e) !important;
        padding: 10px 0 !important;
        border-bottom: 2px solid var(--dark-blue, #04155e) !important;
        margin-bottom: 15px !important;
    }
    
    /* Price input styling */
    .mobile-filter-sidebar .cat-price-input input {
        width: 100% !important;
        max-width: 120px !important;
        padding: 10px !important;
        border: 1px solid #dee2e6 !important;
        border-radius: 8px !important;
        font-size: 14px !important;
    }
    
    /* Apply filters button enhancement */
    .mobile-filter-sidebar .btn-apply-filters,
    .btn-apply-filters.d-md-none {
        position: fixed !important;
        bottom: 50px !important;
        left: 0 !important;
        width: 100% !important;
        padding: 12px 20px !important;
        background: var(--dark-blue, #04155e) !important;
        color: #fff !important;
        border: none !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        z-index: 1060 !important;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.15) !important;
        border-radius: 0 !important;
    }
}

/* Mobile Product Card Enhancements - placed at end for specificity */
@media(max-width:767px) {
    .Products_wrapper .card {
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
        margin-bottom: 10px !important;
    }
    
    .Products_wrapper .card-body {
        padding: 10px !important;
    }
    
    .Products_wrapper .main-img {
        border-radius: 8px !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .Products_wrapper .pr-text1 {
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    
    .Products_wrapper .card-text {
        font-size: 13px !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    .Products_wrapper .product-price {
        font-size: 11px !important;
        color: #666 !important;
    }
    
    .Products_wrapper .star-price {
        margin-top: 8px !important;
    }
    
    .Products_wrapper .star-price .pr-view {
        display: flex !important;
    }
    
    .Products_wrapper .star-price .pr-view a {
        display: flex !important;
        background: var(--dark-blue, #04155e) !important;
        color: #fff !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
    }
    
    .Products_wrapper .pr-price1 {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: var(--dark-blue, #04155e) !important;
    }
    
    .Products_wrapper .like-icon {
        padding: 8px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 50% !important;
        width: 36px !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    }
    
    .Products_wrapper .like-icon i {
        font-size: 16px !important;
        color: #333 !important;
    }
    
    .Products_wrapper .like-icon:hover i,
    .Products_wrapper .like-icon.active i {
        color: #dc3545 !important;
    }
}

/* Quick View Modal Mobile Improvements */
@media(max-width:767px) {
    .main-product-modal .modal-dialog {
        margin: 10px auto !important;
        max-width: 80% !important;
        width: auto !important;
        max-height: 85vh !important;
    }
    
    .main-product-modal .modal-content {
        max-height: 96vh !important;
        border-radius: 12px !important;
        overflow: visible !important;
    }
    
    .main-product-modal .modal-header {
        padding: 10px 15px !important;
        border-bottom: 1px solid #eee !important;
    }
    
    .main-product-modal .modal-header .modal-title {
        font-size: 16px !important;
        font-weight: 600 !important;
    }
    
    .main-product-modal .modal-body {
        padding: 10px !important;
        overflow: visible !important;
    }
    
    .main-product-modal .add-to-bag-btn {
        margin-top: 10px !important;
        margin-bottom: 15px !important;
        box-shadow: none !important;
        width: 100% !important;
    }
    
    .main-product-modal .modal-body .row {
        background: #fff !important;
    }
    
    .main-product-modal .col-lg-6.col-sm-12.p-4 {
        background: #fff !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    /* Slider container - centered image */
    .main-product-modal .slider {
        position: relative !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .main-product-modal .slider ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        display: block !important;
        position: relative !important;
    }
    
    .main-product-modal .slider ul li {
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        text-align: center !important;
        display: none !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .main-product-modal .slider ul li.current {
        display: flex !important;
    }
    
    .main-product-modal .slider ul li::before {
        content: none !important;
        display: none !important;
    }
    
    .main-product-modal .slider ul li img,
    .main-product-modal .slider ul li video {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Navigation arrows - highly visible */
    .main-product-modal .slider .control {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        padding: 0 !important;
        background: var(--dark-blue, #04155e) !important;
        border-radius: 50% !important;
        box-shadow: 0 3px 10px rgba(0,0,0,0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10 !important;
        text-decoration: none !important;
        border: 2px solid #fff !important;
    }
    
    .main-product-modal .slider .control.prev {
        left: 10px !important;
    }
    
    .main-product-modal .slider .control.next {
        right: 10px !important;
    }
    
    .main-product-modal .slider .control i {
        font-size: 16px !important;
        color: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Description list styling - limit visible items */
    .main-product-modal .product-modal-text ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .main-product-modal .product-modal-text ul li {
        padding: 3px 0 !important;
        font-size: 12px !important;
        color: #555 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .main-product-modal .product-modal-text ul li::before {
        content: '\2022' !important;
        color: var(--dark-blue, #04155e) !important;
        margin-right: 6px !important;
        font-size: 10px !important;
    }
    
    .main-product-modal .product-modal-text ul li:nth-child(n+7) {
        display: none !important;
    }
    
    .main-product-modal .product-modal-text ul li:last-child {
        border-bottom: none !important;
    }
    
    /* Product details section - sticky header */
    .main-product-modal .col-lg-6.p-4,
    .main-product-modal .col-sm-12.p-4 {
        padding: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        max-height: 50vh !important;
        overflow: hidden !important;
    }
    
    /* Sticky title and price area */
    .main-product-modal .product-modal-subtitle {
        font-size: 18px !important;
        font-weight: 700 !important;
        margin-bottom: 5px !important;
        padding-top: 0 !important;
        color: #333 !important;
    }
    
    .main-product-modal .pr-price {
        font-size: 22px !important;
        font-weight: 700 !important;
        color: var(--dark-blue, #04155e) !important;
    }
    
    .main-product-modal .main-price {
        margin-bottom: 8px !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
    }
    
    /* Price benefits (free shipping, taxes) */
    .main-product-modal .price-benefits {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #eee !important;
    }
    
    .main-product-modal .benefit-tag {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        font-size: 11px !important;
        color: #28a745 !important;
        font-weight: 500 !important;
    }
    
    .main-product-modal .benefit-tag i {
        font-size: 10px !important;
    }
    
    /* Description label */
    .main-product-modal .product-modal-text-label {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #333 !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    /* Product description text - scrollable area */
    .main-product-modal .product-modal-text {
        font-size: 13px !important;
        line-height: 1.5 !important;
        color: #555 !important;
        max-height: 150px !important;
        overflow-y: auto !important;
        flex: 1 !important;
        padding-right: 5px !important;
    }
    
    /* View Detail button - sticky at bottom */
    .main-product-modal .button {
        background: var(--dark-blue, #04155e) !important;
        color: #fff !important;
        padding: 14px 24px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border: none !important;
        width: 100% !important;
        text-transform: uppercase !important;
        margin-top: auto !important;
        letter-spacing: 0.5px !important;
    }
    
    /* Scrollable description in quick view modal - only scrolls when needed */
    .main-product-modal .product-modal-text {
        max-height: 180px !important;
        overflow-y: auto !important;
        padding-right: 5px !important;
    }
    
    /* Hide scrollbar when not needed, show subtle scrollbar when scrollable */
    .main-product-modal .product-modal-text::-webkit-scrollbar {
        width: 4px !important;
    }
    
    .main-product-modal .product-modal-text::-webkit-scrollbar-track {
        background: transparent !important;
    }
    
    .main-product-modal .product-modal-text::-webkit-scrollbar-thumb {
        background: #ccc !important;
        border-radius: 2px !important;
    }
    
    .main-product-modal .product-modal-text::-webkit-scrollbar-thumb:hover {
        background: #aaa !important;
    }
    
    /* Small View Details button next to price */
    .main-product-modal .view-details-btn {
        font-size: 11px !important;
        color: #04155e !important;
        text-decoration: underline !important;
        padding: 4px 10px !important;
        border: 1px solid #04155e !important;
        border-radius: 4px !important;
        background: transparent !important;
        white-space: nowrap !important;
    }
    
    .main-product-modal .view-details-btn:hover {
        background: #04155e !important;
        color: #fff !important;
        text-decoration: none !important;
    }
    
    /* Add to Bag button styling */
    .main-product-modal .add-to-bag-btn {
        background: #04155e !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .main-product-modal .add-to-bag-btn i {
        font-size: 14px !important;
    }
    
    /* Hide chevron on main Filters accordion - always open */
    #mainAccordion > .accordion-item > .accordion-header > .accordion-button::after {
        display: none !important;
    }
    
    #mainAccordion > .accordion-item > .accordion-header > .accordion-button {
        pointer-events: none !important;
    }
    
    /* Product card improvements */
    .card .card-body .card-text {
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        color: #1a1a2e !important;
        margin-bottom: 6px !important;
    }
    
    .product-card-info {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }
    
    .product-card-info .pr-text1 {
        font-size: 11px !important;
        color: #666 !important;
        font-weight: 500 !important;
    }
    
    .product-card-info .product-sku {
        font-size: 10px !important;
        color: #888 !important;
    }
    
    /* Product specs (metal & weight) */
    .product-specs {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        margin: 6px 0 !important;
    }
    
    .product-specs .spec-item {
        font-size: 10px !important;
        color: #555 !important;
        background: #f5f5f5 !important;
        padding: 3px 6px !important;
        border-radius: 4px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
        white-space: nowrap !important;
    }
    
    .product-specs .spec-item i {
        font-size: 8px !important;
        color: #04155e !important;
    }
    
    /* Metal type color variations */
    .product-specs .spec-item.metal-yellow-gold {
        background: linear-gradient(135deg, #fff9e6 0%, #ffeeba 100%) !important;
        color: #856404 !important;
        border: 1px solid #ffd93d !important;
    }
    
    .product-specs .spec-item.metal-rose-gold {
        background: linear-gradient(135deg, #ffe4ec 0%, #ffb6c1 100%) !important;
        color: #c2185b !important;
        border: 1px solid #f48fb1 !important;
    }
    
    .product-specs .spec-item.metal-white-gold {
        background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%) !important;
        color: #616161 !important;
        border: 1px solid #bdbdbd !important;
    }
    
    .product-specs .spec-item.metal-platinum {
        background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%) !important;
        color: #3949ab !important;
        border: 1px solid #9fa8da !important;
    }
    
    .product-specs .spec-item.metal-yellow-gold i,
    .product-specs .spec-item.metal-rose-gold i,
    .product-specs .spec-item.metal-white-gold i,
    .product-specs .spec-item.metal-platinum i {
        color: inherit !important;
    }
    
    /* Diamond type badge on image */
    .diamond-type-badge {
        position: absolute !important;
        top: 8px !important;
        left: 8px !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        padding: 3px 8px !important;
        border-radius: 4px !important;
        z-index: 10 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .diamond-type-badge.natural-badge {
        background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
        color: #2e7d32 !important;
        border: 1px solid #a5d6a7 !important;
    }
    
    .diamond-type-badge.lab-badge {
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
        color: #1565c0 !important;
        border: 1px solid #90caf9 !important;
    }
    
    /* Price styling */
    .star-price .product-price {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #04155e !important;
    }
}