/* 한눈에보기 (장례상품 구성 비교) — 모든 클래스는 ov- 접두, 탭 규칙은 4번째 탭용 */
.subpage .sub-tabs{grid-template-columns:repeat(4,1fr)}
.subpage .sub-tabs a.t-overview{background:linear-gradient(135deg,var(--sw-gold-600),var(--sw-gold-600))}
.subpage.plan-overview{--plan:var(--sw-gold-600);--plan-dk:var(--sw-gold-600);--plan-tint:var(--sw-surface-sand)}
.subpage.plan-overview .sub-hero-inner{background:linear-gradient(135deg,var(--sw-gold-600),var(--sw-gold-600));border-color:rgba(255,255,255,.3)}
@media(max-width:760px){
  .subpage .sub-tabs{gap:8px}
  .subpage .sub-tabs a{padding:16px 2px;font-size:clamp(14px,3.6vw,16px)}
}

.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.ov-lead{margin:8px 0 24px;color:var(--sw-text-muted);font-size:16px}
.ov-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:2px solid var(--sw-navy-900);border-radius:var(--sw-radius-lg);background:var(--sw-surface)}
.ov-scroll:focus-visible{outline:3px solid var(--sw-gold-600);outline-offset:3px}
.ov-table{width:100%;min-width:640px;border-collapse:separate;border-spacing:0;font-size:16px;text-align:center}
.ov-table th,.ov-table td{padding:16px 16px;border-bottom:1px solid var(--sw-line-strong);vertical-align:middle}
.ov-table tbody th,.ov-table tfoot th{position:sticky;left:0;z-index:1;width:22%;background:var(--sw-surface-cream);color:var(--sw-navy-900);font-weight:700;text-align:left;padding-left:16px;border-right:1px solid var(--sw-line-strong)}
.ov-table thead th{position:sticky;top:0;z-index:2;color:var(--sw-text-on-dark);font-size:18px;font-weight:800;padding:16px 8px}
.ov-table thead .ov-corner{left:0;z-index:3;background:var(--sw-navy-900);text-align:left;padding-left:16px;font-size:16px}
.ov-table thead a{color:var(--sw-text-on-dark);text-decoration:none}
.ov-h--quiet{background:var(--sw-navy-900)}
.ov-h--family{background:var(--sw-navy-900)}
.ov-h--classic{background:var(--sw-orange-600)}
.ov-table td+td,.ov-table th+td{border-left:1px solid var(--sw-line)}
.ov-yes .ov-spec{display:block;font-weight:600;color:var(--sw-text);line-height:1.2;word-break:keep-all}
.ov-yes .ov-price{display:block;margin-top:2px;font-size:14px;color:var(--sw-gold-600);font-weight:700}
.ov-no{color:var(--sw-text-muted);font-size:20px}
.ov-note .ov-sub{display:block;font-size:14px;color:var(--sw-gold-600);font-weight:600}
.ov-table tbody tr.is-diff td,.ov-table tbody tr.is-diff th{background-color:var(--sw-orange-50)}
.ov-table tbody tr.is-diff th{background-color:var(--sw-gold-300)}
.ov-table tfoot td strong{font-size:20px;font-weight:800;color:var(--sw-navy-900)}
.ov-table tfoot td span{margin-left:2px;font-size:14px;color:var(--sw-text-muted)}
.ov-total th,.ov-total td{background:var(--sw-surface);border-top:2px solid var(--sw-navy-900)}
.ov-total--sub th,.ov-total--sub td{border-top:1px solid var(--sw-line-strong)}
.ov-total--best th,.ov-total--best td{background:var(--sw-orange-50)}
.ov-total--best td strong{color:var(--sw-orange-700);font-size:32px}
.ov-cta td{border-bottom:0}
.ov-cta a{display:inline-block;margin:4px 0;padding:8px 16px;border-radius:var(--sw-radius-pill);background:var(--sw-navy-900);color:var(--sw-text-on-dark);font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.ov-cta a:hover{background:var(--sw-navy-950)}
.ov-note-text{margin:16px 0 0;font-size:14px;color:var(--sw-text-muted);line-height:1.6}

@media(max-width:760px){
  .ov-table{font-size:14px;min-width:560px}
  .ov-table th,.ov-table td{padding:16px 8px}
  .ov-table tbody th,.ov-table tfoot th{width:26%;padding-left:8px;font-size:14px}
  .ov-table thead th{font-size:16px}
  .ov-table tfoot td strong{font-size:18px}
  .ov-total--best td strong{font-size:20px}
}

/* 세 상품 열 너비를 같게 */
.ov-table{table-layout:fixed}
.ov-table thead .ov-corner{width:22%}
.ov-table thead .ov-h{width:26%}

/* 신청하기 버튼: 주황색 */
.ov-cta a{background:var(--sw-orange-600)}
.ov-cta a:hover{background:var(--sw-orange-700)}

/* 신청하기 버튼 글자: 위쪽 상품 제목과 같은 크기·굵기 */
.ov-cta a{font-size:18px;font-weight:800;padding:16px 16px}
@media(max-width:760px){.ov-cta a{font-size:16px;padding:8px 8px}}

/* 신청하기 버튼 색: 위쪽 상품 제목 색과 동일 */
.ov-cta td:nth-child(2) a{background:var(--sw-navy-900)}
.ov-cta td:nth-child(3) a{background:var(--sw-navy-900)}
.ov-cta td:nth-child(4) a{background:var(--sw-orange-600)}
.ov-cta td:nth-child(2) a:hover{background:var(--sw-navy-900)}
.ov-cta td:nth-child(3) a:hover{background:var(--sw-navy-950)}
.ov-cta td:nth-child(4) a:hover{background:var(--sw-orange-700)}

/* 글자 키우기 */
.ov-lead{font-size:18px}
.ov-table{font-size:18px}
.ov-table th,.ov-table td{padding:16px 16px}
.ov-table thead th{font-size:20px}
.ov-table thead .ov-corner{font-size:18px}
.ov-table tbody th,.ov-table tfoot th{font-size:18px}
.ov-yes .ov-spec{font-size:18px}
.ov-yes .ov-price{font-size:18px;margin-top:4px}
.ov-note .ov-sub{font-size:16px}
.ov-no{font-size:20px}
.ov-table tfoot td strong{font-size:32px}
.ov-total--best td strong{font-size:32px}
.ov-table tfoot td span{font-size:16px}
.ov-cta a{font-size:20px}
.ov-note-text{font-size:16px}
@media(max-width:760px){
  .ov-table{font-size:16px;min-width:600px}
  .ov-table th,.ov-table td{padding:16px 8px}
  .ov-table thead th{font-size:18px}
  .ov-table tbody th,.ov-table tfoot th{font-size:16px}
  .ov-yes .ov-spec{font-size:16px}
  .ov-yes .ov-price{font-size:16px}
  .ov-table tfoot td strong{font-size:20px}
  .ov-total--best td strong{font-size:20px}
  .ov-cta a{font-size:16px}
  .ov-lead,.ov-note-text{font-size:16px}
}

/* 카테고리 탭: 평소엔 연하게, 마우스를 올리면 원래 색으로 진하게 */
.subpage .sub-tabs a:not(.active):hover,.subpage .sub-tabs a:not(.active):focus-visible{opacity:1}

/* 일반장 버스: 장의차량과 택1 표기 */
.ov-yes .ov-sub{display:block;margin-top:2px;font-size:16px;font-weight:600;color:var(--sw-gold-600)}

/* 합친 칸 (장의차량+버스) */
.ov-table td.ov-merge{background-color:var(--sw-orange-50)}
