/* reset */
* { box-sizing:border-box; margin:0; padding:0; }

body { font-family:"Pretendard",-apple-system,BlinkMacSystemFont,"Noto Sans KR",system-ui,sans-serif; background:#f3f4f8; color:#181818; line-height:1.6; }
body.choice-open .plan-switch{ display:none; }

/* 레이아웃 */
main { max-width:900px; margin:0 auto; padding:20px 16px 40px; letter-spacing:-0.03em; }


/* ===== 메인 영역 선택(인트로) 카드 ===== */
.main.is-choice { border-radius:0; overflow:visible; } /* 카드 2개 갭 보이게 */
.main-choice{ display:none; gap:10px; grid-template-columns:1fr 1fr; }


/* 선택 화면일 때만 카드 보이기 */
.main.is-choice .main-choice{ display:grid; }
.main.is-choice #mainVisual{ display:none; } /* 선택 화면일 때 메인이미지 숨김 */


/* 카드 배경 */
.main-card[data-plan="standard"]{ --bg: url("../images/common/standard.jpg"); }
.main-card[data-plan="premium"] { --bg: url("../images/common/premium.jpg"); }
.main-card{ position:relative; height:360px; border-radius:18px; background-clip: padding-box; overflow:hidden; text-decoration:none; background-image: var(--bg); background-size:cover; background-position: center; background-repeat:no-repeat; display:flex; align-items:flex-end; transition:border-color .18s ease, transform .18s ease; }

.main-card:hover{ transform:translateY(-3px); }
.main-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(24,24,24,0);
  transition: background .18s ease;
  z-index:0;            /* ✅ 중요: 제일 아래 */
}

/* 호버 때만 검정 음영 */
.main-card:hover::after{
  background: rgba(24,24,24,0.55);
}

.main-card::before{ content:"Click"; position:absolute; top:10px; left:12px; padding:4px 10px; border-radius:8px; background:#75cabf; color:#fff; font-family:"the-seasons", sans-serif; font-weight:700; font-style:normal; font-size:20px; line-height:1; }
.main-card:hover::before{ background:#fff; color:#181818;}



.main-card__copy{ position:relative; z-index:1; width:100%; padding:22px 20px; color:#fff; }
.main-card::before{ z-index:2; }
.main-card__title{ font-size:34px; line-height:1.05; font-weight:800; font-family:"the-seasons", sans-serif; font-weight:700; font-style:normal; }
.main-card__title span{ font-weight:500; font-size:26px; }
.main-card__desc{ margin-top:10px; font-size:14px; line-height:1.5; opacity:.9; }
.main-card__badge{ position:absolute; top:14px; left:14px; padding:6px 12px; border-radius:10px; background:#75cabf; }


/* ✅ 메인 이미지 아래: 스탠다드/프리미엄 스위치 */
.plan-font{ font-family: "the-seasons", sans-serif; font-weight: 700; font-style: normal; }
.plan-switch{ display:flex; gap:10px; margin-bottom:16px;}

/* 탭(.tabs) 기본 margin-top이 커서, 스위치 아래에서는 조금 줄이기 */
.plan-switch + .plan-content .tabs{ margin-top:0; }

.plan-switch-btn[data-plan="standard"]{ --btn-bg: url("../images/common/btn-standard.jpg"); }
.plan-switch-btn[data-plan="premium"] { --btn-bg: url("../images/common/btn-premium.jpg"); }

.plan-switch-btn{ flex:1; height:100px; border-radius:14px; background-image: linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.82)), var(--btn-bg); color:#75cabf; background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat; color:#75cabf; font-weight:800; font-size:25px; text-decoration:none; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:border-color .18s ease, color .18s ease; }

/* ✅ 호버하면 클래스원 브라운 스트로크 + 글자색 변경 */
.plan-switch-btn:hover,
.plan-switch-btn:focus-visible,
.plan-switch-btn.is-active{ background-image: linear-gradient(rgba(24,24,24,0.78), rgba(24,24,24,0.78)), var(--btn-bg); color:#fff; }

/* ✅ 스탠다드/프리미엄 콘텐츠 토글 */
.plan-content{ display:none; }
.plan-content.is-active{ display:block; }
.premium-empty{ margin-top:16px; padding:16px; border-radius:14px; background:#fff; border:1px solid #e2e8f0; text-align:center; font-weight:700; color:#555; }
.plan-switch-btn--badge{ position:relative; }
.plan-switch-btn--badge::before{ content:"Click"; position:absolute; top:10px; left:12px; padding:4px 10px; border-radius:8px; background:#75cabf; color:#fff; font-size:20px; font-weight:700; line-height:1; }

/* ✅ 호버/포커스/활성(눌림) : 흰 배경 + 검정 글씨 */
.plan-switch-btn--badge:hover::before,
.plan-switch-btn--badge:focus-visible::before,
.plan-switch-btn--badge.is-active::before{ background:#fff; color:#181818; }


/* 메인 비주얼 */
.main { margin-bottom:16px; border-radius:18px; overflow:hidden; }
.main img { display:block; width:100%; height:100%; object-fit:cover; transition: opacity .15s ease; }


/*섹션 이미지*/
.sectionImg { border-radius:18px; overflow:hidden;}
.sectionImg img { display:block; width:100%; height:100%; object-fit:cover; }


/*전후사진*/
.sectionSwiper {  position: relative; width: 100%; max-width: 600px; margin: 0 auto; min-width: 0;}
.bnaSwiper { margin-top: 10px; width: 100%; overflow: hidden; border-radius: 18px; }
.bnaSwiper .swiper-slide img { width: 100%; height: auto; display: block; object-fit: cover;}
.swiper-button-next, .swiper-button-prev { color: #888 !important; z-index: 10;}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 24px !important; font-weight: bold; }
.bna-txt { margin-bottom: 10px; font-size:13px; color:#888; text-align:center;}


/*PC > 모바일 줄바꿈*/
.pc-hide { display: none; }


/* 탭 */
.tabs { display:flex; flex-wrap:wrap; gap:4px; margin-top: 16px;}
.tab { flex:1 0 calc(100% / 3 - 4px); border:none; padding:8px 6px; font-size:18px; border-radius:14px; cursor:pointer; background:#e5e7eb; color:#666666; transition:background .18s ease,color .18s ease; }
.tab.is-active { background:#181818; color:#f9fafb; }


/* 패널 */
.panel { display:none; }
.panel.is-active { display:block; }


/* 카드 그리드 */
.grid { display:grid; grid-template-columns:1fr; gap:10px; }


/* 카드 */
.card { position: relative; background:#fff; border-radius:14px; padding:20px; border:1px solid #e2e8f0; display:flex; flex-direction:column; line-height:1.3;  }


/* 카드 사이 설명 박스 */
.highlight-box { position: relative; z-index: 1; grid-column:1 / -1; background:#75cabf; border:1px solid #e2e8f0; border-radius:12px; padding:10px 20px; font-size:18px; margin-top: 16px; overflow: hidden;}
.highlight-text { font-size:23px; line-height:1.5; font-weight: 600; color: #fff;}
.highlight-subtext { font-size:18px; line-height:1.5; font-weight: 300;  display: flex; justify-content: flex-start; color: #fff; align-items: center; gap: 5px;}
.highlight-subtext .point-txt { font-weight: 600; font-size: 1.1em;}
.highlight-subtext .right { text-align: right; color: rgba(255, 255, 255, 0.7); margin-left: auto;}
.highlight-box::before { content: ""; position: absolute; bottom: 10; right: -10px; width: 80px;  height: 80px; background-image: url('../images/common/classone_symbol_logo_white.png'); background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0.2; z-index: 0;}

.highlight-box_2 { position: relative; z-index: 1; grid-column:1 / -1; background:#181818; border:1px solid #e2e8f0; border-radius:12px; padding:10px 20px; font-size:18px; overflow: hidden;}
.highlight-subtext_2 { font-size:18px; line-height:1.5; font-weight: 600;  display: flex; justify-content: flex-start; color: #fff; align-items: center; gap: 5px;}


/* 텍스트 */
.note { font-size:16px; color:#75cabf; }
.name { font-size:20px; font-weight:700; margin:5px 0 5px; }
.best_box { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; background: #75cabf; color: #fff; padding: 2px 8px 0 8px; border-radius: 999px; font-size: 13px;}
.sub { font-size:13px; color:#8d8d8d; }


/*용량, 횟수*/
.price_box { background: #75cabf; color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 13px; margin-right: 5px; vertical-align: text-top;}


/* 가격 */
.price { margin-top:6px; text-align:right; }
.price-original { display:block; font-size:15px; color:#8d8d8d; text-decoration:line-through; }
.price-sale { font-size:23px; font-weight:700; color:#75cabf; }
.price-unit { font-size:16px; margin-left:2px; color:#181818; }


/* 상품 횟수 구분선*/
.line { border-top: 1px dotted #c4c4c4; margin: 30px 0; }


/* 상세 설명 구분선 */
.subtext { font-size: 20px; line-height: 1.5; font-weight: 500; display: flex; align-items: center; gap: 8px; color: #75cabf; margin: 10px 0 5px 0;}
.subtext::before { content: ""; display: inline-block; width: 3px;  height: 20px; background-color: #75cabf; }


/*오른쪽에 해달라고 하심*/
.sub-right { font-size:13px; color:#8d8d8d; }


/* 퀵메뉴 */
.floating-box { position:fixed; right:16px; bottom:20px; display:flex; flex-direction:column; gap:6px; z-index:100; }
.floating-btn { border:none; display:inline-flex; align-items:center; justify-content:center; min-width:33.33px; padding:8px 20px; font-size:20px; border-radius:999px; cursor:pointer; box-shadow:0 10px 20px -16px rgba(15,23,42,.8); text-decoration:none; font-weight:500; gap:8px; }


/* 아이콘 */
.btn-icon { width:20px; height:20px; object-fit:contain; flex-shrink:0; display:block; }


/* 개별 색상 */
.logo { background:#75cabf; color:#fff; }
.kakao { background:#fee500; color:#181818; }
.call { background:#181818; color:#fff; }
.naver { background:#38c65d; color:#f9fafb; }


/* 안내 문구 */
.notice-box { margin:20px 0; font-size:13px; color:#888; background:#fff; border-radius:12px; padding:12px 16px; text-align:center; }


/* 모바일 */
@media (max-width:640px) {

  main { padding:16px 12px 80px; }

  .main-choice{ grid-template-columns:1fr; }
  .main-card{ border-radius:14px; }
  .main-card__title{ font-size:28px; }
  .main-card__title span{ font-size:22px; }

  .plan-switch-btn--badge::before{ top:8px; left:10px; padding:3px 8px; font-size:11px; border-radius:7px; }
  .plan-switch-btn{ height:60px; font-size:15px; border-radius:12px; }
  .main { border-radius:10px;}

  /* 상품 */
  .note { font-size:13px; }
  .name { font-size:17px; }
  .sub { font-size:11px; }
  .card { border-radius:10px;}

  /* 가격 */
  .price { margin-top:3px; }
  .price-original { font-size:13px; }
  .price-sale { font-size:23px; }

  .floating-box { position:fixed; left:0; right:0; bottom:0; transform:none; flex-direction:row; justify-content:space-between; gap:4px; padding:8px 10px; background:#f9fafb; border-top:1px solid #e5e7eb; display: flex;}
  .floating-btn { flex:1; min-width:0; font-size:16px; border-radius:10px; padding:15px 4px; text-align:center; box-shadow:none; }
  .logo, .kakao, .call { flex:1; }
  .top { flex:1; }
  .tabs { flex-wrap:wrap; gap:4px; padding:2px 0; }
  .tab { border-radius:10px; padding:8px 4px; font-size:13px;}

  .sectionImg { border-radius:10px;}

  /* 전후사진 */
  .sectionSwiper { max-width: 100% !important;}
  .bnaSwiper { border-radius: 10px; }
  .bnaSwiper .swiper-slide img { max-width: 100% !important; width: 100% !important; height: auto !important; }
  .swiper-button-next, .swiper-button-prev {
    background: rgba(255, 255, 255, 0.3) !important; width: 36px !important; height: 36px !important; border-radius: 50% !important; display: flex !important; align-items: center; justify-content: center;}
  .swiper-button-next::after, .swiper-button-prev::after { font-size: 16px !important; }
  .swiper-button-prev { left: 15px !important; }
  .swiper-button-next { right: 15px !important; }


  .pc-hide { display: block; content: "";}
  .notice-box { font-size:11px;}
  .highlight-text { font-size:16px;}
  .highlight-subtext { font-size:10px; gap: 2px;}
  .bna-txt {font-size:10px;}
}
