/* =========================================================
 * 메인화면 전용 스타일 (main.css)
 * ========================================================= */

/* ---------- 메인 배너 ---------- */
.hero { position: relative; overflow: hidden; }
.hero__track { position: relative; height: 440px; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.hero__slide.on { opacity: 1; visibility: visible; }
.hero__slide.t-blue { background: linear-gradient(120deg, #e3f0ff 0%, #cfe4ff 55%, #b9d8ff 100%); }
.hero__slide.t-sky { background: linear-gradient(120deg, #e8f7ff 0%, #d2efff 60%, #bde6ff 100%); }
.hero__slide.t-mint { background: linear-gradient(120deg, #e7fbf6 0%, #d3f4ee 60%, #c4ecf4 100%); }
.hero__slide.t-navy { background: linear-gradient(120deg, #1f4fa8 0%, #1f7bff 100%); color: #fff; }
.hero__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero__txt { max-width: 560px; }
.hero__txt h2 { font-size: 46px; line-height: 1.22; font-weight: 800; letter-spacing: -1px; color: var(--ink); }
.t-navy .hero__txt h2 { color: #fff; }
.hero__txt p { margin-top: 18px; font-size: 18px; color: var(--sub); }
.t-navy .hero__txt p { color: rgba(255, 255, 255, .85); }
.hero__cta { margin-top: 30px; height: 50px; padding: 0 28px; background: var(--ink); color: #fff; border-radius: 25px; }
.hero__cta:hover { background: var(--primary); }
.t-navy .hero__cta { background: #fff; color: var(--primary); }
.hero__art { flex-shrink: 0; width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 255, 255, .55); display: grid; place-items: center; box-shadow: inset 0 0 0 18px rgba(255, 255, 255, .35); }
.t-navy .hero__art { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 18px rgba(255, 255, 255, .08); }
.hero__art span { font-size: 150px; filter: drop-shadow(0 14px 24px rgba(23, 38, 61, .18)); }
.hero__slide.on .hero__txt { animation: fadeUp .7s both; }
.hero__slide.on .hero__art { animation: fadeUp .7s .1s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.hero__ctrl { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; gap: 4px; pointer-events: none; }
.hero__ctrl > * { pointer-events: auto; }
.hero__ctrl button { width: 34px; height: 34px; border-radius: 50%; background: rgba(23, 38, 61, .55); color: #fff; font-size: 18px; display: grid; place-items: center; }
.hero__ctrl .pause { font-size: 10px; margin-left: 6px; }
.hero__ctrl button:hover { background: var(--primary); }
.hero__ctrl .count { min-width: 56px; text-align: center; font-size: 13px; color: var(--ink); font-weight: 600; }
.hero:has(.t-navy.on) .count { color: #fff; }

/* ---------- 기획전 바로가기 ---------- */
.events { border-bottom: 1px solid var(--line); background: #fff; }
.events ul { display: grid; grid-template-columns: repeat(7, 1fr); }
.events li a { display: flex; align-items: center; justify-content: center; height: 58px; padding: 0 8px; text-align: center; font-size: 14px; font-weight: 500; color: var(--text); border-left: 1px solid var(--line-2); }
.events li:last-child a { border-right: 1px solid var(--line-2); }
.events li a:hover { color: var(--primary); background: var(--primary-softer); }
.events li a.hot { color: var(--primary); font-weight: 700; }

/* ---------- 섹션 공통 ---------- */
.sec { padding: 80px 0 0; }
.sec--tint { margin-top: 80px; padding: 70px 0; background: var(--bg); }
.sec--tint + .sec { padding-top: 70px; }
.sec__hd { position: relative; text-align: center; margin-bottom: 32px; }
.sec__hd h2 { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; }
.sec__hd p { margin-top: 8px; color: var(--sub); }
.sec__more { position: absolute; right: 0; bottom: 4px; font-size: 14px; color: var(--sub); }
.sec__more:hover { color: var(--primary); }
.sec__btn { margin-top: 40px; text-align: center; }

/* ---------- 진열 영역 ---------- */
.home-sec .sec__hd { margin-bottom: 30px; }
.countdown { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px !important; padding: 6px 16px; border-radius: 18px; background: #fff0ef; color: var(--sale) !important; font-size: 14px; font-weight: 600; }
.countdown b { font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: .5px; }
.home-sec--deal .pcard__img::after { content: '특가'; position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 6px; background: var(--sale); color: #fff; font-size: 12px; font-weight: 800; }
.home-sec--deal .pcard.is-soldout .pcard__img::after { display: none; }

/* 띠배너 */
.strip-banner { margin-top: 70px; }
.strip-banner + .sec { padding-top: 70px; }
.strip-banner a { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'label title cta' 'label desc cta'; align-items: center; column-gap: 28px; padding: 28px 40px; border-radius: var(--radius); background: linear-gradient(110deg, #1f6fe8 0%, #2d8bff 55%, #59b8ff 100%); color: #fff; overflow: hidden; box-shadow: 0 10px 26px rgba(31, 123, 255, .22); transition: transform .2s; }
.strip-banner a:hover { transform: translateY(-2px); }
.strip-banner__label { grid-area: label; padding: 6px 12px; border-radius: 6px; background: rgba(255, 255, 255, .18); font-size: 13px; font-weight: 700; white-space: nowrap; }
.strip-banner strong { grid-area: title; font-size: 26px; font-weight: 800; letter-spacing: -.4px; }
.strip-banner__desc { grid-area: desc; margin-top: 4px; font-size: 15px; opacity: .9; }
.strip-banner__cta { grid-area: cta; position: relative; z-index: 1; padding: 12px 22px; border-radius: 24px; background: #fff; color: var(--primary); font-weight: 700; font-size: 15px; white-space: nowrap; }
.strip-banner__art { position: absolute; right: 200px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 56px; letter-spacing: 6px; opacity: .25; pointer-events: none; }

/* 상품 요청 띠 */
.req-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 26px; padding-bottom: 26px; border: 1px solid var(--primary-soft); border-radius: var(--radius); background: var(--primary-softer); max-width: var(--wrap); }
.req-strip b { display: block; font-size: 18px; color: var(--ink); }
.req-strip span { display: block; margin-top: 4px; font-size: 14px; color: var(--sub); }

/* =========================================================
 * RESPONSIVE
 * ========================================================= */
@media (max-width: 1200px) {
  .hero__track { height: 380px; }
  .hero__txt h2 { font-size: 38px; }
  .hero__art { width: 280px; height: 280px; }
  .hero__art span { font-size: 120px; }
  .events ul { grid-template-columns: repeat(4, 1fr); }
  .events li:nth-child(n+5) { display: none; }
}

@media (max-width: 1200px) {
  .strip-banner__art { display: none; }
}

@media (max-width: 768px) {
  .strip-banner { margin-top: 40px; }
  .strip-banner + .sec { padding-top: 44px; }
  .strip-banner a { grid-template-columns: 1fr; grid-template-areas: 'label' 'title' 'desc' 'cta'; row-gap: 6px; padding: 22px 20px; justify-items: start; }
  .strip-banner strong { font-size: 20px; }
  .strip-banner__desc { font-size: 13px; margin: 0; }
  .strip-banner__label { font-size: 11px; padding: 4px 10px; }
  .strip-banner__cta { margin-top: 10px; padding: 9px 16px; font-size: 13px; }
  .countdown { font-size: 12px; padding: 5px 12px; }
  .req-strip { flex-direction: column; align-items: stretch; text-align: center; margin: 44px var(--gutter) 0; padding: 20px; width: auto; }
  .req-strip b { font-size: 15px; }
  .req-strip span { font-size: 13px; }
  .hero__track { height: 300px; }
  .hero__inner { gap: 12px; }
  .hero__txt h2 { font-size: 24px; letter-spacing: -.5px; }
  .hero__txt p { font-size: 13px; margin-top: 10px; max-width: 220px; }
  .hero__cta { margin-top: 16px; height: 38px; padding: 0 16px; font-size: 13px; }
  .hero__art { width: 120px; height: 120px; box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .35); }
  .hero__art span { font-size: 56px; }
  .hero__ctrl { bottom: 14px; justify-content: flex-end; }
  .hero__ctrl .prev, .hero__ctrl .next, .hero__ctrl .pause { display: none; }
  .hero__ctrl .count { background: rgba(23, 38, 61, .5); color: #fff !important; border-radius: 12px; padding: 2px 10px; font-size: 12px; }

  .events { overflow-x: auto; scrollbar-width: none; }
  .events::-webkit-scrollbar { display: none; }
  .events ul { display: flex; padding: 0; }
  .events li, .events li:nth-child(n+5) { display: block; flex-shrink: 0; }
  .events li a { height: 46px; padding: 0 16px; font-size: 13px; border: 0; white-space: nowrap; }


  .sec { padding-top: 50px; }
  .sec--tint { margin-top: 50px; padding: 44px 0; }
  .sec--tint + .sec { padding-top: 44px; }
  .sec__hd { margin-bottom: 20px; }
  .sec__hd h2 { font-size: 22px; }
  .sec__hd p { font-size: 13px; margin-top: 4px; }
  .sec__more { position: static; display: inline-block; margin-top: 6px; font-size: 13px; color: var(--primary); }
  .sec__btn { margin-top: 26px; }
  .sec__btn .btn.lg { height: 46px; width: 100%; }




}
