/* MSA ürün ve yasal sayfaları (8498 tasarım kopyası, Sinan 2026-11-08: "header ve footer tek tip merkezi tasarım tüm
   sayfada"). serve.mjs msaHtml yalnız body.product-page / body.legal-page sayfalarına ekler; MSA kaynağı değişmez.
   MSA'nın ince koyu şeridi (#siteFooter) yerine sitenin alt bilgisi (.mt-site-footer; dile uyanı design/mt-msa-assistant.js
   #mtMsaFoot içine koyar). Asistan sayfasının kuralları design/mt-msa-assistant.css'te. */

body.product-page #siteFooter,
body.legal-page #siteFooter { display: none !important; }

.mt-msa-foot { flex: 0 0 auto; margin: 0; padding: 0; }
.mt-msa-foot:empty { display: none; }
.mt-msa-foot .mt-site-footer { margin: 0; display: block; }
/* MSA style.css'in genel footer/marka kuralları sızmasın: site sayfasındaki görünüm */
.mt-msa-foot .mt-site-footer .msa-brand { color: #fff !important; font-weight: 600 !important; }
.mt-msa-foot .mt-site-footer .footer-main { max-width: none; }
.mt-msa-foot .mt-site-footer .footer-contact,
.mt-msa-foot .mt-site-footer .footer-meta { flex: 0 1 auto; min-width: auto; }
.mt-msa-foot .mt-site-footer .footer-address { white-space: normal !important; min-width: auto; }
@media (min-width: 1025px) { .mt-msa-foot .mt-site-footer .footer-meta { white-space: nowrap; } }

/* ürün sayfası: MSA'nın masaüstü "kaydırmasız" kabuğu (100dvh, main taşmayı gizler) yerine belge kayar ve alt bilgi
   site sayfalarındaki gibi içerikten sonra gelir (yasal sayfalar bunu mt-legal.css ile zaten yapıyor) */
html:has(body.product-page),
html body.product-page { height: auto !important; max-height: none !important; min-height: 100% !important; overflow: visible !important; }
html body.product-page { overflow-x: clip !important; }
html body.product-page .shell--product { height: auto !important; max-height: none !important; min-height: 100dvh !important; overflow: visible !important; }
html body.product-page .shell--product > main.product-main,
html body.product-page main.product-main { height: auto !important; max-height: none !important; overflow: visible !important; flex: 1 0 auto !important; }
html body.product-page .shell--product > .mt-msa-foot { margin-top: clamp(16px, 2vh, 24px); }
