@font-face{font-family:Vazirmatn;src:url('/assets/css/vazirmatn.woff2') format('woff2');font-display:swap}*{box-sizing:border-box} :root{--primary:#a63721;--secondary:#d5aa53;--ink:#292520;--muted:#7b756f;--line:#ece6df;--paper:#fffdf9}body{margin:0;background:#f3efe9;color:var(--ink);font-family:Vazirmatn,Tahoma,sans-serif;line-height:1.8;background-size:cover;background-attachment:fixed}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button,.button{border:0;border-radius:10px;background:var(--primary);color:white;padding:10px 18px;cursor:pointer;font-weight:bold;text-decoration:none;text-align:center}button:hover{filter:brightness(.95)}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid var(--secondary);outline-offset:3px}input,select,textarea{width:100%;min-height:46px;border:1px solid #d9d3ca;border-radius:10px;background:white;color:#292520;padding:10px 12px}input[type=color]{height:48px;padding:4px}label{display:block;font-size:14px;font-weight:500}label input,label select{display:block;margin:5px 0 12px}a{color:var(--primary)}h1,h2,h3,p{margin:0 0 12px}h1{font-size:28px;line-height:1.5}h2{font-size:22px}h3{font-size:17px}small,.muted{color:var(--muted);font-size:12px}img{max-width:100%;object-fit:cover}form{display:grid;gap:8px}.card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:18px;box-shadow:0 4px 18px #40302004}.row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ghost{background:transparent;color:var(--primary);border:1px solid var(--line)}.danger{background:#aa2831}.actions{display:flex;gap:6px;flex-wrap:wrap}.check{display:flex;align-items:center;gap:8px}.check input{width:20px;min-height:20px;margin:0}.notice{position:fixed;z-index:200;top:16px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);background:#242c2a;color:white;border:1px solid #ffffff30;padding:14px 20px;border-radius:12px;box-shadow:0 6px 24px #0003;display:flex;gap:20px;align-items:center}.notice button{background:transparent;padding:0 7px;font-size:22px}.customer{max-width:540px;margin:auto;background:var(--paper);min-height:100vh;padding-bottom:90px;box-shadow:0 0 80px #25120913}.hero{color:#fff;background-size:cover;background-position:center;min-height:220px;padding:22px 26px 34px}.hero h1{font-size:30px;margin:0}.hero p{margin:0;color:#fcead6}.hero img{border-radius:12px}.tablebadge{padding:4px 14px;border:1px solid var(--secondary);border-radius:12px;background:#0004}.menuhead{padding:24px 20px 8px;background:var(--paper);border-radius:26px 26px 0 0;margin-top:-20px;position:relative}.menuhead h2{margin-bottom:0}.categories{display:flex;gap:8px;overflow-x:auto;padding:16px 0}.categories button{min-width:66px;flex:1;background:#f1ede7;color:#4e4439;padding:9px;font-size:13px}.categories button span{display:block;font-size:23px}.categories .selected{background:var(--primary);color:#fff}.products{padding:0 16px}.product{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:18px;border:1px solid var(--line);border-radius:16px;padding:9px;margin-bottom:12px;background:#fff}.product>div:last-child{flex:1}.product h3{margin:0 0 4px;font-size:17px}.product p{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 6px}.product strong{color:var(--primary);font-size:15px}.product select{min-height:32px;padding:2px 6px;margin-bottom:6px}.foodphoto{width:112px;height:112px;flex-shrink:0;position:relative}.foodphoto img{width:100%;height:100%;border-radius:12px}.foodphoto button{position:absolute;bottom:-2px;left:-2px;border:3px solid #fff;width:36px;height:36px;border-radius:100%;padding:0;font-size:24px;line-height:29px}.cartbar{display:flex;justify-content:space-between;align-items:center;margin:16px;width:calc(100% - 32px);padding:20px 16px;background:linear-gradient(110deg,var(--primary),color-mix(in srgb,var(--primary),#000 20%));box-shadow:0 6px 20px #0002}.bottomnav{position:fixed;bottom:0;width:100%;max-width:540px;background:#fffffff2;backdrop-filter:blur(10px);border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:8px 8px max(8px,env(safe-area-inset-bottom));z-index:20}.bottomnav button{position:relative;background:transparent;color:#807a73;min-width:70px;padding:0;font-size:12px}.bottomnav button span{display:block;font-size:23px;line-height:32px}.bottomnav button.active{color:var(--primary)}.bottomnav b{position:absolute;top:0;left:2px;border-radius:50%;min-width:21px;background:var(--primary);color:white}.pad{padding:24px 18px}.stepper{display:flex;align-items:center;gap:14px}.stepper button{padding:4px 12px}.auth{max-width:450px;margin:32px auto}.installer{max-width:600px;padding:30px;margin:40px auto;background:white;border-radius:22px}.badge{display:inline-block;padding:4px 12px;border-radius:8px;font-size:12px;background:#f4ead8;color:#97641d}.badge.preparing,.badge.ready{background:#e7f3eb;color:#2a7650}.badge.cancelled{background:#fce5e5;color:#a52d2d}.badge.delivered{background:#e9edf3;color:#55637b}.order small{float:left}.wallet{background:linear-gradient(120deg,var(--primary),#192e27);color:white}.wallet small{color:white}.tablewrap{overflow:auto;margin:12px 0;border-radius:12px;border:1px solid var(--line);background:white}table{width:100%;border-collapse:collapse;font-size:13px;text-align:right;white-space:nowrap}th,td{padding:13px 16px;border-bottom:1px solid var(--line)}th{background:#f6f5f2;color:#625d56}td button{font-size:12px;padding:6px 10px}.thumb{width:66px;height:56px;object-fit:cover;border-radius:8px}.upload{padding:12px;border:1px dashed #c6bdae;border-radius:12px}.upload input{margin-bottom:0;border:0;padding:0}body[data-theme=spring]{--paper:#fffdfd;background-color:#f5eef1}body[data-theme=summer]{--paper:#fcfeff;background-color:#eaf5f7}body[data-theme=autumn]{--paper:#fffaf2;background-color:#f4e7d5}body[data-theme=winter]{--paper:#fcfdff;background-color:#e8f0f7}@media(max-width:640px){.grid{grid-template-columns:1fr}.card{padding:16px}.row>label{flex:1;min-width:160px}.hero h1{font-size:27px}.product h3{font-size:16px}.foodphoto{width:102px;height:106px}.installer{margin:10px}.auth{margin:20px 12px}}

/* Customer layout: mobile first, with tablet and desktop grids. */
.customer{max-width:1280px;padding-bottom:calc(90px + env(safe-area-inset-bottom))}
.customer .bottomnav{max-width:1280px;left:50%;transform:translateX(-50%)}
.customer .products{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.customer .product{margin-bottom:0;min-width:0}
.customer .product>div:last-child{min-width:0;overflow-wrap:anywhere}
.customer .product select{max-width:100%}
.customer .pad{max-width:900px;margin-inline:auto;overflow-wrap:anywhere}
.customer .cartbar{gap:12px;flex-wrap:wrap}
.install-banner{max-width:1280px;margin:auto;padding:14px 20px;background:#fff5e7;border-bottom:1px solid var(--line);color:var(--ink)}
.install-banner[hidden],.install-banner [hidden]{display:none!important}
.install-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.install-copy{flex:1;min-width:180px}
.install-copy p{margin:2px 0 0;font-size:13px}
.install-actions{display:flex;gap:8px;flex-wrap:wrap}
.install-help{margin:12px 0 0;padding:12px;border-radius:10px;background:var(--paper);font-size:14px}
@media(min-width:700px){
 .customer .hero{min-height:290px;padding:30px 36px 48px}
 .customer .hero h1{font-size:38px}
 .customer .menuhead{padding:28px 28px 12px}
 .customer .menuhead>input{max-width:520px}
 .customer .categories{gap:12px;flex-wrap:wrap}
 .customer .categories button{flex:0 1 auto;min-width:100px;padding:10px 20px}
 .customer .products{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 28px;gap:18px}
 .customer .product{padding:12px}
 .customer .cartbar{margin:24px 28px;width:calc(100% - 56px)}
 .customer .bottomnav button{min-width:110px}
 .customer .pad{padding:32px}
 .install-banner{padding:16px 28px}
}
@media(min-width:1100px){
 .customer .products{grid-template-columns:repeat(3,minmax(0,1fr))}
 .customer .hero{min-height:320px}
 .customer .product{gap:12px}
}
@media(max-width:359px){
 .customer .foodphoto{width:84px;height:96px}
 .customer .product{gap:10px}
 .customer .bottomnav button{min-width:0;flex:1}
 .install-banner{padding:12px}
}

.loading-menu{padding:64px 24px;text-align:center;min-height:65vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.loading-menu h1{font-size:24px}.loading-pulse{width:40px;height:40px;border:4px solid var(--line);border-top-color:var(--primary);border-radius:50%;animation:ellar-spin 1s linear infinite}@keyframes ellar-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading-pulse{animation:none}}.bank-details{padding:16px;margin:12px 0;background:#fbf5eb;border:1px solid var(--line);border-radius:12px;min-width:0}.bank-details input[type=file]{max-width:100%;font-size:13px}.bank-number{font-size:22px;font-weight:bold;letter-spacing:1px;overflow-wrap:anywhere;text-align:right;user-select:all}.receipt-preview{display:block;max-width:100%;max-height:260px;object-fit:contain;margin:8px 0}.payment-error{background:#fff0f0;color:#9c2525;padding:12px;border-radius:10px}.preparation{background:#e7f3eb;color:#246547;padding:12px;border-radius:10px}.badge.awaiting_payment{background:#fff0d4;color:#85530a}

.checkout-options{display:grid;gap:10px;margin:16px 0}.site-credit{text-align:center;padding:24px 16px;font-size:12px;color:var(--muted)}.site-credit a{font-weight:bold;text-underline-offset:4px}.location-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.location-actions p,.location-actions label{width:100%}.location-actions a,.location-actions button{font-size:13px}.order-alerts{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--paper);margin:0 0 20px}.order-alerts small{display:block;margin:8px 0}.order-alerts p{margin:8px 0}

.auto-notice{animation:notice-expire var(--notice-duration,2s) step-end forwards}@keyframes notice-expire{to{visibility:hidden;opacity:0;pointer-events:none}}
