/* Heart Mellow announcement and new-opening campaign. Exact copy stays live text. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.opening-promotion {
  margin: 0 0 28px;
  padding: 28px;
  border: 1px solid #efb1c3;
  border-radius: 20px;
  color: #56112d;
  background: linear-gradient(135deg, #fff2f5, #ffe3eb);
}
.promotion-eyebrow { margin: 0 0 6px; color: #91344f; font-size: .75rem; font-weight: 800; letter-spacing: .15em; }
.opening-promotion h3 { margin: 0 0 22px; font-size: 1.6rem; letter-spacing: -.035em; }
.promotion-fees { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; }
.promotion-fee { min-width: 0; padding: 20px 22px; border: 1px solid #f2c2cc; border-radius: 15px; background: #fffdf9; }
.promotion-fee dt { color: #85324d; font-size: 1rem; font-weight: 800; }
.promotion-fee dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 10px 0 0; }
.promotion-fee del { color: #86656f; font-size: 1rem; text-decoration-thickness: 1px; }
.discount-rate { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 8px; border-radius: 999px; color: #fff; background: #b51a4c; font-size: .75rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.fee-arrow { color: #ad536b; }
.promotion-fee strong { color: #b51a4c; font-size: clamp(2.1rem, 4.5vw, 3rem); line-height: 1.15; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.promotion-fee small { margin-left: 4px; font-size: 1rem; letter-spacing: 0; }
.promotion-conditions { margin: 18px 0 0; color: #744653; font-size: .875rem; line-height: 1.65; }
.financial-details { margin-top: 12px; }
.financial-details summary { min-height: 44px; padding: 10px 0; color: #873650; cursor: pointer; font-size: .875rem; font-weight: 700; }
.financial-details > p { margin-top: 10px; }

.results-dialog { width: min(690px, calc(100% - 28px)); border-color: #e993b0; background: #fff8f9; border-radius: 24px; }
.results-dialog-header { padding: 12px 22px; border-color: #efccd7; background: #fffafb; }
.results-close { border-color: #e5b4c6; background: #fff; color: #82203f; }
.popup-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 14px; gap: 8px; background: #fae5ec; border-bottom: 1px solid #eec6d3; }
.popup-tabs button { min-width: 0; min-height: 48px; padding: 10px 8px; border: 1px solid transparent; border-radius: 12px; color: #8c3852; background: transparent; font-size: .875rem; font-weight: 800; }
.popup-tabs button[aria-selected="true"] { border-color: #a72554; color: #fff; background: #a72554; box-shadow: 0 5px 12px rgba(125, 16, 56, .13); }
.popup-body { padding: 18px 20px 24px; }
.popup-panel[hidden], .popup-back[hidden], .notice-next[hidden] { display: none; }
.notice-art-panel {
  padding: 44px 38px 48px;
  border: 1px solid #f0b5c9;
  border-radius: 20px;
  color: #722240;
  background: #fff0f5 url("heartmellow-popup-notice-art.png") center / cover no-repeat;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.notice-eyebrow { margin: 0 0 18px; color: #b62d60; font-family: Georgia, serif; font-size: .875rem; font-weight: 700; letter-spacing: .2em; }
.results-dialog .notice-art-panel h2 { color: #8e163e; font-size: clamp(1.8rem, 5.6vw, 2.55rem); line-height: 1.3; letter-spacing: -.035em; }
.notice-thanks { margin: 27px 0 20px; font-size: 1.0625rem; line-height: 1.9; }
.notice-emphasis { margin: 0 auto; padding: 17px 12px; border-top: 1px solid rgba(196, 76, 118, .35); border-bottom: 1px solid rgba(196, 76, 118, .35); color: #a41b4c; background: rgba(255, 223, 232, .8); font-size: clamp(1.1rem, 4.4vw, 1.4rem); line-height: 1.75; }
.notice-response { margin: 24px 0 10px; font-size: 1.0625rem; line-height: 1.9; }
.notice-signoff { margin: 0; color: #98677a; font-size: .875rem; }
.notice-next { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 50px; margin-top: 26px; padding: 11px 20px; border: 1px solid #ad2455; border-radius: 12px; color: #fff; background: #ad2455; font-size: .875rem; font-weight: 800; }
.notice-next:hover { background: #851b41; }
.promotion-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px 20px 0 0; background: #f3a0b9; }
.promotion-hero > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.promotion-hero::after { position: absolute; inset: 0; z-index: 0; content: ""; background: linear-gradient(110deg, rgba(88, 7, 39, .60), transparent 60%); pointer-events: none; }
.promotion-hero-copy { position: absolute; z-index: 1; top: 28px; left: 26px; right: 20px; width: fit-content; max-width: 70%; color: #fff7fa; text-shadow: 0 2px 12px rgba(82, 9, 35, .18); }
.promotion-hero-copy > p { margin: 0 0 12px; font-size: .75rem; font-weight: 800; letter-spacing: .075em; }
.results-dialog .promotion-hero h2 { color: #fff; font-size: clamp(1.65rem, 5.2vw, 2.5rem); line-height: 1.25; }
.promotion-hero h2 em { color: #fff1c6; font-style: normal; }
.promotion-specialty { margin: 0 0 22px; padding: 16px 10px; border-radius: 0 0 16px 16px; color: #fff8f4; background: #922347; text-align: center; font-size: .875rem; line-height: 1.7; }
.promotion-specialty strong { font-weight: 500; color: #f8d6df; }
.results-dialog .franchise-facts { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.results-dialog .facts-source { margin: 0 0 14px; font-size: .875rem; text-align: center; }
.results-dialog .opening-promotion { margin-bottom: 22px; padding: 23px 18px; border-color: #b62453; background: linear-gradient(130deg, #a01e4a, #d44471); color: #fff; box-shadow: 0 12px 28px rgba(144, 22, 66, .16); }
.results-dialog .promotion-eyebrow { color: #ffe4bd; text-align: center; }
.results-dialog .opening-promotion h3 { margin-bottom: 18px; font-size: 1.65rem; text-align: center; }
.results-dialog .promotion-fees { gap: 12px; }
.results-dialog .promotion-fee { padding: 18px 16px; border-color: #ffe6c4; background: #fff9ef; }
.results-dialog .promotion-fee dd { gap: 4px 7px; }
.results-dialog .discount-rate { color: #9b2049; background: #ffe0a8; }
.results-dialog .promotion-fee strong { display: block; width: 100%; font-size: clamp(2.4rem, 8vw, 3.5rem); }
.results-dialog .promotion-conditions { margin-top: 15px; color: #ffecf1; }
.results-dialog .opening-cost { margin-top: 18px; padding: 20px; border-color: #edb5c7; background: #ffedf2; }
.results-dialog .opening-cost strong { color: #a31f4c; font-family: "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif; font-size: 2.35rem; font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -.025em; }
.results-dialog .results-notes { border-color: #edc7d4; color: #795864; font-size: .875rem; }
.results-dialog .results-metric dt { min-height: 44px; }
.results-dialog .results-metric dd { margin-top: 8px; }
.results-dialog .results-metrics { padding-top: 8px; }
.results-dialog-contacts { margin-top: 22px; }
.results-dialog-footer { justify-content: flex-end; flex-wrap: wrap; margin-top: 12px; }
.popup-back { margin-right: auto; min-height: 44px; padding: 8px 0; border: 0; color: #80354e; background: transparent; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.results-dialog-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 560px) {
  .opening-promotion { padding: 22px 16px; }
  .promotion-fees { gap: 10px; }
  .promotion-fee { padding: 16px 12px; }
  .promotion-fee dd { gap: 5px; }
  .promotion-fee strong { display: block; width: 100%; font-size: 2.5rem; }
  .results-dialog { width: calc(100% - 20px); }
  .results-dialog-header { padding: 12px 14px; }
  .results-dialog-header img { width: 164px; }
  .popup-tabs { padding: 8px; gap: 6px; }
  .popup-tabs button { font-size: .875rem; }
  .popup-body { padding: 12px 12px 18px; }
  .notice-art-panel { padding: 34px 22px 40px; }
  .notice-thanks, .notice-response { font-size: 1rem; }
  .notice-emphasis { padding: 16px 8px; font-size: 1.125rem; }
  .notice-next { padding: 12px 14px; }
  .promotion-hero-copy { top: 18px; left: 18px; max-width: 75%; }
  .promotion-hero-copy > p { margin-bottom: 8px; font-size: .75rem; }
  .results-dialog .promotion-hero h2 { font-size: clamp(1.45rem, 6.3vw, 2rem); }
  .results-dialog .opening-promotion { padding: 22px 14px; }
  .results-dialog .promotion-fees { gap: 10px; }
  .results-dialog .promotion-fee { padding: 16px 12px; }
  .results-dialog .promotion-fee strong { font-size: 2.5rem; }
  .results-dialog .results-metrics { grid-template-columns: 1fr 1fr; }
  .results-dialog .results-metric--sales { grid-column: 1 / -1; }
  .results-dialog .results-metric--sales dt { min-height: 0; }
  .results-dialog .opening-cost { gap: 12px; }
}

@media (max-width: 340px) {
  .popup-tabs { grid-template-columns: 1fr; }
  .promotion-fees { grid-template-columns: 1fr; }
  .notice-art-panel { padding: 28px 17px 34px; }
  .results-dialog .promotion-hero h2 { font-size: 1.35rem; }
}
