/* =========================================================
   НОВИНКИ НА ГЛАВНОЙ
   ========================================================= */

.catalog-new {
    padding: 48px 0 96px;
    background: #fff;
    overflow: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

.catalog-new__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
	padding-bottom: 24px;
}

.catalog-new__head-title {
    margin: 0;

    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;

    color: #111;
}

.catalog-new__head-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: auto;
    min-height: 48px;

    padding: 0 16px;

    border: 1px solid #d8d8d8;
    border-radius: 12px;

    color: #111;
    text-decoration: none;

    white-space: nowrap;

    transition:
        border-color .2s ease,
        background-color .2s ease;
}

.catalog-new__head-btn:hover {
    border-color: #111;
}

.catalog-new__head-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: 12px;
}

.catalog-new__head-btn-arrow img {
    display: block;

    width: 20px;
    height: 20px;
}


/* =========================================================
   SLIDER
   ========================================================= */

.catalog-new__slider {
    position: relative;
}

.catalog-new__slider .swiper {
    width: 100%;
    overflow: hidden;
}

.catalog-new__slider .swiper-wrapper {
    align-items: stretch;
}

.catalog-new__slider .swiper-slide {
    height: auto;
}


/* =========================================================
   CARD
   Базовые стили recommended-card
   ========================================================= */

.catalog-new .recommended-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: 528px;

    border: 1px solid #d8d8d8;
    border-radius: 12px;

    overflow: hidden;

    background: #fff;

    padding: 0 0 24px;

    box-sizing: border-box;
}


/* =========================================================
   CARD TOP
   ========================================================= */

.catalog-new .recommended-card__top {
    position: relative;

    width: 100%;
    height: 318px;

    flex: 0 0 318px;

    margin: 0 auto 24px;
    padding: 0;
}


/* =========================================================
   LABELS
   ========================================================= */

.catalog-new .catalog-page__labels {
    position: absolute;

    top: 12px;
    left: 0;

    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 4px;
}

.catalog-new .catalog-page__labels .recommended-card__label {
    position: static;

    width: 115px;

    padding: 10px 15px;

    border-radius: 0 6px 6px 0;

    color: #111;

    text-align: center;

    box-sizing: border-box;
}

.catalog-new .catalog-page__labels .recommended-card__label--red {
    background: rgba(246, 78, 55, 1);
    color: #fff;
}

.catalog-new .recommended-card__label--yellow {
    background: rgba(255, 199, 0, 1);
}


/* =========================================================
   FAVORITES
   ========================================================= */

.catalog-new .recommended-card__favorite {
    position: absolute;

    z-index: 12;

    top: 12px;
    right: 12px;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.catalog-new .recommended-card__favorite svg {
    display: block;

    width: 100%;
    height: 100%;

    stroke: #ffc700;
}

.catalog-new .recommended-card__favorite.js-favorites--active svg {
    fill: #ffc700;
}


/* =========================================================
   IMAGE PREVIEW
   ========================================================= */

.catalog-new .catalog-preview {
    position: relative;

    width: 100%;
    height: 100%;
}

.catalog-new .catalog-preview__link {
    display: flex;

    width: 100%;
    height: 100%;
}

.catalog-new .recommended-card__img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: cover;

    margin: 0;
}


/* Зоны переключения изображений */

.catalog-new .catalog-preview__zones {
    position: absolute;

    inset: 0;

    z-index: 4;

    display: flex;
}

.catalog-new .catalog-preview__zone {
    flex: 1;

    cursor: pointer;
}


/* Полоски фотографий */

.catalog-new .catalog-preview__pagination {
    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 0;

    z-index: 5;

    display: flex;

    gap: 6px;
}

.catalog-new .catalog-preview__dot {
    flex: 1;

    height: 2px;

    border-radius: 10px;

    background: #d7d7d7;

    transition: background .2s ease;
}

.catalog-new .catalog-preview__dot.is-active {
    background: #111;
}


/* =========================================================
   CONTENT
   ========================================================= */

.catalog-new .catalog-page__content {
    display: flex;
    flex-direction: column;

    flex-grow: 1;
}


/* Артикул */

.catalog-new .recommended-card__article {
    margin: 0 0 24px;

    padding: 0 24px;

    color: rgba(102, 102, 102, 1);
}


/* Название */

.catalog-new .catalog-page__name-link {
    display: block;

    color: inherit;
    text-decoration: none;
}

.catalog-new .recommended-card__name {
    min-height: 50px;

    margin: 0 0 24px;

    padding: 0 24px;

    color: rgba(37, 37, 37, 1);

    font-size: 18px;
    line-height: 1.15;
}


/* =========================================================
   PRICE
   ========================================================= */

.catalog-new .recommended-card__price {
    margin-top: auto;

    padding: 0 24px;

    font: 500 28px/32px 'Inter', sans-serif;

    color: rgba(17, 17, 17, 1);
}


/* Старая цена */

.catalog-new .catalog-page__old-price,
.catalog-new .recommended-card__price span:not(.catalog-page__price-request) {
    display: inline-block;

    margin-left: 12px;

    font: 500 20px/24px 'Inter', sans-serif;

    color: rgba(143, 146, 140, 1);

    text-decoration: line-through;
}


/* Цена по запросу */

.catalog-new .recommended-card__price span.catalog-page__price-request {
    display: inline-block;

    margin-left: 0;

    font: 500 20px/24px 'Inter', sans-serif;

    color: rgba(143, 146, 140, 1);

    text-decoration: none;
}


/* =========================================================
   BASKET
   На desktop появляется при hover
   ========================================================= */

.catalog-new .catalog-page__basket {
    position: static;

    max-height: 0;

    overflow: hidden;

    padding: 0 24px;

    opacity: 0;

    transform: translateY(10px);

    transition:
        max-height .3s ease,
        padding .3s ease,
        opacity .25s ease,
        transform .25s ease;
}

.catalog-new .catalog-page__basket-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 54px;

    border: 0;

    cursor: pointer;
}

.catalog-new .catalog-page__basket-button:disabled {
    opacity: .5;

    pointer-events: none;
}


/* Показываем кнопку при наведении */

@media (min-width: 992px) {

    .catalog-new .recommended-card:hover {
        z-index: 30;

        box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
    }

    .catalog-new .recommended-card:hover .catalog-page__basket {
        max-height: 90px;

        padding: 24px 24px 0;

        opacity: 1;

        transform: translateY(0);
    }

}


/* =========================================================
   SWIPER ARROWS
   ========================================================= */

.catalog-new__slider-arrow-prev,
.catalog-new__slider-arrow-next {
    position: absolute;

    top: 50%;

    z-index: 40;

    transform: translateY(-50%);
}

.catalog-new__slider-arrow-prev {
    left: -22px;
}

.catalog-new__slider-arrow-next {
    right: -22px;
}

.catalog-new__slider-arrow-prev.swiper-button-disabled,
.catalog-new__slider-arrow-next.swiper-button-disabled {
    opacity: 0;

    pointer-events: none;
}


/* =========================================================
   SWIPER PAGINATION
   ========================================================= */

.catalog-new__slider-pagination {
    gap: 8px;
    padding: 0 32px;
    text-align: center;
    margin: 24px auto 0;
}

.catalog-new__slider-pagination .swiper-pagination-bullet {
    height: 8px;
    width: 54px;
    background: #939393;
    border-radius: 2px;
    opacity: 1;
}

.catalog-new__slider-pagination .swiper-pagination-bullet-active {
    background: #FFC700;
}

@media (max-width: 768px) {

    .catalog-new__slider-pagination .swiper-pagination-bullet {
        width: 42px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .catalog-new {
        padding: 48px 0 72px;
    }

    .catalog-new__slider-arrow-prev {
        left: 5px;
    }

    .catalog-new__slider-arrow-next {
        right: 5px;
    }

}


/* =========================================================
   <= 991px
   ========================================================= */

@media (max-width: 991px) {

    .catalog-new .recommended-card {
        min-height: 0;
        height: 100%;
    }

    /*
     * На touch hover нет,
     * поэтому кнопка корзины показывается постоянно.
     */

    .catalog-new .catalog-page__basket {
        position: absolute;

        right: 16px;
        bottom: 80px;
        left: auto;

        z-index: 20;

        max-height: none;

        padding: 0;
        margin: 0;

        opacity: 1;
        visibility: visible;

        transform: none;

        overflow: visible;

        pointer-events: auto;
    }

    .catalog-new .catalog-page__basket-button {
        position: relative;

        width: 52px;
        height: 52px;
        min-height: 52px;

        padding: 0;

        border-radius: 50%;

        flex-shrink: 0;

        font-size: 0;

        color: transparent;
    }

    .catalog-new .catalog-page__basket-button::before {
        content: '';

        position: absolute;

        inset: 0;

        margin: auto;

        width: 24px;
        height: 24px;

        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;

        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8 19C6.89543 19 6 19.8954 6 21C6 22.1046 6.89543 23 8 23C9.10457 23 10 22.1046 10 21C10 19.8954 9.10457 19 8 19Z' fill='%23252525'/%3E%3Cpath d='M18 19C16.8954 19 16 19.8954 16 21C16 22.1046 16.8954 23 18 23C19.1046 23 20 22.1046 20 21C20 19.8954 19.1046 19 18 19Z' fill='%23252525'/%3E%3Cpath d='M3 2H5L7.68 14.39C7.87712 15.3128 8.69316 15.9704 9.64 16H18.4C19.3468 15.9704 20.1629 15.3128 20.36 14.39L22 6H6' stroke='%23252525' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    .catalog-new .catalog-preview__zones {
        display: none;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .catalog-new {
        padding: 40px 0 56px;
    }

    .catalog-new__head {
        gap: 16px;

        margin-bottom: 24px!important;
    }

    .catalog-new__head-title {
        font-size: 28px;
    }

    .catalog-new__head-btn {
        min-height: 44px;

        padding: 0 14px;

        font-size: 14px;
    }

    .catalog-new__head-btn-arrow {
        margin-left: 8px;
    }

    .catalog-new__slider-arrow-prev,
    .catalog-new__slider-arrow-next {
        display: none;
    }

    .catalog-new__slider-pagination {
        margin-top: 24px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .catalog-new__head {
        align-items: center;
    }

    .catalog-new__head-title {
        font-size: 26px;
    }

    .catalog-new__head-btn {
        min-height: 40px;

        padding: 0 12px;

        font-size: 13px;
    }

    .catalog-new .recommended-card__top {
        height: 300px;

        flex-basis: 300px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .catalog-new__head {
        flex-wrap: wrap;
    }

    .catalog-new__head-btn {
        width: auto;
    }

}
.hero {
    padding: 24px 0 96px!important;
}
@media (max-width: 767px) {
	.hero {
		padding: 24px 0 24px!important;
	}
}