/* =========================================================
   OKUT.NET.TR – homev2 entegrasyon katmanı
   (tasarımın style.css dosyasına dokunmadan eklenen stiller)
   ========================================================= */

/* Logo görseli (Genel Ayarlar logosu kullanılırsa) */
.logo-img { height: 38px; width: auto; display: block; }
.site-footer .logo-img { height: 42px; }

/* Ek senaryo rengi */
.ic-brand { background: var(--brand-100); color: var(--brand); }

/* Görsel ikonlu özellik kutuları */
.fbox-ic img { width: 60%; height: 60%; object-fit: contain; }

/* Adım sayısı yönetimden değişebilir */
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); }
}

/* İndirimli eski fiyat */
.price-old { display: block; color: var(--muted); font-size: .95rem; font-weight: 500; margin-bottom: -4px; }
.price-card.featured .price-old { color: #d9ccff; }

/* ---------- Galeri ---------- */
.hv2-gallery { position: relative; }
.hv2-gallery-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 23%);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px;
  scrollbar-width: thin; scrollbar-color: var(--brand-100) transparent;
}
.hv2-shot {
  display: block; scroll-snap-align: start; border-radius: 26px; overflow: hidden;
  background: #fff; border: 1px solid var(--brand-100); box-shadow: var(--shadow-sm);
  aspect-ratio: 9 / 16; transition: transform .25s, box-shadow .25s;
}
.hv2-shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hv2-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 991.98px) { .hv2-gallery-track { grid-auto-columns: minmax(180px, 40%); } }
@media (max-width: 575.98px) { .hv2-gallery-track { grid-auto-columns: 66%; gap: 14px; } }
#galleryModal .modal-content { background: transparent; }

/* ---------- İç sayfalar (sözleşmeler, hesap silme) ---------- */
.hv2-inner .site-header { background: rgba(255,255,255,.92); }
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 64px;
  background: linear-gradient(180deg, var(--brand-50), #fff);
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(155,92,246,.18), transparent);
}
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin: 0; position: relative; z-index: 1; }
.page-hero .crumb { font-size: .88rem; color: var(--muted); margin-bottom: 12px; position: relative; z-index: 1; }
.page-hero .crumb a { color: var(--muted); }
.page-hero .crumb a:hover { color: var(--brand); }

.page-body { padding: 10px 0 90px; }
.legal-card {
  background: #fff; border: 1px solid var(--brand-100); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: clamp(22px, 4vw, 48px);
  color: var(--text); font-size: 1rem; line-height: 1.8;
}
.legal-card h2, .legal-card h3, .legal-card h4 { margin: 1.6em 0 .6em; font-size: 1.2rem; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card img { height: auto; border-radius: 12px; }
.legal-side { position: sticky; top: calc(var(--header-h) + 20px); }
.legal-side .ls-card { background: #fff; border: 1px solid var(--brand-100); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.legal-side h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.legal-side ul { list-style: none; padding: 0; margin: 0; }
.legal-side li a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.legal-side li a:hover, .legal-side li a.active { background: var(--brand-50); color: var(--brand); }

/* Hesap silme formu */
.danger-card { background: #fff; border: 1px solid #ffd9df; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(22px, 4vw, 44px); }
.danger-note { background: #fff4f6; border: 1px solid #ffd9df; border-radius: 16px; padding: 18px 20px; color: #9f1239; }
.danger-note ul { margin: 8px 0 0; padding-left: 18px; font-size: .92rem; }
.form-step { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; display: block; }
.hv2-inner .form-control, .hv2-inner .form-select { border-radius: 12px; border-color: #e3def8; padding: .75rem 1rem; }
.hv2-inner .form-control:focus, .hv2-inner .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(106,73,242,.18); }
.hv2-inner .input-group-text { border-radius: 12px; border-color: #e3def8; background: var(--brand-50); color: var(--brand); }
.btn-danger-soft { background: var(--red); color: #fff; border: 0; border-radius: 999px; font-weight: 600; padding: .75rem 1.5rem; box-shadow: 0 10px 24px rgba(239,75,95,.3); }
.btn-danger-soft:hover { background: #d93c50; color: #fff; }

/* Toast rengi */
#nlToast { background: var(--ink); color: #fff; border-radius: 14px; }
#nlToast .btn-close { filter: invert(1); }

/* ---------- Sipariş sayfası ekleri ---------- */
.sp-thumb .sp-img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; background: #fff; }
.coupon-active { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--green); }
.coupon-active > i { font-size: 1.4rem; }
.coupon-active b { display: block; color: var(--ink); letter-spacing: .04em; line-height: 1.2; }
.coupon-active small { color: var(--muted); }
.coupon-active a { color: var(--muted); font-size: 1.2rem; }
.coupon-active a:hover { color: var(--red); }
