/* Checkout and customer orders follow the storefront's selected palette. */
body.customer-page{min-height:100vh;background:var(--page);color:var(--ink);font-family:'IRANSans',Tahoma,Arial,sans-serif}
body.customer-page .checkout-top,body.customer-page .customer-top{background:var(--surface);border-bottom:1px solid var(--line);color:var(--ink)}
body.customer-page .checkout-top-inner,body.customer-page .customer-top-inner{max-width:1120px;margin:auto;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px}
body.customer-page .checkout-brand,body.customer-page .customer-brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:900;font-size:1rem}
body.customer-page .checkout-brand i,body.customer-page .customer-brand i{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:14px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;font-size:1.25rem}
body.customer-page .checkout-lead h1,body.customer-page .orders-hero h1{color:var(--ink)}
body.customer-page .checkout-lead p,body.customer-page .orders-hero p{color:var(--muted)}
body.customer-page .eyebrow{color:var(--accent);font-weight:900;font-size:.78rem}
body.customer-page .check-card,body.customer-page .orders-list .card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);box-shadow:0 12px 32px rgba(0,0,0,.055)}
body.customer-page .check-card h2,body.customer-page .orders-list .card h2{color:var(--ink)}
body.customer-page .check-card h2 i{color:var(--accent)}
body.customer-page .check-card p,body.customer-page .orders-list .muted{color:var(--muted)}
body.customer-page .check-grid th{background:var(--pale);color:var(--ink)}
body.customer-page .check-grid td{color:var(--ink)}
body.customer-page .check-grid th,body.customer-page .check-grid td,body.customer-page .orders-list .item{border-bottom-color:var(--line)}
body.customer-page .field label{color:var(--ink)}
body.customer-page .field input,body.customer-page .field textarea,body.customer-page .otp-row input{background:var(--surface);border-color:var(--line);color:var(--ink)}
body.customer-page .field input:focus,body.customer-page .field textarea:focus,body.customer-page .otp-row input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--pale)}
body.customer-page input::placeholder,body.customer-page textarea::placeholder{color:var(--muted)}
body.customer-page .primary,body.customer-page .orders-list .button{background:var(--action);color:var(--action-text);border:1px solid transparent;border-radius:12px;font-weight:900;box-shadow:0 5px 15px rgba(0,0,0,.12)}
body.customer-page .primary:hover,body.customer-page .orders-list .button:hover{background:var(--action-hover);color:var(--action-text);box-shadow:0 9px 22px rgba(0,0,0,.2)}
body.customer-page .primary:focus-visible,body.customer-page .orders-list .button:focus-visible{outline:3px solid var(--action);outline-offset:3px}
body.customer-page .primary:disabled,body.customer-page .primary[disabled]{opacity:.58;cursor:not-allowed;box-shadow:none}
body.customer-page .secondary,body.customer-page .customer-back,body.customer-page .qty-control a{background:var(--pale);color:var(--accent);border-radius:12px}
body.customer-page .total,body.customer-page .check-note{background:var(--pale);color:var(--ink)}
body.customer-page .check-note i{color:var(--accent)}
body.customer-page .checkout-foot,body.customer-page .customer-foot{color:var(--muted);text-align:center;font-size:.75rem;padding:22px 16px}
body.customer-page.orders-entry .checkout{max-width:700px}
body.customer-page.orders-entry .checkout-layout{display:block}
body.customer-page.orders-entry .checkout-summary{display:none}
body.customer-page .orders-main{max-width:960px;margin:0 auto;padding:30px 18px 65px}
body.customer-page .orders-hero{padding:25px 28px;margin-bottom:20px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(125deg,var(--hero1),var(--hero2))}
body.customer-page .orders-hero h1{margin:5px 0;font-size:clamp(1.45rem,3vw,2rem)}
body.customer-page .orders-hero p{margin:0;font-size:.88rem}
body.customer-page .customer-back{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;text-decoration:none;font-weight:800;font-size:.82rem}
body.customer-page .orders-list .card{padding:23px;margin:15px 0}
body.customer-page .orders-list .card h2{font-size:1.05rem;margin:0 0 8px}
body.customer-page .orders-list .card p{margin:0}
body.customer-page .orders-list .row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
body.customer-page .orders-list .item{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:.85rem}
body.customer-page .orders-list .item:first-of-type{margin-top:14px;border-top:1px solid var(--line)}
body.customer-page .orders-list .item span:last-child{white-space:nowrap}
body.customer-page .orders-list .muted{font-size:.82rem}
body.customer-page .orders-list .amount{font-size:1rem;font-weight:900}
body.customer-page .orders-list .badge{display:inline-block;padding:6px 12px;border-radius:999px;font-size:.78rem;font-weight:900}
body.customer-page .orders-list .badge.paid{background:#e0f7e9;color:#116b43}
body.customer-page .orders-list .badge.pending{background:#fff0c4;color:#755000}
body.customer-page .orders-list .button{display:inline-block;padding:9px 14px;text-decoration:none;font-size:.8rem;font-weight:900}
body.customer-page .orders-list a:not(.button){color:var(--accent);font-weight:800;text-decoration:none}
body.customer-page.theme-vesta .checkout-brand i,body.customer-page.theme-vesta .customer-brand i{color:#1c1b18}
@media(max-width:600px){body.customer-page .checkout-top-inner,body.customer-page .customer-top-inner{padding:12px 14px}body.customer-page .orders-main{padding:16px 12px 40px}body.customer-page .orders-hero{padding:20px}body.customer-page .orders-list .card{padding:18px}body.customer-page .customer-back{font-size:.73rem;padding:9px}body.customer-page .checkout-brand,body.customer-page .customer-brand{font-size:.85rem}}
