/* WooCommerce display rules must not expose the empty cart error placeholder. */
.single-product .stepp-cart-error[hidden] {
    display: none !important;
}

/* Стилі вспливаючого вікна */
    #stepp-cart-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 999999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s ease;
        padding: 20px;
    }
    #stepp-cart-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    .stepp-cart-modal {
        background: #ffffff;
        border-radius: 24px;
        width: 100%;
        max-width: 360px;
        padding: 28px 20px 24px;
        position: relative;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
        transform: scale(0.85);
        transition: transform 0.25s ease;
    }
    #stepp-cart-overlay.active .stepp-cart-modal {
        transform: scale(1);
    }
    .stepp-modal-close {
        position: absolute;
        top: 14px;
        right: 18px;
        background: none;
        border: none;
        font-size: 26px;
        cursor: pointer;
        color: #222;
        line-height: 1;
    }
    #stepp-modal-img {
        max-width: 130px;
        max-height: 130px;
        object-fit: contain;
        margin: 0 auto 12px;
        display: block;
    }
    .stepp-cart-modal h2 {
        font-size: 20px !important;
        font-weight: 800 !important;
        margin: 0 0 6px !important;
        color: #122137 !important;
    }
    .stepp-cart-modal p {
        font-size: 14px !important;
        color: #666666 !important;
        margin: 0 0 20px !important;
    }
    .stepp-modal-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .stepp-btn-cart {
        background: #122137 !important;
        color: #ffffff !important;
        text-decoration: none !important;
        padding: 15px !important;
        border-radius: 12px !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        display: block !important;
        text-align: center !important;
    }
    .stepp-btn-continue {
        background: #f0f2f5 !important;
        color: #122137 !important;
        border: none !important;
        padding: 15px !important;
        border-radius: 12px !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        cursor: pointer !important;
        width: 100% !important;
        position: static !important;
    }
    /* Приховуємо стандартне повідомлення WooCommerce про додавання */
