/* R10.40.9: final public mobile layer. No admin/POS selectors. */
:root{--ubp-mobile-nav-clearance:88px}
/* Desktop/tablet baseline for the new semantic quantity stepper. */
body.fazfood-public .ubp-product-detail .sf-product-buy-row{grid-template-columns:minmax(165px,190px) minmax(0,1fr)!important;align-items:end!important}
body.fazfood-public .ubp-product-detail .ubp-quantity-control{display:flex!important;flex-direction:column!important;gap:8px!important;height:auto!important;min-height:0!important;max-height:none!important;max-width:100%!important;padding:0!important;background:transparent!important;border:0!important}
body.fazfood-public .ubp-product-detail .ubp-quantity-control>label{font-size:12px!important;font-weight:800!important;color:#294435!important}
body.fazfood-public .ubp-product-detail .ubp-quantity-stepper{display:grid!important;grid-template-columns:43px minmax(0,1fr) 43px!important;align-items:stretch!important;height:56px!important;min-height:56px!important;border:1px solid #b7cbbd!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important}
body.fazfood-public .ubp-product-detail .ubp-quantity-stepper button{display:grid!important;place-items:center!important;min-width:0!important;min-height:54px!important;height:54px!important;border:0!important;border-radius:0!important;background:#eaf3ec!important;color:#173e30!important;font-size:23px!important;font-weight:850!important;padding:0!important}
body.fazfood-public .ubp-product-detail .ubp-quantity-stepper input[type=number]{display:block!important;width:100%!important;min-width:0!important;min-height:54px!important;height:54px!important;max-width:none!important;margin:0!important;padding:0 4px!important;text-align:center!important;border:0!important;border-radius:0!important;background:#fff!important;color:#142e25!important;box-shadow:none!important;font-size:18px!important;font-weight:800!important;appearance:textfield!important;-moz-appearance:textfield!important}
body.fazfood-public .ubp-product-detail .ubp-quantity-stepper input::-webkit-inner-spin-button,body.fazfood-public .ubp-product-detail .ubp-quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}

@media(max-width:780px){
  /* Persistent navigation: the header is always in the viewport, even after a long scroll.
     R10.40.9 replaces scroll-hide behavior and keeps a measured layout spacer. */
  html{scroll-padding-top:var(--ubp-mobile-shell-h,155px)!important}
  html,body.fazfood-public{max-width:100%;overflow-x:clip}
  body.fazfood-public .ubp-public-header-shell,
  body.fazfood-public.ubp-nav-compact:not(.nav-open) .ubp-public-header-shell,
  body.fazfood-public.ubp-nav-expanded .ubp-public-header-shell{
    display:block!important;position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;
    width:100%!important;z-index:14000!important;transform:none!important;-webkit-transform:none!important;
    transition:none!important;will-change:auto!important;contain:none!important;
    isolation:isolate!important;background:#fff!important;box-shadow:0 4px 16px rgba(15,40,28,.12)!important;
  }
  body.fazfood-public .ubp-public-header-shell .faz-topbar,
  body.fazfood-public .ubp-public-header-shell .theme-site-header,
  body.fazfood-public .ubp-public-header-shell #site-header,
  body.fazfood-public.ubp-nav-compact:not(.nav-open) .ubp-public-header-shell .faz-topbar,
  body.fazfood-public.ubp-nav-compact:not(.nav-open) .ubp-public-header-shell #site-header{
    position:relative!important;inset:auto!important;transform:none!important;-webkit-transform:none!important;
    transition:none!important;filter:none!important;overflow:visible!important;
  }
  body.fazfood-public .ubp-public-header-spacer{display:block!important;height:var(--ubp-mobile-shell-h,155px)!important;min-height:var(--ubp-mobile-shell-h,155px)!important;visibility:hidden!important}
  body.fazfood-public .ubp-public-header-shell .site-header-inner{min-height:62px!important;max-height:62px!important;height:62px!important}
  body.fazfood-public .ubp-public-header-shell .faz-category-bar.menu-category-bar,
  body.fazfood-public .ubp-public-header-shell .faz-category-scroll{height:54px!important;min-height:54px!important;max-height:54px!important;transform:none!important}
  body.fazfood-public .ubp-public-header-shell .faz-category-scroll{justify-content:flex-start!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;overscroll-behavior-x:contain!important}
  body.fazfood-public .ubp-public-header-shell .faz-category-scroll>a{height:44px!important;min-height:44px!important;flex:none!important}
  body.fazfood-public.nav-open .ubp-public-header-shell{z-index:14000!important}
  body.fazfood-public.nav-open .mobile-nav-backdrop{z-index:13998!important}
  body.fazfood-public.nav-open #main-navigation.faz-main-nav{z-index:14001!important}
  /* Bottom bar is a viewport dock, never part of the page footer flow. */
  body.fazfood-public>.foodking-mobile-nav,
  body.fazfood-public .foodking-mobile-nav{
    display:grid!important;position:fixed!important;left:10px!important;right:10px!important;
    top:auto!important;bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
    width:auto!important;max-width:none!important;height:64px!important;min-height:64px!important;
    z-index:9000!important;transform:none!important;-webkit-transform:none!important;
    opacity:1!important;visibility:visible!important;pointer-events:auto!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px!important;
    padding:6px!important;border-radius:19px!important;background:#fffefa!important;
    box-shadow:0 10px 30px rgba(13,37,27,.2)!important;border:1px solid #d8e3da!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important
  }
  body.fazfood-public .foodking-mobile-nav>a{min-width:0!important;height:50px!important;min-height:50px!important;padding:3px 2px!important;overflow:hidden!important}
  body.fazfood-public .foodking-mobile-nav>a span{font-size:clamp(.57rem,2.5vw,.7rem)!important;white-space:nowrap!important;line-height:1.15!important}
  body.fazfood-public .foodking-mobile-nav>a img{height:21px!important;width:21px!important}
  body.fazfood-public{padding-bottom:calc(var(--ubp-mobile-nav-clearance) + env(safe-area-inset-bottom,0px))!important}
  body.fazfood-public :is(.faz-site-footer,.faz-footer-bottom){scroll-margin-bottom:var(--ubp-mobile-nav-clearance)}
  body.fazfood-public.nav-open .foodking-mobile-nav,
  body.fazfood-public.menu-filters-open .foodking-mobile-nav{visibility:hidden!important;pointer-events:none!important}
  /* One clear, functional menu search. Don't duplicate it above menu headline. */
  body.sf-menu-reference-page.fazfood-public form.foodking-mobile-search.ubp-mobile-search{display:none!important}
  body.sf-menu-reference-page.fazfood-public .ref-menu-heading{padding:23px 0 14px!important;gap:16px!important}
  body.sf-menu-reference-page.fazfood-public .ref-menu-heading h1{font-size:clamp(2.2rem,10vw,3.15rem)!important;line-height:1.08!important}
  body.sf-menu-reference-page.fazfood-public form.ref-menu-search.ubp-menu-search{
    display:grid!important;grid-template-columns:22px minmax(0,1fr) 76px!important;
    width:100%!important;max-width:100%!important;gap:8px!important;
    min-height:56px!important;padding:6px 7px 6px 13px!important;margin:18px 0 0!important;
    border:1.5px solid #92ae9e!important;border-radius:16px!important;background:#fff!important;
    box-shadow:0 3px 12px rgba(19,55,38,.07)!important;
  }
  body.sf-menu-reference-page.fazfood-public .ubp-menu-search input#menu-search{font-size:16px!important;min-width:0!important;width:100%!important;line-height:1.35!important;padding:5px 0!important}
  body.sf-menu-reference-page.fazfood-public .ubp-menu-search button#menu-search-button{min-width:0!important;width:76px!important;min-height:42px!important;height:42px!important;padding:4px!important;letter-spacing:0!important;border-radius:10px!important;font-size:.72rem!important;text-transform:none!important}
  body.sf-menu-reference-page.fazfood-public .ref-menu-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important}
  body.sf-menu-reference-page.fazfood-public .ref-menu-toolbar-start{min-width:0!important;gap:10px!important}
  body.sf-menu-reference-page.fazfood-public .ref-menu-toolbar-start strong{font-size:12px!important;white-space:normal!important}
  body.sf-menu-reference-page.fazfood-public .ref-mobile-filter-button{min-height:44px!important;border-radius:12px!important;padding:8px 12px!important;white-space:nowrap!important}
  body.sf-menu-reference-page.fazfood-public .ref-menu-toolbar>label{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;height:auto!important;gap:3px!important;font-size:11px!important}
  body.sf-menu-reference-page.fazfood-public .ref-menu-toolbar select{width:125px!important;max-width:125px!important;min-height:43px!important;height:43px!important;font-size:13px!important;padding:5px!important}
  /* True flex-column modal: only choices scroll; action stays in its own footer. */
  body.sf-menu-reference-page.fazfood-public .ref-filter-panel{
    display:flex!important;flex-direction:column!important;position:fixed!important;
    top:0!important;right:0!important;bottom:0!important;left:auto!important;
    width:min(420px,100vw)!important;max-width:100vw!important;
    height:100dvh!important;max-height:100dvh!important;min-height:0!important;
    z-index:18020!important;margin:0!important;padding:0!important;
    overflow:hidden!important;border:0!important;border-radius:18px 0 0 18px!important;
    background:#fffefa!important;box-shadow:-10px 0 34px rgba(0,0,0,.24)!important;
    transform:translateX(105%)!important;visibility:hidden!important;pointer-events:none!important;
    overscroll-behavior:contain!important
  }
  body.sf-menu-reference-page.menu-filters-open .ref-filter-panel{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important}
  body.sf-menu-reference-page.fazfood-public .ref-filter-title{
    position:relative!important;top:auto!important;flex:0 0 auto!important;
    padding:18px 18px 14px!important;margin:0!important;min-height:70px!important;
    background:#fffefa!important;border-bottom:1px solid #e0e8dd!important
  }
  body.sf-menu-reference-page.fazfood-public .ref-filter-title strong{font-size:1.4rem!important;color:#143a2b!important}
  body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll{
    display:block!important;min-height:0!important;flex:1 1 auto!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    padding:10px 18px 20px!important;scrollbar-gutter:stable;
    -webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important
  }
  body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll .ref-filter-block{display:block!important;min-height:0!important;margin:0!important;padding:16px 0!important;border-bottom:1px solid #edf0ea!important}
  body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll .ref-filter-block:first-of-type{display:block!important;overflow:visible!important;white-space:normal!important}
  body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll .ref-filter-block h3{display:block!important;font-size:1rem!important;margin:0 0 12px!important;color:#143a2b!important}
  body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll .ref-filter-block label,
  body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll .ref-filter-block:first-of-type label{
    display:flex!important;align-items:center!important;gap:12px!important;
    width:100%!important;max-width:100%!important;min-height:44px!important;
    margin:0!important;padding:10px 8px!important;white-space:normal!important;
    font-size:14px!important;line-height:1.4!important;color:#243b33!important;
    background:transparent!important;flex:none!important;border-radius:10px!important
  }
  body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll input[type=checkbox],
  body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll input[type=radio]{
    display:inline-block!important;appearance:auto!important;-webkit-appearance:auto!important;
    width:18px!important;height:18px!important;min-height:18px!important;min-width:18px!important;
    flex:0 0 18px!important;accent-color:#176340!important
  }
  body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll .ref-branch-select{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;align-items:stretch!important;padding:16px 0!important}
  body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll .ref-branch-select label{padding:0!important;min-height:0!important}
  body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll .ref-branch-select select{min-height:46px!important;width:100%!important;font-size:16px!important}
  body.sf-menu-reference-page.fazfood-public .ubp-filter-actions{
    flex:0 0 auto!important;position:relative!important;bottom:auto!important;
    padding:12px 18px calc(14px + env(safe-area-inset-bottom,0px))!important;
    border-top:1px solid #dae5dc!important;background:#fffefa!important;
    box-shadow:0 -4px 12px #183e3210!important
  }
  body.sf-menu-reference-page.fazfood-public .ubp-filter-actions button.ref-apply-btn{
    display:flex!important;align-items:center!important;justify-content:center!important;
    position:static!important;min-height:52px!important;height:52px!important;width:100%!important;
    border-radius:13px!important;background:#173f31!important;color:#fff!important;
    margin:0!important;padding:10px!important;box-shadow:none!important;text-align:center!important;
    font-size:14px!important;font-weight:800!important
  }
  body.sf-menu-reference-page.fazfood-public .ref-filter-backdrop{z-index:18010!important}
  body.sf-menu-reference-page.menu-filters-open{overflow:hidden!important;touch-action:pan-x pan-y}
  /* Quantity: never overlaps order buttons or spills outside the product card. */
  body.fazfood-public .ubp-product-detail .sf-product-buy-row{display:flex!important;flex-direction:column!important;gap:14px!important;align-items:stretch!important;margin:16px 0 0!important}
  body.fazfood-public .ubp-product-detail .ubp-quantity-control{
    height:auto!important;min-height:0!important;max-height:none!important;display:flex!important;
    flex-direction:column!important;gap:9px!important;max-width:100%!important;width:100%!important;
    padding:0!important;background:none!important;border:0!important;overflow:visible!important
  }
  body.fazfood-public .ubp-product-detail .ubp-quantity-control>label{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:800!important;color:#375548!important}
  body.fazfood-public .ubp-product-detail .ubp-quantity-stepper{
    display:grid!important;grid-template-columns:52px minmax(0,1fr) 52px!important;
    align-items:stretch!important;gap:0!important;overflow:hidden!important;height:54px!important;
    background:#fff!important;border:1px solid #b9cdbf!important;border-radius:14px!important
  }
  body.fazfood-public .ubp-product-detail .ubp-quantity-stepper button{
    display:grid!important;place-items:center!important;width:52px!important;height:52px!important;min-height:52px!important;
    border:0!important;background:#edf5ef!important;color:#143e2e!important;
    font-size:25px!important;font-weight:750!important;padding:0!important;box-shadow:none!important
  }
  body.fazfood-public .ubp-product-detail .ubp-quantity-stepper input[type=number]{
    display:block!important;position:static!important;box-sizing:border-box!important;
    width:100%!important;min-width:0!important;max-width:none!important;height:52px!important;min-height:52px!important;
    margin:0!important;padding:0 5px!important;border:0!important;border-radius:0!important;
    background:#fff!important;color:#132e25!important;text-align:center!important;
    font-size:18px!important;font-weight:800!important;appearance:textfield!important;-moz-appearance:textfield!important
  }
  body.fazfood-public .ubp-product-detail .ubp-quantity-stepper input::-webkit-inner-spin-button,
  body.fazfood-public .ubp-product-detail .ubp-quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
  body.fazfood-public .ubp-product-detail .ubp-product-action-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important}
  body.fazfood-public .ubp-product-detail .sf-product-buy-row .ubp-product-action{height:54px!important;min-height:54px!important;border-radius:13px!important;font-size:clamp(.74rem,3.4vw,.88rem)!important}
  body.fazfood-public .ubp-product-detail :is(.sf-option-pill,.sf-option-pill span){min-width:0!important;max-width:100%!important}
  body.fazfood-public .ubp-product-detail .sf-option-pill span{overflow-wrap:anywhere}
  /* Photo slider navigation: small one-line control surface, no cropped PAU/SE. */
  body.sf-home-page.fazfood-public .ubp-hero-visual{padding:0 8px 48px!important;min-width:0!important}
  body.sf-home-page.fazfood-public .ubp-hero-controls{
    position:absolute!important;bottom:0!important;top:auto!important;left:50%!important;right:auto!important;
    transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100vw - 36px)!important;
    min-height:43px!important;height:43px!important;display:flex!important;flex-wrap:nowrap!important;
    white-space:nowrap!important;align-items:center!important;justify-content:center!important;
    gap:4px!important;padding:4px 6px!important;border-radius:999px!important;
    box-shadow:0 5px 14px rgba(9,48,30,.16)!important
  }
  body.sf-home-page.fazfood-public .ubp-hero-controls button,
  body.sf-home-page.fazfood-public .ubp-hero-controls button.ubp-hero-pause{
    flex:0 0 auto!important;display:grid!important;place-items:center!important;
    width:32px!important;min-width:32px!important;max-width:32px!important;
    height:32px!important;min-height:32px!important;max-height:32px!important;
    border-radius:50%!important;margin:0!important;padding:0!important;
    font-size:21px!important;line-height:1!important;white-space:nowrap!important;
    overflow:hidden!important
  }
  body.sf-home-page.fazfood-public .ubp-hero-dots{display:flex!important;gap:5px!important;flex:0 0 auto!important;align-items:center!important}
  body.sf-home-page.fazfood-public .ubp-hero-dots button{width:8px!important;min-width:8px!important;max-width:8px!important;height:8px!important;min-height:8px!important;max-height:8px!important;border-radius:99px!important;background:#afbeae!important}
  body.sf-home-page.fazfood-public .ubp-hero-dots button[aria-current=true]{width:17px!important;min-width:17px!important;max-width:17px!important;background:#dd4a2e!important}
  body.sf-home-page.fazfood-public .ubp-hero-controls button.ubp-hero-pause{font-size:0!important}
  body.sf-home-page.fazfood-public .ubp-hero-controls button.ubp-hero-pause::after{content:'Ⅱ';display:block;font:800 13px/1 Arial,sans-serif;color:#17432f}
  body.sf-home-page.fazfood-public .ubp-hero-controls button.ubp-hero-pause[aria-pressed=true]::after{content:'▶';font-size:12px}
  body.sf-home-page.fazfood-public .ubp-service-strip-inner :is(strong,small){color:#fff!important;opacity:1!important;text-shadow:none!important}
  body.sf-home-page.fazfood-public .ubp-service-strip-inner small{color:#e6f3e8!important}
  body.sf-home-page.fazfood-public .ubp-service-strip{background:#143e30!important}
  body.sf-home-page.fazfood-public .ubp-service-strip-inner>div{border-color:rgba(255,255,255,.22)!important}
  body.sf-home-page.fazfood-public .ubp-service-strip-inner .ubp-service-icon{color:#ffd970!important}
  body.sf-home-page.fazfood-public .faz-promo-card .faz-promo-card-copy{padding:clamp(24px,6vw,34px)!important;text-align:center!important;align-items:center!important;justify-content:center!important}
  body.sf-home-page.fazfood-public .faz-promo-card-copy :is(h2,small,.ubp-promo-action){color:#fff!important;text-align:center!important}
  body.sf-home-page.fazfood-public .faz-promo-card-copy .ubp-promo-action{color:#133a2d!important}
  body.sf-home-page.fazfood-public .ubp-editorial-hero .faz-hero-copy h1{color:#183a2f!important;font-size:clamp(2.65rem,11vw,4rem)!important}
  /* The floating accessibility control stays clear of fixed navigation. */
  body.fazfood-public #ubp-a11y-launcher{bottom:calc(var(--ubp-mobile-nav-clearance) + 18px + env(safe-area-inset-bottom,0px))!important}
  body.fazfood-public .faz-back-to-top{bottom:calc(var(--ubp-mobile-nav-clearance) + 14px + env(safe-area-inset-bottom,0px))!important}
}
@media(max-width:370px){
  body.sf-menu-reference-page.fazfood-public .ref-menu-toolbar select{max-width:104px!important;width:104px!important}
  body.sf-menu-reference-page.fazfood-public .ref-menu-toolbar-start strong{font-size:11px!important}
  body.sf-menu-reference-page.fazfood-public .ref-menu-toolbar-start{gap:6px!important}
  body.sf-home-page.fazfood-public .ubp-service-strip-inner{grid-template-columns:1fr!important;gap:0!important}
  body.sf-home-page.fazfood-public .ubp-service-strip-inner>div{grid-column:auto!important;border-right:0!important;border-top:1px solid #ffffff2a!important}
}
@media(min-width:781px){
  body.sf-menu-reference-page .ubp-filter-scroll{display:contents}
  body.sf-menu-reference-page .ubp-filter-actions{display:block}
}
html[data-ubp-theme=dark] body.sf-menu-reference-page.fazfood-public .ref-filter-panel,
html[data-ubp-theme=dark] body.sf-menu-reference-page.fazfood-public .ref-filter-title,
html[data-ubp-theme=dark] body.sf-menu-reference-page.fazfood-public .ubp-filter-actions{background:#182a23!important;color:#fff!important}
html[data-ubp-theme=dark] body.sf-menu-reference-page.fazfood-public .ubp-filter-scroll :is(.ref-filter-block label,.ref-filter-block h3),
html[data-ubp-theme=dark] body.sf-menu-reference-page.fazfood-public .ref-filter-title strong{color:#f7fbf6!important}
@media(prefers-reduced-motion:reduce){body.sf-menu-reference-page.fazfood-public .ref-filter-panel{transition:none!important}}
