#basket-root .basket-items-list-wrapper.basket-items-list-wrapper-height-fixed {
    border-radius: 30px;
    border: unset;
    box-shadow: 0px 0px 35px 0px #0000000D;
}

#basket-root .basket-items-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 25px 0 25px;
    margin-bottom: 5px;
    background: unset;
    border: unset;
}

#basket-root tr.basket-items-list-header {
    border-bottom: 1px solid #e0e0e0;
    height: 70px;
}

#basket-root .basket-items-list-header-item {
    font-weight: 500;
}

#basket-root .basket-items-list-header-bonus,
#basket-root .basket-items-list-header-quantity {
    text-align: center;
}

#basket-root .basket-items-list-item-amount,
#basket-root .basket-items-list-item-price {
    vertical-align: middle;
}

#basket-root .basket-items-list-header span {
    font-size: 23px;
    font-weight: bold;
    color: #000000;
}

#basket-root .basket-items-list-item-container {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
}

#basket-root .basket-items-list-item-descriptions-inner {
    display: flex;
    align-items: flex-start;
}

#basket-root .basket-item-block-image {
    margin-right: 15px;
}

#basket-root .basket-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 4px;
}

#basket-root .basket-item-info-name {
    font-size: 16px;
    margin: 0 0 5px 0;
}

#basket-root .basket-item-info-name-link {
    color: #333;
    text-decoration: none;
}

#basket-root .basket-item-info-name-link:hover {
    color: #0066cc;
}

#basket-root .basket-item-block-properties {
    font-size: 14px;
    color: #666;
}

#basket-root .basket-item-property-custom-name {
    font-weight: bold;
    display: inline;
}

#basket-root .basket-item-property-custom-value {
    display: inline;
    margin-left: 5px;
}

/* Блок с количеством */
#basket-root .basket-item-block-amount {
    display: flex;
    align-items: center;
}

#basket-root .basket-item-amount-btn-minus,
#basket-root .basket-item-amount-btn-plus {
    width: 47px;
    height: 47px;
    border: none;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

#basket-root .basket-item-amount-btn-minus {
    border-radius: 10px 0px 0px 10px;
}

#basket-root .basket-item-amount-btn-plus {
    border-radius: 0px 10px 10px 0px;
}

#basket-root .basket-item-amount-btn-minus.disable,
#basket-root .basket-item-amount-btn-plus.disable {
    opacity: 0.5;
    cursor: default;
}

#basket-root .basket-item-actions-remove:after, #basket-root .basket-item-actions-remove:before {
    background: #CDD1D4;
}

#basket-root .basket-item-amount-filed {
    width: 50px;
    height: 47px;
    text-align: center;
    border: unset;
}

#basket-root .basket-checkout-section {
    width: 100%;
}

#basket-root .basket-checkout-section-inner .basket-checkout-block-btn,
#basket-root .basket-checkout-container .basket-checkout-section-inner .fastorder {
    padding: 0;
}

#basket-root .basket-item-amount-field-description {
    margin-left: 5px;
    font-size: 14px;
    color: #666;
}

#basket-root .basket-item-block-price {
    text-align: right;
}

#basket-root .basket-item-block-price.sbonus_block {
    text-align: center;
}

#basket-root .basket-item-price-current-text {
    font-weight: bold;
    font-size: 16px;
}

#basket-root .basket-item-price-old {
    top: -10px;
}

#basket-root .basket-item-price-old-text {
    color: #F75254;
    font-weight: 600;
}

#basket-root .basket-coupon-block-total-price-old,
#basket-root .basket-item-price-old-text {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -0.33px;
    text-align: right;
    vertical-align: middle;

    text-decoration: line-through
}

#basket-root .basket-coupon-block-total-price-old {
    margin: auto 10px auto 0px;
    color: #999;
    font-weight: 400;
}

#basket-root .basket-item-price-difference {
    color: #4CAF50;
    font-size: 14px;
}

#basket-root .sbonus-product {
    color: #FF9800;
    font-weight: bold;
}

#basket-root .basket-checkout-section-inner .basket-checkout-block {
    border-bottom: none;
    display: flex !important;
    justify-content: space-between;
    padding: 4px 0px;
}

#basket-root .basket-checkout-block:first-child {
    margin-bottom: 15px;
    padding: 15px 0px;
}

#basket-root .basket-checkout-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

#basket-root .basket-checkout-block-total {
    display: flex;
    justify-content: space-between;
}

#basket-root .basket-checkout-block-total-title,
#basket-root .basket-checkout-block-total-description {
    font-size: 14px;
}

#basket-root .basket-checkout-block:first-child .basket-checkout-block-total-title {
    font-weight: bold;
    color: #141718;
    font-size: 27px;
}

#basket-root .basket-checkout-block:first-child .basket-checkout-block-total-title {
    font-weight: bold;
    color: #141718;
    font-size: 27px;
}

#basket-root .basket-checkout-block-total-description {
    text-align: right;
    color: #2f3435;
    font-weight: 600;

}

#basket-root .basket-checkout-block-total-description.discount {
    color: #F75254;
}

#basket-root .basket-coupon-block-total-price-current {
    font-weight: bold;
    color: #333;
}

#basket-root .basket-coupon-block-total-price-difference {
    color: #4CAF50;
    font-size: 14px;
}

#basket-root .basket-btn-checkout {
    background: #4F46E5;
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    transition: background 0.2s;
    width: 100%;
    border: none;
    color: white;
    cursor: pointer;
    height: 55px;
    border-radius: 13px;
}

#basket-root .fast_order:hover {
    background-color: #f0f9f0;
}

#basket-root .top_control {
    display: inline-block;
    vertical-align: middle;
}

#basket-root .top_control .delete_all {
    display: block;
    margin: 0;
    padding-top: 6px;
    padding-left: 20px;
}

#basket-root .basket-items-list-item-container .basket-item-block-actions {
    opacity: 1;
}

#basket-root .basket-items-list-item-container .basket-item-block-actions .basket-item-actions-remove {
    width: 33px;
}

#basket-root .basket-coupon-block-field {
    margin-top: 20px;
}

#basket-root .basket-coupon-block-field-description {
    margin-bottom: 5px;
    font-weight: bold;
}

#basket-root .basket-items-list-item-container-expend .basket-items-list-item-descriptions {
    opacity: 0.6;
}

#basket-root .basket-item-label-ring {
    position: absolute;
    background: #f44336;
    color: white;
    border-radius: 10px;
    width: 50px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

#basket-root .basket-item-label-top {
    top: -15px;
}

#basket-root .basket-item-label-left {
    right: -15px;
    left: auto;
}

#basket-root .basket-item-price-difference {
    display: none;
}

#content .basket_action .remove_all_basket svg path,
#basket-root .basket_action .remove_all_basket svg path {
    fill: #ffffff;
}

#basket-root .basket-checkout-container {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0px 0px 35px 0px #0000000D;
    padding: 20px;
    border: none;
}

#basket-root .basket-checkout-block:last-child,
#basket-root .basket-checkout-block-total-price {
    border-bottom: none;
    padding: 20px 20px 0px 5px;
}

#basket-root .basket-checkout-block-total-price {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #E5E7EB;
}

#basket-root .basket-checkout-block-total-price .basket-checkout-block-total-title {
    font-size: 15px;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: 8px;
    vertical-align: bottom;
}

#basket-root .basket-checkout-block-total-price .basket-checkout-block-total-description {
    font-size: 16px;
    font-weight: 600;

}

#basket-root .basket-checkout-block-total-price .basket-checkout-block-total-price-inner {
    display: flex;
}

#basket-root .basket-coupon-block-total-price-current {
    color: #111827;
    font-size: 20px;
    font-weight: 600;
}

.basket-checkout-block-total-description.sbonus-product:before {
    left: -20px;
}

#basket-root .basket-coupon-block-total-price-difference {
    color: #10B981;
    font-size: 14px;
    margin-top: 4px;
}

#basket-root .basket-item-restore-actions {
    margin: auto;
    background: #F8F8F8;
    padding: 11px 38px;
    border-radius: 20px;
    color: #01AEF0;
    font-weight: 700;
}

#basket-root .basket-btn-checkout {
    background: #4F46E5;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    transition: background 0.2s;
    width: 100%;
    border: none;
    color: white;
    cursor: pointer;
}

#basket-root .basket-btn-checkout:hover {
    background: #4338CA;
}

#basket-root .fastorder {
    margin-top: 12px;
}

#basket-root .oneclickbuy {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: unset;
    color: #01AEF0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    background: #F8F8F8;
    height: 55px;
    border-radius: 16px;
    margin-top: 0px;
}

#basket-root .basket-coupon-section {
    margin: 15px 0;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0px 0px 35px 0px #0000000D;
    padding: 0px;
    border: none;
}

#basket-root .basket-coupon-section .form-group {
    display: flex;
    align-items: center;
    padding: 20px;
}

#basket-root .basket-coupon-section .basket-coupon-block-coupon-btn {
    cursor: pointer;
    font-size: 20px;
}

#basket-root .basket-coupon-section .basket-coupon-block-coupon-btn::after {
    content: "→";
    margin-left: 5px;
}

#basket-root .basket-coupon-section .basket-coupon-block-coupon-btn:hover {
    text-decoration: unset;
    color: #0056b3;
}


#basket-root .basket-coupon-block-field-description {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 8px;
}

#basket-root .form-control {
    background: #FFFFFF;
    border: none;
    padding-left: 15px;
    margin: 0px;
    font-weight: 600;
    font-size: 15px;
    vertical-align: middle;
}

#basket-root .form-control::placeholder {
    color: #9CA3AF;
}

#basket-root .promo-code-display {
    margin-top: 20px;
    text-align: center;
    font-family: monospace;
    font-size: 14px;
    color: #6B7280;
    padding: 8px;
    background: #F3F4F6;
    border-radius: 6px;
}

body#main #basket-root .colored_theme_hover_text:hover svg path,
#basket-root .colored_theme_hover_bg-block:hover .colored_theme_hover_bg-el-svg svg path {
    fill: #ffffff;
}

#basket-root .basket-coupon-block-total-price-difference {
    display: none;
}

@media (max-width: 768px) {
    #basket-root .basket-items-list-header-filter {
        display: none;
    }

    #basket-root .hidden-xs {
        display: none !important;
    }

    #basket-root .basket-items-list-item-descriptions-inner {
        flex-direction: column;
    }

    #basket-root .basket-item-block-image {
        margin-right: 0;
        margin-bottom: 0;
        padding-bottom: 0px;
        max-width: fit-content;
    }

    #basket-root .basket-item-price-current {
        padding-top: 10px;
    }

    #basket-root .basket-checkout-section .basket-checkout-section-inner {
        display: flex;
    }

    #basket-root .basket-item-price-old {
        right: 0;
    }

    #basket-root .basket-items-list-item-price .basket-item-block-price {
        padding: 0px;
    }

    #basket-root .basket-items-list {
        padding: 0 23px 0 14px;
    }

    #basket-root .basket-item-block-properties {
        padding-left: 22%;
        width: max-content;
    }

    #basket-root .basket-checkout-block-share {
        margin: 0;
    }

    #basket-root .basket-checkout-block-total-price .basket-checkout-block-total-title {
        margin-bottom: 21px;
    }

    #basket-root {
        padding: 15px;
    }

    #basket-root .basket-items-list-wrapper {
        margin-bottom: 20px;
    }

    #basket-root .basket-items-list-header {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


    #basket-root .basket-item-block-info {
        margin-top: 5px;
        margin-left: 25%;
    }

    #basket-root .basket-item-info-name {
        font-size: 14px;
        margin: 0 0 5px 0;
        position: absolute;
        left: 31%;
        top: 55px;
        width: 75%;
    }

    #basket-root .basket-item-info-name-link {
        color: #333;
        text-decoration: none;
    }


    #basket-root .basket-item-price-quantity-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
    }

    #basket-root .basket-item-price-current-text {
        font-weight: bold;
        font-size: 16px;
    }

    #basket-root .basket-checkout-container {
        background: #ffffff;
        padding: 15px;
        border-radius: 8px;
        margin-top: 20px;
    }

    #basket-root .basket-checkout-block-total-title {
        font-size: 14px;
        color: #666;
    }

    #basket-root .basket-checkout-block-total-description {
        font-size: 14px;
        font-weight: bold;
        text-align: right;
    }

    #basket-root .basket-checkout-block-total-price-inner {
        margin-top: 10px;
    }

    #basket-root .basket-coupon-block-total-price-current {
        font-size: 18px;
        font-weight: bold;
    }

    /* Кнопки */
    #basket-root .basket-btn-checkout {
        width: 100%;
        background: #007bff;
        color: white;
        border: none;
        padding: 12px;
        border-radius: 16px;
        font-weight: bold;
        margin-top: 15px;
    }


    #basket-root .basket-coupon-section {
        margin-top: 20px;
    }

    #basket-root .row {
        flex-direction: column;
    }

    #basket-root .col-xs-9, #basket-root .col-xs-3 {
        width: 100%;
        padding: 0;
    }

    #basket-root .basket-item-price-sbonus-mobile {
        font-size: 14px;
        left: 30%;
        right: unset;
        overflow: auto;
        z-index: 11111;
        top: 0px;
    }


    #basket-root .basket-checkout-block-count,
    #basket-root .basket-checkout-block-sbonus,
    #basket-root .basket-checkout-block-total-price {
        display: flex;
        justify-content: space-between;
    }

    #basket-root .basket-checkout-block-total-price {
        border-top: 1px solid #eee;
        padding-top: 15px;
        margin-top: 15px;
    }

    #basket-root .basket-items-list-item-descriptions {
        width: 100%;
    }

    #basket-root .basket-items-list-item-amount,
    #basket-root .basket-items-list-item-price {
        /*width: 50%;*/
        margin: 0px;
        padding: 0px;
    }

    #basket-root .basket-items-list-item-container .basket-items-list-item-amount {
        padding-top: 0px;
    }

    #basket-root .basket-item-block-amount {
        margin-left: 10%;
    }

    #basket-root .basket-items-list-item-price {
        text-align: right;
        width: 35%;
    }

    [data-entity="basket-total-block"] {
        display: flex;
        flex-direction: column-reverse;
        gap: 15px;
    }

    [data-entity="basket-total-block"] .basket-coupon-section {
        order: 2;
    }

    [data-entity="basket-total-block"] .basket-coupon-alert-section {
        order: 1;
    }
}