/* ============================================================
   YATPAK — Ana Stil Dosyası
   Tema değişkenleri, genel tipografi ve tüm bileşen stilleri.
   Bootstrap 5.3 üzerine yazılmıştır.
   ============================================================ */

/* ---------- Tema Değişkenleri ---------- */
:root {
  --yp-primary: #0B2345;
  --yp-primary-hover: #163B72;
  --yp-secondary: #FFFFFF;
  --yp-bg: #F8F9FB;
  --yp-surface: #FFFFFF;
  --yp-surface-alt: #F1F3F7;
  --yp-text: #222222;
  --yp-text-muted: #5A6B84;
  --yp-border: #EAEAEA;
  --yp-success: #2DA44E;
  --yp-whatsapp: #25D366;
  --yp-star: #F5A623;
  --yp-heading-font: "Poppins", sans-serif;
  --yp-body-font: "Inter", sans-serif;
  --yp-shadow-sm: 0 2px 10px rgba(11, 35, 69, 0.06);
  --yp-shadow-md: 0 8px 30px rgba(11, 35, 69, 0.10);
  --yp-shadow-lg: 0 18px 50px rgba(11, 35, 69, 0.16);
  --yp-radius: 14px;
  --yp-navbar-h: 76px;
}

/* Dark mode: Bootstrap'in data-bs-theme mekanizmasıyla uyumlu */
[data-bs-theme="dark"] {
  --yp-primary: #3E6BB4;
  --yp-primary-hover: #5583cf;
  --yp-bg: #0D1522;
  --yp-surface: #14202F;
  --yp-surface-alt: #1B2A3D;
  --yp-text: #E8ECF2;
  --yp-text-muted: #93A5BE;
  --yp-border: #24354C;
  --yp-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --yp-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.45);
  --yp-shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.55);
}

/* ---------- Genel ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--yp-navbar-h) + 12px); }

body {
  font-family: var(--yp-body-font);
  color: var(--yp-text);
  background-color: var(--yp-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .btn, .navbar-nav { font-family: var(--yp-heading-font); }

a { color: var(--yp-primary); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--yp-primary-hover); }

img { max-width: 100%; height: auto; }

.section { padding: 90px 0; }
.section-alt { background-color: var(--yp-surface-alt); }

.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--yp-text);
  text-align: center;
  margin-bottom: 8px;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--yp-primary);
  margin: 14px auto 0;
}
.section-subtitle {
  text-align: center;
  color: var(--yp-text-muted);
  max-width: 620px;
  margin: 0 auto 50px;
}

/* Bootstrap buton varyantları — marka rengi */
.btn-yp {
  background-color: var(--yp-primary);
  border: 2px solid var(--yp-primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
}
.btn-yp:hover, .btn-yp:focus {
  background-color: var(--yp-primary-hover);
  border-color: var(--yp-primary-hover);
  color: #fff;
}
.btn-yp-outline {
  background: transparent;
  border: 2px solid var(--yp-primary);
  color: var(--yp-primary);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
}
.btn-yp-outline:hover { background: var(--yp-primary); color: #fff; }
.btn-whatsapp {
  background-color: var(--yp-whatsapp);
  border: 2px solid var(--yp-whatsapp);
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
}
.btn-whatsapp:hover { background-color: #1fb457; border-color: #1fb457; color: #fff; }

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--yp-primary), var(--yp-primary-hover));
  z-index: 2000;
}

/* ---------- Top Bar ---------- */
.topbar {
  background-color: #0B2345;
  color: #E8ECF2;
  font-size: .82rem;
  padding: 8px 0;
}
[data-bs-theme="dark"] .topbar { background-color: #091A33; }
.topbar .badge-item { display: inline-flex; align-items: center; gap: 6px; margin-right: 22px; }
.topbar a { color: #E8ECF2; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #9FDDB2; }

/* ---------- Navbar ---------- */
.yp-navbar {
  background-color: var(--yp-surface);
  min-height: var(--yp-navbar-h);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid var(--yp-border);
}
/* Scroll'da blur efekti */
.yp-navbar.scrolled {
  background-color: color-mix(in srgb, var(--yp-surface) 78%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--yp-shadow-sm);
}
.yp-navbar .navbar-brand img { height: 46px; }
.yp-navbar .nav-link {
  color: var(--yp-text);
  font-weight: 500;
  font-size: .95rem;
  margin: 0 6px;
  position: relative;
}
.yp-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--yp-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.yp-navbar .nav-link:hover::after,
.yp-navbar .nav-link.active::after { transform: scaleX(1); }
.yp-navbar .nav-link.active { color: var(--yp-primary); font-weight: 600; }

.navbar-icons .icon-btn {
  background: none;
  border: none;
  color: var(--yp-text);
  font-size: 1.15rem;
  padding: 8px;
  position: relative;
  border-radius: 8px;
  transition: color .2s ease, background-color .2s ease;
}
.navbar-icons .icon-btn:hover { color: var(--yp-primary); background: var(--yp-surface-alt); }
.cart-badge {
  position: absolute;
  top: 0; right: 0;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  background: var(--yp-primary);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
[data-bs-theme="dark"] .cart-badge { background: var(--yp-primary-hover); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(900px, 92vh);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #14202F;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center; /* yatak sağda kalsın, metin solda boş alana otursun */
  z-index: 0;
}
/* Fotoğraf üstünde beyaz metin okunabilirliği için lacivert gradient */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(9, 20, 38, 0.88) 0%,
    rgba(9, 20, 38, 0.62) 45%,
    rgba(9, 20, 38, 0.30) 75%,
    rgba(9, 20, 38, 0.20) 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: #D5DEEA;
  margin-bottom: 34px;
  max-width: 460px;
}

/* Glassmorphism rozet kartı */
.glass-card {
  background: rgba(13, 22, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 26px 28px;
  max-width: 360px;
  margin-left: auto;
}
.glass-card .g-item { display: flex; gap: 14px; align-items: flex-start; }
.glass-card .g-item + .g-item { margin-top: 18px; }
.glass-card .g-icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: #fff;
}
.glass-card h6 { margin: 0 0 2px; font-size: .95rem; font-weight: 600; color: #fff; }
.glass-card p { margin: 0; font-size: .8rem; color: #B9C6D8; }

/* ---------- Ürün Kartları ---------- */
.product-card {
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--yp-shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--yp-shadow-lg);
}
.product-card .p-badge {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--yp-primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 1;
}
.product-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2px;
  color: var(--yp-text);
}
.product-card .p-subtitle { color: var(--yp-text-muted); font-size: .88rem; margin-bottom: 16px; }
.product-card .p-img-wrap { overflow: hidden; border-radius: 10px; margin-bottom: 20px; aspect-ratio: 4 / 3; }
.product-card .p-img-wrap img { transition: transform .5s ease; display: block; width: 100%; height: 100%; object-fit: cover; }
.product-card:hover .p-img-wrap img { transform: scale(1.07); }
.product-card ul { list-style: none; padding: 0; margin: 0 0 18px; flex-grow: 1; }
.product-card ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: .9rem;
  color: var(--yp-text);
}
.product-card ul li i { color: var(--yp-success); font-size: .95rem; }
.product-card .p-price { font-size: 1.6rem; font-weight: 700; color: var(--yp-text); }
.product-card .p-price-note { font-size: .78rem; color: var(--yp-text-muted); margin-bottom: 16px; }

/* ---------- Özellik Şeridi ---------- */
.feature-strip { background: var(--yp-surface-alt); padding: 46px 0; }
.feature-item { text-align: center; }
.feature-item .f-icon {
  width: 58px; height: 58px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  box-shadow: var(--yp-shadow-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--yp-primary);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-item:hover .f-icon { transform: translateY(-5px); box-shadow: var(--yp-shadow-md); }
.feature-item h6 { font-size: .92rem; font-weight: 600; margin: 0; }
.feature-item small { color: var(--yp-text-muted); }

/* ---------- Katman Yapısı ---------- */
.layer-list { list-style: none; padding: 0; margin: 0; }
.layer-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background-color .25s ease, transform .25s ease;
  cursor: default;
}
.layer-list li:hover { background: var(--yp-surface); transform: translateX(6px); box-shadow: var(--yp-shadow-sm); }
.layer-no {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--yp-primary);
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.layer-list h6 { margin: 2px 0 2px; font-size: .95rem; font-weight: 600; }
.layer-list p { margin: 0; font-size: .82rem; color: var(--yp-text-muted); }

/* ---------- Müşteri Yorumları (Swiper) ---------- */
.testimonial-card {
  background: color-mix(in srgb, var(--yp-surface) 82%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius);
  box-shadow: var(--yp-shadow-sm);
  padding: 26px;
  text-align: center;
  height: 100%;
}
.testimonial-card .stars { color: var(--yp-star); font-size: 1rem; letter-spacing: 3px; margin-bottom: 12px; }
.testimonial-card blockquote { font-size: .98rem; color: var(--yp-text); margin-bottom: 12px; }
.testimonial-card .t-name { font-weight: 600; font-size: .88rem; color: var(--yp-text-muted); }
.testimonials-swiper { padding-bottom: 40px; }
.testimonials-swiper .swiper-pagination-bullet { background: var(--yp-primary); }

/* ---------- SSS Accordion ---------- */
.yp-accordion .accordion-item {
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: 12px !important;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--yp-shadow-sm);
}
.yp-accordion .accordion-button {
  background: var(--yp-surface);
  color: var(--yp-text);
  font-weight: 600;
  font-size: .95rem;
  font-family: var(--yp-heading-font);
  padding: 16px 20px;
  box-shadow: none;
}
.yp-accordion .accordion-button:not(.collapsed) { color: var(--yp-primary); }
.yp-accordion .accordion-button:focus { box-shadow: none; border: none; }
.yp-accordion .accordion-body { color: var(--yp-text-muted); font-size: .9rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, #0B2345 0%, #163B72 60%, #1d4a8c 100%);
  border-radius: 22px;
  color: #fff;
  padding: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--yp-shadow-lg);
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -160px; right: -80px;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
.cta-banner .cta-badges { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.cta-banner .cta-badges span { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: #D5DEEA; }
.cta-banner img {
  max-height: 280px;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}
.btn-cta {
  background: #fff;
  color: #0B2345;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
}
.btn-cta:hover { background: #e8eef7; color: #0B2345; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.yp-footer {
  background: #0B2345;
  color: #C3CEDD;
  padding: 70px 0 0;
  font-size: .9rem;
}
[data-bs-theme="dark"] .yp-footer { background: #091A33; }
.yp-footer h6 {
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.yp-footer a { color: #C3CEDD; display: inline-flex; align-items: center; gap: 8px; padding: 3px 0; }
.yp-footer a:hover { color: #fff; }
.yp-footer ul { list-style: none; padding: 0; margin: 0; }
.yp-footer .footer-logo img { height: 52px; margin-bottom: 16px; }
.yp-footer .social-icons a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 1rem;
}
.yp-footer .social-icons a:hover { background: rgba(255, 255, 255, 0.18); }
.yp-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 46px;
  padding: 18px 0;
  text-align: center;
  font-size: .8rem;
  color: #8FA0B8;
}

/* ---------- Yüzen Butonlar ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--yp-whatsapp);
  color: #fff;
  font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 1500;
  transition: transform .25s ease;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--yp-primary);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--yp-shadow-md);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--yp-primary-hover); color: #fff; }

/* ---------- Sepet Offcanvas ---------- */
.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--yp-border);
}
.cart-item img {
  width: 72px; height: 54px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--yp-surface-alt);
}
.cart-item .ci-name { font-weight: 600; font-size: .92rem; }
.cart-item .ci-size { font-size: .78rem; color: var(--yp-text-muted); }
.cart-item .ci-price { font-weight: 600; font-size: .9rem; white-space: nowrap; }
.qty-controls { display: inline-flex; align-items: center; gap: 8px; }
.qty-controls button {
  width: 26px; height: 26px;
  border-radius: 8px;
  border: 1px solid var(--yp-border);
  background: var(--yp-surface);
  color: var(--yp-text);
  font-size: .85rem;
  line-height: 1;
}
.qty-controls button:hover { background: var(--yp-surface-alt); }
.cart-empty { text-align: center; color: var(--yp-text-muted); padding: 48px 0; }
.cart-empty i { font-size: 2.6rem; display: block; margin-bottom: 12px; opacity: .5; }

/* ---------- Toast ---------- */
.toast-container { z-index: 2100; }
.yp-toast { background: var(--yp-surface); border: 1px solid var(--yp-border); box-shadow: var(--yp-shadow-md); border-radius: 12px; }

/* ---------- Cookie Popup ---------- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 140%);
  width: min(560px, calc(100% - 32px));
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: 16px;
  box-shadow: var(--yp-shadow-lg);
  padding: 20px 24px;
  z-index: 1900;
  transition: transform .45s ease;
}
.cookie-popup.show { transform: translate(-50%, 0); }
.cookie-popup p { font-size: .85rem; color: var(--yp-text-muted); margin: 0 0 14px; }

/* ---------- Search Modal ---------- */
.search-result-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  transition: background-color .2s ease;
}
.search-result-item:hover { background: var(--yp-surface-alt); }
.search-result-item img { width: 84px; height: 60px; object-fit: cover; border-radius: 8px; }

/* ---------- Sayfa Başlığı (iç sayfalar) ---------- */
.page-header {
  background: linear-gradient(120deg, #0B2345, #163B72);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.page-header h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin: 0 0 6px; }
.page-header .breadcrumb { justify-content: center; margin: 0; }
.page-header .breadcrumb a, .page-header .breadcrumb-item.active { color: #B9C6D8; font-size: .85rem; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #6b7f9c; }

/* ---------- Ürün Detay ---------- */
.pd-gallery {
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius);
  padding: 30px;
  box-shadow: var(--yp-shadow-sm);
}
.pd-gallery img { border-radius: calc(var(--yp-radius) - 12px); }
.pd-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pd-thumb {
  padding: 0;
  border: 2px solid var(--yp-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--yp-surface);
  cursor: pointer;
  width: 84px;
  height: 84px;
  transition: border-color .2s ease, transform .2s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { transform: translateY(-2px); }
.pd-thumb.active { border-color: var(--yp-primary); }
.pd-price { font-size: 2rem; font-weight: 700; }
.size-select .form-select { border-color: var(--yp-border); }
.spec-table th { width: 42%; color: var(--yp-text-muted); font-weight: 500; }

/* Mobil sticky sepete ekle çubuğu */
.sticky-atc {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--yp-surface);
  border-top: 1px solid var(--yp-border);
  box-shadow: 0 -6px 24px rgba(11, 35, 69, 0.12);
  padding: 10px 16px;
  z-index: 1400;
  display: none;
}
.sticky-atc.visible { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Karşılaştırma Tablosu ---------- */
.compare-table { background: var(--yp-surface); border-radius: var(--yp-radius); overflow: hidden; box-shadow: var(--yp-shadow-sm); }
.compare-table th { background: var(--yp-primary); color: #fff; font-family: var(--yp-heading-font); }

/* ---------- Sayaçlar ---------- */
.stat-item { text-align: center; }
.stat-item .stat-value { font-size: 2.4rem; font-weight: 700; color: var(--yp-primary); font-family: var(--yp-heading-font); }
.stat-item .stat-label { color: var(--yp-text-muted); font-size: .9rem; }

/* ---------- İletişim ---------- */
.contact-info-card {
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius);
  padding: 24px;
  box-shadow: var(--yp-shadow-sm);
  height: 100%;
}
.contact-info-card i { font-size: 1.5rem; color: var(--yp-primary); }
.map-embed {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--yp-radius);
  box-shadow: var(--yp-shadow-sm);
  display: block;
}
.map-placeholder {
  background: var(--yp-surface-alt);
  border: 1px dashed var(--yp-border);
  border-radius: var(--yp-radius);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yp-text-muted);
  flex-direction: column;
  gap: 8px;
}

/* Bootstrap form elemanları — tema uyumu */
.form-control, .form-select {
  background-color: var(--yp-surface);
  border-color: var(--yp-border);
  color: var(--yp-text);
}
.form-control:focus, .form-select:focus {
  border-color: var(--yp-primary);
  box-shadow: 0 0 0 .2rem rgba(11, 35, 69, 0.12);
  background-color: var(--yp-surface);
  color: var(--yp-text);
}

/* ---------- Bilgilendirme (hukuki metinler) ---------- */
.legal-toc {
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius);
  padding: 22px;
  box-shadow: var(--yp-shadow-sm);
  position: sticky;
  top: calc(var(--yp-navbar-h) + 20px);
}
.legal-toc h6 {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--yp-text-muted);
  margin-bottom: 14px;
}
.legal-toc ol { list-style: none; counter-reset: legal; margin: 0; padding: 0; }
.legal-toc li { counter-increment: legal; }
.legal-toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--yp-text-muted);
  border-left: 3px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.legal-toc a::before {
  content: counter(legal, decimal-leading-zero);
  font-size: .72rem;
  font-weight: 600;
  color: var(--yp-primary);
  opacity: .55;
}
.legal-toc a:hover { background: var(--yp-surface-alt); color: var(--yp-text); }
.legal-toc a.active {
  background: var(--yp-surface-alt);
  color: var(--yp-primary);
  border-left-color: var(--yp-primary);
  font-weight: 600;
}
.legal-toc a.active::before { opacity: 1; }

.legal-card {
  background: var(--yp-surface);
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius);
  padding: 32px;
  box-shadow: var(--yp-shadow-sm);
  scroll-margin-top: calc(var(--yp-navbar-h) + 24px);
}
.legal-card + .legal-card { margin-top: 24px; }
.legal-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: var(--yp-text);
}
.legal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.legal-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yp-surface-alt);
  color: var(--yp-primary);
  font-size: 1.25rem;
}
.legal-card p { color: var(--yp-text-muted); line-height: 1.85; margin-bottom: 0; }
.legal-card p + p { margin-top: 14px; }
.legal-list { list-style: none; margin: 18px 0 0; padding: 0; }
.legal-list li {
  display: flex;
  gap: 10px;
  color: var(--yp-text-muted);
  font-size: .92rem;
  padding: 7px 0;
  border-bottom: 1px dashed var(--yp-border);
}
.legal-list li:last-child { border-bottom: 0; }
.legal-list i { color: var(--yp-primary); margin-top: 3px; }
.legal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.legal-chips span {
  background: var(--yp-surface-alt);
  border: 1px solid var(--yp-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .82rem;
  color: var(--yp-text-muted);
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--yp-text-muted);
  font-size: .88rem;
}
.legal-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--yp-border); }
.legal-contact-row { display: grid; gap: 2px; }
.legal-contact-row dt { font-weight: 600; color: var(--yp-text); font-size: .88rem; }
.legal-contact-row dd { color: var(--yp-text-muted); margin: 0 0 14px; font-size: .92rem; }
.legal-contact-row dd:last-child { margin-bottom: 0; }

@media (max-width: 991.98px) {
  .legal-toc { position: static; margin-bottom: 28px; }
  .legal-toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .legal-toc a { border-left: 0; border: 1px solid var(--yp-border); }
  .legal-card { padding: 24px; }
}

@media print {
  .topbar, .yp-navbar, .page-header nav, .legal-toc, .yp-footer,
  .whatsapp-float, .back-to-top, .cookie-popup, .no-print { display: none !important; }
  .legal-card { box-shadow: none; border-color: #ccc; page-break-inside: avoid; padding: 0 0 18px; }
  .section { padding: 0; }
}
