/* eTech v3 — məlumat / hüquqi səhifələr (faq, catdirilma, gizlilik, satis-sertleri, 404)
   Tailwind preflight siyahı/başlıq stillərini sıfırlayır, @tailwindcss/typography yoxdur → burada.
   Rənglər tailwind.config.js tokenlərinin dəyərləridir (primary #005cba, slate-ink #0F172A,
   on-surface-variant #44474c, border-subtle #E2E8F0). */

/* ── Oxunaqlı mətn (max ~72ch) ── */
.v3-prose { color: #334155; font-size: 16px; line-height: 1.75; max-width: 72ch; overflow-wrap: anywhere; }
.v3-prose > :first-child { margin-top: 0; }
.v3-prose > :last-child { margin-bottom: 0; }
.v3-prose p, .v3-prose ul, .v3-prose ol { margin: 0 0 .9em; }
.v3-prose h2 { font-family: Manrope, Inter, system-ui, sans-serif; font-weight: 700; font-size: 20px; line-height: 28px; letter-spacing: -.01em; color: #0F172A; margin: 0 0 .7em; }
.v3-prose h3 { font-family: Manrope, Inter, system-ui, sans-serif; font-weight: 700; font-size: 17px; line-height: 24px; color: #0F172A; margin: 1.2em 0 .5em; }
.v3-prose ul { list-style: disc; padding-left: 1.35em; }
.v3-prose ol { list-style: decimal; padding-left: 1.5em; }
.v3-prose li { margin: .35em 0; padding-left: .2em; }
.v3-prose li::marker { color: #005cba; font-weight: 600; }
.v3-prose a { color: #005cba; text-decoration: underline; text-underline-offset: 2px; }
.v3-prose a:hover { color: #004b93; }
.v3-prose strong, .v3-prose b { font-weight: 600; color: #0F172A; }
@media (min-width: 768px) { .v3-prose h2 { font-size: 22px; line-height: 30px; } }

/* Hüquqi bölmə: nömrə + başlıq */
.v3-sec { scroll-margin-top: 150px; }
@media (max-width: 1023px) { .v3-sec { scroll-margin-top: 140px; } }
.v3-sec + .v3-sec { border-top: 1px solid #E2E8F0; padding-top: 1.75rem; margin-top: 1.75rem; }

/* Callout-lar (satış şərtləri: .strict / .warn ekvivalenti) */
.v3-callout { border-left-width: 4px; border-left-style: solid; border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 0 0 .9em; }
.v3-callout p { margin: 0; }
.v3-callout--sale { background: #FEF2F2; border-color: #DC2626; }
.v3-callout--warn { background: #FFFBEB; border-color: #F59E0B; }

/* ── Mündəricat ── */
.v3-toc a[aria-current="true"] { color: #005cba; border-color: #005cba; font-weight: 600; background: #EFF6FF; }
.v3-toc-m > summary { list-style: none; }
.v3-toc-m > summary::-webkit-details-marker { display: none; }
.v3-toc-m[open] .v3-toc-chev { transform: rotate(180deg); }

/* ── FAQ akkordeonu (nativ <details>; <summary> ATRIBUTSUZ qalmalıdır — seo.py FAQPage regex-i) ── */
.v3-faq > summary { list-style: none; cursor: pointer; position: relative; display: flex; align-items: center;
  min-height: 56px; padding: 14px 56px 14px 20px; font-family: Manrope, Inter, system-ui, sans-serif;
  font-weight: 600; font-size: 16px; line-height: 24px; color: #0F172A; border-radius: 8px; }
.v3-faq > summary::-webkit-details-marker { display: none; }
.v3-faq > summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid #005cba; border-bottom: 2px solid #005cba; transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease; }
.v3-faq[open] > summary::after { transform: translateY(-20%) rotate(-135deg); }
.v3-faq > summary:hover { background: #F8FAFC; }
.v3-faq[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.v3-faq > summary:focus-visible { outline: 2px solid #0088FF; outline-offset: 2px; }
.v3-faq-a { padding: 0 20px 18px; }
@media (min-width: 768px) {
  .v3-faq > summary { font-size: 17px; padding: 16px 60px 16px 24px; }
  .v3-faq-a { padding: 0 24px 22px; }
}
@media (prefers-reduced-motion: reduce) { .v3-faq > summary::after { transition: none; } }

/* ── Çap (satış şərtləri rəsmi sənəd kimi çap olunur) ── */
@media print {
  #v3-header, #v3-footer, #v3-bottomnav, #v3-drawer, #sf-drawer-bd, #etech-launcher,
  [data-print-hide] { display: none !important; }
  body { background: #fff !important; padding: 0 !important; }
  .card { box-shadow: none !important; border: 0 !important; }
  .v3-prose { max-width: none; font-size: 12pt; color: #000; }
  .v3-prose a { color: #000; text-decoration: none; }
  .v3-sec { break-inside: avoid-page; }
  .v3-callout { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Bağlı <details> içi tam gizli (bəzi brauzerlərdə/alətlərdə bağlı məzmun layout-da qalır → toxunma yoxlaması) */
.v3-toc-m:not([open]) > :not(summary),
.v3-faq:not([open]) > :not(summary) { display: none; }
