/*---------- 8-bascket ----------*/
.lt-basket.basket-collapsed {
    width: auto;
    padding: 0;
    background: none;
}

.collapsed-view {
    .btn-danger {
        display: none;
    }

    font-size:0;
    padding:0 !important; 

    .buttons {
        margin: 0 !important; 

        .btn-success {
            position: relative;
            font-size: 0;
            background-color: var(--accent-color);
            border-radius: 50%;
            aspect-ratio: 1;

            .fa {
                display: none;
            }

            &::after {
                content: '';
                width: 24px;
                height: 24px;
                display: block;
                background-color: var(--black);
                -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7 22C6.45 22 5.97917 21.8042 5.5875 21.4125C5.19583 21.0208 5 20.55 5 20C5 19.45 5.19583 18.9792 5.5875 18.5875C5.97917 18.1958 6.45 18 7 18C7.55 18 8.02083 18.1958 8.4125 18.5875C8.80417 18.9792 9 19.45 9 20C9 20.55 8.80417 21.0208 8.4125 21.4125C8.02083 21.8042 7.55 22 7 22ZM17 22C16.45 22 15.9792 21.8042 15.5875 21.4125C15.1958 21.0208 15 20.55 15 20C15 19.45 15.1958 18.9792 15.5875 18.5875C15.9792 18.1958 16.45 18 17 18C17.55 18 18.0208 18.1958 18.4125 18.5875C18.8042 18.9792 19 19.45 19 20C19 20.55 18.8042 21.0208 18.4125 21.4125C18.0208 21.8042 17.55 22 17 22ZM6.15 6L8.55 11H15.55L18.3 6H6.15ZM5.2 4H19.95C20.3333 4 20.625 4.17083 20.825 4.5125C21.025 4.85417 21.0333 5.2 20.85 5.55L17.3 11.95C17.1167 12.2833 16.8708 12.5417 16.5625 12.725C16.2542 12.9083 15.9167 13 15.55 13H8.1L7 15H19V17H7C6.25 17 5.68333 16.6708 5.3 16.0125C4.91667 15.3542 4.9 14.7 5.25 14.05L6.6 11.6L3 4H1V2H4.25L5.2 4Z' fill='%23111111'/%3e%3c/svg%3e");
                mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7 22C6.45 22 5.97917 21.8042 5.5875 21.4125C5.19583 21.0208 5 20.55 5 20C5 19.45 5.19583 18.9792 5.5875 18.5875C5.97917 18.1958 6.45 18 7 18C7.55 18 8.02083 18.1958 8.4125 18.5875C8.80417 18.9792 9 19.45 9 20C9 20.55 8.80417 21.0208 8.4125 21.4125C8.02083 21.8042 7.55 22 7 22ZM17 22C16.45 22 15.9792 21.8042 15.5875 21.4125C15.1958 21.0208 15 20.55 15 20C15 19.45 15.1958 18.9792 15.5875 18.5875C15.9792 18.1958 16.45 18 17 18C17.55 18 18.0208 18.1958 18.4125 18.5875C18.8042 18.9792 19 19.45 19 20C19 20.55 18.8042 21.0208 18.4125 21.4125C18.0208 21.8042 17.55 22 17 22ZM6.15 6L8.55 11H15.55L18.3 6H6.15ZM5.2 4H19.95C20.3333 4 20.625 4.17083 20.825 4.5125C21.025 4.85417 21.0333 5.2 20.85 5.55L17.3 11.95C17.1167 12.2833 16.8708 12.5417 16.5625 12.725C16.2542 12.9083 15.9167 13 15.55 13H8.1L7 15H19V17H7C6.25 17 5.68333 16.6708 5.3 16.0125C4.91667 15.3542 4.9 14.7 5.25 14.05L6.6 11.6L3 4H1V2H4.25L5.2 4Z' fill='%23111111'/%3e%3c/svg%3e");
                -webkit-mask-size: contain; 
                mask-size: contain;      
            }
        }
    }
}

.total-cost-str {
    font-family: var(--ff1);
    color: var(--accent-color);
    font-size: 150%;
}

.header {
    font-family: var(--ff1);
}

.table {
    font-family: var(--ff3);
}

/* кнопки */
.btn.expand-btn.btn-success {
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    -webkit-border-radius: 10px;
       -moz-border-radius: 10px;
            border-radius: 10px;
}

.btn.btn-deal.btn-danger,
.btn.btn-deal.btn-success.f-btn {
    background: var(--accent-color);
    color: var(--black);
    -webkit-border-radius: 10px;
       -moz-border-radius: 10px;
            border-radius: 10px;
    border: 1px solid var(--accent-color);
}

/* счетчик */
.lt-basket.basket-collapsed {
    overflow: visible;
}

.lt-basket.basket-collapsed .total-quantity {
    position: absolute;
    top: 0;
    right: 0;
    translate: 50% -50%;
    background: var(--black);
    font-family: var(--ff1);
    color: var(--accent-color);
    padding: 6px 10px;
    border: 2px solid var(--accent-color);
    -webkit-border-radius: 50%;
       -moz-border-radius: 50%;
            border-radius: 50%;
    font-variant-numeric: lining-nums;
}

.lt-basket:not(.basket-collapsed) .total-quantity {
    display: none;
}

/* кол-во товара */
.offer-count-td {
    font-variant-numeric: lining-nums;
}

@media(max-width: 480px) {
    .lt-basket.basket-collapsed {
    top: 30px!important;
    right: 30px!important;
}
}


/*---------- модальное окно корзины ----------*/
.lt-form-modal-window.gc-modal .lt-block-wrapper {
    background: var(--black)!important;
}

.modal-dialog .lt-form .f-input {
    border: none;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    background: var(--text-color);
    text-align: center;
}


/* стили -/+ */
.offer-count-td {
    display: flex;  
}

.offer-count-plus,
.offer-count-minus {
    color: var(--white);
    font-size: 2.5rem;
    padding: 5px;
    margin: 0 6px;
    position: relative;
}

.offer-count-plus:before {
    position: absolute;
    content: '+';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.offer-count-minus:before {
    position: absolute;
    content: '-';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

