
:root{--white:#FFFFFF;--grey:#E5E5E5;--orange:#FCA311;--navy:#14213D;--black:#000;--muted:#667080;--soft:#f7f8fa;--danger:#9b2c2c}
*{box-sizing:border-box}html{background:#f4f6f8}body{margin:0;background:#f4f6f8;color:var(--navy);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}
.shell{width:min(100%,980px);margin:auto;padding:14px}.header{background:#fff;border:1px solid var(--grey);border-radius:20px;padding:16px;display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.brand-kicker,.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:850;color:#6b7280;text-transform:uppercase}.brand,.title{font-family:Georgia,serif;font-weight:800}.brand{font-size:32px;line-height:1}.title{font-size:29px;margin:4px 0 10px}
.small{font-size:12px}.muted{color:var(--muted)}
/* 2026-09-08 · Sedapo image download deterrence (buyer + admin) */
img{-webkit-user-drag:none;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}

.hidden{display:none!important}.section-space{margin-top:14px}.row{display:flex;justify-content:space-between;gap:10px;align-items:center}
.nav,.subnav{display:flex;gap:7px;overflow:auto;scrollbar-width:none}.nav{padding:10px 0}.subnav{padding:2px 0 10px}.nav::-webkit-scrollbar,.subnav::-webkit-scrollbar{display:none}
.btn{min-height:44px;border:1px solid #d0d0d0;border-radius:12px;padding:9px 12px;background:#fff;color:var(--navy);font-weight:760;white-space:nowrap}
.btn.primary{background:var(--orange);border-color:var(--orange);color:#000;font-weight:900}.btn.selected{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:inset 0 -3px 0 var(--orange)}
.btn.secondary{background:var(--grey)}.btn.danger{color:var(--danger)}.btn:disabled{opacity:.35;cursor:not-allowed}
.file-action{display:flex;align-items:center;justify-content:center;text-align:center;cursor:pointer}.file-action.is-disabled{opacity:.35;cursor:not-allowed;pointer-events:none}
.card,.soft{border-radius:18px;padding:16px}.card{background:#fff;border:1px solid var(--grey)}.soft{background:var(--soft);border:1px solid var(--grey)}
.grid{display:grid;gap:12px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.input{width:100%;min-height:47px;border:1px solid #d1d1d1;border-radius:12px;padding:10px 12px;background:#fff;color:#000;font-size:16px}textarea.input{min-height:85px;resize:vertical}.input.invalid{border:2px solid var(--orange);background:#fffaf0}.validation{font-size:12px;color:#8a5700;margin-top:5px;font-weight:750}
.toast{position:sticky;top:8px;z-index:50;background:var(--navy);border-left:4px solid var(--orange);color:#fff;padding:11px 13px;border-radius:12px;font-weight:760;margin:8px 0}
.closed-banner{background:var(--navy);color:#fff;border-left:5px solid var(--orange);border-radius:18px;padding:16px;margin-bottom:12px}
.food-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.food-card{background:#fff;border:1px solid var(--grey);border-radius:18px;padding:15px;overflow:hidden}.food-card.dimmed{opacity:.34;filter:grayscale(.4) saturate(.4)}.food-card.sold{opacity:.44;filter:grayscale(.22) saturate(.48)}
.photo-wrap{position:relative;border-radius:15px;overflow:hidden;background:var(--grey)}.food-photo{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.food-card.sold .food-photo{filter:brightness(.48) grayscale(.35) saturate(.45)}
.sold-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.sold-overlay span{background:rgba(20,33,61,.95);color:#fff;border:2px solid var(--orange);padding:10px 18px;border-radius:999px;font-size:15px;font-weight:900;letter-spacing:.12em}
.food-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:10px}.food-name{font-family:Georgia,serif;font-size:20px;font-weight:800;margin:5px 0}.pill{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:var(--grey);font-size:10px;font-weight:850}.pill.dark{background:var(--navy);color:#fff}.pill.orange{background:var(--orange);color:#000}
.qty{display:flex;gap:8px;align-items:center}.qty .btn{min-width:44px}.order-card{background:#fff;border:1px solid #d7d7d7;border-left:4px solid var(--orange);border-radius:16px;padding:14px}.summary{background:var(--navy);color:#fff;border-radius:16px;padding:13px;text-align:center}.summary b{display:block;color:var(--orange);font-size:23px;margin-top:3px}
.bar{height:10px;background:var(--grey);border-radius:999px;overflow:hidden}.bar span{height:100%;display:block;background:var(--orange);border-radius:999px}.sticky-order{position:sticky;bottom:8px;z-index:20;margin-top:14px}.center{text-align:center}
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.48);display:flex;align-items:center;justify-content:center;padding:16px;z-index:100}.modal{width:min(100%,480px);background:#fff;border-radius:20px;padding:20px;box-shadow:0 20px 70px rgba(0,0,0,.3)}
.print-paper{background:#fff;color:#000;padding:15px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;margin:0 auto;border:1px solid #ccc}.print-paper.w80{max-width:80mm}.print-paper.w58{max-width:58mm;font-size:12px}.dash{border-top:1px dashed #000;margin-top:9px;padding-top:9px}
.pagination{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin-top:12px}
@media(max-width:640px){.food-grid{grid-template-columns:1fr}.grid.two,.grid.three,.grid.four,.grid.five{grid-template-columns:1fr}.mobile-two{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media print{body{background:#fff}.no-print{display:none!important}.shell{width:auto;padding:0}.print-paper{border:none;margin:0}}

/* Buyer checkout · one-reward-at-a-time UX */
.reward-benefits{border:2px solid var(--orange)}
.reward-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.reward-choice{width:100%;min-height:78px;border:1px solid #d6d8dc;border-radius:14px;background:#fff;color:var(--navy);padding:12px;text-align:left;display:flex;gap:10px;align-items:flex-start;white-space:normal;cursor:pointer}
.reward-choice b{display:block;font-size:14px}.reward-choice small{display:block;color:var(--muted);font-size:11px;line-height:1.35;margin-top:3px;font-weight:600}
.reward-radio{width:18px;height:18px;min-width:18px;border:2px solid #9aa1aa;border-radius:50%;margin-top:1px;position:relative}
.reward-choice.selected{border:2px solid var(--navy);background:#f7f8fb;box-shadow:inset 0 -3px 0 var(--orange)}
.reward-choice.selected .reward-radio{border-color:var(--navy)}.reward-choice.selected .reward-radio:after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--orange)}
.reward-choice.unavailable{opacity:.42;background:#f4f4f4}
.reward-panel{border-top:1px solid var(--grey);padding-top:14px}.reward-panel.needs-attention{border:2px solid var(--orange);border-radius:14px;padding:14px;background:#fffaf0}
.reward-entry-grid{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}
.reward-notice{border:2px solid var(--orange);border-left-width:6px;border-radius:14px;background:#fff7e8;color:#6b4300;padding:12px 13px}
.reward-notice b{color:#6b4300;font-size:14px}.reward-notice .small{line-height:1.45}
#benefitSummaryRow{border:1px solid #d7dbe1;background:#f8f9fb}
@media(max-width:640px){.reward-choice-grid{grid-template-columns:1fr}.reward-choice{min-height:64px}.reward-entry-grid{grid-template-columns:minmax(0,1fr) auto}.reward-entry-grid .btn.danger{grid-column:1/-1;width:100%}}

/* ========================================================================
   SEDAPO Buyer UI 2026-09-06
   Warm food-delivery visual system inspired by the supplied mobile references.
   Scoped to body.buyer-ui so Admin mechanics and styling remain unchanged.
   ======================================================================== */
body.buyer-ui{
  --buyer-bg:#fff7ee;
  --buyer-surface:#ffffff;
  --buyer-surface-2:#fff1df;
  --buyer-orange:#f58020;
  --buyer-orange-deep:#e9650c;
  --buyer-orange-soft:#ffe0c4;
  --buyer-ink:#172033;
  --buyer-muted:#747b87;
  --buyer-line:#f0e3d6;
  --buyer-shadow:0 12px 34px rgba(100,60,24,.10);
  --buyer-shadow-sm:0 6px 18px rgba(100,60,24,.08);
  background:
    radial-gradient(circle at 7% 0%,rgba(245,128,32,.10),transparent 28rem),
    linear-gradient(180deg,#fffaf4 0%,var(--buyer-bg) 100%);
  color:var(--buyer-ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  padding-bottom:calc(92px + env(safe-area-inset-bottom));
}
body.buyer-ui .shell.buyer-shell{width:min(100%,1060px);padding:18px 18px 0;margin:0 auto;}
body.buyer-ui .brand,body.buyer-ui .title{font-family:inherit;color:var(--buyer-ink)}
body.buyer-ui .brand{font-size:25px;line-height:.92;letter-spacing:-.04em;font-weight:950}
body.buyer-ui .brand-kicker,body.buyer-ui .eyebrow{color:#9b6b41;letter-spacing:.12em;font-weight:900}
body.buyer-ui .title{letter-spacing:-.04em;font-weight:900}
body.buyer-ui .muted{color:var(--buyer-muted)}
body.buyer-ui .small{line-height:1.5}
body.buyer-ui .section-space{margin-top:16px}

body.buyer-ui .buyer-topbar{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:4px 2px 16px;background:transparent;
}
body.buyer-ui .save-app-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:12px 14px;border:1px solid #f0d8c2;border-radius:16px;background:#fffaf4}
body.buyer-ui .save-app-banner .btn{flex:0 0 auto}
body.buyer-ui .save-app-backdrop{position:fixed;inset:0;z-index:500;background:rgba(20,33,61,.62);display:grid;place-items:center;padding:18px;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
body.buyer-ui .save-app-sheet{width:min(100%,470px);max-height:min(88vh,760px);overflow:auto;background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:27px;box-shadow:0 28px 90px rgba(9,19,40,.38)}
body.buyer-ui .save-app-accent{display:flex;align-items:center;gap:12px;padding:19px 20px;color:#fff;background:linear-gradient(120deg,var(--buyer-orange),var(--buyer-orange-deep))}
body.buyer-ui .save-app-mark{width:48px;height:48px;flex:0 0 auto;display:block;object-fit:contain;border-radius:12px;background:#fff;box-shadow:0 6px 14px rgba(110,42,0,.15)}
body.buyer-ui .save-app-accent>div:nth-child(2){display:grid;gap:3px}
body.buyer-ui .save-app-kicker{font-size:9px;font-weight:900;letter-spacing:.16em;color:#fff}
body.buyer-ui .save-app-accent b{font-size:14px;letter-spacing:.01em}
body.buyer-ui .save-app-close{margin-left:auto;width:34px;height:34px;border:1px solid rgba(255,255,255,.24);border-radius:50%;color:#fff;background:rgba(255,255,255,.1);font-size:24px;line-height:1;cursor:pointer}
body.buyer-ui .save-app-content{padding:22px 20px 20px}
body.buyer-ui .save-app-tag{display:inline-flex;padding:6px 9px;border-radius:999px;color:#96520f;background:#fff1df;font-size:9px;font-weight:900;letter-spacing:.1em}
body.buyer-ui .save-app-sheet h2{font-size:26px;line-height:1.12;color:#14213D;margin:12px 0 8px}
body.buyer-ui .save-app-intro{margin:0 0 17px;line-height:1.5;color:#737d8d;font-size:13px}
body.buyer-ui .save-app-platform-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;border-radius:14px;background:#f2f4f7}
body.buyer-ui .save-app-platform-tabs button{min-height:40px;border:0;border-radius:10px;color:#657083;background:transparent;font:inherit;font-size:11px;font-weight:850;cursor:pointer}
body.buyer-ui .save-app-platform-tabs button.selected{color:#fff;background:#f27916;box-shadow:0 4px 10px rgba(242,121,22,.2)}
body.buyer-ui .save-app-help{display:grid;gap:8px;margin:14px 0}
body.buyer-ui .save-app-step{display:flex;align-items:center;gap:11px;padding:10px 11px;border:1px solid #eceff3;border-radius:14px;background:#fff}
body.buyer-ui .save-app-step>span{flex:0 0 31px;width:31px;height:31px;display:grid;place-items:center;border-radius:10px;color:#b05a0a;background:#fff1df;font-size:10px;font-weight:950}
body.buyer-ui .save-app-step>div{display:grid;gap:2px;min-width:0}
body.buyer-ui .save-app-step b{color:#202b40;font-size:12px}
body.buyer-ui .save-app-step small{color:#778191;font-size:10px;line-height:1.35}
body.buyer-ui .save-app-browser-note{margin:12px 0;padding:10px 12px;border-left:3px solid #f27916;border-radius:0 10px 10px 0;color:#687487;background:#fff8ef;font-size:10px;line-height:1.45}
body.buyer-ui #saveAppInstallAction{margin-top:12px}
body.buyer-ui .save-app-later{width:100%;margin-top:8px;border-color:#e9edf2;background:#fff;color:#687487;font-size:11px}
body.buyer-ui .buyer-brand-lockup{display:flex;align-items:center;gap:10px;min-width:0}
body.buyer-ui .buyer-brand-mark{
  width:44px;height:44px;border-radius:14px;display:grid;place-items:center;flex:0 0 auto;
  color:#fff;background:linear-gradient(145deg,var(--buyer-orange),var(--buyer-orange-deep));
  font-size:25px;font-weight:950;font-style:italic;box-shadow:0 9px 20px rgba(229,101,12,.24);
}
body.buyer-ui .kitchen-status{
  border:1px solid #d9eadc;background:#eff9f0;color:#26703a;border-radius:999px;
  padding:8px 11px;font-size:11px;font-weight:900;letter-spacing:.04em;white-space:nowrap;
}
body.buyer-ui .toast{
  position:fixed;top:max(14px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);
  width:min(calc(100% - 28px),520px);z-index:300;background:var(--buyer-ink);border:0;
  box-shadow:0 18px 50px rgba(23,32,51,.22);border-radius:16px;padding:13px 16px;text-align:center;
}

body.buyer-ui .buyer-hero{
  position:relative;min-height:310px;overflow:hidden;border-radius:30px;padding:34px 34px 30px;
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(260px,.92fr);align-items:center;
  background:
    radial-gradient(circle at 90% 22%,rgba(255,255,255,.30),transparent 11rem),
    linear-gradient(135deg,#fc922c 0%,#f06b12 68%,#e7570a 100%);
  color:#fff;box-shadow:0 22px 52px rgba(217,88,11,.20);
}
body.buyer-ui .buyer-hero:before{
  content:"";position:absolute;width:290px;height:290px;border-radius:50%;right:-120px;top:-135px;
  border:48px solid rgba(255,255,255,.08);
}
body.buyer-ui .hero-copy{position:relative;z-index:2;max-width:560px}
body.buyer-ui .hero-chip{
  display:inline-flex;border-radius:999px;padding:7px 10px;background:rgba(95,32,0,.18);
  color:#fff;font-size:10px;letter-spacing:.11em;font-weight:900;
}
body.buyer-ui .hero-copy h1{font-size:clamp(34px,5.1vw,57px);line-height:.98;letter-spacing:-.055em;margin:14px 0 13px;font-weight:950}
body.buyer-ui .hero-copy h1 em{font-style:normal;color:#fff2df}
body.buyer-ui .hero-copy p{margin:0 0 22px;max-width:430px;font-size:14px;line-height:1.55;color:rgba(255,255,255,.88);font-weight:650}
body.buyer-ui .hero-cta{
  display:inline-flex;align-items:center;gap:16px;background:#fff;color:#b94500;border-radius:999px;
  padding:12px 18px;font-size:13px;font-weight:900;box-shadow:0 10px 24px rgba(99,34,0,.17);
}
body.buyer-ui .hero-cta span{font-size:18px;line-height:1}
body.buyer-ui .hero-art{height:250px;position:relative;display:flex;align-items:center;justify-content:center;z-index:1}
body.buyer-ui .hero-art .hero-orb{position:absolute;width:228px;height:228px;border-radius:50%;background:rgba(255,242,223,.24);right:14px}
body.buyer-ui .hero-art img{position:relative;width:min(100%,275px);max-height:250px;filter:drop-shadow(0 24px 24px rgba(99,31,0,.28));transform:rotate(-3deg);z-index:2}
body.buyer-ui .hero-mini-card{
  position:absolute;right:2px;bottom:0;z-index:3;background:#fff;color:var(--buyer-ink);padding:10px 13px;border-radius:14px;
  box-shadow:0 12px 24px rgba(110,38,0,.16);display:grid;gap:1px;min-width:138px;
}
body.buyer-ui .hero-mini-card b{font-size:12px}.hero-mini-card span{font-size:9px;color:var(--buyer-muted);font-weight:700}

body.buyer-ui .closed-banner{
  margin:0 0 14px;background:var(--buyer-ink);border:0;border-radius:20px;padding:17px 18px;color:#fff;box-shadow:var(--buyer-shadow-sm)
}
body.buyer-ui .closed-banner .eyebrow{color:#ffc58c}.buyer-ui .closed-banner .title{font-size:22px;color:#fff;margin:5px 0 2px}

body.buyer-ui .buyer-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
body.buyer-ui .quick-action{
  border:1px solid var(--buyer-line);background:rgba(255,255,255,.88);border-radius:20px;padding:13px;
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;text-align:left;color:var(--buyer-ink);
  box-shadow:var(--buyer-shadow-sm);cursor:pointer;
}
body.buyer-ui .quick-icon{width:42px;height:42px;border-radius:14px;background:var(--buyer-orange-soft);display:grid;place-items:center;color:var(--buyer-orange-deep)}
body.buyer-ui .quick-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.buyer-ui .quick-action b{display:block;font-size:13px}.buyer-ui .quick-action small{display:block;color:var(--buyer-muted);font-size:10px;margin-top:2px;font-weight:650;white-space:normal}
body.buyer-ui .quick-arrow{font-size:25px;color:#b8a596}

body.buyer-ui .buyer-search-wrap{position:relative;margin:18px 0 22px}
body.buyer-ui .search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:21px;height:21px;fill:none;stroke:#7b7b7b;stroke-width:1.8;stroke-linecap:round;z-index:2}
body.buyer-ui .input{
  border:1px solid #ebdfd3;background:#fff;border-radius:15px;min-height:50px;padding:11px 14px;color:var(--buyer-ink);
  box-shadow:0 2px 0 rgba(70,40,16,.015);outline:none;transition:border-color .2s,box-shadow .2s,background .2s;
}
body.buyer-ui .input:focus{border-color:#f2a35f;box-shadow:0 0 0 4px rgba(245,128,32,.10)}
body.buyer-ui .buyer-search{padding-left:48px;min-height:56px;border-radius:18px;box-shadow:var(--buyer-shadow-sm);border-color:transparent}
body.buyer-ui .buyer-search::placeholder{color:#9b9b9b}

body.buyer-ui .menu-section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:4px 2px 10px}
body.buyer-ui .menu-section-heading h2{font-size:23px;letter-spacing:-.04em;margin:2px 0 0;font-weight:900}
body.buyer-ui .menu-live-dot,.buyer-ui .menu-result-count{font-size:10px;color:var(--buyer-muted);font-weight:800;white-space:nowrap}
body.buyer-ui .menu-live-dot{display:flex;align-items:center;gap:6px}.buyer-ui .menu-live-dot i{width:7px;height:7px;border-radius:50%;background:#40a55b;box-shadow:0 0 0 4px #e4f5e8}
body.buyer-ui .food-heading{margin-top:23px}

body.buyer-ui .category-nav{gap:10px;padding:2px 2px 8px;margin:0 -2px;overflow:auto;scroll-snap-type:x proximity}
body.buyer-ui .category-tile{
  min-width:90px;border:1px solid var(--buyer-line);background:#fff;border-radius:20px;padding:10px 9px 9px;color:var(--buyer-ink);
  display:flex;flex-direction:column;align-items:center;gap:7px;box-shadow:var(--buyer-shadow-sm);scroll-snap-align:start;cursor:pointer;
}
body.buyer-ui .category-icon{
  width:48px;height:48px;border-radius:16px;background:#fff2e2;display:grid;place-items:center;color:#c95608;transition:.2s;
}
body.buyer-ui .category-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.buyer-ui .category-label{font-size:11px;font-weight:850;max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.buyer-ui .category-tile.selected{border-color:#f6c396;background:#fff9f2;box-shadow:0 10px 22px rgba(191,84,5,.10)}
body.buyer-ui .category-tile.selected .category-icon{background:linear-gradient(145deg,#ffac59,var(--buyer-orange));color:#fff;box-shadow:0 8px 18px rgba(229,101,12,.22)}
body.buyer-ui .subnav{gap:8px;padding:5px 1px 7px}
body.buyer-ui .subnav .btn{min-height:36px;border-radius:999px;padding:7px 12px;background:#fff;color:var(--buyer-muted);border:1px solid var(--buyer-line);font-size:11px;font-weight:800;box-shadow:none}
body.buyer-ui .subnav .btn.selected{background:var(--buyer-ink);color:#fff;border-color:var(--buyer-ink);box-shadow:none}

body.buyer-ui .food-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
body.buyer-ui .food-card{
  position:relative;background:#fff;border:1px solid var(--buyer-line);border-radius:23px;padding:0;overflow:hidden;
  box-shadow:var(--buyer-shadow-sm);transition:transform .18s ease,box-shadow .18s ease;
}
@media(hover:hover){body.buyer-ui .food-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(100,60,24,.12)}}
body.buyer-ui .food-card.dimmed,body.buyer-ui .food-card.sold{opacity:.55}
body.buyer-ui .photo-wrap{border-radius:0;background:#fff0df;overflow:hidden;aspect-ratio:1.32/1}
body.buyer-ui .food-photo{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;display:block}
body.buyer-ui .product-code,body.buyer-ui .product-low{
  position:absolute;top:11px;padding:6px 8px;border-radius:999px;font-size:9px;font-weight:950;letter-spacing:.05em;z-index:2;backdrop-filter:blur(8px)
}
body.buyer-ui .product-code{left:11px;background:rgba(255,255,255,.92);color:var(--buyer-ink)}
body.buyer-ui .product-low{right:11px;background:#fff0bf;color:#985d00}
body.buyer-ui .sold-overlay{background:rgba(23,32,51,.28)}
body.buyer-ui .sold-overlay span{background:rgba(23,32,51,.94);border:0;border-radius:999px;padding:8px 13px;font-size:10px;box-shadow:0 8px 18px rgba(0,0,0,.16)}
body.buyer-ui .product-body{padding:14px}
body.buyer-ui .product-category{font-size:9px;color:#b16a33;text-transform:uppercase;letter-spacing:.11em;font-weight:900}
body.buyer-ui .food-name{font-family:inherit;font-size:17px;line-height:1.14;min-height:38px;font-weight:900;letter-spacing:-.025em;margin:5px 0 10px;color:var(--buyer-ink)}
body.buyer-ui .product-price-row{display:flex;justify-content:space-between;align-items:center;gap:8px}
body.buyer-ui .food-price{font-size:17px;color:var(--buyer-orange-deep);letter-spacing:-.02em}
body.buyer-ui .product-availability{font-size:9px;color:#579068;font-weight:800;white-space:nowrap}
body.buyer-ui .pill{border-radius:999px;font-size:9px;padding:5px 7px;background:#f5f0eb;color:var(--buyer-muted)}
body.buyer-ui .pill.orange{background:#fff0d8;color:#a45800}
body.buyer-ui .product-remark{min-height:42px;margin-top:11px;border-radius:12px;padding:9px 10px;font-size:12px;background:#fffaf5}
body.buyer-ui .product-action-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:center;margin-top:10px}
body.buyer-ui .product-qty{display:grid;grid-template-columns:34px 27px 34px;align-items:center;gap:0;border:1px solid var(--buyer-line);border-radius:999px;padding:3px;background:#fffaf5}
body.buyer-ui .product-qty .btn{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--buyer-ink);font-size:18px;box-shadow:none}
body.buyer-ui .product-qty b{text-align:center;font-size:12px}
body.buyer-ui .addCart{min-height:42px;border:0;border-radius:999px;padding:9px 12px;background:linear-gradient(135deg,var(--buyer-orange),var(--buyer-orange-deep));color:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:900;box-shadow:0 8px 16px rgba(229,101,12,.18)}
body.buyer-ui .menu-empty{grid-column:1/-1;background:#fff;border:1px dashed #e5d4c5;border-radius:22px;padding:36px 20px;text-align:center;display:grid;justify-items:center;gap:5px;color:var(--buyer-ink)}
body.buyer-ui .menu-empty-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#fff1e2;color:var(--buyer-orange-deep);font-size:23px}.buyer-ui .menu-empty small{color:var(--buyer-muted)}

body.buyer-ui .sticky-order{position:sticky;bottom:calc(82px + env(safe-area-inset-bottom));z-index:80;margin:18px auto 0;width:min(100%,640px);pointer-events:none}
body.buyer-ui .cart-cta{
  pointer-events:auto;width:100%;min-height:64px;border:0;border-radius:22px;padding:9px 10px 9px 14px;
  display:flex;justify-content:space-between;align-items:center;background:var(--buyer-ink);color:#fff;
  box-shadow:0 16px 40px rgba(23,32,51,.25);font-weight:900;
}
body.buyer-ui .cart-cta:disabled{opacity:.48}.buyer-ui .cart-cta-main{display:flex;align-items:center;gap:11px}.buyer-ui .cart-bag-icon{width:40px;height:40px;border-radius:14px;background:var(--buyer-orange);display:grid;place-items:center}
body.buyer-ui .cart-bag-icon svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.buyer-ui .cart-cta-copy{text-align:left;display:grid;gap:1px}.buyer-ui .cart-cta-copy small{font-size:9px;color:#cbd0d9;letter-spacing:.08em}.buyer-ui .cart-cta-copy strong{font-size:12px;letter-spacing:.03em}.buyer-ui .cart-cta>b{font-size:17px;padding:10px 13px;border-radius:15px;background:rgba(255,255,255,.09)}

body.buyer-ui .buyer-bottom-nav{
  position:fixed;left:50%;transform:translateX(-50%);bottom:max(8px,env(safe-area-inset-bottom));z-index:200;
  width:min(calc(100% - 20px),740px);height:70px;border:1px solid rgba(229,212,197,.94);border-radius:24px;padding:6px 7px;
  display:grid;grid-template-columns:repeat(5,1fr);align-items:center;background:rgba(255,255,255,.95);
  box-shadow:0 15px 42px rgba(92,59,31,.18);backdrop-filter:blur(18px);
}
body.buyer-ui .buyer-bottom-nav .page{
  position:relative;height:56px;border:0;background:transparent;border-radius:17px;color:#858585;padding:5px 2px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:9px;font-weight:800;cursor:pointer;
}
body.buyer-ui .bottom-icon{position:relative;width:27px;height:26px;display:grid;place-items:center}
body.buyer-ui .bottom-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.buyer-ui .buyer-bottom-nav .page.selected{background:#fff3e7;color:var(--buyer-orange-deep);box-shadow:none}
body.buyer-ui .buyer-bottom-nav .primary-tab{margin-top:-20px;height:65px;background:linear-gradient(145deg,var(--buyer-orange),var(--buyer-orange-deep));color:#fff;border-radius:21px;box-shadow:0 9px 22px rgba(229,101,12,.26)}
body.buyer-ui .buyer-bottom-nav .primary-tab.selected{background:linear-gradient(135deg,var(--buyer-orange),var(--buyer-orange-deep));color:#fff;box-shadow:0 9px 22px rgba(229,101,12,.26)}
body.buyer-ui .nav-badge{position:absolute;top:-5px;right:-7px;min-width:17px;height:17px;border-radius:999px;display:grid;place-items:center;background:#de2f20;color:#fff;border:2px solid #fff;font-size:8px;font-style:normal;font-weight:950;padding:0 3px}

/* Secondary buyer pages */
body.buyer-ui main>section:not(#menu){max-width:820px;margin:0 auto;padding-top:8px}
body.buyer-ui main>section:not(#menu)>.eyebrow:first-child{margin-top:8px;color:#aa6f3c}
body.buyer-ui main>section:not(#menu)>.title{font-size:34px;margin:3px 0 14px}
body.buyer-ui .card,body.buyer-ui .soft,body.buyer-ui .order-card{
  border:1px solid var(--buyer-line);background:#fff;border-radius:21px;box-shadow:var(--buyer-shadow-sm)
}
body.buyer-ui .soft{background:#fffaf5;box-shadow:none}
body.buyer-ui .order-card{border-left:4px solid var(--buyer-orange);padding:15px}
body.buyer-ui .btn{border:1px solid #e6d9cd;border-radius:14px;background:#fff;color:var(--buyer-ink);font-weight:850;min-height:46px;box-shadow:none}
body.buyer-ui .btn.primary{background:linear-gradient(135deg,var(--buyer-orange),var(--buyer-orange-deep));border-color:transparent;color:#fff;box-shadow:0 8px 18px rgba(229,101,12,.13)}
body.buyer-ui .btn.secondary{background:#fff7ef;border-color:#eadbcf;color:var(--buyer-ink)}
body.buyer-ui .btn.selected{background:var(--buyer-ink);border-color:var(--buyer-ink);color:#fff;box-shadow:none}
body.buyer-ui .btn.danger{color:#a22929;background:#fff8f8;border-color:#efd1d1}
body.buyer-ui .reward-benefits{border:2px solid #f2c191;background:#fffaf5}
body.buyer-ui .reward-choice{border-color:#eadbcf;border-radius:16px}.buyer-ui .reward-choice.selected{border-color:var(--buyer-orange);background:#fff5ea;box-shadow:none}.buyer-ui .reward-choice.selected .reward-radio{border-color:var(--buyer-orange-deep)}.buyer-ui .reward-choice.selected .reward-radio:after{background:var(--buyer-orange)}
body.buyer-ui .reward-notice{border-color:#efae6e;background:#fff5e9;color:#7c4b1e}.buyer-ui .reward-notice b{color:#7c4b1e}
body.buyer-ui .summary{background:var(--buyer-ink);border-radius:18px}.buyer-ui .summary b{color:#ffad5a}
body.buyer-ui .bar span{background:var(--buyer-orange)}
body.buyer-ui .validation{color:#a75910}
body.buyer-ui #qrPanel,body.buyer-ui #paymentProofPanel{border-color:#efad68!important;background:#fffaf5!important}
body.buyer-ui #buyerPointBalance{color:var(--buyer-orange-deep)!important}
body.buyer-ui #trackStatus{background:var(--buyer-ink);color:#fff}

@media(max-width:820px){
  body.buyer-ui .food-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.buyer-ui .buyer-hero{grid-template-columns:1fr minmax(210px,.72fr);padding:29px 26px;min-height:285px}
  body.buyer-ui .hero-art{height:220px}.buyer-ui .hero-art img{max-height:215px}
}
@media(max-width:600px){
  body.buyer-ui{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  body.buyer-ui .shell.buyer-shell{padding:12px 12px 0}
  body.buyer-ui .buyer-topbar{padding:2px 2px 12px}.buyer-ui .buyer-brand-mark{width:40px;height:40px;border-radius:13px;font-size:22px}.buyer-ui .buyer-brand-icon-logo{width:40px;height:40px;border-radius:13px}.buyer-ui .buyer-brand-wordmark-logo{max-height:40px;max-width:min(205px,53vw)}.buyer-ui .brand{font-size:23px}.buyer-ui .brand-kicker{font-size:8px}.buyer-ui .kitchen-status{font-size:9px;padding:7px 9px}
  body.buyer-ui .buyer-hero{display:block;min-height:360px;padding:25px 22px;border-radius:26px}
  body.buyer-ui .hero-copy{position:relative;z-index:4;width:72%}.buyer-ui .hero-copy h1{font-size:36px;line-height:.98}.buyer-ui .hero-copy p{font-size:12px;max-width:270px}.buyer-ui .hero-cta{padding:10px 15px}
  body.buyer-ui .hero-art{position:absolute;right:-22px;bottom:3px;width:54%;height:225px}.buyer-ui .hero-art .hero-orb{right:-34px;width:205px;height:205px}.buyer-ui .hero-art img{width:220px;max-width:none}.buyer-ui .hero-mini-card{display:none}
  body.buyer-ui .buyer-quick-actions{grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.buyer-ui .quick-action{padding:10px;grid-template-columns:auto minmax(0,1fr);border-radius:17px}.buyer-ui .quick-icon{width:36px;height:36px;border-radius:12px}.buyer-ui .quick-action small,.buyer-ui .quick-arrow{display:none}.buyer-ui .quick-action b{font-size:11px}
  body.buyer-ui .buyer-search-wrap{margin:15px 0 19px}.buyer-ui .buyer-search{min-height:52px;font-size:14px}
  body.buyer-ui .menu-section-heading h2{font-size:21px}.buyer-ui .menu-live-dot{display:none}
  body.buyer-ui .category-tile{min-width:79px;border-radius:18px;padding:9px 7px 8px}.buyer-ui .category-icon{width:44px;height:44px}.buyer-ui .category-label{font-size:10px;max-width:68px}
  body.buyer-ui .food-grid{grid-template-columns:1fr;gap:13px}
  body.buyer-ui .food-card{display:grid;grid-template-columns:132px minmax(0,1fr);border-radius:21px;min-height:186px}.buyer-ui .photo-wrap{aspect-ratio:auto;height:100%;min-height:186px}.buyer-ui .product-body{padding:13px 12px}.buyer-ui .food-name{font-size:16px;min-height:0;margin:4px 0 8px}.buyer-ui .product-remark{min-height:38px;margin-top:9px;font-size:11px}.buyer-ui .product-action-row{grid-template-columns:auto minmax(72px,1fr);gap:7px;margin-top:8px}.buyer-ui .product-qty{grid-template-columns:29px 24px 29px}.buyer-ui .product-qty .btn{width:29px;min-width:29px;height:29px;min-height:29px}.buyer-ui .addCart{min-height:37px;padding:7px 10px}.buyer-ui .product-price-row{align-items:flex-start}.buyer-ui .product-availability{display:none}.buyer-ui .product-code{top:9px;left:8px}.buyer-ui .product-low{top:9px;right:8px}
  body.buyer-ui .sticky-order{bottom:calc(78px + env(safe-area-inset-bottom));margin-top:14px}.buyer-ui .cart-cta{min-height:59px;border-radius:19px;padding:8px 9px 8px 11px}.buyer-ui .cart-bag-icon{width:36px;height:36px;border-radius:12px}.buyer-ui .cart-cta>b{font-size:14px;padding:9px 10px}
  body.buyer-ui .buyer-bottom-nav{width:calc(100% - 16px);bottom:max(6px,env(safe-area-inset-bottom));height:66px;border-radius:22px}.buyer-ui .buyer-bottom-nav .page{height:52px;font-size:8px}.buyer-ui .buyer-bottom-nav .primary-tab{height:61px;margin-top:-17px}
  body.buyer-ui main>section:not(#menu)>.title{font-size:29px}
  body.buyer-ui .reward-choice-grid{grid-template-columns:1fr}
}
@media(max-width:370px){
  body.buyer-ui .hero-copy{width:78%}.buyer-ui .hero-copy h1{font-size:32px}.buyer-ui .hero-art{right:-34px;width:56%}
  body.buyer-ui .food-card{grid-template-columns:118px minmax(0,1fr)}
  body.buyer-ui .product-action-row{grid-template-columns:1fr}.buyer-ui .product-qty{justify-self:start}
}
body.buyer-ui .kitchen-status.closed{background:#fff0ee;border-color:#f2d1cc;color:#a43d31}
body.buyer-ui .food-card,body.buyer-ui .photo-wrap,body.buyer-ui .product-body{min-width:0}
body.buyer-ui .photo-wrap{width:100%}
body.buyer-ui .food-photo{max-width:100%}
body.buyer-ui .sticky-order.cart-empty{display:none}

/* ========================================================================
   SEDAPO Admin UI 2026-09-06
   Desktop POS / restaurant management visual refresh inspired by the supplied
   reference screens. Scoped to body.admin-ui so the refreshed Buyer UI stays
   exactly on its existing body.buyer-ui visual system.
   ======================================================================== */
body.admin-ui{
  --admin-bg:#f3f2ef;
  --admin-shell:#fbfbfa;
  --admin-panel:#ffffff;
  --admin-panel-2:#faf9f7;
  --admin-ink:#202226;
  --admin-muted:#7c7f86;
  --admin-line:#ece9e4;
  --admin-line-strong:#dedbd4;
  --admin-orange:#ef870b;
  --admin-orange-deep:#dd7600;
  --admin-orange-soft:#fff1df;
  --admin-green:#49bf86;
  --admin-red:#df514a;
  --admin-yellow:#f3bb42;
  --admin-shadow:0 24px 70px rgba(71,61,46,.10);
  --admin-shadow-sm:0 8px 25px rgba(71,61,46,.06);
  margin:0;
  background:
    radial-gradient(circle at 100% 0%,rgba(239,135,11,.08),transparent 28rem),
    linear-gradient(145deg,#e7e7e5 0%,#f6efe5 100%);
  color:var(--admin-ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.admin-ui .admin-shell{
  width:min(100%,1660px);
  margin:0 auto;
  padding:24px;
}
body.admin-ui .admin-portal{
  min-height:calc(100vh - 48px);
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr);
  background:var(--admin-shell);
  border:1px solid rgba(255,255,255,.85);
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--admin-shadow);
}
body.admin-ui .brand,
body.admin-ui .title{
  font-family:inherit;
  color:var(--admin-ink);
}
body.admin-ui .brand{font-size:28px;line-height:1.05;letter-spacing:-.035em;font-weight:900}
body.admin-ui .title{font-size:32px;line-height:1.08;letter-spacing:-.04em;font-weight:900;margin:5px 0 8px}
body.admin-ui h2.title{letter-spacing:-.025em}
body.admin-ui .brand-kicker,
body.admin-ui .eyebrow{
  font-size:10px;
  letter-spacing:.12em;
  font-weight:900;
  color:#97989c;
}
body.admin-ui .muted{color:var(--admin-muted)}
body.admin-ui .small{font-size:12px;line-height:1.5}
body.admin-ui .section-space{margin-top:16px}

/* Login */
body.admin-ui #loginScreen{min-height:calc(100vh - 48px);display:grid;place-items:center!important;margin:0!important;max-width:none!important}
body.admin-ui #loginScreen.hidden{display:none!important}
body.admin-ui #loginScreen .card{width:min(100%,430px);padding:34px;border-radius:26px;box-shadow:var(--admin-shadow);border:1px solid rgba(255,255,255,.9)}
body.admin-ui #loginScreen .card:before{content:"S";display:grid;place-items:center;width:54px;height:54px;margin-bottom:22px;border-radius:17px;background:linear-gradient(145deg,#ff9d28,var(--admin-orange));color:#fff;font-size:27px;font-weight:950;box-shadow:0 12px 28px rgba(239,135,11,.22)}
body.admin-ui #loginScreen .brand{font-size:34px}

/* Header */
body.admin-ui .admin-header{
  grid-column:2;
  grid-row:1;
  min-height:96px;
  border:0;
  border-bottom:1px solid var(--admin-line);
  border-radius:0;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  padding:20px 28px;
  align-items:center;
  position:sticky;
  top:0;
  z-index:35;
}
body.admin-ui .admin-header-copy{min-width:0}
body.admin-ui .admin-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
body.admin-ui .admin-kitchen-chip{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 12px;border:1px solid #dcebe3;background:#f3fbf6;border-radius:999px;color:#2c7750;font-size:11px;white-space:nowrap}
body.admin-ui .admin-kitchen-chip #kitchenStatus{font-size:11px;letter-spacing:.015em}
body.admin-ui .admin-live-dot{width:8px;height:8px;border-radius:50%;background:var(--admin-green);box-shadow:0 0 0 4px rgba(73,191,134,.12)}
body.admin-ui .admin-header .pill.dark{background:#f4f3f1;color:#575b61;border:1px solid var(--admin-line);font-size:9px;letter-spacing:.04em}
body.admin-ui .admin-header #logoutBtn{min-height:38px;padding:7px 12px}

/* Sidebar */
body.admin-ui .admin-sidebar{
  grid-column:1;
  grid-row:1 / span 2;
  display:flex;
  flex-direction:column;
  gap:4px;
  overflow-y:auto;
  overflow-x:hidden;
  padding:22px 14px 18px;
  background:#fff;
  border-right:1px solid var(--admin-line);
  scrollbar-width:thin;
}
body.admin-ui .admin-sidebar-brand{display:flex;align-items:center;gap:11px;padding:2px 8px 22px;margin-bottom:6px;border-bottom:1px solid var(--admin-line)}
body.admin-ui .admin-sidebar-mark{width:40px;height:40px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:linear-gradient(145deg,#ff9e2b,var(--admin-orange));color:#fff;font-size:21px;font-weight:950;box-shadow:0 9px 20px rgba(239,135,11,.20)}
body.admin-ui .admin-sidebar-brand b{display:block;font-size:15px;line-height:1.1;letter-spacing:.03em}
body.admin-ui .admin-sidebar-brand span{display:block;margin-top:3px;color:var(--admin-muted);font-size:10px}
body.admin-ui .admin-nav-group{padding:14px 10px 6px;font-size:9px;letter-spacing:.13em;font-weight:900;color:#b1b0ad}
body.admin-ui .admin-sidebar .btn.page{
  width:100%;
  min-height:46px;
  border:0;
  border-radius:13px;
  background:transparent;
  box-shadow:none;
  color:#73777e;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding:9px 11px;
  text-align:left;
  font-size:12px;
  font-weight:750;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
body.admin-ui .admin-sidebar .btn.page:before{content:attr(data-icon);display:grid;place-items:center;flex:0 0 auto;width:27px;height:27px;border-radius:9px;background:#f7f6f4;color:#8b8d91;font-size:15px;font-weight:800}
body.admin-ui .admin-sidebar .btn.page:hover{background:#faf8f5;color:var(--admin-ink);transform:translateX(1px)}
body.admin-ui .admin-sidebar .btn.page.selected{background:var(--admin-orange-soft);color:var(--admin-orange-deep);font-weight:900}
body.admin-ui .admin-sidebar .btn.page.selected:before{background:#fff7ed;color:var(--admin-orange)}
body.admin-ui .admin-sidebar .btn.page:disabled{opacity:.42;cursor:not-allowed;transform:none}
body.admin-ui .admin-sidebar-footer{margin-top:auto;padding:14px 10px 0;border-top:1px solid var(--admin-line);color:#8e9094}
body.admin-ui .admin-sidebar-footer span{display:block;font-size:10px;font-weight:800}
body.admin-ui .admin-sidebar-footer small{display:block;margin-top:3px;font-size:9px;color:#b0b1b4}

/* Main workspace */
body.admin-ui .admin-main{
  grid-column:2;
  grid-row:2;
  min-width:0;
  padding:28px;
  background:#faf9f7;
}
body.admin-ui .admin-main>section{width:100%;max-width:1380px;margin:0 auto}
body.admin-ui .admin-main>section>.row:first-child{align-items:flex-start}
body.admin-ui .admin-main .nav:not(.admin-sidebar){gap:7px;padding:10px 0 4px}
body.admin-ui .admin-main .nav:not(.admin-sidebar) .btn{min-height:38px;padding:7px 12px;border-radius:999px;border-color:var(--admin-line);background:#fff;color:#73777d;font-size:11px;font-weight:780;box-shadow:none}
body.admin-ui .admin-main .nav:not(.admin-sidebar) .btn.selected{background:var(--admin-orange-soft);border-color:#f7d2a5;color:var(--admin-orange-deep);box-shadow:none}

/* Surfaces */
body.admin-ui .card,
body.admin-ui .soft,
body.admin-ui .order-card{
  border-color:var(--admin-line);
  background:var(--admin-panel);
  box-shadow:var(--admin-shadow-sm);
}
body.admin-ui .card{border-radius:19px;padding:18px}
body.admin-ui .soft{border-radius:16px;padding:15px;background:#faf9f7;box-shadow:none}
body.admin-ui .order-card{border:1px solid var(--admin-line);border-left:3px solid #f0a03b;border-radius:18px;padding:17px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
body.admin-ui .order-card:hover{transform:translateY(-1px);box-shadow:0 13px 32px rgba(71,61,46,.09);border-color:#e3ded6}
body.admin-ui #ordersList{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.admin-ui #complaintsList,
body.admin-ui #emailNotificationsList,
body.admin-ui #memberList,
body.admin-ui #activityList{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.admin-ui #cmsList{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.admin-ui #crmRewardsList{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}

/* KPI cards */
body.admin-ui .summary{
  position:relative;
  overflow:hidden;
  min-height:104px;
  border:1px solid var(--admin-line);
  border-radius:18px;
  background:#fff;
  color:var(--admin-ink);
  text-align:left;
  padding:18px;
  box-shadow:var(--admin-shadow-sm);
}
body.admin-ui .summary:before{content:"";position:absolute;right:16px;top:16px;width:9px;height:9px;border-radius:50%;background:var(--admin-orange);box-shadow:0 0 0 7px rgba(239,135,11,.09)}
body.admin-ui .summary .eyebrow{color:#8e9095!important}
body.admin-ui .summary b{display:block;color:var(--admin-ink);font-size:25px;letter-spacing:-.025em;margin-top:11px;line-height:1.1}
body.admin-ui .grid>.summary:nth-child(2):before{background:var(--admin-green);box-shadow:0 0 0 7px rgba(73,191,134,.09)}
body.admin-ui .grid>.summary:nth-child(3):before{background:var(--admin-red);box-shadow:0 0 0 7px rgba(223,81,74,.09)}
body.admin-ui .grid>.summary:nth-child(4):before{background:var(--admin-yellow);box-shadow:0 0 0 7px rgba(243,187,66,.11)}
body.admin-ui .grid>.summary:nth-child(5):before{background:#8f94f5;box-shadow:0 0 0 7px rgba(143,148,245,.10)}

/* Buttons and inputs */
body.admin-ui .btn{min-height:42px;border:1px solid var(--admin-line-strong);border-radius:11px;padding:8px 12px;background:#fff;color:#52565d;font-weight:780;box-shadow:0 2px 6px rgba(71,61,46,.025);transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
body.admin-ui .btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 7px 18px rgba(71,61,46,.08)}
body.admin-ui .btn.primary{background:linear-gradient(180deg,#f6951f 0%,var(--admin-orange) 100%);border-color:var(--admin-orange);color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(239,135,11,.17)}
body.admin-ui .btn.primary:hover:not(:disabled){background:linear-gradient(180deg,#f89b2c 0%,#e77c04 100%)}
body.admin-ui .btn.secondary{background:#f4f3f1;border-color:#ebe8e2;color:#55595f}
body.admin-ui .btn.danger{background:#fff7f6;border-color:#f1d0cd;color:#b53630}
body.admin-ui .btn.selected{background:var(--admin-orange-soft);border-color:#f4d3aa;color:var(--admin-orange-deep);box-shadow:none}
body.admin-ui .input{
  min-height:46px;
  border:1px solid #e1ded8;
  border-radius:11px;
  background:#fff;
  color:var(--admin-ink);
  padding:10px 12px;
  font-size:14px;
  outline:none;
  box-shadow:inset 0 1px 0 rgba(0,0,0,.012);
  transition:border-color .15s ease,box-shadow .15s ease;
}
body.admin-ui .input:focus{border-color:#f0b569;box-shadow:0 0 0 4px rgba(239,135,11,.09)}
body.admin-ui textarea.input{min-height:96px}
body.admin-ui .input::placeholder{color:#a4a5a8}
body.admin-ui input[type="checkbox"]{accent-color:var(--admin-orange)}
body.admin-ui .pill{border-radius:999px;background:#f1f0ee;color:#666a70;padding:5px 9px;font-size:9px;letter-spacing:.035em;font-weight:900}
body.admin-ui .pill.orange{background:var(--admin-orange-soft);color:#b45f00}
body.admin-ui .pill.dark{background:#292b2f;color:#fff}
body.admin-ui .validation{color:#a96400}
body.admin-ui #emailFailureAlert{background:#fff7ef;border:1px solid #f3c890;color:#8f5200!important}

/* Page-specific management layouts */
body.admin-ui #stockList .card,
body.admin-ui #archiveOrderList .card{margin-bottom:12px}
body.admin-ui #detailItems,
body.admin-ui #customerBox{box-shadow:var(--admin-shadow-sm)}
body.admin-ui #deliveryPhotoGallery img,
body.admin-ui #imagePreview{border:1px solid var(--admin-line);box-shadow:var(--admin-shadow-sm)}
body.admin-ui .bar{background:#efede9;height:8px}
body.admin-ui .bar span{background:linear-gradient(90deg,#f5a33e,var(--admin-orange))}
body.admin-ui .pagination{margin-top:16px;padding-top:12px;border-top:1px solid var(--admin-line)}
body.admin-ui .toast{position:fixed;right:28px;top:24px;z-index:200;max-width:min(420px,calc(100vw - 32px));background:#292b2f;border:0;border-left:4px solid var(--admin-orange);color:#fff;padding:12px 15px;border-radius:13px;box-shadow:0 15px 38px rgba(0,0,0,.18)}

/* Tables */
body.admin-ui table{background:#fff;border-radius:14px;overflow:hidden}
body.admin-ui table th{padding:11px 10px!important;background:#faf9f7;color:#8d8f94;font-size:10px;letter-spacing:.055em;text-transform:uppercase;font-weight:900;border-bottom:1px solid var(--admin-line)!important}
body.admin-ui table td{padding:11px 10px!important;border-bottom:1px solid #f0eeea;color:#4c5056;font-size:12px;vertical-align:top}
body.admin-ui table tbody tr:hover{background:#fffaf4}
body.admin-ui table tbody tr:last-child td{border-bottom:0}

/* Modals */
body.admin-ui .modal-backdrop{background:rgba(31,31,30,.42);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
body.admin-ui .modal{width:min(100%,520px);border:1px solid rgba(255,255,255,.86);border-radius:24px;padding:24px;box-shadow:0 28px 90px rgba(27,24,20,.24)}

/* Scrollbars */
body.admin-ui *{scrollbar-color:#d8d4cd transparent;scrollbar-width:thin}
body.admin-ui ::-webkit-scrollbar{width:8px;height:8px}
body.admin-ui ::-webkit-scrollbar-track{background:transparent}
body.admin-ui ::-webkit-scrollbar-thumb{background:#d8d4cd;border-radius:999px}

/* Tablet */
@media(max-width:1180px){
  body.admin-ui .admin-shell{padding:14px}
  body.admin-ui .admin-portal{min-height:calc(100vh - 28px);grid-template-columns:196px minmax(0,1fr);border-radius:24px}
  body.admin-ui .admin-sidebar{padding-left:10px;padding-right:10px}
  body.admin-ui .admin-sidebar .btn.page{font-size:11px;padding-left:9px;padding-right:8px}
  body.admin-ui .admin-main{padding:22px}
  body.admin-ui #ordersList,
  body.admin-ui #complaintsList,
  body.admin-ui #emailNotificationsList,
  body.admin-ui #memberList,
  body.admin-ui #activityList{grid-template-columns:1fr}
  body.admin-ui #cmsList{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Mobile / compact tablet: top header + horizontal management rail */
@media(max-width:860px){
  body.admin-ui{background:#f7f5f1}
  body.admin-ui .admin-shell{padding:0;width:100%}
  body.admin-ui .admin-portal{display:block;min-height:100vh;border:0;border-radius:0;box-shadow:none;background:#faf9f7;overflow:visible}
  body.admin-ui .admin-header{position:sticky;top:0;z-index:45;min-height:76px;padding:13px 15px;border-bottom:1px solid var(--admin-line)}
  body.admin-ui .admin-header .brand-kicker,
  body.admin-ui .admin-header .small{display:none}
  body.admin-ui .admin-header .brand{font-size:21px}
  body.admin-ui .admin-header-actions{gap:6px}
  body.admin-ui .admin-kitchen-chip{min-height:34px;padding:0 9px}
  body.admin-ui .admin-kitchen-chip #kitchenStatus{font-size:9px}
  body.admin-ui .admin-header .pill.dark{display:none}
  body.admin-ui .admin-header #logoutBtn{min-height:34px;font-size:10px;padding:6px 9px}
  body.admin-ui .admin-sidebar{
    position:sticky;top:76px;z-index:40;
    width:100%;height:auto;max-height:none;
    flex-direction:row;align-items:center;
    overflow-x:auto;overflow-y:hidden;
    padding:8px 11px;
    border-right:0;border-bottom:1px solid var(--admin-line);
    gap:6px;white-space:nowrap;
  }
  body.admin-ui .admin-sidebar-brand,
  body.admin-ui .admin-nav-group,
  body.admin-ui .admin-sidebar-footer{display:none}
  body.admin-ui .admin-sidebar .btn.page{width:auto;min-height:38px;min-width:max-content;padding:6px 10px;border:1px solid transparent;border-radius:12px;font-size:10px;gap:6px}
  body.admin-ui .admin-sidebar .btn.page:before{width:23px;height:23px;border-radius:7px;font-size:12px}
  body.admin-ui .admin-sidebar .btn.page.selected{border-color:#f5d4ae}
  body.admin-ui .admin-main{padding:18px 14px 34px}
  body.admin-ui .title{font-size:28px}
  body.admin-ui .summary{min-height:94px;padding:15px}
  body.admin-ui .summary b{font-size:22px}
  body.admin-ui #cmsList,
  body.admin-ui #crmRewardsList{grid-template-columns:1fr}
  body.admin-ui .toast{top:86px;right:12px;left:12px;max-width:none}
}

@media(max-width:640px){
  body.admin-ui .admin-header-copy{max-width:44vw}
  body.admin-ui .admin-header .brand{font-size:18px}
  body.admin-ui .admin-live-dot{display:none}
  body.admin-ui .admin-kitchen-chip{padding:0 8px}
  body.admin-ui .admin-main{padding:16px 12px 28px}
  body.admin-ui .admin-main>section>.row:first-child{gap:10px;align-items:flex-start}
  body.admin-ui .admin-main>section>.row:first-child>.btn{max-width:44%;white-space:normal}
  body.admin-ui .grid.two,
  body.admin-ui .grid.three,
  body.admin-ui .grid.four,
  body.admin-ui .grid.five{grid-template-columns:1fr}
  body.admin-ui .mobile-two{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.admin-ui #ordersList,
  body.admin-ui #complaintsList,
  body.admin-ui #emailNotificationsList,
  body.admin-ui #memberList,
  body.admin-ui #activityList{grid-template-columns:1fr}
  body.admin-ui .order-card .row{align-items:flex-start}
  body.admin-ui .pagination{grid-template-columns:1fr 1fr}
  body.admin-ui .pagination .center{grid-column:1/-1;grid-row:1}
  body.admin-ui .modal{padding:20px;border-radius:20px}
}
body.admin-ui .admin-kitchen-chip.is-closed{border-color:#f0d4d1;background:#fff6f5;color:#a8403a}
body.admin-ui .admin-kitchen-chip.is-closed .admin-live-dot{background:var(--admin-red);box-shadow:0 0 0 4px rgba(223,81,74,.11)}

/* 2026-09-06 CMS-driven buyer homepage */
body.buyer-ui .buyer-hero-carousel{position:relative;overflow:hidden;border-radius:30px;box-shadow:0 22px 52px rgba(217,88,11,.20);touch-action:pan-y}
body.buyer-ui .home-banner-track{display:flex;width:100%;transition:transform .52s cubic-bezier(.22,.8,.26,1);will-change:transform}
body.buyer-ui .home-banner-slide{flex:0 0 100%;min-width:100%;border-radius:0;box-shadow:none;margin:0}
body.buyer-ui .home-banner-arrow{position:absolute;z-index:8;top:50%;transform:translateY(-50%);width:38px;height:38px;border:1px solid rgba(255,255,255,.42);border-radius:50%;background:rgba(72,31,4,.18);color:#fff;font-size:27px;line-height:1;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
body.buyer-ui .home-banner-arrow.prev{left:12px} body.buyer-ui .home-banner-arrow.next{right:12px}
body.buyer-ui .home-banner-arrow:hover{background:rgba(72,31,4,.32)}
body.buyer-ui .home-banner-dots{position:absolute;z-index:8;left:50%;bottom:14px;transform:translateX(-50%);display:flex;align-items:center;gap:7px;padding:6px 8px;border-radius:999px;background:rgba(81,35,5,.13);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
body.buyer-ui .home-banner-dot{width:7px;height:7px;border:0;border-radius:999px;background:rgba(255,255,255,.48);padding:0;cursor:pointer;transition:.2s}
body.buyer-ui .home-banner-dot.selected{width:20px;background:#fff}
body.buyer-ui .category-icon{overflow:hidden}
body.buyer-ui .category-icon img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
body.buyer-ui .category-tile.selected .category-icon img{filter:saturate(1.05)}
@media(max-width:700px){
  body.buyer-ui .buyer-hero-carousel{border-radius:26px}
  body.buyer-ui .home-banner-arrow{width:34px;height:34px;font-size:23px;top:auto;bottom:10px;transform:none}
  body.buyer-ui .home-banner-arrow.prev{left:14px} body.buyer-ui .home-banner-arrow.next{right:14px}
  body.buyer-ui .home-banner-dots{bottom:16px}
}

/* ========================================================================
   SEDAPO Buyer UX refinements 2026-09-07
   Header branding · full-image banners · fixed tab bar · tracking journey
   ======================================================================== */
body.buyer-ui .buyer-brand-lockup{display:flex;align-items:center;gap:10px;min-width:0;max-width:min(76vw,430px)}
body.buyer-ui .buyer-brand-icon-wrap{display:grid;place-items:center;flex:0 0 auto}
body.buyer-ui .buyer-brand-icon-logo{display:block;width:48px;height:48px;object-fit:contain;border-radius:14px;flex:0 0 auto}
body.buyer-ui .buyer-brand-word-wrap{display:flex;align-items:center;min-width:0;flex:1 1 auto}
body.buyer-ui .buyer-brand-wordmark-logo{display:block;width:auto;height:auto;max-height:48px;max-width:min(255px,56vw);object-fit:contain;object-position:left center}
body.buyer-ui #buyerBrandText{min-width:0}

body.buyer-ui .buyer-hero-carousel{
  overflow:hidden;border-radius:26px;background:#fff;box-shadow:0 14px 34px rgba(45,33,22,.12);
}
body.buyer-ui .buyer-hero.home-banner-slide{
  position:relative;display:block;min-height:0;padding:0;aspect-ratio:7/6;background:#fff;color:inherit;overflow:hidden;
}
body.buyer-ui .buyer-hero.home-banner-slide:before{display:none!important}
body.buyer-ui .home-banner-full-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
body.buyer-ui .home-banner-empty{width:100%;height:100%;display:grid;place-items:center;background:#f5eee7;color:#8f7a67;font-weight:950;letter-spacing:.14em}
body.buyer-ui .home-banner-arrow{background:rgba(16,18,22,.42);border-color:rgba(255,255,255,.62)}
body.buyer-ui .home-banner-dots{background:rgba(16,18,22,.28)}

body.buyer-ui .pending-receipt-reminder{
  margin:0 0 14px;border:2px solid #f1a45f;background:#fffaf4;box-shadow:var(--buyer-shadow-sm)
}
body.buyer-ui .receipt-choice-note{border:1px solid #ecd8c6;background:#fff}

/* Flush to the viewport bottom instead of floating above the page. */
body.buyer-ui .buyer-bottom-nav{
  left:50%;right:auto;bottom:0;transform:translateX(-50%);width:min(100%,740px);height:auto;min-height:70px;
  border-radius:24px 24px 0 0;border-bottom:0;padding:6px 7px max(6px,env(safe-area-inset-bottom));
  background:rgba(255,255,255,.98);box-shadow:0 -10px 34px rgba(92,59,31,.14);
}
body.buyer-ui .buyer-bottom-nav .primary-tab{margin-top:0;height:56px}
body.buyer-ui .sticky-order{bottom:calc(78px + env(safe-area-inset-bottom))}

body.buyer-ui .order-journey{padding:16px;display:block;overflow:hidden}
body.buyer-ui .journey-current-card{
  border-radius:18px;padding:16px;background:linear-gradient(135deg,#17223a,#263550);color:#fff;margin-bottom:18px;
  box-shadow:0 12px 26px rgba(23,34,58,.16)
}
body.buyer-ui .journey-current-card .eyebrow{color:#ffb36e}
body.buyer-ui .journey-current-title{font-size:24px;line-height:1.08;font-weight:950;letter-spacing:-.03em;margin:5px 0 7px}
body.buyer-ui .journey-steps{position:relative}
body.buyer-ui .journey-step{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:0 0 20px}
body.buyer-ui .journey-step:last-child{padding-bottom:0}
body.buyer-ui .journey-step:not(:last-child):before{content:"";position:absolute;left:19px;top:38px;bottom:0;width:3px;border-radius:999px;background:#e6e0da}
body.buyer-ui .journey-step.done:not(:last-child):before{background:#f58020}
body.buyer-ui .journey-marker{
  position:relative;z-index:2;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:2px solid #d8d1ca;background:#fff;color:#9c938b;font-weight:950;font-size:13px;
}
body.buyer-ui .journey-step.done .journey-marker{border-color:#f58020;background:#f58020;color:#fff}
body.buyer-ui .journey-step.current .journey-marker{border:6px solid #ffe0c3;background:#f58020;color:#fff;box-shadow:0 0 0 4px rgba(245,128,32,.12)}
body.buyer-ui .journey-step.future{opacity:.52}
body.buyer-ui .journey-copy{padding-top:2px}
body.buyer-ui .journey-step-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:5px}
body.buyer-ui .journey-step-head b{font-size:16px;color:var(--buyer-ink)}
body.buyer-ui .journey-step.current .journey-step-head b{color:#c95708;font-size:18px}
body.buyer-ui .journey-step-head span{font-size:10px;color:var(--buyer-muted);font-weight:800;white-space:nowrap}
body.buyer-ui .journey-copy .small{line-height:1.55}
body.buyer-ui .journey-now{display:inline-flex;margin-top:8px;padding:5px 8px;border-radius:999px;background:#fff0e2;color:#b64b08;font-size:9px;font-weight:950;letter-spacing:.08em}

@media(max-width:700px){
  body.buyer-ui .buyer-hero-carousel{border-radius:22px}
  body.buyer-ui .buyer-hero.home-banner-slide{aspect-ratio:7/6}
  body.buyer-ui .home-banner-arrow{top:50%;bottom:auto;transform:translateY(-50%);width:32px;height:32px;font-size:22px}
  body.buyer-ui .home-banner-dots{bottom:10px}
  body.buyer-ui .buyer-bottom-nav{border-radius:20px 20px 0 0}
  body.buyer-ui .journey-step-head{display:block}
  body.buyer-ui .journey-step-head span{display:block;margin-top:3px}
}


/* ========================================================================
   SEDAPO Buyer live-refresh / 7:6 editable banner refinements 2026-09-07
   ======================================================================== */
body.buyer-ui{
  touch-action:pan-x pan-y;
  -webkit-text-size-adjust:100%;
}
body.buyer-ui button,body.buyer-ui a,body.buyer-ui input,body.buyer-ui select,body.buyer-ui textarea{
  touch-action:manipulation;
}
body.buyer-ui input,body.buyer-ui select,body.buyer-ui textarea{font-size:16px!important}
body.buyer-ui .buyer-hero.home-banner-slide{aspect-ratio:7/6}
body.buyer-ui .home-banner-full-image{position:absolute;inset:0;width:100%;height:100%;z-index:0}
body.buyer-ui .home-banner-slide.has-copy:after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(24,20,17,.47) 0%,rgba(24,20,17,.25) 48%,rgba(24,20,17,.06) 76%,rgba(24,20,17,0) 100%);
}
body.buyer-ui .home-banner-overlay{
  position:absolute;z-index:3;left:clamp(24px,6vw,62px);top:clamp(28px,7vw,72px);right:clamp(24px,46%,470px);
  display:flex;flex-direction:column;align-items:flex-start;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.18);pointer-events:none;
}
body.buyer-ui .home-banner-overlay .hero-chip{pointer-events:auto;background:rgba(53,33,20,.35);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
body.buyer-ui .home-banner-overlay h2{margin:16px 0 13px;font-size:clamp(34px,5vw,58px);line-height:.98;letter-spacing:-.055em;font-weight:950;max-width:620px}
body.buyer-ui .home-banner-overlay h2 span{display:block;color:#fff7ef}
body.buyer-ui .home-banner-overlay p{margin:0 0 22px;font-size:clamp(13px,1.65vw,18px);line-height:1.5;font-weight:700;max-width:540px;color:rgba(255,255,255,.94)}
body.buyer-ui .home-banner-overlay .home-banner-cta{
  pointer-events:auto;display:inline-flex;align-items:center;gap:14px;min-height:50px;padding:12px 19px;border-radius:999px;background:#fff;color:#a94109;
  box-shadow:0 11px 28px rgba(42,24,12,.18);font-weight:950;text-shadow:none;
}
body.buyer-ui .home-banner-overlay .home-banner-cta .cta-arrow{font-size:22px;line-height:1}
@media(max-width:700px){
  body.buyer-ui .home-banner-overlay{left:22px;top:25px;right:26%;}
  body.buyer-ui .home-banner-overlay h2{font-size:clamp(31px,9.7vw,48px);margin:12px 0 10px}
  body.buyer-ui .home-banner-overlay p{font-size:13px;line-height:1.45;margin-bottom:17px;max-width:88%}
  body.buyer-ui .home-banner-overlay .home-banner-cta{min-height:45px;padding:10px 16px;font-size:13px}
  body.buyer-ui .home-banner-overlay .hero-chip{font-size:9px;padding:6px 9px}
}
@media(max-width:420px){
  body.buyer-ui .home-banner-overlay{right:18px;left:20px;top:22px}
  body.buyer-ui .home-banner-overlay h2{font-size:clamp(28px,9.3vw,40px);max-width:84%}
  body.buyer-ui .home-banner-overlay p{max-width:78%;font-size:12px}
}

/* 2026-09-08 · Outside delivery + Made for Today 4/9-box builder */
.outside-delivery-card{padding:16px;border:2px solid rgba(252,163,17,.35);border-radius:18px;background:linear-gradient(145deg,#fffaf2,#fff)}
.product-description{font-size:13px;line-height:1.45;color:#666;margin-top:5px;min-height:18px}
.food-price small{font-size:10px;font-family:inherit;font-weight:700;color:#777;text-transform:uppercase;letter-spacing:.04em}
.box-card-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#6d5b5b;margin:2px 0 12px}
.box-count-badge{background:#14213D!important;color:#fff!important}
body.box-builder-open{overflow:hidden}
.box-builder-backdrop{position:fixed;inset:0;z-index:2200;background:rgba(20,33,61,.38);backdrop-filter:blur(7px);display:grid;place-items:center;padding:16px}
.box-builder-backdrop.hidden{display:none!important}
.box-builder-modal{width:min(860px,100%);max-height:min(92vh,880px);overflow:auto;background:linear-gradient(160deg,#fffdf9 0%,#fff8ed 100%);border-radius:30px;box-shadow:0 34px 100px rgba(20,33,61,.25);padding:20px;outline:none;border:1px solid rgba(229,101,12,.13)}
.box-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.box-builder-close{width:46px;height:46px;border-radius:50%;font-size:24px;padding:0;flex:0 0 auto;background:#fff;border:1px solid rgba(20,33,61,.08);color:#14213D;font-weight:900;box-shadow:0 9px 25px rgba(20,33,61,.10)}
.box-builder-close:hover{background:#fff7ec;border-color:rgba(229,101,12,.20)}
.box-builder-layout{display:grid;grid-template-columns:minmax(0,1fr) 142px;gap:18px;align-items:stretch}
.box-builder-main{min-width:0}
.box-builder-hero{position:relative;min-height:280px;border-radius:26px;background:radial-gradient(circle at 50% 44%,rgba(255,255,255,.98) 0 30%,rgba(255,244,226,.88) 62%,rgba(255,233,201,.76) 100%);overflow:hidden;display:grid;place-items:center;border:1px solid rgba(229,101,12,.08)}
.box-builder-hero:after{content:"";position:absolute;left:18%;right:18%;bottom:22px;height:20px;border-radius:50%;background:rgba(20,33,61,.09);filter:blur(12px);pointer-events:none}
.box-builder-hero img{position:relative;z-index:1;width:100%;height:300px;object-fit:contain;display:block;padding:18px;filter:drop-shadow(0 18px 16px rgba(20,33,61,.13))}
.box-builder-hero .pill{position:absolute;z-index:3;right:14px;bottom:14px;box-shadow:0 6px 18px rgba(229,101,12,.14)}

/* Floating “Your box” rail inspired by the supplied reference: the dish PNG itself is the visual. */
.box-selection-rail{position:relative;background:rgba(255,255,255,.92);border-radius:28px;padding:14px 10px 13px;color:#14213D;min-width:0;box-shadow:0 22px 52px rgba(20,33,61,.13);border:1px solid rgba(20,33,61,.07);backdrop-filter:blur(14px);overflow:hidden}
.box-selection-rail:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,248,238,.56));pointer-events:none}
.box-selection-rail>*{position:relative;z-index:1}
.box-selection-rail-head{display:block;text-align:center;font-size:11px;padding:3px 2px 12px;text-transform:uppercase;letter-spacing:.06em}
.box-selection-rail-head b{display:block;font-size:13px;text-transform:none;letter-spacing:.01em}
.box-selection-rail-head span{display:inline-block;margin-top:4px;padding:3px 8px;border-radius:999px;background:#fff3e7;color:var(--buyer-orange-deep);font-size:9px;font-weight:900;letter-spacing:.02em}
.box-selection-slots{display:grid;gap:7px}
.box-selection-slot{position:relative;min-height:90px;border:1px dashed rgba(20,33,61,.12);border-radius:20px;background:rgba(255,250,244,.48);color:#14213D;display:grid;place-items:center;text-align:center;padding:8px 5px;overflow:visible;box-shadow:none}
.box-selection-slot.filled{display:grid;grid-template-rows:minmax(62px,1fr) auto;align-items:center;background:transparent;border-color:transparent;padding:4px 2px 7px;box-shadow:none}
.box-selection-slot.filled:after{content:"";position:absolute;left:20%;right:20%;top:57px;height:10px;border-radius:50%;background:rgba(20,33,61,.08);filter:blur(6px);z-index:0}
 .box-selection-slot.filled{cursor:pointer;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}
.box-selection-slot.filled.active{background:rgba(255,244,230,.78);box-shadow:inset 0 0 0 2px rgba(229,101,12,.24),0 8px 20px rgba(229,101,12,.08);transform:translateY(-1px)}
.box-selection-slot.filled.active img{transform:scale(1.10)}
.box-selection-slot.filled:focus-visible{outline:2px solid var(--buyer-orange);outline-offset:2px}
.box-selection-slot img{position:relative;z-index:1;width:100%;height:68px;object-fit:contain;border-radius:0;display:block;margin:0;filter:drop-shadow(0 8px 7px rgba(20,33,61,.12));transform:scale(1.04)}
.box-selection-slot .box-slot-copy{position:relative;z-index:2;min-width:0;width:100%;padding:0 3px}
.box-selection-slot .box-slot-copy b{font-size:9px;line-height:1.15;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#14213D}.box-selection-slot .box-slot-copy small{font-size:8px;color:#8A5700;font-weight:800}
.box-slot-number{position:absolute;right:3px;bottom:6px;width:22px;height:22px;border-radius:50%;background:var(--buyer-orange);color:#fff;display:grid;place-items:center;font-size:10px;font-weight:900;z-index:4;box-shadow:0 5px 12px rgba(229,101,12,.20)}
.box-slot-remove{position:absolute;left:50%;top:-3px;transform:translateX(-50%);z-index:5;width:29px;height:29px;border:0;border-radius:50%;background:#fff;color:#14213D;font-size:18px;line-height:27px;cursor:pointer;box-shadow:0 7px 18px rgba(20,33,61,.12);font-weight:750}
.box-slot-remove:hover{background:#fff2e3;color:var(--buyer-orange-deep)}
.box-slot-empty{font-size:23px;font-weight:700;color:rgba(20,33,61,.36)}.box-selection-slot>small{font-size:8px;color:#8a8f98;font-weight:800}

/* Available dishes reuse the exact same uploaded image URL. Transparent PNGs remain transparent. */
.box-option-list{display:flex;gap:11px;overflow:auto;padding:6px 3px 12px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.box-option-chip{appearance:none;position:relative;border:0;background:transparent;border-radius:20px;padding:5px 5px 7px;min-width:112px;max-width:126px;display:grid;grid-template-rows:82px auto;gap:4px;align-items:center;text-align:center;cursor:pointer;scroll-snap-align:start;color:#14213D;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}
.box-option-chip:hover{transform:translateY(-2px);background:rgba(255,255,255,.58)}
.box-option-chip.selected{background:rgba(255,244,230,.88);box-shadow:inset 0 0 0 2px rgba(229,101,12,.22),0 8px 18px rgba(229,101,12,.08)}
.box-option-chip .box-option-art{position:relative;width:100%;height:82px;display:grid;place-items:center}
.box-option-chip .box-option-art:after{content:"";position:absolute;left:22%;right:22%;bottom:6px;height:10px;border-radius:50%;background:rgba(20,33,61,.07);filter:blur(6px);z-index:0}
.box-option-chip img{position:relative;z-index:1;width:100%;height:78px;object-fit:contain;border-radius:0;display:block;filter:drop-shadow(0 9px 8px rgba(20,33,61,.11));transition:transform .16s ease,filter .16s ease}
.box-option-chip:hover img,.box-option-chip.selected img{transform:scale(1.045)}
 .box-option-chip.already-selected .box-option-art:after{opacity:.35}
.box-option-chip.already-selected img{opacity:.42;filter:grayscale(.32) saturate(.68) drop-shadow(0 6px 6px rgba(20,33,61,.08));transform:scale(.98)}
.box-option-chip.already-selected:hover img,.box-option-chip.already-selected.selected img{transform:scale(1.0)}
.box-option-chip.already-selected .box-option-copy b{opacity:.68}
.box-option-chip.already-selected small{color:#a05a24;font-weight:850}
.box-option-chip .box-option-copy{min-width:0;display:block}
.box-option-chip b{display:block;font-size:10px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.box-option-chip small{display:block;margin-top:3px;font-size:8.5px;line-height:1.2;color:#777}
.box-option-chip .box-option-state{display:inline-block;margin-top:4px;padding:3px 6px;border-radius:999px;background:#fff3e7;color:#a54a06;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.025em}
.box-option-chip.sold-out{opacity:.48;filter:grayscale(.5)}
.box-option-chip.sold-out .box-option-state{background:#eef0f3;color:#6d727b}
.box-option-chip.sold-out small{font-weight:800}
.box-builder-confirm{width:100%;min-height:52px;font-size:15px;margin-top:14px}
.cart-box-selections{border-left:3px solid #FCA311;padding-left:10px}.cart-box-dish{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:7px;align-items:center;font-size:12px;padding:3px 0}.cart-box-dish>span{width:19px;height:19px;border-radius:50%;background:#FCA311;color:#14213D;display:grid;place-items:center;font-size:9px;font-weight:800}.cart-box-dish small{color:#8A5700}
@media(max-width:640px){
  .box-builder-backdrop{padding:7px}.box-builder-modal{border-radius:23px;padding:13px;max-height:95vh}.box-builder-layout{grid-template-columns:minmax(0,1fr) 100px;gap:9px}.box-builder-hero{min-height:195px}.box-builder-hero img{height:215px;padding:12px}.box-selection-rail{border-radius:21px;padding:9px 5px}.box-selection-rail-head{padding-bottom:9px}.box-selection-slot{min-height:73px;border-radius:15px;padding:5px 3px}.box-selection-slot.filled{grid-template-rows:57px auto;min-height:77px;padding:3px 0 5px}.box-selection-slot.filled:after{top:50px}.box-selection-slot img{height:60px}.box-selection-slot .box-slot-copy b{display:none}.box-selection-slot .box-slot-copy small{font-size:7.5px}.box-slot-number{width:19px;height:19px;font-size:8px;right:2px;bottom:3px}.box-slot-remove{width:25px;height:25px;line-height:23px;font-size:16px;top:-3px}.box-builder-actions.grid.three{grid-template-columns:1fr 1fr}.box-builder-actions #boxBuilderAdd{grid-column:1/-1;grid-row:1}.box-option-chip{min-width:101px;max-width:110px;grid-template-rows:74px auto}.box-option-chip .box-option-art{height:74px}.box-option-chip img{height:70px}.outside-delivery-card{padding:13px}
}
@media(max-width:380px){.box-builder-layout{grid-template-columns:minmax(0,1fr) 91px}.box-selection-slot img{height:55px}.box-option-chip{min-width:96px}}


/* 2026-09-08 · receipt/order-state consistency */
.receipt-rewards-card .soft{color:#14213D}
.order-record-closed{border:2px solid #D7DDE4;background:#FAFBFC}

/* ========================================================================
   2026-09-09 · Bowls-first / storage cleanup / mobile-safe box editor /
   site-wide alignment consistency
   ======================================================================== */

/* Keep flex/grid children shrinkable instead of forcing accidental overflow. */
body.buyer-ui .row > *,
body.admin-ui .row > *,
body.buyer-ui .grid > *,
body.admin-ui .grid > *{min-width:0}

/* Admin action grids use equal-height, consistently centred controls. */
body.admin-ui .grid.two.mobile-two > .btn,
body.admin-ui .grid.three.mobile-two > .btn,
body.admin-ui .grid.four.mobile-two > .btn,
body.admin-ui .grid.five.mobile-two > .btn{
  min-height:48px;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.2
}
body.admin-ui .card > .row:first-child,
body.admin-ui .soft > .row:first-child{align-items:flex-start}

/* Order Detail · status and timestamp are a true two-column grid. */
body.admin-ui #history{display:grid;gap:0;margin-top:12px}
body.admin-ui .status-history-row{
  display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:18px;align-items:start;
  padding:12px 0;border-bottom:1px solid var(--admin-line,#e8e4df)
}
body.admin-ui .status-history-row:first-child{padding-top:4px}
body.admin-ui .status-history-row:last-child{border-bottom:0;padding-bottom:2px}
body.admin-ui .status-history-label{font-size:15px;line-height:1.42;color:var(--admin-ink,#1f2328);overflow-wrap:anywhere}
body.admin-ui .status-history-time{
  display:grid;gap:2px;justify-items:end;text-align:right;color:#8b8f96;font-size:12px;line-height:1.25;
  font-variant-numeric:tabular-nums;white-space:nowrap
}

/* iOS Safari/Chrome/PWA: use the dynamic viewport, not legacy vh. The final
   box action remains fully visible above browser chrome and safe-area insets. */
@media(max-width:640px){
  .box-builder-backdrop{
    height:100dvh;min-height:100svh;max-height:100dvh;overflow:hidden;
    padding:max(7px,env(safe-area-inset-top)) 7px max(10px,env(safe-area-inset-bottom));
    place-items:stretch center
  }
  .box-builder-modal{
    align-self:stretch;width:100%;max-height:calc(100dvh - 17px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
    scroll-padding-bottom:calc(92px + env(safe-area-inset-bottom));
    padding-bottom:calc(14px + env(safe-area-inset-bottom))
  }
  .box-builder-confirm{
    position:sticky;bottom:0;z-index:12;margin-top:16px;margin-bottom:0;
    box-shadow:0 -8px 22px rgba(255,249,240,.94),0 8px 22px rgba(229,101,12,.18)
  }
  body.admin-ui .status-history-row{grid-template-columns:minmax(0,1fr) 116px;gap:12px;padding:11px 0}
  body.admin-ui .status-history-label{font-size:14px}
  body.admin-ui .status-history-time{font-size:11px}
}

@media(max-width:380px){
  body.admin-ui .status-history-row{grid-template-columns:minmax(0,1fr) 106px;gap:9px}
}


/* ========================================================================
   2026-09-09 · Sedapo global button copy-fit & consistency system
   Keeps CTA copy inside its control across Admin, Buyer, browser and PWA.
   ======================================================================== */

/* Every normal action control owns its copy instead of clipping it. */
.btn,
.file-action{
  max-width:100%;
  min-width:0;
  height:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.35em;
  text-align:center;
  line-height:1.18;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
  vertical-align:middle;
}
.row > .btn{flex:0 1 auto}

/* Navigation, quantity steppers and compact controls are intentionally one-line
   and may scroll horizontally instead of squeezing/cropping their labels. */
.nav .btn,
.subnav .btn,
body.admin-ui .admin-sidebar .btn.page,
body.admin-ui .admin-main .nav .btn,
body.buyer-ui .buyer-bottom-nav button,
body.buyer-ui .product-qty .btn,
.qty .btn{
  white-space:nowrap;
  flex-shrink:0;
}

/* One sizing rhythm for all standard CTAs. */
body.admin-ui .btn{min-height:44px;padding:10px 14px;line-height:1.18}
body.buyer-ui .btn{min-height:46px;padding:10px 14px;line-height:1.18}
body.admin-ui .btn.primary,
body.buyer-ui .btn.primary{font-weight:900}
body.admin-ui .btn.danger,
body.admin-ui .btn.secondary,
body.buyer-ui .btn.danger,
body.buyer-ui .btn.secondary{font-weight:800}

/* Buttons placed in action grids share the available width and stay centred. */
body.admin-ui .grid > .btn,
body.buyer-ui .grid > .btn{
  width:100%;
  justify-self:stretch;
}

/* Major page/card heading actions: content-sized on wide layouts, protected
   from flex squeezing, and capped so the heading still has useful space. */
body.admin-ui .section-action{
  flex:0 0 auto;
  width:max-content;
  min-width:112px;
  max-width:min(260px,46%);
  align-self:flex-start;
  padding-inline:16px;
}

/* Full-width actions keep comfortable side padding and can use two balanced
   lines where a long label genuinely needs it. */
body.admin-ui .btn[style*="width:100%"],
body.buyer-ui .btn[style*="width:100%"]{
  width:100%!important;
  max-width:100%;
  padding-inline:16px;
}

/* Compact mobile/tablet controls: never force a heading CTA beyond the card.
   Long action copy wraps by words, while the shortened primary labels usually
   remain one line. */
@media(max-width:640px){
  body.admin-ui .section-action{
    min-width:108px;
    max-width:46%;
    padding:10px 13px;
    font-size:12px;
  }
  body.admin-ui .admin-main>section>.row:first-child>.btn{
    white-space:normal;
    overflow-wrap:normal;
    word-break:normal;
  }
  body.admin-ui .grid.two.mobile-two > .btn,
  body.admin-ui .grid.three.mobile-two > .btn,
  body.admin-ui .grid.four.mobile-two > .btn,
  body.admin-ui .grid.five.mobile-two > .btn{
    min-height:48px;
    padding:10px 11px;
  }
  body.buyer-ui .grid.two.mobile-two > .btn,
  body.buyer-ui .grid.three.mobile-two > .btn{
    min-height:48px;
    padding:10px 11px;
  }
}

/* Very narrow screens get the safest layout: major heading actions become a
   clean full-width row rather than shrinking to an unreadable sliver. */
@media(max-width:360px){
  body.admin-ui .section-action{
    width:100%;
    max-width:100%;
    min-width:0;
  }
}


/* ========================================================================
   2026-09-09 · Sedapo global badge / chip copy-fit & alignment system FIX4
   Compact chips stay on one line; order/status pills may use a centred second
   line only when genuinely necessary. Prevents ACTION / ONE-TIME / status
   copy from being squeezed, clipped or breaking at hyphens.
   ======================================================================== */

/* Compact label baseline — content-sized, centred and never squeezed by rows. */
.pill,
.compact-chip{
  width:max-content;
  max-width:100%;
  min-width:0;
  height:auto;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.08;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:keep-all;
  hyphens:none;
  word-spacing:normal;
  vertical-align:middle;
}

body.buyer-ui .pill,
body.admin-ui .pill{
  padding-inline:10px;
  letter-spacing:.035em;
}

/* Explicit compact chips such as ACTION / ONE-TIME / ACTIVE / ON / MEMBER.
   flex-shrink:0 is intentional: surrounding copy gives up space first. */
body.buyer-ui .compact-chip,
body.admin-ui .compact-chip,
body.buyer-ui .row > .pill:not(.status-pill),
body.admin-ui .row > .pill:not(.status-pill){
  flex-shrink:0;
  white-space:nowrap;
  word-break:keep-all;
  overflow-wrap:normal;
}

/* Status pills are a separate component. They are still content-sized, but
   genuinely long states may wrap at normal spaces into a maximum of two
   visually centred lines. */
.pill.status-pill{
  width:max-content;
  min-width:0;
  max-width:min(160px,44vw);
  min-height:30px;
  padding:7px 12px;
  flex:0 0 auto;
  justify-content:center;
  text-align:center;
  line-height:1.16;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
  word-spacing:normal;
}

/* Buyer Track Order: keep the reference readable and the status visually
   balanced. PAYMENT PENDING normally stays on one line; longer states can use
   a centred second line rather than stretching into a large box. */
body.buyer-ui .track-heading-row{
  align-items:center;
  gap:12px;
}
body.buyer-ui .track-heading-row > :first-child{
  flex:1 1 auto;
  min-width:0;
}
body.buyer-ui #trackStatus.status-pill{
  align-self:center;
  max-width:146px;
  padding:8px 12px;
  font-weight:900;
}

/* Avoid a hyphenated compact chip (for example ONE-TIME) becoming two lines. */
body.buyer-ui #memberReferralActivationBox .compact-chip{
  min-width:max-content;
}

/* If a very narrow phone cannot comfortably fit both a long heading and a
   status, put the status on a clean second row instead of squeezing either. */
@media(max-width:360px){
  body.buyer-ui .track-heading-row{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    justify-items:start;
    gap:8px;
  }
  body.buyer-ui #trackStatus.status-pill{
    max-width:160px;
  }
}


/* 2026-09-10 · Global transaction alignment + separate Additional Rider Fee UX */
.money-row{
  align-items:flex-start;
  gap:12px;
}
.money-row > :first-child{
  min-width:0;
  flex:1 1 auto;
}
.money-value{
  flex:0 0 auto;
  min-width:max-content;
  white-space:nowrap;
  text-align:right;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
  letter-spacing:0;
}
.money-stack{
  flex:0 0 auto;
  min-width:max-content;
  display:grid;
  gap:5px;
  justify-items:end;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.money-input{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;}
body.buyer-ui .empty-order-actions{
  display:flex;
  justify-content:center;
  align-items:stretch;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}
body.buyer-ui .empty-order-actions .btn{
  margin-top:0!important;
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
body.buyer-ui .rider-payment-qr{
  display:block;
  width:min(240px,72%);
  height:auto;
  margin:14px auto;
}
.rider-payment-proof{
  display:block;
  width:100%;
  max-height:460px;
  object-fit:contain;
  margin-inline:auto;
  border:2px solid #FCA311;
  border-radius:14px;
  background:#fff;
}
body.admin-ui .rider-payment-proof{margin-top:14px;}
.rider-charge-card.is-cancelled{opacity:.65;}
body.buyer-ui #orderDetailsPanel td:last-child,
body.buyer-ui #trackPanel td:last-child,
body.admin-ui #detailItems td:last-child{
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
/* FIX53: readable order updates without squeezing timestamps out of the card. */
body.buyer-ui #orderDetailsPanel{min-width:0;overflow-wrap:anywhere;}
body.buyer-ui .order-update-row{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,148px);
  gap:8px 18px;align-items:start;padding:12px 0;border-bottom:1px solid #E5E5E5;
}
body.buyer-ui .order-update-row:first-child{padding-top:0;}
body.buyer-ui .order-update-row:last-child{padding-bottom:0;border-bottom:0;}
body.buyer-ui .order-update-label,
body.buyer-ui .order-update-time{min-width:0;overflow-wrap:anywhere;line-height:1.5;}
body.buyer-ui .order-update-label{text-align:left;}
body.buyer-ui .order-update-time{text-align:right;font-variant-numeric:tabular-nums;}
@media(max-width:600px){
  body.buyer-ui .order-update-row{grid-template-columns:minmax(0,1fr);gap:4px;padding:12px 0;}
  body.buyer-ui .order-update-time{text-align:left;}
}
@media(max-width:420px){
  body.buyer-ui .empty-order-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:10px;
  }
  body.buyer-ui .empty-order-actions .btn{width:100%;}
}
@media(max-width:350px){
  body.buyer-ui .empty-order-actions{grid-template-columns:minmax(0,1fr);}
}

/* FIX12 · Set Bowl / Build Your Set */
.set-builder-modal{max-width:940px}
.set-builder-groups{display:grid;gap:16px;max-height:min(64vh,720px);overflow:auto;padding-right:4px}
.set-group-card{border:1px solid var(--line,#e5e7eb);border-radius:18px;padding:16px;background:#fff}
.set-group-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.set-group-head .pill{white-space:nowrap}
.set-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.set-option-card{display:flex;align-items:center;gap:11px;text-align:left;border:1px solid var(--line,#e5e7eb);border-radius:15px;padding:10px;background:#fff;min-height:82px;cursor:pointer}
.set-option-card.selected{border-color:#f59e0b;box-shadow:0 0 0 2px rgba(245,158,11,.12)}
.set-option-card.sold-out{opacity:.48;cursor:not-allowed}
.set-option-card img{width:58px;height:58px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.set-option-card-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.set-option-card-copy b,.set-option-card-copy small{white-space:normal;overflow-wrap:anywhere}
.set-option-action{font-weight:800;white-space:nowrap}
@media(max-width:640px){.set-option-grid{grid-template-columns:1fr}.set-builder-groups{max-height:58vh}.set-group-card{padding:13px}}

/* FIX23 · Guided Admin order workflow */
body.admin-ui .admin-order-workflow{border:2px solid var(--admin-accent,#FCA311);background:#fffdf8}
body.admin-ui .admin-workflow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.admin-ui .admin-workflow-step{position:relative;border:1px solid #E3E6EA;border-radius:14px;padding:11px 10px;background:#F7F8FA;min-height:84px}
body.admin-ui .admin-workflow-step .step-no{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:999px;background:#D9DEE5;color:#14213D;font-size:12px;font-weight:900;margin-bottom:7px}
body.admin-ui .admin-workflow-step b{display:block;font-size:13px;line-height:1.25}
body.admin-ui .admin-workflow-step .small{font-size:11px;line-height:1.35;margin-top:4px}
body.admin-ui .admin-workflow-step.is-done{background:#F1F8F3;border-color:#B7D7BF}
body.admin-ui .admin-workflow-step.is-done .step-no{background:#167044;color:#fff}
body.admin-ui .admin-workflow-step.is-current{background:#FFF7E8;border:2px solid #FCA311;box-shadow:0 8px 22px rgba(20,33,61,.08)}
body.admin-ui .admin-workflow-step.is-current .step-no{background:#FCA311;color:#14213D}
body.admin-ui .admin-workflow-check{display:flex;gap:9px;align-items:flex-start;padding:7px 0;border-bottom:1px solid #E5E5E5}
body.admin-ui .admin-workflow-check:last-child{border-bottom:0}
body.admin-ui .admin-workflow-check .mark{flex:0 0 auto;width:22px;height:22px;border-radius:999px;display:grid;place-items:center;background:#E9EDF2;font-weight:900;font-size:12px}
body.admin-ui .admin-workflow-check.is-done .mark{background:#167044;color:#fff}
body.admin-ui .admin-workflow-check.is-blocked .mark{background:#FFF1F0;color:#B42318}
body.admin-ui .admin-workflow-check.is-current .mark{background:#FCA311;color:#14213D}
body.buyer-ui .bank-transfer-fields{display:grid;gap:7px;margin-top:10px}
body.buyer-ui .bank-transfer-field{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #E3E6EA;border-radius:12px;padding:9px 10px;background:#fff}
body.buyer-ui .bank-transfer-field>span{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
body.buyer-ui .bank-transfer-field small{font-size:10px;color:#687080;font-weight:700}
body.buyer-ui .bank-transfer-field b{font-size:14px;color:#14213D}
body.buyer-ui .bank-copy-btn{width:auto;min-width:66px;min-height:38px;padding:7px 12px;flex:0 0 auto}
@media(max-width:600px){body.buyer-ui .save-app-backdrop{padding:12px}body.buyer-ui .save-app-sheet{width:100%;max-height:90vh;border-radius:23px}body.buyer-ui .save-app-accent{padding:16px}body.buyer-ui .save-app-content{padding:18px 16px 16px}body.buyer-ui .save-app-sheet h2{font-size:24px}}
@media(max-width:720px){
  body.admin-ui .admin-workflow-steps{grid-template-columns:1fr 1fr}
  body.admin-ui .admin-workflow-step{min-height:78px}
}

/* Keep method-specific payment confirmations readable on narrow buyer screens. */
#paidBtn{white-space:normal;line-height:1.2;min-height:52px;font-size:clamp(13px,3.8vw,16px)}
#manualPaymentConfirmation .btn{white-space:normal;line-height:1.35;min-height:52px}
#manualPaymentConfirmation label{min-height:44px;cursor:pointer}
#bankReferenceConfirmed,#qrPaymentConfirmed{flex:0 0 auto;width:22px;height:22px;margin:2px 0;accent-color:var(--buyer-orange)}

#manualPaymentConfirmation .payment-method-check{display:flex;gap:10px;align-items:center;margin:12px 0}
#manualPaymentConfirmation .btn:disabled{opacity:1;color:#7b7470;background:#fff7ef;border-color:#eadbcf;box-shadow:none}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* FIX54: one active buyer destination, consistent statement amounts. */
body.buyer-ui .buyer-bottom-nav .page:not(.selected){background:transparent;color:#858585;box-shadow:none;}
body.buyer-ui .buyer-bottom-nav .page.selected{background:linear-gradient(135deg,var(--buyer-orange),var(--buyer-orange-deep));color:#fff;box-shadow:0 9px 22px rgba(229,101,12,.26);}
body.buyer-ui .point-statement-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;}
body.buyer-ui .point-statement-copy{min-width:0;text-align:left;overflow-wrap:anywhere;line-height:1.4;}
body.buyer-ui .point-statement-delta{white-space:nowrap;text-align:right;font-size:20px;line-height:1.4;font-variant-numeric:tabular-nums;}
body.admin-ui #settingPeakTimeStart,body.admin-ui #settingPeakTimeEnd{min-width:0;max-width:100%;box-sizing:border-box;}
body.admin-ui label:has(>#settingPeakTimeStart),body.admin-ui label:has(>#settingPeakTimeEnd){min-width:0;}
@media(max-width:360px){body.buyer-ui .point-statement-row{grid-template-columns:minmax(0,1fr);gap:8px;}body.buyer-ui .point-statement-delta{text-align:left;}}

/* FIX55: a clear DuitNow Transfer first choice and optional visual guide. */
body.buyer-ui .duitnow-transfer-primary{background:#fff8ef;}
body.buyer-ui .duitnow-reference-note{border-left:4px solid var(--buyer-orange);background:#fff;line-height:1.5;}
body.buyer-ui .duitnow-guide-image{display:block;width:100%;height:auto;aspect-ratio:1122/1402;object-fit:contain;border-radius:14px;margin-top:12px;background:#fff;}
body.buyer-ui .payment-confirm-option+.payment-confirm-option{border-top:1px solid #eadfd5;padding-top:14px;}
body.buyer-ui #duitnowTransferGuide summary{cursor:pointer;}
body.buyer-ui #duitnowTransferDetails .bank-transfer-field>span{min-width:0;overflow-wrap:anywhere;}

/* FIX56: bounded, viewport-anchored navigation and consistent payment cards. */
body.buyer-ui{--buyer-nav-safe-bottom:clamp(0px,env(safe-area-inset-bottom,0px),34px);--buyer-nav-height:calc(70px + var(--buyer-nav-safe-bottom));padding-bottom:calc(var(--buyer-nav-height) + 22px);}
body.buyer-ui>.buyer-bottom-nav{
  position:fixed;inset:auto 0 0;margin:0 auto;transform:none;
  width:min(100%,740px);height:var(--buyer-nav-height);min-height:70px;max-height:104px;
  padding:6px 7px calc(6px + var(--buyer-nav-safe-bottom));box-sizing:border-box;
  grid-template-rows:minmax(0,1fr);align-items:center;background:#fff;
  -webkit-backface-visibility:hidden;backface-visibility:hidden;
}
body.buyer-ui .sticky-order{bottom:calc(var(--buyer-nav-height) + 8px);}
body.buyer-ui #qrPanel .payment-method-card{padding:16px;border:2px solid #dedbd7;border-radius:18px;text-align:left;background:#fffaf5;}
body.buyer-ui #qrPanel .payment-method-card[open]{border-color:var(--buyer-orange);}
body.buyer-ui .payment-card-heading{display:flex;align-items:center;gap:12px;list-style:none;}
body.buyer-ui summary.payment-card-heading::-webkit-details-marker{display:none;}
body.buyer-ui summary.payment-card-heading::after{content:'⌄';margin-left:auto;align-self:center;color:var(--buyer-orange-deep);font-size:22px;}
body.buyer-ui details[open]>summary.payment-card-heading::after{transform:rotate(180deg);}
body.buyer-ui .payment-card-heading>span:not(.payment-method-icon){min-width:0;flex:1;}
/* FIX58: supplied payment images share one aligned, uncropped icon frame. */
body.buyer-ui .payment-method-icon{flex:0 0 48px;display:grid;place-items:center;width:48px;height:48px;padding:5px;box-sizing:border-box;border:1px solid #eadfd5;border-radius:10px;background:#fff;overflow:hidden;}
body.buyer-ui .payment-method-icon img{display:block;width:100%;height:100%;object-fit:contain;}

body.buyer-ui .payment-card-title{display:block;font-size:18px;line-height:1.3;font-weight:900;margin:6px 0;}
body.buyer-ui .payment-card-description{display:block;font-size:12px;line-height:1.5;color:var(--muted);}
body.buyer-ui .payment-alternatives{padding-top:6px;text-align:left;}
body.buyer-ui .payment-reference-note{border-left:4px solid var(--buyer-orange);background:#fff;line-height:1.5;}
body.buyer-ui .bank-transfer-field.is-copyable b{color:var(--buyer-orange-deep,#e5650c);font-variant-numeric:tabular-nums;}
body.buyer-ui .bank-transfer-field .bank-copy-btn{color:var(--buyer-orange-deep,#e5650c);}
body.buyer-ui .required-note{color:#B42318;font-weight:900;}

/* FIX57: three direct payment accordions and accessible illustrated QR steps. */
body.buyer-ui summary.payment-card-heading{cursor:pointer;}
body.buyer-ui summary.payment-card-heading:focus-visible{outline:3px solid var(--buyer-orange);outline-offset:5px;border-radius:8px;}
body.buyer-ui .qr-guide-image{display:block;width:100%;height:auto;aspect-ratio:1122/1402;object-fit:contain;border-radius:14px;margin-top:12px;background:#fff;}
body.buyer-ui #manualQrInstructions .row{flex-wrap:wrap;gap:8px;}

/* FIX60: reservation timers use the corporate orange in every payment stage. */
body.buyer-ui .reservation-countdown{color:var(--buyer-orange-deep,#e5650c);}

/* FIX61: consistent, accessible password controls and account recovery. */
.password-field{position:relative;width:100%;min-width:0;}
.password-field input.input,.password-field input{width:100%;box-sizing:border-box;padding-right:54px;}
.password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:#a84400;cursor:pointer;}
.password-toggle:focus-visible{outline:2px solid #f4770b;outline-offset:1px;}
.password-toggle .password-eye-slash{display:none;}
.password-toggle[aria-pressed="true"] .password-eye-slash{display:block;}
.recovery-panel{border:1px solid #eadfd5;border-radius:18px;padding:18px;background:#fffaf5;text-align:left;}
.recovery-panel .input{margin-top:8px;}
.recovery-status{line-height:1.6;overflow-wrap:anywhere;}
.recovery-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;}
.recovery-actions .btn{flex:1 1 180px;}
.recovery-log{padding:10px 0;border-bottom:1px solid #eadfd5;overflow-wrap:anywhere;}
.reset-password-shell{max-width:520px;margin:36px auto;padding:20px;}
.member-account-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;}
.member-account-meta>div{min-width:0;overflow-wrap:anywhere;}
@media(max-width:420px){.member-account-meta{grid-template-columns:1fr;}}

/* FIX62 shared record pagination */
.paging-off{display:none!important}.sedapo-paging{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:18px 0;padding:14px;border:1px solid #d6dbe2;border-radius:14px;background:#fff;color:#14213D;scroll-margin-top:90px}.sedapo-paging[hidden]{display:none}.paging-status{font-size:13px;flex-basis:100%}.paging-actions{display:flex;flex-wrap:wrap;gap:6px}.sedapo-paging .btn{min-width:42px;min-height:44px;padding:8px 12px}.paging-size{display:flex;align-items:center;gap:8px;font-size:13px}.paging-size .input{width:auto;min-width:74px}.sedapo-paging:focus{outline:2px solid #FCA311;outline-offset:3px}@media(max-width:540px){.sedapo-paging{padding:10px}.paging-actions{gap:4px}.sedapo-paging .btn{padding:7px 9px;min-width:38px}.paging-size{width:100%}}@media print{.sedapo-paging{display:none!important}.paging-off{display:revert!important}}
