/* Состояние, когда кнопка "заблокирована" */
.product-item__btn.disabled {
    background-color: #ccc;
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

/* Лоадер внутри кнопки */
.product-item__btn .loader {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #dc3545; /* красный */
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    width: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease;
}

.toast-body {
    flex: 1;
    position: relative;
}

.toast-progress {
    position: absolute;
    bottom: -8px;
    left: 0;
    height: 4px;
    background-color: yellow;
    width: 100%;
    border-radius: 2px;
    transition: width 0.1s linear;
}

.toast-close {
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
p.sms_code {
    padding: 10px 0;
    border-top: 1px dashed green;
    border-bottom: 1px dashed green;
    margin: 10px 0;
}

.developer{
    color: #fff;
    opacity: 0.5;
}
.developer:hover{
    color: #fff;
    opacity: 1;
}
.footer-wrap2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: .8rem 0;
    /*border-top: 1px solid rgba(255, 255, 255, 0.5);*/
    color: #fff;
    font-size: 0.8rem;
}
.footer-copy img {
    width: 1rem;
    margin-right: 0.3rem;
    vertical-align: bottom;
}
ul.header-menu {
    gap: 2rem;
}
.product-list-basket-block {
    position: relative;
    z-index: 2;
}
.basket_counter_list {
    width: 100%;
}
.basket_counter_list .counter_value {
    text-align: center;
}
.basket_counter_list .stock_block {
    font-size: 0.8rem;
    opacity: .45;
    margin-top: -0.5rem
}
