/* ====================================
   COUPON ZONE
==================================== */

.coupon-zone {
  width: 100%;

  padding: 60px 50px;

  background: #fff;
}

/* ====================================
   WRAPPER
==================================== */

.coupon-wrapper {
  width: 100%;

  background: linear-gradient(90deg, #7b61ff 0%, #efb2d2 50%, #ff8a00 100%);

  border-radius: 34px;

  padding: 22px;

  overflow: hidden;
}

/* ====================================
   TITLE
==================================== */

.coupon-title {
  display: flex;

  align-items: center;

  gap: 16px;

  margin-bottom: 22px;
}

/* ICON */

.coupon-icon {
  width: 42px;
  height: 42px;

  border-radius: 10px;

  background: #7b61ff;

  color: white;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 24px;

  font-weight: 700;

  transform: rotate(-10deg);
}

/* ORANGE */

.coupon-icon.orange {
  background: #ff9800;

  transform: rotate(10deg);
}

/* TITLE */

.coupon-title h2 {
  font-size: 28px;

  font-weight: 700;

  color: #222;
}

/* ====================================
   SLIDER
==================================== */

.coupon-slider {
  display: flex;

  gap: 16px;

  overflow: hidden;
}

/* ====================================
   CARD
==================================== */

.coupon-card {
  min-width: 380px;

  background: white;

  border-radius: 18px;

  padding: 16px 18px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  position: relative;

  overflow: hidden;
}

/* SIDE CUT */

.coupon-card::before,
.coupon-card::after {
  content: "";

  position: absolute;

  width: 18px;
  height: 18px;

  border-radius: 50%;

  background: #efb2d2;

  top: 50%;

  transform: translateY(-50%);
}

.coupon-card::before {
  left: -9px;
}

.coupon-card::after {
  right: -9px;
}

/* ====================================
   LEFT
==================================== */

.coupon-left {
  display: flex;

  align-items: center;

  gap: 16px;
}

/* IMAGE */

.coupon-left img {
  width: 64px;
  height: 64px;

  border-radius: 50%;

  object-fit: cover;

  background: #f5f5f5;
}

/* ====================================
   INFO
==================================== */

.coupon-info h3 {
  font-size: 18px;

  line-height: 1.4;

  margin-bottom: 10px;

  color: #222;

  font-weight: 700;
}

.coupon-info p {
  font-size: 14px;

  color: #444;

  font-weight: 600;
}

/* RED */

.coupon-info .red {
  color: #ff3b30;
}

/* ====================================
   BUTTON
==================================== */

.coupon-card button {
  border: none;

  background: #0095d9;

  color: white;

  padding: 10px 18px;

  border-radius: 10px;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.3s ease;
}

.coupon-card button:hover {
  background: #0077ad;
}

/* ====================================
   MOBILE
==================================== */

@media (max-width: 991px) {
  .coupon-zone {
    padding: 50px 20px;
  }

  .coupon-wrapper {
    padding: 18px;
  }

  .coupon-title h2 {
    font-size: 22px;
  }

  .coupon-card {
    min-width: 320px;
  }
}

@media (max-width: 600px) {
  .coupon-slider {
    overflow-x: auto;

    scrollbar-width: none;
  }

  .coupon-slider::-webkit-scrollbar {
    display: none;
  }

  .coupon-card {
    min-width: 290px;
  }

  .coupon-left {
    gap: 12px;
  }

  .coupon-left img {
    width: 54px;
    height: 54px;
  }

  .coupon-info h3 {
    font-size: 15px;
  }

  .coupon-info p {
    font-size: 12px;
  }

  .coupon-card button {
    padding: 8px 14px;

    font-size: 12px;
  }
}


/* CODEX CLICKABLE COUPON PATCH */
.coupon-card {
  color: inherit;
  text-decoration: none;
}

.coupon-grab {
  align-items: center;
  background: #24135f;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
}

.coupon-card:hover .coupon-grab {
  background: #f57b20;
}

/* CODEX COUPON GRAB STATE */
.coupon-card {
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.coupon-card.coupon-claimed .coupon-grab {
  background: #003041;
  color: #fff;
}

.coupon-grab-toast {
  position: fixed;
  left: 50%;
  bottom: 78px;
  z-index: 2147483001;
  transform: translate(-50%, 18px);
  padding: 12px 16px;
  border-radius: 999px;
  background: #003041;
  color: #fff;
  box-shadow: 0 16px 35px rgba(0, 48, 65, 0.22);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.coupon-grab-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}