/* КнигДекор · каталог комплектов v3
 * Приводит страницу категории к актуальному паттерну каталога и арт-витрины.
 */

body.theme-v2.catalog-store:not(.catalog-overview-page) {
  background: var(--surface-page);
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-hero {
  padding: 12px 0 8px;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-hero__grid {
  padding: 0.4rem 0 1.25rem;
  border-bottom: 1px solid var(--c-divider);
  border-radius: 0;
  background: transparent;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-hero__copy {
  max-width: 780px;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-hero__copy h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-hero__copy p {
  max-width: 64ch;
  margin-top: 0.45rem;
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-shop {
  padding: 0.65rem 0 clamp(4rem, 7vw, 6rem);
  background: var(--surface-card);
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-toolbar {
  padding: 0.15rem 0 0.85rem;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-guide {
  margin-bottom: 0.8rem;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-grid,
body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-grid.is-chaptered {
  margin-top: 0.65rem;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-color-chapter {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.35rem) 0 clamp(2.4rem, 4.5vw, 3.75rem);
  border-top: 1px solid var(--c-divider);
  border-radius: 0;
  background: transparent;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-color-chapter:first-child {
  border-top: 0;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-color-chapter__head {
  margin-bottom: clamp(1rem, 2vw, 1.45rem);
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-color-chapter__head h2 {
  font-family: var(--f-sans);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-color-chapter__grid {
  gap: clamp(2.2rem, 3.5vw, 3.25rem) clamp(0.8rem, 1.5vw, 1.25rem);
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-related {
  margin-top: 0;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--c-divider);
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--c-divider);
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo__intro > span {
  color: var(--c-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo__intro h2 {
  max-width: 12ch;
  margin-top: 0.65rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo__intro p,
body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo article p,
body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo__note {
  color: var(--c-text-muted);
  line-height: 1.6;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo__intro p {
  max-width: 52ch;
  margin-top: 1rem;
  font-size: 0.9rem;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-divider);
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo article {
  padding: 1.25rem 1.4rem 1.4rem 0;
  border-bottom: 1px solid var(--c-divider);
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo article:nth-child(even) {
  padding-right: 0;
  padding-left: 1.4rem;
  border-left: 1px solid var(--c-divider);
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo article:last-child {
  grid-column: 1 / -1;
  padding-right: 0;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo article h3 {
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo article p {
  margin-top: 0.55rem;
  font-size: 0.82rem;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo a {
  color: var(--c-accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo__note {
  grid-column: 2;
  margin-top: -0.5rem;
  font-size: 0.82rem;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-faq {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-faq__intro > span {
  color: var(--c-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-faq__intro h2 {
  max-width: 12ch;
  margin-top: 0.65rem;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-faq__list {
  border-top: 1px solid var(--c-divider);
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-faq .faq__item {
  padding: 1rem 0;
  border-radius: 0;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-faq .faq__q {
  font-family: var(--f-sans);
  font-size: 0.95rem;
  font-weight: 800;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-faq .faq__a {
  padding-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
}

body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-faq a {
  color: var(--c-accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 759px) {
  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-hero {
    padding: 10px 0 6px;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-hero__grid {
    padding: 0.35rem 0 0.85rem;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-hero__copy h1 {
    font-size: clamp(2rem, 10vw, 2.45rem);
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-hero__copy p {
    max-width: 39ch;
    margin-top: 0.35rem;
    font-size: 0.82rem;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-shop {
    padding-top: 0.45rem;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-color-chapter {
    margin: 0;
    padding: 1.25rem 0 2.4rem;
    border-radius: 0;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-color-chapter__head h2 {
    font-size: 1.55rem;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-color-chapter__grid {
    gap: 2rem 0.65rem;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3.5rem;
    padding: 2.5rem 0;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo__intro h2 {
    max-width: 14ch;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo__grid {
    grid-template-columns: 1fr;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo article,
  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo article:nth-child(even),
  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo article:last-child {
    grid-column: auto;
    padding: 1.1rem 0 1.2rem;
    border-left: 0;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-seo__note {
    grid-column: auto;
    margin-top: -0.25rem;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-faq {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  body.theme-v2.catalog-store:not(.catalog-overview-page) .catalog-faq__intro h2 {
    max-width: 15ch;
  }
}
