/* Telebilgi public — WPClassify / classified marketplace look */
:root {
  --tb-orange: #ff5a00;
  --tb-orange-dark: #e04e00;
  --tb-navy: #1b2430;
  --tb-navy-soft: #243041;
  --tb-ink: #1e2430;
  --tb-muted: #6b7280;
  --tb-line: #e5e7eb;
  --tb-bg: #f3f4f6;
  --tb-white: #ffffff;
  --tb-radius: 10px;
  --tb-shadow: 0 8px 24px rgba(27, 36, 48, 0.08);
  --tb-font: "Outfit", system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body.tb-portal,
body.tb-portal.theme-wpclassify {
  font-family: var(--tb-font);
  color: var(--tb-ink);
  background: var(--tb-bg);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.tb-main { flex: 1; }
.tb-main > .container-fluid,
.tb-main > .home-wrap { width: 100%; }

.container-tb {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Top bar */
.tb-topbar {
  background: var(--tb-navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  padding: 0.45rem 0;
}

.tb-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tb-topbar a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 500;
}

.tb-topbar a:hover { color: #fff; }

.tb-topbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header */
.tb-header {
  background: var(--tb-white);
  border-bottom: 1px solid var(--tb-line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.tb-header .navbar { padding: 0.75rem 0; }

.tb-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--tb-navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 8px;
  background: var(--tb-orange);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.tb-header .nav-link {
  color: var(--tb-navy-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.75rem !important;
}

.tb-header .nav-link:hover { color: var(--tb-orange); }

.tb-cta {
  background: var(--tb-orange) !important;
  border-color: var(--tb-orange) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 0.55rem 1.15rem !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.82rem !important;
}

.tb-cta:hover {
  background: var(--tb-orange-dark) !important;
  border-color: var(--tb-orange-dark) !important;
}

.btn-primary {
  background: var(--tb-orange);
  border-color: var(--tb-orange);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--tb-orange-dark);
  border-color: var(--tb-orange-dark);
}

.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(255, 90, 0, 0.25); }

/* Hero — full bleed classified */
.hero-section {
  position: relative;
  isolation: isolate;
  min-height: min(72vh, 560px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0 4rem;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(27, 36, 48, 0.88) 0%, rgba(27, 36, 48, 0.55) 55%, rgba(255, 90, 0, 0.35) 100%),
    radial-gradient(ellipse 80% 70% at 80% 20%, rgba(255, 90, 0, 0.35), transparent 55%),
    linear-gradient(160deg, #1b2430 0%, #2c3a4e 45%, #3d2a22 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.hero-inner {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  text-align: center;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  color: #fff;
}

.hero-brand .brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.2rem;
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto 1.75rem;
  max-width: 34rem;
}

/* Search bar — classified inline */
.search-wizard {
  background: var(--tb-white);
  border-radius: 12px;
  padding: 0.65rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 0.35rem;
  text-align: left;
}

.search-wizard .field {
  display: flex;
  flex-direction: column;
  padding: 0.35rem 0.75rem;
  border-right: 1px solid var(--tb-line);
  min-width: 0;
}

.search-wizard .field:last-of-type { border-right: 0; }

.search-wizard label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tb-muted);
  margin-bottom: 0.15rem;
}

.search-wizard .form-control,
.search-wizard .form-select {
  border: 0;
  padding: 0.15rem 0;
  font-weight: 600;
  color: var(--tb-ink);
  background: transparent;
  box-shadow: none !important;
  font-size: 0.95rem;
}

.search-wizard .btn-search {
  align-self: stretch;
  border: 0;
  border-radius: 10px;
  background: var(--tb-orange);
  color: #fff;
  font-weight: 800;
  padding: 0 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.search-wizard .btn-search:hover { background: var(--tb-orange-dark); }

.search-wizard-title { display: none; }

/* Sections */
.home-section {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.75rem 0;
}

.home-section-alt {
  width: 100%;
  background: var(--tb-white);
  border-top: 1px solid var(--tb-line);
  border-bottom: 1px solid var(--tb-line);
  padding: 2.75rem 0;
}

.home-section-alt .section-inner,
.cta-band .section-inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--tb-navy);
}

.section-header p {
  margin: 0.25rem 0 0;
  color: var(--tb-muted);
  font-size: 0.92rem;
}

.section-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tb-orange);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.section-link:hover { color: var(--tb-orange-dark); }

/* Categories — WPClassify circles */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.15rem 0.5rem 0.85rem;
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  text-decoration: none;
  color: var(--tb-ink);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--tb-shadow);
  border-color: rgba(255, 90, 0, 0.35);
  color: var(--tb-navy);
}

.category-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff3eb;
  color: var(--tb-orange);
  font-weight: 800;
  font-size: 0.95rem;
}

.category-tile:hover .category-icon {
  background: var(--tb-orange);
  color: #fff;
}

.category-name {
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.category-count {
  font-size: 0.72rem;
  color: var(--tb-muted);
  font-weight: 600;
}

/* Listings */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.listing-card {
  background: var(--tb-white);
  border-radius: var(--tb-radius);
  overflow: hidden;
  border: 1px solid var(--tb-line);
  transition: transform 0.2s, box-shadow 0.2s;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tb-shadow);
}

.listing-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.listing-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: #e8eaed;
  overflow: hidden;
}

.listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.listing-card:hover .listing-thumb img { transform: scale(1.04); }

.listing-thumb-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  background: linear-gradient(135deg, #e8eaed, #d7dbe2);
  color: var(--tb-muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.listing-type {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(27, 36, 48, 0.85);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.listing-price {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  background: var(--tb-orange);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

.listing-body { padding: 0.95rem 1rem 1.1rem; }

.listing-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--tb-navy);
}

.listing-meta {
  font-size: 0.8rem;
  color: var(--tb-muted);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.listing-meta i { margin-right: 0.2rem; color: var(--tb-orange); }

/* Cities */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.city-tile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--tb-navy);
  font-weight: 700;
  font-size: 0.9rem;
  transition: border-color 0.15s, color 0.15s;
}

.city-tile:hover {
  border-color: var(--tb-orange);
  color: var(--tb-orange);
}

.city-tile i { color: var(--tb-orange); }

/* Sellers */
.seller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.seller-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--tb-bg);
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-section-alt .seller-card { background: var(--tb-bg); }

.seller-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tb-shadow);
}

.seller-avatar {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--tb-navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
}

.seller-info h3 {
  font-size: 0.98rem;
  font-weight: 750;
  margin: 0 0 0.2rem;
  color: var(--tb-navy);
}

.seller-info p {
  font-size: 0.78rem;
  color: var(--tb-muted);
  margin: 0 0 0.2rem;
}

.tier-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  margin-right: 0.3rem;
}

.tier-free { background: #e5e7eb; color: #4b5563; }
.tier-gold { background: #fef3c7; color: #b45309; }
.tier-premium { background: #ffedd5; color: #c2410c; }

.trust-score {
  font-size: 0.72rem;
  color: var(--tb-orange-dark);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  background: linear-gradient(110deg, var(--tb-navy) 0%, #2a3545 55%, #3a2418 100%);
  color: #fff;
  padding: 3rem 0;
}

.cta-band-inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 36rem;
}

.cta-band .btn {
  background: var(--tb-orange);
  border: 0;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
}

.cta-band .btn:hover { background: var(--tb-orange-dark); color: #fff; }

/* Footer */
.tb-footer {
  background: #121821;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.25rem;
  margin-top: auto;
}

.footer-brand {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
}

.tb-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.85rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 0.4rem; }

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--tb-orange); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.82rem;
}

.btn:focus, .form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 90, 0, 0.2);
  border-color: var(--tb-orange);
}

@media (max-width: 900px) {
  .search-wizard {
    grid-template-columns: 1fr;
  }
  .search-wizard .field {
    border-right: 0;
    border-bottom: 1px solid var(--tb-line);
  }
  .search-wizard .btn-search {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
  }
}

@media (max-width: 767px) {
  .hero-section { min-height: auto; padding: 2.5rem 0 2.75rem; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .tb-topbar-links span.hide-sm { display: none; }
}

/* Inner pages — WPClassify */
.page-hero {
  background:
    linear-gradient(120deg, rgba(27, 36, 48, 0.92) 0%, rgba(27, 36, 48, 0.7) 55%, rgba(255, 90, 0, 0.4) 100%),
    linear-gradient(160deg, #1b2430 0%, #2c3a4e 100%);
  color: #fff;
  padding: 2.75rem 0 2.5rem;
}

.page-hero-inner { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }

.page-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-lead {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.page-section {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.page-section-alt {
  width: 100%;
  background: var(--tb-white);
  border-top: 1px solid var(--tb-line);
  border-bottom: 1px solid var(--tb-line);
  padding: 2.5rem 0;
}

.page-section-alt .container-tb,
.page-section .container-tb { width: 100%; max-width: none; }

.page-section-alt > .container-tb {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-section-head { margin-bottom: 1.5rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.pricing-card {
  position: relative;
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: var(--tb-shadow);
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border-color: var(--tb-orange);
  box-shadow: 0 12px 32px rgba(255, 90, 0, 0.15);
  transform: translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: var(--tb-orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.pricing-tier {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tb-muted);
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--tb-navy);
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.15rem;
  line-height: 1.1;
}

.pricing-price span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tb-muted);
}

.pricing-note {
  margin: 0 0 1rem;
  color: var(--tb-muted);
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}

.pricing-features li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
  font-size: 0.92rem;
  color: var(--tb-ink);
  border-bottom: 1px solid var(--tb-line);
}

.pricing-features li:last-child { border-bottom: 0; }

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--tb-orange);
  font-weight: 800;
}

.pricing-cta {
  background: var(--tb-orange) !important;
  border-color: var(--tb-orange) !important;
  color: #fff !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  padding: 0.7rem 1rem !important;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.pricing-cta:hover {
  background: var(--tb-orange-dark) !important;
  border-color: var(--tb-orange-dark) !important;
  color: #fff !important;
}

.pricing-cta:disabled,
.pricing-cta[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.pricing-cta-ghost {
  background: transparent !important;
  color: var(--tb-navy) !important;
  border: 1px solid var(--tb-line) !important;
}

.pricing-cta-ghost:hover {
  border-color: var(--tb-orange) !important;
  color: var(--tb-orange) !important;
  background: #fff7f2 !important;
}

.boost-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.boost-card {
  background: var(--tb-bg);
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  padding: 1.25rem;
}

.page-section-alt .boost-card { background: var(--tb-bg); }

.boost-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 90, 0, 0.12);
  color: var(--tb-orange);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.boost-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--tb-navy);
}

.boost-card p {
  margin: 0 0 0.75rem;
  color: var(--tb-muted);
  font-size: 0.9rem;
}

.boost-card strong {
  font-size: 1.25rem;
  color: var(--tb-orange);
  font-weight: 800;
}

.checkout-bar {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  gap: 0.85rem;
  align-items: end;
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  padding: 1.15rem;
  box-shadow: var(--tb-shadow);
}

.checkout-bar .pricing-cta { width: auto; min-width: 140px; }

.checkout-hint, .checkout-empty p {
  color: var(--tb-muted);
  font-size: 0.9rem;
  margin-top: 0.85rem;
}

.checkout-empty {
  background: var(--tb-white);
  border: 1px dashed var(--tb-line);
  border-radius: var(--tb-radius);
  padding: 1.5rem;
  text-align: center;
}

.checkout-empty .pricing-cta { width: auto; display: inline-block; margin-top: 0.5rem; }

@media (max-width: 900px) {
  .pricing-grid, .boost-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { transform: none; }
  .checkout-bar { grid-template-columns: 1fr; }
  .checkout-bar .pricing-cta { width: 100%; }
}
