/* Mareeg Coffee customer mobile app — visual system */
body.customer-mode{--cream:#f7f1e8;--paper:#fffaf3;--ink:#281b13;--brown:#61371f;--gold:#d8a65f;background:var(--cream);font-family:'DM Sans',sans-serif}
body.customer-mode .side{background:#21150f}
body.customer-mode .side .nav button{transition:background .18s,color .18s,transform .18s}
body.customer-mode .side .nav button.active{background:#654027;color:#ffe0ad;box-shadow:inset 0 0 0 1px #8a6241}
body.customer-mode .side .nav .ico{width:22px;height:22px;display:grid;place-items:center}
body.customer-mode .side .nav .ico svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.customer-mode .top{border:0}
body.customer-mode .top h1{font-family:'Playfair Display',serif;letter-spacing:-.4px}
body.customer-mode .welcome{isolation:isolate;background:radial-gradient(circle at 88% 30%,#b88450 0,transparent 28%),linear-gradient(115deg,#26170f,#75472b 72%,#9a6840);border:1px solid #8a6040;box-shadow:0 16px 35px #4a2d1d24}
body.customer-mode .welcome:after{content:'☕';font-size:165px;right:5%;top:0;opacity:.16;z-index:-1}
body.customer-mode .welcome .btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:12px 18px;box-shadow:0 5px 15px #1a100b30}
body.customer-mode .panel{background:var(--paper);border:1px solid #eee2d3;border-radius:20px;box-shadow:0 10px 28px #3924140b}
body.customer-mode .panelhead h3{font-family:'Playfair Display',serif}
body.customer-mode .home-note{display:flex;align-items:center;gap:13px;margin:15px 0 20px;padding:17px;border-radius:18px;background:#efe2d0;border:1px solid #e6d5c0;color:#5a3924}
body.customer-mode .home-note-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#fff8ef;font-size:23px}
body.customer-mode .home-note strong{font-family:'Playfair Display',serif;font-size:15px}
body.customer-mode .home-note p{margin:4px 0 0;color:#8b7562;font-size:11px;line-height:1.5}
body.customer-mode .toolbar{display:block;margin:0 0 14px}
body.customer-mode .search{width:100%;height:50px;border-radius:15px;padding:0 16px;background:#fffdf9;border:1px solid #eadfD2;box-shadow:0 4px 14px #39241408}
body.customer-mode .customer-categories{display:flex;gap:8px;overflow:auto;padding:2px 0 14px;scrollbar-width:none}
body.customer-mode .customer-categories::-webkit-scrollbar{display:none}
body.customer-mode .customer-categories button{flex:0 0 auto;border:1px solid #e8d8c6;background:#fffaf3;color:#73553f;border-radius:999px;padding:9px 15px;font-size:11px;font-weight:600}
body.customer-mode .customer-categories button.active{background:#4b2b19;color:#fff4e6;border-color:#4b2b19}
body.customer-mode .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
body.customer-mode .product{border-radius:17px;background:#fffaf3;border:1px solid #eddfcf;overflow:hidden;box-shadow:0 7px 20px #4028190c;transition:transform .18s,box-shadow .18s}
body.customer-mode .product:active{transform:scale(.985)}
body.customer-mode .prodimg{height:142px;position:relative;overflow:hidden;background:#ead9c4;padding:0}
body.customer-mode .prodimg img{width:100%;height:100%;object-fit:cover;display:block}
body.customer-mode .prodimg:after{content:'';position:absolute;inset:auto 0 0;height:35%;background:linear-gradient(transparent,#25170f22);pointer-events:none}
body.customer-mode .prodinfo{padding:12px 13px 13px}
body.customer-mode .prodinfo h4{font-family:'DM Sans',sans-serif;font-size:13px;font-weight:700;line-height:1.35;min-height:34px;margin:0 0 4px;color:#332217}
body.customer-mode .prodinfo p{font-size:10px;line-height:1.45;color:#958271;min-height:28px;margin:0 0 10px}
body.customer-mode .prodfoot{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.customer-mode .price{font-size:14px;color:#61371f;font-weight:700}
body.customer-mode .product .muted{font-size:10px;color:#6b865a;font-weight:600}
body.customer-mode .customer-order-tabs{display:flex;gap:7px;overflow:auto;margin:0 0 14px;scrollbar-width:none}
body.customer-mode .customer-order-tabs button{border:1px solid #e8d8c6;background:#fffaf3;color:#73553f;border-radius:999px;padding:9px 13px;font-size:10px;font-weight:700;white-space:nowrap}
body.customer-mode .customer-order-tabs button.active{background:#4b2b19;color:#fff4e6;border-color:#4b2b19}
body.customer-mode #customerOrderList{display:grid;gap:11px}
body.customer-mode #customerOrderList .customer-order-card{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid #eee1d1;background:#fffaf3;border-radius:16px;box-shadow:0 5px 16px #39241408}
body.customer-mode .customer-order-thumb{width:62px;height:62px;border-radius:13px;overflow:hidden;background:#ead9c4}
body.customer-mode .customer-order-thumb img{width:100%;height:100%;object-fit:cover}
body.customer-mode .customer-order-info{min-width:0}
body.customer-mode .customer-order-info strong{display:block;font-size:12px;color:#352316}
body.customer-mode .customer-order-info small{display:block;margin-top:5px;color:#9a8878;font-size:9px;line-height:1.45}
body.customer-mode .customer-order-total{text-align:right;font-size:12px;font-weight:700;color:#61371f}
body.customer-mode .customer-order-status{display:inline-block;margin-top:6px;border-radius:999px;padding:5px 7px;background:#e8f0df;color:#587344;font-size:8px;font-weight:700}
body.customer-mode .customer-order-status.pending{background:#f8ecd5;color:#98703d}
body.customer-mode .customer-order-status.cancelled{background:#f6e5e1;color:#a35b4b}
body.customer-mode #myaccount>.panel{background:linear-gradient(145deg,#fffaf2,#f2e4d1)!important;border:1px solid #e5d1b8}
body.customer-mode #myaccount #accountPhoto{width:72px!important;height:72px!important}
body.customer-mode #myaccount #loyaltyPoints{font-family:'Playfair Display',serif}
body.customer-mode #customersettings .panel{background:#fffaf3}
body.customer-mode #customersettings .userbadge{padding:13px;border-radius:15px;background:#f6ecdf}
body.customer-mode #customersettings .userbadge img{width:58px;height:58px;object-fit:cover;border-radius:50%}
body.customer-mode #customersettings .btn{border-radius:12px}
@media(max-width:720px){
 body.customer-mode .main{padding:0 14px 26px}
 body.customer-mode .top{min-height:68px;padding:11px 14px;margin:0 -14px 15px}
 body.customer-mode .welcome{min-height:192px;padding:23px 19px;border-radius:20px;margin-bottom:15px}
 body.customer-mode .welcome h2{font-size:26px;max-width:245px}
 body.customer-mode .welcome p{max-width:230px;font-size:11px}
 body.customer-mode .welcome:after{font-size:128px;right:-3%;top:35px}
 body.customer-mode .welcome .btn{font-size:11px;padding:11px 15px}
 body.customer-mode .panel{padding:15px;margin-bottom:13px}
 body.customer-mode .products{gap:9px}
 body.customer-mode .prodimg{height:116px}
 body.customer-mode .prodinfo{padding:10px}
 body.customer-mode .prodinfo h4{font-size:12px;min-height:32px}
 body.customer-mode .prodinfo p{font-size:9px;min-height:26px}
 body.customer-mode .price{font-size:12px}
 body.customer-mode #customerOrderList .customer-order-card{grid-template-columns:54px minmax(0,1fr) auto;gap:9px;padding:10px}
 body.customer-mode .customer-order-thumb{width:54px;height:54px}
 body.customer-mode .customer-order-total{font-size:11px}
 body.customer-mode .customer-categories button{padding:9px 13px}
 body.customer-mode .home-note{padding:14px}
 body.customer-mode .side{height:calc(72px + env(safe-area-inset-bottom));padding-bottom:calc(7px + env(safe-area-inset-bottom))}
 body.customer-mode .side .nav button{height:58px}
}
@media(min-width:721px){body.customer-mode .main{margin-left:0;width:100%;padding:28px max(28px,calc((100vw - 1060px)/2)) 50px}body.customer-mode .side{display:none!important}body.customer-mode .products{grid-template-columns:repeat(4,minmax(0,1fr))}}

body.customer-mode .product-category{display:inline-flex;align-items:center;margin:0 0 7px;padding:4px 8px;border-radius:999px;background:#f1e4d3;color:#8a6547;font-size:8px;font-weight:700;letter-spacing:.35px;text-transform:uppercase}
@media(max-width:720px){body.customer-mode .product-category{font-size:7px;padding:4px 7px;margin-bottom:6px}}

/* Desktop customer navigation: keep the storefront sections reachable on wide screens. */
@media(min-width:721px){
 body.customer-mode .side{display:flex!important;position:fixed;inset:0 auto 0 0;width:248px;height:100vh;padding:25px 16px;background:#21150f;z-index:35;overflow-y:auto}
 body.customer-mode .side .brand{display:flex!important;padding:0 8px 26px}
 body.customer-mode .side .brand strong{color:#fff4e6}
 body.customer-mode .side .brand small{color:#b6a595}
 body.customer-mode .side .nav{display:grid;gap:6px}
 body.customer-mode .side .nav button{display:flex!important;flex-direction:row;justify-content:flex-start;gap:12px;padding:12px 13px;font-size:12px;min-width:0}
 body.customer-mode .side .nav button span:last-child{display:block!important;font-size:12px}
 body.customer-mode .side .nav .ico{width:22px;height:22px;flex:0 0 22px}
 body.customer-mode .side .nav .ico svg{width:20px;height:20px}
 body.customer-mode .side .sidefoot{display:block;color:#a99888;margin-top:auto}
 body.customer-mode .main{margin-left:248px!important;width:calc(100% - 248px)!important;max-width:none;padding:28px clamp(24px,4vw,64px) 50px!important}
 body.customer-mode .top{max-width:1180px;margin-left:auto;margin-right:auto}
 body.customer-mode .view{max-width:1180px;margin-left:auto;margin-right:auto}
}
@media(max-width:720px){
 body.customer-mode .topright .app-language{padding:6px 7px;font-size:10px;max-width:105px}
 body.customer-mode .topright .userbadge{min-width:0}
 body.customer-mode .topright .userbadge .date{display:none}
}
