/* Category detail: spacing and cards stay isolated from the other catalog pages. */
.category-page { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.category-page .category-layout { display: grid; gap: clamp(36px, 4vw, 56px); }
.category-page .category-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: #617575; font-size: 14px; line-height: 1.7; }
.category-page .category-breadcrumb a { color: #146b70; text-decoration: none; }
.category-page .category-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(28px, 5vw, 72px); padding: clamp(24px, 4vw, 48px); border: 1px solid #e0e9e7; border-radius: 28px; background: linear-gradient(120deg, #fff 15%, #edf6f3); }
.category-page .category-hero--text { grid-template-columns: 1fr; }
.category-page .category-hero-copy { display: grid; gap: 22px; padding: 8px 0; min-width: 0; }
.category-page .category-hero .eyebrow { justify-self: start; margin: 0; }
.category-page .category-hero h1 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.category-page .category-hero p { margin: 0; max-width: 54ch; color: #526b6b; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; }
.category-page .category-hero-media { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: #e8f1ee; }
.category-page .category-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.category-page .category-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px; margin: 0; padding: clamp(24px, 3vw, 32px); background: #fff; border: 1px solid #e0e9e7; border-radius: 22px; box-shadow: 0 8px 24px rgba(20, 57, 57, .035); }
.category-page .category-filter .field { flex: 1 1 280px; max-width: 520px; margin: 0; }
.category-page .category-filter .field label { margin: 0 0 12px; color: #284848; }
.category-page .category-filter select { min-height: 50px; background: #f9fbfa; border-color: #d6e2df; border-radius: 12px; }
.category-page .category-filter .btn { min-height: 50px; margin: 0; padding: 12px 24px; background: #164d50; border-color: #164d50; color: #fff; }
.category-page .category-filter-reset { display: inline-flex; align-items: center; min-height: 50px; padding: 12px 4px; color: #146b70; text-underline-offset: 4px; }
.category-page .category-block { display: grid; gap: 24px; margin: 0; padding: 8px 0; min-width: 0; }
.category-page .category-block-head { display: grid; gap: 10px; margin: 0; }
.category-page .category-block h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.25; letter-spacing: -.025em; }
.category-page .category-block-head p { margin: 0; color: #617575; line-height: 1.7; }
.category-page .category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.category-page .category-subcard { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-content: start; align-items: center; gap: 12px 20px; padding: 24px; background: #fff; border: 1px solid #e0e9e7; border-radius: 20px; transition: border-color .2s, box-shadow .2s; }
.category-page .category-subcard:hover { border-color: #a6c5bf; box-shadow: 0 8px 24px rgba(20,57,57,.06); }
.category-page .category-subcard-media { grid-row: span 2; display: block; width: 76px; height: 76px; border-radius: 16px; overflow: hidden; background: #edf6f3; }
.category-page .category-subcard-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.category-page .category-subcard h3 { margin: 0; font-size: 18px; line-height: 1.4; }
.category-page .category-subcard h3 a { color: #193d3f; text-decoration: none; }
.category-page .category-subcard-action { color: #147277; font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.category-page .category-result-card { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 28px; border: 1px solid #e0e9e7; border-radius: 22px; background: #fff; box-shadow: 0 8px 24px rgba(20,57,57,.035); }
.category-page .category-expert-head { display: flex; align-items: center; gap: 16px; }
.category-page .category-expert-initial { display: grid; place-items: center; flex: 0 0 52px; height: 52px; border-radius: 16px; background: #e6f2ee; color: #176166; font-size: 23px; font-weight: 700; }
.category-page .category-result-card h3 { margin: 0; font-size: 21px; line-height: 1.4; letter-spacing: -.02em; }
.category-page .category-result-card h3 a { color: #193d3f; text-decoration: none; }
.category-page .category-result-card p { margin: 0; color: #526b6b; font-size: 16px; line-height: 1.75; }
.category-page .category-card-label { align-self: flex-start; display: inline-block; padding: 7px 12px; border-radius: 8px; background: #eef5f2; color: #286167; font-size: 12px; font-weight: 700; line-height: 1.5; }
.category-page .category-card-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid #e9efed; }
.category-page .category-card-footer a { color: #147277; font-size: 14px; font-weight: 700; line-height: 1.6; text-decoration: none; }
.category-page .category-price { color: #183d3f; font-size: 23px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.category-page .category-specialties { display: grid; gap: 20px; padding: 24px 0; border-bottom: 1px solid #e0e9e7; }
.category-page .category-specialties p { margin: 0; line-height: 1.75; }
.category-page .service-meta-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.category-page .category-empty { margin: 0; padding: 28px; border: 1px dashed #ccdcd7; border-radius: 18px; color: #617575; line-height: 1.75; background: #f9fbfa; }
.category-page .catalog-pagination { margin: 0; padding: 24px 0; }
.category-page a:focus-visible, .category-page button:focus-visible { outline: 3px solid #ed895b; outline-offset: 5px; }
@media (max-width: 1050px) { .category-page .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .category-page .category-layout { gap: 32px; }
  .category-page .category-hero { grid-template-columns: 1fr; gap: 28px; border-radius: 22px; }
  .category-page .category-hero-media { max-height: 300px; }
  .category-page .category-grid { grid-template-columns: 1fr; gap: 20px; }
  .category-page .category-filter { align-items: stretch; gap: 20px; }
  .category-page .category-filter .field { flex-basis: 100%; max-width: none; }
  .category-page .category-filter .btn { flex: 1 1 auto; }
  .category-page .category-result-card { padding: 24px; }
  .category-page .category-subcard { padding: 22px; }
  .category-page .category-block { gap: 22px; padding: 8px 0; }
}
@media (prefers-reduced-motion: reduce) { .category-page .category-subcard { transition: none; } }
