/* =====================================================
   Astra Child – NON-CRITICAL CSS
   (chat, modal, footer, hover, animációk, utility)
   ===================================================== */


/* -------------------------------------------------
   Hover / magnify effects
-------------------------------------------------- */
.magnify,
.wprevpro_t1_DIV_2 {
  display: inline-block;
  position: relative;
  transition: transform 0.5s ease;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.magnify:hover {
  transform: scale(1.1);
  transform-origin: center;
}


/* -------------------------------------------------
   Reviews / plugins cleanup
-------------------------------------------------- */
#wprev-slider-1 .wprev_preview_bg1_T1::after {
  display: none;
}

.svg-wprsp-verified {
  background: #174c9a !important;
}

.wprevpro_t1_DIV_2:before {
  color: #174c9a;
}

.wprs_unslider-active img {
  filter: grayscale(50%);
}


/* -------------------------------------------------
   Footer layout cleanup
-------------------------------------------------- */
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
  border-top-width: 0;
}

.site-footer-section > * {
  margin-bottom: 0;
}

#block-17 {
  color: #fff;
  margin-bottom: 0;
}

#block-17 p {
  margin-bottom: 0 !important;
}

#block-13 {
  display: none;
}


/* -------------------------------------------------
   Scroll to top button
-------------------------------------------------- */
#astra-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: #174c9a;
  border-radius: 50%;
  border: 2px solid #f7faff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transition: opacity 0.3s, visibility 0.3s, background 0.3s;
  font-size: 20px;
  color: #f7faff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 448 512'%3E%3Cpath fill='%23ffffff' d='M201.4 176.7c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 245.3 86.6 382.1c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: 20px 20px;
}

#astra-scroll-top.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  #astra-scroll-top {
    display: none;
  }
}


/* -------------------------------------------------
   Language switch – non critical tweaks
-------------------------------------------------- */
.page-id-1904 .lang-switch a,
.page-id-1748 .lang-switch a,
.page-id-3 .lang-switch a,
.page-id-1902 .lang-switch a {
  color: var(--ast-global-color-7) !important;
}


/* -------------------------------------------------
   Data protection page links
-------------------------------------------------- */
#adatkezeles-tajekoztato a {
  color: #1a0dab !important;
  text-decoration: underline;
}

/* -------------------------------------------------
   Booking modal
-------------------------------------------------- */
.booking-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.booking-modal.open {
  opacity: 1;
}

.booking-modal__content {
  width: 90%;
  max-width: 800px;
  height: 80%;
  background: #fff;
  border-radius: 10px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.booking-modal.open .booking-modal__content {
  transform: scale(1);
}

/* =====================================================
   PRICE MODULE – RESPONSIVE (Astra + Spectra)
   ===================================================== */

/* Astra – csak mobil (telefon) */
@media (max-width: 544px) {
  .price-column {
    margin-left: 32px !important;
    margin-right: 32px !important;
  }
}

/* Astra tablet – ármodul 3 oszlop egymás mellett */
@media (min-width: 545px) and (max-width: 921px) {
  .price-column {
    flex: 0 0 33.33% !important;
    max-width: 33.33% !important;
  }

  .price-row {
    display: flex;
    flex-wrap: nowrap;
  }
}

/* Gombok */
.price-btn {
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 20px;
}

.price-btn.active {
  text-decoration: underline;
}

.price-normal,
.price-sale,
.price-vip {
  padding-top: 15px !important;
}

/* Árblokkok váltása */
.price-hidden {
  display: none !important;
}

.price-visible {
  display: block;
}


/* =====================================================
   SITE LOGO – SVG + RESPONSIVE
   ===================================================== */

.site-logo {
  width: 176px; /* Desktop */
}

/* SVG mindig skálázódjon */
.site-logo svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Tablet (Astra breakpoint ≤ 921px) */
@media (max-width: 921px) {
  .site-logo {
    width: 176px;
  }
}

/* Mobile (Astra breakpoint ≤ 544px) */
@media (max-width: 544px) {
  .site-logo {
    width: 90px;
  }
}

/* Force font-display swap for all webfonts */
@font-face {
  font-display: swap!important;
}


