.cart-item.is-removed {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.cart-item-remove-btn {
    cursor: pointer;
}

.cart-page {
    grid-template-columns: repeat(2, 50%);
    gap: 0;
    display: grid;
    align-items: start; /* Важно для sticky */
}

h2.cart-page__form-title,
h2.cart-item__title a {
    color: #595959;

    font-size: 14px;
    text-decoration: none;
    font-weight: normal;
}

form.cart-page-form input[type="text"],
form.cart-page-form input[type="email"] {
    width: 100%;
    max-width: 504px;
    border: 1px solid #808080;
    height: 52px;
    margin-bottom: 18px;
    padding: 0 24px;
}

.cart-page-form__submit button {
    width: 100%;
    max-width: 504px;
    border: 1px solid #808080;
    height: 52px;
    color: #595959;
    text-transform: uppercase;
    text-align: left;
    padding: 0 24px;
    margin-bottom: 21px;
}

/* Стилизация чекбокса */
.cart-page-form__agree input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 52px;
    height: 52px;
    border: 1px solid #808080;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    margin: 0;
}

.cart-page-form__agree input[type="checkbox"]:hover {
    border-color: #666;
}

.cart-page-form__agree input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 21px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.398438 8.59212L9.29706 20.2588L21.3984 0.258788' stroke='%23595959'/%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
}

.cart-page-form__agree label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    max-width: 504px;
    color: #595959;
    text-transform: uppercase;
}

.cart-page-form__agree span {
    flex-grow: 1;
}

.cart-page-form__agree span a {
    color: #595959;
    text-decoration: underline;
}

h1.cart-page__title {
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #595959;
    margin-bottom: 60px;
}

.cart-item {
    grid-template-columns: 210px 210px;
    gap: 11px;
    display: grid;
    margin-bottom: 94px;
}

.cart-item__content {
display: flex
;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 14px;
}

.cart-item__image img {
    min-width: 100%;
}

button.cart-item-remove-btn {
padding: 0 8.5px;
    display: flex;
    background: transparent;
    align-items: center;
    border: 1px solid #aaaaaa;
    color: #595959;
    gap: 35px;
    width: 211px;
    font-size: 14px;
    justify-content: space-between;
}

button.cart-item-remove-btn::after {
    height: 17px;
    width: 17px;
    content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOSAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8bGluZSB4MT0iMS4wNjgiIHkxPSIuMzU0IiB4Mj0iMTguMDY4IiB5Mj0iMTcuMzU0IiBzdHJva2U9IiM1OTU5NTkiLz4KICA8bGluZSB4MT0iLjM1MyIgeTE9IjE3LjM1NCIgeDI9IjE3LjM1NCIgeTI9Ii4zNTQiIHN0cm9rZT0iIzU5NTk1OSIvPgo8L3N2Zz4=");
    padding: 5px 0;
}

.is-removed button.cart-item-remove-btn::after {
    content: url("data:image/svg+xml,%3Csvg width='10' height='15' viewBox='0 0 10 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.146447 4.03556C-0.0488155 3.8403 -0.0488155 3.52372 0.146447 3.32845L3.32843 0.146473C3.52369 -0.048789 3.84027 -0.048789 4.03553 0.146473C4.2308 0.341735 4.2308 0.658318 4.03553 0.85358L1.20711 3.68201L4.03553 6.51043C4.2308 6.7057 4.2308 7.02228 4.03553 7.21754C3.84027 7.4128 3.52369 7.4128 3.32843 7.21754L0.146447 4.03556ZM9.5 8.68201H9C9 6.22227 6.88501 4.18201 4.21739 4.18201V3.68201V3.18201C7.38478 3.18201 10 5.61889 10 8.68201H9.5ZM4.21739 13.682V13.182C6.88501 13.182 9 11.1417 9 8.68201H9.5H10C10 11.7451 7.38478 14.182 4.21739 14.182V13.682ZM4.21739 3.68201V4.18201H0.5V3.68201V3.18201H4.21739V3.68201ZM4.21739 13.682V14.182H0.5V13.682V13.182H4.21739V13.682Z' fill='%23595959'/%3E%3C/svg%3E");
}

.cart-item__meta {
    color: #595959;
    font-size: 14px;
        margin-top: 14px;
}

/* Sticky форма в корзине */
.cart-page__form {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    padding-top: 20px;
    margin-bottom: 284px;
}
h2.cart-item__title {
    margin: 0;
        display: contents;
}

@media (max-width: 991px) {
    .cart-page {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    
    .cart-page__form {
        position: static;
        order: -1;
        margin-bottom: 40px;
        padding-top: 0;
    }
    
    .cart-page__items {
        order: 2;
    }
}