.offer-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 4000 !important; 
  animation: fadeIn 0.3s ease;
}

.offer-modal-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4001 !important; 
  width: 90%;
  max-width: 500px;
  background: var(--color-text-white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translate(-50%, -40%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.card-btn-primary {
  background: var(--color-primary);
  color: var(--color-text-white);
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  width: 100%;
  font-weight: 600;
}

.card-btn-primary:hover {
  background:  var(--color-primary);
}

.btn-ghost {
  background: #ffcc00;
  border: 1px solid #ccc;
  color: #000;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
}

.btn-ghost:hover {
  background: #f0f0f0;
}

.offer-card-action {
  width: 100%;
}

.offer-card-action-btn {
  width: 100%;
  margin: 10px;
}

.offer-card-title {
  text-align: center;
  color: teal;
  font-size: 17px;
  padding: 5px 8px;
}

.offer-card-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 200px;
  object-fit: cover;
  height: 150px;
}

.offer-card-description {
  text-align: center;
  padding: 5px 8px;
  font-size: 15px;
  color: maroon;
}

.offer-card-discount {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff4d4f;
  text-align: center;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
