/* ============================================================
   torymobile.css  —  이달의 토리 페이지 전용 스타일
   ※ @import 제거 (사이트에서 Noto Sans KR 이미 로드)
   ※ 전역 리셋(*·body·a) 제거 → 기존 style.css 와 충돌 방지
   ※ 버튼 클래스: tm-btn-primary / tm-btn-secondary / tm-btn-white
      (Bootstrap .btn-primary 충돌 방지)
   ============================================================ */

:root {
  --brand:       #01AF02;
  --brand-dark:  #019002;
  --brand-light: #e6f8e6;
  --text-dark:   #111;
  --text-mid:    #444;
  --text-light:  #888;
  --white:       #ffffff;
  --bg:          #f7faf7;
}

/* box-sizing 은 이 페이지 영역에만 적용 */
.tm-page *, .tm-page *::before, .tm-page *::after {
  box-sizing: border-box;
}

/* ─── HERO ─── */
.hero {
  background: var(--white);
  border-bottom: 1px solid #eee;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 170px 40px 60px;
  flex-wrap: wrap;
}
.hero-left { flex: 1; min-width: 300px; }

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: .5px;
}
.hero-sub { font-size: 20px; color: var(--text-mid); margin-bottom: 8px; }
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.price-num { font-size: 112px; font-weight: 900; color: var(--brand); line-height: 1; letter-spacing: -4px; }
.price-unit { font-size: 40px; font-weight: 700; color: var(--brand); }
.price-period { font-size: 18px; color: var(--text-light); margin-left: 4px; }
.hero-condition { font-size: 15px; color: var(--text-light); margin-bottom: 36px; }
.hero-condition strong { color: var(--brand); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--white);
  text-decoration: none;
}
.pill svg { width: 18px; height: 18px; stroke: var(--brand); flex-shrink: 0; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* 버튼: tm- 네임스페이스로 Bootstrap 충돌 방지 */
.tm-btn-primary {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  text-decoration: none;
  display: inline-block;
}
.tm-btn-primary:hover { opacity: .88; transform: translateY(-1px); color: #fff; }

.tm-btn-secondary {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tm-btn-secondary:hover { background: var(--brand-light); color: var(--brand); }

/* ─── HERO RIGHT: Card visual ─── */
.hero-right { flex-shrink: 0; }
.card-wrap { width: 340px; }
.card-img-box {
  width: 340px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(1,175,2,.2);
}
.card-img-box img { width: 100%; display: block; }
.discount-tag {
  width: 340px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 24px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(1,175,2,.1);
}
.discount-tag p { font-size: 13px; color: var(--text-light); margin: 0; }
.discount-tag strong { font-size: 22px; font-weight: 900; color: var(--brand); }
.discount-check { font-size: 32px; color: var(--brand); }

/* ─── SECTION WRAPPER ─── */
.tm-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}
.section-title { font-size: 32px; font-weight: 900; margin-bottom: 8px; text-align: center; }
.section-sub { font-size: 16px; color: var(--text-light); text-align: center; margin-bottom: 48px; }

/* ─── BENEFIT CARDS ─── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.benefit-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  border: 1.5px solid #eee;
  transition: box-shadow .2s, transform .2s;
}
.benefit-card:hover { box-shadow: 0 8px 32px rgba(1,175,2,.12); transform: translateY(-3px); }
.benefit-icon { margin-bottom: 18px; display: flex; justify-content: center; }
.benefit-icon svg { width: 52px; height: 52px; stroke: var(--brand); }
.benefit-title { font-size: 20px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.benefit-desc { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* ─── STEPS ─── */
.steps-bg { background: var(--white); }
.steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
.tm-step { flex: 1; min-width: 200px; max-width: 260px; text-align: center; padding: 20px 16px; position: relative; }
.tm-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -14px; top: 38px;
  font-size: 22px; color: #bbb;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.tm-step h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.tm-step p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ─── EVENT BOX ─── */
.event-box {
  background: linear-gradient(135deg, #01AF02 0%, #019002 100%);
  border-radius: 24px;
  padding: 56px 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.event-box::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -160px; right: -120px;
}
.event-left { flex: 1; min-width: 260px; }
.event-label {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.event-box h2 { font-size: 38px; font-weight: 900; line-height: 1.3; margin-bottom: 14px; }
.event-box p { font-size: 16px; color: rgba(255,255,255,.8); line-height: 1.7; }
.event-right { text-align: center; }
.event-price-box {
  background: rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 28px 40px;
  border: 1px solid rgba(255,255,255,.22);
}
.event-price-box small { font-size: 14px; color: rgba(255,255,255,.7); display: block; margin-bottom: 4px; }
.event-price-box .tm-big { font-size: 72px; font-weight: 900; line-height: 1; }
.event-price-box .tm-unit { font-size: 26px; font-weight: 700; }
.event-price-box span { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 6px; display: block; }

.tm-btn-white {
  background: #fff;
  color: var(--brand);
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px; font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: opacity .2s;
  display: inline-block;
  text-decoration: none;
}
.tm-btn-white:hover { opacity: .9; color: var(--brand); }

/* ─── NOTICE ─── */
.tm-notice {
  background: var(--brand-light);
  border-radius: 12px;
  padding: 24px 28px;
  border: 1px solid #c0e8c0;
}
.tm-notice h4 { font-size: 14px; font-weight: 700; color: var(--text-mid); margin-bottom: 12px; }
.tm-notice ul { list-style: none; padding: 0; margin: 0; }
.tm-notice li {
  font-size: 13px; color: var(--text-light);
  padding-left: 14px;
  position: relative;
  line-height: 1.8;
}
.tm-notice li::before { content: '·'; position: absolute; left: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-inner { padding: 80px 20px 40px; gap: 48px; }
  .price-num { font-size: 80px; }
  .card-wrap { width: 100%; }
  .card-img-box { width: 100%; }
  .discount-tag { width: 100%; }
  .tm-section { padding: 48px 20px; }
  .event-box { padding: 40px 24px; }
  .event-box h2 { font-size: 26px; }
  .event-price-box .tm-big { font-size: 52px; }
  .tm-step:not(:last-child)::after { display: none; }
}
