.cart-breadcrumb {
    min-height: 48px;
    padding: 12px max(24px, calc((100vw - 1180px) / 2));
    display: flex;
    align-items: center;
    gap: 10px;
    color: #777c78;
    background: #f6f5f3;
    font-size: 11px;
}

.cart-breadcrumb strong {
    color: #1d1c21;
    font-weight: 600;
}

.cart-page {
    width: min(1180px, 100%);
    min-height: 580px;
    margin: 0 auto;
    padding: 58px 24px 110px;
    color: #343735;
}

.cart-page-heading {
    margin-bottom: 46px;
    text-align: center;
}

.cart-page-heading > span,
.cart-summary > span {
    color: #626762;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.cart-page-heading h1 {
    margin: 10px 0 8px;
    font: 600 clamp(36px, 5vw, 52px)/1.1 'Playfair Display', serif;
}

.cart-page-heading p {
    margin: 0;
    color: #686d69;
    font-size: 14px;
}

.cart-notice {
    margin-bottom: 24px;
    padding: 14px 18px;
    color: #28673a;
    background: #eef8f0;
}

.cart-empty {
    padding: 82px 24px;
    border: 1px solid #e7e4df;
    border-radius: 22px;
    text-align: center;
    background: #faf9f7;
}

.cart-empty > span {
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: #3157f5;
    font-size: 28px;
}

.cart-empty h2,
.cart-summary h2,
.cart-item h2 {
    font-family: 'Playfair Display', serif;
}

.cart-empty h2 {
    margin: 0;
    font-size: 29px;
}

.cart-empty p {
    max-width: 560px;
    margin: 14px auto 26px;
    color: #686d69;
    font-size: 14px;
    line-height: 1.75;
}

.cart-empty > div {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 46px;
    align-items: start;
}

.cart-item {
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e5e2dd;
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    gap: 24px;
}

.cart-thumb {
    width: 130px;
    height: 156px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #3157f5 center/cover no-repeat;
}

.cart-thumb span {
    font-weight: 700;
    letter-spacing: .08em;
}

.cart-item-info small {
    color: #3157f5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
}

.cart-item-info h2 {
    margin: 5px 0 8px;
    font-size: 21px;
}

.cart-item-info p {
    margin: 4px 0;
    color: #686d69;
    font-size: 12px;
}

.cart-item-price {
    white-space: nowrap;
    font-size: 15px;
}

.cart-item-actions {
    margin-top: 18px;
    display: flex;
    align-items: flex-end;
    gap: 9px;
}

.cart-item-actions form:first-child {
    display: grid;
    grid-template-columns: 88px auto;
    gap: 7px;
}

.cart-item-actions label {
    grid-column: 1 / -1;
    font-size: 10px;
    font-weight: 600;
}

.cart-item-actions input,
.cart-item-actions button {
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #dcd8d2;
    background: #fff;
    font: 12px Arial, Helvetica, sans-serif;
}

.cart-item-actions input {
    width: 88px;
}

.cart-item-actions button {
    cursor: pointer;
}

.cart-remove {
    color: #a4424b;
}

.cart-summary {
    padding: 30px;
    position: sticky;
    top: 106px;
    border-radius: 18px;
    background: #f5f4f2;
}

.cart-summary h2 {
    margin: 8px 0 22px;
    font-size: 23px;
}

.cart-summary > div {
    padding: 16px 0;
    border-top: 1px solid #dfdcd7;
    border-bottom: 1px solid #dfdcd7;
    display: flex;
    justify-content: space-between;
}

.cart-summary > p {
    margin: 16px 0;
    color: #686d69;
    font-size: 12px;
    line-height: 1.65;
}

.cart-button {
    min-height: 48px;
    margin-top: 10px;
    padding: 13px 18px;
    border: 1px solid #1d1c21;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.cart-summary .cart-button {
    width: 100%;
}

.cart-button-dark {
    color: #fff;
    background: #1d1c21;
}

.cart-button-light {
    color: #1d1c21;
    background: #fff;
}

@media (max-width: 820px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 560px) {
    .cart-page {
        padding: 42px 16px 80px;
    }

    .cart-empty {
        padding: 58px 18px;
    }

    .cart-empty > div {
        flex-direction: column;
    }

    .cart-item {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 16px;
    }

    .cart-thumb {
        width: 88px;
        height: 112px;
    }

    .cart-item-price {
        grid-column: 2;
    }

    .cart-item-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
