/* ========== Sticky Plans Bar (Parsuptime) ========== */
.pt-sticky-plansbar{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 9999;
  display: none;
  pointer-events: none;

  font-family: inherit;
  font-size: var(--bs-body-font-size, 16px);
}

.pt-sticky-plansbar.is-visible{ display:block; }

.pt-sticky-plansbar .pt-spb__inner{
  pointer-events: auto;
  width: min(1180px, 100%);
  margin: 0 auto;

  background: var(--bs-body-bg, #fff);
  border: 1px solid rgba(13,110,253,.22);
  border-radius: 20px;

  min-height: 72px;          /* ارتفاع کمی بیشتر */
  padding: 16px 20px;

  box-shadow: 0 10px 28px rgba(13,110,253,.12);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  direction: rtl;            /* RTL واقعی */
}

/* ---- Swap sides: Price RIGHT, Button LEFT ---- */
/* در RTL آیتمی که order کوچک‌تر دارد سمت راست می‌نشیند */
.pt-sticky-plansbar .pt-spb__price{ order: 0; }
.pt-sticky-plansbar .pt-spb__btn{ order: 1; }

/* ---- Button ---- */
.pt-sticky-plansbar .pt-spb__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* آیکون سمت چپِ متن (مثل عکس تو) */
  flex-direction: row-reverse;

  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;

  text-decoration: none;
  background: var(--bs-primary, #0D6EFD);
  color: #fff;

  font-weight: 900;
  font-size: 16px;
  line-height: 1;

  white-space: nowrap;
  border: 1px solid rgba(13,110,253,.35);

  transition: box-shadow .18s ease, transform .18s ease, opacity .18s ease;
}

.pt-sticky-plansbar .pt-spb__btn:hover{
  opacity: .985;
  box-shadow: 0 10px 20px rgba(13,110,253,.18);
  transform: translateY(-1px);
}

.pt-sticky-plansbar .pt-spb__icon{
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.pt-sticky-plansbar .pt-spb__icon svg{
  width: 22px;
  height: 22px;
  display: block;

  /* فلش برعکس شود */
  transform: scaleX(-1);
}

/* ---- Price ---- */
.pt-sticky-plansbar .pt-spb__price{
  text-align: right;
  color: var(--bs-body-color, #111);

  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;

  justify-content: flex-start;
  white-space: nowrap;
}

.pt-sticky-plansbar .pt-spb__label{
  font-weight: 800;
  opacity: .85;
  font-size: 16px;
}

.pt-sticky-plansbar .pt-spb__amount{
  font-weight: 900;
  color: var(--bs-primary, #0D6EFD);
  font-size: 26px;
  letter-spacing: .2px;
}

.pt-sticky-plansbar .pt-spb__unit{
  font-weight: 800;
  opacity: .8;
  font-size: 16px;
}

/* ---- Responsive ---- */
@media (max-width: 767.98px){
  .pt-sticky-plansbar{
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .pt-sticky-plansbar .pt-spb__inner{
    padding: 14px 14px;
    border-radius: 18px;
    min-height: 68px;
    gap: 12px;
  }

  .pt-sticky-plansbar .pt-spb__btn{
    padding: 12px 16px;
    font-size: 15px;
  }

  .pt-sticky-plansbar .pt-spb__amount{
    font-size: 22px;
  }

  .pt-sticky-plansbar .pt-spb__label,
  .pt-sticky-plansbar .pt-spb__unit{
    font-size: 14px;
  }
}

@media (max-width: 575.98px){
  .pt-sticky-plansbar .pt-spb__inner{
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .pt-sticky-plansbar .pt-spb__price{
    justify-content: center;
    white-space: normal;
  }
}
