/* ===== עילאי מרקט — אוכל מוכן V4 ===== */
:root{--food-orange:#f97316;--food-orange-dark:#ea580c;--food-ink:#101114;--food-soft:#6b7280;--food-line:#eceff2;--food-cream:#fff8f2}

/* באנר הכניסה — התמונה עצמה היא הכפתור, בלי כרטיס או טקסט HTML נוסף */
.food-entry-section{padding:0 16px 14px}
.food-entry-banner-btn{position:relative;display:block;width:100%;max-width:820px;aspect-ratio:3/1;margin:0 auto;padding:0;border:0!important;border-radius:24px;background:transparent!important;overflow:hidden;box-shadow:0 14px 32px rgba(0,0,0,.16);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.food-entry-banner-btn:hover{transform:translateY(-1px);box-shadow:0 18px 38px rgba(0,0,0,.2)}
.food-entry-banner-btn:active{transform:scale(.995)}
.food-entry-banner-btn:focus-visible{outline:3px solid rgba(249,115,22,.48);outline-offset:3px}
.food-entry-banner-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}

/* "חשוב לדעת לפני שמזמינים" — אותו קו עיצוב נקי */
#homeDeliveryRules.delivery-rules-home{padding:0 16px 18px;margin:0!important}
#homeDeliveryRules .delivery-rules-home-toggle{width:100%;min-height:82px;padding:14px 16px!important;border:1px solid rgba(255,255,255,.92)!important;border-radius:23px!important;background:#fff!important;box-shadow:0 13px 32px rgba(15,23,42,.09)!important;color:#111!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;gap:12px!important}
#homeDeliveryRules .delivery-rules-home-toggle:hover{transform:translateY(-1px)}
#homeDeliveryRules .delivery-rules-home-icon{width:48px!important;height:48px!important;flex:0 0 48px!important;border-radius:17px!important;background:#fff7ed!important;color:#ea580c!important;border:1px solid #fed7aa!important;display:grid!important;place-items:center!important}
#homeDeliveryRules .delivery-rules-home-icon svg{width:25px!important;height:25px!important}
#homeDeliveryRules .delivery-rules-home-copy{display:flex!important;flex:1!important;min-width:0!important;flex-direction:column!important;gap:3px!important;text-align:right!important}
#homeDeliveryRules .delivery-rules-home-copy strong{font-size:16px!important;font-weight:900!important;color:#111!important;text-shadow:none!important}
#homeDeliveryRules .delivery-rules-home-copy span{font-size:11.5px!important;font-weight:600!important;color:#7b8493!important;text-shadow:none!important}
#homeDeliveryRules .delivery-rules-home-amounts{font-size:11px!important;font-weight:900!important;color:#c2410c!important;background:#fff7ed!important;border:1px solid #fed7aa!important;border-radius:999px!important;padding:6px 9px!important;text-shadow:none!important}
#homeDeliveryRules .delivery-rules-home-chevron{width:34px!important;height:34px!important;border-radius:50%!important;background:#f8fafc!important;color:#111!important;display:grid!important;place-items:center!important}
#homeDeliveryRules .delivery-rules-home-chevron svg{width:17px!important;height:17px!important}
#homeDeliveryRules .delivery-rules-home-panel{margin-top:8px!important;border:1px solid #eceff2!important;border-radius:22px!important;background:#fff!important;box-shadow:0 14px 32px rgba(15,23,42,.08)!important;padding:16px!important;color:#111!important}
#homeDeliveryRules .drhome-head h2,#homeDeliveryRules .drhome-card h3{color:#111!important;text-shadow:none!important}
#homeDeliveryRules .drhome-head p,#homeDeliveryRules .drhome-card p{color:#6b7280!important;text-shadow:none!important}
#homeDeliveryRules .drhome-card{background:#fff!important;border:1px solid #eceff2!important;box-shadow:none!important}
#homeDeliveryRules .drhome-card-amt{color:#ea580c!important;text-shadow:none!important}

/* מסך תפריט מלא */
.food-order-overlay{position:fixed;inset:0;z-index:2147482000;background:#fff;display:flex;flex-direction:column;color:#111}
.food-order-overlay.hidden{display:none}
.food-order-head{position:relative;z-index:7;background:rgba(255,255,255,.98);border-bottom:1px solid #eff1f3;padding:10px 14px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.food-order-head-inner{max-width:760px;margin:0 auto;display:flex;align-items:center;gap:10px}
.food-back-btn{min-width:88px;height:40px;flex:0 0 auto;padding:0 13px;border-radius:13px;background:#f7f7f8;color:#111;font-size:12px;font-weight:900;white-space:nowrap}
.food-head-copy{flex:1;min-width:0}
.food-head-title{margin:0;font-size:21px;font-weight:900;color:#111}
.food-head-sub{margin:2px 0 0;font-size:11.5px;color:#7b8493;font-weight:600}
.food-open-badge{padding:6px 10px;border-radius:999px;font-size:10.5px;font-weight:900;background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}
.food-open-badge.is-closed{background:#fff1f2;color:#be123c;border-color:#fecdd3}
.food-go-cart-btn{height:40px;padding:0 12px;border-radius:13px;background:#111;color:#fff;font-size:12px;font-weight:900;white-space:nowrap}

.food-order-scroll{overflow-y:auto;flex:1;background:#fff;scroll-behavior:smooth}
.food-order-shell{max-width:760px;margin:0 auto;padding:0 14px 110px}

/* קיצורי הדרך למעלה, כמו בוולט */
.food-category-chips{position:sticky;top:0;z-index:6;display:flex;gap:8px;overflow-x:auto;margin:0 -14px;padding:12px 14px 11px;background:rgba(255,255,255,.98);border-bottom:1px solid #f0f1f3;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);scrollbar-width:none}
.food-category-chips::-webkit-scrollbar{display:none}
.food-chip{white-space:nowrap;padding:9px 14px;border-radius:999px;background:#fff;border:1px solid #e2e5e9;font-size:12.5px;font-weight:850;color:#30343b;transition:.18s ease}
.food-chip:hover{border-color:#cfd4da}
.food-chip.active{background:#111;color:#fff;border-color:#111;box-shadow:0 5px 12px rgba(17,17,17,.12)}

/* רשימה יורדת לפי מחלקות */
.food-menu-grid{display:block}
.food-menu-section{padding:28px 0 4px;scroll-margin-top:66px}
.food-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:8px}
.food-section-head h3{margin:0;font-size:24px;line-height:1.15;font-weight:900;color:#111;letter-spacing:-.015em}
.food-section-head span{font-size:10.5px;font-weight:700;color:#a0a6af}
.food-section-list{display:flex;flex-direction:column}
.food-menu-card{width:100%;min-height:138px;display:flex;align-items:center;gap:16px;padding:16px 0;background:#fff!important;border:0;border-bottom:1px solid #eef0f2;text-align:right;color:#111;transition:opacity .18s ease,transform .18s ease}
.food-menu-card:last-child{border-bottom:0}
.food-menu-card:not(.is-disabled):hover{transform:translateX(-1px)}
.food-menu-card:not(.is-disabled):hover .food-menu-name{color:#ea580c}
.food-menu-card.is-disabled{opacity:.54}
.food-menu-body{flex:1;min-width:0;display:flex;align-self:stretch;flex-direction:column;gap:7px;padding:2px 0;background:transparent!important}
.food-menu-name{display:block;font-size:17px;font-weight:900;line-height:1.28;color:#111;transition:color .18s ease;background:transparent!important}
.food-menu-desc{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12.5px;line-height:1.5;font-weight:500;color:#737982;background:transparent!important}
.food-menu-bottom{display:flex;align-items:center;gap:10px;margin-top:auto;background:transparent!important}
.food-menu-price{font-size:16px;font-weight:900;color:#111;background:transparent!important}
.food-menu-action{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff7ed;color:#ea580c;border:1px solid #fed7aa;font-size:20px;font-weight:500;line-height:1}
.food-menu-availability{font-size:11px;font-weight:800;color:#9aa1aa}
.food-menu-image{position:relative;width:138px;height:112px;flex:0 0 138px;overflow:hidden;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;border:1px solid #f3f4f6}
.food-menu-image img{width:100%;height:100%;display:block;transition:transform .2s ease}
.food-menu-image-placeholder{width:100%;height:100%;display:grid;place-items:center;border-radius:18px;background:#fff7ed;font-size:32px}
.food-empty{margin-top:24px;padding:28px;text-align:center;color:#71717a;font-weight:800;border:1px dashed #e5e7eb;border-radius:18px;background:#fff}

/* בונה מנה */
.food-item-modal{position:fixed;inset:0;z-index:2147483000;background:rgba(17,17,17,.42);display:flex;align-items:flex-end;justify-content:center}
.food-item-modal.hidden{display:none}
.food-item-sheet{width:100%;max-width:720px;max-height:94vh;max-height:94dvh;background:#fff;border-radius:30px 30px 0 0;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 -22px 54px rgba(0,0,0,.17);animation:foodSheetIn .2s ease-out both}
@keyframes foodSheetIn{from{transform:translateY(22px);opacity:.72}to{transform:translateY(0);opacity:1}}
.food-item-hero{height:200px;background:#fff;overflow:hidden;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #f2f3f5}
.food-item-hero img{width:100%;height:100%;display:block}
.food-item-sheet-head{display:flex;align-items:flex-start;gap:12px;padding:18px 18px 16px;border-bottom:1px solid #eef0f2}
.food-item-sheet-copy{flex:1}
.food-item-sheet-title{margin:0;font-size:23px;font-weight:900;color:#111}
.food-item-sheet-desc{margin:5px 0 0;color:#737982;font-size:12.5px;font-weight:600;line-height:1.45}
.food-item-sheet-base-price{margin-top:8px;font-size:17px;font-weight:900;color:#111}
.food-close-btn{width:40px;height:40px;border-radius:50%;background:#f6f7f8;color:#111;font-size:18px;font-weight:900}
.food-item-form{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px 18px 28px}
.food-mod-group{border-bottom:1px solid #eef0f2;padding:18px 0}
.food-mod-group:last-child{border-bottom:0}
.food-mod-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:11px}
.food-mod-title{font-size:16px;font-weight:900;color:#111}
.food-mod-rule{margin-top:3px;font-size:11px;font-weight:700;color:#8b919a}
.food-mod-required{display:inline-block;margin-right:7px;padding:3px 7px;border-radius:999px;background:#fff7ed;color:#c2410c;font-size:10px}
.food-option-list{display:flex;flex-direction:column}
.food-option-row{width:100%;min-height:52px;display:flex;align-items:center;gap:10px;padding:10px 2px;border:0!important;border-bottom:1px solid #f0f1f3!important;border-radius:0;background:#fff!important;text-align:right;color:#111;transition:background .16s ease,color .16s ease}
.food-option-row:last-child{border-bottom:0!important}
.food-option-row:hover{background:#fffaf5!important}
.food-option-row:focus-visible{outline:2px solid rgba(249,115,22,.42);outline-offset:2px;border-radius:10px}
.food-option-label{flex:1;min-width:0;font-size:14px;font-weight:800;color:#18181b}
.food-option-price{font-size:12px;font-weight:850;color:#6b7280;white-space:nowrap}
.food-option-control{width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--food-orange),var(--food-orange-dark));color:#fff;font-size:21px;font-weight:500;line-height:1;box-shadow:0 6px 14px rgba(249,115,22,.22);transition:transform .16s ease,box-shadow .16s ease}
.food-option-row.is-selected .food-option-label{color:#c2410c}
.food-option-row.is-selected .food-option-control{font-size:16px;font-weight:900;transform:scale(1.03);box-shadow:0 7px 16px rgba(249,115,22,.28)}
.food-kitchen-note{width:100%;min-height:88px;resize:vertical;border:1px solid #e5e7eb;border-radius:14px;padding:12px;font:inherit;margin-top:9px;background:#fff;color:#111}
.food-kitchen-note:focus{outline:0;border-color:#fb923c;box-shadow:0 0 0 3px rgba(249,115,22,.10)}
.food-builder-error{display:none;margin-top:10px;padding:10px 12px;border-radius:12px;background:#fff1f2;color:#b91c1c;font-size:13px;font-weight:800}
.food-builder-error.show{display:block}
.food-item-footer{position:relative;z-index:5;flex:0 0 auto;border-top:1px solid #eee;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:10px;align-items:center;box-shadow:0 -10px 24px rgba(15,23,42,.07)}
.food-builder-back-btn{height:44px;padding:0 14px;border-radius:13px;background:#f7f7f8;color:#25272b;font-size:12px;font-weight:900;border:1px solid #e5e7eb!important;white-space:nowrap;transition:background .16s ease,border-color .16s ease}.food-builder-back-btn:hover{background:#fff7ed;border-color:#fed7aa!important;color:#c2410c}
.food-qty-box{direction:ltr;display:flex;align-items:center;gap:5px;background:#f7f7f8;border-radius:16px;padding:4px}
.food-qty-btn{width:38px;height:38px;border-radius:12px;background:#fff;color:#111;font-size:22px;font-weight:900;display:grid;place-items:center;line-height:1;box-shadow:0 1px 0 rgba(15,23,42,.04)}
#foodQtyPlus{background:linear-gradient(135deg,var(--food-orange),var(--food-orange-dark));color:#fff;box-shadow:0 6px 14px rgba(249,115,22,.2)}
.food-qty-value{min-width:30px;text-align:center;font-weight:900;color:#111}
.food-add-btn{flex:1;height:48px;border-radius:15px;background:linear-gradient(135deg,var(--food-orange),var(--food-orange-dark));color:#fff;font-size:15px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 16px;box-shadow:0 8px 18px rgba(249,115,22,.18);transition:transform .16s ease,box-shadow .16s ease}
.food-add-btn:hover{box-shadow:0 10px 22px rgba(249,115,22,.24)}
.food-add-btn:active{transform:scale(.99)}
.food-add-btn strong{font-weight:900}
.food-add-separator{opacity:.82}
.food-add-btn:disabled{background:#d4d4d8;color:#71717a;box-shadow:none}

.cart-food-config,.cart-food-note{margin-top:7px;padding:8px 10px;border-radius:10px;font-size:12px;line-height:1.45}
.cart-food-config{background:#fff7ed;color:#9a3412}.cart-food-note{background:#fffbeb;color:#854d0e}
.order-food-details,.order-food-note{display:block;margin-top:5px;font-size:12px;line-height:1.45}.order-food-details{color:#9a3412}.order-food-note{color:#854d0e}

@media(max-width:560px){
  .food-entry-section{padding-left:12px;padding-right:12px;padding-bottom:12px}.food-entry-banner-btn{border-radius:20px;box-shadow:0 10px 24px rgba(0,0,0,.16)}
  #homeDeliveryRules.delivery-rules-home{padding-left:12px;padding-right:12px}#homeDeliveryRules .delivery-rules-home-toggle{min-height:76px!important;padding:12px 13px!important;border-radius:21px!important}#homeDeliveryRules .delivery-rules-home-icon{width:44px!important;height:44px!important;flex-basis:44px!important}#homeDeliveryRules .delivery-rules-home-amounts{display:none!important}
  .food-order-head{padding:9px 10px}.food-head-sub{display:none}.food-open-badge{display:none}.food-order-shell{padding-left:12px;padding-right:12px}.food-category-chips{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.food-menu-section{padding-top:24px}.food-section-head h3{font-size:22px}.food-menu-card{min-height:128px;gap:12px;padding:15px 0}.food-menu-image{width:118px;height:100px;flex-basis:118px;border-radius:16px}.food-menu-name{font-size:16px}.food-item-hero{height:170px}
  .food-back-btn{min-width:78px;padding:0 10px;font-size:11px}.food-head-title{font-size:18px}.food-go-cart-btn{padding:0 10px}
  .food-item-footer{grid-template-columns:auto minmax(0,1fr);padding-left:12px;padding-right:12px}.food-add-btn{grid-column:1/-1;width:100%}.food-builder-back-btn{height:42px;padding:0 12px}.food-qty-box{justify-self:end}
}
@media(max-width:390px){.food-menu-image{width:104px;height:92px;flex-basis:104px}.food-menu-desc{-webkit-line-clamp:2;font-size:12px}.food-go-cart-btn{padding:0 10px}.food-entry-sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}
