/* MP Yasal Uyarı */
.mpyu-kart[hidden], .mpyu-pencere[hidden] { display: none !important; }
.mpyu-kart {
  position: fixed; bottom: 20px; z-index: 99990; width: 360px; max-width: calc(100vw - 32px);
  background: #fff; color: #1d1d1f; border: 1px solid #e4e4e7; border-top: 4px solid var(--mpyu-renk, #D7141A);
  border-radius: 8px; box-shadow: 0 12px 32px rgba(20, 20, 22, .18); padding: 16px 18px;
  font-family: inherit; font-size: 14px; line-height: 1.5; animation: mpyu-gel .35s ease both;
}
.mpyu-kart.mpyu-left { left: 20px; }
.mpyu-kart.mpyu-right { right: 20px; }
@keyframes mpyu-gel { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.mpyu-bas { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mpyu-ikon { display: inline-flex; color: var(--mpyu-renk, #D7141A); flex: none; }
.mpyu-bas strong { font-size: 15px; font-weight: 700; color: #141416; line-height: 1.3; }
.mpyu-metin { margin: 0 0 14px; color: #4a4a50; font-size: 13.5px; }
.mpyu-dugmeler { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mpyu-kart .mpyu-oku, .mpyu-kart .mpyu-oku:hover { color: #141416 !important; text-decoration: underline; font-weight: 600; font-size: 13.5px; padding: 8px 4px; }
.mpyu-tamam {
  margin-left: auto; border: 0; cursor: pointer; background: var(--mpyu-renk, #D7141A); color: #fff !important;
  font-weight: 700; font-size: 13.5px; padding: 9px 16px; border-radius: 6px; line-height: 1.2;
}
.mpyu-tamam:hover { filter: brightness(.9); color: #fff !important; }
.mpyu-pencere {
  position: fixed; inset: 0; z-index: 99995; background: rgba(20, 20, 22, .6);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.mpyu-pencere-kutu {
  background: #fff; border-radius: 10px; width: 760px; max-width: 100%; max-height: 88vh; display: flex; flex-direction: column;
  border-top: 5px solid var(--mpyu-renk, #D7141A); box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.mpyu-pencere-ust { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid #ececef; }
.mpyu-pencere-ust h2 { margin: 0; font-size: 19px; font-weight: 700; color: #141416; line-height: 1.3; flex: 1; }
.mpyu-kapat { border: 0; background: #f2f2f4; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: #141416; flex: none; }
.mpyu-pencere-icerik { padding: 18px 22px; overflow-y: auto; color: #2a2a2e; font-size: 14.5px; line-height: 1.65; }
.mpyu-pencere-icerik p { margin: 0 0 12px; }
.mpyu-pencere-alt { padding: 14px 22px; border-top: 1px solid #ececef; display: flex; }
/* Aynı köşede WhatsApp düğmesi varsa kart onun üstünde dursun */
body:has(.mp-whatsapp-button.left) .mpyu-kart.mpyu-left,
body:has(.mp-whatsapp-button.right) .mpyu-kart.mpyu-right,
body:has(.mp-whatsapp-button:not(.left)) .mpyu-kart.mpyu-right { bottom: 92px; }
@media (max-width: 575px) {
  .mpyu-kart { left: 12px !important; right: 12px !important; bottom: 76px; width: auto; }
  body:has(.mp-whatsapp-button) .mpyu-kart { bottom: 92px; }
}
