/* =============================================
   Product Page — product.blade.php
   ============================================= */

/* Product Tabs */
.nav-tabs .nav-link {
    font-weight: bold;
    color: #343a40;
    background: rgba(122, 135, 105, 0.15);
    border: none;
    border-bottom: 2.5px solid transparent;
    transition: background 0.2s, color 0.2s;
}
.nav-tabs .nav-link:hover {
    color: #7A8769;
    background: rgba(122, 135, 105, 0.1);
    border-bottom: 2.5px solid #7A8769;
}
.nav-tabs .nav-link.active {
    color: #5d6b50;
    background: #fff;
    border-bottom: 2.5px solid #7A8769;
}
.tab-content {
    background: #fff;
    overflow: hidden;
    overflow-x: auto;
}
.tab-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}
.tab-content table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}
.tab-content p,
.tab-content div {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Lightbox */
.lightbox-img {
    max-width: 994px;
    max-height: 662px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
}

/* Lightbox modal — no overlay, close on click outside */
#productLightboxModal {
    background: transparent !important;
}
#productLightboxModal .modal-dialog {
    pointer-events: none;
    margin-top: 80px;
    align-items: flex-start;
}
#productLightboxModal .modal-content {
    pointer-events: auto;
}

/* Mini cart responsive styles */
#mini-cart-dropdown {
    min-width: 350px;
    max-width: 95vw;
    width: 350px;
    border-radius: 1rem;
}
@media (max-width: 575.98px) {
    #mini-cart-dropdown {
        min-width: 100vw !important;
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 0 1rem 1rem;
        top: 60px !important;
        transform: none !important;
        margin: 0 auto;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    }
    #mini-cart-items {
        max-height: 55vh;
        min-height: 120px;
    }
}
@media (max-width: 991.98px) {
    #mini-cart-dropdown {
        min-width: 90vw;
        width: 90vw;
        left: 5vw !important;
        right: 5vw !important;
        border-radius: 0.7rem;
    }
    #mini-cart-items {
        max-height: 50vh;
    }
}
#mini-cart-items {
    max-height: 300px;
    overflow-y: auto;
}
