/* MICEP Food Store customer account UI — base styles preserved and missing components added */
.store-account-page,.store-account-page *{box-sizing:border-box}
.store-account-page{min-height:65vh;padding:clamp(24px,5vw,54px) 0 64px;background:linear-gradient(180deg,#f4faf6 0,#fff 360px);color:#17352a}
.store-account-wrap{width:min(1080px,calc(100% - 32px));margin:0 auto}
.store-account-wrap.narrow{max-width:620px}
.store-account-card{background:#fff;border:1px solid #dce9e1;border-radius:20px;padding:clamp(22px,4vw,38px);box-shadow:0 12px 35px rgba(6,75,53,.07)}
.store-account-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;color:#087548;font-size:.75rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.store-account-kicker:before{content:"";width:24px;height:3px;border-radius:9px;background:#19a568}
.store-account-card h1{margin:0 0 12px;color:#064b35;font-size:clamp(1.65rem,4vw,2.2rem);line-height:1.15;letter-spacing:-.025em}
.store-account-card h2{margin:30px 0 14px;color:#064b35;font-size:1.25rem}
.store-account-intro{margin:0 0 24px;color:#61766c;line-height:1.7;max-width:65ch}
.store-account-card form{display:grid;grid-template-columns:1fr;gap:16px;margin:22px 0 16px}
.store-account-card form label{display:flex;flex-direction:column;gap:7px;color:#23483a;font-weight:750;font-size:.92rem}
.store-account-card input:not([type=checkbox]),.store-account-card input:not([type=checkbox]):not([type=radio]),.store-account-card select{display:block;width:100%;min-height:48px;padding:12px 14px;border:1px solid #cfdfd6;border-radius:11px;background:#fff;color:#17352a;font:inherit;outline:none;transition:border-color .15s,box-shadow .15s}
.store-account-card input:focus,.store-account-card select:focus{border-color:#168453;box-shadow:0 0 0 4px rgba(22,132,83,.12)}
.store-account-card input[type=checkbox]{width:18px;height:18px;accent-color:#087548}
.store-account-card .store-btn,.store-account-card button[type=submit]{display:inline-flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;padding:12px 18px;border:1px solid #10814f;border-radius:11px;background:#10814f;color:#fff;font:inherit;font-weight:850;text-decoration:none;cursor:pointer;box-shadow:0 5px 14px rgba(16,129,79,.14);transition:background .15s,transform .15s}
.store-account-card .store-btn:hover,.store-account-card button[type=submit]:hover{background:#096a40;transform:translateY(-1px)}
.store-account-card a{color:#087548;font-weight:700;text-underline-offset:3px}
.store-account-card a:hover{color:#064b35}
.store-account-links{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-top:22px;padding-top:18px;border-top:1px solid #e7eee9;font-size:.92rem;line-height:1.7}
.store-account-links .separator{color:#a0b1a8}
.store-account-card .store-alert{margin:14px 0;padding:13px 15px;border-radius:11px;line-height:1.55}
.store-account-card .store-alert.error{border:1px solid #f2c8c4;background:#fff5f4;color:#922b25}
.store-account-card .store-alert.success{border:1px solid #bfe6ce;background:#f0fbf4;color:#17643d}
.store-account-table-wrap{overflow-x:auto;margin-top:14px;border:1px solid #dfeae4;border-radius:12px}
.store-account-table{width:100%;border-collapse:collapse;min-width:850px;background:#fff}
.store-account-table th,.store-account-table td{padding:13px 14px;text-align:left;border-bottom:1px solid #e7eee9;vertical-align:top;font-size:.9rem}
.store-account-table th{background:#f2f8f4;color:#345648;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}
.store-account-table tbody tr:last-child td{border-bottom:0}
.store-account-table tbody tr:hover{background:#f9fcfa}
.store-account-welcome{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.store-account-welcome-copy{flex:1 1 300px;min-width:0}
.store-account-welcome p:not(.store-account-kicker){margin:0;color:#61766c;line-height:1.7;font-size:clamp(1rem,2vw,1.12rem)}
.store-account-avatar{display:flex;flex:0 0 54px;align-items:center;justify-content:center;width:54px;height:54px;border:1px solid #cce5d7;border-radius:50%;background:linear-gradient(145deg,#eaf8ef,#d7f0e2);color:#087548;font-size:1.35rem;font-weight:900}
.store-account-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0 22px}
.store-account-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 15px;border:1px solid #cfe1d7;border-radius:12px;background:#fff;color:#087548;text-align:center;text-decoration:none;line-height:1.35;transition:background .15s,border-color .15s,transform .15s}
.store-account-actions a:hover{background:#f5fbf7;border-color:#91c9a9;transform:translateY(-1px)}
.store-account-actions a.primary{background:#10814f;border-color:#10814f;color:#fff;box-shadow:0 5px 14px rgba(16,129,79,.14)}
.store-account-actions a.primary:hover{background:#096a40}
.store-account-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 30px}
.store-account-shortcuts>a{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;border:1px solid #e0ebe4;border-radius:14px;background:#f9fcfa;color:#17352a;text-decoration:none;transition:border-color .15s,background .15s}
.store-account-shortcuts>a:hover{border-color:#a8d5ba;background:#f2faf5}
.store-shortcut-icon{display:flex;flex:0 0 42px;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#e4f5eb;color:#087548;font-size:1rem;font-weight:850}
.store-shortcut-copy{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}
.store-account-shortcuts strong{color:#064b35;font-size:.96rem;line-height:1.35}
.store-account-shortcuts small{color:#71847a;font-size:.82rem;line-height:1.5;font-weight:500}
.store-shortcut-arrow{position:relative;flex:0 0 14px;width:14px;height:14px}
.store-shortcut-arrow:after{content:"";position:absolute;top:3px;left:2px;width:7px;height:7px;border-right:2px solid #168453;border-top:2px solid #168453;transform:rotate(45deg)}
.store-account-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;padding-top:22px;border-top:1px solid #e7eee9}
.store-account-section-heading .store-account-kicker{margin-bottom:8px}
.store-account-section-heading h2{margin:0}
.store-account-count{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid #d9e9df;border-radius:999px;background:#f2f8f4;color:#426653;font-size:.8rem;font-weight:800;white-space:nowrap}
.store-status,.store-type-pill{display:inline-flex;padding:5px 9px;border:1px solid #dce9e1;border-radius:999px;background:#f2f8f4;color:#345648;font-size:.78rem;font-weight:750;line-height:1.3}
.store-type-pill{background:#f3f8ff;border-color:#d9e5f4;color:#315477}
.store-order-reference{display:inline-block;max-width:190px;overflow-wrap:anywhere;font-weight:850!important}
.store-view-order-link{white-space:nowrap}
.store-account-empty{padding:22px;border:1px dashed #cddfd4;border-radius:12px;background:#f8fcf9;color:#61766c;line-height:1.65}
.store-account-empty p{margin:8px 0 16px}
.store-account-privacy{margin:22px 0 0;padding-top:16px;border-top:1px solid #e7eee9}
.store-account-help{font-size:.88rem;color:#71847a;line-height:1.6}
.store-password-toggle{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;font-weight:600!important;color:#526b5f!important}
@media(min-width:680px){.store-account-card form.store-account-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-account-card form.store-account-form-grid .full-span{grid-column:1/-1}}
/* Pay-in-Bits order summary in the customer dashboard. */
.store-paybits-row>td{padding:10px 14px 16px!important;background:#fbfdfb!important}
.store-paybits-summary{display:grid;gap:10px;padding:14px 15px;border:1px solid #d7e8dd;border-radius:12px;background:#f8fcf9}
.store-paybits-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;color:#064b35}
.store-paybits-heading>span{font-size:.86rem;color:#536c5f}
.store-paybits-track{height:7px;overflow:hidden;border-radius:999px;background:#e2eee6}
.store-paybits-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#10814f,#35b878)}
.store-paybits-detail{display:flex;flex-wrap:wrap;gap:8px 18px;color:#536c5f;font-size:.86rem;line-height:1.5}
.store-paybits-detail strong{color:#17352a}
.store-paybits-complete{font-weight:800;color:#087548}
.store-paybits-actions{display:flex;flex-wrap:wrap;gap:8px}
.store-paybits-actions a{display:inline-flex;justify-content:center;align-items:center;min-height:38px;padding:8px 12px;border:1px solid #cfe1d7;border-radius:9px;background:#fff;color:#087548;text-decoration:none;font-size:.84rem;font-weight:800}
.store-paybits-actions a.store-paybits-pay{background:#10814f;border-color:#10814f;color:#fff}
.store-paybits-actions a.store-paybits-pay:hover{background:#096a40}
.store-paybits-actions a.store-paybits-clear{background:#edf8f1;border-color:#b9dfc9}
/* Address profile form and saved-address cards, retained in this stylesheet. */
.store-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.store-form-full{grid-column:1/-1}
.store-default-choice{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important}
.store-address-list{display:grid;gap:12px;margin-top:14px}
.store-address-card{padding:17px;border:1px solid #dce9e1;border-radius:12px;background:#fbfdfb}
.store-address-card h3{margin:0 0 6px;color:#064b35;font-size:1rem}
.store-address-card p{margin:7px 0;color:#526b5f;line-height:1.6;overflow-wrap:anywhere}
.store-address-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.store-address-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.store-address-actions form{display:inline-flex!important;grid-template-columns:none!important;gap:0!important;margin:0!important}
.store-address-actions a,.store-text-button{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border:1px solid #cfe1d7;border-radius:8px;background:#fff;color:#087548;font:inherit;font-size:.82rem;font-weight:750;text-decoration:none;cursor:pointer}
.store-text-button.danger{border-color:#f1ceca;color:#a22d26}
.store-default-badge{display:inline-flex;margin-left:5px;padding:3px 7px;border-radius:999px;background:#e5f6ec;color:#087548;font-size:.7rem;vertical-align:middle}
.store-profile-form .form-actions{display:flex;gap:10px;flex-wrap:wrap}
.store-profile-form .form-actions>*{flex:1 1 180px}
/* Header account menu styles also apply while outside the dashboard. */
@media(max-width:560px){
 .store-account-page{padding:22px 0 42px}
 .store-account-wrap{width:calc(100% - 22px)}
 .store-account-card{padding:20px 16px;border-radius:15px}
 .store-account-actions{display:grid;grid-template-columns:1fr}
 .store-account-actions a{width:100%}
 .store-account-card .store-btn,.store-account-card button[type=submit]{width:100%}
 .store-account-shortcuts{grid-template-columns:1fr}
 .store-account-avatar{width:46px;height:46px;flex-basis:46px}
 .store-account-section-heading{align-items:flex-start}
 .store-account-table-wrap{overflow:visible;border:0}
 .store-account-table{display:block;min-width:0;width:100%}
 .store-account-table thead{display:none}
 .store-account-table tbody{display:grid;gap:13px}
 .store-account-table tbody tr:not(.store-paybits-row){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:14px;border:1px solid #dfeae4;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(6,75,53,.035)}
 .store-account-table tbody tr:not(.store-paybits-row)>td{display:flex;flex-direction:column;gap:4px;padding:0;border:0;min-width:0;font-size:.84rem;overflow-wrap:anywhere}
 .store-account-table tbody tr:not(.store-paybits-row)>td:before{content:attr(data-label);font-size:.68rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase;color:#72847a}
 .store-account-table tbody tr:not(.store-paybits-row)>td:first-child{grid-column:1/-1;padding-bottom:9px;border-bottom:1px solid #e7eee9}
 .store-account-table tbody tr:not(.store-paybits-row)>td:last-child{grid-column:1/-1;padding-top:4px}
 .store-paybits-row{display:block;border:0!important;background:transparent!important}
 .store-paybits-row>td{display:block;width:100%;padding:0!important;border:0!important;background:transparent!important}
 .store-paybits-summary{padding:13px}
 .store-paybits-actions{display:grid;grid-template-columns:1fr}
 .store-paybits-actions a{width:100%}
 .store-form-grid{grid-template-columns:1fr}
 .store-form-full{grid-column:auto}
 .store-address-head{display:block}
 .store-address-actions{margin-top:10px}
}
@media(prefers-reduced-motion:reduce){.store-account-card *{transition:none!important;scroll-behavior:auto!important}}


/* Store sign-in password visibility and clean link separators */
.store-login-password-field{display:flex;align-items:stretch;gap:0;width:100%;min-width:0}
.store-account-card .store-login-password-field input{flex:1 1 auto;width:1%;min-width:0;border-top-right-radius:0;border-bottom-right-radius:0}
.store-account-card .store-login-password-toggle{flex:0 0 auto;min-width:68px;padding:0 13px;border:1px solid #cfdfd6;border-left:0;border-radius:0 11px 11px 0;background:#f4faf6;color:#087548;font:inherit;font-weight:800;cursor:pointer;box-shadow:none}
.store-account-card .store-login-password-toggle:hover{background:#e8f5ed;color:#064b35}
.store-account-card .store-login-password-toggle:focus-visible{outline:3px solid rgba(22,132,83,.25);outline-offset:2px}
.store-account-links .separator{display:inline-block;color:#9aada2;padding:0 2px;user-select:none}
@media(max-width:560px){.store-account-links{gap:7px 9px}.store-account-card .store-login-password-toggle{min-width:62px;padding:0 10px}}
