/* Dolmeh v99 — UI consistency, stable cart controls, richer motion */
:root{
  --v99-ease:cubic-bezier(.22,.8,.22,1);
  --v99-spring:cubic-bezier(.18,.89,.32,1.28);
  --v99-red:#ef5142;
  --v99-amber:#f0a63d;
}

/* ---------- Header: stronger, more deliberate widgets ---------- */
.v77-header{
  isolation:isolate;
  overflow:visible!important;
}
.v77-header:before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;
  background:linear-gradient(110deg,rgba(255,255,255,.10),transparent 34%,rgba(240,166,61,.055) 70%,rgba(255,255,255,.055));
}
.v77-nav-button,.cart-header-btn{
  position:relative!important;overflow:hidden!important;border-radius:15px!important;
  border:1px solid rgba(240,166,61,.16)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 8px 20px rgba(0,0,0,.10)!important;
  transition:transform .22s var(--v99-ease),border-color .22s ease,background .22s ease,box-shadow .22s ease!important;
}
[data-theme="light"] .v77-nav-button,[data-theme="light"] .cart-header-btn{
  background:linear-gradient(145deg,rgba(255,255,255,.90),rgba(255,242,226,.78))!important;
  border-color:rgba(154,87,39,.13)!important;
  box-shadow:0 8px 20px rgba(111,64,29,.09),inset 0 1px 0 rgba(255,255,255,.98)!important;
}
.v77-nav-button:before,.cart-header-btn:before{
  content:"";position:absolute;inset:-40% -80%;pointer-events:none;
  background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.28) 49%,transparent 63%);
  transform:translateX(-55%);opacity:0;transition:transform .52s var(--v99-ease),opacity .2s ease;
}
.v77-nav-button:hover,.cart-header-btn:hover{transform:translateY(-2px)!important;border-color:rgba(240,166,61,.36)!important;box-shadow:0 13px 28px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.12)!important}
.v77-nav-button:hover:before,.cart-header-btn:hover:before{transform:translateX(55%);opacity:1}
.v77-nav-button:active,.cart-header-btn:active{transform:translateY(0) scale(.965)!important;transition-duration:.08s!important}
.v98-desktop-nav a,.v98-desktop-nav button{position:relative;transition:color .2s ease,transform .2s var(--v99-ease)!important}
.v98-desktop-nav a:after,.v98-desktop-nav button:after{content:"";position:absolute;left:50%;right:50%;bottom:-8px;height:2px;border-radius:9px;background:linear-gradient(90deg,var(--v99-amber),var(--v99-red));transition:left .25s var(--v99-ease),right .25s var(--v99-ease),opacity .2s;opacity:0}
.v98-desktop-nav a:hover,.v98-desktop-nav button:hover{transform:translateY(-1px)}
.v98-desktop-nav a:hover:after,.v98-desktop-nav button:hover:after,.v98-desktop-nav .is-active:after{left:10%;right:10%;opacity:1}

/* ---------- Category rail: less bubbly, cleaner and stable ---------- */
.v98-category-strip{margin-bottom:30px!important}
.v98-category-rail,.quick-category-scroll{scroll-snap-type:x proximity;overscroll-behavior-inline:contain}
.v98-category-chip{
  min-width:150px!important;height:58px!important;border-radius:14px!important;padding:6px 10px!important;gap:8px!important;
  scroll-snap-align:start;box-shadow:0 10px 24px rgba(0,0,0,.13),inset 0 1px 0 rgba(255,255,255,.08)!important;
  transition:transform .24s var(--v99-ease),box-shadow .24s ease,border-color .24s ease,background .24s ease!important;
}
.v98-category-chip:hover{transform:translateY(-2px) scale(1.015)!important}
.v98-category-icon{width:38px!important;height:38px!important;flex-basis:38px!important;border-radius:10px!important;background:rgba(239,81,66,.07)!important}
.v98-category-icon img{border-radius:9px}
.v98-category-label strong{font-size:12px!important}.v98-category-label small{font-size:8.5px!important}
.category-page .quick-category-item{
  min-height:50px!important;border-radius:13px!important;padding:6px 10px!important;gap:7px!important;
  scroll-snap-align:start;transition:transform .2s var(--v99-ease),background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease!important;
}
.category-page .quick-category-item:hover{transform:translateY(-2px)}
.category-page .quick-category-icon{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:9px!important;background:rgba(239,81,66,.06)!important}
.category-page .quick-category-icon img{border-radius:8px}
.category-page .quick-category-item[aria-current="page"],.category-page .quick-category-item.is-active{color:#fff4e8!important;text-shadow:none!important}
[data-theme="light"] .category-page .quick-category-item{color:#4d3020!important}
[data-theme="light"] .category-page .quick-category-item[aria-current="page"],[data-theme="light"] .category-page .quick-category-item.is-active{
  color:#5a271d!important;background:linear-gradient(145deg,rgba(255,221,184,.96),rgba(255,240,221,.91))!important;
  border-color:rgba(215,105,52,.38)!important;box-shadow:0 10px 24px rgba(194,91,39,.14),inset 0 1px 0 rgba(255,255,255,.95)!important;
}
[data-theme="light"] .category-page .quick-category-item[aria-current="page"] span,[data-theme="light"] .category-page .quick-category-item.is-active span{color:#5a271d!important}

/* ---------- Category food cards: exact dimensions, no jump after add ---------- */
.category-page .food-list{align-items:stretch!important;grid-auto-rows:1fr!important}
.category-page .food-card{
  min-height:224px!important;height:100%!important;grid-template-columns:minmax(168px,44%) minmax(0,56%)!important;
  border-radius:21px!important;transform:translateZ(0);will-change:transform;
  transition:transform .24s var(--v99-ease),border-color .24s ease,box-shadow .24s ease!important;
}
.category-page .food-card:hover{transform:translateY(-4px)!important;box-shadow:0 18px 40px rgba(0,0,0,.18)!important}
[data-theme="light"] .category-page .food-card:hover{box-shadow:0 18px 40px rgba(129,74,33,.13)!important}
.category-page .food-thumb{min-height:224px!important;height:100%!important}
.category-page .food-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .55s var(--v99-ease),filter .3s ease!important}
.category-page .food-card:hover .food-thumb img{transform:scale(1.035)}
.category-page .food-body{display:flex!important;flex-direction:column!important;min-width:0!important;padding:20px 18px!important}
.category-page .food-title-row{min-height:34px!important}
.category-page .food-body p{min-height:42px!important;max-height:42px!important;margin-bottom:9px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.category-page .price-row{min-height:35px!important;margin-top:auto!important}
.category-page .food-actions{
  width:152px!important;height:46px!important;min-height:46px!important;max-height:46px!important;margin-top:12px!important;
  flex:0 0 46px!important;display:flex!important;align-items:center!important;justify-content:stretch!important;overflow:visible!important;
}
.category-page .food-actions>.atc-btn,.category-page .food-actions>.qty-stepper{
  width:152px!important;min-width:152px!important;max-width:152px!important;height:46px!important;min-height:46px!important;max-height:46px!important;
  margin:0!important;border-radius:14px!important;box-sizing:border-box!important;
}
.category-page .food-actions>.atc-btn{padding-inline:12px!important;box-shadow:0 9px 20px rgba(224,64,48,.24),inset 0 1px 0 rgba(255,255,255,.22)!important}
.category-page .food-actions>.qty-stepper{display:grid!important;grid-template-columns:44px 1fr 44px!important;overflow:hidden!important}
.category-page .food-actions>.qty-stepper button{width:44px!important;height:44px!important}
.category-page .food-actions>.qty-stepper .qty-value{display:grid!important;place-items:center!important;min-width:0!important;font-size:14px!important}

/* homepage featured cards: keep action footprint identical too */
.v96-food-card .food-actions{width:150px!important;height:44px!important;min-height:44px!important;max-height:44px!important;flex:0 0 44px!important;overflow:visible!important}
.v96-food-card .food-actions>.atc-btn,.v96-food-card .food-actions>.qty-stepper{width:150px!important;min-width:150px!important;max-width:150px!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;border-radius:14px!important;box-sizing:border-box!important}
.v96-food-card .food-actions>.qty-stepper{display:grid!important;grid-template-columns:42px 1fr 42px!important;overflow:hidden!important}

/* cart state transition: visual change only, never changes layout */
.food-actions.v99-control-swap>*{animation:v99ControlSwap .32s var(--v99-spring) both}
@keyframes v99ControlSwap{0%{opacity:.15;transform:scale(.90) translateY(5px);filter:blur(2px)}70%{opacity:1;transform:scale(1.025) translateY(-1px);filter:blur(0)}100%{opacity:1;transform:none;filter:none}}
.atc-btn{position:relative!important;overflow:hidden!important;transition:transform .18s var(--v99-ease),box-shadow .18s ease,filter .18s ease!important}
.atc-btn:before{content:"";position:absolute;inset:-80% -55%;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.42) 50%,transparent 65%);transform:translateX(-70%);opacity:0;pointer-events:none}
.atc-btn:hover{transform:translateY(-2px)!important;filter:saturate(1.06);box-shadow:0 13px 28px rgba(224,64,48,.32)!important}
.atc-btn:hover:before{animation:v99ButtonSheen .65s var(--v99-ease)}
.atc-btn:active{transform:translateY(0) scale(.965)!important}
@keyframes v99ButtonSheen{0%{transform:translateX(-70%);opacity:0}20%{opacity:1}100%{transform:translateX(70%);opacity:0}}

/* flying item toward cart */
.v99-cart-fly{position:fixed!important;z-index:2500!important;width:38px!important;height:38px!important;border-radius:999px!important;pointer-events:none!important;overflow:hidden!important;background:linear-gradient(145deg,#ff765e,#d9362d)!important;border:2px solid rgba(255,255,255,.72)!important;box-shadow:0 8px 28px rgba(226,65,48,.48)!important;object-fit:cover!important;will-change:transform,opacity!important}
.cart-header-btn.v99-cart-hit,.v77-header-side-action .cart-header-btn.v99-cart-hit{animation:v99CartHit .48s var(--v99-spring)!important}
@keyframes v99CartHit{0%{transform:scale(1)}42%{transform:scale(1.17) rotate(-5deg)}100%{transform:scale(1)}}

/* ---------- Dock: precise alignment, elegant interaction ---------- */
.bottom-dock.v98-bottom-dock{overflow:visible!important}
.v98-bottom-dock>.v98-dock-segment{
  overflow:hidden!important;isolation:isolate;transition:transform .22s var(--v99-ease),background .22s ease,box-shadow .22s ease,color .22s ease!important;
  -webkit-tap-highlight-color:transparent!important;outline:none!important;
}
.v98-bottom-dock>.v98-dock-segment:before{
  content:"";position:absolute;z-index:-1;inset:3px;border-radius:18px;
  background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.16),transparent 58%);opacity:0;transform:scale(.86);transition:opacity .22s ease,transform .28s var(--v99-ease);
}
.v98-bottom-dock>.v98-dock-segment:hover{transform:translateY(-2px)!important;background:rgba(255,255,255,.055)!important}
.v98-bottom-dock>.v98-dock-segment:hover:before{opacity:1;transform:scale(1)}
.v98-bottom-dock>.v98-dock-segment:active,.v98-bottom-dock>.v98-dock-segment.is-pressing{
  transform:translateY(1px) scale(.975)!important;background:rgba(240,166,61,.09)!important;box-shadow:inset 0 0 0 1px rgba(240,166,61,.12)!important;
}
[data-theme="light"] .v98-bottom-dock>.v98-dock-segment:hover{background:rgba(255,255,255,.42)!important}
[data-theme="light"] .v98-bottom-dock>.v98-dock-segment:active,[data-theme="light"] .v98-bottom-dock>.v98-dock-segment.is-pressing{background:rgba(231,137,74,.08)!important}
.v98-dock-copy{align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1.28!important;min-height:38px!important}
.v98-dock-copy strong{display:block!important;font-size:10px!important;line-height:1.28!important;white-space:nowrap!important}
.v98-dock-copy small{display:block!important;margin-top:2px!important;font-size:7.5px!important;line-height:1.28!important;white-space:nowrap!important}
.v98-location .v98-dock-copy{align-items:flex-start!important;text-align:right!important}
.v98-location .v98-dock-copy small{white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.theme-toggle .v98-dock-icon svg{transition:transform .45s var(--v99-spring),opacity .2s ease!important}
html.v99-theme-switching .theme-toggle .v98-dock-icon{animation:v99ThemePulse .48s var(--v99-spring)}
@keyframes v99ThemePulse{0%{transform:scale(1) rotate(0)}55%{transform:scale(1.24) rotate(32deg)}100%{transform:scale(1) rotate(0)}}

/* ---------- richer but controlled motion ---------- */
.v99-reveal{opacity:0;transform:translateY(18px) scale(.985);transition:opacity .58s var(--v99-ease),transform .58s var(--v99-ease);transition-delay:var(--v99-delay,0ms)}
.v99-reveal.is-visible{opacity:1;transform:none}
.v98-reference-hero.is-v99-ready .v98-hero-media img{animation:v99HeroBreath 9s ease-in-out infinite alternate;transform-origin:45% 55%}
@keyframes v99HeroBreath{from{transform:scale(1.002)}to{transform:scale(1.035)}}
.v98-reference-hero.is-v99-ready .v98-location-pill{animation:v99HeroIn .6s .08s var(--v99-ease) both}
.v98-reference-hero.is-v99-ready .v98-hero-copy h2{animation:v99HeroIn .72s .14s var(--v99-ease) both}
.v98-reference-hero.is-v99-ready .v98-hero-copy>p{animation:v99HeroIn .68s .22s var(--v99-ease) both}
.v98-reference-hero.is-v99-ready .v98-hero-actions{animation:v99HeroIn .68s .30s var(--v99-ease) both}
.v98-reference-hero.is-v99-ready .v98-hero-mini-meta{animation:v99HeroIn .68s .38s var(--v99-ease) both}
@keyframes v99HeroIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}

@media(max-width:760px){
  .v98-category-chip{min-width:132px!important;height:54px!important;border-radius:13px!important}.v98-category-icon{width:36px!important;height:36px!important;flex-basis:36px!important}
  .category-page .quick-category-item{min-height:48px!important;border-radius:12px!important}.category-page .quick-category-icon{width:31px!important;height:31px!important;flex-basis:31px!important}
  .category-page .food-card{min-height:190px!important;grid-template-columns:43% 57%!important;border-radius:20px!important}
  .category-page .food-thumb{min-height:190px!important}
  .category-page .food-body{padding:15px 13px!important}
  .category-page .food-body p{display:none!important;min-height:0!important}
  .category-page .food-title-row{min-height:32px!important}.category-page .price-row{min-height:31px!important}
  .category-page .food-actions{width:130px!important;height:43px!important;min-height:43px!important;max-height:43px!important;margin-top:10px!important}
  .category-page .food-actions>.atc-btn,.category-page .food-actions>.qty-stepper{width:130px!important;min-width:130px!important;max-width:130px!important;height:43px!important;min-height:43px!important;max-height:43px!important;border-radius:13px!important}
  .category-page .food-actions>.qty-stepper{grid-template-columns:39px 1fr 39px!important}.category-page .food-actions>.qty-stepper button{width:39px!important;height:41px!important}
  .v98-bottom-dock>.v98-dock-segment{flex-direction:column!important;gap:1px!important;padding:4px 6px!important}
  .v98-bottom-dock .v98-location{flex-direction:row!important;gap:6px!important;padding-inline:9px!important}
  .v98-bottom-dock .v98-dock-icon{width:24px!important;height:24px!important;flex:0 0 24px!important}.v98-bottom-dock .v98-dock-icon svg{width:19px!important;height:19px!important}
  .v98-bottom-dock .lang-glyph{font-size:15px!important;margin-bottom:1px!important}
  .v98-bottom-dock .v98-dock-copy{min-height:auto!important}.v98-bottom-dock .v98-dock-copy strong{font-size:8.5px!important}.v98-bottom-dock .v98-dock-copy small{display:none!important}
  .v98-bottom-dock .v98-location .v98-dock-copy{min-height:36px!important;justify-content:center!important}.v98-bottom-dock .v98-location .v98-dock-copy strong{font-size:8.5px!important}.v98-bottom-dock .v98-location .v98-dock-copy small{display:-webkit-box!important;font-size:6.8px!important;line-height:1.45!important;margin-top:1px!important}
}

@media(max-width:430px){
  .category-page .food-card{grid-template-columns:42% 58%!important;min-height:186px!important}.category-page .food-thumb{min-height:186px!important}.category-page .food-body{padding:14px 11px!important}
  .category-page .food-actions{width:120px!important}.category-page .food-actions>.atc-btn,.category-page .food-actions>.qty-stepper{width:120px!important;min-width:120px!important;max-width:120px!important}
  .category-page .food-actions>.atc-btn{font-size:9px!important;padding-inline:7px!important}
}

@media(prefers-reduced-motion:reduce){
  .v99-reveal{opacity:1!important;transform:none!important;transition:none!important}.v98-reference-hero.is-v99-ready .v98-hero-media img,.v98-reference-hero.is-v99-ready .v98-location-pill,.v98-reference-hero.is-v99-ready .v98-hero-copy h2,.v98-reference-hero.is-v99-ready .v98-hero-copy>p,.v98-reference-hero.is-v99-ready .v98-hero-actions,.v98-reference-hero.is-v99-ready .v98-hero-mini-meta{animation:none!important}.v99-cart-fly{display:none!important}
}

/* beat legacy v93 !important tap rules */
html body .bottom-dock.v98-bottom-dock>.v98-dock-segment:active,
html body .bottom-dock.v98-bottom-dock>.v98-dock-segment.is-tapped,
html body .bottom-dock.v98-bottom-dock>.v98-dock-segment.is-pressing{
  transform:translateY(1px) scale(.975)!important;
  background:rgba(240,166,61,.09)!important;
  box-shadow:inset 0 0 0 1px rgba(240,166,61,.12)!important;
}
html[data-theme="light"] body .bottom-dock.v98-bottom-dock>.v98-dock-segment:active,
html[data-theme="light"] body .bottom-dock.v98-bottom-dock>.v98-dock-segment.is-tapped,
html[data-theme="light"] body .bottom-dock.v98-bottom-dock>.v98-dock-segment.is-pressing{
  background:rgba(231,137,74,.08)!important;
}

/* ---------- v100 polish: nav pill, rounded category rail, cleaner dock theme ---------- */
/* header nav should use pill states instead of stray underline */
.v98-desktop-nav{gap:8px!important}
.v98-desktop-nav a,
.v98-desktop-nav button{
  min-width:72px!important;
  height:46px!important;
  padding:0 16px!important;
  border-radius:18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid transparent!important;
}
.v98-desktop-nav a:after,
.v98-desktop-nav button:after{display:none!important}
.v98-desktop-nav a:hover,
.v98-desktop-nav button:hover,
.v98-desktop-nav .is-active{
  background:linear-gradient(145deg,rgba(232,71,52,.12),rgba(255,183,107,.08))!important;
  border-color:rgba(240,166,61,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 18px rgba(0,0,0,.08)!important;
  color:#ff8b79!important;
  transform:none!important;
}
[data-theme="light"] .v98-desktop-nav a:hover,
[data-theme="light"] .v98-desktop-nav button:hover,
[data-theme="light"] .v98-desktop-nav .is-active{
  background:linear-gradient(145deg,rgba(231,95,76,.10),rgba(255,227,197,.76))!important;
  border-color:rgba(204,116,55,.20)!important;
  color:#c53b2b!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 10px 20px rgba(149,89,44,.08)!important;
}

/* rounded category section shell */
.v98-category-strip{
  padding:18px 16px 16px!important;
  border-radius:30px!important;
  border:1px solid rgba(240,166,61,.14)!important;
  background:linear-gradient(145deg,rgba(31,24,19,.42),rgba(19,18,15,.26))!important;
  box-shadow:0 18px 44px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.06)!important;
}
[data-theme="light"] .v98-category-strip{
  background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(255,244,228,.56))!important;
  border-color:rgba(158,91,41,.14)!important;
  box-shadow:0 18px 44px rgba(137,84,43,.08),inset 0 1px 0 rgba(255,255,255,.98)!important;
}
.v98-category-rail{padding:6px 2px 2px!important}
.v98-category-chip{
  border-radius:18px!important;
  min-width:162px!important;
  height:64px!important;
}
.v98-category-icon{border-radius:14px!important}

/* category page quick category rail gets the same rounded framing */
.quick-category-nav{
  padding:14px 12px 10px!important;
  border-radius:24px!important;
  background:linear-gradient(145deg,rgba(28,22,18,.36),rgba(17,15,13,.22))!important;
  border:1px solid rgba(240,166,61,.12)!important;
  box-shadow:0 14px 36px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.05)!important;
}
[data-theme="light"] .quick-category-nav{
  background:linear-gradient(145deg,rgba(255,255,255,.58),rgba(255,244,229,.52))!important;
  border-color:rgba(158,91,41,.12)!important;
  box-shadow:0 14px 36px rgba(136,80,42,.08),inset 0 1px 0 rgba(255,255,255,.98)!important;
}
.category-page .quick-category-item,
.category-page .quick-category-item.is-active,
.category-page .quick-category-item[aria-current="page"]{border-radius:16px!important}

/* dock refinement */
.v98-bottom-dock>.v98-dock-segment{border-radius:20px!important}
.v98-bottom-dock .theme-toggle{
  gap:6px!important;
}
.v98-bottom-dock .theme-toggle .v98-dock-copy,
.v98-bottom-dock .language-dock .v98-dock-copy{
  min-height:40px!important;
}
.v98-bottom-dock .theme-toggle .v98-dock-icon{
  filter:drop-shadow(0 4px 10px rgba(240,166,61,.22));
}
html.v99-theme-switching .theme-toggle .v98-dock-icon svg{
  animation:v100ThemeIconFlip .55s cubic-bezier(.2,.8,.2,1);
}
@keyframes v100ThemeIconFlip{
  0%{transform:scale(1) rotate(0)}
  45%{transform:scale(1.18) rotate(18deg)}
  100%{transform:scale(1) rotate(0)}
}

@media(max-width:760px){
  .v98-category-strip{padding:14px 10px 12px!important;border-radius:24px!important}
  .v98-category-chip{min-width:138px!important;height:56px!important;border-radius:16px!important}
  .quick-category-nav{padding:10px 8px 8px!important;border-radius:20px!important}
  .v98-bottom-dock>.v98-dock-segment{border-radius:18px!important}
}

/* ---------- v101 polish: header pills, dock clipping, homepage category cards ---------- */
/* bottom dock: keep pressed state clipped inside rounded border */
.bottom-dock.v98-bottom-dock>.v98-dock-segment,
.v98-bottom-dock>.v98-dock-segment{
  overflow:hidden!important;
  border-radius:20px!important;
  background-clip:padding-box!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
}
.v98-bottom-dock>.v98-dock-segment:before{border-radius:inherit!important}
.v98-bottom-dock>.v98-dock-segment:active,
.v98-bottom-dock>.v98-dock-segment.is-tapped,
.v98-bottom-dock>.v98-dock-segment.is-pressing{
  box-shadow:inset 0 0 0 1px rgba(240,166,61,.14)!important;
}
[data-theme="light"] .v98-bottom-dock>.v98-dock-segment:active,
[data-theme="light"] .v98-bottom-dock>.v98-dock-segment.is-tapped,
[data-theme="light"] .v98-bottom-dock>.v98-dock-segment.is-pressing{
  box-shadow:inset 0 0 0 1px rgba(209,108,51,.14)!important;
}

/* header nav: every desktop item behaves like a proper rounded widget */
.v98-desktop-nav a,
.v98-desktop-nav button{
  position:relative!important;
  overflow:hidden!important;
  min-width:82px!important;
  height:46px!important;
  padding:0 18px!important;
  border-radius:18px!important;
  border:1px solid transparent!important;
  background:transparent!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.v98-desktop-nav a::before,
.v98-desktop-nav button::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(145deg,rgba(232,71,52,.14),rgba(255,184,94,.08));
  opacity:0;transition:opacity .22s ease;
}
.v98-desktop-nav a:hover::before,
.v98-desktop-nav button:hover::before,
.v98-desktop-nav .is-active::before{opacity:1}
.v98-desktop-nav a:hover,
.v98-desktop-nav button:hover,
.v98-desktop-nav .is-active{
  color:#ff8b79!important;
  border-color:rgba(240,166,61,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 22px rgba(0,0,0,.10)!important;
}
[data-theme="light"] .v98-desktop-nav a,
[data-theme="light"] .v98-desktop-nav button{color:#4d2e1e!important}
[data-theme="light"] .v98-desktop-nav a::before,
[data-theme="light"] .v98-desktop-nav button::before{background:linear-gradient(145deg,rgba(231,95,76,.11),rgba(255,227,197,.82))}
[data-theme="light"] .v98-desktop-nav a:hover,
[data-theme="light"] .v98-desktop-nav button:hover,
[data-theme="light"] .v98-desktop-nav .is-active{
  color:#c53b2b!important;
  border-color:rgba(204,116,55,.20)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 10px 22px rgba(149,89,44,.08)!important;
}
.v98-desktop-nav a:after,
.v98-desktop-nav button:after{display:none!important}

/* homepage categories become true cards instead of a strip */
body:not(.category-page) .v98-category-strip{
  padding:18px 16px 16px!important;
  border-radius:32px!important;
}
body:not(.category-page) .v98-category-rail{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  overflow:visible!important;
  padding:8px 2px 4px!important;
}
body:not(.category-page) .v98-category-chip{
  min-width:0!important;
  width:100%!important;
  height:112px!important;
  padding:12px 14px!important;
  border-radius:24px!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
body:not(.category-page) .v98-category-icon{
  width:56px!important;
  height:56px!important;
  flex-basis:56px!important;
  border-radius:18px!important;
}
body:not(.category-page) .v98-category-label strong{font-size:14px!important;white-space:normal!important;line-height:1.45!important}
body:not(.category-page) .v98-category-label small{font-size:10px!important;margin-top:3px!important}

@media(max-width:1100px){
  body:not(.category-page) .v98-category-rail{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  body:not(.category-page) .v98-category-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body:not(.category-page) .v98-category-chip{height:94px!important;border-radius:20px!important;padding:10px 12px!important}
  body:not(.category-page) .v98-category-icon{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:14px!important}
  body:not(.category-page) .v98-category-label strong{font-size:12px!important}
  body:not(.category-page) .v98-category-label small{font-size:8.5px!important}
}
@media(max-width:430px){
  body:not(.category-page) .v98-category-rail{grid-template-columns:1fr 1fr!important}
}

/* ---------- v102: stacked category previews + full-photo food cards + dock containment ---------- */
/* category cards use 1–4 real food photos like messenger avatar stacks */
body:not(.category-page) .v98-category-chip{
  position:relative!important;
  min-height:118px!important;
  height:118px!important;
  overflow:hidden!important;
}
body:not(.category-page) .v102-category-stack{
  position:relative!important;
  width:118px!important;
  height:72px!important;
  flex:0 0 118px!important;
  display:block!important;
  direction:ltr!important;
}
body:not(.category-page) .v102-category-thumb{
  position:absolute!important;
  top:50%!important;
  width:58px!important;
  height:58px!important;
  border-radius:18px!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
  transform:translateY(-50%) rotate(var(--v102-rot,0deg))!important;
  border:3px solid rgba(255,248,238,.92)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(239,81,66,.09))!important;
  box-shadow:0 9px 22px rgba(0,0,0,.18)!important;
  transition:transform .28s var(--v99-ease),filter .25s ease!important;
}
[data-theme="dark"] body:not(.category-page) .v102-category-thumb{border-color:rgba(35,29,23,.94)!important}
body:not(.category-page) .v102-category-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
body:not(.category-page) .v102-thumb-0{left:0!important;--v102-rot:-4deg;z-index:1}
body:not(.category-page) .v102-thumb-1{left:22px!important;--v102-rot:3deg;z-index:2}
body:not(.category-page) .v102-thumb-2{left:44px!important;--v102-rot:-2deg;z-index:3}
body:not(.category-page) .v102-thumb-3{left:66px!important;--v102-rot:4deg;z-index:4}
body:not(.category-page) .v102-category-icon-fallback{color:var(--v99-red)!important}
body:not(.category-page) .v102-category-icon-fallback svg{width:29px!important;height:29px!important;fill:none!important;stroke:currentColor!important}
body:not(.category-page) .v98-category-chip:hover .v102-thumb-0{transform:translateY(-52%) translateX(-4px) rotate(-7deg)!important}
body:not(.category-page) .v98-category-chip:hover .v102-thumb-1{transform:translateY(-54%) translateX(-1px) rotate(5deg)!important}
body:not(.category-page) .v98-category-chip:hover .v102-thumb-2{transform:translateY(-54%) translateX(2px) rotate(-4deg)!important}
body:not(.category-page) .v98-category-chip:hover .v102-thumb-3{transform:translateY(-52%) translateX(5px) rotate(6deg)!important}

/* category menu foods: image becomes the card, information floats on a safe gradient */
.category-page .food-list{grid-auto-rows:auto!important}
.category-page .food-card{
  position:relative!important;
  display:block!important;
  min-height:300px!important;
  height:300px!important;
  border-radius:24px!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:#1c1712!important;
  border:1px solid rgba(246,181,82,.25)!important;
}
.category-page .food-card:after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(15,12,10,.05) 0 30%,rgba(15,12,10,.44) 58%,rgba(15,12,10,.94) 100%),linear-gradient(0deg,rgba(10,8,7,.72),transparent 60%);
}
.category-page .food-thumb{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;z-index:0!important;border-radius:inherit!important;overflow:hidden!important;
}
.category-page .food-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;transform:scale(1.01)!important}
.category-page .food-placeholder{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:grid!important;place-items:center!important;background:radial-gradient(circle at 30% 35%,rgba(238,116,55,.16),transparent 32%),linear-gradient(145deg,#2a251f,#181814)!important;color:#ef6a55!important}
.category-page .food-placeholder svg{width:54px!important;height:54px!important}
.category-page .food-badge{z-index:4!important;top:14px!important;left:14px!important}
.category-page .food-body{
  position:absolute!important;z-index:3!important;inset:0!important;
  display:flex!important;flex-direction:column!important;justify-content:flex-end!important;align-items:flex-start!important;
  padding:24px!important;color:#fff7eb!important;text-align:right!important;direction:rtl!important;
}
.category-page .food-title-row{min-height:auto!important;width:100%!important}.category-page .food-title-row h2{font-size:22px!important;color:#fff7eb!important;text-shadow:0 3px 18px rgba(0,0,0,.5)!important}
.category-page .food-body p{display:none!important}
.category-page .price-row{min-height:auto!important;margin:8px 0 0!important}.category-page .price-row strong{color:#ffc968!important;font-size:19px!important}.category-page .price-row del{color:rgba(255,255,255,.60)!important}
.category-page .sold{color:#fff!important;background:rgba(191,47,38,.82)!important}
.category-page .food-actions{margin-top:13px!important;width:148px!important;height:45px!important;min-height:45px!important;flex:0 0 45px!important}
.category-page .food-actions>.atc-btn,.category-page .food-actions>.qty-stepper{width:148px!important;min-width:148px!important;max-width:148px!important;height:45px!important;min-height:45px!important;max-height:45px!important;background:rgba(232,71,52,.94)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important;backdrop-filter:blur(16px)!important}
.category-page .food-actions>.qty-stepper{background:rgba(30,24,19,.76)!important;border:1px solid rgba(255,193,101,.32)!important}.category-page .food-actions>.qty-stepper button{color:#ffc968!important}.category-page .food-actions>.qty-stepper .qty-value{color:#fff!important}

/* homepage featured foods: same photo-first visual language */
.v96-food-card{
  position:relative!important;display:block!important;min-height:310px!important;height:310px!important;border-radius:24px!important;overflow:hidden!important;isolation:isolate!important;background:#18130f!important;
}
.v96-food-card:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(12,10,8,.04) 0 28%,rgba(12,10,8,.38) 55%,rgba(12,10,8,.94) 100%),linear-gradient(0deg,rgba(10,8,6,.74),transparent 58%)}
.v96-food-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;z-index:0!important;border-radius:inherit!important;overflow:hidden!important}
.v96-food-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.v96-food-media .food-placeholder{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#2a251f,#17130f)!important}
.v96-food-badge{z-index:4!important;top:14px!important;left:14px!important}
.v96-food-body{position:absolute!important;z-index:3!important;inset:0!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;align-items:flex-start!important;padding:22px!important;color:#fff7eb!important;direction:rtl!important;text-align:right!important}
.v96-food-body h3{font-size:21px!important;color:#fff7eb!important;text-shadow:0 3px 18px rgba(0,0,0,.5)!important}.v96-food-body p{display:none!important}.v96-food-price{margin-top:8px!important}.v96-food-price strong{color:#ffc968!important;font-size:18px!important}.v96-food-price del{color:rgba(255,255,255,.58)!important}
.v96-food-card .food-actions{margin-top:12px!important}

/* permanent fix: dock segments never leave the dock; only their icon animates */
.bottom-dock.v98-bottom-dock{overflow:hidden!important;contain:paint!important}
html body .bottom-dock.v98-bottom-dock>.v98-dock-segment,
html body .bottom-dock.v98-bottom-dock>.v98-dock-segment:hover,
html body .bottom-dock.v98-bottom-dock>.v98-dock-segment:active,
html body .bottom-dock.v98-bottom-dock>.v98-dock-segment.is-tapped,
html body .bottom-dock.v98-bottom-dock>.v98-dock-segment.is-pressing{
  transform:none!important;
  position:relative!important;
  inset:auto!important;
  margin:0!important;
  max-height:68px!important;
  overflow:hidden!important;
  contain:paint!important;
}
html body .bottom-dock.v98-bottom-dock>.theme-toggle:active .v98-dock-icon,
html body .bottom-dock.v98-bottom-dock>.theme-toggle.is-pressing .v98-dock-icon{transform:scale(.90)!important}

@media(max-width:760px){
  body:not(.category-page) .v102-category-stack{width:96px!important;height:60px!important;flex-basis:96px!important}
  body:not(.category-page) .v102-category-thumb{width:48px!important;height:48px!important;border-radius:15px!important;border-width:2px!important}
  body:not(.category-page) .v102-thumb-1{left:18px!important}body:not(.category-page) .v102-thumb-2{left:36px!important}body:not(.category-page) .v102-thumb-3{left:54px!important}
  .category-page .food-card{min-height:245px!important;height:245px!important;border-radius:22px!important}.category-page .food-body{padding:18px!important}.category-page .food-title-row h2{font-size:18px!important}.category-page .price-row strong{font-size:17px!important}.category-page .food-actions{width:126px!important}.category-page .food-actions>.atc-btn,.category-page .food-actions>.qty-stepper{width:126px!important;min-width:126px!important;max-width:126px!important}
  .v96-food-card{min-height:250px!important;height:250px!important}.v96-food-body{padding:18px!important}.v96-food-body h3{font-size:18px!important}
  html body .bottom-dock.v98-bottom-dock>.v98-dock-segment,
  html body .bottom-dock.v98-bottom-dock>.v98-dock-segment:hover,
  html body .bottom-dock.v98-bottom-dock>.v98-dock-segment:active,
  html body .bottom-dock.v98-bottom-dock>.v98-dock-segment.is-tapped,
  html body .bottom-dock.v98-bottom-dock>.v98-dock-segment.is-pressing{max-height:60px!important}
}

/* ---------- v103: better mobile header, calmer dock, compact full-photo food cards ---------- */
/* mobile header should stay rounded and show restaurant name next to mascot */
@media(max-width:760px){
  .v77-header{
    border-radius:26px!important;
    overflow:hidden!important;
    grid-template-columns:56px 1fr 56px!important;
    padding:8px 10px!important;
  }
  .v77-brand{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    height:auto!important;
    max-width:calc(100% - 136px)!important;
  }
  .v77-brand-disc{
    width:50px!important;
    height:50px!important;
    flex:0 0 50px!important;
  }
  .v77-brand-disc .header-brand-video-only,
  .v77-brand-disc .header-chroma-brand,
  .v77-brand-disc .header-plain-video-stage{width:50px!important;height:50px!important}
  .v77-brand-disc .header-logo-video,
  .v77-brand-disc .header-logo-chroma-canvas,
  .v77-brand-disc .header-logo-chroma-fallback{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important}
  .v96-brand-copy{
    display:flex!important;
    min-width:0!important;
    align-items:flex-start!important;
  }
  .v96-brand-copy strong{
    font-size:15px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    max-width:126px!important;
  }
  .v96-brand-copy small{
    display:block!important;
    font-size:8.5px!important;
    line-height:1.3!important;
    margin-top:2px!important;
  }
}
@media(max-width:430px){
  .v77-header{border-radius:23px!important}
  .v96-brand-copy strong{font-size:13.5px!important;max-width:104px!important}
  .v96-brand-copy small{font-size:7.6px!important}
}

/* calmer, cleaner dock; no inner tile that feels detached */
.bottom-dock.v98-bottom-dock{overflow:hidden!important;border-radius:28px!important}
.v98-bottom-dock>.v98-dock-segment{
  background:transparent!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
.v98-bottom-dock>.v98-dock-segment:before{inset:4px!important;border-radius:15px!important}
.v98-bottom-dock>.v98-dock-segment:hover,
.v98-bottom-dock>.v98-dock-segment:active,
.v98-bottom-dock>.v98-dock-segment.is-tapped,
.v98-bottom-dock>.v98-dock-segment.is-pressing{
  background:rgba(255,255,255,.035)!important;
  box-shadow:inset 0 0 0 1px rgba(240,166,61,.10)!important;
}
[data-theme="light"] .v98-bottom-dock>.v98-dock-segment:hover,
[data-theme="light"] .v98-bottom-dock>.v98-dock-segment:active,
[data-theme="light"] .v98-bottom-dock>.v98-dock-segment.is-tapped,
[data-theme="light"] .v98-bottom-dock>.v98-dock-segment.is-pressing{
  background:rgba(255,255,255,.26)!important;
  box-shadow:inset 0 0 0 1px rgba(203,112,55,.12)!important;
}
.v98-bottom-dock .theme-toggle .v98-dock-icon,
.v98-bottom-dock .language-dock .v98-dock-icon,
.v98-bottom-dock .v98-location .v98-dock-icon{filter:none!important}
.v98-bottom-dock .theme-toggle .v98-dock-copy,
.v98-bottom-dock .language-dock .v98-dock-copy,
.v98-bottom-dock .v98-location .v98-dock-copy{align-items:center!important;text-align:center!important}
.v98-bottom-dock .v98-location .v98-dock-copy small{text-align:center!important}
@media(max-width:760px){
  .bottom-dock.v98-bottom-dock{border-radius:24px!important;padding:6px!important}
  .v98-bottom-dock>.v98-dock-segment{border-radius:16px!important;padding:5px 6px!important}
  .v98-bottom-dock>.v98-dock-segment:before{inset:3px!important;border-radius:13px!important}
  .v98-bottom-dock .v98-location{gap:4px!important;padding-inline:6px!important}
  .v98-bottom-dock .v98-location .v98-dock-copy strong{font-size:8px!important}
  .v98-bottom-dock .v98-location .v98-dock-copy small{font-size:6.5px!important;line-height:1.35!important}
}

/* compact full-photo cards: keep earlier footprint, but image fills the card */
.category-page .food-card{
  min-height:224px!important;
  height:224px!important;
  border-radius:22px!important;
}
.category-page .food-card:after{
  background:linear-gradient(90deg,rgba(12,10,8,.08) 0 28%,rgba(12,10,8,.32) 52%,rgba(12,10,8,.88) 100%),linear-gradient(0deg,rgba(10,8,7,.58),transparent 60%)!important;
}
.category-page .food-body{padding:18px!important}
.category-page .food-title-row h2{font-size:18px!important}
.category-page .price-row strong{font-size:17px!important}
.category-page .food-actions{width:136px!important;height:42px!important;min-height:42px!important;flex:0 0 42px!important;margin-top:10px!important}
.category-page .food-actions>.atc-btn,
.category-page .food-actions>.qty-stepper{
  width:136px!important;min-width:136px!important;max-width:136px!important;
  height:42px!important;min-height:42px!important;max-height:42px!important;
  border-radius:15px!important;
}
.category-page .food-actions>.atc-btn{
  background:linear-gradient(145deg,rgba(255,255,255,.20),rgba(255,255,255,.06))!important;
  border:1px solid rgba(255,214,165,.42)!important;
  backdrop-filter:blur(16px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(145%)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.25)!important;
}
.category-page .food-actions>.qty-stepper{background:rgba(22,19,16,.52)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}
.v96-food-card{
  min-height:224px!important;
  height:224px!important;
  border-radius:22px!important;
}
.v96-food-card:after{background:linear-gradient(90deg,rgba(12,10,8,.08) 0 28%,rgba(12,10,8,.32) 52%,rgba(12,10,8,.88) 100%),linear-gradient(0deg,rgba(10,8,6,.58),transparent 60%)!important}
.v96-food-body{padding:18px!important}
.v96-food-body h3{font-size:18px!important}
.v96-food-price strong{font-size:17px!important}
.v96-food-card .food-actions{width:136px!important;height:42px!important;min-height:42px!important;flex:0 0 42px!important;margin-top:10px!important}
.v96-food-card .food-actions>.atc-btn,
.v96-food-card .food-actions>.qty-stepper{
  width:136px!important;min-width:136px!important;max-width:136px!important;
  height:42px!important;min-height:42px!important;max-height:42px!important;
  border-radius:15px!important;
}
.v96-food-card .food-actions>.atc-btn{
  background:linear-gradient(145deg,rgba(255,255,255,.20),rgba(255,255,255,.06))!important;
  border:1px solid rgba(255,214,165,.42)!important;
  backdrop-filter:blur(16px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(145%)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.25)!important;
}
.v96-food-card .food-actions>.qty-stepper{background:rgba(22,19,16,.52)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}
@media(max-width:760px){
  .category-page .food-card{min-height:188px!important;height:188px!important;border-radius:20px!important}
  .category-page .food-body{padding:14px!important}
  .category-page .food-title-row h2{font-size:16px!important}
  .category-page .price-row strong{font-size:15px!important}
  .category-page .food-actions{width:122px!important;height:39px!important;min-height:39px!important;flex-basis:39px!important}
  .category-page .food-actions>.atc-btn,.category-page .food-actions>.qty-stepper{width:122px!important;min-width:122px!important;max-width:122px!important;height:39px!important;min-height:39px!important;max-height:39px!important;border-radius:14px!important}
  .v96-food-card{min-height:188px!important;height:188px!important;border-radius:20px!important}
  .v96-food-body{padding:14px!important}.v96-food-body h3{font-size:16px!important}.v96-food-price strong{font-size:15px!important}
  .v96-food-card .food-actions{width:122px!important;height:39px!important;min-height:39px!important;flex-basis:39px!important}
  .v96-food-card .food-actions>.atc-btn,.v96-food-card .food-actions>.qty-stepper{width:122px!important;min-width:122px!important;max-width:122px!important;height:39px!important;min-height:39px!important;max-height:39px!important;border-radius:14px!important}
}
