/* Leo Feature add-to-cart toast — loaded with media:screen to bypass theme CCC bundle */

.leo-notification .notification.notification-success {
    background: rgba(140, 167, 87, 0.85);
}

@media (max-width: 767px) {
    .leo-notification {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .leo-notification .notification-wrapper {
        max-height: none;
    }

    .leo-notification .notification {
        width: 100%;
        padding: 12px 44px 12px 16px;
        text-align: left;
        line-height: 1.35;
        font-size: 15px;
        box-sizing: border-box;
    }

    .leo-notification .notification .noti.noti-add {
        display: block;
        width: 100%;
        word-break: break-word;
        overflow-wrap: anywhere;
        text-transform: none;
    }

    .leo-notification .notification .noti-add .noti-special {
        display: block;
        margin-bottom: 4px;
        font-size: 16px;
        font-weight: 700;
        word-break: break-word;
        overflow-wrap: anywhere;
        text-transform: none;
    }

    .leo-notification .notification .notification-close {
        top: 10px;
        bottom: auto;
        right: 10px;
    }
}

/* Sweetscrap: единая палитра кнопок (#8ca757 → #f3c454 → #f6d67f при загрузке) */
.btn:not(.btn-link):not(.btn-more),
.btn-primary,
.btn-outline,
a.btn-primary:not(.btn-link),
button.btn-primary,
.thumbnail-container .functional-buttons > div .btn-product:not(.disabled) {
    background: #8ca757 !important;
    background-color: #8ca757 !important;
    border-color: transparent !important;
    color: #fff !important;
}

.btn:not(.btn-link):not(.btn-more):hover,
.btn:not(.btn-link):not(.btn-more):focus,
.btn-primary:hover,
.btn-primary:focus,
.btn-outline:hover,
.btn-outline:focus,
a.btn-primary:not(.btn-link):hover,
a.btn-primary:not(.btn-link):focus,
button.btn-primary:hover,
button.btn-primary:focus,
.thumbnail-container .functional-buttons > div .btn-product:not(.disabled):hover {
    background: #f3c454 !important;
    background-color: #f3c454 !important;
    border-color: transparent !important;
    color: #fff !important;
}

.btn:not(.btn-link):not(.btn-more):active,
.btn:not(.btn-link):not(.btn-more).active,
.btn:not(.btn-link):not(.btn-more):disabled,
.btn:not(.btn-link):not(.btn-more).disabled,
.btn-primary:active,
.btn-primary.active,
.btn-primary:disabled,
.btn-primary.disabled,
.btn-outline:active,
.btn-outline.active,
.btn-outline:disabled,
.btn-outline.disabled,
a.btn-primary:not(.btn-link):active,
a.btn-primary:not(.btn-link).active,
button.btn-primary:active,
button.btn-primary.active,
.btn-primary:disabled:hover,
.btn-primary:disabled:focus,
.btn-primary:active:hover,
.btn-primary:active:focus,
.btn-outline:disabled:hover,
.btn-outline:disabled:focus,
.btn-outline:active:hover,
.btn-outline:active:focus,
.btn:not(.btn-link):not(.btn-more):disabled:hover,
.btn:not(.btn-link):not(.btn-more):disabled:focus,
.btn:not(.btn-link):not(.btn-more):active:hover,
.btn:not(.btn-link):not(.btn-more):active:focus,
.thumbnail-container .functional-buttons > div .btn-product:not(.disabled):active,
.thumbnail-container .functional-buttons > div .btn-product.disabled,
.thumbnail-container .functional-buttons > div .btn-product:disabled {
    background: #f6d67f !important;
    background-color: #f6d67f !important;
    border-color: transparent !important;
    color: #fff !important;
    opacity: 1 !important;
}
