

/* Start:/local/components/marketplace/main.slider/templates/.default/style.css?179002586811935*/
/* =========================================================
   SLIDER
   ========================================================= */

.mp-slider {
    position: relative;

    width: 100vw;
    max-width: none;

    /*
     * Выводим слайдер из ограничивающего
     * контейнера страницы на всю ширину окна.
     */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 0;

    box-sizing: border-box;
    overflow: hidden;
}


/* =========================================================
   SWIPER
   ========================================================= */

.mp-slider-swiper {
    position: relative;

    width: 100%;

    /*
     * Все desktop-баннеры:
     * 1440 × 720 = 2 / 1
     */
    aspect-ratio: 2 / 1;

    height: auto;

    margin: 0;
    padding: 0;

    overflow: hidden;
}


.mp-slider .swiper-wrapper {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
}


.mp-slider .swiper-slide {
    height: 100%;

    margin: 0;
    padding: 0;
}


/* =========================================================
   SLIDE
   ========================================================= */

.mp-slide {
    position: relative;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;
}


/* =========================================================
   IMAGE
   ========================================================= */

.mp-slide__image {
    position: absolute;
    inset: 0;

    z-index: 1;

    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
}


.mp-slide__image img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    /*
     * Значение приходит из конфига баннера.
     *
     * Если desktop.webp имеет 2:1,
     * при cover ничего не обрежется.
     */
    object-fit: var(
        --desktop-image-fit,
        cover
    );

    object-position: var(
        --desktop-image-position,
        center top
    );
}


/* =========================================================
   OVERLAY
   ========================================================= */

.mp-slide__overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    display: flex;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, .45) 0%,
        rgba(0, 0, 0, .20) 35%,
        rgba(0, 0, 0, 0) 70%
    );
}


/*
 * OVERLAY = false
 */

.mp-slide--no-overlay .mp-slide__overlay {
    background: transparent;
}


/* =========================================================
   CONTENT CONTAINER
   ========================================================= */

.mp-slide__overlay > .container {
    box-sizing: border-box;

    width: 100%;
    max-width: none;
    height: 100%;

    margin: 0;

    display: flex;

    justify-content: var(
        --desktop-content-horizontal,
        flex-start
    );

    align-items: var(
        --desktop-content-vertical,
        center
    );

    padding-top:
        var(--desktop-padding-top, 40px);

    padding-right:
        var(--desktop-padding-right, 40px);

    padding-bottom:
        var(--desktop-padding-bottom, 40px);

    padding-left:
        var(--desktop-padding-left, 40px);
}


/* =========================================================
   CONTENT
   ========================================================= */

.mp-slide__content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;

    align-items: var(
        --desktop-content-items,
        flex-start
    );

    gap: 32px;

    text-align: var(
        --desktop-text-align,
        left
    );

    color: inherit;
}


/* =========================================================
   TITLE
   ========================================================= */

.mp-slide__title {
    margin: 0;

    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 700;
}


/* =========================================================
   TEXT
   ========================================================= */

.mp-slide__text {
    margin: 0;

    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.7;
}


/* =========================================================
   TEXT COLOR
   ========================================================= */

.mp-slide__content--light .mp-slide__title,
.mp-slide__content--light .mp-slide__text {
    color: #fff;
}

.mp-slide__content--dark .mp-slide__title,
.mp-slide__content--dark .mp-slide__text {
    color: #111827;
}


/* =========================================================
   BUTTON
   ========================================================= */

.mp-slide__button {
    position: relative;

    left: var(--desktop-button-x, 0);
    top: var(--desktop-button-y, 0);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 170px;
    height: 48px;

    box-sizing: border-box;

    padding: 0 28px;

    border: 0;
    border-radius: 16px;

    font-size: 16px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


/* =========================================================
   BUTTON BLUE
   ========================================================= */

.mp-slide__button--blue {
    background: linear-gradient(
        90deg,
        #012D7E 0%,
        #0260BB 100%
    );

    color: #fff;
}

.mp-slide__button--blue:hover {
    background: linear-gradient(
        90deg,
        #013891 0%,
        #0A6FD0 100%
    );

    color: #fff;

    transform: translateY(-1px);
}


/* =========================================================
   BUTTON WHITE
   ========================================================= */

.mp-slide__button--white {
    background: #fff;
    color: #111827;
}

.mp-slide__button--white:hover {
    background: #f3f4f6;
    color: #111827;

    transform: translateY(-1px);
}


/* =========================================================
   BUTTON DARK
   ========================================================= */

.mp-slide__button--dark {
    background: #111827;
    color: #fff;
}

.mp-slide__button--dark:hover {
    background: #000;
    color: #fff;

    transform: translateY(-1px);
}


/* =========================================================
   BUTTON OUTLINE
   ========================================================= */

.mp-slide__button--outline {
    border: 2px solid #fff;

    background: transparent;
    color: #fff;
}

.mp-slide__button--outline:hover {
    background: #fff;
    color: #111827;

    transform: translateY(-1px);
}


.mp-slide__button:active {
    transform: translateY(0);
}


/* =========================================================
   PAGINATION
   ========================================================= */

.mp-slider-pagination {
    position: absolute;

    left: 0;
    bottom: 40px !important;

    z-index: 5;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 18px;

    width: 100%;

    pointer-events: none;
}


.mp-slider-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 6px;

    margin: 0 !important;

    border-radius: 999px;

    background: #8A8A8A;

    opacity: 1;

    pointer-events: auto;

    transition:
        width .3s ease,
        background .3s ease;
}


.mp-slider-pagination .swiper-pagination-bullet-active {
    width: 64px;

    background: #fff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .mp-slide__title {
        font-size: 46px;
    }

    .mp-slide__text {
        font-size: 18px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    /*
     * Все мобильные изображения должны иметь
     * одинаковую пропорцию:
     *
     * 768 × 960 = 4 / 5
     *
     * Именно Swiper задаёт высоту,
     * поэтому при переключении она не скачет.
     */

    .mp-slider-swiper {
        width: 100%;

        aspect-ratio: 4 / 5;

        height: auto;
    }


    .mp-slider .swiper-wrapper,
    .mp-slider .swiper-slide,
    .mp-slide {
        height: 100%;
    }


    /* =====================================================
       MOBILE IMAGE
       ===================================================== */

    .mp-slide__image {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;
    }


    .mp-slide__image img {
        width: 100%;
        height: 100%;

        object-fit: var(
            --mobile-image-fit,
            cover
        );

        /*
         * Картинка прижата к верхнему краю.
         */
        object-position: var(
            --mobile-image-position,
            center top
        );
    }


    /* =====================================================
       MOBILE OVERLAY
       ===================================================== */

    .mp-slide__overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, .05) 0%,
            rgba(0, 0, 0, .60) 100%
        );
    }


    .mp-slide--no-overlay .mp-slide__overlay {
        background: transparent;
    }


    /* =====================================================
       MOBILE CONTENT
       ===================================================== */

    .mp-slide__overlay > .container {
        width: 100%;
        max-width: none;
        height: 100%;

        margin: 0;

        justify-content: var(
            --mobile-content-horizontal,
            flex-start
        );

        align-items: var(
            --mobile-content-vertical,
            flex-end
        );

        padding-top:
            var(--mobile-padding-top, 20px);

        padding-right:
            var(--mobile-padding-right, 20px);

        padding-bottom:
            var(--mobile-padding-bottom, 70px);

        padding-left:
            var(--mobile-padding-left, 20px);
    }


    .mp-slide__content {
        align-items: var(
            --mobile-content-items,
            flex-start
        );

        gap: 20px;

        text-align: var(
            --mobile-text-align,
            left
        );
    }


    /* =====================================================
       MOBILE BUTTON
       ===================================================== */

    .mp-slide__button {
        left: var(--mobile-button-x, 0);
        top: var(--mobile-button-y, 0);

        min-width: 0;
        height: 46px;

        padding: 0 24px;

        font-size: 16px;
    }


    /* =====================================================
       MOBILE TITLE
       ===================================================== */

    .mp-slide__title {
        font-size: 34px;
    }


    /* =====================================================
       MOBILE TEXT
       ===================================================== */

    .mp-slide__text {
        font-size: 16px;
        line-height: 1.6;
    }


    /* =====================================================
       MOBILE PAGINATION
       ===================================================== */

    .mp-slider-pagination {
        bottom: 18px !important;

        gap: 10px;
    }


    .mp-slider-pagination .swiper-pagination-bullet {
        width: 28px;
        height: 5px;
    }


    .mp-slider-pagination .swiper-pagination-bullet-active {
        width: 44px;
    }
}
/* End */


/* Start:/local/templates/marketplace/components/bitrix/catalog.section/marketplace/style.css?17854885612998*/
/* ==========================================
   Product grid
   ========================================== */

.mp-product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:24px;
}

/* ==========================================
   Card
   ========================================== */

.mp-product-card{
    display:flex;
    flex-direction:column;
    width:100%;
    min-width:0;
}

/* ==========================================
   Image
   ========================================== */

.mp-product-card__image{
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    border-radius:18px;
    background:#f5f5f5;
}

.mp-product-card__img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:
        opacity .35s ease,
        transform .35s ease;
}

.mp-product-card__img--main{
    opacity:1;
    z-index:1;
}

.mp-product-card__img--hover{
    opacity:0;
    z-index:2;
}

.mp-product-card:hover .mp-product-card__img{
    transform:scale(1.04);
}

.mp-product-card:hover .mp-product-card__img--main{
    opacity:0;
}

.mp-product-card:hover .mp-product-card__img--hover{
    opacity:1;
}

/* если второй картинки нет */

.mp-product-card__img--no-hover{
    opacity:1 !important;
}

/* ==========================================
   Info
   ========================================== */

.mp-product-card__info{
    display:flex;
    flex-direction:column;
    flex:1;
    padding-top:18px;
}

.mp-product-card__title{
    display:block;
    color:#111;
    text-decoration:none;
    font-size:18px;
    font-weight:600;
    line-height:1.35;
}

.mp-product-card__title:hover{
    color:#2563eb;
}

.mp-product-card__price{
    margin-top:12px;
    color:#111;
    font-size:20px;
    font-weight:700;
    line-height:1.2;
}

/* ==========================================
   Tablet
   ========================================== */

@media (max-width:1024px){

    .mp-product-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:20px;
    }

}

/* ==========================================
   Mobile
   ========================================== */

@media (max-width:768px){

    .mp-product-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:16px;
    }

    .mp-product-card__title{
        font-size:15px;
    }

    .mp-product-card__price{
        margin-top:8px;
        font-size:17px;
    }

}

/* ==========================================
   Small mobile
   ========================================== */

@media (max-width:480px){

    .mp-product-grid{
        gap:12px;
    }

    .mp-product-card__image{
        border-radius:14px;
    }

    .mp-product-card__info{
        padding-top:10px;
    }

    .mp-product-card__title{
        font-size:14px;
        line-height:1.3;
    }

    .mp-product-card__price{
        font-size:16px;
    }

}
/* End */
/* /local/components/marketplace/main.slider/templates/.default/style.css?179002586811935 */
/* /local/templates/marketplace/components/bitrix/catalog.section/marketplace/style.css?17854885612998 */
