header.ostrov-nav-home .ostrov-hero-reserve {
  display: block;
  padding: 12px 18px;
  border: 1px solid #8d171a;
  border-radius: 4px;
  color: #fff !important;
  background: #8d171a;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
}

header.ostrov-nav-home .ostrov-hero-reserve:hover,
header.ostrov-nav-home .ostrov-hero-reserve:focus {
  background: #a52225;
}

.ostrov-hero-dialog { width: min(440px, calc(100% - 32px)); padding: 30px; border: 0; border-radius: 6px; color: #302720; background: #fff; }

.ostrov-hero-dialog::backdrop { background: rgba(0,0,0,.7); }

.ostrov-hero-dialog a { display: block; margin-top: 12px; padding: 12px; background: #f5f1ed; color: #702020; overflow-wrap: anywhere; }

.ostrov-hero-close { position: absolute; right: 12px; top: 8px; border: 0; background: transparent; font-size: 27px; cursor: pointer; }

@media (min-width: 993px) {
  header.ostrov-nav-home .navbar-main > .container {
      padding-right: 184px;
    }

  header.ostrov-nav-home .ostrov-hero-reserve {
      position: absolute;
      top: 50%;
      right: 22px;
      transform: translateY(-50%);
    }
}

@media (min-width: 993px) and (max-width: 1250px) {
  header.ostrov-nav-home .navbar-nav > li > a {
      padding-left: 8px;
      padding-right: 8px;
      font-size: 12px;
    }
}

@media (max-width: 992px) {
  header.ostrov-nav-home .navbar-header {
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 64px;
      padding: 0 12px;
    }

  header.ostrov-nav-home .navbar-header::before,
    header.ostrov-nav-home .navbar-header::after {
      display: none;
    }

  header.ostrov-nav-home .navbar-brand {
      order: 0;
      flex: 1 1 auto;
      min-width: 0;
      margin: 0 !important;
      padding: 0 !important;
      height: auto;
    }

  header.ostrov-nav-home .navbar-brand img {
      max-width: 100%;
      height: auto;
      object-fit: contain;
    }

  header.ostrov-nav-home .ostrov-hero-reserve {
      order: 1;
      flex: 0 0 auto;
      padding: 8px 10px;
      font-size: 11px;
    }

  header.ostrov-nav-home .navbar-toggle {
      order: 2;
      flex: 0 0 auto;
      margin: 0 !important;
    }
}

.ostrov-hero-dialog:not([open]) { display: none; }
.ostrov-hero-dialog { position: fixed; inset: 0; margin: auto; z-index: 99999; max-height: calc(100% - 32px); overflow: auto; }
