/* PETMARKT MAMA DANIŞMANI - SAFE ADDON */
#petmarktMamaDanismaniRoot{font-family:inherit}
#petmarktMamaDanismaniRoot.pmd-page-hidden{display:none!important}
.pmd-fab{
  position:fixed;left:22px;bottom:22px;z-index:2147482500;border:0;border-radius:22px;
  background:linear-gradient(135deg,#00346a,#0b67c2);color:#fff;box-shadow:0 16px 35px rgba(0,52,106,.28);
  padding:13px 18px;display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:950;
  border:2px solid rgba(255,255,255,.7)
}
.pmd-fab span{font-size:25px}.pmd-fab b{font-size:13px;line-height:1.05;text-align:left}
.pmd-overlay{position:fixed;inset:0;background:rgba(0,20,45,.55);z-index:2147483000;display:none;align-items:center;justify-content:center;padding:18px}
.pmd-overlay.active{display:flex}
body.pmd-open .mobile-bottom-dock,
body.pmd-open #mobileBottomDock,
body.pmd-open .mobile-nav-col,
body.pmd-open .mobile-account-overlay,
body.pmd-open .mobile-action-overlay{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.pmd-panel{position:relative;width:min(620px,100%);max-height:min(760px,92vh);overflow:auto;background:#fff;border-radius:28px;box-shadow:0 30px 80px rgba(0,0,0,.25);border:1px solid #dbeafe}
.pmd-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#eef6ff;color:#00346a;font-size:26px;line-height:1;cursor:pointer;font-weight:900}
.pmd-head{background:linear-gradient(135deg,#00346a,#0b67c2);color:#fff;padding:24px 24px 20px;border-radius:28px 28px 0 0}
.pmd-badge{display:inline-block;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:950;letter-spacing:.5px}
.pmd-head h3{margin:12px 0 4px;font-size:27px;font-weight:950}.pmd-head p{margin:0;color:#dbeafe;font-weight:700}
.pmd-body{padding:22px}
.pmd-progress{height:8px;background:#eaf3ff;border-radius:999px;overflow:hidden;margin-bottom:18px}
.pmd-progress span{display:block;height:100%;background:linear-gradient(90deg,#0b67c2,#18a1ff);border-radius:999px}
.pmd-question small,.pmd-results-head small{font-weight:950;color:#0b67c2;text-transform:uppercase;font-size:12px}
.pmd-question h4,.pmd-results-head h4{font-size:23px;color:#00346a;margin:8px 0 8px;font-weight:950}
.pmd-question p,.pmd-results-head p{color:#52637a;margin:0 0 14px;font-weight:650}
.pmd-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.pmd-options button{border:1px solid #d8e9fb;background:#f8fbff;border-radius:18px;padding:15px 14px;text-align:left;color:#00346a;font-weight:900;cursor:pointer;transition:.15s}
.pmd-options button:hover{transform:translateY(-1px);border-color:#0b67c2;box-shadow:0 10px 24px rgba(11,103,194,.12);background:#eef7ff}
.pmd-back,.pmd-restart{margin-top:16px;border:0;border-radius:14px;background:#eaf3ff;color:#00346a;font-weight:950;padding:11px 15px;cursor:pointer}
.pmd-results{display:grid;gap:12px;margin-top:16px}
.pmd-product{position:relative;display:grid;grid-template-columns:105px 1fr;gap:14px;border:1px solid #dcecff;border-radius:20px;padding:13px;background:#fff;box-shadow:0 10px 25px rgba(0,52,106,.07)}
.pmd-product img{width:105px;height:105px;object-fit:contain;border-radius:16px;background:#f7fbff}
.pmd-rank{position:absolute;left:12px;top:10px;background:#ffb000;color:#10233f;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:950}
.pmd-product-info h5{font-size:15px;color:#00346a;margin:0 0 8px;font-weight:950;line-height:1.25}
.pmd-product-info p{font-size:12.5px;color:#52637a;margin:0 0 8px;font-weight:650}
.pmd-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.pmd-meta span{font-size:12px;background:#eef6ff;color:#00346a;border-radius:999px;padding:5px 8px;font-weight:900}
.pmd-link,.pmd-whatsapp{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:14px;background:#0b67c2;color:#fff!important;font-weight:950;padding:10px 14px;font-size:13px}
.pmd-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.pmd-whatsapp{background:#22c55e}
.pmd-empty{border:1px dashed #aac8ea;border-radius:18px;padding:16px;color:#52637a;background:#f8fbff}
@media(max-width:768px){
  .pmd-fab{
    left:14px;
    bottom:calc(92px + env(safe-area-inset-bottom,0px));
    border-radius:18px;
    padding:10px 12px;
  }
  .pmd-fab b{font-size:11px}.pmd-fab span{font-size:21px}

  /* MOBİL DÜZELTME: panel sayfanın altına yapışmasın, tam ortada açılsın */
  .pmd-overlay{
    position:fixed;
    inset:0;
    width:100vw;
    height:100dvh;
    min-height:100vh;
    align-items:center;
    justify-content:center;
    padding:14px;
    padding-top:calc(14px + env(safe-area-inset-top,0px));
    padding-bottom:calc(14px + env(safe-area-inset-bottom,0px));
    overflow:hidden;
  }
  .pmd-panel{
    position:relative;
    z-index:2147483001;
    width:min(100%,430px);
    max-width:430px;
    max-height:calc(100dvh - 28px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
    border-radius:24px;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .pmd-head{padding:20px 18px 16px;border-radius:24px 24px 0 0}
  .pmd-head h3{font-size:23px}
  .pmd-body{padding:16px 16px calc(28px + env(safe-area-inset-bottom,0px))}
  .pmd-options{grid-template-columns:1fr}
  .pmd-product{grid-template-columns:88px 1fr;gap:10px}
  .pmd-product img{width:88px;height:88px}
}

@media(max-width:420px){
  .pmd-overlay{padding:10px;padding-top:calc(10px + env(safe-area-inset-top,0px));padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
  .pmd-panel{width:100%;max-height:calc(100dvh - 20px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
  .pmd-close{right:12px;top:12px}
  .pmd-product{grid-template-columns:78px 1fr}
  .pmd-product img{width:78px;height:78px}
  .pmd-link,.pmd-whatsapp{width:100%}
}
.pmd-section-title{font-size:13px;font-weight:950;color:#00346a;background:#eef6ff;border:1px solid #d8e9fb;border-radius:14px;padding:10px 12px;margin:4px 0 2px}
.pmd-section-alt{background:#fff8e6;border-color:#ffe2a8;color:#6b4500}
.pmd-product-alt{background:#fffdf7}


/* Performans notu: Eski :has() tabanlı global popup gizleme kuralları kaldırıldı.
   Mobilde CSS motorunun tüm sayfayı sürekli taramasını engellemek için görünürlük JS tarafında hafif olaylarla kontrol edilir. */

/* Instant link fix: Ürünü İncele artık <button> olduğu için tarayıcı varsayılan buton çizgisini kapatır. */
button.pmd-link{border:0;cursor:pointer;font-family:inherit}
