/* ==========================================================================
   KEŞİF ARAZİ EMLAK - ÖZEL VE BİREBİR MODERN STİL DOSYASI
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #0d1117;
  --primary-dark: #05070a;
  --secondary-color: #1e293b;
  --accent-gold: #eab308;
  --accent-gold-hover: #ca8a04;
  --accent-gold-light: #fef08a;
  --accent-red: #ef4444;
  --accent-green: #10b981;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  --border-color: #e2e8f0;
  --border-dark: #334155;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  max-width: 100vw;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ---------------- Top Bar ---------------- */
.top-bar {
  background-color: #000000;
  color: #cbd5e1;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-phones, .top-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-item a {
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-item a:hover {
  color: var(--accent-gold);
}

.top-item i {
  color: var(--accent-gold);
  font-size: 12px;
}

.top-badge {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.top-badge span {
  color: var(--accent-gold);
  font-weight: 700;
}

.top-consultant {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 12.5px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  color: #94a3b8;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.social-links a:hover {
  color: #000000;
  background-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* ---------------- Main Header ---------------- */
.site-header {
  background-color: #000000;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  border-radius: 8px;
  padding: 4px 6px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-logo:hover {
  transform: scale(1.04);
}

/* Luminous Golden Light Beam Sweep */
.site-logo::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -130%;
  width: 70%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.2) 40%,
    rgba(254, 240, 138, 0.7) 48%,
    rgba(234, 179, 8, 0.95) 52%,
    rgba(255, 255, 255, 0.5) 58%,
    transparent 80%
  );
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 5;
  animation: logoShineBeam 4s infinite 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-logo:hover::after {
  animation: logoShineBeamFast 0.85s ease-in-out forwards;
}

@keyframes logoShineBeam {
  0% { left: -130%; }
  32% { left: 160%; }
  100% { left: 160%; }
}

@keyframes logoShineBeamFast {
  0% { left: -130%; }
  100% { left: 160%; }
}

.site-logo img {
  height: 72px;
  max-height: 76px;
  width: auto;
  object-fit: contain;
  animation: logoAssembleIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, filter, opacity;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.site-logo:hover img {
  filter: drop-shadow(0 0 10px rgba(234, 179, 8, 0.45));
}

@keyframes logoAssembleIn {
  0% {
    opacity: 0;
    transform: scale(1.15) translateY(-5px);
    filter: blur(8px) brightness(2) drop-shadow(0 0 20px rgba(234, 179, 8, 0.9));
  }
  45% {
    opacity: 0.9;
    transform: scale(0.97) translateY(1px);
    filter: blur(2px) brightness(1.25) drop-shadow(0 0 10px rgba(234, 179, 8, 0.6));
  }
  75% {
    transform: scale(1.02) translateY(0);
    filter: blur(0) brightness(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0) brightness(1) drop-shadow(0 0 0 rgba(0,0,0,0));
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-item a {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item a:hover, .nav-item.active a {
  color: #000000;
  background-color: var(--accent-gold);
}

.nav-item.highlight a {
  background: rgba(234, 179, 8, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.nav-item.highlight a:hover {
  background: var(--accent-gold);
  color: #000000;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-wa {
  background-color: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-header-wa:hover {
  background-color: #20ba5a;
  transform: translateY(-1px);
}

.btn-header-call {
  background-color: var(--accent-gold);
  color: #000000 !important;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-header-call:hover {
  background-color: var(--accent-gold-hover);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #ffffff;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-toggle:hover,
.mobile-toggle:active {
  background: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
}

/* ---------------- Category Sub-Bar ---------------- */
.category-subnav {
  background-color: #0d131f;
  border-top: 1px solid #1f2937;
  border-bottom: 1px solid #1f2937;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.category-subnav-container {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.category-subnav-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding: 8px 0;
  width: 100%;
}

.category-subnav-scroll::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.category-subnav-scroll.is-dragging {
  cursor: grabbing !important;
}

.category-subnav-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.cat-pill {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-pill:hover, .cat-pill.active {
  background: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.25);
}

.cat-pill i {
  font-size: 12px;
}

/* Sol & Sağ Fade Maskeleri & Ok Butonları */
.category-fade-left,
.category-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 10;
  display: flex;
  align-items: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.category-fade-left {
  left: 0;
  background: linear-gradient(to right, #0d131f 40%, rgba(13, 19, 31, 0) 100%);
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
}

.category-fade-right {
  right: 0;
  background: linear-gradient(to left, #0d131f 40%, rgba(13, 19, 31, 0) 100%);
  justify-content: flex-end;
  opacity: 1;
  visibility: visible;
}

.category-fade-left.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.category-fade-right.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.category-fade-left:not(.is-visible),
.category-fade-right:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Ok Butonları */
.cat-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

.cat-nav-btn:hover {
  background: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
  transform: scale(1.1);
}

/* ---------------- Hero & Search Section ---------------- */
.hero-section {
  background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
  color: #ffffff;
  padding: 50px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-section.hero-has-media {
  background-color: #090d16;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(234, 179, 8, 0.12), transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-container-rel {
  position: relative;
  z-index: 2;
}

.hero-video-bg-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-video-bg-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 125vw;
  height: 125vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: brightness(0.9);
}

.hero-direct-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 35px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: var(--accent-gold);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(22px, 5.5vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-subtitle {
  font-size: clamp(13.5px, 3.8vw, 16px);
  color: #94a3b8;
  font-weight: 400;
  word-break: break-word;
}

/* ---------------- Search Filter Card ---------------- */
.search-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ---------------- Hero Search Type Tabs (Satılık/Kiralık Tiki) ---------------- */
.search-type-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
}

.search-type-tabs::-webkit-scrollbar {
  display: none;
}

.search-type-tab {
  position: relative;
  cursor: pointer;
  margin: 0;
  user-select: none;
  flex-shrink: 0;
}

.search-type-tab input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.search-type-tab .tab-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.search-type-tab:hover .tab-badge {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
}

.search-type-tab.active .tab-badge,
.search-type-tab:has(input:checked) .tab-badge {
  background: #0f172a;
  color: var(--accent-gold);
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.search-form-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) minmax(130px, 1fr) minmax(130px, 1fr) minmax(200px, 1.6fr) minmax(140px, 1fr);
  gap: 14px;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

.btn-search {
  height: 44px;
  background-color: var(--accent-gold);
  color: #000000;
  font-weight: 800;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-search:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-1px);
}

/* ---------------- Single Row Filter Bar (İlanlar) ---------------- */
.search-card.filter-card-single-row {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  color: var(--text-main);
  border: 1px solid #e2e8f0;
}

.filter-bar-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.35fr) minmax(120px, 1.15fr) minmax(100px, 1fr) minmax(100px, 1fr) minmax(160px, 1.8fr) 44px;
  gap: 10px;
  align-items: flex-end;
  width: 100%;
}

.filter-bar-row input[type="hidden"] {
  display: none !important;
}

.filter-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.filter-col .form-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
}

.filter-col .form-control {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-col .form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

.filter-col-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.filter-action-spacer {
  visibility: hidden;
  user-select: none;
  font-size: 11.5px;
  margin-bottom: 0;
}

.filter-buttons-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.btn-filter-submit {
  height: 44px;
  padding: 0 20px;
  background-color: var(--accent-gold);
  color: #000000;
  font-weight: 800;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.2);
}

.btn-filter-submit:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-filter-reset {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background-color: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-filter-reset:hover {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: rotate(90deg);
}

/* ========================================================
   MODERN ESTETİK & ARAMALI DROPDOWN (CUSTOM SELECT UI)
   ======================================================== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
  font-family: inherit;
}

.custom-select-wrapper .native-select-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* Dropdown Tetikleyici (Trigger Buton) */
.custom-select-trigger {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.custom-select-trigger:hover {
  border-color: #94a3b8;
  background-color: #f8fafc;
}

.custom-select-wrapper.is-open .custom-select-trigger,
.custom-select-trigger:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
  background-color: #ffffff;
  outline: none;
}

.custom-select-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  color: #0f172a;
}

.custom-select-icon {
  font-size: 13px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.custom-select-icon.urgent-icon {
  color: #ef4444 !important;
}

.custom-select-chevron {
  font-size: 11px;
  color: #64748b;
  margin-left: 8px;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.2s ease;
}

.custom-select-wrapper.is-open .custom-select-chevron {
  transform: rotate(180deg);
  color: #0f172a;
}

/* Floating Dropdown Menü */
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 220px;
  max-width: 340px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22), 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 8px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  pointer-events: none;
}

.custom-select-wrapper.is-open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-select-wrapper.is-dropup .custom-select-dropdown {
  top: auto;
  bottom: calc(100% + 6px);
  transform: translateY(8px) scale(0.98);
}

.custom-select-wrapper.is-dropup.is-open .custom-select-dropdown {
  transform: translateY(0) scale(1);
}

/* Arama Çubuğu */
.custom-select-search-wrap {
  position: relative;
  margin-bottom: 8px;
  padding: 0 2px;
}

.custom-select-search-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #94a3b8;
  pointer-events: none;
}

.custom-select-search-input {
  width: 100%;
  height: 36px;
  padding: 0 10px 0 32px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.custom-select-search-input:focus {
  background: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.2);
}

/* Seçenekler Listesi */
.custom-select-options {
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 2px;
}

.custom-select-options::-webkit-scrollbar {
  width: 5px;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Tekil Seçenek Öğesi */
.custom-select-option {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.custom-select-option-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-option:hover,
.custom-select-option.is-highlighted {
  background: #f1f5f9;
  color: #0f172a;
}

.custom-select-option.is-selected {
  background: #fefce8;
  color: #92400e;
  font-weight: 700;
}

.custom-select-option .option-check {
  font-size: 11px;
  color: #ca8a04;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.custom-select-option.is-selected .option-check {
  opacity: 1;
}

/* Sonuç Bulunamadı */
.custom-select-no-results {
  padding: 16px 12px;
  text-align: center;
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 600;
  display: none;
}

/* AJAX Loading State */
#listingsMainContainer {
  position: relative;
  transition: opacity 0.25s ease;
}

#listingsMainContainer.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.filter-loading-spinner {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(234, 179, 8, 0.3);
  z-index: 9999;
  animation: fadeInDown 0.25s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translate(-50%, -15px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 1200px) {
  .filter-bar-row {
    grid-template-columns: repeat(3, 1fr) 44px;
  }
}

@media (max-width: 768px) {
  .filter-bar-row {
    grid-template-columns: 1fr 1fr;
  }
  .filter-col-search {
    grid-column: 1 / 2;
  }
  .filter-col-actions {
    grid-column: 2 / 3;
  }
  .filter-buttons-inline {
    width: 100%;
  }
  .btn-filter-reset {
    width: 100%;
  }
}

/* ---------------- Section Headers ---------------- */
.section {
  padding: 50px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.section-title-wrap h1,
.section-title-wrap h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.section-title-wrap h1 i,
.section-title-wrap h2 i {
  color: var(--accent-gold);
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.section-link {
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.section-link:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000000;
}

/* ---------------- Listing Grid & Cards ---------------- */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.listing-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.listing-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #e2e8f0;
}

.listing-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.listing-card:hover .listing-thumb {
  transform: scale(1.06);
}

.badge-group {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.card-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.card-badge:empty {
  display: none !important;
}

.badge-urgent {
  background-color: #dc2626;
  color: #ffffff;
  animation: pulse 2s infinite;
}

.badge-featured {
  background-color: var(--accent-gold);
  color: #000000;
}

.badge-category {
  background-color: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.listing-price-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 15, 29, 0.94);
  color: #fbbf24;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  z-index: 3;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1.2;
}

.listing-price-badge .price-val {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: #fbbf24;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.listing-price-badge .price-period {
  font-size: 13px;
  font-weight: 700;
  color: #fef08a;
  opacity: 0.95;
}

.listing-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.listing-card-subinfo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #e2e8f0;
}

.listing-card-subinfo span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.listing-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 45px;
}

.listing-title a:hover {
  color: var(--accent-gold-hover);
}

.listing-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-location i {
  color: var(--accent-gold);
  font-size: 13.5px;
  flex-shrink: 0;
}

.listing-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #1e293b;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-item i {
  color: var(--accent-gold);
  font-size: 13px;
  width: 15px;
  flex-shrink: 0;
  text-align: center;
}

.meta-item span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-m2-banner {
  grid-column: 1 / -1;
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde047;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  margin-top: 2px;
}

.listing-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
  min-height: 22px;
}

.card-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.card-pill.pill-credit {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.card-pill.pill-swap {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.card-pill.pill-video {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.card-pill.pill-age {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

.listing-footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-detail {
  flex: 1;
  background-color: #0f172a;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-detail:hover {
  background-color: var(--accent-gold);
  color: #000000;
}

.btn-card-wa {
  background-color: #25D366;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.btn-card-wa:hover {
  background-color: #1eb956;
}

/* ---------------- Video & About Banner Section ---------------- */
.video-banner-section {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 0;
  border-top: 2px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
}

.video-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.video-info-badge {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-info-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.video-info-desc {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.video-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.video-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #e2e8f0;
}

.video-features-list li i {
  color: var(--accent-gold);
  font-size: 16px;
}

.video-player-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #334155;
  aspect-ratio: 16 / 9;
  background-color: #0f172a;
}

.video-player-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Video Banner Buttons */
.btn-video-yt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  background-color: #dc2626 !important;
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #ef4444;
  transition: all 0.25s ease;
}
.btn-video-yt:hover {
  background-color: #b91c1c !important;
  border-color: #b91c1c;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
  transform: translateY(-2px);
}

.btn-video-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  background-color: #1e293b !important;
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #334155;
  transition: all 0.25s ease;
}
.btn-video-contact:hover {
  background-color: var(--accent-gold) !important;
  border-color: var(--accent-gold) !important;
  color: #000000 !important;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
  transform: translateY(-2px);
}
.btn-video-contact:hover i {
  color: #000000 !important;
}

/* İlan Detay Aksiyon Butonları */
.btn-action-tkgm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  background: #059669;
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-action-tkgm:hover {
  background: #047857;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-action-satellite {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  background: #0284c7;
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-action-satellite:hover {
  background: #0369a1;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-action-authorized {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  background: #eab308;
  color: #000000 !important;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-action-authorized:hover {
  background: #ca8a04;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
}

.btn-action-map {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  background: #1e293b;
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-action-map:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

/* ---------------- Category Grid Cards ---------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.category-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cat-icon-box {
  width: 52px;
  height: 52px;
  background: #0f172a;
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.25s;
}

.category-card:hover .cat-icon-box {
  background: var(--accent-gold);
  color: #000000;
}

.cat-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

/* ---------------- Detail Page Layout ---------------- */
.detail-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 22px 0 24px;
  margin-bottom: 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.breadcrumb a:hover {
  color: var(--accent-gold-hover);
}

.detail-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.detail-header-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.detail-header-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
}

.detail-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
  word-break: break-word;
}

/* ---------------- Detail Header Meta Bar ---------------- */
.detail-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 2px;
  line-height: 1.5;
}

.detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
}

.detail-meta-item i {
  color: var(--accent-gold);
  font-size: 13px;
  flex-shrink: 0;
}

.detail-meta-divider {
  color: #cbd5e1;
  font-size: 12px;
  user-select: none;
}

@media (max-width: 640px) {
  .detail-meta-bar {
    gap: 6px 10px;
    font-size: 12.5px;
    margin-top: 8px;
  }
}

/* ---------------- Live Viewers Badge ---------------- */
.live-viewers-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
  box-shadow: 0 1px 3px rgba(34, 197, 94, 0.08);
  margin-top: 10px;
}

.live-viewers-badge strong {
  color: #15803d;
  font-weight: 800;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: livePulseAnim 1.8s infinite ease-in-out;
}

@keyframes livePulseAnim {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.75);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.detail-price-box {
  background: #ffffff;
  border: 2px solid #f97316;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 250px;
  transition: all 0.2s ease;
}

.detail-price-box:hover {
  border-color: #ea580c;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.18);
}

.detail-price-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #ea580c;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail-price-amount {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.detail-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .detail-grid-layout {
    grid-template-columns: 100%;
    gap: 24px;
  }
}

.detail-main-col {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.detail-sidebar-col {
  height: 100%;
  position: relative;
  align-self: stretch;
}

/* Gallery */
.gallery-main {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #090d16;
  aspect-ratio: 16 / 10;
  max-height: 560px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-md);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y pinch-zoom;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main.is-dragging {
  cursor: grabbing !important;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  background-color: #090d16;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.2s ease;
}

/* ---------------- Gallery Thumbnails Carousel ---------------- */
.gallery-thumbs-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.gallery-thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 8px 2px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(234, 179, 8, 0.4) transparent;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  flex: 1 1 0%;
  min-width: 0;
  width: 0;
  box-sizing: border-box;
}

.gallery-thumbs.is-dragging {
  cursor: grabbing !important;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 5px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

.thumb-item {
  width: 92px;
  height: 64px;
  min-width: 92px;
  max-width: 92px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  opacity: 0.65;
  background: #0f172a;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.thumb-item:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  border-color: rgba(234, 179, 8, 0.6);
}

.thumb-item.active {
  border-color: var(--accent-gold);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.35), 0 3px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.04);
}

.gallery-thumb-nav-btn {
  width: 36px;
  height: 64px;
  min-width: 36px;
  max-width: 36px;
  border-radius: var(--radius-sm);
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  z-index: 2;
}

.gallery-thumb-nav-btn:hover {
  background: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

.gallery-thumb-nav-btn:active {
  transform: scale(0.95);
}

@media (max-width: 640px) {
  .gallery-main {
    aspect-ratio: 16 / 10;
    max-height: 380px;
  }
  .gallery-thumbs-wrap {
    gap: 6px;
    margin-top: 8px;
  }
  .gallery-thumbs {
    gap: 6px;
    padding: 2px 0 6px 0;
  }
  .thumb-item {
    width: 72px;
    height: 52px;
    min-width: 72px;
    max-width: 72px;
  }
  .gallery-thumb-nav-btn {
    width: 28px;
    height: 52px;
    min-width: 28px;
    max-width: 28px;
    font-size: 12px;
  }
}

/* Spec Table */
.specs-card, .desc-card, .video-card, .map-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.card-heading {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-heading i {
  color: var(--accent-gold);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 12px 6px;
  font-size: 14px;
}

.specs-table td.label {
  color: var(--text-muted);
  font-weight: 600;
  width: 40%;
}

.specs-table td.value {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

/* Consultant Sidebar */
.consultant-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  position: -webkit-sticky;
  position: sticky;
  top: 105px;
  z-index: 10;
}

.consultant-header {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 18px;
}

.consultant-avatar {
  width: 72px;
  height: 72px;
  background: #0f172a;
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 12px;
  border: 2px solid var(--accent-gold);
}

.consultant-name {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.consultant-title {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.agency-badges {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  background: #f8fafc;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-color);
}

.consultant-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-sidebar-phone {
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-sidebar-phone:hover {
  background-color: var(--accent-gold);
  color: #000000;
}

.btn-sidebar-phone.btn-sidebar-office {
  background-color: #334155;
  color: #ffffff;
}

.btn-sidebar-phone.btn-sidebar-office:hover {
  background-color: var(--accent-gold);
  color: #000000;
}

.btn-sidebar-wa {
  background-color: #25D366;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-sidebar-wa:hover {
  background-color: #1eb956;
  color: #ffffff;
}

.btn-sidebar-direction {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 1.5px solid #334155;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn-sidebar-direction i {
  color: var(--accent-gold);
  font-size: 16px;
  transition: transform 0.2s ease;
}

.btn-sidebar-direction:hover {
  background: #1e293b;
  color: #ffffff;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
}

.btn-sidebar-direction:hover i {
  transform: scale(1.15) rotate(-5deg);
}

/* ---------------- Leaflet Map & Popups ---------------- */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
  padding: 2px !important;
  border: 1px solid #e2e8f0;
}

.leaflet-popup-content {
  margin: 12px 14px !important;
  line-height: 1.5 !important;
}

.leaflet-popup-tip {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.btn-popup-direction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #0f172a;
  color: #ffffff !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 6px;
}

.btn-popup-direction i {
  color: var(--accent-gold);
  font-size: 13px;
}

.btn-popup-direction:hover {
  background: var(--accent-gold);
  color: #000000 !important;
}

.btn-popup-direction:hover i {
  color: #000000;
}


/* ---------------- Footer ---------------- */
.site-footer {
  background-color: #000000;
  color: #94a3b8;
  padding: 60px 0 20px;
  border-top: 3px solid var(--accent-gold);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 62px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-desc {
  line-height: 1.7;
  margin-bottom: 16px;
  color: #94a3b8;
}

.footer-heading {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact-list li i {
  color: var(--accent-gold);
  margin-top: 3px;
  font-size: 15px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: #64748b;
}

/* ---------------- Floating Action Buttons ---------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: waPulse 2.5s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: #ffffff;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* ---------------- Mobile Drawer & Backdrop ---------------- */
.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  background: #0b111c;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  overflow: hidden;
}

.mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

body.mobile-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Mobile Drawer Header */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #070a12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-logo img {
  max-height: 38px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mobile-drawer-close:hover,
.mobile-drawer-close:active {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

/* Mobile Drawer Body */
.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-label {
  font-size: 11.5px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  color: #64748b;
  margin-bottom: 10px;
  padding-left: 6px;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: #f1f5f9;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-nav-item a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateX(3px);
}

.mobile-nav-item.active a {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.4);
  color: var(--accent-gold);
}

.mobile-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mobile-nav-item.active .mobile-nav-icon {
  background: var(--accent-gold);
  color: #000000;
}

.mobile-nav-item.highlight-urgent a {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.06);
}

.mobile-nav-item.highlight-urgent .urgent-icon {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.mobile-nav-item.highlight-urgent.active a {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  color: #ffffff;
}

.mobile-urgent-badge {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.mobile-nav-arrow {
  margin-left: auto;
  font-size: 12px;
  color: #475569;
  transition: all 0.2s ease;
}

.mobile-nav-item a:hover .mobile-nav-arrow {
  color: #ffffff;
  transform: translateX(3px);
}

/* Mobile Category Grid in Drawer */
.mobile-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mobile-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-cat-pill:hover,
.mobile-cat-pill.active {
  background: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
  box-shadow: 0 2px 6px rgba(234, 179, 8, 0.2);
}

.mobile-cat-pill i {
  font-size: 11px;
}

/* Mobile Drawer Footer */
.mobile-drawer-footer {
  padding: 16px 18px;
  background: #070a12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-drawer-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: all 0.2s ease;
}

.btn-drawer-wa:hover {
  background: #20ba5a;
  transform: translateY(-1px);
}

.btn-drawer-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: var(--accent-gold);
  color: #000000 !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
  transition: all 0.2s ease;
}

.btn-drawer-call:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

.mobile-drawer-contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.drawer-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.drawer-phones a {
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.drawer-phones a:hover {
  color: #ffffff;
}

.drawer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.drawer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s ease;
}

.drawer-socials a:hover {
  background: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.drawer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.drawer-badge {
  font-size: 11px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 6px;
}

/* ---------------- Responsive Styles ---------------- */
@media (max-width: 992px) {
  .nav-links {
    display: none !important;
  }
  
  .mobile-toggle {
    display: inline-flex !important;
  }
  
  .top-bar {
    padding: 9px 0;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .top-bar-left {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .top-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    width: 100%;
  }

  .top-phone-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12.5px;
  }

  .top-phone-item a {
    color: #ffffff;
    font-weight: 700;
  }

  .top-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    width: 100%;
  }

  .top-bar-right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    width: 100%;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .detail-grid-layout {
    grid-template-columns: 1fr;
  }
  
  .video-banner-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-bar-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .filter-col-search {
    grid-column: 1 / -1;
  }
  .filter-col-actions {
    grid-column: 1 / -1;
  }
  .filter-action-spacer {
    display: none;
  }
  .filter-buttons-inline {
    width: 100%;
  }
  .filter-buttons-inline .btn-filter-submit {
    flex: 1;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 24px;
  }
  
  .search-form-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .header-actions {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .search-card {
    padding: 16px 12px;
    border-radius: 14px;
  }

  .search-type-tab .tab-badge {
    padding: 6px 12px;
    font-size: 12px;
    gap: 5px;
  }

  .top-phones {
    gap: 6px 8px;
  }

  .top-phone-item {
    font-size: 11.5px;
    padding: 3px 9px;
  }

  .top-badge {
    font-size: 10.5px;
    padding: 2px 7px;
  }

  .top-consultant {
    font-size: 11.5px;
  }

  .social-links a {
    width: 26px;
    height: 26px;
    font-size: 12.5px;
  }
}


/* ---------------- Clean Price Badge & M2 Banner ---------------- */
.meta-m2-banner {
  grid-column: 1 / -1;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: 6px;
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.m2-banner-label {
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  display: inline-flex;
  align-items: center;
}

.m2-banner-val {
  font-size: 12.5px;
  font-weight: 800;
  color: #000000;
  background: #fde047;
  padding: 2px 9px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.detail-m2-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  color: #c2410c;
  border: 1.5px solid #fed7aa;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 800;
  margin-top: 4px;
}

.detail-m2-pill i {
  color: #ea580c;
}

/* ---------------- Related Listings Carousel ---------------- */
.related-listings-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
  position: relative;
  width: 100%;
  max-width: 100%;
}

.related-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.related-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-section-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 4px 0 0 0;
  font-weight: 500;
}

.related-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.related-nav-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000000;
  transform: scale(1.06);
}

.related-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-md);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y pinch-zoom;
}

.related-carousel-wrapper.is-dragging {
  cursor: grabbing !important;
}

.related-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 24px;
  width: 100%;
  will-change: transform;
}

.related-carousel-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  box-sizing: border-box;
}

.related-carousel-slide .listing-card {
  height: 100%;
  margin: 0;
}

/* Dots Indicators */
.related-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}

.related-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.related-dot.active {
  width: 24px;
  background: var(--accent-gold);
}

@media (max-width: 991px) {
  .related-carousel-slide {
    flex: 0 0 calc((100% - 20px) / 2);
  }
  .related-carousel-track {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .related-carousel-slide {
    flex: 0 0 100%;
  }
  .related-carousel-track {
    gap: 16px;
  }
  .related-section-title {
    font-size: 19px;
  }
  .related-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}

/* ---------------- Reusable Section Carousel Controls & Dots ---------------- */
.section-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.section-nav-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000000;
  transform: scale(1.06);
}

.section-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap;
  max-width: 100%;
}

.section-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.section-dot.active {
  width: 24px;
  background: var(--accent-gold);
}

/* ---------------- Category Carousel ---------------- */
.category-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-md);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y pinch-zoom;
  padding: 4px 2px 8px 2px;
}

.category-carousel-wrapper.is-dragging {
  cursor: grabbing !important;
}

.category-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 16px;
  width: 100%;
  will-change: transform;
}

.category-carousel-slide {
  flex: 0 0 calc((100% - (16px * 5)) / 6);
  min-width: 0;
  box-sizing: border-box;
}

.category-carousel-slide .category-card {
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

@media (max-width: 1199px) {
  .category-carousel-slide {
    flex: 0 0 calc((100% - (16px * 4)) / 5);
  }
}

@media (max-width: 991px) {
  .category-carousel-slide {
    flex: 0 0 calc((100% - (16px * 3)) / 4);
  }
}

@media (max-width: 767px) {
  .category-carousel-slide {
    flex: 0 0 calc((100% - (14px * 2)) / 3);
  }
  .category-carousel-track {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .category-carousel-slide {
    flex: 0 0 calc((100% - 12px) / 2);
  }
  .category-carousel-track {
    gap: 12px;
  }
  .category-card {
    padding: 16px 10px;
    gap: 8px;
  }
  .cat-icon-box {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .cat-name {
    font-size: 13.5px;
  }
  .section-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}

/* ---------------- Why Us Carousel ---------------- */
.why-us-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-us-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.why-us-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
  transition: all 0.25s ease;
}

.why-us-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.why-us-card-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* Masaüstü Görünümü (> 991px): Sabit 3'lü Grid, Oklar ve Noktalar Gizli */
@media (min-width: 992px) {
  .why-us-carousel-wrapper {
    overflow: visible !important;
    cursor: default !important;
    touch-action: auto !important;
    padding: 0 !important;
  }
  .why-us-carousel-track {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    transform: none !important;
    transition: none !important;
    width: 100% !important;
  }
  .why-us-carousel-slide {
    flex: none !important;
    width: 100% !important;
  }
  .why-us-section .section-carousel-controls,
  .why-us-section .section-carousel-dots {
    display: none !important;
  }
}

/* Mobil & Tablet Görünümü (<= 991px): Akıcı Carousel Aktif */
@media (max-width: 991px) {
  .why-us-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-md);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y pinch-zoom;
    padding: 6px 2px 10px 2px;
  }
  .why-us-carousel-wrapper.is-dragging {
    cursor: grabbing !important;
  }
  .why-us-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 20px;
    width: 100%;
    will-change: transform;
  }
  .why-us-carousel-slide {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: 0;
    box-sizing: border-box;
  }
  .why-us-section .section-carousel-controls {
    display: inline-flex;
  }
  .why-us-section .section-carousel-dots {
    display: flex;
  }
}

@media (max-width: 640px) {
  .why-us-carousel-slide {
    flex: 0 0 100%;
  }
  .why-us-carousel-track {
    gap: 16px;
  }
  .why-us-card {
    padding: 24px 18px;
  }
}

@media (max-width: 991px) {
  .detail-title-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .detail-header-side {
    align-items: stretch;
    width: 100%;
  }
  .detail-price-box {
    width: 100%;
    align-items: flex-start;
    min-width: unset;
    padding: 14px 20px;
  }
}

/* ---------------- Legal Policy Modal ---------------- */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease-in-out;
  padding: 20px;
}

.legal-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.legal-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: all 0.25s ease-in-out;
  border: 1px solid #e2e8f0;
}

.legal-modal-backdrop.active .legal-modal-card {
  transform: translateY(0) scale(1);
}

.legal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #0f172a;
  color: #ffffff;
}

.legal-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.legal-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.legal-modal-close:hover {
  color: #ffffff;
}

.legal-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  color: #334155;
  font-size: 14.5px;
  line-height: 1.7;
}

.legal-modal-footer {
  padding: 14px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
}

.btn-legal-close {
  background: #0f172a;
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-legal-close:hover {
  background: #1e293b;
  color: var(--accent-gold);
}


/* ---------------- Filter Action Button Group ---------------- */
.filter-action-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100%;
  height: 44px;
}

.filter-action-group .btn-search {
  flex: 1;
  height: 44px;
  background-color: var(--accent-gold);
  color: #000000;
  font-weight: 800;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.2);
}

.filter-action-group .btn-search:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.filter-action-group .btn-reset {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background-color: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-action-group .btn-reset:hover {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: rotate(90deg);
}

.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.active-filter-chip:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

.active-filter-chip i {
  font-size: 11px;
}


/* ---------------- Footer Social Action Buttons ---------------- */
.footer-social-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
  width: fit-content;
  max-width: 100%;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  filter: brightness(1.1);
  color: #ffffff;
}

.footer-social-btn.btn-yt {
  background: #dc2626;
  color: #ffffff;
}

.footer-social-btn.btn-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}

.footer-social-btn.btn-fb {
  background: #1877f2;
  color: #ffffff;
}

.footer-social-btn.btn-tiktok {
  background: #09090b;
  color: #ffffff;
  border: 1px solid #3f3f46;
}

/* ---------------- Gallery Overlays & Controls ---------------- */
.gallery-main {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 10;
  margin-bottom: 12px;
  box-shadow: var(--shadow-md);
  cursor: grab;
}

.gallery-top-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  z-index: 10;
}

.gallery-action-pill {
  border: none;
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: all 0.25s ease;
  user-select: none;
  text-decoration: none;
}

.gallery-action-pill.btn-fullscreen {
  background: #eab308;
  color: #000000;
  border: 1px solid rgba(234, 179, 8, 0.5);
}

.gallery-action-pill.btn-fullscreen:hover {
  background: #ca8a04;
  color: #000000;
  transform: scale(1.05);
}

.gallery-action-pill.btn-video-badge {
  background: #dc2626;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45);
}

.gallery-action-pill.btn-video-badge i {
  font-size: 14px;
}

.gallery-action-pill.btn-video-badge:hover {
  background: #b91c1c;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.6);
}

.gallery-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.thumb-video-item {
  position: relative;
  overflow: hidden;
}

.thumb-video-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  text-align: center;
  padding: 2px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.thumb-video-item.active .thumb-video-badge {
  background: #dc2626;
}

.gallery-fullscreen-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.25s ease;
  z-index: 5;
  pointer-events: none;
}

.gallery-main:hover .gallery-fullscreen-badge {
  background: var(--accent-gold);
  color: #000000;
  transform: scale(1.04);
}

.gallery-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 6;
}

.gallery-arrow-btn:hover {
  background: var(--accent-gold);
  color: #000000;
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow-btn.prev-btn {
  left: 14px;
}

.gallery-arrow-btn.next-btn {
  right: 14px;
}

.gallery-counter-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

/* ---------------- Fullscreen Lightbox Modal ---------------- */
.photo-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 12, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px;
  box-sizing: border-box;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  color: #ffffff;
  z-index: 10;
}

.lightbox-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lightbox-title {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  max-width: 500px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-gold);
}

.lightbox-action-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-action-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
  transform: rotate(90deg) scale(1.1);
}

.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 10px 0;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y pinch-zoom;
}

.lightbox-img-wrapper.is-dragging {
  cursor: grabbing !important;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-video-wrapper {
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
}

.lightbox-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--accent-gold);
  color: #000000;
  transform: translateY(-50%) scale(1.12);
}

.lightbox-nav-btn.nav-prev {
  left: 20px;
}

.lightbox-nav-btn.nav-next {
  right: 20px;
}

.lightbox-thumbs-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 10px;
  max-width: 100%;
  z-index: 10;
}

.lb-thumb {
  width: 64px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.lb-thumb.active, .lb-thumb:hover {
  opacity: 1;
  border-color: var(--accent-gold);
  transform: scale(1.08);
}

.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- Mathematical Captcha Box ---------------- */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.captcha-label {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.captcha-badge {
  background: #0f172a;
  color: #f59e0b;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  user-select: none;
}

.captcha-input {
  width: 75px !important;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  border: 1.5px solid #94a3b8 !important;
  border-radius: 4px;
  padding: 6px 8px !important;
}

.captcha-input:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}

/* ---------------- Success Popup Modal ---------------- */
.popup-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.popup-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 30px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0,0,0,0.06);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-modal-backdrop.active .popup-modal-card {
  transform: scale(1) translateY(0);
}

.popup-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.popup-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.popup-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.popup-modal-icon.success {
  background: #dcfce7;
  color: #16a34a;
  box-shadow: 0 0 0 10px rgba(220, 252, 231, 0.4);
  animation: pulseSuccess 2s infinite;
}

.popup-modal-icon.error {
  background: #fee2e2;
  color: #dc2626;
  box-shadow: 0 0 0 10px rgba(254, 226, 226, 0.5);
  animation: pulseError 2s infinite;
}

@keyframes pulseSuccess {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@keyframes pulseError {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.popup-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.popup-modal-text {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

.popup-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-popup-confirm {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-popup-confirm:hover {
  background: var(--accent-gold);
  color: #000000;
}

.btn-popup-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-popup-whatsapp:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .lightbox-nav-btn.nav-prev { left: 8px; }
  .lightbox-nav-btn.nav-next { right: 8px; }
  .lightbox-title { max-width: 200px; font-size: 13px; }
  .lightbox-img-wrapper { max-height: 65vh; }
  .lightbox-img-wrapper img { max-height: 65vh; }
  .lb-thumb { width: 50px; height: 38px; }
}

@media (max-width: 768px) {
  .site-logo img {
    height: 56px;
  }
}

/* ---------------- Site Toast Notification & Input Validation ---------------- */
.site-toast-notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999999;
  background: #0f172a;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  border-left: 5px solid var(--accent-gold);
  opacity: 0;
  transform: translateY(-15px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-toast-notification.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-toast-notification.toast-warning {
  background: #1e1b4b;
  color: #fef08a;
  border-left-color: #f59e0b;
  border: 1px solid #f59e0b;
}

.site-toast-notification.toast-error {
  background: #7f1d1d;
  color: #fee2e2;
  border-left-color: #ef4444;
}

.site-toast-notification i {
  font-size: 18px;
  color: var(--accent-gold);
}

.form-control.is-invalid-price {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
  animation: shakePriceInput 0.35s ease-in-out;
}

@keyframes shakePriceInput {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

/* ========================================================
   RESPONSIVE CMS PAGES & CONTACT LAYOUT
   ======================================================== */
.page-content-container {
  padding: 35px 20px 70px;
}

/* CMS Page Layout (sayfa.php) */
.cms-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.cms-page-main {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.cms-page-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-gold);
}

.cms-page-body {
  line-height: 1.8;
  color: #334155;
  font-size: 15.5px;
  word-break: break-word;
}

.cms-page-sidebar {
  min-width: 0;
}

/* Contact Page Layout (iletisim.php) */
.contact-offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.contact-office-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.contact-form-card,
.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Responsive Media Queries for Pages */
@media (max-width: 991px) {
  .page-content-container {
    padding: 24px 14px 50px;
  }

  .cms-page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cms-page-main {
    padding: 22px 16px;
    border-radius: 12px;
  }

  .cms-page-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 22px 16px;
    border-radius: 12px;
  }

  .contact-offices-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .cms-page-main,
  .contact-form-card,
  .contact-info-card {
    padding: 18px 14px;
  }

  .breadcrumb {
    font-size: 12.5px;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px !important;
  }
}

/* ======================================================== */
/* HERO DYNAMIC CAROUSEL SLIDER (10 SLIDES)                 */
/* ======================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 540px;
  background: #090d16;
  overflow: hidden;
}
@media (max-width: 991px) {
  .hero-slider-section {
    height: 480px;
  }
}
@media (max-width: 576px) {
  .hero-slider-section {
    height: 440px;
  }
}
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.04);
  display: flex;
  align-items: center;
}
.hero-slide-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 13, 22, 0.90) 0%, rgba(9, 13, 22, 0.65) 50%, rgba(9, 13, 22, 0.35) 100%),
              linear-gradient(0deg, rgba(9, 13, 22, 0.92) 0%, rgba(9, 13, 22, 0) 50%);
  pointer-events: none;
}
.hero-slide-container {
  position: relative;
  z-index: 3;
  padding-top: 20px;
  padding-bottom: 20px;
}
.hero-slide-content {
  max-width: 680px;
}
.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.45);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.hero-slide-title {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 991px) {
  .hero-slide-title {
    font-size: 28px;
  }
}
@media (max-width: 576px) {
  .hero-slide-title {
    font-size: 22px;
  }
}
.hero-slide-subtitle {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 26px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 576px) {
  .hero-slide-subtitle {
    font-size: 13.5px;
    margin-bottom: 18px;
  }
}
.hero-slide-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #eab308;
  color: #0f172a;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(234, 179, 8, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-slide-cta:hover {
  background: #facc15;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.45);
}
.btn-slide-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}
.btn-slide-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Slide Navigation Arrows */
.hero-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.hero-slide-arrow:hover {
  background: #eab308;
  color: #0f172a;
  border-color: #eab308;
  transform: translateY(-50%) scale(1.08);
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }
@media (max-width: 991px) {
  .hero-slide-arrow {
    display: none !important;
  }
}

/* Bottom Controls */
.hero-slider-bottom-bar {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  pointer-events: auto;
}
.hero-slide-counter {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.5px;
}
.hero-slide-counter .current-num {
  color: #facc15;
}
.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-dot {
  width: 24px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}
.hero-dot.active {
  width: 44px;
  background: #eab308;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.6);
}
.hero-slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 12;
}
.hero-slider-progress-bar .progress-fill {
  height: 100%;
  width: 0%;
  background: #eab308;
}




