.cart_bg {
    background: #ECD2BA;
}

.cart_bg > .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 120px;
    padding-bottom: 60px;
}
h1 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    vertical-align: middle;
    padding-bottom: 15px !important;
    color: #433228;
}


div#basket-root {
    display: flex
;
    flex-direction: column;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}
.im-cart-back {
    margin-top: 40px;
}

#basket-root.tb-cart-inline-transitioning {
    transition: height 260ms cubic-bezier(.22, .61, .36, 1);
    will-change: height;
}

#basket-root > .tb-cart-content-hidden {
    display: none !important;
}

.im-cart-inline-empty {
    width: 100%;
    padding: 16px 0 0;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 220ms ease,
        transform 220ms cubic-bezier(.22, .61, .36, 1);
}

.im-cart-inline-empty.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.im-cart-inline-empty__text {
    color: rgba(67, 50, 40, 0.72);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.cart_bg .im-cart-back.im-cart-back--inline-empty {
    margin-top: 40px;
}
.basket-items-list-header {
    display: none;
}

table#basket-item-table {
    border-collapse: collapse;
	    width: 100%;
}
.basket-items-list-item-container {
    border-bottom: 1px solid rgba(123, 110, 102, 0.5);
    display: flex
;
    align-content: flex-start;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    width: 100%;
    justify-content: space-between;
    padding: 15px 0px 0px 0px;
}
.basket-items-list-item-container.basket-items-list-item-container-expend {
    display: flex;
    gap: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.basket-items-list-item-notification {
    display: block;
    width: 100%;
    padding: 0;
}

.basket-items-list-item-notification-inner {
    position: relative;
    width: 100%;
    padding-bottom: 20px;
}

.basket-items-list-item-notification-inner::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(123, 110, 102, 0.5);
    transform: scaleX(1);
    transform-origin: left center;
}

.basket-items-list-item-notification-inner.tb-restore-progress::after {
    animation: tbRestoreDivider 5000ms linear forwards;
    animation-delay: var(--tb-restore-delay, 0ms);
}

.basket-items-list-item-removed-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 35px;
    box-sizing: border-box;
    font-family: Montserrat;
    font-size: 12px;
    line-height: normal;
    color: #433228;
}

.basket-items-list-item-removed-text {
    min-width: 0;
}

.basket-items-list-item-removed-text strong {
    font-weight: 600;
}

.basket-items-list-item-removed-block {
    flex: 0 0 auto;
}

.basket-items-list-item-removed-block a,
.basket-items-list-item-removed-block button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border: 1.5px solid #433228;
    border-radius: 56px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
    color: #433228 !important;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.basket-items-list-item-container-expend .basket-items-list-item-removed-block a:hover,
.basket-items-list-item-container-expend .basket-items-list-item-removed-block button:hover,
.basket-items-list-item-container-expend .basket-items-list-item-removed-block button:active {
    border-color: #433228 !important;
    background: #433228 !important;
    color: #fff !important;
}

.basket-items-list-item-clear-btn {
    display: none;
}

.tb-restore-height-probe {
    position: fixed;
    top: -10000px;
    left: -10000px;
    z-index: -1;
    visibility: hidden;
    box-sizing: border-box;
    padding-bottom: 20px;
    pointer-events: none;
}

.basket-items-list-item-container.tb-item-removing {
    box-sizing: border-box;
    height: var(--tb-item-start-height);
    overflow: hidden;
    pointer-events: none;
    animation: tbBasketItemCollapse 320ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.basket-items-list-item-container.tb-item-removing > td {
    animation: tbBasketItemContentUp 230ms ease forwards;
}

.basket-items-list-item-container.tb-item-restoring {
    box-sizing: border-box;
    height: var(--tb-restore-end-height);
    overflow: hidden;
    animation: tbBasketItemExpand 320ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.basket-items-list-item-container.tb-item-restoring > td {
    animation: tbBasketItemContentDown 250ms ease both;
}

.basket-items-list-item-container-expend.tb-restore-entering {
    animation: tbRestoreItemEnter 220ms ease both;
}

html.tb-basket-restore-lock,
html.tb-basket-restore-lock body {
    overflow-anchor: none;
}

.basket-items-list-item-container-expend.tb-restore-pending
    .basket-items-list-item-notification-inner.tb-restore-progress::after {
    animation-play-state: paused;
}

.basket-items-list-item-removed-block [aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.65;
}

.basket-items-list-item-container-expend.tb-restore-expiring {
    pointer-events: none;
    animation: tbRestoreItemExit 180ms ease forwards;
}

@keyframes tbBasketItemCollapse {
    from {
        height: var(--tb-item-start-height);
    }
    to {
        height: var(--tb-item-target-height);
    }
}

@keyframes tbBasketItemContentUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-12px);
    }
}

@keyframes tbBasketItemExpand {
    from {
        height: var(--tb-restore-start-height);
    }
    to {
        height: var(--tb-restore-end-height);
    }
}

@keyframes tbBasketItemContentDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tbRestoreItemEnter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes tbRestoreItemExit {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

@keyframes tbRestoreDivider {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .basket-items-list-item-container.tb-item-removing,
    .basket-items-list-item-container.tb-item-restoring,
    .basket-items-list-item-container-expend.tb-restore-entering,
    .basket-items-list-item-container-expend.tb-restore-expiring {
        animation-duration: 1ms;
    }

    .basket-items-list-item-container.tb-item-removing > td {
        animation-duration: 1ms;
    }

    .basket-items-list-item-container.tb-item-restoring > td {
        animation-duration: 1ms;
    }

    #basket-root.tb-cart-inline-transitioning {
        transition-duration: 1ms;
    }

    .im-cart-inline-empty {
        transition-duration: 1ms;
    }

    .basket-items-list-item-notification-inner.tb-restore-progress::after {
        animation-timing-function: steps(1, end);
    }
}

.basket-items-list-item-descriptions-inner {
    display: flex
;
    gap: 30px;
    align-items: center;
}

img.basket-item-image {
    height: 100px;
    width: 90px;
    object-fit: contain;
}
.basket-item-label-ring.basket-item-label-small {
    display: none;
}
h2.basket-item-info-name {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: rgba(67, 50, 40, 1);
    margin-bottom: 10px;
}
.basket-item-property-custom-name {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    color: rgba(123, 110, 102, 1);
}
.basket-item-property-custom-value {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    color: rgba(123, 110, 102, 1);
}
.basket-item-property-custom.basket-item-property-custom-text {
    display: flex
;
    gap: 5px;
}
a.basket-item-info-name-link {
    color: rgba(67, 50, 40, 1) !important;
}
.basket-item-block-price {
    display: flex
;
}
.basket-item-price-title {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    color: rgba(123, 110, 102, 1);
}
span.basket-item-price-old-text {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    text-decoration: line-through;
    color: rgba(123, 110, 102, 1);
}
.basket-item-price-current-text {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    color: rgba(123, 110, 102, 1);
}
.basket-item-price-current{
    padding-bottom: 10px;
}
.basket-items-list-item-price .basket-item-block-price {
    display: flex
;
    align-items: center;
    gap: 0px;
}
.basket-item-block-properties .basket-item-price-current {
    padding-bottom: 0px;
}
.basket-items-list-item-price .basket-item-price-old {
    padding-bottom: 5px;
}
.basket-item-block-price {
    display: flex
;
    align-items: center;
    gap: 5px;
}
.basket-item-block-properties {
    gap: 6px;
    display: flex
;
    flex-direction: column;
}
.basket-item-price-difference {
    display: none;
}
.basket-items-list-item-price .basket-item-block-price {
    display: flex
;
    flex-direction: column;
}
.basket-items-list-item-price .basket-item-price-old-text {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    text-decoration: line-through;
}
.basket-items-list-item-price .basket-item-price-current-text {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: rgba(67, 50, 40, 1);
}

.basket-item-block-amount {
    display: flex
;
    align-items: center;
}
.tb-weight span {
    font-weight: 500 !important;
    color: #433228 !important;
}

span.close-link {
    display: none;
}

span.basket-coupon-block-coupon-btn {
    position: absolute;
    right: 3px;
    background: #FAA61A;
    border-radius: 20px;
    border: 2px solid #FAA61A;
    padding: 10px 19px;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 12px;
    line-height: 120%;
    color: #fff;
    top: 3px;
    cursor: pointer;
    user-select: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}

span.basket-coupon-block-coupon-btn.is-disabled {
    cursor: default;
    opacity: .45;
    pointer-events: none;
}

span.basket-coupon-block-coupon-btn.basket-coupon-btn--success {
    border-color: #789B1C;
    background: transparent;
    color: #789B1C;
}
span.basket-coupon-block-coupon-btn.basket-coupon-btn--success:hover {
    border-color: transparent;
    background: #789B1C;
    color: #fff;
}

span.basket-coupon-block-coupon-btn.basket-coupon-btn--error {
    border-color: #DC1F26;
    background: transparent;
    color: #DC1F26;
}

.basket-coupon-alert-section {
    display: none !important;
}

.tb-coupon-status {
    display: none;
    margin-top: 8px;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
}

.tb-coupon-status.is-visible {
    display: block;
}

.tb-coupon-status.is-success {
    color: #789B1C;
}

.tb-coupon-status.is-error {
    color: #DC1F26;
}

.basket-item-amount-filed {
    outline: none;
    border: none;
    background: none;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
        max-width: 70px;
    min-width: 40px;
}
span.basket-item-amount-btn-minus, span.basket-item-amount-btn-plus {
    width: 30px;
    text-align: center;
    border-radius: 100px;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}
.basket-item-amount-btn-minus svg,
.basket-item-amount-btn-plus svg,
.basket-item-amount-btn-minus svg *,
.basket-item-amount-btn-plus svg * {
    pointer-events: none;
}
.basket-item-amount-btn-minus svg path,
.basket-item-amount-btn-plus svg path {
    fill: #fff;
    transition: fill 0.2s ease;
}
.basket-item-amount-btn-minus:hover svg path,
.basket-item-amount-btn-plus:hover svg path {
    fill: #FAA61A;
}

.basket-item-amount-btn-plus.is-disabled {
    cursor: not-allowed;
    opacity: 0.35;
}

.basket-item-amount-btn-plus.is-disabled:hover svg path {
    fill: #fff;
}
.basket-checkout-container {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    width: calc(100% - 40px);
    max-width: 450px;
    min-width: 450px;
}
.basket-checkout-block-total-inner {
    display: flex
;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.basket-coupon-alert.text-muted {
    padding: 10px;
}

.basket-checkout-block-total-title {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    vertical-align: middle;
    color: rgba(67, 50, 40, 1);
}
.basket-coupon-block-total-price-current {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 30px;
    line-height: 150%;
    text-align: right;
    vertical-align: middle;
    color: rgba(67, 50, 40, 1);
}
.basket-coupon-block-total-price-old-description {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: rgba(67, 50, 40, 1);
}
.basket-coupon-block-total-price-old {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: rgba(67, 50, 40, 1);
    text-decoration: line-through;
}
.basket-coupon-block-total-price-difference span {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: rgba(220, 31, 38, 0.5);
}


.basket-item-price-old {
    opacity: 50%;
}

.basket-coupon-block-total-price-difference {
    display: flex
;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.basket-checkout-block-total-price-inner {
    display: flex
;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 10px;
    opacity: 50%;
}
.basket-coupon-block-field input.form-control {
    width: calc(100% - 40px);
    height: 44px;
    border-radius: 100px;
    padding: 0px 20px;
    border: none;
    background: rgba(245, 245, 245, 1);
    font-family: Montserrat;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: rgba(123, 110, 102, 1);
}

.basket-coupon-alert.text-danger {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    text-align: left;
    color: rgba(255, 0, 4, 1);
    padding: 10px 0px;
}

span.close-link {
    font-weight: 700;
    cursor: pointer;
}
button.btn.btn-lg.btn-primary.basket-btn-checkout {
    width: 100%;
    padding: 20px 0px;
}
button.btn.btn-lg.btn-primary.basket-btn-checkout {
    width: 100%;
    padding: 15px 0px;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    color: rgba(255, 255, 255, 1);
    border-radius: 100px;
    border: none;
    background-color: rgb(250 165 25);
}
button.btn.btn-lg.btn-primary.basket-btn-checkout:hover{
    width: 100%;
    padding: 15px 0px;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    color: rgba(255, 255, 255, 1);
    border-radius: 100px;
    border: none;
    background-color: #BA1B1E;
}
#allrecords button.btn.btn-lg.btn-primary.basket-btn-checkout:active {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background-color: #BA1B1E !important;
}
#allrecords button.btn.btn-lg.btn-primary.basket-btn-checkout:focus-visible {
    outline: 3px solid rgba(250, 166, 26, 0.8);
    outline-offset: 2px;
}
.basket-checkout-section-inner {
    display: flex
;
    flex-direction: column;
    gap: 10px;
}
.basket-checkout-block.basket-checkout-block-total-price {
    border-bottom: 1px solid rgba(123, 110, 102, 0.5);
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.cart-new {
    gap: 60px;
    width: 100%;
    display: flex
;
    justify-content: space-between;
    align-content: flex-start;
    flex-direction: row;
}

.list-cart {
    width: calc(100% - 400px);
}
a.im-cart-back-btn {
    padding-top: 14px;
    padding-right: 40px;
    padding-bottom: 14px;
    padding-left: 40px;
    opacity: 1;
    border-radius: 43px;
    background: transparent;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    color: rgba(67, 50, 40, 1) !important;
    border: 2px solid #433228;
}
button{
	cursor: pointer;
}

.basket-item-block-info {
    display: flex
;
    flex-direction: column;
}
span.basket-coupon-text {
    font-family: 'Montserrat';
}
span.close-link {
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat';
}

.basket-item-delete-link {
    margin-top: 6px;
    padding: 0;
    border: none;
    background: none;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 13px;
    line-height: 150%;
    color: rgba(140, 122, 106, 1);
    text-decoration: underline;
    text-align: left;
}

.basket-item-delete-link:hover {
    color: rgba(220, 31, 38, 1);
    text-decoration: none;
}

/* Совместимость на время поэтапного обновления: старый template.php
   продолжит нормально показывать своё уведомление до загрузки нового. */
.tb-basket-undo {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4500;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(520px, calc(100% - 40px));
    background: #fff;
    border-radius: 20px;
    padding: 12px 16px;
    box-shadow: 0 10px 25px rgba(67, 50, 40, 0.18);
}

.tb-basket-undo.is-active {
    display: flex;
}

.tb-basket-undo__text {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    color: #433228;
}

.tb-basket-undo__timer {
    font-weight: 700;
    color: rgba(67, 50, 40, 0.7);
}

.tb-basket-undo__btn {
    border: 2px solid #433228;
    background: transparent;
    border-radius: 100px;
    padding: 10px 18px;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 12px;
    line-height: 120%;
    color: #433228;
    white-space: nowrap;
}

.tb-basket-undo__btn:hover {
    border-color: #FAA61A;
    background: #FAA61A;
    color: #fff;
}

.basket-items-list-item-container.tb-delete-pending {
    opacity: 0.55;
}

.cart-min-order-msg {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: rgba(220, 31, 38, 1);
    text-align: center;
    margin-top: 10px;
}

@media screen and (max-width: 480px) {
.cart_bg > .container {
    padding-top: 40px;
    padding-bottom: 60px;
	padding-right: 20px;
	padding-left: 20px;
}
.cart-new {
    gap: 60px;
    width: 100%;
    display: flex
;
    justify-content: space-between;
    align-content: flex-start;
    flex-direction: column;
}
        .basket-items-list-item-container {
        border-bottom: 1px solid rgba(123, 110, 102, 0.5);
        display: flex
;
        align-content: flex-start;
        flex-direction: row;
        align-items: flex-start;
        gap: 0px;
        width: 100%;
        justify-content: space-between;
        padding: 15px 0px 15px 0px;
    }
    td.basket-items-list-item-descriptions {
    width: 70%;
}
    .basket-items-list-item-descriptions-inner {
        display: flex
;
        gap: 15px;
        align-items: center;
        flex-direction: row;
    }
    .basket-item-block-price {
    display: flex
;
    align-items: flex-start;
    gap: 0px;
    flex-direction: column;
}
.list-cart {
    width: 100%;
}
    td.basket-items-list-item-price {
        display: flex
;
        justify-content: space-between;
        flex-direction: column;
    }
    .basket-item-amount-filed {
    outline: none;
    border: none;
    background: none;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    max-width: 35px;
    min-width: 35px;
}
.basket-checkout-container {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    width: calc(100% - 40px);
            max-width: unset;
        min-width: unset;
}
div#basket-root {
    display: flex
;
    flex-direction: column;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

    .basket-items-list-item-removed-container {
        align-items: center;
        flex-direction: row;
        gap: 12px;
        min-height: 0;
    }

    .basket-items-list-item-removed-text {
        flex: 1 1 auto;
    }

    .basket-items-list-item-removed-block {
        flex: 0 0 auto;
    }

    .basket-items-list-item-removed-block a,
    .basket-items-list-item-removed-block button {
        padding-right: 14px;
        padding-left: 14px;
    }
}
a.im-cart-back-btn:hover {
    background: #433228;
    color: #FFF !important;
    border: 2px solid #433228;
}
span.basket-coupon-block-coupon-btn:not(.basket-coupon-btn--success):not(.basket-coupon-btn--error):hover {
    border: 2px solid #DC1F26;
    background: #DC1F26;
    color: #fff;
}
span.basket-coupon-block-coupon-btn.basket-coupon-btn--error:hover{
    border-color: transparent;
    background: #DC1F26;
    color: #fff;
}

@media screen and (max-width: 767px) {
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .cart_bg,
    .cart_bg input,
    .cart_bg button {
        font-synthesis: none;
    }

    .tb-basket-undo {
        top: 20px;
        width: calc(100% - 40px);
    }

    .basket-coupon-block-field input.form-control {
        font-size: 16px;
    }

    .im-cart-inline-empty {
        padding-top: 10px;
    }

    .im-cart-inline-empty__text {
        font-size: 16px;
    }

    div#basket-root.tb-cart-inline-empty {
        margin-bottom: 0;
    }

    .cart_bg .im-cart-back.im-cart-back--inline-empty {
        margin-top: 20px;
    }
}

/* Use the shared header grid in every cart state; contain legacy gutters here. */
div.cart_bg > .container {
    width: min(calc(100% - 2 * var(--im-site-gutter, 32px)), var(--im-site-content-max, 1598px)) !important;
    max-width: none !important;
    padding: 40px 0 60px !important;
}

.cart_bg .bx-sbb-empty-cart-text {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

@media screen and (max-width: 1000px) {
    .cart_bg .cart-new {
        flex-direction: column;
    }

    .cart_bg .cart-new > .row,
    .cart_bg .list-cart {
        width: 100%;
        min-width: 0;
    }

    .cart_bg .basket-checkout-container {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    div.cart_bg > .container {
        width: calc(100% - 2 * var(--im-site-gutter, 16px)) !important;
        padding-top: 32px !important;
    }

    .cart_bg .bx-sbb-empty-cart-text {
        font-size: 16px;
    }
}

/* Native totals follow uses the existing cart column as its lower boundary. */
@media (min-width: 1001px) {
    .cart_bg #basket-root[data-new-checkout="Y"] .cart-new > .row[data-im-cart-total-follow] {
        align-self: flex-start;
    }
    .cart_bg #basket-root[data-new-checkout="Y"] .cart-new > .row[data-im-cart-total-follow].is-im-cart-total-follow {
        position: sticky;
        top: var(--im-cart-total-follow-top, 24px);
    }
}
