/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.upsell-dialog {
    text-align: center;
}

.upsell-choice-area {

}

.upsell-choice {
    width:100%;
    margin-bottom:25px;
    clear:both;
}


.upsell-choice-area .choice-text {
    display: block;
    margin-bottom: 7px;
    font-family: 'Verveine';
    font-size: 1.8em;
}

.choice-text.blue {
    color: #00a6ce!important;
}

.upsell-product-table {
    width: 100%;
    border: 1px solid #d6d6d6;
    margin: 0 auto;
    margin-bottom: 25px;
}

.upsell-product-table img {
    width: 50px;
    height: auto;
}

.upsell-product-table td {
    padding: 5px;
}

.upsell-product-table ins {
    font-size: 19.2px;
}

.upsell-dialog .first-paragraph {
    margin-top: 12px;
    margin-bottom: 15px;
}

.upsell-dialog .second-paragraph {
    margin-bottom: 16px;
    margin-top: 0;
}

.upsell-dialog .plus-one {
    font-weight: bold;
    font-size: 19.2px;
    color: #e87722;
}


.upsell-dialog {
    display: none;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    border-radius: 4px;
    max-height: 100%;
    box-shadow: 0 2px 7px rgba(0,0,0,0.1);
    left: 0;
    right: 0;
    top: 1%;
    margin: auto;
    position: fixed;
    background: white;
    overflow-y: auto;

    box-sizing: border-box;
    padding: 30px;
    width: 60%;
    max-width: 700px;
    border-radius: 4px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.1);
    left: 0;
    right: 0;
    margin: auto;
    position: fixed;
    background: white;

    z-index: 99;
    width: 100vw;
    top: 0;
    left: 0;
    right: 0;
    max-width: none;

}

.upsell-dialog .upsell__inner {
    max-width: 100%;
    width: 750px;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}

.upsell-dialog .upsell__inner p {
    font-size: clamp(16px, 5vw, 24px);
}

.upsell-dialog .upsell__inner p.first-paragraph {
    margin-bottom: 10px;
}

.upsell-dialog .upsell__inner p.second-paragraph {
    margin-bottom: 40px;
}

.upsell-dialog .upsell__inner h2 {
    font-size: clamp(48px, 10vw, 72px);
    margin-bottom: 20px;
}

.upsell-dialog img {
    width: clamp(200px, 20vw, 300px);
    height: clamp(200px, 20vw, 300px);
    display: block;
}

.upsell__product-display {
    display: flex;
    gap: 2em;
    text-align: left;
    align-items: center;
}

.upsell__product-name {
    font-size: clamp(20px, 5vw, 24px);
    font-weight: bold;
}

.upsell__product-display .price ins {
    text-decoration: none;
    font-weight: bold;
    color: #ff671f !important;
    font-size: clamp(22px, 5vw, 26px);
}

.upsell__product-display .price .rrp {
    color: #AAA;
}

.upsell-choice-area {
    margin-top: 50px;
}

.upsell__inner #df-checkout-upsell-yes br, .upsell__inner #df-checkout-upsell-no br {
    display: none;
}

.upsell__inner #df-checkout-upsell-no {
    margin-top: 25px !important;
    display: block;
    color: #666;
    text-decoration: underline;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.upsell__inner #df-checkout-upsell-no:hover {
    color: #c00;
}

@media screen and (max-width: 1024px) {
    .upsell-dialog .upsell__inner p {
        font-size: 16px;
    }

    .upsell-dialog .upsell__inner {
        padding: 0;
        top: 0;
        transform: none;
    }

    .upsell__product-display {
        flex-direction: column;
        text-align: center;
        gap: 1em;
    }

    .upsell-choice-area {
        margin-top: 20px;
    }

    .upsell__inner #df-checkout-upsell-yes br, .upsell__inner #df-checkout-upsell-no br {
        display: block;
    }

    .upsell__inner #df-checkout-upsell-yes {
        height: auto;
        white-space: pre-wrap;
        line-height: 1.6em;
        padding: 8px 16px !important;
    }

    .upsell-dialog .upsell__inner p.second-paragraph {
        margin-bottom: 16px;
    }

    .upsell-dialog {
        padding: 16px;
    }
}