/* Kıbbul — style1.css
 * Yol: /home/kibbul/public_html/assets/css/style1.css
 * TEK stil — tüm proje (head.php)
 *
 * Toolbar: turuncu · Ana menü: Etkinlikler / Blog / Hakkımızda / İletişim
 * Kategoriler: sol navbar · Hover hareketleri · Responsive fluid
 */

:root {
  --orange: #ff7518;
  --orange-soft: #ff9a4d;
  --orange-deep: #e8680a;
  --blue: #004aad;
  --blue-deep: #003580;
  --sky: #e8f1fb;
  --ink: #1a2b45;
  --muted: #5a6b82;
  --line: rgba(0, 74, 173, 0.12);
  --line-strong: rgba(0, 74, 173, 0.18);
  --white: #fff;
  --shell: min(1320px, 100%);
  --sidebar: clamp(8.5rem, 22vw, 15rem);
  --pad: clamp(0.55rem, 2.4vw, 1.25rem);
  --gap: clamp(0.55rem, 2vw, 1.5rem);
  --radius: clamp(8px, 1.2vw, 12px);
  --touch: max(40px, 2.5rem);
  --shadow-soft: 0 10px 30px rgba(26, 43, 69, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --text: clamp(0.84rem, 0.35vw + 0.75rem, 1rem);
  --text-sm: clamp(0.74rem, 0.25vw + 0.68rem, 0.88rem);
  --text-xs: clamp(0.7rem, 0.2vw + 0.64rem, 0.8rem);
}

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

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

html,
body {
  min-height: 100%;
  max-width: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: var(--text);
  line-height: 1.5;
  color: var(--ink);
  background-color: #f5f9fd;
  background-image:
    radial-gradient(ellipse 90% 60% at 8% 0%, rgba(255, 117, 24, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 92% 4%, rgba(0, 74, 173, 0.1), transparent 52%),
    linear-gradient(rgba(0, 74, 173, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 74, 173, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #eef4fb 100%);
  background-size: auto, auto, 28px 28px, 28px 28px, auto;
  /* clip: sticky sidebar çalışsın (hidden sticky’yi bozuyordu) */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  background: rgba(255, 117, 24, 0.22);
  color: var(--ink);
}

.shell {
  width: min(100% - (var(--pad) * 2), 1320px);
  margin-inline: auto;
}

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(26, 43, 69, 0.06);
}

/* —— Toolbar: TURUNCU —— */
.toolbar {
  background: linear-gradient(135deg, var(--orange-soft) 0%, var(--orange) 45%, var(--orange-deep) 100%);
  color: var(--white);
}

.toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.4rem, 2vw, 1.15rem);
  flex-wrap: nowrap;
  min-width: 0;
  padding-block: clamp(0.4rem, 1.4vw, 0.75rem);
}

.toolbar-brand {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.8vw, 1.1rem);
  min-width: 0;
  flex: 1 1 auto;
}

.toolbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(0.15rem, 0.6vw, 0.28rem) clamp(0.25rem, 0.8vw, 0.4rem);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.toolbar-logo:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.toolbar-logo img {
  height: clamp(36px, 9vw, 64px);
  width: auto;
  max-width: clamp(64px, 28vw, 160px);
  object-fit: contain;
}

.toolbar-logo:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.toolbar-identity {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
}

.toolbar-identity:hover {
  opacity: 1;
  transform: translateX(2px);
}

.toolbar-identity:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 4px;
}

.toolbar-domain {
  font-family: "Sora", "Outfit", sans-serif;
  font-size: clamp(0.85rem, 2.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toolbar-tagline {
  font-size: clamp(0.65rem, 1.6vw, 0.82rem);
  font-weight: 300;
  letter-spacing: 0.015em;
  opacity: 0.94;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.toolbar-auth {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1vw, 0.45rem);
  flex-shrink: 0;
  margin-left: auto;
}

.toolbar-auth-user {
  font-size: clamp(0.72rem, 2vw, 0.92rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Girişli: sağ üst profil chip */
.toolbar-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: min(14rem, 46vw);
  min-height: var(--touch);
  padding: 0.2rem 0.55rem 0.2rem 0.25rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.toolbar-profile:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.toolbar-profile:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.toolbar-profile.is-active {
  box-shadow:
    0 0 0 2px var(--orange),
    0 6px 16px rgba(0, 0, 0, 0.14);
}

.toolbar-profile-avatar {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, Sora, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-deep) 100%);
}

.toolbar-profile-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
  gap: 0.08rem;
}

.toolbar-profile-name {
  font-size: clamp(0.72rem, 2vw, 0.86rem);
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toolbar-profile-hint {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
}

.toolbar-profile-role {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.toolbar-profile-role.is-gold {
  color: #9a6b00;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.toolbar-profile.is-featured {
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(240, 208, 96, 0.35);
}

.toolbar-profile.is-featured .toolbar-profile-avatar {
  background: linear-gradient(145deg, #e8c547 0%, #c9a227 45%, #8a6a12 100%);
  color: #3d2e00;
}

.toolbar-profile-chevron {
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.15rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  opacity: 0.7;
}

.toolbar-auth-logout {
  opacity: 0.92;
}

.toolbar-auth-link,
.toolbar-auth-btn {
  font-size: clamp(0.72rem, 2vw, 0.92rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-radius: 8px;
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.35rem clamp(0.45rem, 1.8vw, 1rem);
}

.toolbar-auth-link,
.toolbar-auth-btn {
  color: var(--white);
  font-weight: 400;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition:
    background 0.22s var(--ease),
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s var(--ease),
    box-shadow 0.22s ease;
}

.toolbar-auth-link:hover,
.toolbar-auth-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.toolbar-auth-link:focus-visible,
.toolbar-auth-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Aktif sayfa: beyaz buton */
.toolbar-auth-link.is-active,
.toolbar-auth-btn.is-active {
  color: var(--orange-deep);
  background: var(--white);
  font-weight: 500;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.toolbar-auth-link.is-active:hover,
.toolbar-auth-btn.is-active:hover {
  background: #fff8f3;
  color: var(--orange-deep);
  border-color: transparent;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

/* —— Ana menü: Etkinlikler / Blog / Hakkımızda / İletişim (aynı stil) —— */
.main-nav {
  background: var(--blue);
  position: relative;
}

.main-nav-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.15rem, 1vw, 0.45rem);
  padding-block: clamp(0.28rem, 1vw, 0.45rem);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 117, 24, 0.45) transparent;
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 1.25rem), transparent 100%);
}

.main-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: clamp(0.76rem, 1.8vw, 0.94rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 0.42rem clamp(0.65rem, 2.2vw, 1.05rem);
  border-radius: 8px;
  min-height: var(--touch);
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease),
    transform 0.22s var(--ease);
}

.main-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s var(--ease);
}

.main-nav-link:hover,
.main-nav-link:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.main-nav-link:hover::after,
.main-nav-link:focus-visible::after,
.main-nav-link.is-active::after {
  width: 55%;
}

.main-nav-link.is-active {
  color: var(--white);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
}

.main-nav-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* —— Sol kategoriler —— */
.page-layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
  padding-block: clamp(0.85rem, 2.5vw, 1.75rem) clamp(1.5rem, 5vw, 3.5rem);
  flex: 1;
  width: min(100% - (var(--pad) * 2), 1320px);
  min-width: 0;
}

.page-layout--solo {
  grid-template-columns: minmax(0, 1fr);
}

.cat-sidebar {
  min-width: 0;
  align-self: start;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: clamp(10px, 1.5vw, 14px);
  padding: clamp(0.5rem, 1.5vw, 0.85rem) clamp(0.35rem, 1.2vw, 0.65rem);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: calc(var(--site-chrome-h, 6.25rem) + 0.65rem);
  z-index: 35;
  max-height: calc(100dvh - var(--site-chrome-h, 6.25rem) - 1.25rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 117, 24, 0.35) transparent;
}

.cat-sidebar-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue);
  padding: 0.1rem clamp(0.35rem, 1vw, 0.55rem) clamp(0.35rem, 1vw, 0.55rem);
  margin-bottom: 0.15rem;
  border-bottom: 1px solid var(--line);
}

/* Masaüstü: toggle gizli, panel açık */
.cat-sidebar-toggle {
  display: none;
}

.cat-sidebar-body {
  display: block;
  min-width: 0;
}

.cat-nav {
  display: flex;
  flex-direction: column;
  gap: clamp(0.06rem, 0.4vw, 0.12rem);
  padding-top: clamp(0.3rem, 1vw, 0.45rem);
}

.cat-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: clamp(0.35rem, 1vw, 0.45rem) clamp(0.35rem, 1.2vw, 0.55rem);
  border-radius: 8px;
  min-height: max(36px, 2.25rem);
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease),
    transform 0.22s var(--ease),
    padding-left 0.22s var(--ease);
}

.cat-link:hover,
.cat-link:focus-visible {
  color: var(--orange);
  background: rgba(255, 117, 24, 0.12);
  transform: translateX(4px);
  padding-left: clamp(0.5rem, 1.5vw, 0.75rem);
}

.cat-link.is-active {
  color: var(--white);
  font-weight: 600;
  background: var(--orange);
  box-shadow: 0 4px 14px rgba(255, 117, 24, 0.28);
}

.cat-link.is-active:hover,
.cat-link.is-active:focus-visible {
  color: var(--white);
  background: var(--orange);
  transform: none;
  padding-left: clamp(0.35rem, 1.2vw, 0.55rem);
}

.cat-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}

.cat-group {
  width: 100%;
  min-width: 0;
}

.cat-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  width: 100%;
  gap: 0.35rem;
}

.cat-summary::-webkit-details-marker {
  display: none;
}

.cat-summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.35em;
  height: 0.35em;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.5;
  transition: transform 0.25s var(--ease);
}

.cat-group[open] > .cat-summary::after {
  transform: rotate(225deg);
  opacity: 0.85;
}

.cat-group[open] > .cat-summary:not(.is-active) {
  color: var(--ink);
  background: transparent;
}

.cat-sub {
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
  padding: 0.15rem 0.15rem 0.3rem clamp(0.4rem, 1.5vw, 0.65rem);
  animation: cat-sub-in 0.22s var(--ease);
}

.cat-sublink {
  font-size: var(--text-xs);
  min-height: max(34px, 2.1rem);
}

@keyframes cat-sub-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sidebar-feed {
  margin-top: clamp(0.75rem, 2vw, 1.1rem);
  padding-top: clamp(0.45rem, 1.2vw, 0.65rem);
  border-top: 1px solid var(--line);
}

.sidebar-feed-title {
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar-feed-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sidebar-feed-link {
  display: block;
  padding: 0.4rem clamp(0.35rem, 1vw, 0.55rem);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 400;
  line-height: 1.4;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}

.sidebar-feed-link:hover,
.sidebar-feed-link:focus-visible {
  color: var(--orange);
  background: rgba(255, 117, 24, 0.1);
  transform: translateX(3px);
}

.sidebar-feed-more {
  display: inline-block;
  margin: 0.4rem clamp(0.35rem, 1vw, 0.55rem) 0;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.sidebar-feed-more:hover {
  color: var(--orange);
}

/* —— İçerik —— */
.page-main {
  min-width: 0;
  width: 100%;
}

.page-hero {
  text-align: left;
  width: 100%;
  max-width: min(40rem, 100%);
  padding: clamp(1rem, 3.5vw, 2.2rem);
  border-radius: clamp(12px, 2vw, 18px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(0, 74, 173, 0.08);
  box-shadow: var(--shadow-soft);
  animation: hero-in 0.55s var(--ease) both;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 43, 69, 0.12);
}

.page-hero h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: clamp(0.45rem, 1.5vw, 0.65rem);
  word-wrap: break-word;
  background: linear-gradient(120deg, var(--ink) 35%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  font-size: clamp(0.88rem, 2.2vw, 1.06rem);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  word-wrap: break-word;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Firma Ekle formu —— */
.page-main--firma {
  width: 100%;
  max-width: min(42rem, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-main--firma > * {
  width: 100%;
}

.page-hero-form {
  max-width: 100%;
  margin-inline: auto;
  margin-bottom: clamp(0.55rem, 1.5vw, 0.9rem);
  padding: clamp(0.25rem, 1vw, 0.5rem) 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
}

.page-hero-form:hover {
  transform: none;
  box-shadow: none;
}

.page-hero-form h1 {
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
}

.page-hero-form p {
  max-width: 36rem;
  margin-inline: auto;
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
}

.page-main--firma .form-alert {
  text-align: center;
}

.page-main--firma .form-actions {
  justify-content: center;
}

.page-main--firma .form-section {
  padding: clamp(0.65rem, 1.8vw, 0.95rem);
  min-width: 0;
}

.page-main--firma .form-section legend {
  text-align: center;
  width: 100%;
  float: none;
  padding-inline: 0;
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
}

.page-main--firma .form-field label,
.page-main--firma .form-label {
  text-align: left;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
}

.page-main--firma .map-status,
.page-main--firma .form-hint-top {
  text-align: left;
  font-size: var(--text-xs);
}

.page-main--firma .firma-map {
  height: clamp(220px, 36vw, 320px);
}

.page-main--firma #aciklama {
  min-height: 7.5rem;
}

.page-main--firma input[type="file"]:not(.file-picker-input) {
  width: 100%;
  max-width: 100%;
  padding: 0.45rem 0;
  font-size: 0.9rem;
}

.file-picker {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.file-picker-input {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 0.1px !important;
  height: 0.1px !important;
  max-width: 0.1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.file-picker-btn {
  flex: 0 0 auto;
}

.file-picker-status {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.35;
}

.file-picker-status.is-picked {
  color: var(--ink);
  font-weight: 600;
}

.file-picker.is-full .file-picker-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.file-picker-previews {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.file-picker-preview {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--line);
}

.file-picker-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-picker-preview-file {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.35rem;
  font-size: 0.7rem;
  text-align: center;
  color: var(--muted);
  word-break: break-all;
}

.file-picker-preview-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.file-picker-preview-remove:hover,
.file-picker-preview-remove:focus-visible {
  background: var(--orange);
}

@media (max-width: 520px) {
  .file-picker-previews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-main--firma .form-field .form-hint {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.firma-form {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.6vw, 0.95rem);
  width: 100%;
  max-width: none;
}

.firma-form-row {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.6vw, 0.95rem);
}

/* Firma Ekle — öne çıkarma tanıtımı (altın) */
.feature-promo {
  --feat-gold: #c9a227;
  --feat-gold-bright: #e8c547;
  --feat-gold-deep: #8b6914;
  --feat-gold-soft: rgba(201, 162, 39, 0.14);
  --feat-ink: #3d2e0a;
}

.feature-promo__btn {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 52px;
  margin-bottom: 0.35rem;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--feat-gold, #c9a227);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8e7 0%, #f5e6b8 45%, #efd78a 100%);
  color: var(--feat-gold-deep, #8b6914);
  font-family: var(--font-display, inherit);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(139, 105, 20, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.feature-promo__btn:hover,
.feature-promo__btn[aria-expanded="true"] {
  border-color: var(--feat-gold-deep, #8b6914);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
  transform: translateY(-1px);
}

.feature-promo__reopen {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 48px;
  margin-bottom: 0.35rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--feat-gold, #c9a227);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8e7 0%, #f5e6b8 45%, #efd78a 100%);
  color: var(--feat-gold-deep, #8b6914);
  font-family: var(--font-display, inherit);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(139, 105, 20, 0.2);
}

.feature-promo__reopen[hidden] {
  display: none !important;
}

.feature-promo__reopen:hover {
  border-color: var(--feat-gold-deep, #8b6914);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}

.feature-promo--notify {
  position: fixed;
  z-index: 1250;
  inset: 0;
  width: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding:
    max(0.75rem, env(safe-area-inset-top, 0px))
    0.75rem
    max(0.75rem, env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex: none;
  box-sizing: border-box;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition: opacity 0.45s ease, visibility 0.45s;
}

.feature-promo--notify.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.feature-promo__btn-icon {
  color: var(--feat-gold);
  font-size: 1.15em;
}

.feature-promo__panel {
  position: relative;
  width: min(28rem, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  min-width: 0;
  max-height: min(72dvh, 36rem);
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0.9rem 1rem 1.15rem;
  padding-top: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 39, 0.65);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.98), rgba(255, 255, 255, 0.99)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(201, 162, 39, 0.04) 10px,
      rgba(201, 162, 39, 0.04) 11px
    );
  color: var(--feat-ink);
  box-shadow:
    0 18px 48px rgba(40, 28, 5, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  pointer-events: none;
  transform: translateY(1.1rem) scale(0.96);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
}

.feature-promo--notify.is-on .feature-promo__panel {
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.feature-promo__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  flex-shrink: 0;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(139, 105, 20, 0.35);
  border-radius: 8px;
  background: #fffdf5;
  color: var(--feat-gold-deep);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}

.feature-promo__close:hover {
  background: #fff3cc;
  border-color: var(--feat-gold-deep);
}

@media (max-width: 768px) {
  .feature-promo--notify {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding:
      max(0.35rem, env(safe-area-inset-top, 0px))
      0.55rem
      max(0.35rem, env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .feature-promo--notify.is-on {
    transform: none !important;
  }

  /* Kaydırmalı panel — tüm planlar erişilebilir */
  .feature-promo__panel {
    flex: 0 1 auto;
    width: calc(100vw - 1.1rem) !important;
    max-width: calc(100vw - 1.1rem) !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: min(88dvh, 42rem) !important;
    margin: 0 auto !important;
    padding: 0.15rem 0.4rem 0.22rem !important;
    padding-top: 1rem !important;
    border-radius: 10px;
    font-size: 0.62rem;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: none !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .feature-promo--notify.is-on .feature-promo__panel {
    transform: none !important;
  }

  .feature-promo__close {
    top: 0.1rem;
    right: 0.1rem;
    padding: 0.08rem 0.26rem;
    font-size: 0.5rem;
    border-radius: 4px;
  }

  .feature-promo__lead {
    margin: 0 0 0.08rem;
    font-size: 0.72rem;
    line-height: 1.15;
  }

  /* Bilgilendirme: alt alta, küçük — fiyat adları öne çıksın */
  .feature-promo__perks {
    margin: 0 0 0.08rem;
    gap: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .feature-promo__perks li {
    gap: 0;
    padding: 0.04rem 0.14rem;
    border-radius: 3px;
    border-left-width: 2px;
    min-width: 0;
    line-height: 1.15;
  }

  .feature-promo__perks strong {
    font-size: 0.58rem;
    line-height: 1.15;
    font-weight: 600;
  }

  .feature-promo__perks span {
    display: none;
  }

  .feature-promo__slogans {
    margin-bottom: 0.08rem;
    min-width: 0;
  }

  .feature-promo__slogan {
    padding: 0.1rem 0.2rem;
    border-radius: 5px;
    font-size: 0.58rem;
    line-height: 1.15;
    max-width: 100%;
    box-sizing: border-box;
  }

  .feature-promo__slogan--one {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.08rem 0.16rem;
  }

  .feature-promo__slogan-sep {
    display: inline;
    opacity: 0.75;
  }

  .feature-promo__slogan-em {
    padding: 0.02rem 0.14rem;
  }

  .feature-promo__slots {
    margin: 0 0 0.08rem;
    padding: 0.06rem 0.14rem;
    font-size: 0.55rem;
    border-radius: 3px;
  }

  .feature-promo__selected {
    margin: 0 0 0.08rem;
    padding: 0.06rem 0.14rem;
    font-size: 0.55rem;
    border-radius: 3px;
  }

  .feature-promo__prices-title {
    margin: 0 0 0.06rem;
    font-size: 0.65rem;
  }

  .feature-promo__prices {
    min-width: 0;
  }

  .feature-promo__code {
    margin: 0 0 0.08rem;
    padding: 0.12rem 0.22rem;
    border-radius: 5px;
    min-width: 0;
  }

  .feature-promo__code-label {
    margin: 0 0 0.05rem;
    font-size: 0.58rem;
  }

  .feature-promo__code-row {
    gap: 0.12rem;
    min-width: 0;
  }

  .feature-promo__code-input,
  .feature-promo__code-btn {
    min-height: 28px;
    padding: 0.12rem 0.35rem;
    font-size: 0.7rem;
    border-radius: 5px;
    min-width: 0;
  }

  .feature-promo__code-msg {
    margin: 0.05rem 0 0;
    font-size: 0.55rem;
  }

  .feature-promo__price-list {
    gap: 0.1rem;
    min-width: 0;
  }

  /* Tüm plan satırları eşit yükseklik */
  .feature-promo__price-btn {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 3.55rem;
    height: 3.55rem;
    min-width: 0;
    max-width: 100%;
    padding: 0.2rem 0.4rem;
    gap: 0.08rem 0.4rem;
    border-radius: 6px;
    box-sizing: border-box;
  }

  /* Plan adları (1 Ay, 2 Ay…) — okunaklı */
  .feature-promo__plan {
    gap: 0.04rem;
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 0;
    min-height: 2.55rem;
    justify-content: center;
    line-height: 1.15;
  }

  .feature-promo__plan-top {
    gap: 0.2rem;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .feature-promo__badge {
    padding: 0.04rem 0.18rem;
    font-size: 0.48rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .feature-promo__per {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    min-height: 1em;
    line-height: 1.15;
    color: #6b5420;
  }

  .feature-promo__price-col {
    min-height: 2.55rem;
    min-width: 0;
    gap: 0.02rem;
    align-items: flex-end;
    justify-content: center;
  }

  .feature-promo__was {
    font-size: 0.58rem;
    line-height: 1.1;
  }

  .feature-promo__deal {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.2rem;
  }

  .feature-promo__deal-label {
    display: inline;
    font-size: 0.5rem;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
  }

  .feature-promo__deal-price {
    font-size: 0.8rem !important;
    font-weight: 800;
    line-height: 1.1;
  }

  .feature-promo__price {
    font-size: 0.8rem !important;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-promo--notify {
    transition: opacity 0.2s ease, visibility 0.2s;
  }

  .feature-promo__panel,
  .feature-promo--notify.is-on .feature-promo__panel {
    transition: none;
    transform: none;
  }
}

.feature-promo__lead {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 700;
  color: var(--feat-gold-deep);
  text-align: center;
}

.feature-promo__perks {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-promo__perks li {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: var(--feat-gold-soft);
  border-left: 3px solid var(--feat-gold);
}

.feature-promo__perks strong {
  color: var(--feat-gold-deep);
  font-size: 0.98rem;
}

.feature-promo__perks span {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}

.feature-promo__slogans {
  display: block;
  margin-bottom: 0.85rem;
}

.feature-promo__slogan {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--feat-gold-deep), var(--feat-gold));
  color: #fffdf5;
  font-weight: 700;
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  cursor: pointer;
  text-align: center;
  line-height: 1.35;
  width: 100%;
}

.feature-promo__slogan--one {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.45rem;
  background: linear-gradient(90deg, #8b6914, #c9a227 45%, #e8c547);
  color: #fffdf5;
}

.feature-promo__slogan-sep {
  opacity: 0.85;
  font-weight: 800;
}

.feature-promo__slogan-em {
  color: #2a1f05;
  background: rgba(255, 253, 245, 0.35);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-weight: 800;
}

.feature-promo__slogan--em {
  background: linear-gradient(90deg, #a67c00, var(--feat-gold-bright));
  color: #2a1f05;
}

.feature-promo__slogan:hover {
  filter: brightness(1.05);
}

.feature-promo__slots {
  margin: 0 0 1.1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--feat-gold-deep);
  padding: 0.5rem 0.75rem;
  border: 1px dashed rgba(201, 162, 39, 0.65);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
}

.feature-promo__selected {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff9e8, #ffe9a8);
  border: 1px solid var(--feat-gold);
  color: var(--feat-gold-deep);
  font-weight: 600;
  text-align: center;
}

.feature-promo__prices-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--feat-gold-deep);
  text-align: center;
}

.feature-promo__code {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px dashed rgba(201, 162, 39, 0.65);
  background: rgba(255, 253, 245, 0.9);
}

.feature-promo__code-label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--feat-gold-deep);
}

.feature-promo__code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.feature-promo__code-input {
  flex: 1 1 8rem;
  min-width: 0;
  min-height: 42px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(139, 105, 20, 0.35);
  border-radius: 8px;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature-promo__code-btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #8b6914, #c9a227);
  color: #fffdf5;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.feature-promo__code-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.feature-promo__code-msg {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.feature-promo__code-msg.is-ok {
  color: #2f6b2f;
}

.feature-promo__code-msg.is-err {
  color: #a12b2b;
}

.feature-promo__prices.is-pulse {
  animation: feature-prices-pulse 0.85s ease;
}

@keyframes feature-prices-pulse {
  0%, 100% { box-shadow: none; }
  40% { box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.45); border-radius: 12px; }
}

.feature-promo__price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.feature-promo__price-btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem 1rem;
  width: 100%;
  min-height: 3.55rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.feature-promo__price-btn:hover {
  border-color: var(--feat-gold);
}

.feature-promo__price-btn.is-selected,
.feature-promo__price-btn--best.is-selected {
  border-color: var(--feat-gold-deep);
  background: linear-gradient(135deg, #fff9e8, #ffe9a8);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35);
}

.feature-promo__price-btn--best {
  border-color: var(--feat-gold);
  background: linear-gradient(135deg, #fffdf5, #fff3cc);
}

.feature-promo__plan {
  font-weight: 700;
  color: var(--feat-ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
}

.feature-promo__plan-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.feature-promo__badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--feat-gold-deep);
  color: #fff8e0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.feature-promo__per {
  font-weight: 600;
  font-size: 0.85em;
  color: #6b5420;
  min-height: 1.15em;
  line-height: 1.15em;
}

.feature-promo__price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.15rem;
  min-height: 2.4rem;
}

.feature-promo__was {
  font-size: 0.85rem;
  color: #8a7a4a;
  text-decoration: line-through;
}

.feature-promo__deal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.feature-promo__deal-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--feat-gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.feature-promo__deal-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--feat-gold-deep);
}

.feature-promo__price {
  font-weight: 700;
  color: var(--feat-gold-deep);
}

/* Ödeme sayfası — öne çıkart */
.page-main--pay {
  padding-top: clamp(1rem, 3vw, 1.75rem);
}

.pay-page {
  --pay-gold: #c9a227;
  --pay-gold-deep: #8b6914;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 1.1rem;
}

.pay-summary {
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  background: linear-gradient(180deg, #fff8e7, #fff);
  box-shadow: 0 10px 28px rgba(80, 55, 10, 0.1);
}

.pay-summary__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pay-gold-deep);
}

.pay-summary__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  color: #3d2e0a;
}

.pay-summary__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.75rem;
}

.pay-summary__was {
  text-decoration: line-through;
  color: #8a7a4a;
  font-size: 0.95rem;
}

.pay-summary__deal-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pay-gold-deep);
}

.pay-summary__amount {
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 800;
  color: var(--pay-gold-deep);
}

.pay-summary__code {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--pay-gold-deep);
  font-weight: 600;
}

.pay-summary__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted, #5a6570);
  line-height: 1.45;
}

.pay-card {
  margin: 0.35rem 0 0;
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf5, #fff);
}

.pay-card legend {
  padding: 0 0.35rem;
  font-weight: 800;
  color: var(--pay-gold-deep, #8b6914);
  font-size: 0.98rem;
}

.pay-form__actions {
  margin-top: 0.35rem;
}

.pay-submit {
  background: linear-gradient(135deg, #8b6914, #c9a227) !important;
  box-shadow: 0 4px 14px rgba(139, 105, 20, 0.28) !important;
}

.pay-success {
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: #fffdf5;
}

.pay-success h2 {
  margin: 0 0 0.5rem;
  color: var(--pay-gold-deep);
}

.pay-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.kb-featured-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b6914, #c9a227 55%, #e8c547);
  color: #fffdf5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(61, 46, 10, 0.28);
  pointer-events: none;
}

.kb-card-media {
  position: relative;
}

.kb-card--featured {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.2);
}

@media (max-width: 720px) {
  .feature-promo__price-btn {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.35rem 0.65rem;
  }

  .feature-promo__price-col,
  .feature-promo__deal {
    align-items: flex-end;
  }
}

.form-grid-stack {
  grid-template-columns: 1fr;
}

.form-basvuran-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.8vw, 1rem);
  min-width: 0;
}

.form-grid-social {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.8vw, 1rem);
  width: 100%;
}

.links-list-title {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.form-field-question {
  padding: 0.85rem 0.9rem;
  border: 1.5px solid rgba(0, 74, 173, 0.22);
  border-radius: 10px;
  background: rgba(232, 241, 251, 0.55);
}

.form-question-label {
  display: block;
  float: none;
  width: 100%;
  padding: 0;
  margin: 0 0 0.7rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.links-gate {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.links-gate-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.links-gate-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.links-gate-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.links-gate-choice:hover {
  border-color: var(--orange);
}

.links-gate-choice.is-selected,
.links-gate-choice:has(input:checked) {
  border-color: var(--orange);
  background: rgba(255, 117, 24, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 117, 24, 0.16);
  color: var(--orange-deep);
}

.links-list-panel {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 74, 173, 0.12);
}

.links-list-panel[hidden] {
  display: none;
}

.links-list-add {
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  align-self: start;
  margin-top: 0.55rem;
  margin-bottom: 0.55rem;
}

.links-list-composer {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.9fr) minmax(0, 1.4fr);
  gap: 0.4rem 0.5rem;
  align-items: end;
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
}

.links-list-composer.is-invalid {
  border-color: rgba(180, 35, 24, 0.45);
}

.links-list-composer .form-field {
  margin: 0;
  gap: 0.2rem;
}

.links-list-composer .form-field label {
  font-size: 0.72rem;
}

.links-list-composer select,
.links-list-composer input {
  min-height: 38px;
  padding: 0.45rem 0.55rem;
  font-size: 0.88rem;
}

.links-list-composer select.is-invalid,
.links-list-composer input.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.links-list-error {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #b42318;
}

.links-list-error[hidden] {
  display: none;
}

.links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.links-list-row--saved {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.35rem 0.65rem;
  align-items: center;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.links-list-saved-tip {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.links-list-saved-deger {
  font-size: 0.88rem;
  color: var(--ink);
  overflow-wrap: anywhere;
  min-width: 0;
}

.links-list-remove {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(0, 74, 173, 0.55);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.links-list-remove:hover {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.links-list-trash-icon {
  display: block;
}

/* Kategori picker */
.cat-picker {
  position: relative;
  z-index: 5;
}

.cat-picker-btn {
  width: 100%;
  min-height: var(--touch);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: inherit;
  line-height: inherit;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cat-picker-btn::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.65;
  margin-top: -0.15rem;
}

.cat-picker.is-open .cat-picker-btn::after {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.cat-picker-btn.is-selected {
  color: var(--ink);
  font-weight: 400;
}

.cat-picker-btn:hover,
.cat-picker.is-open .cat-picker-btn {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 117, 24, 0.18);
}

.cat-picker-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.3rem);
  max-height: min(16rem, 50vh);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(26, 43, 69, 0.14);
  padding: 0.35rem;
  z-index: 20;
  scrollbar-width: thin;
}

.cat-picker-group {
  margin: 0.35rem 0.35rem 0.15rem;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.cat-picker-option {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: inherit;
  line-height: inherit;
  color: var(--ink);
  padding: 0.55rem 0.65rem;
  border-radius: 7px;
  cursor: pointer;
  min-height: 2.4rem;
}

.cat-picker-option-sub {
  padding-left: 1.15rem;
}

.cat-picker-option:hover {
  background: rgba(255, 117, 24, 0.1);
  color: var(--orange-deep);
}

.cat-picker-option.is-active {
  background: rgba(0, 74, 173, 0.08);
  color: var(--blue);
  font-weight: 400;
}

.page-main--firma .form-field select {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: inherit;
  line-height: inherit;
  color: var(--ink);
}

.page-main--firma .form-field select:invalid,
.page-main--firma .form-field select.select-placeholder:invalid {
  color: var(--muted);
}

.form-section {
  border: 1px solid var(--line);
  border-radius: clamp(12px, 2vw, 16px);
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(0.9rem, 2.5vw, 1.35rem);
  box-shadow: var(--shadow-soft);
}

.form-section legend {
  font-family: "Sora", sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 600;
  color: var(--blue);
  padding: 0 0.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.8vw, 1rem);
  margin-top: 0.65rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

/* display:flex, [hidden] özniteliğini ezmesin (yemek formunda kasa/marka görünmesin) */
.form-field[hidden],
.menu-list-composer [hidden] {
  display: none !important;
}

/* Otomotiv değilse araç alanları yok */
[data-menu-list]:not([data-firm-kat="otomotiv"]) [data-car-marka-field],
[data-menu-list]:not([data-firm-kat="otomotiv"]) [data-car-model-field],
[data-menu-list]:not([data-firm-kat="otomotiv"]) [data-car-custom-kasa-field],
[data-menu-list]:not([data-firm-kat="otomotiv"]) [data-car-custom-marka-field],
[data-menu-list]:not([data-firm-kat="otomotiv"]) [data-car-custom-field] {
  display: none !important;
}

/* Restoran menüsünde kasa tipi / ürün kategorisi select’i yok */
[data-menu-list][data-catalog-kind="menu"] [data-urun-kat-field] {
  display: none !important;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
}

.req {
  color: var(--orange);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: var(--touch);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 12rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 117, 24, 0.18);
}

.form-hint {
  margin-top: 0.65rem;
  font-size: var(--text-xs);
  color: var(--muted);
}

.firma-form-mesaj {
  margin-top: 0.35rem;
  margin-bottom: 1.15rem;
}

.firma-form-mesaj .mesaj-gate-panel {
  margin-top: 0.85rem;
}

.firma-form-menu {
  margin-top: 0.25rem;
  margin-bottom: 0.85rem;
}

.firma-form-menu[hidden] {
  display: none !important;
}

.menu-list-panel {
  margin-top: 0.85rem;
}

.menu-list-panel[hidden] {
  display: none !important;
}

.menu-list-section {
  width: 100%;
}

.menu-list-error {
  margin: 0.35rem 0 0.5rem;
  color: #b42318;
  font-size: 0.88rem;
}

.menu-list-error[hidden] {
  display: none;
}

.menu-list-composer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 0.65rem 0.85rem;
  margin-top: 0.65rem;
}

.menu-list-composer.is-invalid {
  outline: 1px solid rgba(180, 35, 24, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}

.menu-list-composer .form-field {
  margin: 0;
}

/* Araç fiyatı + para birimi yan yana */
.menu-price-currency {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7.5rem, 0.55fr);
  gap: 0.65rem 0.85rem;
  grid-column: 1 / -1;
}

@media (max-width: 520px) {
  .menu-price-currency {
    grid-template-columns: 1fr;
  }
}

.menu-list-composer input.is-invalid,
.menu-list-composer textarea.is-invalid {
  border-color: #b42318;
}

.menu-list-add {
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  margin-top: 0.7rem;
}

.menu-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.menu-list:empty {
  display: none;
}

.menu-list[hidden] {
  display: none;
}

.menu-list-row--saved {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.menu-list-thumb {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 8px;
  background: #f3f4f6 center / cover no-repeat;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.menu-list-thumb.has-image {
  background-color: #fff;
}

.menu-list-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.menu-list-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue, #004aad);
}

.menu-list-price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange, #ff7518);
}

.menu-list-desc {
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.35;
}

.menu-list-desc:empty,
.menu-list-desc[hidden] {
  display: none;
}

/* Ürün kategori — isteğe bağlı aç/kapa */
.urun-kat-opt {
  margin: 0 0 0.85rem;
}

.urun-kat-opt[hidden] {
  display: none;
}

.urun-kat-opt-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 560;
  color: var(--ink);
  margin: 0 0 0.55rem;
}

.urun-kat-opt-toggle input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.urun-kat-opt-toggle em {
  font-style: normal;
  font-weight: 450;
  color: var(--muted, #5a6570);
}

.form-hint-inline {
  font-weight: 450;
  color: var(--muted, #5a6570);
  font-size: 0.85em;
}

.urun-kat-tools {
  margin: 0 0 0.35rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(26, 43, 69, 0.03);
}

.urun-kat-tools[hidden] {
  display: none;
}

.urun-kat-tools-title {
  margin: 0 0 0.25rem;
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--ink);
}

.urun-kat-add-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.55rem 0 0.65rem;
}

.urun-kat-add-row input {
  flex: 1 1 12rem;
  min-width: 0;
  font: inherit;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.urun-kat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.urun-kat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.35rem 0.25rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: var(--text-sm);
  font-weight: 560;
}

.urun-kat-chip-x {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted, #5a6570);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.1rem 0.35rem;
}

.urun-kat-chip-x:hover {
  color: var(--orange);
}

.menu-list-groups {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.75rem;
}

.menu-list-groups[hidden] {
  display: none;
}

.menu-kat-group-title {
  margin: 0 0 0.4rem;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
}

.menu-list-kat-badge {
  display: inline-block;
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.menu-list-kat-badge[hidden] {
  display: none;
}

.menu-list-composer select.is-invalid {
  border-color: #c0392b;
}

.menu-list-remove {
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.45);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-list-remove:hover {
  color: #b42318;
  background: rgba(180, 35, 24, 0.08);
}

@media (max-width: 720px) {
  .menu-list-composer {
    grid-template-columns: 1fr;
  }

  .menu-list-row--saved {
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .menu-list-thumb {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.form-submit-note {
  margin: 0 0 0.55rem;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.form-actions + .form-submit-note {
  margin-top: 0.55rem;
  margin-bottom: 0;
  text-align: left;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 4px 14px rgba(255, 117, 24, 0.28);
}

.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 117, 24, 0.35);
}

.btn-secondary {
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  color: var(--orange);
  border-color: rgba(255, 117, 24, 0.45);
  transform: translateY(-2px);
}

.form-alert {
  max-width: min(48rem, 100%);
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: var(--text-sm);
}

.form-alert ul {
  margin: 0;
  padding-left: 1.1rem;
}

.form-alert-ok {
  background: rgba(0, 74, 173, 0.08);
  border: 1px solid rgba(0, 74, 173, 0.2);
  color: var(--blue-deep);
}

.form-followup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
  align-items: center;
}

.form-followup .btn-primary,
.form-followup .btn-secondary {
  text-decoration: none;
}

.page-main--urunsat .about-lead {
  margin-top: 0.35rem;
  max-width: 36rem;
}

.alsat-disclaimer {
  margin: 0.2rem 0 0;
  padding: 0;
  max-width: 42rem;
  font-size: 0.68rem;
  line-height: 1.35;
  font-weight: 400;
  color: var(--muted);
  opacity: 0.85;
}

.alsat-under-search {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-alert-err {
  background: rgba(255, 117, 24, 0.1);
  border: 1px solid rgba(255, 117, 24, 0.35);
  color: var(--orange-deep);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.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;
}

.form-hint-top {
  margin: 0 0 0.85rem;
}

.map-toolbar {
  margin: 0.85rem 0 0.65rem;
}

.map-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.map-search-row input[type="search"] {
  flex: 1 1 12rem;
  min-height: var(--touch);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font: inherit;
}

.firma-map {
  width: 100%;
  height: clamp(240px, 48vw, 380px);
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  z-index: 1;
  background: #e8eef5;
}

.firma-map.is-map-locked {
  opacity: 0.72;
  filter: grayscale(0.15);
  cursor: not-allowed;
}

.firma-map.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.form-grid-loc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-bottom: 0.35rem;
}

.kargo-gate {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 74, 173, 0.12);
}

.kargo-gate[hidden] {
  display: none;
}

.firma-kargo-under-loc {
  margin-top: 0.35rem;
}

.kargo-service-line,
.kargo-service-note {
  margin: 0.55rem 0 0;
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(0, 74, 173, 0.08);
  border: 1px solid rgba(0, 74, 173, 0.16);
  border-radius: 8px;
}

.kargo-service-line[hidden],
.kargo-service-note[hidden],
.kargo-service-badge[hidden] {
  display: none;
}

.locations-list-panel {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 74, 173, 0.12);
}

.locations-list-panel[hidden] {
  display: none;
}

.locations-list-error {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #b42318;
}

.locations-list-error[hidden] {
  display: none;
}

.locations-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.locations-list:empty {
  display: none;
}

.locations-list-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 0.55rem 0.65rem;
  align-items: start;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
}

.locations-list-thumb {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eef5;
  flex-shrink: 0;
}

.locations-list-mini-map {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.locations-list-mini-map .leaflet-control-container {
  display: none;
}

.locations-list-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.locations-list-label {
  font-size: 0.92rem;
  color: var(--blue);
}

.locations-list-meta {
  font-size: 0.82rem;
  color: rgba(20, 28, 45, 0.72);
}

.locations-list-adres {
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.locations-list-coords {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: rgba(20, 28, 45, 0.55);
}

.locations-list-remove {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(0, 74, 173, 0.55);
  cursor: pointer;
  padding: 0;
}

.locations-list-remove:hover {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.locations-composer {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.locations-composer-title {
  margin: 0;
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.locations-list-add {
  align-self: start;
  margin-top: 0.35rem;
  min-height: 40px;
}

.locations-composer .form-field select.is-invalid,
.locations-composer .form-field input.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.map-status {
  margin-top: 0.55rem;
  font-size: var(--text-sm);
  font-weight: 500;
}

.map-status.is-wait {
  color: var(--orange-deep);
}

.map-status.is-ok {
  color: var(--blue-deep);
}

.map-fill-note {
  margin: 0.35rem 0 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(0, 74, 173, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(0, 74, 173, 0.14);
}

.map-fill-note[hidden] {
  display: none;
}

/* —— Hakkımızda —— */
.page-main--about {
  width: 100%;
  max-width: min(42rem, 100%);
  margin-inline: auto;
}

.about-intro .about-eyebrow {
  font-family: "Sora", sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.about-prose {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.6vw, 0.95rem);
}

.about-block h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.about-block p {
  font-size: var(--text);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.about-block p:last-child {
  margin-bottom: 0;
}

.about-block strong {
  font-weight: 600;
  color: var(--blue-deep);
}

.about-block a {
  color: var(--orange);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-block a:hover {
  color: var(--orange-deep);
}

.about-list,
.about-steps {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.25rem;
  color: var(--ink);
  font-size: var(--text);
  font-weight: 300;
  line-height: 1.7;
}

.about-list li,
.about-steps li {
  margin-bottom: 0.4rem;
}

.about-steps li::marker {
  color: var(--orange);
  font-weight: 600;
}

.about-list li::marker {
  color: var(--blue);
}

/* —— Kart grid / listeler —— */
.home-intro {
  position: relative;
  z-index: 40;
  margin-bottom: clamp(0.75rem, 2vw, 1.1rem);
  max-width: 100%;
}

.home-intro .site-header {
  margin-top: clamp(0.85rem, 2.2vw, 1.35rem);
  width: 100%;
  max-width: min(52rem, 100%);
  margin-inline: auto;
  text-align: left;
}

/* —— Ortak arama (header.php) —— */
.site-header {
  position: relative;
  z-index: 40;
  width: 100%;
}

.site-header-inner {
  width: 100%;
}

.site-search {
  position: relative;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.site-search.is-filters-open {
  z-index: 50;
  margin-bottom: clamp(0.75rem, 2vw, 1.15rem);
}

/* Otomotiv bölüm seçici — sakin blok, lacivert + turuncu vurgu */
.oto-otur {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
  max-width: min(52rem, 100%);
  margin: 0.85rem auto 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.oto-otur__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line-strong, rgba(0, 74, 173, 0.18));
  border-radius: 8px;
  background: #fff;
  color: var(--navy, #004aad);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 74, 173, 0.04);
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.oto-otur__btn::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
}

.oto-otur__btn:last-child {
  border-right-width: 1px;
}

.oto-otur__btn:not(.is-on):hover {
  border-color: color-mix(in srgb, var(--orange, #ff7518) 55%, var(--navy, #004aad));
  background: rgba(255, 117, 24, 0.06);
}

.oto-otur__btn:focus-visible {
  outline: 2px solid var(--orange, #ff7518);
  outline-offset: 2px;
}

.oto-otur__btn.is-on {
  color: var(--navy, #004aad);
  background: rgba(255, 117, 24, 0.12);
  border-color: var(--orange, #ff7518);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 117, 24, 0.2);
}

.oto-otur__btn.is-on::after {
  background: var(--orange, #ff7518);
}

.oto-otur__btn--tamir.is-on,
.oto-otur__btn--firmalar.is-on,
.oto-otur__btn--satilik.is-on {
  background: rgba(255, 117, 24, 0.12);
}

/* Eczane / acil bölge seçici: Tümü + 6 bölge */
.oto-otur--bolge {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  max-width: min(56rem, 100%);
}

/* Kurumlar: Bankalar | Kamu Kurumları */
.oto-otur--kurum {
  grid-template-columns: 1fr 1fr;
  max-width: min(36rem, 100%);
}

@media (max-width: 900px) {
  .oto-otur--bolge {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .oto-otur {
    gap: 0.35rem;
  }

  .oto-otur--bolge {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oto-otur__btn {
    min-height: 2.45rem;
    font-size: 0.72rem;
    padding: 0.4rem 0.25rem;
    letter-spacing: 0.01em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oto-otur__btn {
    transition: none;
  }
}

/* Satılık araç filtresi — ilan panosu şeridi (marka / model / renk / kasa) */
.oto-arac-filtre {
  width: 100%;
  max-width: min(52rem, 100%);
  margin: 0.7rem auto 0;
  padding: 0.7rem 0.85rem 0.85rem;
  border: 1px solid rgba(0, 74, 173, 0.16);
  border-left: 3px solid var(--orange, #ff7518);
  border-radius: 8px;
  background: #fff;
}

.oto-arac-filtre__title {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy, #004aad);
}

.oto-arac-filtre__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.oto-arac-filtre__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.oto-arac-filtre__field span {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(0, 74, 173, 0.72);
}

.oto-arac-filtre__field select {
  width: 100%;
  min-height: 2.4rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(0, 74, 173, 0.18);
  border-radius: 6px;
  background: #fafbfd;
  color: var(--navy, #004aad);
  font-size: 0.84rem;
  font-weight: 600;
}

.oto-arac-filtre__field select:focus {
  outline: 2px solid var(--orange, #ff7518);
  outline-offset: 1px;
  border-color: var(--orange, #ff7518);
}

.oto-arac-filtre__go {
  margin-top: 0.55rem;
  min-height: 2.35rem;
  padding: 0.4rem 0.9rem;
  border: 0;
  border-radius: 6px;
  background: var(--navy, #004aad);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 720px) {
  .oto-arac-filtre__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .oto-arac-filtre__grid {
    grid-template-columns: 1fr;
  }
}

.search-row {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: clamp(0.35rem, 1.2vw, 0.65rem);
  min-width: 0;
}

.search-actions {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  flex-shrink: 0;
}

.search-form {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  border: 1.5px solid rgba(0, 74, 173, 0.22);
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
}

.search-category {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23004aad' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.55rem center;
  background-size: 10px 7px;
  color: var(--blue-deep);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.65rem 1.55rem 0.65rem clamp(0.45rem, 1.2vw, 0.85rem);
  min-width: min(7.5rem, 28vw);
  max-width: min(10rem, 36vw);
  cursor: pointer;
}

.search-category:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: var(--text);
  padding: 0.65rem clamp(0.5rem, 1.5vw, 0.9rem);
}

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

.search-input:focus {
  outline: none;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.7rem clamp(0.65rem, 1.8vw, 1.15rem);
  min-height: 44px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.search-btn:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.search-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.search-btn.is-loading,
.search-btn:disabled {
  opacity: 0.85;
  cursor: wait;
  transform: none;
}

.search-btn svg {
  width: 16px;
  height: 16px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(0, 74, 173, 0.28);
  border-radius: 10px;
  background: var(--white);
  color: var(--blue);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.7rem clamp(0.55rem, 1.5vw, 1rem);
  min-height: 44px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-btn svg {
  width: 16px;
  height: 16px;
}

.filter-btn:hover {
  background: var(--sky);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.filter-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.filter-btn.is-open {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.filter-badge[hidden] {
  display: none !important;
}

.filter-btn.is-open .filter-badge {
  background: var(--white);
  color: var(--blue);
}

.filter-panel {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  z-index: 50;
  width: 100%;
  margin-top: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 53, 128, 0.12);
  padding: 1rem 1.1rem 1.1rem;
  text-align: left;
  max-height: min(70vh, 34rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: filterIn 0.22s ease both;
}

.filter-panel[hidden] {
  display: none !important;
}

.filter-panel.is-open {
  display: block;
}

.filter-panel--compact {
  margin-top: 0.45rem;
  padding: 0.65rem 0.75rem 0.7rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 53, 128, 0.1);
  max-height: min(60vh, 28rem);
}

.filter-panel--compact .filter-grid {
  gap: 0.55rem 0.65rem;
}

.filter-panel--compact .filter-field label {
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
}

.filter-panel--compact .filter-field select,
.filter-panel--compact .filter-field input[type="date"] {
  min-height: 36px;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
}

.filter-panel--compact .filter-checks {
  margin-top: 0;
}

.filter-panel--compact .filter-panel-actions {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  gap: 0.5rem 0.75rem;
}

.filter-panel--compact .filter-apply {
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.filter-grid--blog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.filter-field-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--blue-deep);
}

[data-blog-cat-picker] {
  position: relative;
  z-index: 6;
}

.blog-cat-picker-btn {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.blog-cat-picker-btn::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.65;
  margin-top: -0.12rem;
}

[data-blog-cat-picker].is-open .blog-cat-picker-btn::after {
  transform: rotate(-135deg);
  margin-top: 0.12rem;
}

.blog-cat-picker-btn.is-selected {
  color: var(--blue-deep);
  font-weight: 600;
  border-color: rgba(0, 74, 173, 0.35);
}

.blog-cat-picker-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 20;
  max-height: min(42vh, 16rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 53, 128, 0.14);
}

.blog-cat-picker-panel[hidden] {
  display: none !important;
}

.blog-cat-picker-option {
  display: block;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.blog-cat-picker-option:hover {
  background: var(--sky);
  color: var(--blue);
}

.blog-cat-picker-option.is-active {
  background: rgba(0, 74, 173, 0.1);
  color: var(--blue);
  font-weight: 650;
}

@media (max-width: 520px) {
  .filter-grid--blog {
    grid-template-columns: 1fr;
  }
}

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

.filter-panel-head {
  margin-bottom: 0.9rem;
}

.filter-panel-title {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 0.2rem;
}

.filter-panel-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.2vw, 0.7rem) clamp(0.45rem, 1.5vw, 0.85rem);
  align-items: end;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.filter-checks {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  grid-column: span 2;
  min-width: 0;
}

.filter-checks-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-height: 42px;
}

.filter-field label,
.filter-checks-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.filter-field select {
  width: 100%;
  min-width: 0;
  border: 1.5px solid rgba(0, 74, 173, 0.2);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 0.75rem;
  min-height: 42px;
}

.filter-field input[type="date"] {
  width: 100%;
  min-width: 0;
  border: 1.5px solid rgba(0, 74, 173, 0.2);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  min-height: 42px;
}

.page-main--listing .events-search-header {
  width: 100%;
  max-width: none;
  margin: 0.85rem 0 0;
  text-align: left;
}

.page-main--listing .events-search-header .site-header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.page-main--listing .events-search-header .site-search {
  text-align: left;
}

.filter-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
}

.filter-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  width: auto;
  min-height: 2.1rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.filter-check:has(input:checked) {
  border-color: rgba(0, 74, 173, 0.35);
  background: rgba(0, 74, 173, 0.06);
  color: var(--blue);
}

.filter-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.filter-panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.filter-clear {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.filter-clear:hover {
  color: var(--orange);
}

@media (max-width: 720px) {
  .search-category {
    display: none;
  }

  .search-row {
    gap: 0.3rem;
  }

  .search-input {
    font-size: 0.8rem;
    padding: 0.45rem 0.55rem;
    min-height: 36px;
  }

  .search-input::placeholder {
    font-size: 0.72rem;
  }

  .search-actions {
    gap: 0.28rem;
  }

  .filter-btn,
  .search-btn {
    min-height: 36px;
    min-width: 36px;
    padding: 0.4rem 0.45rem;
    border-radius: 8px;
    gap: 0;
  }

  .filter-btn > span:not(.filter-badge),
  .search-btn > span {
    display: none;
  }

  .filter-btn svg,
  .search-btn svg {
    width: 15px;
    height: 15px;
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-checks {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .filter-checks {
    grid-column: auto;
  }
}

/* —— Anasayfa vitrin slider —— */
.home-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 0 clamp(0.85rem, 2vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.home-slider-viewport {
  position: relative;
  overflow: hidden;
}

.home-slider-track {
  position: relative;
  height: clamp(12rem, 28vw, 16rem);
  overflow: hidden;
}

.home-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.home-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.home-slide-link,
.home-slide-ad-link {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.home-slide-media,
.home-slide-ad-media {
  position: relative;
  display: block;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: var(--sky);
}

.home-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Firma vitrin slaytı: logo track yüksekliğine otursun (aspect-ratio yok — kayma/çakışma olmasın) */
.home-slide-firm .home-slide-media {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
}

.home-slide-firm .home-slide-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Al Sat vitrin: ürün fotoğrafı alanı doldurur */
.home-slide-alsat .home-slide-media {
  background: #e8eef5;
}

.home-slide-alsat .home-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-slide-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #fffdf5;
  background: linear-gradient(135deg, #8b6914, #c9a227 55%, #e8c547);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(61, 46, 10, 0.28);
}

.home-slide-badge-ad {
  position: static;
  align-self: flex-start;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 6px;
  background: var(--orange);
  box-shadow: none;
}

.home-slide-stars {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: rgba(26, 43, 69, 0.72);
  color: var(--white);
  font-size: var(--text-xs);
  backdrop-filter: blur(4px);
}

.home-slide-stars .kb-star {
  color: rgba(255, 255, 255, 0.35);
}

.home-slide-stars .kb-star.is-on,
.home-slide-stars .kb-star.is-half {
  color: var(--orange-soft);
}

.home-slide-stars-n {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.home-slide-ad-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(0, 74, 173, 0.16), rgba(255, 117, 24, 0.2)),
    var(--sky);
}

.home-slide-ad-media-inner {
  font-family: "Sora", sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-deep);
  opacity: 0.55;
}

.home-slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 0;
  height: 100%;
  padding: clamp(0.85rem, 2vw, 1.35rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(232, 241, 251, 0.92));
  border-left: 3px solid var(--blue);
  box-sizing: border-box;
}

.home-slide-ad-copy {
  border-left-color: var(--orange);
  gap: 0.45rem;
}

.home-slide-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.home-slide-title,
.home-slide-ad-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.25;
}

.home-slide-rating {
  display: block;
}

.home-slide-text,
.home-slide-ad-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
}

.home-slide-cta {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
}

.home-slide-link:hover .home-slide-cta {
  color: var(--orange);
}

.home-slide-ad-cta {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange);
}

.home-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem 0.55rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.home-slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px solid rgba(0, 74, 173, 0.22);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
}

.home-slider-btn svg {
  width: 1rem;
  height: 1rem;
}

.home-slider-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.home-slider-dots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.home-slider-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 74, 173, 0.22);
  cursor: pointer;
}

.home-slider-dot.is-ad {
  border-radius: 2px;
  background: rgba(255, 117, 24, 0.35);
}

.home-slider-dot.is-active {
  background: var(--blue);
  transform: scale(1.2);
}

.home-slider-dot.is-ad.is-active {
  background: var(--orange);
}

.kb-card-media-badges {
  display: none !important;
}

.kb-card-stars {
  position: static;
  display: inline-flex;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 1em;
  backdrop-filter: none;
}

.kb-card-stars .kb-star {
  color: rgba(26, 43, 69, 0.22);
}

.kb-card-stars .kb-star.is-on,
.kb-card-stars .kb-star.is-half {
  color: var(--orange);
}

.kb-fav-count--on-media {
  display: none !important;
}

.kb-card-body .kb-fav-count {
  margin-top: 0.35rem;
}

@media (max-width: 720px) {
  .home-slider-track {
    height: clamp(22rem, 92vw, 28rem);
  }

  .home-slide-link,
  .home-slide-ad-link {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  .home-slide-media,
  .home-slide-ad-media {
    min-height: 0;
    height: 100%;
    max-height: 100%;
  }

  .home-slide-copy,
  .home-slide-ad-copy {
    gap: 0.22rem;
    padding: 0.65rem 0.75rem 0.75rem;
    justify-content: flex-start;
    overflow: hidden;
    border-left: 0;
    border-top: 3px solid var(--blue);
  }

  .home-slide-ad-copy {
    border-top-color: var(--orange);
  }

  .home-slide-text,
  .home-slide-ad-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-slide-title,
  .home-slide-ad-title {
    font-size: clamp(0.95rem, 4vw, 1.15rem);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-slide-firm .home-slide-media {
    padding: 0;
    aspect-ratio: auto;
    height: 100%;
    max-height: 100%;
    min-height: 0;
  }

  .home-slide-firm .home-slide-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .home-slide-alsat .home-slide-media img {
    object-fit: cover;
  }
}

.page-main--listing,
.page-main--detail {
  width: 100%;
  max-width: min(72rem, 100%);
  margin-inline: auto;
}

.page-main--article {
  max-width: min(44rem, 100%);
}

.listing-section {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.1rem);
}

/* display:flex [hidden]’ı ezmesin */
.listing-section[hidden],
[data-fav-section][hidden] {
  display: none !important;
}

.firms-empty {
  margin: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-size: var(--text-sm);
  text-align: center;
}

.firms-empty a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.firms-empty a:hover {
  color: var(--orange);
}

/* Nöbetçi eczaneler: KTEB düzeni — bölge şeridi + 3 sütun kart. */
.listing-section--eczane {
  display: block;
}

/* Bölge bloklarını alt alta, kaynak sitedeki gibi ayır. */
.nobetci-list {
  display: grid;
  gap: 1.4rem;
}

/* Her bölge: düz başlık + altındaki kart ızgarası. */
.nobetci-group {
  display: grid;
  gap: 0.75rem;
}

/* Bölge adı düz başlık; arka plan formu yok. */
.nobetci-group__title {
  margin: 0.4rem 0 0.2rem;
  padding: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
}

/* Tek eczane / acil kartı: beyaz zemin, ince çerçeve. */
.nobetci-item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

/* Acil durum: az bilgili kart — daha kompakt */
.listing-section--acil .nobetci-item--slim {
  min-height: 0;
  padding: 0.7rem 0.75rem 0.65rem;
  border-radius: 10px;
  align-self: start;
}

.listing-section--acil .nobetci-item--slim .nobetci-item__name {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
}

.listing-section--acil .nobetci-item--slim .nobetci-item__meta {
  gap: 0.4rem;
}

.listing-section--acil .nobetci-item--slim .nobetci-item__row {
  font-size: 0.82rem;
  gap: 0.4rem;
  grid-template-columns: 22px 1fr;
}

.listing-section--acil .nobetci-item--slim .nobetci-item__icon {
  width: 18px;
  height: 18px;
}

.listing-section--acil .nobetci-item--slim .nobetci-item__row--address {
  min-height: 0;
}

/* İkon rengi marka turuncusu. */
.nobetci-item__icon {
  display: block;
  margin-top: 0.05rem;
  color: var(--orange);
}

/* Numara ve harita düğmeleri yan yana. */
.nobetci-item__phone-actions,
.nobetci-item__address-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Adres metni ile Haritada aç yan yana kalsın. */
.nobetci-item__address-actions {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.4rem;
}

/* Ara + Haritada aç tabanı (renk/altı çizgi: .nobetci-item__row a.* kuralında). */
.nobetci-item__call-btn,
.nobetci-item__map-btn {
  display: inline;
  cursor: pointer;
}

/* Satırdaki diğer linkler hover. */
.nobetci-item__row a:hover {
  color: var(--orange);
}

/* Kartlar masaüstünde 3 sütun, dar ekranda 1 sütun. */
.nobetci-group__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

/* Eczane adı kartın ortasında, kaynak sitedeki gibi kalın. */
.nobetci-item__name {
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
}

/* İkon + metin satırlarını alt alta diz. */
.nobetci-item__meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}

/* Sol ikon, sağ metin — kaynak sitedeki tablo satırı. */
.nobetci-item__row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.55rem;
  align-items: start;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 400;
}

/* Adres satırı biraz daha uzun kalsın, kart yüksekliği hizalansın. */
.nobetci-item__row--address {
  min-height: 4.6rem;
}

/* Telefon numarası ve Ara düğmesi yan yana. */
.nobetci-item__phone-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Telefon numarası linki sade kalsın (Ara / Haritada aç hariç). */
.nobetci-item__row a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

/* Ara + Haritada aç: turuncu + altı çizili (yukarıdaki a kuralından sonra). */
.nobetci-item__row a.nobetci-item__call-btn,
.nobetci-item__row a.nobetci-item__map-btn {
  color: #ff7518;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #ff7518;
  text-underline-offset: 0.15em;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  cursor: pointer;
}

.nobetci-item__row a.nobetci-item__call-btn:hover,
.nobetci-item__row a.nobetci-item__map-btn:hover {
  color: #e8680a;
  text-decoration-color: #e8680a;
  background: none;
}

/* Tablet: 2 sütun. */
@media (max-width: 980px) {
  .nobetci-group__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobil: 1 sütun. */
@media (max-width: 720px) {
  .nobetci-group__items {
    grid-template-columns: 1fr;
  }
}

/* Hareket azaltılsın istenirse hover geçişlerini kapat. */
@media (prefers-reduced-motion: reduce) {
  .nobetci-item__call-btn,
  .nobetci-item__map-btn {
    transition: none;
  }
}

.firm-view-map {
  min-height: 320px;
  z-index: 1;
}

.firm-view-map-hint {
  margin: 0.4rem 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.firm-edit-logo-preview {
  margin: 0 0 0.65rem;
  width: 7rem;
  height: 7rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.firm-edit-logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.my-firms-note {
  margin: 1rem 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.kb-card--pending {
  opacity: 0.92;
}

.kb-card--pending .kb-card-meta::after {
  content: " · Onay bekliyor";
  color: var(--orange);
  font-weight: 600;
}

.home-sponsor-section {
  margin-top: clamp(0.35rem, 1.5vw, 0.75rem);
}

.kb-card-sponsor {
  border-style: dashed;
  border-color: rgba(255, 117, 24, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 117, 24, 0.06), rgba(255, 255, 255, 0.95));
}

.kb-card-media-sponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 117, 24, 0.14), rgba(0, 74, 173, 0.1));
}

.kb-card-sponsor-mark {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
  opacity: 0.85;
}

.kb-card-sponsor .kb-card-rating {
  color: var(--orange);
  font-weight: 600;
}

.listing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
}

.listing-head-text {
  min-width: 0;
  flex: 1 1 auto;
}

.listing-head-side {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.listing-head h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.listing-head p {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 300;
}

.listing-count {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--ink);
}

/* Canlı fiyat damgası — kaynak siteden son güncelleme saati */
.listing-price-sync {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.detail-catalog-head .listing-count {
  margin-left: 0.35rem;
  font-size: 0.85em;
  font-weight: 500;
  color: var(--muted);
}

.listing-section:not(.is-expanded) .kb-card.is-extra,
[data-listing-expand]:not(.is-expanded) .is-extra {
  display: none;
}

/* Firma listesi: Daha fazla ile açılacak gizli kartlar */
.kb-card.is-firms-more-hidden {
  display: none !important;
}

/* Mobil: 2 sütun → önce yalnız 2 kart; 3. basmadan görünmez */
@media (max-width: 1024px) {
  [data-listing-expand]:not(.is-expanded) .card-grid > .kb-card:nth-child(n + 3) {
    display: none;
  }

  /* Anasayfa öne çıkan / reklam: masaüstü 3, mobil 2 */
  .home-preview-grid > .kb-card.home-card-desktop-only,
  .home-preview-grid > .kb-card:nth-child(n + 3) {
    display: none;
  }

  /* Ürün vitrini artık AJAX load-more; eski nth/is-extra kuralları yok */

  /* Azalt / çoğalt tek alt düğmede; başlıktaki “Daha az” gizle */
  [data-listing-expand] .listing-head [data-listing-less] {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .home-preview-grid > .kb-card.home-card-desktop-only {
    display: flex;
  }
}

.listing-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(0.35rem, 1.2vw, 0.65rem);
  overflow-anchor: auto;
}

/* Daraltınca tarayıcı scroll’u zıplatmasın / sallamasın */
[data-listing-expand] .card-grid,
[data-listing-expand] .card-grid > .kb-card {
  overflow-anchor: none;
}

html {
  overflow-anchor: auto;
}

/* Yalnız 3 kart varken Tümünü gör: mobil evet, masaüstü hayır */
@media (min-width: 1025px) {
  .listing-more-wrap--mobile-only {
    display: none !important;
  }
}

.listing-head--sponsor {
  justify-content: flex-end;
  margin-bottom: 0;
  min-height: 0;
}

.listing-head--sponsor:not(:has(.listing-see-less:not([hidden]))) {
  display: none;
}

.listing-see-all,
.listing-see-less {
  flex-shrink: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.35rem 0.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.listing-see-less {
  align-self: center;
}

.listing-see-all:hover,
.listing-see-less:hover {
  color: var(--blue);
  text-decoration: underline;
}

.listing-see-all[hidden],
.listing-see-less[hidden] {
  display: none !important;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.15rem);
}

/* Mobil / tablet: her zaman 2’şer yan yana (3’lü sıra yok) */
@media (max-width: 1024px) {
  .card-grid,
  .page-main .card-grid,
  .listing-section .card-grid,
  [data-fav-section] .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .kb-card-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .kb-card--firm .kb-card-media {
    padding: 0;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .kb-card--firm .kb-card-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }
}

.kb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease;
  min-width: 0;
}

.kb-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
  color: inherit;
  text-decoration: none;
}

.kb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26, 43, 69, 0.12);
}

.kb-fav-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

/* Kart üstü kalp — yalnız buna basınca favori (navbar değil) */
.kb-fav-heart-btn--on-card {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
}

.kb-fav-heart-btn {
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 43, 69, 0.4);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(26, 43, 69, 0.16);
  transition: transform 0.18s var(--ease), background 0.18s ease, color 0.18s ease;
}

.kb-fav-heart-btn:hover {
  transform: scale(1.06);
}

.kb-fav-heart-btn.is-on {
  color: #ff5a8a;
  background: #ffe4ec;
}

.kb-fav-heart-btn--detail {
  width: 2.55rem;
  height: 2.55rem;
  font-size: 1.25rem;
}

.kb-fav-detail-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin-top: 0.75rem;
  width: max-content;
  max-width: 100%;
}

.kb-fav-detail-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin-top: 0;
  width: max-content;
  max-width: 100%;
}

.kb-fav-detail-block > .kb-fav-detail-row > .kb-fav-text-btn {
  order: 1;
  width: auto;
  text-align: left;
}

.kb-fav-detail-block > .kb-fav-detail-row > .kb-fav-heart-btn--detail {
  order: 2;
  flex-shrink: 0;
  margin: 0;
}

.kb-fav-count--under-label {
  margin: 0;
  width: auto;
  max-width: 100%;
  font-size: clamp(0.95rem, 0.45vw + 0.85rem, 1.1rem);
  font-weight: 700;
  color: #ff5a8a;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: left;
}

.kb-fav-text-btn {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  font-size: clamp(0.95rem, 0.45vw + 0.85rem, 1.1rem);
  font-weight: 700;
  color: #ff5a8a;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.kb-fav-text-btn:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.kb-fav-action,
.kb-fav-btn {
  display: none !important;
}

.kb-fav-count {
  display: block;
  margin: 0;
  font-size: var(--text);
  font-weight: 700;
  color: #ff5a8a;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.kb-fav-count--detail {
  margin-top: 0.55rem;
  margin-bottom: 0.25rem;
}

.detail-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.detail-hero-top .detail-eyebrow {
  margin-bottom: 0;
}

.fav-empty {
  text-align: center;
  margin: 1.5rem auto 0;
  max-width: 28rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 500;
  color: var(--muted);
}

.fav-intro {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.85rem, 2.5vw, 1.25rem);
  margin: 0.35rem 0 1.25rem;
  padding: clamp(1rem, 2.8vw, 1.35rem) clamp(1.05rem, 3vw, 1.5rem);
  border-radius: 14px;
  border: 1px solid #ffc2d4;
  background:
    linear-gradient(135deg, #fff0f5 0%, #ffe4ec 48%, #ffd6e4 100%);
  box-shadow: 0 8px 24px rgba(255, 90, 138, 0.1);
  color: #7a2342;
}

.fav-intro[hidden] {
  display: none !important;
}

.fav-intro-icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
  color: #ff5a8a;
  background: #fff;
  border: 1px solid #ffb3c8;
  box-shadow: 0 4px 12px rgba(255, 90, 138, 0.15);
}

.fav-intro-body {
  min-width: 0;
  flex: 1;
}

.fav-intro-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 600;
  color: #b0204e;
  letter-spacing: -0.02em;
}

.fav-intro-text {
  margin: 0;
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  line-height: 1.55;
  color: #8a3a55;
}

.fav-section-title {
  margin: 0;
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ff5a8a;
}

.listing-head .fav-section-title {
  color: #ff5a8a;
  margin-bottom: 0;
}

/* —— Favoriler filtre paneli —— */
.fav-toolbar .site-header-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2.2vw, 1.15rem);
}

.fav-toolbar .fav-search {
  position: relative;
}

.fav-toolbar .filter-panel--fav {
  width: min(100%, 19rem);
  max-width: 19rem;
  margin-left: auto;
  margin-right: 0;
  margin-top: 0.4rem;
  padding: 0.7rem 0.75rem 0.7rem;
  box-sizing: border-box;
}

.fav-toolbar .filter-panel--fav .filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.fav-toolbar .filter-panel--fav .filter-field {
  width: 100%;
}

.fav-toolbar .filter-panel--fav .filter-field select {
  width: 100%;
  max-width: none;
}

.fav-toolbar .filter-panel--fav .filter-panel-actions {
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  gap: 0.4rem 0.65rem;
}

.fav-count-label {
  margin: 0.15rem 0 0;
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ff5a8a;
  line-height: 1.3;
}

.fav-toolbar .filter-clear {
  border: 0;
  background: transparent;
  color: var(--orange);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  padding: 0.2rem 0.15rem;
}

.fav-toolbar .filter-clear:hover {
  color: var(--orange-deep);
}

/* Favoriler sol navbar — button.cat-link (aktif turuncu diğer navbarlarla aynı) */
.fav-sidebar .cat-nav .cat-link {
  appearance: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.fav-sidebar .cat-nav .cat-link:not(.is-active) {
  background: transparent;
  color: inherit;
}

.fav-sidebar .cat-nav .cat-link.is-active {
  color: var(--white);
  font-weight: 600;
  background: var(--orange);
  box-shadow: 0 4px 14px rgba(255, 117, 24, 0.28);
}

.fav-sidebar .cat-nav .cat-link.is-active:hover,
.fav-sidebar .cat-nav .cat-link.is-active:focus-visible {
  color: var(--white);
  background: var(--orange);
  transform: none;
  padding-left: clamp(0.35rem, 1.2vw, 0.55rem);
}

.fav-sidebar .cat-nav .cat-link:focus-visible {
  outline: 2px solid rgba(255, 117, 24, 0.55);
  outline-offset: 2px;
}

[data-fav-section] .card-grid {
  margin-top: 0;
}

@media (max-width: 720px) {
  .fav-intro {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .fav-intro-icon {
    width: 2.25rem;
    height: 2.25rem;
  }
}

.kb-fav-toast {
  position: fixed;
  left: 50%;
  bottom: max(1.35rem, env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transform: translateX(-50%) translateY(140%);
  width: min(22.5rem, calc(100vw - 1.5rem));
  padding: 0.95rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 210, 230, 0.45);
  background: rgba(180, 28, 88, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  font-family: "Sora", sans-serif;
  text-decoration: none;
  box-shadow:
    0 14px 36px rgba(140, 20, 70, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    visibility 0.4s;
}

.kb-fav-toast-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 90%;
  background: radial-gradient(ellipse at center, rgba(255, 160, 200, 0.35), transparent 70%);
  pointer-events: none;
}

.kb-fav-toast-icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffe0ec;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 6px 16px rgba(100, 10, 50, 0.25);
}

.kb-fav-toast.is-on .kb-fav-toast-icon {
  animation: kb-fav-toast-pulse 1.1s ease 1;
}

.kb-fav-toast-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.kb-fav-toast-title {
  font-size: clamp(0.9rem, 2.6vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.kb-fav-toast-sub {
  font-size: clamp(0.74rem, 2.2vw, 0.82rem);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 240, 246, 0.9);
}

.kb-fav-toast.is-on {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kb-fav-toast.is-out {
  transform: translateX(-50%) translateY(140%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.kb-fav-toast:hover {
  color: #fff;
  background: rgba(180, 28, 88, 0.88);
}

@keyframes kb-fav-toast-pulse {
  0% { transform: scale(0.85); }
  45% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

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

  .kb-fav-toast.is-on,
  .kb-fav-toast.is-out {
    transform: translateX(-50%) translateY(0);
  }

  .kb-fav-toast.is-on .kb-fav-toast-icon {
    animation: none;
  }
}

.kb-fav-toast-heart {
  display: none !important;
}

.kb-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  min-height: clamp(180px, 22vw, 260px);
  background: #e8eef5;
  overflow: hidden;
}

.kb-card-media--empty {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

/* Firma kartı: logo alana tam otursun, yazı kırpılmasın */
.kb-card--firm .kb-card-media {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  /* Kare alan: logo yazıları görünür, yan boşluk azalır */
  aspect-ratio: 1 / 1;
  min-height: clamp(200px, 26vw, 300px);
}

.kb-card--firm .kb-card-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  filter: none;
  display: block;
  margin: 0;
}

.kb-blog-cat-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: inline-block;
  width: fit-content;
  max-width: calc(100% - 1.1rem);
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: rgba(0, 53, 128, 0.88);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: clamp(0.68rem, 1.4vw, 0.78rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 30, 80, 0.25);
}

.kb-blog-cat-badge.is-tumu {
  background: rgba(255, 117, 24, 0.92);
}

.kb-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem 1rem;
}

.kb-card-meta {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.kb-card-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.kb-card-text {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kb-card-rating {
  margin-top: 0.25rem;
  font-size: var(--text-xs);
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.kb-card-rating-empty {
  color: var(--muted);
}

.kb-event-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.kb-event-ended-banner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.5rem;
  text-align: center;
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c62828;
  background: rgba(255, 255, 255, 0.82);
  line-height: 1.25;
  pointer-events: none;
}

.kb-event-ended-banner--detail {
  position: static;
  inset: auto;
  display: block;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  background: #ffebee;
  border: 1px solid #ef9a9a;
  font-size: clamp(1rem, 2vw, 1.25rem);
  pointer-events: auto;
}

.kb-card-event.is-ended .kb-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.kb-card-event.is-ended .kb-card-media {
  aspect-ratio: 4 / 3;
}

.kb-card-body--ended {
  padding: 0.55rem 0.65rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.kb-card-body--ended .kb-card-title {
  font-size: clamp(0.82rem, 0.3vw + 0.72rem, 0.95rem);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kb-event-ended-label {
  margin: 0;
  font-size: clamp(0.72rem, 0.25vw + 0.65rem, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #c62828;
}

.card-grid--ended .kb-card-event.is-ended .kb-card-media {
  min-height: 7.5rem;
}

.card-grid--ended {
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: clamp(0.55rem, 1.6vw, 0.95rem);
}

.card-grid--ended .kb-card-event.is-ended {
  max-width: none;
}

.card-grid--ended .kb-event-ended-banner {
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  padding: 0.35rem;
}

.card-grid--ended .kb-fav-row {
  padding: 0.35rem 0.45rem;
}

.card-grid--ended .kb-fav-heart-btn {
  width: 1.85rem;
  height: 1.85rem;
  font-size: 0.95rem;
}

.listing-section--ended {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  border-top: 1px solid var(--line);
}

.listing-section--ended .listing-head-text h2 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.listing-section--ended .listing-head-text p {
  font-size: var(--text-xs);
}

.events-ended-note {
  display: none !important;
}

.events-stat-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.35rem 1.25rem;
  margin-top: 0.85rem;
  margin-inline: 0;
  width: 100%;
  max-width: none;
  text-align: left;
}

.events-stat {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.45rem;
  margin: 0;
  margin-inline: 0 !important;
  max-width: none !important;
  width: auto;
  text-align: left;
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.1rem);
  font-weight: 700;
  line-height: 1.3;
}

.events-stat-delta {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.events-stat--new {
  color: #1b7a3d;
}

.events-stat--new .events-stat-delta {
  color: #15803d;
}

.events-stat--ended {
  color: #b91c1c;
}

.events-stat--ended .events-stat-delta {
  color: #c62828;
}

.listing-section--new {
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

.listing-section--new .listing-head-text h2 {
  color: #1b7a3d;
}

.listing-section--today .listing-head-text h2 {
  color: var(--blue);
}

.events-stat--under-title {
  margin-top: 0.35rem;
  margin-inline: 0 !important;
  max-width: none !important;
  text-align: left;
  font-size: clamp(0.9rem, 0.35vw + 0.8rem, 1.05rem);
}

.events-stat--under-grid {
  margin: 0.85rem 0 0;
  margin-inline: 0 !important;
  max-width: none !important;
  text-align: left;
  font-size: clamp(0.9rem, 0.35vw + 0.8rem, 1.05rem);
}

.listing-section--ended .listing-head-text h2 {
  color: #b91c1c;
}

.kb-event-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  line-height: 1.2;
  color: var(--white);
  background: rgba(26, 43, 69, 0.72);
  backdrop-filter: blur(3px);
}

.kb-event-badge.is-free {
  background: var(--blue);
}

.kb-event-badge.is-ticketed {
  background: var(--orange);
}

.kb-event-badge.kb-event-countdown.is-upcoming,
.kb-event-badge.kb-event-countdown.is-soon,
.kb-event-badge.kb-event-countdown.is-today {
  background: rgba(0, 74, 173, 0.88);
}

.kb-event-badge.kb-event-countdown.is-past {
  background: rgba(90, 107, 130, 0.85);
}

.kb-card-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.kb-event-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  line-height: 1.2;
  border: 1px solid var(--line);
  background: rgba(232, 241, 251, 0.7);
  color: var(--blue-deep);
}

.kb-event-pill.is-free {
  border-color: rgba(0, 74, 173, 0.28);
  color: var(--blue);
  background: rgba(0, 74, 173, 0.08);
}

.kb-event-pill.is-ticketed {
  border-color: rgba(255, 117, 24, 0.35);
  color: var(--orange);
  background: rgba(255, 117, 24, 0.1);
}

.kb-event-pill-time {
  color: var(--ink);
}

.kb-event-pill.kb-event-countdown.is-upcoming,
.kb-event-pill.kb-event-countdown.is-soon,
.kb-event-pill.kb-event-countdown.is-today {
  border-color: rgba(0, 74, 173, 0.28);
  color: var(--blue);
}

.kb-event-pill.kb-event-countdown.is-past {
  color: var(--muted);
}

.kb-event-ticket-cta {
  display: block;
  margin: 0.15rem 0.75rem 0.75rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 117, 24, 0.28);
  background: rgba(255, 117, 24, 0.08);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--orange);
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

a.kb-event-ticket-cta:hover,
a.kb-event-ticket-cta:focus-visible {
  color: var(--orange-deep);
  background: rgba(255, 117, 24, 0.14);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.kb-stars {
  color: #d0d7e2;
  letter-spacing: 0.05em;
  font-size: 0.95em;
}

.kb-star.is-on {
  color: var(--orange);
}

.kb-star.is-half {
  color: var(--orange-soft);
  opacity: 0.9;
}

.kb-stars-sm {
  font-size: 0.85em;
}

/* —— Detay —— */
.kb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.kb-breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.kb-breadcrumb a:hover {
  color: var(--orange);
}

.detail-hero {
  margin-bottom: clamp(0.85rem, 2vw, 1.25rem);
}

.detail-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.detail-hero h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.detail-hero > p {
  font-size: var(--text);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

.detail-rating {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  color: var(--ink);
  font-size: var(--text-sm);
}

.detail-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(0.65rem, 1.8vw, 1rem);
  align-items: stretch;
}

.detail-about-map {
  margin-bottom: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
  /* Toolbar altında çapa kaymasın */
  scroll-margin-top: calc(var(--site-chrome-h, 4.5rem) + 0.75rem);
}

/* Hakkında başlığı: yuvarlak foto + firma adı */
.detail-about-head {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.5vw, 1.25rem);
  margin-bottom: clamp(0.9rem, 2.2vw, 1.35rem);
  padding-bottom: clamp(0.85rem, 2vw, 1.15rem);
  border-bottom: 1px solid var(--line);
  /* Hafif giriş — imza anı */
  animation: detail-about-head-in 0.45s var(--ease, ease) both;
}

/* Yuvarlak firma fotoğrafı / logosu */
.detail-about-avatar {
  flex: 0 0 auto;
  width: clamp(4.25rem, 14vw, 5.75rem);
  height: clamp(4.25rem, 14vw, 5.75rem);
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  padding: 0.35rem;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: block;
}

/* Foto yoksa nötr daire */
.detail-about-avatar--empty {
  background: #e8eef5;
  box-shadow: none;
}

/* Başlık metin kolonu */
.detail-about-head-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* “Hakkında” küçük etiket */
.detail-about-head-label {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Firma adı — sayfadaki tek h1 */
.detail-about-firm-name {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 3.2vw, 1.75rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  word-break: break-word;
}

/* Puan satırı (eski hero’dan taşındı) */
.detail-rating--about {
  margin: 0.35rem 0 0;
  font-size: var(--text-sm);
}

/* Ürün alt kategori seçici — ürün listesinin hemen üstünde */
.detail-urun-kat {
  margin: 0 0 0.75rem;
  padding: 0;
  border-top: 0;
}

.detail-urun-kat--above-products {
  /* Katalog başlığı ile grid arasında sıkı boşluk */
  margin-top: 0.15rem;
  margin-bottom: 0.65rem;
}

.detail-urun-kat-label {
  margin: 0 0 0.45rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
}

.detail-urun-kat .kb-cats-scroll-hint {
  margin-top: -0.1rem;
}

.detail-urun-kat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
}

/* Ürün kategorileri: menü gibi yatay kaydırılabilir ray */
.detail-urun-kat-list--rail {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.45rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.detail-urun-kat-list--rail .detail-urun-kat-btn {
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
}

.detail-urun-kat-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 560;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.detail-urun-kat-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.detail-urun-kat-btn.is-active {
  border-color: var(--blue);
  background: rgba(26, 43, 69, 0.06);
  color: var(--blue);
}

/* Kategori seçilmeden önce ürün alanı yönlendirmesi */
.detail-catalog-pick {
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: rgba(26, 43, 69, 0.03);
  color: var(--muted, #5a6570);
  font-size: var(--text-sm);
  text-align: center;
}

.detail-catalog-pick[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .detail-urun-kat-btn {
    transition: none;
  }
}

/* Mobil: kategori şeridi yatay kaydırılabilir, ürünlerin üstünde yapışık */
@media (max-width: 720px) {
  .detail-urun-kat--above-products {
    margin-bottom: 0.55rem;
    /* Sticky toolbar altında hafif yapışkan — kaydırınca seçim kaybolmasın */
    position: sticky;
    top: calc(var(--site-chrome-h, 4.5rem) + 0.25rem);
    z-index: 4;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.45rem 0 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .detail-urun-kat--above-products .detail-urun-kat-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
  }

  .detail-urun-kat--above-products .detail-urun-kat-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
  }
}

/* Başlık giriş animasyonu */
@keyframes detail-about-head-in {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Hareket azalt: animasyon kapalı */
@media (prefers-reduced-motion: reduce) {
  .detail-about-head {
    animation: none;
  }
}

.detail-about-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.15rem);
  align-items: stretch;
}

/* Harita yoksa tek kolon */
.detail-about-map-grid--solo {
  grid-template-columns: minmax(0, 1fr);
}

.detail-about-col,
.detail-map-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.detail-about-col h2,
.detail-map-col h2 {
  margin-bottom: 0.55rem;
}

.detail-about-prose,
.detail-about-prose--one {
  margin: 0 0 0.75rem;
  font-size: var(--text);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.55;
  min-width: 0;
  /* En fazla 3 cümle PHP’de kesilir — satır clamp ile yarım kesme */
  display: block;
  overflow: visible;
}

/* Açıklama + iletişim + sosyal — alt alta (yan yana kaldırıldı) */
.detail-about-split {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.detail-about-split-main {
  min-width: 0;
}

.detail-facts--contact,
.detail-facts--social {
  margin-top: 0.15rem;
}

/* Favori + Menüyü gör satırı */
.kb-fav-menu-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  width: max-content;
  max-width: 100%;
}

.kb-fav-detail-block--with-menu {
  width: 100%;
}

.kb-fav-detail-block--with-menu .kb-fav-menu-actions {
  width: 100%;
}

/* Menüye kaydır — favori yanında */
.kb-menu-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--orange) 55%, var(--line));
  background: color-mix(in srgb, var(--orange) 12%, #fff);
  color: var(--orange-deep, #c45a10);
  font: inherit;
  font-size: clamp(0.9rem, 0.4vw + 0.8rem, 1.05rem);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.kb-menu-jump-btn:hover {
  background: color-mix(in srgb, var(--orange) 22%, #fff);
  border-color: var(--orange);
  color: var(--orange-deep, #c45a10);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .kb-menu-jump-btn:hover {
    transform: none;
  }
}

.detail-about-gallery {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

/* Galeri yoksa boş çizgi/padding yok */
.detail-about-gallery--empty {
  margin-top: 0.55rem;
  padding-top: 0;
  border-top: 0;
}

.detail-about-gallery-title {
  font-family: "Sora", sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

/* Bilet.com feribot seferleri — Hakkında (yalnız bu firma) */
.bilet-sefer {
  margin: 1rem 0 0.35rem;
  width: 100%;
  max-width: none;
  /* Hakkında ızgarasının altında tam satır */
  grid-column: 1 / -1;
}
.bilet-sefer-title {
  font-family: "Sora", sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.2rem;
}
.bilet-sefer-lead {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: var(--text-sm);
}
.bilet-sefer-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* Mobil: 2 yan yana */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
/* Bilgisayar: 3’lü sıra */
@media (min-width: 1025px) {
  .bilet-sefer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
.bilet-sefer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.bilet-sefer-photo {
  aspect-ratio: 16 / 9;
  background: var(--sky);
  overflow: hidden;
}
.bilet-sefer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.35s var(--ease);
}
.bilet-sefer-card:hover .bilet-sefer-photo img {
  transform: scale(1.04);
}
/* Kapalıyken masaüstü 6, mobil 4 kart */
.bilet-sefer:not(.is-expanded) .bilet-sefer-card.is-extra {
  display: none;
}
@media (max-width: 1024px) {
  .bilet-sefer:not(.is-expanded) .bilet-sefer-card:nth-child(n + 5) {
    display: none;
  }
  .bilet-sefer [data-bilet-sefer-less] {
    display: none !important;
  }
}
@media (min-width: 1025px) {
  .bilet-sefer:not(.is-expanded) .bilet-sefer-card:nth-child(n + 7) {
    display: none;
  }
}
.bilet-sefer-more {
  margin-top: 0.85rem;
}
.bilet-sefer-body {
  padding: 0.65rem 0.75rem 0.8rem;
}
.bilet-sefer-firma {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  font-size: var(--text-sm);
}
.bilet-sefer-rota {
  margin: 0.15rem 0 0;
  color: var(--blue);
  font-weight: 600;
  font-size: var(--text-sm);
}
.bilet-sefer-meta {
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  color: var(--muted);
  font-size: var(--text-sm);
}
.bilet-sefer-ucret {
  margin: 0.4rem 0 0;
  font-weight: 700;
  color: var(--orange-deep);
}
@media (prefers-reduced-motion: reduce) {
  .bilet-sefer-photo img,
  .bilet-sefer-card:hover .bilet-sefer-photo img {
    transition: none;
    transform: none;
  }
}

.detail-about-col .firm-gallery-grid {
  max-width: none;
  gap: 0.3rem;
  justify-content: start;
}

.detail-about-col .firm-gallery-grid--1,
.detail-about-col .firm-gallery-grid--2,
.detail-about-col .firm-gallery-grid--3,
.detail-about-col .firm-gallery-grid--4 {
  max-width: none;
  grid-template-columns: repeat(auto-fill, minmax(6.75rem, 1fr));
}

.detail-about-col .firm-gallery-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 8.5rem));
}

.detail-about-col .firm-gallery-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 8rem));
}

.detail-about-col .firm-gallery-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 7.5rem));
}

.detail-about-col .firm-gallery-item {
  max-height: 7rem;
}

.detail-gallery-empty {
  margin: 0.35rem 0 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted, #5b6b7c);
  font-size: 0.95rem;
}

.detail-map-col .contact-map-address {
  margin-bottom: 0.5rem;
}

.detail-facts-locations {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.detail-facts-locations > strong {
  display: block;
}

.firm-locations-list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.firm-locations-list-row {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
}

.firm-locations-list-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.firm-locations-list-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
}

.firm-locations-list-adres {
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.firm-locations-list-link {
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  width: fit-content;
}

.firm-locations-list--map {
  margin-bottom: 0.65rem;
}

.detail-map-col .firm-detail-map {
  flex: 1 1 auto;
  min-height: 320px;
  height: auto;
}

.detail-map-col .firm-detail-map iframe {
  min-height: 320px;
  height: 100%;
}

.detail-map-col .contact-map-links {
  margin-top: 0.5rem;
}

.detail-main-col,
.detail-side-col {
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.4vw, 0.8rem);
  min-width: 0;
}

.detail-side-col .detail-map-block {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.detail-gallery-block {
  margin-top: clamp(0.55rem, 1.4vw, 0.8rem);
}

.detail-block h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--blue);
  margin-bottom: 0.55rem;
}

.detail-block > p,
.detail-about-col > p,
.article-body p {
  font-size: var(--text);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 0.65rem;
}

.detail-muted {
  color: var(--muted) !important;
}

.detail-facts {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  color: var(--ink);
  line-height: 1.7;
}

.detail-facts li {
  margin-bottom: 0.4rem;
}

.firma-form .form-field,
.firma-form .links-gate-options,
.firma-form [data-cat-picker],
.firma-form .firma-map,
.firma-form .form-section {
  scroll-margin-top: calc(var(--site-chrome-h, 4.5rem) + 1rem);
}

.firma-form .form-field.is-invalid input,
.firma-form .form-field.is-invalid textarea,
.firma-form .form-field.is-invalid select,
.firma-form .cat-picker.is-invalid .cat-picker-btn,
.firma-form .links-gate-options.is-invalid {
  outline: 2px solid #c62828;
  outline-offset: 2px;
}

#firma-katalog[hidden],
.detail-catalog--menu[hidden] {
  display: none !important;
}

.detail-catalog.listing-section {
  margin-top: 0;
}

/* Öne çıkan ürünler: beyaz panel yok, kartlar biraz küçük */
.detail-catalog--products {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.35rem 0 0.15rem;
  margin: clamp(0.85rem, 2vw, 1.35rem) 0;
}

.detail-catalog--products .detail-catalog-grid {
  gap: clamp(0.55rem, 1.5vw, 0.85rem);
}

/* Arama sonuçları: ürün / menü kartları */
.listing-section--products .detail-catalog-grid {
  gap: clamp(0.55rem, 1.5vw, 0.85rem);
}

.listing-section--products .kb-card-product,
.kb-card-product--search {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s var(--ease), box-shadow 0.32s ease, filter 0.32s ease;
}

.kb-fav-heart-btn--product {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
}

.detail-catalog--products .kb-card-product {
  position: relative;
}

.detail-menu-item {
  position: relative;
  align-items: flex-start;
}

.detail-menu-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.kb-fav-heart-btn--menu {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  /* Varsayılan: beyaz kalp */
  background: rgba(26, 43, 69, 0.45);
  color: #fff;
  box-shadow: none;
}

/* Favoriye eklenince pembe */
.kb-fav-heart-btn--menu.is-on {
  background: #ffe4ec;
  color: #ff5a8a;
}

.kb-fav-count--menu {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

.listing-section--products .kb-card-product:hover,
.kb-card-product--search:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 36px rgba(26, 43, 69, 0.14);
  filter: brightness(1.03);
}

/* Ürün medya kutusu: oran kutuda; img kutuyu doldurur */
.kb-card-product--search .kb-card-media {
  aspect-ratio: 8 / 5;
  min-height: clamp(120px, 18vw, 180px);
  background: #fff;
  overflow: hidden;
}

.kb-card-product--search .kb-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  /* Tıklama / sürükleme fotoğrafı açmasın — link (firma Hakkında) çalışsın */
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* Menü / ürün: foto yoksa beyaz boş alan (kart yüksekliği korunur) */
.kb-card-product .kb-card-media--empty,
.kb-card-product--search .kb-card-media--empty {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  min-height: clamp(120px, 18vw, 180px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.detail-menu-thumb {
  flex: 0 0 auto;
  width: clamp(4.5rem, 12vw, 5.5rem);
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

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

.detail-menu-thumb--empty {
  background: #fff;
}

.kb-card-product--search .detail-catalog-price {
  display: block;
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--ink);
}

/* Ürün kartı altı: yuvarlak logo + firma adı */
.kb-card-product-firm {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
  min-width: 0;
}

/* Yuvarlak firma logosu (adın solu) — logo tam görünsün */
.kb-card-product-firm-logo {
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  padding: 0.15rem;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--line);
  display: block;
}

.kb-card-product-firm-logo--empty {
  background: linear-gradient(145deg, #eef2f7, #dfe6ef);
}

.kb-card-product-firm-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-card-product--search .kb-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Link tüm kart yüksekliğini doldursun — firma satırı alta yapışır */
.kb-card-product--search > .kb-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

/* Firma satırını kart gövdesinin altına it */
.kb-card-product--search .kb-card-product-firm {
  margin-top: auto;
  padding-top: 0.55rem;
}

.detail-catalog--products .kb-card-product {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.32s var(--ease), box-shadow 0.32s ease, filter 0.32s ease;
}

.detail-catalog--products .kb-card-product:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 36px rgba(26, 43, 69, 0.14);
  filter: brightness(1.03);
}

.detail-catalog--products .kb-card-media {
  min-height: clamp(120px, 16vw, 170px);
  aspect-ratio: 4 / 3;
  border-radius: 0;
  overflow: hidden;
}

.detail-catalog--products .kb-card-body {
  padding: 0.55rem 0.7rem 0.7rem;
  gap: 0.25rem;
}

.detail-catalog--products .kb-card-title {
  font-size: clamp(0.88rem, 1.3vw, 0.98rem);
}

.detail-catalog--products .kb-card-text {
  -webkit-line-clamp: 4;
  font-size: clamp(0.78rem, 1.1vw, 0.86rem);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-catalog--products .detail-catalog-price {
  margin-top: 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
}

.detail-catalog-cta {
  margin: 1rem 0 0.25rem;
}

.detail-catalog-empty {
  margin: 0.55rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.detail-catalog-sep {
  color: var(--muted);
}

.detail-catalog-website {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.5;
  max-width: min(100%, 32rem);
}

.detail-catalog-website:hover {
  color: var(--orange);
}

.detail-catalog-website-url {
  font-weight: 700;
  font-size: 1.05em;
  color: var(--blue);
  word-break: break-all;
}

.detail-catalog-website:hover .detail-catalog-website-url {
  text-decoration: underline;
}

.detail-catalog-empty .detail-catalog-website {
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  display: inline;
  max-width: none;
}

.detail-catalog-empty--solo {
  margin: 0.65rem 0 1rem;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.listing-head-side .detail-catalog-website {
  text-align: right;
}

.detail-catalog--products .detail-catalog-empty {
  margin-top: 0.15rem;
}

.detail-catalog-btn {
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
}

.detail-catalog-btn.is-open {
  background: var(--blue);
}

.detail-catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.detail-catalog-head h2 {
  margin: 0;
}

/* Restoran: telefon satırı + arama düğmesi */
.detail-phone-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.detail-phone-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Yuvarlak telefon düğmesi (ikon ortalı) */
  width: 2.15rem;
  height: 2.15rem;
  min-width: 2.15rem;
  min-height: 2.15rem;
  padding: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  border: 0;
  font: inherit;
  font-size: 0;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 50%, transparent);
  animation: kb-menu-order-pulse 2s ease-in-out infinite;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.detail-phone-call-btn:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: scale(1.06);
}

/* «Ara» yazısı gizle — yalnız yuvarlak ikon (erişilebilirlik: aria-label) */
.detail-phone-call-btn > span:not([aria-hidden]) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Global svg{height:auto} mobilde ikonu sıfırlıyor — sabit boyut + max-width iptali */
.detail-phone-call-btn .detail-phone-call-icon,
.detail-phone-call-icon {
  display: block !important;
  width: 1.1rem !important;
  height: 1.1rem !important;
  min-width: 1.1rem !important;
  min-height: 1.1rem !important;
  max-width: none !important;
  flex-shrink: 0;
  overflow: visible;
  color: #fff;
}

.detail-phone-call-icon path {
  fill: currentColor !important;
}

/* Mobil: yuvarlak Ara düğmesi */
@media (max-width: 768px) {
  .detail-phone-call-btn {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
  }

  .detail-phone-call-btn .detail-phone-call-icon {
    width: 1.05rem !important;
    height: 1.05rem !important;
    min-width: 1.05rem !important;
    min-height: 1.05rem !important;
  }
}

/* Menü kalem sayacı gizli */
.kb-menu-count[hidden],
.kb-menu-count {
  display: none !important;
}

/* Menü sipariş bandı */
.detail-menu-order-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin: 0 0 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--orange) 22%, #fff) 0%,
    color-mix(in srgb, var(--orange) 8%, #fff) 55%,
    #fff 100%
  );
  border: 1px solid color-mix(in srgb, var(--orange) 42%, var(--line));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--orange) 12%, transparent);
}

.detail-menu-order-banner-copy {
  min-width: 0;
}

.detail-menu-order-banner-title {
  margin: 0 0 0.15rem;
  font-size: var(--text-base);
  font-weight: 750;
  color: var(--ink);
}

.detail-menu-order-banner-num {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  letter-spacing: 0.01em;
}

.detail-menu-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 45%, transparent);
  animation: kb-menu-order-pulse 2.1s ease-in-out infinite;
}

.detail-menu-order-btn:hover {
  color: #fff;
  filter: brightness(1.05);
}

.detail-menu-order-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  animation: kb-menu-phone-glow 1.5s ease-in-out infinite;
}

.detail-menu-order-btn-text {
  white-space: nowrap;
}

/* Mobil sticky ara */
.detail-menu-order-sticky {
  display: none;
}

@media (max-width: 720px) {
  .detail-menu-order-sticky,
  .kb-menu-sticky {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.15rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: linear-gradient(115deg, var(--orange), var(--orange-deep));
    color: #fff;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 12px 32px color-mix(in srgb, var(--orange) 45%, transparent);
    animation: kb-menu-order-pulse 2.2s ease-in-out infinite;
  }

  .detail-menu-order-sticky-icon {
    display: inline-flex;
    animation: kb-menu-phone-glow 1.5s ease-in-out infinite;
  }

  .detail-catalog--menu {
    padding-bottom: 4.75rem;
  }
}

.detail-menu-item-kat {
  display: inline-block;
  margin: 0 0 0.2rem;
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
}

.detail-catalog-head-text h2 {
  margin: 0;
}

.detail-catalog-head-text .listing-count {
  margin: 0.15rem 0 0;
}

@keyframes kb-menu-order-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 40%, transparent);
  }
  50% {
    box-shadow: 0 0 0 10px color-mix(in srgb, var(--orange) 0%, transparent);
  }
}

@keyframes kb-menu-phone-glow {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.12);
    filter: brightness(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-menu-order-btn,
  .detail-menu-order-btn-icon,
  .detail-menu-order-sticky,
  .detail-menu-order-sticky-icon,
  .detail-phone-call-btn {
    animation: none;
  }
  .detail-phone-call-btn:hover {
    transform: none;
  }
}

/* Eski küçük CTA (geriye dönük) */
.detail-menu-order-cta {
  display: none;
}

.detail-catalog-close {
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.15rem;
  min-height: 44px;
}

.detail-catalog-close:hover {
  text-decoration: underline;
}

.detail-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.detail-menu-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 74, 173, 0.1);
}

.detail-menu-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-menu-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.detail-menu-item-title {
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.detail-menu-item-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.45;
}

.detail-menu-item-price {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}

/* ========== Restoran menü sahnesi (kb-menu) ==========
   İmza: foto-öncelikli yemek kartı ızgarası + kaydırılır kategori rayı + parlayan sipariş bandı
*/
.detail-catalog--menu.kb-menu {
  position: relative;
  margin-top: 0.35rem;
  padding: 1.25rem 1.15rem 1.5rem;
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--orange) 14%, transparent), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--blue) 10%, transparent), transparent 50%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  border: 1px solid color-mix(in srgb, var(--blue) 14%, var(--line));
  box-shadow:
    0 18px 48px rgba(26, 43, 69, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.kb-menu-hero {
  margin: 0 0 1.05rem;
}

.kb-menu-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.kb-menu-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.kb-menu-title {
  margin: 0;
  font-family: "Sora", "Outfit", sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

.kb-menu-lead {
  margin: 0.35rem 0 0;
  max-width: 36rem;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.45;
}

.kb-menu-count {
  margin: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--blue) 18%, var(--line));
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

/* Sipariş bandı */
.kb-menu-order {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.1rem;
  padding: 1.05rem 1.15rem;
  border-radius: 18px;
  background: linear-gradient(
    115deg,
    color-mix(in srgb, var(--orange) 92%, #fff) 0%,
    var(--orange) 42%,
    var(--orange-deep) 100%
  );
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.kb-menu-order-glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 55%;
  height: 160%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
}

.kb-menu-order-copy,
.kb-menu-order-btn {
  position: relative;
  z-index: 1;
}

/* «Menüyü gör» kaydırınca sipariş bandı kısa parlar */
.kb-menu-order.is-jump-flash {
  animation: kb-menu-order-jump 1.25s ease;
}

@keyframes kb-menu-order-jump {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(255, 117, 24, 0.28);
  }
  35% {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.85), 0 14px 36px rgba(255, 117, 24, 0.55);
    filter: brightness(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kb-menu-order.is-jump-flash {
    animation: none;
  }
}

.kb-menu-order-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.88;
}

.kb-menu-order-title {
  margin: 0;
  font-family: "Sora", "Outfit", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 700;
}

.kb-menu-order-num {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.95;
  letter-spacing: 0.02em;
}

.kb-menu-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  color: var(--orange-deep);
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.kb-menu-order-btn:hover {
  color: var(--orange-deep);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.kb-menu-order-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--orange) 16%, #fff);
  color: var(--orange);
  animation: kb-menu-phone-glow 1.5s ease-in-out infinite;
}

.kb-menu-order-btn-icon svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.kb-menu-order-btn-icon path {
  fill: currentColor;
}

.kb-menu-order-btn-ring {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Arama */
.kb-menu-tools {
  margin: 0 0 0.85rem;
}

.kb-menu-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid color-mix(in srgb, var(--blue) 16%, var(--line));
  box-shadow: 0 4px 14px rgba(26, 43, 69, 0.04);
}

.kb-menu-search:focus-within {
  border-color: color-mix(in srgb, var(--orange) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 18%, transparent);
}

.kb-menu-search-icon {
  color: var(--muted);
  display: inline-flex;
}

.kb-menu-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
}

.kb-menu-search-input::placeholder {
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

/* Kategori rayı */
.kb-menu-cats {
  margin: 0 0 1rem;
}

.kb-menu-cats-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Chip rayı: daha fazla kategori için sağa kaydır ipucu (menü + ürün) */
.kb-cats-scroll-hint {
  margin: -0.15rem 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
}

.kb-menu-cats-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.45rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.kb-menu-cat {
  appearance: none;
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--blue) 16%, var(--line));
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 620;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.kb-menu-cat em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 10%, #fff);
  color: var(--blue);
}

.kb-menu-cat:hover {
  border-color: color-mix(in srgb, var(--orange) 45%, var(--line));
  transform: translateY(-1px);
}

.kb-menu-cat.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--blue) 28%, transparent);
}

.kb-menu-cat.is-active em {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Kart ızgarası */
.kb-menu .detail-menu-list.kb-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kb-menu .detail-menu-item.kb-menu-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(26, 43, 69, 0.07);
  border: 1px solid color-mix(in srgb, var(--blue) 10%, transparent);
  transition: transform 0.28s var(--ease, ease), box-shadow 0.28s ease;
  animation: kb-menu-card-in 0.55s ease both;
  animation-delay: var(--kb-stagger, 0ms);
}

.kb-menu .kb-menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(26, 43, 69, 0.12);
}

.kb-menu-card-media {
  position: relative;
  aspect-ratio: 5 / 3.4;
  background: linear-gradient(145deg, #eef2f7, #dde5ef);
  overflow: hidden;
}

.kb-menu-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease, ease);
}

.kb-menu .kb-menu-card:hover .kb-menu-card-media img {
  transform: scale(1.08);
}

.kb-menu-card-ph {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--orange) 22%, transparent), transparent 55%),
    linear-gradient(145deg, #e8eef6, #d5dee9);
}

/* Fotoğraf yok: yalnız isim satırı (Domino’s / Kybele) */
.kb-menu .detail-menu-list.kb-menu-grid--names {
  grid-template-columns: 1fr;
  gap: 0;
}

.kb-menu .kb-menu-card--name {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.62rem 0.15rem;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--blue) 12%, transparent);
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.kb-menu .kb-menu-card--name:hover {
  transform: none;
  box-shadow: none;
  background: color-mix(in srgb, var(--blue) 5%, transparent);
}

.kb-menu-card--name .kb-menu-card-body {
  padding: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.75rem;
}

.kb-menu-card--name .kb-menu-card-title {
  font-size: 0.98rem;
  font-weight: 650;
}

.kb-menu-name-price {
  margin-left: auto;
  font-weight: 750;
  color: var(--blue);
  white-space: nowrap;
  font-size: 0.92rem;
}

.kb-menu .kb-fav-heart-btn--name {
  position: static;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  background: transparent;
  color: var(--blue);
  box-shadow: none;
}

.kb-menu-card-price {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(26, 43, 69, 0.88);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
}

.kb-menu .kb-fav-heart-btn--menu {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  width: 2.15rem;
  height: 2.15rem;
  /* Menü kartı: beyaz kalp (favori değilken) */
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

/* Favoriye eklenince renk değişir */
.kb-menu .kb-fav-heart-btn--menu.is-on {
  background: #ffe4ec;
  color: #ff5a8a;
  box-shadow: 0 4px 12px rgba(255, 90, 138, 0.28);
}

.kb-menu-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.75rem 0.8rem 0.9rem;
  min-width: 0;
}

.kb-menu-card-kat {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.kb-menu-card-title {
  font-family: "Sora", "Outfit", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.kb-menu-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.kb-menu-empty {
  margin: 0.5rem 0 0;
  padding: 1.25rem;
  text-align: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--blue) 6%, #fff);
  color: var(--muted);
  font-size: var(--text-sm);
}

/* Boş menü: sipariş CTA’nın hemen altında “Menü yok” */
.kb-menu-empty--solo {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--ink);
  font-size: var(--text-base);
}

.kb-menu--empty .kb-menu-order {
  margin-bottom: 0;
}

.kb-menu-more {
  margin-top: 1.15rem;
}

.kb-menu-more-btn {
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  border-radius: 999px !important;
  border: 1px solid color-mix(in srgb, var(--blue) 22%, var(--line));
  background: #fff;
  font-weight: 700;
}

@keyframes kb-menu-card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .kb-menu .detail-menu-list.kb-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .detail-catalog--menu.kb-menu {
    padding: 1rem 0.75rem 1.25rem;
    border-radius: 16px;
  }

  .kb-menu .detail-menu-list.kb-menu-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .kb-menu-order {
    padding: 0.95rem;
  }

  .kb-menu-order-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kb-menu .kb-menu-card,
  .kb-menu-order-btn-icon,
  .kb-menu .kb-menu-card-media img {
    animation: none !important;
    transition: none !important;
  }

  .kb-menu .kb-menu-card:hover,
  .kb-menu-order-btn:hover {
    transform: none;
  }
}

.detail-catalog--products .kb-card-media img {
  transition: transform 0.4s var(--ease, ease);
}

.detail-catalog--products .kb-card-product:hover .kb-card-media img {
  transform: scale(1.12);
}

.detail-catalog .detail-catalog-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
  .detail-catalog--products .kb-card-product,
  .detail-catalog--products .kb-card-media img,
  .detail-catalog--products .kb-card-product:hover,
  .detail-catalog--products .kb-card-product:hover .kb-card-media img {
    transition: none;
    transform: none;
    filter: none;
  }
}

.detail-facts a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
}

.firm-gallery-grid {
  display: grid;
  gap: 0.3rem;
  max-width: min(40rem, 100%);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
}

.firm-gallery-grid--1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 16rem;
}

.firm-gallery-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 24rem;
}

.firm-gallery-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 32rem;
}

.firm-gallery-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 40rem;
}

.firm-gallery-item {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 5 / 4;
  max-height: 8.5rem;
  background: #e8eef5;
}

.firm-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.firm-review-list,
.firm-rating-list,
.firm-comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.firm-rating-list {
  gap: 0.55rem;
}

.firm-review-item,
.firm-rating-item,
.firm-comment-item {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.firm-rating-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 0.75rem;
  align-items: center;
  padding-bottom: 0.55rem;
}

.firm-rating-item .firm-review-rating {
  grid-column: 1;
  margin: 0;
}

.firm-rating-item time {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--muted);
  font-size: var(--text-xs);
  align-self: start;
  justify-self: end;
}

.firm-review-item:last-child,
.firm-rating-item:last-child,
.firm-comment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.firm-review-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
  font-size: var(--text-sm);
}

.firm-review-author {
  font-weight: 600;
  color: var(--ink);
}

.firm-review-author.is-guest {
  font-weight: 500;
  color: var(--muted);
}

.firm-review-item time,
.firm-comment-item time {
  color: var(--muted);
  font-size: var(--text-xs);
}

.firm-review-item p,
.firm-comment-item p {
  margin: 0.35rem 0 0;
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.6;
}

[data-listing-expand]:not(.is-expanded) .firm-review-item:nth-child(3),
[data-listing-expand]:not(.is-expanded) .firm-rating-item:nth-child(3),
[data-listing-expand]:not(.is-expanded) .firm-comment-item:nth-child(3),
[data-listing-expand]:not(.is-expanded) .firm-feed-item:nth-child(4) {
  border-bottom: none;
  padding-bottom: 0;
}

.firm-feed-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.firm-feed-item {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.firm-feed-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.firm-feed-item.is-stars-only {
  padding-bottom: 0.45rem;
}

.firm-feed-text {
  margin: 0.35rem 0 0;
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.6;
}

.firm-feed-media {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.firm-feed-photo {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: #e8eef5;
}

.firm-feed-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.firm-feed-video {
  width: 100%;
  max-height: 220px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0b1220;
  grid-column: 1 / -1;
}

.review-media-field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.review-opt {
  font-weight: 400;
  color: var(--muted);
}

.review-media-field input[type="file"]:not(.file-picker-input) {
  width: 100%;
  font-size: var(--text-xs);
  color: var(--ink);
}

.review-panel-form .form-submit-note {
  text-align: left;
  max-width: none;
  margin: 0.2rem 0 0;
}

.comments-block {
  margin-top: clamp(0.55rem, 1.4vw, 0.8rem);
}

.firm-review-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.2rem 0 0;
}

.firm-review-score {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
}

/* —— Değerlendirme / yorum paneli (tek kutu, iç yan yana) —— */
.review-panel {
  margin-top: clamp(0.55rem, 1.4vw, 0.8rem);
}

.review-panel + .review-panel {
  margin-top: clamp(0.5rem, 1.2vw, 0.7rem);
}

.rating-stats {
  display: grid;
  grid-template-columns: minmax(7rem, 9.5rem) minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(246, 249, 252, 0.9);
}

.rating-stats-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}

.rating-stats-avg {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}

.rating-stats-total {
  margin: 0.15rem 0 0;
  font-size: var(--text-xs);
  color: var(--muted);
}

.rating-stats-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rating-stats-row {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) 6.5rem;
  gap: 0.45rem;
  align-items: center;
  font-size: var(--text-xs);
}

.rating-stats-label {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.rating-stats-track {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(0, 74, 173, 0.1);
  overflow: hidden;
}

.rating-stats-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  min-width: 0;
}

.rating-stats-count {
  text-align: right;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.rating-stats-pct {
  font-weight: 400;
  opacity: 0.85;
}

@media (max-width: 560px) {
  .rating-stats {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .rating-stats-row {
    grid-template-columns: 3.75rem minmax(0, 1fr) 6rem;
  }
}

.review-panel-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 16.5rem);
  gap: clamp(0.65rem, 1.8vw, 1rem);
  align-items: start;
}

.review-panel-list {
  min-width: 0;
}

.review-panel-form {
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(246, 249, 252, 0.85);
}

.review-panel-form-title {
  font-family: "Sora", sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 0.45rem;
}

.review-panel-form .firma-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.review-panel-form .firma-form--compact .form-field {
  margin: 0;
}

.review-panel-form .firma-form--compact .form-field textarea {
  min-height: 4.25rem;
  padding: 0.4rem 0.65rem;
  font-size: var(--text-sm);
  resize: vertical;
}

.review-panel-form .firma-form--compact .form-actions {
  margin-top: 0;
}

.review-panel-form .firma-form--compact .btn-primary {
  min-height: 2.4rem;
  padding-inline: 0.9rem;
  font-size: var(--text-sm);
  width: 100%;
}

.review-panel-form .form-actions + .form-submit-note {
  text-align: left;
  max-width: none;
  margin-top: 0.35rem;
}

.review-col-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.review-col-head h2 {
  margin-bottom: 0;
}

.review-col-head-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.review-score {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-xs);
  color: var(--muted);
}

.review-score strong {
  color: var(--ink);
}

.review-more-wrap {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 0;
}

.rating-picker {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(246, 249, 252, 0.85);
  padding: 0.7rem 0.85rem 0.6rem;
  margin-bottom: 0.85rem;
}

.rating-picker--compact {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

.rating-picker legend {
  font-family: "Sora", sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue);
  padding-inline: 0.25rem;
}

.rating-stars {
  display: flex;
  gap: clamp(0.15rem, 1vw, 0.35rem);
  margin-top: 0;
  justify-content: space-between;
}

.rating-star {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  cursor: pointer;
  padding: 0.1rem 0.15rem;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.rating-star input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.rating-star-glyph {
  font-size: clamp(1.2rem, 3.2vw, 1.45rem);
  line-height: 1;
  color: #d7dee6;
  transition: color 0.15s ease, transform 0.15s ease;
}

.rating-star-num {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
}

.rating-star.is-on .rating-star-glyph {
  color: var(--orange);
}

.rating-star.is-on .rating-star-num {
  color: var(--ink);
}

.rating-star:hover .rating-star-glyph {
  transform: scale(1.08);
}

.rating-star input:focus-visible + .rating-star-glyph {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.rating-readout {
  margin: 0.3rem 0 0;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
  min-height: 1.1em;
}

.rating-readout.is-set {
  color: var(--orange);
}

.firm-detail-map {
  flex: 1;
  width: 100%;
  min-height: 320px;
  max-height: none;
  aspect-ratio: auto;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eef5;
}

.firm-detail-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .review-panel-body {
    grid-template-columns: 1fr;
  }

  /* Mobil: önce yorumlar, altında yorum ekle */
  .review-panel-list {
    order: 1;
  }

  .review-panel-form {
    order: 2;
  }

  .detail-about-map-grid {
    grid-template-columns: 1fr;
  }

  /* Mobil: Konumlar, sefer kartlarının üstünde (Hakkında + web + favori → konum → sefer) */
  .detail-about-map:has(.bilet-sefer) {
    display: flex;
    flex-direction: column;
  }
  .detail-about-map:has(.bilet-sefer) > .detail-about-head {
    order: 1;
  }
  .detail-about-map:has(.bilet-sefer) > .detail-about-map-grid {
    display: contents;
  }
  .detail-about-map:has(.bilet-sefer) .detail-about-col {
    order: 2;
  }
  .detail-about-map:has(.bilet-sefer) .detail-map-col {
    order: 3;
  }
  .detail-about-map:has(.bilet-sefer) .bilet-sefer {
    order: 4;
  }

  /* Hakkında kompakt: daha küçük başlık / avatar */
  .detail-about-head {
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .detail-about-avatar {
    width: 3.35rem;
    height: 3.35rem;
    padding: 0.22rem;
  }

  .detail-about-firm-name {
    font-size: 1.05rem;
  }

  .detail-about-head-label {
    font-size: 0.65rem;
  }

  .detail-about-prose,
  .detail-about-prose--one {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
  }

  .detail-facts {
    font-size: 0.82rem !important;
    line-height: 1.4;
  }

  .detail-facts li {
    margin-bottom: 0.28rem;
  }

  /* Yuvarlak telefon düğmesi (mobil boyut) */
  .detail-phone-call-btn {
    width: 1.85rem;
    height: 1.85rem;
    min-width: 1.85rem;
    min-height: 1.85rem;
    padding: 0;
  }

  .detail-about-gallery {
    margin-top: 0.55rem;
    padding-top: 0.55rem;
  }

  .detail-about-gallery--empty {
    margin-top: 0.45rem;
    padding-top: 0;
  }

  .detail-about-gallery-title {
    font-size: 0.78rem;
    margin-bottom: 0.35rem;
  }

  .detail-about-col .firm-gallery-item {
    max-height: 5.25rem;
  }

  /* Favori: web sitesi satırının altında, sola hizalı (ortada değil) */
  .kb-fav-detail-block,
  .kb-fav-detail-block--with-menu {
    align-items: flex-start;
    width: 100%;
    margin-top: 0.55rem;
  }

  .kb-fav-menu-actions {
    justify-content: flex-start;
    width: auto;
    max-width: 100%;
  }

  .kb-fav-detail-block--with-menu .kb-fav-count--under-label {
    text-align: left;
    width: auto;
  }

  .kb-menu-jump-btn {
    font-size: 0.88rem;
    padding: 0.32rem 0.7rem;
  }

  .firm-gallery-grid--3,
  .firm-gallery-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .firm-detail-map,
  .firm-detail-map iframe {
    min-height: 200px;
    height: 240px;
  }
}

@media (max-width: 720px) {
  .detail-split {
    grid-template-columns: 1fr;
  }

  .firm-gallery-grid--2,
  .firm-gallery-grid--3,
  .firm-gallery-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .firm-gallery-grid--1 {
    max-width: none;
  }
}

.article-card {
  padding: clamp(0.9rem, 2.5vw, 1.35rem);
}

.article-meta {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 0.35rem;
}

.article-media {
  margin: 0.85rem 0 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: #e8eef5;
}

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

.article-back {
  margin-top: 1rem;
}

.event-ticket-cta {
  margin: 1.15rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 117, 24, 0.28);
  background: rgba(255, 117, 24, 0.08);
  font-size: var(--text);
  color: var(--ink);
  line-height: 1.55;
}

.event-ticket-cta a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.event-ticket-cta a:hover {
  color: var(--orange-deep);
}

.event-ticket-site {
  color: var(--muted);
  font-weight: 500;
}

.event-countdown-banner {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 74, 173, 0.22);
  background: rgba(0, 74, 173, 0.08);
  color: var(--blue);
  font-family: "Sora", sans-serif;
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.event-countdown-banner.is-today,
.event-countdown-banner.is-soon {
  border-color: rgba(255, 117, 24, 0.3);
  background: rgba(255, 117, 24, 0.1);
  color: var(--orange-deep);
}

.blog-related {
  margin-top: clamp(1.25rem, 3vw, 1.85rem);
  padding-top: clamp(1rem, 2.5vw, 1.35rem);
  border-top: 1px solid var(--line);
}

.blog-related h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.blog-related-lead,
.blog-related-empty {
  margin: 0 0 0.85rem;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
}

.blog-related-empty a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}

.blog-related-empty a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.blog-places {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.blog-place {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.blog-place:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.blog-place-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: rgba(255, 117, 24, 0.12);
  color: var(--orange-deep);
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.blog-place-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.blog-place-name {
  font-size: var(--text);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.blog-place-text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
}

.blog-related--events .listing-head {
  margin-bottom: 0.15rem;
}

.blog-related--events .card-grid {
  margin-top: 0.35rem;
}

.page-main--article:has(.blog-related--events) {
  max-width: min(52rem, 100%);
}

@media (max-width: 420px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }
}

/* —— İletişim —— */
.page-main--contact {
  width: 100%;
  max-width: min(56rem, 100%);
  margin-inline: auto;
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.6vw, 0.95rem);
}

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(0.65rem, 1.6vw, 0.95rem);
  align-items: stretch;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.contact-col-left {
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.4vw, 0.75rem);
  min-width: 0;
}

.contact-aside-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 600;
  color: var(--blue);
  text-align: center;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.contact-card:hover {
  border-color: rgba(255, 117, 24, 0.45);
  transform: translateY(-2px);
}

.contact-card-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card-value {
  font-size: var(--text);
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}

.contact-card:hover .contact-card-value {
  color: var(--orange);
}

.contact-again {
  text-align: center;
}

.contact-form {
  min-width: 0;
}

.contact-form .form-actions {
  justify-content: center;
}

.contact-form #mesaj {
  min-height: 10rem;
}

/* —— Giriş / Kayıt —— */
.page-main--auth .auth-wrap {
  width: min(26rem, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-main--auth .auth-form .form-field-check {
  margin: 0.4rem 0 0;
  font-size: var(--text-xs);
  line-height: 1.4;
  min-height: 1.2em;
}

.page-main--auth .auth-form .form-field-check.is-error {
  color: #b42318;
}

.page-main--auth .auth-form .form-field-hint {
  margin: 0.4rem 0 0;
  font-size: var(--text-xs);
  line-height: 1.4;
}

.page-main--auth .auth-form .form-field-hint.is-error {
  color: #b42318;
}

.page-main--auth .auth-form input.is-taken {
  border-color: #b42318;
}

.page-main--auth .auth-form input.is-taken:focus {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.16);
}

.page-main--auth .auth-form .form-actions {
  justify-content: center;
}

.page-main--auth .auth-switch {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
}

.page-main--auth .auth-switch a:not(.btn-secondary) {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.page-main--auth .auth-switch a:not(.btn-secondary):hover {
  color: var(--orange);
  text-decoration: underline;
}

.page-main--auth .auth-forgot {
  margin: 0.15rem 0 0;
  text-align: right;
  font-size: var(--text-sm);
}

.page-main--auth .auth-forgot a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.page-main--auth .auth-forgot a:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* —— Profil sayfası —— */
.page-main--profile .profile-wrap {
  width: min(28rem, 100%);
}

.profile-edit-actions {
  justify-content: center;
  gap: 0.65rem;
}

.profile-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  box-shadow: 0 12px 36px rgba(26, 43, 69, 0.08);
}

.profile-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.profile-avatar {
  flex-shrink: 0;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, Sora, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(145deg, var(--orange) 0%, #e85d00 55%, var(--blue) 160%);
  box-shadow: 0 8px 18px rgba(255, 117, 24, 0.28);
}

.profile-card-titles {
  min-width: 0;
  flex: 1;
}

.profile-card-name {
  margin: 0;
  font-family: var(--font-display, Sora, sans-serif);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.profile-card-user-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 0.2rem;
}

.profile-card-user {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 500;
}

.profile-edit-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 117, 24, 0.35);
  background: rgba(255, 117, 24, 0.08);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.profile-edit-link:hover {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.profile-edit-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.profile-card-badge {
  margin: 0.45rem 0 0;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue-deep);
  background: var(--sky);
  border: 1px solid rgba(0, 74, 173, 0.14);
}

.profile-card-badge--muted {
  color: var(--muted);
  background: rgba(90, 107, 130, 0.08);
  border-color: rgba(90, 107, 130, 0.16);
}

.profile-card-badge.is-gold {
  color: #5c4300;
  background: linear-gradient(135deg, #fff6d6 0%, #f0d060 48%, #e0b93a 100%);
  border-color: rgba(184, 134, 11, 0.45);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.28);
}

.page-main--auth .auth-firma-row {
  width: 100%;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.page-main--auth .auth-firma-row .form-field + .form-field {
  margin-top: 0.15rem;
}

/* display:flex form-field [hidden]’ı ezmesin — Hayır → firma bilgileri kapalı */
.page-main--auth .auth-firma-bilgi[hidden],
.page-main--auth [data-firma-bilgi][hidden],
.page-main--auth .form-field[hidden],
.page-main--auth [data-firma-select-wrap][hidden] {
  display: none !important;
}

.page-main--auth .auth-firma-bilgi {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius, 10px);
  background: rgba(255, 255, 255, 0.55);
}

.page-main--auth .auth-firma-bilgi-title {
  margin: 0 0 0.65rem;
  font-size: var(--text-sm, 0.95rem);
  font-weight: 700;
  color: var(--ink, #1a1a1a);
}

.profile-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.profile-dl-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.5rem 0.85rem;
  align-items: baseline;
}

.profile-dl-row dt {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-dl-row dd {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 420px) {
  .profile-dl-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.contact-map {
  border: 1px solid var(--line);
  border-radius: clamp(10px, 1.5vw, 14px);
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(0.55rem, 1.5vw, 0.8rem);
  box-shadow: var(--shadow-soft);
}

.contact-map-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.contact-map-address {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 0.15rem;
}

.contact-map-place {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-map-frame {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #e8eef5;
  aspect-ratio: 4 / 3;
  max-height: 180px;
  min-height: 140px;
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  font-size: var(--text-xs);
}

.contact-map-links a {
  color: var(--orange);
  font-weight: 500;
  text-decoration: none;
}

.contact-map-links a:hover {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 720px) {
  /* kibbul.com → altında Kategoriler → altında search (ekran içinde) */
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0.4rem;
    align-items: start;
  }

  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) > .page-main {
    display: contents;
  }

  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .page-hero.about-intro,
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .home-intro {
    display: contents;
  }

  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .about-eyebrow {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    margin: 0;
    padding-block: 0.85rem 0.35rem;
    padding-inline: 0;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-align: center; /* eski yer / diğer sayfalarla aynı */
  }

  /* Sayfa h1 varsa (etkinlikler): kibbul.com → h1 → Kategoriler → search */
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .page-hero.about-intro > h1 {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) > .cat-sidebar {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    justify-self: start;
    position: relative;
    top: auto;
    z-index: 45;
    width: auto;
    max-width: calc(100% - 0.5rem);
    max-height: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]):has(.page-hero.about-intro > h1) > .cat-sidebar {
    grid-row: 3;
  }

  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .site-header,
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .page-hero.about-intro > h1,
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .page-hero.about-intro > p:not(.about-eyebrow),
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .home-slider,
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .listing-section,
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .firms-empty,
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .events-stat-row,
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .fav-intro,
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .fav-empty,
  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .fav-count-label {
    grid-column: 1 / -1;
  }

  .page-layout:not(.page-layout--solo):has(.cat-sidebar[data-cat-collapse]) .site-header {
    margin-top: 0.35rem;
    margin-bottom: 0.25rem;
  }

  .page-layout .cat-sidebar[data-cat-collapse]:not(.is-open) .cat-sidebar-body {
    display: none;
  }

  .page-layout .cat-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-width: 0;
    min-height: 32px;
    margin: 0;
    padding: 0.28rem 0.5rem;
    border: 1px solid rgba(255, 117, 24, 0.55);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--orange);
    font-family: "Sora", sans-serif;
    font-size: 0.58rem;
    font-weight: 650;
    letter-spacing: 0.03em;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    animation: cat-invite-glow 2.2s var(--ease, ease) infinite;
  }

  .page-layout .cat-sidebar-toggle-label {
    display: block;
  }

  .page-layout .cat-sidebar.is-open .cat-sidebar-toggle {
    animation: none;
    border-color: var(--line);
    color: var(--blue);
    box-shadow: none;
  }

  /* Açık panel: düğmenin altında, soldan; ekran içinde */
  .page-layout .cat-sidebar[data-cat-collapse].is-open .cat-sidebar-body {
    display: block;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    transform: none;
    width: min(11.5rem, calc(100vw - 1.5rem));
    max-height: min(22rem, calc(100dvh - var(--site-chrome-h, 5.5rem) - 2rem));
    padding: 0.35rem 0.3rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 80;
    -webkit-overflow-scrolling: touch;
  }

  .page-layout .cat-sidebar.is-open .cat-sidebar-title--panel {
    display: block;
    text-align: center;
  }

  .page-layout .cat-sidebar[data-cat-collapse].is-open .cat-sidebar-title {
    font-size: 0.62rem;
    padding: 0.1rem 0.2rem 0.3rem;
  }

  .page-layout .cat-sidebar-title {
    font-size: 0.68rem;
    padding: 0.15rem 0.3rem 0.4rem;
    text-align: center;
  }

  .page-layout .cat-nav {
    gap: 0.06rem;
  }

  .page-layout .cat-sidebar[data-cat-collapse].is-open .cat-link {
    font-size: 0.64rem;
    padding: 0.28rem 0.25rem;
    min-height: 1.85rem;
    justify-content: center;
    text-align: center;
  }

  .page-layout .cat-sidebar[data-cat-collapse].is-open .cat-link:hover,
  .page-layout .cat-sidebar[data-cat-collapse].is-open .cat-link:focus-visible {
    transform: none;
    padding-left: 0.25rem;
  }

  /* Alt kategorili satırlar (ör. Aksesuarlar): yazı ortada, ok sağda */
  .page-layout .cat-sidebar[data-cat-collapse].is-open .cat-summary {
    position: relative;
    justify-content: center;
    padding-inline: 0.9rem;
  }

  .page-layout .cat-sidebar[data-cat-collapse].is-open .cat-summary::after {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    margin-left: 0;
    margin-top: -0.18em;
  }

  .page-layout .cat-sidebar[data-cat-collapse].is-open .cat-sub {
    text-align: center;
  }

  .page-layout .cat-sidebar[data-cat-collapse].is-open .cat-sublink {
    justify-content: center;
    text-align: center;
  }

  .page-layout .cat-link {
    font-size: 0.72rem;
    padding: 0.35rem 0.3rem;
    justify-content: center;
    text-align: center;
    min-height: max(36px, 2.2rem);
  }

  .page-layout .cat-sidebar[data-cat-collapse].is-open .sidebar-feed-title {
    font-size: 0.6rem;
  }

  .page-layout .cat-sidebar[data-cat-collapse].is-open .sidebar-feed-link,
  .page-layout .cat-sidebar[data-cat-collapse].is-open .sidebar-feed-more {
    font-size: 0.6rem;
    padding: 0.22rem 0.25rem;
  }

  @keyframes cat-invite-glow {
    0%,
    100% {
      box-shadow:
        0 0 0 0 rgba(255, 117, 24, 0.45),
        0 0 6px rgba(255, 117, 24, 0.2);
      border-color: rgba(255, 117, 24, 0.55);
    }
    50% {
      box-shadow:
        0 0 0 4px rgba(255, 117, 24, 0),
        0 0 10px rgba(255, 117, 24, 0.3);
      border-color: rgba(255, 117, 24, 0.85);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .page-layout .cat-sidebar-toggle {
      animation: none;
      box-shadow: 0 0 0 1px rgba(255, 117, 24, 0.35);
    }
  }

  .page-main--listing .listing-head h2 {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
    line-height: 1.25;
    margin-bottom: 0.2rem;
  }

  .page-main--listing .listing-head p {
    font-size: 0.8rem;
  }

  /* Mobil: ±N yeni / −N biten sayaç yazıları yok */
  .events-stat-row,
  .events-stat--under-title,
  .events-stat--under-grid,
  .events-stat--ended {
    display: none !important;
  }

  /* Detay: Favorilemek / X favorilenme aynı punto; kalp yazının dibinde */
  .kb-fav-detail-block {
    max-width: 100%;
  }

  .kb-fav-detail-row {
    gap: 0.35rem;
  }

  .kb-fav-text-btn,
  .kb-fav-count--under-label,
  .page-hero-form .kb-fav-count--under-label,
  .kb-fav-detail-block .kb-fav-count--under-label,
  p.kb-fav-count.kb-fav-count--under-label {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.01em;
  }

  .kb-fav-count--under-label {
    margin-left: 0;
  }

  /* Kartlar: 2 yan yana — geniş */
  .card-grid,
  .page-main .card-grid,
  .listing-section .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .kb-card {
    border-radius: 12px;
  }

  .kb-card-media {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .kb-card--firm .kb-card-media {
    padding: 0;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .kb-card--firm .kb-card-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }

  /* Mobil ürün kartı: görsel kare alana tam otursun, ürün kırpılmadan görünsün */
  .kb-card-product--search .kb-card-media,
  .listing-section--products .kb-card-product .kb-card-media,
  .detail-catalog--products .kb-card-media,
  .home-products-section .kb-card-product .kb-card-media {
    /* Kare çerçeve — 2 sütun grid’de kart genişliğine oturur */
    aspect-ratio: 1 / 1;
    /* Eski min-height taşmasını kes */
    min-height: 0;
    width: 100%;
    /* Beyaz zemin: contain boşlukları nötr bırakır */
    background: #fff;
    /* Görseli ortala */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  /* Ürün görseli: alana sığdır, kırpma yok (tam ürün görünsün) */
  .kb-card-product--search .kb-card-media img,
  .listing-section--products .kb-card-product .kb-card-media img,
  .detail-catalog--products .kb-card-media img,
  .home-products-section .kb-card-product .kb-card-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    /* Masaüstü 8/5 img oranı mobil kareyi bozmasın */
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  /* Fotoğrafsız boş medya da aynı kare oran */
  .kb-card-product--search .kb-card-media--empty,
  .kb-card-product .kb-card-media--empty {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  /* Dokunmatikte hover büyüme kartı taşırır / ürünü keser */
  .listing-section--products .kb-card-product:hover,
  .kb-card-product--search:hover,
  .detail-catalog--products .kb-card-product:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
    filter: none;
  }

  .detail-catalog--products .kb-card-product:hover .kb-card-media img {
    transform: none;
  }

  .kb-card-body {
    padding: 0.55rem 0.6rem 0.7rem;
    gap: 0.22rem;
  }

  .kb-card-meta {
    font-size: 0.72rem;
  }

  .kb-card-title {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .kb-card-text {
    font-size: 0.78rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .kb-card-rating,
  .kb-card-body .kb-fav-count {
    font-size: 0.74rem;
  }

  .kb-card-event-meta {
    gap: 0.25rem;
  }

  .kb-event-pill {
    font-size: 0.64rem;
    padding: 0.18rem 0.4rem;
  }

  .kb-event-ticket-cta {
    margin: 0.1rem 0.45rem 0.55rem;
    padding: 0.4rem 0.45rem;
    font-size: 0.72rem;
  }

  .kb-event-badge {
    font-size: 0.58rem;
    padding: 0.22rem 0.4rem;
  }

  /* Etkinlik kartları: daha geniş alan, küçük font, taşma yok */
  .card-grid:has(.kb-card-event),
  .listing-section .card-grid:has(.kb-card-event),
  .page-main .card-grid:has(.kb-card-event) {
    gap: 0.35rem;
  }

  .kb-card-event {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .kb-card-event .kb-card-link {
    min-width: 0;
  }

  .kb-card-event .kb-card-body {
    padding: 0.4rem 0.42rem 0.5rem;
    gap: 0.14rem;
  }

  .kb-card-event .kb-card-meta {
    font-size: 0.6rem;
    line-height: 1.25;
  }

  .kb-card-event .kb-card-title {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .kb-card-event .kb-card-text {
    font-size: 0.66rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  .kb-card-event .kb-card-rating,
  .kb-card-event .kb-fav-count {
    font-size: 0.6rem;
  }

  .kb-card-event .kb-event-pill {
    font-size: 0.55rem;
    padding: 0.12rem 0.3rem;
    max-width: 100%;
  }

  .kb-card-event .kb-event-badge {
    font-size: 0.5rem;
    padding: 0.18rem 0.32rem;
  }

  .kb-card-event .kb-event-ticket-cta {
    margin: 0.05rem 0.35rem 0.4rem;
    padding: 0.32rem 0.35rem;
    font-size: 0.6rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .kb-card-event .kb-card-event-meta {
    gap: 0.18rem;
  }

  /* Blog kartları: etkinliklerle aynı mobil sıkı / küçük font */
  .card-grid:has(.kb-card-blog),
  .listing-section .card-grid:has(.kb-card-blog),
  .page-main .card-grid:has(.kb-card-blog) {
    gap: 0.35rem;
  }

  .kb-card-blog {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .kb-card-blog .kb-card-link {
    min-width: 0;
  }

  .kb-card-blog .kb-card-body {
    padding: 0.4rem 0.42rem 0.5rem;
    gap: 0.14rem;
  }

  .kb-card-blog .kb-card-meta {
    font-size: 0.6rem;
    line-height: 1.25;
  }

  .kb-card-blog .kb-card-title {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .kb-card-blog .kb-card-text {
    font-size: 0.66rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  .kb-card-blog .kb-blog-cat-badge {
    font-size: 0.5rem;
    padding: 0.18rem 0.32rem;
  }

  /* Favoriler: firma / ürün / alsat kartları da sıkı */
  [data-fav-section] .card-grid {
    gap: 0.35rem;
  }

  [data-fav-section] .kb-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  [data-fav-section] .kb-card .kb-card-body {
    padding: 0.4rem 0.42rem 0.5rem;
    gap: 0.14rem;
  }

  [data-fav-section] .kb-card .kb-card-meta {
    font-size: 0.6rem;
    line-height: 1.25;
  }

  [data-fav-section] .kb-card .kb-card-title {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  [data-fav-section] .kb-card .kb-card-text {
    font-size: 0.66rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  [data-fav-section] .kb-card .kb-card-rating,
  [data-fav-section] .kb-card .kb-fav-count {
    font-size: 0.6rem;
  }

  .kb-fav-heart-btn--on-card {
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-basvuran-row {
    grid-template-columns: 1fr;
  }

  .form-grid-social {
    grid-template-columns: 1fr;
  }

  .links-list-composer {
    grid-template-columns: 1fr;
  }

  .links-list-row--saved {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .form-grid-loc {
    grid-template-columns: 1fr;
  }

  .locations-list-row {
    grid-template-columns: 4.75rem minmax(0, 1fr) auto;
  }

  .locations-list-thumb {
    width: 4.75rem;
    height: 4.75rem;
  }

  .contact-map-frame {
    aspect-ratio: 16 / 10;
    max-height: 200px;
    min-height: 150px;
  }

  .contact-split {
    grid-template-columns: 1fr;
  }

  .firma-map {
    height: min(52vw, 280px);
    min-height: 200px;
  }

  .page-main--firma .firma-map {
    height: min(48vw, 260px);
    min-height: 200px;
  }

  .map-search-row .btn-secondary {
    flex: 1 1 auto;
  }

  .cat-picker {
    z-index: 8;
  }
}


@media (max-width: 720px) {
  .toolbar-tagline {
    display: none;
  }

  .toolbar-logo img {
    max-height: 40px;
  }

  .cat-link:hover {
    transform: translateX(2px);
  }

  .page-hero:hover {
    transform: none;
  }
}

@media (max-width: 420px) {
  .toolbar-auth-link {
    padding-inline: 0.4rem;
  }

  .toolbar-auth-btn {
    padding-inline: 0.5rem;
  }

  .toolbar-profile-hint {
    display: none;
  }

  .toolbar-profile-role {
    font-size: 0.58rem;
  }

  .toolbar-profile {
    max-width: min(10.5rem, 52vw);
    padding-right: 0.4rem;
  }

  .toolbar-profile-chevron {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .toolbar-logo:hover,
  .toolbar-identity:hover,
  .toolbar-auth-link:hover,
  .toolbar-auth-btn:hover,
  .main-nav-link:hover,
  .cat-link:hover,
  .sidebar-feed-link:hover,
  .page-hero:hover,
  .cat-summary::after {
    transform: none;
  }

  .page-hero,
  .cat-sub {
    animation: none;
  }

  .cat-link,
  .toolbar-auth-link,
  .toolbar-auth-btn,
  .toolbar-logo,
  .toolbar-identity,
  .main-nav-link,
  .page-hero {
    transition: none;
  }

  .main-nav-link::after {
    transition: none;
  }
}

/* —— Site footer (şeffaf) —— */
.site-footer {
  margin-top: auto;
  width: 100%;
  background: transparent;
  border-top: 1px solid var(--line);
  padding-block: clamp(1.25rem, 3.5vw, 2rem) 0;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
  width: min(100% - (var(--pad) * 2), 1320px);
}

.footer-heading {
  font-family: "Sora", sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.55rem;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.45rem;
}

.footer-logo img {
  max-height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}

.footer-nav,
.footer-contact,
.footer-kunye {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.footer-nav a,
.footer-contact a {
  color: var(--blue-deep);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 400;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--orange);
}

.footer-kunye-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 0.45rem;
}

.footer-kunye-role {
  font-size: var(--text-xs);
  color: var(--muted);
  font-weight: 400;
}

.footer-kunye-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
}

.footer-bar {
  background: transparent;
  border-top: 1px solid var(--line);
  padding-block: 0.75rem;
}

.footer-bar-inner {
  width: min(100% - (var(--pad) * 2), 1320px);
  margin-inline: auto;
}

.footer-bar p {
  font-size: var(--text-xs);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav,
  .footer-contact,
  .footer-kunye {
    align-items: center;
  }
}

/* —— Al Sat Keşfet (2. el) —— */
.alsat-lead {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
  max-width: 36rem;
}

.alsat-sell-cta {
  margin: 0;
  font-size: clamp(0.88rem, 1.9vw, 1rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}

.alsat-sell-cta a {
  color: var(--blue);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.alsat-sell-cta a:hover,
.alsat-sell-cta a:focus-visible {
  color: var(--orange);
}

.alsat-featured-section .listing-head {
  margin-bottom: 0.65rem;
}

.alsat-featured-section h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
}

.alsat-sponsor-section {
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

.alsat-count--filters {
  margin: 0.35rem 0 0.85rem;
}

.alsat-listing-head {
  align-items: center;
}

.alsat-count {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 500;
}

.alsat-card-meta {
  display: block;
}

.filter-panel--alsat .filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 36rem;
}

.kb-card-alsat {
  cursor: pointer;
  position: relative;
}

.kb-card-alsat .kb-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.kb-card-alsat .alsat-carousel,
.kb-card-alsat .kb-fav-heart-btn {
  pointer-events: auto;
}

.alsat-carousel {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.04);
}

/* Öne çıkan ürün — sarı / altın (firma “Öne çıkan” ile aynı dil) */
.kb-card-alsat.kb-card--featured {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.2);
}

.kb-card-alsat .kb-featured-badge {
  z-index: 3;
}

.alsat-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.alsat-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.alsat-carousel-slide.is-active {
  opacity: 1;
  position: relative;
}

.alsat-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.alsat-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-deep);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.alsat-carousel-prev { left: 0.45rem; }
.alsat-carousel-next { right: 0.45rem; }

.alsat-carousel-btn:hover,
.alsat-carousel-btn:focus-visible {
  background: #fff;
  color: var(--orange);
}

.alsat-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.45rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  pointer-events: none;
}

.alsat-carousel-dot {
  pointer-events: auto;
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.alsat-carousel-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.alsat-detail-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.85fr);
  max-width: none;
  gap: clamp(0.85rem, 2vw, 1.25rem);
  align-items: start;
}

.page-main--alsat-detail .detail-about-col,
.page-main--alsat-detail .alsat-detail-gallery-col {
  height: auto;
}

.page-main--alsat-detail .article-back {
  margin-top: 1.25rem;
}

.alsat-detail-gallery-col .contact-map-title {
  margin-bottom: 0.55rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.alsat-carousel--detail {
  max-width: 22rem;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.03);
}

.alsat-carousel--detail .alsat-carousel-btn {
  width: 2.15rem;
  height: 2.15rem;
  font-size: 1.35rem;
}

@media (max-width: 860px) {
  .alsat-detail-grid {
    grid-template-columns: 1fr;
  }

  .alsat-carousel--detail {
    max-width: 18rem;
    margin-inline: auto;
  }
}

.alsat-card-meta {
  display: block;
}

.filter-panel--alsat .filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 36rem;
}

.alsat-kargo-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: rgba(0, 74, 173, 0.9);
  color: #fff;
  font-size: clamp(0.68rem, 1.4vw, 0.78rem);
  font-weight: 650;
  line-height: 1.25;
  pointer-events: none;
}

.alsat-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
}

.alsat-contact-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  word-break: break-word;
}

.alsat-contact-link:hover,
.alsat-contact-link:focus-visible {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.alsat-contact-empty {
  font-size: var(--text-sm);
  color: var(--muted);
}

@media (max-width: 720px) {
  .filter-panel--alsat .filter-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

/*
 * Masaüstü (≥1025px): eski / okunaklı büyük ölçek.
 * Mobil / tablet max-width kurallarına DOKUNULMAZ.
 */
@media (min-width: 1025px) {
  html {
    font-size: 20px; /* tarayıcı 16px → %25 daha büyük; tüm rem ölçeklenir */
  }

  :root {
    --text: 1.125rem;
    --text-sm: 1rem;
    --text-xs: 0.9rem;
    --pad: 1.4rem;
    --gap: 1.65rem;
    --sidebar: 16.5rem;
    --radius: 12px;
    --shell: min(1440px, 100%);
  }

  body {
    font-size: var(--text);
    line-height: 1.55;
  }

  .shell {
    width: min(100% - (var(--pad) * 2), 1440px);
  }

  .toolbar-inner {
    padding-block: 0.85rem;
    gap: 1.15rem;
  }

  .toolbar-logo img {
    height: 72px;
    max-width: 200px;
  }

  .toolbar-domain {
    font-size: 1.4rem;
  }

  .toolbar-tagline {
    font-size: 0.95rem;
  }

  .toolbar-auth-link,
  .toolbar-auth a {
    font-size: 0.95rem;
  }

  .main-nav-inner {
    padding-block: 0.55rem;
  }

  .main-nav-link {
    font-size: 1.05rem !important;
    padding: 0.55rem 1.1rem;
  }

  .cat-link {
    font-size: 1.02rem !important;
    padding: 0.55rem 0.7rem;
    min-height: 2.6rem;
  }

  .cat-sublink {
    font-size: 0.92rem;
  }

  .search-form {
    min-height: 3.35rem;
  }

  .search-category {
    font-size: 1rem;
    padding: 0.85rem 1.6rem 0.85rem 0.9rem;
    min-width: 9rem;
  }

  .search-input {
    font-size: 1.15rem !important;
    padding: 0.85rem 1rem;
  }

  .search-btn,
  .filter-btn {
    font-size: 1.05rem !important;
    min-height: 52px;
    padding: 0.85rem 1.35rem;
  }

  .search-btn svg,
  .filter-btn svg {
    width: 18px;
    height: 18px;
  }

  .page-hero h1,
  .detail-hero h1,
  .about-intro h1 {
    font-size: clamp(2rem, 2.4vw, 2.6rem) !important;
  }

  .about-lead,
  .page-hero p,
  .detail-hero p {
    font-size: 1.1rem;
  }

  .listing-head h2 {
    font-size: 1.5rem !important;
  }

  .listing-head p {
    font-size: 1.05rem !important;
  }

  .card-grid {
    gap: 1.35rem !important;
  }

  .kb-card-body {
    gap: 0.5rem;
    padding: 1.15rem 1.2rem 1.3rem !important;
  }

  .kb-card-title {
    font-size: 1.22rem !important;
  }

  .kb-card-text {
    font-size: 1.05rem !important;
  }

  .kb-card-meta {
    font-size: 0.92rem !important;
  }

  .kb-card-media {
    min-height: 12rem;
  }

  .kb-card--firm .kb-card-media {
    min-height: 14rem;
  }

  .home-slider {
    min-height: 22rem;
  }

  .home-slide-title {
    font-size: 1.65rem;
  }

  .home-slide-text {
    font-size: 1.05rem;
  }

  .detail-facts {
    font-size: 1.12rem !important;
  }

  .detail-about-prose,
  .detail-block > p,
  .detail-about-col > p {
    font-size: 1.1rem;
  }

  .detail-catalog--products .kb-card-title {
    font-size: 1.08rem !important;
  }

  .listing-see-all,
  .listing-see-less {
    font-size: 1.05rem;
  }
}
