@media only screen and (max-width: 999px) {
  body.rvnski-fly-mobile-panel #slide-out-widget-area.slide-out-from-right {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    z-index: 100001 !important;
    width: min(100vw, 390px) !important;
    min-width: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 0 !important;
    color: #0b2347 !important;
    background: #fff !important;
    box-shadow: -18px 0 45px rgba(11, 35, 71, 0.12) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(100%, 0, 0) !important;
    transition: transform 0.36s cubic-bezier(.22, .61, .36, 1), visibility 0s linear 0.36s !important;
  }

  body.rvnski-fly-mobile-panel.material-ocm-open #slide-out-widget-area.slide-out-from-right,
  body.rvnski-fly-mobile-panel #slide-out-widget-area.slide-out-from-right.material-open,
  body.rvnski-fly-mobile-panel #slide-out-widget-area.slide-out-from-right.open {
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
    transition-delay: 0s !important;
  }

  /* This style is an overlay: never scale or move the website underneath it. */
  body.rvnski-fly-mobile-panel[data-slide-out-widget-area-style="slide-out-from-right"] .ocm-effect-wrap.material-ocm-open,
  body.rvnski-fly-mobile-panel[data-slide-out-widget-area-style="slide-out-from-right"] .ocm-effect-wrap.material-ocm-open .ocm-effect-wrap-inner {
    height: auto !important;
    transform: none !important;
  }

  body.rvnski-fly-mobile-panel .ocm-effect-wrap-shadow.material-ocm-open {
    display: none !important;
    transform: none !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area-bg.slide-out-from-right {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(11, 35, 71, 0.34) !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area-bg.slide-out-from-right.material-open {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Material skin moves the close control outside the panel in JavaScript. */
  body.rvnski-fly-mobile-panel > .slide_out_area_close__wrap {
    position: fixed !important;
    z-index: 100002 !important;
    top: 18px !important;
    right: 16px !important;
    width: 48px !important;
    height: 48px !important;
    pointer-events: none;
  }

  body.rvnski-fly-mobile-panel > .slide_out_area_close__wrap .slide_out_area_close {
    position: absolute !important;
    inset: 0 !important;
    width: 48px !important;
    height: 48px !important;
    border: 1px solid #dce6f4 !important;
    border-radius: 13px !important;
    background: #fff !important;
    transform: none !important;
    pointer-events: none !important;
  }

  body.rvnski-fly-mobile-panel.material-ocm-open > .slide_out_area_close__wrap .slide_out_area_close {
    pointer-events: auto !important;
  }

  body.rvnski-fly-mobile-panel > .slide_out_area_close__wrap .close-line {
    background-color: #0b2347 !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .inner-wrap,
  body.rvnski-fly-mobile-panel #slide-out-widget-area .inner {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    background: #fff !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .inner {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 92px 16px 28px !important;
  }

  body.rvnski-fly-mobile-panel .fly-mobile-panel__brand {
    position: absolute;
    z-index: 10;
    top: 24px;
    left: 16px;
    display: flex;
    align-items: center;
    height: 42px;
  }

  body.rvnski-fly-mobile-panel .fly-mobile-panel__brand a,
  body.rvnski-fly-mobile-panel .fly-mobile-panel__brand img {
    display: block;
    width: auto;
    max-width: 148px;
    max-height: 40px;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .slide_out_area_close {
    top: 18px !important;
    right: 16px !important;
    width: 48px !important;
    height: 48px !important;
    border: 1px solid #dce6f4 !important;
    border-radius: 13px !important;
    background: #fff !important;
    transform: none !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .close-line {
    background-color: #0b2347 !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .off-canvas-menu-container,
  body.rvnski-fly-mobile-panel #slide-out-widget-area .off-canvas-menu-container.mobile-only {
    width: 100% !important;
    margin: 0 !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .off-canvas-menu-container > ul.menu {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    width: 100% !important;
    margin: 0 !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .off-canvas-menu-container > ul.menu > li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #dce6f4 !important;
    background: transparent !important;
    transform: none !important;
    opacity: 1 !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .off-canvas-menu-container > ul.menu > li > a {
    display: flex !important;
    align-items: center;
    min-height: 64px;
    padding: 12px 10px !important;
    color: #0b2347 !important;
    background: transparent !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .off-canvas-menu-container > ul.menu > li[class*="menu-item-btn-style"] {
    margin-top: 20px !important;
    border: 0 !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .off-canvas-menu-container > ul.menu > li[class*="menu-item-btn-style"] + li[class*="menu-item-btn-style"] {
    margin-top: 10px !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .off-canvas-menu-container > ul.menu > li[class*="menu-item-btn-style"] > a {
    justify-content: center;
    min-height: 54px;
    padding: 12px 20px !important;
    border-radius: 999px !important;
    color: #0b2347 !important;
    background: #ffc238 !important;
    box-shadow: 0 12px 24px rgba(255, 194, 56, 0.25) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .rvnski-language-switcher {
    align-self: center;
    width: auto !important;
    height: 42px !important;
    margin: 20px auto 0 !important;
    padding: 3px !important;
    border: 1px solid #dce6f4 !important;
    border-radius: 999px !important;
    background: #edf3fc !important;
    --language-switcher-inactive-text: #17365d;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .rvnski-language-switcher > ul.sub-menu {
    display: inline-flex !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .rvnski-language-switcher > ul > li {
    width: auto !important;
    border: 0 !important;
  }

  body.rvnski-fly-mobile-panel #slide-out-widget-area .bottom-meta-wrap {
    display: none !important;
  }

  .cflow-mobile-only.mobile-header .rvnski-language-switcher {
    display: flex !important;
    align-items: center;
    width: 80px !important;
    height: 40px !important;
    min-width: 80px !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    --language-switcher-inactive-text: #fff;
    --language-switcher-active-bg: rgba(255, 255, 255, 0.92);
  }

  .cflow-mobile-only.mobile-header .rvnski-language-switcher > ul.sub-menu {
    position: static !important;
    display: inline-flex !important;
    width: auto !important;
    min-width: 80px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  html body.rvnski-fly-mobile-panel #header-outer .cflow-mobile-only.mobile-header .inner > ul.sf-menu > li.rvnski-language-switcher > ul.sub-menu {
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  /* Final mobile-header language switcher: same segmented capsule as desktop. */
  html body.rvnski-fly-mobile-panel #header-outer .cflow-mobile-only.mobile-header .inner > ul.sf-menu:has(> .rvnski-language-option),
  html body.rvnski-fly-mobile-panel #header-outer .cflow-mobile-only.mobile-header li.rvnski-language-switcher {
    display: flex !important;
    align-items: center !important;
    width: 78px !important;
    min-width: 78px !important;
    height: 42px !important;
    margin: 0 8px 0 0 !important;
    padding: 3px !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
    overflow: hidden !important;
    --language-switcher-inactive-text: #fff;
    --language-switcher-active-bg: #fff;
  }

  html body.rvnski-fly-mobile-panel #header-outer .cflow-mobile-only.mobile-header li.rvnski-language-switcher > ul.sub-menu {
    display: flex !important;
    width: 70px !important;
    min-width: 70px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  html body.rvnski-fly-mobile-panel #header-outer .cflow-mobile-only.mobile-header .rvnski-language-option {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
  }

  html body.rvnski-fly-mobile-panel #header-outer .cflow-mobile-only.mobile-header .rvnski-language-option > a,
  html body.rvnski-fly-mobile-panel #header-outer .cflow-mobile-only.mobile-header .rvnski-language-option > a:hover,
  html body.rvnski-fly-mobile-panel #header-outer .cflow-mobile-only.mobile-header .rvnski-language-option > a:focus {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border-radius: 999px !important;
  }

  html body.rvnski-fly-mobile-panel #header-outer.scrolled-down .cflow-mobile-only.mobile-header .inner > ul.sf-menu:has(> .rvnski-language-option),
  html body.rvnski-fly-mobile-panel #header-outer.scrolled-down .cflow-mobile-only.mobile-header li.rvnski-language-switcher,
  html body.rvnski-fly-mobile-panel #header-outer.transparent.dark-slide .cflow-mobile-only.mobile-header .inner > ul.sf-menu:has(> .rvnski-language-option),
  html body.rvnski-fly-mobile-panel #header-outer.transparent.dark-slide .cflow-mobile-only.mobile-header li.rvnski-language-switcher {
    border-color: #dce6f4 !important;
    background: #edf3fc !important;
    --language-switcher-inactive-text: #17365d;
  }
}
