/* =========================================================
   En Baba Organizasyon - Turist rehberi görünüm düzeltmeleri
   Kapsam: TL karşılığı görünümü, galeri yüksekliği, paket rozetleri,
   mobil paket boşluğu ve breadcrumb görünürlüğü.
========================================================= */

body[class*="turist-rehberi"] .enb-pack__try,
body[class*="turist-rehberi"] .enb-live-hero-card__s,
body[class*="turist-rehberi"] #enbLiveTry,
body[class*="turist-rehberi"] #enbRouteMapPrice small,
body[class*="turist-rehberi"] .enb-spot__price span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #334155 !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body[class*="turist-rehberi"] .enb-pack__try,
body[class*="turist-rehberi"] #enbLiveTry,
body[class*="turist-rehberi"] #enbRouteMapPrice small,
body[class*="turist-rehberi"] .enb-spot__price span {
  font-size: 12px !important;
}

body[class*="turist-rehberi"] .enb-live-hero-card__s {
  color: rgba(255,255,255,.92) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.24) !important;
}

body[class*="turist-rehberi"] .enb-live-quote__badge {
  white-space: nowrap !important;
}

body[class*="turist-rehberi"] .enb-pack__tag {
  opacity: 1 !important;
  visibility: visible !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0f172a, #2563eb) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.24) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.24) !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  -webkit-text-fill-color: #fff !important;
  z-index: 10 !important;
  white-space: nowrap !important;
}

body[class*="turist-rehberi"] .enb-pack.-featured,
body[class*="turist-rehberi"] .enb-pack.is-featured {
  overflow: visible !important;
}

body[class*="turist-rehberi"] .enb-pack--tagspace {
  padding-top: 46px !important;
}

body[class*="turist-rehberi"] #galeri .enb-gallery,
body[class*="turist-rehberi"] .enb-gallery[data-gallery] {
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body[class*="turist-rehberi"] #galeri .enb-gallery-stage,
body[class*="turist-rehberi"] .enb-gallery-stage {
  max-height: 520px !important;
}

body[class*="turist-rehberi"] #galeri .enb-gallery-stage__media,
body[class*="turist-rehberi"] .enb-gallery-stage__media {
  width: 100% !important;
  aspect-ratio: 16 / 8.2 !important;
  height: clamp(260px, 38vw, 440px) !important;
  min-height: 0 !important;
  max-height: 440px !important;
}

body[class*="turist-rehberi"] #galeri .enb-gallery-stage__media img,
body[class*="turist-rehberi"] #galeri .enb-gallery-stage__media video,
body[class*="turist-rehberi"] .enb-gallery-stage__media img,
body[class*="turist-rehberi"] .enb-gallery-stage__media video {
  width: 100% !important;
  height: 100% !important;
  max-height: 440px !important;
  object-fit: cover !important;
  object-position: center !important;
}

body[class*="turist-rehberi"] #galeri .enb-gallery-track,
body[class*="turist-rehberi"] .enb-gallery-track {
  align-items: flex-start !important;
  max-width: 100% !important;
}

body[class*="turist-rehberi"] .enb-breadcrumb-shell {
  position: relative !important;
  z-index: 20 !important;
  background: rgba(248,250,252,.96) !important;
  border-bottom: 1px solid rgba(226,232,240,.9) !important;
}

@media (max-width: 640px) {
  body[class*="turist-rehberi"] #paketler .grid-flow-col,
  body[class*="turist-rehberi"] #paketler .overflow-x-auto {
    display: flex !important;
    align-items: flex-start !important;
    align-content: flex-start !important;
    grid-auto-flow: unset !important;
    grid-template-columns: none !important;
    grid-auto-columns: unset !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 12px !important;
  }

  body[class*="turist-rehberi"] #paketler .grid-flow-col > .enb-pack,
  body[class*="turist-rehberi"] #paketler .overflow-x-auto > .enb-pack,
  body[class*="turist-rehberi"] #paketler .enb-pack {
    flex: 0 0 min(84vw, 330px) !important;
    width: min(84vw, 330px) !important;
    max-width: min(84vw, 330px) !important;
    align-self: flex-start !important;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 18px !important;
    padding-top: 48px !important;
  }

  body[class*="turist-rehberi"] #paketler .enb-pack__h,
  body[class*="turist-rehberi"] #paketler .enb-pack__price,
  body[class*="turist-rehberi"] #paketler .enb-pack__p,
  body[class*="turist-rehberi"] #paketler .enb-ul,
  body[class*="turist-rehberi"] #paketler .enb-pack__micro,
  body[class*="turist-rehberi"] #paketler .enb-cart-action-row,
  body[class*="turist-rehberi"] #paketler .enb-pack__btn {
    flex: none !important;
    margin-bottom: 0 !important;
  }

  body[class*="turist-rehberi"] #paketler .enb-ul {
    margin-top: 10px !important;
  }

  body[class*="turist-rehberi"] #paketler .enb-cart-action-row,
  body[class*="turist-rehberi"] #paketler .enb-pack__btn {
    margin-top: 14px !important;
  }

  body[class*="turist-rehberi"] #paketler .enb-cart-action-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body[class*="turist-rehberi"] #paketler .enb-cart-action-row > *,
  body[class*="turist-rehberi"] #paketler .enb-pack__btn {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  body[class*="turist-rehberi"] .enb-live-hero-grid {
    gap: 8px !important;
  }

  body[class*="turist-rehberi"] .enb-live-hero-card {
    padding: 10px 12px !important;
    border-radius: 16px !important;
  }

  body[class*="turist-rehberi"] .enb-live-hero-card__v {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  body[class*="turist-rehberi"] .enb-live-hero-card__s {
    font-size: 10.5px !important;
  }

  body[class*="turist-rehberi"] #galeri .enb-gallery,
  body[class*="turist-rehberi"] .enb-gallery[data-gallery] {
    max-width: 100% !important;
  }

  body[class*="turist-rehberi"] #galeri .enb-gallery-stage__media,
  body[class*="turist-rehberi"] .enb-gallery-stage__media {
    aspect-ratio: 4 / 3 !important;
    height: clamp(220px, 64vw, 300px) !important;
    max-height: 300px !important;
  }

  body[class*="turist-rehberi"] #galeri .enb-gallery-stage__media img,
  body[class*="turist-rehberi"] #galeri .enb-gallery-stage__media video,
  body[class*="turist-rehberi"] .enb-gallery-stage__media img,
  body[class*="turist-rehberi"] .enb-gallery-stage__media video {
    max-height: 300px !important;
  }

  body[class*="turist-rehberi"] .enb-pack__tag {
    top: 12px !important;
    right: 12px !important;
    max-width: calc(100% - 24px) !important;
    font-size: 10.5px !important;
    padding: 6px 9px !important;
  }
}


/* =========================================================
   Hero fiyat TL karşılığı hizalama - v6
   Amaç: Euro ana fiyat ortadayken TL karşılığının sola kaymasını engellemek.
========================================================= */
body[class*="turist-rehberi"] .enb-live-hero-card {
  text-align: center !important;
  align-items: center !important;
  justify-items: center !important;
}

body[class*="turist-rehberi"] .enb-live-hero-card__k,
body[class*="turist-rehberi"] .enb-live-hero-card__v,
body[class*="turist-rehberi"] .enb-live-hero-card__s {
  width: 100% !important;
  text-align: center !important;
}

body[class*="turist-rehberi"] .enb-live-hero-card__s {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  white-space: nowrap !important;
}

@media (max-width: 640px) {
  body[class*="turist-rehberi"] .enb-live-hero-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "label"
      "price"
      "sub" !important;
    text-align: center !important;
  }

  body[class*="turist-rehberi"] .enb-live-hero-card__k,
  body[class*="turist-rehberi"] .enb-live-hero-card__v,
  body[class*="turist-rehberi"] .enb-live-hero-card__s {
    justify-self: center !important;
    text-align: center !important;
  }
}
