body.light {
--bg-dark: #ffffff;
--bg-dark-secondary: #f8fafc;
--glass-border: #dbe4ef;
--glass-bg: rgba(15, 23, 42, 0.04);
--text-primary: #0f172a;
--text-secondary: #475569;
--text-muted: #5b6779;
background: #f3f6fb;
color: var(--text-primary);
}
body.light::before {
display: none;
}
body.light .navbar {
background: rgba(255, 255, 255, 0.92);
border-bottom: 1px solid #e2e8f0;
backdrop-filter: blur(10px);
}
body.light .footer {
background: #ffffff;
border-top: 1px solid #e2e8f0;
}
body.light .footer-links a,
body.light .footer-bottom,
body.light .text-secondary {
color: var(--text-secondary);
}
body.light .logo,
body.light .footer-heading,
body.light .footer a:hover {
color: var(--text-primary);
}
.cart-shell {
padding-top: 7.5rem;
padding-bottom: 4rem;
}
.cart-layout {
display: grid;
grid-template-columns: 3fr 2fr;
gap: 1.25rem;
align-items: start;
}
@media (max-width: 980px) {
.cart-layout {
grid-template-columns: 1fr;
}
}
.cart-item {
border: 1px solid var(--glass-border);
border-radius: var(--radius-md);
padding: 1rem;
background: #ffffff;
display: grid;
grid-template-columns: 1fr auto;
gap: 0.8rem;
margin-bottom: 0.8rem;
align-items: center;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.cart-item > div:first-child {
display: flex;
flex-direction: column;
justify-content: center;
text-align: left;
}
.cart-item-title {
font-size: 1rem;
font-weight: 700;
margin-bottom: 0.25rem;
text-align: left;
}
.cart-item-meta {
color: var(--text-secondary);
font-size: 0.88rem;
margin-bottom: 0.3rem;
text-align: left;
}
.cart-item-price {
font-size: 1.15rem;
font-weight: 700;
text-align: right;
}
.cart-item-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.5rem;
flex-wrap: wrap;
margin-top: 0.35rem;
}
.qty-input {
width: 66px;
border: 1px solid var(--glass-border);
border-radius: var(--radius-sm);
background: #ffffff;
color: var(--text-primary);
padding: 0.38rem 0.55rem;
font-size: 0.85rem;
}
.cart-summary {
position: sticky;
top: 6.8rem;
border-top: 4px solid var(--brand-pink);
}
.summary-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.8rem 0;
border-bottom: 1px dashed rgba(15, 23, 42, 0.12);
font-size: 0.95rem;
}
.summary-row:last-child {
border-bottom: none;
}
.cart-empty {
text-align: center;
padding: 4rem 1rem;
border: 1px dashed var(--glass-border);
border-radius: var(--radius-md);
color: var(--text-secondary);
background: #ffffff;
}
body.light .card {
background: #ffffff;
border: 1px solid var(--glass-border);
box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}
body.light .btn-outline {
color: #0f172a;
border-color: #cbd5e1;
background: #ffffff;
}
body.light .btn-outline:hover {
background: #f8fafc;
border-color: #94a3b8;
}
.cart-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.8rem;
flex-wrap: wrap;
}
.cart-title {
font-size: 2rem;
line-height: 1.15;
margin-bottom: 0.35rem;
}
.cart-subtitle {
margin: 0 0 0.9rem 0;
}
.cart-empty-title {
margin-bottom: 0.45rem;
}
.cart-empty-body {
margin-bottom: 1rem;
}
.summary-row.summary-row-total {
font-size: 1.1rem;
font-weight: 700;
padding-top: 1rem;
margin-bottom: 0.7rem;
}
.cart-actions {
display: flex;
flex-direction: column;
gap: 0.72rem;
}
.btn.cart-checkout-btn {
padding: 0.95rem 1.1rem;
}
.btn.cart-continue-btn {
padding: 0.8rem 1rem;
}
.btn.cart-checkout-btn.disabled {
pointer-events: none;
opacity: 0.55;
}
.cart-item-actions .cart-qty-label {
font-size: 0.8rem;
}
.cart-item-actions .btn.cart-remove-btn {
padding: 0.4rem 0.75rem;
font-size: 0.8rem;
}
.cart-item-title a {
color: inherit;
text-decoration: none;
}
.checkout-spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(123, 63, 228, 0.3);
border-top-color: var(--brand-pink);
border-radius: 50%;
animation: checkout-spin 1s linear infinite;
}
@keyframes checkout-spin {
100% {
transform: rotate(360deg);
}
}
.loader.is-hidden {
display: none;
}
#content-wrapper.is-ready {
display: grid;
}
.checkout-error-state {
padding: 10rem 0;
}
.checkout-error-title {
color: var(--danger-text);
}
.payment-panel.is-active {
display: block;
}
button.payment-method-card {
font: inherit;
color: inherit;
text-align: left;
width: 100%;
}
.payment-method-card.is-disabled {
opacity: 0.45;
cursor: not-allowed;
}
.coupon-row.is-applied .coupon-apply-btn {
white-space: nowrap;
}
.summary-validity {
font-weight: 600;
}
.payment-status-text[data-type="error"] {
color: var(--danger-text);
}
.summary-item[hidden],
.cart-empty[hidden],
.checkout-error-state[hidden] {
display: none;
}
.stripe-wallet {
margin-bottom: 0.9rem;
}
.stripe-wallet[hidden],
.stripe-form-skeleton[hidden],
.payment-note[hidden] {
display: none;
}
.btn.stripe-pay-btn {
margin-top: 0.4rem;
}
.payment-status-text[data-type="success"] {
color: var(--success, #16a34a);
}
.payment-panel[data-panel]:not(.is-active) {
display: none;
}
#pok-pay-link {
display: block;
text-align: center;
}
#pok-pay-link.is-disabled {
opacity: 0.6;
cursor: not-allowed;
}
#checkout-form .consent-gate {
margin: 1.1rem 0 0.6rem;
}
.balance-topup-link {
display: inline-block;
margin: 0 0 0.6rem;
font-size: 0.9rem;
font-weight: 600;
color: var(--brand-purple);
}
.balance-topup-link[hidden] {
display: none;
}
