.cart-page { padding: 5.5rem 0 7rem; background: #fffaf6; }
.cart-page__header, .cart-layout { display: flex; gap: 2rem; justify-content: space-between; }
.cart-page__header { align-items: end; margin-bottom: 2.75rem; }
.cart-page h1, .cart-page h2 { font-family: Georgia, serif; color: #281d1a; }
.cart-page h1 { margin: 0 0 .65rem; font-size: clamp(2.45rem, 4.5vw, 4.35rem); letter-spacing: -.045em; }
.cart-page__header p:not(.eyebrow) { max-width: 39rem; margin: 0; color: #746761; font-size: 1.05rem; }
.cart-page__continue { color: #332522; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cart-page__continue:hover { color: var(--coral); }
.cart-layout { align-items: flex-start; }
.cart-items { display: grid; flex: 1 1 auto; gap: 1rem; min-width: 0; }
.cart-item { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr) auto; gap: 1.35rem; align-items: center; padding: 1rem; border: 1px solid #eadfd7; background: #fff; }
.cart-item--unavailable { opacity: .7; }
.cart-item__image { display: grid; width: 8.2rem; height: 7.5rem; place-items: center; overflow: hidden; background: #f3e7de; color: #c85c45; font-weight: 800; }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__category { margin: 0 0 .35rem; color: #d25c45; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.cart-item h2 { margin: 0; font-size: 1.45rem; }
.cart-item__unit-price, .cart-item__notice { margin: .4rem 0 .9rem; color: #766a64; font-size: .9rem; }
.cart-item__notice { color: #a74232; }
.cart-item__controls { display: flex; align-items: center; gap: 1rem; }
.cart-item__quantity { display: inline-grid; grid-template-columns: 2rem 2.3rem 2rem; align-items: center; border: 1px solid #ded2ca; }
.cart-item__quantity button { width: 2rem; height: 2rem; border: 0; background: #fff; color: #302421; cursor: pointer; font-size: 1.15rem; }
.cart-item__quantity button:hover:not(:disabled) { background: #f8eee8; color: #d25c45; }
.cart-item__quantity button:disabled { cursor: not-allowed; color: #b8aaa2; }
.cart-item__quantity output { text-align: center; font-weight: 800; }
.cart-item__remove { padding: 0; border: 0; background: transparent; color: #8a6259; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: .2rem; }
.cart-item__remove:hover { color: #b42318; }
.cart-item__total { align-self: start; color: #302421; font-size: 1.05rem; white-space: nowrap; }
.cart-summary { position: sticky; top: 7rem; width: min(22.5rem, 100%); padding: 1.75rem; border: 1px solid #eadfd7; background: #2d211f; color: #fff9f5; }
.cart-summary .eyebrow { color: #f5a28f; }
.cart-summary h2 { margin: 0 0 1.5rem; color: #fff; font-size: 1.8rem; }
.cart-summary dl { margin: 0; }
.cart-summary dl div, .cart-summary__total { display: flex; justify-content: space-between; gap: 1rem; }
.cart-summary dl div { padding: .75rem 0; color: #e6d9d2; font-size: .91rem; }
.cart-summary dd { margin: 0; text-align: right; }
.cart-summary__total { margin-top: .7rem; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.18); align-items: end; }
.cart-summary__total strong { font-size: 1.28rem; }
.cart-summary > p:not(.eyebrow) { margin: 1.3rem 0; color: #d9cbc4; font-size: .82rem; line-height: 1.55; }
.cart-summary__checkout { display: flex; justify-content: center; width: 100%; padding: .95rem 1rem; background: #e3624a; }
.cart-summary__checkout:hover { background: #c94e39; }
.cart-summary__secure { display: block; margin-top: .95rem; color: #d9cbc4; font-size: .74rem; text-align: center; }
.cart-empty { display: grid; max-width: 40rem; min-height: 22rem; place-items: center; padding: 3rem; border: 1px solid #eadfd7; background: #fff; text-align: center; }
.cart-empty__icon { display: grid; width: 3rem; height: 3rem; place-items: center; border: 2px solid #d25c45; border-radius: 50%; color: #d25c45; font-size: 1.6rem; }
.cart-empty h2 { margin: .2rem 0 .7rem; font-size: 2rem; }
.cart-empty p:not(.eyebrow) { margin: 0 0 1.5rem; color: #746761; }
@media (max-width: 850px) { .cart-layout { display: grid; } .cart-summary { position: static; width: 100%; } }
@media (max-width: 620px) { .cart-page { padding: 3.5rem 0 5rem; } .cart-page__header { display: grid; align-items: start; } .cart-item { grid-template-columns: 4.8rem minmax(0, 1fr); gap: 1rem; } .cart-item__image { width: 4.8rem; height: 4.8rem; } .cart-item__total { grid-column: 2; justify-self: start; align-self: auto; } .cart-item__controls { gap: .7rem; flex-wrap: wrap; } }
