/* ================================================================
   PRODUCT GALLERY & DETAILS BASE
   ================================================================ */
.product-gallery {
    position: relative;
    background: #fff;
    padding: 16px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.product-info {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: #222;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-left: 10px;
}

.discount {
    color: #28a745;
    font-weight: 600;
}

.qty-box {
    width: 140px;
}

.book-features li {
    margin-bottom: 10px;
}

.btn-buy {
    background: #ff0000;
    border: none;
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-buy:hover {
    background: #cc0000;
    color: #fff;

}

.description-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.discount-badge {
    display: inline-block;
    background: #198754;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    width: auto;
}

.price-section {
    font-family: Arial, sans-serif;
}

.current-price {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-right: 8px;
}

.mrp-label {
    font-size: 18px;
    color: #666;
    margin-right: 4px;
}

.old-price {
    font-size: 18px;
    color: #777;
    text-decoration: line-through;
    margin-right: 8px;
}

.discount {
    font-size: 18px;
    font-weight: 600;
    color: #ff7a45;
}

.tax-text {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #00a86b;
}


.specifications-section {
    margin-top: 40px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
    .specifications-section {
        background: transparent;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
    }
}

.spec-title {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.spec-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #ff4545);
    border-radius: 2px;
}

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

@media (max-width: 768px) {
    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .spec-item {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 12px;
    }
    .spec-icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 8px;
    }
    .spec-label {
        font-size: 10px;
    }
    .spec-value {
        font-size: 13px;
    }
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.spec-item:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #dc3545;
}

.spec-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.spec-item:hover .spec-icon-wrapper {
    background: #dc3545;
    color: #ffffff;
    transform: scale(1.05);
}

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #9ca3af;
    margin-bottom: 2px;
}

.spec-value {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

/* ================================================================
   RELATED PRODUCTS SECTION & CARD STYLING
   ================================================================ */
.related-products-section {
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 35px;
    /* position: relative; */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #ff4545);
    border-radius: 2px;
}

/* Tab pills styling */
.related-products-section .nav-pills .nav-link {
    background-color: #ffffff;
    color: #4b5563;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-products-section .nav-pills .nav-link:hover {
    border-color: #dc3545;
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.02);
}

.related-products-section .nav-pills .nav-link.active {
    background-color: #dc3545 !important;
    color: #ffffff !important;
    border-color: #dc3545 !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25) !important;
}

.related-products-section .nav-pills .nav-link.active::after {
    background: none !important;
}

.related-products-section .nav-pills .nav-link.active i {
    color: #ffffff !important;
}

/* Card layout & Hover Animations */
.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(220, 53, 69, 0.2) !important;
}

.product-card-img-wrapper {
    height: 260px;
    overflow: hidden;
    position: relative;
    background-color: #f9fafb !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card-img {
    max-height: 220px;
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 15px;
}

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

/* Overlay & Buttons */
.product-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 5;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
    visibility: visible;
}

.product-card-overlay .btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.product-card:hover .product-card-overlay .btn {
    transform: translateY(0);
}

.product-card-overlay .btn-light:hover {
    background-color: #dc3545;
    color: #ffffff;
}

.product-card-overlay .btn-danger:hover {
    background-color: #ffffff;
    color: #dc3545;
}

.hover-red {
    transition: color 0.2s ease;
}

.hover-red:hover {
    color: #dc3545 !important;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

/* ================================================================
   PRODUCT SHOWCASE CARD STYLING (FROM CATALOG)
   ================================================================ */
.product-showcase-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.product-showcase-media {
    position: relative;
    height: 260px;
    padding: 1rem;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-showcase-image {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12), 0 4px 10px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-showcase-card:hover .product-showcase-image {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.2), 0 8px 18px rgba(15, 23, 42, 0.1);
}

.product-showcase-overlay {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(6px);
}

.product-showcase-card:hover .product-showcase-overlay {
    opacity: 1;
    transform: translateY(0);
}

.product-showcase-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 2;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.2);
}

.product-showcase-body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.15rem;
}

.product-showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.product-showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-showcase-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.2rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55;
}

.product-showcase-name a {
    color: #111827;
    text-decoration: none;
}

.product-showcase-name a:hover {
    color: #dc2626;
}

.product-showcase-publisher {
    margin: 0;
    color: #64748b;
    font-size: 0.86rem;
}

.product-showcase-publisher strong {
    color: #6b8296;
}

.product-showcase-price-row {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
}

.product-showcase-price {
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 800;
    color: #111827;
}

.product-showcase-mrp {
    color: #94a3b8;
    font-size: 0.92rem;
    text-decoration: line-through;
}

.product-showcase-save {
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 700;
}

.product-showcase-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-qty-control {
    display: inline-flex;
    align-items: center;
    width: 122px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.product-qty-btn {
    width: 36px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.product-qty-btn:hover {
    background: #f3f4f6;
    color: #dc2626;
}

.product-qty-input {
    width: 50px;
    height: 40px;
    border: 0;
    text-align: center;
    font-weight: 700;
    color: #111827;
    box-shadow: none;
}

.product-qty-input:focus {
    outline: none;
    box-shadow: none;
}

.product-showcase-stock {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.product-showcase-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.product-showcase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    border-radius: 14px;
    font-weight: 700;
}

.product-showcase-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.8rem;
}

.product-showcase-footer a {
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}

.product-showcase-footer a:hover {
    color: #dc2626;
}

@media (max-width: 767.98px) {
    .product-showcase-media {
        height: 274px;
    }

    .product-showcase-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .product-qty-control {
        width: 100%;
    }

    .product-qty-input {
        flex: 1;
    }

    .product-showcase-actions {
        grid-template-columns: 1fr;
    }

    .product-showcase-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .product-grid {
        --bs-gutter-x: 0.5rem !important;
        --bs-gutter-y: 0.75rem !important;
    }

    .product-grid .col {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    .product-showcase-card {
        border-radius: 14px;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    }

    .product-showcase-media {
        height: 260px;
        padding: 0.5rem;
    }

    .product-showcase-image {
        max-width: 95%;
        max-height: 95%;
    }

    .product-showcase-badge {
        top: 0.5rem;
        left: 0.5rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }

    .product-showcase-body {
        padding: 0.6rem;
        gap: 0.5rem;
    }

    .product-showcase-tags {
        display: none !important;
    }

    .product-showcase-name {
        min-height: auto;
        font-size: 0.82rem;
        line-height: 1.3;
        margin-bottom: 0.15rem;
    }

    .product-showcase-publisher {
        font-size: 0.72rem;
        margin-bottom: 0;
    }

    .product-showcase-price-row {
        gap: 0.25rem;
        margin-bottom: 0.25rem;
    }

    .product-showcase-price {
        font-size: 0.95rem;
    }

    .product-showcase-mrp {
        font-size: 0.8rem;
    }

    .product-showcase-save {
        font-size: 0.7rem;
        display: block;
        width: 100%;
    }

    .product-showcase-controls {
        display: none !important;
    }

    .product-showcase-actions {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.3rem !important;
    }

    .product-showcase-btn {
        min-height: 32px;
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        border-radius: 8px;
    }

    .product-showcase-btn i {
        font-size: 0.8rem;
    }

    .product-showcase-footer {
        display: none !important;
    }
}

/* Premium Gallery Cycle Fade Animation */
.gallery-image-fade {
    animation: fadeInImage 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInImage {
    from {
        opacity: 0.65;
        filter: brightness(0.92) contrast(0.95);
    }
    to {
        opacity: 1;
        filter: none;
    }
}

/* ================================================================
   FLIPKART STYLE PRODUCT GALLERY & ZOOM SUITE
   ================================================================ */
.product-gallery-sticky {
    position: relative;
}

@media (min-width: 992px) {
    .product-gallery-sticky {
        position: sticky;
        top: 90px;
        z-index: 20;
    }
}

.flipkart-gallery-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

@media (max-width: 767.98px) {
    .flipkart-gallery-box {
        padding: 12px;
        border-radius: 14px;
    }
}

.flipkart-media-wrapper {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
}

@media (min-width: 992px) {
    .flipkart-media-wrapper {
        flex-direction: row;
    }

    .thumbSwiper {
        width: 76px !important;
        height: 460px !important;
        flex-shrink: 0;
        overflow: hidden;
        margin: 0 !important;
        padding: 4px 2px !important;
    }

    .thumbSwiper .swiper-wrapper {
        flex-direction: column !important;
    }

    .thumbSwiper .swiper-slide {
        width: 72px !important;
        height: 72px !important;
        margin-bottom: 10px !important;
        margin-right: 0 !important;
    }

    .main-image-display {
        flex: 1;
        min-width: 0;
        position: relative;
    }

    .productSwiper {
        height: 460px !important;
    }
}

@media (max-width: 991.98px) {
    .flipkart-media-wrapper {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .thumbSwiper {
        width: 100% !important;
        height: 72px !important;
        margin-top: 8px;
        padding: 2px !important;
    }

    .thumbSwiper .swiper-slide {
        width: auto !important;
        height: 68px !important;
    }

    .main-image-display {
        width: 100%;
        position: relative;
    }

    .productSwiper {
        height: 380px !important;
    }
}

@media (max-width: 575.98px) {
    .thumbSwiper {
        height: 64px !important;
    }

    .thumbSwiper .swiper-slide {
        height: 60px !important;
    }

    .productSwiper {
        height: 320px !important;
    }
}

@media (max-width: 400px) {
    .productSwiper {
        height: 280px !important;
    }
}

/* Main Swiper Slider & Slides */
.productSwiper {
    position: relative;
    width: 100%;
    border-radius: 14px;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

.productSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    height: 100%;
}

.swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    overflow: hidden;
}

.main-img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.25s ease;
}

/* Thumbnails */
.thumb-slide {
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

.thumb-slide:hover {
    opacity: 0.85;
}

.thumb-slide.swiper-slide-thumb-active {
    opacity: 1;
}

.thumb-wrapper {
    width: 100%;
    height: 100%;
    min-width: 60px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 3px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.thumb-slide:hover .thumb-wrapper {
    border-color: rgba(220, 53, 69, 0.4);
}

.thumb-slide.swiper-slide-thumb-active .thumb-wrapper {
    border-color: #dc3545 !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.22);
    transform: scale(1.02);
}

.thumb-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    pointer-events: none;
}

/* Floating Actions in Main Display */
.gallery-floating-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-floating-action {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.09);
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-floating-action:hover {
    background: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
    transform: scale(1.08);
    box-shadow: 0 5px 14px rgba(220, 53, 69, 0.3);
}

.btn-floating-action.btn-share {
    color: #dc3545;
}

.btn-floating-action.btn-share:hover {
    color: #ffffff;
}

.btn-floating-action.btn-expand {
    color: #374151;
}

.btn-floating-action.btn-expand:hover {
    color: #ffffff;
}

/* Navigation Buttons */
.product-swiper-btn-next,
.product-swiper-btn-prev {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    color: #1f2937;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
    opacity: 0;
}

.main-image-display:hover .product-swiper-btn-next,
.main-image-display:hover .product-swiper-btn-prev {
    opacity: 1;
}

@media (max-width: 991.98px) {
    .product-swiper-btn-next,
    .product-swiper-btn-prev {
        opacity: 0.85;
        width: 32px;
        height: 32px;
    }
}

.product-swiper-btn-next::after,
.product-swiper-btn-prev::after {
    font-size: 13px;
    font-weight: bold;
}

.product-swiper-btn-next:hover,
.product-swiper-btn-prev:hover {
    background-color: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
}

.product-image-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 20;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    pointer-events: none;
    letter-spacing: 0.3px;
}

/* Desktop Lens Zoom & Preview Box */
.zoom-lens {
    position: absolute;
    border: 2px solid #dc3545;
    width: 160px;
    height: 160px;
    background-color: rgba(220, 53, 69, 0.12);
    display: none;
    pointer-events: none;
    z-index: 20;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.2);
}

.zoom-preview {
    position: absolute;
    top: 0;
    left: calc(100% + 18px);
    width: 130%;
    height: 460px;
    border: 1px solid #e5e7eb;
    background-repeat: no-repeat;
    display: none;
    z-index: 1050;
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .zoom-lens,
    .zoom-preview {
        display: none !important;
    }
}

/* ================================================================
   FULLSCREEN IMAGE LIGHTBOX MODAL (MOBILE & DESKTOP ZOOM)
   ================================================================ */
.product-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.product-lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 14, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px;
    box-sizing: border-box;
}

.lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px 12px 8px;
    color: #ffffff;
    z-index: 10;
}

.lightbox-counter {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
}

.lightbox-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lightbox-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lightbox-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
    transform: scale(1.05);
}

.lightbox-close {
    background: #dc3545;
    border-color: #dc3545;
}

.lightbox-close:hover {
    background: #b02a37;
    border-color: #b02a37;
}

.lightboxMainSwiper {
    flex: 1;
    width: 100%;
    height: calc(100% - 130px);
    position: relative;
}

.lightboxMainSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.lightboxMainSwiper .swiper-zoom-container {
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-btn-next,
.lightbox-btn-prev {
    color: #ffffff;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.lightbox-btn-next:hover,
.lightbox-btn-prev:hover {
    background: #dc3545;
    color: #ffffff;
}

.lightbox-btn-next::after,
.lightbox-btn-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.lightboxThumbSwiper {
    height: 60px;
    margin-top: 10px;
    max-width: 500px;
    width: 100%;
    padding: 4px 0;
}

.lightbox-thumb-slide {
    opacity: 0.45;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.lightboxThumbSwiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

.lightbox-thumb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .lightbox-content {
        padding: 10px 8px;
    }
    .lightboxMainSwiper {
        height: calc(100% - 110px);
    }
    .lightbox-img {
        max-width: 96%;
        max-height: 75vh;
    }
    .lightbox-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .lightbox-btn-next,
    .lightbox-btn-prev {
        display: none;
    }
}

.flipkart-actions-wrapper {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed rgba(0, 0, 0, 0.12);
}

.qty-selection-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 16px;
}

.qty-selection-label {
    font-size: 14px;
    font-weight: 700;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-box-flipkart {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    overflow: hidden;
    height: 38px;
}

.qty-box-flipkart .btn-qty {
    width: 36px;
    height: 38px;
    border: none;
    background: #f1f3f5;
    color: #212529;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.qty-box-flipkart .btn-qty:hover {
    background: #e9ecef;
    color: #000;
}

.qty-box-flipkart .qty-input-field {
    width: 48px;
    height: 38px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: #212529;
    background: transparent;
}

.qty-box-flipkart .qty-input-field:focus {
    outline: none;
}

.flipkart-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-flipkart-cart {
    background: #ff9f00 !important;
    background: linear-gradient(135deg, #ff9f00 0%, #ff8c00 100%) !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border: none !important;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(255, 159, 0, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
}

.btn-flipkart-cart:hover {
    background: linear-gradient(135deg, #e68f00 0%, #d97d00 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 159, 0, 0.45);
}

.btn-flipkart-cart:active {
    transform: translateY(0);
}

.btn-flipkart-buy {
    background: #fb641b !important;
    background: linear-gradient(135deg, #fb641b 0%, #f4511e 100%) !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border: none !important;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(251, 100, 27, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
}

.btn-flipkart-buy:hover {
    background: linear-gradient(135deg, #e0530e 0%, #d04300 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(251, 100, 27, 0.45);
}

.btn-flipkart-buy:active {
    transform: translateY(0);
}

.btn-flipkart-outofstock {
    background: #6c757d !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border: none !important;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    width: 100%;
    opacity: 0.85;
}

/* Feature Trust Badges */
.flipkart-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 6px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    transition: all 0.2s ease;
}

.trust-badge-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.trust-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 6px;
}

.trust-icon-genuine {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.trust-icon-delivery {
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
}

.trust-icon-return {
    background: rgba(255, 159, 0, 0.15);
    color: #d97706;
}

.trust-badge-item span {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    line-height: 1.25;
}

/* Mobile Fixed Bottom Sticky Bar */
.flipkart-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #e5e7eb;
    padding: 10px 14px;
}

.flipkart-mobile-bottom-bar .flipkart-btn-grid {
    gap: 8px;
}

.flipkart-mobile-bottom-bar .btn-flipkart-cart,
.flipkart-mobile-bottom-bar .btn-flipkart-buy {
    padding: 12px 8px;
    font-size: 13px;
    border-radius: 6px;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 75px;
    }
}

/* ================================================================
   BOOK POLICY & GUARANTEE PANEL
   ================================================================ */
.book-policy-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    margin-bottom: 24px;
}

.book-policy-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.book-policy-header h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.2px;
}

.book-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (max-width: 575.98px) {
    .book-policy-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.policy-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.policy-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.policy-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.policy-content {
    display: flex;
    flex-direction: column;
}

.policy-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 3px 0;
    line-height: 1.3;
}

.policy-desc {
    font-size: 11px;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

/* Accordion Policy Details Block */
.policy-accordion {
    margin-top: 24px;
}

.policy-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.policy-accordion .accordion-button {
    background: #f8fafc;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    padding: 14px 18px;
    box-shadow: none !important;
}

.policy-accordion .accordion-button:not(.collapsed) {
    background: #ffffff;
    color: #dc2626;
}

.policy-accordion .accordion-body {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    padding: 16px 18px;
    background: #ffffff;
}


