/* ========================================
   COMBO / GIFT MODAL - ALL STYLES
   Tách riêng từ style.css để dễ quản lý
   ======================================== */

/* ========================================
   Gift Modal Base
   ======================================== */
.gift-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.gift-modal-content {
    background-color: #fff;
    margin: 4% auto;
    width: 95%;
    max-width: 1100px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s;
    overflow: hidden;
    padding: 0;
}

/* Close Button */
.close-gift-modal {
    color: #999;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 10;
    cursor: pointer;
}

.close-gift-modal:hover {
    color: #333;
}

/* Modal Body: Flex Container */
.gift-modal-body {
    display: flex;
    padding: 40px;
    gap: 40px;
    align-items: flex-start;
}

/* Left Column: Image */
.gift-modal-image-col {
    flex: 1.2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    min-height: 400px;
}

.gift-modal-image-col img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

/* Right Column: Info */
.gift-modal-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Title */
#giftModalTitle {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1b4d3e;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

/* Golden Underline */
.golden-underline {
    width: 50px;
    height: 4px;
    background-color: #d4af37;
    margin-bottom: 20px;
}

/* Description / List Area */
.gift-desc-area {
    margin-bottom: 20px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.gift-modal-desc {
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.gift-modal-list ul {
    list-style: none;
    padding: 0;
}

.gift-modal-list li {
    padding: 5px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gift-modal-list li i {
    color: #d4af37;
}

/* Price Box */
.gift-price-box {
    margin-bottom: 15px;
}

.gift-modal-price {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    display: inline-block;
    margin-right: 10px;
}

.gift-modal-old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    display: inline-block;
}

/* Meta Box - Clean Look */
.gift-meta-box {
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
}

.gift-meta-box .meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.gift-meta-box .meta-label {
    color: #666;
    width: 120px;
}

.gift-meta-box .meta-value {
    color: #333;
    font-weight: 600;
    text-align: right;
}

.gift-meta-box .meta-value.available {
    color: #2e7d32;
}

/* Gallery Container */
.gift-modal-gallery-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    min-height: 80px;
}

.modal-thumbs-strip {
    justify-content: flex-start;
    gap: 12px;
}

/* Price Label */
.contact-price-label {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #d4af37;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Actions: Quantity + Button */
.gift-modal-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-selector {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    background: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
}

.qty-btn:hover {
    background: #eee;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-weight: bold;
    color: #333;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-contact-buy {
    background-color: #d4af37;
    color: #1b4d3e;
    padding: 12px 30px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-contact-buy:hover {
    background-color: #c5a028;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

/* ========================================
   Modal Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   Responsive Modal
   ======================================== */
@media (max-width: 768px) {
    .gift-modal-body {
        flex-direction: column;
        padding: 20px;
    }

    .gift-modal-image-col {
        width: 100%;
        min-height: 300px;
    }

    .gift-modal-info-col {
        width: 100%;
    }

    #giftModalTitle {
        font-size: 24px;
    }

    .contact-price-label {
        font-size: 20px;
    }

    .gift-modal-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-contact-buy {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gift-modal-content {
        margin: 2% auto;
        width: 98%;
    }

    .gift-modal-body {
        padding: 15px;
        gap: 20px;
    }

    #giftModalTitle {
        font-size: 20px;
    }

    .gift-modal-price {
        font-size: 20px;
    }

    .modal-thumb {
        width: 55px;
        height: 55px;
    }
}