/* ============================================================
   Halı Yıkat — Marketplace Mock
   Kurumsal palette · Getir / Yemeksepeti / Sahibinden ruhu
   ============================================================ */
:root {
  --primary: #FF6B00;          /* Daha doygun, kurumsal turuncu */
  --primary-dark: #E55A00;
  --primary-light: #FFF1E6;
  --primary-tint: #FFE4D1;
  --navy: #0B2545;             /* Daha koyu, ciddi lacivert */
  --navy-soft: #1B365D;
  --ink: #13283F;
  --ink-2: #3A4F66;
  --ink-3: #6B7A8C;
  --line: #E3E8EF;
  --line-soft: #EEF2F7;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;          /* Hafif gri — sahibinden tarzı */
  --bg-card: #FFFFFF;
  --success: #00A862;
  --success-soft: #E6F7EF;
  --warning: #F2A900;
  --warning-soft: #FFF6E0;
  --danger: #E11D48;
  --danger-soft: #FEE7EC;
  --info: #0073E6;
  --info-soft: #E5F2FF;

  --shadow-xs: 0 1px 2px rgba(11, 37, 69, 0.04);
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.06), 0 1px 2px rgba(11, 37, 69, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 37, 69, 0.12);
  --shadow-xl: 0 24px 56px rgba(11, 37, 69, 0.18);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --max-w: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--ink); }
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; }
h2 { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.18; margin-bottom: 10px; }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 600; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.hidden { display: none !important; }
.row { display: flex; align-items: center; gap: 12px; }

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  font-weight: 600; font-size: 14px; line-height: 1;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-outline:hover { border-color: var(--ink-3); }
.btn-ghost { color: var(--ink-2); padding: 10px 14px; }
.btn-ghost:hover { color: var(--primary); background: var(--primary-light); }
.btn-block { display: flex; width: 100%; padding: 14px 20px; font-size: 15px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-soft); }

/* ============== Nav ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--navy);
}
.nav-brand .logo-mark {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 9px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-family: var(--font-head); font-size: 15px;
  letter-spacing: -0.04em;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: 8px;
  transition: color .15s, background .15s;
  font-size: 14px;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; padding: 8px; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px; gap: 4px;
  }
}

/* ============== Trust bar (above hero) ============== */
.trustbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 13px;
  color: var(--ink-2);
}
.trustbar-inner {
  display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap;
}
.trustbar-item { display: inline-flex; align-items: center; gap: 6px; }
.trustbar-item .ico { color: var(--success); font-weight: 800; }

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: 64px 0 90px;
  background:
    radial-gradient(ellipse 800px 400px at 80% 0%, var(--primary-tint) 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 22px;
  box-shadow: var(--shadow-xs);
}
.hero-badge .dot {
  width: 7px; height: 7px; background: var(--success); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 168, 98, 0.18);
}
.hero h1 span { color: var(--primary); }
.hero-sub { font-size: 18px; color: var(--ink-2); margin: 18px 0 28px; max-width: 540px; line-height: 1.5; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 18px; margin-top: 32px;
  font-size: 13px; color: var(--ink-3);
}
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff;
  background: linear-gradient(135deg, #FFB68A, #FF8A3D);
  margin-left: -10px;
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-stars { color: var(--ink); font-weight: 700; }

/* hero phone mockup */
.hero-mock { position: relative; display: flex; justify-content: center; }
.phone {
  width: 290px; height: 580px;
  background: var(--navy);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 32px 64px rgba(11, 37, 69, 0.24), 0 4px 16px rgba(11, 37, 69, 0.12);
  position: relative;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #F8FAFC;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px; background: var(--navy); border-radius: 12px;
  z-index: 2;
}
.phone-status {
  padding: 16px 22px 6px; display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 600; color: var(--navy);
}
.phone-content { padding: 14px 14px; flex: 1; overflow: hidden; }
.phone-map {
  height: 220px; border-radius: 14px;
  background: var(--bg-soft);
  position: relative; overflow: hidden;
}
.phone-map::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,37,69,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,37,69,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.phone-map::after {
  content: ''; position: absolute; left: 10%; top: 80%; width: 80%; height: 2px;
  background: var(--primary); border-radius: 2px; opacity: 0.4;
  transform: rotate(-25deg) translateY(-40px);
}
.phone-map .pin {
  position: absolute; width: 26px; height: 26px;
  background: var(--primary); border-radius: 50%;
  border: 3px solid #fff; box-shadow: var(--shadow-md);
  display: grid; place-items: center; color: #fff; font-size: 12px;
  z-index: 2;
}
.phone-map .pin.p1 { top: 22%; left: 28%; }
.phone-map .pin.p2 { top: 50%; left: 58%; background: var(--info); }
.phone-map .pin.user {
  background: var(--navy);
  animation: pulse-user 1.6s infinite;
  top: 70%; left: 22%;
}
@keyframes pulse-user {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11,37,69,0.4), var(--shadow-md); }
  50% { box-shadow: 0 0 0 12px rgba(11,37,69,0), var(--shadow-md); }
}

.phone-card {
  margin-top: 12px;
  padding: 12px 14px; background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; align-items: center; gap: 12px;
}
.phone-card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center; font-size: 18px;
}
.phone-card-title { font-weight: 700; font-size: 13px; color: var(--navy); }
.phone-card-sub { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.phone-cta {
  margin-top: 12px;
  background: var(--primary); color: #fff;
  text-align: center; padding: 13px;
  border-radius: 12px; font-weight: 700; font-size: 14px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mock { order: -1; }
}

/* ============== Section ============== */
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 10px;
}
.section-head p { color: var(--ink-2); font-size: 16px; margin-top: 8px; }
.bg-soft { background: var(--bg-soft); }

/* ============== Selector (city + service) ============== */
.selector {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 16px;
  margin-top: -40px;
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1.4fr 1.4fr 1fr auto; gap: 8px; align-items: stretch;
}
.selector .field {
  display: flex; flex-direction: column; gap: 4px;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background .15s;
}
.selector .field:hover { background: var(--bg-soft); }
.selector .field + .field { border-left: 1px solid var(--line); }
.selector label {
  font-size: 11px; font-weight: 700; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.selector select, .selector input {
  padding: 4px 0; border: none; background: transparent;
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.selector select:focus, .selector input:focus { outline: none; }
.selector .btn { align-self: center; height: 52px; padding: 0 28px; }

@media (max-width: 880px) {
  .selector { grid-template-columns: 1fr; padding: 12px; margin-top: 24px; }
  .selector .field + .field { border-left: none; border-top: 1px solid var(--line); }
}

/* ============== Steps ============== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.step:hover { border-color: var(--primary-tint); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute; top: -16px; left: 24px;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.step-icon { font-size: 32px; margin-bottom: 12px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 14px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ============== Factories ============== */
.factory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.factory {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  cursor: pointer;
  display: flex; flex-direction: column;
  position: relative;
}
.factory:hover { border-color: var(--primary-tint); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.factory.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}
.factory-cover {
  height: 120px; position: relative;
  display: grid; place-items: center;
  color: #fff;
}
.factory-cover.c0 { background: linear-gradient(135deg, #FF6B00, #FF8A3D); }
.factory-cover.c1 { background: linear-gradient(135deg, #0B2545, #1B365D); }
.factory-cover.c2 { background: linear-gradient(135deg, #0073E6, #4F9BE6); }
.factory-cover.c3 { background: linear-gradient(135deg, #5B21B6, #8B5CF6); }
.factory-cover.c4 { background: linear-gradient(135deg, #00A862, #34D399); }
.factory-cover .icon { font-size: 48px; opacity: 0.85; }
.factory-badge {
  position: absolute; top: 12px; right: 12px;
  background: #fff; color: var(--ink);
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  box-shadow: var(--shadow-xs);
}
.factory-badge.verified { background: var(--success); color: #fff; }
.factory-body { padding: 16px 18px 14px; flex: 1; display: flex; flex-direction: column; }
.factory-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--navy); }
.factory-loc { font-size: 13px; color: var(--ink-3); margin-top: 2px; margin-bottom: 10px; }
.factory-meta { display: flex; gap: 12px; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; flex-wrap: wrap; }
.factory-meta .stars { color: var(--ink); font-weight: 700; }
.factory-meta .stars .star { color: var(--warning); }
.factory-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  font-size: 11px; padding: 3px 9px; border-radius: 6px;
  background: var(--bg-soft); color: var(--ink-2); font-weight: 600;
}
.tag.alt { background: var(--primary-light); color: var(--primary-dark); }
.factory-footer {
  padding: 12px 18px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-soft);
}
.factory-price { font-weight: 700; color: var(--navy); font-size: 15px; }
.factory-price small { font-weight: 400; color: var(--ink-3); }
.factory-cta { font-weight: 700; color: var(--primary); font-size: 13px; }

/* ============== Features ============== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .15s, box-shadow .15s;
}
.feature:hover { border-color: var(--primary-tint); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center; font-size: 20px; margin-bottom: 12px;
}
.feature h3 { font-size: 15px; margin-bottom: 4px; }
.feature p { font-size: 13px; color: var(--ink-2); }
@media (max-width: 800px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

/* ============== Trust strip (sertifikalar) ============== */
.trust-strip {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  align-items: center;
}
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item .ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--success-soft); color: var(--success);
  display: grid; place-items: center; font-size: 20px; flex-shrink: 0;
}
.trust-item .text b { display: block; font-size: 14px; color: var(--navy); }
.trust-item .text span { font-size: 12px; color: var(--ink-3); }
@media (max-width: 800px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .trust-strip { grid-template-columns: 1fr; } }

/* ============== Testimonials ============== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px;
}
.testimonial .stars { color: var(--warning); margin-bottom: 10px; font-size: 14px; }
.testimonial p { color: var(--ink); font-size: 14px; line-height: 1.6; }
.testimonial-author {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.testimonial-author .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #FFB68A);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px;
}
.testimonial-author b { font-size: 13px; color: var(--navy); display: block; }
.testimonial-author span { font-size: 12px; color: var(--ink-3); }
@media (max-width: 800px) { .testimonials { grid-template-columns: 1fr; } }

/* ============== AI banner ============== */
.ai-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: #fff;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.ai-banner::before {
  content: ''; position: absolute; top: -40%; right: -8%;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.22), transparent 70%);
}
.ai-banner h2 { color: #fff; }
.ai-banner .eyebrow { color: var(--primary); }
.ai-banner p { color: rgba(255,255,255,0.78); font-size: 15px; margin: 10px 0 22px; }
.ai-mock { position: relative; z-index: 1; }
.ai-mock-frame {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px; padding: 14px;
  backdrop-filter: blur(10px);
}
.ai-mock-img {
  height: 200px; border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,107,0,0.18), rgba(0,115,230,0.14)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px);
  position: relative; overflow: hidden;
}
.ai-mock-img::after {
  content: ''; position: absolute; inset: 20% 18% 22% 16%;
  border: 2px dashed var(--primary);
  border-radius: 8px;
}
.ai-mock-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 4px 4px;
  font-size: 13px; color: rgba(255,255,255,0.85);
}
.ai-mock-meta + .ai-mock-meta { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 10px; }
.ai-mock-meta b { color: #fff; font-size: 17px; font-family: var(--font-head); }
.ai-mock-meta .pill {
  background: var(--primary); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 12px;
}
@media (max-width: 880px) {
  .ai-banner { grid-template-columns: 1fr; padding: 32px; }
}

/* ============== Footer ============== */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.72);
  padding: 56px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 36px;
}
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a:hover { color: var(--primary); }
.footer-brand { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 22px; margin-bottom: 10px; }
.footer-payments { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.footer-payments span {
  background: rgba(255,255,255,0.08); padding: 5px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}
.footer-bot {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ============== Auth ============== */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  background: var(--navy);
  color: #fff; padding: 48px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth-side::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.28), transparent 70%);
}
.auth-side-content { position: relative; z-index: 1; }
.auth-side h2 { color: #fff; font-size: 32px; max-width: 380px; line-height: 1.2; }
.auth-side p { color: rgba(255,255,255,0.78); margin-top: 14px; max-width: 380px; font-size: 15px; }
.auth-side .stats { display: flex; gap: 28px; margin-top: 32px; }
.auth-stat b {
  display: block; color: var(--primary);
  font-family: var(--font-head); font-size: 26px; font-weight: 800;
}
.auth-stat span { font-size: 12px; color: rgba(255,255,255,0.66); }

.auth-form-wrap { display: grid; place-items: center; padding: 40px; }
.auth-form { width: 100%; max-width: 400px; }
.auth-form h1 { font-size: 28px; margin-bottom: 6px; }
.auth-form .muted { margin-bottom: 24px; font-size: 14px; }

.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-row input, .form-row select, .form-row textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-size: 14px; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-row select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7A8C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}
/* Browser native option list — bazı tarayıcılarda yuvarlatılır */
.form-row select option { padding: 10px 14px; font-size: 14px; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.split > div { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 600px) {
  .form-row.split { grid-template-columns: 1fr; }
}
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-2); }
.checkbox input { margin-top: 3px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.auth-foot a { color: var(--primary); font-weight: 600; }
.otp-row { display: flex; gap: 8px; justify-content: center; margin: 12px 0; }
.otp-row input {
  width: 52px; height: 58px; text-align: center; font-size: 22px; font-weight: 700;
  border: 1px solid var(--line); border-radius: 10px;
}
.otp-row input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,0,0.12); outline: none; }
@media (max-width: 880px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { padding: 32px 28px; }
  .auth-side h2 { font-size: 24px; }
}

/* ============== Offer flow ============== */
.offer-shell {
  background: var(--bg-soft); min-height: calc(100vh - 68px); padding: 32px 0 80px;
}
.offer-progress {
  display: flex; gap: 0; max-width: 920px; margin: 0 auto 24px;
  background: #fff; border-radius: 12px; padding: 5px;
  border: 1px solid var(--line);
}
.offer-step {
  flex: 1; text-align: center; padding: 10px 8px;
  font-size: 12px; font-weight: 600; color: var(--ink-3);
  border-radius: 8px; cursor: pointer; transition: background .2s, color .2s;
}
.offer-step.active { background: var(--navy); color: #fff; }
.offer-step.done { color: var(--success); }
.offer-step.done::before { content: '✓ '; }

.offer-card {
  max-width: 920px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-lg);
  padding: 36px 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.offer-card h2 { font-size: 24px; margin-bottom: 4px; }
.offer-card > .muted { margin-bottom: 24px; font-size: 14px; }
@media (max-width: 700px) {
  .offer-card { padding: 24px 20px; border-radius: var(--radius); }
}

.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tile {
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 20px 14px; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.tile:hover { border-color: var(--primary-tint); }
.tile.selected { border-color: var(--primary); background: var(--primary-light); }
.tile-icon { font-size: 32px; margin-bottom: 8px; }
.tile-title { font-weight: 700; color: var(--navy); font-size: 14px; }
.tile-sub { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

/* Halı listesi — boy oranları okunabilir, dropdownlar nefes alır */
.carpet-row {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 110px 100px 44px;
  gap: 12px; align-items: end;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-soft);
  transition: border-color .15s, background .15s;
}
.carpet-row:hover { border-color: var(--primary-tint); background: #fff; }
.carpet-row .form-row { margin: 0; min-width: 0; }
.carpet-row .form-row label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--ink-3); font-weight: 700;
}
.carpet-row .form-row input,
.carpet-row .form-row select {
  padding: 10px 14px;
  font-size: 14px;
  height: 42px;
}
.carpet-row .form-row select { padding-right: 32px; background-position: right 10px center; }
.carpet-row .remove {
  width: 44px; height: 42px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-3); font-size: 20px; font-weight: 400;
  display: grid; place-items: center;
  transition: border-color .15s, color .15s, background .15s;
}
.carpet-row .remove:hover { border-color: var(--danger); color: var(--danger); background: var(--danger-soft); }

/* Mobil: 2x2 + sil aşağıda */
@media (max-width: 760px) {
  .carpet-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .carpet-row .form-row:nth-child(3),
  .carpet-row .form-row:nth-child(4) {
    grid-column: span 1;
  }
  .carpet-row .remove {
    grid-column: span 2;
    width: 100%;
    height: 38px;
    font-size: 14px;
  }
  .carpet-row .remove::after {
    content: ' Halıyı sil';
    font-weight: 600;
  }
}
.btn-add {
  width: 100%; padding: 12px; border-radius: 12px;
  border: 1.5px dashed var(--line); background: transparent;
  color: var(--ink-2); font-weight: 600; font-size: 14px;
  transition: border-color .15s, color .15s, background .15s;
}
.btn-add:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.measure-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.measure-tool {
  padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 14px;
  background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
  display: flex; gap: 14px; align-items: center;
}
.measure-tool:hover {
  border-color: var(--primary); background: var(--primary-light);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.measure-tool .badge {
  background: var(--info); color: #fff;
  padding: 2px 7px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.measure-tool h4 { font-size: 14px; }
.measure-tool p { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.measure-tool-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 17px; flex-shrink: 0;
}
@media (max-width: 600px) {
  .measure-tools { grid-template-columns: 1fr; }
  .carpet-row { grid-template-columns: 1fr 1fr; }
}

.summary-line {
  display: flex; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.summary-line.total {
  border: none; padding-top: 16px;
  font-size: 20px; font-weight: 800; color: var(--navy); font-family: var(--font-head);
}
.summary-line .price { font-weight: 700; color: var(--navy); }
.summary-line .price small { color: var(--ink-3); font-weight: 400; }

.offer-actions {
  display: flex; gap: 10px; margin-top: 24px; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid var(--line-soft);
}
.offer-actions .btn { padding: 12px 24px; }

/* photo upload */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 6px; }
.photo-tile {
  aspect-ratio: 1;
  border: 1.5px dashed var(--line); border-radius: 12px;
  background: var(--bg-soft); display: grid; place-items: center;
  color: var(--ink-3); cursor: pointer;
  transition: border-color .15s, background .15s;
  position: relative; overflow: hidden;
}
.photo-tile:hover { border-color: var(--primary); }
.photo-tile.has {
  border-style: solid; border-color: var(--primary-tint);
  background: var(--primary-light);
}
.photo-tile.has::after {
  content: '✓'; position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--success); color: #fff;
  display: grid; place-items: center; font-weight: 800;
  font-size: 12px;
}

/* success */
.done-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--success); color: #fff;
  display: grid; place-items: center; font-size: 38px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(0, 168, 98, 0.32);
}
.done-id {
  display: inline-block;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink); font-weight: 700; font-size: 14px;
  margin: 8px 0 22px;
}

/* ============== Modal ============== */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(11, 37, 69, 0.55);
  display: grid; place-items: center; z-index: 100;
  padding: 20px;
  animation: fadein .15s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 480px;
  padding: 28px;
  box-shadow: var(--shadow-xl);
  animation: pop .2s ease;
  position: relative;
}
@keyframes pop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal h3 { margin-bottom: 6px; }
.modal .muted { margin-bottom: 18px; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-soft); color: var(--ink-2);
  display: grid; place-items: center; font-size: 16px;
  cursor: pointer;
}
.modal-close:hover { background: var(--line); color: var(--ink); }

/* ============== Map picker ============== */
.map-pick {
  height: 360px; border-radius: 12px; overflow: hidden; position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  cursor: crosshair;
}
.map-pick-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,37,69,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,37,69,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.map-pick-streets {
  position: absolute; inset: 0; opacity: 0.4;
  background:
    linear-gradient(90deg, transparent 0%, #C9D2DD 30%, #C9D2DD 32%, transparent 32%) 0 30%/100% 4px no-repeat,
    linear-gradient(90deg, transparent 0%, #C9D2DD 60%, #C9D2DD 62%, transparent 62%) 0 65%/100% 4px no-repeat,
    linear-gradient(0deg, transparent 0%, #C9D2DD 25%, #C9D2DD 27%, transparent 27%) 25% 0/4px 100% no-repeat,
    linear-gradient(0deg, transparent 0%, #C9D2DD 70%, #C9D2DD 72%, transparent 72%) 70% 0/4px 100% no-repeat;
}
.map-blocks { position: absolute; inset: 0; }
.map-block {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}
.map-pin-big {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  width: 36px; height: 36px;
  z-index: 5; pointer-events: none;
  transition: top .12s ease-out, left .12s ease-out;
}
.map-pin-big::before {
  content: ''; position: absolute; left: 50%; top: 0;
  transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(255,107,0,0.4);
}
.map-pin-big::after {
  content: ''; position: absolute; left: 50%; top: 22px;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid var(--primary);
}
.map-shadow {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, 0);
  width: 24px; height: 6px; background: rgba(11,37,69,0.18);
  border-radius: 50%; filter: blur(2px);
  z-index: 4; pointer-events: none;
  transition: top .12s ease-out, left .12s ease-out;
}
.map-coords {
  position: absolute; bottom: 12px; left: 12px;
  background: #fff; border: 1px solid var(--line);
  padding: 8px 12px; border-radius: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-2); box-shadow: var(--shadow-xs);
}
.map-help {
  position: absolute; top: 12px; left: 12px; right: 12px;
  background: rgba(255,255,255,0.96); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 8px;
  font-size: 12px; color: var(--ink-2); text-align: center;
  box-shadow: var(--shadow-xs);
}

/* ============== Empty / Callout ============== */
.callout {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--info-soft); color: var(--ink);
  padding: 12px 14px; border-radius: 10px;
  font-size: 13px; margin: 12px 0;
  border-left: 3px solid var(--info);
}
.callout.warn { background: var(--warning-soft); border-color: var(--warning); }
.callout.ok { background: var(--success-soft); border-color: var(--success); }
.callout .ico { font-size: 18px; }
.callout b { color: var(--navy); }

/* ============== Toast ============== */
.toast-host {
  position: fixed; top: 20px; right: 20px; z-index: 1000;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 280px; max-width: 360px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: toast-in .25s ease;
  border-left: 4px solid var(--info);
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warn { border-left-color: var(--warning); }
.toast .t-ico {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--info-soft); color: var(--info);
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
  flex-shrink: 0;
}
.toast.success .t-ico { background: var(--success-soft); color: var(--success); }
.toast.error .t-ico { background: var(--danger-soft); color: var(--danger); }
.toast.warn .t-ico { background: var(--warning-soft); color: var(--warning); }
.toast .t-body { flex: 1; font-size: 13px; color: var(--ink); line-height: 1.4; }
.toast .t-body b { display: block; color: var(--navy); font-size: 14px; margin-bottom: 2px; }
.toast .t-close {
  width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center; color: var(--ink-3); font-size: 14px;
  cursor: pointer; flex-shrink: 0;
}
.toast .t-close:hover { background: var(--bg-soft); color: var(--ink); }
.toast.leave { animation: toast-out .2s ease forwards; }
@keyframes toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toast-out {
  to { transform: translateX(100%); opacity: 0; }
}
@media (max-width: 540px) {
  .toast-host { top: 12px; right: 12px; left: 12px; }
  .toast { min-width: 0; }
}

/* ============== Detail page ============== */
.detail-wrap {
  display: grid; grid-template-columns: 1fr 360px; gap: 24px;
}
@media (max-width: 980px) { .detail-wrap { grid-template-columns: 1fr; } }
.summary-side {
  position: sticky; top: 84px; align-self: start;
}
@media (max-width: 980px) { .summary-side { position: static; } }
.detail-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 20px;
}
.detail-card h3 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.detail-card h3 .num {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}

.live-map {
  height: 340px; border-radius: 14px; overflow: hidden; position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.live-map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,37,69,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,37,69,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.live-map .pin-l {
  position: absolute; width: 32px; height: 32px;
  background: var(--primary); border-radius: 50%; border: 4px solid #fff;
  display: grid; place-items: center; color: #fff; font-size: 14px;
  box-shadow: var(--shadow-md);
  transition: left 1.5s linear, top 1.5s linear;
  z-index: 3;
}
.live-map .pin-l.factory { background: var(--navy); }
.live-map .pin-l.home { background: var(--info); }
.live-map .pin-l.courier { background: var(--primary); }
.live-map .pin-l.courier::before {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  background: var(--primary); opacity: 0.25;
  animation: courier-pulse 1.8s infinite;
}
@keyframes courier-pulse {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(1.6); opacity: 0; }
}
.live-map .route {
  position: absolute; height: 3px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 14px);
  transform-origin: left center;
  z-index: 2;
}

.timeline { padding: 0; list-style: none; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 12px; bottom: 12px;
  width: 2px; background: var(--line);
}
.timeline li {
  position: relative; padding: 0 0 18px 36px;
}
.timeline li::before {
  content: ''; position: absolute; left: 4px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line);
  z-index: 1;
}
.timeline li.done::before { background: var(--success); border-color: var(--success); }
.timeline li.done::after {
  content: '✓'; position: absolute; left: 7px; top: 0px;
  color: #fff; font-size: 11px; font-weight: 800;
}
.timeline li.active::before {
  background: var(--primary); border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255,107,0,0.18);
  animation: tl-pulse 1.6s infinite;
}
@keyframes tl-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,107,0,0.18); }
  50% { box-shadow: 0 0 0 10px rgba(255,107,0,0); }
}
.timeline .tl-title { font-weight: 700; color: var(--navy); font-size: 14px; }
.timeline .tl-meta { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.timeline li.done .tl-title { color: var(--ink-2); }
.timeline li.pending .tl-title { color: var(--ink-3); font-weight: 500; }

.summary-side .price-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--ink-2); }
.summary-side .price-row.big { font-size: 18px; font-weight: 800; color: var(--navy); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }

.factory-mini {
  display: flex; gap: 12px; align-items: center;
  padding: 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-soft);
}
.factory-mini-avatar {
  width: 50px; height: 50px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #FF8A3D);
  color: #fff; display: grid; place-items: center; font-size: 22px; flex-shrink: 0;
}
.factory-mini b { display: block; color: var(--navy); font-size: 15px; }
.factory-mini span { font-size: 13px; color: var(--ink-3); }

/* responsive helpers */
@media (max-width: 540px) {
  .selector { margin-top: 0; }
  .hero { padding-bottom: 40px; }
  .offer-card { padding: 22px; }
  .ai-banner { padding: 28px; }
}

/* ============== Location chip in header ============== */
.loc-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  white-space: nowrap;
  max-width: 220px; overflow: hidden;
}
.loc-chip:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }
.loc-chip .loc-chip-ico {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 12px;
  flex-shrink: 0;
}
.loc-chip-empty .loc-chip-ico { background: var(--ink-3); }
.loc-chip-empty { color: var(--ink-3); border-style: dashed; }
.loc-chip-empty:hover { color: var(--primary); }
.loc-chip .loc-chip-text {
  overflow: hidden; text-overflow: ellipsis; max-width: 160px;
}
.loc-chip .loc-chip-edit { font-size: 11px; color: var(--ink-3); margin-left: 2px; }
.loc-chip:hover .loc-chip-edit { color: var(--primary); }

/* Konum gate (empty state when no location) */
.gate-card {
  max-width: 520px; margin: 60px auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 48px 40px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.gate-card .gate-ico {
  width: 80px; height: 80px; border-radius: 24px;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center; font-size: 40px;
  margin: 0 auto 18px;
}
.gate-card h2 { margin-bottom: 8px; }
.gate-card p { color: var(--ink-2); font-size: 15px; margin-bottom: 24px; }

/* ============== Reklam banner (slider/spot) ============== */
.ad-spot {
  position: relative;
  background: var(--ad-bg, linear-gradient(135deg, #FF6B00, #FF8A3D));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 180px;
}
.ad-spot::before {
  content: ''; position: absolute; right: -10%; top: -50%;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.ad-spot::after {
  content: 'REKLAM'; position: absolute; top: 12px; right: 16px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  background: rgba(0,0,0,0.18); padding: 3px 8px; border-radius: 4px;
}
.ad-spot .ad-content { position: relative; z-index: 1; max-width: 540px; }
.ad-spot h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.ad-spot p { color: rgba(255,255,255,0.88); font-size: 15px; }
.ad-spot .btn { background: #fff; color: var(--navy); margin-top: 16px; }
.ad-spot .btn:hover { background: var(--bg-soft); }
.ad-art {
  width: 200px; height: 200px; border-radius: 24px;
  background: rgba(255,255,255,0.12);
  display: grid; place-items: center; font-size: 84px;
  position: relative; z-index: 1; flex-shrink: 0;
}
@media (max-width: 760px) {
  .ad-spot { padding: 28px; flex-direction: column; text-align: center; }
  .ad-art { width: 120px; height: 120px; font-size: 60px; }
}

/* Inline sponsor (factory list üstünde) */
.sponsor-strip {
  background: linear-gradient(135deg, var(--bg-soft), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.sponsor-strip-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em;
  background: var(--warning-soft); color: #8B5A00;
  padding: 4px 8px; border-radius: 4px; flex-shrink: 0;
}
.sponsor-strip .text { font-size: 14px; color: var(--ink); flex: 1; }
.sponsor-strip .text b { color: var(--navy); }

/* ============== Kampanyalar carousel ============== */
.campaigns {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.campaign {
  background: var(--cmp-bg, linear-gradient(135deg, #FF6B00, #FF8A3D));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px; position: relative; overflow: hidden;
  cursor: pointer; transition: transform .15s, box-shadow .15s;
  min-height: 140px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.campaign:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.campaign::before {
  content: ''; position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.campaign-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  margin-bottom: 10px; align-self: flex-start;
  position: relative; z-index: 1;
}
.campaign h4 { color: #fff; font-size: 18px; margin-bottom: 6px; position: relative; z-index: 1; }
.campaign p { color: rgba(255,255,255,0.86); font-size: 13px; position: relative; z-index: 1; }
.campaign-foot {
  margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.75);
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
}

/* ============== Fabrika profili (Yemeksepeti tarzı) ============== */
.fab-cover {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  overflow: hidden;
}
.fab-cover::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 0%, rgba(255,107,0,0.4), transparent 60%);
}
.fab-cover .fab-cover-art {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  font-size: 200px; opacity: 0.18; line-height: 1;
}
.fab-cover .ad-tag {
  position: absolute; top: 18px; left: 18px;
  background: var(--warning); color: var(--ink);
  padding: 5px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fab-head {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 68px; z-index: 30;
}
.fab-head-inner {
  display: flex; gap: 24px; align-items: center;
  padding: 18px 0;
}
.fab-logo {
  width: 96px; height: 96px; border-radius: var(--radius-lg);
  background: #fff; border: 4px solid #fff; box-shadow: var(--shadow-md);
  display: grid; place-items: center; font-size: 48px;
  margin-top: -64px;
  flex-shrink: 0;
}
.fab-logo.c0 { background: linear-gradient(135deg, #FF6B00, #FF8A3D); color: #fff; }
.fab-logo.c1 { background: linear-gradient(135deg, #0B2545, #1B365D); color: #fff; }
.fab-logo.c2 { background: linear-gradient(135deg, #0073E6, #4F9BE6); color: #fff; }
.fab-logo.c3 { background: linear-gradient(135deg, #5B21B6, #8B5CF6); color: #fff; }
.fab-logo.c4 { background: linear-gradient(135deg, #00A862, #34D399); color: #fff; }
.fab-info { flex: 1; min-width: 0; }
.fab-name {
  font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--navy);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.fab-name .verified-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--success-soft); color: var(--success);
  padding: 3px 9px; border-radius: 6px;
  font-size: 11px; font-weight: 700;
}
.fab-meta {
  display: flex; gap: 16px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap;
}
.fab-meta span { display: inline-flex; align-items: center; gap: 4px; }
.fab-meta .puan { color: var(--ink); font-weight: 700; }
.fab-meta .puan .star { color: var(--warning); }
.fab-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 760px) {
  .fab-head-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fab-logo { margin-top: -48px; width: 80px; height: 80px; font-size: 38px; }
  .fab-actions { width: 100%; }
  .fab-actions .btn { flex: 1; }
}

/* Tabs */
.fab-tabs {
  display: flex; gap: 0; border-bottom: 1px solid var(--line);
  background: #fff; position: sticky; top: 232px; z-index: 25;
  overflow-x: auto;
}
.fab-tab {
  padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--ink-3);
  cursor: pointer; border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.fab-tab:hover { color: var(--ink); }
.fab-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
@media (max-width: 760px) { .fab-tabs { top: 196px; } }

/* Products / ürün grid */
.urun-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.urun {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: flex; gap: 14px;
  transition: border-color .15s, box-shadow .15s;
  cursor: pointer;
}
.urun:hover { border-color: var(--primary-tint); box-shadow: var(--shadow-sm); }
.urun-icon {
  width: 64px; height: 64px; border-radius: 12px;
  background: var(--bg-soft);
  display: grid; place-items: center; font-size: 32px; flex-shrink: 0;
}
.urun-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.urun-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.urun-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.urun-name .pop {
  display: inline-block; vertical-align: middle;
  background: var(--warning-soft); color: #8B5A00;
  font-size: 10px; padding: 2px 6px; border-radius: 4px;
  font-weight: 800; letter-spacing: 0.04em; margin-left: 6px;
}
.urun-desc { font-size: 13px; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }
.urun-foot {
  margin-top: auto; padding-top: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.urun-price { font-weight: 800; color: var(--navy); font-family: var(--font-head); font-size: 16px; }
.urun-price small { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.urun-add {
  background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary-tint);
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center; font-size: 18px; font-weight: 700;
  cursor: pointer; transition: background .15s;
}
.urun-add:hover { background: var(--primary); color: #fff; }

/* Categories pill bar */
.cat-pills {
  display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap;
}
.cat-pill {
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.cat-pill:hover { color: var(--primary); border-color: var(--primary-tint); }
.cat-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Gallery */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.gallery-img {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-soft), var(--line-soft));
  position: relative; overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 48px; color: var(--ink-3);
  transition: transform .15s;
}
.gallery-img:hover { transform: scale(1.02); }
.gallery-img.g0 { background: linear-gradient(135deg, #FF6B00, #FF8A3D); color: #fff; }
.gallery-img.g1 { background: linear-gradient(135deg, #0B2545, #1B365D); color: #fff; }
.gallery-img.g2 { background: linear-gradient(135deg, #0073E6, #4F9BE6); color: #fff; }
.gallery-img.g3 { background: linear-gradient(135deg, #5B21B6, #8B5CF6); color: #fff; }
.gallery-img.g4 { background: linear-gradient(135deg, #00A862, #34D399); color: #fff; }
.gallery-img.g5 { background: linear-gradient(135deg, #F59E0B, #FBBF24); color: #fff; }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.45); padding: 8px 10px;
  text-align: center;
}
.gallery-caption b { display: block; font-size: 12px; font-weight: 700; color: #fff; line-height: 1.3; }
.gallery-caption span { display: block; font-size: 10px; color: rgba(255,255,255,0.75); margin-top: 1px; line-height: 1.3; }

/* Reviews */
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
}
.review-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  margin-bottom: 10px;
}
.review-author { display: flex; align-items: center; gap: 10px; }
.review-author .av {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #FFB68A);
  color: #fff; display: grid; place-items: center; font-weight: 700;
}
.review-author b { display: block; color: var(--navy); font-size: 14px; }
.review-author span { font-size: 12px; color: var(--ink-3); }
.review-stars { color: var(--warning); font-size: 14px; font-weight: 700; }
.review p { font-size: 14px; color: var(--ink); line-height: 1.6; }
.review-tag {
  display: inline-block; margin-top: 10px;
  background: var(--bg-soft); color: var(--ink-2);
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}

/* Info side panel */
.fab-side {
  display: grid; gap: 14px; align-content: start;
  position: sticky; top: 290px; align-self: start;
}
.info-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.info-box h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-3); margin-bottom: 12px;
}
.info-row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px dashed var(--line-soft);
  font-size: 13px;
}
.info-row:last-child { border: none; }
.info-row .label { color: var(--ink-3); }
.info-row .val { color: var(--ink); font-weight: 600; text-align: right; }
.cert-list { display: flex; flex-wrap: wrap; gap: 6px; }
.cert-pill {
  background: var(--success-soft); color: var(--success);
  padding: 4px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 700;
}

/* Fabrika profile grid */
.fab-body {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 28px;
  padding: 28px 0 80px;
}
@media (max-width: 980px) {
  .fab-body { grid-template-columns: 1fr; }
  .fab-side { position: static; }
}

.fab-section {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 16px;
}
.fab-section h3 {
  font-size: 18px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.fab-section h3 .sub {
  font-size: 12px; color: var(--ink-3); font-weight: 500;
  margin-left: auto;
}
