/* BALOKA V13 — mobile-only layout polish.
   Desktop (>=721px) and all operational/business modules are unchanged. */
@media screen and (max-width: 720px) {
  html {
    scroll-padding-top: 110px !important;
  }
  html body, html body main {
    width: 100% !important;
    overflow-x: clip !important;
  }
  html body header.top {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    background: #102e4e !important;
  }
  html body header.top .wrap.nav,
  html body header.top .nav {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    justify-content: stretch !important;
    column-gap: 10px !important;
    row-gap: 9px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: unset !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 16px 9px !important;
  }
  html body header.top .nav > a.brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    justify-self: start !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(20px, 6vw, 24px) !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    letter-spacing: -1px !important;
  }
  html body header.top .nav > a.brand small {
    display: block !important;
    margin-top: 5px !important;
    color: #f6d6a2 !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    letter-spacing: 1.15px !important;
  }
  html body header.top .nav > a.btn {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    flex-shrink: 0 !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    border-radius: 99px !important;
    background: #cc8f43 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }
  html body header.top .nav .links {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 7px 0 0 !important;
    border-top: 1px solid rgba(255,255,255,.2) !important;
    justify-content: space-around !important;
    align-items: center !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
  }
  html body header.top .nav .links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
    padding: 5px 2px !important;
    color: #ffffff !important;
    font-size: clamp(11px,3.1vw,13px) !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
    opacity: 1 !important;
  }
  html body .hero,
  html body .hero .hero-grid {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fffaf2 !important;
  }
  html body .hero .bl-v8-hero {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  html body .hero .bl-v8-mobile {
    display: block !important;
    order: 1 !important;
    width: 100% !important;
    padding: 22px 20px 19px !important;
    background: #fffaf2 !important;
    text-align: center !important;
  }
  html body .hero .bl-v8-mobile h1 {
    margin: 0 auto 9px !important;
    max-width: 420px !important;
    color: #102e4e !important;
    font-size: clamp(29px,8.3vw,39px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.035em !important;
    font-weight: 900 !important;
    text-wrap: balance;
  }
  html body .hero .bl-v8-mobile h1 strong {
    color: #bf8034 !important;
  }
  html body .hero .bl-v8-mobile p {
    max-width: 360px !important;
    margin: 0 auto 14px !important;
    color: #40556b !important;
    font-size: 13.5px !important;
    line-height: 1.48 !important;
  }
  html body .hero .bl-v8-mobile a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 47px !important;
    padding: 12px 26px !important;
    background: #cc8f43 !important;
    border-radius: 999px !important;
    color: white !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }
  html body .hero .bl-v8-hero > img {
    display: block !important;
    order: 2 !important;
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    object-position: right center !important;
    background: #f3dfc3 !important;
    border: 0 !important;
  }
  html body .hero .bl-v8-hotspot {
    display: none !important;
  }
  html body #menu {
    padding-top: 28px !important;
    scroll-margin-top: 113px !important;
  }
  html body main .section .wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  html body main .section h2 {
    max-width: 100% !important;
    font-size: clamp(27px,7.1vw,33px) !important;
    line-height: 1.17 !important;
    letter-spacing: -.025em !important;
  }
  html body main .section .sub {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
  html body #menu .cards,
  html body #menu .catalog-grid,
  html body #rencana-menu .catalog-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body #menu .card,
  html body #menu .catalog-item,
  html body #rencana-menu .catalog-item {
    width: 100% !important;
    min-width: 0 !important;
  }
  html body #menu .foodpic,
  html body #menu .catalog-art,
  html body #rencana-menu .catalog-art {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  html body main .filterbar {
    display: flex !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 9px !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
  }
  html body main .filterbar .filterbtn {
    flex: 0 0 auto !important;
    min-height: 43px !important;
    white-space: nowrap !important;
  }
  html body main .section .btn,
  html body main .section button {
    max-width: 100%;
  }
}
@media screen and (max-width: 360px) {
  html body header.top .nav,
  html body header.top .wrap.nav {
    padding-left: 11px !important;
    padding-right: 11px !important;
  }
  html body header.top .nav > a.btn {
    font-size: 11px !important;
    padding-left: 11px !important;
    padding-right: 11px !important;
  }
  html body .hero .bl-v8-mobile {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}
