.cart-page { max-width: 84rem; min-height: 65vh; padding-block: clamp(1.5rem, 4vw, 3rem) 4rem; color: #102d43; }
.cart-heading { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.cart-heading h1 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -.035em; }
.cart-page .cart-muted { color: #617482; font-size: .875rem; line-height: 1.6; margin: .5rem 0 0; }
.cart-continue { display: inline-flex; align-items: center; gap: .5rem; color: #176975; text-decoration: none; font-size: .875rem; font-weight: 600; flex-shrink: 0; }
.cart-continue svg { width: 1rem; height: 1rem; }
.cart-continue:hover { text-decoration: underline; text-underline-offset: .25rem; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 23rem); align-items: start; gap: 1.75rem; }
.cart-main { min-width: 0; display: grid; gap: 1.5rem; }
.cart-items, .cart-benefits-panel, .cart-summary, .cart-page .cart-empty { background: #fff; border: 1px solid #dfe7eb; border-radius: 1.15rem; box-shadow: 0 4px 18px #102d4305; }
.cart-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid #e9eef1; }
.cart-page h2 { font-size: 1.05rem; line-height: 1.4; font-weight: 650; margin: 0; }
.cart-count { font-size: .75rem; color: #536e78; background: #f2f6f7; padding: .35rem .65rem; border-radius: 2rem; white-space: nowrap; }
.cart-item { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 1.25rem; align-items: start; padding: 1.5rem; }
.cart-item + .cart-item { border-top: 1px solid #e9eef1; }
.cart-thumbnail { display: flex; align-items: center; justify-content: center; width: 6rem; height: 7.5rem; padding: .5rem; background: #fafcfc; border: 1px solid #edf1f3; border-radius: .8rem; overflow: hidden; font-size: .7rem; text-align: center; color: #617482; }
.cart-thumbnail .product-reference-image { width: 4.5rem; flex: 0 0 auto; margin: 0; }
.cart-item-copy { min-width: 0; }
.cart-item h3 { margin: .2rem 0 0; font-size: 1rem; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
.cart-item h3 a { text-decoration: none; color: inherit; }
.cart-item h3 a:hover { color: #126e79; text-decoration: underline; }
.cart-quantity-form { margin-top: 1.1rem; }
.cart-quantity-form label, .cart-field label { display: block; color: #526b79; font-size: .75rem; font-weight: 600; margin-bottom: .45rem; }
.cart-quantity-controls { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.cart-page input { min-width: 0; height: 2.75rem; border: 1px solid #cddce2; background: #fff; color: #102d43; border-radius: .6rem; font: inherit; padding: .65rem .8rem; }
.cart-quantity-controls input { width: 4.5rem; text-align: center; padding-right: .25rem; }
.cart-page .button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.75rem; margin: 0; border: 1px solid transparent; border-radius: .65rem; padding: .65rem 1rem; background: #126e79; color: #fff; font-size: .875rem; line-height: 1.4; font-weight: 600; text-decoration: none; transition: background-color .15s, box-shadow .15s; }
.cart-page .button:hover { background: #0d5963; box-shadow: 0 3px 9px #126e791c; }
.cart-page .cart-button-secondary { border-color: #cddfe3; background: #f5f9f9; color: #176975; }
.cart-page .cart-button-secondary:hover { background: #eaf4f3; border-color: #9dbfc4; }
.cart-item-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; align-self: stretch; gap: .75rem; }
.cart-item-total { margin: .25rem 0 0; text-align: right; }
.cart-item-total span { display: block; color: #617482; font-size: .75rem; margin-bottom: .35rem; }
.cart-item-total strong { font-size: 1.1rem; color: #126e79; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart-text-button { display: inline-flex; align-items: center; min-height: 2.75rem; border: 0; background: transparent; padding: .4rem .25rem; font: inherit; font-size: .8rem; color: #7e5360; cursor: pointer; text-decoration: underline; text-underline-offset: .22rem; }
.cart-text-button:hover { color: #aa3547; }
.cart-list-footer { display: flex; justify-content: flex-end; border-top: 1px solid #e9eef1; padding: .5rem 1.5rem; }
.cart-benefits-panel { padding: 1.5rem; }
.cart-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; margin-top: 1.25rem; }
.cart-field { min-width: 0; }
.cart-field input { width: 100%; }
.cart-wallet-balance { margin: .5rem 0 0; font-size: .75rem; color: #617482; }
.cart-wallet-balance strong { color: #126e79; }
.cart-benefits-actions { grid-column: 1 / -1; }
.cart-login-note { display: flex; align-items: center; gap: .75rem; color: #176975; font-size: .875rem; }
.cart-login-note svg { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
.cart-login-note a { color: inherit; text-underline-offset: .2rem; }
.cart-summary { padding: 1.5rem; border-top: 3px solid #126e79; }
.cart-summary h2 { font-size: 1.2rem; margin: 0 0 1.25rem; }
.cart-summary dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem 1rem; font-size: .875rem; margin: 0; }
.cart-summary dt { color: #617482; overflow-wrap: anywhere; }
.cart-summary dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-summary .cart-summary-meta { font-size: .75rem; padding-bottom: 1.15rem; }
.cart-summary .cart-totals { border-top: 1px solid #e5ecef; padding-top: 1.15rem; }
.cart-summary .benefit-totals { border-top: 1px solid #e5ecef; padding-top: 1.15rem; margin-top: 1.15rem; }
.cart-summary .benefit-totals dt:last-of-type, .cart-summary .benefit-totals dd:last-of-type { color: #102d43; font-size: 1.2rem; }
.cart-cashback { margin: 1.25rem 0; padding: 1rem; border: 1px solid #cfe6df; border-radius: .75rem; background: #f1f9f6; color: #176c60; }
.cart-cashback > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .8rem; }
.cart-cashback strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.cart-cashback p { margin: .5rem 0 0; font-size: .75rem; line-height: 1.5; color: #52786f; }
.cart-page .cart-checkout { width: 100%; min-height: 3.25rem; font-size: 1rem; }
.cart-checkout-note { display: flex; align-items: flex-start; gap: .5rem; margin: 1rem 0 0; font-size: .72rem; line-height: 1.6; color: #617482; }
.cart-checkout-note svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: .1rem; }
.cart-alert { color: #9b3546; background: #fff2f3; padding: .8rem; border-radius: .5rem; font-size: .85rem; line-height: 1.5; }
.cart-page :disabled { opacity: .6; cursor: not-allowed; }
.cart-page :focus-visible { outline: 3px solid #2a8a97; outline-offset: 3px; }
.cart-page .cart-empty { text-align: center; padding: clamp(2.5rem, 8vw, 5rem) 1.25rem; }
.cart-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 4.5rem; height: 4.5rem; background: #edf7f5; color: #126e79; border-radius: 50%; margin-bottom: 1.25rem; }
.cart-empty__icon svg { width: 2rem; height: 2rem; }
.cart-empty h2 { font-size: 1.35rem; }
.cart-empty p { color: #617482; margin: .75rem 0 1.5rem; }
@media (max-width: 64rem) { .cart-layout { grid-template-columns: minmax(0, 1fr) minmax(17rem, 20rem); gap: 1rem; } .cart-item { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; } .cart-thumbnail { width: 4.5rem; height: 6.5rem; } .cart-item-end { grid-column: 2; flex-direction: row; align-items: center; } .cart-item-total { text-align: left; } }
@media (max-width: 48rem) { .cart-heading { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; } .cart-layout { grid-template-columns: minmax(0, 1fr); } .cart-summary { margin-top: .25rem; } .cart-item, .cart-benefits-panel, .cart-summary { padding: 1.2rem; } .cart-section-heading { padding: 1rem 1.2rem; } }
@media (max-width: 30rem) { .cart-benefits { grid-template-columns: minmax(0, 1fr); } .cart-benefits-actions .button { width: 100%; } .cart-item { gap: .75rem; padding: 1rem; } .cart-section-heading { gap: .5rem; padding: 1rem; } .cart-count { font-size: .65rem; } .cart-item h3 { font-size: .925rem; } }
@media (prefers-reduced-motion: reduce) { .cart-page .button { transition: none; } }
