/* Price Lightbox Modal */
.price-lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.price-lightbox-modal.active {
    display: flex;
}

.price-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
}

.price-lightbox-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.price-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.price-lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* 電腦版：顯示點擊提示 */
@media (min-width: 768px) {
    .price-lightbox-trigger {
        cursor: zoom-in;
        position: relative;
    }

    .price-lightbox-trigger::after {
        content: '🔍';
        position: absolute;
        bottom: 10px;
        right: 10px;
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .price-lightbox-trigger:hover::after {
        opacity: 1;
    }
}

/* 手機版：隱藏放大提示 */
@media (max-width: 767px) {
    .price-lightbox-trigger {
        cursor: pointer;
    }

    .price-lightbox-close {
        top: -50px;
    }
}
