body.women-catalog-page .product-showcase-card[href] {
  cursor: pointer;
}

body.women-catalog-page article.product-showcase-card:hover {
  transform: none;
  border-color: var(--line);
}

body.women-catalog-page .product-showcase-copy .product-card-action {
  color: var(--accent-dark);
  font-weight: 700;
}

body.women-catalog-page .core-category-overview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

body.women-catalog-page .core-category-overview .section-head {
  margin-bottom: 1rem;
}

body.women-catalog-page .core-product-route,
body.women-catalog-page #damenpullover-kategorien,
body.women-catalog-page #kollektion,
body.women-catalog-page .full-series-section {
  scroll-margin-top: calc(var(--header) + 24px);
}

body.women-catalog-page .core-product-route:nth-of-type(even) {
  background: var(--surface);
}

body.women-catalog-page .product-showcase-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.women-catalog-page .core-product-route .product-series-intro h2 {
  max-width: 22ch;
}

body.women-catalog-page .series-directory {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  grid-template-areas:
    "products patterns"
    "products occasions"
    "materials materials";
  gap: clamp(1rem, 1.6vw, 1.5rem);
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
}

body.women-catalog-page .series-directory-group {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  padding: clamp(1.15rem, 2vw, 1.65rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}

body.women-catalog-page .series-directory-group:nth-child(1) {
  grid-area: products;
}

body.women-catalog-page .series-directory-group:nth-child(2) {
  grid-area: patterns;
}

body.women-catalog-page .series-directory-group:nth-child(3) {
  grid-area: occasions;
}

body.women-catalog-page .series-directory-group:nth-child(4) {
  grid-area: materials;
}

body.women-catalog-page .series-directory-group h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding-bottom: 1rem;
  font-size: clamp(1.08rem, 1.4vw, 1.32rem);
  border-bottom: 1px solid var(--line);
}

body.women-catalog-page .series-directory-group h3 small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.women-catalog-page .series-directory-group nav {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  column-gap: clamp(1rem, 2vw, 1.8rem);
}

body.women-catalog-page .series-directory-group:nth-child(4) nav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.women-catalog-page .series-directory-group a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.45rem;
  padding: 0.82rem 0.2rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  text-decoration: none;
  line-height: 1.4;
  transition: color 160ms ease, padding 160ms ease;
}

body.women-catalog-page .series-directory-group nav a:nth-child(-n + 2),
body.women-catalog-page .series-directory-group:nth-child(4) nav a:nth-child(-n + 3) {
  border-top: 0;
}

body.women-catalog-page .series-directory-group a:hover,
body.women-catalog-page .series-directory-group a:focus-visible {
  color: var(--accent-dark);
  padding-left: 0.45rem;
}

body.women-catalog-page .series-directory-group .series-link-label {
  min-width: 0;
  font-weight: 600;
}

body.women-catalog-page .series-directory-group .series-count {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--ink-soft);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.women-catalog-page .series-directory-group a:hover .series-count,
body.women-catalog-page .series-directory-group a:focus-visible .series-count {
  color: var(--accent-dark);
  border-color: var(--accent);
}

body.women-catalog-page .full-series-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 1080px;
}

/* The 29-series directory is intentionally long, but small-screen users must
   not hit blank or shifting sections while they scroll or follow an anchor.
   Lazy-loaded images remain deferred; only layout/paint containment is lifted. */
@media (max-width: 760px) {
  body.women-catalog-page .full-series-section {
    content-visibility: visible;
    contain-intrinsic-size: none;
  }
}

body.women-catalog-page .full-series-section.series-alt {
  background: var(--paper-deep);
}

body.women-catalog-page .full-series-grid {
  gap: clamp(0.8rem, 1.8vw, 1.5rem);
}

body.women-catalog-page .series-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

body.women-catalog-page .series-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

body.women-catalog-page .series-cta {
  flex: 0 0 auto;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

@media (max-width: 1280px) {
  body.women-catalog-page .series-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.women-catalog-page .series-directory-group nav {
    grid-template-columns: 1fr;
  }

  body.women-catalog-page .series-directory-group nav a:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  body.women-catalog-page .series-directory-group:nth-child(4) nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.women-catalog-page .series-directory-group:nth-child(4) nav a:nth-child(2) {
    border-top: 0;
  }
}

@media (max-width: 900px) {
  body.women-catalog-page .series-directory {
    grid-template-columns: 1fr;
    grid-template-areas:
      "products"
      "patterns"
      "occasions"
      "materials";
  }

  body.women-catalog-page .series-directory-group nav,
  body.women-catalog-page .series-directory-group:nth-child(4) nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.women-catalog-page .series-directory-group nav a:nth-child(2) {
    border-top: 0;
  }

  body.women-catalog-page .series-directory-group:nth-child(4) nav a:nth-child(3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  body.women-catalog-page .core-product-route .product-series-intro h2 {
    max-width: none;
  }

  body.women-catalog-page .series-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  body.women-catalog-page .product-showcase-grid-two {
    grid-template-columns: 1fr;
  }

  body.women-catalog-page .full-series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  body.women-catalog-page .full-series-grid .product-showcase-copy {
    gap: 0.3rem;
    padding: 0.7rem;
  }

  body.women-catalog-page .full-series-grid .product-showcase-copy strong {
    font-size: 0.95rem;
    line-height: 1.25;
  }

  body.women-catalog-page .full-series-grid .product-showcase-copy span {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  body.women-catalog-page .series-directory {
    grid-template-columns: 1fr;
  }

  body.women-catalog-page .series-directory-group nav,
  body.women-catalog-page .series-directory-group:nth-child(4) nav {
    grid-template-columns: 1fr;
  }

  body.women-catalog-page .series-directory-group nav a:nth-child(2),
  body.women-catalog-page .series-directory-group:nth-child(4) nav a:nth-child(2),
  body.women-catalog-page .series-directory-group:nth-child(4) nav a:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  body.women-catalog-page .series-directory-group a:first-child {
    border-top: 0;
  }
}
