/* Sabit header: yükseklik sınırı + içeriğin altına girmesini engelleme (bundle.css üzerine) */

header {
  box-sizing: border-box !important;
}

header .header-top {
  width: 100% !important;
  box-sizing: border-box !important;
}

header .header-top .content {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

header .header-content {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 15px 12.5px !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Anasayfa banner — max yükseklik 450px */
.home-banner,
.home-banner .owl-carousel,
.home-banner .owl-carousel .owl-stage-outer,
.home-banner .owl-carousel .owl-stage,
.home-banner .owl-carousel .owl-item,
.home-banner .item {
  max-height: 450px !important;
}

.home-banner .item {
  overflow: hidden !important;
}

.home-banner .item img {
  width: 100% !important;
  max-height: 450px !important;
  height: 450px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.home-banner .item .shadow {
  max-height: 450px !important;
  height: 100% !important;
}

.home-banner .item .shadow .text-area {
  padding-bottom: 40px !important;
}

/* Üst bar (hotelbilgi) varken */
body:has(header .header-top) {
  padding-top: 110px !important;
}

html:has(header .header-top) {
  scroll-padding-top: 110px !important;
}

body:has(header .header-top) .home-banner,
body:has(header .header-top) .sub-banner {
  margin-top: -10px !important;
}

body:has(header .header-top) .pay-head {
  margin-top: 0 !important;
}

/* Üst bar yokken (Adwords vb.) */
body:not(:has(header .header-top)) {
  padding-top: 77px !important;
}

html:not(:has(header .header-top)) {
  scroll-padding-top: 77px !important;
}

body:not(:has(header .header-top)) .home-banner,
body:not(:has(header .header-top)) .sub-banner {
  margin-top: -10px !important;
}

body:not(:has(header .header-top)) .pay-head {
  margin-top: 0 !important;
}

/* Rezervasyon / ödeme adımları (pay-head) — 3px daha sıkı */
body:has(header .header-top):has(.pay-head) {
  padding-top: 107px !important;
}

html:has(header .header-top):has(.pay-head) {
  scroll-padding-top: 107px !important;
}

body:not(:has(header .header-top)):has(.pay-head) {
  padding-top: 74px !important;
}

html:not(:has(header .header-top)):has(.pay-head) {
  scroll-padding-top: 74px !important;
}

@media only screen and (max-width: 720px) {
  body:has(header .header-top) {
    padding-top: 140px !important;
  }

  html:has(header .header-top) {
    scroll-padding-top: 140px !important;
  }

  body:not(:has(header .header-top)) {
    padding-top: 85px !important;
  }

  html:not(:has(header .header-top)) {
    scroll-padding-top: 85px !important;
  }

  body:has(header .header-top):has(.pay-head) {
    padding-top: 137px !important;
  }

  html:has(header .header-top):has(.pay-head) {
    scroll-padding-top: 137px !important;
  }

  body:not(:has(header .header-top)):has(.pay-head) {
    padding-top: 82px !important;
  }

  html:not(:has(header .header-top)):has(.pay-head) {
    scroll-padding-top: 82px !important;
  }
}

.hb-is-hidden {
  display: none !important;
}

.hb-kk-alan {
  margin-top: 20px;
}

.hb-kk-sol-icerik {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hb-kk-alan-satir {
  margin-bottom: 0 !important;
}

.hb-kk-alt-satir {
  margin-bottom: 0 !important;
}

.hb-kk-alt-satir .form-element {
  margin-bottom: 0 !important;
}

.kredi-kart-gorsel-kapsayici {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0;
  height: 210px;
  perspective: 1000px;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-gorsel {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 16px 20px 20px;
  color: #111;
  background: linear-gradient(135deg, #f9fafb, #eef2f5);
  backface-visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease;
  font-size: 0.9rem;
  border: 1px solid #d9e2ec;
  box-sizing: border-box;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-gorsel.kredi-kart-on {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotateY(0deg);
  opacity: 1;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-gorsel.kredi-kart-arka {
  background: linear-gradient(135deg, #f5f7fa, #e4e9ee);
  transform: rotateY(180deg);
  opacity: 0;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-gorsel.aktif.kredi-kart-on {
  transform: rotateY(0deg);
  opacity: 1;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-gorsel.aktif.kredi-kart-arka {
  transform: rotateY(0deg);
  opacity: 1;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-banka-logo {
  max-width: 80px;
  height: auto;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-banka {
  font-weight: 600;
  letter-spacing: 0.8px;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-numara {
  margin-top: 14px;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-alt-bilgi {
  margin-top: 8px;
  position: relative;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-isim,
.kredi-kart-gorsel-kapsayici .kredi-kart-son-kullanma {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-son-kullanma {
  position: absolute;
  right: 0;
  top: -28px;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-tur {
  position: absolute;
  right: 14px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.3);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #fff;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-magnet {
  margin-top: 10px;
  height: 40px;
  background-color: #cfd8e3;
  border-radius: 4px;
}

.kredi-kart-gorsel-kapsayici .kredi-kart-cvv-alan {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.hb-taksit-kutu {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px;
  margin-top: 16px;
}

.hb-taksit-kutu table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.hb-taksit-kutu th,
.hb-taksit-kutu td {
  padding: 8px 6px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.hb-taksit-kutu th:first-child,
.hb-taksit-kutu td:first-child {
  width: 36px;
}

.hb-taksit-baslik {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.hb-taksit-baslik img {
  max-width: 80px;
  height: auto;
}

.hb-taksit-uyari {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

.hb-kk-sag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-top: 20px;
}

.hb-kk-sag .kredi-kart-gorsel-kapsayici {
  margin-left: auto;
  margin-right: auto;
}

.hb-tum-taksit-link {
  display: inline-block;
  margin-top: 10px;
  align-self: flex-end;
  color: #1a73b8;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.hb-tum-taksit-link:hover {
  color: #0d5a94;
}

.modal.medium.hb-taksit-detay-modal {
  max-width: 1180px;
  width: 96%;
  padding: 0;
  overflow: hidden;
}

.hb-taksit-detay-modal > a.close-modal {
  display: none !important;
}

.hb-taksit-modal-baslik {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e8e8e8;
}

.hb-taksit-modal-baslik h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.hb-taksit-modal-kapat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 24px;
  line-height: 1;
  color: #666;
  text-decoration: none;
  text-indent: 0;
  position: static;
  background: none;
}

.hb-taksit-modal-icerik {
  padding: 16px 20px 20px;
}

.hb-taksit-modal-bos {
  padding: 12px 0;
  color: #888;
  font-size: 14px;
  text-align: center;
}

.hb-taksit-detay-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hb-taksit-detay-tablo {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 100%;
}

.hb-taksit-detay-tablo th,
.hb-taksit-detay-tablo td {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  white-space: nowrap;
}

.hb-taksit-detay-tablo thead th {
  font-weight: 600;
  color: #333;
  text-align: right;
}

.hb-taksit-detay-tablo thead th:first-child,
.hb-taksit-detay-tablo thead th:nth-child(2) {
  text-align: left;
}

.hb-taksit-detay-banka {
  background: #f7f7f7;
  width: 150px;
}

.hb-taksit-detay-banka-icerik {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px;
}

.hb-taksit-detay-banka-icerik img {
  max-height: 40px;
  max-width: 130px;
  width: auto;
  height: auto;
}

.hb-taksit-detay-banka-icerik span {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: #444;
}

.hb-taksit-detay-etiket {
  font-weight: 500;
  color: #555;
  text-align: left;
}

.hb-taksit-detay-tutar {
  text-align: right;
  color: #333;
}

.hb-taksit-detay-bosluk {
  height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

@media (min-width: 992px) {
  .hb-kk-alan {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .hb-kk-alan > .grid-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .hb-kk-alan > .grid-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hb-kk-sol-icerik {
    min-height: 210px;
    height: 100%;
  }

  .hb-kk-sag {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: 0;
    padding-top: 0;
  }

  .hb-kk-sag .kredi-kart-gorsel-kapsayici {
    margin-left: auto;
    margin-right: 0;
    width: 100%;
    max-width: 320px;
    flex-shrink: 0;
  }

  .hb-tum-taksit-link {
    width: 100%;
    max-width: 320px;
    text-align: right;
  }

  [pay="pay-creditCard"] .hb-taksit-kutu {
    margin-top: 16px;
  }
}

@media (max-width: 991px) {
  .hb-kk-sol {
    min-height: 0;
    margin-bottom: 16px;
  }
}

.hb-taksit-bilgi-satir {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
  color: #888;
  font-size: 14px;
}

.hb-taksit-bilgi-satir img {
  max-width: 80px;
  height: auto;
}

.hb-taksit-bilgi-satir #taksit_bilgi_yazi {
  font-weight: 600;
  margin: 0;
}

.hb-tarih-uyari {
  display: none;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  color: #c62828;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 15px 4px;
  line-height: 1.3;
}

.sub-banner .hb-tarih-uyari {
  padding-bottom: 6px;
}

.reservation-pos + .hb-tarih-uyari,
.reservation-pos .hb-tarih-uyari {
  margin-top: 2px;
}
