/* Moved from storefront/cart.php (was an inline <style> block). */
body { background:var(--cream); }
.cart-item-custom { margin-top:6px; font-size:12px; color:var(--warn-ink); background:var(--warn-bg); border-radius:6px; padding:4px 8px; display:inline-block; line-height:1.45; }
.cart-item-custom span { color:var(--warn-ink); opacity:.85; }
.cart-item-ready { margin-top:6px; font-size:12px; color:var(--ok-ink); background:var(--ok-bg); border-radius:6px; padding:4px 8px; display:inline-block; line-height:1.45; }
.cart-item-ready span { color:var(--ok-ink); opacity:.85; }
.toast.has-note { align-items:flex-start; max-width:min(440px, calc(100vw - 32px)); }
.toast.has-note .toast-copy span { font-size:12.5px; font-weight:400; line-height:1.45; opacity:.9; }
.toast ~ .toast { bottom:104px; }
.toast.has-note ~ .toast { bottom:142px; }
.stock-choice { margin:-4px 0 14px; padding:12px 14px; border-radius:12px; background:var(--surface-2); border:1.5px solid #F3C77A; }
.stock-choice-head { display:flex; gap:10px; align-items:flex-start; margin-bottom:10px; }
.stock-choice-head strong { display:block; font-size:13.5px; color:var(--danger-ink); }
.stock-choice-head small { display:block; font-size:12px; color:var(--warn-ink); margin-top:2px; line-height:1.45; }
.stock-choice-ico { flex:0 0 auto; width:22px; height:22px; border-radius:50%; background:#F59E0B; color:#fff; font-weight:800; font-size:13px; display:inline-flex; align-items:center; justify-content:center; }
.stock-choice-options { display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:8px; }
.stock-choice-btn { text-align:left; display:flex; flex-direction:column; gap:2px; padding:10px 12px; border-radius:10px; border:1.5px solid var(--gold); background:var(--surface); cursor:pointer; font-family:inherit; transition:border-color .2s, background .2s; }
.stock-choice-btn:hover { border-color:var(--brown-mid); background:var(--surface); }
.stock-choice-btn b { font-size:13.5px; color:var(--ink); }
.stock-choice-btn span { font-size:12px; color:var(--text-muted); }
.stock-choice-none { margin:0; font-size:12.5px; color:var(--danger-ink); }
.checkout-btn.is-locked { opacity:.45; cursor:not-allowed; pointer-events:none; }
.cart-mixed-note { margin:0 0 12px; padding:10px 12px; border-radius:10px; background:var(--info-bg); border:1px solid var(--info-line); color:var(--info-ink); font-size:12.5px; line-height:1.5; }
.checkout-lock-note { margin:10px 0 0; font-size:12.5px; color:var(--warn-ink); line-height:1.5; text-align:center; }
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:9999; align-items:center; justify-content:center; }
.modal-overlay.open { display:flex; }
.modal-box { position:relative; background:var(--surface); border-radius:20px; padding:44px 28px 32px; max-width:420px; width:100%; margin:16px; text-align:center; box-shadow:0 30px 80px rgba(0,0,0,0.35); }
.modal-box .modal-close { position:absolute; top:14px; right:14px; width:34px; height:34px; border-radius:50%; background:color-mix(in srgb, var(--surface) 90%, transparent); border:none; cursor:pointer; font-size:20px; line-height:1; color:var(--ink); display:flex; align-items:center; justify-content:center; transition:background 0.2s; }
.modal-box .modal-close:hover { background:var(--cream-dark); }
.account-modal-icon { width:64px; height:64px; border-radius:50%; background:var(--cream); margin:0 auto 18px; display:flex; align-items:center; justify-content:center; }
.account-modal-icon img { width:28px; height:28px; }
.modal-box .account-modal-eyebrow { font-size:16px; color: var(--accent-ink); margin-bottom:8px; line-height:1.5; }
.modal-box h3 { font-family:'Inter', Arial, sans-serif; font-size:22px; line-height:1.5; color:var(--ink); margin-bottom:10px; }
.modal-box p { font-size:14px; color:var(--text-muted); margin-bottom:24px; line-height:1.65; }
.modal-btns { display:flex; gap:12px; justify-content:center; margin-top:8px; }
.modal-btns a { flex:1; padding:12px 18px; border-radius:8px; font-size:14px; font-weight:700; text-decoration:none; text-align:center; white-space:nowrap; transition:opacity 0.2s, transform 0.15s; }
.modal-btn-primary { background:var(--gold); color:var(--on-gold); box-shadow:0 4px 10px rgba(217, 207, 188,0.26); }
.modal-btn-primary:hover { opacity:0.88; }
.modal-btn-outline { background:transparent; color:var(--ink); border:1px solid var(--brown-mid); font-weight:600; }
.modal-btn-outline:hover { background:var(--cream); }
.cart-layout.is-saving .checkout-btn { pointer-events: none; opacity: .65; }
.cart-layout.is-saving [data-cart-total] { opacity: .75; }
