.basic-heat-event-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(31, 41, 55, 0.58);
  backdrop-filter: blur(6px);
}

.basic-heat-event-backdrop[hidden] {
  display: none;
}

body.basic-heat-event-open {
  overflow: hidden;
}

.basic-heat-event-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.26);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.basic-heat-event-dialog:focus {
  outline: none;
}

.basic-heat-event-close {
  position: absolute;
  top: 21px;
  right: 22px;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0 0 4px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #374151;
  font-family: inherit;
  font-size: 33px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.basic-heat-event-close:hover {
  background: rgba(31, 78, 58, 0.08);
}

.basic-heat-event-close:focus-visible,
.basic-heat-event-cta:focus-visible,
.basic-heat-event-today:focus-visible {
  outline: 3px solid #03c75a;
  outline-offset: 3px;
}

.basic-heat-event-season {
  position: absolute;
  top: 65px;
  right: 40px;
  z-index: 1;
  width: 155px;
  height: 142px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.basic-heat-event-content {
  position: relative;
  z-index: 2;
  padding: 42px 44px 28px;
}

.basic-heat-event-date {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin: 0;
  padding: 0 21px;
  border: 1px solid #ccefdc;
  border-radius: 999px;
  background: #e6f9ef;
  color: #02a648;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.basic-heat-event-title {
  max-width: 300px;
  margin: 32px 0 0;
  color: #111827;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.basic-heat-event-title strong {
  color: #111827;
}

.basic-heat-event-subtitle {
  margin: 10px 0 0;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.45;
}

.basic-heat-event-subtitle strong {
  color: #d86632;
  font-weight: 900;
}

.basic-heat-event-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  margin: 28px 0 16px;
  padding: 22px 22px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f8fafc;
  color: #03c75a;
}

.basic-heat-event-regular-price {
  flex-basis: 100%;
  margin-bottom: 5px;
  color: #6b7280;
  font-size: 19px;
  font-weight: 500;
  text-align: center;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.basic-heat-event-sale-price {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.basic-heat-event-price-unit {
  margin-left: 5px;
  font-size: 29px;
  font-weight: 900;
}

.basic-heat-event-period {
  margin-left: 11px;
  color: #111827;
  font-size: 21px;
  font-weight: 500;
}

.basic-heat-event-benefits {
  display: grid;
  margin: 0;
  padding: 0 18px;
  list-style: none;
}

.basic-heat-event-benefits li {
  display: flex;
  min-height: 57px;
  align-items: center;
  gap: 16px;
  padding: 11px 4px;
  border-bottom: 1px solid #eef0f3;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.basic-heat-event-benefits li:last-child {
  border-bottom: 0;
}

.basic-heat-event-check {
  display: inline-grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #03c75a;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.basic-heat-event-cta {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  background: #03c75a;
  color: #fff;
  box-shadow: 0 8px 18px rgba(3, 199, 90, 0.2);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.basic-heat-event-cta:hover {
  background: #02a648;
  color: #fff;
}

.basic-heat-event-today {
  display: block;
  margin: 15px auto 0;
  padding: 5px 10px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.basic-heat-event-today:hover {
  color: #1f2937;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .basic-heat-event-backdrop {
    align-items: start;
    padding: 12px;
    overflow-y: auto;
  }

  .basic-heat-event-dialog {
    max-height: none;
    margin: max(8px, env(safe-area-inset-top)) 0 max(8px, env(safe-area-inset-bottom));
    border-radius: 20px;
  }

  .basic-heat-event-close {
    top: 14px;
    right: 14px;
  }

  .basic-heat-event-season {
    top: 61px;
    right: 20px;
    width: 118px;
    height: 112px;
  }

  .basic-heat-event-content {
    padding: 28px 22px 21px;
  }

  .basic-heat-event-date {
    min-height: 36px;
    padding: 0 17px;
    font-size: 14px;
  }

  .basic-heat-event-title {
    max-width: 250px;
    margin-top: 28px;
    font-size: 34px;
  }

  .basic-heat-event-subtitle {
    margin-top: 7px;
    font-size: 19px;
  }

  .basic-heat-event-price {
    margin-top: 23px;
    padding: 18px 12px 20px;
  }

  .basic-heat-event-regular-price {
    font-size: 17px;
  }

  .basic-heat-event-sale-price {
    font-size: clamp(45px, 14.5vw, 54px);
  }

  .basic-heat-event-price-unit {
    margin-left: 3px;
    font-size: 24px;
  }

  .basic-heat-event-period {
    margin-left: 7px;
    font-size: 18px;
  }

  .basic-heat-event-benefits {
    padding: 0 9px;
  }

  .basic-heat-event-benefits li {
    min-height: 51px;
    gap: 12px;
    padding: 9px 2px;
    font-size: 15px;
  }

  .basic-heat-event-check {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  .basic-heat-event-cta {
    min-height: 56px;
    margin-top: 15px;
    font-size: 18px;
  }

  .basic-heat-event-today {
    margin-top: 11px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .basic-heat-event-backdrop,
  .basic-heat-event-dialog {
    scroll-behavior: auto;
  }
}
