:root {
  --brand: #e31e24;
  --brand-dark: #c4181e;
  --brand-soft: #fff1f1;
  --ink: #1a1d21;
  --muted: #6b7280;
  --line: #e8eaed;
  --paper: #ffffff;
  --bg: #f7f8fa;
  --footer: #1b1f24;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-hover: 0 14px 34px rgba(17, 24, 39, 0.12);
  --font: "Manrope", system-ui, sans-serif;
  --container: min(1320px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container { width: var(--container); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; border-radius: 999px; padding: .72rem 1.2rem;
  font-weight: 700; cursor: pointer;
  transition: .2s ease;
}
.btn[hidden],
.btn.is-hidden,
[data-hero-cta][hidden],
[data-hero-cta].is-hidden {
  display: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-outline {
  background: #fff; border: 1.5px solid var(--brand); color: var(--brand); width: 100%;
}
.btn-outline:hover { background: var(--brand-soft); }
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.header-top {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: .95rem 0 .7rem;
}
.header-top > .header-search {
  grid-column: 1;
  justify-self: stretch;
  width: 80%;
  min-width: 0;
}
.header-top .brand {
  grid-column: 2;
  justify-self: center;
}
.header-end {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  max-width: 100%;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em;
  white-space: nowrap;
}
.brand-badge {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 900;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}
.fp-logo .brand-logo {
  height: 40px;
  max-width: 170px;
  background: #fff;
  border-radius: 10px;
  padding: .2rem .4rem;
}
.ap-logo-field {
  display: grid;
  gap: .45rem;
}
.ap-logo-field > span { font-weight: 700; font-size: .9rem; }
.ap-logo-preview {
  width: min(240px, 100%);
  padding: .6rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
}
.ap-logo-preview img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  width: auto;
  object-fit: contain;
}
.header-search {
  display: flex; align-items: center; gap: .45rem;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: .2rem .28rem .2rem .9rem;
  min-height: 42px;
}
.header-search input {
  flex: 1; border: 0; outline: 0; background: transparent; min-width: 0;
  font-size: .92rem; padding: .35rem 0; height: auto; line-height: 1.3;
}
.header-search button {
  border: 0; background: var(--brand); color: #fff;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  font-weight: 800; font-size: 1.15rem; line-height: 1;
  display: grid; place-items: center; flex-shrink: 0;
}
.header-actions {
  display: flex; align-items: center; gap: .55rem;
}
.header-wa {
  font-size: .78rem; font-weight: 750; color: #128C7E;
  white-space: nowrap; border: 1px solid #b7ead8;
  background: #ecfdf5; border-radius: 999px;
  padding: .35rem .7rem;
}
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; color: var(--muted); position: relative;
}
.icon-btn .dot {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--brand); color: #fff;
  font-size: .65rem; font-weight: 800; display: grid; place-items: center;
}
.site-header > .container { overflow: visible; }
.category-nav {
  display: flex; gap: .25rem; align-items: center;
  overflow: visible;
  padding: 0 0 .7rem;
  flex-wrap: wrap;
}
.category-nav > a,
.category-nav .nav-cat-link {
  white-space: nowrap; padding: .35rem .62rem; border-radius: 999px;
  color: #111; font-weight: 650; font-size: calc(.92rem - 3px);
  display: inline-flex; align-items: center; gap: .28rem;
}
.category-nav .nav-cat-link {
  max-width: 13rem;
}
.category-nav > a:hover,
.category-nav > a.is-active,
.category-nav .nav-cat-link:hover,
.category-nav .nav-cat-link.is-active,
.nav-cat.is-open > .nav-cat-link {
  background: var(--brand-soft); color: #111;
}
.nav-cat-all { font-weight: 800 !important; color: #111 !important; }
.nav-cat {
  position: relative; flex: 0 0 auto; z-index: 1;
}
.nav-cat:hover,
.nav-cat.is-open,
.nav-cat:focus-within {
  z-index: 220;
}
.nav-cat-caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .7;
}
.nav-cat-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 240px;
  max-width: min(340px, 85vw);
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: .45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
  z-index: 230;
}
.nav-cat-menu a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 10px;
  color: #111;
  font-size: calc(.88rem - 2px);
  font-weight: 600;
  white-space: normal;
  line-height: 1.35;
}
.nav-cat-menu a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}
.nav-cat:hover .nav-cat-menu,
.nav-cat.is-open .nav-cat-menu,
.nav-cat:focus-within .nav-cat-menu {
  display: block;
}

/* Tüm kategoriler + kategori hub */
.cat-page { padding: 1.1rem 0 2.75rem; }
.cat-page-head { margin-bottom: 1.25rem; }
.cat-page-head h1 {
  margin: 0 0 .35rem; font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 800; letter-spacing: -.03em;
}
.cat-page-head p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 36rem; }

.cat-main-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.cat-main-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .45rem; padding: 1.15rem .7rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); min-height: 168px; transition: .2s ease;
}
.cat-main-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #f3c6c7; }
.cat-main-ico {
  width: 54px; height: 54px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem; line-height: 1; margin-bottom: .15rem;
}
.cat-main-card strong {
  font-size: .9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25;
  color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-main-meta { color: var(--muted); font-size: .78rem; font-weight: 600; }
.cat-main-arrow { margin-top: auto; color: #111; font-weight: 700; font-size: 1rem; }

.tone-orange { background: #fff1e8; color: #ea580c; }
.tone-purple { background: #f3e8ff; color: #7c3aed; }
.tone-blue { background: #e8f1ff; color: #2563eb; }
.tone-green { background: #e8f8ef; color: #059669; }
.tone-pink { background: #fce7f3; color: #db2777; }
.tone-teal { background: #ccfbf1; color: #0f766e; }
.tone-amber { background: #fef3c7; color: #d97706; }
.tone-rose { background: #ffe4e6; color: #e11d48; }
.tone-brown { background: #f5e6d8; color: #9a3412; }
.tone-red { background: #fee2e2; color: #dc2626; }

.cat-more-btn {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  width: 100%; margin: 1.1rem 0 0; padding: .95rem 1rem;
  border: 1px solid var(--line); border-radius: 14px; background: #f3f4f6;
  color: var(--text); font-weight: 750; font-size: .95rem; cursor: pointer;
}
.cat-more-btn:hover { background: #ebecef; }

.cat-promo-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem; margin-top: 1.35rem;
}
.cat-promo {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.05rem; border-radius: 16px; min-height: 84px;
}
.cat-promo.tone-red { background: #fff1f1; }
.cat-promo.tone-amber { background: #fff7e8; }
.cat-promo.tone-green { background: #eefbf3; }
.cat-promo.tone-blue { background: #eef4ff; }
.cat-promo-ico {
  width: 42px; height: 42px; border-radius: 12px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem; line-height: 1;
}
.cat-promo strong { display: block; font-size: .92rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .2rem; }
.cat-promo span { color: var(--brand); font-size: .82rem; font-weight: 750; }

.cat-trust-row {
  margin-top: 1.35rem; background: #f3f4f6; border-radius: 16px;
  padding: 1.05rem 1.2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.cat-trust-row > div { display: flex; align-items: center; gap: .65rem; }
.cat-trust-row > div > span {
  width: 38px; height: 38px; border-radius: 12px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; line-height: 1;
}
.cat-trust-row strong { display: block; font-size: .88rem; font-weight: 800; }
.cat-trust-row small { color: var(--muted); font-size: .78rem; font-weight: 600; }

/* Alt kategori hub */
.cat-bc {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  font-size: .85rem; color: var(--muted); margin: 0 0 1rem;
}
.cat-bc a:hover { color: var(--brand); }
.cat-bc strong { color: var(--text); font-weight: 750; }

.cat-hub-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.1rem;
  padding: 1.15rem 1.3rem;
  border-radius: 18px;
  border: 1px solid rgba(227, 30, 36, .12);
  background:
    linear-gradient(118deg, #fff1f1 0%, #ffe8ea 28%, #fff7f4 62%, #f4f6f8 100%);
  box-shadow: var(--shadow);
}
.cat-hub-title { display: flex; gap: .85rem; align-items: flex-start; min-width: 0; }
.cat-hub-ico {
  width: 56px; height: 56px; border-radius: 50%; background: #fff1e8; color: #ea580c;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; line-height: 1; flex-shrink: 0;
}
.cat-hub-title h1 {
  margin: 0 0 .3rem; font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800; letter-spacing: -.03em;
}
.cat-hub-title p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 34rem; }
.cat-hub-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: .82rem; font-weight: 750; color: var(--muted); white-space: nowrap;
}

.list-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.4rem;
  border-radius: 20px;
  border: 1px solid rgba(227, 30, 36, .12);
  background:
    radial-gradient(ellipse 70% 90% at 8% 30%, rgba(255, 210, 216, .65) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 92% 80%, rgba(186, 214, 255, .22) 0%, transparent 60%),
    linear-gradient(118deg, #fff1f1 0%, #ffe8ea 28%, #fff7f4 58%, #f3f6f9 100%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.list-page-head::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 30, 36, .1), transparent 70%);
  pointer-events: none;
}
.list-page-head-copy {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.list-page-head-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(227, 30, 36, .12);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(227, 30, 36, .08);
}
.list-page-head h1 {
  margin: 0 0 .35rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.list-page-head p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
  max-width: 36rem;
}
.list-page-head-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 30, 36, .12);
  background: rgba(255, 255, 255, .95);
  font-size: .82rem;
  font-weight: 750;
  color: var(--muted);
  white-space: nowrap;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(17, 24, 39, .04);
}

.cat-stat-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
  width: 100%;
  margin-bottom: 1.1rem;
}
.cat-stat {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: .9rem 1rem; display: flex; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow); gap: .5rem; min-width: 0; width: 100%;
}
.cat-stat > div { min-width: 0; }
.cat-stat > div > span {
  display: block; color: var(--muted); font-size: .78rem; font-weight: 650; margin-bottom: .2rem;
}
.cat-stat strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.cat-stat-ico {
  width: 36px; height: 36px; border-radius: 12px;
  display: inline-flex !important; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .95rem; line-height: 1; margin: 0 !important;
}

.cat-hub-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: .85rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.cat-hub-search {
  display: flex; align-items: center; gap: .5rem; flex: 1; min-width: min(100%, 260px); max-width: 420px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .95rem;
}
.cat-hub-search input { border: 0; outline: 0; background: transparent; width: 100%; font: inherit; }
.cat-hub-tools { display: flex; align-items: center; gap: .65rem; }
.cat-hub-sort {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .5rem .9rem; font-size: .85rem; font-weight: 700; color: var(--muted);
}
.cat-view-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
}
.cat-view-toggle button {
  border: 0; background: transparent; width: 38px; height: 36px; cursor: pointer; color: var(--muted);
}
.cat-view-toggle button.is-active { background: var(--brand); color: #fff; }

.cat-sub-grid {
  display: grid; gap: .75rem;
}
.cat-sub-grid.is-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat-sub-grid.is-list { grid-template-columns: 1fr; }
.cat-sub-card {
  display: flex; align-items: center; gap: .75rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: .85rem 1rem; box-shadow: var(--shadow); transition: .18s ease; min-width: 0;
}
.cat-sub-card:hover { border-color: #f3c6c7; transform: translateY(-2px); }
.cat-sub-ico {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.05rem; line-height: 1;
}
.cat-sub-text { flex: 1; min-width: 0; }
.cat-sub-text strong {
  display: block; font-size: .95rem; font-weight: 800; letter-spacing: -.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cat-sub-text small { color: var(--muted); font-size: .8rem; font-weight: 650; }
.cat-sub-arrow {
  width: 30px; height: 30px; border-radius: 50%; background: #f3f4f6; color: #6b7280;
  display: grid; place-items: center; flex-shrink: 0; font-size: .85rem;
}
.cat-sub-card:hover .cat-sub-arrow { background: var(--brand-soft); color: var(--brand); }

@media (max-width: 1200px) {
  .cat-main-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cat-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-promo-row, .cat-trust-row { grid-template-columns: 1fr 1fr; }
  .cat-sub-grid.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cat-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-promo-row, .cat-trust-row, .cat-sub-grid.is-grid { grid-template-columns: 1fr; }
  .cat-stat-row { grid-template-columns: 1fr; }
}

/* Home layout */
.home-wrap { padding: 1.25rem 0 2.5rem; }
.nearby-widget {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: .9rem 1rem; margin: 0 0 1.2rem;
}
.nearby-widget strong { display: block; }
.nearby-widget .meta { margin: .15rem 0 0; }
.home-stories {
  margin: 0 0 1rem;
}
.home-stories .story-rail {
  margin: 0;
}
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.home-cats {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.home-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.home-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.25rem;
  align-items: start;
}

/* Hero */
.home-hero {
  position: relative; overflow: hidden;
  border-radius: 20px;
  min-height: 360px;
  height: auto;
  z-index: 0;
  isolation: isolate;
  background:
    linear-gradient(105deg, rgba(20,20,20,.72) 0%, rgba(20,20,20,.25) 55%, rgba(20,20,20,.1) 100%),
    url('https://images.unsplash.com/photo-1616594039964-ae9021a400a0?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff; box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}
.home-layout .home-hero {
  min-height: 300px;
  border-radius: 18px;
}
.home-layout .hero-content {
  min-height: 300px;
  padding: 1.5rem 1.6rem;
}
.home-hero.has-media {
  background-color: #14212b;
  background-image:
    linear-gradient(105deg, rgba(15,20,25,.45) 0%, rgba(15,20,25,.2) 50%, rgba(15,20,25,.12) 100%),
    var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-hero.has-media .hero-slide img {
  z-index: 0;
  background: #14212b;
}
.home-hero .hero-track {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-hero .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.home-hero .hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}
.home-hero .hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-hero.has-media .hero-slide::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(105deg, rgba(15,20,25,.5) 0%, rgba(15,20,25,.2) 55%, rgba(15,20,25,.12) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 2.2rem; min-height: 360px; pointer-events: none;
}
.home-hero.has-media .hero-content { justify-content: flex-start; }
.hero-copy { max-width: 28rem; pointer-events: auto; }
.hero-copy h1 {
  margin: 0 0 .6rem; font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15; letter-spacing: -.03em; font-weight: 800;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero-copy p { margin: 0 0 1.1rem; color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-copy [data-hero-cta][hidden],
.hero-copy .btn[hidden],
.hero-copy .btn.is-hidden {
  display: none !important;
}
.hero-badge {
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-content: center; text-align: center;
  font-weight: 900; box-shadow: 0 12px 30px rgba(227,30,36,.35);
  flex-shrink: 0;
}
.hero-badge strong { font-size: 1.6rem; line-height: 1; }
.hero-badge span { font-size: .75rem; letter-spacing: .04em; }
.hero-dots {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  display: flex; gap: .4rem; z-index: 4;
}
.hero-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.45); cursor: pointer;
}
.hero-dots button.is-active { background: #fff; width: 22px; border-radius: 999px; }

/* Stories */
.section { margin-top: 1.6rem; }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1rem; margin-bottom: .9rem;
}
.section-head h2 {
  margin: 0; font-size: 1.35rem; letter-spacing: -.02em; font-weight: 800;
}
.section-head p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }

.story-rail {
  display: flex; gap: 1rem; overflow-x: auto; overflow-y: hidden;
  padding: .85rem .1rem 1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}
.story-rail::-webkit-scrollbar { display: none; }
.story-item {
  flex: 0 0 auto; width: 92px; text-align: center;
  transition: transform .2s ease;
  overflow: visible;
}
.story-item:hover { transform: translateY(-3px); }
.story-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand), var(--shadow);
  overflow: visible; position: relative; margin: 0 auto .45rem;
  background: #eee;
  display: grid; place-items: center;
}
.story-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}
.story-fallback {
  font-size: 1.35rem; font-weight: 800; color: var(--brand);
  line-height: 1;
}
.story-fallback.is-hidden { display: none; }
.story-badge {
  position: absolute; top: 0; left: 50%; right: auto;
  transform: translate(-50%, -55%);
  background: var(--brand); color: #fff;
  font-size: .58rem; font-weight: 800; line-height: 1.15;
  padding: .22rem .42rem; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(227,30,36,.35);
  white-space: nowrap;
  z-index: 2;
  letter-spacing: .02em;
}
.story-item small {
  display: block; font-size: .72rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Shortcuts */
.shortcut-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem;
}
.shortcut {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem .8rem; text-align: center; box-shadow: var(--shadow);
  transition: .2s ease;
}
.shortcut:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #f3c6c7; }
.shortcut-ico {
  width: 42px; height: 42px; margin: 0 auto .55rem; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 900;
}
.shortcut strong { display: block; font-size: .88rem; line-height: 1.25; }

/* Listing cards */
.listing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem;
}
.listing-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow); position: relative;
  transition: .2s ease;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.listing-card.highlight { border-color: #f5b5b7; background: linear-gradient(180deg, #fff8f8, #fff); }
.listing-media {
  aspect-ratio: 4/3; background: #edf0f3; position: relative; overflow: hidden;
}
.listing-media img { width: 100%; height: 100%; object-fit: cover; }
.card-badge {
  position: absolute; top: .7rem; left: .7rem;
  background: var(--brand); color: #fff;
  font-size: .75rem; font-weight: 800;
  padding: .28rem .55rem; border-radius: 999px;
}
.fav-btn {
  position: absolute; top: .7rem; right: .7rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 0;
  display: grid; place-items: center; color: var(--muted); cursor: pointer;
}
.listing-body { padding: .85rem .9rem 1rem; }
.card-company {
  color: var(--muted); font-size: .78rem; font-weight: 600; margin-bottom: .25rem;
  display: flex; align-items: center; gap: .35rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-company-name {
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.gold-user-badge {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 0;
  transform: translateY(-2px);
}
.gold-user-badge svg { display: block; }
.listing-body h3 {
  margin: 0 0 .35rem; font-size: .92rem; line-height: 1.3; font-weight: 800;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-prices {
  display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; margin-bottom: .45rem;
}
.price-new { font-weight: 800; font-size: 1.02rem; color: var(--brand); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .78rem; font-weight: 600; }
.card-meta {
  display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap;
  color: var(--muted); font-size: .75rem;
}
.card-distance {
  position: absolute; left: .55rem; bottom: .55rem; z-index: 2;
  background: rgba(20, 33, 43, .88); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .02em;
  padding: .28rem .5rem; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(17, 24, 39, .2);
}
.card-meta-distance {
  color: var(--brand);
  font-weight: 750;
  font-style: normal;
}
.card-meta-right {
  display: inline-flex; align-items: center; gap: .45rem;
}
.meta { color: var(--muted); font-size: .82rem; }

.nearby-head {
  align-items: end;
}
.nearby-status {
  margin: 0 0 1rem;
}
.nearby-status[hidden] { display: none !important; }
.nearby-status-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem 1.2rem; box-shadow: var(--shadow);
}
.nearby-status-card strong {
  display: block; font-size: 1.02rem; font-weight: 800; margin-bottom: .25rem;
}
.nearby-status-card p {
  margin: 0; color: var(--muted); font-size: .9rem;
}
.nearby-count { margin: 0 0 .85rem; }

/* —— Public Dopingler page —— */
.doping-page { padding-bottom: 2rem; }
.doping-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
  gap: 1.25rem;
  align-items: center;
  background:
    radial-gradient(ellipse 60% 80% at 12% 40%, rgba(255, 214, 218, .55), transparent 65%),
    linear-gradient(120deg, #fff7f8 0%, #f7f8fa 48%, #eef2f6 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.1rem;
  overflow: hidden;
  position: relative;
}
.doping-hero-copy h1 {
  margin: 0 0 .45rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -.03em;
}
.doping-hero-copy > p {
  margin: 0 0 1rem; color: var(--muted); max-width: 34rem; line-height: 1.5;
}
.doping-hero-stats {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.dhs {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.92); border: 1px solid var(--line);
  border-radius: 999px; padding: .45rem .8rem;
  font-size: .8rem; font-weight: 650; color: var(--muted);
  box-shadow: 0 4px 12px rgba(17,24,39,.04);
}
.dhs i { font-style: normal; }
.dhs strong { font-weight: 800; color: var(--ink); margin-right: .15rem; }
.dhs.tone-red i { color: var(--brand); }
.dhs.tone-orange i { color: #ea580c; }
.dhs.tone-green i { color: #16a34a; }

.doping-hero-art {
  position: relative; min-height: 180px;
  display: grid; place-items: center;
}
.doping-megaphone {
  position: relative; width: 180px; height: 160px;
}
.dm-box {
  position: absolute; left: 18%; bottom: 18%; width: 88px; height: 58px;
  border-radius: 12px; background: linear-gradient(160deg, #fff, #ffe8ea);
  border: 2px solid #f5c2c4; box-shadow: var(--shadow);
  transform: perspective(200px) rotateX(12deg);
}
.dm-horn {
  position: absolute; right: 8%; top: 22%; width: 78px; height: 58px;
  background: linear-gradient(135deg, #ff4d54, #c4181e);
  clip-path: polygon(0 28%, 55% 8%, 100% 0, 100% 100%, 55% 92%, 0 72%);
  border-radius: 6px; box-shadow: 0 12px 24px rgba(227,30,36,.3);
}
.dm-ticket {
  position: absolute; width: 34px; height: 34px; border-radius: 10px;
  background: #fff; color: var(--brand); font-weight: 900; font-size: .85rem;
  display: grid; place-items: center; box-shadow: var(--shadow);
  border: 1px solid #f5c2c4;
}
.dm-ticket.t1 { top: 8%; left: 8%; transform: rotate(-12deg); }
.dm-ticket.t2 { top: 0; right: 18%; transform: rotate(10deg); }
.dm-ticket.t3 { bottom: 8%; right: 0; transform: rotate(-6deg); }

.doping-toolbar {
  display: flex; flex-wrap: wrap; gap: .65rem; align-items: center;
  margin-bottom: 1.1rem;
}
.doping-search {
  flex: 1; min-width: 200px;
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .9rem; box-shadow: var(--shadow);
}
.doping-search span { color: var(--muted); font-weight: 800; }
.doping-search input {
  border: 0; outline: 0; background: transparent; width: 100%;
  padding: .45rem 0; font-weight: 600;
}
.doping-toolbar select {
  width: auto; min-width: 180px; border-radius: 999px; padding: .55rem .9rem;
  font-weight: 700; background: #fff;
}

.doping-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}
.doping-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 1.15rem 1.15rem 1rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1rem;
  transition: .2s ease;
}
.doping-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.doping-badge {
  position: absolute; top: .9rem; left: .9rem; z-index: 1;
  background: var(--brand); color: #fff;
  font-size: .75rem; font-weight: 800; padding: .28rem .55rem; border-radius: 999px;
}
.doping-card.tone-orange .doping-badge { background: #ea580c; }
.doping-card.tone-purple .doping-badge { background: #7c3aed; }
.doping-card-top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem;
  padding-top: 1.4rem;
}
.doping-card h2 {
  margin: 0 0 .4rem; font-size: 1.08rem; font-weight: 800; line-height: 1.25;
}
.doping-card-top > div > p {
  margin: 0 0 .75rem; color: var(--muted); font-size: .86rem; line-height: 1.4;
}
.doping-feats {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem;
}
.doping-feats li {
  display: flex; align-items: center; gap: .45rem;
  font-size: .84rem; font-weight: 650; color: var(--ink);
}
.doping-feats li span {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: .78rem;
  background: var(--bg); flex-shrink: 0;
}
.doping-card.tone-red .doping-feats li span { background: #ffe8ea; color: var(--brand); }
.doping-card.tone-orange .doping-feats li span { background: #ffedd5; color: #c2410c; }
.doping-card.tone-purple .doping-feats li span { background: #f3e8ff; color: #7c3aed; }

.doping-visual {
  width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.8rem; font-weight: 900;
  flex-shrink: 0;
}
.doping-card.tone-red .doping-visual {
  background: radial-gradient(circle at 30% 30%, #fff, #ffd6da 55%, #ffb3b8);
  color: var(--brand);
}
.doping-card.tone-orange .doping-visual {
  background: radial-gradient(circle at 30% 30%, #fff, #fed7aa 55%, #fdba74);
  color: #c2410c;
}
.doping-card.tone-purple .doping-visual {
  background: radial-gradient(circle at 30% 30%, #fff, #e9d5ff 55%, #d8b4fe);
  color: #7c3aed;
}

.doping-card-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding-top: .85rem; border-top: 1px solid var(--line);
}
.doping-card-foot strong {
  display: block; font-size: 1.2rem; font-weight: 800; color: var(--ink);
}
.doping-card-foot em {
  font-style: normal; font-size: .78rem; font-weight: 750; color: var(--muted);
}
.doping-card.tone-orange .doping-card-foot em { color: #ea580c; }
.doping-card.tone-purple .doping-card-foot em { color: #7c3aed; }
.doping-card.tone-red .doping-card-foot em { color: var(--brand); }
.doping-card-foot .btn { border-radius: 12px; padding: .6rem 1rem; white-space: nowrap; }
.doping-grid .empty-state { grid-column: 1 / -1; }

.doping-benefits {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}
.doping-benefit {
  display: flex; gap: .8rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1rem 1.1rem; box-shadow: var(--shadow);
}
.db-ico {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.15rem;
}
.db-ico.tone-red { background: #ffe8ea; }
.db-ico.tone-orange { background: #ffedd5; }
.db-ico.tone-green { background: #e8f8ef; }
.doping-benefit strong { display: block; font-size: .95rem; font-weight: 800; margin-bottom: .2rem; }
.doping-benefit small { color: var(--muted); font-size: .8rem; line-height: 1.4; }

@media (max-width: 980px) {
  .doping-hero { grid-template-columns: 1fr; }
  .doping-hero-art { min-height: 140px; }
  .doping-grid { grid-template-columns: 1fr; }
  .doping-benefits { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .doping-card-top { grid-template-columns: 1fr; }
  .doping-visual { width: 72px; height: 72px; }
}

.nearby-hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.nearby-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .9fr);
  gap: 1rem;
  padding: 1.35rem 1.4rem 1.1rem;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 90% at 8% 40%, rgba(255, 214, 218, .7) 0%, rgba(255, 232, 234, .35) 38%, transparent 68%),
    radial-gradient(ellipse 55% 70% at 92% 55%, rgba(186, 214, 255, .35) 0%, transparent 60%),
    linear-gradient(115deg, #fff5f6 0%, #ffffff 42%, #f5f8fc 72%, #eef3f8 100%);
}
.nearby-hero-main::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 22% 78%, rgba(227, 30, 36, .07), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(59, 130, 246, .08), transparent 26%);
  opacity: .9;
}
.nearby-hero-copy { position: relative; z-index: 1; max-width: 34rem; }
.nearby-hero-pin {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--brand-soft); font-size: 1.05rem; margin-bottom: .65rem;
}
.nearby-hero-copy h1 {
  margin: 0 0 .45rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
}
.nearby-hero-copy > p {
  margin: 0 0 1rem;
  color: var(--muted); font-size: .95rem; line-height: 1.5;
  max-width: 32rem;
}
.nearby-cat-filter { margin: 0 0 .9rem; max-width: 22rem; }
.nearby-cat-field { display: grid; gap: .35rem; }
.nearby-cat-field > span {
  font-size: .78rem; font-weight: 750; color: var(--muted); letter-spacing: .01em;
}
.nearby-cat-select {
  width: 100%; height: 46px; margin: 0;
  border: 1.5px solid var(--line); border-radius: 14px;
  padding: 0 2.4rem 0 14px; background: #fff;
  color: var(--ink); font-size: .9rem; font-weight: 650;
  appearance: none; -webkit-appearance: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  box-shadow: 0 4px 14px rgba(17,24,39,.04);
}
.nearby-cat-select:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, .08);
}
.nearby-hero-stats {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem .85rem;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(227, 30, 36, .12);
  border-radius: 999px;
  padding: .55rem .95rem; box-shadow: 0 4px 14px rgba(17,24,39,.04);
  font-size: .82rem; font-weight: 650; color: var(--muted);
  backdrop-filter: blur(6px);
}
.nearby-hero-stats span {
  display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
}
.nearby-hero-stats i { font-style: normal; font-size: .85rem; }
.nearby-hero-stats strong { color: var(--brand); font-weight: 800; }

.nearby-hero-visual {
  position: relative; min-height: 200px; z-index: 1;
  display: flex; align-items: flex-start; justify-content: flex-end;
}
.nearby-locate-btn {
  position: absolute; top: 0; right: 0; z-index: 3;
  border-radius: 14px; padding: .65rem 1rem; font-size: .88rem;
  box-shadow: 0 10px 22px rgba(227,30,36,.25);
}
.nearby-map {
  position: absolute; inset: 10% 0 0 8%;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 40% 55% at 78% 42%, rgba(147, 197, 253, .45), transparent 70%),
    linear-gradient(90deg, rgba(232,234,237,.45) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(232,234,237,.45) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(145deg, rgba(255, 245, 246, .9) 0%, #f0f4f8 45%, #e8eef5 100%);
  overflow: hidden;
}
.nearby-map::after {
  content: "";
  position: absolute; right: 8%; top: 10%; bottom: 8%; width: 18%;
  border-radius: 40% 60% 55% 45%;
  background: linear-gradient(180deg, rgba(147, 197, 253, .35), rgba(96, 165, 250, .22));
  filter: blur(1px);
  opacity: .85;
  pointer-events: none;
}
.nmap-road {
  position: absolute; background: #fff; border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(209,213,219,.7);
}
.nmap-road-h { left: 8%; right: 12%; top: 48%; height: 10px; }
.nmap-road-v { top: 12%; bottom: 18%; left: 42%; width: 10px; }
.nmap-road-d {
  width: 70%; height: 8px; top: 68%; left: 18%;
  transform: rotate(-12deg); transform-origin: left center;
}
.nmap-block {
  position: absolute; border-radius: 8px; background: rgba(255,255,255,.85);
  border: 1px solid #e5e7eb;
}
.nmap-block.b1 { width: 54px; height: 36px; top: 18%; left: 18%; }
.nmap-block.b2 { width: 44px; height: 44px; top: 22%; right: 18%; }
.nmap-block.b3 { width: 60px; height: 28px; bottom: 22%; left: 28%; }
.nmap-you {
  position: absolute; left: 38%; top: 40%;
  display: grid; justify-items: center; gap: .2rem; z-index: 2;
}
.nmap-you em {
  width: 14px; height: 14px; border-radius: 50%; background: #3b82f6;
  box-shadow: 0 0 0 8px rgba(59,130,246,.18), 0 0 0 16px rgba(59,130,246,.08);
  display: block; animation: nmap-pulse 2s ease-out infinite;
}
.nmap-you small {
  font-size: .62rem; font-weight: 800; color: #2563eb;
  background: rgba(255,255,255,.92); padding: .12rem .35rem; border-radius: 999px;
}
@keyframes nmap-pulse {
  0% { box-shadow: 0 0 0 0 rgba(59,130,246,.35), 0 0 0 0 rgba(59,130,246,.12); }
  70% { box-shadow: 0 0 0 10px rgba(59,130,246,0), 0 0 0 18px rgba(59,130,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0), 0 0 0 0 rgba(59,130,246,0); }
}
.nmap-pin {
  position: absolute; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--brand);
  font-size: .72rem; font-weight: 800; color: var(--brand);
  box-shadow: 0 6px 14px rgba(227,30,36,.2);
}
.nmap-pin.main {
  left: 58%; top: 28%; width: 42px; height: 42px; font-size: 1.15rem;
  border: 0; background: transparent; box-shadow: none;
  filter: drop-shadow(0 8px 12px rgba(227,30,36,.35));
}
.nmap-pin.p1 { left: 22%; top: 58%; }
.nmap-pin.p2 { right: 16%; top: 52%; }
.nmap-pin.p3 { left: 48%; bottom: 14%; }

.nearby-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem 1rem;
  padding: 1rem 1.25rem 1.15rem;
  border-top: 1px solid var(--line);
  background: #fbfbfc;
}
.nearby-feature {
  display: flex; gap: .7rem; align-items: flex-start; min-width: 0;
}
.nf-ico {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: .95rem; font-weight: 800;
}
.nf-ico.tone-red { background: #ffe8ea; color: var(--brand); }
.nf-ico.tone-green { background: #e8f8ef; color: #0f6a3c; }
.nf-ico.tone-blue { background: #e8f1ff; color: #2563eb; }
.nf-ico.tone-orange { background: #fff4e5; color: #c2410c; }
.nearby-feature strong {
  display: block; font-size: .88rem; font-weight: 800; line-height: 1.25; margin-bottom: .15rem;
}
.nearby-feature small {
  display: block; color: var(--muted); font-size: .75rem; line-height: 1.35;
}

@media (max-width: 980px) {
  .nearby-hero-main { grid-template-columns: 1fr; }
  .nearby-hero-visual { min-height: 180px; }
  .nearby-map { inset: 0; }
  .nearby-locate-btn { top: .65rem; right: .65rem; }
  .nearby-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nearby-hero-stats { border-radius: 16px; }
  .nearby-features { grid-template-columns: 1fr; }
}

/* Categories explore */
.cat-explore {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
}
.cat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem .8rem; text-align: center; transition: .2s ease;
}
.cat-tile:hover { border-color: #f3c6c7; box-shadow: var(--shadow); }
.cat-tile span {
  width: 44px; height: 44px; margin: 0 auto .55rem; border-radius: 12px;
  background: var(--bg); display: grid; place-items: center; font-weight: 800; color: var(--brand);
}
.cat-tile strong { font-size: .9rem; }

/* Sidebar */
.sidebar { display: grid; gap: 1rem; }
.home-cat-nav {
  padding: .85rem .75rem .95rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.home-cat-nav-title {
  margin: 0 0 .75rem;
  font-size: .95rem;
  font-weight: 800;
}
.home-cat-list {
  display: grid;
  gap: .45rem;
  min-width: 0;
  width: 100%;
}
.home-cat-group {
  padding-bottom: .45rem;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  max-width: 100%;
}
.home-cat-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.home-cat-root-row {
  display: flex;
  align-items: flex-start;
  gap: .15rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.home-cat-toggle {
  flex: 0 0 20px;
  width: 20px;
  height: 22px;
  margin-top: .12rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-radius: 6px;
}
.home-cat-toggle:hover {
  background: var(--bg);
  color: var(--brand);
}
.home-cat-toggle-spacer {
  flex: 0 0 20px;
  width: 20px;
}
.home-cat-chevron {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .18s ease;
  margin-top: -1px;
}
.home-cat-group.is-open .home-cat-chevron {
  transform: rotate(45deg);
  margin-top: -2px;
}
.home-cat-root,
.home-cat-subs a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .4rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-decoration: none;
  line-height: 1.3;
}
.home-cat-root {
  flex: 1 1 auto;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 800;
  padding: .15rem 0;
}
.home-cat-root:hover { color: var(--brand); }
.home-cat-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.home-cat-count {
  flex: 0 0 auto;
  align-self: center;
  min-width: 1.25rem;
  max-width: 2.6rem;
  padding: .12rem .32rem;
  border-radius: 999px;
  background: #fff0f0;
  color: var(--brand);
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}
.home-cat-subs {
  list-style: none;
  margin: .25rem 0 0 .4rem;
  padding: .15rem 0 .15rem .55rem;
  display: grid;
  gap: .18rem;
  min-width: 0;
  max-width: 100%;
  border-left: 2px solid #f0d0d2;
  box-sizing: border-box;
}
.home-cat-subs[hidden] { display: none; }
.home-cat-subs a {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 600;
  padding: .18rem 0;
}
.home-cat-subs a:hover { color: var(--brand); }
.home-cat-subs .home-cat-count {
  background: var(--bg);
  color: var(--muted);
}
.home-cat-all {
  display: inline-block;
  margin-top: .9rem;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}
.home-cat-all:hover { text-decoration: underline; }
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1rem; box-shadow: var(--shadow);
}
.bn-card {
  border-radius: 18px; min-height: 180px; overflow: hidden;
  background: linear-gradient(145deg, #e31e24, #a31418);
  color: #fff; display: grid; place-items: center; font-weight: 800;
  box-shadow: var(--shadow);
}
.bn-card img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.bn-card-empty { font-size: .92rem; letter-spacing: .01em; opacity: .92; }
.bn-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.4rem;
}
.bn-row .bn-card { min-height: 90px; font-size: .92rem; }
.bn-banner {
  margin: 1.25rem 0 .35rem;
}
.bn-card-wide {
  width: 100%;
  min-height: 120px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bn-card-wide img {
  min-height: 120px;
  max-height: 180px;
  object-fit: cover;
}

.newsletter input {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: .75rem .85rem; margin: .7rem 0;
}
.social-row { display: flex; gap: .5rem; margin-top: .7rem; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: var(--muted);
}

/* Trust */
.trust-bar {
  margin-top: 1.6rem; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 1.1rem; display: grid;
  grid-template-columns: repeat(5, 1fr); gap: .8rem; box-shadow: var(--shadow);
}
.trust-item { text-align: center; }
.trust-item strong { display: block; font-size: .9rem; }
.trust-item span { color: var(--muted); font-size: .78rem; }

/* Footer */
.site-footer {
  margin-top: 2.5rem; background: var(--footer); color: rgba(255,255,255,.82);
  padding: 2.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.footer-grid h4 { color: #fff; margin: 0 0 .8rem; font-size: .95rem; }
.footer-grid a { display: block; color: rgba(255,255,255,.7); margin-bottom: .4rem; font-size: .9rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  margin-top: 1.8rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255,255,255,.55);
}

.whatsapp-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.4);
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-fab svg {
  width: 30px; height: 30px; display: block;
}
.whatsapp-fab:hover {
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(37,211,102,.5);
}

/* Alerts / forms shared */
.alert { padding: .85rem 1rem; border-radius: 14px; margin: 1rem 0; font-weight: 600; }
.alert-success { background: #e8f8ef; color: #0f6a3c; }
.alert-error { background: #ffe8ea; color: #9f1239; }
.alert-info { background: var(--brand-soft); color: #9f1239; }
.page-wrap { padding: 1.5rem 0 3rem; }
.auth-wrap { width: min(520px, calc(100% - 2rem)); margin: 2rem auto; }
.form-card, .content-card, .panel-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
}
.announce-card { margin-bottom: 1rem; }
.announce-card h2 {
  margin: 0 0 .65rem;
  font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em;
}
.announce-card-img {
  display: block; width: 100%; max-height: 280px; object-fit: cover;
  border-radius: 14px; margin: 0 0 1rem;
}
.announce-card-body { color: var(--muted); line-height: 1.6; }

/* Auth / Login page */
.auth-page {
  padding: 1.25rem 0 1.5rem;
}
.auth-hero {
  display: grid;
  grid-template-columns: 1.15fr minmax(320px, 540px);
  gap: 2rem;
  align-items: center;
}
.auth-promo {
  position: relative;
  isolation: isolate;
  border-radius: 24px;
  padding: 1.5rem 1.45rem 1.35rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 90% at 12% 35%, rgba(255, 210, 216, .75) 0%, rgba(255, 232, 234, .4) 40%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 88% 70%, rgba(186, 214, 255, .28) 0%, transparent 65%),
    linear-gradient(125deg, #fff5f6 0%, #ffffff 45%, #f3f7fb 100%);
  border: 1px solid rgba(227, 30, 36, .08);
}
.auth-promo::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(59, 130, 246, .07), transparent 30%),
    radial-gradient(circle at 20% 85%, rgba(227, 30, 36, .06), transparent 32%);
}
.auth-promo > * { position: relative; z-index: 1; }
.auth-promo h1 {
  margin: 0 0 .55rem;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 800;
}
.auth-promo h1 span { color: var(--brand); }
.auth-promo-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 28rem;
}
.auth-benefits {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.auth-benefits li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.auth-benefit-ico {
  width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 900; font-size: 1rem;
}
.auth-benefits strong { display: block; font-size: .98rem; margin-bottom: .15rem; }
.auth-benefits span { color: var(--muted); font-size: .88rem; line-height: 1.4; }

.auth-visual {
  position: relative;
  min-height: 280px;
  margin-top: .5rem;
}
.auth-phone {
  width: 180px;
  margin: 0 auto;
  background: #1b1f24;
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 24px 48px rgba(17, 24, 39, 0.22);
  position: relative;
  z-index: 2;
  transform: rotate(-4deg);
}
.auth-phone-notch {
  width: 72px; height: 8px; border-radius: 999px;
  background: #111; margin: 4px auto 8px;
}
.auth-phone-screen {
  background: linear-gradient(180deg, #fff, #f7f8fa);
  border-radius: 20px;
  min-height: 280px;
  padding: .75rem;
}
.auth-phone-brand {
  font-weight: 800; font-size: .78rem; color: var(--brand); margin-bottom: .65rem;
}
.auth-phone-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: .7rem; margin-bottom: .5rem; box-shadow: var(--shadow);
  position: relative;
}
.auth-phone-card.soft { background: var(--brand-soft); border-color: #f5c2c4; }
.auth-phone-card strong { display: block; font-size: .82rem; margin-top: .35rem; }
.auth-phone-card em { font-style: normal; color: var(--brand); font-weight: 800; font-size: .9rem; }
.auth-float {
  position: absolute;
  border-radius: 18px;
  box-shadow: var(--shadow-hover);
  animation: auth-float 4.5s ease-in-out infinite;
}
.auth-float-bag {
  left: 8%; bottom: 18%;
  width: 72px; height: 72px;
  background: linear-gradient(145deg, #e31e24, #a31418);
  color: #fff; display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 900;
  border-radius: 20px 20px 16px 16px;
}
.auth-float-watch {
  right: 12%; top: 12%;
  width: 54px; height: 64px;
  background: linear-gradient(180deg, #2a2f36, #111);
  border-radius: 16px;
  animation-delay: .4s;
}
.auth-float-head {
  right: 6%; bottom: 28%;
  width: 58px; height: 58px;
  background: radial-gradient(circle at 30% 30%, #fff, #e5e7eb);
  border-radius: 50%;
  animation-delay: .8s;
}
.auth-float-pad {
  left: 14%; top: 10%;
  width: 70px; height: 46px;
  background: linear-gradient(145deg, #f3f4f6, #d1d5db);
  border-radius: 14px;
  animation-delay: 1.1s;
}
.auth-float-pct {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: .85rem;
}
.auth-float-pct-a { right: 28%; top: 0; animation-delay: .2s; }
.auth-float-pct-b { left: 28%; bottom: 6%; animation-delay: 1.4s; }
@keyframes auth-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.auth-card {
  width: 100%;
  max-width: 540px;
  justify-self: end;
  padding: 1.75rem 1.65rem 1.5rem;
  border-radius: 20px;
}
.auth-card h2 {
  margin: 0 0 .35rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.auth-card-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: .95rem;
}
.auth-field { gap: .4rem; }
.auth-field > span { font-weight: 700; font-size: .9rem; }
.auth-input {
  display: flex; align-items: center; gap: .45rem;
  height: 52px;
  border: 1px solid var(--line); border-radius: 14px;
  background: #fff !important; padding: 0 .75rem 0 .9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-input:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(227,30,36,.1);
  background: #fff !important;
}
.auth-input input,
.auth-page select,
.auth-page textarea,
.register-form input,
.register-form select,
.register-form textarea {
  border: 0; background: #fff !important; padding: 0 .25rem; outline: 0; height: 100%;
  color: var(--ink);
  box-shadow: none !important;
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
}
.auth-page .auth-input input,
.register-form .auth-input input {
  background: transparent !important;
  -webkit-text-fill-color: var(--ink);
}
.auth-page select,
.register-form select {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .75rem .9rem;
  height: auto;
  background: #fff !important;
}
.auth-input input::placeholder { color: #b0b6bf; -webkit-text-fill-color: #b0b6bf; }
.auth-input input:-webkit-autofill,
.auth-input input:-webkit-autofill:hover,
.auth-input input:-webkit-autofill:focus,
.auth-page select:-webkit-autofill,
.register-form input:-webkit-autofill,
.register-form select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  transition: background-color 99999s ease-out;
  caret-color: var(--ink);
}
.auth-input-ico { color: #a8afb8; font-size: .95rem; flex-shrink: 0; }
.auth-eye {
  border: 0; background: transparent; cursor: pointer;
  color: #a8afb8; padding: .35rem; font-size: .95rem;
}
.auth-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: .75rem; flex-wrap: wrap;
}
.auth-remember { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; font-size: .9rem; }
.auth-remember input { width: auto; accent-color: var(--brand); }
.auth-forgot { color: var(--brand); font-weight: 750; font-size: .9rem; }
.auth-forgot:hover { text-decoration: underline; }
.auth-submit {
  width: 100%; border-radius: 14px; padding: .9rem 1.2rem; font-size: 1rem;
  box-shadow: 0 10px 22px rgba(227,30,36,.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(227,30,36,.3);
}
.auth-footer-link {
  margin: 1.1rem 0 0; text-align: center; color: var(--muted); font-size: .92rem;
}
.auth-footer-link a { color: var(--brand); font-weight: 800; }

.auth-trust {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.auth-trust-item {
  display: flex; align-items: center; gap: .7rem;
}
.auth-trust-ico {
  width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 900;
}
.auth-trust-item strong { display: block; font-size: .92rem; }
.auth-trust-item span { color: var(--muted); font-size: .78rem; }

body:has(.auth-page) .site-footer { margin-top: 1.5rem; }
body:has(.register-page) main {
  background:
    radial-gradient(ellipse 80% 55% at 18% 12%, rgba(227, 30, 36, 0.05), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 8%, rgba(227, 30, 36, 0.03), transparent 50%),
    #f7f8fa;
}

@media (max-width: 980px) {
  .auth-hero {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .auth-card { justify-self: stretch; max-width: none; }
  .auth-visual { min-height: 240px; }
  .auth-trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .auth-trust { grid-template-columns: 1fr; }
  .auth-phone { width: 150px; }
}

/* Register page */
.register-hero {
  grid-template-columns: 1.05fr minmax(340px, 560px);
  align-items: start;
}
.register-card {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 20px;
}
.register-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  margin-bottom: 10px;
}
.register-tab {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: .55rem .35rem .7rem;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .12rem;
  position: relative;
  transition: color .2s ease;
  min-height: 0;
  box-shadow: none;
}
.register-tab strong {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.2;
}
.register-tab small {
  display: block;
  font-size: .72rem;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.2;
}
.register-tab.is-active small {
  color: var(--brand);
}
.register-tab::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  transition: background .2s ease;
}
.register-tab.is-active {
  background: transparent;
  color: var(--brand);
  box-shadow: none;
}
.register-tab.is-active::after {
  background: var(--brand);
  height: 3px;
}
.register-tab:not(.is-active):hover {
  background: transparent;
  color: var(--ink);
}
.register-panels {
  position: relative;
  min-height: 120px;
}
.register-panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}
.register-panel.is-active {
  display: block;
  animation: register-panel-in .2s ease forwards;
}
@keyframes register-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.register-card h2 {
  margin: 0 0 .3rem;
  font-size: 1.25rem;
  font-weight: 800;
}
.register-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .9rem;
}
.register-form { gap: .8rem; }
.register-form .auth-field .hint { margin-top: .3rem; }
.register-form .field-label-row {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.info-tip {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .7rem;
  font-weight: 800;
  cursor: help;
  padding: 0;
  display: inline-grid;
  place-items: center;
}
.field-error {
  min-height: 0;
  color: #9f1239;
  font-size: .78rem;
  font-weight: 650;
  margin-top: .25rem;
}
.field-error:empty { display: none; }
.auth-field.is-invalid .auth-input {
  border-color: #f5a3ad;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.08);
}
.register-checks {
  display: grid;
  gap: .55rem;
  padding: .1rem 0 .15rem;
}
.register-checks .checkbox {
  align-items: flex-start;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.register-checks input {
  width: auto;
  margin-top: .15rem;
  accent-color: var(--brand);
}
.register-check-field { display: grid; gap: .15rem; }
.register-check-field.is-invalid .checkbox {
  color: #9f1239;
}
.register-checks a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 800;
}
.terms-modal {
  max-width: min(720px, calc(100% - 2rem));
  max-height: min(86vh, 780px);
}
.terms-modal .msg-modal-inner {
  max-height: min(86vh, 780px);
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.terms-modal-body {
  overflow: auto;
  padding-right: .2rem;
  color: var(--ink);
  font-size: .92rem;
  line-height: 1.6;
  font-weight: 500;
}
.terms-modal-body p { margin: 0 0 .8rem; }
.terms-modal-body h1,
.terms-modal-body h2,
.terms-modal-body h3 {
  margin: 0 0 .6rem;
  font-size: 1.05rem;
}
.terms-modal-body ul,
.terms-modal-body ol { margin: 0 0 .8rem; padding-left: 1.2rem; }
.register-page .auth-trust { margin-top: 1.35rem; }

@media (max-width: 980px) {
  .register-hero {
    grid-template-columns: 1fr;
  }
  .register-card {
    justify-self: stretch;
    max-width: none;
  }
}
@media (max-width: 640px) {
  .register-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .register-form .form-grid.two,
  .register-form [data-location-group] {
    grid-template-columns: 1fr;
  }
}

.form-grid { display: grid; gap: .9rem; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
[data-location-group] { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr 1fr; }
.ff-location[data-location-group] {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.ff-location-selects { margin: 0; }
.ff-location-map-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, .9fr);
  gap: 1rem;
  align-items: start;
}
.ff-location-side { display: grid; gap: .85rem; min-width: 0; }
label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: .75rem .9rem; background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.hint { font-weight: 500; color: var(--muted); font-size: .82rem; }
.checkbox { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500; }
.checkbox input {
  width: auto;
  flex: 0 0 auto;
  margin-top: .2rem;
  accent-color: var(--brand);
}
.bn-slot {
  margin: 1rem 0; border-radius: var(--radius); overflow: hidden;
  background: #edf0f3; min-height: 90px;
}
.bn-slot.is-lg { min-height: 180px; }
.bn-slot img { width: 100%; height: 100%; object-fit: cover; }
.bn-empty { display: grid; place-items: center; min-height: inherit; color: var(--muted); }

/* Category page */
.category-page { padding: .75rem 0 1.25rem; }
.category-page .section { margin-top: .85rem; }
.breadcrumb {
  display: flex; align-items: center; gap: .45rem;
  font-size: .85rem; color: var(--muted); margin: 0 0 .65rem;
}
.breadcrumb a:hover { color: var(--brand); }

.category-hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem;
  align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: .9rem 1.15rem; box-shadow: var(--shadow);
  overflow: hidden; height: 200px; min-height: 180px; max-height: 220px;
}
.category-hero-copy h1 {
  margin: 0 0 .35rem; font-size: clamp(1.55rem, 2.6vw, 2rem);
  letter-spacing: -.03em; font-weight: 800; line-height: 1.1;
}
.category-hero-count {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: 0 0 .4rem; color: var(--brand); font-weight: 800; font-size: .9rem;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 0 rgba(227,30,36,.45);
  animation: pulse-dot 1.6s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(227,30,36,.45); }
  70% { box-shadow: 0 0 0 8px rgba(227,30,36,0); }
  100% { box-shadow: 0 0 0 0 rgba(227,30,36,0); }
}
.category-hero-desc {
  margin: 0; color: var(--muted); max-width: 28rem; font-size: .88rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.category-hero-visual {
  border-radius: 14px; overflow: hidden; height: 100%;
  min-height: 0; align-self: stretch;
  background: linear-gradient(145deg, #f3f4f6, #e8eaed);
}
.category-hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.category-hero:hover .category-hero-visual img { transform: scale(1.04); }

.category-stories {
  margin-top: .75rem !important;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1rem 1.15rem .85rem; box-shadow: var(--shadow);
}
.category-stories .section-head { margin-bottom: .35rem; }
.category-stories .section-head h2 { font-size: 1.05rem; }
.category-stories .story-rail { padding: .85rem .1rem .35rem; }

.category-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 250px;
  gap: 1.25rem;
  align-items: start;
  margin-top: .9rem !important;
}
.filter-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: .85rem .85rem .95rem; box-shadow: var(--shadow);
  position: sticky; top: 5.5rem;
}
.filter-toggle {
  display: none !important;
}
.filter-panel-body { margin-top: 0; }
.filter-panel-body[hidden] { display: block !important; }
.filter-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; margin-bottom: .65rem;
}
.filter-panel-head h2 {
  margin: 0; font-size: .92rem; font-weight: 800;
}
.filter-clear {
  font-size: .72rem; font-weight: 700; color: var(--brand);
}
.filter-clear:hover { text-decoration: underline; }
.filter-block { margin-bottom: .75rem; }
.filter-block h3 {
  margin: 0 0 .4rem; font-size: .68rem; font-weight: 750;
  text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
}
.filter-checks { display: grid; gap: .22rem; }
.filter-check {
  display: grid; grid-template-columns: auto 1fr auto; gap: .4rem;
  align-items: center; font-weight: 550; font-size: .78rem; cursor: pointer;
  line-height: 1.3;
}
.filter-check input {
  margin: 0; accent-color: var(--brand);
  width: 13px; height: 13px;
}
.filter-check em {
  color: var(--muted); font-style: normal; font-size: .68rem; font-weight: 650;
}
.filter-panel select,
.filter-panel .price-range input {
  width: 100%;
  padding: .4rem .55rem;
  font-size: .78rem;
  font-weight: 550;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fafbfc;
  color: var(--ink);
  min-height: 0;
  line-height: 1.3;
}
.filter-panel select:focus,
.filter-panel .price-range input:focus {
  outline: none;
  border-color: #f0b4b6;
  background: #fff;
}
.price-range {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: .3rem; align-items: center;
}
.price-range span {
  color: var(--muted); text-align: center; font-size: .72rem;
}
.filter-submit {
  width: 100%; border-radius: 10px; margin-top: .15rem;
  padding: .55rem .85rem; font-size: .82rem;
}

.category-main { min-width: 0; }
.list-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin-bottom: .85rem; flex-wrap: wrap;
}
.list-count {
  margin: 0; color: var(--muted); font-size: .95rem; font-weight: 600;
}
.list-count strong { color: var(--ink); font-weight: 800; }
.list-toolbar-actions { display: flex; align-items: center; gap: .65rem; }
.sort-control {
  display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .86rem; color: var(--muted);
}
.sort-control select {
  width: auto; min-width: 140px; padding: .5rem .75rem; border-radius: 999px; font-weight: 700; color: var(--ink);
}
.view-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff;
}
.view-btn {
  width: 38px; height: 34px; display: grid; place-items: center;
  color: var(--muted); font-size: .95rem;
}
.view-btn.is-active { background: var(--brand-soft); color: var(--brand); }

.listing-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
}
.listing-grid-3 > .listing-card {
  height: 400px;
  display: flex;
  flex-direction: column;
}
.listing-grid-3 > .listing-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.listing-grid-3 .listing-media {
  aspect-ratio: auto;
  height: 210px;
  flex: 0 0 210px;
}
.listing-grid-3 .listing-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: .85rem .95rem 1rem;
}
.listing-grid-3 .listing-body h3 {
  font-size: .95rem;
  margin: 0 0 .4rem;
}
.listing-grid-3 .card-company {
  margin-bottom: .25rem;
  font-size: .8rem;
}
.listing-grid-3 .card-prices { margin-top: auto; margin-bottom: .5rem; }
.listing-grid-3 .price-new { font-size: 1.08rem; }
.listing-grid-3.is-list {
  grid-template-columns: 1fr;
}
.listing-grid-3.is-list > .listing-card {
  height: auto;
  min-height: 160px;
}
.listing-grid-3.is-list > .listing-card > a {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: stretch;
}
.listing-grid-3.is-list .listing-media {
  height: 100%;
  min-height: 160px;
  flex: none;
}
.listing-grid-3.is-list .listing-body {
  justify-content: center;
}
.listing-grid-3 .empty-state { grid-column: 1 / -1; padding: 1rem 0; }

.category-aside {
  display: grid;
  gap: 1rem;
  align-content: start;
  position: sticky;
  top: 5.5rem;
}
.bn-tower {
  width: 100%; min-height: 280px; border-radius: 18px;
  background: linear-gradient(160deg, #e31e24 0%, #9f1217 100%);
  color: #fff; display: grid; place-content: center; gap: .85rem; text-align: center;
  padding: 1.25rem 1rem; box-shadow: var(--shadow);
}
.bn-tower strong {
  font-size: 1.05rem; line-height: 1.25; letter-spacing: -.02em; max-width: 11rem; margin: 0 auto;
}
.bn-tower .btn-ghost { background: #fff; border-color: #fff; color: var(--brand); }
.bn-tower.has-image { padding: 0; display: block; overflow: hidden; min-height: 0; }
.bn-tower.has-image img { width: 100%; height: 280px; object-fit: cover; }

.cat-side-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1rem; box-shadow: var(--shadow);
}
.cat-side-head h3 {
  margin: 0 0 .75rem; font-size: .92rem; font-weight: 800;
}
.cat-side-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem;
}
.cat-side-list a {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  padding: .45rem .15rem; font-size: .86rem; font-weight: 650;
  border-bottom: 1px solid var(--line);
}
.cat-side-list li:last-child a { border-bottom: 0; }
.cat-side-list em {
  font-style: normal; color: var(--muted); font-size: .75rem; font-weight: 700;
  white-space: nowrap;
}
.cat-side-list a:hover span { color: var(--brand); }
.cat-side-more {
  display: inline-block; margin-top: .65rem; font-size: .82rem;
  font-weight: 750; color: var(--brand);
}
.cat-side-recent {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem;
}
.cat-side-recent a {
  display: grid; grid-template-columns: 56px 1fr; gap: .65rem; align-items: center;
}
.cat-side-thumb {
  width: 56px; height: 56px; border-radius: 12px; overflow: hidden;
  background: #edf0f3; display: block;
}
.cat-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-side-meta { display: grid; gap: .15rem; min-width: 0; }
.cat-side-meta strong {
  font-size: .82rem; line-height: 1.25; font-weight: 750;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-side-meta em {
  font-style: normal; color: var(--brand); font-weight: 800; font-size: .84rem;
}
.cat-side-recent a:hover strong { color: var(--brand); }

.pagination {
  display: flex; justify-content: center; align-items: center; gap: .4rem;
  margin: 1.15rem 0 0;
}
.page-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  color: var(--muted); background: #fff; border: 1px solid var(--line);
  transition: .2s ease;
}
.page-btn:hover { border-color: #f3c6c7; color: var(--brand); }
.page-btn.is-active {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 8px 18px rgba(227,30,36,.28);
}

.category-bottom-banner {
  margin-top: 1.15rem; border-radius: 18px; overflow: hidden;
  background: linear-gradient(100deg, #fff1f1, #f7f8fa 55%, #ffe8ea);
  border: 1px solid #f3c6c7; box-shadow: var(--shadow);
}
.category-bottom-banner img { width: 100%; max-height: 140px; object-fit: cover; }
.category-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.35rem; flex-wrap: wrap;
}
.category-bottom-inner strong { display: block; font-size: 1.05rem; font-weight: 800; }
.category-bottom-inner p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }

.filter-panel .filter-location {
  display: block;
  grid-template-columns: none;
}

.category-page + /* noop */ .site-footer,
body:has(.category-page) .site-footer {
  margin-top: 1.5rem;
}

/* Panels / admin */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side-nav { background: #14212b; color: #fff; padding: 1.25rem 1rem; }
.side-nav a {
  display: block; padding: .55rem .75rem; border-radius: 10px;
  color: rgba(255,255,255,.78); margin-bottom: .2rem; font-size: .92rem;
}
.side-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.side-nav .brand { font-size: 1.2rem; margin-bottom: 1.2rem; display: block; color: #fff; }
.main-pane { padding: 1.25rem; background: var(--bg); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 1.2rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem; transition: .2s ease; }
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.stat strong { display: block; font-size: 1.5rem; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
th, td { padding: .75rem .85rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .92rem; }
th { background: #f3f4f6; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }

/* Firma Paneli */
.fp-body { background: var(--bg); }
.fp-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}
.fp-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 70;
  background: rgba(17, 24, 39, .45);
}
.fp-sidebar {
  position: sticky; top: 0; align-self: start;
  height: 100vh; overflow: auto;
  background: #14212b; color: #fff;
  padding: 1.15rem .9rem 1.25rem;
  display: flex; flex-direction: column; gap: .85rem;
  z-index: 80;
}
.fp-logo {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.05rem; color: #fff;
  padding: .35rem .45rem .55rem;
}
.fp-nav { display: grid; gap: .15rem; flex: 1; align-content: start; }
.fp-nav-link {
  display: flex; align-items: center; gap: .65rem;
  padding: .58rem .72rem; border-radius: 12px;
  color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 600;
  transition: .2s ease;
}
.fp-nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.fp-nav-link.is-active {
  background: var(--brand); color: #fff;
  box-shadow: 0 8px 18px rgba(227, 30, 36, .28);
}
.fp-nav-ico {
  width: 1.15rem; text-align: center; opacity: .9; font-size: .95rem;
}
.fp-nav-badge {
  margin-left: auto;
  min-width: 1.25rem; height: 1.25rem; padding: 0 .35rem;
  border-radius: 999px; background: var(--brand); color: #fff;
  font-size: .7rem; font-weight: 800;
  display: inline-grid; place-items: center;
}
.fp-sidebar-promo {
  margin-top: auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 1rem .9rem;
}
.fp-promo-crown {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #f6d365, #fda085);
  color: #7c2d12; font-size: 1.1rem; margin-bottom: .55rem;
}
.fp-sidebar-promo p {
  margin: 0 0 .75rem; font-size: .82rem; line-height: 1.45;
  color: rgba(255,255,255,.78);
}
.fp-sidebar-promo .btn-outline {
  border-color: rgba(255,255,255,.35); color: #fff; background: transparent;
}
.fp-sidebar-promo .btn-outline:hover {
  background: rgba(227, 30, 36, .18); border-color: var(--brand);
}

.fp-main { display: flex; flex-direction: column; min-width: 0; overflow-x: hidden; }
.fp-topbar {
  position: sticky; top: 0; z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(180px, 420px) auto;
  gap: 1rem; align-items: center;
  padding: .85rem 1.25rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.fp-topbar-left { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.fp-menu-btn {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  cursor: pointer; font-size: 1.05rem; transition: .2s ease;
}
.fp-menu-btn:hover { border-color: #f3c6c7; color: var(--brand); }
.fp-topbar-title {
  margin: 0; font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fp-top-search {
  display: flex; align-items: center; gap: .45rem;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 0 .85rem;
  height: 38px; min-height: 38px; max-height: 38px;
  transition: .2s ease;
}
.fp-top-search > span {
  flex: 0 0 auto; font-size: 1.15rem; line-height: 1;
  color: var(--muted); display: grid; place-items: center;
}
.fp-top-search:focus-within { border-color: #f3c6c7; box-shadow: 0 0 0 3px rgba(227,30,36,.08); }
.fp-top-search input {
  border: 0; background: transparent; outline: 0; width: 100%;
  padding: 0; height: 100%; color: var(--ink); font-size: .88rem; line-height: 1.2;
}
.fp-topbar-right { display: flex; align-items: center; gap: .55rem; justify-content: flex-end; }
.fp-icon-btn {
  position: relative;
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line);
  transition: .2s ease;
}
.fp-icon-btn:hover { border-color: #f3c6c7; transform: translateY(-1px); }
.fp-dot {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 .3rem;
  border-radius: 999px; background: var(--brand); color: #fff;
  font-size: .65rem; font-weight: 800;
  display: inline-grid; place-items: center;
}
.fp-user { position: relative; }
.fp-user-btn {
  display: flex; align-items: center; gap: .55rem;
  border: 1px solid var(--line); background: #fff;
  border-radius: 14px; padding: .28rem .55rem .28rem .3rem;
  cursor: pointer; transition: .2s ease;
}
.fp-user-btn:hover { border-color: #f3c6c7; }
.fp-avatar {
  width: 36px; height: 36px; border-radius: 12px;
  background: #ffe4d6; color: #9a3412;
  display: grid; place-items: center; font-weight: 800;
}
.fp-user-meta { display: grid; text-align: left; line-height: 1.15; }
.fp-user-meta strong { font-size: .86rem; }
.fp-user-meta small { color: var(--muted); font-size: .72rem; }
.fp-caret { color: var(--muted); font-size: .75rem; }
.fp-dropdown {
  position: absolute; right: 0; top: calc(100% + .4rem);
  min-width: 180px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-hover); padding: .4rem;
  z-index: 50;
}
.fp-dropdown a,
.fp-dropdown button {
  display: block; width: 100%; text-align: left;
  padding: .55rem .7rem; border: 0; background: transparent;
  border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .9rem;
  transition: .2s ease;
}
.fp-dropdown a:hover,
.fp-dropdown button:hover { background: var(--brand-soft); color: var(--brand); }

.fp-content { padding: 1.15rem 1.25rem 1.5rem; flex: 1; min-width: 0; overflow-x: hidden; }
.fp-center-notice {
  border: 0;
  border-radius: 22px;
  padding: 0;
  width: min(420px, calc(100% - 2rem));
  box-shadow: 0 24px 60px rgba(17, 24, 39, .28);
}
.fp-center-notice::backdrop { background: rgba(17, 24, 39, .55); }
.fp-center-notice-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: .85rem;
  padding: 2rem 1.6rem 1.5rem;
}
.fp-center-notice-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #0f6a3c;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
}
.fp-center-notice-inner strong {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink);
}
.fp-center-notice-inner .btn { min-width: 140px; }
.fp-footer {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .85rem 1.25rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .82rem; background: #fff;
}
.fp-footer a:hover { color: var(--brand); }

.fp-dash {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.1rem;
  align-items: start;
}
.fp-dash-main { min-width: 0; display: grid; gap: 1rem; }
.fp-welcome h2 {
  margin: 0 0 .25rem; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em;
}
.fp-welcome p { margin: 0; color: var(--muted); font-size: .95rem; }

.fp-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .75rem;
}
.fp-stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: .9rem .85rem;
  box-shadow: var(--shadow); transition: .2s ease;
}
.fp-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.fp-stat-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .55rem; }
.fp-stat-ico {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center; font-size: .95rem;
}
.fp-stat-ico.brand { background: var(--brand-soft); color: var(--brand); }
.fp-stat-ico.green { background: #ecfdf5; color: #059669; }
.fp-stat-ico.blue { background: #eff6ff; color: #2563eb; }
.fp-stat-ico.amber { background: #fffbeb; color: #d97706; }
.fp-stat-ico.violet { background: #f5f3ff; color: #7c3aed; }
.fp-spark { width: 54px; height: 24px; opacity: .85; }
.fp-stat-label {
  display: block; color: var(--muted); font-size: .78rem; font-weight: 650; margin-bottom: .2rem;
}
.fp-stat strong { display: block; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.15; }
.fp-stat-foot {
  display: flex; justify-content: space-between; gap: .4rem; flex-wrap: wrap;
  margin-top: .45rem; font-size: .72rem; color: var(--muted);
}
.fp-up { color: #059669; font-weight: 750; }
.fp-muted { color: var(--muted); }
.fp-progress {
  margin-top: .55rem; height: 5px; border-radius: 999px; background: #f1f3f5; overflow: hidden;
}
.fp-progress span { display: block; height: 100%; background: var(--brand); border-radius: inherit; }

.fp-warn {
  display: flex; align-items: flex-start; gap: .65rem;
  margin: 0; border-radius: var(--radius-sm);
}
.fp-warn-ico {
  width: 28px; height: 28px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: #fff; color: var(--brand); font-weight: 800;
}

.fp-listings { padding: 0; overflow: hidden; }
.fp-listings-toolbar {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: space-between; align-items: center;
  padding: .85rem .9rem; border-bottom: 1px solid var(--line);
}
.fp-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.fp-tab {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: .45rem .85rem;
  font-weight: 700; font-size: .82rem; cursor: pointer;
  transition: .2s ease;
  display: inline-flex; align-items: center; gap: .25rem;
  text-decoration: none;
}
.fp-tab em {
  font-style: normal; margin-left: .25rem;
  color: var(--muted); font-weight: 750;
}
.fp-tab:hover { border-color: #f3c6c7; }
.fp-tab.is-active {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.fp-tab.is-active em { color: rgba(255,255,255,.85); }

/* Admin reklam alanları */
.ad-tabs-card { padding: 0; overflow: hidden; }
.ad-tabs {
  display: flex; flex-wrap: wrap; gap: .35rem;
  padding: .85rem .95rem;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.ad-tab {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
}
.ad-tab em {
  font-style: normal;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}
.ad-tab:hover { border-color: #f3c6c7; }
.ad-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.ad-tab.is-active em { color: rgba(255,255,255,.88); }
.ad-tab-panel { display: none; padding: 1.1rem 1rem 1.25rem; }
.ad-tab-panel.is-active { display: block; }
.ad-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.ad-slot-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
  display: grid;
  gap: .75rem;
}
.ad-slot-head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
}
.ad-slot-head h3 {
  margin: 0 0 .2rem;
  font-size: .98rem;
  font-weight: 800;
}
.ad-slot-head p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.35;
}
.ad-slot-preview {
  border: 1px dashed #e2e2e2;
  border-radius: 14px;
  background: #f7f7f7;
  min-height: 140px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
}
.ad-slot-preview.has-image { border-style: solid; background: #111; }
.ad-slot-preview img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.ad-slot-form {
  display: grid;
  gap: .55rem;
}
.ad-slot-form label {
  display: grid;
  gap: .28rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
}
.ad-slot-form input[type="text"],
.ad-slot-form input[type="url"],
.ad-slot-form input:not([type]),
.ad-slot-form input[type="file"] {
  width: 100%;
}
.ad-slot-actions { display: flex; gap: .5rem; }
.ad-slot-clear { width: 100%; }
@media (max-width: 900px) {
  .ad-slot-grid { grid-template-columns: 1fr; }
}
.fp-tools { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.fp-tool-search {
  display: flex; align-items: center; gap: .45rem;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 0 .75rem;
  min-width: 200px; height: 36px; min-height: 36px; max-height: 36px;
  box-sizing: border-box;
}
.fp-tool-search > span {
  flex: 0 0 auto; font-size: 1.1rem; line-height: 1;
  color: var(--muted); display: grid; place-items: center;
}
.fp-tool-search input {
  border: 0; background: transparent; outline: 0; width: 100%;
  padding: 0; height: 100%; font-size: .86rem; line-height: 1.2; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.fp-tool-search input::-webkit-search-decoration,
.fp-tool-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.fp-tool-select {
  border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 0 .75rem;
  font-size: .82rem; font-weight: 650;
  height: 36px; min-height: 36px; box-sizing: border-box;
}

.fp-table-wrap { border-radius: 0; }
.fp-table { border-radius: 0; }
.fp-table th {
  background: #f8f9fb; white-space: nowrap;
  font-size: .72rem; letter-spacing: .03em;
}
.fp-table td { white-space: nowrap; vertical-align: middle; }
.fp-table tbody tr { transition: .2s ease; }
.fp-table tbody tr:hover { background: #fff7f7; }
.fp-table tbody tr.is-hidden { display: none; }
.fp-row-title { font-weight: 750; }
.fp-row-title:hover { color: var(--brand); }
.fp-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .8rem; background: var(--bg); padding: .2rem .4rem; border-radius: 8px;
}
.fp-badge {
  display: inline-flex; align-items: center;
  padding: .22rem .55rem; border-radius: 999px;
  font-size: .72rem; font-weight: 800;
}
.fp-badge.ok { background: #ecfdf5; color: #047857; }
.fp-badge.wait { background: #fff7ed; color: #c2410c; }
.fp-badge.off { background: #f3f4f6; color: #4b5563; }
.fp-badge.draft { background: #eff6ff; color: #1d4ed8; }
.fp-badge.discount { background: #ecfdf5; color: #047857; }
.fp-badge.campaign { background: #eff6ff; color: #1d4ed8; }
.fp-badge.gold { background: #fff7e0; color: #9a6b00; }
.fp-badge.diamond { background: #e0f2fe; color: #0369a1; }
.fp-badge.silver { background: #f3f4f6; color: #4b5563; }
.fp-actions { display: inline-flex; align-items: center; gap: .2rem; }
.fp-actions a,
.fp-actions span,
.fp-more {
  width: 30px; height: 30px; border-radius: 9px;
  display: inline-grid; place-items: center;
  border: 0; background: transparent; cursor: pointer;
  transition: .2s ease; font-size: .9rem; color: var(--muted);
}
.fp-actions a:hover,
.fp-more:hover { background: var(--brand-soft); color: var(--brand); }
.fp-empty-row td {
  text-align: center; color: var(--muted); padding: 1.5rem; white-space: normal;
}
.fp-table-foot {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap;
  padding: .75rem .95rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted);
}
.fp-pagination { display: flex; gap: .3rem; }
.fp-page {
  min-width: 34px; height: 34px; padding: 0 .5rem;
  border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-weight: 700;
  transition: .2s ease;
}
.fp-page:hover { border-color: #f3c6c7; }
.fp-page.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.fp-page:disabled { opacity: .45; cursor: not-allowed; }

.fp-aside { display: grid; gap: .9rem; }
.fp-side-card {
  padding: 1.1rem; transition: .2s ease;
}
.fp-side-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.fp-side-card h3 { margin: 0 0 .85rem; font-size: 1rem; font-weight: 800; }
.fp-ring-wrap {
  position: relative; width: 132px; height: 132px; margin: 0 auto .75rem;
}
.fp-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.fp-ring-track { fill: none; stroke: #f1f3f5; stroke-width: 10; }
.fp-ring-value {
  fill: none; stroke: var(--brand); stroke-width: 10;
  stroke-linecap: round; transition: stroke-dashoffset .4s ease;
}
.fp-ring-label {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.fp-ring-label strong { font-size: 1.2rem; letter-spacing: -.02em; }
.fp-ring-label span { font-size: .72rem; color: var(--muted); }
.fp-package-name {
  margin: 0; text-align: center; color: var(--brand); font-weight: 800; font-size: 1.05rem;
}
.fp-package-meta {
  margin: .25rem 0 .9rem; text-align: center; color: var(--muted); font-size: .85rem;
}
.fp-side-card .btn { width: 100%; }
.fp-quick { display: grid; gap: .35rem; }
.fp-quick a {
  display: flex; align-items: center; gap: .65rem;
  padding: .65rem .7rem; border-radius: 12px;
  font-weight: 700; font-size: .9rem; color: var(--ink);
  transition: .2s ease;
}
.fp-quick a span { width: 1.2rem; text-align: center; color: var(--muted); }
.fp-quick a:hover { background: var(--brand-soft); color: var(--brand); }
.fp-support { text-align: center; background: linear-gradient(180deg, #fff, var(--brand-soft)); }
.fp-support-ico {
  width: 48px; height: 48px; margin: 0 auto .55rem; border-radius: 16px;
  display: grid; place-items: center; background: #fff; box-shadow: var(--shadow);
  font-size: 1.3rem;
}
.fp-support p { margin: 0 0 .85rem; color: var(--muted); font-size: .88rem; }

.fp-page-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.fp-page-head h2 { margin: 0; font-size: 1.25rem; font-weight: 800; }

.fp-doping-cta { white-space: nowrap; }
.fp-stats-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.fp-stats-kpi { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fp-stat-compact {
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem .85rem;
}
.fp-stat-compact .fp-stat-ico { margin: 0; flex: 0 0 auto; }
.fp-stat-compact .fp-stat-label { margin: 0 0 .1rem; }
.fp-stat-compact strong { font-size: 1.15rem; }
.fp-stat-ico.gray { background: #f3f4f6; color: #4b5563; }
.fp-warn-text { color: #c2410c; font-weight: 750; }
.fp-badge.expired { background: #fef2f2; color: #b91c1c; }
.fp-reject-reason {
  margin: .28rem 0 0;
  color: #b91c1c;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: pre-wrap;
}
.ff-reject-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 14px;
  padding: .9rem 1rem;
  margin: 0 0 1rem;
}
.ff-reject-banner h3 {
  margin: 0 0 .3rem;
  font-size: .95rem;
  font-weight: 800;
}
.ff-reject-banner p { margin: 0; white-space: pre-wrap; font-size: .88rem; line-height: 1.45; }

.fp-listings-page {
  display: grid;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}
.fp-listings-page .fp-listings {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.fp-aside-below {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  align-items: stretch;
}
.fp-aside-below .fp-side-card { margin: 0; height: 100%; }

.fp-filter-bar {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  padding: .65rem .9rem; border-bottom: 1px solid var(--line);
}
.fp-filter-search { min-width: 160px; flex: 1 1 160px; max-width: 280px; }
.fp-filter-panel,
.fp-filter-advanced {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  padding: .65rem .9rem; border-bottom: 1px solid var(--line);
  background: #fafbfc;
}
.fp-filter-panel[hidden],
.fp-filter-advanced[hidden] { display: none !important; }
.fp-filter-bar .btn.is-active,
.fp-tools .btn.is-active {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.fp-date-input { min-width: 132px; max-width: 100%; }
.fp-bulk-wrap { margin-left: auto; position: relative; }
.fp-bulk-menu { min-width: 180px; }
.fp-tabs-toolbar { border-bottom: 1px solid var(--line); }
.fp-tabs-toolbar .fp-tab {
  border: 0; border-radius: 0; background: transparent;
  border-bottom: 2px solid transparent; padding: .55rem .75rem;
  font-size: .82rem;
}
.fp-tabs-toolbar .fp-tab.is-active {
  background: transparent; color: var(--brand);
  border-bottom-color: var(--brand);
}
.fp-tabs-toolbar .fp-tab.is-active em { color: var(--brand); }

.fp-listings-page .fp-table-wrap {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(68vh, 760px);
  width: 100%;
  border-radius: 0;
}
.fp-listings-page .fp-table {
  table-layout: fixed;
  width: 100%;
  border-radius: 0;
}
.fp-listings-page .fp-table th,
.fp-listings-page .fp-table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  padding: .45rem .55rem;
  font-size: .84rem;
}
.fp-listings-page .fp-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #f8f9fb;
  box-shadow: 0 1px 0 var(--line);
}
.fp-listings-page .fp-table tbody tr {
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.fp-listings-page .fp-table tbody tr:hover {
  background: #fff7f7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(17, 24, 39, .07);
  position: relative;
  z-index: 1;
}
.fp-listings-page .col-check { width: 36px; }
.fp-listings-page .col-listing { width: 28%; }
.fp-listings-page .col-cat { width: 10%; }
.fp-listings-page .col-type { width: 8%; }
.fp-listings-page .col-status { width: 9%; }
.fp-listings-page .col-metric { width: 8%; }
.fp-listings-page .col-fav { width: 6%; }
.fp-listings-page .col-date { width: 8%; }
.fp-listings-page .col-actions { width: 9%; }

.fp-listing-cell {
  display: flex; align-items: center; gap: .65rem; min-width: 0;
}
.fp-listing-thumb {
  width: 80px; height: 80px; border-radius: 14px; overflow: hidden; flex: 0 0 80px;
  background: var(--bg); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.fp-listings-page .fp-listing-thumb {
  width: 80px; height: 80px; flex-basis: 80px; border-radius: 14px;
}
.fp-listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp-listing-thumb.is-empty { color: var(--brand); font-weight: 800; }
.fp-listing-meta { min-width: 0; flex: 1; }
.fp-listing-meta .fp-row-title {
  display: block; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: .9rem;
}
.fp-listing-tags {
  display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .3rem; align-items: center;
}
.fp-code-badge {
  display: inline-flex; align-items: center;
  padding: .12rem .45rem; border-radius: 999px;
  background: #14212b; color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .03em;
}
.fp-listing-code {
  color: var(--muted); font-size: .75rem; margin-top: .15rem;
}
.fp-mini-badges { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .35rem; }
.fp-mini {
  display: inline-flex; padding: .12rem .4rem; border-radius: 999px;
  font-size: .65rem; font-weight: 800;
}
.fp-mini.highlight { background: #eff6ff; color: #1d4ed8; }
.fp-mini.campaign { background: #ecfdf5; color: #047857; }
.fp-mini.doping { background: #fff7ed; color: #c2410c; }
.fp-mini.new { background: var(--brand-soft); color: var(--brand); }
.fp-cell-ellipsis {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.fp-metric { display: grid; gap: .05rem; line-height: 1.15; }
.fp-metric strong { font-size: .9rem; }
.fp-metric span { font-size: .7rem; font-weight: 750; }
.fp-metric .fp-up { color: #059669; }
.fp-fav-cell {
  display: inline-flex; align-items: center; gap: .3rem;
  font-weight: 750; color: var(--ink); font-size: .84rem;
}
.fp-fav-cell span { color: var(--brand); }
.fp-end-cell { display: grid; gap: .08rem; }
.fp-end-cell strong { font-size: .82rem; font-weight: 750; }
.fp-remain { font-size: .68rem; font-weight: 750; }
.fp-remain-ok { color: #059669; }
.fp-remain-warn { color: #d97706; }
.fp-remain-danger { color: #dc2626; }
.fp-remain-muted { color: var(--muted); }

.fp-listings-page .fp-actions a,
.fp-listings-page .fp-actions span,
.fp-listings-page .fp-more {
  width: 28px; height: 28px; font-size: .84rem;
}

.fp-page-size select {
  border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: .4rem .75rem; font-size: .82rem; font-weight: 650;
}
.fp-table-foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem;
  padding: .75rem .95rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted);
}
.fp-table-foot [data-fp-count] { justify-self: start; }
.fp-table-foot .fp-page-size { justify-self: center; }
.fp-table-foot .fp-pagination { justify-self: end; }
.fp-pagination { display: flex; gap: .3rem; flex-wrap: wrap; }
.fp-page {
  min-width: 34px; height: 34px; padding: 0 .5rem;
  border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-weight: 700;
  transition: .2s ease;
}
.fp-page:hover { border-color: #f3c6c7; }
.fp-page.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.fp-page:disabled { opacity: .45; cursor: not-allowed; }

.fp-quick a { justify-content: flex-start; }
.fp-quick a em {
  margin-left: auto; font-style: normal; color: var(--muted); font-weight: 700;
}
.fp-quick a:hover em { color: var(--brand); }

.fp-actions a[title],
.fp-actions button[title],
.fp-actions span[title] { position: relative; }
/* Native title tooltip kullanılır; çift balon oluşturan ::after kaldırıldı */

.ap-icon-actions [data-tooltip] {
  position: relative;
}
.ap-icon-actions [data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #14212b;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .28rem .5rem;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s ease, visibility .12s ease;
}
.ap-icon-actions [data-tooltip]:hover::after,
.ap-icon-actions [data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1400px) {
  .fp-stats-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fp-listings-page .col-listing { width: 26%; }
}
@media (max-width: 1280px) {
  .fp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp-stats-7 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp-stats-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp-listings-page .col-cat,
  .fp-listings-page .col-fav { width: 0; display: none; }
  .fp-listings-page td[data-label="Kategori"],
  .fp-listings-page td[data-label="Favori"] { display: none; }
}
@media (max-width: 1100px) {
  .fp-dash { grid-template-columns: 1fr; }
  .fp-aside { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp-aside-below { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp-topbar { grid-template-columns: auto 1fr auto; }
  .fp-listings-page .col-date { width: 0; display: none; }
  .fp-listings-page td[data-label="Başlangıç"] { display: none; }
}
@media (max-width: 960px) {
  .fp-shell { grid-template-columns: 1fr; }
  .fp-sidebar {
    position: fixed; left: 0; top: 0; transform: translateX(-105%);
    width: min(280px, 88vw); transition: transform .22s ease;
    box-shadow: var(--shadow-hover);
  }
  .fp-shell.is-sidebar-open .fp-sidebar { transform: translateX(0); }
  .fp-shell.is-sidebar-open .fp-backdrop { display: block; }
  .fp-aside { grid-template-columns: 1fr 1fr; }
  .fp-aside-below { grid-template-columns: 1fr 1fr; }
  .fp-user-meta { display: none; }
  .fp-doping-cta { display: none; }
  .fp-stats-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .fp-stats,
  .fp-stats-7,
  .fp-stats-kpi { grid-template-columns: 1fr 1fr; }
  .fp-topbar {
    grid-template-columns: 1fr auto;
    padding: .75rem .9rem;
  }
  .fp-top-search { display: none; }
  .fp-topbar-title { font-size: 1rem; }
  .fp-content { padding: .9rem; }
  .fp-aside,
  .fp-aside-below { grid-template-columns: 1fr; }
  .fp-listings-toolbar { flex-direction: column; align-items: stretch; }
  .fp-tools { width: 100%; }
  .fp-tool-search { min-width: 0; flex: 1; max-width: none; }
  .fp-filter-bar { flex-direction: column; align-items: stretch; }
  .fp-filter-bar .fp-tool-search,
  .fp-filter-bar .btn,
  .fp-tools .fp-tool-search { width: 100%; max-width: none; }
  .fp-bulk-wrap { margin-left: 0; width: 100%; }
  .fp-table-foot { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .fp-listings-page .fp-table-wrap { max-height: none; overflow: visible; }

  .fp-table-rich thead { display: none; }
  .fp-table-rich,
  .fp-table-rich tbody,
  .fp-table-rich tr,
  .fp-table-rich td { display: block; width: 100%; }
  .fp-table-rich tbody tr {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin: .65rem;
    padding: .65rem;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .fp-table-rich tbody tr.is-hidden { display: none; }
  .fp-table-rich tbody tr:hover { transform: translateY(-2px); }
  .fp-table-rich td {
    border: 0; padding: .3rem 0;
    white-space: normal;
    overflow: visible;
    display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start;
  }
  .fp-table-rich td::before {
    content: attr(data-label);
    color: var(--muted); font-size: .75rem; font-weight: 750;
    flex: 0 0 88px;
  }
  .fp-table-rich td[data-label="İlan"] {
    flex-direction: column; align-items: stretch;
  }
  .fp-table-rich td[data-label="İlan"]::before { margin-bottom: .35rem; }
  .fp-table-rich td[data-label="Seç"] { justify-content: flex-start; }
  .fp-listings-page td[data-label="Kategori"],
  .fp-listings-page td[data-label="Favori"],
  .fp-listings-page td[data-label="Başlangıç"] { display: flex; }
  .fp-listing-meta .fp-row-title { max-width: none; }
  .fp-actions { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .fp-stats,
  .fp-stats-7,
  .fp-stats-kpi { grid-template-columns: 1fr; }
}

/* Shared Form System (ff-) */
.ff-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}
.ff-shell.has-aside {
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  width: min(1200px, 100%);
}
.ff-main { min-width: 0; display: grid; gap: 24px; }
.ff-page-head h2 {
  margin: 0 0 8px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em;
}
.ff-page-head p { margin: 0; color: var(--muted); }
.ff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ff-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.ff-card-head { margin-bottom: 1.15rem; }
.ff-card-head h3 {
  margin: 0 0 8px; font-size: 1.1rem; font-weight: 800;
}
.ff-card-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.ff-card-body { display: grid; gap: 20px; }
.ff-grid { display: grid; gap: 20px; }
.ff-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ff-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ff-field { display: grid; gap: .4rem; min-width: 0; }
.ff-field > span { font-weight: 700; font-size: .9rem; }
.ff-control {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ff-control::placeholder { color: #9ca3af; }
.ff-control:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, .08);
}
textarea.ff-control.ff-textarea {
  height: auto;
  min-height: 180px;
  padding: 16px;
  resize: vertical;
  line-height: 1.5;
}
.ff-counter {
  text-align: right; color: var(--muted); font-size: .78rem; font-weight: 650;
}
.ff-field.is-invalid .ff-control {
  border-color: var(--brand);
}
.ff-field-error {
  color: #9f1239; font-size: .8rem; font-weight: 650;
}
.ff-info { margin: 0; }
.ff-discount-wrap { display: flex; }
.ff-discount-badge {
  display: inline-flex; align-items: center;
  padding: .45rem .85rem; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-weight: 800; font-size: .92rem;
}
.ff-upload { display: grid; gap: .85rem; }
.ff-dropzone {
  border: 1.5px dashed #f3c6c7;
  background: var(--brand-soft);
  border-radius: 16px;
  padding: 1.6rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: .15s ease;
}
.ff-dropzone:hover,
.ff-dropzone.is-drag {
  border-color: var(--brand);
  background: #ffe8ea;
}
.ff-dropzone strong { display: block; margin-bottom: .25rem; }
.ff-dropzone span { color: var(--muted); font-size: .88rem; }
.ff-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: .65rem;
}
.ff-thumb {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 1;
  cursor: grab;
}
.ff-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ff-thumb.is-dragging { opacity: .55; }
.ff-cover {
  position: absolute; left: .35rem; right: .35rem; bottom: .35rem;
  background: rgba(20, 33, 43, .78); color: #fff;
  border-radius: 999px; font-size: .68rem; font-weight: 750;
  display: flex; align-items: center; justify-content: center; gap: .25rem;
  padding: .25rem;
}
.ff-cover input { accent-color: var(--brand); }
.ff-check-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: #fafbfc;
}
.ff-check-card h4 { margin: 0 0 .75rem; font-size: .95rem; }
.ff-check-grid { display: grid; gap: .45rem; }
.ff-check {
  display: flex; gap: .55rem; align-items: flex-start;
  font-weight: 650; font-size: .9rem;
}
.ff-check input { margin-top: .2rem; accent-color: var(--brand); width: auto; }
.ff-switch-row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fafbfc;
}
.ff-switch-row p { margin: .2rem 0 0; }
.ff-switch {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; font-weight: 750;
}
.ff-switch input { position: absolute; opacity: 0; pointer-events: none; }
.ff-switch-ui {
  width: 46px; height: 26px; border-radius: 999px; background: #d1d5db; position: relative;
  transition: .15s ease;
}
.ff-switch-ui::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: .15s ease; box-shadow: var(--shadow);
}
.ff-switch input:checked + .ff-switch-ui { background: var(--brand); }
.ff-switch input:checked + .ff-switch-ui::after { transform: translateX(20px); }
.ff-map { display: grid; gap: .55rem; min-width: 0; }
.ff-map-toolbar {
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
}
.ff-map-hint-inline { color: var(--muted); font-size: .8rem; font-weight: 650; }
.ff-map-canvas {
  height: 280px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: #e8ecef; z-index: 0;
}
.ff-map-canvas .leaflet-container { height: 100%; width: 100%; font: inherit; }
.ff-map-frame {
  position: relative; height: 220px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.55)),
    repeating-linear-gradient(90deg, #e8ecef 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, #e8ecef 0 1px, transparent 1px 28px),
    #f3f5f7;
  cursor: crosshair;
}
.ff-map-hint {
  position: absolute; left: .75rem; top: .75rem; margin: 0;
  background: rgba(255,255,255,.92); border-radius: 10px;
  padding: .4rem .6rem; font-size: .78rem; font-weight: 650; color: var(--muted);
}
.ff-map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -90%);
  font-size: 1.6rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,.2));
  transition: left .15s ease, top .15s ease;
  pointer-events: none;
}
@media (max-width: 900px) {
  .ff-location-map-row { grid-template-columns: 1fr; }
}
.ff-footer-actions {
  display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  padding-bottom: .5rem;
}
.ff-footer-left,
.ff-footer-right { display: flex; gap: .5rem; flex-wrap: wrap; }
.ff-aside {
  position: sticky; top: 84px; display: grid; gap: .85rem;
}
.ff-aside-card { padding: 1.1rem; }
.ff-aside-card h3 { margin: 0 0 .75rem; font-size: .98rem; font-weight: 800; }
.ff-aside-actions { display: grid; gap: .45rem; }
.ff-aside-actions .btn { width: 100%; }
.ff-danger-link { color: #9f1239 !important; }
.ff-status-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem;
}
.ff-status-list li {
  padding: .55rem .7rem; border-radius: 12px; background: var(--bg);
  font-weight: 700; font-size: .88rem; color: var(--muted);
}
.ff-status-list li.is-active {
  background: var(--brand-soft); color: var(--brand);
}
.ff-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.ff-package-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem;
  background: #fafbfc; display: grid; gap: .45rem;
}
.ff-package-card h3 { margin: 0; }
.ff-package-card .btn { width: 100%; margin-top: .5rem; }
.ff-search-wrap { position: relative; }
.ff-search-wrap .ff-control { padding-right: 2.2rem; }
.ff-search-wrap::after {
  content: "⌕"; position: absolute; right: .85rem; top: 50%;
  transform: translateY(-50%); color: var(--muted); pointer-events: none;
}
.ff-dynamic-empty { margin: 0; }
.ff-cat-panel[hidden] { display: none !important; }

.ff-preview-modal {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(820px, calc(100% - 1.5rem));
  max-height: calc(100vh - 2rem);
  box-shadow: var(--shadow-hover);
}
.ff-preview-modal::backdrop { background: rgba(17, 24, 39, .5); }
.ff-preview-inner {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1.2rem;
  max-height: calc(100vh - 2rem);
  overflow: auto;
}
.ff-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}
.ff-preview-head h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.ff-preview-head .meta { margin: .2rem 0 0; }
.ff-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.ff-preview-media {
  position: relative;
  min-height: 220px;
  background: #edf0f3;
}
.ff-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 220px;
}
.ff-preview-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}
.ff-preview-media .card-badge { z-index: 2; }
.ff-preview-body { padding: 1rem 1rem 1.1rem 0; min-width: 0; }
.ff-preview-body h3 {
  margin: .15rem 0 .35rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
}
.ff-preview-code { margin: .75rem 0; animation: none; }
.ff-preview-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  margin: .85rem 0;
}
.ff-preview-facts > div {
  background: var(--bg);
  border-radius: 12px;
  padding: .55rem .7rem;
}
.ff-preview-facts span {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 650;
}
.ff-preview-facts strong { font-size: .9rem; }
.ff-preview-desc h4 {
  margin: 0 0 .35rem;
  font-size: .92rem;
  font-weight: 800;
}
.ff-preview-desc p {
  margin: 0;
  white-space: pre-wrap;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.5;
}
.ff-preview-foot { display: flex; justify-content: flex-end; }
@media (max-width: 760px) {
  .ff-preview-card { grid-template-columns: 1fr; }
  .ff-preview-body { padding: 0 1rem 1.1rem; }
  .ff-preview-facts { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .ff-shell.has-aside { grid-template-columns: 1fr; }
  .ff-aside { position: static; grid-template-columns: 1fr 1fr; }
  .ff-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ff-package-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ff-card { padding: 1.15rem; }
  .ff-grid-2,
  .ff-grid-3 { grid-template-columns: 1fr; }
  .ff-aside { grid-template-columns: 1fr; }
  .ff-package-grid { grid-template-columns: 1fr; }
  .ff-footer-actions { flex-direction: column; }
  .ff-footer-left,
  .ff-footer-right { width: 100%; }
  .ff-footer-right { justify-content: flex-start; }
  .ff-switch-row { flex-direction: column; align-items: flex-start; }
}

/* Package & Doping pages */
.pd-page {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.1rem;
  min-width: 0;
  overflow-x: hidden;
}
.ip-sms-form {
  display: grid;
  gap: .75rem;
}
.ip-sms-form .btn { justify-self: start; }
.pd-banner {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  border-radius: 18px; padding: 1.1rem 1.25rem;
  border: 1px solid #bbf7d0; background: #ecfdf5;
}
.pd-banner.is-soft {
  border-color: #f5c2c4; background: var(--brand-soft);
}
.pd-banner strong { display: block; margin-bottom: .2rem; font-size: 1.02rem; }
.pd-banner p { margin: 0; color: var(--muted); font-size: .9rem; }
.pd-banner-ring {
  position: relative; width: 72px; height: 72px; flex: 0 0 auto;
}
.pd-banner-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pd-banner-ring span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: .72rem; font-weight: 800;
}
.pd-confirm { display: grid; gap: .85rem; border: 1.5px solid var(--brand); }
.pd-confirm h3 { margin: 0; }
.pd-confirm > p { margin: 0; color: var(--muted); }
.pd-confirm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pd-confirm-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem .7rem; border-radius: 12px; background: var(--bg);
}
.pd-confirm-form { display: grid; gap: .75rem; }
.pd-confirm-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.pd-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.pd-package-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.25rem; box-shadow: var(--shadow);
  display: grid; gap: .75rem; align-content: start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pd-package-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.pd-package-card.is-active { border-color: var(--brand); box-shadow: 0 0 0 1px rgba(227,30,36,.15), var(--shadow); }
.pd-package-card.is-featured { border-color: #111; }
.pd-rate-table { font-size: .82rem; }
.pd-rate-table th, .pd-rate-table td { white-space: nowrap; }
.pd-ad-buy { display: flex; gap: .35rem; align-items: center; }
.pd-ad-buy .ff-control { min-width: 9rem; }
.pd-service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .85rem;
}
.list-page-ad {
  display: block;
  width: 100%;
  margin: 0 0 1.15rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #edf0f3;
  min-height: 110px;
}
.list-page-ad img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .list-page-ad img { height: 168px; }
}
.pricing-page .pricing-block { margin-bottom: 1.2rem; }
.pricing-page .pricing-block h2 { margin: 0 0 .4rem; font-size: 1.15rem; }
.doping-price-list {
  display: flex; flex-wrap: wrap; gap: .65rem 1rem;
}
.doping-price-list span { display: grid; }
.doping-price-list strong { font-size: 1.05rem; }
.doping-price-list em { font-style: normal; font-size: .75rem; color: var(--muted); font-weight: 700; }
.pd-badge {
  position: absolute; top: .85rem; right: .85rem;
  background: var(--brand); color: #fff; border-radius: 999px;
  padding: .2rem .55rem; font-size: .7rem; font-weight: 800;
}
.pd-package-card h3 { margin: 0; font-size: 1.2rem; }
.pd-package-desc { margin: 0; color: var(--muted); font-size: .9rem; min-height: 2.6em; }
.pd-package-ring {
  position: relative; width: 120px; height: 120px; margin: .2rem auto;
}
.pd-package-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pd-package-ring div {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.pd-package-ring strong { font-size: 1.1rem; }
.pd-package-ring span { font-size: .72rem; color: var(--muted); }
.pd-package-price {
  text-align: center; font-size: 1.45rem; font-weight: 800; color: var(--brand);
}
.pd-package-price small { color: var(--muted); font-size: .85rem; font-weight: 650; }
.pd-feature-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem;
  color: var(--ink); font-size: .9rem; font-weight: 650;
}
.pd-package-card .btn { width: 100%; }
.pd-package-card .btn:disabled { opacity: .7; cursor: default; transform: none; }
.pd-compare h3,
.pd-history h3 { margin: 0 0 .85rem; font-size: 1.05rem; }
.pd-empty {
  padding: 1.25rem; text-align: center; color: var(--muted);
  background: var(--bg); border-radius: 14px; font-weight: 650;
}

/* —— Mesajlar & Bildirimler (firma paneli) —— */
.mn-page { min-width: 0; overflow-x: hidden; }
.mn-chat {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 0;
  padding: 0 !important;
  overflow: hidden;
  min-height: min(72vh, 720px);
  max-width: 100%;
}
.mn-inbox {
  display: flex; flex-direction: column; min-width: 0;
  border-right: 1px solid var(--line); background: #fff;
}
.mn-inbox-tools {
  display: grid; grid-template-columns: 1fr auto; gap: .5rem;
  padding: .85rem; border-bottom: 1px solid var(--line);
}
.mn-search {
  display: flex; align-items: center; gap: .45rem;
  padding: 0 .75rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--bg); min-width: 0;
  height: 36px; min-height: 36px; max-height: 36px; box-sizing: border-box;
}
.mn-search > span {
  color: var(--muted); flex: 0 0 auto;
  font-size: 1.1rem; line-height: 1; display: grid; place-items: center;
}
.mn-search input {
  border: 0; background: transparent; width: 100%; min-width: 0;
  font: inherit; outline: none; color: var(--ink);
  padding: 0; height: 100%; font-size: .86rem; line-height: 1.2;
}
.mn-filter-select {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: .55rem .65rem; font: inherit; font-weight: 650; color: var(--ink);
  max-width: 140px;
}
.mn-thread-list {
  flex: 1; overflow-y: auto; overflow-x: hidden; max-height: min(62vh, 620px);
}
.mn-thread {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: .7rem; align-items: start;
  padding: .85rem .9rem; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--line); transition: background .15s ease;
}
.mn-thread:hover { background: #fafbfc; }
.mn-thread.is-active { background: var(--brand-soft); }
.mn-thread.is-unread strong { font-weight: 800; }
.mn-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: #eef1f4; color: var(--ink); font-weight: 800; font-size: .95rem;
  flex: 0 0 auto;
}
.mn-avatar.lg { width: 44px; height: 44px; }
.mn-thread-body { min-width: 0; display: grid; gap: .15rem; }
.mn-thread-top {
  display: flex; justify-content: space-between; gap: .5rem; align-items: baseline;
}
.mn-thread-top strong {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem;
}
.mn-thread-top time { color: var(--muted); font-size: .75rem; flex: 0 0 auto; white-space: nowrap; }
.mn-thread-listing {
  display: block; color: var(--muted); font-size: .78rem; font-weight: 650;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mn-thread-snippet {
  color: var(--muted); font-size: .82rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mn-unread-badge {
  align-self: center; min-width: 22px; height: 22px; padding: 0 .4rem;
  border-radius: 999px; background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}
.mn-pane {
  display: flex; flex-direction: column; min-width: 0; background: #fff; min-height: 0;
}
.mn-pane-head {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  padding: .85rem 1rem; border-bottom: 1px solid var(--line);
}
.mn-back { display: none; }
.mn-pane-user { display: flex; align-items: center; gap: .7rem; min-width: 0; flex: 1; }
.mn-pane-user strong { display: block; font-size: .98rem; }
.mn-pane-actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.mn-menu { position: relative; }
.mn-menu-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.mn-menu-drop {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 5;
  min-width: 160px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: .35rem;
}
.mn-menu-drop button {
  width: 100%; border: 0; background: transparent; text-align: left;
  padding: .55rem .7rem; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 650;
}
.mn-menu-drop button:hover { background: var(--brand-soft); }
.mn-bubbles {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column; gap: .65rem;
  padding: 1rem; background: #f7f8fa; min-height: 240px; max-height: min(48vh, 460px);
}
.mn-bubble {
  max-width: min(78%, 520px); padding: .75rem .9rem; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.mn-bubble p { margin: 0; font-size: .92rem; line-height: 1.45; word-break: break-word; }
.mn-bubble footer {
  display: flex; justify-content: flex-end; gap: .35rem; align-items: center;
  margin-top: .35rem; color: var(--muted); font-size: .72rem;
}
.mn-bubble.is-user { align-self: flex-start; }
.mn-bubble.is-company {
  align-self: flex-end;
  background: var(--brand-soft); border-color: rgba(227,30,36,.16);
}
.mn-read { color: var(--brand); letter-spacing: -.08em; font-weight: 700; }
.mn-composer {
  border-top: 1px solid var(--line); padding: .85rem 1rem 1rem; background: #fff;
  position: sticky; bottom: 0;
}
.mn-composer-box {
  border: 1px solid var(--line); border-radius: 16px; background: var(--bg); padding: .55rem .65rem .5rem;
}
.mn-composer-box .ff-textarea {
  border: 0; background: transparent; box-shadow: none; resize: none; min-height: 52px;
  padding: .35rem .25rem;
}
.mn-composer-box .ff-textarea:focus { outline: none; box-shadow: none; }
.mn-composer-bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.mn-composer-tools { display: flex; gap: .25rem; align-items: center; }
.mn-tool {
  width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent;
  cursor: pointer; font-size: 1rem; color: var(--muted);
}
.mn-tool:hover:not(:disabled) { background: #fff; color: var(--ink); }
.mn-tool:disabled { opacity: .45; cursor: not-allowed; }
.mn-send {
  width: 42px; height: 42px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; font-size: 1rem;
}
.mn-composer-hint { margin: .45rem 0 0; color: var(--muted); font-size: .75rem; }
.mn-emoji { position: relative; }
.mn-emoji-panel {
  position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 6;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .25rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: .45rem; box-shadow: var(--shadow);
}
.mn-emoji-panel button {
  width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent;
  cursor: pointer; font-size: 1.1rem;
}
.mn-emoji-panel button:hover { background: var(--bg); }
.mn-empty {
  margin: auto; padding: 2rem 1.25rem; text-align: center; color: var(--muted);
  display: grid; gap: .35rem; justify-items: center;
}
.mn-empty-pane { min-height: 360px; }
.mn-empty-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--bg); color: var(--brand); font-size: 1.4rem; margin-bottom: .35rem;
}
.mn-empty strong { color: var(--ink); font-size: 1rem; }
.mn-empty p { margin: 0; font-size: .88rem; max-width: 280px; }

.mn-notif-card { padding: 0 !important; overflow: hidden; }
.mn-notif-tabs {
  display: flex; flex-wrap: wrap; gap: .15rem 1rem;
  padding: .15rem 1.1rem 0; border-bottom: 1px solid var(--line);
}
.mn-notif-tab {
  padding: .85rem .1rem; text-decoration: none; color: var(--muted);
  font-weight: 700; font-size: .9rem; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.mn-notif-tab em { font-style: normal; font-weight: 700; }
.mn-notif-tab:hover { color: var(--ink); }
.mn-notif-tab.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.mn-notif-toolbar {
  display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap;
  padding: .85rem 1.1rem; border-bottom: 1px solid var(--line);
}
.mn-notif-filters {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: .75rem; align-items: end; padding: .85rem 1.1rem; background: #fafbfc;
  border-bottom: 1px solid var(--line);
}
.mn-notif-filters[hidden] { display: none !important; }
.mn-notif-filter-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.mn-notif-list { padding: .35rem 0 0; }
.mn-notif-group {
  margin: 0; padding: .75rem 1.1rem .35rem;
  font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); font-weight: 800;
}
.mn-notif-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  gap: .75rem; align-items: center;
  padding: .85rem 1.1rem; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--line); transition: background .15s ease;
}
.mn-notif-item:hover { background: #fafbfc; }
.mn-notif-item.is-unread { background: #fff7f7; }
.mn-notif-item.is-unread strong { font-weight: 800; color: var(--ink); }
.mn-notif-item:not(.is-unread) strong { color: #4b5563; font-weight: 700; }
.mn-notif-body { min-width: 0; display: grid; gap: .15rem; }
.mn-notif-body span {
  color: var(--muted); font-size: .86rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mn-notif-item time { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.mn-notif-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: 0 0 auto;
}
.mn-notif-ico {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-size: .95rem; font-weight: 800;
}
.mn-notif-ico.tone-msg { background: #fee2e2; color: var(--brand); }
.mn-notif-ico.tone-ok { background: #dcfce7; color: #15803d; }
.mn-notif-ico.tone-wait { background: #ffedd5; color: #c2410c; }
.mn-notif-ico.tone-fav { background: #fce7f3; color: #be185d; }
.mn-notif-ico.tone-pay { background: #dbeafe; color: #1d4ed8; }
.mn-notif-ico.tone-sys { background: #eef2f7; color: #475569; }
.mn-notif-foot {
  padding: .85rem 1.1rem; border-top: 1px solid var(--line); margin: 0;
}

.detail-fav-form {
  position: absolute; top: .7rem; right: .7rem; z-index: 2; margin: 0;
}
.detail-fav-form .fav-btn { position: static; }
.detail-gallery-main > a.fav-btn { text-decoration: none; }
.fav-btn.is-active { color: var(--brand); }
.cta-fav-form { margin: 0; display: contents; }
.cta-link.is-fav { color: var(--brand); font-weight: 800; }

@media (max-width: 980px) {
  .mn-chat { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); }
  .mn-notif-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .mn-chat {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .mn-chat.is-thread .mn-inbox { display: none; }
  .mn-chat:not(.is-thread) .mn-pane { display: none; }
  .mn-back { display: inline-flex; }
  .mn-inbox { border-right: 0; }
  .mn-thread-list { max-height: none; }
  .mn-bubbles { max-height: 50vh; }
  .mn-notif-item {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    grid-template-areas:
      "ico body time"
      "ico body dot";
  }
  .mn-notif-ico { grid-area: ico; }
  .mn-notif-body { grid-area: body; }
  .mn-notif-item time { grid-area: time; align-self: start; }
  .mn-notif-dot { grid-area: dot; justify-self: end; }
  .mn-notif-body span { white-space: normal; }
  .mn-notif-filters { grid-template-columns: 1fr; }
  .mn-notif-tabs { gap: .1rem .75rem; }
}
.pd-support {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap;
  background: linear-gradient(180deg, #fff, var(--brand-soft));
}
.pd-support p { margin: .25rem 0 0; color: var(--muted); }
.pd-doping-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: start;
}
.pd-doping-main { display: grid; gap: 1rem; min-width: 0; }
.pd-step h3 { margin: 0 0 .85rem; font-size: 1.05rem; }
.pd-selected-listing {
  margin-top: .85rem; display: flex; gap: .75rem; align-items: center;
  padding: .75rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line);
}
.pd-selected-listing[hidden] { display: none !important; }
.pd-selected-thumb {
  width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex: 0 0 64px;
  background: #fff; border: 1px solid var(--line); display: grid; place-items: center;
}
.pd-selected-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-selected-meta { min-width: 0; }
.pd-selected-meta strong {
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pd-selected-meta span { color: var(--muted); font-size: .82rem; }
.pd-doping-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.pd-doping-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 1rem;
  background: #fafbfc; display: grid; gap: .55rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pd-doping-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pd-doping-card.is-selected {
  border-color: var(--brand); background: #fff; box-shadow: 0 0 0 1px rgba(227,30,36,.12);
}
.pd-doping-ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 1.1rem; font-weight: 800;
}
.pd-doping-card h4 { margin: 0; font-size: .98rem; }
.pd-doping-card p { margin: 0; color: var(--muted); font-size: .84rem; min-height: 2.6em; }
.pd-doping-price { font-weight: 800; color: var(--brand); font-size: 1.1rem; }
.pd-summary { position: sticky; top: 84px; display: grid; gap: .85rem; }
.pd-summary h3 { margin: 0; }
.pd-summary-rows { display: grid; gap: .45rem; }
.pd-summary-rows > div {
  display: flex; justify-content: space-between; gap: .75rem;
  font-size: .9rem;
}
.pd-summary-rows > div.is-total {
  padding-top: .55rem; border-top: 1px solid var(--line);
  font-size: 1.05rem;
}
.pd-summary .btn { width: 100%; }
.pd-summary .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.pd-benefits {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem;
}
.pd-benefits div {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: .85rem; box-shadow: var(--shadow);
}
.pd-benefits strong { display: block; margin-bottom: .2rem; font-size: .88rem; }
.pd-benefits span { color: var(--muted); font-size: .78rem; }
.pd-hist-listing { display: flex; gap: .55rem; align-items: center; min-width: 0; }
.pd-hist-thumb {
  width: 42px; height: 42px; border-radius: 10px; overflow: hidden; flex: 0 0 42px;
  background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center;
}
.pd-hist-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-hist-thumb.is-empty { color: var(--brand); font-weight: 800; }
.pd-hist-listing strong { display: block; font-size: .88rem; }

@media (max-width: 1100px) {
  .pd-doping-layout { grid-template-columns: 1fr; }
  .pd-summary { position: static; }
  .pd-doping-grid { grid-template-columns: 1fr 1fr; }
  .pd-benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pd-package-grid,
  .pd-doping-grid,
  .pd-benefits { grid-template-columns: 1fr; }
  .pd-banner { flex-direction: column; align-items: flex-start; }
}

.listing-detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; }
.gallery { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-main { aspect-ratio: 4/3; background: #edf0f3; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-panel { display: grid; gap: 1rem; align-content: start; }
.discount-hero {
  display: grid; place-items: center; min-height: 110px; border-radius: var(--radius);
  background: var(--brand-soft); border: 1px solid #f5c2c4;
}
.discount-hero strong { font-size: 2.6rem; color: var(--brand); }
.code-box {
  margin-top: .5rem; padding: 1rem; border-radius: 14px; background: #14212b;
  color: #fff; text-align: center; letter-spacing: .08em; font-weight: 800;
}
.badge-discount, .badge-campaign {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.badge-discount span, .badge-campaign span {
  font-weight: 800; font-size: clamp(1.2rem, 2.5vw, 1.8rem); color: var(--brand);
  background: rgba(255,255,255,.8); padding: .35rem .7rem; border-radius: 999px;
}

/* Listing detail page */
.detail-page { padding: .75rem 0 1.25rem; }
.detail-page .section { margin-top: 1rem; }
.detail-page .breadcrumb { margin-bottom: .75rem; }

.detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(0, 1.15fr) 270px;
  gap: 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
  align-items: start;
}
.detail-gallery { min-width: 0; }
.detail-gallery-main {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #edf0f3; aspect-ratio: 1 / 1; max-height: 460px;
}
.detail-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery-empty {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-weight: 700;
}
.detail-gallery-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.55), transparent 45%),
    linear-gradient(145deg, #fff1f1 0%, #f3f4f6 45%, #ffe8ea 100%);
}
.detail-gallery-placeholder.cat-elektronik {
  background:
    radial-gradient(circle at 80% 10%, rgba(227,30,36,.18), transparent 40%),
    linear-gradient(160deg, #1b1f24 0%, #3a3f46 55%, #e31e24 140%);
  color: #fff;
}
.detail-gallery-placeholder.cat-ev-yasam {
  background: linear-gradient(145deg, #fff7ed, #ffedd5 50%, #fecaca);
}
.detail-gallery-placeholder.cat-moda {
  background: linear-gradient(145deg, #fdf2f8, #fce7f3 50%, #ffe4e6);
}
.detail-gallery-placeholder.cat-otomotiv {
  background: linear-gradient(145deg, #eff6ff, #dbeafe 50%, #fee2e2);
}
.placeholder-content {
  text-align: center; display: grid; gap: .55rem; justify-items: center; padding: 1rem;
}
.placeholder-content .company-logo {
  background: rgba(255,255,255,.92); color: var(--brand);
  box-shadow: var(--shadow);
}
.detail-gallery-placeholder.cat-elektronik .placeholder-content .company-logo {
  background: #fff; color: var(--brand);
}
.placeholder-content strong { font-size: 1.15rem; font-weight: 800; }
.placeholder-content span { opacity: .8; font-size: .9rem; font-weight: 650; }
.detail-media-badge { z-index: 2; }
.detail-fav { z-index: 2; border: 0; cursor: pointer; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.2rem;
  cursor: pointer; z-index: 2; box-shadow: var(--shadow);
}
.gallery-prev { left: .7rem; }
.gallery-next { right: .7rem; }
.detail-thumbs {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .45rem; margin-top: .65rem;
}
.detail-thumb {
  border: 2px solid transparent; border-radius: 12px; overflow: hidden;
  padding: 0; background: #edf0f3; cursor: pointer; aspect-ratio: 1;
}
.detail-thumb.is-active, .detail-thumb:hover { border-color: var(--brand); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-info { min-width: 0; }
.detail-info h1 {
  margin: 0 0 .5rem; font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -.02em; line-height: 1.2; font-weight: 800;
}
.detail-seller-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem; margin-bottom: .55rem;
}
.detail-seller-name { font-weight: 800; }
.verified-badge {
  width: 18px; height: 18px; border-radius: 50%; background: #2f80ed; color: #fff;
  display: inline-grid; place-items: center; font-size: .65rem; font-weight: 900;
}
.verified-text { color: #2f80ed; font-size: .78rem; font-weight: 700; }
.detail-stars { display: inline-flex; align-items: center; gap: .12rem; color: #d1d5db; font-size: .9rem; }
.detail-stars .on { color: #f5a524; }
.detail-stars em { color: var(--ink); font-style: normal; font-weight: 800; margin-left: .25rem; }
.detail-stars small { color: var(--muted); }
.detail-stars.compact { font-size: .8rem; }
.detail-status-row { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-bottom: .75rem; }
.detail-views { font-weight: 650; }
.stock-pill {
  background: #e8f8ef; color: #0f6a3c; font-size: .75rem; font-weight: 800;
  padding: .28rem .55rem; border-radius: 999px;
}

.detail-code-hero {
  margin: .85rem 0;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8ea 48%, #fff 100%);
  border: 2px dashed #f0a0a4;
  color: var(--ink);
  text-align: left;
  letter-spacing: normal;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(227, 30, 36, .12);
  position: relative;
  overflow: hidden;
  animation: code-hero-pulse 2.8s ease-in-out infinite;
  scroll-margin-top: 6rem;
}
.detail-code-hero::before {
  content: "";
  position: absolute; inset: auto -20% -40% auto;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,30,36,.14), transparent 70%);
  pointer-events: none;
}
@keyframes code-hero-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(227, 30, 36, .1); }
  50% { box-shadow: 0 12px 32px rgba(227, 30, 36, .22); }
}
.detail-code-hero-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .75rem;
  margin-bottom: .55rem; position: relative; z-index: 1;
}
.detail-code-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.detail-code-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .45rem;
  margin-left: auto;
  min-width: 9.5rem;
}
.detail-code-hero-actions strong {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--brand);
  line-height: 1.1;
  word-break: break-all;
  text-align: center;
}
.detail-code-hero-actions .code-copy-btn {
  width: 100%;
}
.detail-code-hero-tag {
  display: inline-flex; align-items: center;
  background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  padding: .28rem .6rem; border-radius: 999px; text-transform: uppercase;
}
.detail-code-hero-pct {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  letter-spacing: .03em;
  padding: .45rem .95rem;
  background: linear-gradient(135deg, #e31e24 0%, #b9141a 100%);
  box-shadow: 0 6px 14px rgba(227, 30, 36, .28);
}
.detail-code-hero-tag-soft {
  background: #fff;
  color: var(--brand);
  border: 1px solid #f0a0a4;
  text-transform: none;
  letter-spacing: .01em;
  font-weight: 750;
}
.detail-code-hero-hint {
  color: var(--muted); font-size: .78rem; font-weight: 650;
}
.detail-code-hero-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; flex-wrap: wrap; position: relative; z-index: 1;
}
.detail-code-hero-row strong {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--brand);
  line-height: 1.1;
  word-break: break-all;
}
.detail-code-hero-row .detail-code-login-hint {
  letter-spacing: .02em;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}
.detail-code-hero-row .detail-code-login-hint a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.detail-code-login-hint a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}
.detail-code-login-hint a:hover {
  text-decoration: underline;
}
.detail-code-hero .code-copy-btn {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(227, 30, 36, .28);
}
.detail-code-hero .code-copy-btn:hover {
  background: var(--brand-dark) !important;
}

.detail-price-box {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: .95rem 1rem; margin-bottom: .85rem;
}
.detail-price-top {
  display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  font-size: .88rem; font-weight: 650; margin-bottom: .45rem;
}
.detail-price-top .savings { color: #0f6a3c; font-weight: 800; }
.detail-price-main { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.detail-price-main .price-new { font-size: 1.55rem; }
.detail-valid-note { margin: .55rem 0 0; color: var(--muted); font-size: .8rem; }

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  margin-bottom: .85rem;
}
.detail-fact {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: .55rem .7rem; min-width: 0;
}
.detail-fact-wide,
.detail-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
.detail-fact span {
  display: block; color: var(--muted); font-size: .68rem; font-weight: 700;
  letter-spacing: .02em; margin-bottom: .18rem;
}
.detail-fact strong {
  display: block; font-size: .9rem; font-weight: 750; line-height: 1.3;
  word-break: break-word;
}

.detail-countdown {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
  margin-bottom: .85rem;
}
.countdown-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  text-align: center; padding: .65rem .35rem; box-shadow: var(--shadow);
}
.countdown-item strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.countdown-item span { color: var(--muted); font-size: .72rem; font-weight: 700; }

.detail-share-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
}
.detail-share-fav { margin: 0; }
.detail-share-fav .is-fav { color: var(--brand); border-color: #f5c2c4; }
.detail-share-social {
  display: inline-flex; align-items: center; gap: .35rem; margin-left: auto;
}
.share-ico {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center;
  font-size: .82rem; font-weight: 800; color: var(--muted);
  cursor: pointer; padding: 0;
}
.share-ico:hover { color: var(--brand); border-color: #f5c2c4; background: var(--brand-soft); }

.detail-cta { align-self: stretch; }
.detail-cta-card {
  position: sticky; top: 5.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.1rem; box-shadow: var(--shadow);
}
.detail-user-tiers {
  display: flex; flex-wrap: wrap; gap: .35rem .7rem;
  margin: 0 0 .55rem;
}
.detail-gold-user {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: 0;
  color: #9a6b00;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.detail-gold-user.is-diamond { color: #0369a1; }
.detail-gold-user.is-silver { color: #4b5563; }
.detail-cta-card h2 { margin: 0 0 .25rem; font-size: 1.1rem; font-weight: 800; }
.detail-cta-card > p { margin: 0 0 .9rem; color: var(--muted); font-size: .85rem; }
.detail-cta-primary {
  width: 100%; margin-bottom: .75rem; border-radius: 14px;
  padding: .95rem 1.2rem; font-size: 1.02rem;
  box-shadow: 0 10px 24px rgba(227,30,36,.28);
}
.detail-cta-secondary { display: grid; gap: .45rem; }
.detail-cta-card .btn-outline {
  margin-bottom: 0; border-radius: 14px; padding: .62rem 1rem; font-size: .9rem;
}
.detail-cta-links { display: grid; gap: .35rem; margin: .85rem 0 1rem; }
.cta-link {
  display: flex; align-items: center; gap: .45rem;
  background: none; border: 0; padding: .35rem 0; text-align: left;
  color: var(--ink); font-weight: 650; font-size: .88rem; cursor: pointer;
}
.cta-link:hover { color: var(--brand); }
.trust-card {
  background: #e8f8ef; border: 1px solid #b7e4c7; border-radius: 14px;
  padding: .85rem; display: grid; gap: .2rem;
}
.trust-card strong { color: #0f6a3c; font-size: .9rem; }
.trust-card span { color: #2d6a4f; font-size: .78rem; line-height: 1.35; }

.company-bar {
  margin-top: .85rem; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: .9rem 1.1rem; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.company-bar-left { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.company-logo {
  width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; flex-shrink: 0;
}
.company-logo.lg { width: 64px; height: 64px; font-size: 1.4rem; }
.company-bar-name { font-weight: 800; display: flex; align-items: center; gap: .4rem; }
.company-bar-stats {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.company-bar-stats div { text-align: center; min-width: 88px; }
.company-bar-stats strong { display: block; font-size: 1.08rem; line-height: 1.2; }
.company-bar-stats .stat-muted { color: var(--muted); }
.company-bar-stats span { color: var(--muted); font-size: .72rem; font-weight: 650; }

.detail-stories { margin-top: .35rem !important; margin-bottom: .75rem; }
.detail-stories .section-head { margin-bottom: .35rem; }
.detail-stories .section-head h2 { font-size: 1.05rem; }
.story-item-detail { width: 100px; }
.story-item-detail:hover { transform: translateY(-5px) scale(1.03); }
.story-item-detail .story-avatar {
  transition: box-shadow .2s ease, transform .2s ease;
}
.story-item-detail:hover .story-avatar {
  box-shadow: 0 0 0 2px var(--brand), 0 12px 24px rgba(227,30,36,.2);
}
.story-label {
  display: block; margin-top: .15rem;
  font-size: .78rem !important; font-weight: 750 !important; color: var(--ink) !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.story-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-weight: 900; font-size: 1.4rem;
}

.detail-tabs-wrap { margin-top: 1rem; }
.detail-tabs {
  position: sticky; top: 4.6rem; z-index: 20;
  display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none;
  background: rgba(247,248,250,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); padding: .35rem 0 .55rem; margin-bottom: .9rem;
}
.detail-tabs::-webkit-scrollbar { display: none; }
.detail-tabs button {
  border: 0; background: transparent; white-space: nowrap;
  padding: .55rem .9rem; border-radius: 999px; color: var(--muted);
  font-weight: 750; cursor: pointer;
}
.detail-tabs button.is-active {
  background: #fff; color: var(--brand); box-shadow: var(--shadow);
}
.detail-tabs-grid {
  display: block;
}
.detail-tabs-main {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.15rem 1.25rem; box-shadow: var(--shadow);
  width: 100%;
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.tab-panel h3 { margin: 0 0 .75rem; font-size: 1.15rem; font-weight: 800; }
.tab-panel h3.subhead { margin-top: 1.25rem; }
.detail-desc { color: var(--ink); line-height: 1.6; margin-bottom: 1rem; }
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; margin-bottom: .5rem;
}
.feature-item {
  display: flex; gap: .45rem; align-items: center;
  background: var(--bg); border-radius: 12px; padding: .7rem .8rem; font-size: .9rem;
}
.spec-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
}
.spec-grid div {
  background: var(--bg); border-radius: 12px; padding: .55rem .75rem;
}
.spec-grid span { display: block; color: var(--muted); font-size: .7rem; font-weight: 700; margin-bottom: .1rem; }
.spec-grid strong { font-size: .88rem; }
.feature-item {
  display: flex; gap: .45rem; align-items: center;
  background: var(--bg); border-radius: 12px; padding: .55rem .75rem; font-size: .88rem;
}
.terms-list { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; color: var(--muted); }
.terms-list li { line-height: 1.45; }

.side-info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1rem; box-shadow: var(--shadow); margin-bottom: .9rem;
}
.side-info-card h4 { margin: 0 0 .55rem; font-size: .98rem; font-weight: 800; }
.map-frame {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16 / 10; background: #edf0f3; margin: .55rem 0 .7rem;
}
.map-frame-lg { aspect-ratio: 16 / 9; min-height: 280px; }
.map-frame-side { aspect-ratio: 1 / 1; min-height: 220px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.map-dir-btn { width: 100%; border-radius: 12px; justify-content: center; }
.firm-about-mini { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .65rem; }
.firm-about-card.inline { display: flex; gap: 1rem; align-items: flex-start; }
.firm-about-card h4 { margin: 0 0 .35rem; display: flex; align-items: center; gap: .4rem; }
.firm-links { display: grid; gap: .35rem; font-size: .88rem; font-weight: 650; }
.firm-links a:hover { color: var(--brand); }
.firm-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: .75rem;
}
.firm-contact-grid.compact { grid-template-columns: 1fr; gap: .45rem; }
.firm-contact-grid div {
  background: var(--bg); border-radius: 12px; padding: .55rem .7rem;
}
.firm-contact-grid span {
  display: block; color: var(--muted); font-size: .7rem; font-weight: 700; margin-bottom: .15rem;
}
.firm-contact-grid a, .firm-contact-grid strong {
  font-size: .88rem; font-weight: 750; color: var(--ink);
}
.firm-contact-grid a:hover { color: var(--brand); }

.reviews-head {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .9rem;
}
.reviews-head h3 { margin: 0; }
.reviews-summary {
  display: grid; grid-template-columns: 140px 1fr; gap: 1rem;
  background: var(--bg); border-radius: 14px; padding: 1rem; margin-bottom: 1rem;
}
.reviews-avg { text-align: center; }
.reviews-avg strong { display: block; font-size: 2.2rem; line-height: 1; margin-bottom: .25rem; }
.reviews-bars { display: grid; gap: .35rem; }
.bar-row { display: grid; grid-template-columns: 42px 1fr 28px; gap: .45rem; align-items: center; font-size: .8rem; }
.bar { height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.bar-row em { font-style: normal; color: var(--muted); text-align: right; }
.review-list { display: grid; gap: .75rem; }
.review-item {
  border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem;
}
.review-item-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem; margin-bottom: .4rem;
}
.review-item p { margin: 0; color: var(--ink); line-height: 1.45; }
.review-form-card { margin-top: 1rem; }
.review-form-card h4 { margin: 0 0 .75rem; }

.similar-section .section-head { align-items: center; }
.similar-nav { display: flex; gap: .35rem; }
.similar-rail {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .15rem .1rem .65rem; scrollbar-width: thin;
}
.similar-rail .listing-card {
  flex: 0 0 calc((100% - 4rem) / 5);
  min-width: 200px;
  scroll-snap-align: start;
}
.detail-code-box, .code-box-inline {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  flex-wrap: wrap; text-align: left;
}
.code-box-text { display: grid; gap: .15rem; }
.code-box-text span {
  font-size: .72rem; letter-spacing: .04em; opacity: .75; font-weight: 700;
}
.code-box-text strong {
  font-size: 1.15rem; letter-spacing: .1em;
}
.code-copy-btn {
  background: #fff !important; color: var(--ink) !important; border-color: transparent !important;
  flex-shrink: 0;
}
.detail-bottom-banner { margin-top: .85rem; }
.detail-page { padding: .65rem 0 1rem; }
.detail-page .section { margin-top: .85rem; }
.detail-tabs-wrap { margin-top: .85rem; }
body:has(.detail-page) .site-footer { margin-top: 1.25rem; }

.copy-toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  background: #14212b; color: #fff; font-weight: 750; font-size: .9rem;
  padding: .7rem 1.1rem; border-radius: 999px; z-index: 80;
  box-shadow: var(--shadow-hover);
}
.copy-toast[hidden] { display: none !important; }

.qr-modal {
  border: 0; border-radius: 18px; padding: 0; box-shadow: var(--shadow-hover);
  max-width: min(360px, calc(100% - 2rem));
}
.qr-modal::backdrop { background: rgba(17,24,39,.45); }
.qr-modal-inner {
  padding: 1.25rem; display: grid; gap: .75rem; justify-items: center; text-align: center;
}
.qr-modal-inner h3 { margin: 0; }
.qr-modal-inner .code-box {
  width: 100%;
  padding: .75rem .85rem;
  text-align: left;
  letter-spacing: 0;
}
.qr-modal-inner .code-box-text {
  min-width: 0;
  flex: 1;
}
.qr-modal-inner .code-box-text span {
  font-size: .68rem;
  letter-spacing: .03em;
}
.qr-modal-inner .code-box-text strong {
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.qr-modal-inner .code-copy-btn {
  font-size: .75rem !important;
  padding: .3rem .65rem !important;
  min-height: 0;
  border-radius: 999px;
}
.qr-modal-inner > .btn {
  font-size: .78rem;
  padding: .35rem .85rem;
  min-height: 0;
}

.msg-modal {
  border: 0; border-radius: 18px; padding: 0;
  box-shadow: var(--shadow-hover);
  max-width: min(440px, calc(100% - 2rem));
  width: 100%;
}
.msg-modal::backdrop { background: rgba(17,24,39,.45); }
.msg-modal-inner {
  padding: 1.2rem 1.25rem 1.25rem;
  display: grid; gap: .95rem;
}
.msg-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.msg-modal-head h3 {
  margin: 0; font-size: 1.1rem; font-weight: 800;
}
.msg-modal-close {
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--bg); color: var(--muted); font-size: 1.35rem;
  cursor: pointer; display: grid; place-items: center; line-height: 1;
}
.msg-modal-close:hover { color: var(--brand); background: var(--brand-soft); }
.msg-modal-form { gap: .75rem; }
.msg-modal-actions {
  display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap;
}
.msg-modal-actions .btn-primary { min-width: 110px; }
.detail-cta-secondary .btn { width: 100%; }

@media (max-width: 1200px) {
  .similar-rail .listing-card { flex-basis: calc((100% - 3rem) / 4); }
}
@media (max-width: 1100px) {
  .detail-hero { grid-template-columns: 1fr 1fr; }
  .detail-cta { grid-column: 1 / -1; }
  .detail-cta-card { position: static; }
  .similar-rail .listing-card { flex-basis: calc((100% - 2rem) / 3); }
}
@media (max-width: 860px) {
  .detail-hero { grid-template-columns: 1fr; }
  .detail-thumbs { grid-template-columns: repeat(4, 1fr); }
  .feature-grid, .spec-grid, .reviews-summary, .firm-contact-grid, .detail-facts { grid-template-columns: 1fr; }
  .detail-countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .company-bar { flex-direction: column; align-items: flex-start; }
  .similar-rail .listing-card { flex-basis: calc((100% - 1rem) / 2); }
}

@media (max-width: 1280px) {
  .category-layout { grid-template-columns: 210px minmax(0, 1fr) 220px; gap: 1rem; }
  .listing-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .home-layout { grid-template-columns: 1fr; }
  .home-cats { order: 2; }
  .home-main { order: 1; }
  .home-grid, .listing-detail { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: repeat(3, 1fr); }
  .shortcut-grid, .trust-bar { grid-template-columns: repeat(3, 1fr); }
  .category-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .category-aside { display: none; }
}
@media (max-width: 980px) {
  .category-hero {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 0;
    padding: 1rem;
  }
  .category-hero-visual { height: 140px; }
  .listing-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-grid-3 > .listing-card { height: 400px; }
}
@media (max-width: 860px) {
  .header-top { grid-template-columns: 1fr; }
  .header-top > .header-search,
  .header-top .brand,
  .header-end { grid-column: 1; justify-self: stretch; }
  .header-top .brand { justify-content: center; }
  .header-end { flex-wrap: wrap; }
  .header-actions { justify-content: flex-start; flex-wrap: wrap; }
  .listing-grid, .cat-explore, .bn-row, .footer-grid, .admin-shell, .stats, .form-grid.two, [data-location-group] {
    grid-template-columns: 1fr 1fr;
  }
  .shortcut-grid, .trust-bar { grid-template-columns: 1fr 1fr; }
  .hero-content { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .category-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .listing-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .listing-grid-3.is-list > .listing-card > a { grid-template-columns: 120px 1fr; }
}
@media (max-width: 560px) {
  .listing-grid, .cat-explore, .bn-row, .footer-grid, .shortcut-grid, .trust-bar, .form-grid.two, [data-location-group] {
    grid-template-columns: 1fr;
  }
  .listing-grid-3 { grid-template-columns: 1fr; }
  .listing-grid-3 > .listing-card { height: auto; min-height: 380px; }
  .hide-mobile { display: none !important; }
  .category-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* —— Firma paneli istatistikler —— */
.st-page { min-width: 0; overflow-x: hidden; }
.st-page.is-loading { opacity: .72; pointer-events: none; }
.st-head { gap: 1rem; }
.st-head-actions { display: flex; gap: .45rem; flex-wrap: wrap; }
.st-filters {
  display: flex; flex-wrap: nowrap; gap: .4rem; align-items: center;
  overflow-x: auto; padding-bottom: .35rem; margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}
.st-pill {
  flex: 0 0 auto; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: .4rem .85rem; font: inherit; font-size: .82rem;
  font-weight: 700; color: var(--ink); cursor: pointer; white-space: nowrap;
}
.st-pill:hover { border-color: #f3c6c7; }
.st-pill.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.st-custom {
  display: flex; gap: .4rem; align-items: center; flex: 0 0 auto;
}
.st-custom[hidden] { display: none !important; }
.st-custom .ff-control { height: 34px; min-height: 34px; padding: 0 .55rem; border-radius: 10px; width: auto; }
.st-kpi-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .75rem; margin-bottom: 1rem;
}
.st-kpi-card {
  padding: .9rem !important; display: grid; gap: .35rem; min-width: 0;
  color: var(--brand);
}
.st-kpi-top { display: flex; justify-content: space-between; align-items: center; gap: .4rem; }
.st-kpi-label { color: var(--muted); font-size: .78rem; font-weight: 700; }
.st-kpi-value { font-size: 1.35rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.st-kpi-value small { font-size: .85rem; color: var(--muted); font-weight: 700; }
.st-kpi-value.is-muted { font-size: .95rem; color: var(--muted); }
.st-delta { font-size: .78rem; font-weight: 800; }
.st-delta.is-up { color: #16a34a; }
.st-delta.is-down { color: var(--brand); }
.st-delta.is-flat { color: var(--muted); }
.st-spark { width: 100%; height: 28px; color: var(--brand); opacity: .85; margin-top: .15rem; }
.st-spark.lg { height: 36px; }
.st-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .85fr);
  gap: 1rem; margin-bottom: 1rem;
}
.st-card-head {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap;
  margin-bottom: .85rem;
}
.st-card-head h3 { margin: 0; font-size: 1.05rem; }
.st-series-toggles { display: flex; flex-wrap: wrap; gap: .55rem; font-size: .8rem; font-weight: 700; color: var(--muted); }
.st-series-toggles label { display: inline-flex; gap: .3rem; align-items: center; cursor: pointer; }
.st-chart-wrap { position: relative; min-height: 260px; }
.st-chart-wrap canvas { width: 100% !important; max-height: 280px; }
.st-score-ring {
  position: relative; width: 150px; height: 150px; margin: .25rem auto .75rem;
}
.st-score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.st-score-track { fill: none; stroke: #eef1f4; stroke-width: 10; }
.st-score-value {
  fill: none; stroke: var(--brand); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: calc(314 - (314 * var(--p, 0) / 100));
  transition: stroke-dashoffset .4s ease;
}
.st-score-label {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.st-score-label strong { font-size: 1.8rem; line-height: 1; }
.st-score-label span { color: var(--muted); font-size: .8rem; font-weight: 700; }
.st-score-text { text-align: center; font-weight: 800; margin: 0 0 .85rem; }
.st-score-card h4 { margin: 0 0 .5rem; font-size: .9rem; }
.st-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.st-tips li {
  padding: .55rem .7rem; border-radius: 12px; background: var(--bg);
  font-size: .84rem; font-weight: 650; border-left: 3px solid var(--line);
}
.st-tips li.tone-ok { border-left-color: #16a34a; }
.st-tips li.tone-warn { border-left-color: #d97706; }
.st-tips li.tone-boost { border-left-color: var(--brand); }
.st-tips li.tone-info { border-left-color: #2563eb; }
.st-mid-grid, .st-lower-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; margin-bottom: 1rem;
}
.st-top-list { display: grid; gap: .65rem; }
.st-top-item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: .65rem; align-items: center;
}
.st-top-meta { min-width: 0; }
.st-top-meta strong {
  display: block; font-size: .9rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.st-top-metrics { display: flex; flex-wrap: wrap; gap: .55rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.st-donut-wrap { display: grid; gap: .75rem; justify-items: center; }
.st-donut-center { position: relative; width: min(100%, 200px); }
.st-donut-total {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none;
}
.st-donut-total strong { font-size: 1.4rem; line-height: 1; }
.st-donut-total span { color: var(--muted); font-size: .75rem; font-weight: 700; }
.st-legend { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: .35rem; }
.st-legend li {
  display: flex; align-items: center; gap: .45rem; font-size: .84rem; font-weight: 650;
}
.st-legend i { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.st-legend em { margin-left: auto; color: var(--muted); font-style: normal; font-weight: 800; }
.st-doping-list { display: grid; gap: .65rem; }
.st-doping-item {
  display: grid; gap: .35rem; padding: .75rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line);
}
.st-doping-item strong { display: block; }
.st-doping-item span { color: var(--muted); font-size: .82rem; }
.st-doping-metrics { display: flex; flex-wrap: wrap; gap: .55rem; font-size: .8rem; font-weight: 700; }
.st-doping-metrics .is-up { color: #16a34a; }
.st-mini-kpis {
  display: grid; grid-template-columns: 1fr 1fr; gap: .65rem;
}
.st-mini-kpis > div {
  padding: .75rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line);
}
.st-mini-kpis span { display: block; color: var(--muted); font-size: .75rem; font-weight: 700; margin-bottom: .2rem; }
.st-mini-kpis strong { font-size: 1.2rem; }
.st-fav-analysis { display: grid; gap: .45rem; }
.st-fav-total strong { font-size: 1.6rem; display: block; }
.st-fav-total span { color: var(--muted); font-size: .8rem; font-weight: 700; }
.st-fav-change { font-weight: 800; font-size: .9rem; }
.st-fav-change.is-up { color: #16a34a; }
.st-fav-change.is-down { color: var(--brand); }
.st-bottom-grid { margin-bottom: 1rem; }
.st-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.st-timeline li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start;
  padding: .85rem 0; border-bottom: 1px solid var(--line);
}
.st-timeline li:last-child { border-bottom: 0; }
.st-timeline strong { display: block; margin-bottom: .15rem; }
.st-timeline p { margin: 0 0 .25rem; color: var(--muted); font-size: .86rem; }
.st-timeline time { color: var(--muted); font-size: .75rem; }
.st-timeline a { flex: 0 0 auto; font-size: .82rem; font-weight: 700; color: var(--brand); }
@media (max-width: 1100px) {
  .st-kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-mid-grid, .st-lower-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .st-main-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .st-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-mid-grid, .st-lower-grid { grid-template-columns: 1fr; }
  .st-filters { margin-left: -.25rem; margin-right: -.25rem; padding-left: .25rem; padding-right: .25rem; }
}

/* ===== Admin Panel (firma paneli tasarım ailesi) ===== */
.ap-sidebar-label {
  margin: -.35rem 0 .75rem;
  padding: 0 .85rem;
  color: rgba(255,255,255,.45);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ap-page { display: grid; gap: 1.15rem; }
.ap-page-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
}
.ap-page-head h2 {
  margin: 0 0 .2rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em;
}
.ap-page-head p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Admin dashboard: tek sütun (fp-dash 2 kolon düzenini kullanma) */
.ap-dash {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.ap-kpi-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.ap-kpi-row .fp-stat {
  min-width: 0;
}
.ap-kpi-row .fp-stat-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ap-card {
  padding: 0;
  overflow: hidden;
}
/* Form içeren kartlar: kenardan nefes alan padding */
.ap-card.form-card,
.panel-card.ap-card.form-card,
.form-card.ap-card {
  padding: 1.35rem 1.4rem 1.45rem;
}
/* Formun kendisi kart ise */
.ap-card.ap-form,
.panel-card.ap-form,
.form-card.ap-form {
  padding: 1.35rem 1.4rem 1.45rem;
  display: grid;
  gap: .95rem;
  box-sizing: border-box;
}
/* Kart içinde form varsa çift padding olmasın */
.ap-card.form-card > .ap-form,
.ap-card.form-card > .form-grid,
.panel-card.ap-card.form-card > .ap-form,
.panel-card.ap-card.form-card > .form-grid {
  padding: 0;
  display: grid;
  gap: .95rem;
  box-sizing: border-box;
}
.ap-card.form-card > .ap-section-title,
.panel-card.ap-card.form-card > .ap-section-title,
.ap-card.ap-form > .ap-section-title,
.panel-card.ap-form > .ap-section-title,
.form-card.ap-form > .ap-section-title {
  margin: 0 0 .15rem;
}
.ap-card.ap-form label,
.panel-card.ap-form label,
.form-card.ap-form label,
.ap-card.form-card label,
.panel-card.ap-card.form-card label {
  display: grid;
  gap: .4rem;
  margin: 0;
  font-weight: 700;
  font-size: .86rem;
}
.ap-card.ap-form input,
.ap-card.ap-form select,
.ap-card.ap-form textarea,
.panel-card.ap-form input,
.panel-card.ap-form select,
.panel-card.ap-form textarea,
.form-card.ap-form input,
.form-card.ap-form select,
.form-card.ap-form textarea,
.ap-card.form-card input,
.ap-card.form-card select,
.ap-card.form-card textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .85rem;
  font: inherit;
  background: #fff;
}
.ap-form .ff-switch-row { margin: .1rem 0; }
.ap-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: .25rem;
  padding-top: .15rem;
}
.ap-header-nav-row select,
.ap-header-nav-row input {
  width: 100%;
  min-width: 0;
}
.ap-card-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: .85rem; flex-wrap: wrap;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line);
}
.ap-card-head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.ap-card-sub { margin: .35rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.ap-pill-row { display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; }
.ap-inline-search {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .5rem .95rem; min-width: min(100%, 220px); font-size: .86rem;
}
.ap-hidden-form { display: none !important; }
.ap-cat-tree-wrap { max-height: min(70vh, 820px); overflow: auto; }
.ap-cat-tree tbody tr.is-root td { background: #fafbfc; font-weight: 650; }
.ap-cat-tree tbody tr.is-child td { background: #fff; }
.ap-cat-tree tbody tr.is-hidden { display: none; }
.ap-cat-name {
  display: flex; align-items: center; gap: .45rem;
  padding-left: calc(var(--cat-depth, 0) * 1.15rem);
  min-width: 0;
}
.ap-cat-name input { flex: 1; min-width: 0; }
.ap-cat-branch {
  width: .7rem; height: .7rem; flex-shrink: 0;
  border-left: 2px solid #d1d5db; border-bottom: 2px solid #d1d5db;
  border-radius: 0 0 0 3px; margin-top: -.35rem;
}
.ap-cat-parent-select {
  display: block; margin-top: .35rem; max-width: 100%;
  font-size: .8rem; font-weight: 500;
}
.ap-cat-tree td[data-label="Kategori"],
.ap-cat-tree td[data-label="Tür"] {
  white-space: normal; overflow: visible; text-overflow: unset;
}
.ap-link {
  color: var(--brand); font-weight: 750; font-size: .85rem; text-decoration: none;
}
.ap-link:hover { text-decoration: underline; }
.ap-days-filter select {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .45rem .85rem; font-weight: 650; font-size: .82rem;
}
.ap-filters {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
  padding: .85rem 1rem; border-bottom: 1px solid var(--line);
}
.ap-table.ap-table-wrap-text td.ap-cell-wrap,
.ap-cell-wrap {
  white-space: pre-wrap;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
}
.ap-note-form textarea {
  width: 100%;
  min-height: 72px;
  margin-bottom: .45rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .45rem .55rem;
  font: inherit;
}
.ap-inline-range {
  display: flex;
  gap: .35rem;
  align-items: center;
  flex-wrap: wrap;
}
.poll-results { list-style: none; padding: 0; margin: 0 0 1rem; }
.poll-results li {
  position: relative;
  padding: .45rem .6rem;
  margin-bottom: .35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.poll-results .poll-bar {
  position: absolute; left: 0; bottom: 0; height: 4px;
  background: var(--brand);
}
.category-nav { flex-wrap: wrap; }
.ap-table-wrap { overflow-x: auto; overflow-y: visible; }
.ap-table { width: 100%; table-layout: fixed; }
.ap-table th, .ap-table td {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ap-table td[data-label="İşlem"] {
  overflow: visible;
  text-overflow: unset;
  position: relative;
  z-index: 1;
}
.ap-table tbody tr:hover td[data-label="İşlem"] {
  z-index: 5;
}
.ap-table thead th {
  position: sticky; top: 0; z-index: 2;
  background: #f8f9fb; box-shadow: 0 1px 0 var(--line);
}
.ap-table input, .ap-table select {
  width: 100%; max-width: 100%;
  border: 1px solid var(--line); border-radius: 10px;
  padding: .4rem .55rem; font-size: .86rem; background: #fff;
}
.ap-table input:focus, .ap-table select:focus,
.ap-form input:focus, .ap-form select:focus, .ap-form textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(227,30,36,.12);
}
.ap-thumb {
  width: 42px; height: 42px; border-radius: 10px; overflow: hidden;
  background: var(--bg); display: inline-grid; place-items: center;
  color: var(--muted); font-size: .75rem;
}
.ap-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-actions-wide { flex-wrap: wrap; gap: .35rem; }
.ap-actions-wide .btn { white-space: nowrap; }
.ap-icon-actions {
  flex-wrap: nowrap;
  gap: .15rem;
  white-space: nowrap;
}
.ap-icon-actions form {
  display: inline-flex;
  margin: 0;
}
.ap-icon-actions .fp-more {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: .95rem;
  display: inline-grid;
  place-items: center;
  transition: .2s ease;
}
.ap-icon-actions .fp-more:hover {
  background: var(--brand-soft);
  color: var(--brand);
}
.ap-icon-actions .fp-more.is-ok:hover {
  background: #ecfdf5;
  color: #047857;
}
.ap-icon-actions .fp-more.is-danger:hover {
  background: #fef2f2;
  color: #b91c1c;
}
.ap-empty {
  text-align: center; padding: 2.75rem 1.5rem; color: var(--muted);
}
.ap-empty-sm { padding: 1.6rem 1.25rem; }
.ap-empty-ico {
  width: 52px; height: 52px; margin: 0 auto .75rem; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 1.25rem;
}
.ap-empty h4 { margin: 0 0 .35rem; color: var(--ink); font-size: 1rem; font-weight: 800; }
.ap-empty p { margin: 0; font-size: .88rem; }
.ap-summary-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
  width: 100%;
}
.ap-mini-list { list-style: none; margin: 0; padding: .2rem 0; }
.ap-mini-list li {
  display: flex; justify-content: space-between; align-items: center; gap: .85rem;
  padding: .85rem 1.25rem; border-bottom: 1px solid var(--line);
}
.ap-mini-list li:last-child { border-bottom: 0; }
.ap-mini-list strong {
  display: block; font-size: .9rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.ap-mini-list li > div { min-width: 0; flex: 1; }
.ap-mini-list span { display: block; color: var(--muted); font-size: .78rem; margin-top: .15rem; }
.ap-mini-list .meta { color: var(--muted); font-size: .78rem; white-space: nowrap; flex: 0 0 auto; }
.ap-chart-wrap { padding: .75rem 1.25rem 0; }
.ap-section-title { margin: 0 0 .85rem; font-size: 1rem; font-weight: 800; }
.ap-form-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem;
  align-items: start;
}
.ap-report-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem;
}
.ap-report-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .4rem;
  padding: 1.05rem 1.1rem; text-decoration: none; color: inherit;
  min-height: 0; transition: .2s ease;
}
.ap-report-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.ap-report-ico {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 1rem;
}
.ap-report-card strong {
  font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .01em;
}
.ap-report-num {
  font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  color: inherit;
}
.ap-report-card em { font-style: normal; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.ap-report-updated { margin: .35rem 0 0 !important; font-size: .82rem !important; }
.ap-report-kpis {
  padding: 1rem 1.25rem 1.15rem;
  margin: 0;
}
.ap-report-kpis .fp-stat { box-shadow: none; }
.ap-report-links { display: flex; gap: .85rem; align-items: center; }
.ap-inline-form { display: inline-flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.ap-inline-form select {
  border: 1px solid var(--line); border-radius: 999px; padding: .3rem .65rem; font-size: .8rem;
}
.ap-modal {
  border: 0; border-radius: var(--radius); padding: 0; max-width: 420px; width: calc(100% - 2rem);
  box-shadow: 0 20px 50px rgba(15,23,42,.18);
}
.ap-modal::backdrop { background: rgba(15,23,42,.45); }
.ap-modal form { padding: 1.25rem; display: grid; gap: .75rem; }
.ap-modal h3 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.ap-modal p { margin: 0; color: var(--muted); font-size: .9rem; }
.ap-modal textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: .65rem .75rem;
  font: inherit; resize: vertical;
}
.ap-modal textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(227,30,36,.12);
}
.ap-modal-actions { display: flex; justify-content: flex-end; gap: .5rem; }
.ap-thumb-lg {
  width: 72px;
  height: 72px;
}
.ap-image-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: .35rem;
}
.ap-thumb-editable {
  position: relative;
  overflow: visible;
}
.ap-thumb-editable img {
  border-radius: 10px;
}
.ap-thumb-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(17, 24, 39, .18);
  padding: 0;
  z-index: 2;
  transition: .15s ease;
}
.ap-thumb-remove:hover {
  background: var(--brand-dark);
  transform: scale(1.06);
}
.ap-thumb-editable.is-removing {
  opacity: 0;
  transform: scale(.85);
  transition: .18s ease;
}
.ap-image-hint {
  margin: 0 0 .75rem;
  font-size: .78rem;
}
.ap-check {
  display: inline-flex !important;
  align-items: center;
  gap: .45rem;
  font-weight: 650 !important;
  font-size: .88rem !important;
  cursor: pointer;
}
.ap-check input {
  width: auto !important;
  margin: 0;
  accent-color: var(--brand);
}
.ap-form .ff-location {
  margin: 0;
}
.ap-form .ff-grid {
  display: grid;
  gap: .95rem;
}
.ap-form .ff-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ap-form .ff-field {
  display: grid;
  gap: .4rem;
  margin: 0;
  font-weight: 700;
  font-size: .86rem;
}
.ap-form .ff-control {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .85rem;
  font: inherit;
  background: #fff;
}
.ap-form .ff-control:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(227,30,36,.12);
}
@media (max-width: 860px) {
  .ap-form .ff-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 1280px) {
  .ap-kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .ap-summary-grid, .ap-form-grid, .ap-report-cards { grid-template-columns: 1fr 1fr; }
  .ap-hide-md { display: none !important; }
}
@media (max-width: 860px) {
  .ap-hide-sm { display: none !important; }
  .ap-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-summary-grid, .ap-form-grid, .ap-report-cards { grid-template-columns: 1fr; }
  .ap-card.ap-form,
  .panel-card.ap-form,
  .form-card.ap-form,
  .ap-card.form-card,
  .panel-card.ap-card.form-card,
  .form-card.ap-card {
    padding: 1.15rem 1.1rem 1.25rem;
  }
  .ap-table, .ap-table tbody, .ap-table tr, .ap-table td {
    display: block; width: 100%;
  }
  .ap-table thead { display: none; }
  .ap-table tr {
    border-bottom: 1px solid var(--line);
    padding: .85rem 1rem;
  }
  .ap-table td {
    display: flex; justify-content: space-between; gap: .75rem;
    white-space: normal; overflow: visible; text-overflow: unset;
    border: 0; padding: .35rem 0;
  }
  .ap-table td::before {
    content: attr(data-label);
    color: var(--muted); font-size: .75rem; font-weight: 700; flex: 0 0 38%;
  }
  .ap-table input, .ap-table select { max-width: 62%; }
  .ap-filters { flex-direction: column; align-items: stretch; }
  .ap-filters .fp-tool-search { min-width: 0; width: 100%; }
}

.detail-code-label {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; color: var(--muted);
}
.detail-code-under { margin-top: .85rem; }
.detail-open-desc { margin-top: 1.1rem; }
.detail-open-desc h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.detail-open-map {
  margin-top: 1.1rem;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.detail-open-map-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .55rem;
}
.detail-open-map-head h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.detail-open-map .map-frame-full {
  aspect-ratio: 21 / 9;
  min-height: 320px;
  margin: 0;
  width: 100%;
}
@media (max-width: 900px) {
  .header-wa { display: none; }
}
