/* OFFER CARD */
.offer-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  background: #f0fff4;
  border: 1.5px dashed #28a745;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0;
}

/* LEFT SIDE */
.offer-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* BADGE */
.offer-badge {
  background: #28a745;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

/* TEXT */
.offer-text strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.offer-text p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #444;
}

/* RIGHT SIDE (DISCOUNT) */
.offer-right {
  font-weight: 800;
  color: #28a745;
  font-size: 16px;
  white-space: nowrap;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .offer-card {
    padding: 12px;
  }

  .offer-text strong {
    font-size: 14px;
  }

  .offer-right {
    font-size: 15px;
  }
}




/* ============================
   FLOATING CELEBRATION TOAST
============================ */

#offer-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 320px;
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  z-index: 9999;

  /* Hidden by default */
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  pointer-events: none;

  transition: all 0.45s ease;
}

#offer-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-icon {
  font-size: 28px;
  animation: pop 0.6s ease;
}

.toast-text strong {
  font-size: 15px;
  display: block;
}

.toast-text p {
  font-size: 13px;
  margin: 2px 0 0;
  opacity: 0.95;
}

/* Fun pop animation */
@keyframes pop {
  0% { transform: scale(0.6) rotate(-10deg); }
  70% { transform: scale(1.2) rotate(5deg); }
  100% { transform: scale(1); }
}

/* ============================
   MOBILE OPTIMIZATION
============================ */

@media (max-width: 768px) {
  #offer-toast {
    left: 50%;
    right: auto;
    bottom: 18px;
    transform: translateX(-50%) translateY(30px) scale(0.95);
    max-width: 90%;
  }

  #offer-toast.show {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}


/* =========================
   MOBILE COMPACT MODE
========================= */
@media (max-width: 768px) {
  .offer-card {
    padding: 10px 12px;
    border-radius: 10px;
    gap: 10px;
  }

  .offer-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
  }

  .offer-text strong {
    font-size: 13.5px;
  }

  .offer-text p {
    font-size: 12px;
    margin-top: 2px;
    line-height: 1.3;
  }

  .offer-right {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .offer-card {
    background: #f6fff8; /* slightly lighter */
  }
}


/* ==========================
   TOP OFFER BAR (WELCOME STYLE)
========================== */
.offer-bar {
  background: linear-gradient(90deg, #2e7d32, #43a047);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  animation: slideDown 0.6s ease-out;
}

/* Icon bounce */
.offer-icon {
  font-size: 16px;
  animation: pop 1.5s infinite ease-in-out;
}

/* Subtle entrance */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Mobile polish */
@media (max-width: 768px) {
  .offer-bar {
    font-size: 13px;
    padding: 8px 12px;
  }
}


.offer-bar {
  background: linear-gradient(90deg, #2e7d32, #43a047);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.offer-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.3;
}

/* Main line */
.offer-text strong {
  font-size: 16px;
  font-weight: 700;
}

/* Middle line */
.offer-line {
  font-size: 15px;
  font-weight: 500;
}

/* Small subtitle */
.offer-sub {
  font-size: 13px;
  opacity: 0.9;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .offer-text strong {
    font-size: 15px;
  }
  .offer-line {
    font-size: 14px;
  }
  .offer-sub {
    font-size: 12px;
  }
}


.top-offer-bar {
  background: linear-gradient(90deg, #2e7d32, #43a047);
  padding: 14px 12px;
  display: flex;
  justify-content: center;
}

.offer-content {
  text-align: center;
  color: #fff;
}

/* Main text */
.offer-main {
  font-size: 18px;
  font-weight: 700;
}

/* FREE badge — reduced bulk */
.free-tag {
  background: #ffeb3b;
  color: #1b5e20;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
}

/* Celebration line */
.offer-sub {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.95;
}

/* Mobile */
@media (max-width: 768px) {
  .offer-main {
    font-size: 16px;
  }

  .free-tag {
    font-size: 14px;
  }
}
