/* ==================== HAYVAN PAZARI / ILANLAR ==================== */

:root {
  --market-green-950: #133422;
  --market-green-900: #18462b;
  --market-green-800: #1f5734;
  --market-green-700: #2b6d40;
  --market-green-100: #eef7f0;
  --market-green-50: #f7fbf8;
  --market-card-border: rgba(20, 52, 34, 0.12);
  --market-card-shadow: 0 18px 48px rgba(17, 32, 23, 0.08);
  --market-card-shadow-hover: 0 24px 60px rgba(17, 32, 23, 0.14);
}

.listing-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
}

.listing-watermark span {
  display: inline-block;
  font-size: clamp(9px, 0.85vw, 12px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.22);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  transform: rotate(-24deg);
  user-select: none;
  white-space: nowrap;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.listing-image-container,
.listing-image-wrap {
  position: relative;
}

.listing-image-container .listing-image,
.listing-image-wrap .listing-image {
  position: relative;
  z-index: 1;
}

/* ==================== ANASAYFA HAYVAN PAZARI ==================== */

.homepage-body .home-listings-green.section-card {
  background:
    radial-gradient(circle at top left, rgba(50, 107, 64, 0.14), transparent 38%),
    linear-gradient(180deg, #fbfdfb 0%, #f4faf5 100%);
  border: 1px solid rgba(25, 79, 45, 0.14);
  border-radius: 30px;
  box-shadow: 0 26px 60px rgba(13, 39, 24, 0.08);
  overflow: hidden;
}

.homepage-body .home-listings-green .section-card-body {
  padding: 2.15rem 2rem 2rem;
}

.homepage-body .home-listings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.4rem;
  margin-bottom: 1.65rem;
}

.homepage-body .home-listings-header-copy {
  max-width: 700px;
}

.homepage-body .home-listings-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(30, 88, 50, 0.1);
  color: var(--market-green-900);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homepage-body .home-listings-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

.homepage-body .home-listings-summary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 52, 34, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: var(--market-green-900);
  font-size: 0.88rem;
  font-weight: 700;
}

.homepage-body .home-listings-summary-pill strong {
  font-size: 1rem;
}

.homepage-body .home-listings-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--market-green-900), var(--market-green-700));
  box-shadow: 0 18px 30px rgba(26, 73, 42, 0.24);
}

.homepage-body .home-listings-icon-wrap i {
  font-size: 1.55rem;
}

.homepage-body .home-listings-title {
  font-size: clamp(1.65rem, 2vw, 2.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--market-green-950) !important;
}

.homepage-body .home-listings-desc {
  max-width: 640px;
  margin: 0.85rem auto 0 !important;
  color: #5a6c62;
  font-size: 1rem;
  line-height: 1.65;
}

.homepage-body .home-listings-btn-wrap {
  transform: none;
}

.homepage-body .home-listings-btn-primary {
  min-width: auto;
  padding: 0.88rem 1.45rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--market-green-950), var(--market-green-800));
  box-shadow: 0 16px 32px rgba(20, 52, 34, 0.16);
}

.homepage-body .home-listings-btn-primary:hover {
  background: linear-gradient(135deg, var(--market-green-900), var(--market-green-700));
}

.homepage-body .home-listings-meta-row {
  margin-top: 1.35rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(21, 65, 37, 0.08);
}

.homepage-body .home-listings-green .listing-modern-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(21, 65, 37, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
  box-shadow: var(--market-card-shadow);
  overflow: hidden;
  transform: none;
}

.homepage-body .home-listings-green .listing-modern-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--market-card-shadow-hover);
  border-color: rgba(23, 79, 43, 0.24);
  background: linear-gradient(180deg, #ffffff 0%, #f5faf6 100%);
}

.homepage-body .home-listings-green .listing-vitrin-badge {
  top: 12px;
  left: 12px;
  right: auto;
  margin: 0;
}

.homepage-body .home-listings-green .listing-vitrin-badge .badge {
  font-size: 0.66rem;
  padding: 0.44rem 0.68rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #8c1d1d, #bb2f25);
  box-shadow: 0 10px 18px rgba(140, 29, 29, 0.22);
}

.homepage-body .home-listings-green .listing-image-container {
  padding: 12px 12px 0;
  background: #ffffff !important;
}

.homepage-body .home-listings-green .listing-image-container > div,
.homepage-body .home-listings-green .home-listing-image-shell {
  min-height: 180px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  position: relative;
}

.homepage-body .home-listings-green .listing-image {
  min-height: 180px !important;
  transition: transform 0.5s ease;
  background: #ffffff !important;
}

.homepage-body .home-listings-green .home-listing-video-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(19, 52, 34, 0.95), rgba(28, 94, 52, 0.9));
  color: #fff;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 18px rgba(19, 52, 34, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.homepage-body .home-listings-green .home-listing-video-badge i {
  font-size: 0.82rem;
  color: #dff5e7;
}

.homepage-body .home-listings-green .home-listing-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(19, 52, 34, 0.1), transparent 42%);
}

.homepage-body .home-listings-green .home-listing-video-overlay__play {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 14px 34px rgba(19, 52, 34, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.homepage-body .home-listings-green .home-listing-video-overlay__play i {
  margin-left: 3px;
  font-size: 1.8rem;
  color: #fff;
}

.homepage-body .home-listings-green .home-listing-no-image-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: #446253;
  font-size: 0.82rem;
  font-weight: 700;
}

.homepage-body .home-listings-green .home-listing-no-image-copy i {
  font-size: 1.35rem;
  color: var(--market-green-800);
}

.homepage-body .home-listings-green .listing-modern-card:hover .listing-image {
  transform: scale(1.04);
}

.homepage-body .home-listings-green .card-body {
  padding: 1rem 1rem 1.05rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 260px;
  flex: 1 1 auto;
}

.homepage-body .home-listings-green .listing-card-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: stretch;
}

.homepage-body .home-listings-green .home-listing-topline {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.95rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(20, 52, 34, 0.08);
}

.homepage-body .home-listings-green .home-listing-price-card {
  width: 100%;
}

.homepage-body .home-listings-green .home-listing-top-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.homepage-body .home-listings-green .listing-price-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.14rem;
  padding: 0.72rem 0.86rem;
  border-radius: 16px;
  border: 1px solid rgba(20, 52, 34, 0.08);
  background: linear-gradient(180deg, #ffffff, #f4faf5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.homepage-body .home-listings-green .listing-market-status {
  min-width: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 0.2rem;
  padding: 0.72rem 0.86rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #eff7f1, #e5f1e8);
  border: 1px solid rgba(28, 94, 52, 0.12);
}

.homepage-body .home-listings-green .listing-market-status__label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #607468;
  font-weight: 800;
}

.homepage-body .home-listings-green .listing-market-status__value {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--market-green-950);
  line-height: 1.1;
}

.homepage-body .home-listings-green .listing-price-label {
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #667b6f;
}

.homepage-body .home-listings-green .listing-price-value {
  font-size: 1.55rem;
  line-height: 1;
  color: var(--market-green-950) !important;
}

.homepage-body .home-listings-green .listing-title-text {
  margin-bottom: 0;
  color: #17261d;
  font-size: 1rem;
  line-height: 1.35;
  min-height: 2.7em;
}

.homepage-body .home-listings-green .home-listing-title-text {
  min-height: 3.3em;
  max-height: 3.3em;
  font-size: 1.02rem;
  margin-top: 0.05rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.homepage-body .home-listings-green .home-listing-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 3rem;
  align-content: flex-start;
}

.homepage-body .home-listings-green .home-listing-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.44rem 0.66rem;
  border-radius: 999px;
  background: #f1f6f2;
  color: #3f5a49;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(20, 52, 34, 0.07);
}

.homepage-body .home-listings-green .listing-features-divider {
  border-bottom: 1px solid rgba(20, 52, 34, 0.08);
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
}

.homepage-body .home-listings-green .home-listing-chips {
  margin-bottom: 0;
}

.homepage-body .home-listings-green .listing-feature-badge,
.homepage-body .home-listings-green .listing-feature-badge-gray {
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  box-shadow: none;
}

.homepage-body .home-listings-green .listing-feature-badge {
  background: #1c5e34;
}

.homepage-body .home-listings-green .listing-feature-badge-gray {
  background: #edf2ee;
  color: #2c4737;
}

.homepage-body .home-listings-green .home-listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.1rem;
  margin-top: auto;
}

.homepage-body .home-listings-green .listing-time-text {
  font-size: 0.73rem;
  color: #688071;
}

.homepage-body .home-listings-green .home-listing-link {
  color: var(--market-green-900);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

/* ==================== ILANLAR SAYFASI ==================== */

.listings-market-page {
  background: linear-gradient(180deg, #fffdfa 0%, #f8fbf8 100%);
}

.page-listings {
  padding-bottom: 3rem;
}

.page-listings > .row.g-2 {
  --bs-gutter-x: 1.35rem;
  --bs-gutter-y: 1.2rem;
}

.page-listings .filter-sidebar {
  top: 108px;
  border-radius: 28px;
  box-shadow: 0 26px 48px rgba(14, 34, 21, 0.08);
  filter: none;
}

.page-listings .filter-card-minimal {
  border-radius: 28px !important;
  box-shadow: none;
  border: 1px solid rgba(20, 52, 34, 0.08) !important;
  background:
    radial-gradient(circle at top left, rgba(39, 88, 54, 0.08), transparent 32%),
    linear-gradient(180deg, #fffefe 0%, #f7fbf8 100%);
}

.page-listings .filter-compact-header {
  padding: 1.2rem 1.1rem 1rem;
  background: linear-gradient(160deg, var(--market-green-950), var(--market-green-800));
}

.page-listings .filter-compact-header i,
.page-listings .filter-compact-header h5,
.page-listings .filter-compact-header small {
  color: #fff;
}

.page-listings .filter-compact-header h5 {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.page-listings .filter-compact-header small {
  display: block;
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-listings .filter-card-minimal > .p-3.text-center.bg-light {
  padding: 0.9rem 1rem 0 !important;
  background: transparent !important;
}

.page-listings .result-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.82rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f6f1 100%);
  border: 1px solid rgba(20, 52, 34, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--market-green-900);
  font-weight: 800;
}

.page-listings .result-count-badge i,
.page-listings .result-count-badge span,
.page-listings .result-count-badge * {
  color: var(--market-green-900) !important;
}

.page-listings .filter-section-compact {
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(20, 52, 34, 0.07);
}

.page-listings .filter-label-white {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: #1c3025;
}

.page-listings .filter-input-white {
  min-height: 2.9rem;
  border-radius: 14px;
  border: 1px solid rgba(20, 52, 34, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.page-listings .filter-input-white:focus {
  border-color: rgba(31, 87, 52, 0.34);
  box-shadow: 0 0 0 0.18rem rgba(31, 87, 52, 0.12);
}

.page-listings .filter-hint-text {
  font-size: 0.71rem !important;
  line-height: 1.35;
  color: #738679 !important;
}

.page-listings .filter-section-compact .btn-db-primary.mt-2,
.page-listings .filter-section-compact .btn-db-reset.mt-2 {
  min-height: 50px;
  border-radius: 16px;
}

.page-listings .filter-section-compact .btn-db-primary.mt-2 {
  box-shadow: 0 14px 24px rgba(20, 52, 34, 0.14);
}

.page-listings .featured-container {
  border-radius: 28px;
  border: 1px solid rgba(20, 52, 34, 0.08);
  box-shadow: 0 22px 44px rgba(14, 34, 21, 0.07);
  overflow: hidden;
}

.page-listings .featured-card-wrapper {
  border-radius: 22px;
  border: 1px solid rgba(20, 52, 34, 0.12);
  box-shadow: 0 14px 28px rgba(14, 34, 21, 0.06);
  overflow: hidden;
}

.page-listings .featured-card-wrapper:hover {
  border-color: rgba(31, 87, 52, 0.24);
  box-shadow: 0 18px 36px rgba(14, 34, 21, 0.1);
}

.page-listings .listing-card-modern {
  border: 2px solid rgba(20, 52, 34, 0.32);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(20, 52, 34, 0.06), 0 10px 26px rgba(14, 34, 21, 0.12), 0 3px 8px rgba(14, 34, 21, 0.06);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.page-listings .listing-card-modern:hover {
  border-color: #B10F2E;
  box-shadow: 0 0 0 3px rgba(177, 15, 46, 0.10), 0 24px 48px rgba(14, 34, 21, 0.18), 0 8px 18px rgba(14, 34, 21, 0.10);
  transform: translateY(-4px);
}

.page-listings .listing-card-modern .card-body {
  padding: 1.1rem 1.15rem;
}

.page-listings .listing-card-modern .card-body > .row {
  --bs-gutter-x: 1.1rem;
}

.page-listings .listing-image-container {
  width: 100%;
  padding: 0.1rem;
}

.page-listings .listing-image-wrap {
  width: 100% !important;
  height: 220px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #dde7df !important;
}

.page-listings .listing-image-wrap .listing-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.page-listings .listing-image-wrap .listing-image {
  min-height: 188px !important;
  transition: transform 0.5s ease;
}

.page-listings .listing-video-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.78rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(19, 52, 34, 0.95), rgba(28, 94, 52, 0.9));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(19, 52, 34, 0.26);
}

.page-listings .listing-video-badge i {
  font-size: 1rem;
  color: #dff5e7;
}

.page-listings .listing-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(19, 52, 34, 0.1), transparent 42%);
}

.page-listings .listing-video-overlay__play {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 14px 34px rgba(19, 52, 34, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-listings .listing-video-overlay__play i {
  margin-left: 3px;
  font-size: 1.75rem;
  color: #fff;
}

.page-listings .listing-card-modern:hover .listing-image {
  transform: scale(1.04);
}

.page-listings .badge-featured,
.page-listings .badge-urgent {
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.page-listings .listing-title,
.page-listings .listing-card-modern .listing-title {
  color: #16261d;
  font-size: 1.2rem;
  line-height: 1.28;
}

.page-listings .listing-card-modern .text-muted.mb-2 {
  font-size: 0.95rem;
  color: #5f7366 !important;
}

.page-listings .listing-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-listings .listing-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.44rem 0.68rem;
  border-radius: 999px;
  background: #f1f6f2;
  color: #3f5a49;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(20, 52, 34, 0.07);
}

.page-listings .listing-card-modern .badge.bg-secondary {
  border-radius: 999px;
  padding: 0.42rem 0.66rem;
  font-size: 0.73rem !important;
  background: #eef4ef !important;
  color: #274133 !important;
  border: 1px solid rgba(20, 52, 34, 0.08);
}

.page-listings .listing-video-tag {
  background: #1c5e34 !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 0.42rem 0.66rem;
  border: 1px solid rgba(19, 52, 34, 0.16);
}

.page-listings .listing-card-modern .border-top.pt-2 {
  margin-top: 1rem !important;
  padding-top: 0.9rem !important;
  border-color: rgba(20, 52, 34, 0.08) !important;
}

.page-listings .price-dark {
  color: var(--market-green-950);
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  letter-spacing: -0.04em;
}

.page-listings .text-muted.small.mb-3 {
  font-size: 0.8rem !important;
  color: #6f8477 !important;
}

.page-listings .btn-db-primary {
  border-radius: 14px;
  padding: 0.8rem 1rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(20, 52, 34, 0.14);
}

.page-listings .btn-outline-secondary.js-favorite-btn,
.page-listings .js-favorite-btn {
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 2px solid rgba(20, 52, 34, 0.18);
  background: #fff !important;
  color: #5a6c63 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.page-listings .js-favorite-btn i {
  font-size: 1.18rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.page-listings .js-favorite-btn:hover,
.page-listings .js-favorite-btn:focus-visible {
  background: #fff !important;
  border-color: #B10F2E !important;
  color: #B10F2E !important;
  box-shadow: 0 8px 18px rgba(177, 15, 46, 0.18);
}

.page-listings .js-favorite-btn:hover i,
.page-listings .js-favorite-btn:focus-visible i {
  transform: scale(1.12);
}

.page-listings .js-favorite-btn.is-favorited,
.page-listings .js-favorite-btn[data-favorited="1"] {
  background: #fff !important;
  border-color: #B10F2E !important;
  color: #B10F2E !important;
}

.page-listings .js-favorite-btn.is-favorited i,
.page-listings .js-favorite-btn[data-favorited="1"] i {
  color: #B10F2E !important;
}

@keyframes favHeartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.page-listings .js-favorite-btn.fav-pop i {
  animation: favHeartPop 0.4s ease;
}
@media (prefers-reduced-motion: reduce) {
  .page-listings .js-favorite-btn.fav-pop i { animation: none; }
}

.page-listings .js-favorite-btn:active {
  transform: scale(0.95);
}

/* Filtreleri Temizle — outline marka rengi */
.page-listings .btn-db-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid #B10F2E;
  color: #B10F2E;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.page-listings .btn-db-reset:hover,
.page-listings .btn-db-reset:focus-visible {
  background: #B10F2E;
  color: #fff;
  box-shadow: 0 10px 22px rgba(177, 15, 46, 0.22);
}

/* Favori Toast — sağ-alt slide-in */
.fav-toast {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 1080;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  max-width: 420px;
  padding: 14px 16px 14px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fffafb 100%);
  border: 1px solid rgba(177, 15, 46, 0.22);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.18), 0 6px 14px rgba(177, 15, 46, 0.12);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.fav-toast--show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.fav-toast__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #B10F2E 0%, #8B0C23 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(177, 15, 46, 0.28);
}

.fav-toast__icon i {
  font-size: 1.2rem;
}

.fav-toast__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.fav-toast__title {
  color: #2a0b13;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.fav-toast__text {
  color: #6a4750;
  font-size: 0.78rem;
  line-height: 1.3;
}

.fav-toast__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 10px;
  background: #B10F2E;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(177, 15, 46, 0.22);
  transition: background 0.18s ease, transform 0.18s ease;
}

.fav-toast__cta:hover {
  background: #8B0C23;
  color: #fff;
  transform: translateY(-1px);
}

.fav-toast__close {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #94727a;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.fav-toast__close:hover {
  background: rgba(177, 15, 46, 0.08);
  color: #B10F2E;
}

@media (prefers-reduced-motion: reduce) {
  .fav-toast {
    transition: opacity 0.22s ease;
  }
}

.page-listings .listings-sort-form .form-select {
  min-width: 178px;
  border-radius: 14px;
  border-color: rgba(20, 52, 34, 0.12);
}

.page-listings .listings-toolbar {
  padding: 1rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(20, 52, 34, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 248, 0.98) 100%);
  box-shadow: 0 18px 36px rgba(14, 34, 21, 0.06);
}

.page-listings .listings-toolbar-summary > span:first-child {
  font-size: 1.08rem;
  line-height: 1.2;
  color: #16261d;
}

.page-listings .listings-toolbar-summary .badge.bg-secondary {
  background: #eef4ef !important;
  color: #23412f !important;
  border: 1px solid rgba(20, 52, 34, 0.08);
  padding: 0.42rem 0.68rem;
}

.page-listings .listings-toolbar-actions .btn-db-primary,
.page-listings .listings-toolbar-actions .form-select {
  min-height: 48px;
}

@media (min-width: 992px) {
  .page-listings .filter-sidebar {
    top: 118px;
  }

  .page-listings .filter-card-minimal {
    max-height: calc(100vh - 148px);
  }

  .page-listings .filter-card-minimal > .p-3:last-child {
    max-height: calc(100vh - 298px);
  }

  .page-listings .listings-toolbar {
    margin-bottom: 1.1rem !important;
  }

  .page-listings #listingsGrid .listing-card-modern {
    border-radius: 28px;
  }

  .page-listings #listingsGrid .listing-card-modern .card-body {
    padding: 1.15rem 1.2rem !important;
  }

  .page-listings #listingsGrid .listing-card-modern .col-12.col-md-3 {
    display: flex;
    align-items: center;
  }

  .page-listings #listingsGrid .listing-image-wrap {
    min-height: 140px !important;
    height: 140px;
    border-radius: 18px !important;
  }

  .page-listings #listingsGrid .listing-image-wrap .listing-image {
    min-height: 140px !important;
  }

  .page-listings #listingsGrid .listing-card-modern .col-12.col-md-5 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .page-listings #listingsGrid .listing-card-modern .d-flex.gap-2.mb-2 {
    margin-bottom: 0.6rem !important;
  }

  .page-listings #listingsGrid .listing-card-modern .card-title.listing-title,
  .page-listings #listingsGrid .listing-card-modern h5.listing-title {
    font-size: 1.42rem !important;
    line-height: 1.16 !important;
    margin-bottom: 0.55rem !important;
  }

  .page-listings #listingsGrid .listing-card-modern .text-muted.mb-2 {
    font-size: 0.95rem !important;
    margin-bottom: 0.55rem !important;
  }

  .page-listings #listingsGrid .listing-card-modern .badge {
    font-size: 0.72rem !important;
    padding: 0.42rem 0.68rem !important;
  }

  .page-listings #listingsGrid .listing-card-modern .col-12.col-md-4.text-md-end {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.75rem;
  }

  .page-listings #listingsGrid .listing-card-modern .price-dark {
    display: inline-flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-bottom: 0 !important;
    padding: 0.78rem 0.95rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f7f2 100%);
    border: 1px solid rgba(20, 52, 34, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  .page-listings #listingsGrid .listing-card-modern .text-muted.small.mb-3 {
    margin-bottom: 0 !important;
    font-size: 0.8rem !important;
  }

  .page-listings #listingsGrid .listing-card-modern .d-flex.gap-2.justify-content-md-end {
    justify-content: flex-end !important;
    width: 100%;
  }

  .page-listings #listingsGrid .listing-card-modern .btn-db-primary {
    min-width: 128px;
    justify-content: center;
  }
}

/* ==================== ILAN DETAY SAYFASI ==================== */

.listing-detail-page {
  background: linear-gradient(180deg, #fffdfa 0%, #f7faf8 100%);
}

.listing-detail-page main.container {
  margin-top: 1.25rem !important;
}

.listing-detail-page .breadcrumb-custom {
  margin-bottom: 1rem;
}

.listing-detail-page .detail-section {
  border-radius: 22px;
  padding: 1.15rem;
  border: 1px solid rgba(20, 52, 34, 0.08);
  box-shadow: 0 16px 34px rgba(14, 34, 21, 0.06);
}

.listing-detail-page .listing-detail-header {
  padding: 1.1rem 1.15rem;
}

.listing-detail-header__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.listing-detail-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-bottom: 0.7rem;
}

.listing-detail-header__title {
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: #17261d;
  margin: 0;
}

.listing-detail-header__submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.9rem;
  margin-top: 0.75rem;
  color: #5a6f61;
  font-size: 0.88rem;
}

.listing-detail-header__submeta span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.listing-detail-header__actions {
  display: inline-flex;
  gap: 0.55rem;
}

.listing-detail-header__actions .btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  padding: 0;
}

.listing-detail-showcase {
  padding: 1.1rem;
}

.listing-detail-showcase .row {
  align-items: flex-start;
}

/* ===== YENİ INFO PANEL ===== */
.ld-info-panel {
  border: 1px solid rgba(20, 52, 34, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(14, 34, 21, 0.07);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 80px;
}

/* Fiyat */
.ld-price-block {
  margin-bottom: 1.2rem;
}
.ld-price-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7b8f82;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.ld-price {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 900;
  color: #102918;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Bilgi grid — 2 sütun */
.ld-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1rem;
  margin-bottom: 1.2rem;
}
.ld-fact {
  min-width: 0;
}
.ld-fact__label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #8a9e92;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.ld-fact__value {
  display: block;
  font-size: 0.88rem;
  color: #182920;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ayraç */
.ld-divider {
  height: 1px;
  background: rgba(20, 52, 34, 0.08);
  margin: 1rem 0;
}

/* Satıcı */
.ld-seller {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ld-seller__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ld-seller__avatar {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a4f2e, #2d7a4f);
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px rgba(20, 52, 34, 0.18);
}
.ld-seller__name {
  font-size: 0.97rem;
  font-weight: 800;
  color: #182920;
  line-height: 1.25;
}
.ld-seller__loc {
  font-size: 0.77rem;
  color: #688071;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
}
.ld-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a4f2e 0%, #2d7a4f 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(20, 52, 34, 0.22);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.ld-call-btn:hover {
  color: #fff;
  opacity: 0.9;
  transform: translateY(-1px);
}
.ld-contact-note {
  font-size: 0.83rem;
  color: #607568;
  margin: 0;
}
.ld-login-btn {
  display: block;
  text-align: center;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(20, 52, 34, 0.18);
  color: #182920;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.18s ease;
}
.ld-login-btn:hover {
  background: rgba(20, 52, 34, 0.05);
  color: #182920;
}

/* Açıklama bloğu */
.ld-desc-block {}
.ld-block-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a9e92;
  margin-bottom: 0.6rem;
}
.ld-desc-text {
  font-size: 0.9rem;
  color: #2e4037;
  line-height: 1.7;
  white-space: pre-line;
  max-height: 240px;
  overflow-y: auto;
}
.ld-desc-empty {
  font-size: 0.88rem;
  color: #8a9e92;
  margin: 0;
}

.listing-detail-media-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
}

/* Medya rozeti (fotoğraf sayısı + video) — carousel üst sol köşe */
.ldm-media-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  pointer-events: none;
}

.ldm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ldm-badge-photo {
  background: rgba(16, 24, 18, 0.56);
  color: #fff;
}

.ldm-badge-video {
  background: rgba(122, 15, 26, 0.78);
  color: #fff;
}

/* Video slaytı */
.ldm-video-wrap {
  background: #0f1115;
  touch-action: pan-y;
}

.ldm-video-player {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: contain;
  background: #0f1115;
}

/* Video thumbnail — play ikonu üst üste */
.ldm-thumb-video {
  position: relative;
  background: #0f1115;
}

.ldm-thumb-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.72;
}

.ldm-thumb-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.listing-detail-page .detail-section h5 {
  padding-bottom: 0.72rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid rgba(20, 52, 34, 0.08);
  font-size: 1rem;
}

.listing-detail-page .listing-detail-carousel {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(14, 34, 21, 0.08);
}

.listing-detail-page .listing-detail-carousel-inner {
  max-height: 430px;
  aspect-ratio: 1.12 / 1;
  background: linear-gradient(180deg, #ecf0ed 0%, #dfe8e2 100%);
}

.listing-detail-page .listing-detail-carousel .carousel-control-prev,
.listing-detail-page .listing-detail-carousel .carousel-control-next {
  width: 46px;
  opacity: 1;
}

.listing-detail-page .listing-detail-carousel .carousel-control-prev-icon,
.listing-detail-page .listing-detail-carousel .carousel-control-next-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background-color: rgba(15, 23, 18, 0.55);
  background-size: 52% 52%;
  box-shadow: 0 10px 18px rgba(15, 23, 18, 0.16);
}

.listing-detail-page .listing-detail-carousel-inner .listing-detail-image {
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.45s ease;
}

.listing-detail-page .listing-detail-carousel-inner:hover .listing-detail-image {
  transform: scale(1.03);
}

.listing-detail-page .listing-detail-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 14px;
  background: rgba(16, 24, 18, 0.6);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 20px rgba(16, 24, 18, 0.16);
}

.listing-detail-page .listing-detail-zoom:hover {
  background: rgba(16, 24, 18, 0.76);
}

.listing-detail-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.listing-detail-thumb {
  border: 1px solid rgba(20, 52, 34, 0.1);
  background: #fff;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  width: 64px;
  height: 64px;
  min-width: 64px;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(14, 34, 21, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.listing-detail-thumb:hover,
.listing-detail-thumb.is-active {
  transform: translateY(-1px);
  border-color: rgba(31, 87, 52, 0.32);
  box-shadow: 0 14px 22px rgba(14, 34, 21, 0.08);
}


.listing-detail-facts-card,
.listing-detail-seller-card,
.listing-detail-safety-card {
  border: 1px solid rgba(20, 52, 34, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  box-shadow: 0 14px 28px rgba(14, 34, 21, 0.05);
}

.listing-detail-facts-card {
  padding: 1rem;
  height: auto;
  align-self: flex-start;
}

.listing-detail-facts-grid {
  display: grid;
  gap: 0.65rem;
}

.listing-detail-fact {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(20, 52, 34, 0.08);
}

.listing-detail-fact:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.listing-detail-fact__label {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b8f82;
}

.listing-detail-fact__value {
  display: block;
  color: #182920;
  line-height: 1.28;
  font-size: 0.94rem;
}

.listing-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-self: flex-start;
}

.listing-detail-page .price-box-ilan,
.listing-detail-page .contact-box {
  border-radius: 26px;
  overflow: hidden;
}

.listing-detail-page .price-box-ilan {
  padding: 1.35rem 1.15rem;
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(20, 52, 34, 0.16);
}

.listing-detail-page .price-box-ilan .price {
  font-size: clamp(2rem, 3.2vw, 2.55rem);
  line-height: 1;
}

.listing-detail-page .info-row {
  padding: 0.72rem 0;
  border-bottom-color: rgba(20, 52, 34, 0.08);
}

.listing-detail-seller-card {
  padding: 1rem;
}

.listing-detail-seller-card__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.listing-detail-seller-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--market-green-900), var(--market-green-700));
  color: #fff;
  font-weight: 800;
  font-size: 0.94rem;
  box-shadow: 0 12px 20px rgba(20, 52, 34, 0.16);
}

.listing-detail-seller-card__head h5 {
  margin: 0;
  color: #17261d;
  font-size: 1rem;
}

.listing-detail-seller-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: #688071;
  font-size: 0.8rem;
}

.listing-detail-seller-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.listing-detail-seller-card__body .btn {
  min-height: 44px;
  border-radius: 12px;
  font-weight: 700;
}

.listing-detail-call-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  justify-content: center;
  padding: 0.82rem 0.9rem;
  border-radius: 12px;
  background: #eef7f0;
  color: var(--market-green-950);
  text-decoration: none;
  font-weight: 800;
}

.listing-detail-contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71867a;
  margin-bottom: 0.22rem;
}

.listing-detail-contact-name {
  font-size: 1rem;
  line-height: 1.3;
  color: #17261d;
  font-weight: 800;
}

.listing-detail-contact-note {
  margin-bottom: 0.7rem;
  color: #607568;
  font-size: 0.88rem;
}

.listing-detail-safety-card {
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, #fffaf2 0%, #fff5e4 100%);
  border-color: rgba(175, 120, 18, 0.14);
}

.listing-detail-safety-card h6 {
  margin-bottom: 0.75rem;
  color: #674e16;
}

.listing-detail-safety-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #7a6532;
}

.listing-detail-safety-card li + li {
  margin-top: 0.42rem;
}

.listing-detail-page .description-box {
  background: linear-gradient(180deg, #fbfcfb 0%, #f5f8f6 100%);
  border: 1px solid rgba(20, 52, 34, 0.08);
  border-radius: 20px;
  padding: 1.1rem 1.15rem;
}

.listing-detail-tabs-shell {
  padding-top: 0.85rem;
}

.listing-detail-tab-pane {
  padding: 0.15rem 0 0;
  color: #24392d;
  line-height: 1.6;
}

.listing-detail-location-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem;
  border: 1px solid rgba(20, 52, 34, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfcfb 0%, #f4f8f5 100%);
}

.listing-detail-location-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #8b221c, #bf3e2f);
  color: #fff;
  box-shadow: 0 12px 20px rgba(139, 34, 28, 0.16);
}

.listing-detail-similar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.listing-detail-similar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(20, 52, 34, 0.1);
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.listing-detail-similar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 87, 52, 0.22);
  box-shadow: 0 18px 32px rgba(14, 34, 21, 0.08);
}

.listing-detail-similar-card__copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.listing-detail-similar-card__copy strong {
  color: #17261d;
  line-height: 1.28;
  font-size: 0.95rem;
}

.listing-detail-similar-card__copy span {
  color: #6b8073;
  font-size: 0.78rem;
}

.listing-detail-similar-card__price {
  color: #8b221c;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.listing-description-text {
  font-size: 0.95rem;
  line-height: 1.7;
}

.listing-gallery-modal .modal-content {
  background: rgba(15, 18, 15, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
}

.listing-gallery-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.listing-gallery-modal .btn-close {
  filter: invert(1);
}

.listing-gallery-modal .modal-body {
  padding: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 40%), #121613;
}

.listing-gallery-modal__frame {
  min-height: min(82vh, 760px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.listing-gallery-modal__frame img {
  width: auto;
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.36);
}

.listing-gallery-modal__frame .listing-watermark span {
  font-size: clamp(11px, 1vw, 16px);
  color: rgba(255, 255, 255, 0.18);
}

/* === HAYVAN PAZARI HERO === */
/* === HAYVAN PAZARI HERO — koyu yeşil, minimalist === */
.listings-hero {
  background: linear-gradient(135deg, #0e2818 0%, #133422 45%, #1f5734 100%);
  color: #fff;
  padding: 0.85rem 0 0.9rem;
  position: relative;
  display: flow-root;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.listings-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(74, 222, 128, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(31, 87, 52, 0.18) 0%, transparent 55%);
  pointer-events: none;
}
.listings-hero-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.listings-hero-title {
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}
.listings-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.listings-hero-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e6f3ea;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.listings-hero-meta-pill--live {
  background: rgba(74, 222, 128, 0.14);
  border-color: rgba(74, 222, 128, 0.36);
  color: #bbf7d0;
}
.listings-hero-meta-pill--live .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.50); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}

/* === Mobile düzenlemeleri === */
/* === MOBİL FİLTRE: kompakt toggle + inline expand panel (sade, hizalı) === */
/* === Filter chip group (kategori + sıralama için native select alternatifi) === */
.page-listings .filter-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.page-listings .filter-chip-group--stack {
  flex-direction: column;
  gap: 0.45rem;
}
.page-listings .filter-chip {
  flex: 1 1 auto;
  min-height: 42px;
  padding: 0.5rem 0.85rem;
  border: 1.5px solid rgba(20, 52, 34, 0.16);
  border-radius: 11px;
  background: #ffffff;
  color: #133422;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.page-listings .filter-chip-group--stack .filter-chip {
  flex: 1 1 100%;
  text-align: left;
}
.page-listings .filter-chip:hover {
  border-color: rgba(31, 87, 52, 0.45);
  background: #f4faf6;
}
.page-listings .filter-chip.is-active {
  background: linear-gradient(135deg, #1f5734 0%, #133422 100%);
  border-color: #133422;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(20, 52, 34, 0.22);
}
.page-listings .filter-chip:active {
  transform: scale(0.98);
}

/* === Hayvan Pazarı mobile: toolbar sort'u gizle (sıralama filtre panelinde) === */
/* === MOBİL FİLTRE MODAL: header/footer/badge === */
.listings-mobile-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #B10F2E;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  margin-left: 0.35rem;
  flex-shrink: 0;
}
.listings-mobile-filter-badge[hidden] { display: none !important; }

/* === MOBİL: İLAN GRID — 2 sütun === */
/* === Infinite scroll spinner === */
.listings-infinite-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.5rem 0 0.8rem;
}
.listings-infinite-spinner {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(31, 87, 52, 0.08);
  color: #1f5734;
  font-size: 0.85rem;
  font-weight: 700;
}
.listings-infinite-end {
  color: #6b7c70;
  font-size: 0.82rem;
  font-style: italic;
  text-align: center;
}

/* === Mobile kart alt-bar 2-col düzenli === */
/* === Hayvan Pazarı mobil hizalama düzeltmesi === */
/* ==========================================================
   KAPSAMLI MOBİL OVERHAUL — Tüm sayfada hizalı, sade, hızlı
   ========================================================== */
/* Tablet (768-991) — orta seviye uyum */
/* === Anasayfa Hayvan Pazarı bölümü mobilde 2 sütun === */
/* === Hayvan Pazarı: hero ile filtre arası gri boşluğu yok et === */
/* === Hero ile toggle arası gri boşluğu kapatmak için negatif çekme === */
/* Son düzeltme: hero alt boşluğu ortadan kaldır */
/* === FINAL FIX: hero gap + toolbar spacing + image padding === */
/* === Toggle butonu hero'ya yapıştır === */
/* === KESİN ÇÖZÜM: col-lg-3 box'ını mobil için yok say + transform sıfırla === */
/* === Resim container'ın inline max-height boşluğunu kaldır === */
/* ==========================================================
   HiDPI/Retina ekranlarda crisp görüntü — site geneli
   Çift tıklayınca düzelen blur sorunu için global fix
   ========================================================== */
img, svg {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* SVG/raster logoları net göster */
.navbar-brand img,
.navbar-custom .navbar-brand img,
img[src$=".svg"],
img[src$=".webp"],
img[src$=".png"] {
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Mobile özelinde daha agresif crisp */
/* === SVG keskinliği için: GPU rasterize SVG'yi bozar, sıfırla === */
img, svg {
  image-rendering: auto !important;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  transform: none !important;
  will-change: auto !important;
}

/* SVG için özel: hiç transform/filter yok, native scale */
svg, img[src*=".svg"], .navbar-brand img {
  image-rendering: auto !important;
  -webkit-image-rendering: auto !important;
  transform: none !important;
  filter: none !important;
  will-change: auto !important;
}

/* Sadece raster (png/jpg/webp) için yumuşatma */
img[src$=".png"]:not([src*=".svg"]),
img[src$=".jpg"],
img[src$=".jpeg"],
img[src$=".webp"]:not([src*=".svg"]) {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Navbar — GPU layer YOK (child SVG'yi blurry rasterize ediyordu) */
.navbar-custom {
  -webkit-transform: none !important;
  transform: none !important;
  will-change: auto !important;
  -webkit-font-smoothing: subpixel-antialiased;
}
.navbar-custom .navbar-brand img,
.navbar-brand img,
img[src*="danaborsa.svg"],
.site-loading-logo {
  width: auto;
  display: block;
  transform: none !important;
  -webkit-transform: none !important;
  will-change: auto !important;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  filter: none !important;
  image-rendering: auto !important;
  -webkit-image-rendering: auto !important;
}

/* === Header logo + navbar düzgün yükseklik === */
/* === Filtre modal: ilçe gizle (mobil) + chip'ler yatay tek satır === */
/* ====== ANASAYFA HAYVAN PAZARI — DİKEY VİTRİN KART ====== */
body.homepage-body .home-listings-green .listing-card-vertical {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 52, 34, 0.08);
  box-shadow: 0 6px 18px rgba(15, 50, 30, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

body.homepage-body .home-listings-green .listing-card-vertical:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 50, 30, 0.16);
}

body.homepage-body .home-listings-green .listing-card-vertical__image-wrap {
  position: relative;
  display: block;
  height: 240px;
  overflow: hidden;
  background: #e2e8f0;
  text-decoration: none;
}

body.homepage-body .home-listings-green .listing-card-vertical__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

body.homepage-body .home-listings-green .listing-card-vertical:hover .listing-card-vertical__image {
  transform: scale(1.04);
}

body.homepage-body .home-listings-green .listing-card-vertical__no-image {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #64748b;
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #f0f4f1, #e2e8f0);
}

body.homepage-body .home-listings-green .listing-card-vertical__no-image i {
  font-size: 2.2rem;
  color: #94a3a0;
}

body.homepage-body .home-listings-green .listing-card-vertical__watermark {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 600;
  pointer-events: none;
}

body.homepage-body .home-listings-green .listing-card-vertical__category {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(21, 53, 31, 0.92);
  color: #fff;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

body.homepage-body .home-listings-green .listing-card-vertical__top-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
  z-index: 2;
}

body.homepage-body .home-listings-green .listing-card-vertical__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

body.homepage-body .home-listings-green .listing-card-vertical__tag--featured {
  background: linear-gradient(135deg, #c9a227, #b8860b);
}

body.homepage-body .home-listings-green .listing-card-vertical__tag--urgent {
  background: linear-gradient(135deg, #d93636, #a82424);
}

body.homepage-body .home-listings-green .listing-card-vertical__body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

body.homepage-body .home-listings-green .listing-card-vertical__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #15351f;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.85em;
}

body.homepage-body .home-listings-green .listing-card-vertical__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: #5a6b62;
}

body.homepage-body .home-listings-green .listing-card-vertical__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

body.homepage-body .home-listings-green .listing-card-vertical__meta i {
  color: #2d6b3f;
  font-size: 0.95rem;
  flex-shrink: 0;
}

body.homepage-body .home-listings-green .listing-card-vertical__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(20, 52, 34, 0.1);
}

body.homepage-body .home-listings-green .listing-card-vertical__price-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

body.homepage-body .home-listings-green .listing-card-vertical__price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #15351f;
  line-height: 1.1;
  white-space: nowrap;
}

body.homepage-body .home-listings-green .listing-card-vertical__time {
  font-size: 0.75rem;
  color: #8a9690;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

body.homepage-body .home-listings-green .listing-card-vertical__cta {
  background: linear-gradient(135deg, #15351f 0%, #2d6b3f 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.6rem 0.95rem;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(20, 52, 34, 0.2);
  transition: all 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

body.homepage-body .home-listings-green .listing-card-vertical__cta:hover {
  background: linear-gradient(135deg, #102818 0%, #245832 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 52, 34, 0.28);
}
