/* =========================================================
   스마트보험 · 운전자보험비교사이트 — 보험료 비교 도구형 디자인
   (기존 db_form.css 의 상담 폼 구조는 그대로 두고 색·배치만 덮어씀)
   ========================================================= */
:root{
  --sb-ink:#0f172a; --sb-ink2:#334155; --sb-mute:#5b6577; --sb-soft:#8a94a6;
  --sb-asph:#141c2b; --sb-asph2:#1e293b; --sb-asph3:#2a3650;
  --sb-y:#ffc61a; --sb-y2:#ffe08a; --sb-yd:#b98900;
  --sb-blue:#2563eb; --sb-blue-d:#1d4ed8; --sb-blue-s:#eaf0ff; --sb-blue-s2:#cfdcfb;
  --sb-bg:#f4f6f9; --sb-card:#fff; --sb-line:#e3e8ef; --sb-line2:#d3dbe6;
  --sb-ok:#0f9d58; --sb-no:#d14343;
  --sb-r:16px; --sb-r2:22px;
  --sb-sh:0 1px 2px rgba(15,23,42,.05),0 8px 24px rgba(15,23,42,.06);
  --sb-sh2:0 20px 44px rgba(15,23,42,.14);
  --sb-w:1160px;
  /* db_form.css 변수 덮어쓰기(상품 상세·폼 색 통일) */
  --green:#2563eb; --green-d:#1d4ed8; --green-dd:#1e40af; --green-soft:#eaf0ff; --green-soft2:#cfdcfb;
  --ink:#0f172a; --ink2:#334155; --soft:#5b6577; --bg:#f4f6f9; --bg2:#eaf0ff; --paper:#fff;
  --line:#e3e8ef; --line2:#d3dbe6; --shadow:0 8px 24px rgba(15,23,42,.06); --shadow-lg:0 20px 44px rgba(15,23,42,.12);
}

/* ---------- 기본 ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:76px}
body.sb{margin:0;background:var(--sb-bg);color:var(--sb-ink);
  font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  font-size:16px;line-height:1.65;letter-spacing:-.2px;word-break:keep-all;overflow-x:hidden}
:where(.sb) :where(h1,h2,h3,h4,h5,h6,p,ul,ol,figure,dl,dd){margin:0}
:where(.sb) :where(ul,ol){padding:0}
:where(.sb) :where(input,button,select,textarea){font-family:inherit;font-size:inherit;line-height:inherit;margin:0}
:where(.sb) :where(img,svg){vertical-align:middle}
:where(.sb) :where(label){display:inline-block}
/* 상담 폼·레이어 안은 예전(부트스트랩) 기본 여백 유지 */
:where(.fcalc,.modal,#bpcDoneLayer,.cost_popup_wrap,.goods-info,.gtabs,.gd-sum,.subhero) :where(p,ul,ol){margin-top:0;margin-bottom:1rem}
:where(.fcalc,.modal,#bpcDoneLayer,.cost_popup_wrap,.goods-info,.gtabs,.gd-sum,.subhero) :where(h1,h2,h3,h4,h5,h6){margin-top:0;margin-bottom:.5rem;line-height:1.2}
:where(.fcalc,.modal,.goods-info,.gtabs) :where(ul,ol){padding-left:2rem}
.sb a{color:inherit;text-decoration:none}
.sb img{max-width:100%;height:auto;border:0}
.sb button{font-family:inherit}
.sb table{border-collapse:collapse}
.sb-in{max-width:var(--sb-w);margin:0 auto;padding:0 20px}
.sb-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sb main{display:flex;flex-direction:column;margin:0!important}
.clear{clear:both}

/* ---------- 헤더 ---------- */
.sb-hd{position:sticky;top:0;z-index:900;background:var(--sb-asph);color:#fff;border-bottom:3px solid var(--sb-y)}
.sb-hd-in{display:flex;align-items:center;gap:18px;height:64px}
.sb-logo{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.sb-logo-mark{width:36px;height:36px;border-radius:10px;background:var(--sb-y);color:var(--sb-asph);display:grid;place-items:center;font-weight:900;font-size:19px;letter-spacing:-1px}
.sb-logo-txt{display:flex;flex-direction:column;line-height:1.15}
.sb-logo-txt b{font-size:17px;font-weight:800;color:#fff}
.sb-logo-txt small{font-size:11.5px;color:#aeb8ca;font-weight:500;letter-spacing:0}
.sb-nav{margin-left:auto}
.sb-nav ul{list-style:none;display:flex;gap:2px}
.sb-nl{display:block;padding:9px 11px;border-radius:9px;font-size:14.5px;font-weight:600;color:#d7deea;white-space:nowrap;transition:background .15s,color .15s}
.sb-nl:hover{background:var(--sb-asph3);color:#fff}
.sb-nl.active{color:var(--sb-y);background:rgba(255,198,26,.1)}
.sb-hd-cta{flex:0 0 auto;background:var(--sb-y);color:var(--sb-asph)!important;font-weight:800;font-size:14.5px;padding:10px 16px;border-radius:10px;white-space:nowrap}
.sb-hd-cta:hover{background:var(--sb-y2)}
.sb-nav-btn{display:none;margin-left:auto;width:42px;height:42px;border:0;border-radius:10px;background:var(--sb-asph2);cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.sb-nav-btn span{display:block;width:18px;height:2px;border-radius:2px;background:#fff;transition:transform .2s,opacity .2s}
.sb-hd.open .sb-nav-btn span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.sb-hd.open .sb-nav-btn span:nth-child(2){opacity:0}
.sb-hd.open .sb-nav-btn span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media (max-width:1060px){
  .sb-nl{padding:9px 8px;font-size:13.5px}
}
@media (max-width:920px){
  .sb-hd-in{height:58px;gap:10px}
  .sb-nav-btn{display:flex;order:3;margin-left:0}
  .sb-hd-cta{margin-left:auto;padding:8px 12px;font-size:13.5px}
  .sb-nav{position:absolute;left:0;right:0;top:100%;margin:0;background:var(--sb-asph);border-bottom:3px solid var(--sb-y);display:none;padding:6px 14px 14px}
  .sb-hd.open .sb-nav{display:block}
  .sb-nav ul{flex-direction:column;gap:0}
  .sb-nl{padding:13px 8px;font-size:15px;border-bottom:1px solid var(--sb-asph3);border-radius:0}
  .sb-logo-txt small{display:none}
}

/* ---------- 홈 히어로 + 계산기 ---------- */
.sb-hero{background:var(--sb-asph);color:#fff;padding:40px 0 0;position:relative;overflow:hidden}
.sb-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:120px;background:var(--sb-bg)}
.sb-hero .sb-in{position:relative;z-index:1}
.sb-hero-top{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap}
.sb-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--sb-y);letter-spacing:.2px;margin-bottom:10px}
.sb-eyebrow::before{content:"";width:22px;height:4px;border-radius:2px;background:repeating-linear-gradient(90deg,var(--sb-y) 0 8px,transparent 8px 12px)}
.sb-hero h1{font-size:clamp(28px,4.4vw,44px);font-weight:900;letter-spacing:-1.4px;line-height:1.18}
.sb-hero h1 em{font-style:normal;color:var(--sb-y)}
.sb-hero-lead{margin-top:12px;color:#c3cbda;font-size:16.5px;max-width:620px}
.sb-hero-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none}
.sb-hero-chips li{background:var(--sb-asph2);border:1px solid var(--sb-asph3);color:#e2e8f0;border-radius:999px;padding:8px 14px;font-size:13.5px;font-weight:600}
.sb-hero-chips li b{color:var(--sb-y);font-weight:800;margin-right:4px}

/* 기존 계산 폼(.fcalc) 재배치·재색칠 */
.sb .fcalc{background:transparent!important;padding:26px 0 18px!important;position:relative;z-index:2}
.sb-home .fcalc{margin-top:-120px;padding-top:0!important}
.sb-home .sb-hero{padding-bottom:150px}
.sb .fcalc .wrap{max-width:var(--sb-w)!important;padding:0 20px!important}
.sb .calc-headline{color:var(--sb-ink)!important;font-size:24px!important;text-align:left!important;margin:0 0 16px!important;letter-spacing:-.8px}
.sb .calc-headline span{color:var(--sb-blue)}
.sb-home .calc-headline{display:none}
.sb .calc3{background:var(--sb-card);border-radius:var(--sb-r2);box-shadow:var(--sb-sh2);padding:14px;gap:14px!important;border:1px solid var(--sb-line)}
.sb .calc-col{box-shadow:none!important;border:1px solid var(--sb-line)!important;border-radius:14px!important;background:#fff!important}
.sb .calc-direct{background:#f8fafc!important;border-color:var(--sb-blue-s2)!important}
.sb .calc-result{background:#fff!important}
.sb .cc-title{color:var(--sb-ink)!important;letter-spacing:-.6px}
.sb .badge-blue{background:var(--sb-blue-s)!important;color:var(--sb-blue-d)!important}
.sb .badge-gray{background:#eef1f5!important;color:#475569!important}
.sb .cf-input:focus{border-color:var(--sb-blue)!important}
.sb .cf-submit{background:var(--sb-blue)!important;border-radius:12px!important;box-shadow:0 10px 22px rgba(37,99,235,.28)}
.sb .cf-submit:hover{background:var(--sb-blue-d)!important}
.sb .cf-terms,.sb .privacy_view{color:var(--sb-blue)!important}
.sb .calc-direct .seg button,.sb .seg button{border-color:var(--sb-line2)!important;background:#fff!important;color:#475569!important}
.sb .calc-direct .seg button.on,.sb .seg button.on{background:var(--sb-asph)!important;border-color:var(--sb-asph)!important;color:#fff!important}
.sb .result-row{border-color:var(--sb-line)!important}
.sb .result-update .bhdate{color:var(--sb-blue)!important}
.sb .bhname{color:var(--sb-blue)!important}
.sb .mtop{background:var(--sb-asph)!important}
.sb .mtop h3{color:#fff!important}
.sb .mbtn{background:var(--sb-blue)!important;box-shadow:0 10px 22px rgba(37,99,235,.25)!important}
.sb .mbtn:hover{background:var(--sb-blue-d)!important}
.sb .mbtn.ghost{background:#fff!important;color:#475569!important;box-shadow:none!important}
.sb .smsinfo b,.sb .resend:hover{color:var(--sb-blue)!important}
.sb .txt:focus{border-color:var(--sb-blue)!important}
@media (max-width:767px){
  .sb .calc3{padding:10px;border-radius:18px}
  .sb .fcalc .wrap{padding:0 12px!important}
}

/* 서브페이지의 계산기 블록 */
.sb-sub #quote{order:30}
.sb-sub .fcalc{padding:34px 0 10px!important}
.sb-calc-cap{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.sb-calc-cap::before{content:"";width:10px;height:26px;border-radius:3px;background:var(--sb-y)}

/* 휴대폰 인증(구) 레이어: 평소에는 숨김 */
.cost_popup_wrap{display:none;position:fixed;z-index:100001;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,420px);background:#fff;border-radius:18px;padding:26px 22px;box-shadow:var(--sb-sh2)}
#cost_background{display:none;position:fixed;inset:0;z-index:100000;background:rgba(15,23,42,.55)}
.cost_popup_wrap .cost_popup_wrap_title{font-size:19px;font-weight:800;text-align:center}
.cost_popup_wrap .num_check{display:flex;gap:8px;margin-top:12px}
.cost_popup_wrap .form-check{flex:1;height:46px;border:1px solid #ddd;border-radius:10px;padding:0 12px;font-size:16px}
.cost_popup_wrap #send_data{flex:0 0 80px;border-radius:10px;background:var(--sb-blue);color:#fff;font-weight:700;line-height:46px!important;cursor:pointer}
.cost_popup_wrap .phone_num{display:block;font-weight:700;margin-top:10px}
.cost_popup_wrap .phone_num_sub{display:block;font-size:13px;color:var(--sb-mute)}
.cost_popup_wrap .close{position:absolute;right:14px;top:12px;width:26px;height:26px;cursor:pointer}
.cost_popup_wrap .close div{position:absolute;left:3px;top:12px;width:20px;height:2px;background:#333;transform:rotate(45deg)}
.cost_popup_wrap .close div+div{transform:rotate(-45deg)}
.cost_popup_wrap .sms_after_modal{text-align:center;margin-top:12px}
.cost_popup_wrap .cost_btn{margin-top:12px;background:var(--sb-blue);color:#fff;border-radius:10px;padding:12px;font-weight:700;cursor:pointer}

/* ---------- 섹션 공통 ---------- */
.sb-sec{padding:56px 0}
.sb-sec.tight{padding:36px 0}
.sb-sec.white{background:#fff}
.sb-sec.dark{background:var(--sb-asph);color:#fff}
.sb-h2{font-size:clamp(22px,2.9vw,30px);font-weight:900;letter-spacing:-1px;line-height:1.3}
.sb-h2 em{font-style:normal;color:var(--sb-blue)}
.dark .sb-h2 em{color:var(--sb-y)}
.sb-sub-t{margin-top:8px;color:var(--sb-mute);font-size:15.5px}
.dark .sb-sub-t{color:#b7c1d3}
.sb-sec-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.sb-more{font-size:14px;font-weight:700;color:var(--sb-blue);white-space:nowrap}
.sb-more::after{content:" →"}
.sb-note{margin-top:12px;font-size:12.5px;color:var(--sb-soft)}

/* 홈 흐름 순서(DOM 순서는 원본 유지, 보이는 순서만 정렬) */
.sb-o-cover{order:10}.sb-o-goods{order:11}.sb-o-steps{order:12}.sb-o-guide{order:13}
.sb-o-board{order:14}.sb-o-faq{order:15}.sb-o-notice{order:40}

/* 보장 비교 */
.sb-cover-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;align-items:start}
.sb-card{background:var(--sb-card);border:1px solid var(--sb-line);border-radius:var(--sb-r);box-shadow:var(--sb-sh)}
.sb-vs{width:100%;font-size:14.5px}
.sb-vs th,.sb-vs td{padding:13px 14px;border-bottom:1px solid var(--sb-line);text-align:center}
.sb-vs thead th{background:var(--sb-asph);color:#fff;font-weight:700;font-size:14px}
.sb-vs thead th:first-child{border-radius:15px 0 0 0;text-align:left}
.sb-vs thead th:last-child{border-radius:0 15px 0 0;background:var(--sb-blue)}
.sb-vs td:first-child{text-align:left;font-weight:700;color:var(--sb-ink2)}
.sb-vs tbody tr:last-child td{border-bottom:0}
.sb-vs .o{color:var(--sb-ok);font-weight:800}
.sb-vs .x{color:var(--sb-soft)}
.sb-keys{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sb-key{padding:18px;border-radius:14px;background:#fff;border:1px solid var(--sb-line)}
.sb-key b{display:block;font-size:16px;font-weight:800;margin:8px 0 4px}
.sb-key p{font-size:13.5px;color:var(--sb-mute);line-height:1.55}
.sb-key i{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--sb-blue-s);color:var(--sb-blue);font-style:normal;font-weight:900;font-size:15px}
.sb-key:nth-child(2) i{background:#fff6d6;color:var(--sb-yd)}
.sb-key:nth-child(3) i{background:#e8f7ef;color:var(--sb-ok)}
.sb-key:nth-child(4) i{background:#fdecec;color:var(--sb-no)}

/* 상품 카드(추천상품) */
.sb-goods{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.sb-good{display:flex;flex-direction:column;gap:10px;height:100%;padding:20px;background:#fff;border:1px solid var(--sb-line);border-radius:var(--sb-r);box-shadow:var(--sb-sh);transition:transform .15s,border-color .15s,box-shadow .15s}
.sb-good:hover{transform:translateY(-3px);border-color:var(--sb-blue);box-shadow:0 16px 34px rgba(37,99,235,.14)}
.sb-good-logo{height:30px;width:auto;object-fit:contain;align-self:flex-start}
.sb-good-name{font-size:16.5px!important;font-weight:800!important;line-height:1.4!important;color:var(--sb-ink)!important;letter-spacing:-.5px}
.sb-good-text{font-size:13.5px;color:var(--sb-mute);line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sb-good-certi{font-size:11.5px;color:var(--sb-soft)}
.sb-good-btn{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-radius:10px;background:var(--sb-blue-s);color:var(--sb-blue-d);font-weight:800;font-size:14px}
.sb-good-btn::after{content:"→"}
.sb-good:hover .sb-good-btn{background:var(--sb-blue);color:#fff}

/* 3단계 */
.sb-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;counter-reset:st;list-style:none}
.sb-steps li{position:relative;padding:22px 20px 20px;background:var(--sb-asph2);border:1px solid var(--sb-asph3);border-radius:var(--sb-r)}
.sb-steps li::before{counter-increment:st;content:"STEP " counter(st);display:inline-block;font-size:12px;font-weight:800;color:var(--sb-asph);background:var(--sb-y);border-radius:6px;padding:3px 8px;margin-bottom:12px}
.sb-steps h3{font-size:18px;font-weight:800;color:#fff;margin-bottom:6px}
.sb-steps p{font-size:14px;color:#c3cbda;line-height:1.6}

/* 가이드 */
.sb-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.sb-gcard{padding:20px;background:#fff;border:1px solid var(--sb-line);border-radius:var(--sb-r)}
.sb-gcard h3{font-size:17px;font-weight:800;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid var(--sb-line)}
.sb-gcard h3 a:hover{color:var(--sb-blue)}
.sb-gcard ul{list-style:none}
.sb-gcard li a{display:block;padding:6px 0;font-size:14.5px;color:var(--sb-ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-gcard li a::before{content:"›";color:var(--sb-blue);font-weight:900;margin-right:7px}
.sb-gcard li a:hover{color:var(--sb-blue)}

/* 게시판/콘텐츠 목록 */
.sb-list{display:flex;flex-direction:column;gap:8px}
.sb-list > div{display:contents}
.sb-row{display:flex;min-width:0;align-items:center;gap:14px;padding:14px 16px;background:#fff;border:1px solid var(--sb-line);border-radius:12px;transition:border-color .15s,box-shadow .15s}
.sb-row:hover{border-color:var(--sb-blue);box-shadow:0 8px 20px rgba(37,99,235,.1)}
.sb-row-n{flex:0 0 auto;min-width:44px;height:30px;padding:0 6px;border-radius:8px;background:var(--sb-bg);color:var(--sb-mute);font-weight:800;font-size:12.5px;display:grid;place-items:center}
.sb-row-b{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
.sb-row-t{font-weight:700;font-size:15px;color:var(--sb-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-row-t img{vertical-align:middle;margin-left:4px}
.sb-row-m{font-size:12.5px;color:var(--sb-soft);display:flex;gap:8px}
.sb-row::after{content:"›";color:var(--sb-line2);font-size:22px;font-weight:800;line-height:1}
.sb-row:hover::after{color:var(--sb-blue)}
.sb-list.cols{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sb-list.scroll{max-height:560px;overflow:auto;padding-right:4px}
.sb-empty{padding:40px 0;text-align:center;color:var(--sb-soft)}
#page_num_wrap{margin-top:22px}
#page_num ul{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
#page_num li a{display:grid;place-items:center;min-width:38px;height:38px;padding:0 8px;border-radius:10px;background:#fff;border:1px solid var(--sb-line);font-weight:700;font-size:14px;color:var(--sb-ink2)}
#page_num li a.on{background:var(--sb-asph);border-color:var(--sb-asph);color:#fff!important}

/* FAQ */
.sb-faq{display:flex;flex-direction:column;gap:10px}
.sb-faq details{background:#fff;border:1px solid var(--sb-line);border-radius:14px;overflow:hidden}
.sb-faq summary{list-style:none;cursor:pointer;padding:17px 50px 17px 20px;font-weight:800;font-size:15.5px;position:relative}
.sb-faq summary::-webkit-details-marker{display:none}
.sb-faq summary::before{content:"Q";color:var(--sb-blue);margin-right:10px;font-weight:900}
.sb-faq summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:22px;color:var(--sb-soft);font-weight:400}
.sb-faq details[open] summary::after{content:"−"}
.sb-faq .sb-faq-a{padding:0 20px 18px 42px;color:var(--sb-ink2);font-size:14.5px;line-height:1.7}

/* ---------- 서브페이지 머리 ---------- */
.sb-phead{order:1;background:var(--sb-asph);color:#fff;padding:30px 0 34px}
.sb-crumb{display:flex;flex-wrap:wrap;gap:6px;font-size:13px;color:#9fabc0;margin-bottom:10px}
.sb-crumb a:hover{color:#fff}
.sb-crumb span[aria-hidden]{color:#56627a}
.sb-phead h1{font-size:clamp(24px,3.6vw,36px);font-weight:900;letter-spacing:-1.1px;line-height:1.28}
.sb-phead p{margin-top:8px;color:#c3cbda;font-size:15px}
.sb-tabs{order:2;background:#fff;border-bottom:1px solid var(--sb-line);position:sticky;top:67px;z-index:50}
.sb-tabs ul{list-style:none;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:10px 0}
.sb-tabs ul::-webkit-scrollbar{display:none}
.sb-tabs a{display:block;padding:8px 14px;border-radius:999px;font-size:14px;font-weight:700;color:var(--sb-mute);white-space:nowrap;border:1px solid var(--sb-line)}
.sb-tabs a:hover{color:var(--sb-ink);border-color:var(--sb-line2)}
.sb-tabs a.on,.sb-tabs a.highlight{background:var(--sb-asph);border-color:var(--sb-asph);color:#fff}
@media (max-width:920px){.sb-tabs{top:61px}}

/* 서브페이지 순서 */
.sb-o-ctabar{order:3}
.sb-o-body{order:10}
.sb-o-list{order:40}
.sb-sub .sb-o-notice{order:60}

/* 상단 계산 바로가기 바 */
.sb-ctabar{background:#fff7d6;border-bottom:1px solid #f3df9c}
.sb-ctabar .sb-in{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;padding-bottom:11px;font-size:14.5px;font-weight:600;color:#5b4a0b}
.sb-ctabar a{flex:0 0 auto;background:var(--sb-asph);color:#fff;border-radius:9px;padding:8px 14px;font-weight:800;font-size:13.5px}

/* ---------- 본문(정보글·메뉴·게시판 글) ---------- */
.sb-body{padding:34px 0 10px}
.sb-body .sb-in{max-width:860px}
.sb-article{background:#fff;border:1px solid var(--sb-line);border-radius:var(--sb-r2);padding:34px 38px;box-shadow:var(--sb-sh);font-size:16.5px;line-height:1.85;color:#1f2937;overflow-wrap:anywhere}
.sb-article > br:first-child{display:none}
.sb-article h2{font-size:23px;font-weight:900;letter-spacing:-.8px;line-height:1.4;margin:34px 0 12px;padding-left:14px;border-left:5px solid var(--sb-y);color:var(--sb-ink)}
.sb-article h2:first-child{margin-top:0}
.sb-article h3{font-size:19px;font-weight:800;letter-spacing:-.5px;margin:28px 0 10px;color:var(--sb-ink)}
.sb-article h4{font-size:17px;font-weight:800;margin:22px 0 8px;color:var(--sb-ink2)}
.sb-article p{margin:0 0 14px}
.sb-article ul,.sb-article ol{margin:0 0 16px;padding-left:22px}
.sb-article li{margin:4px 0}
.sb-article strong,.sb-article b{color:var(--sb-ink);font-weight:800}
.sb-article img{display:block;max-width:100%!important;width:auto;height:auto!important;margin:18px auto;border-radius:14px}
.sb-article a{color:var(--sb-blue);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.sb-article a p{display:inline}
.sb-article br + br{display:none}
.sb-tbl{overflow-x:auto;margin:16px 0 20px;border:1px solid var(--sb-line);border-radius:12px}
.sb-article table{width:100%;min-width:480px;font-size:14.5px;line-height:1.55;border:0!important}
.sb-article th,.sb-article td{border:0!important;border-bottom:1px solid var(--sb-line)!important;padding:11px 13px!important;text-align:left;vertical-align:top}
.sb-article thead th,.sb-article tr:first-child th{background:var(--sb-asph);color:#fff;font-weight:700}
.sb-article tbody tr:nth-child(even) td{background:#f8fafc}
.sb-article tr:last-child td{border-bottom:0!important}
.sb-related{margin-top:22px;padding:16px 18px;border-radius:14px;background:var(--sb-blue-s);font-weight:700}
.sb-related a{color:var(--sb-blue-d)}
@media (max-width:767px){
  .sb-article{padding:22px 18px;border-radius:16px;font-size:16px}
  .sb-article h2{font-size:20px}
  .sb-article h3{font-size:17.5px}
  .sb-body{padding:20px 0 6px}
  .sb-body .sb-in{padding:0 12px}
}

/* 게시판 글 */
.sb-bv-title{font-size:clamp(22px,3.2vw,32px);font-weight:900;letter-spacing:-1px;line-height:1.35;margin-bottom:18px}
.sb-article.bbs{font-size:16.5px}
.sb-article.bbs *{max-width:100%}
.sb-btn-list{display:inline-flex;align-items:center;gap:6px;margin:22px 0 10px;padding:12px 22px;border-radius:12px;background:var(--sb-asph);color:#fff!important;font-weight:800}
.sb-btn-list::before{content:"☰"}

/* 심의·안내 박스 */
.sb-legal{margin:20px 0 0;padding:18px 20px;border-radius:14px;background:#f8fafc;border:1px solid var(--sb-line);font-size:13px;line-height:1.7;color:var(--sb-mute)}
.sb-legal b{display:block;color:var(--sb-ink2);font-size:13.5px;margin-bottom:4px}
.sb-legal .warn{color:#b42318}

/* 목록(관련 정보글) */
.sb-listsec{order:40;padding:40px 0 20px}
.sb-listsec .sb-in{max-width:860px}
.sb-listsec h2,.sb-listsec h1{font-size:22px;font-weight:900;letter-spacing:-.8px;margin-bottom:16px}

/* ---------- 상품 상세(기존 마크업 재색칠) ---------- */
.sb .subhero.gd-sub{background:var(--sb-asph)!important;border-bottom:3px solid var(--sb-y)}
.sb .sub-gname{display:block;font-size:clamp(20px,2.8vw,28px)!important;font-weight:900!important;color:#fff!important;letter-spacing:-.8px;line-height:1.35;margin:6px 0 0}
.sb .gtab-h{background:var(--sb-asph)!important}
.sb .gtab-h:hover{background:var(--sb-asph2)!important}
.sb .gd-sum .scell .k{color:var(--sb-blue)!important}
.sb .sc_goods_list{order:50}

/* ---------- 필수 안내사항 + 푸터 ---------- */
.sb-notice{order:60;padding:36px 0 26px}
.sb-notice-box{background:#fff;border:1px solid var(--sb-line);border-radius:var(--sb-r);padding:20px 22px;font-size:13px;line-height:1.75;color:var(--sb-mute)}
.sb-notice-box h2{font-size:14.5px;font-weight:800;color:var(--sb-ink2);margin-bottom:6px}
.sb-notice-box ul{list-style:none}
.sb-notice-box .warn{color:#b42318}
.cls_footer_certi{float:none!important;display:block;width:auto!important;height:auto!important;margin:12px 0 0!important;font-size:13px!important;font-weight:700!important;color:var(--sb-ink2)!important;text-align:left!important}
.sb-ft{background:var(--sb-asph);color:#aeb8ca;padding:36px 0 96px;font-size:13.5px;line-height:1.75}
.sb-ft-top{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--sb-asph3)}
.sb-ft-brand b{display:block;color:#fff;font-size:17px;font-weight:800;margin-bottom:6px}
.sb-ft-tel{display:inline-block;margin-top:6px;color:var(--sb-y)!important;font-size:20px;font-weight:900;letter-spacing:-.3px}
.sb-ft-links{list-style:none;display:grid;grid-template-columns:repeat(2,auto);gap:4px 26px;align-content:start}
.sb-ft-links a{color:#d7deea}
.sb-ft-links a:hover{color:#fff;text-decoration:underline}
.sb-ft-info{padding-top:16px;font-size:12.5px;color:#8e9ab0}
.sb-ft-info span{display:inline-block;margin-right:12px}
.sb-ft-copy{margin-top:10px;font-size:12px;color:#6f7b92}
@media (min-width:921px){.sb-ft{padding-bottom:40px}}

/* 모바일 하단 고정 바 */
.sb-mbar{position:fixed;left:0;right:0;bottom:0;z-index:800;display:none;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(20,28,43,.97);box-shadow:0 -6px 20px rgba(0,0,0,.18)}
.sb-mbar a{flex:1;display:flex;align-items:center;justify-content:center;height:48px;border-radius:12px;font-weight:800;font-size:15.5px}
.sb-mbar .tel{flex:0 0 38%;background:var(--sb-asph3);color:#fff}
.sb-mbar .go{background:var(--sb-y);color:var(--sb-asph)}
@media (max-width:920px){.sb-mbar{display:flex}}

/* ---------- 반응형 ---------- */
@media (max-width:980px){
  .sb-cover-grid{grid-template-columns:1fr}
  .sb-goods{grid-template-columns:1fr 1fr}
  .sb-guide{grid-template-columns:1fr 1fr}
}
@media (max-width:767px){
  .sb-sec{padding:40px 0}
  .sb-hero{padding-top:28px}
  .sb-hero-lead{font-size:15px}
  .sb-hero-chips li{font-size:12.5px;padding:6px 11px}
  .sb-goods,.sb-guide,.sb-steps,.sb-keys{grid-template-columns:1fr}
  .sb-list.cols{grid-template-columns:1fr}
  .sb-vs th,.sb-vs td{padding:10px 9px;font-size:13px}
  .sb-ctabar .sb-in{font-size:13px}
  .sb-in{padding:0 16px}
}

/* 레이어가 고정 헤더·하단 바 위로 오도록 */
.sb .modal{z-index:100002!important}
/* 게시판 목록 페이지(글 보기가 아닐 때)는 목록을 계산기보다 위에 */
.sb-board main:not(:has(.sb-bv-h1)) .sb-o-list{order:20}
.sb-article td{word-break:keep-all}
