/* =========================
   MASAÜSTÜ (769px ve üzeri)
========================= */
@media (min-width: 769px) {

  .ps-sidepopup {
    position: fixed;
    bottom: 24px;
    z-index: 9999;
    --pssp-panel-width: 360px;
    font-family: inherit;
  }

  .ps-sidepopup__icon {
    width: 80px;
    height: auto;
    border: 0;
    background: transparent;
    position: relative;
    z-index: 200000;
  }

}

/* =========================
   MOBİL (768px ve altı)
========================= */
@media (max-width: 768px) {

  .ps-sidepopup {
    position: fixed;
    bottom: 55px;
    z-index: 9999;
    --pssp-panel-width: 360px;
    font-family: inherit;
  }

  .ps-sidepopup__icon {
    width: 55px;
    height: auto;
    border: 0;
    background: transparent;
    position: relative;
    z-index: 200000;
  }

}


.ps-sidepopup--left { left: 18px; }
.ps-sidepopup--right { right: 18px; }




.ps-sidepopup__overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.ps-sidepopup__panel{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: var(--pssp-panel-width);
  max-width: calc(100vw - 32px);
  background: #fff;
  color: #111;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  overflow: hidden;
}

/* sağ-sol kurallarını iptal et */
.ps-sidepopup--left .ps-sidepopup__panel,
.ps-sidepopup--right .ps-sidepopup__panel{
  left: 50%;
  right: auto;
}


.ps-sidepopup__header{
  padding: 14px 46px 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.ps-sidepopup__title{
  font-size: 16px;
  font-weight: 700;
}
.ps-sidepopup__content{
  padding: 14px 16px 16px 16px;
  font-size: 14px;
}
.ps-sidepopup__content p{ margin: 0 0 10px 0; }
.ps-sidepopup__content p:last-child{ margin-bottom: 0; }

.ps-sidepopup__close{
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 32px;
  cursor: pointer;
  color: #333;
}

.ps-sidepopup.is-open .ps-sidepopup__overlay{
  opacity: 1;
  pointer-events: auto;
}
.ps-sidepopup.is-open .ps-sidepopup__panel{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
