/* Upsell Modal Overlay */
.upsell-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.upsell-modal-open {
    overflow: hidden;
}

/* Modal Content */
.upsell-modal-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: upsellFadeIn 0.3s ease-out;
    padding: 20px;
    text-align: center;
}

@keyframes upsellFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.upsell-modal-header h3 {
    margin: 0 0 15px;
    color: #333;
    font-size: 20px;
}

/* Body */
.upsell-modal-body {
    margin-bottom: 20px;
}

.upsell-product-image img {
    max-width: 350px;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    margin-bottom: 15px;
}

.upsell-product-details h4 {
    margin: 10px 0 5px;
    font-size: 18px;
    color: #222;
}

.upsell-price span.woocommerce-Price-amount.amount {
    font-weight: bold;
    color: #1ba04a;
    font-size: 23px;
    /* margin-bottom: 10px; */
}

.upsell-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Footer & Buttons */
.upsell-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

button.upsell-btn-accept {
    background: #1aa34a;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 500;
}

button.upsell-btn-accept:hover {
    background: #22bc58;
}

button.upsell-btn-decline {
    background: #e10a0a24;
    color: #ff0000;
    border: solid 1px #e10a0a;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
}

button.upsell-btn-decline:hover {
    color: #000000;
}

.promo-highlight {
    color: #ef4444;
    display: block;
    font-weight: 600;
}

.upsell-price .woocommerce-Price-currencySymbol {
    color: #1ba04a;
    margin-left: 1px;
}