.cart-page {
    padding-bottom: 60px;
}
.cart-page__wrap {
    max-width: 1416px;
    margin: 0 auto;
    padding: 0 20px;
}
.cart-page__layout {
    display: flex;
    gap: 40px;
}
.cart-page__layout.hide {
    display: none;
}
.line_sep {
    width: 1px;
    background: var(--novoe-vremea-gray-1);
}
.cart-page__left {
    flex: 1;
    min-width: 0;
}
.cart-page__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 38px;
}
.cart-page__title {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 131%;
    color: var(--novoe-vremea-black);
    margin: 0;
}
.cart-page__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 30px;
    padding: 1px 8px;
    background: var(--novoe-vremea-background);
    border-radius: 30px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--novoe-vremea-black);
}
.cart-page__auth-note {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--novoe-vremea-black);
    margin: 0 0 24px;
}
.cart-page__auth-note a {
    color: var(--novoe-vremea-primary-1);
}
.cart-page__auth-note a:hover {
    text-decoration: none;
}
.cart-items {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--novoe-vremea-gray-1);
    padding-top: 10px;
    padding-bottom: 34px;
}
.cart-item {
    display: flex;
    gap: 30px;
    padding: 24px 0;
    border-bottom: 1px solid var(--novoe-vremea-gray-1);
    position: relative;
}
.cart-item__img-wrap {
    flex-shrink: 0;
}
.cart-item__img-wrap .cart-item__img-link {
    width: 207px;
    height: 250px;
    display: block;
    overflow: hidden;
}
.cart-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cart-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cart-item__body--top {
    display: flex;
    gap: 30px;
}
.cart-item__body--left {
    flex: 1 1 auto;
}
.cart-item__body--right {
    flex: 0 0 162px;
}
.cart-item__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.cart-item__name {
    margin-bottom: 10px;
}
.cart-item__name a {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    color: var(--novoe-vremea-black);
    text-decoration: none;
    flex: 1;
    display: inline-block;
    vertical-align: top;
}
.cart-item__name a:hover {
    color: var(--novoe-vremea-primary-1);
}
.cart-item__price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    margin-bottom: 16px;
}
.cart-item__price-current {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    text-align: right;
    color: var(--novoe-vremea-black);
    white-space: nowrap;
}
.cart-item__price-old {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    text-decoration: line-through;
    color: var(--novoe-vremea-black);
    white-space: nowrap;
}
.cart-item__badge {
    display: inline-flex;
    align-items: center;
    padding: 4.5px 9px;
    border-radius: 70px;
    background: #5240ad;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #fff;
    margin-bottom: 10px;
}
.cart-item__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cart-item__meta-row {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--novoe-vremea-black);
    display: flex;
    gap: 16px;
}
.cart-item__meta-label {
    color: var(--novoe-vremea-gray-2);
}
.cart-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 4px;
    padding-right: 100px;
}
.cart-item__wishlist {
    display: flex;
    align-items: center;
    gap: 9px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: var(--novoe-vremea-black);
    padding: 0;
    transition: color 0.2s;
}
.cart-item__wishlist svg {
    flex-shrink: 0;
}
.cart-item__wishlist svg path {
    transition: all 0.2s;
}
.cart-item__wishlist:hover {
    color: var(--novoe-vremea-primary-1);
}
.cart-item__wishlist:hover svg path {
    fill: var(--novoe-vremea-primary-1);
}
.cart-item__amount-wrap {
    margin-left: auto;
}
.cart-item__amount button {
    flex: 0 0 50px;
    height: 50px;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 171%;
    color: var(--novoe-vremea-black);
}
.cart-item__amount input {
    height: 50px;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: var(--novoe-vremea-black);
}
.cart-item__remove {
    display: flex;
    align-items: center;
    gap: 9px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: var(--novoe-vremea-gray-2);
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s;
    position: absolute;
    right: 0;
    bottom: 24px;
}
.cart-item__remove svg {
    flex-shrink: 0;
}
.cart-item__remove svg line {
    transition: all 0.2s;
}
.cart-item__remove:hover {
    color: var(--novoe-vremea-primary-1);
}
.cart-item__remove:hover svg line {
    stroke: var(--novoe-vremea-primary-1);
}
.cart-summary {
    flex: 0 0 400px;
    width: 400px;
    position: sticky;
    top: 20px;
    background: #fff;
}
.cart-summary__title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    color: var(--novoe-vremea-black);
    margin: 0 0 34px;
}
.cart-promo {
    margin-bottom: 24px;
}
.cart-promo__field {
    position: relative;
    display: flex;
    align-items: center;
}
.cart-promo__input {
    width: 100%;
    height: 60px;
    border: 1px solid var(--novoe-vremea-gray-1);
    border-radius: 60px;
    padding: 0 44px 0 33px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: var(--novoe-vremea-black);
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}
.cart-promo__input::placeholder {
    color: var(--novoe-vremea-gray-2);
}
.cart-promo__input:focus {
    border-color: var(--novoe-vremea-black);
}
.cart-promo__input.is-error,
.cart-promo__input.danger {
    border-color: #f00;
    color: #f00;
}
.cart-promo__input.is-success,
.cart-promo__input.muted {
    border-color: var(--novoe-vremea-gray-1);
    color: var(--novoe-vremea-black);
}
.cart-promo__clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    padding: 4px;
    line-height: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: #9e9e9e;
    text-transform: uppercase;
}
.cart-promo__clear.is-visible {
    display: flex;
}
.cart-promo__apply {
    width: 100%;
    height: 60px;
    border-radius: 60px;
    background: var(--novoe-vremea-black);
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 144%;
    color: #fff;
    margin-top: 24px;
    display: none;
    transition: opacity 0.2s;
}
.cart-promo__apply.is-visible {
    display: block;
}
.cart-promo__apply:hover {
    opacity: 0.85;
}
.cart-promo__msg {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: var(--novoe-vremea-gray-2);
    margin: 4px 0 0;
    display: none;
}
.cart-promo__msg.is-error,
.cart-promo__msg.danger {
    display: block;
    color: #ff383c;
}
.cart-promo__msg.is-success,
.cart-promo__msg.muted {
    display: block;
    color: var(--novoe-vremea-gray-2);
}
.cart-summary__rows {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}
.cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--novoe-vremea-black);
}
.cart-summary__row--discount span:last-child {
    font-weight: 500;
}
.cart-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--novoe-vremea-gray-1);
    padding-top: 24px;
    margin-bottom: 24px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: var(--novoe-vremea-black);
}
.cart-summary__order-btn {
    width: 100%;
    height: 60px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    background: var(--novoe-vremea-primary-1);
    border: none;
    cursor: pointer;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: #fff;
    transition: opacity 0.3s;
    margin-bottom: 24px;
}
.cart-summary__order-btn:hover {
    opacity: 0.88;
}
.cart-summary__agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 24px;
}
.cart-summary__agree input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.cart-summary__agree-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--novoe-vremea-black);
    border-radius: 4px;
    position: relative;
    margin-top: 2px;
    transition:
        border-color 0.2s,
        background 0.2s;
    background: #fff;
}
.cart-summary__agree-box:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.2925 0.2825L3.6625 4.9125L1.7025 2.9525C1.3125 2.5625 0.6825 2.5625 0.2925 2.9525C-0.0975 3.3425 -0.0975 3.9725 0.2925 4.3625L2.9625 7.0325C3.1525 7.2225 3.4025 7.3225 3.6725 7.3225C3.9425 7.3225 4.1925 7.2125 4.3825 7.0325L9.7125 1.7025C10.1025 1.3125 10.1025 0.6825 9.7125 0.2925C9.3225 -0.0975 8.6925 -0.0975 8.3025 0.2925L8.2925 0.2825Z' fill='black' /%3E%3C/svg%3E")
        50% no-repeat;
    opacity: 0;
    transition: opacity 0.15s;
}
.cart-summary__agree input:checked ~ .cart-summary__agree-box:after {
    opacity: 1;
}
.cart-summary__agree-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: var(--novoe-vremea-black);
}
.cart-summary__agree-text a {
    color: var(--novoe-vremea-black);
    text-decoration: underline;
    text-decoration-skip-ink: none;
}
.cart-summary__agree-text a:hover {
    color: var(--novoe-vremea-primary-1);
}
.cart-summary__delivery {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--novoe-vremea-background);
    padding: 16px 20px;
}
.cart-summary__delivery span {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: var(--novoe-vremea-primary-1);
}
.cart-summary__delivery span strong {
    font-weight: 600;
}
.cart-summary__delivery-icon {
    flex-shrink: 0;
}
@media (max-width: 1240px) {
    .cart-summary {
        flex: 0 0 300px;
        width: 300px;
    }
    .cart-item__img-wrap .cart-item__img-link {
        width: 150px;
        height: 190px;
    }
    .cart-page__layout {
        gap: 24px;
    }
}
@media (max-width: 1024px) {
    .cart-item__body--top {
        gap: 20px;
        flex-wrap: wrap;
    }
    .cart-item__body--top .cart-item__body--left,
    .cart-item__body--top .cart-item__body--right {
        flex: none;
        width: 100%;
    }
    .cart-item__body--top .cart-item__price-block {
        align-items: start;
    }
}
@media (max-width: 1024px) {
    .cart-page__layout {
        display: block;
    }
    .cart-page__left {
        margin-bottom: 40px;
    }
    .cart-items {
        padding-bottom: 0;
    }
    .cart-summary {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .cart-page__heading {
        margin-bottom: 10px;
    }
    .cart-page__heading .cart-page__title {
        font-size: 24px;
    }
    .cart-page__auth-note {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .cart-items {
        padding: 14px 0 0;
    }
    .cart-item {
        padding: 16px 0;
        gap: 18px;
    }
    .cart-item__img-wrap .cart-item__img-link {
        width: 133px;
        height: 161px;
    }
    .cart-item__remove {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 10px;
    }
    .cart-item__body--top {
        gap: 4px;
    }
    .cart-item__name {
        margin-bottom: 3px;
    }
    .cart-item__name a {
        font-size: 16px;
    }
    .cart-item__meta {
        gap: 3px;
    }
    .cart-item__meta-row {
        font-size: 14px;
    }
    .cart-item__body--top .cart-item__price-block {
        margin-bottom: 10px;
    }
    .cart-summary__title {
        margin-bottom: 15px;
    }
}
.cart-page__empty {
    text-align: center;
    margin: 27px 0 0;
    position: relative;
}
.cart-page__empty.show_empty {
    display: block;
}
.cart-page__empty .text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.cart-page__empty h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    color: var(--novoe-vremea-black);
    margin: 7px 0 15px;
}
.cart-page__empty a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: var(--novoe-vremea-primary-1);
}
.cart-page__empty a:hover {
    text-decoration: none;
}
.cart-page__empty img {
    margin: 0 auto;
}

.cart-item__amount {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    background: var(--novoe-vremea-background);
    border-radius: 50px;
    flex: 0 0 auto;
    width: 160px;
}
.cart-item__amount button {
    flex: 0 0 59px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: var(--novoe-vremea-black);
    display: flex;
    align-items: center;
    transition: all 0.3s;
    justify-content: center;
}
.cart-item__amount button:hover {
    color: var(--novoe-vremea-primary-1);
}
.cart-item__amount input {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    outline: none;
    height: 50px;
    border: none;
    text-align: center;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: var(--novoe-vremea-black);
    background: none;
}
@media (max-width: 1220px) {
    .cart-item__amount {
        flex: 0 0 129px;
    }
    .cart-item__amount button {
        flex: 0 0 40px;
    }
}
