/* 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; }


/* 레이아웃 */
main { max-width:900px; margin:0 auto; padding:20px 16px 40px; letter-spacing:-0.03em; }


/* 메인 비주얼 */
.main { margin-bottom:16px; border-radius:18px; overflow:hidden; }
.main img { display:block; width:100%; height:100%; object-fit:cover; }


/*섹션 이미지*/
.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; }

@media (min-width: 641px) { .swiper-button-prev { left: -50px !important; } .swiper-button-next { right: -50px !important; }}

.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: 21px;}
.tab { flex:1 0 calc(100% / 5 - 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:#7ec9bf; border:1px solid #e2e8f0; border-radius:12px; padding:10px 20px; font-size:18px; color:#7ec9bf; margin-top: 20px; 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;}


/* 텍스트 */
.note { font-size:16px; color:#7ec9bf; }
.name { font-size:20px; font-weight:700; margin:5px 0 5px; }
.sub { font-size:13px; color:#8d8d8d; }


/*용량, 횟수*/
.price_box { background: #7ec9bf; 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:#7ec9bf; }
.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: #7ec9bf; margin: 10px 0 5px 0;}
.subtext::before { content: ""; display: inline-block; width: 3px;  height: 20px; background-color: #7ec9bf; }


/*오른쪽에 해달라고 하심*/
.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:#7ec9bf; 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 { border-radius:10px;}
  .tab { 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 { flex:1 0 calc((100% - 8px) / 6); 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;}
}
