/* =============================================
   sub — 서브(상품 상세) 페이지 전용 스타일
   ============================================= */
/* =============================================
   상품 상세 페이지
   ============================================= */
.breadcrumb{background:var(--sky-2);padding:18px 0 0}
.breadcrumb .wrap{font-size:13px;font-weight:600;color:var(--ink-3)}
.breadcrumb a:hover{color:var(--blue)}
.breadcrumb .sep{margin:0 7px;color:#c3cad6}
.breadcrumb .cur{color:var(--ink-2)}

.sub-hero{background:var(--sky-2);padding:24px 0 24px}
.sub-hero-inner{max-width:var(--max);margin:0 auto;padding:0 24px}
.sub-hero-head{display:flex;align-items:center;gap:26px;margin-bottom:0}
.sub-hero-ico{width:128px;height:128px;border-radius:16px;background:#F4F8FE;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sub-hero-ico img{width:76px;height:auto}
.sub-head-text .sub-title{margin-bottom:10px}
.sub-title{font-size:28px;font-weight:900;color:var(--ink);letter-spacing:-1px}
.sub-title h4{font-size:inherit;font-weight:inherit;color:inherit}
.sub-lead{font-size:18px;font-weight:800;color:var(--blue);margin-bottom:7px}
.sub-desc{font-size:15px;font-weight:500;color:var(--ink-2);margin-bottom:0;line-height:1.6}
.sub-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.sub-tab{padding:9px 18px;border-radius:22px;font-size:13.5px;font-weight:700;border:1.5px solid var(--line);color:var(--ink-2);background:#fff;transition:.15s}
.sub-tab.active,.sub-tab:hover{background:var(--blue);border-color:var(--blue);color:#fff}

/* 우측 가격/견적 박스 */
.price-card{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:26px 24px;border:1px solid #EAEFF6}
.price-benefits{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}
.price-benefits li{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:#3a4150}
.price-benefits li img{width:20px;height:20px}
.price-row{display:flex;align-items:baseline;justify-content:space-between;border-top:1px dashed var(--line);padding-top:18px;margin-bottom:6px}
.price-row .pr-label{font-size:13px;font-weight:600;color:var(--ink-3)}
.price-amount{font-size:26px;font-weight:900;color:var(--blue)}
.price-note{font-size:12.5px;color:var(--ink-3);margin-bottom:18px}
.price-meta{font-size:12.5px;font-weight:600;color:var(--ink-2);margin-bottom:16px;line-height:1.6}

/* 주요 보장 + 추천 */
.cover-inner{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.block-title{font-size:20px;font-weight:900;color:var(--ink);margin-bottom:18px}
.cover-chip{display:inline-flex;align-items:center;gap:8px;background:var(--sky);border:1px solid #D7E4FA;border-radius:6px;padding:14px 20px;font-size:16px;font-weight:800;color:var(--blue-dark);margin-bottom:18px}
.cover-cta{display:inline-block;font-size:15px;font-weight:800;color:var(--blue)}
.cover-cta:hover{text-decoration:underline}
.rec-list{display:flex;flex-direction:column;gap:5px}
.rec-item{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:16px 20px;transition:border-color .15s}
.rec-item:hover{border-color:var(--blue)}
.rec-item .ri-label{font-size:12px;font-weight:600;color:var(--ink-3)}
.rec-item .ri-title{font-size:15px;font-weight:800;color:var(--ink);margin-top:2px}
.rec-item .ri-arrow{color:var(--blue);font-size:18px;font-weight:700}

/* 특징 4열 */
.feat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.feat-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:26px 22px;text-align:center;box-shadow:var(--shadow-card)}
.feat-ico{width:52px;height:52px;margin:0 auto 16px;border-radius:7px;background:var(--sky);display:flex;align-items:center;justify-content:center}
.feat-ico img{width:26px;height:26px}
.feat-name{font-size:15px;font-weight:800;color:var(--ink);margin-bottom:8px}
.feat-desc{font-size:13px;font-weight:500;color:var(--ink-2);line-height:1.6}

/* 유의사항 안내 배너 */
.caution-banner{background:var(--sky);border:1px solid #D7E4FA;border-radius:8px;padding:22px 26px;display:flex;align-items:center;gap:14px;margin-bottom:34px}
.caution-banner .cb-badge{background:var(--blue);color:#fff;font-size:12px;font-weight:800;padding:6px 12px;border-radius:10px;flex-shrink:0}
.caution-banner p{font-size:15px;font-weight:700;color:#2c3546}

/* 견적 폼 섹션(상품) */
.quote-inner{display:grid;grid-template-columns:1fr 440px;gap:56px;align-items:center}
.quote-copy .qc-lead{font-size:20px;font-weight:800;color:var(--ink-2)}
.quote-copy .qc-save{font-size:16px;font-weight:700;color:var(--ink-3);margin-bottom:20px}
.quote-copy .qc-big{font-size:30px;font-weight:900;color:var(--ink);line-height:1.35}
.quote-copy .qc-big em{color:var(--blue);font-style:normal}

/* 핵심 가이드 */
.guide-inner{display:grid;grid-template-columns:220px 1fr;gap:40px;align-items:start}
.guide-label{font-size:18px;font-weight:900;color:var(--ink);line-height:1.4}
.guide-label em{display:block;color:var(--ink);font-style:normal}
.guide-list{display:flex;flex-direction:column}
.guide-list li{position:relative;padding:16px 0 16px 36px;border-bottom:1px solid var(--line);font-size:14.5px;font-weight:500;color:var(--ink-2);line-height:1.7}
.guide-list li:last-child{border-bottom:none}
.guide-list li::before{content:"✓";color:var(--blue);font-weight:900;position:absolute;left:2px;top:16px}

/* 태그 */
.tags{padding:44px 0;background:#fff}
.tags-title{font-size:16px;font-weight:800;color:var(--ink);margin-bottom:16px}
.tag-group{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}
.tag{padding:8px 16px;border:1.5px solid var(--line);border-radius:22px;font-size:13px;font-weight:600;color:var(--ink-2)}
.tag.blue{color:var(--blue);border-color:#BBD3FA;background:#EFF5FE}

/* =============================================
   상품 상세 — 리치 레이아웃 (시안 s-06 실측 기반)
   페이지 배경: 전체 단일 하늘색(시안: 흰/하늘 교차 없음)
   ============================================= */
body.sub{background:var(--sky-2)}
body.sub .section,body.sub .section.alt{background:transparent;padding:34px 0}
body.sub .sub-hero{background:transparent}
body.sub .breadcrumb{background:transparent}
body.sub .tel-bar{background:var(--sky-2);padding:0 0 10px} /* #quote-* 섹션과 동일 배경 */
body.sub .tel-bar .wrap{justify-content:flex-start}
body.sub .tel-bar a{font-size:13.5px;font-weight:800}

/* 유의사항 카드: 시안=가로형(아이콘 좌 + 제목/설명 우, 좌정렬) */
body.sub .feat-card{display:grid;grid-template-columns:56px 1fr;column-gap:12px;text-align:left;padding:20px 14px;align-content:start;align-items:start}
body.sub .feat-ico{width:56px;height:56px;margin:0;grid-row:1/3;background:var(--sky);border-radius:50%}
body.sub .feat-ico img{width:28px;height:28px}
/* hover: 메인 prod-card와 동일 */
body.sub .feat-card:hover{border:1px solid var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
body.sub .feat-card:hover .feat-ico{background:var(--blue)}
body.sub .feat-card:hover .feat-ico img{filter:brightness(0) invert(1)}
body.sub .feat-name{font-size:13.5px;margin-bottom:6px;white-space:nowrap}
body.sub .feat-desc{font-size:12.5px}

/* 핵심 가이드: 시안=흰 패널 + 좌측 아이콘+2줄 라벨 */
body.sub .guide-inner{background:#fff;border:1px solid #EAEFF6;border-radius:8px;box-shadow:var(--shadow-card);padding:18px 34px;grid-template-columns:230px 1fr;gap:34px;align-items:center}
body.sub .guide-list li::before{color:#00B6B6;font-size:21px;line-height:1.2}
body.sub .guide-list li em{font-style:normal;color:var(--ink);font-weight:800}
body.sub .guide-list li{border-bottom:none}
body.sub .guide-head{align-self:stretch;border-right:1px solid #D5DBE5;padding-right:30px}
/* 유의사항-가이드 연속 배경, 간격 축소 */
.guide-sec{padding-top:0;margin-top:-26px}
.guide-head{display:flex;align-items:center;gap:14px}
.guide-head .gh-ico{width:52px;height:52px;border-radius:50%;background:var(--sky);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.guide-head .gh-ico img{width:30px;height:auto}
body.sub .notice{background:#DDE7F2;padding:30px 0 8px}
body.sub .notice-box{background:transparent;border:none;padding:0} /* 시안: 박스 없이 배경 위 텍스트 */
body.sub #site-footer{background:#DDE7F2}

/* 히어로: 단일 화이트 카드(좌 소개+아이콘탭 / 우 가격행). 실측: 좌 709 / 우 405 */
.sub-hero-card{background:#fff;border:1px solid #EAEFF6;border-radius:10px;box-shadow:var(--shadow);padding:34px 38px;display:grid;grid-template-columns:1.5fr 1fr;align-items:center}
.shl{padding-right:38px}
/* 탭: 맨 아이콘(박스 없음) + 탭 사이 세로 구분선 (시안 실측) */
.htabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:26px}
.htab{text-align:center;padding:2px 8px}
.htab+.htab{border-left:1px solid #D5DBE5}
.htab .ht-ico{display:flex;align-items:center;justify-content:center;height:40px;margin-bottom:9px}
.htab .ht-ico img{width:32px;height:32px}
.htab span{display:block;font-size:12px;font-weight:700;color:var(--ink-2);line-height:1.42}
.shr{border-left:1px solid #D5DBE5;padding-left:34px;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
/* 가격 4행: 행 사이 헤어라인 (시안) */
.pc-rows{display:flex;flex-direction:column;margin-bottom:18px}
.pc-row{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #D5DBE5}
.pc-row:first-child{padding-top:0}
.pc-row .pcr-ico{width:24px;height:24px;flex-shrink:0}
.pc-row .pcr-label{font-size:13.5px;font-weight:700;color:var(--ink-3)}
.pc-row .pcr-val{margin-left:auto;font-size:14.5px;font-weight:800;color:var(--ink);text-align:right}
.pc-row .pcr-val.blue{color:var(--blue);font-size:17px;font-weight:900}

/* 주요보장: 흰 패널 컨테이너 + 틴트 미니카드 4개 (시안 실측 #E0E7EF, 테두리 없음)
   실측 비율: 좌 693 / 우 436, gap 22 */
.cover-inner-rich{display:grid;grid-template-columns:1.6fr 1fr;gap:22px;align-items:stretch}
.cover-panel,.rec-panel{background:#fff;border:1px solid #EAEFF6;border-radius:8px;box-shadow:var(--shadow-card);padding:24px 26px}
.cover-panel{display:flex;flex-direction:column}
.cover-head{display:flex;align-items:center;gap:9px;margin-bottom:16px}
.cover-head img{width:20px;height:20px}
.cover-head .block-title{margin-bottom:0;font-size:17px}
.cover-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:auto 0;align-items:center}
.cov-card{background:var(--sky);border:none;border-radius:6px;padding:15px 14px}
.cov-card .cc-head{display:flex;align-items:center;gap:7px;margin-bottom:12px}
.cov-card .cc-ico{display:flex;align-items:center;flex-shrink:0}
.cov-card .cc-ico img{width:24px;height:24px}
.cov-card .cc-title{font-size:14px;font-weight:800;color:var(--ink);margin-bottom:0}
.cov-card .cc-list{display:flex;flex-direction:column;gap:8px}
.cov-card .cc-list li{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--blue);white-space:nowrap;min-width:0}
.cov-card .cc-list li::before{content:"✓";color:#00B6B6;font-weight:900;font-size:12px;flex-shrink:0}
.cov-card .cc-list li em{font-style:normal;color:inherit;font-weight:inherit}
.rec-panel .rp-title{display:block;font-size:14px;font-weight:700;color:var(--ink);margin-bottom:2px}
.rec-panel .rp-name{display:block;font-size:16px;font-weight:900;color:var(--blue);margin-bottom:10px}
.rec-panel .rec-item{border-color:#C9DCF8;padding:9px 16px}
.rp-cta{display:block;text-align:center;margin-top:14px;font-size:14px}

/* 좌측정렬 섹션 헤드 + eyebrow */
.sec-head.left{text-align:left;margin-bottom:26px}
.sec-eyebrow{display:block;font-size:15px;font-weight:800;color:var(--blue);margin-bottom:5px}
.sec-eyebrow.big{font-size:23px;font-weight:900;margin-bottom:2px} /* 시안: 유의사항 eyebrow는 제목급 */
body.sub .sec-head.left .sec-title{font-size:27px}
body.sub .sec-head.left .sec-sub{font-size:14.5px;font-weight:700;color:#333;margin-top:8px}

/* FAQ + 견적폼 2단 결합. 시안: 헤더 포함 단일 흰 패널+헤어라인, 파란 Q. */
.qa-inner{display:grid;grid-template-columns:1fr 430px;gap:46px;align-items:stretch}
.qa-inner>div:not(.form-card){display:flex}
.qa-inner .faq-list{min-height:100%;width:100%}
.qa-inner .faq-list{max-width:none;margin:0;gap:0;background:#fff;border:1px solid #EAEFF6;border-radius:8px;box-shadow:var(--shadow-card);overflow:hidden;padding:6px 4px 10px}
.qa-inner .faq-head{padding:20px 22px 6px}
.qa-inner .faq-head .sec-eyebrow{font-size:14px}
.qa-inner .faq-head .sec-title{font-size:24px}
.qa-inner .faq-item{background:transparent;border:none;border-radius:0;border-bottom:1px solid var(--line-2);margin:0 18px}
.qa-inner .faq-item:last-child{border-bottom:none}
.qa-inner .faq-item.open{box-shadow:none}
.qa-inner .faq-item.open .faq-icon{transform:none} /* 열려도 + 유지 */
.qa-inner .faq-item.open .faq-a p{background:#F7FAFC;border-top:1px solid #DEE5EC;padding:16px 18px;margin-bottom:0}
.qa-inner .faq-q{padding:14px 4px;font-size:14.5px}
.qa-inner .faq-a{padding:0 4px}
.qa-inner .faq-icon{width:16px;height:16px}
.qa-inner .faq-icon::before{top:2px;height:12px}
.qa-inner .faq-icon::after{left:2px;width:12px}
.qa-inner .q-mark{display:inline;color:var(--blue);font-weight:900;margin-right:4px}
/* 폼 헤더 톤(시안): 첫줄 진하게, 둘째줄 회색 보통 */
body.sub .form-card-title{font-weight:700;color:#333}
body.sub .form-card-lead{font-size:15px;font-weight:500;color:var(--ink-3);margin:2px 0 18px}
/* 시안: 이름·생년월일 라벨 없음(접근성 위해 시각만 숨김) */
body.sub .ins-form .form-body>.frow-2:first-child .flabel{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.sub .ins-form .form-body>.frow-2:first-child .frow{position:relative}

/* 서브 반응형 */
@media (max-width:1023px){
  .sub-hero-inner,.quote-inner{grid-template-columns:1fr;gap:32px}
  .cover-inner,.guide-inner{grid-template-columns:1fr;gap:26px}
  .feat-grid{grid-template-columns:1fr;gap:12px}
  body.sub .feat-name{white-space:normal}
  .sub-title{font-size:26px}
}
/* 태블릿(601~1023px): 주요보장 미니카드 항목 줄바꿈 허용(넘침 방지) */
@media (min-width:601px) and (max-width:1023px){
  .cov-card .cc-list li{white-space:normal}
}
@media (max-width:600px){
  .sub-hero-inner{padding-left:24px;padding-right:24px}
  .sub-title{font-size:22px}
  .feat-grid{grid-template-columns:1fr;gap:12px}
  .price-card{padding:22px 18px}
  .quote-copy .qc-big{font-size:24px}
}
/* 리치 서브페이지 반응형 */
@media (max-width:1023px){
  .sub-hero-card{grid-template-columns:minmax(0,1fr);padding:28px 24px}
  body.sub .guide-inner{grid-template-columns:minmax(0,1fr);gap:18px;padding:24px 20px}
  .shl{padding-right:0}
  .shr{border-left:none;border-top:1px solid #D5DBE5;padding-left:0;padding-top:16px;margin-top:16px}
  .pc-rows{max-width:360px;width:100%;margin-left:auto;margin-right:auto;margin-top:20px;margin-bottom:20px}
  .cover-inner-rich,.qa-inner{grid-template-columns:minmax(0,1fr);gap:28px}
  .htabs{gap:12px}
  .cover-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  .sub-hero-card{padding:22px 18px}
  /* 시안 s-08: 모바일에서도 탭 4열 유지 */
  .htabs{grid-template-columns:repeat(4,minmax(0,1fr))}
  .htab{padding:2px 4px}
  .htab .ht-ico{height:32px;margin-bottom:7px}
  .htab .ht-ico img{width:26px;height:26px}
  .htab span{font-size:10.5px}
  .sub-hero-ico{width:88px;height:88px;border-radius:8px}
  .sub-hero-ico img{width:52px}
  .sub-hero-head{gap:16px}
  /* 고객 요청(2026-08-27): 주요보장 4카드 2x2 배열 */
  .cover-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .cover-panel,.rec-panel{padding:20px 16px}
  .cov-card{padding:14px 12px}
  .cov-card .cc-head{gap:6px;margin-bottom:10px}
  .cov-card .cc-ico img{width:22px;height:22px}
  .cov-card .cc-title{font-size:13.5px}
  .cov-card .cc-list li{font-size:11.5px;gap:5px}
  .pc-row .pcr-val.blue{font-size:19px}
  .qa-inner .faq-q{font-size:13.5px}
}
