body {
  font-family: Montserrat;
}

.app-header {
  height: 68px;
  border-bottom: 1px solid #e9eef5;
  background: #fff;
}

.app-logo {
  height: 28px;
}

.hero-img {
  border-radius: 14px;
}

.thumb {
  border-radius: 14px;
  overflow: hidden;
}

.chip {
  background: #f1f5ff;
  border: 1px solid #e5edff;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
}

.tab-pill .nav-link {
  border-radius: 12px;
}

.price-box {
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 14px;
}

.review-card {
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 14px;
}

.gallery-grid {
  --bs-gutter-x: 1rem;
}

.breadcrumb-item a {
  color: #000 !important;
  text-decoration: none !important;
}

nav .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "\f061";
  font: var(--fa-font-solid);
  margin: 0 0.1rem;
  color: #6c757d;

  vertical-align: middle;
  /* ikon ve yazı aynı hizada */
  line-height: 1;
  /* fazla yüksekliği almaz */
}

nav .breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  /* dikey ortalama */
}

@media (max-width: 991.98px) {
  .thumb-sm {
    height: 140px;
  }
}

/* Sol & sağ kolonların toplam yüksekliği aynı olsun */
.gallery-row {
  --gallery-h: 460px;
  --thumb-gap: 12px;
}

/* Sol & sağ kolonların toplam yüksekliği aynı olsun */
.gallery-row {
  --gallery-h: 340px; /* önce 460'tı; daha kısa yaptım. İstediğin px'e çekebilirsin */
  --thumb-gap: 12px; /* JS'deki spaceBetween ile aynı olmalı */
}

/* Ana slider ve sağ thumbs aynı toplam yükseklikte */
.mainSwiper {
  height: 450px !important; /* istediğin px değeri */
  max-height: 450px !important;
}

/* Sağ thumbs aynı yüksekliği paylaşsın */
.thumbSwiper {
  height: 450px !important;
  max-height: 450px !important;
}

/* Ana slider içerik tam doldursun, img ortalı ve cover */
.mainSwiper .swiper-wrapper,
.mainSwiper .swiper-slide {
  height: 100%;
}

.mainSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mainSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* oran bozulmadan kırp */
  object-position: center; /* ortadan kırp */
  border-radius: 8px;
}

/* Sağ kolonda 2 görsel: yüksekliği yarı yarıya paylaştır (gap'ı hesaba kat) */
.thumbSwiper .swiper-wrapper {
  height: 100%;
}

.thumbSwiper .swiper-slide {
  height: calc((100% - var(--thumb-gap)) / 2) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/* Genel: Swiper slide yapısını ortalama */
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-slide img {
  display: block;
}

/* Ortak stil */
.swiper-button-next,
.swiper-button-prev {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5); /* yarı transparan siyah */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* İkonun beyaz olması için */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 12px;
  color: #fff;
}

/* Responsive: tablet/mobilde toplam yükseklik daha da kısalsın */
@media (max-width: 991.98px) {
  .gallery-row {
    --gallery-h: 160px;
  }
}
@media (max-width: 575.98px) {
  .gallery-row {
    --gallery-h: 220px;
  }
}

.konutBadge {
  padding: 2px 8px;
  background: #f6f9fd !important;
  border-radius: 8px;
  color: #333a54;
}

.villa-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.villa-tag-orange {
  background: #fff1e6;
  color: #ea580c;
}

.villa-tag-blue {
  background: #eef6ff;
  color: #056bfd;
}

.villa-tag-green {
  background: #ecfdf3;
  color: #15803d;
}

.mobile-listing-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 0.35rem;
}

.mobile-listing-location {
  font-size: 0.875rem;
  color: #6b7280;
}

.btn-icon-round {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  color: #056bfd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-icon-round.is-liked,
.headerBTN.is-liked {
  color: #ef4444;
}

.headerBTN.is-liked i {
  color: #ef4444;
}

.quick-reserve-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: #eef6ff;
  color: #056bfd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.app-header {
  height: 56px;
  border-bottom: 1px solid #e6e8ef;
  background: #fff;
}

.app-logo {
  height: 28px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

.header-menu-btn {
  color: #1a1a1a;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 4px;
}

.header-menu-btn:hover {
  color: #e30613;
}

.registerBTN {
  color: #056bfd;
  background-color: #f2f8ff;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 500;
}

.loginBTN {
  color: #056bfd;
  background-color: #f2f8ff;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 500;
}

.header-login-btn {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  white-space: nowrap;
}

.login-toast {
  position: fixed;
  top: 64px;
  right: 16px;
  left: auto;
  z-index: 2000;
  background: #1a1a1a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  max-width: min(320px, calc(100% - 2rem));
  text-align: left;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, visibility 0.35s;
}

.login-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.login-toast.is-hiding {
  opacity: 0;
  transform: translateX(120%);
}

.headerBTN {
  background-color: #f2f8ff;
  color: #000;
  border-radius: 8px;
  line-height: 24px;
  text-transform: none;
  border: none;
}

.headerBTN span {
  font-size: 0.875rem;
  font-weight: 600;
}

.headerBTN i {
  color: #056bfd;
  margin-right: 5px;
}

/* Sekmeler: alt çizgili görünüm */
#hotelTabs {
  background-color: #f6f9fd;
  border-radius: 8px;
  padding: 8px 24px 0px;
}

#genel {
  border-radius: 8px;
  padding: 16px;
  background-color: #f6f9fd;
}

.tab-underline .nav-link {
  border: 0;
  border-radius: 0;
  color: #000; /* gri */
  padding: 0.75rem 1rem;
  position: relative;
  background: transparent;
}
.tab-underline .nav-link.active {
  color: #000;
  font-weight: 600;
}
.tab-underline .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px; /* biraz aşağıda dursun */
  transform: translateX(-50%); /* ortalar */
  width: 48px !important;
  height: 8px;
  background: #0d6efd;
  border-radius: 50px; /* oval uçlar için büyük radius */
}

/* Kartlar */
.section-card {
  background: #fff;
  border-radius: 14px;
}
.section-card .title-row {
  gap: 0.5rem;
}
.badge-soft {
  background: #eef4ff;
  color: #0d6efd;
  border: 1px solid #e0ebff;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* özellik ikonları satırı */
.feature-row .item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #111827;
  font-weight: 600;
}
.feature-row .item .sub {
  color: #6b7280;
  font-weight: 500;
}

/* paragraf ve “daha fazla” çizgisi */
.readmore-wrap {
  margin-bottom: 0.75rem;
}

.readmore {
  position: relative;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.readmore-collapsed {
  max-height: 140px;
}

.readmore-expanded {
  max-height: 2000px;
}

.readmore-content {
  color: #374151;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.readmore-content p {
  white-space: pre-line;
}

.readmore-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.readmore-wrap.is-expanded .readmore-fade {
  opacity: 0;
}

.readmore-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  padding: 0.75rem 0.5rem 0.25rem;
  margin-top: 0.25rem;
  background: transparent;
  border: none;
  border-top: 1px solid #e9eef5;
  color: #0d6efd;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.15s;
}

.readmore-toggle:hover {
  color: #0a58ca;
}

.readmore-toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.readmore-wrap.is-expanded .readmore-toggle-icon {
  transform: rotate(180deg);
}

.readmore-toggle.hidden {
  display: none;
}

/* Chip’ler */
.chip {
  background: #f5f8ff;
  border: 1px solid #e5edff;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
}

/* sağ sütun kartları */
.info-card {
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 14px;
  padding: 1rem;
}
.info-card .lead {
  font-weight: 600;
  font-size: 0.975rem;
}

/* Başlık alanı belirli genişlikte kalsın; taşınca satır kırsın */
.title-wrap {
  flex: 1 1 auto;
  min-width: 280px;
  max-width: 1100px; /* isteğe göre ayarla */
}

.action-box {
  flex-shrink: 0;
}
.headerBTN {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* İstersen başlık satır sayısını sınırla (opsiyonel) */
/* .h3-title{
  display: -webkit-box;
  -webkit-line-clamp: 2;       // 2 satırda kes
  -webkit-box-orient: vertical;
  overflow: hidden;
} */

/* lg altında başlık alanı tam genişlik olsun */
@media (max-width: 991.98px) {
  .title-wrap {
    max-width: 100%;
  }
}

/* Grid kutucukları */
#galleryGrid .grid-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
}

/* Viewer: ana foto (oranı ekran durumuna göre dolsun) */
.galleryMain {
  background: #2c2c2c;
}
.galleryMain .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45vh;
}
.galleryMain .swiper-slide img {
  max-height: 45vh; /* görseli küçültür */
  width: auto;
  height: auto; /* oranı koru */
  border-radius: 8px;
}
/* Alt thumbnails */
.galleryThumbs .swiper-slide {
  width: 220px;
  height: 120px; /* responsive yapabiliriz */
}
.galleryThumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.galleryThumbs .swiper-slide-thumb-active img {
  outline: 3px solid #0d6efd;
}

/* Swiper okları: yuvarlak, siyah transparan, ikon beyaz */
.swiper-button-next,
.swiper-button-prev {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  color: #fff;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Grid/Viewer toggle kontrolleri */
.gallery-back-to-grid,
.to-grid-btn {
  cursor: pointer;
}

@media (max-width: 991.98px) {
  #galleryGrid .grid-item img {
    height: 140px;
  }
  .galleryMain .swiper-slide img {
    max-height: 55vh;
  }
  .galleryThumbs .swiper-slide {
    width: 160px;
    height: 90px;
  }
}

/* Konteyner kartı */
.villa-wrap {
  background: #f7faff;
  border: 1px solid #e9eef5;
  border-radius: 14px;
}
/* Bölüm kutusu */
.villa-box {
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 10px;
}
.villa-title {
  font-weight: 700;
  color: #111827;
}
/* Özellik çipi */
.feat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  white-space: nowrap;
}
.feat-chip i {
  color: #16a34a;
} /* tik rengi */
/* Liste grid */
.feat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
/* Başlık çizgisi gibi görünüm */
.villa-head {
  padding: 0.85rem 1rem;
  border-bottom: 1px dashed #e3eaf4;
  color: #6b7280;
}

/* Dış panel */
.rules-wrap {
  background: #f7faff;
  border: 1px solid #e9eef5;
  border-radius: 14px;
}

/* Her küçük kutu */
.rule-box {
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 10px;
  padding: 1rem;
  height: 100%;
}

/* Panel genişliği */
.yorumlar-panel {
  width: min(720px, 100%) !important;
}

/* Sekme altı kısa-oval çizgi */
.tab-underline .nav-link {
  position: relative;
  color: #6b7280;
  padding: 0.5rem 0.75rem;
}
.tab-underline .nav-link.active {
  color: #0d6efd;
  font-weight: 600;
}
.tab-underline .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 30px;
  height: 4px;
  background: #0d6efd;
  border-radius: 999px;
}

/* Sticky: üstte sabitlenir, z-index verelim */
.tabs-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-panel {
  display: none;
  animation: tabFadeIn 0.25s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-sidebar-fixed {
  position: sticky;
  top: 4.5rem;
  align-self: flex-start;
}

.product-tabs-layout {
  min-height: 180px;
}

/* Katman 1 – koyu */
.ft-dark {
  background: #2e354a;
  color: #dbe3ee;
}
.ft-dark a {
  color: #dbe3ee;
  text-decoration: none;
}
.ft-dark a:hover {
  color: #fff;
}
.ft-head-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.ft-head-icon i {
  font-size: 0.95rem;
}
.ft-dash {
  border-top: 1px dashed rgb(255, 255, 255);
}
.ft-col-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.ft-list a {
  display: block;
  padding: 0.25rem 0;
  color: #b9c7da;
}
.ft-list a:hover {
  color: #fff;
}

/* Katman 2 – partner şerit */
.ft-partners {
  background: #40485f;
}
.ft-partners img {
  height: 18px;
  opacity: 0.9;
}

/* Katman 3 – açık alt */
.ft-light {
  background: #f8fafc;
  color: #4b5563;
}
.ft-light a {
  color: #4b5563;
  text-decoration: none;
}
.ft-light a:hover {
  color: #0d6efd;
}
.app-badge {
  width: 180px;
  height: 60px;
}
.pay-icon {
  width: 545px;
  height: 67px;
}
.seal {
  height: 54px;
}

@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1200px !important;
  }
}
/* kompakt ve şık görünüm */
.drp-input {
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.drp-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}
.modal-content {
  border-radius: 16px;
}
.btn-primary {
  border-radius: 10px;
  padding: 0.6rem 1rem;
}
.btn-light {
  border-radius: 10px;
}

@media (max-width: 991.98px) {
  /* Bootstrap'in lg breakpoint'i */
  .mainSwiper {
    max-height: 200px !important; /* İstediğiniz yüksekliği burada ayarlayın */
  }
  .tab-underline .nav-link {
    font-size: 12px;
    padding: 0.2rem 0.55rem;
  }

  .app-header {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    height: 52px;
  }
  .app-logo {
    height: 22px;
    width: auto;
    max-width: 180px;
  }
  .header-login-btn {
    font-size: 0.82rem;
    padding: 6px 12px;
  }
  .login-toast {
    top: 58px;
    right: 12px;
  }
}

@media (max-width: 767.98px) {
  .feature-row {
    gap: 0.5rem !important; /* gap-2 */
  }
  .feature-row .item {
    font-size: 0.875rem; /* küçültülmüş font (14px) */
  }
  .feature-row .item .sub {
    font-size: 0.75rem; /* alt yazı daha küçük */
  }
  .pay-icon {
    width: 100%;
    height: 50px;
  }

  .mobile-bar {
    z-index: 1050;
    border-radius: 24px 24px 0 0;
    box-shadow: rgba(0, 0, 0, 0.12) 0 -8px 24px !important;
  }

  .mobile-bar-inner {
    min-height: 72px;
    align-items: center;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  .mobile-price-details {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    justify-content: center;
  }

  .mobile-price-nightly {
    display: none;
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.3;
  }

  .mobile-price-nightly.is-visible {
    display: block;
  }

  .mobile-price-nightly strong {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.15rem;
  }

  .mobile-price-selected {
    display: none;
    flex-direction: column;
    gap: 0.15rem;
  }

  .mobile-price-selected.is-visible {
    display: flex;
  }

  .mobile-price-nightly-line {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.3;
    white-space: nowrap;
  }

  .mobile-price-nightly-line strong {
    color: #0f172a;
    font-weight: 700;
  }

  .mobile-price-total {
    font-size: 0.95rem;
    line-height: 1.25;
    color: #0f172a;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    white-space: nowrap;
  }

  .mobile-price-total span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
  }

  .mobile-price-total strong {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
  }

  .mobile-reserve-btn {
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.8125rem !important;
    line-height: 1.2 !important;
    height: auto !important;
  }

  body {
    padding-bottom: 96px;
  }
}

.desktop-total-row {
  display: none;
}

.desktop-total-row.is-visible {
  display: block;
}

/* Ana görsel alanını sabitle (varsayılan masaüstü) */
.gallery-viewer-view .galleryMain .swiper-slide {
  height: 70vh;                 /* desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;             /* fotoğrafı ortaya çıkarır */
}
.gallery-viewer-view .galleryMain .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;          /* içeri sığdır, taşma yok */
}

/* Thumbs satırı */
.gallery-viewer-view .galleryThumbs {
  padding: 8px 0;
}
.gallery-viewer-view .galleryThumbs .swiper-slide {
  width: 96px;                  /* desktop’ta sabit genişlik */
  height: 72px;
  opacity: .7;
  transition: opacity .2s ease;
}
.gallery-viewer-view .galleryThumbs .swiper-slide-thumb-active {
  opacity: 1;
}
.gallery-viewer-view .galleryThumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .5rem;
}

/* Oklar görünürlüğü */
.gallery-viewer-view .galleryMain .swiper-button-prev,
.gallery-viewer-view .galleryMain .swiper-button-next {
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
}
.gallery-viewer-view .galleryMain .swiper-button-prev:after,
.gallery-viewer-view .galleryMain .swiper-button-next:after {
  color: #fff;
  font-size: 18px;
}

/* Mobil optimizasyonları */
@media (max-width: 575.98px) {
  .gallery-viewer-view .galleryMain .swiper-slide {
    height: 40vh;               /* mobilde daha düşük */
  }
  .gallery-viewer-view .galleryThumbs .swiper-slide {
    width: 80px;                /* yatay scroll için küçük kartlar */
    height: 60px;
  }
  
}
