/**
 * Theme Name: Rey Child
 * Theme URI: http://reytheme.com/
 * Description: This is a child theme of Rey.
 * Author: Marius H.
 * Author URI:  https://twitter.com/mariushoria
 * Template: rey
 * Version: 1.0.1
 * License: General Public License
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Text Domain: rey-child
 */
 body.admin-bar .dialog-lightbox-widget {
    background: rgba(0, 0, 0, 0.5);
}
#elementor-popup-modal-12762 .dialog-message {
    width: 800px;
    height: 100%;
    max-height: 90vh;
    align-items: flex-start;
    overflow: hidden;
}
.upsell-body {
    max-height: 450px;
    overflow-y: auto;
    padding: 0 20px;
}
.upsell-section .upsell-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.upsell-section .upsell-item .upsell-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.upsell-section .upsell-item .upsell-left {
    width: 45%;
}

.upsell-section .upsell-item .upsell-right {
    width: 55%;
}

.popup-heading-block p {
    font-size: 18px;
}

.upsell-section .upsell-item .image-block {
    width: 100%;
    position: relative;
    height: 150px;
    overflow: hidden;
}

.upsell-section .upsell-item .image-block img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.upsell-section .content-block h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #1f2024;
    margin-bottom: 10px;
}

.upsell-section .content-block p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: normal;
}

.upsell-section .upsell-footer {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
    background-color: #fff;
    padding: 10px 15px;
    position: sticky;
    border-top: 1px solid #d4d4d4;
}

.upsell-section .add_to_cart_button ,
.upsell-section .single_add_to_cart_button,
.upsell-footer .checkout-btn,
.upsell-footer .cart-btn {
    background: #1f2024;
    color: #fff;
    border: 1px solid #1f2024;
    font-family: var(--primary-ff);
    padding: 5px 15px;
    font-size: 16px;
    font-weight: 600;
    min-height: 45px;
    text-align: center;
    margin-top: 10px;
    min-width: 150px;
    border-radius: 7px;
    transition: all 0.3s ease-in-out;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.upsell-section .add_to_cart_button ,.upsell-section .single_add_to_cart_button{
    background: #fff;
    border: 1px solid #1f2024;
    color: #1f2024;
}
.upsell-section .add_to_cart_button:hover ,
.upsell-footer .checkout-btn:hover,
.upsell-footer .cart-btn:hover{
    background: #fff;
    border: 1px solid #1f2024;
    color: #1f2024;
}
.upsell-section .add_to_cart_button:hover ,
.upsell-section .single_add_to_cart_button:hover{
    background: #1f2024;
    color: #fff;
    border: 1px solid #1f2024;
}
.upsell-footer .checkout-btn,
.upsell-footer .cart-btn  {
    margin-top: 0;
}
.woocommerce .upsell-section .button.rey-btn--hover:after {
    display: none;
}
@media (min-width: 1025px) {
    .upsell-section .add_to_cart_button ,.upsell-section .single_add_to_cart_button{
        min-width: 100%;        
    }
}
@media (max-width: 991px) {
    .upsell-section .upsell-grid {
        grid-template-columns: 1fr;
    }
    #elementor-popup-modal-12762 .dialog-message {
        width: 100%;
        max-width: 90vw;
    }
    .popup-heading-block .elementor-widget-icon svg {
        width: 30px;
        height: 30px;
    }
    .popup-heading-block p {
        font-size: 14px;
        line-height: 20px;
        margin: 0;
    }
    .upsell-body {
        padding: 15px;
        max-height: calc(100vh - 450px);
        height: 100%;
    }
    .upsell-section .content-block h3 {
        font-size: 16px;
        line-height: normal;
    }
    
    .upsell-section .content-block p {
        font-size: 14px;
        line-height: normal;
    }
    .upsell-section .add_to_cart_button ,.upsell-section .single_add_to_cart_button{
        min-height: 40px;
    }
	#elementor-popup-modal-12762 {
		background-color: rgba(0, 0, 0, .5);
	}
	#elementor-popup-modal-12762 .dialog-widget-content {
		background-color: #fff;
	}
}
@media (max-width: 575px) {
	#elementor-popup-modal-12762 p br {
		display: none;
	}
}