/* ROOMNOW v7.9.6 — Mobile navigation + language discovery + geo-locale UX */

/* A real globe icon is easier to understand than the old abstract circles. */
.lang-globe{
  width:15px!important;height:15px!important;display:inline-block!important;flex:0 0 15px!important;
  font-size:0!important;color:transparent!important;
  background-repeat:no-repeat!important;background-position:center!important;background-size:15px 15px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9bd7e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14.5 14.5 0 0 1 0 18M12 3a14.5 14.5 0 0 0 0 18'/%3E%3C/svg%3E")!important;
}

/* Desktop: make the purpose of the control unmistakable without turning it into a CTA. */
@media (min-width:1101px){
  .desktop-nav-tools .lang-switcher-button{min-width:116px!important;padding:0 12px!important;gap:7px!important}
  .desktop-nav-tools .lang-current-label{font-size:10.5px!important;letter-spacing:-.01em}
  .desktop-nav-tools .lang-current-label::before{content:'LANG · ';color:#8f999f;font-size:8px;font-weight:800;letter-spacing:.06em}
}

/* Backdrop: tapping any empty area outside the mobile drawer closes it. */
.rn-mobile-menu-backdrop{
  display:none;position:fixed;left:0;right:0;top:67px;bottom:0;z-index:98;
  background:rgba(0,0,0,.61);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  opacity:0;transition:opacity .16s ease;
}
.rn-mobile-menu-backdrop.is-open{display:block;opacity:1}
body.menu-open .site-header{z-index:110}

/* Clear language chooser inside the hamburger drawer. */
.rn-mobile-language-panel{
  grid-column:1/-1;display:none;margin:0 0 3px;padding:12px;
  border:1px solid rgba(225,203,156,.18);border-radius:12px;
  background:linear-gradient(145deg,rgba(23,25,25,.98),rgba(11,13,14,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
.rn-mobile-language-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 1px 10px}
.rn-mobile-language-title{display:flex;align-items:center;gap:7px;color:#f0dfba;font-size:11px;font-weight:900;letter-spacing:.01em}
.rn-mobile-language-title .rn-lang-mini-globe{width:15px;height:15px;display:inline-block;background-repeat:no-repeat;background-position:center;background-size:15px 15px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9bd7e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14.5 14.5 0 0 1 0 18M12 3a14.5 14.5 0 0 0 0 18'/%3E%3C/svg%3E")}
.rn-mobile-language-current{color:#849096;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.rn-mobile-language-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.rn-mobile-language-grid a{
  min-width:0;min-height:43px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  padding:7px 4px!important;border:1px solid rgba(238,232,218,.11)!important;border-radius:9px!important;
  background:#0d1113!important;color:#dce0df!important;font-size:10.5px!important;font-weight:850!important;line-height:1.15!important;
  text-align:center!important;text-decoration:none!important;
}
.rn-mobile-language-grid a::after{display:none!important}
.rn-mobile-language-grid a:hover,.rn-mobile-language-grid a:focus-visible{border-color:rgba(222,200,154,.34)!important;background:#171813!important;color:#f6dda3!important;outline:none}
.rn-mobile-language-grid a[aria-current='page']{border-color:rgba(222,200,154,.42)!important;background:rgba(79,63,31,.34)!important;color:#f6dda3!important;box-shadow:inset 0 0 0 1px rgba(222,200,154,.06)}

@media (max-width:1260px){
  .rn-mobile-language-panel{display:block}
}

/* Header language button: compact, high-contrast and recognizable on small screens. */
@media (max-width:900px){
  .mobile-header-lang{z-index:130!important}
  .mobile-header-lang .lang-switcher-button{
    min-width:74px!important;height:44px!important;padding:0 10px!important;gap:7px!important;
    border-color:rgba(222,200,154,.34)!important;
    background:linear-gradient(180deg,rgba(28,29,27,.98),rgba(11,13,14,.98))!important;
    box-shadow:0 8px 24px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.025)!important;
  }
  .mobile-header-lang .lang-current-label{font-size:11px!important;font-weight:900!important;letter-spacing:.03em!important;color:#f0ddaf!important}
  .mobile-header-lang .lang-switcher-menu{width:184px!important;padding:8px!important}
  .mobile-header-lang .lang-switcher-menu::before{
    content:'Language';display:block;padding:5px 9px 8px;color:#7f8a90;font-size:9px;font-weight:900;letter-spacing:.10em;text-transform:uppercase;
  }
  .mobile-header-lang .lang-switcher-menu a{min-height:39px!important;padding:0 10px!important;font-size:11.5px!important}
}
@media (max-width:390px){
  .rn-mobile-language-panel{padding:10px}
  .rn-mobile-language-grid{gap:5px}
  .rn-mobile-language-grid a{font-size:9.8px!important;min-height:41px!important}
  .mobile-header-lang .lang-switcher-button{min-width:68px!important;padding:0 8px!important}
}

/* Keep drawer above the backdrop. */
.mobile-menu{z-index:99!important}


/* v7.9.6: compact two-column mobile chooser. Prevents oversized vertical menu on
   browsers with large system font/display scaling and keeps the panel opaque. */
@media (max-width:900px){
  .mobile-header-lang .lang-switcher-menu{
    width:min(238px,calc(100vw - 24px))!important;
    padding:9px!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    background:#080c0f!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    overflow:hidden!important;
  }
  .mobile-header-lang .lang-switcher-menu::before{
    grid-column:1/-1!important;padding:4px 5px 7px!important;margin:0!important;
  }
  .mobile-header-lang .lang-switcher-menu a{
    display:flex!important;align-items:center!important;justify-content:center!important;
    min-height:44px!important;height:44px!important;padding:0 8px!important;margin:0!important;
    border:1px solid rgba(238,232,218,.09)!important;border-radius:9px!important;
    background:#0d1113!important;font-size:11px!important;line-height:1!important;text-align:center!important;
  }
  .mobile-header-lang .lang-switcher-menu a.is-current,
  .mobile-header-lang .lang-switcher-menu a[aria-current='page']{
    border-color:rgba(222,200,154,.34)!important;background:#1b1a14!important;color:#f2d99d!important;
  }
}
@media (max-width:370px){
  .mobile-header-lang .lang-switcher-menu{width:min(220px,calc(100vw - 18px))!important;gap:5px!important}
  .mobile-header-lang .lang-switcher-menu a{height:42px!important;min-height:42px!important;font-size:10.5px!important}
}
