/* ============================================================
   블루패스 가이드 (/bbs/bluepass.php) — bp- 프리픽스, #sopBp 범위 (2026-09-30, 세 몰 공통)
   본문: extend/sop.bluepass.php  /  탭·영상: js/sop-bluepass.js
   ============================================================ */
#sopBp{
  --bp-navy:#0f1c6e; --bp-blue:#1a6ad0; --bp-blue-soft:#eef5ff; --bp-ink:#111827;
  --bp-gray:#5d6680; --bp-line:#e5e8ef; --bp-bg:#f5f7fb;
  font-family:'Samsung One Korean','Malgun Gothic','맑은 고딕',sans-serif;color:var(--bp-ink);line-height:1.55;word-break:keep-all}
#sopBp *{box-sizing:border-box}
#sopBp img{max-width:100%}
#sopBp .bp-wrap{max-width:1080px;margin:0 auto;padding:0 24px}

/* 히어로 */
/* 히어로 — 기본(케이디엘)은 셀프구독 가이드 상단(css/sop-self-guide.css .sg-hero)과 같은 문법 (2026-09-30).
   평강·문성은 각 몰 가이드 상단 함수(pk_/ms_bluepass_hero)가 .pk-ph / .ms-ph 로 대신 그린다 */
#sopBp .bp-hero{background:radial-gradient(1100px 480px at 20% -12%,#2a3fb8 0%,transparent 55%),linear-gradient(140deg,#101a54 0%,#0a1240 70%);color:#fff;padding:70px 0 4px}
#sopBp .bp-hero .bp-wrap{max-width:1040px}
#sopBp .bp-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#aebcf5;letter-spacing:.6px}
#sopBp .bp-eyebrow:before{content:'';width:22px;height:1px;background:#e8c37a}
#sopBp .bp-h1{margin:16px 0 0;font-size:36px;line-height:1.25;font-weight:900;letter-spacing:-1px;color:#fff}
#sopBp .bp-h1 em{font-style:normal;color:#e8c37a}
#sopBp .bp-sub{margin:16px 0 0;font-size:15px;color:#b9c2e8;max-width:520px}
#sopBp .bp-items{margin:10px 0 0;font-size:13px;color:#8f9cd6}
#sopBp .bp-items b{color:#fff}
#sopBp .bp-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.12);margin-top:40px}
#sopBp .bp-stat{padding:20px 8px 26px;text-align:center}
#sopBp .bp-stat+.bp-stat{border-left:1px solid rgba(255,255,255,.12)}
#sopBp .bp-stat .k{display:block;font-size:12px;color:#8f9cd6}
#sopBp .bp-stat .v{display:block;margin-top:6px;font-size:20px;font-weight:900}
#sopBp .bp-stat .v em{font-style:normal;color:#e8c37a}

/* 바로가기 */
#sopBp .bp-nav{background:#fff;border-bottom:1px solid var(--bp-line)}
#sopBp .bp-nav .bp-wrap{display:flex;gap:8px;overflow-x:auto;padding-top:14px;padding-bottom:14px;scrollbar-width:none}
#sopBp .bp-nav .bp-wrap::-webkit-scrollbar{display:none}
#sopBp .bp-nav a{flex:none;font-size:14px;font-weight:700;color:#374151;text-decoration:none !important;border:1px solid var(--bp-line);border-radius:999px;padding:8px 16px;background:#fff}
#sopBp .bp-nav a:hover{border-color:var(--bp-blue);color:var(--bp-blue)}

/* 섹션 */
#sopBp .bp-sect{padding:64px 0;scroll-margin-top:96px}
#sopBp .bp-gray{background:var(--bp-bg)}
#sopBp .bp-sh{text-align:center;margin-bottom:28px}
#sopBp .bp-sh h3{margin:0;font-size:30px;font-weight:700;letter-spacing:-.8px;color:var(--bp-ink)}
#sopBp .bp-sh p{margin:8px 0 0;font-size:16px;color:var(--bp-gray)}

/* 탭 */
#sopBp .bp-tabs{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:26px}
#sopBp .bp-tab{font-family:inherit;font-size:15px;font-weight:700;color:#374151;background:#fff;border:1px solid var(--bp-line);border-radius:999px;padding:10px 22px;cursor:pointer;min-height:44px}
#sopBp .bp-tab.on{background:var(--bp-ink);border-color:var(--bp-ink);color:#fff}
#sopBp .bp-panel{display:none}
#sopBp .bp-panel.on{display:block}
#sopBp .bp-ptit{margin:0;text-align:center;font-size:24px;font-weight:700;letter-spacing:-.5px}
#sopBp .bp-ptit em{font-style:normal;color:var(--bp-blue)}
#sopBp .bp-psub{margin:8px auto 0;max-width:640px;text-align:center;font-size:15px;color:var(--bp-gray)}

/* 서비스 카드 */
#sopBp .bp-cards{margin-top:26px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;justify-content:center}
#sopBp .bp-cards:has(> .bp-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,340px))}
#sopBp .bp-card{background:#fff;border:1px solid var(--bp-line);border-radius:20px;overflow:hidden}
#sopBp .bp-card .img{aspect-ratio:495/336;background:var(--bp-bg)}
#sopBp .bp-card .img img{display:block;width:100%;height:100%;object-fit:cover}
#sopBp .bp-card .tx{padding:18px 20px 20px}
#sopBp .bp-card b{display:block;font-size:18px;font-weight:700}
#sopBp .bp-card span{display:block;margin-top:4px;font-size:14px;color:var(--bp-gray)}
#sopBp .bp-card em{display:inline-block;margin-top:10px;font-style:normal;font-size:12px;font-weight:700;color:var(--bp-blue);background:var(--bp-blue-soft);border-radius:6px;padding:3px 9px}

/* 이지케어 패스 */
#sopBp .bp-easy-bn{position:relative;border-radius:24px;overflow:hidden;background:#f7f7f7 right center/cover no-repeat;min-height:236px;display:flex;align-items:center}
#sopBp .bp-easy-bn .tx{padding:34px 40px;max-width:52%}
#sopBp .bp-easy-bn b{display:block;font-size:26px;line-height:1.35;font-weight:700;letter-spacing:-.6px}
#sopBp .bp-easy-bn span{display:block;margin-top:10px;font-size:15px;color:#4b5563}
#sopBp .bp-easy-bn em{display:inline-block;margin-top:14px;font-style:normal;font-size:13px;font-weight:700;color:#fff;background:var(--bp-navy);border-radius:999px;padding:6px 14px}
#sopBp .bp-easy{margin-top:20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#sopBp .bp-easy .it{background:#fff;border-radius:20px;padding:0 0 22px;overflow:hidden;border:1px solid var(--bp-line)}
#sopBp .bp-easy .img{aspect-ratio:484/314;background:#f3f4f6}
#sopBp .bp-easy .img img{display:block;width:100%;height:100%;object-fit:cover}
#sopBp .bp-easy b{display:block;margin:18px 20px 0;font-size:18px}
#sopBp .bp-easy p{margin:6px 20px 0;font-size:14px;color:var(--bp-gray)}

/* 맞춤 케어 */
#sopBp .bp-careimg{margin:22px auto 0;max-width:900px;border-radius:20px;overflow:hidden}
#sopBp .bp-careimg img{display:block;width:100%;height:auto}
#sopBp .bp-mini{margin:18px auto 0;max-width:900px;padding:0;list-style:none}
#sopBp .bp-mini li{position:relative;padding-left:14px;font-size:13px;color:var(--bp-gray);margin-top:4px}
#sopBp .bp-mini li:before{content:'*';position:absolute;left:0}

/* 품목별 표 */
#sopBp .bp-tblwrap{overflow-x:auto;background:#fff;border-radius:18px;border:1px solid var(--bp-line)}
#sopBp .bp-tbl{width:100%;min-width:700px;border-collapse:collapse;font-size:15px;text-align:center}
#sopBp .bp-tbl th,#sopBp .bp-tbl td{border-bottom:1px solid var(--bp-line);padding:14px 10px}
#sopBp .bp-tbl td+td,#sopBp .bp-tbl td{border-left:1px solid var(--bp-line)}
#sopBp .bp-tbl thead th{background:#e8f0fe;font-weight:700;font-size:15px}
#sopBp .bp-tbl tbody th{background:#f0f5ff;font-weight:700;width:130px}
#sopBp .bp-tbl .ty{font-weight:700;width:190px}
#sopBp .bp-tbl .ty span{color:var(--bp-blue)}
#sopBp .bp-tbl tbody tr:last-child td,#sopBp .bp-tbl tbody tr:last-child th{border-bottom:0}
#sopBp .bp-tblnote{margin:14px 0 0;font-size:13px;color:var(--bp-gray);text-align:center}

/* 숏폼 */
#sopBp .bp-shorts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,248px));justify-content:center;gap:16px}
#sopBp .bp-short{position:relative;display:block;padding:0;border:0;border-radius:18px;overflow:hidden;background:#111;cursor:pointer;aspect-ratio:896/504;font-family:inherit}
#sopBp .bp-short img{display:block;width:100%;height:100%;object-fit:cover;opacity:.92}
#sopBp .bp-short i{position:absolute;left:50%;top:44%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;background:rgba(255,255,255,.92)}
#sopBp .bp-short i:after{content:'';position:absolute;left:21px;top:16px;border-left:15px solid var(--bp-ink);border-top:10px solid transparent;border-bottom:10px solid transparent}
#sopBp .bp-short b{position:absolute;left:14px;bottom:12px;color:#fff;font-size:16px;font-weight:700;text-shadow:0 1px 6px rgba(0,0,0,.5)}
.bp-vpop{position:fixed;inset:0;z-index:10050;background:rgba(10,14,30,.78);display:flex;align-items:center;justify-content:center;padding:20px}
.bp-vpop[hidden]{display:none}
.bp-vpop .in{position:relative;width:min(960px,100%)}
.bp-vpop video{display:block;width:100%;max-height:82vh;border-radius:16px;background:#000}
.bp-vpop .x{position:absolute;right:0;top:-48px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:28px;line-height:44px;cursor:pointer}

/* 유의사항 */
#sopBp .bp-fold{border-top:1px solid var(--bp-line)}
#sopBp .bp-fold:last-of-type{border-bottom:1px solid var(--bp-line)}
#sopBp .bp-fold summary{list-style:none;cursor:pointer;padding:18px 4px;font-size:16px;font-weight:700;display:flex;justify-content:space-between;align-items:center}
#sopBp .bp-fold summary::-webkit-details-marker{display:none}
#sopBp .bp-fold summary:after{content:'+';font-size:22px;color:var(--bp-gray);font-weight:400}
#sopBp .bp-fold[open] summary:after{content:'−'}
#sopBp .bp-fold ul{margin:0;padding:0 4px 20px;list-style:none}
#sopBp .bp-fold li{position:relative;padding-left:12px;margin-top:6px;font-size:13.5px;color:#4b5563}
#sopBp .bp-fold li:before{content:'·';position:absolute;left:0;font-weight:700}
#sopBp .bp-src{margin:22px 0 0;font-size:13px;color:var(--bp-gray)}
#sopBp .bp-src a{color:var(--bp-blue);font-weight:700;text-decoration:none !important}

/* CTA */
#sopBp .bp-cta{margin:0 0 72px;background:linear-gradient(120deg,#101a54,#0a1240);border-radius:24px;padding:40px;text-align:center;color:#fff}
#sopBp .bp-cta h3{margin:0;font-size:24px;font-weight:700;letter-spacing:-.5px;color:#fff}
#sopBp .bp-cta p{margin:8px 0 0;font-size:15px;color:#c3cbeb}
#sopBp .bp-cta .btns{margin-top:22px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
#sopBp .bp-cta a{text-decoration:none !important;font-weight:700;font-size:15px;border-radius:999px;padding:13px 28px;min-height:44px}
#sopBp .bp-cta a.go{background:#fff;color:var(--bp-navy)}
#sopBp .bp-cta a.sub,#sopBp .bp-cta a.tel{border:1.5px solid rgba(255,255,255,.5);color:#fff}

@media (max-width:1024px){
  #sopBp .bp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:768px){
  #sopBp .bp-wrap{padding:0 16px}
  #sopBp .bp-hero{padding:46px 0 4px}   /* 셀프구독 가이드 760 이하와 같게 */
  #sopBp .bp-h1{font-size:26px}
  #sopBp .bp-sub{font-size:14px}
  #sopBp .bp-stats{margin-top:28px}
  #sopBp .bp-stat{padding:16px 4px 20px}
  #sopBp .bp-stat .v{font-size:15px}
  #sopBp .bp-sect{padding:44px 0}
  #sopBp .bp-sh h3{font-size:22px}
  #sopBp .bp-sh p{font-size:14px}
  #sopBp .bp-ptit{font-size:20px}
  #sopBp .bp-tabs{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;margin:0 -16px 22px;padding:0 16px;scrollbar-width:none}
  #sopBp .bp-tabs::-webkit-scrollbar{display:none}
  #sopBp .bp-tab{flex:none;padding:10px 18px;font-size:14px}
  #sopBp .bp-cards,#sopBp .bp-cards:has(> .bp-card:nth-child(2):last-child){display:flex;justify-content:flex-start;overflow-x:auto;scroll-snap-type:x mandatory;margin:22px -16px 0;padding:0 16px 6px;gap:12px;scrollbar-width:none}
  #sopBp .bp-cards::-webkit-scrollbar{display:none}
  #sopBp .bp-card{flex:0 0 76%;scroll-snap-align:start}
  #sopBp .bp-easy-bn{min-height:0;display:block;background-size:auto 150px;background-position:right bottom;padding-bottom:150px}
  #sopBp .bp-easy-bn .tx{max-width:none;padding:24px 22px 8px}
  #sopBp .bp-easy-bn b{font-size:21px}
  #sopBp .bp-easy{grid-template-columns:1fr}
  #sopBp .bp-shorts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #sopBp .bp-short b{font-size:14px;left:10px;bottom:8px}
  #sopBp .bp-short i{width:42px;height:42px;margin:-21px 0 0 -21px}
  #sopBp .bp-short i:after{left:17px;top:12px;border-left-width:12px;border-top-width:9px;border-bottom-width:9px}
  #sopBp .bp-tbl{font-size:13px;min-width:600px}
  #sopBp .bp-tbl tbody th{width:88px}
  #sopBp .bp-tbl .ty{width:140px}
  #sopBp .bp-cta{padding:30px 20px;margin-bottom:48px}
  #sopBp .bp-cta h3{font-size:20px}
}
