.catalog-page { background: #fff; color: #000; }
.catalog-page main { padding-top: var(--header-total, 108px); }
.catalog-page h1, .catalog-page h2, .catalog-page h3 { color: #000; font-family: var(--font-display); }
.catalog-header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.catalog-nav { min-height: 76px; display: flex; align-items: center; gap: 36px; }
.catalog-logo img { width: 205px; max-height: 48px; object-fit: contain; }
.catalog-nav nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: .9rem; font-weight: 600; }
.catalog-nav nav a:hover { color: var(--primary-dark); }
.catalog-help { padding: 11px 20px; }
.catalog-hero, .product-hero { padding: 64px 0 56px; background: linear-gradient(145deg,#fff 0%,#fff7f5 100%); border-bottom: 1px solid var(--border); }
.catalog-hero h1, .product-hero h1 { margin: 8px 0 14px; max-width: 900px; font-size: clamp(2.2rem,5vw,4rem); line-height: 1.1; letter-spacing: -.045em; }
.catalog-hero > .container > p:last-child { max-width: 760px; color: var(--text-secondary); font-size: 1.05rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: #646464; font-size: .78rem; }
.breadcrumbs a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.catalog-listing, .included-section, .related-section { padding: 64px 0; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.catalog-filters button { min-height: 44px; padding: 9px 16px; border: 1px solid #d7d7d7; border-radius: 999px; background: #fff; color: #000; font-size: .82rem; font-weight: 600; }
.catalog-filters button:hover, .catalog-filters button.active { border-color: #000; background: #000; color: #fff; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.catalog-card { display: flex; flex-direction: column; min-width: 0; padding: 25px; border: 1px solid #dedede; border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.catalog-card[hidden] { display: none; }
.catalog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; color: #444; font-size: .74rem; }
.catalog-pill { padding: 6px 9px; border-radius: 4px; background: #f0f0f0; color: #000; font-weight: 700; }
.catalog-card h2 { min-height: 58px; margin: 0 0 14px; font-size: 1.15rem; line-height: 1.4; }
.catalog-card h2 a:hover { color: var(--primary-dark); }
.catalog-includes-preview { flex: 1; margin-bottom: 20px; color: #555; font-size: .82rem; line-height: 1.65; }
.catalog-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px solid #ededed; }
.catalog-price { color: #000; font-size: 1.5rem; font-weight: 800; }
.catalog-mrp { color: #777; font-size: .76rem; }
.catalog-saving { padding: 3px 7px; border-radius: 4px; background: #e8f5e9; color: #256b2a; font-size: .7rem; font-weight: 700; }
.catalog-review-note { margin: 8px 0 0; color: #9a3412; font-size: .75rem; font-weight: 600; }
.catalog-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.catalog-card-actions > * { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: .78rem; font-weight: 700; }
.catalog-details { border: 1px solid #000; color: #000; }
.catalog-card .book-test-btn { border-radius: 6px; padding: 9px; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(300px,.7fr); align-items: start; gap: 64px; }
.product-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.product-facts > * { padding: 8px 12px; border-radius: 5px; background: #fff; border: 1px solid #e6d9d6; font-size: .84rem; }
.product-booking { padding: 28px; border: 1px solid #e7d4cf; border-radius: 14px; background: #fff; box-shadow: var(--shadow-md); }
.product-booking > p:first-child { margin: 0 0 6px; color: #555; font-size: .78rem; }
.product-price { margin-right: 10px; font-size: 2rem; font-weight: 800; }
.product-saving { margin: 10px 0 18px; color: var(--green); font-size: .8rem; font-weight: 700; }
.product-booking .book-test-btn { width: 100%; min-height: 48px; margin-top: 18px; }
.product-help-link { display: block; min-height: 44px; padding-top: 13px; color: var(--primary-dark); text-align: center; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.included-section h2, .related-section h2 { margin: 6px 0 12px; font-size: clamp(1.7rem,3vw,2.4rem); }
.included-note { max-width: 720px; margin-bottom: 30px; color: #555; }
.included-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 28px; counter-reset: included; list-style: none; }
.included-grid li { position: relative; min-height: 52px; padding: 14px 15px 14px 50px; border: 1px solid #e3e3e3; border-radius: 8px; background: #fafafa; color: #222; line-height: 1.5; counter-increment: included; }
.included-grid li::before { content: counter(included); position: absolute; top: 13px; left: 14px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #000; color: #fff; font-size: .68rem; font-weight: 700; }
.related-section { background: #f8f8f8; }
.catalog-footer { padding: 48px 0; background: #0d0d0d; color: #bcbcbc; }
.catalog-footer img { width: 190px; max-height: 50px; object-fit: contain; margin-bottom: 18px; }
.catalog-footer p { margin: 8px 0; font-size: .8rem; }
.catalog-footer a { color: #fff; }
.catalog-cart-trigger { position: fixed; right: 24px; bottom: 24px; z-index: 850; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: #000; color: #fff; box-shadow: var(--shadow-lg); font-weight: 700; }
.catalog-cart-trigger .cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 5px; border-radius: 50%; background: var(--primary); }
.catalog-not-found { min-height: 60vh; padding: 100px 0; text-align: center; }
.catalog-not-found p { margin: 12px 0 28px; }
@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-hero-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 767px) {
  .catalog-nav { min-height: 66px; gap: 14px; }
  .catalog-logo img { width: 145px; }
  .catalog-nav nav { display: none; }
  .catalog-help { margin-left: auto; padding: 9px 14px; }
  .catalog-hero, .product-hero { padding: 38px 0; }
  .catalog-listing, .included-section, .related-section { padding: 42px 0; }
  .catalog-grid, .included-grid { grid-template-columns: 1fr; }
  .catalog-card h2 { min-height: 0; }
  .catalog-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .catalog-filters button { flex: 0 0 auto; }
  .product-booking { padding: 22px; }
}

/* Shared profile detail experience */
.profile-detail-page { background: #f8f7f5; }
.profile-detail-shell { padding: 34px 0 76px; }
.profile-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; color: #727272; font-size: .82rem; line-height: 1.6; }
.profile-breadcrumb a { color: #404040; }
.profile-breadcrumb a:hover { color: var(--primary-dark); }
.profile-breadcrumb [aria-current="page"] { color: #171717; }
.profile-detail-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); align-items: start; gap: clamp(38px, 5vw, 72px); }
.profile-detail-hero { padding: 14px 0 44px; }
.profile-eyebrow { margin: 0 0 13px; color: var(--primary-dark); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.profile-detail-hero h1 { max-width: 820px; margin: 0; font-size: clamp(2.15rem, 4vw, 3.45rem); line-height: 1.08; letter-spacing: -.04em; }
.profile-lead { max-width: 720px; margin: 20px 0 0; color: #5f5f5f; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.75; }
.profile-meta-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; margin: 30px 0 0; border-top: 1px solid #dedbd7; border-bottom: 1px solid #dedbd7; }
.profile-meta-list > div { padding: 17px 22px 17px 0; }
.profile-meta-list > div + div { padding-left: 22px; border-left: 1px solid #dedbd7; }
.profile-meta-list dt { margin-bottom: 5px; color: #777; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.profile-meta-list dd { margin: 0; color: #1b1b1b; font-size: .94rem; font-weight: 700; }
.profile-booking-column { position: sticky; top: calc(var(--header-total, 108px) + 20px); }
.profile-booking-card { padding: 26px; border: 1px solid #ddd9d4; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(28, 20, 17, .06); }
.profile-booking-label { margin: 0 0 9px; color: var(--primary-dark); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.profile-booking-card h2 { margin: 0 0 24px; font-size: 1.08rem; line-height: 1.45; }
.profile-booking-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; padding-top: 19px; border-top: 1px solid #ece9e6; }
.profile-booking-price strong { color: #151515; font-size: 1.9rem; letter-spacing: -.03em; }
.profile-booking-price span { color: #777; font-size: .78rem; }
.profile-booking-saving { margin: 8px 0 0; color: #317245; font-size: .78rem; font-weight: 700; }
.profile-price-pending { margin: 0; padding: 19px 0 2px; border-top: 1px solid #ece9e6; color: #555; font-size: .88rem; line-height: 1.6; }
.profile-book-button { width: 100%; min-height: 50px; margin-top: 22px; border-radius: 8px; }
.profile-talk-link { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 9px; border: 1px solid #d4d0cc; border-radius: 8px; color: #242424; font-size: .82rem; font-weight: 700; }
.profile-talk-link:hover { border-color: var(--primary-dark); color: var(--primary-dark); }
.profile-content-stack { overflow: hidden; border: 1px solid #e1dedb; border-radius: 16px; background: #fff; }
.profile-content-section { padding: clamp(28px, 4vw, 42px); }
.profile-content-section + .profile-content-section { border-top: 1px solid #ece9e6; }
.profile-content-section h2, .profile-guidance-card h2, .profile-related h2 { margin: 0 0 13px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; letter-spacing: -.025em; }
.profile-content-section > p, .profile-guidance-card p { max-width: 760px; margin: 0; color: #666; font-size: .94rem; line-height: 1.75; }
.profile-test-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin: 25px 0 0; padding: 0; list-style: none; }
.profile-test-grid li { display: flex; align-items: flex-start; gap: 11px; min-height: 49px; padding: 13px 0; border-top: 1px solid #efedeb; color: #292929; font-size: .9rem; line-height: 1.55; }
.profile-check { flex: 0 0 20px; width: 20px; height: 20px; display: inline-grid; place-items: center; margin-top: 1px; border: 1px solid #efb6aa; border-radius: 50%; color: var(--primary-dark); font-size: .68rem; font-weight: 800; }
.profile-guidance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #ece9e6; }
.profile-guidance-card { padding: clamp(28px, 4vw, 42px); }
.profile-guidance-card + .profile-guidance-card { border-left: 1px solid #ece9e6; }
.profile-related { margin-top: 72px; padding-top: 42px; border-top: 1px solid #dedbd7; }
.profile-related-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.profile-related-heading h2 { margin-bottom: 0; }
.profile-related-heading > a { color: var(--primary-dark); font-size: .82rem; font-weight: 700; }
.profile-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.profile-related-card { display: flex; flex-direction: column; min-height: 190px; padding: 23px; border: 1px solid #e1dedb; border-radius: 14px; background: #fff; }
.profile-related-card > p { margin: 0 0 12px; color: #777; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.profile-related-card h3 { margin: 0 0 10px; font-size: 1.02rem; line-height: 1.45; }
.profile-related-card h3 a:hover { color: var(--primary-dark); }
.profile-related-card > span { color: #6a6a6a; font-size: .78rem; }
.profile-related-link { margin-top: auto; padding-top: 20px; color: var(--primary-dark); font-size: .8rem; font-weight: 700; }

@media (max-width: 980px) {
  .profile-detail-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr); gap: 32px; }
  .profile-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .profile-detail-shell { padding: 26px 0 56px; }
  .profile-detail-layout { grid-template-columns: 1fr; }
  .profile-booking-column { position: static; order: 2; }
  .profile-detail-main { display: contents; }
  .profile-detail-hero { order: 1; padding-bottom: 12px; }
  .profile-content-stack { order: 3; margin-top: 8px; }
  .profile-booking-card { box-shadow: 0 8px 22px rgba(28, 20, 17, .05); }
}
@media (max-width: 600px) {
  .profile-breadcrumb { margin-bottom: 22px; font-size: .74rem; }
  .profile-detail-hero h1 { font-size: clamp(2rem, 10vw, 2.65rem); }
  .profile-meta-list { grid-template-columns: 1fr; }
  .profile-meta-list > div + div { padding-left: 0; border-top: 1px solid #dedbd7; border-left: 0; }
  .profile-test-grid, .profile-guidance-grid, .profile-related-grid { grid-template-columns: 1fr; }
  .profile-guidance-card + .profile-guidance-card { border-top: 1px solid #ece9e6; border-left: 0; }
  .profile-related { margin-top: 52px; padding-top: 34px; }
  .profile-related-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
}

/* Health category landing pages */
.health-category-page { background: #f8f7f5; }
.health-category-hero { padding: 34px 0 52px; border-bottom: 1px solid #dfdcd8; }
.health-category-heading { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: start; gap: 24px; max-width: 930px; }
.health-category-symbol { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #dedad6; border-radius: 18px; background: var(--category-tint, #fff); font-size: 2rem; }
.health-category-heading h1 { margin: 0; font-size: clamp(2.25rem, 4.8vw, 4rem); line-height: 1.08; letter-spacing: -.045em; }
.health-category-heading > div:last-child > p:last-child { max-width: 720px; margin: 17px 0 0; color: #626262; font-size: 1rem; line-height: 1.7; }
.health-category-summary { display: flex; flex-wrap: wrap; gap: 0; margin: 40px 0 0 100px; }
.health-category-summary > div { min-width: 130px; padding: 0 28px; border-left: 1px solid #d8d4d0; }
.health-category-summary > div:first-child { padding-left: 0; border-left: 0; }
.health-category-summary dt { color: #777; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.health-category-summary dd { margin: 5px 0 0; color: #171717; font-size: 1.35rem; font-weight: 800; }
.health-category-results { padding: 62px 0 82px; }
.health-category-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.health-category-toolbar h2 { margin: 0 0 7px; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.health-category-toolbar p { margin: 0; color: #707070; font-size: .84rem; }
.health-category-filters { display: flex; gap: 8px; overflow-x: auto; padding: 3px; scrollbar-width: none; }
.health-category-filters::-webkit-scrollbar { display: none; }
.health-category-filters button { min-height: 44px; padding: 9px 17px; flex: 0 0 auto; border: 1px solid #d9d5d1; border-radius: 9px; background: #fff; color: #343434; font: 700 .78rem var(--font-body); cursor: pointer; }
.health-category-filters button:hover, .health-category-filters button.is-active { border-color: #bf210c; color: #bf210c; }
.health-category-filters button.is-active { background: #fff4f1; }
.health-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.health-category-card { display: flex; min-width: 0; min-height: 245px; padding: 25px; flex-direction: column; border: 1px solid #dfdcd8; border-radius: 14px; background: #fff; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.health-category-card[hidden] { display: none; }
.health-category-card:hover { border-color: #c7bdb7; box-shadow: 0 10px 24px rgba(28, 20, 17, .06); transform: translateY(-2px); }
.health-category-card-meta { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 18px; color: #777; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.health-category-card-meta span:first-child { color: #b8210c; }
.health-category-card h3 { margin: 0 0 9px; font-size: 1.06rem; line-height: 1.45; letter-spacing: -.02em; }
.health-category-card h3 a:hover { color: #b8210c; }
.health-category-card-category { margin: 0; color: #686868; font-size: .78rem; }
.health-category-card-preview { margin: 17px 0 0; color: #747474; font-size: .78rem; line-height: 1.65; }
.health-category-card-link { width: max-content; min-height: 44px; display: inline-flex; align-items: end; gap: 8px; margin-top: auto; padding-top: 20px; color: #b8210c; font-size: .8rem; font-weight: 700; }
.health-category-empty { max-width: 760px; padding: clamp(30px, 5vw, 52px); border: 1px solid #dfdcd8; border-radius: 16px; background: #fff; }
.health-category-empty h2 { margin: 0 0 13px; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.health-category-empty > p:not(.profile-eyebrow) { max-width: 620px; margin: 0; color: #686868; line-height: 1.7; }
.health-category-empty-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.health-category-empty-actions > a:not(.btn) { color: #b8210c; font-size: .82rem; font-weight: 700; }

@media (max-width: 980px) {
  .health-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .health-category-hero { padding: 26px 0 40px; }
  .health-category-heading { grid-template-columns: 58px minmax(0, 1fr); gap: 17px; }
  .health-category-symbol { width: 58px; height: 58px; border-radius: 14px; font-size: 1.55rem; }
  .health-category-summary { margin: 30px 0 0; }
  .health-category-toolbar { align-items: flex-start; flex-direction: column; gap: 18px; }
  .health-category-filters { width: 100%; }
}
@media (max-width: 560px) {
  .health-category-heading { grid-template-columns: 1fr; }
  .health-category-heading h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .health-category-summary > div { min-width: 96px; padding: 0 17px; }
  .health-category-results { padding: 46px 0 60px; }
  .health-category-grid { grid-template-columns: 1fr; }
  .health-category-card { min-height: 0; padding: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .health-category-card { transition: none; }
  .health-category-card:hover { transform: none; }
}

/* Profile and panel family comparisons */
.family-page { background: #f8f7f5; }
.family-hero { padding: 34px 0 54px; border-bottom: 1px solid #dfdcd8; }
.family-hero-copy { max-width: 900px; }
.family-hero-copy h1 { margin: 0; font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: 1.06; letter-spacing: -.05em; }
.family-hero-copy p { max-width: 760px; margin: 20px 0 0; color: #626262; font-size: 1rem; line-height: 1.75; }
.family-options { padding: 62px 0 82px; }
.family-options-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.family-options-heading h2 { margin: 0 0 8px; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.family-options-heading p { max-width: 680px; margin: 0; color: #696969; line-height: 1.65; }
.family-options-heading > a { flex: 0 0 auto; color: #b8210c; font-size: .82rem; font-weight: 700; }
.family-option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 20px; }
.family-option-grid--2 { grid-template-columns: repeat(2, minmax(0, 460px)); }
.family-option-card { overflow: hidden; border: 1px solid #ddd9d5; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(28, 20, 17, .045); }
.family-option-header { padding: 26px 26px 23px; border-bottom: 1px solid #ebe8e4; }
.family-option-header > p { margin: 0 0 11px; color: #b8210c; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.family-option-header h2 { min-height: 55px; margin: 0 0 11px; font-size: 1.12rem; line-height: 1.45; letter-spacing: -.02em; }
.family-option-header > span { color: #696969; font-size: .8rem; }
.family-option-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 11px; padding: 21px 26px; border-bottom: 1px solid #ebe8e4; }
.family-option-price strong { color: #171717; font-size: 1.65rem; }
.family-option-price > span { color: #777; font-size: .74rem; }
.family-option-price em { width: 100%; color: #317245; font-size: .75rem; font-style: normal; font-weight: 700; }
.family-option-price-review { margin: 0; padding: 22px 26px; border-bottom: 1px solid #ebe8e4; color: #656565; font-size: .84rem; }
.family-price-wrap { padding: 0 24px 20px; }
.catalog-card, .profile-related-card, .health-category-card { display: flex; flex-direction: column; min-width: 0; }
.profile-booking-card .diagnostic-price-area { margin-bottom: 18px; }
.catalog-card .diagnostic-card-actions, .profile-related-card .diagnostic-card-actions, .health-category-card .diagnostic-card-actions { gap: 8px; }
.profile-related-card .diagnostic-price-from, .profile-related-card .diagnostic-discount { margin: 0; }
.catalog-card:focus-within, .profile-related-card:focus-within, .health-category-card:focus-within { border-color: #b31c00; }
.diagnostic-card-actions :is(a,button):focus-visible { outline: 2px solid #b31c00; outline-offset: 4px; }
.family-included { border-bottom: 1px solid #ebe8e4; }
.family-included summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 12px 26px; color: #303030; font-size: .8rem; font-weight: 700; cursor: pointer; list-style: none; }
.family-included summary::-webkit-details-marker { display: none; }
.family-included summary::after { content: '+'; color: #b8210c; font-size: 1.15rem; font-weight: 500; }
.family-included[open] summary::after { content: '−'; }
.family-included ul { max-height: 330px; margin: 0; padding: 0 26px 20px; overflow-y: auto; list-style: none; }
.family-included li { display: flex; align-items: flex-start; gap: 9px; padding: 9px 0; border-top: 1px solid #f0eeeb; color: #626262; font-size: .78rem; line-height: 1.55; }
.family-included li span { flex: 0 0 auto; color: #b8210c; }
.family-option-actions { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 22px 26px 25px; }
.family-option-actions .book-test-btn { min-height: 48px; border-radius: 8px; }
.family-option-actions > a { min-height: 43px; display: flex; align-items: center; justify-content: center; color: #303030; font-size: .79rem; font-weight: 700; }
.family-option-actions > a:hover { color: #b8210c; }
.family-choice-note { display: grid; grid-template-columns: minmax(190px, .45fr) minmax(0, 1.2fr) auto; align-items: center; gap: 24px 36px; margin-top: 48px; padding: 28px 30px; border: 1px solid #ddd9d5; border-radius: 14px; background: #fff; }
.family-choice-note h2 { margin: 0; font-size: 1.25rem; }
.family-choice-note p { margin: 0; color: #666; font-size: .84rem; line-height: 1.65; }
.family-choice-note a { color: #b8210c; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.family-related { margin-top: 68px; padding-top: 39px; border-top: 1px solid #ddd9d5; }
.family-related h2 { margin: 0 0 22px; font-size: 1.55rem; }
.family-related-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.family-related-links a { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; border: 1px solid #ddd9d5; border-radius: 10px; background: #fff; color: #242424; font-size: .84rem; font-weight: 700; }
.family-related-links a:hover { border-color: #c8b7b1; color: #b8210c; }

@media (max-width: 940px) {
  .family-option-grid, .family-option-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family-choice-note { grid-template-columns: 1fr auto; }
  .family-choice-note p { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 680px) {
  .family-hero { padding: 26px 0 42px; }
  .family-options { padding: 46px 0 60px; }
  .family-options-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .family-option-grid, .family-option-grid--2, .family-related-links { grid-template-columns: 1fr; }
  .family-option-header h2 { min-height: 0; }
  .family-choice-note { grid-template-columns: 1fr; padding: 24px 22px; }
  .family-choice-note p { grid-column: auto; grid-row: auto; }
  .family-related { margin-top: 52px; }
}
