.dropdown-menu {
    overflow: hidden;
}

.swal2-container.swal2-center>.swal2-popup {
    display: grid!important;
}

.swal2-title {
    margin-top: 20px;
    font-size: 1.25rem;
}

.swal2-icon.swal2-success {
    background: var(--success);
    border-color: var(--success);
}

.custom-scrollbars ::-webkit-scrollbar-track {
    border-radius: .5rem;
}

.custom-scrollbars ::-webkit-scrollbar-thumb {
    background-color: var(--primary);
}

/* popup bitrix */
.popup-window {
    border-radius: var(--border-radius-lg);
    font: 1rem var(--body-font-family);
}

.popup-window-close-icon {
    width: 3rem;
    height: 3rem;
}

.popup-window-close-icon:after {
    width: 1.375rem;
    height: 1.375rem;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 20 20' fill='%23202122'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

.popup-window-button {
    --popup-window-button-border-radius: var(--border-radius-sm);
    height: 3.25rem;
    line-height: 3.25rem;
    margin-right: 1.5rem;
    background: var(--primary);
    color: var(--white-100);
    font-size: 1rem;
    padding-inline: calc(2rem - 2px);
    font-family: var(--body-font-family);
    font-weight: 400;
    text-transform: initial;
    -webkit-box-shadow: none;
            box-shadow: none;
    border: 1px solid var(--primary);
}

.popup-window-button:hover {
    background: var(--primary-hover);
    color: var(--white-100);
}

.popup-window-button-link {
    height: 3.25rem;
    padding-inline: calc(2rem - 2px);
    line-height: 3.25rem;
    border-bottom-color: var(--primary);
    border-radius: var(--border-radius-sm);
    color: var(--primary);
    background: var(--white-100);
}

.popup-window-button-link:hover, 
.popup-window-button-link:active {
    height: 3.25rem;
    line-height: 3.25rem;
    color: var(--primary-hover);
    background: var(--white-100);
    border-color: var(--primary-hover);
}
/* /popup bitrix */

.stickers .badge {
    color: var(--black-100) !important;
    background-color: rgba(var(--primary-rgb), 0.32);
}

.wizard>.steps>ul>li.current .number::after, .wizard>.steps>ul>li.done .number::after {
    content: none !important;
}

.wizard>.steps>ul>li .number {
    font-size: var(--body-font-size-sm) !important;
}

.wizard>.steps>ul>li.done::after,
.wizard>.steps>ul>li.done::before {
    background-color: var(--success) !important;
}

.wizard>.steps>ul>li.current::after {
    background-color: var(--primary) !important;
}

.wizard>.steps>ul>li {
    font-size: var(--body-font-size-xs) !important;
    min-width: 200px !important;
}

@media (max-width: 768px) {
    .wizard>.steps>ul>li:first-child::before, .wizard>.steps>ul>li:last-child::after {
        content: none !important;
    }
}

.image_empty {
    margin: auto auto 40px auto;
    width: 87px;
    height: 111px;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2087%20111%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%20%7B%20fill%3A%20%23535c69%3B%20fill-rule%3A%20evenodd%3B%20opacity%3A%200.12%3B%20%7D%3C/style%3E%3C/defs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M86.93%2025.17l.018-.018L61.884.032l-.03.03v-.05H.012v111h86.8v-.008h.17V31.988h.034v-6.82h-.085zM61.84%209.63l15.504%2015.54H61.84V9.63zm18.336%2094.564H6.816V6.83h48.222v18.34h-.02v6.818h25.16v72.206zM56.91%2044.814L44.43%2057.32%2031.95%2044.812%2026.576%2050.2l12.48%2012.508-12.48%2012.507%205.376%205.388L44.43%2068.1l12.48%2012.508%205.377-5.388-12.48-12.508L62.288%2050.2z%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
}

.grid-product-add {
    background-color: #5AD991 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.grid-product-remove {
    background-color: #f05e5e !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

#ORDER_HISTORY .main-grid-table {
    border-spacing: 0 10px !important;
}

tr:has(.grid-product-add) .main-grid-cell-action, tr:has(.grid-product-remove) .main-grid-cell-action {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}

tr:has(.grid-product-add) .main-grid-cell-action {
    background-color: #5AD991 !important;
}

tr:has(.grid-product-remove) .main-grid-cell-action {
    background-color: #f05e5e !important;
}

.grid-product-last-block {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

.dropdown-menu .dropdown-item:disabled .dropdown-action-label{
    color: var(--gray-500);
}