/* Ensure native hidden state wins over flex/grid layout declarations. */
.checkout-actions[hidden],#cart-items[hidden],#cart-summary[hidden],#delivery-step[hidden],#wallet-step[hidden],#cart-empty[hidden],#demo-complete[hidden]{display:none!important}
/* Scoped preview-only checkout UX. Original site design and water stay untouched. */
.checkout-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:22px auto 0;max-width:780px;padding:0 16px}
.checkout-progress span{padding:12px 8px;text-align:center;border:1px solid var(--line);border-radius:12px;background:rgba(2,6,7,.65);color:var(--muted);font-size:12px;font-weight:700}
.checkout-progress span.active{border-color:var(--green);color:var(--green);background:rgba(53,232,127,.10)}
.checkout-actions{display:flex;gap:12px;justify-content:flex-end;align-items:center;flex-wrap:wrap;margin:20px 0}
.checkout-secondary{background:transparent;border:1px solid var(--line);border-radius:100px;padding:12px 18px;color:var(--text);font:inherit;cursor:pointer}
.checkout-secondary:hover{border-color:var(--green)}
#preview-form .field input,#preview-form .field select{min-height:44px}
#preview-form .field input[readonly]{font-size:13px;overflow:hidden;text-overflow:ellipsis}
#cart-summary{max-width:780px;width:100%;margin-inline:auto}
#cart-items{width:100%}
@media(max-width:650px){.checkout-progress{gap:5px;padding:0 12px}.checkout-progress span{font-size:10px;padding:10px 3px}.checkout-actions{flex-direction:column}.checkout-actions button{width:100%}#cart-summary{padding:20px 16px}}

/* Product explanations: clear, readable, touch-friendly without changing brand. */
.product-explained{padding:20px;margin:18px 0;border:1px solid var(--line);border-radius:16px}
.product-explained h3{font-size:19px;line-height:1.35;margin-bottom:10px;color:var(--green2)}
.product-explained p{line-height:1.7;overflow-wrap:anywhere}
.product-explained .product-disclaimer{margin-top:14px;font-size:13px;color:var(--muted);line-height:1.55}
#demo-complete{max-width:780px;margin:20px auto;padding:30px 22px;text-align:center}
#demo-complete .checkout-actions{justify-content:center}

.product-buy-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.product-buy-actions button{width:100%;min-height:52px;touch-action:manipulation;font-weight:700}.product-buy-actions .checkout-secondary{border-color:var(--green);background:rgba(0,0,0,.55)}.product-info .sum-note{margin-top:10px;line-height:1.5}@media(max-width:420px){.product-buy-actions{gap:8px}.product-buy-actions button{font-size:14px;padding:12px 9px}}

/* Wallet selector on the preview checkout only. */
.wallet-picker[hidden]{display:none!important}
.wallet-picker{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.82);display:flex;align-items:flex-end;justify-content:center;padding:18px}
.wallet-picker-panel{width:min(100%,480px);max-height:85dvh;overflow:auto;background:#0c1514;border:1px solid rgba(79,241,146,.4);border-radius:22px;padding:22px;color:#f3fff7;box-shadow:0 20px 80px rgba(0,0,0,.65)}
.wallet-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.wallet-picker-heading h3{margin:0;font-size:21px}
.wallet-picker-heading .checkout-secondary{min-width:44px;min-height:44px;padding:8px}
.wallet-options{display:grid;gap:10px;margin-top:18px}
.wallet-choice{display:flex;align-items:center;gap:14px;width:100%;padding:14px;border:1px solid rgba(79,241,146,.25);border-radius:14px;background:rgba(255,255,255,.04);color:inherit;text-align:left;font:inherit;min-height:62px;cursor:pointer}
.wallet-choice:hover,.wallet-choice:focus-visible{border-color:#4ff192;outline-offset:3px}
.wallet-choice img{width:36px;height:36px;object-fit:contain;border-radius:9px}
@media(min-width:700px){.wallet-picker{align-items:center}}
