/*
 * Taxonomy page content (space / collection / range)
 * Eyebrow + H1 + intro / read-more, below-grid content and FAQs.
 *
 * Note: this theme registers each Manrope weight as its own font-family
 * ("Manrope Extrabold" = 800, "Manrope Bold" = 700, "Manrope Regular" = 400),
 * so weights are selected by family name (with numeric font-weight as fallback).
 */

/* ---------- Shared eyebrow (intro + FAQ) ---------- */
.m-category-intro__eyebrow,
.m-faq__eyebrow {
    display: block;
    font-family: "Manrope Bold", "Manrope", Arial, sans-serif;
    font-weight: 700;
    font-size: 11px;
    color: rgba(1, 2, 2, 0.55);
    letter-spacing: 7px;
    line-height: 1.4em;
    text-align: left;
    text-transform: uppercase;
    margin-block-end: 18px;
}

/* ---------- Page heading (H1) + FAQ heading ---------- */
.m-category-intro__title,
.m-faq__title {
    font-family: "Manrope Extrabold", "Manrope", Arial, sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: #000000;
    line-height: 1.15em;
    text-align: left;
    margin-block: 0 24px;
}

/* ---------- Intro / read-more / below-grid content blocks ---------- */
.m-category-intro {
    width: 100%;
    max-width: none;
    margin: 0 0 54px;
    text-align: left;
}

.m-category-intro__summary,
.m-category-intro__more,
.m-category-outro {
    width: 100%;
    max-width: 1080px;
    text-align: left;
}

.m-category-intro__summary {
    margin-block-end: 0;
}

.m-category-intro__more {
    margin-block-start: 30px;
}

.m-category-outro {
    margin: 56px 0 0;
}

.m-category-intro__more[hidden] {
    display: none;
}

/* Paragraphs */
.m-category-intro__summary p,
.m-category-intro__more p,
.m-category-outro p {
    font-family: "Manrope Regular", "Manrope", Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: rgba(1, 2, 2, 0.68);
    line-height: 32px;
    text-align: left;
    margin-block: 0 18px;
}

.m-category-intro__summary p:last-child,
.m-category-intro__more p:last-child,
.m-category-outro p:last-child {
    margin-block-end: 0;
}

/* Lists (restore native markers the theme's global reset removes) */
.m-category-intro__summary ul,
.m-category-intro__summary ol,
.m-category-intro__more ul,
.m-category-intro__more ol,
.m-category-outro ul,
.m-category-outro ol,
.m-faq__panel ul,
.m-faq__panel ol {
    margin-block: 0 18px;
    padding-inline-start: 22px;
    font-family: "Manrope Regular", "Manrope", Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: rgba(1, 2, 2, 0.68);
    line-height: 32px;
    text-align: left;
}

.m-category-intro__summary ul,
.m-category-intro__more ul,
.m-category-outro ul,
.m-faq__panel ul {
    list-style: disc outside;
}

.m-category-intro__summary ol,
.m-category-intro__more ol,
.m-category-outro ol,
.m-faq__panel ol {
    list-style: decimal outside;
}

/* Nested markers */
.m-category-intro__summary ul ul,
.m-category-intro__more ul ul,
.m-category-outro ul ul,
.m-faq__panel ul ul {
    list-style-type: circle;
}

.m-category-intro__summary ol ol,
.m-category-intro__more ol ol,
.m-category-outro ol ol,
.m-faq__panel ol ol {
    list-style-type: lower-alpha;
}

.m-category-intro__summary li,
.m-category-intro__more li,
.m-category-outro li,
.m-faq__panel li {
    margin-block-end: 6px;
}

.m-faq__panel ul,
.m-faq__panel ol {
    font-size: 17px;
    line-height: 30px;
}

/* Content headings (H2 + scaled-down H3–H6) */
.m-category-intro__summary h2,
.m-category-intro__more h2,
.m-category-outro h2 {
    font-family: "Manrope Extrabold", "Manrope", Arial, sans-serif;
    font-weight: 800;
    font-size: 34px;
    color: #010202;
    letter-spacing: -0.025em;
    line-height: 1.25em;
    text-align: left;
    margin-block: 40px 18px;
}

.m-category-intro__summary h3,
.m-category-intro__more h3,
.m-category-outro h3 {
    font-size: 28px;
}

.m-category-intro__summary h4,
.m-category-intro__more h4,
.m-category-outro h4 {
    font-size: 24px;
}

.m-category-intro__summary h5,
.m-category-intro__more h5,
.m-category-outro h5 {
    font-size: 20px;
}

.m-category-intro__summary h6,
.m-category-intro__more h6,
.m-category-outro h6 {
    font-size: 17px;
}

.m-category-intro__summary h3,
.m-category-intro__more h3,
.m-category-outro h3,
.m-category-intro__summary h4,
.m-category-intro__more h4,
.m-category-outro h4,
.m-category-intro__summary h5,
.m-category-intro__more h5,
.m-category-outro h5,
.m-category-intro__summary h6,
.m-category-intro__more h6,
.m-category-outro h6 {
    font-family: "Manrope Extrabold", "Manrope", Arial, sans-serif;
    font-weight: 800;
    color: #010202;
    letter-spacing: -0.025em;
    line-height: 1.25em;
    text-align: left;
    margin-block: 34px 16px;
}

.m-category-intro__summary h2:first-child,
.m-category-intro__more h2:first-child,
.m-category-outro h2:first-child {
    margin-block-start: 0;
}

/* Internal links inside content */
.m-category-intro__summary a,
.m-category-intro__more a,
.m-category-outro a,
.m-faq__panel a {
    color: #010202;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- Read more / Read less toggle ---------- */
.m-category-intro__button {
    display: inline-block;
    margin-block: 30px 0;
    padding: 0 0 3px;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: #010202;
    font-family: "Manrope Bold", "Manrope", Arial, sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.4em;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
}

.m-category-intro__button:hover,
.m-category-intro__button:focus {
    color: rgba(1, 2, 2, 0.6);
}

.m-category-intro__button:focus-visible {
    outline: 1px solid #010202;
    outline-offset: 4px;
}

/* ---------- Grid header label on taxonomy pages ---------- */
.m-product-grid__title.-label {
    margin: 0;
    font-family: "Manrope Bold", "Manrope", Arial, sans-serif;
    font-weight: 700;
    /* 34px on desktop, degrading smoothly down to 22px on small screens. */
    font-size: clamp(22px, 4vw, 34px);
    color: rgb(1, 2, 2);
    line-height: 1.4em;
    letter-spacing: 7px;
    text-transform: uppercase;
}

/* ---------- FAQs ---------- */
.m-faq {
    width: 100%;
    margin: 72px 0 0;
    padding-top: 44px;
    border-top: 1px solid #e8e8e8;
    text-align: left;
}

.m-faq__list {
    max-width: 1080px;
    margin: 0;
    text-align: left;
    border-top: 1px solid #e8e8e8;
}

.m-faq__item {
    border-bottom: 1px solid #e8e8e8;
}

.m-faq__button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
    border: 0;
    background: transparent;
    color: #010202;
    font-family: "Manrope Medium", "Manrope", Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.m-faq__icon {
    flex: 0 0 auto;
    font-family: "Manrope Regular", "Manrope", Arial, sans-serif;
    font-size: 24px;
    line-height: 1;
}

.m-faq__panel {
    padding: 0 0 24px;
    font-family: "Manrope Regular", "Manrope", Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: rgba(1, 2, 2, 0.68);
    line-height: 30px;
    text-align: left;
}

.m-faq__panel p {
    margin: 0 0 16px;
}

.m-faq__panel p:last-child {
    margin-bottom: 0;
}

.m-faq__panel[hidden] {
    display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .m-category-intro {
        margin-bottom: 36px;
    }

    .m-category-intro__title,
    .m-faq__title {
        font-size: 34px;
    }

    .m-category-intro__summary h2,
    .m-category-intro__more h2,
    .m-category-outro h2 {
        font-size: 26px;
    }

    .m-category-intro__summary p,
    .m-category-intro__more p,
    .m-category-outro p,
    .m-category-intro__summary ul,
    .m-category-intro__summary ol,
    .m-category-intro__more ul,
    .m-category-intro__more ol,
    .m-category-outro ul,
    .m-category-outro ol {
        font-size: 16px;
        line-height: 28px;
    }
}
