/* Index mobile hotfixes: hero slider, booking form, loader and mobile header */

@media (max-width: 991.98px) {
  body.gh-homepage header.home-header .nav-logo {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .gh-homepage #smooth-content,
  .gh-homepage .page-content,
  .gh-homepage .hero-banner,
  .gh-homepage .rooms {
    overflow-x: clip;
  }

  body.gh-homepage header.home-header {
    padding: 12px 14px !important;
  }

  body.gh-homepage header.home-header > .d-flex {
    gap: 10px !important;
    align-items: center !important;
  }

  body.gh-homepage header.home-header .logo {
    min-width: 0;
  }

  body.gh-homepage header.home-header .logo .site-logo-link {
    max-width: min(180px, 52vw) !important;
  }

  body.gh-homepage header.home-header .mobile-header .gh-nav-toggle {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 15px !important;
  }

  .gh-homepage .gatscherhof-hero-banner {
    margin-bottom: 84px !important;
  }

  .gh-homepage .gatscherhof-hero-banner .slider,
  .gh-homepage .gatscherhof-hero-banner .slider .slick-list,
  .gh-homepage .gatscherhof-hero-banner .slider .slick-track,
  .gh-homepage .gatscherhof-hero-banner .slider .slick-slide > div,
  .gh-homepage .gatscherhof-hero-banner .hero-gatscherhof-slide {
    height: clamp(520px, 148vw, 700px) !important;
  }

  .gh-homepage .gatscherhof-hero-banner .hero-gatscherhof-content,
  .gh-homepage .gatscherhof-hero-banner .hero-gatscherhof-content--right {
    justify-content: flex-end !important;
    align-items: flex-start !important;
    padding: 104px 16px 162px !important;
  }

  .gh-homepage .gatscherhof-hero-banner .hero-gatscherhof-copy,
  .gh-homepage .gatscherhof-hero-banner .hero-slide-2 .hero-gatscherhof-copy {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 16px 18px !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(10, 16, 19, 0.24) 0%, rgba(10, 16, 19, 0.48) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22) !important;
  }

  .gh-homepage .gatscherhof-hero-banner .hero-kicker {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
    padding: 7px 12px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    text-wrap: balance;
    letter-spacing: 0.11em !important;
    font-size: 10px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.14) !important;
  }

  .gh-homepage .gatscherhof-hero-banner .hero-title {
    max-width: 100% !important;
    margin: 0 0 10px !important;
    font-size: clamp(25px, 7.2vw, 31px) !important;
    line-height: 1.14 !important;
    text-wrap: balance;
  }

  .gh-homepage .gatscherhof-hero-banner .hero-text {
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    text-wrap: pretty;
  }

  .gh-homepage .gatscherhof-hero-banner .slick-dots {
    bottom: 140px !important;
  }

  .gh-homepage .hero-banner .booking {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: -46px !important;
    margin-bottom: 0 !important;
    padding: 0 14px !important;
    z-index: 8 !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail,
  .gh-homepage .hero-banner .booking .booking-detail form,
  .gh-homepage .hero-banner .booking .booking-detail .info,
  .gh-homepage .hero-banner .booking .booking-detail .info .detail {
    width: 100% !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail {
    display: block !important;
    background: none !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info {
    transform: none !important;
    padding: 18px !important;
    border-radius: 26px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(247,243,236,0.98) 100%) !important;
    border: 1px solid rgba(151, 134, 103, 0.16) !important;
    box-shadow: 0 22px 48px rgba(27, 25, 24, 0.14) !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .input-date-picker,
  .gh-homepage .hero-banner .booking .booking-detail .info .detail .custom-sel-input-block {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .input-date-picker {
    display: block !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .input-date-picker .date_label {
    display: block !important;
    margin: 0 0 7px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.02em !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .input-date-picker .sel-input,
  .gh-homepage .hero-banner .booking .booking-detail .info .detail .seat-booking {
    width: 100% !important;
    min-height: 58px !important;
    padding: 15px 18px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(151, 134, 103, 0.16) !important;
    box-shadow: 0 10px 24px rgba(27, 25, 24, 0.06) !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .seat-booking {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0 4px !important;
    cursor: pointer;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .guest-area {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 12px !important;
    padding: 18px !important;
    border-radius: 22px !important;
    box-shadow: 0 16px 36px rgba(27, 25, 24, 0.12) !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .guest-area h4 {
    margin-bottom: 18px !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .guest-area .guest-box {
    margin-bottom: 14px !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .guest-area .guest-box:last-of-type {
    margin-bottom: 0 !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .guest-area .row {
    align-items: center !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .guest-area .quantity-wrap {
    justify-content: flex-end !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .guest-limit-note {
    margin-top: 12px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail > .cus-btn,
  .gh-homepage .hero-banner .booking .booking-detail .info .detail > a.cus-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 60px !important;
    margin-top: 4px !important;
    padding: 0 22px !important;
    border-radius: 18px !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail > a.cus-btn .icon-wrapper {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.14) !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .vertical-line {
    display: none !important;
  }

  .gh-homepage .rooms {
    padding-top: 8px !important;
  }

  .gh-homepage .rooms .content {
    border-radius: 28px !important;
  }

  #preloader::before {
    width: min(108vw, 540px) !important;
    height: min(108vw, 540px) !important;
  }

  #preloader::after {
    width: min(92vw, 410px) !important;
    height: min(92vw, 410px) !important;
    box-shadow: 0 0 0 18px rgba(255,255,255,.06), 0 0 0 36px rgba(168, 131, 67, .04) !important;
  }

  .gatscherhof-preloader {
    width: min(96vw, 420px) !important;
    padding: 18px 12px 24px !important;
  }

  .gh-loader-logo-panel {
    width: min(92vw, 340px) !important;
    padding: 14px 12px 10px !important;
    border-radius: 24px !important;
  }

  .gh-loader-logo {
    width: min(100%, 270px) !important;
  }

  .gh-loader-progress {
    width: min(72vw, 220px) !important;
    height: 6px !important;
    margin-top: 14px !important;
  }

  .gh-loader-caption {
    margin: 14px 0 4px !important;
    font-size: clamp(15px, 5vw, 20px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    text-wrap: balance;
  }

  .gh-loader-subcaption {
    display: block !important;
    max-width: 100% !important;
    font-size: clamp(11px, 3.5vw, 13px) !important;
    line-height: 1.35 !important;
    letter-spacing: 0.16em !important;
    text-wrap: balance;
  }
}

@media (max-width: 479.98px) {
  .gh-homepage .gatscherhof-hero-banner {
    margin-bottom: 96px !important;
  }

  .gh-homepage .gatscherhof-hero-banner .slider,
  .gh-homepage .gatscherhof-hero-banner .slider .slick-list,
  .gh-homepage .gatscherhof-hero-banner .slider .slick-track,
  .gh-homepage .gatscherhof-hero-banner .slider .slick-slide > div,
  .gh-homepage .gatscherhof-hero-banner .hero-gatscherhof-slide {
    height: clamp(560px, 162vw, 720px) !important;
  }

  .gh-homepage .gatscherhof-hero-banner .hero-gatscherhof-content,
  .gh-homepage .gatscherhof-hero-banner .hero-gatscherhof-content--right {
    padding: 96px 14px 172px !important;
  }

  .gh-homepage .gatscherhof-hero-banner .hero-title {
    font-size: clamp(23px, 7.4vw, 29px) !important;
  }

  .gh-homepage .gatscherhof-hero-banner .hero-text {
    font-size: 14px !important;
  }

  .gh-homepage .hero-banner .booking {
    margin-top: -42px !important;
    padding: 0 12px !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info {
    padding: 16px !important;
    border-radius: 24px !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .input-date-picker .sel-input,
  .gh-homepage .hero-banner .booking .booking-detail .info .detail .seat-booking {
    min-height: 56px !important;
    padding: 14px 16px !important;
    font-size: 15.5px !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail > .cus-btn,
  .gh-homepage .hero-banner .booking .booking-detail .info .detail > a.cus-btn {
    min-height: 58px !important;
    padding: 0 18px !important;
    font-size: 15.5px !important;
  }

  .gh-homepage .hero-banner .booking .booking-detail .info .detail .guest-area {
    padding: 16px !important;
    border-radius: 20px !important;
  }
}


/* 2026-04-18: hard fix for iPhone/mobile booking overflow on index */
@media (max-width: 767.98px) {
  body.gh-homepage .hero-banner .booking,
  body.gh-homepage .hero-banner .booking .booking-detail,
  body.gh-homepage .hero-banner .booking .booking-detail form,
  body.gh-homepage .hero-banner .booking .booking-detail .info,
  body.gh-homepage .hero-banner .booking .booking-detail .info .detail,
  body.gh-homepage .hero-banner .booking .booking-detail .info .detail > *,
  body.gh-homepage .hero-banner .booking .booking-detail .info .detail .input-date-picker,
  body.gh-homepage .hero-banner .booking .booking-detail .info .detail .custom-sel-input-block,
  body.gh-homepage .hero-banner .booking .booking-detail .info .detail .guest-area,
  body.gh-homepage .hero-banner .booking .booking-detail .info .detail > a.cus-btn {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  body.gh-homepage .hero-banner .booking .booking-detail,
  body.gh-homepage .hero-banner .booking .booking-detail .info,
  body.gh-homepage .hero-banner .booking .booking-detail .info .detail {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.gh-homepage .hero-banner .booking .booking-detail {
    width: 100% !important;
    background: none !important;
  }

  body.gh-homepage .hero-banner .booking .booking-detail .info {
    width: 100% !important;
    transform: none !important;
    margin: 0 !important;
  }

  body.gh-homepage .hero-banner .booking .booking-detail .info .detail {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 14px !important;
  }

  body.gh-homepage .hero-banner .booking .booking-detail .info .detail .input-date-picker,
  body.gh-homepage .hero-banner .booking .booking-detail .info .detail .custom-sel-input-block,
  body.gh-homepage .hero-banner .booking .booking-detail .info .detail > a.cus-btn {
    width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 / -1 !important;
  }

  body.gh-homepage .hero-banner .booking .booking-detail .info .detail .input-date-picker {
    margin: 0 !important;
  }

  body.gh-homepage .hero-banner .booking .booking-detail .info .detail .input-date-picker .sel-input,
  body.gh-homepage .hero-banner .booking .booking-detail .info .detail .seat-booking {
    display: block !important;
    width: 100% !important;
  }

  body.gh-homepage .hero-banner .booking .booking-detail .info .detail > a.cus-btn {
    align-self: stretch !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 479.98px) {
  body.gh-homepage .hero-banner .booking {
    padding-inline: 12px !important;
  }

  body.gh-homepage .hero-banner .booking .booking-detail .info {
    padding: 16px !important;
    border-radius: 24px !important;
  }

  body.gh-homepage .hero-banner .booking .booking-detail .info .detail {
    gap: 12px !important;
  }
}
