.cart, .account { padding-block: 2rem 3.5rem; }
.cart-layout { display: grid; gap: 1.5rem; align-items: start; margin-block-start: 1rem; }
@media (min-width: 56rem) { .cart-layout { grid-template-columns: 1.6fr 1fr; gap: 2.5rem; } }
.cart-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto auto; gap: .8rem; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem; }
.cart-media img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; display: block; background: var(--navy); }
.cart-media .logo-tile { object-fit: contain; padding: .4rem; background: var(--navy); }
.cart-info { display: grid; gap: .1rem; min-width: 0; }
.cart-info strong { color: var(--navy); }
.cart-info span { color: var(--muted); font-size: .9rem; }
.cart-amount { font-weight: 800; color: var(--navy); }
.cart-remove { width: 40px; height: 40px; color: var(--muted); }
@media (max-width: 36rem) { .cart-line { grid-template-columns: 60px 1fr auto; } .cart-media img { width: 60px; height: 60px; } .cart-amount { grid-column: 2; grid-row: 2; } .cart-remove { grid-column: 3; grid-row: 1; } }
.cart-summary { display: grid; gap: .9rem; background: var(--soft); border-radius: var(--radius); padding: 1.1rem; }
@media (min-width: 56rem) { .cart-summary { position: sticky; top: 5.5rem; } }
.coupon-row { display: flex; gap: .5rem; }
.coupon-row .btn { min-height: 48px; }
.coupon-ok { color: #137a3a; font-weight: 600; margin: .4rem 0 0; }
.totals { margin: 0; display: grid; gap: .45rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 700; }
.totals .grand { font-size: 1.2rem; padding-block-start: .5rem; border-block-start: 1px dashed #c7d0da; }
.totals .grand dt { color: var(--navy); font-weight: 700; }
.cart-empty { text-align: center; padding-block: 3rem; display: grid; justify-items: center; gap: 1rem; }
/* account */
.account-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-block-end: 1.5rem; }
.account-head h1 { margin: 0; }
.account h2 { margin-block: 2rem .8rem; font-size: 1.4rem; }
.acc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.acc-card { border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; display: grid; gap: .4rem; }
.acc-card header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.acc-card header strong { color: var(--navy); }
.acc-card .meta { color: var(--muted); font-size: .9rem; }
.acc-item { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: .35rem; border-block-start: 1px solid #f0f2f5; }
.acc-item small { display: block; color: var(--muted); }
.pill { display: inline-block; border-radius: 999px; padding: .1rem .7rem; font-size: .82rem; font-weight: 700; background: #e8eef5; color: var(--navy); }
.pill-ok { background: #dff3e5; color: #137a3a; }
.pill-warn { background: #fff0d6; color: #8a5200; }
.pill-bad { background: #fde3e3; color: #a31c1c; }
.signin-card { text-align: center; padding-block: 3rem; display: grid; justify-items: center; gap: .75rem; }
.loyalty { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; }
.loyalty strong { color: var(--brand); }
.stamps { display: flex; gap: .35rem; flex-wrap: wrap; margin-block-start: .5rem; }
.stamps i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--brand); }
.stamps i.on { background: var(--brand); }
/* review page */
.review-page { padding-block: 2rem 4rem; display: flex; justify-content: center; }
.rv-card { width: min(100%, 36rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; min-height: 26rem; box-shadow: 0 10px 30px rgb(0 31 61 / .08); }
.rv-panel { display: flex; flex: 1; flex-direction: column; gap: .75rem; }
.rv-panel[hidden] { display: none; }
.rv-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 1.25rem; gap: .5rem; }
.rv-center h1 { font-size: clamp(1.5rem, 5vw, 2rem); margin: 0; }
.rv-lead { color: var(--muted); margin: 0; max-width: 28rem; }
.rv-subject { display: flex; align-items: center; gap: .75rem; text-align: start; margin-block: .75rem; }
.rv-subject[hidden] { display: none; }
.rv-subject__image { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.rv-subject div { display: grid; }
.rv-stars { display: flex; justify-content: center; gap: .35rem; border: 0; padding: 0; margin: 1rem 0 .25rem; }
.rv-star { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #c3ccd6; cursor: pointer; transition: color 150ms ease, background-color 150ms ease, transform 150ms var(--ease-out); }
.rv-stars--static .rv-star { width: 36px; height: 36px; cursor: default; }
.rv-star svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.rv-star.is-on { color: #e69100; background: #fff3dc; }
.rv-star.is-on svg { fill: currentColor; }
.rv-star:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (hover: hover) { .rv-star:hover { transform: scale(1.06); } }
.rv-more { width: 100%; text-align: start; margin-block-start: 1rem; }
.rv-more[hidden] { display: none; }
.rv-textarea { min-height: 7.5rem; resize: vertical; margin-block-start: .4rem; }
.rv-count { text-align: end; margin: .25rem 0 0; font-size: .85rem; font-variant-numeric: tabular-nums; }
.rv-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #dff3e5; color: #137a3a; }
.rv-badge svg { width: 30px; height: 30px; }
.rv-quote { margin: 1rem 0 0; padding: 1rem; background: var(--soft); border-radius: 12px; width: 100%; text-align: start; white-space: pre-wrap; }
.rv-reply { margin-block-start: .75rem; padding: 1rem; width: 100%; text-align: start; border-radius: 12px; background: #eef4fa; }
.rv-reply p { margin: .3rem 0 0; white-space: pre-wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .rv-star { transition: none; } }
