.webapp-category-nav,
.webapp-home,
.webapp-bottom-nav { display: none; }

.webapp-language-menu { display: none !important; }

@media (max-width: 767.98px) {

    body.webapp-host .swiper-slide {
        height: calc(100vh - 200px);
    }

  body.webapp-host { padding-bottom: 86px; background: #fff; }
  body.webapp-host #im-ajax-page-content { transform: none; transition: opacity .28s ease; }
  body.webapp-host #im-ajax-page-content.is-ajax-leaving,
  body.webapp-host #im-ajax-page-content.is-ajax-entering { transform: none; opacity: 0; }
  body.webapp-host .im-ajax-navigation-loader { display: none !important; }
  .webapp-category-nav { position: relative; z-index: 9; margin-top: 62px; background: #fff; border-top: 1px solid #f2f2f2; border-bottom: 1px solid #ededed; }
  /* A cleared live-search panel can retain an inline height after a touch search.
     It must not sit invisibly above category links. */
  .rd-search-results-panel.cleared,
  .rd-search-results-panel:not(.is-active) { pointer-events: none; }
  body.webapp-host .webapp-category-nav { display: block; }
  .webapp-category-nav__scroll { display: flex; gap: 0; overflow-x: auto; padding: 10px 0 8px; scrollbar-width: thin; scrollbar-color: rgba(18,18,18,.18) transparent; -webkit-overflow-scrolling: touch; }
  .webapp-category-nav__scroll::-webkit-scrollbar { height: 3px; }
  .webapp-category-nav__scroll::-webkit-scrollbar-track { background: transparent; }
  .webapp-category-nav__scroll::-webkit-scrollbar-thumb { background: rgba(18,18,18,.18); border-radius: 999px; }
  .webapp-category-nav__scroll::-webkit-scrollbar-button { display: none; }
    .webapp-category-nav a {
        flex: 0 0 auto;
        min-width: 25%;
        padding: 2px 3px;
        color: #171717;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.45;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
    }
  body.webapp-host .page > .im-section, body.webapp-host .page > .snackbars, body.webapp-host .im-footer { display: none !important; }
  body.webapp-host .rd-navbar-toggle { display: none !important; }
  body.webapp-host .webapp-language-menu { position: absolute; z-index: 10010; top: 50%; right: 17px; display: block !important; transform: translateY(-50%); }
  body.webapp-host[dir="ltr"] .webapp-language-menu { right: auto; left: 17px; }
  .webapp-language-menu summary { display: grid; width: 35px; height: 35px; place-items: center; cursor: pointer; list-style: none; border: 1px solid transparent; border-radius: 50%; color: #191919; transition: color .18s ease, background .18s ease, border-color .18s ease; }
  .webapp-language-menu summary::-webkit-details-marker { display: none; }
  .webapp-language-menu summary svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
  .webapp-language-menu[open] summary { border-color: rgba(181, 136, 45, .24); background: #fcf4df; color: #8f671f; }
  .webapp-language-menu__options { position: absolute; top: calc(100% + 8px); right: 0; min-width: 116px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .09); border-radius: 12px; background: rgba(255, 255, 255, .98); box-shadow: 0 8px 22px rgba(0, 0, 0, .12); }
  body.webapp-host[dir="ltr"] .webapp-language-menu__options { right: auto; left: 0; }
  .webapp-language-menu__options a { display: block; padding: 9px 13px; color: #191919; font-size: 12px; line-height: 1.25; text-align: right; text-decoration: none; }
  body.webapp-host[dir="ltr"] .webapp-language-menu__options a { text-align: left; }
  .webapp-language-menu__options a + a { border-top: 1px solid #f0f0f0; }
  .webapp-language-menu__options a:active { background: #fcf4df; color: #8f671f; }
    body.webapp-host .branch-list-page-header .breadcrumbs-custom {
        display: none !important;
    }
  body.webapp-host .internal-page-slider { margin-top: 0 !important; }
  body.webapp-host .page-header .rd-navbar-panel { min-height: 62px; }
  body.webapp-host .page-header .rd-navbar-brand img { max-height: 31px; }
  body.webapp-host #homepage-slider { height: calc(100vh - 200px);}
  body.webapp-host #homepage-slider .swiper-slide-caption { padding-bottom: 116px; }
  body.webapp-host #homepage-slider .swiper-slide-caption .container { padding-bottom: 0 !important; }
  body.webapp-host #homepage-slider .slider-logo-im { width: 84px; height: auto; }
  body.webapp-host #homepage-slider h1 { font-size: clamp(27px, 8vw, 40px); line-height: 1.35; }
  body.webapp-host #homepage-slider .slide-text { font-size: 15px; line-height: 1.8; }
  body.webapp-host #homepage-slider .hero-nav { display: none !important; }
  body.webapp-host .webapp-home { display: block; background: #fff; color: #151515; }
  .webapp-quick-access { padding: 27px 20px 22px; }
  .webapp-quick-access h2 { margin: 0 0 23px; color: #181818; font-size: 20px; font-weight: 500; letter-spacing: .02em; }
  .webapp-quick-access__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 10px; }
  .webapp-quick-access__grid a { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 9px; color: #252525; font-size: 12px; line-height: 1.4; text-align: center; text-decoration: none; }
  .webapp-quick-access__grid svg { width: 55px; height: 55px; padding: 13px; border: 1px solid rgba(185, 146, 66, .26); border-radius: 15px; background: linear-gradient(145deg, #fffdf8 0%, #fbf3dd 58%, #ecd69b 140%); box-shadow: 0 7px 16px rgba(150, 111, 38, .12); fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
  .webapp-banners { padding: 7px 0 19px; overflow: hidden; }
  .webapp-banners__track { display: flex; gap: 13px; overflow-x: auto; padding: 0 20px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(18,18,18,.16) transparent; -webkit-overflow-scrolling: touch; }
  .webapp-banners__track::-webkit-scrollbar { height: 3px; }
  .webapp-banners__track::-webkit-scrollbar-track { background: transparent; }
  .webapp-banners__track::-webkit-scrollbar-thumb { background: rgba(18,18,18,.16); border-radius: 999px; }
  .webapp-banner { position: relative; flex: 0 0 83%; height: 220px; overflow: hidden; border-radius: 16px; color: #fff; scroll-snap-align: start; text-decoration: none; }
  .webapp-banner::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(0,0,0,.64), transparent 65%); }
  .webapp-banner img { width: 100%; height: 100%; object-fit: cover; }
  .webapp-banner span { position: absolute; z-index: 1; right: 16px; bottom: 15px; left: 16px; color: #fff; font-size: 18px; font-weight: 600; }
  body.webapp-host .webapp-bottom-nav { position: fixed; z-index: 10001; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 78px; padding: 6px 4px max(6px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid #e7e7e7; box-shadow: 0 -4px 17px rgba(0,0,0,.06); }
  .webapp-bottom-nav a { display: flex; width: min(64px, 100%); min-width: 0; aspect-ratio: 1; justify-self: center; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 1px; border: 1px solid transparent; border-radius: 14px; color: #171717; font-size: 9px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease; }
  .webapp-bottom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
  .webapp-bottom-nav a.is-active { border-color: rgba(181, 136, 45, .22); background: linear-gradient(145deg, #fff 0%, #fcf5e4 55%, #eed895 150%); box-shadow: 0 4px 12px rgba(156, 112, 31, .13); color: #8f671f; }
  .webapp-bottom-nav__mall svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
  .webapp-bottom-nav__mall span { font-weight: 600; }

  html[lang^="fa"] body.webapp-host .webapp-quick-access__grid svg {
    border-color: rgba(20, 20, 20, .16);
    background: linear-gradient(145deg, #fff 0%, #fafafa 62%, #ededed 150%);
    box-shadow: 0 7px 16px rgba(0, 0, 0, .09);
    color: #171717;
  }

  html[lang^="fa"] body.webapp-host .webapp-bottom-nav a.is-active {
    border-color: rgba(20, 20, 20, .18);
    background: linear-gradient(145deg, #fff 0%, #fafafa 62%, #ededed 150%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .09);
    color: #171717;
  }
}
