/* Cart-only styles; reuse the existing site container, palette, font and breakpoints. */
.cart-page{background:radial-gradient(ellipse 620px 460px at 8% 35%,#f6e9f6 0%,transparent 100%),linear-gradient(#f8f9ff 0%,#f9faff 70%,#fff 100%);padding:80px 0 140px;color:#333}
.cart-page h1{font-size:30px;font-weight:600;line-height:44px;margin:0 0 16px;color:#21177f}.cart-page h1>span{display:inline-block;vertical-align:baseline;transform:translateY(-8px);font-size:24px;color:#f2b400}
.cart-layout{display:grid;grid-template-columns:minmax(0,2.08fr) minmax(0,1fr);gap:24px;align-items:start}
.cart-order-card,.cart-payment-card{min-width:0;border:1px solid #dceafa;border-radius:22px;background:#ffffffdf;box-shadow:0 2px 2px #dce5f050}
.cart-order-card{padding:26px;border-radius:16px}.cart-table-heading{display:grid;grid-template-columns:32px minmax(0,1fr) 150px 60px;gap:12px;align-items:center;padding:11px 22px;min-height:44px;border-radius:10px;color:#222439;background:linear-gradient(120deg,#f1efff,#eeedfc);font-size:15px;font-weight:600}
.cart-items{list-style:none;margin:0;padding:0}.cart-course-row{display:grid;grid-template-columns:32px minmax(0,1fr) 150px 60px;gap:12px;align-items:start;padding:16px 22px;min-height:78px;border-bottom:1px solid #ddd}.cart-course-row:last-child{border-bottom:0}
.cart-item-info{min-width:0}.cart-item-info h2{font-size:16px;font-weight:500;line-height:1.5;margin:3px 0 4px;overflow-wrap:anywhere}.cart-item-info h2>span:first-child{color:#21177f}.cart-item-info p{font-size:13px;line-height:1.6;color:#888;margin:0}
.cart-item-price{min-width:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:16px;font-weight:600;line-height:1.5;color:#21177f;margin:3px 0 0}.cart-item-price>span{white-space:normal;overflow-wrap:anywhere}.cart-sale-price{color:var(--red)}.cart-item-price del{overflow-wrap:anywhere;font-size:12px;font-weight:400;color:#aaa}
.cart-remove{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-top:-4px;background:transparent;color:var(--red);border-radius:50%}.cart-remove>svg{width:24px;height:24px}.cart-remove:hover{background:#fff0f1}
.cart-total{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:64px;border-top:1px solid #e8edf8;padding:18px 8px 0;margin-top:6px;font-size:20px;color:#202238}.cart-total strong{color:#4b40cb;font-size:20px;font-weight:700;white-space:nowrap}
.cart-payment-card{padding:18px 22px 36px}.cart-payment-card>h2{font-size:22px;font-weight:500;line-height:32px;color:#21177f;border-bottom:1px solid #ddd;padding-bottom:12px;margin:0}.cart-account-label{color:var(--purple);font-size:18px;font-weight:500;line-height:29px;margin:20px 0 12px}
.cart-bank{display:flex;align-items:flex-start;gap:16px}.cart-bank>img{flex-shrink:0;margin-top:2px;border-radius:50%}.cart-bank>div{min-width:0}.cart-bank p{font-size:17px;line-height:28px;font-weight:500;color:#111;margin:0;overflow-wrap:anywhere}
.cart-pay{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;border-radius:99px;padding:10px 20px;background:var(--red);color:white;font-size:18px;line-height:30px;margin-top:34px}.cart-pay:hover{background:#a9000b}.cart-pay:disabled{cursor:not-allowed;opacity:.5}
.cart-table-heading>span:first-child,.cart-table-heading>span:last-child{text-align:center}.cart-item-number{margin-top:3px;text-align:center;color:#8b90a3;font-size:14px;line-height:1.6}.cart-remove{justify-self:center}
.cart-empty{display:flex;flex-direction:column;align-items:center;padding:24px 12px 22px;text-align:center;color:#7b8095}
.cart-empty-badge{display:grid;place-items:center;width:80px;height:80px;flex-shrink:0;margin-bottom:8px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f6f7fb,#eef0f8);color:#454b70}
.cart-empty-badge>svg{width:44px;height:44px}.cart-empty-rays{stroke:#ffb640}
.cart-empty>h2{margin:0 0 4px;color:#202238;font-size:16px;font-weight:600;line-height:1.5}
.cart-empty>p{max-width:420px;margin:0;font-size:13px;line-height:1.65}
.cart-empty>.cart-browse-courses{display:inline-flex;align-items:center;justify-content:center;gap:9px;max-width:100%;min-height:44px;margin-top:16px;padding:8px 18px;border:1px solid #4434d1;border-radius:10px;background:linear-gradient(160deg,#5244e7,#4334c7);box-shadow:0 4px 12px #4b3cd11a;color:#fff;font-size:14px;font-weight:600;line-height:1.6;text-decoration:none}
.cart-browse-courses>img{width:18px;height:16px;filter:brightness(0) invert(1);flex-shrink:0}.cart-browse-courses>svg{width:17px;height:17px;flex-shrink:0}.cart-browse-courses:hover{filter:brightness(.95)}.cart-undo{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:#666;margin-top:14px}.cart-undo>button{padding:6px 12px;border-radius:8px;background:#eeebff;color:#21177f}.cart-payment-status{font-size:15px;line-height:1.7;color:#a9000b;background:#fff3f4;padding:14px;border-radius:10px;margin:18px 0 0}.cart-total span{font-size:16px;font-weight:600}
@media(max-width:1199px){.cart-course-row,.cart-table-heading{grid-template-columns:28px minmax(0,1fr) 110px 52px;padding-inline:12px}.cart-order-card{padding:22px}.cart-item-info h2{font-size:15px}.cart-item-info p{font-size:12px}.cart-item-price{font-size:15px}.cart-bank{gap:10px}.cart-bank p{font-size:15px;line-height:26px}.cart-pay{font-size:18px}.cart-payment-card>h2{font-size:20px}}
@media(max-width:899px){.cart-page{padding:80px 0 70px}.cart-layout{grid-template-columns:minmax(0,1fr)}.cart-course-row,.cart-table-heading{grid-template-columns:28px minmax(0,1fr) 130px 52px}.cart-bank p{font-size:17px;line-height:28px}.cart-pay{max-width:400px;margin-top:28px}.cart-payment-card{padding:22px}}
@media(max-width:699px){.cart-page{padding:72px 0 48px}.cart-page h1{font-size:26px;line-height:1.4;margin-bottom:18px}.cart-layout{gap:20px}.cart-order-card{padding:16px;border-radius:20px}.cart-table-heading{display:grid;grid-template-columns:24px minmax(0,1fr) 78px 44px;gap:8px;min-height:44px;font-size:13px;font-weight:600;padding-inline:0}.cart-table-heading>span{display:block}.cart-course-row{grid-template-columns:24px minmax(0,1fr) 78px 44px;padding:14px 0;gap:8px}.cart-item-number{grid-column:1;grid-row:1;font-size:12px}.cart-item-info{grid-column:2;grid-row:1}.cart-remove{grid-column:4;grid-row:1}.cart-item-price{grid-column:3;grid-row:1;margin:2px 0 0;font-size:13px;gap:4px}.cart-item-price>span{white-space:normal;overflow-wrap:anywhere}.cart-item-price del{font-size:11px;overflow-wrap:anywhere}.cart-item-info h2{font-size:14px;margin-top:0}.cart-item-info p{font-size:12px}.cart-total{font-size:17px;padding:14px 12px;gap:8px}.cart-total strong{font-size:18px}.cart-payment-card{padding:20px 18px 26px;border-radius:20px}.cart-bank p{font-size:16px;line-height:1.7}.cart-pay{font-size:18px}.cart-undo{align-items:flex-start}.cart-undo>button{flex-shrink:0}}

@media(max-width:699px){.cart-empty{padding:22px 4px}.cart-empty-badge{width:68px;height:68px}.cart-empty-badge>svg{width:38px;height:38px}.cart-empty>h2{font-size:15px}.cart-empty>p{font-size:13px}.cart-empty>.cart-browse-courses{min-height:44px;margin-top:14px;padding:8px 16px;font-size:13px;gap:8px}.cart-total{padding:18px 4px 0}.cart-total span{font-size:15px}.cart-total strong{font-size:19px}}
