.category-hub-page {
  background: #fbfbfa;
}

.category-hub-main,
.category-hub {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.category-hub-main {
  padding: 34px 0 72px;
}

.category-hub-embedded {
  width: 100%;
  margin-bottom: 54px;
}

.category-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: #606672;
  font-size: 0.9rem;
}

.category-breadcrumbs a {
  color: inherit;
}

.category-hub-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid #e6e8ec;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(47, 52, 65, 0.07);
}

.category-hub-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -95px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(140, 200, 248, 0.2);
  pointer-events: none;
}

.category-hub-hero h1 {
  max-width: 820px;
  margin: 8px 0 18px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.category-hub-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #505764;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.category-hub-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.category-hub-actions .primary-button {
  text-decoration: none;
}

.category-method-link {
  color: #343a46;
  font-weight: 700;
}

.category-hub-nav {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 44px;
}

.category-hub-nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border: 1px solid #e1e4e8;
  border-radius: 15px;
  background: #fff;
  color: #444b57;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.category-hub-nav a:hover,
.category-hub-nav a:focus-visible,
.category-hub-nav a[aria-current="page"] {
  border-color: #2f3441;
  color: #17191f;
  transform: translateY(-1px);
}

.category-hub-nav a[aria-current="page"] {
  background: #f1f5f9;
}

.category-section {
  margin-top: 52px;
}

.category-section > h2 {
  max-width: 800px;
  margin: 7px 0 14px;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.category-section > p,
.category-section-intro {
  max-width: 790px;
  color: #59616c;
  line-height: 1.65;
}

.category-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.category-guide-grid a {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 25px;
  border: 1px solid #e2e5e9;
  border-radius: 24px;
  background: #fff;
  color: #242934;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(47, 52, 65, 0.05);
}

.category-guide-grid a:hover,
.category-guide-grid a:focus-visible {
  border-color: #9bbbd3;
  transform: translateY(-2px);
}

.category-guide-grid span {
  color: #68717d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-guide-grid strong {
  margin-top: 12px;
  font-size: 1.24rem;
  line-height: 1.25;
}

.category-guide-grid p {
  margin: 12px 0 0;
  color: #606874;
  line-height: 1.55;
}

.category-stage-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.category-stage-card {
  overflow: hidden;
  border: 1px solid #e1e4e8;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(47, 52, 65, 0.04);
}

.category-stage-card summary {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr) 30px;
  gap: 22px;
  align-items: center;
  padding: 24px 27px;
  cursor: pointer;
  list-style: none;
}

.category-stage-card summary::-webkit-details-marker {
  display: none;
}

.category-stage-card[open] summary {
  border-bottom: 1px solid #edf0f2;
  background: #fcfcfb;
}

.category-stage-range {
  color: #2f3441;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-stage-summary-copy {
  display: grid;
  gap: 6px;
}

.category-stage-summary-copy strong {
  color: #20242c;
  font-size: 1.14rem;
}

.category-stage-summary-copy span {
  color: #606874;
  line-height: 1.5;
}

.category-stage-toggle {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #f1f3f5;
  font-size: 1.25rem;
  transition: transform 160ms ease;
}

.category-stage-card[open] .category-stage-toggle {
  transform: rotate(45deg);
}

.category-stage-body {
  padding: 24px 27px 29px;
}

.category-stage-label {
  margin: 0 0 17px;
  color: #69717d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-product-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid #e8eaed;
  border-radius: 19px;
  background: #fdfdfc;
}

.category-product-symbol {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  font-size: 1.45rem;
}

.category-product-symbol.tone-blue {
  background: #e9f5fd;
}

.category-product-symbol.tone-pink {
  background: #fcecf3;
}

.category-product-symbol.tone-yellow {
  background: #fff7d6;
}

.category-product-symbol.tone-green {
  background: #e9f5ed;
}

.category-product-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 7px 14px;
}

.category-product-heading strong {
  color: #242934;
  line-height: 1.3;
}

.category-product-heading span {
  color: #68717d;
  font-size: 0.76rem;
  font-weight: 700;
}

.category-product-card p {
  margin: 8px 0 10px;
  color: #5d6571;
  font-size: 0.92rem;
  line-height: 1.5;
}

.category-product-link,
.category-product-pending {
  font-size: 0.82rem;
  font-weight: 750;
}

.category-product-link {
  color: #315d7c;
}

.category-product-pending {
  color: #7a8089;
}

.category-clothing-hub .category-hub-embedded {
  margin-top: 30px;
}

.category-clothing-hub .clothing-hero h2 {
  margin: 8px 0 20px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

@media (max-width: 980px) {
  .category-hub-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .category-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .category-hub-main,
  .category-hub {
    width: min(100% - 20px, 1180px);
  }

  .category-hub-main {
    padding-top: 20px;
  }

  .category-hub-hero {
    padding: 27px 22px;
    border-radius: 25px;
  }

  .category-hub-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .category-hub-actions a {
    justify-content: center;
    text-align: center;
  }

  .category-hub-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 36px;
  }

  .category-guide-grid,
  .category-product-list {
    grid-template-columns: 1fr;
  }

  .category-stage-card summary {
    grid-template-columns: 1fr 30px;
    gap: 13px;
    padding: 20px;
  }

  .category-stage-range {
    grid-column: 1 / -1;
  }

  .category-stage-body {
    padding: 20px;
  }

  .category-product-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 15px;
  }

  .category-product-symbol {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 1.2rem;
  }
}

@media (max-width: 430px) {
  .category-hub-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-hub-hero h1 {
    font-size: 2.5rem;
  }

  .category-product-heading {
    display: grid;
  }
}
