/* =============================================
   FIRMALAR PAGE – Creative Premium Design
   ============================================= */

/* ===== HERO ===== */
.fl-hero {
  position: relative; z-index: 5;
  padding: calc(var(--nav-h) + 60px) 0 100px;
  background: linear-gradient(160deg, #020617 0%, #0c1a3a 30%, #0a1628 60%, #020617 100%);
  min-height: 600px;
}
.fl-hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.fl-hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 50%, rgba(0,98,255,.15), transparent),
    radial-gradient(ellipse 50% 40% at 75% 30%, rgba(0,194,255,.08), transparent);
}

.fl-hero-mesh {
  position: absolute; inset: 0; opacity: .08;
  background-image:
    linear-gradient(rgba(0,98,255,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,98,255,.4) 1px, transparent 1px);
  background-size: 80px 80px;
}

.fl-hero-orb {
  position: absolute; border-radius: 50%; filter: blur(100px);
  animation: orbFloat 20s ease-in-out infinite;
}
.fl-orb-1 { width: 500px; height: 500px; background: rgba(0,98,255,.12); top: -150px; left: -100px; animation-delay: 0s; }
.fl-orb-2 { width: 400px; height: 400px; background: rgba(0,194,255,.1); bottom: -100px; right: -50px; animation-delay: -7s; }
.fl-orb-3 { width: 300px; height: 300px; background: rgba(59,130,246,.08); top: 50%; left: 60%; animation-delay: -13s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(.95); }
  75% { transform: translate(10px, 10px) scale(1.02); }
}

/* Floating medical icons */
.fl-float-icon {
  position: absolute; font-size: 28px; opacity: .12;
  animation: iconDrift 25s ease-in-out infinite;
  pointer-events: none;
}
.fl-fi-1 { top: 15%; left: 8%; animation-delay: 0s; }
.fl-fi-2 { top: 25%; right: 12%; animation-delay: -4s; font-size: 24px; }
.fl-fi-3 { bottom: 30%; left: 15%; animation-delay: -8s; }
.fl-fi-4 { top: 40%; right: 25%; animation-delay: -12s; font-size: 22px; }
.fl-fi-5 { bottom: 20%; right: 8%; animation-delay: -16s; font-size: 26px; }
.fl-fi-6 { top: 60%; left: 35%; animation-delay: -20s; font-size: 20px; }

@keyframes iconDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -25px) rotate(5deg); }
  50% { transform: translate(-10px, 15px) rotate(-3deg); }
  75% { transform: translate(20px, 10px) rotate(2deg); }
}

.fl-hero-inner {
  position: relative; z-index: 2;
  text-align: center;
}

/* Badge */
/* Platform Label */
.fl-hero-inner .platform-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.fl-hero-inner .platform-label::before,
.fl-hero-inner .platform-label::after {
  content: '';
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35));
  border-radius: 2px;
}
.fl-hero-inner .platform-label::after {
  background: linear-gradient(90deg, rgba(255,255,255,.35), transparent);
}

.fl-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,98,255,.12); border: 1px solid rgba(0,98,255,.25);
  backdrop-filter: blur(12px);
  padding: 8px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: rgba(147,197,253,1);
  margin-bottom: 28px;
  animation: fadeUp .8s ease both;
}
.fl-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3b82f6;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(59,130,246,.6);
}

/* Title */
.fl-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900; color: #fff;
  line-height: 1.15; letter-spacing: -.5px;
  margin-bottom: 16px;
  animation: fadeUp .8s ease .1s both;
}
.fl-gradient-text {
  background: linear-gradient(135deg, #60a5fa, #34d399, #60a5fa);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  to { background-position: 200% center; }
}

.fl-hero-desc {
  font-size: 17px; color: rgba(203,213,225,.8);
  max-width: 550px; margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeUp .8s ease .2s both;
}

/* Stats — inside search wrap, below search bar */
.fl-hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 20px;
  animation: fadeUp .8s ease .5s both;
}
.fl-stat { text-align: center; padding: 0 24px; }
.fl-stat-top { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.fl-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 900; color: #fff;
}
.fl-stat-plus { font-size: 15px; font-weight: 700; color: #60a5fa; }
.fl-stat-label { font-size: 11.5px; color: rgba(148,163,184,.7); font-weight: 500; display: block; margin-top: 1px; }
.fl-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,.1); }

/* Search Bar */
.fl-search-wrap {
  max-width: 900px; margin: 0 auto;
  animation: fadeUp .8s ease .4s both;
  position: relative; z-index: 10;
}
.fl-search-bar {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  transition: all .35s cubic-bezier(.25,.8,.25,1);
  box-shadow: 0 8px 32px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06);
}
.fl-search-bar:focus-within {
  border-color: rgba(59,130,246,.5);
  box-shadow: 0 8px 40px rgba(0,98,255,.15), 0 0 0 1px rgba(59,130,246,.2), inset 0 1px 0 rgba(255,255,255,.08);
}

.fl-sf { display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.fl-sf svg { color: rgba(148,163,184,.6); flex-shrink: 0; }
.fl-sf-main { flex: 2.2; }
.fl-sf-sel { flex: 1; min-width: 0; }

.fl-sf input {
  border: none; outline: none; background: transparent;
  font-size: 14px; color: #fff; width: 100%;
  padding: 16px 0; font-family: inherit;
}
.fl-sf input::placeholder { color: rgba(148,163,184,.5); }
.fl-sf select {
  border: none; outline: none; background: transparent;
  font-size: 13px; color: rgba(203,213,225,.8); width: 100%;
  padding: 16px 0; font-family: inherit; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.fl-sf select option { background: #1e293b; color: #e2e8f0; }

/* Custom Dropdown */
.fl-dd { position: relative; width: 100%; cursor: pointer; }
.fl-dd-trigger {
  font-size: 13px; color: rgba(203,213,225,.8);
  padding: 16px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  user-select: none;
}
.fl-dd.open .fl-dd-trigger { color: #fff; }
.fl-dd-menu {
  position: fixed;
  min-width: 220px; max-width: min(320px, 90vw); max-height: 280px; overflow-y: auto;
  background: rgba(15,23,42,.96); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  z-index: 500; display: none;
  animation: flDdOpen .2s ease;
}
@keyframes flDdOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fl-dd-item {
  padding: 10px 14px; border-radius: 10px;
  font-size: 13px; color: rgba(203,213,225,.85);
  cursor: pointer; transition: all .15s ease;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fl-dd-item:hover { background: rgba(59,130,246,.12); color: #fff; }
.fl-dd-item.active {
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(6,182,212,.15));
  color: #fff; font-weight: 600;
}
.fl-dd-menu::-webkit-scrollbar { width: 5px; }
.fl-dd-menu::-webkit-scrollbar-track { background: transparent; }
.fl-dd-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 10px; }
.fl-dd-menu::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }

/* Dropdown Search */
.fl-dd-search-wrap { padding: 6px 6px 2px; position: sticky; top: 0; z-index: 1; background: rgba(15,23,42,.96); }
.fl-dd-search { width: 100%; padding: 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(255,255,255,.06); color: #fff; font-size: 13px; outline: none; box-sizing: border-box; }
.fl-dd-search::placeholder { color: rgba(148,163,184,.6); }
.fl-dd-search:focus { border-color: rgba(59,130,246,.5); background: rgba(255,255,255,.08); }

.fl-search-sep { width: 1px; background: rgba(255,255,255,.08); margin: 12px 0; flex-shrink: 0; }

.fl-search-btn {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: #fff; border: none; padding: 0 28px;
  font-weight: 700; font-size: 14px;
  cursor: pointer; white-space: nowrap;
  transition: all .3s; flex-shrink: 0;
  border-radius: 0 20px 20px 0;
}
.fl-search-btn:hover { filter: brightness(1.15); }
.fl-search-btn svg { flex-shrink: 0; }

/* Wave */
.fl-hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; z-index: 3; }
.fl-hero-wave svg { width: 100%; height: 60px; }

/* Fade Animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CATEGORY PILLS ===== */
.fl-cats {
  padding: 36px 0 0;
  background: linear-gradient(180deg, #eef4fb 0%, #f6f9fc 100%);
  position: relative; z-index: 4;
}
.fl-cat-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.fl-cat-card[data-cat=""].active {
  background: linear-gradient(135deg, #0062FF, #00C2FF);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,98,255,.2);
}
.fl-cat-card[data-cat=""].active .fl-cat-card-label { color: #fff; }
.fl-cat-card[data-cat=""].active .fl-cat-card-icon {
  background: rgba(255,255,255,.2);
}
.fl-cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 8px 14px;
  background: #fff;
  border: 1.5px solid #e8eef6;
  border-radius: 16px;
  cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,48,120,.04);
}
.fl-cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,98,255,.03), rgba(0,194,255,.03));
  opacity: 0; transition: opacity .3s;
}
.fl-cat-card:hover::before { opacity: 1; }
.fl-cat-card:hover {
  border-color: #93b4e8;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,48,120,.08);
}
.fl-cat-card-icon {
  font-size: 28px; line-height: 1;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f0f5ff, #e8f4fe);
  border-radius: 14px;
  transition: all .3s;
}
.fl-cat-card:hover .fl-cat-card-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0,98,255,.12);
}
.fl-cat-card-label {
  font-size: 12.5px; font-weight: 700; color: #475569;
  text-align: center; letter-spacing: .01em;
  transition: color .3s;
}
.fl-cat-card:hover .fl-cat-card-label { color: #1e40af; }
.fl-cat-card-bar {
  width: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #0062FF, #00C2FF);
  transition: width .3s cubic-bezier(.4,0,.2,1);
}
.fl-cat-card.active {
  border-color: #0062FF;
  background: linear-gradient(135deg, #f0f5ff, #e8f0ff);
  box-shadow: 0 4px 20px rgba(0,98,255,.12);
}
.fl-cat-card.active .fl-cat-card-icon {
  background: linear-gradient(135deg, #0062FF, #00C2FF);
  box-shadow: 0 4px 16px rgba(0,98,255,.25);
}
.fl-cat-card.active .fl-cat-card-icon::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.15); border-radius: inherit;
}
.fl-cat-card.active .fl-cat-card-label {
  color: #0062FF; font-weight: 800;
}
.fl-cat-card.active .fl-cat-card-bar {
  width: 24px;
}
.fl-pill-icon { font-size: 14px; line-height: 1; }

/* ===== LISTING ===== */
.fl-listing {
  padding: 40px 0 80px;
  background: linear-gradient(180deg, #f0f4f8 0%, #e8eff8 50%, #f0f4f8 100%);
  position: relative;
}
.fl-listing::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,98,255,.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Toolbar */
.fl-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.fl-toolbar-left { display: flex; align-items: center; gap: 12px; }
.fl-toolbar-right { display: flex; align-items: center; gap: 16px; }

.fl-result-badge {
  font-size: 15px; color: #64748b; font-weight: 500;
}
.fl-result-badge span:first-child {
  font-weight: 800; color: #0062FF; font-size: 17px;
}

.fl-fair-notice { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: #64748b; background: rgba(0,98,255,.06); border: 1px solid rgba(0,98,255,.12); border-radius: 8px; padding: 6px 14px; font-weight: 500; }
.fl-fair-notice svg { color: #0062FF; flex-shrink: 0; opacity: .7; }
.fl-sort select {
  border: 1.5px solid #e2eaf5; border-radius: 10px;
  padding: 9px 14px; font-size: 13px; color: #475569;
  background: #fff; cursor: pointer; font-family: inherit;
  outline: none; transition: all .2s;
}
.fl-sort select:focus { border-color: #0062FF; box-shadow: 0 0 0 3px rgba(0,98,255,.08); }

/* Active Filters */
.fl-active-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.fl-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 10px;
  background: #eff6ff; color: #2563eb;
  font-size: 13px; font-weight: 600; border: 1px solid #bfdbfe;
  animation: chipIn .3s ease;
}
@keyframes chipIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
.fl-chip-x {
  width: 18px; height: 18px; border-radius: 50%;
  background: #93c5fd; color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; cursor: pointer; transition: background .2s; line-height: 1;
}
.fl-chip-x:hover { background: #2563eb; }
.fl-chip-clear {
  font-size: 13px; color: #ef4444; font-weight: 600;
  cursor: pointer; background: none; border: none; padding: 6px 8px;
}

/* ===== GRID ===== */
.fl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  min-height: 300px;
  scroll-margin-top: 100px;
}

/* Loading */
.fl-loading {
  grid-column: 1/-1; text-align: center; padding: 60px 0;
  color: #64748b;
}

/* ===== FIRM CARD ===== */
.fl-card {
  --card-accent: #3b82f6;
  background: #fff;
  border: 1px solid #e8eff8;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition: all .4s cubic-bezier(.25,.8,.25,1);
  box-shadow: 0 4px 20px rgba(0,48,120,.06);
  border-top: 3px solid var(--card-accent);
}
.fl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px color-mix(in srgb, var(--card-accent), transparent 80%);
  border-color: color-mix(in srgb, var(--card-accent), #fff 50%);
  border-top-color: var(--card-accent);
}

/* ── Light Clinical Header ── */
.fl-card-inner-head {
  margin: 0;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--card-accent), #fff 96%) 0%, 
    color-mix(in srgb, var(--card-accent), #fff 92%) 50%, 
    color-mix(in srgb, var(--card-accent), #fff 86%) 100%);
  border-radius: 17px 17px 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--card-accent), #fff 80%);
}
/* Accent top stripe — removed, using border-top on .fl-card instead */
.fl-card-inner-head::before { display: none; }
.fl-card:hover .fl-card-inner-head {
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--card-accent), #fff 94%) 0%, 
    color-mix(in srgb, var(--card-accent), #fff 89%) 50%, 
    color-mix(in srgb, var(--card-accent), #fff 82%) 100%);
}

/* Card Head layout */
.fl-card-head {
  display: flex; align-items: center; gap: 14px;
  position: relative; z-index: 2;
}

.fl-card-logo {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  background: #fff;
  border: 2px solid color-mix(in srgb, var(--card-accent), #fff 70%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: all .35s;
  position: relative;
  box-shadow: 0 3px 12px color-mix(in srgb, var(--card-accent), transparent 85%);
}
.fl-card:hover .fl-card-logo {
  border-color: var(--card-accent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--card-accent), transparent 60%);
  transform: scale(1.05);
}
.fl-card-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.fl-card-logo-icon {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--card-accent), #fff 85%);
  color: var(--card-accent);
}

.fl-card-head-info { flex: 1; min-width: 0; }

.fl-card-name-row {
  display: flex; align-items: center; gap: 5px;
}
.fl-card-name {
  font-size: 17px; font-weight: 800; color: #0f172a;
  line-height: 1.3; margin-bottom: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
  word-break: break-word;
}
.fl-card-name-verified {
  color: #10b981;
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(16,185,129,.4));
}
.fl-card-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fl-card-title { font-size: 11.5px; color: var(--card-accent); font-weight: 600; }
.fl-card-spec { font-size: 10.5px; color: #64748b; }

.fl-card-cat {
  --cat-color: #3b82f6;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
  color: var(--cat-color);
  background: color-mix(in srgb, var(--cat-color), #fff 90%);
  border: 1px solid color-mix(in srgb, var(--cat-color), #fff 75%);
  white-space: nowrap; flex-shrink: 0;
  transition: all .3s;
}
.fl-card:hover .fl-card-cat {
  background: color-mix(in srgb, var(--cat-color), #fff 82%);
  border-color: color-mix(in srgb, var(--cat-color), #fff 60%);
}

/* Shimmer — disabled for light theme */
.fl-card-shimmer { display: none; }

/* Head meta row — city, rating */
.fl-card-head-meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px;
  position: relative; z-index: 2;
}
.fl-card-verified {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 700; color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 8px; border-radius: 20px;
  letter-spacing: .3px;
}
.fl-card-verified svg { flex-shrink: 0; }
.fl-card-city-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 600; color: #475569;
  padding: 3px 8px; border-radius: 20px;
  background: color-mix(in srgb, var(--card-accent), #fff 95%);
  border: 1px solid color-mix(in srgb, var(--card-accent), #fff 85%);
}
.fl-card-city-badge svg { color: var(--card-accent); opacity: .7; flex-shrink: 0; }
.fl-card-views-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 600; color: #64748b;
  padding: 3px 8px; border-radius: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.fl-card-views-badge svg { color: #64748b; flex-shrink: 0; }
.fl-card-treat-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 600; color: #7c3aed;
  padding: 3px 8px; border-radius: 20px;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}
.fl-card-treat-badge svg { color: #7c3aed; flex-shrink: 0; }
.fl-card-lang-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 600; color: #0891b2;
  padding: 3px 8px; border-radius: 20px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
}
.fl-card-lang-badge svg { color: #0891b2; flex-shrink: 0; }
.fl-card-rating {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 700; color: #d97706;
  margin-left: auto;
}
.fl-card-rating svg { flex-shrink: 0; }

/* Body (light area) */
.fl-card-body {
  flex: 1; display: flex; flex-direction: column;
  padding: 14px 18px 14px;
}

.fl-card-desc {
  font-size: 13px; color: #64748b; line-height: 1.65;
  margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fl-card-desc:empty { display: none; }
.fl-card-desc-auto {
  font-size: 12px; font-weight: 600; color: #475569;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex; align-items: center;
  letter-spacing: .2px;
}

/* Quick info chips */
.fl-card-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 10px;
}
/* Chips inside header — adjust for gradient bg */
.fl-card-inner-head .fl-card-chips { margin: 2px 0 0; padding: 0 18px 12px; }
.fl-card-inner-head .fl-chip { background: rgba(255,255,255,.85); border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.fl-card-inner-head .fl-chip-fac { background: rgba(255,255,255,.9); color: #6d28d9; }
.fl-card-inner-head .fl-chip-lang { background: rgba(255,255,255,.9); color: #0e7490; }
.fl-card-inner-head .fl-card-desc { padding: 0 18px; margin-bottom: 8px; }
.fl-card-inner-head .fl-card-desc-auto {
  margin: 0 18px 8px;
  background: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
  color: #334155;
  padding: 5px 10px;
}
.fl-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 9px; border-radius: 20px;
  font-size: 10.5px; font-weight: 600; color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}
.fl-chip svg { opacity: .6; flex-shrink: 0; }
.fl-chip-fac { color: #7c3aed; background: #f5f3ff; border-color: #ddd6fe; }
.fl-chip-fac svg { opacity: .8; }
.fl-chip-lang { color: #0891b2; background: #ecfeff; border-color: #a5f3fc; }
.fl-chip-lang svg { opacity: .8; }

/* Tedavi Vitrini — Premium Treatment Showcase */
.fl-treat-showcase {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 0;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.fl-treat-showcase::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b);
  opacity: .5;
  border-radius: 12px 12px 0 0;
}
.fl-treat-head {
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 8px;
  font-size: 10px; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .5px;
}
.fl-treat-head svg { opacity: .5; }
.fl-treat-views {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; color: #64748b; font-weight: 600;
  background: rgba(255,255,255,.8);
  padding: 2px 8px; border-radius: 10px;
  border: 1px solid #e8eff8;
}
.fl-treat-views svg { opacity: .5; }
.fl-treat-list {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.fl-treat-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 8px; border-radius: 20px;
  background: white;
  border: 1px solid #e5e7eb;
  font-size: 10.5px; font-weight: 600; color: #334155;
  transition: all .3s;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.fl-treat-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pill-color);
  flex-shrink: 0;
  box-shadow: 0 0 6px color-mix(in srgb, var(--pill-color), transparent 50%);
}
.fl-treat-pill:hover {
  border-color: var(--pill-color);
  background: color-mix(in srgb, var(--pill-color), #fff 95%);
  color: color-mix(in srgb, var(--pill-color), #000 30%);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px color-mix(in srgb, var(--pill-color), transparent 80%);
}
.fl-treat-more {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb; font-weight: 700;
  border-color: #93c5fd;
  padding: 4px 10px;
}
.fl-card:hover .fl-treat-showcase {
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--card-accent), #fff 97%),
    color-mix(in srgb, var(--card-accent), #fff 94%));
  border-color: color-mix(in srgb, var(--card-accent), #fff 82%);
}
.fl-card:hover .fl-treat-showcase::before { opacity: 1; }
.fl-card:hover .fl-treat-head { color: var(--card-accent); }
.fl-card:hover .fl-treat-head svg { opacity: .8; }
.fl-card:hover .fl-treat-views { 
  color: var(--card-accent); 
  border-color: color-mix(in srgb, var(--card-accent), #fff 80%);
}

/* Yetki Belgesi Badge */
.fl-yetki-badge {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 30%, #a7f3d0 100%);
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.fl-yetki-badge::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #059669, #10b981, #34d399);
  border-radius: 10px 0 0 10px;
}
.fl-yetki-badge::after {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(16,185,129,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.fl-yetki-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #059669, #10b981);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(5,150,105,.3);
}
.fl-yetki-text {
  display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0;
}
.fl-yetki-title {
  font-size: 10px; font-weight: 700; color: #065f46;
  line-height: 1.3; letter-spacing: .2px;
  text-transform: uppercase;
}
.fl-yetki-sub {
  font-size: 8.5px; color: #059669; font-weight: 500;
  opacity: .8;
}
.fl-yetki-seal {
  flex-shrink: 0;
  color: #10b981;
  opacity: .6;
  position: relative; z-index: 1;
}
.fl-card:hover .fl-yetki-badge {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 50%, #6ee7b7 100%);
  border-color: #34d399;
}
.fl-card:hover .fl-yetki-seal { opacity: 1; }
.fl-card:hover .fl-yetki-icon { box-shadow: 0 3px 12px rgba(5,150,105,.4); }

/* Card Footer — buton bandı */
.fl-card-foot {
  padding: 0;
  border-top: 1px solid #e2e8f0;
  display: flex;
  background: #f1f5f9;
  border-radius: 0 0 20px 20px;
}
.fl-card-actions { display: flex; flex: 1; }
.fl-card-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 8px;
  font-size: 12px; font-weight: 600;
  text-decoration: none; transition: all .25s;
  white-space: nowrap;
  border: none;
  border-right: 1px solid #e2e8f0;
}
.fl-card-btn:last-child { border-right: none; }
.fl-card-btn:hover { background: rgba(0,0,0,.04); }
.fl-card-loc { background: transparent; color: #b45309; }
.fl-card-loc:hover { background: #f59e0b; color: #fff; }
.fl-card-wa { background: transparent; color: #16a34a; }
.fl-card-wa:hover { background: #25d366; color: #fff; }
.fl-card-ph { background: transparent; color: #3b82f6; }
.fl-card-ph:hover { background: #3b82f6; color: #fff; }

/* İncele butonu — footer bandın sağında */
.fl-card-explore {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  font-size: 12px; font-weight: 700;
  color: #fff;
  background: var(--card-accent);
  text-decoration: none;
  transition: all .3s cubic-bezier(.25,.8,.25,1);
  white-space: nowrap;
  border-radius: 0 0 20px 0;
}
.fl-card-explore:hover {
  background: color-mix(in srgb, var(--card-accent), #000 15%);
  gap: 10px;
}
.fl-card-explore svg { transition: transform .3s; flex-shrink: 0; }
.fl-card-explore:hover svg:last-child { transform: translateX(3px); }

/* ===== NO RESULTS ===== */
.fl-no-results {
  grid-column: 1/-1; text-align: center; padding: 80px 20px;
}
.fl-no-results-icon {
  width: 80px; height: 80px; margin: 0 auto 20px;
  background: #f0f5ff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.fl-no-results h3 { font-size: 20px; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.fl-no-results p { font-size: 14px; color: #64748b; }

/* ===== PAGINATION ===== */
.fl-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 48px;
}
.fl-page-btn {
  min-width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: #64748b;
  background: #fff; border: 1.5px solid #e2eaf5;
  cursor: pointer; transition: all .25s;
  box-shadow: 0 1px 3px rgba(0,48,120,.03);
}
.fl-page-btn:hover {
  border-color: #0062FF; color: #0062FF;
  background: #f0f5ff;
  transform: translateY(-2px);
}
.fl-page-btn.active {
  background: linear-gradient(135deg, #0062FF, #00C2FF); color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(0,98,255,.2);
}
.fl-page-btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
.fl-page-dots { color: #64748b; padding: 0 4px; }

/* ===== CTA ===== */
.fl-cta { padding: 0 0 80px; background: #f0f4f8; }

.fl-cta-card {
  background: linear-gradient(135deg, #020617 0%, #0c1a3a 50%, #0a2463 100%);
  border-radius: 24px; padding: 60px;
  position: relative; overflow: hidden;
  text-align: center;
}
.fl-cta-glow {
  position: absolute; width: 500px; height: 500px;
  border-radius: 50%; filter: blur(150px);
  background: rgba(0,98,255,.2);
  top: -150px; left: 50%; transform: translateX(-50%); pointer-events: none;
}

.fl-cta-content { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.fl-cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px; font-weight: 900; color: #fff;
  margin-bottom: 14px; line-height: 1.2;
}
.fl-cta-content p {
  font-size: 16px; color: rgba(203,213,225,.8);
  line-height: 1.7; margin-bottom: 32px;
}
.fl-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.fl-cta-btn-w {
  padding: 14px 32px; border-radius: 14px;
  background: #fff; color: #0062FF;
  font-weight: 700; font-size: 15px;
  transition: all .3s; display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.fl-cta-btn-w:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.fl-cta-btn-o {
  padding: 14px 32px; border-radius: 14px;
  background: rgba(255,255,255,.06); color: #fff;
  border: 1.5px solid rgba(255,255,255,.2);
  font-weight: 600; font-size: 15px;
  transition: all .3s; display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; backdrop-filter: blur(8px);
}
.fl-cta-btn-o:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); transform: translateY(-3px); }

.fl-cta-floats {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.fl-cta-fbx {
  position: absolute;
  background: rgba(255,255,255,.06); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 14px 22px;
  display: flex; align-items: center; gap: 12px;
  color: #fff;
  animation: float 7s ease-in-out infinite;
}
.fl-cta-fbx-1 { top: 16%; left: 5%; }
.fl-cta-fbx-2 { bottom: 16%; right: 5%; animation-delay: -3.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.fl-cta-fbx span { font-size: 28px; }
.fl-cta-fbx strong { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; }
.fl-cta-fbx small { font-size: 11px; opacity: .6; }

/* ===== SKELETON ===== */
@keyframes skeletonPulse {
  0%, 100% { opacity: .6; }
  50% { opacity: .3; }
}
.fl-skeleton { animation: skeletonPulse 1.5s ease-in-out infinite; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .fl-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fl-cta-card { padding: 48px 32px; }
  .fl-cta-fbx { display: none; }
  .fl-hero-stats .fl-stat { padding: 0 20px; }
  .fl-sf-sel { display: none; }
  .fl-search-sep:not(:first-of-type) { display: none; }
  .fl-cat-grid { grid-template-columns: repeat(4, 1fr); }
  .fl-cat-card[data-cat=""] { order: -1; grid-column: 1 / -1; flex-direction: row; justify-content: center; padding: 12px 16px; gap: 10px; }
  .fl-cat-card[data-cat=""] .fl-cat-card-bar { display: none; }
}

@media (max-width: 900px) {
  .fl-grid { grid-template-columns: 1fr; gap: 12px; }
  .fl-card-inner-head { margin: 8px 8px 0; padding: 14px 12px 10px; border-radius: 12px; }
  .fl-card-head { gap: 10px; }
  .fl-card-logo { width: 40px; height: 40px; border-radius: 10px; }
  .fl-card-logo-icon { font-size: 18px; }
  .fl-card-name { font-size: 14px; }
  .fl-card-head-meta { margin-top: 8px; gap: 6px; }
  .fl-card-verified, .fl-card-city-badge { font-size: 9px; padding: 2px 6px; }
  .fl-card-rating { font-size: 9.5px; }
  .fl-card-body { padding: 10px 14px 12px; }
  .fl-card-desc { font-size: 12px; margin-bottom: 8px; }
  .fl-card-desc-auto { font-size: 11px; padding: 5px 8px; }
  .fl-card-chips { gap: 5px; margin-bottom: 8px; }
  .fl-chip { font-size: 9.5px; padding: 3px 7px; }
  .fl-treat-showcase { padding: 8px 10px; margin-bottom: 0; }
  .fl-treat-head { font-size: 9px; margin-bottom: 6px; }
  .fl-treat-pill { font-size: 10px; padding: 3px 8px 3px 6px; }
  .fl-treat-dot { width: 5px; height: 5px; }
  .fl-card-foot { padding: 0; }
  .fl-card-btn { padding: 10px 6px; font-size: 11px; }
  .fl-card-cat { font-size: 10px; padding: 3px 8px; }
}

@media (max-width: 768px) {
  .fl-hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 80px; min-height: auto; }
  .fl-hero-title { font-size: clamp(28px, 7vw, 42px); }
  .fl-hero-desc { font-size: 15px; }
  .fl-hero-stats { flex-wrap: wrap; gap: 0; margin-top: 16px; justify-content: space-around; }
  .fl-stat-divider { display: none; }
  .fl-stat { padding: 0 10px; }
  .fl-stat-num { font-size: 20px; }
  .fl-stat-label { font-size: 10px; }
  .fl-stat-plus { font-size: 12px; }

  .fl-search-bar { flex-direction: column; border-radius: 16px; }
  .fl-search-sep { width: auto; height: 1px; margin: 0; }
  .fl-sf { padding: 0 16px; justify-content: flex-start; }
  .fl-sf-sel { display: flex; flex: 1; width: 100%; }
  .fl-dd { width: 100%; }
  .fl-dd-trigger { font-size: 14px; color: rgba(255,255,255,.9); font-weight: 500; text-align: left; padding: 14px 0; width: 100%; display: block; }
  .fl-sf input { font-size: 15px; color: #fff; padding: 14px 0; }
  .fl-sf input::placeholder { color: rgba(148,163,184,.7); }
  .fl-search-btn { padding: 14px; justify-content: center; border-radius: 0 0 16px 16px; }

  .fl-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .fl-cat-card[data-cat=""] { order: 99; grid-column: 1 / -1; flex-direction: row; justify-content: center; padding: 12px 16px; gap: 10px; }
  .fl-cat-card[data-cat=""] .fl-cat-card-icon { width: 36px; height: 36px; font-size: 20px; }
  .fl-cat-card[data-cat=""] .fl-cat-card-bar { display: none; }
  .fl-cat-card { padding: 14px 8px 12px; border-radius: 12px; gap: 6px; }
  .fl-cat-card-icon { width: 42px; height: 42px; font-size: 22px; border-radius: 10px; }
  .fl-cat-card-label { font-size: 11.5px; }

  .fl-grid { grid-template-columns: 1fr; gap: 16px; }
  .fl-card-inner-head { margin: 0; padding: 14px 12px 10px; border-radius: 20px 20px 0 0; }
  .fl-card-head { gap: 10px; }
  .fl-card-logo { width: 44px; height: 44px; border-radius: 11px; }
  .fl-card-logo-icon { font-size: 16px; }
  .fl-card-name { font-size: 14.5px; }
  .fl-card-sub { display: none; }
  .fl-card-cat { font-size: 9.5px; padding: 2px 7px; }
  .fl-card-head-meta { margin-top: 6px; gap: 5px; }
  .fl-card-verified { font-size: 8.5px; padding: 2px 5px; }
  .fl-card-city-badge { font-size: 8.5px; padding: 2px 5px; }
  .fl-card-rating { font-size: 9px; }
  .fl-card-body { padding: 8px 12px 10px; }
  .fl-card-desc { font-size: 11.5px; -webkit-line-clamp: 2; margin-bottom: 6px; }
  .fl-card-desc-auto { font-size: 10.5px; padding: 4px 7px; }
  .fl-card-chips { gap: 4px; margin-bottom: 6px; }
  .fl-chip { font-size: 9px; padding: 3px 6px; }
  .fl-treat-showcase { padding: 7px 8px; border-radius: 10px; }
  .fl-treat-head { font-size: 8.5px; margin-bottom: 5px; }
  .fl-treat-pill { font-size: 9.5px; padding: 3px 7px 3px 5px; gap: 3px; }
  .fl-treat-dot { width: 4px; height: 4px; }
  .fl-treat-list { gap: 4px; }
  .fl-treat-views { font-size: 9px; padding: 1px 6px; }
  .fl-yetki-badge { margin-top: 8px; padding: 6px 10px; gap: 8px; }
  .fl-yetki-icon { width: 26px; height: 26px; border-radius: 6px; }
  .fl-yetki-icon svg { width: 13px; height: 13px; }
  .fl-yetki-title { font-size: 9px; }
  .fl-yetki-sub { font-size: 7.5px; }
  .fl-yetki-seal svg { width: 16px; height: 16px; }
  .fl-card-foot { padding: 0; }
  .fl-card-btn { padding: 9px 4px; font-size: 10.5px; gap: 4px; }
  .fl-card-btn svg { width: 12px; height: 12px; }
  .fl-card-explore { font-size: 11px; padding: 9px 12px; }

  .fl-toolbar { flex-direction: column; align-items: flex-start; }
  .fl-toolbar-right { width: 100%; justify-content: space-between; }

  .fl-cta-card { padding: 36px 20px; border-radius: 20px; }
  .fl-cta-content h2 { font-size: 24px; }
  .fl-cta-btns { flex-direction: column; }
  .fl-cta-fbx { display: none; }
}

@media (max-width: 480px) {
  .fl-hero-stats { gap: 8px; }
  .fl-stat { padding: 0 10px; }
  .fl-stat-num { font-size: 22px; }
  .fl-cat-card { padding: 10px 6px 9px; border-radius: 10px; gap: 5px; }
  .fl-cat-card[data-cat=""] { padding: 10px 14px; }
  .fl-cat-card-icon { width: 36px; height: 36px; font-size: 18px; border-radius: 8px; }
  .fl-cat-card-label { font-size: 10.5px; }
  .fl-cat-card-bar { height: 2px; }
  .fl-grid { gap: 14px; grid-template-columns: 1fr; }
  .fl-card-inner-head { margin: 0; padding: 12px 10px 8px; border-radius: 20px 20px 0 0; }
  .fl-card-head { gap: 8px; }
  .fl-card-logo { width: 40px; height: 40px; border-radius: 10px; }
  .fl-card-logo-icon { font-size: 14px; }
  .fl-card-name { font-size: 13.5px; }
  .fl-card-cat { font-size: 9px; padding: 2px 6px; border-radius: 12px; }
  .fl-card-head-meta { margin-top: 5px; gap: 4px; }
  .fl-card-verified { font-size: 8px; padding: 2px 4px; gap: 2px; }
  .fl-card-verified svg { width: 8px; height: 8px; }
  .fl-card-city-badge { display: none; }
  .fl-card-rating { font-size: 8.5px; }
  .fl-card-rating svg { width: 9px; height: 9px; }
  .fl-card-body { padding: 6px 10px 8px; }
  .fl-card-desc { font-size: 11px; }
  .fl-card-desc-auto { font-size: 10px; padding: 4px 6px; }
  .fl-card-chips { gap: 3px; margin-bottom: 5px; }
  .fl-chip { font-size: 8.5px; padding: 2px 5px; gap: 3px; }
  .fl-treat-showcase { padding: 5px 7px; border-radius: 8px; }
  .fl-treat-head { font-size: 8px; margin-bottom: 4px; }
  .fl-treat-pill { font-size: 9px; padding: 2px 6px 2px 5px; gap: 3px; }
  .fl-treat-dot { width: 4px; height: 4px; }
  .fl-treat-list { gap: 3px; }
  .fl-treat-views { font-size: 8.5px; }
  .fl-card-foot { padding: 0; }
  .fl-card-btn { padding: 8px 4px; font-size: 10px; gap: 3px; }
  .fl-card-btn svg { width: 11px; height: 11px; }
  .fl-card-explore { font-size: 10px; padding: 8px 10px; }
}

/* ===== MOBILE FIXED FOOTER ===== */
.fl-mob-footer {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid #e2e8f0;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  gap: 6px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.fl-mob-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px;
  border: none; background: none;
  font-size: 11px; font-weight: 600; color: #475569;
  cursor: pointer; transition: all .2s;
  border-radius: 10px;
}
.fl-mob-btn:active { background: #f1f5f9; }
.fl-mob-btn svg { color: #0062FF; }
.fl-mob-btn.active { color: #0062FF; background: rgba(0,98,255,.06); }

/* Overlay */
.fl-mob-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 310;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .3s;
}
.fl-mob-overlay.open { display: block; opacity: 1; }

/* Panel (bottom sheet) */
.fl-mob-panel {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 320;
  background: #fff;
  border-radius: 20px 20px 0 0;
  max-height: 70vh;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.32,.72,0,1);
  box-shadow: 0 -10px 40px rgba(0,0,0,.15);
}
.fl-mob-panel.open { display: block; transform: translateY(0); }

.fl-mob-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.fl-mob-panel-head h3 { font-size: 16px; font-weight: 700; color: #1e293b; }
.fl-mob-panel-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: #f1f5f9; border: none;
  display: flex; align-items: center; justify-content: center;
  color: #64748b; cursor: pointer; transition: all .2s;
}
.fl-mob-panel-close:hover { background: #e2e8f0; }

.fl-mob-panel-body {
  padding: 12px 16px 24px;
  overflow-y: auto; max-height: calc(70vh - 60px);
  -webkit-overflow-scrolling: touch;
}

.fl-mob-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  font-size: 14px; font-weight: 500; color: #334155;
  cursor: pointer; transition: all .2s;
  border: none; background: none; width: 100%; text-align: left;
}
.fl-mob-item:active, .fl-mob-item:hover { background: #f8fafc; }
.fl-mob-item-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; background: #f0f5ff; flex-shrink: 0;
}
.fl-mob-item-label { flex: 1; }
.fl-mob-item-arrow { color: #cbd5e1; }
.fl-mob-item.active { background: rgba(0,98,255,.06); color: #0062FF; font-weight: 700; }
.fl-mob-item.active .fl-mob-item-icon { background: rgba(0,98,255,.12); }

.fl-mob-sep { height: 1px; background: #f1f5f9; margin: 6px 0; }

@media (max-width: 768px) {
  .fl-mob-footer { display: none; }
}

/* ===== TEMPLATE SWITCHER ===== */
.fl-view-switch {
  display: flex; gap: 4px; background: #f1f5f9; border-radius: 10px; padding: 3px;
}
.fl-view-btn {
  width: 34px; height: 34px; border: none; background: transparent;
  border-radius: 8px; cursor: pointer; color: #64748b;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.fl-view-btn:hover { color: #64748b; background: rgba(0,0,0,.04); }
.fl-view-btn.active { background: #fff; color: #0062FF; box-shadow: 0 1px 4px rgba(0,0,0,.1); }

/* ===== COMPACT TEMPLATE (.fl-grid-compact) ===== */
.fl-grid-compact {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}
.fl-grid-compact .fl-card {
  flex-direction: row;
  border-radius: 14px;
  border-top: none;
  border-left: 3px solid var(--card-accent);
  overflow: hidden;
}
.fl-grid-compact .fl-card:hover { transform: translateX(4px) translateY(0); }
.fl-grid-compact .fl-card-inner-head {
  margin: 0; padding: 14px 16px 10px;
  border-radius: 0;
  flex-shrink: 0;
  width: 280px;
  min-width: 280px;
}
.fl-grid-compact .fl-card-body {
  flex: 1; min-width: 0;
  padding: 14px 16px;
  display: flex; flex-direction: column; justify-content: center;
}
.fl-grid-compact .fl-card-desc {
  -webkit-line-clamp: 2; margin-bottom: 8px;
}
.fl-grid-compact .fl-treat-showcase {
  border: none; border-top: none; margin-bottom: 0; padding: 0;
  background: transparent;
}
.fl-grid-compact .fl-treat-head { display: none; }
.fl-grid-compact .fl-treat-list { gap: 4px; }
.fl-grid-compact .fl-treat-pill { font-size: 10px; padding: 2px 8px 2px 6px; }
.fl-grid-compact .fl-yetki-badge { margin-top: 8px; padding: 4px 8px; }
.fl-grid-compact .fl-yetki-title { font-size: 9px; }
.fl-grid-compact .fl-yetki-sub { font-size: 7.5px; }
.fl-grid-compact .fl-yetki-seal svg { width: 14px; height: 14px; }
.fl-grid-compact .fl-card-foot {
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 14px 16px;
  border-top: none;
  border-left: 1px solid #f1f5f9;
  width: 160px;
  min-width: 160px;
  gap: 8px;
}
.fl-grid-compact .fl-card-actions { justify-content: center; }
.fl-grid-compact .fl-card-explore { justify-content: center; font-size: 12px; }

@media (max-width: 900px) {
  .fl-grid-compact .fl-card { flex-direction: column; }
  .fl-grid-compact .fl-card-inner-head { width: auto; min-width: 0; }
  .fl-grid-compact .fl-card-foot {
    flex-direction: row; width: auto; min-width: 0;
    border-left: none; border-top: 1px solid #f1f5f9;
    padding: 10px 14px;
  }
}

/* ===== GALLERY TEMPLATE (.fl-grid-gallery) ===== */
.fl-grid-gallery {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
}
.fl-grid-gallery .fl-card {
  border-top: none;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.fl-grid-gallery .fl-card-cover {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}
.fl-grid-gallery .fl-card-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.fl-grid-gallery .fl-card:hover .fl-card-cover-img { transform: scale(1.05); }
.fl-grid-gallery .fl-card-cover-grad {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative;
}
.fl-grid-gallery .fl-card-cover-grad::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.6) 100%);
}
.fl-grid-gallery .fl-card-cover-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.7) 100%);
  z-index: 2;
}
.fl-grid-gallery .fl-card-cover-name {
  color: #fff; font-size: 16px; font-weight: 700;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
  display: flex; align-items: center; gap: 6px;
}
.fl-grid-gallery .fl-card-cover-meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 4px; font-size: 11px; color: rgba(255,255,255,.85);
}
.fl-grid-gallery .fl-card-cover-cat {
  position: absolute; top: 12px; right: 12px;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: #fff;
  background: var(--card-accent); padding: 4px 10px;
  border-radius: 8px; z-index: 2;
}
.fl-grid-gallery .fl-card-cover-cert {
  position: absolute; top: 12px; left: 12px;
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; color: #fff;
  background: rgba(16,185,129,.9); padding: 4px 8px;
  border-radius: 8px; z-index: 2;
}
.fl-grid-gallery .fl-card-inner-head { display: none; }
.fl-grid-gallery .fl-card-body { padding: 14px 16px 10px; }
.fl-grid-gallery .fl-card-desc { -webkit-line-clamp: 2; font-size: 12.5px; margin-bottom: 8px; }
.fl-grid-gallery .fl-treat-showcase { padding: 0; border: none; background: transparent; }
.fl-grid-gallery .fl-treat-head { display: none; }
.fl-grid-gallery .fl-treat-list { gap: 4px; }
.fl-grid-gallery .fl-treat-pill { font-size: 10px; padding: 2px 8px 2px 6px; }
.fl-grid-gallery .fl-yetki-badge { display: none; }
.fl-grid-gallery .fl-card-foot { padding: 8px 14px 12px; }
.fl-grid-gallery .fl-card-explore { font-size: 11px; }

@media (max-width: 768px) {
  .fl-grid-gallery { grid-template-columns: 1fr !important; }
  .fl-grid-gallery .fl-card-cover { height: 160px; }
}
@media (max-width: 480px) {
  .fl-grid-gallery .fl-card-cover { height: 140px; }
  .fl-grid-gallery .fl-card-cover-name { font-size: 14px; }
  .fl-view-switch { display: none; }
}
