/* Disables body scroll when the popup is open */
body.cart-reminder-popup-open {
    overflow: hidden;
}

#cart-reminder-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

#cart-reminder-overlay.visible {
    opacity: 1;
    visibility: visible;
}

#cart-reminder-popup {
    background-color: white;
    color: #333;
    border-radius: 8px;
    padding: 25px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

#cart-reminder-overlay.visible #cart-reminder-popup {
    transform: scale(1);
}

#cart-reminder-popup h3 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

#cart-reminder-popup p.reminder-subtitle {
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cart-reminder-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
}

.reminder-product-list {
    max-height: 220px;
    overflow-y: auto;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.reminder-shipping-info {
    background-color: #e8f5e9;
    color: #2e7d32;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
}

/* Styles for the product list inside the popup */
#cart-reminder-popup .xoo-wsc-product {
    display: flex;
    text-align: left;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

#cart-reminder-popup .xoo-wsc-product:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

#cart-reminder-popup .xoo-wsc-img-col {
    flex: 0 0 65px;
    margin-right: 15px;
}

#cart-reminder-popup .xoo-wsc-img-col img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

#cart-reminder-popup .xoo-wsc-sum-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#cart-reminder-popup .xoo-wsc-pname a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

#cart-reminder-popup .reminder-meta-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cart-reminder-popup .reminder-qty-info {
    font-size: 13px;
    color: #777;
}

#cart-reminder-popup .xoo-wsc-smr-ptotal {
    font-weight: bold;
    font-size: 15px;
    color: #333;
}