
/* MF CUSTOMIZATION DESIGN V2 */

/* Текст на полную ширину */
.mf-customization-intro,
.mf-customization-intro p,
.mf-customization-content > .container > .static-content,
.mf-customization-content > .container > .static-content p,
.mf-customization-promoblocks .catalog-promoblock > .subheading,
.mf-customization-promoblocks .text-instead-of-features,
.mf-customization-promoblocks .text-instead-of-features p {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.mf-customization-intro {
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 32px;
}

.mf-customization-intro p {
    margin-bottom: 16px;
}

/* Секции кастомизации */
.mf-customization-promoblocks {
    padding: 8px 0 30px;
}

.mf-customization-promoblocks .catalog-promoblock {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 28px !important;
    margin: 0 0 30px !important;
    background: #f5f6f8 !important;
    border-radius: 22px !important;
}

.mf-customization-promoblocks .catalog-promoblock > .heading {
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.25;
    font-weight: 700;
    color: #202941;
    margin: 0 0 14px !important;
}

.mf-customization-promoblocks .catalog-promoblock > .subheading {
    font-size: 16px;
    line-height: 1.75;
    color: #4c5667;
    margin: 0 0 24px !important;
    padding: 0 !important;
}

/* Десктоп: фото и товар одинаковой высоты */
@media (min-width: 992px) {
    .mf-customization-promoblocks .catalog-promoblock .items-wrapper {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(300px, 390px) !important;
        align-items: stretch !important;
        gap: 22px !important;
        width: 100% !important;
        height: 440px !important;
        min-height: 0 !important;
    }
}

/* Большая фотография */
.mf-customization-promoblocks .catalog-promoblock
.items-wrapper > .image-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
}

.mf-customization-promoblocks .catalog-promoblock
.items-wrapper > .image-wrapper > img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
}

/* Слайдер товаров */
.mf-customization-promoblocks .catalog-promoblock
.items-wrapper > .products-wrapper {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.mf-customization-promoblocks .catalog-promoblock
.products-wrapper .products,
.mf-customization-promoblocks .catalog-promoblock
.products-wrapper .slick-list,
.mf-customization-promoblocks .catalog-promoblock
.products-wrapper .slick-track {
    height: 100% !important;
    min-height: 0 !important;
}

/* Карточка товара */
.mf-customization-promoblocks .catalog-promoblock
.products-wrapper .product {
    height: 100% !important;
    min-height: 0 !important;
}

.mf-customization-promoblocks .catalog-promoblock
.product .content-wrapper {
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #e1e4e9 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.mf-customization-promoblocks .catalog-promoblock
.product .another-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding: 18px 20px 43px !important;
}

.mf-customization-promoblocks .mf-promo-product-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
    text-decoration: none !important;
}

.mf-customization-promoblocks .mf-promo-product-link .image-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-conten
    width: 100% !important;
    height: 170px !important;
    margin: 0 0 14px !important;
}

.mf-customization-promoblocks .mf-promo-product-link img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.mf-customization-promoblocks .product-type {
    font-size: 15px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    color: #374155 !important;
}

.mf-customization-promoblocks .product-name {
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: #202941 !important;
}

/* Кнопка заявки */
.mf-customization-promoblocks .product .buttons.mf-promo-actions {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 17px 0 0 !important;
    padding: 0 !important;
}

.mf-customization-promoblocks .mf-promo-order-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 11px 24px !important;
    border-radius: 10px !important;
    background: #eb1748 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.mf-customization-promoblocks .mf-promo-order-button:hover {
    background: #cc123b !important;
    color: #fff !important;
}

/* Текст и преимущества под карточками */
.mf-customization-promoblocks .features-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 20px !important;
    border-radius: 16px !important;
}

.mf-customization-promoblocks .text-instead-of-features {
    font-size: 15px;
    line-height: 1.75;
}

/* Мобильная адаптация */
@media (max-width: 991px) {
    .mf-customization-promoblocks .catalog-promoblock {
        padding: 18px !important;
        margin-bottom: 22px !important;
        border-radius: 18px !important;
    }

    .mf-customization-promoblocks .catalog-promoblock .items-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        gap: 16px !important;
    }

    .mf-customization-promoblocks .catalog-promoblock
    .items-wrapper > .image-wrapper {
        height: auto !important;
        aspect-ratio: 16 / 10;
    }

    .mf-customization-promoblocks .catalog-promoblock
    .items-wrapper > .products-wrapper {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 420px !important;
        align-self: stretch !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .mf-customization-promoblocks .catalog-promoblock
    .products-wrapper .products,
    .mf-customization-promoblocks .catalog-promoblock
    .products-wrapper .slick-list {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 599px) {
    .mf-customization-intro {
        font-size: 15px;
        line-height: 1.7;
    }

    .mf-customization-promoblocks .catalog-promoblock {
        padding: 14px !important;
    }

    .mf-customization-promoblocks .catalog-promoblock > .heading {
        font-s
    }

    .mf-customization-promoblocks .catalog-promoblock > .subheading {
        font-size: 14px;
    }

    .mf-customization-promoblocks .product-name {
        font-size: 17px !important;
    }

    .mf-customization-promoblocks .mf-promo-product-link .image-wrapper {
        height: 150px !important;
    }
}
