/* ОСТРОВОК — PHASE 09 / FINAL UI POLISH */

/* 1. Hero еще компактнее: фирменный образ остается, меню начинается быстрее. */
.hero{min-height:196px!important;margin-top:8px!important;border-radius:22px!important}
.hero__content{min-height:196px!important;padding:14px 17px!important}
.brand{gap:0!important}.brand span{font-size:8px!important}.brand strong{font-size:23px!important}
.hero h1{font-size:40px!important;line-height:.9!important;margin:9px 0 5px!important}
.hero p{font-size:12px!important;margin:0 0 10px!important}
.hero__actions{gap:6px!important}.pill{min-height:36px!important;padding:0 12px!important;font-size:11px!important}.pill--qr{min-width:48px!important}

/* 2. Категории: кнопка "Разделы" не перекрывает ленту, активный пункт виден полностью. */
.category-toolbar{grid-template-columns:max-content minmax(0,1fr)!important;gap:9px!important;overflow:hidden!important}
.all-cats{position:relative!important;z-index:3!important;flex:none!important}
.categories{position:relative!important;z-index:1!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-padding-inline:7px!important;overscroll-behavior-inline:contain!important}
.category-card{overflow:visible!important;text-overflow:clip!important;max-width:none!important}
.category-card.is-active{box-shadow:0 5px 14px rgba(217,155,62,.12)!important}

/* 3. Заголовок раздела и список: меньше лишней высоты. */
.menu-stage{padding:12px 0 20px!important}
.section-head{margin-bottom:8px!important;gap:6px!important}
.section-head__kicker{font-size:8px!important;margin-bottom:3px!important}
.section-head h2{font-size:clamp(29px,7.8vw,37px)!important;line-height:.98!important;overflow-wrap:anywhere!important}
#pager{display:none!important}
.dish-track{gap:6px!important}
.dish-card{border-radius:15px!important}
.dish-card__body{padding:9px 12px!important;min-height:58px!important;gap:8px!important}
.dish-card h3{font-size:15px!important;margin-bottom:2px!important;line-height:1.14!important}
.dish-card__weight{font-size:10.5px!important}
.dish-card__desc{font-size:10.5px!important;margin-top:3px!important}
.dish-card__price{font-size:19px!important}

/* 4. Подробности: мягче затемнение и компактнее нижний лист. */
.sheet__backdrop{background:rgba(0,0,0,.46)!important;backdrop-filter:blur(1px)}
.sheet__panel{border-radius:22px 22px 0 0!important}
.sheet__handle{top:8px!important;width:40px!important;height:4px!important}
.sheet__body{padding:18px 15px max(14px,env(safe-area-inset-bottom))!important}
.sheet__top h3{font-size:20px!important;line-height:1.08!important}.sheet__top small{font-size:9px!important}
.sheet__top button{width:34px!important;height:34px!important;font-size:21px!important}
.sheet__row{margin-top:11px!important}.sheet__price{font-size:23px!important}.sheet__weight{font-size:11px!important}
.sheet p{font-size:13px!important;line-height:1.42!important;margin:11px 0 12px!important}
.sheet__back{min-height:40px!important;border-radius:13px!important;font-size:12px!important}

/* 5. Панель всех разделов тоже немного легче визуально. */
.category-sheet__backdrop{background:rgba(0,0,0,.54)!important;backdrop-filter:blur(1px)}
.category-sheet__panel{border-radius:22px 22px 0 0!important;padding-top:18px!important}
.category-sheet__head{margin:8px 0 12px!important}.category-sheet__head h2{font-size:28px!important}
.category-sheet__item{min-height:54px!important}

.footer{padding-top:14px!important}

@media(max-width:390px){
  .hero{min-height:188px!important}.hero__content{min-height:188px!important;padding:13px 14px!important}
  .hero h1{font-size:38px!important}.brand strong{font-size:22px!important}.hero p{font-size:11.5px!important}
  .pill{min-height:35px!important;padding:0 11px!important;font-size:10.5px!important}
  .all-cats{height:36px!important;padding:0 10px!important}.category-card{height:35px!important;padding:0 11px!important}
  .section-head h2{font-size:clamp(28px,8.1vw,34px)!important}
  .dish-card__body{min-height:56px!important;padding:8px 11px!important}.dish-card h3{font-size:14.5px!important}.dish-card__price{font-size:18px!important}
}

@media(min-width:720px){
  .hero{min-height:238px!important}.hero__content{min-height:238px!important;padding:20px!important}.hero h1{font-size:47px!important}.brand strong{font-size:27px!important}
}
