/* =========================================================
   FazlaPazar – Kurumsal, sade arayüz
   ========================================================= */
:root {
  --fp-primary: #0f2a44;
  --fp-primary-700: #0a1f33;
  --fp-primary-50: #eef3f8;
  --fp-accent: #0e7c66;
  --fp-accent-700: #0a6352;
  --fp-accent-50: #e8f4f1;
  --fp-warn: #b45309;
  --fp-warn-50: #fdf3e7;
  --fp-danger: #b42318;
  --fp-danger-50: #fdecea;
  --fp-bg: #f5f7fa;
  --fp-surface: #ffffff;
  --fp-border: #e3e8ee;
  --fp-border-strong: #cfd7e1;
  --fp-text: #18212c;
  --fp-muted: #5d6b7a;
  --fp-subtle: #8a96a3;
  --fp-radius: 10px;
  --fp-radius-lg: 14px;
  --fp-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --fp-shadow: 0 4px 16px rgba(16, 24, 40, .07);

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: var(--fp-text);
  --bs-body-bg: var(--fp-bg);
  --bs-border-color: var(--fp-border);
  --bs-link-color: var(--fp-accent);
  --bs-link-color-rgb: 14, 124, 102;
  --bs-link-hover-color: var(--fp-accent-700);
  --bs-link-hover-color-rgb: 10, 99, 82;
  --bs-primary: var(--fp-primary);
  --bs-primary-rgb: 15, 42, 68;
  --bs-border-radius: var(--fp-radius);
}

html { font-size: 15px; }
body {
  background: var(--fp-bg);
  color: var(--fp-text);
  font-feature-settings: "tnum" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { color: var(--fp-primary); font-weight: 700; letter-spacing: -.01em; }
.text-muted, .fp-muted { color: var(--fp-muted) !important; }
.text-subtle { color: var(--fp-subtle) !important; }
.fw-semibold { font-weight: 600 !important; }
.small-caps { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--fp-subtle); }
.tabular { font-variant-numeric: tabular-nums; }
.min-w-0 { min-width: 0; }

/* ---------- Butonlar ---------- */
.btn { border-radius: 8px; font-weight: 600; padding: .55rem 1rem; }
.btn-sm { padding: .35rem .7rem; font-size: .85rem; }
.btn-lg { padding: .75rem 1.4rem; font-size: 1rem; }
.btn-primary { --bs-btn-bg: var(--fp-primary); --bs-btn-border-color: var(--fp-primary); --bs-btn-hover-bg: var(--fp-primary-700); --bs-btn-hover-border-color: var(--fp-primary-700); --bs-btn-active-bg: var(--fp-primary-700); --bs-btn-disabled-bg: var(--fp-primary); }
.btn-accent { --bs-btn-color: #fff; --bs-btn-bg: var(--fp-accent); --bs-btn-border-color: var(--fp-accent); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--fp-accent-700); --bs-btn-hover-border-color: var(--fp-accent-700); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--fp-accent-700); --bs-btn-disabled-bg: var(--fp-accent); --bs-btn-disabled-border-color: var(--fp-accent); --bs-btn-disabled-color: #fff; }
.btn-outline-primary { --bs-btn-color: var(--fp-primary); --bs-btn-border-color: var(--fp-border-strong); --bs-btn-hover-bg: var(--fp-primary-50); --bs-btn-hover-color: var(--fp-primary); --bs-btn-hover-border-color: var(--fp-primary); --bs-btn-active-bg: var(--fp-primary-50); --bs-btn-active-color: var(--fp-primary); --bs-btn-active-border-color: var(--fp-primary); }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--fp-border); --bs-btn-hover-bg: var(--fp-bg); --bs-btn-hover-border-color: var(--fp-border-strong); }
.btn:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus { box-shadow: 0 0 0 3px rgba(14, 124, 102, .18); border-color: var(--fp-accent); }

/* ---------- Form ---------- */
.form-control, .form-select { border-color: var(--fp-border-strong); border-radius: 8px; padding: .55rem .8rem; }
.form-label { font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: #2b3746; }
.form-text { color: var(--fp-subtle); font-size: .8rem; }
.form-check-input:checked { background-color: var(--fp-accent); border-color: var(--fp-accent); }
.field-validation-error, .text-danger { color: var(--fp-danger) !important; font-size: .82rem; }
.input-validation-error { border-color: var(--fp-danger) !important; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }
.validation-summary-valid { display: none !important; }
.fp-form-section { padding: 1.5rem; border-bottom: 1px solid var(--fp-border); }
.fp-form-section:last-child { border-bottom: 0; }
.fp-form-section h2 { font-size: 1.05rem; margin-bottom: .2rem; }
.fp-form-section .fp-section-desc { color: var(--fp-muted); font-size: .88rem; margin-bottom: 1.1rem; }

/* ---------- Kartlar ---------- */
.fp-card { background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: var(--fp-radius-lg); box-shadow: var(--fp-shadow-sm); }
.fp-card-body { padding: 1.25rem 1.4rem; }
.fp-card-header { padding: 1rem 1.4rem; border-bottom: 1px solid var(--fp-border); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.fp-card-header h2, .fp-card-header h3 { font-size: 1rem; margin: 0; }

/* ---------- Üst menü ---------- */
.fp-topbar { background: var(--fp-primary); color: rgba(255,255,255,.75); font-size: .8rem; }
.fp-topbar a { color: rgba(255,255,255,.85); }
.fp-navbar { background: var(--fp-surface); border-bottom: 1px solid var(--fp-border); position: sticky; top: 0; z-index: 1030; }
.fp-navbar .navbar { padding: .7rem 0; }
.fp-brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.2rem; color: var(--fp-primary); letter-spacing: -.02em; }
.fp-brand:hover { text-decoration: none; color: var(--fp-primary); }
.fp-brand span em { font-style: normal; color: var(--fp-accent); }
.fp-navbar .nav-link { color: #334155; font-weight: 500; font-size: .93rem; padding: .5rem .8rem !important; border-radius: 8px; }
.fp-navbar .nav-link:hover, .fp-navbar .nav-link.active { color: var(--fp-primary); background: var(--fp-bg); text-decoration: none; }
.fp-icon-btn { position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: #334155; font-size: 1.15rem; }
.fp-icon-btn:hover { background: var(--fp-bg); color: var(--fp-primary); text-decoration: none; }
.fp-dot { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--fp-danger); color: #fff; font-size: .68rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.fp-avatar { width: 36px; height: 36px; border-radius: 10px; background: var(--fp-primary-50); color: var(--fp-primary); font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.fp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fp-avatar-lg { width: 64px; height: 64px; border-radius: 14px; font-size: 1.2rem; }
.dropdown-menu { border-color: var(--fp-border); border-radius: 12px; box-shadow: var(--fp-shadow); padding: .4rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .75rem; font-size: .92rem; }
.dropdown-item i { width: 1.3rem; color: var(--fp-muted); }

/* ---------- Bildirim şeritleri ---------- */
.fp-banner { padding: .7rem 0; font-size: .9rem; border-bottom: 1px solid; }
.fp-banner-warn { background: var(--fp-warn-50); border-color: #f5d9b5; color: #7a3d06; }
.fp-banner-danger { background: var(--fp-danger-50); border-color: #f6c6c1; color: #7f1d16; }
.alert { border-radius: 10px; border-width: 1px; font-size: .93rem; }
.alert-success { background: var(--fp-accent-50); border-color: #bfe0d7; color: #0b5345; }

/* ---------- Ana sayfa ---------- */
.fp-hero { background: linear-gradient(180deg, #fff 0%, var(--fp-bg) 100%); border-bottom: 1px solid var(--fp-border); padding: 4rem 0 3.2rem; }
.fp-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.fp-hero h1 em { font-style: normal; color: var(--fp-accent); }
.fp-hero .lead { color: var(--fp-muted); font-size: 1.08rem; max-width: 560px; }
.fp-search { background: #fff; border: 1px solid var(--fp-border-strong); border-radius: 14px; padding: .4rem; box-shadow: var(--fp-shadow); display: flex; gap: .4rem; }
.fp-search .form-control, .fp-search .form-select { border: 0; box-shadow: none !important; }
.fp-search .form-select { max-width: 210px; border-left: 1px solid var(--fp-border); border-radius: 0; }
.fp-hero-panel { background: var(--fp-primary); color: #fff; border-radius: 18px; padding: 1.8rem; position: relative; overflow: hidden; }
.fp-hero-panel h3 { color: #fff; font-size: 1.05rem; }
.fp-hero-panel::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.06); }
.fp-check-list { list-style: none; padding: 0; margin: 0; }
.fp-check-list li { display: flex; gap: .6rem; padding: .35rem 0; font-size: .93rem; }
.fp-check-list i { color: #5fd3b6; }
.fp-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.fp-stats strong { display: block; font-size: 1.5rem; color: var(--fp-primary); font-weight: 800; }
.fp-stats span { color: var(--fp-muted); font-size: .85rem; }
.fp-section { padding: 3rem 0; }
.fp-section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.fp-section-title h2 { font-size: 1.35rem; margin: 0; }
.fp-section-title p { margin: .2rem 0 0; color: var(--fp-muted); font-size: .92rem; }

.fp-cat { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; background: #fff; border: 1px solid var(--fp-border); border-radius: 12px; color: var(--fp-text); transition: border-color .15s, box-shadow .15s; height: 100%; }
.fp-cat:hover { border-color: var(--fp-accent); box-shadow: var(--fp-shadow); text-decoration: none; color: var(--fp-text); }
.fp-cat-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--fp-primary-50); color: var(--fp-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.fp-cat strong { font-size: .9rem; font-weight: 600; display: block; line-height: 1.25; }
.fp-cat small { color: var(--fp-subtle); font-size: .78rem; }

.fp-step { padding: 1.4rem; }
.fp-step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--fp-accent-50); color: var(--fp-accent); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .8rem; }
.fp-step h3 { font-size: 1rem; }
.fp-step p { color: var(--fp-muted); font-size: .9rem; margin: 0; }

.fp-cta { background: var(--fp-primary); border-radius: 18px; color: #fff; padding: 2.4rem; }
.fp-cta h2 { color: #fff; }
.fp-cta p { color: rgba(255,255,255,.75); }

/* ---------- İlan kartı ---------- */
.fp-listing { background: #fff; border: 1px solid var(--fp-border); border-radius: var(--fp-radius-lg); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: box-shadow .15s, border-color .15s, transform .15s; color: var(--fp-text); position: relative; }
.fp-listing:hover { box-shadow: var(--fp-shadow); border-color: var(--fp-border-strong); text-decoration: none; color: var(--fp-text); transform: translateY(-1px); }
.fp-listing.is-featured { border-color: #9fd2c4; box-shadow: 0 0 0 1px #9fd2c4 inset; }
.fp-thumb { aspect-ratio: 4 / 3; background: var(--fp-bg); position: relative; overflow: hidden; }
.fp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp-thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: #b5c2cf; background: linear-gradient(135deg, #f2f5f9 0%, #e7edf3 100%); }
.fp-thumb-badges { position: absolute; top: .6rem; left: .6rem; display: flex; gap: .3rem; flex-wrap: wrap; }
.fp-listing-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; gap: .45rem; }
.fp-listing-title { font-size: .95rem; font-weight: 600; line-height: 1.35; color: var(--fp-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; margin: 0; }
.fp-listing-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; color: var(--fp-muted); font-size: .8rem; }
.fp-listing-meta i { margin-right: .2rem; }
.fp-listing-foot { margin-top: auto; padding-top: .65rem; border-top: 1px dashed var(--fp-border); display: flex; justify-content: space-between; align-items: end; gap: .5rem; }
.fp-price { font-weight: 800; color: var(--fp-primary); font-size: 1.05rem; line-height: 1.1; }
.fp-price small { font-weight: 500; color: var(--fp-subtle); font-size: .72rem; display: block; }
.fp-price-locked { font-size: .8rem; color: var(--fp-muted); display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; }
.fp-qty { text-align: right; font-size: .8rem; color: var(--fp-muted); }
.fp-qty strong { display: block; color: var(--fp-text); font-size: .92rem; }

/* ---------- Rozetler ---------- */
.fp-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; padding: .22rem .55rem; border-radius: 6px; line-height: 1.3; white-space: nowrap; }
.fp-badge-neutral { background: #eef1f5; color: #3f4c5a; }
.fp-badge-accent { background: var(--fp-accent-50); color: var(--fp-accent-700); }
.fp-badge-primary { background: var(--fp-primary-50); color: var(--fp-primary); }
.fp-badge-warn { background: var(--fp-warn-50); color: var(--fp-warn); }
.fp-badge-danger { background: var(--fp-danger-50); color: var(--fp-danger); }
.fp-badge-solid-warn { background: #d97706; color: #fff; }
.fp-badge-solid-accent { background: var(--fp-accent); color: #fff; }
.fp-badge-white { background: rgba(255,255,255,.95); color: var(--fp-primary); box-shadow: var(--fp-shadow-sm); }

/* ---------- Listeleme sayfası ---------- */
.fp-page-head { background: #fff; border-bottom: 1px solid var(--fp-border); padding: 1.6rem 0 1.3rem; }
.fp-page-head h1 { font-size: 1.5rem; margin: 0; }
.breadcrumb { font-size: .82rem; margin-bottom: .5rem; }
.breadcrumb a { color: var(--fp-muted); }
.fp-filter { position: sticky; top: 84px; }
.fp-filter h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fp-subtle); margin: 0 0 .6rem; font-weight: 700; }
.fp-filter-group { padding: 1rem 1.1rem; border-bottom: 1px solid var(--fp-border); }
.fp-filter-group:last-child { border-bottom: 0; }
.fp-cat-link { display: flex; justify-content: space-between; padding: .32rem .5rem; border-radius: 6px; color: #334155; font-size: .88rem; }
.fp-cat-link:hover { background: var(--fp-bg); text-decoration: none; color: var(--fp-primary); }
.fp-cat-link.active { background: var(--fp-primary-50); color: var(--fp-primary); font-weight: 600; }
.fp-toolbar { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: 1rem; flex-wrap: wrap; }
.fp-seg { display: inline-flex; background: #fff; border: 1px solid var(--fp-border); border-radius: 9px; padding: 3px; }
.fp-seg a { padding: .3rem .65rem; border-radius: 6px; color: var(--fp-muted); font-size: .9rem; }
.fp-seg a.active { background: var(--fp-primary); color: #fff; }
.fp-seg a:hover { text-decoration: none; }
.fp-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; background: #fff; border: 1px solid var(--fp-border); border-radius: 20px; font-size: .8rem; color: #334155; }
.fp-chip:hover { border-color: var(--fp-danger); color: var(--fp-danger); text-decoration: none; }

.fp-table { width: 100%; background: #fff; border: 1px solid var(--fp-border); border-radius: var(--fp-radius-lg); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.fp-table th { background: #f8fafc; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--fp-subtle); font-weight: 700; padding: .7rem .9rem; border-bottom: 1px solid var(--fp-border); white-space: nowrap; }
.fp-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--fp-border); vertical-align: middle; font-size: .9rem; }
.fp-table tr:last-child td { border-bottom: 0; }
.fp-table tbody tr:hover td { background: #fafcfd; }
.fp-table-thumb { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; background: var(--fp-bg); flex-shrink: 0; }
.fp-table-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp-table-thumb .fp-thumb-ph { font-size: 1.3rem; }

.pagination { --bs-pagination-color: var(--fp-primary); --bs-pagination-active-bg: var(--fp-primary); --bs-pagination-active-border-color: var(--fp-primary); --bs-pagination-border-color: var(--fp-border); --bs-pagination-hover-bg: var(--fp-bg); }

/* ---------- İlan detay ---------- */
.fp-gallery-main { aspect-ratio: 4 / 3; max-height: 440px; width: 100%; background: var(--fp-bg); border-radius: var(--fp-radius-lg); overflow: hidden; border: 1px solid var(--fp-border); }
.fp-gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.fp-gallery-thumbs { display: flex; gap: .5rem; margin-top: .6rem; flex-wrap: wrap; }
.fp-gallery-thumbs button { width: 72px; height: 56px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--fp-bg); }
.fp-gallery-thumbs button.active { border-color: var(--fp-accent); }
.fp-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.fp-gallery-main video { width: 100%; height: 100%; background: #000; display: block; }
.fp-gallery-main video.d-none { display: none !important; }
.fp-thumb-video { display: inline-flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--fp-primary) !important; color: #fff; font-size: .7rem; font-weight: 600; }
.fp-thumb-video i { font-size: 1.2rem; }
.fp-spec { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0; border: 1px solid var(--fp-border); border-radius: 12px; overflow: hidden; background: #fff; }
.fp-spec div { padding: .8rem 1rem; border-right: 1px solid var(--fp-border); border-bottom: 1px solid var(--fp-border); margin: 0 -1px -1px 0; }
.fp-spec dt { font-size: .75rem; color: var(--fp-subtle); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .2rem; }
.fp-spec dd { margin: 0; font-weight: 600; font-size: .93rem; }
.fp-price-box { padding: 1.3rem 1.4rem; }
.fp-price-big { font-size: 1.9rem; font-weight: 800; color: var(--fp-primary); letter-spacing: -.02em; line-height: 1.1; }
.fp-desc { white-space: pre-line; line-height: 1.7; color: #2b3746; }
.fp-lock { position: relative; border-radius: 12px; overflow: hidden; }
.fp-lock-blur { filter: blur(5px); user-select: none; pointer-events: none; opacity: .7; }
.fp-lock-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem; background: rgba(255,255,255,.55); }
.fp-lock-overlay i { font-size: 1.4rem; color: var(--fp-primary); }
.fp-info-row { display: flex; gap: .7rem; padding: .5rem 0; font-size: .92rem; align-items: flex-start; }
.fp-info-row i { color: var(--fp-muted); width: 1.1rem; margin-top: .1rem; }
.fp-sticky { position: sticky; top: 84px; }

/* ---------- Panel ---------- */
.fp-panel-nav { padding: .6rem; }
.fp-panel-nav a { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border-radius: 9px; color: #334155; font-weight: 500; font-size: .93rem; }
.fp-panel-nav a i { color: var(--fp-subtle); font-size: 1.05rem; }
.fp-panel-nav a:hover { background: var(--fp-bg); text-decoration: none; color: var(--fp-primary); }
.fp-panel-nav a.active { background: var(--fp-primary-50); color: var(--fp-primary); font-weight: 600; }
.fp-panel-nav a.active i { color: var(--fp-primary); }
.fp-panel-nav .fp-nav-count { margin-left: auto; background: var(--fp-danger); color: #fff; border-radius: 10px; font-size: .7rem; font-weight: 700; padding: .05rem .45rem; }
.fp-panel-nav hr { margin: .5rem .3rem; border-color: var(--fp-border); opacity: 1; }
.fp-stat { padding: 1.1rem 1.25rem; }
.fp-stat-label { font-size: .8rem; color: var(--fp-muted); font-weight: 500; display: flex; align-items: center; gap: .4rem; }
.fp-stat-value { font-size: 1.65rem; font-weight: 800; color: var(--fp-primary); margin-top: .2rem; letter-spacing: -.02em; }
.fp-tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--fp-border); margin-bottom: 1.2rem; overflow-x: auto; }
.fp-tabs a { padding: .65rem .9rem; color: var(--fp-muted); font-weight: 600; font-size: .92rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.fp-tabs a.active { color: var(--fp-primary); border-bottom-color: var(--fp-accent); }
.fp-tabs a:hover { text-decoration: none; color: var(--fp-primary); }
.fp-empty { text-align: center; padding: 3rem 1rem; color: var(--fp-muted); }
.fp-empty i { font-size: 2.4rem; color: #c3cdd8; display: block; margin-bottom: .6rem; }
.fp-progress { height: 8px; border-radius: 4px; background: #e9eef3; overflow: hidden; }
.fp-progress > span { display: block; height: 100%; background: var(--fp-accent); border-radius: 4px; }

/* ---------- Mesajlaşma ---------- */
.fp-inbox { display: grid; grid-template-columns: 320px 1fr; min-height: 560px; }
.fp-inbox-list { border-right: 1px solid var(--fp-border); overflow-y: auto; max-height: 72vh; }
.fp-inbox-item { display: flex; gap: .7rem; padding: .85rem 1rem; border-bottom: 1px solid var(--fp-border); color: var(--fp-text); }
.fp-inbox-item:hover { background: var(--fp-bg); text-decoration: none; color: var(--fp-text); }
.fp-inbox-item.active { background: var(--fp-primary-50); }
.fp-inbox-item .title { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-inbox-item .sub { font-size: .8rem; color: var(--fp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-chat { display: flex; flex-direction: column; min-width: 0; }
.fp-chat-head { padding: .9rem 1.2rem; border-bottom: 1px solid var(--fp-border); display: flex; gap: .8rem; align-items: center; }
.fp-chat-body { flex: 1; padding: 1.2rem; overflow-y: auto; max-height: 56vh; background: #fbfcfd; display: flex; flex-direction: column; gap: .55rem; }
.fp-msg { max-width: 72%; padding: .6rem .85rem; border-radius: 12px; font-size: .92rem; line-height: 1.5; white-space: pre-line; word-wrap: break-word; }
.fp-msg time { display: block; font-size: .7rem; opacity: .65; margin-top: .25rem; }
.fp-msg-in { background: #fff; border: 1px solid var(--fp-border); align-self: flex-start; border-bottom-left-radius: 4px; }
.fp-msg-out { background: var(--fp-primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.fp-msg-sys { align-self: center; background: var(--fp-accent-50); color: var(--fp-accent-700); font-size: .8rem; font-weight: 600; border-radius: 20px; padding: .35rem .9rem; max-width: 90%; text-align: center; }
.fp-chat-form { border-top: 1px solid var(--fp-border); padding: .8rem; display: flex; gap: .5rem; align-items: flex-end; }
.fp-chat-form textarea { resize: none; }
.fp-offer-strip { padding: .75rem 1.2rem; border-bottom: 1px solid var(--fp-border); background: #fff; }

/* ---------- Ödeme ---------- */
.fp-pay-card { background: linear-gradient(135deg, var(--fp-primary) 0%, #1d4a72 100%); color: #fff; border-radius: 14px; padding: 1.3rem; aspect-ratio: 1.6 / 1; max-width: 340px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--fp-shadow); }
.fp-pay-card .num { font-size: 1.2rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.fp-package { cursor: pointer; display: block; height: 100%; }
.fp-package input { position: absolute; opacity: 0; }
.fp-package .fp-card { height: 100%; transition: border-color .15s, box-shadow .15s; }
.fp-package input:checked + .fp-card { border-color: var(--fp-accent); box-shadow: 0 0 0 2px var(--fp-accent) inset; }

/* ---------- Footer ---------- */
.fp-footer { background: var(--fp-primary); color: rgba(255,255,255,.7); padding: 3rem 0 1.5rem; margin-top: 4rem; font-size: .9rem; flex-shrink: 0; }
.fp-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .9rem; }
.fp-footer a { color: rgba(255,255,255,.75); display: block; padding: .2rem 0; }
.fp-footer a:hover { color: #fff; }
.fp-footer .fp-brand { color: #fff; }
.fp-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .8rem; }

/* ---------- Yetki/Auth ---------- */
.fp-auth { max-width: 460px; margin: 3rem auto; }
.fp-auth-wide { max-width: 860px; }
.fp-prose h2 { font-size: 1.15rem; margin-top: 1.8rem; }
.fp-prose p, .fp-prose li { color: #334155; line-height: 1.75; }

@media (max-width: 991.98px) {
  .fp-inbox { grid-template-columns: 1fr; }
  .fp-inbox-list { max-height: 240px; border-right: 0; border-bottom: 1px solid var(--fp-border); }
  .fp-filter, .fp-sticky { position: static; }
  .fp-search { flex-wrap: wrap; }
  .fp-search .form-select { max-width: none; border-left: 0; border-top: 1px solid var(--fp-border); }
}
@media (max-width: 575.98px) {
  .fp-hero { padding: 2.4rem 0; }
  .fp-msg { max-width: 88%; }
}
