.cart-page {
    width: 100%;
    font-family: var(--font-body, "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif);
    font-size: 15px;
    line-height: 1.5;
    color: #2c3e4e;
    -webkit-font-smoothing: antialiased;
}

.cart-page__head {
    margin-bottom: 1.5rem;
}

.cart-page__head h1 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.15;
    color: #2c3e4e;
}

.cart-page__empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem 1.5rem;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fafafa;
}

.cart-page__empty-lead {
    margin: 0;
    font-size: 1rem;
    color: #5c6b7a;
}

.cart-page__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px -18px rgba(44, 62, 78, 0.22);
}

.cart-page__table {
    margin-bottom: 0;
    min-width: 760px;
}

.cart-page__table > thead > tr > th {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e8e8e8;
    background: #f7f8f9;
    font-family: var(--font-body, "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #5c6b7a;
}

.cart-page__table > tbody > tr > td {
    padding: 1rem;
    border-top: 1px solid #eef1f3;
    vertical-align: middle;
}

.cart-page__table > tbody > tr:first-child > td {
    border-top: 0;
}

.cart-page__table > tbody > tr > td h4,
.cart-page__table > tbody > tr > td h5,
.cart-page__table > tbody > tr > td h6 {
    font-family: var(--font-body, "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif);
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
}

.cart-page__table > tbody > tr > td h5,
.cart-page__table > tbody > tr > td h4 {
    margin: 0;
}

.cart-position__media {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cart-position__thumb {
    flex: 0 0 72px;
    display: block;
}

.cart-position__thumb img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
}

.cart-position__title {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.35;
}

.cart-position__title a {
    color: #2c3e4e;
    text-decoration: none;
}

.cart-position__title a:hover,
.cart-position__title a:focus {
    color: #026602;
    text-decoration: underline;
}

.cart-position__details p {
    margin: 0 0 0.35rem;
    font-size: 14px;
    color: #5c6b7a;
}

.cart-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    max-width: 132px;
    border: 1px solid #d5dbe0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cart-qty-stepper__btn {
    flex: 0 0 36px;
    border: 0;
    background: #f5f7f8;
    color: #2c3e4e;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.cart-qty-stepper__btn:hover,
.cart-qty-stepper__btn:focus {
    background: #e9edf0;
    outline: none;
}

.cart-qty-stepper__input {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    border: 0;
    border-left: 1px solid #d5dbe0;
    border-right: 1px solid #d5dbe0;
    border-radius: 0;
    text-align: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}

.cart-delete-btn {
    border: 0;
    background: transparent;
    color: #c0392b;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.cart-delete-btn:hover,
.cart-delete-btn:focus {
    background: rgba(192, 57, 43, 0.08);
    outline: none;
}

.cart-delete-btn__trash {
    display: block;
}

.cart-position-linear-meters-primary {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: #2c3e4e;
}

.cart-position-linear-meters-secondary {
    margin: 2px 0 0;
    font-size: 11px;
    line-height: 1.2;
    color: #96a8aa;
    text-align: center;
}

.cart-position--linear-meters .position-count {
    font-size: 12px;
}

.cart-position__price strong,
.cart-position__sum strong {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e4e;
}

.cart-position__price small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: #96a8aa;
}

.text-success {
    color: #026602;
}

.text-warning {
    color: #d97706;
}

.cart-page__delivery {
    margin: 0;
    padding: 0;
    border: 0;
}

.cart-page__delivery-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}

.cart-page__receiver {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eef1f3;
}

.cart-page__receiver-title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #2c3e4e;
}

.cart-page__footer-actions {
    padding-top: 0.5rem;
}

.cart-page__back .head-ico {
    margin-right: 6px;
}

.cart-page .site-form__input,
.cart-page .site-form__field label,
.cart-page .site-form__label {
    font-family: inherit;
}

.cart-page .site-btn {
    font-family: inherit;
}

.cart-page__cell-end {
    text-align: right;
}

.cart-page__summary-row > td h4,
.cart-page__summary-row > td h5 {
    margin: 0;
}

.cart-page__delivery-option label span {
    overflow-wrap: anywhere;
}

@media (max-width: 991px) {
    .cart-page__table {
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .cart-page {
        padding-bottom: 1.5rem;
    }

    .cart-page__head {
        margin-bottom: 1rem;
    }

    .cart-page__table-wrap {
        overflow-x: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .cart-page__table,
    .cart-page__table > tbody {
        display: block;
        width: 100%;
    }

    .cart-page__table > thead {
        display: none;
    }

    .cart-page__table > tbody > tr {
        display: block;
        width: 100%;
    }

    .cart-page__table > tbody > tr > td {
        display: block;
        width: 100%;
        padding: 0;
        border: 0;
        text-align: left;
        box-sizing: border-box;
    }

    .cart-page__table > tbody > tr.cart-position {
        position: relative;
        margin-bottom: 0.85rem;
        padding: 1rem 3rem 1rem 1rem;
        border: 1px solid #e8e8e8;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 8px 24px -18px rgba(44, 62, 78, 0.22);
    }

    .cart-page__table > tbody > tr.cart-position > td + td {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid #eef1f3;
    }

    .cart-page__table > tbody > tr.cart-position > td.cart-position__product {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .cart-position__product,
    .cart-position__qty,
    .cart-position__price,
    .cart-position__sum {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .cart-position__product {
        align-items: flex-start;
    }

    .cart-position__qty,
    .cart-position__price,
    .cart-position__sum {
        flex-wrap: wrap;
    }

    .cart-position__qty::before,
    .cart-position__price::before,
    .cart-position__sum::before {
        content: attr(data-label);
        flex: 1 1 auto;
        min-width: 5.5rem;
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: #5c6b7a;
    }

    .cart-position__qty > .cart-qty-stepper,
    .cart-position__price > strong,
    .cart-position__sum > strong {
        flex: 0 1 auto;
        margin-left: auto;
        text-align: right;
    }

    .cart-position__qty .cart-position-linear-meters-primary,
    .cart-position__qty .cart-position-linear-meters-secondary {
        flex: 1 1 100%;
        margin-left: 0;
        text-align: right;
    }

    .cart-position__remove {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        padding: 0;
    }

    .cart-page__table > tbody > tr.cart-position > td.cart-position__remove {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .cart-position__media {
        flex: 1 1 auto;
        min-width: 0;
    }

    .cart-position__details {
        min-width: 0;
    }

    .cart-position__title {
        font-size: 0.9375rem;
        overflow-wrap: anywhere;
    }

    .cart-page__summary-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.35rem 1rem;
        margin-top: 0.35rem;
        padding: 0.85rem 1rem;
        border: 1px solid #e8e8e8;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 8px 24px -18px rgba(44, 62, 78, 0.12);
    }

    .cart-page__summary-row + .cart-page__summary-row {
        margin-top: 0.65rem;
    }

    .cart-page__summary-row--total {
        background: #f7f8f9;
    }

    .cart-page__summary-spacer {
        display: none !important;
    }

    .cart-page__summary-label,
    .cart-page__summary-value {
        display: block;
        width: auto;
        padding: 0;
    }

    .cart-page__summary-label {
        flex: 1 1 auto;
    }

    .cart-page__summary-value {
        flex: 0 0 auto;
        text-align: right;
    }

    .cart-page__section-row {
        margin-top: 1rem;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .cart-page__section-row > td {
        padding: 0;
    }

    .cart-page__delivery {
        padding: 1rem;
        border: 1px solid #e8e8e8;
        border-radius: 12px;
        background: #fff;
    }

    .cart-page__delivery-option label {
        align-items: flex-start;
    }

    .cart-page__delivery-option label span {
        font-size: 0.875rem;
        line-height: 1.45;
    }

    .cart-page__receiver {
        margin-top: 0;
        padding: 1rem;
        border: 1px solid #e8e8e8;
        border-radius: 12px;
        background: #fff;
        border-top: 0;
    }

    .cart-page__section-row--actions {
        margin-top: 1rem;
    }

    .cart-page__section-row--actions > td {
        padding: 0;
    }

    .cart-page__footer-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        padding-top: 0;
    }

    .cart-page__footer-actions .site-btn {
        width: 100%;
        justify-content: center;
    }

    .cart-page__empty {
        padding: 1.5rem 1rem;
    }

    .registration-motivation {
        margin-bottom: 1rem;
    }
}
