*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f5f6f8;color:#111827}header{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:16px 5vw;background:#111827;color:#fff}header button{border:0;cursor:pointer}#home{justify-self:start;background:none;color:#fff;font-size:30px;font-weight:900;letter-spacing:2px}#cartBtn{justify-self:end;border-radius:999px;padding:10px 15px;background:#fff;font-weight:800}#count{display:inline-grid;place-items:center;margin-left:5px;min-width:22px;height:22px;border-radius:50%;background:#111827;color:#fff}main{width:min(1100px,90vw);margin:auto;padding-bottom:70px}#hero{padding:64px 0 36px}#hero small{font-weight:900;letter-spacing:2px;color:#6b7280}h1{font-size:clamp(40px,7vw,72px);line-height:.95;margin:12px 0}.head{display:flex;justify-content:space-between;align-items:end;margin:20px 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}.card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:22px;box-shadow:0 8px 25px #1118270d}.card h3{font-size:22px;margin:10px 0}.card p{color:#667085;line-height:1.5}.pill{display:inline-block;padding:5px 9px;border-radius:999px;background:#ecfdf3;color:#067647;font-size:11px;font-weight:900}.closed{background:#fef3f2;color:#b42318}.primary{width:100%;padding:12px;border:0;border-radius:12px;background:#111827;color:#fff;font-weight:800;cursor:pointer}.price{font-size:20px;font-weight:900}.meta{font-size:12px;color:#8a94a6}.back{border:0;background:none;font-weight:800;cursor:pointer;padding:0 0 15px}#cart{position:fixed;z-index:20;right:-430px;top:0;width:min(420px,92vw);height:100vh;background:#fff;padding:24px;box-shadow:-10px 0 40px #0003;transition:.25s;overflow:auto}#cart.open{right:0}.carthead{display:flex;justify-content:space-between}.carthead button{font-size:30px;border:0;background:none;cursor:pointer}.row{display:grid;grid-template-columns:1fr auto;gap:8px;padding:16px 0;border-bottom:1px solid #eee}.qty{display:flex;align-items:center;gap:8px}.qty button{width:28px;height:28px;border:1px solid #ddd;background:#fff;border-radius:8px}.total{display:flex;justify-content:space-between;font-size:22px;padding:22px 0}.checkout{width:100%;padding:14px;border:0;border-radius:12px;background:#111827;color:#fff;font-weight:900;cursor:pointer}.checkout:disabled{background:#d1d5db;color:#6b7280;cursor:not-allowed}.note{font-size:12px;color:#7c8595;line-height:1.5}#checkoutMessage{margin-top:12px}.success{padding:14px;border-radius:12px;background:#ecfdf3;color:#067647;line-height:1.45}.error{padding:14px;border-radius:12px;background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;line-height:1.45}#shade{display:none;position:fixed;z-index:10;inset:0;background:#0006}#shade.show{display:block}@media(max-width:650px){header{grid-template-columns:1fr 1fr}header span{display:none}main{width:92vw}}
.wallet-badge{justify-self:center;font-size:13px;font-weight:800;background:#ffffff18;border:1px solid #ffffff2b;padding:8px 12px;border-radius:999px}.wallet-pay{width:100%;margin-top:12px;padding:14px;border:0;border-radius:12px;background:#111827;color:#fff;font-weight:900;cursor:pointer}.wallet-pay:disabled{background:#d1d5db;color:#6b7280;cursor:not-allowed}.wallet-note{margin-top:10px;padding:12px;border-radius:12px;background:#f3f4f6;color:#475467;font-size:13px;line-height:1.4}@media(max-width:650px){.wallet-badge{display:none}}

.wallet-badge{color:#fff;font-family:inherit;cursor:pointer}.wallet-modal{position:fixed;inset:0;background:#0008;z-index:1000;display:flex;align-items:center;justify-content:center;padding:18px}.wallet-panel{position:relative;background:#fff;color:#111827;width:min(520px,100%);max-height:80vh;overflow:auto;border-radius:22px;padding:24px;box-shadow:0 24px 70px #0005}.wallet-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:30px;cursor:pointer}.wallet-panel h2{margin:0 0 8px}.wallet-balance-large{font-size:36px;font-weight:900;margin:6px 0 22px}.wallet-history-title{font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#667085;margin-bottom:8px}.wallet-row{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid #eaecf0}.wallet-row-main{font-weight:800}.wallet-row-sub{font-size:12px;color:#667085;margin-top:4px}.wallet-row-amount{font-weight:900;white-space:nowrap}.wallet-empty{padding:18px 0;color:#667085}

.wallet-store-hint{
  margin-top:18px;
  padding:12px 14px;
  border-radius:12px;
  background:#f8fafc;
  color:#475467;
  font-size:13px;
  line-height:1.45;
}
.wallet-low-balance{
  margin-top:12px;
  padding:12px 14px;
  border-radius:12px;
  background:#fff4e5;
  color:#7a4a00;
  font-size:13px;
  line-height:1.45;
  border:1px solid #ffd8a8;
}
.wallet-badge{
  min-width:130px;
}

.status-text{font-size:12px;vertical-align:middle;margin-left:8px;font-weight:900;letter-spacing:.08em}.closed-text{color:#b42318}.unavailable-card{opacity:.78}.unavailable-card .primary:disabled{background:#d1d5db;color:#667085;cursor:not-allowed}.card .pill.closed{margin-bottom:4px}

/* XIPO v5.5 image cards */
.restaurant-card,.product-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.restaurant-image-wrap{position:relative;width:100%;height:190px;background:#eef0f3;overflow:hidden}
.restaurant-image{width:100%;height:100%;display:block;object-fit:cover}
.image-pill{position:absolute;top:14px;left:14px;box-shadow:0 4px 14px rgba(0,0,0,.14)}
.restaurant-card-body,.product-card-body{padding:22px;display:flex;flex-direction:column;flex:1}
.restaurant-card-body h3,.product-card-body h3{margin-top:8px}
.restaurant-card-body .primary,.product-card-body .primary{margin-top:auto}
.product-image{width:100%;height:220px;display:block;object-fit:cover;background:#eef0f3}
.product-card{width:100%;max-width:390px;min-height:500px}
.product-card-body p:not(.price){min-height:44px}
.product-card-body .price{margin-top:auto}
@media(max-width:700px){.restaurant-image-wrap{height:160px}.product-image{height:190px}.product-card{max-width:none;min-height:0}}

/* XIPO v5.6 menu categories */
.category-bar{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 26px}
.category-chip{border:1px solid #d8dde6;background:#fff;color:#101828;border-radius:999px;padding:10px 18px;font-weight:800;cursor:pointer;font:inherit}
.category-chip:hover{border-color:#98a2b3}
.category-chip.active{background:#101828;color:#fff;border-color:#101828}
.menu-grid{grid-template-columns:repeat(auto-fill,minmax(280px,390px));justify-content:start}
.menu-head{margin-bottom:18px}
@media(max-width:700px){.category-bar{gap:8px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}.category-chip{white-space:nowrap}.menu-grid{grid-template-columns:1fr}}

/* XIPO v5.7 My XIPO */
.my-xipo-btn{position:fixed;right:24px;top:78px;z-index:20;border:0;border-radius:999px;padding:9px 16px;font-weight:800;cursor:pointer;background:#fff;color:#101828;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.account-head{margin:42px 0 22px}.account-head h2{font-size:32px;margin:0 0 6px}.account-head p,.muted{color:#667085}
.account-grid{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:18px;max-width:900px}.account-card{background:#fff;border:1px solid #e2e6ec;border-radius:20px;padding:26px;text-align:left;cursor:pointer;min-height:140px}.account-card b{display:block;font-size:22px;margin-bottom:10px}.account-card span{color:#667085;font-size:16px}.account-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(16,24,40,.08)}
.account-panel{background:#fff;border:1px solid #e2e6ec;border-radius:20px;padding:22px;max-width:900px}.order-row{width:100%;display:flex;justify-content:space-between;gap:20px;align-items:center;border:0;border-bottom:1px solid #eee;background:#fff;padding:18px 8px;text-align:left;cursor:pointer}.order-row:last-child{border-bottom:0}.order-row span:last-child{text-align:right}.order-row small,.wallet-row small{display:block;color:#667085;margin-top:5px}.status-card{padding:10px}.status-label{display:inline-block;border-radius:999px;padding:7px 11px;background:#ecfdf3;font-weight:800;font-size:12px}.wallet-big{font-size:42px;font-weight:900}.wallet-list{margin-top:22px}.wallet-row{display:flex;justify-content:space-between;border-top:1px solid #eee;padding:15px 2px}.lookup{display:flex;gap:12px}.lookup input{flex:1;border:1px solid #d0d5dd;border-radius:12px;padding:13px;font:inherit}.empty-state{color:#667085;padding:20px 4px}
@media(max-width:700px){.account-grid{grid-template-columns:1fr}.my-xipo-btn{right:12px;top:82px}.order-row{align-items:flex-start}.lookup{flex-direction:column}}

/* XIPO v5.7.4 Household View */
.household-summary{display:flex;justify-content:space-between;align-items:center;padding:4px 2px 18px;border-bottom:1px solid #eee}.household-summary b{display:block;font-size:21px}.household-summary span:not(.status-label){display:block;color:#667085;margin-top:4px}.household-list{display:flex;flex-direction:column}.household-row{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;padding:17px 2px;border-bottom:1px solid #eee}.household-row:last-child{border-bottom:0}.member-avatar{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#101828;color:#fff;font-weight:900}.member-main b{display:block;font-size:17px}.member-main small{display:block;color:#667085;margin-top:4px}.member-perms{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.member-perms span{background:#f2f4f7;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}.household-note{margin-top:18px;padding:14px 16px;border-radius:12px;background:#f9fafb;color:#667085}
@media(max-width:700px){.household-row{grid-template-columns:44px 1fr}.member-perms{grid-column:2;justify-content:flex-start}}

/* XIPO v5.7.5 Order Receipt */
.receipt-meta{display:flex;flex-direction:column;gap:8px;margin:14px 0 20px;color:#667085}.receipt-meta span{display:flex;justify-content:space-between;gap:20px}.receipt-meta b{color:#101828}.receipt-items{border-top:1px solid #eee;padding-top:18px}.receipt-items h4{margin:0 0 10px;font-size:16px}.receipt-row{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #eee}.receipt-row:last-child{border-bottom:0}.receipt-row span b{display:block}.receipt-row small{display:block;color:#667085;margin-top:4px}

/* XIPO v5.8.1 in-page Wallet confirmation */
.wallet-confirm{padding:16px;border:1px solid #d0d5dd;border-radius:14px;background:#f9fafb;line-height:1.45}
.wallet-confirm>b{display:block;font-size:17px;margin-bottom:12px}
.confirm-line{display:flex;justify-content:space-between;gap:18px;padding:5px 0}
.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.confirm-pay,.confirm-cancel{padding:12px;border-radius:10px;font-weight:900;cursor:pointer}
.confirm-pay{border:0;background:#111827;color:#fff}
.confirm-cancel{border:1px solid #d0d5dd;background:#fff;color:#111827}


/* XIPO v5.9 Customer Support Cases */
.support-box{margin-top:24px;padding:18px;border:1px solid #e2e6ec;border-radius:16px;background:#f9fafb}
.support-box-head{display:flex;justify-content:space-between;gap:18px;align-items:center}
.support-box h4{margin:0 0 6px;font-size:18px}
.support-box p{margin:0;color:#667085;line-height:1.45}
.support-toggle{border:1px solid #d0d5dd;background:#fff;color:#101828;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer;white-space:nowrap}
.support-form{margin-top:18px;padding-top:18px;border-top:1px solid #e4e7ec}
.support-form label{display:block;font-size:13px;font-weight:800;margin:0 0 6px;color:#344054}
.support-form select,.support-form textarea{width:100%;box-sizing:border-box;border:1px solid #d0d5dd;border-radius:12px;background:#fff;padding:12px 13px;font:inherit;margin-bottom:14px}
.support-form textarea{resize:vertical;min-height:110px}
.support-form-actions{display:flex;gap:10px;align-items:center}
.support-cancel{border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:10px;padding:11px 14px;font-weight:800;cursor:pointer}
.support-disabled{opacity:.78}
.support-case-row{display:flex;justify-content:space-between;gap:20px;padding:18px 2px;border-bottom:1px solid #eee}
.support-case-row:last-child{border-bottom:0}
.support-case-title{font-size:17px;font-weight:900}
.support-case-type{margin-top:4px;font-size:12px;font-weight:900;color:#667085;letter-spacing:.05em}
.support-case-message{margin-top:9px;color:#344054;line-height:1.45}
.support-case-row small{display:block;margin-top:8px;color:#98a2b3}
.support-status{align-self:flex-start;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;white-space:nowrap}
.support-open{background:#fff4e5;color:#9a6700}
.support-in-review{background:#eff8ff;color:#175cd3}
.support-resolved{background:#ecfdf3;color:#027a48}
@media(max-width:700px){.support-box-head,.support-case-row{flex-direction:column;align-items:stretch}.support-toggle{width:100%}.support-form-actions{flex-direction:column}.support-form-actions button{width:100%}.support-status{align-self:flex-start}}

/* XIPO v5.10 Customer Support Resolution Details */
.customer-resolution{margin-top:13px;padding:12px 14px;border:1px solid #dfe6ee;border-radius:12px;background:#f8fafc;display:flex;flex-direction:column;gap:4px;color:#344054}
.customer-resolution b{color:#101828}
.customer-resolution span{font-size:13px}
.customer-resolution small{margin-top:4px!important;color:#667085!important}

/* v5.11 fulfillment readiness */
.availability-warning{font-weight:700;margin:.45rem 0;color:inherit;opacity:.85}.product-card.unavailable-card .product-image{opacity:.55}.product-card.unavailable-card .primary:disabled{cursor:not-allowed;opacity:.65}

/* XIPO v5.12 live order progress */
.current-order-card{width:100%;border:1px solid #d8dee8;background:#f8fafc;border-radius:16px;padding:18px;margin-bottom:16px;text-align:left;cursor:pointer}.current-order-main{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-top:7px}.current-order-main b{display:block;font-size:17px}.current-order-main small{display:block;color:#667085;margin-top:5px}.current-order-action{display:block;margin-top:12px;font-weight:800;font-size:13px}.progress-kicker{font-size:11px;font-weight:900;letter-spacing:.12em;color:#667085}.order-progress{margin:18px 0 22px;border:1px solid #e2e6ec;border-radius:16px;padding:18px;background:#fbfcfe}.order-progress-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.order-progress-head h4{margin:5px 0 5px;font-size:20px}.order-progress-head p{margin:0;color:#667085;line-height:1.45}.status-refresh{border:1px solid #d0d5dd;background:#fff;border-radius:10px;padding:9px 12px;font-weight:800;cursor:pointer}.progress-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:20px}.progress-step{position:relative;display:flex;flex-direction:column;gap:8px;align-items:flex-start;color:#98a2b3;font-size:12px}.progress-step:before{content:"";position:absolute;top:14px;left:28px;right:-8px;height:3px;background:#e4e7ec}.progress-step:last-child:before{display:none}.progress-step.done:before{background:#101828}.progress-dot{position:relative;z-index:1;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e4e7ec;color:#667085;font-weight:900}.progress-step.done .progress-dot{background:#101828;color:#fff}.progress-step.current .progress-dot{outline:4px solid #e9edf3}.progress-step.done b,.progress-step.current b{color:#101828}.progress-step small{display:block;margin-top:3px;line-height:1.2}.progress-step.current b{font-weight:900}
@media(max-width:700px){.progress-steps{grid-template-columns:1fr;gap:12px}.progress-step{display:grid;grid-template-columns:32px 1fr;align-items:center}.progress-step:before{top:28px;left:13px;bottom:-12px;width:3px;height:auto;right:auto}.order-progress-head{flex-direction:column}.current-order-main{align-items:flex-start}}


:root{--x-red:#ff3b30;--x-orange:#ff7a00;--x-coral:#ff8a65;--x-yellow:#ffd23f;--x-green:#7a8f44;--x-green-deep:#526b19;--x-cream:#f8efe0;--x-ink:#1d2516;--x-line:#eadfcf;--x-shadow:0 18px 55px rgba(91,55,12,.13)}
html{scroll-behavior:smooth}
body{color:var(--x-ink);background:radial-gradient(circle at 3% 4%,rgba(255,210,63,.19),transparent 26rem),radial-gradient(circle at 98% 6%,rgba(255,59,48,.14),transparent 30rem),linear-gradient(180deg,#fffaf3 0%,#f8efe0 100%);min-height:100vh}
.xipo-header{position:sticky;top:0;z-index:50;width:min(1480px,calc(100% - 28px));margin:12px auto 0;padding:9px 14px 9px 18px;display:grid;grid-template-columns:minmax(170px,250px) 1fr auto;gap:18px;border:1px solid rgba(255,255,255,.85);border-radius:28px;background:rgba(255,250,242,.92);color:var(--x-ink);backdrop-filter:blur(18px);box-shadow:0 10px 35px rgba(74,44,7,.12)}
.xipo-header button{font-family:inherit}
.brand-button{justify-self:start;width:190px;height:58px;padding:0;border:0;background:transparent;cursor:pointer}.brand-button img{width:100%;height:100%;object-fit:contain;object-position:left center}
.top-nav{display:flex;align-items:center;justify-content:center;gap:8px}.top-nav button{position:relative;border:0;background:transparent;color:#28301e;padding:14px;font-weight:800;font-size:14px;cursor:pointer;border-radius:14px}.top-nav button:hover{background:#fff4e8;color:var(--x-red)}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.wallet-badge{justify-self:auto!important;min-width:145px!important;border:1px solid rgba(122,143,68,.24)!important;background:linear-gradient(135deg,#8ca24e,#617926)!important;color:white!important;padding:11px 15px!important;border-radius:999px!important;box-shadow:0 8px 20px rgba(82,107,25,.2)}
#cartBtn{justify-self:auto!important;border:1px solid #f1e5d7!important;background:#fff!important;color:var(--x-ink)!important;border-radius:999px!important;padding:10px 13px!important;box-shadow:0 7px 18px rgba(91,55,12,.08)}#count{background:linear-gradient(135deg,var(--x-red),var(--x-orange))!important;color:#fff!important}
main{width:min(1420px,94vw);padding:0 0 64px}
.brand-hero{position:relative;display:grid;grid-template-columns:1.03fr .97fr;gap:30px;align-items:center;min-height:510px;margin-top:18px;padding:54px 52px;border:1px solid rgba(255,255,255,.9);border-radius:34px;overflow:hidden;background:radial-gradient(circle at 10% 20%,rgba(255,210,63,.22),transparent 30%),radial-gradient(circle at 76% 20%,rgba(255,59,48,.17),transparent 31%),linear-gradient(135deg,#fff9ef 0%,#fff1e9 48%,#f5e9d3 100%);box-shadow:var(--x-shadow)}
.brand-hero:before{content:"";position:absolute;right:-10%;top:-26%;width:65%;height:150%;background:linear-gradient(140deg,transparent 24%,rgba(255,59,48,.83) 25% 33%,rgba(255,122,0,.78) 34% 42%,rgba(255,210,63,.65) 43% 51%,rgba(122,143,68,.6) 52% 60%,transparent 61%);transform:rotate(5deg);opacity:.4}
.hero-copy,.hero-visual{position:relative;z-index:1}.hero-copy small{color:var(--x-green-deep)!important;font-size:12px;letter-spacing:.13em}.brand-hero h1{max-width:760px;margin:16px 0 18px;font-size:clamp(46px,6.4vw,92px);line-height:.88;letter-spacing:-.055em;color:#203011}.brand-hero h1 em{font-style:italic;font-weight:900;background:linear-gradient(90deg,var(--x-red),var(--x-orange),#f4a900);-webkit-background-clip:text;background-clip:text;color:transparent}.brand-hero p{max-width:660px;color:#4f5845;font-size:18px;line-height:1.65;margin:0 0 28px}
.hero-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.hero-primary,.brand-banner button{border:0;border-radius:999px;padding:15px 24px;color:#fff;font-weight:900;cursor:pointer;background:linear-gradient(135deg,var(--x-red),var(--x-orange));box-shadow:0 12px 28px rgba(255,73,32,.25)}.hero-tagline{font-size:12px;font-weight:900;letter-spacing:.12em;color:var(--x-green-deep)}.hero-tagline i{font-style:normal;color:var(--x-orange);padding:0 5px}
.hero-visual{min-height:380px;border-radius:30px;padding:10px;display:flex;align-items:center;justify-content:center}.hero-visual img{width:100%;height:390px;object-fit:cover;border-radius:28px;border:5px solid rgba(255,255,255,.75);box-shadow:0 26px 58px rgba(69,35,0,.25);transform:rotate(1.2deg)}.hero-glow{position:absolute;inset:12% 6%;border-radius:50%;background:radial-gradient(circle,rgba(255,210,63,.65),rgba(255,122,0,.32) 35%,transparent 70%);filter:blur(24px)}.hero-badge{position:absolute;right:18px;bottom:22px;padding:11px 15px;border-radius:999px;background:rgba(255,255,255,.92);color:#394324;font-size:13px;box-shadow:0 10px 25px rgba(60,40,10,.15)}.hero-badge b{color:var(--x-red)}
.feature-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:-26px 28px 28px;position:relative;z-index:3}.feature-strip>div{display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto;gap:2px 12px;align-items:center;background:rgba(255,255,255,.93);border:1px solid rgba(234,223,207,.9);border-radius:22px;padding:18px 20px;box-shadow:0 14px 30px rgba(74,44,7,.09)}.feature-strip b{font-size:17px}.feature-strip small{grid-column:2;color:#777565}.feature-icon{grid-row:1/3;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:18px;font-weight:900}.feature-icon.red{background:linear-gradient(135deg,#ff4940,#e91813)}.feature-icon.orange{background:linear-gradient(135deg,#ff9b2f,#ff6500)}.feature-icon.yellow{background:linear-gradient(135deg,#ffda44,#f3aa00);color:#3a3214}.feature-icon.green{background:linear-gradient(135deg,#92aa52,#617926)}
#content{position:relative;padding:8px 4px 24px}#content>.head h2,.account-head h2,.menu-head h2{color:#283719;font-size:34px;letter-spacing:-.035em}.grid{gap:20px}.card,.account-card,.account-panel,.status-card{border:1px solid var(--x-line)!important;background:linear-gradient(180deg,#fff 0%,#fffaf3 100%)!important;box-shadow:0 13px 32px rgba(74,44,7,.085)!important}.card{border-radius:24px!important}.restaurant-card,.product-card{transition:transform .2s ease,box-shadow .2s ease}.restaurant-card:hover,.product-card:hover{transform:translateY(-5px);box-shadow:0 20px 42px rgba(74,44,7,.14)!important}.restaurant-card-body h3,.product-card-body h3{color:#263518}.card p,.muted,.account-head p{color:#6f705f}
.primary,.checkout,.wallet-pay,.confirm-pay{background:linear-gradient(135deg,var(--x-red),var(--x-orange))!important;color:white!important;border:0!important;border-radius:14px!important;box-shadow:0 9px 20px rgba(255,72,30,.18)}.price{color:var(--x-red-deep)!important}.pill,.status-label{background:#edf6df!important;color:var(--x-green-deep)!important}.pill.closed,.closed{background:#fff0e8!important;color:#bb3e00!important}.category-chip{border-color:#e7d9c8!important;background:#fffaf3!important;color:#485331!important}.category-chip.active{border-color:transparent!important;background:linear-gradient(135deg,var(--x-red),var(--x-orange))!important;color:#fff!important}
.my-xipo-btn{position:fixed!important;right:24px!important;top:92px!important;background:linear-gradient(135deg,#8da44f,#617926)!important;color:#fff!important;box-shadow:0 9px 22px rgba(82,107,25,.23)!important}.back{color:var(--x-green-deep)!important}
#cart{background:linear-gradient(180deg,#fffaf2,#fff)!important;border-left:1px solid #f0dfca;border-radius:30px 0 0 30px}.carthead small{font-weight:900;letter-spacing:.12em;color:var(--x-orange)}.carthead h2{margin:4px 0 0;color:#263518}.row{border-color:#efe2d3!important}.qty button{border-color:#e6d6c3!important;background:#fffaf3!important;color:var(--x-red);font-weight:900}.total b{color:var(--x-red)}#shade{backdrop-filter:blur(5px);background:rgba(35,27,11,.46)!important}
.wallet-panel{background:linear-gradient(145deg,#fffaf3,#fff3e6)!important;border:1px solid white}.wallet-brand{display:flex;align-items:center;gap:12px;margin-bottom:12px;font-size:20px;font-weight:900;color:#33431e}.wallet-brand img{width:100px;height:58px;object-fit:contain}.wallet-balance-large,.wallet-big{color:var(--x-green-deep)}
.success{background:#edf7e2!important;color:#45600f!important;border:1px solid #d4eab8}.error{background:#fff0ea!important;color:#9f241c!important;border-color:#ffc3b8!important}
.brand-banner{margin:24px 0 0;padding:26px 34px;border-radius:30px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:white;overflow:hidden;background:linear-gradient(115deg,rgba(255,59,48,.96),rgba(255,122,0,.94) 45%,rgba(122,143,68,.94));box-shadow:0 18px 48px rgba(96,46,7,.18)}.brand-banner div{display:flex;flex-direction:column}.brand-banner strong{font-size:clamp(27px,4vw,46px);font-style:italic;line-height:1}.brand-banner span{margin-top:7px;font-size:18px;font-weight:700}.brand-banner button{background:white!important;color:var(--x-red)!important}
@media(max-width:1050px){.xipo-header{grid-template-columns:170px 1fr auto}.top-nav button{padding:12px 8px;font-size:13px}.brand-hero{grid-template-columns:1fr;padding:42px}.hero-visual{min-height:300px}.hero-visual img{height:330px}}
@media(max-width:760px){.xipo-header{width:calc(100% - 14px);margin-top:7px;border-radius:22px;grid-template-columns:1fr auto;padding:8px 10px}.brand-button{width:132px;height:48px}.top-nav{display:none}.header-actions{gap:6px}#cartBtn{padding:9px 11px!important}.wallet-badge{display:none!important}main{width:94vw}.brand-hero{min-height:auto;margin-top:12px;padding:34px 24px;border-radius:27px}.brand-hero h1{font-size:52px}.brand-hero p{font-size:16px}.hero-visual img{height:260px}.feature-strip{grid-template-columns:1fr 1fr;margin:-18px 12px 24px}.feature-strip>div{padding:13px}.feature-icon{width:40px;height:40px}.brand-banner{padding:22px;align-items:flex-start;flex-direction:column}.my-xipo-btn{top:72px!important;right:10px!important}}
@media(max-width:470px){.feature-strip{grid-template-columns:1fr}.brand-hero h1{font-size:46px}.hero-visual{display:none}.hero-tagline{width:100%}}


/* XIPO v5.15 — SECOND LIFE PORTRAIT TABLET OPTIMIZATION */
@media (orientation: portrait) and (max-width:1200px){
body{font-size:18px;line-height:1.45}
.xipo-header{width:calc(100% - 18px);grid-template-columns:150px minmax(0,1fr) auto;gap:8px;padding:10px 12px;border-radius:24px}
.brand-button{width:150px;height:56px}
.top-nav{display:flex!important;gap:2px;justify-content:center}
.top-nav button{padding:13px 8px;font-size:16px;font-weight:900}
.header-actions{gap:6px}
.wallet-badge{display:inline-flex!important;min-width:128px!important;padding:11px 12px!important;font-size:14px!important;font-weight:900!important}
#cartBtn{padding:11px 13px!important;font-size:15px!important;font-weight:900!important}
#count{min-width:24px;height:24px;line-height:24px;font-size:13px}
main{width:96vw}
.brand-hero{grid-template-columns:1fr;gap:20px;min-height:auto;margin-top:12px;padding:36px 30px 28px;border-radius:28px}
.hero-copy small{font-size:15px!important;line-height:1.3;letter-spacing:.08em;font-weight:900}
.brand-hero h1{margin:14px 0 16px;font-size:68px;line-height:.92;letter-spacing:-.045em}
.brand-hero p{max-width:none;margin-bottom:22px;font-size:21px;line-height:1.5;font-weight:600}
.hero-actions{gap:14px}.hero-primary{padding:16px 22px;font-size:18px}.hero-tagline{font-size:14px;letter-spacing:.08em}
.hero-visual{min-height:0;padding:0}.hero-visual img{height:360px;border-radius:24px}.hero-badge{right:14px;bottom:14px;padding:10px 13px;font-size:15px}
.feature-strip{grid-template-columns:repeat(2,1fr);gap:12px;margin:-10px 14px 24px}
.feature-strip>div{grid-template-columns:54px 1fr;min-height:88px;padding:16px;border-radius:20px}
.feature-strip b{font-size:20px}.feature-strip small{font-size:16px;line-height:1.25}.feature-icon{width:50px;height:50px;font-size:20px}
#content{padding:12px 4px 26px}
#content>.head h2,.menu-head h2,.account-head h2{font-size:38px!important;line-height:1.05}
.head p,.menu-head p,.account-head p,.muted{font-size:18px!important;line-height:1.4!important}
.grid{grid-template-columns:1fr!important;gap:18px!important}
.card,.account-card,.account-panel,.status-card,.support-box,.support-case-row{border-radius:22px!important}
.restaurant-image-wrap{min-height:230px}.restaurant-image{height:230px!important;object-fit:cover}
.restaurant-card-body,.product-card-body,.account-card,.account-panel,.status-card{padding:20px!important}
.restaurant-card-body h3,.product-card-body h3{font-size:27px!important;line-height:1.1;margin-bottom:8px!important}
.restaurant-card-body p,.product-card-body p,.card p{font-size:18px!important;line-height:1.4!important}
.price{font-size:24px!important;font-weight:950!important}
.pill,.status-label{font-size:15px!important;padding:8px 11px!important;font-weight:900!important}
.category-row,.categories{gap:8px!important;flex-wrap:wrap!important}
.category-chip{padding:11px 15px!important;font-size:16px!important;font-weight:900!important}
button,.primary,.checkout,.wallet-pay,.confirm-pay{min-height:46px}
.primary,.checkout,.wallet-pay,.confirm-pay{padding:13px 18px!important;font-size:17px!important;font-weight:900!important}
.my-xipo-btn{top:82px!important;right:12px!important;padding:11px 14px!important;font-size:15px!important;border-radius:999px!important}
.back{font-size:17px!important;font-weight:900!important}
.order-row,.history-row{padding:18px 14px!important;gap:12px!important}
.order-row b,.history-row b{font-size:19px!important}.order-row small,.history-row small{font-size:15px!important}
.current-order-card{padding:18px!important;border-radius:20px!important}.current-order-card h3{font-size:24px!important}
.current-order-card a,.current-order-card button{font-size:17px!important;font-weight:900!important}
.order-progress{padding:20px 10px 10px!important}.order-step{min-width:92px!important}
.order-step .step-name,.order-step small{font-size:14px!important;line-height:1.2!important;font-weight:800!important}
.order-dot{width:32px!important;height:32px!important;line-height:32px!important;font-size:14px!important}
.live-status-title,.status-card h3{font-size:25px!important}.live-status-copy,.status-card p{font-size:18px!important;line-height:1.45!important}
.support-box,.support-case-row{padding:18px!important}.support-box h3,.support-case-row h3{font-size:23px!important}
.support-box p,.support-case-row p{font-size:17px!important;line-height:1.4!important}
select,textarea,input{font-size:17px!important;min-height:46px}textarea{min-height:130px!important}
#cart{width:min(520px,92vw)!important;padding:24px!important}.carthead h2{font-size:34px!important}.carthead small{font-size:14px!important}
#cartItems,.row{font-size:17px!important}.row b{font-size:18px!important}.qty button{width:38px!important;height:38px!important;font-size:21px!important}
.total{font-size:22px!important}.total b{font-size:28px!important}.note{font-size:15px!important;line-height:1.4!important}
.wallet-panel{width:min(650px,92vw)!important;padding:28px!important}.wallet-brand{font-size:24px!important}
.wallet-brand img{width:130px!important;height:70px!important}.wallet-balance-large{font-size:46px!important}
.wallet-history-title{font-size:21px!important;font-weight:900!important}.wallet-history-list,.wallet-row{font-size:17px!important}
.wallet-store-hint{font-size:16px!important;line-height:1.4!important}
.brand-banner{padding:24px 26px;border-radius:26px}.brand-banner strong{font-size:40px}.brand-banner span{font-size:20px}.brand-banner button{padding:14px 20px;font-size:17px}
}
@media (orientation: portrait) and (max-width:760px){
body{font-size:19px}.xipo-header{grid-template-columns:128px minmax(0,1fr) auto}
.brand-button{width:128px;height:50px}.top-nav{display:flex!important;overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.top-nav::-webkit-scrollbar{display:none}
.top-nav button{flex:0 0 auto;font-size:15px;padding:11px 8px}
.wallet-badge{display:inline-flex!important;min-width:116px!important;font-size:13px!important;padding:9px 10px!important}
#cartBtn{font-size:14px!important;padding:9px 10px!important}
.brand-hero{padding:32px 24px 24px}.brand-hero h1{font-size:62px}.brand-hero p{font-size:20px}
.hero-visual{display:block!important}.hero-visual img{height:320px}
.feature-strip{grid-template-columns:repeat(2,1fr)!important}.my-xipo-btn{top:72px!important}
}


/* ============================================================
   XIPO v5.16 — PORTRAIT TABLET CART DRAWER FIX
   Cart is fully off-screen until opened and overlays cleanly.
   ============================================================ */

#cart{
  position:fixed!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  height:100vh!important;
  max-height:100vh!important;
  transform:translateX(110%)!important;
  visibility:hidden!important;
  pointer-events:none!important;
  z-index:10000!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
  transition:transform .22s ease, visibility 0s linear .22s!important;
}

#cart.open{
  transform:translateX(0)!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transition:transform .22s ease, visibility 0s!important;
}

@media (orientation:portrait) and (max-width:1200px){
  #cart{
    width:min(560px,94vw)!important;
    padding:26px 24px!important;
  }

  #cart .carthead{
    position:sticky;
    top:0;
    z-index:2;
    padding-bottom:14px;
  }

  #cart .carthead h2{
    font-size:32px!important;
    line-height:1.05!important;
  }

  #cart .close{
    min-width:46px!important;
    min-height:46px!important;
    font-size:22px!important;
  }

  #cartItems{
    padding-bottom:12px!important;
  }

  #cart .checkout{
    width:100%!important;
    min-height:52px!important;
    font-size:18px!important;
  }
}

@media (orientation:portrait) and (max-width:760px){
  #cart{
    width:94vw!important;
    max-width:94vw!important;
  }
}



/* ============================================================
   XIPO v5.17 — COMPACT TABLET HOME
   Smaller hero, cleaner headline, restaurants sooner.
   ============================================================ */

@media (orientation:portrait) and (max-width:1200px){

  .brand-hero{
    grid-template-columns:1.05fr .95fr!important;
    min-height:0!important;
    padding:24px 24px 20px!important;
    gap:18px!important;
  }

  .hero-copy small{
    font-size:13px!important;
    letter-spacing:.06em!important;
  }

  .brand-hero h1{
    font-size:50px!important;
    line-height:.95!important;
    margin:10px 0 12px!important;
    letter-spacing:-.035em!important;
  }

  .brand-hero h1 em{
    font-style:normal!important;
    font-weight:950!important;
    letter-spacing:-.035em!important;
    filter:none!important;
  }

  .brand-hero p{
    font-size:17px!important;
    line-height:1.38!important;
    margin-bottom:16px!important;
    font-weight:600!important;
  }

  .hero-actions{
    gap:10px!important;
  }

  .hero-primary{
    padding:12px 18px!important;
    font-size:15px!important;
    min-height:42px!important;
  }

  .hero-tagline{
    font-size:12px!important;
    letter-spacing:.05em!important;
  }

  .hero-visual{
    display:flex!important;
    min-height:0!important;
    align-items:center!important;
  }

  .hero-visual img{
    height:225px!important;
    border-width:3px!important;
    border-radius:20px!important;
    transform:none!important;
  }

  .hero-badge{
    font-size:12px!important;
    padding:7px 10px!important;
    right:9px!important;
    bottom:9px!important;
  }

  .feature-strip{
    grid-template-columns:repeat(4,1fr)!important;
    gap:8px!important;
    margin:10px 8px 18px!important;
  }

  .feature-strip>div{
    grid-template-columns:34px 1fr!important;
    min-height:60px!important;
    padding:10px 10px!important;
    border-radius:16px!important;
    gap:2px 7px!important;
  }

  .feature-icon{
    width:32px!important;
    height:32px!important;
    font-size:14px!important;
  }

  .feature-strip b{
    font-size:14px!important;
  }

  .feature-strip small{
    font-size:11px!important;
    line-height:1.15!important;
  }

  #content{
    padding-top:4px!important;
  }

  #content>.head{
    margin-bottom:12px!important;
  }

  #content>.head h2{
    font-size:30px!important;
  }

  .restaurant-image-wrap{
    min-height:150px!important;
  }

  .restaurant-image{
    height:150px!important;
  }

  .restaurant-card-body{
    padding:16px!important;
  }

  .restaurant-card-body h3{
    font-size:22px!important;
  }

  .restaurant-card-body p{
    font-size:15px!important;
  }

  .brand-banner{
    margin-top:16px!important;
    padding:18px 22px!important;
  }

  .brand-banner strong{
    font-size:30px!important;
  }

  .brand-banner span{
    font-size:16px!important;
  }
}

@media (orientation:portrait) and (max-width:760px){

  .brand-hero{
    grid-template-columns:1fr!important;
    padding:22px 18px 18px!important;
  }

  .brand-hero h1{
    font-size:44px!important;
  }

  .hero-visual{
    margin-top:4px!important;
  }

  .hero-visual img{
    height:190px!important;
  }

  .feature-strip{
    grid-template-columns:repeat(2,1fr)!important;
  }
}



/* ============================================================
   XIPO v5.18 — APPROVED CLEAN TABLET HOME
   ============================================================ */

@media (orientation:portrait) and (max-width:1200px){

  body{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:16px!important;
    line-height:1.4!important;
    letter-spacing:0!important;
  }

  .xipo-header{
    grid-template-columns:135px minmax(0,1fr) auto!important;
    padding:9px 12px!important;
  }

  .brand-button{
    width:135px!important;
    height:52px!important;
  }

  .top-nav button{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:14px!important;
    font-weight:700!important;
    letter-spacing:0!important;
  }

  .wallet-badge,#cartBtn,.my-xipo-btn{
    font-family:Arial,Helvetica,sans-serif!important;
    font-weight:700!important;
    letter-spacing:0!important;
  }

  .brand-hero{
    display:grid!important;
    grid-template-columns:1.02fr .98fr!important;
    align-items:center!important;
    min-height:0!important;
    padding:24px 24px 20px!important;
    gap:18px!important;
  }

  .hero-copy{
    min-width:0!important;
  }

  .hero-copy small{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:800!important;
    letter-spacing:.04em!important;
  }

  .brand-hero h1{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:46px!important;
    line-height:.98!important;
    font-weight:800!important;
    letter-spacing:-.035em!important;
    margin:10px 0 13px!important;
    transform:none!important;
    text-shadow:none!important;
  }

  .brand-hero h1 em,
  .brand-hero h1 i{
    font-family:Arial,Helvetica,sans-serif!important;
    font-style:normal!important;
    font-size:inherit!important;
    line-height:inherit!important;
    font-weight:800!important;
    letter-spacing:-.035em!important;
    transform:none!important;
    text-shadow:none!important;
    filter:none!important;
  }

  .brand-hero p{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:15px!important;
    line-height:1.42!important;
    font-weight:400!important;
    letter-spacing:0!important;
    margin:0 0 15px!important;
  }

  .hero-primary{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:14px!important;
    font-weight:700!important;
    padding:11px 16px!important;
    min-height:40px!important;
  }

  .hero-tagline{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:800!important;
    letter-spacing:.04em!important;
  }

  .hero-visual{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:0!important;
    padding:0!important;
  }

  .hero-visual img{
    width:100%!important;
    height:210px!important;
    object-fit:cover!important;
    border-radius:20px!important;
    transform:none!important;
  }

  .feature-strip{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
    margin:10px 10px 18px!important;
  }

  .feature-strip>div{
    grid-template-columns:36px minmax(0,1fr)!important;
    min-height:66px!important;
    padding:10px!important;
    border-radius:16px!important;
    gap:3px 8px!important;
  }

  .feature-icon{
    width:34px!important;
    height:34px!important;
    font-size:14px!important;
  }

  .feature-strip b{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:14px!important;
    line-height:1.15!important;
    font-weight:700!important;
  }

  .feature-strip small{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:11px!important;
    line-height:1.2!important;
    letter-spacing:0!important;
  }

  #content{
    padding-top:3px!important;
  }

  #content>.head h2,
  .menu-head h2{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:27px!important;
    font-weight:800!important;
    letter-spacing:-.02em!important;
  }

  #content>.head p,
  .menu-head p{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:14px!important;
  }

  .grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }

  .restaurant-image-wrap{
    min-height:125px!important;
  }

  .restaurant-image{
    height:125px!important;
    object-fit:cover!important;
  }

  .restaurant-card-body{
    padding:12px!important;
  }

  .restaurant-card-body h3{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:17px!important;
    line-height:1.15!important;
    font-weight:800!important;
    letter-spacing:0!important;
  }

  .restaurant-card-body p{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:12px!important;
    line-height:1.25!important;
    letter-spacing:0!important;
  }

  .pill{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:11px!important;
  }

  .brand-banner{
    grid-template-columns:1fr 1.1fr 1fr!important;
    padding:15px 18px!important;
    margin-top:16px!important;
  }

  .brand-banner strong{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:25px!important;
    font-weight:800!important;
    letter-spacing:-.02em!important;
  }

  .brand-banner span{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:13px!important;
    line-height:1.3!important;
  }
}

/* Keep a readable fallback if the MOAP viewport reports unusually narrow. */
@media (orientation:portrait) and (max-width:560px){
  .brand-hero{
    grid-template-columns:1fr!important;
  }
  .hero-visual img{
    height:165px!important;
  }
  .feature-strip{
    grid-template-columns:repeat(2,1fr)!important;
  }
  .grid{
    grid-template-columns:1fr!important;
  }
}


/* XIPO v5.19 — NO-SCROLL HOME TIGHTENING */
@media (orientation:portrait) and (max-width:1200px){
  .brand-hero{
    padding-top:18px!important;
    padding-bottom:14px!important;
    margin-top:8px!important;
    gap:14px!important;
  }
  .brand-hero h1{
    margin-top:7px!important;
    margin-bottom:9px!important;
  }
  .brand-hero p{
    margin-bottom:10px!important;
    line-height:1.32!important;
  }
  .hero-actions{gap:8px!important}
  .feature-strip{
    margin-top:6px!important;
    margin-bottom:8px!important;
  }
  .feature-strip>div{
    min-height:58px!important;
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
  #content{padding-top:0!important}
  #content>.head,.menu-head{
    margin-top:0!important;
    margin-bottom:7px!important;
  }
  #content>.head h2,.menu-head h2{
    margin-top:0!important;
    margin-bottom:4px!important;
  }
  .grid{margin-top:0!important}
}


/* XIPO v5.22 — Optional XIPO Needs */
.needs-account-card{position:relative;overflow:hidden}
.needs-account-card:after{content:"OPTIONAL";position:absolute;right:14px;top:14px;font-size:10px;font-weight:900;letter-spacing:.08em;color:#617926;background:#edf6df;border-radius:999px;padding:5px 8px}
.needs-panel{max-width:900px}
.needs-summary{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding-bottom:20px;border-bottom:1px solid #eee}
.needs-summary h3{margin:5px 0 4px;font-size:25px;color:#33431e}
.needs-summary p{margin:0;color:#667085}
.needs-kicker{font-size:11px;font-weight:900;letter-spacing:.12em;color:#d94d20}
.needs-sync{white-space:nowrap;border-radius:999px;padding:8px 11px;background:#edf6df;color:#617926;font-size:12px;font-weight:900}
.needs-bars{display:grid;gap:18px;padding:24px 0}
.needs-stat-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:8px}
.needs-stat-head b{color:#33431e}
.needs-stat-head span{color:#667085;font-size:13px;font-weight:800}
.needs-track{height:14px;background:#eee8df;border-radius:999px;overflow:hidden}
.needs-fill{height:100%;border-radius:999px;transition:width .35s ease}
.needs-fill.good{background:linear-gradient(90deg,#718b35,#9caf5d)}
.needs-fill.low{background:linear-gradient(90deg,#ef8a24,#f5ad43)}
.needs-fill.critical{background:linear-gradient(90deg,#d94428,#ff6540)}
.needs-condition{display:flex;justify-content:space-between;gap:20px;align-items:center;border-radius:18px;padding:18px 20px;margin-top:2px}
.needs-condition small{display:block;font-size:10px;font-weight:900;letter-spacing:.1em;margin-bottom:4px}
.needs-condition h3{margin:0 0 4px}
.needs-condition p{margin:0}
.needs-condition.healthy{background:#edf6df;color:#40521f}
.needs-condition.sick{background:#fff1e7;color:#8f351c}
.needs-condition.sick>div:last-child{text-align:right}
.needs-heart{font-size:34px}
.needs-footnote{margin-top:18px;padding:14px 16px;border-radius:14px;background:#f9fafb;color:#667085;font-size:13px;line-height:1.45}
@media(max-width:700px){.needs-summary,.needs-condition{flex-direction:column}.needs-condition.sick>div:last-child{text-align:left}.needs-sync{align-self:flex-start}}

.combo-label{display:block;margin:14px 0 7px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#667085}.combo-select{width:100%;padding:12px 13px;margin:0 0 12px;border:1px solid #e6d6c3;border-radius:12px;background:#fffaf3;color:#111827;font:inherit;font-weight:700}.combo-select:focus{outline:2px solid #f59e0b;outline-offset:1px}

/* XIPO v5.24 - customer-triggered redelivery */
.redelivery-box{margin:22px 0;padding:20px;border:1px solid #f0c9a7;border-radius:18px;background:#fff8ef}.redelivery-box h4{margin:6px 0 7px;font-size:21px}.redelivery-box p{margin:0 0 16px;color:#667085;line-height:1.5}.redelivery-button{max-width:320px}.redelivery-button:disabled{opacity:.65;cursor:wait}.redelivery-result{margin-top:12px}.redelivery-result:empty{display:none}

/* v5.25.0 live order tracking */
.live-tracking-line{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.live-pulse{font-size:12px;font-weight:900;letter-spacing:.04em;color:#344054;background:#f2f4f7;border:1px solid #e4e7ec;border-radius:999px;padding:7px 10px}
@media(max-width:700px){.live-tracking-line{align-items:flex-start}.live-pulse{font-size:11px}}


/* XIPO v5.26 - My Orders + Order Details polish */
.orders-panel{max-width:980px}
.orders-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.order-history-card{border:1px solid #e2e6ec;border-radius:20px;padding:20px;background:#fff;box-shadow:0 7px 22px rgba(16,24,40,.05)}
.order-history-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.order-history-top h3{margin:5px 0 0;font-size:21px}
.order-number{font-size:12px;font-weight:900;letter-spacing:.08em;color:#667085;text-transform:uppercase}
.order-badge{display:inline-flex;align-items:center;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900;white-space:nowrap}
.order-badge.active{background:#edf6df;color:#40551c}
.order-badge.delivered{background:#ecfdf3;color:#067647}
.order-badge.missed{background:#fff4e8;color:#b54708}
.order-badge.closed{background:#f2f4f7;color:#475467}
.order-badge.issue{background:#fef3f2;color:#b42318}
.order-history-summary{margin:18px 0 14px;color:#475467;line-height:1.5;min-height:24px}
.order-history-meta{display:flex;justify-content:space-between;gap:14px;align-items:flex-end;border-top:1px solid #eef0f3;padding-top:14px;color:#667085;font-size:13px}
.order-history-meta strong{color:#101828;font-size:18px}
.order-history-action{width:100%;margin-top:16px;border:1px solid #d0d5dd;background:#fff;border-radius:12px;padding:12px 14px;font-weight:900;cursor:pointer;text-align:center}
.order-history-action:hover{background:#f9fafb}
.order-history-action.redelivery-action{border:0;background:linear-gradient(135deg,var(--x-red),var(--x-orange));color:#fff}
.receipt-divider{display:flex;align-items:center;gap:12px;margin:22px 0 4px;color:#667085;font-size:11px;font-weight:900;letter-spacing:.12em}
.receipt-divider:after{content:"";height:1px;background:#e4e7ec;flex:1}
@media(max-width:760px){.orders-list{grid-template-columns:1fr}.order-history-meta{align-items:flex-start;flex-direction:column}.order-history-meta strong{align-self:flex-end}}


/* XIPO v5.27 — Cart + Checkout v2 */
.cart-restaurant{display:grid;grid-template-columns:1fr auto;gap:3px 12px;padding:14px 15px;margin:12px 0 4px;border:1px solid #eadbc9;border-radius:15px;background:#fffaf3}.cart-restaurant small{grid-column:1/-1;font-size:10px;font-weight:900;letter-spacing:.13em;color:var(--x-orange,#e85d04)}.cart-restaurant b{font-size:17px}.cart-restaurant span{font-size:13px;color:#667085;align-self:center}.cart-item-copy>div{margin-top:4px;color:#667085;font-size:13px}.remove-item{border:0;background:none;color:#b42318;font-weight:800;padding:7px 0 0;cursor:pointer}.empty-cart{display:flex;flex-direction:column;gap:5px;padding:28px 6px;color:#667085}.empty-cart b{color:#111827;font-size:18px}.checkout-review{margin-top:14px;padding:17px;border:1px solid #eadbc9;border-radius:18px;background:#fff}.review-kicker{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--x-orange,#e85d04)}.checkout-review h3{font-size:21px;margin:5px 0 14px}.review-items{display:grid;gap:9px}.review-item,.confirm-line{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.review-item span{color:#475467}.review-divider{height:1px;background:#eee2d4;margin:14px 0}.review-delivery,.review-wallet{margin-top:14px;padding:12px;border-radius:12px;background:#fffaf3}.review-delivery{display:flex;flex-direction:column;gap:4px}.review-delivery span,.review-note{font-size:12px;color:#667085;line-height:1.45}.review-wallet{display:grid;gap:7px}.review-note{margin:12px 1px}.confirm-actions{display:grid;gap:8px;margin-top:12px}.confirm-cancel{min-height:44px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;font-weight:800;cursor:pointer}


/* ============================================================
   XIPO v5.28 — MARKETPLACE RESTAURANT DISCOVERY GRID
   DoorDash-inspired information density with XIPO branding.
   Desktop: fluid multi-column marketplace tiles.
   Second Life portrait tablet: stable 2-column restaurant grid.
   ============================================================ */
.restaurant-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:26px 18px;
  align-items:start;
}
.restaurant-grid .marketplace-restaurant{
  min-width:0;
  padding:0!important;
  overflow:visible;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  cursor:pointer;
  display:block;
  transition:transform .18s ease;
}
.restaurant-grid .marketplace-restaurant:hover{
  transform:translateY(-3px);
  box-shadow:none!important;
}
.restaurant-grid .marketplace-restaurant:focus-visible{
  outline:3px solid var(--x-orange);
  outline-offset:5px;
  border-radius:18px!important;
}
.restaurant-grid .restaurant-image-wrap{
  position:relative;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  min-height:0;
  overflow:hidden;
  border-radius:16px;
  background:#eee9df;
  box-shadow:0 8px 22px rgba(74,44,7,.10);
}
.restaurant-grid .restaurant-image{
  width:100%;
  height:100%!important;
  display:block;
  object-fit:cover;
  transition:transform .22s ease;
}
.restaurant-grid .marketplace-restaurant:hover .restaurant-image{transform:scale(1.025)}
.restaurant-grid .image-pill{
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  box-shadow:0 5px 14px rgba(34,30,20,.12);
}
.restaurant-grid .restaurant-image-fallback{
  display:grid;
  place-items:center;
  padding:20px;
  background:linear-gradient(135deg,#fff3e5,#f4ead8);
}
.restaurant-grid .restaurant-fallback-name{
  font-size:22px;
  font-weight:950;
  text-align:center;
  color:#34451e;
}
.restaurant-grid .restaurant-card-body{
  padding:12px 3px 0!important;
  display:block;
}
.restaurant-grid .restaurant-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.restaurant-grid .restaurant-card-body h3{
  margin:0!important;
  color:#263518;
  font-size:19px!important;
  line-height:1.2;
  letter-spacing:-.015em;
}
.restaurant-grid .restaurant-arrow{
  flex:0 0 auto;
  font-size:24px;
  line-height:.85;
  color:var(--x-green-deep);
  font-weight:900;
}
.restaurant-grid .restaurant-card-body p{
  margin:7px 0 0;
  color:#6f705f;
  font-size:14px!important;
  line-height:1.35!important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

@media (min-width:1201px){
  .restaurant-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));}
}

/* Second Life portrait tablet: do NOT inherit the global one-column .grid rule. */
@media (orientation:portrait) and (max-width:1200px){
  .restaurant-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:22px 16px!important;
  }
  .restaurant-grid .restaurant-image-wrap{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:16/9;
    border-radius:18px;
  }
  .restaurant-grid .restaurant-image{height:100%!important}
  .restaurant-grid .restaurant-card-body{padding:11px 2px 0!important}
  .restaurant-grid .restaurant-card-body h3{font-size:22px!important}
  .restaurant-grid .restaurant-card-body p{font-size:16px!important;line-height:1.3!important}
  .restaurant-grid .image-pill{font-size:13px!important;padding:6px 9px!important}
}

/* Very narrow phones can fall back to one tile per row. */
@media (max-width:520px){
  .restaurant-grid{grid-template-columns:1fr!important}
}

/* XIPO payment method selection — staged rollout */
.xipo-payment-heading{margin:18px 0 10px;font-size:1.05rem}
.xipo-payment-choices{display:grid;gap:10px;margin:10px 0 14px}
.xipo-payment-option{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid rgba(150,150,150,.35);border-radius:12px;cursor:pointer;background:rgba(127,127,127,.07)}
.xipo-payment-option:has(input:checked){border-color:#e5a33a;background:rgba(229,163,58,.10)}
.xipo-payment-option input{accent-color:#e5a33a;flex-shrink:0}
.xipo-payment-option span{display:grid;gap:4px}
.xipo-payment-option small{opacity:.75}
#xipoPaymentConfirm:disabled{opacity:.55;cursor:not-allowed}

/* XIPO tablet header/logo repair — 2026-10-31 */
.xipo-header{min-width:0;overflow:visible}
.brand-button{min-width:0;overflow:visible}
.brand-button img{display:block;max-width:100%;max-height:100%;object-fit:contain;object-position:left center}
.top-nav{min-width:0}
@media (orientation:portrait) and (max-width:1200px){
  .xipo-header{grid-template-columns:minmax(88px,116px) minmax(0,1fr) auto!important;gap:6px!important;padding:8px 10px!important}
  .brand-button{width:110px!important;height:50px!important;min-width:0!important}
  .top-nav{min-width:0!important;overflow-x:auto!important;scrollbar-width:none;gap:0!important;justify-content:flex-start!important}
  .top-nav::-webkit-scrollbar{display:none}
  .top-nav button{white-space:nowrap!important;flex-shrink:0!important;padding:10px 5px!important;font-size:12px!important}
  .header-actions{min-width:0;gap:5px!important}
  .wallet-badge{min-width:0!important;padding:8px 7px!important;font-size:11px!important;white-space:nowrap}
  #cartBtn{padding:8px 9px!important;font-size:12px!important;white-space:nowrap}
}
@media (orientation:portrait) and (max-width:560px){
  .xipo-header{grid-template-columns:86px minmax(0,1fr) auto!important;gap:4px!important}
  .brand-button{width:84px!important;height:43px!important}
  .top-nav button{font-size:11px!important;padding:8px 4px!important}
}

/* Active shared-media session disclosure; checkout remains unchanged. */
.xipo-active-session-notice{display:flex;align-items:flex-start;gap:9px;margin:14px 0 12px;padding:11px 12px;border:1px solid #e9d9bc;border-radius:12px;background:#fff9ed;color:#5e4b2b;font-size:13px;line-height:1.4}.xipo-active-session-notice>span:first-child{font-size:18px;color:#b56a12;line-height:1}.xipo-active-session-notice strong{font-weight:800}

/* XIPO v16: checkout drawer header spacing and receipt hierarchy */
#cart .carthead{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:70px;padding:0 0 16px;margin:0 0 8px;background:#fffaf2}
#cart .carthead>div{min-width:0;flex:1}
#cart .carthead h2{margin:5px 0 0!important;line-height:1.2!important;overflow-wrap:break-word}
#cart .carthead button{flex:0 0 auto;line-height:1}
#cart .xipo-active-session-notice{position:relative;z-index:1;clear:both;display:flex;align-items:flex-start;gap:9px;margin:10px 0 20px!important;padding:12px!important;min-height:0;line-height:1.45!important;background:#fff9ed!important}
#cart .xipo-active-session-notice span{min-width:0;overflow-wrap:anywhere}
#cart .total{align-items:center;gap:10px}
#cart .total #cartTotalLabel{font-weight:800}
@media (orientation:portrait) and (max-width:1200px){#cart .carthead{position:relative!important;top:auto!important;min-height:76px!important;padding-bottom:18px!important;margin-bottom:12px!important}#cart .xipo-active-session-notice{margin-top:8px!important}}

/* XIPO verified restaurant ratings */
.xipo-rating-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;font-size:12px;flex-wrap:wrap}
.xipo-rating-stars,.xipo-star-btn.selected{color:#d28b0a}
.xipo-rating-count{color:#777;font-size:11px}
.xipo-rate-link{background:#fff5e8;border:1px solid #eac8a6;border-radius:8px;color:#9b460e;padding:7px 10px;cursor:pointer;font-weight:700}
.xipo-rating-overlay{position:fixed;inset:0;z-index:2147483646;background:rgba(0,0,0,.68);display:flex;align-items:center;justify-content:center;padding:16px}
.xipo-rating-dialog{position:relative;background:#fff;color:#222;border-radius:14px;padding:22px;width:min(350px,100%);box-sizing:border-box;box-shadow:0 12px 50px #0005}
.xipo-rating-dialog h3{margin:0 22px 12px 0}.xipo-rating-dialog p{font-size:13px;line-height:1.45}
.xipo-rating-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:24px;cursor:pointer}
.xipo-rating-choice{display:flex;justify-content:center;gap:4px;margin:14px 0}
.xipo-star-btn{background:transparent;border:0;color:#aaa;font-size:32px;cursor:pointer;padding:2px 5px}
.xipo-rating-dialog .primary{width:100%;margin-top:8px}

/* XIPO Welcome banner: preserve full artwork, including embedded typography. */
.brand-hero.xipo-welcome-hero{display:block!important;min-height:0!important;padding:0!important;margin-top:18px!important;overflow:hidden!important;border-radius:28px!important;background:#171e12!important;box-shadow:0 18px 48px rgba(30,25,12,.2)!important}
.brand-hero.xipo-welcome-hero:before{display:none!important}
.xipo-welcome-image{display:block;width:100%;height:auto;object-fit:contain;max-width:100%}
.xipo-welcome-actions{display:flex;justify-content:center;padding:12px 16px 16px;background:#171e12}
.xipo-welcome-actions .hero-primary{min-height:42px;font-size:14px}
@media(max-width:760px){.brand-hero.xipo-welcome-hero{margin-top:8px!important;border-radius:16px!important}.xipo-welcome-actions{padding:8px 10px 10px}.xipo-welcome-actions .hero-primary{padding:9px 16px!important;min-height:38px!important}}

/* v20: Place Browse Restaurants over the welcome image, no separate black footer. */
.brand-hero.xipo-welcome-hero{position:relative!important;background:transparent!important;}
.brand-hero.xipo-welcome-hero .xipo-welcome-actions{position:absolute!important;left:0;right:0;bottom:0;z-index:2;display:flex;justify-content:center;align-items:flex-end;padding:0 10px 9px!important;background:transparent!important;pointer-events:none;}
.brand-hero.xipo-welcome-hero .xipo-welcome-actions .hero-primary{pointer-events:auto;position:relative;min-height:36px!important;padding:8px 16px!important;font-size:13px!important;line-height:1.2!important;border:1px solid rgba(255,255,255,.65);box-shadow:0 2px 9px rgba(0,0,0,.3);}
@media(max-width:760px){.brand-hero.xipo-welcome-hero .xipo-welcome-actions{padding:0 6px 5px!important}.brand-hero.xipo-welcome-hero .xipo-welcome-actions .hero-primary{min-height:30px!important;padding:6px 11px!important;font-size:11px!important;}}
/* XIPO Rewards - isolated extension, matches existing light customer UI */
.xipo-rewards{max-width:1080px;margin:0 auto;padding:22px 16px 55px;color:#2c4d31}.rewards-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.rewards-heading h2{font-size:clamp(24px,4vw,34px);margin:0;color:#2d5a31}.rewards-heading p{color:#697967;margin:5px 0}.rewards-emblem{background:#e8d49b;color:#85651c;border-radius:50%;padding:16px;font-size:24px}.rewards-prizes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rewards-prizes article,.rewards-panel{background:#fff;border:1px solid #e2e5d9;border-radius:17px;padding:20px;box-shadow:0 4px 16px #283f2410}.rewards-prizes article{display:flex;flex-direction:column;gap:7px}.rewards-prizes small{font-weight:700;color:#60765c}.rewards-prizes strong{font-size:30px;color:#3b762f}.rewards-prizes span{font-size:13px;color:#657561}.rewards-leader{margin:18px 0;background:#e5efdc;border:1px solid #d3e2c9;border-radius:18px;padding:23px;text-align:center}.rewards-leader small{font-weight:700;color:#476e3c}.rewards-leader h3{font-size:23px;color:#315f2e;margin:12px 0 6px}.rewards-leader p{color:#64745e;margin:0}.rewards-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.rewards-tabs button{background:#fff;color:#3e6339;border:1px solid #cfdac9;border-radius:24px;padding:10px 18px;cursor:pointer;font-weight:700}.rewards-tabs button.selected{background:#3e7934;color:#fff}.rewards-search-label{display:block;font-weight:700;margin:12px 0 8px}.xipo-rewards input[type=search]{width:100%;padding:14px;border:1px solid #cfdac9;border-radius:12px;background:#fff}.rewards-hint{font-size:12px;color:#777f73}.rewards-panel{margin:16px 0}.rewards-panel h3{color:#315f2e;margin:0 0 10px}.rewards-panel p,.rewards-panel div{color:#667361;line-height:1.6}@media(max-width:550px){.rewards-prizes article{padding:14px}.rewards-prizes strong{font-size:24px}.xipo-rewards{padding:12px}}

/* Seasonal Shop — isolated storefront styling; does not alter existing cards. */
.xipo-seasonal-banner{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:linear-gradient(125deg,#5c173c,#a43d49 34%,#d49a45 65%,#164f55);color:#fff;text-align:center;padding:22px}
.xipo-seasonal-banner span{font-size:13px;letter-spacing:.25em;font-weight:700}
.xipo-seasonal-banner strong{font-size:clamp(22px,3vw,34px);letter-spacing:.04em;text-shadow:0 2px 8px #0005}
.xipo-seasonal-banner small{font-size:14px;letter-spacing:.08em}
