.hypeuse-coupon-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.hypeuse-coupon-popup.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.hypeuse-coupon-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 16, .58);
  backdrop-filter: blur(8px);
}

.hypeuse-coupon-card {
  position: relative;
  z-index: 2;
  width: min(920px, 96vw);
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(240px, 42%) 1fr;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,247,249,.96));
  border: 1px solid rgba(220, 174, 190, .38);
  border-radius: 34px;
  box-shadow: 0 34px 110px rgba(31, 15, 28, .32);
  transform: translateY(28px) scale(.96);
  opacity: 0;
  animation: hypeuseCouponIn .56s cubic-bezier(.2,.8,.2,1) forwards;
}

.hypeuse-coupon-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -110px;
  background: color-mix(in srgb, var(--hypeuse-accent, #d9a8b8) 35%, transparent);
  border-radius: 50%;
  filter: blur(16px);
}

.hypeuse-coupon-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: -90px;
  bottom: -100px;
  background: rgba(190, 155, 215, .22);
  border-radius: 50%;
  filter: blur(18px);
}

.hypeuse-coupon-close {
  position: absolute;
  top: 22px;
  right: 26px;
  z-index: 5;
  width: auto;
  height: auto;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--hypeuse-dark, #151015);
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  box-shadow: none !important;
  padding: 0 !important;
  outline: none !important;
  transition: transform .25s ease, opacity .25s ease;
}

.hypeuse-coupon-close:hover,
.hypeuse-coupon-close:focus {
  transform: rotate(90deg) scale(1.08);
  opacity: .72;
}

.hypeuse-coupon-image {
  min-height: 470px;
  background: #f4e7ec;
  overflow: hidden;
}

.hypeuse-coupon-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.05);
  animation: hypeuseCouponImage 6s ease-in-out infinite alternate;
}

.hypeuse-coupon-content {
  position: relative;
  z-index: 2;
  padding: 58px 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--hypeuse-dark, #151015);
}

.hypeuse-coupon-kicker {
  display: inline-flex;
  width: max-content;
  padding: 8px 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(217,168,184,.18);
  color: var(--hypeuse-dark, #151015);
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 700;
}

.hypeuse-coupon-content h2 {
  margin: 0 0 14px;
  color: var(--hypeuse-dark, #151015);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.8px;
}

.hypeuse-coupon-content p {
  margin: 0 0 22px;
  color: #5f505b;
  font-size: 15px;
  line-height: 1.8;
}

.hypeuse-coupon-discount {
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 18px;
  background: var(--hypeuse-dark, #151015);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
}

.hypeuse-coupon-code-wrap {
  margin: 4px 0 12px;
}

.hypeuse-coupon-code-wrap > span {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #8a7280;
  font-weight: 700;
}

.hypeuse-coupon-code {
  width: 100%;
  border: 1px dashed color-mix(in srgb, var(--hypeuse-accent, #d9a8b8) 75%, #000 5%);
  border-radius: 22px;
  padding: 17px 18px;
  background: rgba(255,255,255,.84);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hypeuse-coupon-code:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(100, 50, 76, .11);
}

.hypeuse-coupon-code strong {
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--hypeuse-dark, #151015);
}

.hypeuse-coupon-code em {
  font-style: normal;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7a5c68;
}

.hypeuse-coupon-expiry {
  display: block;
  margin: 0 0 18px;
  color: #7c6874;
}

.hypeuse-coupon-extra {
  margin: 12px 0 18px;
}

.hypeuse-coupon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  padding: 15px 24px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--hypeuse-dark, #151015);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}

.hypeuse-coupon-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(20, 13, 19, .22);
}

.hypeuse-coupon-seo {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hypeuse-coupon-popup:not(:has(.hypeuse-coupon-image)) .hypeuse-coupon-card {
  grid-template-columns: 1fr;
  width: min(620px, 96vw);
}

.hypeuse-coupon-popup:not(:has(.hypeuse-coupon-image)) .hypeuse-coupon-content {
  text-align: center;
  align-items: center;
}

@keyframes hypeuseCouponIn {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes hypeuseCouponImage {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

@media (max-width: 760px) {
  .hypeuse-coupon-popup {
    padding: 14px;
  }

  .hypeuse-coupon-card {
    grid-template-columns: 1fr;
    border-radius: 28px;
    overflow-y: auto;
  }

  .hypeuse-coupon-image,
  .hypeuse-coupon-image img {
    min-height: 240px;
    height: 240px;
  }

  .hypeuse-coupon-content {
    padding: 34px 24px 30px;
    text-align: center;
    align-items: center;
  }

  .hypeuse-coupon-code strong {
    font-size: 16px;
  }

  .hypeuse-coupon-close {
    top: 12px;
    right: 12px;
  }
}
