/* Category introductions and collection notes use the theme's section system. */
.bz-catalog-hero .bz-catalog-intro{max-width:72ch}
.bz-catalog-hero .bz-catalog-intro .bz-catalog-gift-note{margin-top:12px;font-size:14px;line-height:1.65}
.bz-catalog-gift-note a{color:var(--wp--preset--color--brand);text-decoration:underline;text-underline-offset:4px}
/* Join the final category band directly to the footer, without collapsed margins. */
.bz-catalog-main+footer.wp-block-template-part,
.bz-catalog-main+footer.wp-block-template-part>.bz-site-footer{margin-block-start:0!important}
.bz-catalog-main+footer.wp-block-template-part>.bz-category-faq{margin-block-end:0!important}
.bz-catalog-main .seo-category-description{
    position:relative;
    isolation:isolate;
    box-sizing:border-box;
    margin-block:0!important;
    padding-block:var(--wp--custom--space--section,clamp(48px,6vw,88px));
    background:transparent!important;
    border:0;
    border-radius:0;
    color:var(--wp--preset--color--text,#62625B);
    font-family:var(--wp--preset--font-family--body);
    font-size:16px;
    line-height:1.8;
}
.bz-catalog-main .seo-category-description::before{
    content:"";
    position:absolute;
    z-index:-1;
    inset-block:0;
    left:50%;
    width:100vw;
    transform:translateX(-50%);
    background:var(--bz-section-surface,var(--wp--preset--color--section-alternate));
}
.seo-category-description__inner{width:100%;margin-inline:auto}
.seo-category-description__inner.has-heading{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);
    gap:clamp(32px,5vw,72px);
    align-items:start;
}
.seo-category-description :is(h2,h3){
    color:var(--wp--preset--color--graphite,#242421);
    font-family:var(--wp--preset--font-family--display);
    font-weight:400;
    line-height:1.3;
    text-align:left;
    margin:0 0 20px;
    text-wrap:balance;
}
.seo-category-description h2{font-size:clamp(26px,2.5vw,36px)}
.seo-category-description h3{font-size:24px}
.seo-category-description__heading h2{margin:0}
.seo-category-description__copy{min-width:0;max-width:72ch}
.seo-category-description p{margin:0 0 20px}
.seo-category-description__copy>:last-child{margin-bottom:0}
.seo-category-description a{color:var(--wp--preset--color--brand,#314E40);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
/* The product grid is base, the collection note alternate, the next promo base. */
.bz-catalog-main .seo-category-description+.bz-greeting-promo{--bz-section-surface:var(--wp--preset--color--section-base)}
.bz-catalog-main .seo-category-description+.bz-greeting-promo.bz-surface::before{background:var(--wp--preset--color--section-base)}
@media(max-width:781px){
    .bz-catalog-hero .bz-catalog-intro .bz-catalog-gift-note{font-size:13px}
    .seo-category-description__inner.has-heading{grid-template-columns:minmax(0,1fr);gap:24px}
    .bz-catalog-main .seo-category-description{line-height:1.75}
}


/* Gift collection prose belongs to the continuous page background. */
html body.term-dovanu-rinkiniai .bz-catalog-main .seo-category-description.bz-surface::before,
html body.term-dovanu-rinkiniai .bz-catalog-main .seo-category-description.bz-surface::after{
    content:none;
}
