/* Nighttime Gummies – Label Section
   Lightweight styles; keep near the bottom of your main CSS bundle if possible.
-------------------------------------------------------------- */

.product-label-section {
    padding: 0px 16px 40px;
    background: #f8fafc;
}

.product-label-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.product-label-heading {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.product-label-copy {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    font-size: 0.98rem;
    color: #4b5563;
}

.product-label-thumb-btn {
    border: 0;
    padding: 0;
    background: none;
    cursor: zoom-in !important;
    display: inline-block;
    max-width: 100%;
}

.product-label-thumb-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}

/* Note text */
.product-label-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Modal base */
.product-label-modal {
    position: fixed;
    inset: 0;
    display: none;
    /* toggled via JS */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    pointer-events: none;
}

.product-label-modal.is-open {
    display: flex;
    pointer-events: auto;
}

/* Backdrop */
.product-label-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
}

/* Modal content */
.product-label-modal-content {
    position: relative;
    max-width: min(1400px, 96vw);
    max-height: min(90vh, 900px);
    width: 96vw;
    margin: 0 auto;
    background: #0b1120;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    padding: 48px 48px 24px;
    display: flex;
    flex-direction: column;
}

.product-label-modal-body {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Full label image */
.product-label-modal-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Close button */
.product-label-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #e5e7eb;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .product-label-section {
        padding: 32px 12px;
    }

    .product-label-heading {
        font-size: 1.35rem;
    }

    .product-label-modal-content {
        padding: 24px 20px 18px;
    }
}