/* home-page.css */

/* ===== home page fixes 202608091450 ===== */

/* Mountain silhouette above Гастротур — tighter seam overlap */
.events-section {
  background-color: #fff !important;
  padding-top: 3.2rem !important;
}
.events-section__pattern {
  position: relative !important;
  z-index: 3 !important;
  margin: -1px 0 -3px !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  background: transparent !important;
}
.events-section__pattern img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  vertical-align: top !important;
}
.events-section__main {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 0 !important;
  background-color: #007cab !important;
}
.events-wrapper {
  margin-bottom: -1px !important;
}

/* Lake fishing: hide empty wrap-break pill (was a bubble with •) */
.event__content ol li.event__wrap-break,
li.event__wrap-break {
  flex-basis: 100% !important;
  width: 100% !important;
  max-width: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
  background: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
.event__content ol li.event__wrap-break::before,
li.event__wrap-break::before {
  content: none !important;
  display: none !important;
}

/* Decorative circles: under accommodation data block, above big media image */
.placement-ornament {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.9rem !important;
  margin: 2.4rem 0 2rem !important;
  pointer-events: none !important;
  user-select: none !important;
}
.placement-ornament__chev {
  color: #c5c9ce !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  opacity: 0.7 !important;
}
.placement-ornament__dot {
  width: 1.1rem !important;
  height: 1.1rem !important;
  border: 1.5px solid #b8c0c6 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

/* + / − drawn as CSS bars — true geometric center */
.number__button {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.number__button::before,
.number__button::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  background: #fff !important;
  border-radius: 1px !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
}
/* horizontal bar for − and for + */
.number__button--prev::before,
.number__button--next::before {
  width: 1.1rem !important;
  height: 2px !important;
}
.number__button--prev::after {
  display: none !important;
  content: none !important;
}
/* vertical bar for + */
.number__button--next::after {
  width: 2px !important;
  height: 1.1rem !important;
}
.number__button:hover::before,
.number__button:hover::after {
  background: #fff !important;
}


/* stories scrollbar hit area 202608091565 */
.stories__scrollbar {
  height: 2.8rem !important;
  margin-top: 5.2rem !important;
  background-color: transparent !important;
  cursor: grab !important;
  touch-action: none !important;
}
.stories__scrollbar:before {
  bottom: 0.2rem !important;
  pointer-events: none !important;
}
.stories__scrollbar .swiper-scrollbar-drag {
  height: 0.35rem !important;
  top: auto !important;
  bottom: 0 !important;
  margin-top: 0 !important;
  background: rgba(255,255,255,0.85) !important;
  cursor: grab !important;
}
body.is-stories-scrollbar-dragging,
body.is-stories-scrollbar-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
}


/* stories card drag 202608091580 */
.stories [data-stories] {
  touch-action: pan-y !important;
  cursor: grab !important;
}
.stories [data-stories] img,
.stories [data-stories] a {
  -webkit-user-drag: none !important;
  user-drag: none !important;
  user-select: none !important;
}
.stories [data-stories] .review-item__media {
  cursor: grab !important;
}
body.is-stories-scrollbar-dragging .stories [data-stories],
.stories [data-stories]:active {
  cursor: grabbing !important;
}

/* stories no opacity flicker on release */
.stories [data-stories] .swiper-slide,
.stories [data-stories] .swiper-slide.is-peek,
.stories [data-stories] .swiper-slide.is-partial {
  opacity: 1 !important;
}


/* ===== mobile home ux 202608091620 ===== */
@media (max-width: 991.97px) {
  /* Cookie / Metrika banner: text + button on one row */
  .cookie-banner {
    padding: 1rem 1.2rem !important;
  }
  .cookie-banner__inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  .cookie-banner__text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
  }
  .cookie-banner__btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 0.85rem 1.4rem !important;
    font-size: 1.2rem !important;
  }

  /* About / ingredients scrollbar: never stretch thumb to track end */
  .about__scrollbar {
    overflow: hidden !important;
  }
  .about__scrollbar .swiper-scrollbar-drag {
    width: 5.6rem !important;
    max-width: 5.6rem !important;
    min-width: 5.6rem !important;
    box-sizing: border-box !important;
  }
}

/* Kill blue tap flash on mobile presses (sitewide) */
@media (max-width: 991.97px) {
  html,
  body,
  *,
  *::before,
  *::after {
    -webkit-tap-highlight-color: transparent !important;
  }
  a,
  button,
  input,
  textarea,
  select,
  label,
  summary,
  [role="button"],
  [onclick] {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
  }
}


/* ===== stories mobile scrollbar 202608091700 ===== */
@media (max-width: 991.97px) {
  .stories__scrollbar {
    height: 0.4rem !important;
    margin-top: 2.4rem !important;
    margin-left: 1.6rem !important;
    margin-right: 1.6rem !important;
    width: auto !important;
    background: rgba(255, 255, 255, 0.28) !important; /* full track visible */
    border-radius: 999px !important;
    overflow: hidden !important;
    cursor: grab !important;
    touch-action: none !important;
  }
  .stories__scrollbar:before {
    display: none !important; /* decorative icon eats hit area on mobile */
  }
  .stories__scrollbar .swiper-scrollbar-drag {
    height: 0.4rem !important;
    top: 0 !important;
    bottom: auto !important;
    border-radius: 999px !important;
    background: #fff !important;
    width: 5.6rem !important;
    max-width: 5.6rem !important;
    min-width: 5.6rem !important;
  }
  .stories .swiper-slide,
  .stories .swiper-slide.is-peek,
  .stories .swiper-slide.is-partial {
    opacity: 1 !important;
    transition: none !important;
  }
}

/* ===== stories mobile track v2 202608091850 ===== */
@media (max-width: 991.97px) {
  .stories__scrollbar {
    height: 0.5rem !important;
    margin-top: 2rem !important;
    margin-bottom: 0.4rem !important;
    margin-left: 1.6rem !important;
    margin-right: 1.6rem !important;
    width: auto !important;
    max-width: none !important;
    background: rgba(255, 255, 255, 0.38) !important;
    border-radius: 999px !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 3 !important;
  }
  .stories__scrollbar:before {
    display: none !important;
  }
  .stories__scrollbar .swiper-scrollbar-drag {
    height: 0.5rem !important;
    top: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    width: 5.6rem !important;
    max-width: 5.6rem !important;
    min-width: 5.6rem !important;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08) !important;
  }
}
