/* ═══════════════════════════════════════════
   ESTETIK HIZMET KATALOĞU — STYLES
   ═══════════════════════════════════════════ */

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Görselde gizle, ekran okuyucu ve botlar için metin (H1 vb.) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
}

:root {
  /* Virtuana Medikal Estetik — Görsel Kimlik */
  --navy: #1A1A3A;           /* Derin Lacivert / İndigo — otorite */
  --navy-light: #252550;
  --navy-soft: #F0F0F5;
  --bg: #FFFFFF;              /* Optik Beyaz — klinik ferahlık */
  --bg-card: #F0F0F5;         /* Hafif lavanta gri */
  --bg-hero: #FFFFFF;
  --bg-modal: #FFFFFF;
  --bg-pill: #F0F0F5;
  --bg-pill-active: #7EC8E3;  /* Buz Mavisi — yenilenme */
  --text: #1A1A3A;
  --text-secondary: #3D3D6B;
  --text-muted: #8B8BA8;
  --accent: #7EC8E3;
  --accent-light: #A8DCF0;
  --border: #D3D3D3;          /* Gümüş Grisi — yumuşak sınır */
  
  /* Premium Soft Shadows */
  --shadow: 0 4px 16px rgba(26,26,58,0.10);
  --shadow-lg: 0 8px 24px rgba(26,26,58,0.16);
  
  --wa-green: #25D366;
  --wa-green-dark: #1DA851;
  --danger: #c53030;
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.25s ease;

  /* Mermer / Premium zemin */
  --marble-bg: #FFFFFF;

  /* Typography — Inter + Playfair Display */
  --font-serif: "Playfair Display", "Georgia", serif;
  --font-script: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", "Helvetica Neue", sans-serif;

  /* Landing alias */
  --clr-bg: var(--bg);
  --clr-cream: var(--bg-card);
  --clr-heading: var(--navy);
  --clr-text-soft: var(--text-secondary);
  --clr-card: var(--bg-card);
  --clr-border: var(--border);
  --clr-accent: var(--accent);
  --clr-pill: var(--bg-pill);
  --clr-text: var(--text);
  --ff-serif: var(--font-serif);
}

[data-theme="dark"] {
  --bg: #111127;              /* Koyu indigo — biraz daha açık */
  --bg-card: #1E1E42;
  --bg-hero: #111127;
  --bg-modal: #1E1E42;
  --bg-pill: #1E1E42;
  --bg-pill-active: #7EC8E3;
  --text: #F5F5FA;            /* Daha parlak beyaz */
  --text-secondary: #D0D0E5;
  --text-muted: #A0A0C0;
  --navy: #F5F5FA;
  --navy-light: #F8F8FC;
  --navy-soft: #1E1E42;
  --accent: #7EC8E3;
  --accent-light: #A8DCF0;
  --border: #333365;
  --shadow: 0 4px 16px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.35);
  --marble-bg: #111127;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
  padding-bottom: 100px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── HERO (lacivert & beyaz, mermer) ── */
.hero {
  background: var(--marble-bg);
  padding: 52px 16px 40px;
  text-align: center;
  position: relative;
}

.hero__inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
  text-decoration: none;
  background: transparent;
}

.hero__logo {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  vertical-align: middle;
}

.hero__logo--light {
  background: transparent;
}

/* Gece modu: beyaz logoyu göster (tema html'de data-theme="dark") */
.hero__logo--dark {
  display: none;
}
[data-theme="dark"] .hero__logo--light {
  display: none;
}
[data-theme="dark"] .hero__logo--dark {
  display: block;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
}

.hero__actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero__ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  background: var(--accent);
  color: var(--navy);
  border: none;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(21, 15, 61, 0.25);
}

.hero__ai-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(21, 15, 61, 0.35);
}

.hero__print-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.hero__print-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-card);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 10;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.theme-toggle__icon--moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  display: inline;
}

/* ── SEARCH BAR ── */
.search-bar {
  padding: 16px 0 0;
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg);
  transition: background var(--transition);
}

.search-bar__wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-bar__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-bar__input {
  width: 100%;
  padding: 12px 40px 12px 44px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--bg-card);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-bar__input::placeholder {
  color: var(--text-muted);
}

.search-bar__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(21, 15, 61, 0.12);
}

.search-bar__clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: var(--bg-pill);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-muted);
  display: none;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.search-bar__clear.visible {
  display: flex;
}

.search-bar__clear:hover {
  background: var(--accent-light);
  color: var(--text);
}

/* ── CATEGORY BAR ── */
.category-bar {
  position: sticky;
  top: 56px;
  z-index: 89;
  background: var(--bg);
  padding: 12px 0;
  transition: background var(--transition);
}

.category-bar__scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-bar__scroll::-webkit-scrollbar {
  display: none;
}

.pill {
  flex-shrink: 0;
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--bg-pill);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pill--active {
  background: var(--bg-pill-active);
  color: var(--navy);
  border-color: var(--bg-pill-active);
}

.pill--fav {
  background: transparent;
  border-color: var(--danger);
  color: var(--danger);
}

.pill--fav.pill--active {
  background: var(--danger);
  color: #fff;
}

/* ── QUICK FILTERS ── */
.quick-filters {
  padding: 8px 0 4px;
}

.quick-filters .container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-filters__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.quick-filters__list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.qf-pill {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.qf-pill:hover {
  border-color: var(--accent);
}

.qf-pill--active {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}

/* ── RESULTS COUNT ── */
.results-count {
  padding: 10px 0 2px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 12px 0 24px;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ── SERVICE CARD ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card:nth-child(even) {
  background: var(--bg);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

.card__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  transition: transform var(--transition);
}

[data-theme="dark"] .card__fav {
  background: rgba(42, 35, 24, 0.85);
}

.card__fav:hover {
  transform: scale(1.15);
}

.card__fav--active {
  animation: heartPop 0.35s ease;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card__image:hover img {
  transform: scale(1.04);
}

.card__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-pill) 0%, var(--accent-light) 100%);
}

.card__image-icon {
  font-size: 2.2rem;
  line-height: 1;
  filter: grayscale(0.2);
}

.card__image-hint {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}


.card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__category {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.card__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.card__price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}

.card__price-note {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.card__wa {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--wa-green);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  z-index: 2;
 color: var(--navy);}

.card__wa:hover {
  background: var(--wa-green-dark);
  transform: scale(1.1);
}

.card__wa svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── MODAL / BOTTOM SHEET ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--bg-modal);
  width: 100%;
  max-height: 92vh;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  position: relative;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .modal-overlay {
    align-items: center;
  }

  .modal {
    max-width: 640px;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    transform: translateY(30px) scale(0.97);
    opacity: 0;
  }

  .modal-overlay.open .modal {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal__close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-pill);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition);
}

.modal__close:hover {
  background: var(--accent-light);
}

.modal__body {
  padding: 20px 20px 32px;
}

.modal__handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 16px;
}

@media (min-width: 768px) {
  .modal__handle {
    display: none;
  }
}

.modal__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.modal__cat {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 16px;
}

.modal__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.modal__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.modal__meta-icon {
  font-size: 1.1rem;
}

.modal__price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.modal__price-note {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal__section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 20px 0 8px;
  color: var(--text);
}

.modal__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Before/After Slider */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 16px 0;
  cursor: col-resize;
  background: var(--bg-pill);
  touch-action: none;
  user-select: none;
}

.ba-slider__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.ba-slider__after-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.ba-slider__after-wrap .ba-slider__img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 200%;
  max-width: none;
  object-fit: contain;
  object-position: left top;
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #fff;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}

.ba-slider__handle::after {
  content: "⟨ ⟩";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 4px;
}

.ba-slider__label {
  position: absolute;
  bottom: 8px;
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 3;
}

.ba-slider__label--before {
  left: 8px;
}

.ba-slider__label--after {
  right: 8px;
}

.ba-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--bg-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 16px 0;
}

/* Modal Actions */
.modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--primary {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.btn--wa {
  background: var(--wa-green);
  color: var(--navy);
  border-color: var(--wa-green);
}

.btn--wa:hover {
  background: var(--wa-green-dark);
  border-color: var(--wa-green-dark);
  color: #fff;
}

.btn--compare {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--compare.added {
  background: var(--accent);
  color: var(--navy);
}

/* Related chips */
.modal__related {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.related-chip {
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--bg-pill);
  color: var(--text-secondary);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.related-chip:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── COMPARE BAR ── */
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.compare-bar.visible {
  transform: translateY(0);
}

.compare-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.compare-bar__items {
  display: flex;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}

.compare-bar__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-pill);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text);
}

.compare-bar__chip-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 0;
  line-height: 1;
}

.compare-bar__chip-remove:hover {
  color: var(--danger);
}

.compare-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.compare-bar__total {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  white-space: nowrap;
}

/* ── COMPARE TABLE OVERLAY ── */
.compare-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.compare-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.compare-table-wrap {
  background: var(--bg-modal);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 95%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.compare-overlay.open .compare-table-wrap {
  transform: scale(1);
}

.compare-table__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.compare-table-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.compare-table td {
  color: var(--text);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

/* ── FIXED WhatsApp FAB ── */
.fab-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 100;
  transition: transform var(--transition), box-shadow var(--transition);
 color: var(--navy);}

.fab-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.fab-wa.shifted {
  bottom: 90px;
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-card);
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-secondary);
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TOAST ── */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  padding: 10px 20px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.85rem;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-10px);
  animation: toastIn 0.3s ease forwards, toastOut 0.3s ease 2.5s forwards;
  pointer-events: auto;
  white-space: nowrap;
}

@keyframes toastIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* ── PRINT ── */
@media print {
  .no-print,
  .fab-wa,
  .float-wa,
  .float-ig,
  .scroll-top,
  .compare-bar,
  .toast-container {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    padding-bottom: 0;
  }

  .hero {
    background: none;
    padding: 24px 0;
  }

  .hero__title {
    color: #000;
    font-size: 1.8rem;
  }

  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .card__wa {
    display: none;
  }

  .card__fav {
    display: none;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.4s ease both;
}

.card:nth-child(2) { animation-delay: 0.05s; }
.card:nth-child(3) { animation-delay: 0.1s; }
.card:nth-child(4) { animation-delay: 0.15s; }
.card:nth-child(5) { animation-delay: 0.2s; }
.card:nth-child(6) { animation-delay: 0.25s; }

/* ── FOOTER ── */
.site-footer {
  text-align: center;
  padding: 32px 16px 16px;
}

.site-footer__admin {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0.4;
  transition: opacity var(--transition);
}

.site-footer__admin:hover {
  opacity: 1;
  color: var(--accent);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 12px;
}

.site-footer__nav a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer__nav a:hover {
  color: var(--accent);
}

/* ── Çerez banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  padding: 14px 20px;
  background: var(--bg-card, #1a1a1a);
  color: var(--text-soft, #ccc);
  font-size: 0.875rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner__text {
  margin: 0;
}

.cookie-banner__text a {
  color: var(--accent, #c76b8a);
  text-decoration: underline;
}

.cookie-banner__text a:hover {
  opacity: 0.9;
}

.cookie-banner__btn {
  padding: 8px 18px;
  background: var(--accent, #c76b8a);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-banner__btn:hover {
  opacity: 0.95;
}


/* ═══════════════════════════════════════════
   UNIFIED AUTH — STYLES
   ═══════════════════════════════════════════ */

/* ─── Login Overlay ─── */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg, #faf7f2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

[data-theme="dark"] .auth-overlay {
  background: var(--bg, #1a1612);
}

.auth-card {
  background: var(--bg-card, #fff);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  max-width: 400px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

[data-theme="dark"] .auth-card {
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

.auth-card__icon {
  font-size: 3rem;
  margin-bottom: .25rem;
}

.auth-card__title {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text, #3b2f2f);
}

.auth-card__sub {
  font-size: .9rem;
  color: var(--text-muted, #9a8a7d);
  margin-bottom: .5rem;
}

.auth-input {
  padding: .7rem .9rem;
  border: 1.5px solid var(--border, #e8ddd2);
  border-radius: 12px;
  background: var(--bg, #faf7f2);
  color: var(--text, #3b2f2f);
  font-family: var(--font-sans, "Outfit", sans-serif);
  font-size: .9rem;
  width: 100%;
  transition: border-color .25s;
}

.auth-input:focus {
  outline: none;
  border-color: var(--accent, #c9a96e);
}

.auth-btn {
  padding: .75rem 1.5rem;
  background: var(--accent, #c9a96e);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-sans, "Outfit", sans-serif);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .25s;
  width: 100%;
}

.auth-btn:hover { opacity: .85; }
.auth-btn:disabled { opacity: .5; cursor: not-allowed; }

.auth-error {
  color: #e74c3c;
  font-size: .82rem;
  margin-top: .25rem;
}

.auth-back {
  font-size: .82rem;
  color: var(--text-muted, #9a8a7d);
  text-decoration: none;
  margin-top: .5rem;
  transition: color .2s;
}
.auth-back:hover { color: var(--accent, #c9a96e); }

/* ─── User Bar (public pages, bottom-left) ─── */
.auth-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 100;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border, #e8ddd2);
  border-radius: 999px;
  padding: .35rem .75rem .35rem .35rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  font-family: var(--font-sans, "Outfit", sans-serif);
  transition: background .25s, border-color .25s;
}

.auth-bar__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent, #c9a96e);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-bar__name {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text, #3b2f2f);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-bar__logout {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s;
  padding: 0;
  line-height: 1;
}
.auth-bar__logout:hover { opacity: 1; }

/* ═══════════════════════════════════════════
   HOME AUTH (index.html — inline section)
   ═══════════════════════════════════════════ */

.auth-home {
  padding: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ─ Login form ─ */
.auth-home--login { text-align: center; }

.auth-home__title {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text, #1a1a3a);
  margin: 0 0 .2rem;
}
[data-theme="dark"] .auth-home__title { color: #fff; }

.auth-home__sub {
  font-size: .8rem;
  color: var(--text-secondary, #3d3d6b);
  margin: 0 0 1rem;
}
[data-theme="dark"] .auth-home__sub { color: rgba(255,255,255,0.55); }

.auth-home__oauth {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: .6rem;
}

.auth-home__oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border: 1px solid var(--border, #d3d3d3);
  border-radius: .6rem;
  background: var(--bg, #fff);
  color: var(--text, #1a1a3a);
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.auth-home__oauth-btn:hover {
  border-color: var(--violet, #7c3aed);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
}
[data-theme="dark"] .auth-home__oauth-btn {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}

.auth-home__oauth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
}

.auth-home__divider {
  font-size: .72rem;
  color: var(--text-muted, #8b8ba8);
  margin: .25rem 0 .5rem;
}

.auth-home__switch {
  background: none;
  border: none;
  font-size: .78rem;
  color: var(--violet, #7c3aed);
  cursor: pointer;
  padding: .3rem 0;
  font-family: var(--font-sans, "Inter", sans-serif);
  text-decoration: none;
  transition: opacity .2s;
}
.auth-home__switch:hover { text-decoration: underline; opacity: .85; }

.auth-home__form {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-align: left;
}
.auth-home__form[hidden] {
  display: none;
}

.auth-home__form--signup .auth-home__switch,
.auth-home__form--login .auth-home__switch {
  margin-top: .15rem;
  text-align: center;
}

.auth-home__row {
  display: flex;
  gap: .4rem;
}
.auth-home__row > * {
  flex: 1;
  min-width: 0;
}

.auth-home__input {
  padding: .55rem .75rem;
  border: 1px solid var(--border, #d3d3d3);
  border-radius: .55rem;
  background: var(--bg, #fff);
  color: var(--text, #1a1a3a);
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: .85rem;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color .2s;
}
.auth-home__input:focus {
  border-color: var(--violet, #7c3aed);
}
[data-theme="dark"] .auth-home__input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}

.auth-home__btn {
  padding: .6rem 1rem;
  background: linear-gradient(135deg, var(--violet, #7c3aed), #5b21b6);
  color: #fff;
  border: none;
  border-radius: .55rem;
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  width: 100%;
}
.auth-home__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}
.auth-home__btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.auth-home__error {
  color: #dc2626;
  font-size: .78rem;
  margin-top: .3rem;
  padding: .4rem .6rem;
  background: rgba(220, 38, 38, 0.08);
  border-radius: .4rem;
  text-align: center;
}

/* ─ Profile card ─ */
.auth-home--profile {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.auth-home__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet, #7c3aed), #5b21b6);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-home__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.auth-home__name {
  font-weight: 600;
  font-size: .88rem;
  color: var(--text, #1a1a3a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="dark"] .auth-home__name { color: #fff; }

.auth-home__email {
  font-size: .72rem;
  color: var(--text-muted, #8b8ba8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-home__logout {
  background: none;
  border: 1px solid var(--border, #d3d3d3);
  border-radius: .5rem;
  padding: .35rem .65rem;
  font-size: .75rem;
  font-family: var(--font-sans, "Inter", sans-serif);
  color: var(--text-muted, #8b8ba8);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.auth-home__logout:hover {
  border-color: #dc2626;
  color: #dc2626;
}
[data-theme="dark"] .auth-home__logout {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
}

@media print {
  .auth-bar,
  .auth-home { display: none !important; }
}

/* Alt sayfalarda Giriş dropdown ve Randevu Al butonunu gizle — sadece ana sayfada göster */
body:not(.landing-page) .landing-auth-dropdown,
body:not(.landing-page) .pos-btn--hide-mobile,
body:not(.landing-page) .pos-navbar__actions .pos-btn--outline {
  display: none !important;
}

/* ═══════════════════════════════════════════
   BLOG — STYLES
   ═══════════════════════════════════════════ */

.hero__top-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero__top-actions .theme-toggle {
  position: static;
}

.hero__back {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 12px;
  transition: opacity var(--transition);
}

.hero__back:hover {
  opacity: 0.7;
}

/* ── BLOG LISTING ── */
.blog-section {
  margin-top: 32px;
  padding-bottom: 60px;
}

.blog-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.blog-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 400px;
}

.blog-search-wrap__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  pointer-events: none;
}

.blog-search {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
}

.blog-search:focus {
  outline: none;
  border-color: var(--accent);
}

/* ── Tema Kartları Grid ── */
.blog-themes {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.blog-themes::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

@media (max-width: 768px) {
  .blog-themes {
    gap: 8px;
  }
}

.theme-card {
  flex: 0 0 auto;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-family: var(--font-sans);
}

.theme-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.theme-card.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.theme-card__emoji {
  font-size: 1.6rem;
  line-height: 1;
}

.theme-card__name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

.theme-card__count {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 1px 8px;
  border-radius: 50px;
}

.theme-card.active .theme-card__count {
  background: rgba(255,255,255,0.3);
  color: var(--navy);
}

/* ── Alt Kategori Pill'leri ── */
.blog-subcats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  animation: slideDown 0.2s ease;
}

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

.blog-subcat {
  padding: 5px 12px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--bg);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.blog-subcat:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-subcat.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

.blog-subcat__badge {
  font-size: 0.68rem;
  opacity: 0.7;
  margin-left: 3px;
}

.blog-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.blog-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── BLOG CARD ── */
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-pill);
}

.blog-card__img-placeholder {
  width: 100%;
  height: 200px;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-card__cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  width: fit-content;
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.blog-card__summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.blog-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── POST DETAIL ── */
.hero--post {
  padding-bottom: 24px;
}

.post-hero__cat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.post-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.post-hero__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.post-hero__meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding-top: 36px;
  padding-bottom: 60px;
}

.post-loading {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
}

/* Mobilde kaydırma: Android/iOS’ta dokunmatik scroll akıcı olsun */
.blog-section,
.post-container {
  -webkit-overflow-scrolling: touch;
}
.post-content {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Post content (rendered markdown) */
.post-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  transition: background var(--transition);
}

.post-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-light);
}

.post-content h2:first-child {
  margin-top: 0;
}

/* blog-post.html: hero #postHero yoksa içerik alanında gösterilir */
.post-content .post-hero__meta {
  margin-bottom: 24px;
}

.post-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--accent);
}

.post-content p {
  margin: 12px 0;
}

.post-content ul, .post-content ol {
  margin: 12px 0;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 6px;
}

.post-content strong {
  color: var(--accent);
  font-weight: 600;
}

.post-content em {
  color: var(--text-muted);
  font-style: italic;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.post-content th, .post-content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.post-content th {
  background: var(--bg-pill);
  font-weight: 600;
}

.post-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--bg-pill);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* Static pages: SSS, Hakkımızda, İletişim, Gizlilik */
.static-content.prose p { margin: 12px 0; }
.faq-item { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.faq-item__q { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.faq-item__a { font-size: 0.95rem; line-height: 1.7; color: var(--text-secondary); }
.contact-block p { margin: 10px 0; }
.contact-block a { color: var(--accent); text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.static-loading { color: var(--text-muted); margin: 1rem 0; }

/* Sidebar */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: background var(--transition);
}

.sidebar-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sidebar-related {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-related__link {
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.sidebar-related__link:hover {
  color: var(--accent);
}

.sidebar-related__link::before {
  content: "→";
  color: var(--accent);
  flex-shrink: 0;
}

.sidebar-cta {
  text-align: center;
}

.sidebar-cta__icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.sidebar-cta__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.sidebar-cta .btn {
  width: 100%;
  justify-content: center;
}

/* Share buttons */
.share-btns {
  display: flex;
  gap: 8px;
}

.share-btn {
  flex: 1;
  padding: 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
}

.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .post-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .post-content {
    padding: 24px 18px;
  }
}

@media (max-width: 480px) {
  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search-wrap {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════
   LOGIN MODAL
   Korumalı sayfalarda ve landing kart tıklamalarında gösterilir
   ═══════════════════════════════════════════ */
.auth-login-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--rgb-navy, 26, 26, 58), 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.auth-login-modal__card {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
  padding: 2.2rem 2rem 2rem;
  text-align: center;
  background: var(--bg, #ffffff);
  border: 1px solid var(--border, #d3d3d3);
  border-radius: 1.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
  animation: loginModalIn 0.35s cubic-bezier(0.19, 1, 0.22, 1) both;
  max-height: 90vh;
  overflow-y: auto;
}

[data-theme="dark"] .auth-login-modal__card {
  background: #1e1e42;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

@keyframes loginModalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-login-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted, #8b8ba8);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.auth-login-modal__close:hover {
  background: rgba(0,0,0,0.06);
  color: var(--text, #1a1a3a);
}
[data-theme="dark"] .auth-login-modal__close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.auth-login-modal__title {
  font-family: var(--font-sans, "Inter", sans-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--text, #1a1a3a);
}
[data-theme="dark"] .auth-login-modal__title { color: #fff; }

.auth-login-modal__sub {
  font-size: 0.85rem;
  color: var(--text-secondary, #3d3d6b);
  margin: 0 0 1.25rem;
}
[data-theme="dark"] .auth-login-modal__sub { color: rgba(255,255,255,0.55); }

/* OAuth */
.auth-login-modal__oauth { margin-bottom: 0.75rem; }
.auth-login-modal__oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border, #d3d3d3);
  border-radius: 0.65rem;
  background: var(--bg, #fff);
  color: var(--text, #1a1a3a);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-login-modal__oauth-btn:hover {
  border-color: var(--violet, #7c3aed);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.12);
}
[data-theme="dark"] .auth-login-modal__oauth-btn {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.auth-login-modal__oauth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Divider */
.auth-login-modal__divider {
  font-size: 0.78rem;
  color: var(--text-muted, #8b8ba8);
  margin: 0.5rem 0;
}

/* Form */
.auth-login-modal__form { text-align: left; }
.auth-login-modal__row {
  display: flex;
  gap: 0.5rem;
}
.auth-login-modal__row > * { flex: 1; min-width: 0; }

.auth-login-modal__input {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  border: 1px solid var(--border, #d3d3d3);
  border-radius: 0.6rem;
  background: var(--bg, #fff);
  color: var(--text, #1a1a3a);
  outline: none;
  transition: border-color 0.2s;
}
.auth-login-modal__input:focus {
  border-color: var(--violet, #7c3aed);
}
[data-theme="dark"] .auth-login-modal__input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}

.auth-login-modal__btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--violet, #7c3aed), #5b21b6);
  border: none;
  border-radius: 0.65rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.auth-login-modal__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
}
.auth-login-modal__btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.auth-login-modal__switch {
  display: block;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0;
  font-size: 0.82rem;
  text-align: center;
  color: var(--violet, #7c3aed);
  background: none;
  border: none;
  cursor: pointer;
}
.auth-login-modal__switch:hover { text-decoration: underline; }

.auth-login-modal__error {
  margin-top: 0.75rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 0.5rem;
  text-align: center;
}

/* Auth lock: arkadaki sayfayı blur'la */
body.auth-lock > *:not(.auth-login-modal):not(#authLoginModal):not(script):not(noscript):not(link):not(style) {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}
