/* Wide imagery and product grids; reading and purchase layouts keep their width. */
body.home .main > .middle { max-width: none; padding-inline: clamp(12px, 1.667vw, 40px); }
body.home .home_products > .middle { max-width: 1700px; }
body.home .main > .middle .home.microshop-layout--wide { padding-bottom: 0; }
body.home .home_products { padding-block: 28px 36px; }
body.home #main + .line { display: none; }
.microshop-home-products .microshop-catalog-grid { margin-top: 0; }
@media(min-width: 1024px) {
    body.home .microshop-homepage-slider__slide { aspect-ratio: 3 / 1; min-height: 400px; max-height: 680px; }
    body.home .microshop-homepage-slider__content { padding-inline: clamp(52px, 6vw, 120px); max-width: 780px; }
}
/* Shared wide shell; each card uses its full inner width. */
body.home .microshop-home-faq > .middle,
body.home .microshop-home-reviews > .middle { max-width: 1700px; }
.microshop-home-faq .microshop-faq-card > :is(h3, p, div),
.microshop-home-review__text { max-width: none; text-align: left; }
.microshop-home-faq .microshop-faq-card > div :is(p, div) { text-align: left !important; }
/* Keep the original gallery and rich text, without legacy float wrapping. */
.microshop-home-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
    gap: 32px clamp(24px, 3vw, 56px);
    max-width: 1700px;
}
.microshop-home-about > .name { grid-column: 1 / -1; margin-bottom: 0; }
.microshop-home-about > .mySlider { float: none; width: auto; max-width: none; margin: 0; padding: 0; }
.microshop-home-about__content { min-width: 0; width: auto; float: none; text-align: left; }
.microshop-home-about__content :is(p, div) { text-align: left !important; }
.microshop-home-about > .clr { display: none; }
.microshop-home-about:not(:has(> .mySlider)) > .microshop-home-about__content { grid-column: 1 / -1; }
@media(max-width: 767px) {
    .microshop-home-about { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .microshop-home-about > .mySlider { width: 100%; max-width: 360px; margin-inline: auto; }
    .microshop-product-sort { width: 100%; }
    .microshop-product-sort label { font-size: 13px; }
    .microshop-product-sort select { flex: 1; min-width: 0; width: 100%; }
}
