@media screen and (max-width:991px){header.header .primary_menu_mobile_ver>ul>li.children-items:hover ul{display:none}header.header .primary_menu_mobile_ver>ul>li.children-items>a:hover svg{transform:translate(0,-50%) rotate(0deg)}header.header .primary_menu_mobile_ver>ul>li.children-items>a.submenu-active+ul{display:block;background:none;padding-top:0;padding-bottom:0}header.header .primary_menu_mobile_ver>ul>li.children-items>a.submenu-active+ul a{color:var(--header_footer_link_color)!important}header.header .primary_menu_mobile_ver>ul>li.children-items>a.submenu-active svg{transform:translate(0,-50%) rotate(180deg)}}

/* === Mobile header compactness fix (lets-jackpot v2) === */
@media screen and (max-width: 991px) {
  body { padding-top: 0 !important; margin-top: 0 !important; }

  /* Hide duplicated mobile buttons row */
  .header__container-mobile { display: none !important; }

  /* Tight header padding */
  header.header.header-wrap-expanded { padding: 10px 0 !important; margin: 0 !important; }
  header.header .header-container,
  header.header .container { padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 !important; }

  /* Force everything on a single row */
  .header__container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 0 12px !important;
  }
  .header__container .logo { flex: 0 0 auto !important; }
  .header__container .logo img { max-height: 32px !important; width: auto !important; height: auto !important; }
  .primary_menu_desktop_ver { display: none !important; }
  .header__container .buttons_container { flex: 0 1 auto !important; }
  .header__container .buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
  }
  .header__container .buttons .btn {
    padding: 6px 12px !important;
    font-size: 13px !important;
    border-radius: 16px !important;
    white-space: nowrap !important;
  }
  .mobile-menu-button { flex: 0 0 auto !important; order: -1 !important; }

  /* Banner immediately under header */
  .home-banner { margin-top: 0 !important; }
}
