/* İlan listeleme ve filtre stilleri */
.listings-filters-panel {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.listings-filters-panel .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 0.35rem;
}

.listing-no-chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #00204a;
  background: rgba(0, 32, 74, 0.08);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.property-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.property-instagram-btn[hidden] {
  display: none !important;
}

.listings-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.listings-quick-nav a {
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  border: 1px solid rgba(0, 32, 74, 0.15);
  color: #00204a;
  background: #fff;
  transition: all 0.2s ease;
}

.listings-quick-nav a:hover,
.listings-quick-nav a.active {
  background: #00204a;
  color: #fff;
  border-color: #00204a;
}

.listings-result-count {
  font-size: 0.92rem;
  color: rgba(0, 0, 0, 0.5);
}

.listings-sss-banner {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
  border-radius: 12px;
  padding: 2rem;
}

.listings-sss-banner h3 {
  color: #00204a;
  margin-bottom: 0.75rem;
}

.project-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
  background: #fff;
}

.project-card-cover {
  position: relative;
}

.project-card-cover > img,
.project-card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.project-card-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 32, 74, 0.88);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.project-card-body {
  padding: 1.25rem;
}

.project-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: #00204a;
}

.project-card-meta {
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 0.75rem;
}

.project-card-thumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.35rem;
}

.project-card-thumb {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 auto;
}

.project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card-thumb-more {
  font-size: 0.78rem;
  font-weight: 600;
  color: #00204a;
  padding-left: 2px;
}

/* İlan özellikleri (detay) */
.property-detail-layout {
  margin-top: 0.25rem;
}

.property-detail-main .heading {
  font-size: 1.45rem;
  line-height: 1.3;
}

.property-specs {
  margin: 1.25rem 0 0;
  padding: 1.05rem 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(0, 32, 74, 0.08);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.property-specs-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #00204a;
  margin: 0 0 0.85rem;
}

.property-specs-list {
  margin: 0;
}

.property-specs-row {
  display: grid;
  grid-template-columns: minmax(110px, 1.05fr) 1fr;
  gap: 0.4rem 0.75rem;
  padding: 0.48rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}

.property-specs-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.property-specs-row dt {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #00204a;
}

.property-specs-row dd {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.72);
  word-break: break-word;
}

.property-specs-row dd.is-accent {
  color: #c0392b;
  font-weight: 600;
}

.property-agent-col {
  position: sticky;
  top: 100px;
}

.agent-box--sidebar {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.agent-box--sidebar .img {
  max-width: 140px;
  margin-left: auto;
  margin-right: auto;
}

.agent-box--sidebar .img img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.agent-box--sidebar .text {
  text-align: center;
}

.agent-box--sidebar .text h3 {
  font-size: 1.1rem;
}

.agent-box--sidebar .text p {
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.55);
}

@media (max-width: 991px) {
  .property-agent-col {
    position: static;
  }
}

@media (max-width: 575px) {
  .property-specs-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* Bağmar Market şubeleri */
.bagmar-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #fff;
  text-align: left;
}

.bagmar-card--btn {
  display: block;
  width: 100%;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bagmar-card--btn:hover,
.bagmar-card--btn:focus-visible {
  border-color: rgba(0, 32, 74, 0.25);
  box-shadow: 0 12px 28px rgba(0, 32, 74, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.bagmar-card--btn.is-active {
  border-color: #00204a;
  box-shadow: 0 12px 28px rgba(0, 32, 74, 0.16);
}

.bagmar-card-cover {
  position: relative;
}

.bagmar-card-cover img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.bagmar-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #00204a;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 30px;
}

.bagmar-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.bagmar-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: #00204a;
}

.bagmar-card-meta {
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 0.75rem;
}

.bagmar-card-cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #00204a;
}

.bagmar-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 1rem;
}

.bagmar-gallery-item {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

.bagmar-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.bagmar-gallery-item:hover img {
  transform: scale(1.06);
}

.bagmar-gallery--empty {
  margin-top: 1rem;
}

.bagmar-gallery--empty img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.7;
}

/* Bağmar ürünler */
.bagmar-products-section {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  scroll-margin-top: 100px;
}

.bagmar-products-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  font-weight: 600;
}

.bagmar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bagmar-filter-btn {
  border: 1px solid rgba(0, 32, 74, 0.18);
  background: #fff;
  color: #00204a;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bagmar-filter-btn:hover,
.bagmar-filter-btn:focus-visible {
  border-color: #00204a;
  outline: none;
}

.bagmar-filter-btn.is-active {
  background: #00204a;
  border-color: #00204a;
  color: #fff;
}

.bagmar-product {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.bagmar-product-img {
  aspect-ratio: 1.1;
  overflow: hidden;
  background: #f3f5f8;
}

.bagmar-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bagmar-product-body {
  padding: 0.9rem 1rem 1.1rem;
}

.bagmar-product-body h4 {
  font-size: 0.98rem;
  margin: 0 0 0.25rem;
  color: #00204a;
}

.bagmar-product-desc {
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 0.55rem;
  min-height: 2.2em;
}

.bagmar-product-price {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #00204a;
}

.untree-credit {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.45);
}

.untree-credit .credit-sep {
  margin: 0 0.35rem;
  opacity: 0.7;
}

.untree-credit strong {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.04em;
}

.untree-credit a {
  color: inherit;
  text-decoration: underline;
}

.untree-credit a:hover {
  color: #00204a;
}

.page-ilanlarimiz .property-slider-wrap .tns-outer .tns-inner {
  padding-bottom: 56px !important;
}

.page-ilanlarimiz .listings-grid-heading {
  margin-top: 1.5rem !important;
  padding-top: 0 !important;
}

/* İlan detay — küçük resim galerisi */
.img-property-slide-wrap.has-thumbs .tns-outer .tns-inner {
  padding-bottom: 0 !important;
}

.img-property-slide-wrap.has-thumbs .img-property-slide img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 10px;
}

.img-property-slide-wrap.has-thumbs .tns-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}

.img-property-slide-wrap.has-thumbs .tns-controls button {
  pointer-events: auto;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #00204a;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.img-property-slide-wrap.has-thumbs .tns-controls button:hover {
  background: #fff;
  transform: scale(1.05);
}

.img-property-slide-wrap.has-thumbs .tns-controls button[data-controls="prev"] {
  position: absolute;
  left: 0.75rem;
}

.img-property-slide-wrap.has-thumbs .tns-controls button[data-controls="next"] {
  position: absolute;
  right: 0.75rem;
}

.property-gallery-thumbs {
  display: none;
  margin-top: 0.85rem;
}

.property-gallery-thumbs.is-visible {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
  width: 100%;
}

.property-gallery-thumbs .property-gallery-thumb {
  width: 5.5rem;
  height: 4rem;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #e2e8f0;
  opacity: 0.72;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.property-gallery-thumbs .property-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-gallery-thumbs .property-gallery-thumb:hover {
  opacity: 1;
}

.property-gallery-thumbs .property-gallery-thumb.is-active {
  opacity: 1;
  border-color: #00204a;
  transform: translateY(-2px);
}

@media (max-width: 575.98px) {
  .property-gallery-thumbs .property-gallery-thumb {
    width: 4.5rem;
    height: 3.25rem;
  }
}
