/* Screen 2 follows the approved storyboard. */
.category-page { background: #fdfcf9; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.flow-header { height: 86px; background: #fff; border-bottom: 1px solid #ecebe6; }
.flow-header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; height: 100%; margin: auto; padding-inline: 24px; }
.flow-menu { position: relative; }
.menu-toggle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 10px; background: transparent; border: 0; border-radius: 8px; color: #656a63; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; stroke-width: 1.5; }
.menu-toggle:hover { background: #f5f6f2; }
.flow-navigation { position: absolute; top: calc(100% + 10px); right: 0; z-index: 5; width: 245px; padding: 8px; background: #fff; border: 1px solid #e4e7de; border-radius: 12px; box-shadow: 0 5px 20px #232c2012; }
.flow-navigation[hidden] { display: none; }
.flow-navigation a { display: block; padding: 12px; border-radius: 6px; font-size: 15px; line-height: 1.7; }
.flow-navigation a:hover { background: #f1f6f1; }
.category-main { max-width: 640px; margin: auto; padding: 22px 24px 36px; }
.flow-progress { display: flex; align-items: center; justify-content: space-between; gap: 25px; height: 36px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; min-height: 44px; font-size: 15px; color: #545a51; }
.back-link svg { width: 18px; height: 18px; stroke-width: 1.7; }
.progress-track { width: 100%; height: 8px; background: #eeece7; border-radius: 10px; overflow: hidden; }
.progress-track > span { display: block; width: 26.7%; height: 100%; background: var(--green); border-radius: inherit; }
.step-label { flex-shrink: 0; font-size: 15px; color: #8b8e87; }
.category-heading { text-align: center; margin-top: 34px; }
.category-heading h1 { font-size: 30px; line-height: 1.4; font-weight: 850; letter-spacing: -.035em; }
.category-heading p { margin-top: 8px; font-size: 18px; line-height: 1.7; }
.category-options { border: 0; padding: 0; margin: 30px 0 0; min-width: 0; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 22px; }
.category-card { display: block; position: relative; min-width: 0; cursor: pointer; }
.category-card input { position: absolute; top: 1px; left: 1px; width: 1px; height: 1px; opacity: 0; }
.category-content { display: block; height: 100%; overflow: hidden; background: #fff; border: 1px solid #eeede8; border-radius: 14px; box-shadow: 0 3px 10px #22222208; }
.category-card:hover .category-content { border-color: #a1c3b8; }
.category-card:focus-visible { outline-offset: 4px; border-radius: 14px; }
.category-card.is-selected .category-content { border-color: var(--green); background: #f3f9f5; box-shadow: none; }
.category-card input:focus-visible + .category-content { outline: 3px solid var(--green); outline-offset: 4px; }
.category-content > img { width: 100%; aspect-ratio: 1.65; height: auto; object-fit: cover; }
.category-card-body { display: block; position: relative; padding: 16px 15px 19px; }
.category-card-title { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.category-card-title svg { width: 34px; height: 34px; stroke-width: 1.75; }
.category-card-title strong { font-size: 23px; font-weight: 800; letter-spacing: -.045em; line-height: 1.5; }
.category-card-description { display: block; margin-top: 8px; padding-left: 43px; font-size: 14px; line-height: 1.7; color: #454a41; }
.category-chevron { position: absolute; bottom: 28px; right: 15px; width: 27px; height: 27px; border-radius: 50%; background: #f1f2ef; text-align: center; font-size: 28px; line-height: 22px; color: #656b60; }
@media (max-width: 760px) {
  .flow-header { height: 56px; }
  .flow-header-inner { padding-inline: 24px; }
  .category-page .brand { gap: 9px; }
  .category-page .brand b { font-size: 21px; }
  .category-page .brand > svg { width: 27px; height: 27px; }
  .menu-toggle { width: 44px; height: 44px; margin-right: -8px; }
  .menu-toggle svg { width: 25px; height: 25px; }
  .category-main { max-width: 460px; padding: 14px 24px 24px; }
  .flow-progress { height: 24px; gap: 22px; }
  .back-link { min-height: 44px; font-size: 12px; gap: 2px; margin-right: 20px; }
  .back-link svg { width: 15px; height: 15px; }
  .progress-track { height: 6px; }
  .step-label { font-size: 12px; }
  .category-heading { margin-top: 25px; }
  .category-heading h1 { font-size: 21px; line-height: 1.4; }
  .category-heading p { font-size: 13px; line-height: 1.6; margin-top: 4px; }
  .category-options { margin-top: 23px; }
  .category-grid { gap: 16px 14px; }
  .category-content { border-radius: 11px; }
  .category-card-body { padding: 9px 10px; }
  .category-card-title { gap: 5px; }
  .category-card-title svg { width: 24px; height: 24px; }
  .category-card-title strong { font-size: 15px; letter-spacing: -.045em; }
  .category-card-description { font-size: 12px; line-height: 1.5; margin-top: 5px; padding-left: 0; letter-spacing: -.02em; }
  .category-chevron { width: 20px; height: 20px; bottom: 8px; right: 9px; font-size: 22px; line-height: 16px; }
}
@media (max-width: 359px) {
  .flow-header-inner { padding-inline: 20px; }
  .category-main { padding-inline: 20px; }
  .category-page .brand b { font-size: 20px; }
  .flow-progress { gap: 15px; }
  .back-link { margin-right: 8px; }
  .category-heading h1 { font-size: 19px; }
  .category-grid { gap: 12px; }
  .category-card-body { padding-inline: 8px; padding-bottom: 24px; }
  .category-card-title { gap: 4px; }
  .category-card-title svg { width: 21px; height: 21px; }
  .category-card-title strong { font-size: 12.5px; }
  .category-card-description { font-size: 10.5px; }
  .category-chevron { right: 7px; bottom: 6px; width: 18px; height: 18px; font-size: 20px; line-height: 14px; }
}
