﻿
/* ===== Compact Variant Box ===== */
.variant-box {
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    max-width: 480px;
}

/* Sections */
.variant-section {
    margin-bottom: 14px;
}

/* Labels */
.variant-label {
    font-size: 11px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

    .variant-label::before {
        content: '';
        width: 2px;
        height: 10px;
        background: linear-gradient(135deg,#6366f1,#4f46e5);
        border-radius: 2px;
    }

/* Button group */
.button-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Variant buttons (SMALL) */
.variant-btn {
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    border-radius: 8px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s ease;
}

    .variant-btn:hover {
        border-color: #4f46e5;
        color: #4f46e5;
    }

    .variant-btn.active {
        background: linear-gradient(135deg,#6366f1,#4f46e5);
        color: #fff;
        border-color: #4f46e5;
        box-shadow: 0 3px 10px rgba(79,70,229,.25);
    }

/* Dimension select (SMALL) */
.select-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dimension-select {
    max-width: 220px;
    padding: 8px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

    .dimension-select:focus {
        border-color: #4f46e5;
        outline: none;
        box-shadow: 0 0 0 2px rgba(79,70,229,.15);
    }

/* Size guide link */
.size-guide-link {
    font-size: 11px;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
}

.color-swatch {
    cursor: pointer;
    transition: transform 0.2s, border 0.2s;
}

    .color-swatch:hover {
        transform: scale(1.2);
        border: 2px solid #000;
    }


/* ===============================
               WARRANTY BADGE - TOP LEFT
            ================================ */
.warranty-badge {
    position: absolute;
    top: 12px;
    left: 12px; /* 🔹 Changed from right to left */
    z-index: 5;
}

    .warranty-badge img {
        width: 70px;
        height: auto;
        background: white;
        padding: 4px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

/* Mobile optimization */
@media (max-width: 768px) {
    .warranty-badge img {
        width: 55px;
    }
}









/* ===== Glass Effect for Cart Success Modal ===== */

/* Background overlay (soft dim) */
#cartSuccessModal + .modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
}

/* Glass modal container */
#cartSuccessModal .modal-content {
    background: rgba(255, 255, 255, 0.18); /* glass transparency */
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    /* Glass depth */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Inner body stays clean */
#cartSuccessModal .modal-body {
    background: transparent;
}

/* Text readability */
#cartSuccessModal h4 {
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

#cartSuccessModal p {
    color: rgba(255,255,255,0.9) !important;
}

/* Buttons look better on glass */
#cartSuccessModal .btn-success {
    box-shadow: 0 6px 18px rgba(0, 128, 0, 0.35);
}

#cartSuccessModal .btn-outline-secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}




/* Container */
.secondary-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

    /* Buttons */
    .secondary-actions .btn {
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.3s ease;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .secondary-actions .btn-outline-danger {
        color: #dc3545;
        border-color: #dc3545;
    }

        .secondary-actions .btn-outline-danger:hover {
            background: #dc3545;
            color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(220, 53, 69, 0.4);
        }

    .secondary-actions .btn-outline-dark {
        color: #343a40;
        border-color: #343a40;
    }

        .secondary-actions .btn-outline-dark:hover {
            background: #343a40;
            color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(52, 58, 64, 0.4);
        }



/* ===== Section Wrapper ===== */
.highlights,
.Dimensions {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 18px;
}

/* ===== Section Titles ===== */
.highlight-title,
.Dimensions-title {
    font-size: 22px;
    font-weight: 700;
    color: linear-gradient(135deg, #881337, #4a044e);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
    position: relative;
    transition: all 0.3s ease;
}

    .highlight-title::after,
    .Dimensions-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 2px;
        background: linear-gradient(135deg, #881337, #4a044e) !important;
        transition: width 0.35s ease;
    }

    .highlight-title:hover,
    .Dimensions-title:hover {
        color: linear-gradient(135deg, #881337, #4a044e) !important;
        transform: translateY(-3px);
        text-shadow: 0 4px 14px linear-gradient(135deg, #881337, #4a044e) !important;
    }

        .highlight-title:hover::after,
        .Dimensions-title:hover::after {
            width: 100%;
        }


    /* Accent underline */
    .highlight-title::after,
    .Dimensions-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 50px;
        height: 3px;
        background: #2563eb; /* Premium blue */
        border-radius: 4px;
    }


/* ===== List Styling ===== */
.highlight-list,
.Dimensions-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .highlight-list li {
        font-weight: 600;
        color: #111827;
    }


        .highlight-list li:hover {
            color: #2563eb;
            transform: translateY(-3px);
            text-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
        }

    .Dimensions-list li:hover {
        color: #2563eb;
        transform: translateY(-3px);
        text-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    }



    /* ===== Dimensions emphasis ===== */
    .Dimensions-list li {
        font-weight: 600;
        color: #111827;
    }

/* ===== Responsive polish ===== */
@media (max-width: 768px) {
    .highlight-title, .Dimensions-title {
        font-size: 20px;
    }

    .highlight-list li,
    .Dimensions-list li {
        font-size: 15px;
    }
}



/* Responsive spacing */
@media (max-width: 576px) {
    .secondary-actions .btn {
        font-size: 0.95rem;
        padding: 0.6rem;
    }
}






/* Trust Features Container */
.trust-features {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 0;
}

    /* Each Feature Box */
    .trust-features .col-3 div {
        background: #ffffff;
        border-radius: 12px;
        padding: 15px 10px;
        transition: all 0.4s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        cursor: default;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

        .trust-features .col-3 div:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 28px rgba(0,0,0,0.18);
            background: linear-gradient(135deg, #fef9c3, #fcd34d);
        }

    /* Icon Styling */
    .trust-features i {
        font-size: 1.5rem;
        transition: all 0.3s ease;
    }

    .trust-features .col-3 div:hover i {
        transform: scale(1.3) rotate(5deg);
        color: #d97706; /* golden highlight on hover */
    }

    /* Feature Text */
    .trust-features small {
        font-weight: 600;
        color: #111;
        transition: all 0.3s ease;
        margin-top: 4px;
    }

    .trust-features .col-3 div:hover small {
        color: #4b0082; /* subtle purple on hover */
        text-shadow: 0 1px 5px rgba(0,0,0,0.2);
    }

/* Mobile Optimization */
@media (max-width: 576px) {
    .trust-features .col-3 {
        margin-bottom: 10px;
    }

        .trust-features .col-3 div {
            padding: 12px 8px;
        }

    .trust-features i {
        font-size: 1.3rem;
    }

    .trust-features small {
        font-size: 0.85rem;
    }
}











/* Delivery Box Container */
.delivery-box {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #ddd;
    transition: all 0.4s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

    .delivery-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    }

/* Pincode Label */
.pincode-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111;
    margin-bottom: 8px;
}

/* Input Box */
.pincode-input-box {
    position: relative;
    flex: 1;
    transition: all 0.3s ease;
}

    .pincode-input-box i {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        color: #6c757d;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .pincode-input-box input {
        width: 100%;
        padding-left: 38px;
        height: 46px;
        border-radius: 12px;
        border: 1px solid #ccc;
        font-size: 14px;
        transition: all 0.3s ease, border-color 0.3s ease;
        background: #fff;
    }

        .pincode-input-box input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
            outline: none;
        }

/* Check Button */
.pincode-check-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

    .pincode-check-btn:hover {
        background: linear-gradient(135deg, #1d4ed8, #2563eb);
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
    }

/* Delivery Result */
.delivery-result {
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 24px;
    margin-top: 10px;
    transition: all 0.3s ease;
    color: #111;
}

    .delivery-result .free {
        color: #059669;
        font-weight: 700;
        margin-left: 6px;
    }

    .delivery-result span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .delivery-result i {
        color: #059669;
        animation: bounce 1s infinite;
    }

/* Bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* Responsive */
@media (max-width: 576px) {
    .delivery-box {
        padding: 15px;
    }

    .pincode-input-box input {
        height: 42px;
    }

    .pincode-check-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}









/* Container spacing */
.action-buttons {
    margin-bottom: 2rem;
}

/* BUY NOW Button */
#buyNowBtn {
    background: linear-gradient(135deg, #16a34a, #059669);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

    #buyNowBtn i {
        animation: boltGlow 1.5s infinite alternate;
    }

    /* Hover effect for BUY NOW */
    #buyNowBtn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 12px 28px rgba(0,0,0,0.6);
    }

/* Add to Cart Button */
.cart-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

    .cart-btn i {
        transition: transform 0.3s ease;
    }

    /* Hover effect for Add to Cart */
    .cart-btn:hover {
        transform: translateY(-2px) scale(1.04);
        box-shadow: 0 10px 24px rgba(0,0,0,0.5);
    }

        .cart-btn:hover i {
            transform: rotate(20deg) scale(1.2);
            color: #fcd34d; /* subtle gold accent on hover */
        }

/* Bolt Icon Glow Animation */
@keyframes boltGlow {
    0% {
        color: #fff;
        text-shadow: 0 0 5px #fff;
    }

    50% {
        color: #fffb00;
        text-shadow: 0 0 10px #fffb00, 0 0 20px #fcd34d;
    }

    100% {
        color: #fff;
        text-shadow: 0 0 5px #fff;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #buyNowBtn, .cart-btn {
        font-size: 1rem;
        padding: 0.9rem;
    }
}










/* Price Section Container */
.price-section {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: #f5f5f5;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

    .price-section:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    }

    /* Discounted Price Styling */
    .price-section h2 {
        font-size: 2rem;
        font-weight: 700;
        color: #FFD700; /* gold for discount */
        margin-bottom: 0;
        text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    }

    .price-section .text-success.fw-semibold {
        font-weight: 600;
        font-size: 1rem;
        color: #38bdf8; /* blue highlight */
    }

    /* Original Price + Discount Badge */
    .price-section .text-muted.text-decoration-line-through {
        color: #9ca3af;
        font-size: 0.95rem;
    }

    .price-section .badge.bg-danger {
        background: linear-gradient(135deg, #dc2626, #991b1b);
        color: #fff;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 999px;
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5);
        transition: all 0.3s ease;
    }

        .price-section .badge.bg-danger:hover {
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 6px 18px rgba(220, 38, 38, 0.7);
        }

    /* GST Badge */
    .price-section .badge.bg-success {
        background: linear-gradient(135deg, #059669, #10b981);
        color: #fff;
        font-weight: 500;
        padding: 4px 10px;
        border-radius: 999px;
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.5);
    }

    /* Rating Stars */
    .price-section .rating i {
        color: #FFD700; /* golden stars */
        font-size: 1rem;
        margin-right: 2px;
        transition: all 0.3s ease;
    }

        .price-section .rating i:hover {
            transform: scale(1.2);
            text-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
        }

    /* FREE Delivery */
    .price-section .text-success.fw-semibold i {
        color: #38bdf8;
        margin-right: 3px;
    }

/* Savings Banner */
.savings-banner {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), rgba(250, 204, 21, 0.05));
    color: #111;
    padding: 10px 15px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

    .savings-banner:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    }

    .savings-banner small {
        font-weight: 600;
    }

    .savings-banner i {
        color: #f59e0b; /* gold piggy bank icon */
    }

/* Responsive Mobile */
@media (max-width: 768px) {
    .price-section h2 {
        font-size: 1.6rem;
    }

    .rating i {
        font-size: 0.9rem;
    }

    .savings-banner {
        font-size: 0.9rem;
    }
}












/* Alert background */
.alert-success {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: #f5f5f5;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    /* Hover effect on alert */
    .alert-success:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
    }

    /* HOT DEAL icon */
    .alert-success i.fas.fa-bolt {
        color: #f59e0b;
        text-shadow: 0 0 8px rgba(245, 158, 11, 0.8), 0 0 15px rgba(245, 158, 11, 0.5);
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }

    /* Icon hover glow */
    .alert-success:hover i.fas.fa-bolt {
        transform: scale(1.2) rotate(10deg);
        text-shadow: 0 0 12px rgba(245, 158, 11, 1), 0 0 20px rgba(245, 158, 11, 0.7);
    }

/* Live user count */
#liveUserCount {
    font-weight: 600;
    color: #facc15;
}

/* Tooltip button */
#userTooltip {
    font-size: 0.85rem;
    padding: 2px 8px;
    border: 1px solid #facc15;
    border-radius: 999px;
    color: #facc15;
    background: transparent;
    transition: all 0.3s ease;
}

    #userTooltip:hover {
        color: #111;
        background: #facc15;
        box-shadow: 0 4px 12px rgba(250, 204, 21, 0.5);
        transform: translateY(-2px) scale(1.05);
    }

/* Badge */
.badge.bg-danger {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.6);
    transition: all 0.3s ease;
}

    .badge.bg-danger:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 18px rgba(220, 38, 38, 0.8);
        background: linear-gradient(135deg, #ef4444, #7f1d1d);
    }

/* Close button dark style */
.alert .btn-close {
    filter: brightness(0.8);
    transition: all 0.3s ease;
}

    .alert .btn-close:hover {
        filter: brightness(1.2);
        transform: scale(1.1);
    }

/* Flex adjustments */
.alert .d-flex.align-items-center {
    flex-wrap: wrap;
    gap: 10px;
}




.reviews-title i {
    color: #FFD700;
    margin-right: 6px;
}

.reviews-title {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: #111; /* deep black */
    padding-bottom: 8px;
    margin-bottom: 20px;
    position: relative;
    letter-spacing: 0.5px;
    cursor: default;
}

    /* underline animation */
    .reviews-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40%;
        height: 3px;
        background: linear-gradient(90deg, #FFD700, #000);
        border-radius: 2px;
        transition: width 0.4s ease;
    }

    .reviews-title:hover::after {
        width: 100%;
    }

    /* subtle glow on hover */
    .reviews-title:hover {
        text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    }

.trust-badges {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

/* Base trust item style */
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    background: linear-gradient(135deg, #fef9c3, #fcd34d);
    color: #161718e6; /* light text */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    cursor: default;
}

    /* Icon inside badge */
    .trust-item .icon {
        font-size: 15px;
        color: #38bdf8; /* subtle blue accent */
        transition: all 0.3s ease;
    }

    /* Free Shipping badge */
    .trust-item.shipping {
        background: linear-gradient(135deg, #1e3a8a, #2563eb);
        color: #161718e6;
    }

    /* Easy Returns badge */
    .trust-item.returns {
        background: linear-gradient(135deg, #0f766e, #14b8a6);
        color: #161718e6;
    }

    /* Hover effect for all badges */
    .trust-item:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    }

        /* Icon hover glow */
        .trust-item:hover .icon {
            transform: scale(1.2);
            color: #facc15; /* gold accent on hover */
        }








/*  .trust-badges {
                display: flex;
                gap: 12px;
                align-items: center;
                margin: 15px 0;
                flex-wrap: wrap;
            } */

/*  .trust-item {
                display: flex;
                align-items: center;
                gap: 8px;
                padding: 8px 14px;
                font-size: 14px;
                font-weight: 600;
                border-radius: 999px;
                background: #e8f5e9;
                color: #1b5e20;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
                transition: all 0.3s ease;
                cursor: default;
            } */

/*  .trust-item .icon {
                    font-size: 15px;
                } */

/* Free Shipping */
/*    .trust-item.shipping {
                    background: #fff8e1;
                    color: #ff6f00;
                } */

/* Easy Returns */
/*  .trust-item.returns {
                    background: #e1f5fe;
                    color: #0277bd;
                } */

/* Hover effect */
/*   .trust-item:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
                } */


.badge-new {
    background: linear-gradient(135deg, #4b5563, #1f2933);
    color: #fff;
    font-weight: 300;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

    .badge-new:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 18px rgba(220, 38, 38, 0.6);
        background: linear-gradient(135deg, #ef4444, #991b1b);
    }

/* Override Bootstrap bg-danger safely */
.bg-danger {
    background: linear-gradient(135deg, #dc2626, #7f1d1d) !important;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.45);
    transition: all 0.3s ease;
}

    .bg-danger:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 18px rgba(220, 38, 38, 0.6);
        background: linear-gradient(135deg, #ef4444, #991b1b) !important;
    }















.star-rating {
    display: inline-flex;
    direction: rtl; /* ⭐ MOST IMPORTANT */
    font-size: 2rem;
}

    .star-rating input {
        display: none;
    }

    .star-rating label {
        color: #ccc;
        cursor: pointer;
        transition: color 0.2s ease;
    }

        .star-rating label:hover,
        .star-rating label:hover ~ label {
            color: #f5b301;
        }

    .star-rating input:checked ~ label {
        color: #f5b301;
    }


/*   body {
                background-color: rgb(32,34,41);
                font-family: 'Open Sans', sans-serif;
                color: #fff;
            } */
body {
    background: linear-gradient(135deg, #764b,#fff 0% 100%);
    font-family: 'Open Sans', sans-serif;
    color: #333;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}


h4 {
    color: #1a1a1a;
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/*    h4 {
                color: #fff;
                text-align: center;
                font-size: 2em;
                margin-bottom: 30px;
                text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            } */

#reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    margin: 0 auto;
    max-width: 1400px;
}

.review-card {
    width: 280px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    color: #333;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .review-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
        transform: scaleX(0);
        transition: transform 0.4s;
    }

    .review-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

        .review-card:hover::before {
            transform: scaleX(1);
        }

.img-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 4px solid #2c3e50;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
}

.review-card:hover .img-container {
    transform: scale(1.1) rotate(5deg);
    border-color: #FFD700;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.2);
}

.review-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.user-name {
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
    margin-bottom: 8px;
}

.rating {
    display: flex;
    gap: 4px;
    margin: 8px 0;
}

.star {
    font-size: 22px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

    .star.filled {
        color: #FFD700;
        animation: starPulse 2s ease-in-out infinite;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.4);
    }

    .star.empty {
        color: #ddd;
    }

.review-card:hover .star.filled {
    animation: star3D 0.6s ease-in-out infinite;
    transform: scale(1.2);
}

@keyframes starPulse {
    0%, 100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.3);
    }
}

@keyframes star3D {
    0%, 100% {
        transform: scale(1.2) rotateY(0deg);
    }

    50% {
        transform: scale(1.3) rotateY(180deg);
    }
}

.star:nth-child(1) {
    animation-delay: 0s;
}

.star:nth-child(2) {
    animation-delay: 0.1s;
}

.star:nth-child(3) {
    animation-delay: 0.2s;
}

.star:nth-child(4) {
    animation-delay: 0.3s;
}

.star:nth-child(5) {
    animation-delay: 0.4s;
}

.review-comment {
    font-size: 16px; /* increase font size */
    margin-bottom: 10px;
    line-height: 1.8; /* slightly more spacing for readability */
    color: #555;
    font-weight: 600; /* make text bold */
    font-style: italic;
}



/* Hover glow for comment & username */
.review-card:hover,
.review-card:hover .user-name {
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.6), 0 0 15px rgba(118, 75, 162, 0.5);
}

/* Filled stars color */
.review-card .fas.fa-star,
.review-card .star.filled {
    color: #667eea; /* deep blue */
    background: linear-gradient(135deg, #667eea, #764ba2); /* blue → purple gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(102, 126, 234, 0.6), 0 0 10px rgba(118, 75, 162, 0.4);
}


.review-date {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    padding: 5px 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
}

.no-reviews {
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}



/* Write Review Button */
#writeReviewBtn {
    background: #222;
    color: #fff;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s;
}

    #writeReviewBtn:hover {
        background: #ff8c00;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

/* Submit form styling */
#submitReviewForm {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

    #submitReviewForm input, #submitReviewForm textarea {
        border-radius: 5px;
        border: 1px solid #ccc;
        padding: 0.5rem;
        width: 100%;
        font-size: 1rem;
        transition: border-color 0.3s, box-shadow 0.3s;
    }

        #submitReviewForm input:focus, #submitReviewForm textarea:focus {
            border-color: #ff8c00;
            box-shadow: 0 0 5px rgba(255,140,0,0.3);
            outline: none;
        }

    #submitReviewForm button {
        background: #ff8c00;
        color: #fff;
        border-radius: 5px;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        border: none;
        transition: all 0.3s;
    }

        #submitReviewForm button:hover {
            background: #e07b00;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }

.highlight-title {
    font-size: 22px;
    font-weight: 800;
    color: #2C3E50; /* Premium dark-blue/grey */
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 3px solid #3498db; /* Attractive blue underline */
    display: inline-block;
}

.highlight-list {
    list-style-type: disc;
    padding-left: 22px;
    margin: 0;
}

.highlight-item {
    font-size: 19px; /* Bigger */
    font-weight: 600; /* Bold */
    color: #1a1a1a; /* Elegant dark */
    margin-bottom: 10px; /* Spacing */
    line-height: 1.7; /* Readable */
}



.Dimensions-title {
    font-size: 22px;
    font-weight: 800;
    color: #2C3E50; /* Premium dark-blue/grey */
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 3px solid #3498db; /* Attractive blue underline */
    display: inline-block;
}

.Dimensions-list {
    list-style-type: disc;
    padding-left: 22px;
    margin: 0;
}

.Dimensions-item {
    font-size: 19px; /* Bigger */
    font-weight: 600; /* Bold */
    color: #1a1a1a; /* Elegant dark */
    margin-bottom: 10px;
    line-height: 1.7;
}

.zoom-wrapper {
    cursor: zoom-in;
}

.zoom-overlay {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: 200%;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.zoom-wrapper:hover .zoom-overlay {
    opacity: 1;
}


.product-hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}


    .product-hero-image:hover {
        transform: scale(1.02);
    }

.placeholder-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.thumbnail-scroll-container {
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail-gallery::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
}

.cursor-pointer {
    cursor: pointer;
}

.transition-all {
    transition: all 0.3s ease;
}

.thumbnail {
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

    .thumbnail:hover, .thumbnail.active {
        border-color: #007bff;
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    }

.bg-gradient-price {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
}

.quantity-selector {
    border-radius: 12px;
    overflow: hidden;
}

    .quantity-selector .btn {
        background: white;
        border-color: #dee2e6;
    }

    .quantity-selector .form-control {
        background: #f8f9fa;
        font-weight: bold;
    }

.action-buttons .btn {
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

    .action-buttons .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }



benefits-section {
    background: linear-gradient(135deg, #eef2ff, #fdf2f8);
    border-radius: 18px;
    padding: 25px 20px;
}
/*   .benefits-section {
                background: linear-gradient(180deg, #f8f9fa, #ffffff);
                border-radius: 16px;
                padding: 10px;
            } */
/* .benefits-section {
                background: linear-gradient(180deg, #0a1929, #1a2332);
                border-radius: 16px;
                padding: 40px 20px;
                position: relative;
                overflow: hidden;
            } */

/* Benefit Card */
/*  .benefit-card { */
/*  background: #ffffff; */
/*     background: #f5f5f5;
                transition: all 0.35s ease;
                position: relative;
                overflow: hidden;
            } */


.col-md-4:nth-child(1) .benefit-card::before {
    background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.col-md-4:nth-child(1) .benefit-icon {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #fff;
}

.col-md-4:nth-child(2) .benefit-card::before {
    background: linear-gradient(90deg, #f59e0b, #facc15);
}

.col-md-4:nth-child(2) .benefit-icon {
    background: linear-gradient(135deg, #f59e0b, #facc15);
    color: #fff;
}

.col-md-4:nth-child(3) .benefit-card::before {
    background: linear-gradient(90deg, #16a34a, #4ade80);
}

.col-md-4:nth-child(3) .benefit-icon {
    background: linear-gradient(135deg, #16a34a, #4ade80);
    color: #fff;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

    .benefit-card:hover::before {
        opacity: 1;
    }

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.15) rotate(6deg);
}

.benefit-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.benefit-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6b7280;
}




.benefit-card {
    background: #ffffff;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}


    /* Subtle top accent line */
    .benefit-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 4px;
        width: 100%;
        background: linear-gradient(90deg, #0d6efd, #20c997);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    /* Hover effect */
    .benefit-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
        border-color: transparent;
    }

        .benefit-card:hover::before {
            opacity: 1;
        }

/* Icon styling */
.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Icon hover animation */
.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(3deg);
    background: rgba(13, 110, 253, 0.15);
}

/* Heading */
.benefit-card h5 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

/* Description */
.benefit-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile optimization */
@media (max-width: 576px) {
    .benefit-card {
        padding: 1.25rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
    }
}

/*  .benefit-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: white;
        }

            .benefit-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
            }

        .benefit-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            color: white;
        }
 */
.urgency-bar {
    z-index: 1040;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
}

.sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    color: white;
    padding: 10px;
    display: none;
    z-index: 999;
    box-shadow: 0 -5px 20px rgba(0,0,0,.3);
}

.activity-dots .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
    margin: 0 2px;
    animation: pulse 1.5s infinite;
}

    .activity-dots .dot:nth-child(2) {
        animation-delay: 0.5s;
    }

    .activity-dots .dot:nth-child(3) {
        animation-delay: 1s;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.trust-badges .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
}

.savings-banner {
    border-left: 4px solid #ffc107;
}

.stock-progress .progress {
    border-radius: 10px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    cursor: zoom-out;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

    .close-btn:hover {
        color: #ff6b6b;
    }


@media (max-width: 768px) {
    /*  .product-title {
                font-size: 1.5rem;
            }
 */
    .product-title {
        font-size: 2rem; /* default desktop size */
        font-weight: 700;
        color: #111; /* deep black */
        text-align: center;
        position: relative;
        margin-bottom: 20px;
        cursor: default;
        letter-spacing: 0.5px;
        transition: all 0.4s ease;
        background: linear-gradient(90deg, #667eea, #764ba2); /* gradient text */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .action-buttons .btn {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .urgency-bar {
        position: relative;
    }
}

/* Loading animations */
.btn-loading {
    position: relative;
    overflow: hidden;
}

    .btn-loading::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        animation: loading 1.5s infinite;
    }

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}


/* Hover Zoom */
.zoom-hover {
    transition: transform 0.3s ease-in-out;
    cursor: zoom-in;
}

    .zoom-hover:hover {
        transform: scale(1.08);
    }

/* Magnifier Lens */
.magnifier-lens {
    position: absolute;
    border: 2px solid #ddd;
    /*  width: 120px;
            height: 120px; */
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
    display: none;
    z-index: 9999;
    width: 180px !important;
    height: 180px !important;
}


.image-gallery {
    display: flex;
    gap: 20px;
}

#zoomMainImage {
    width: 100%;
    border-radius: 10px;
}

/* Main Image */
.main-image-container {
    position: relative;
    width: 100%;
    cursor: crosshair;
}


#zoomLens {
    display: none;
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid #000;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    pointer-events: none;
    z-index: 10;
}

/* Zoom Result box */
#zoomResult {
    display: none;
    width: 350px;
    height: 350px;
    border: 2px solid #000;
    margin-top: 20px;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.image-zoom-container {
    position: relative;
    display: inline-block;
}

.product-image {
    width: 450px;
    height: auto;
    border-radius: 8px;
}

#zoomLens {
    position: absolute;
    border: 2px solid #000;
    width: 120px;
    height: 120px;
    visibility: hidden;
    cursor: crosshair;
    background-color: rgba(255,255,255,0.2);
}

#zoomResult {
    width: 450px;
    height: 450px;
    border: 1px solid #ccc;
    position: absolute;
    left: 470px;
    top: 0;
    background-repeat: no-repeat;
    visibility: hidden;
    border-radius: 8px;
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef6ff;
    border: 2px solid #d1e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

    .share-button i {
        color: #2196f3;
        font-size: 18px;
    }

    .share-button:hover {
        background: #d7ecff;
        transform: scale(1.08);
    }



/* 🔹 BLUR BACKGROUND */
#popupBlur {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    z-index: 9998;
}

/* 🔹 POPUP BOX */
#imagePopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    display: none;
    z-index: 9999;
}

#popupImg {
    max-width: 600px;
    max-height: 600px;
    border-radius: 10px;
}

/* 🔹 CLOSE BUTTON */
.closePopup {
    position: absolute;
    top: 4px;
    right: 10px;
    font-size: 26px;
    cursor: pointer;
}




/* ========================= */
/* PREMIUM WHATSAPP FLOAT */
/* ========================= */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background: linear-gradient(135deg, #25D366, #1EBE5D);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    animation: whatsappPulse 2.5s infinite;
    transition: all 0.35s ease;
}

    /* WhatsApp icon animation */
    .whatsapp-float i {
        transition: transform 0.35s ease;
    }

    /* Hover effects */
    .whatsapp-float:hover {
        transform: translateY(-4px) scale(1.08);
        box-shadow: 0 16px 40px rgba(37, 211, 102, 0.65);
        animation: none;
    }

        .whatsapp-float:hover i {
            transform: scale(1.15) rotate(-6deg);
        }

/* ========================= */
/* PULSE RING ANIMATION */
/* ========================= */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 10px 30px rgba(37, 211, 102, 0.45);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 14px 38px rgba(37, 211, 102, 0.6);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 30px rgba(37, 211, 102, 0.45);
    }
}

/* ========================= */
/* MOBILE OPTIMIZATION */
/* ========================= */
@media (max-width: 576px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 24px;
        right: 16px;
        bottom: 16px;
    }
}

/* ============================ */
/* SOCIAL PROOF CARD */
/* ============================ */

.social-proof-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.35s ease;
}

    /* Hover lift */
    .social-proof-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    }

/* Numbers */
.stat-value {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

/* Labels */
.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}

/* Column divider */
.social-proof-card .border-end {
    border-color: rgba(0,0,0,0.08) !important;
}

/* Mobile tweak */
@media (max-width: 576px) {
    .stat-value {
        font-size: 18px;
    }

    .stat-label {
        font-size: 12px;
    }
}
