/* =========================================
   OFFER TOAST (GLOBAL)
   Fixes:
   ? Close (X) cut problem
   ? Title/desc overlap with X
   ? Better mobile width
   ? Smooth animation
========================================= */

.pk-offer-toast{
  position: fixed;
  right: 18px;
  bottom: 18px;

  width: 360px;
  max-width: calc(100vw - 24px);

  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.20);
  z-index: 999999;

  /* ? important: X button cut fix */
  overflow: visible;

  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}

.pk-offer-toast.show{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ===== Close button (X) ===== */
.pk-offer-close{
  position:absolute;
  top: 10px;
  right: 10px;

  width: 34px;
  height: 34px;

  border: 0;
  border-radius: 12px;
  background: rgba(0,0,0,.07);
  cursor: pointer;

  font-size: 20px;
  line-height: 34px;
  text-align: center;

  z-index: 20;
}

.pk-offer-close:hover{
  background: rgba(0,0,0,.12);
}

/* ===== Main body ===== */
.pk-offer-body{
  display:flex;
  gap: 12px;

  /* ? right padding increased to avoid overlap with close */
  padding: 16px 46px 10px 16px;
}

.pk-offer-icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: #ffe8a3;
  font-size: 22px;
  flex: 0 0 auto;
}

.pk-offer-text{
  flex: 1;
  min-width: 0;
}

.pk-offer-title{
  font-weight: 800;
  font-size: 15px;
  color:#111;
  margin-bottom: 4px;

  /* ? Long title safe */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pk-offer-desc{
  font-size: 13px;
  color: #444;
  line-height: 1.35;

  /* ? multi-line trim */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* ===== Button area ===== */
.pk-offer-bottom{
  padding: 0 16px 14px 16px;
}

.pk-offer-btn{
  width: 100%;
  display:block;
  text-align:center;

  background:#111;
  color:#fff;
  padding: 11px 12px;
  border-radius: 12px;

  text-decoration:none;
  font-weight:700;
  letter-spacing: .2px;
}

.pk-offer-btn:hover{
  opacity: .93;
}

/* ===== Progress bar (Offer change indicator) ===== */
.pk-offer-progress{
  height: 4px;
  background: rgba(0,0,0,.08);
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}

.pk-offer-progress-bar{
  height:4px;
  width:0%;
  background: #ffb703;
  transition: width .2s linear;
}

/* ===== Mobile responsive ===== */
@media(max-width: 600px){
  .pk-offer-toast{
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto; /* ? full width */
    max-width: none;
  }

  .pk-offer-body{
    padding-right: 52px; /* close ke liye extra */
  }

  .pk-offer-title{
    font-size: 14px;
  }

  .pk-offer-desc{
    font-size: 12.5px;
  }
}
