.holiday-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(3, 15, 29, 0.72);
  box-sizing: border-box;
}

.holiday-popup-backdrop[hidden] {
  display: none !important;
}

.holiday-popup-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.holiday-popup-dialog {
  position: relative;
  width: min(377px, 100%);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid rgba(0, 41, 64, 0.14);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 15, 30, 0.38);
  box-sizing: border-box;
}

.holiday-popup-dialog:focus {
  outline: none;
}

.holiday-popup-close-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 41, 64, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #002940;
  font: 400 28px/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 15, 30, 0.12);
}

.holiday-popup-visual {
  position: relative;
  background: #fff;
}

.holiday-popup-image {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.holiday-popup-actions {
  position: absolute;
  right: 7%;
  bottom: 7.5%;
  left: 7%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.holiday-popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  box-sizing: border-box;
  font: 700 18px/1.2 "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.holiday-popup-cta:hover {
  transform: translateY(-1px);
}

.holiday-popup-cta:focus-visible,
.holiday-popup-close-icon:focus-visible,
.holiday-popup-close-text:focus-visible,
.holiday-popup-today input:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

.holiday-popup-cta--phone {
  background: #d9ad4f;
  color: #19150d;
  box-shadow: 0 5px 12px rgba(91, 65, 17, 0.25);
}

.holiday-popup-cta--kakao {
  background: #172842;
  color: #efc56d;
  box-shadow: 0 5px 12px rgba(0, 25, 48, 0.25);
}

.holiday-popup-kakao-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fee500;
}

.holiday-popup-kakao-icon img {
  width: 19px;
  height: 19px;
}

.holiday-popup-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px 10px;
  color: #334155;
  font: 500 14px/1.4 "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

.holiday-popup-today {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.holiday-popup-today input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #8f1012;
}

.holiday-popup-close-text {
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #002940;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.holiday-popup-open {
  overflow: hidden;
}

@media (max-width: 420px) {
  .holiday-popup-cta {
    min-height: 44px;
    font-size: 15px;
  }

  .holiday-popup-controls {
    padding-inline: 12px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .holiday-popup-cta {
    transition: none;
  }
}
