.customer-cart-page {
    min-height: 70vh;
    background: #ffffff;
}

.cart-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.cart-hero {
    padding: 70px 0 55px;
    background: #f7f5f1;
    border-bottom: 1px solid #e5e1da;
}

.cart-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #b69a68;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.cart-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
}

.cart-hero p {
    max-width: 620px;
    margin: 16px 0 0;
    color: #77736d;
    font-size: 16px;
    line-height: 1.7;
}

.cart-content {
    padding: 50px 0 80px;
}

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

.cart-items {
    border-top: 1px solid #e5e1da;
}

.cart-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid #e5e1da;
}

.cart-item-image {
    width: 110px;
    height: 110px;
    overflow: hidden;
    background: #f7f5f1;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cart-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #77736d;
    font-size: 12px;
}

.cart-item-details h2 {
    margin: 2px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.cart-item-details h2 a:hover {
    color: #b69a68;
}

.cart-item-sku {
    margin: 0 0 16px;
    color: #77736d;
    font-size: 12px;
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #77736d;
    font-size: 13px;
}

.cart-item-total {
    white-space: nowrap;
    padding-top: 4px;
    font-weight: 700;
}

.cart-summary {
    padding: 26px;
    background: #f7f5f1;
    border: 1px solid #e5e1da;
}

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

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e1da;
    color: #77736d;
}

.cart-summary-row strong {
    color: #111111;
}

.cart-summary-total {
    padding-top: 20px;
    color: #111111;
    font-size: 18px;
}

.cart-summary-note {
    margin: 18px 0 24px;
    color: #77736d;
    font-size: 12px;
    line-height: 1.6;
}

.cart-button {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid #111111;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.cart-button.primary {
    background: #111111;
    color: #ffffff;
}

.cart-button.primary:hover {
    background: #b69a68;
    border-color: #b69a68;
}

.cart-button.secondary {
    margin-top: 10px;
    background: #ffffff;
    color: #111111;
}

.cart-button.secondary:hover {
    border-color: #b69a68;
    color: #b69a68;
}

.cart-empty {
    max-width: 650px;
    margin: 20px auto;
    padding: 70px 30px;
    text-align: center;
    border: 1px solid #e5e1da;
}

.cart-empty-icon {
    margin-bottom: 18px;
    font-size: 42px;
}

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

.cart-empty p {
    margin: 0 auto 28px;
    color: #77736d;
    line-height: 1.7;
}

.cart-empty .cart-button {
    display: inline-flex;
    min-width: 190px;
}

.cart-item-remove-form {
    display: flex;
    align-items: flex-start;
}

.cart-item-remove {
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #77736d;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-item-remove:hover {
    color: #b69a68;
}

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

    .cart-summary {
        order: -1;
    }
}

@media (max-width: 600px) {
    .cart-container {
        width: min(100% - 24px, 1180px);
    }

    .cart-hero {
        padding: 48px 0 38px;
    }

    .cart-content {
        padding: 32px 0 55px;
    }

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

    .cart-item-image {
        width: 78px;
        height: 78px;
    }

    .cart-item-total {
        grid-column: 2;
        padding-top: 0;
    }

    .cart-summary {
        padding: 20px;
    }
}
