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

/* Bootstrap 5 uyumu: Bootstrap'in reboot kuralları tasarımın boşluklarını bozmasın diye sıfırlanır.
   Bu kurallar dosyanın başında durur, böylece aşağıdaki sınıf kuralları her zaman kazanır. */
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: inherit; color: inherit; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
dt { font-weight: inherit; }
a:hover { color: inherit; }
code { color: var(--violet); }

:root {
  --bg: #fbfaff;
  --surface: #ffffff;
  --ink: #1b1730;
  --muted: #6b6880;
  --line: #ebe8f2;
  --soft: #f4f2f8;
  --brand: #1f6fe0;
  --violet: #7c5cf5;
  --peach: #f0886a;
  --ok: #138a52;
  --danger: #c2392f;
  --grad: linear-gradient(100deg, #1f6fe0 0%, #7c5cf5 52%, #f0886a 100%);
  --shadow: 0 1px 2px rgba(27, 23, 48, .04), 0 14px 36px -14px rgba(27, 23, 48, .16);
  --shadow-lg: 0 2px 6px rgba(27, 23, 48, .05), 0 30px 60px -24px rgba(27, 23, 48, .28);
  --radius: 18px;
  --radius-lg: 26px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(42rem 30rem at -6% -4%, #e9e2ff 0%, rgba(233, 226, 255, 0) 70%),
    radial-gradient(40rem 30rem at 104% 6%, #ffe6da 0%, rgba(255, 230, 218, 0) 70%),
    var(--bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; width: 100%; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.prewrap { white-space: pre-line; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow-light { background: none; color: rgba(255, 255, 255, .85); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Butonlar Bootstrap'in .btn sınıfını kullanır; renkler Bootstrap'in --bs-btn-* değişkenleriyle verilir,
   böylece Bootstrap'in hover/active kuralları da aynı renkleri kullanır. */
.btn {
  --bs-btn-color: var(--ink); --bs-btn-bg: transparent; --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--bs-btn-color); --bs-btn-hover-bg: var(--bs-btn-bg); --bs-btn-hover-border-color: var(--bs-btn-border-color);
  --bs-btn-active-color: var(--bs-btn-hover-color); --bs-btn-active-bg: var(--bs-btn-hover-bg); --bs-btn-active-border-color: var(--bs-btn-hover-border-color);
  --bs-btn-disabled-color: var(--bs-btn-color); --bs-btn-disabled-bg: var(--bs-btn-bg); --bs-btn-disabled-border-color: var(--bs-btn-border-color);
  --bs-btn-focus-box-shadow: 0 0 0 4px rgba(124, 92, 245, .22);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1px solid var(--bs-btn-border-color);
  color: var(--bs-btn-color); background-color: var(--bs-btn-bg);
  font-family: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background-color .15s, border-color .15s, color .15s;
}
.btn .bi { font-size: 1.05em; }
.btn-sm { height: 40px; padding: 0 18px; font-size: .9rem; border-radius: 10px; }
.btn-xs { height: 32px; padding: 0 12px; font-size: .8rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-grad { --bs-btn-color: #fff; background-image: var(--grad); box-shadow: 0 10px 24px -10px rgba(124, 92, 245, .7); }
.btn-grad:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(124, 92, 245, .8); }
.btn-outline { --bs-btn-bg: var(--surface); --bs-btn-border-color: var(--line); --bs-btn-hover-border-color: #cfc9de; }
.btn-dark { --bs-btn-color: #fff; --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-hover-bg: #2c2647; --bs-btn-hover-border-color: #2c2647; }
.btn-text { --bs-btn-hover-color: var(--violet); height: 40px; padding: 0 12px; }
.btn-xs.btn-text { height: 32px; }
.btn-white { --bs-btn-bg: #fff; }
.btn-white:hover { transform: translateY(-1px); }
.btn-outline-light { --bs-btn-color: #fff; --bs-btn-bg: rgba(255, 255, 255, .08); --bs-btn-border-color: rgba(255, 255, 255, .55); --bs-btn-hover-bg: rgba(255, 255, 255, .16); }
.btn-danger-text { --bs-btn-color: var(--danger); --bs-btn-hover-bg: #fdecea; }
.btn-danger-solid { --bs-btn-color: #fff; --bs-btn-bg: var(--danger); --bs-btn-border-color: var(--danger); --bs-btn-hover-bg: #a52f26; --bs-btn-hover-border-color: #a52f26; }

.topbar { position: sticky; top: 12px; z-index: 50; padding: 0 16px; margin-top: 12px; }
.nav-pill {
  position: relative;
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  height: 64px; padding: 0 12px 0 20px;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  box-shadow: 0 8px 30px -10px rgba(27, 23, 48, .14);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0 auto; }
.site-nav ul a {
  display: block; padding: 8px 14px; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: background-color .15s, color .15s;
}
.site-nav ul a:hover { color: var(--ink); background: rgba(27, 23, 48, .05); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-user { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); padding: 0 6px; white-space: nowrap; }
.nav-user .bi { color: var(--violet); font-size: 1.1rem; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span:not(.sr) { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s; }

.flash {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; padding: 12px 16px; border-radius: 12px;
  font-size: .92rem; font-weight: 600;
}
.flash-ok { background: #e8f7ef; color: var(--ok); border: 1px solid #c9ecd9; }
.flash-err { background: #fdecea; color: var(--danger); border: 1px solid #f6cfca; }

.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.hero h1 {
  margin: 14px 0 20px;
  font-size: clamp(2.5rem, 5vw, 4.1rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800;
  text-wrap: balance;
}
.lead { font-size: 1.08rem; font-weight: 400; color: var(--muted); max-width: 31rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .85rem; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .bi {
  display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: #eae4ff; color: var(--violet); font-size: .8rem;
}

.hero-stage { position: relative; height: 560px; }
.ba-card {
  position: absolute; top: 34px; left: 50%; transform: translateX(-50%);
  width: 310px; padding: 8px;
  background: var(--surface); border-radius: 30px; box-shadow: var(--shadow-lg);
}
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 23px; background: #e9e4f2;
  user-select: none; -webkit-user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  display: grid; place-items: center;
  border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  color: var(--ink); font-size: 1rem;
}
.ba-tag {
  position: absolute; top: 12px;
  padding: 4px 10px; border-radius: 99px;
  font-size: .72rem; font-weight: 600; color: #fff;
  background: rgba(27, 23, 48, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-tag-left { left: 12px; }
.ba-tag-right { right: 12px; }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 600px; }
.ba-range::-moz-range-thumb { width: 56px; height: 600px; border: 0; }
.ba:has(.ba-range:focus-visible) .ba-knob { outline: 2px solid var(--violet); outline-offset: 3px; }

.rating-pill {
  position: absolute; top: 0; left: calc(50% + 30px);
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 99px;
  background: var(--surface); box-shadow: var(--shadow);
  font-size: .8rem; font-weight: 600; white-space: nowrap;
}
.stars { color: #f5a524; letter-spacing: 1px; }
.stars-off { color: #ddd8e6; }

.msg-card {
  position: absolute; bottom: 8px; left: calc(50% - 250px);
  width: 290px; padding: 16px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.msg-head { display: flex; align-items: center; gap: 10px; }
.msg-head strong { display: block; font-size: .88rem; line-height: 1.2; }
.msg-head span:not(.avatar) { font-size: .74rem; color: var(--muted); }
.offer-mini {
  display: flex; align-items: baseline; gap: 10px;
  margin: 12px 0; padding: 10px 12px; border-radius: 12px;
  background: #f4f0ff; font-size: .8rem; color: var(--muted);
}
.offer-mini-price { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.msg-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.msg-meta { font-size: .74rem; color: var(--muted); }

.tile {
  position: absolute; width: 128px; padding: 5px;
  background: var(--surface); border-radius: 20px; box-shadow: var(--shadow);
}
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 15px; }
.tile .chip {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  padding: 4px 10px; border-radius: 99px; white-space: nowrap;
  font-size: .7rem; font-weight: 600; color: var(--violet);
  background: #f2eeff; border: 1px solid #e4dcff;
}
.tile-a { top: 90px; left: 0; transform: rotate(-4deg); }
.tile-b { top: 70px; right: 6px; width: 112px; transform: rotate(5deg); }
.tile-c { bottom: 60px; right: 0; width: 140px; transform: rotate(-3deg); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 960px; margin: 24px auto 0; padding: 12px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.stat { display: flex; flex-direction: column-reverse; align-items: center; padding: 22px 12px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat dd { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat dt { margin-top: 6px; font-size: .86rem; color: var(--muted); font-weight: 500; }

.section { padding: 110px 0 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 {
  margin-top: 8px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 800;
  text-wrap: balance;
}
.section-sub { margin-top: 12px; color: var(--muted); }

.card {
  color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-title { font-size: 1.05rem; font-weight: 700; padding: 18px 20px 6px; margin: 0; }

.icon-tile {
  display: grid; place-items: center; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 13px;
  background: #f1edff; color: var(--violet); font-size: 1.3rem;
}
.icon-tile-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(124, 92, 245, .7); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 28px; }
.step-no { display: block; margin-top: 22px; font-size: .78rem; font-weight: 700; color: var(--violet); }
.step h3 { margin: 4px 0 8px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: .94rem; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; padding: 24px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service h3 { margin: 18px 0 6px; font-size: 1.05rem; font-weight: 700; }
.service p { color: var(--muted); font-size: .92rem; }
.price {
  align-self: flex-start; margin-top: 18px;
  padding: 5px 12px; border-radius: 99px;
  font-size: .8rem; font-weight: 700; color: var(--brand); background: #eaf2ff;
}

.editors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.editor { overflow: hidden; transition: transform .2s, box-shadow .2s; }
.editor:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 200px; padding: 6px 6px 0; }
.gallery-cell { display: block; overflow: hidden; border-radius: 12px; background: #efecf5; }
.gallery-cell:first-child { grid-row: span 2; }
.gallery-cell:only-child { grid-column: span 2; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .3s; }
.gallery-cell:hover img { transform: scale(1.04); }
.editor-body { padding: 18px 20px 20px; }
.editor-id { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.editor-id h3 { font-size: 1rem; font-weight: 700; line-height: 1.25; }
.handle { font-size: .8rem; color: var(--muted); }
.rating { padding: 4px 10px; border-radius: 99px; background: #fff6e5; color: #a8650a; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.avatar {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: #eaf2ff; color: var(--brand);
  font-weight: 800; font-size: .82rem;
}
.avatar-sm { width: 30px; height: 30px; font-size: .7rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li { padding: 4px 10px; border-radius: 8px; background: var(--soft); color: var(--muted); font-size: .76rem; font-weight: 600; }

.cta {
  position: relative; overflow: hidden;
  margin: 120px 0 80px; padding: 72px 32px;
  border-radius: 30px; text-align: center; color: #fff;
  background:
    radial-gradient(30rem 20rem at 85% 120%, rgba(255, 190, 150, .55), transparent 70%),
    radial-gradient(28rem 18rem at 10% -20%, rgba(120, 170, 255, .5), transparent 70%),
    linear-gradient(115deg, #3a5ee8 0%, #7c5cf5 50%, #e57f7a 100%);
  box-shadow: 0 30px 60px -30px rgba(124, 92, 245, .6);
}
.cta h2 { margin: 8px 0 12px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.cta p { max-width: 30rem; margin: 0 auto; color: rgba(255, 255, 255, .85); }
.cta .actions { justify-content: center; }

.page-head { padding: 48px 24px 28px; }
.page-head h1 { margin-top: 6px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.page-head .muted { margin-top: 6px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.filters { display: grid; grid-template-columns: minmax(0, 1fr) 200px 170px auto; gap: 10px; padding: 10px; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; background: var(--soft); }
.search-field .bi { color: var(--muted); }
.search-field input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; outline: none; }
.filters select {
  height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip-link {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff;
  font-size: .84rem; font-weight: 600; color: var(--muted); text-decoration: none;
}
.chip-link:hover { color: var(--ink); border-color: #d9d4e5; }
.chip-link.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 18px; }
.listing-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.listing-cover { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.listing-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cover-empty { display: grid; place-items: center; width: 100%; height: 100%; min-height: 200px; color: #c7c1d6; font-size: 2.6rem; }
.cover-chip {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(255, 255, 255, .92); font-size: .72rem; font-weight: 700; color: var(--ink);
}
.cover-chip.static { position: static; background: #f1edff; color: var(--violet); }
.listing-body { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 18px; flex: 1; }
.listing-body h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.listing-editor { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); }
.listing-editor-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.price-tag { font-size: 1.15rem; font-weight: 800; }
.price-tag small { font-size: .72rem; font-weight: 600; color: var(--muted); }
.delivery { font-size: .8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }

.empty { max-width: 560px; margin: 24px auto; padding: 48px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty h1, .empty h2 { font-size: 1.3rem; font-weight: 800; margin-top: 8px; }
.empty .actions { margin-top: 10px; justify-content: center; }
.empty .btn { margin-top: 8px; }

.detail { padding-top: 28px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .bi { font-size: .7rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 20px; }
.detail-cover { overflow: hidden; padding: 8px; }
.detail-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; }
.detail-text { padding: 24px; }
.detail-text h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.detail-text p { color: #3c3852; }
.review-list { list-style: none; display: flex; flex-direction: column; }
.review-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.review-list li:first-child { border-top: 0; padding-top: 4px; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review-list p { margin-top: 4px; font-size: .94rem; }
.detail-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.side-card { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.side-card h1 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 800; }
.side-card .cover-chip.static { align-self: flex-start; }
.side-price { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.side-price small { font-size: .78rem; color: var(--muted); font-weight: 600; }
.side-price strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.side-facts { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: .88rem; color: var(--muted); }
.side-facts .bi { color: var(--violet); margin-right: 6px; }
.side-bio { font-size: .9rem; color: var(--muted); }
.side-title { font-size: .95rem; font-weight: 700; }
.mini-listings { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mini-listings a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mini-listings img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mini-listings strong { display: block; font-size: .86rem; line-height: 1.3; }
.mini-listings small { font-size: .78rem; color: var(--muted); }
.mini-listings a:hover strong { color: var(--violet); }

.auth { padding-top: 36px; padding-bottom: 60px; }
.auth-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; max-width: 980px; margin: 0 auto; }
.auth-form { padding: 44px 44px 36px; }
.auth-form h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; }
.auth-form > .muted { margin: 6px 0 24px; }
.auth-switch { margin-top: 20px; font-size: .9rem; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--violet); font-weight: 700; text-decoration: none; }
.auth-art { position: relative; min-height: 520px; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(27, 23, 48, .75)); }
.auth-quote { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 1; color: #fff; }
.auth-quote p { font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
.auth-quote span { font-size: .82rem; opacity: .8; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 700; }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; padding: 0 14px; height: 48px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 92, 245, .14); }
.field input.input-validation-error, .field select.input-validation-error, .field textarea.input-validation-error { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 14px; }
.field-error { font-size: .8rem; color: var(--danger); font-weight: 600; }
.field-error:empty { display: none; }
.form-errors ul { list-style: none; }
.form-errors.validation-summary-errors { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: #fdecea; color: var(--danger); font-size: .88rem; font-weight: 600; }
.check { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--violet); }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.role-option { position: relative; cursor: pointer; }
.role-option input { position: absolute; opacity: 0; pointer-events: none; }
.role-option > span {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 14px; border: 1.5px solid var(--line); border-radius: 14px;
  transition: border-color .15s, background-color .15s;
}
.role-option .bi { font-size: 1.3rem; color: var(--violet); margin-bottom: 4px; }
.role-option strong { font-size: .95rem; }
.role-option small { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.role-option input:checked + span { border-color: var(--violet); background: #f6f3ff; }
.role-option input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.form-card { padding: 28px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.cover-field { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px dashed #d6d0e3; border-radius: 12px; background: var(--soft); }
.cover-field img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.cover-field input { font-size: .85rem; min-width: 0; }

.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; }
.mini-stat { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.mini-stat span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.mini-stat strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }

.table-card { overflow-x: auto; }
.table { --bs-table-bg: transparent; --bs-table-color: var(--ink); width: 100%; margin: 0; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; padding: 12px 16px; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table-listing { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; min-width: 220px; }
.table-listing img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.table-listing:hover span { color: var(--violet); }
.table-user { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.table-actions { white-space: nowrap; text-align: right; }
.table-actions form { display: inline-block; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.badge-ok { background: #e8f7ef; color: var(--ok); }
.badge-off { background: #f2f0f5; color: var(--muted); }
.badge-role { background: #f1edff; color: var(--violet); }
.status { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.status-open { background: #fff6e5; color: #a8650a; }
.status-agreed { background: #eaf2ff; color: var(--brand); }
.status-completed { background: #e8f7ef; color: var(--ok); }

.tabs { display: flex; gap: 6px; margin-bottom: 20px; overflow-x: auto; }
.tabs a {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 9px 16px; border-radius: 12px; font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: none;
}
.tabs a:hover { color: var(--ink); background: rgba(27, 23, 48, .04); }
.tabs a.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.user-list { list-style: none; padding: 6px 20px 14px; }
.user-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.user-list li:last-child { border-bottom: 0; }
.user-list-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.user-list-main strong { font-size: .88rem; }
.user-list-main small { font-size: .76rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.inbox { overflow: hidden; }
.inbox-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .15s; }
.inbox-row:last-child { border-bottom: 0; }
.inbox-row:hover { background: #faf9fd; }
.inbox-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.inbox-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.inbox-top strong { font-size: .95rem; }
.inbox-top time { font-size: .75rem; color: var(--muted); flex-shrink: 0; }
.inbox-listing { font-size: .78rem; color: var(--violet); font-weight: 600; }
.inbox-preview { font-size: .86rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chat-page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; padding-top: 28px; padding-bottom: 48px; align-items: start; }
.chat { display: flex; flex-direction: column; height: calc(100vh - 140px); min-height: 520px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-back { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--muted); text-decoration: none; }
.chat-back:hover { background: var(--soft); color: var(--ink); }
.chat-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.chat-who strong { font-size: .95rem; }
.chat-who a { font-size: .8rem; color: var(--violet); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-stream { flex: 1; overflow-y: auto; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; background: #fcfbfe; }
.chat-empty { margin: auto; max-width: 340px; text-align: center; color: var(--muted); font-size: .9rem; }
.bubble-row { display: flex; }
.bubble-row.mine { justify-content: flex-end; }
.bubble {
  max-width: min(440px, 80%); padding: 10px 14px 6px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
}
.bubble-row.theirs .bubble { border-bottom-left-radius: 6px; }
.bubble-row.mine .bubble { background: var(--ink); border-color: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.bubble p { font-size: .92rem; white-space: pre-line; overflow-wrap: anywhere; }
.bubble time { display: block; margin-top: 2px; font-size: .68rem; opacity: .6; text-align: right; }
.bubble-photo { display: block; margin: -4px -8px 8px; }
.bubble-photo img { width: 260px; max-width: 100%; border-radius: 12px; }
.offer {
  align-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 240px; padding: 16px 22px; margin: 6px 0;
  border-radius: 18px; background: #fff; border: 1.5px dashed #d8cffb; text-align: center;
}
.offer.is-accepted { border-style: solid; border-color: #bfe6d1; background: #f3fbf7; }
.offer-label { font-size: .76rem; font-weight: 700; color: var(--violet); }
.offer-price { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.offer-state { font-size: .8rem; font-weight: 600; color: var(--muted); }
.offer-state.ok { color: var(--ok); }
.offer-state.off { text-decoration: line-through; }
.offer time { font-size: .68rem; color: var(--muted); }
.chat-tools { display: flex; flex-direction: column; gap: 8px; padding: 0 18px; }
.chat-tools:not(:empty) { padding-top: 12px; }
.tool-row, .rate-form {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 10px 12px; border-radius: 14px; background: var(--soft);
}
.tool-row label, .tool-text { font-size: .85rem; font-weight: 600; flex: 1; min-width: 160px; }
.tool-row .bi, .tool-text .bi { color: var(--violet); margin-right: 4px; }
.offer-input { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.offer-input input { width: 90px; border: 0; outline: none; font-weight: 700; background: none; }
.tool-hint { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: #f6f3ff; color: #4b4566; font-size: .84rem; }
.tool-hint .bi { color: var(--violet); }
.tool-hint.ok { background: #f3fbf7; }
.stars-input { display: inline-flex; flex-direction: row-reverse; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 1.5rem; line-height: 1; color: #d9d4e4; cursor: pointer; padding: 0 2px; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: #f5a524; }
.stars-input input:focus-visible + label { outline: 2px solid var(--violet); border-radius: 4px; }
.rate-comment { flex: 1; min-width: 160px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.composer { display: flex; align-items: flex-end; gap: 10px; padding: 14px 18px 16px; }
.attach {
  position: relative; display: grid; place-items: center; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: 1.2rem; cursor: pointer;
}
.attach:hover { border-color: var(--violet); color: var(--violet); }
.attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.attach.is-disabled { opacity: .45; cursor: not-allowed; }
.attach.is-disabled input { cursor: not-allowed; }
.composer-field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.attach-name:empty { display: none; }
.attach-name { align-self: flex-start; padding: 3px 10px; border-radius: 99px; background: #f1edff; color: var(--violet); font-size: .75rem; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.composer textarea {
  width: 100%; min-height: 46px; max-height: 160px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 12px; resize: none; line-height: 1.45; background: #fff;
}
.composer textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 92, 245, .14); }
.composer-send { width: 46px; height: 46px; padding: 0; flex-shrink: 0; }
.chat-side { padding: 16px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.chat-side-cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.chat-side h3 { font-size: .98rem; font-weight: 700; line-height: 1.35; }
.deal { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--soft); }
.deal div { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; }
.deal dt { color: var(--muted); }
.deal dd { font-weight: 700; }
.deal-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: .84rem; color: var(--muted); }
.deal-steps li { display: flex; align-items: center; gap: 8px; }
.deal-steps li.done { color: var(--ink); font-weight: 600; }
.deal-steps li.done .bi { color: var(--ok); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; margin-top: 60px; font-size: .86rem; color: var(--muted); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* ---------------------------------------------------------------------------
   PHP sürümünde eklenen bölümler
   --------------------------------------------------------------------------- */

a.nav-user { text-decoration: none; border-radius: 10px; padding: 8px 10px; }
a.nav-user:hover { background: rgba(27, 23, 48, .05); }

.flash { position: relative; margin-bottom: 0; }
.flash.alert-dismissible { padding-right: 48px; }
.flash .btn-close { padding: 0; top: 50%; right: 14px; width: 12px; height: 12px; transform: translateY(-50%); }

.icon-tile-danger { background: #fdecea; color: var(--danger); }
.modal-content { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal-body { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 28px 8px; text-align: center; }
.confirm-title { font-size: 1.2rem; font-weight: 800; margin-top: 4px; }
.modal-footer { justify-content: center; gap: 8px; border-top: 0; padding: 12px 28px 28px; }
.modal-footer > * { margin: 0; }

.form-check-input:checked { background-color: var(--violet); border-color: var(--violet); }
.form-check-input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 92, 245, .14); }
.switches { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 4px 0 18px; }
.switches .form-check { display: flex; align-items: center; gap: 10px; padding-left: 0; margin: 0; font-size: .9rem; font-weight: 600; }
.switches .form-check-input { margin: 0; width: 2.4em; height: 1.3em; float: none; cursor: pointer; }
.switches .form-check-label { cursor: pointer; }
.field-hint { font-size: .8rem; color: var(--muted); }
.form-errors { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: #fdecea; color: var(--danger); font-size: .88rem; font-weight: 600; }
.form-errors ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--danger); }
.form-section { font-size: 1.05rem; font-weight: 700; margin: 6px 0 14px; }
.form-card + .form-card { margin-top: 20px; }

.media-field { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px dashed #d6d0e3; border-radius: 12px; background: var(--soft); }
.media-field input[type=file] { font-size: .85rem; min-width: 0; }
.media-preview { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.media-preview img { width: 96px; height: 72px; border-radius: 10px; object-fit: cover; }
.media-preview video { width: 160px; border-radius: 10px; background: #000; }
.media-preview .form-check { display: flex; align-items: center; gap: 8px; padding-left: 0; margin: 0; min-height: 0; font-size: .85rem; font-weight: 500; color: var(--muted); cursor: pointer; }
.media-preview .form-check-input { margin: 0; float: none; }

.video-frame { width: 100%; max-height: 520px; border-radius: 12px; background: #000; display: block; }
.ratio { border-radius: 12px; overflow: hidden; background: #000; }
.ratio iframe { border: 0; }

.section-foot { display: flex; justify-content: center; margin-top: 28px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.content-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.content-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.content-cover { position: relative; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.content-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.content-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.content-body time { font-size: .76rem; color: var(--muted); font-weight: 600; }
.content-body h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.content-body p { font-size: .9rem; color: var(--muted); }
.link-more { margin-top: auto; padding-top: 6px; font-size: .85rem; font-weight: 700; color: var(--violet); }

.article { max-width: 820px; padding-top: 28px; }
.article-head h1 { margin: 6px 0 8px; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .85rem; color: var(--muted); }
.article-media { margin-top: 24px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.article-media img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 12px; }
.article-body { margin-top: 24px; padding: 28px; }
.article-body p { color: #3c3852; font-size: 1.02rem; }
.article-body p + p { margin-top: 14px; }

.detail-video { padding: 8px; }
.detail-video h2 { font-size: 1.05rem; font-weight: 700; padding: 10px 12px 12px; }

.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px; margin-bottom: 22px; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.2rem; }
.profile-head h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.profile-head .muted { font-size: .88rem; }
.profile-head .actions { margin: 0 0 0 auto; }
.subhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.subhead h2 { font-size: 1.1rem; font-weight: 800; }
.subhead a { font-size: .85rem; font-weight: 700; color: var(--violet); text-decoration: none; }

.table-actions .btn + .btn, .table-actions form + form, .table-actions .btn + form, .table-actions form + .btn { margin-left: 4px; }
.table-sub { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; }
.badge-video { background: #eaf2ff; color: var(--brand); }

/* Canlı sohbet */
/* Kırmızı bildirim rozeti: "Mesajlar"ın sağ üst köşesinde, beyaz halkalı */
.site-nav ul a.has-badge { position: relative; }
.nav-badge {
  position: absolute; top: -2px; right: -4px;
  display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 99px; border: 2px solid #fff;
  background: #e5322d; color: #fff; font-size: .68rem; font-weight: 800; line-height: 1;
  box-shadow: 0 2px 6px rgba(229, 50, 45, .45);
}
.nav-badge.bump { animation: badge-bump .45s ease-out; }
@keyframes badge-bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Yeni mesaj bildirimi (toast) */
.toast-container { z-index: 1080; }
.msg-toast { width: 340px; max-width: calc(100vw - 32px); border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.msg-toast .toast-body { display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 10px 16px; }
.msg-toast .toast-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.msg-toast .toast-kicker { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: #e5322d; }
.msg-toast strong { font-size: .92rem; }
.msg-toast .toast-listing { font-size: .74rem; color: var(--violet); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-toast .toast-preview { margin-top: 4px; font-size: .86rem; color: #3c3852; overflow-wrap: anywhere; }
.msg-toast .btn-close { flex-shrink: 0; width: 10px; height: 10px; margin-top: 2px; }
.msg-toast .toast-actions { display: flex; gap: 8px; padding: 0 16px 14px 68px; }
.inbox-meta { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.unread-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 99px; background: var(--violet); color: #fff; font-size: .7rem; font-weight: 800;
}
.inbox-row.is-unread { background: #faf8ff; }
.inbox-row.is-unread .inbox-top strong, .inbox-row.is-unread .inbox-preview { color: var(--ink); font-weight: 700; }
.chat-live { display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 18px 0; font-size: .72rem; font-weight: 600; color: var(--muted); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(19, 138, 82, .15); }
.chat-live.is-offline .live-dot { background: #c9c4d6; box-shadow: none; }
.chat-error { margin: 10px 18px 0; padding: 8px 12px; border-radius: 10px; background: #fdecea; color: var(--danger); font-size: .84rem; font-weight: 600; }
.bubble-row.is-new, .offer.is-new { animation: msg-in .25s ease-out; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* E-posta doğrulama */
.badge-warn { background: #fff6e5; color: #a8650a; }
.verify-card .auth-form > .icon-tile { margin-bottom: 14px; }
.code-input { font-size: 1.6rem !important; font-weight: 800; letter-spacing: .5em; text-align: center; height: 60px !important; }
.verify-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.verify-actions .btn-text { padding: 0 6px; }

.setup-log { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.setup-log li { display: flex; gap: 10px; align-items: baseline; }
.setup-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }

@media (max-width: 1020px) {
  .content-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .content-grid { grid-template-columns: 1fr; }
  .article-body { padding: 20px; }
  .profile-head .actions { margin: 0; }
}

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; }
  .lead { margin: 0 auto; }
  .hero .actions, .checks { justify-content: center; }
  .hero-stage { max-width: 640px; width: 100%; margin: 0 auto; }
  .services, .editors, .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .chat-page { grid-template-columns: 1fr; }
  .chat-side { position: static; order: -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .chat-side-cover { width: 64px; height: 64px; aspect-ratio: auto; }
  .chat-side h3 { flex: 1; min-width: 180px; }
  .chat-side .deal, .chat-side .deal-steps { flex-basis: 100%; }
  .chat-side .deal-steps { display: none; }
  .admin-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 10px;
    background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  }
  .topbar.is-open .site-nav { display: flex; }
  .topbar.is-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .topbar.is-open .nav-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav ul { flex-direction: column; gap: 2px; margin: 0; }
  .site-nav ul a { padding: 12px 14px; font-size: 1rem; color: var(--ink); }
  .nav-badge { top: 50%; right: 14px; transform: translateY(-50%); }
  .nav-badge.bump { animation: none; }
  .nav-actions { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); justify-content: space-between; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .auth-card { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}

@media (max-width: 600px) {
  .hero { padding-top: 40px; }
  .hero-stage { height: auto; padding: 44px 0 150px; }
  .tile { display: none; }
  .ba-card { position: relative; top: 0; left: 0; transform: none; width: min(300px, 100%); margin: 0 auto; }
  .rating-pill { top: 0; left: auto; right: 50%; transform: translateX(50%); }
  .msg-card { left: 50%; transform: translateX(-50%); bottom: 0; width: min(300px, 94%); }
  .services, .editors, .listing-grid { grid-template-columns: 1fr; }
  .stat dd { font-size: 1.7rem; }
  .section { padding-top: 80px; }
  .cta { margin: 80px 0 56px; padding: 56px 22px; border-radius: 24px; }
  .footer-row { flex-direction: column; text-align: center; }
  .page-head { padding: 32px 16px 20px; }
  .wrap { padding: 0 16px; }
  .filters { grid-template-columns: 1fr; }
  .auth-form { padding: 28px 22px; }
  .role-pick { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .chat { height: calc(100vh - 110px); border-radius: 14px; }
  .chat-stream { padding: 14px 12px; }
  .composer { padding: 10px 12px 12px; }
  .chat-tools { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
