section.lubyatovo-page {
    box-sizing: border-box;
    font-family: 'Inter', 'sans-serif';
    padding: 0;
}

.lubyatovo-page {
    background-image: url("/local/templates/alef-chernogolovka/images/lubyatovo/background-board.webp");
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 100%;
}

.top-content {
    position: relative;
    background-image: url("/local/templates/alef-chernogolovka/images/lubyatovo/background-top.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
    padding: 74.5px 15px 0 15px;
}

.top-content::before {
    content: '';
    width: 353px;
    height: 454px;
    position: absolute;
    top: 43px;
    right: 0;
    background-image: url("/local/templates/alef-chernogolovka/images/lubyatovo/item-right.png");
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
}

.top-content::after {
    content: '';
    width: 374px;
    height: 349px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url("/local/templates/alef-chernogolovka/images/lubyatovo/item-left.png");
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
}

.top-content__logo-png {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 1;
    width: 219px;
}

.top-content__title {
    display: flex;
    align-items: center;
    position: relative;

    z-index: 2;
}

.top-content__title h2 {
    font-size: 51px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 1%;
    color: rgba(236, 46, 58, 1);
    margin-right: 10px;
    margin-bottom: 24px;
}

.top-content__logo {
    display: flex;
    align-items: center;
}

.top-content__text.mobile {
    display: none;
}

.top-content__logo span{
    font-size: 51px;
    line-height: 100%;
    letter-spacing: 1%;
    font-weight: 600;
    color: #FFFFFF;
    margin-right: 10px;
}

.top-content__text {
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
}



#swiper-products {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 90%;
    height: 387px;
/*    height: 367px;*/
}

.swiper-products .swiper-wrapper {
    align-items: center;
}

.swiper-products .swiper-slide {
    transition: transform .35s ease, opacity .35s ease, filter .35s ease;
    transform: scale(.78);
    filter: saturate(.9);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 367px;
}

.swiper-products .swiper-slide .slide-media img {
    transition: transform .35s ease;
    transform: scale(.78);
}

.swiper-products .swiper-slide.swiper-slide-active .slide-media img {
    transform: scale(1);
}

.swiper-products .swiper-slide.swiper-slide-active {
    transform: scale(1);
    filter: none;
    z-index: 2;
}

.swiper-products .swiper-slide.swiper-slide-prev,
.swiper-products .swiper-slide.swiper-slide-next {
    transform: scale(.88);
    opacity: .85;
    z-index: 1;
}

.swiper-products .swiper-slide .slide-content {
    display: none;
}

.swiper-products .swiper-slide.swiper-slide-active .slide-content{
    display: block;
    margin-top: auto;
}

.slide-content .lubyatovo-slider-product {
    border: 1px solid #EC2E3A;
}

.slide-content .lubyatovo-slider-product:hover {
    background-color: var(--color-white-100);
    color: #EC2E3A;
    border: 1px solid #EC2E3A;
}

.swiper-products .swiper-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.swiper-products .swiper-arrow--prev { left: 0px; }
.swiper-products .swiper-arrow--next { right: 0px; }


.swiper-products .slide-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
}

.swiper-products .slide-media {
    max-height: 286px;
/*    max-height: 266px;*/
    height: 100%;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-products .slide-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.swiper-products .slide-media .filter {
    position: absolute;
    inset: 0;
}

.swiper-products .section-title {
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 1%;
    font-weight: normal;
    color: #75321D;
    margin-bottom: 20px;
}

.swiper-products .button_mid {
    font-size: 18px;
    font-weight: bold;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;
    padding: 18px 36px;
    border-radius: 30px;
    width: 175px;
    background: #EC2E3A;
}

.recipes {
    max-width: 1096px;
    width: 100%;
    margin: 0 auto 80px auto;
    padding: 0 15px;
}

.title-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.title-block__label {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    min-width: 269px;
    width: 269px;
}

.title-block__label img {
    width: 100%;
}

.title-block__label h2 {
    color: #EC2E3A;
    font-size: 32px;
    line-height: 150%;
    letter-spacing: 1%;
}

.title-block__logo {
    display: flex;
    align-items: center;
    padding-left: 60px;
}

.title-block__logo span{
    color: #EC2E3A;
    font-size: 32px;
    line-height: 200%;
    letter-spacing: 1%;
    font-weight: bold;
    margin-right: 10px;
}

.title-block__text {
    color: #75321D;
    font-size: 20px;
    line-height: 160%;
    font-weight: 400;
    max-width: 720px;
}

.recipes-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 16px;
}

.list-item {
    border-radius: 16px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 248px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    min-width: 0;
}

a .list-item__title {
    white-space: normal;
    flex: 1 1 auto;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 24px;
    line-height: 115%;
    letter-spacing: 1%;
}

.list-item__time {
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    line-height: 160%;
    color: #974717;
    background: #EADACC;
}

.where-buy__title {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.where-buy__title img {
    width: 237px;
}

.where-buy-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.where-buy-list__item {
    height: 100px;
    background: #EC2E3A;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.where-buy-list__item.mobile {
    display: none;
}

.where-buy {
    max-width: 1096px;
    width: 100%;
    margin: 0 auto 80px auto;
    padding: 0 15px;
}

.recipes__button-mobile {
    align-items: center;
    justify-content: center;
    display: none;
}

.recipes__button-mobile .button_mid {
    font-size: 14px;
    padding: 13px 24px;
    width: 128px;
    color: #FFFFFF;
    border-radius: 30px;
    background: #EC2E3A;
}

.recipes__button-mobile .button_mid:hover {
    background: #EC2E3A;
}

.recipes-page {
    box-sizing: border-box;
    padding: 15px;
}

.recipes-page__container {
    max-width: 1096px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 0;
}

.recipes-page__preview {
    margin-bottom: 36px;
    overflow: hidden;
}

.recipes-page__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 48px;
}

.recipes-page__title{
    font-size: 48px;
    line-height: 115%;
    font-weight: 600;
    color: #EC2E3A;
    margin-bottom: 66px;
}

.recipes__ingredients {
    max-width: 650px;
    width: 100%;
    padding: 64px;
    background: rgba(236, 46, 58, 0.04);
    border-radius: 24px;
    margin-bottom: 90px;
}

.ingredients-recipes__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: 1%;
    color: #EC2E3A;
    margin-bottom: 32px;
}

.ingredients-recipes__list,
.ingredients-recipes ul { list-style: none; padding-left: 0; }

.ingredients-recipes__item,
.ingredients-recipes ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 160%;
}

.ingredients-recipes__item span,
.ingredients-recipes ul li span {
    color: #EC2E3A;
}

.ingredients-recipes__item:last-child,
.ingredients-recipes ul li:last-child {
    margin-bottom: 0;
}

.ingredients-recipes__item::before,
.ingredients-recipes ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #EC2E3A;
}

.ingredients-recipes h4 {
    color: #000000;
    font-weight: 600;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0;
    margin-bottom: 20px;
}
.ingredients-recipes ul:not(:last-child) {
    margin-bottom: 32px;
}

.how-to-cook-recipes {
    max-width: 760px;
    width: 100%;
    margin-bottom: 36px;
}

.tags-recipes {
    max-width: 760px;
    width: 100%;
    margin-bottom: 150px;
    display: flex;
    flex-wrap: wrap;
}

.how-to-cook-recipes__title,
.other-recipes__title {
    font-size: 28px;
    font-weight: 500;
    line-height: 150%;
    color: #EC2E3A;
    margin-bottom: 36px;
}

.how-to-cook-recipes__list {
    padding-left: 20px;
}

.how-to-cook-recipes__item::marker {
    color: #EC2E3A;
    font-weight: 600;
}

.how-to-cook-recipes__item,
.how-to-cook-recipes__item p {
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    color: #51626C;
}

.how-to-cook-recipes__item:has(img) p {
}

.how-to-cook-recipes__item {
    margin-bottom: 40px;
}

.how-to-cook-recipes__item img{
    margin-top: 20px;
    margin-left: -18px;
    width: calc(100% + 18px);
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.how-to-cook-recipes__item:last-child {
    margin-bottom: 0;
}

.tags-recipes__item {
    border-radius: 226px;
    color: #929292;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    border: 1px solid #929292;
    width: fit-content;
    margin-right: 8px;
    margin-bottom: 8px;
}

.tags-recipes__item:last-child {
    margin-right: 0;
}

#swiper-other-recipes.swiper {
    width: 100%;
    height: 320px;
}

#swiper-other-recipes .swiper-custom-panel {
    left: 0;
    bottom: 0;
    width: fit-content;
}

#swiper-other-recipes .swiper-custom-panel .swiper-pagination {
    width: 180px;
}

#swiper-other-recipes .swiper-custom-panel .swiper-pagination span {
    background: #EC2E3A;
}

#swiper-other-recipes__button-prev:hover svg path,
#swiper-other-recipes__button-prev:focus svg path,
#swiper-other-recipes__button-prev:focus-visible svg path,
#swiper-other-recipes__button-next:hover svg path,
#swiper-other-recipes__button-next:focus svg path,
#swiper-other-recipes__button-next:focus-visible svg path {
    stroke: #EC2E3A;
}

.link-back{
    display: none;
    align-items: center;
    margin-bottom: 16px;
}

.link-back svg{
    margin-right: 12px;
}

.link-back span{
    font-size: 13px;
    font-weight: 200;
    letter-spacing: 2%;
}

[x-cloak] { display: none !important; }

.wrapper-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.wrapper-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}
.popup__content {
    padding: 0 20px;
}
div#lubyatovo-popup.wrapper-popup .card-popup {
    position: relative;
    background: #FCF3EB;
    border-radius: 20px;
    padding: 48px;
}

.popup-pastry__title {
    font-weight: 600;
    font-size: 30px;
    line-height: 110%;
    letter-spacing: 1%;
    color: #EC2E3A;
    margin-bottom: 28px;
    padding-right: 50px;
}

.popup-pastry__title.mobile{
    display: none;
}

.popup-pastry__text {
    color: #75321D;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    margin-bottom: 28px;
}

.popup-pastry__button {
    display: inline-block;
    background: #EC2E3A;
    border-radius: 300px;
    padding: 15px 36px;
    font-size: 18px;
    color: #FFFFFF;
    font-weight: 700;
}
.popup-pastry__img {
    width: 370px;
    height: 370px;
    border-radius: 15.53px;
    overflow: hidden;
}

.popup-pastry__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popup-pastry__content {
    display: flex;
    flex-direction: column;
}

.popup-pastry__info {
    flex-grow: 1;
    flex-basis: 100%;
    flex-shrink: 1;
    margin-bottom: 24px;
}

.pastry-list-buy {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pastry-list-buy__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 52px;
    border-radius: 7.65px;
    border: 1px solid #A0A0A0;
}
.pastry-list-buy__item.mobile {
    display: none;
}

.pastry-list-buy__item.ozon svg {
    width: 41%;
    height: auto;
    max-width: 100%;
    max-height: 60%;
}

.pastry-list-buy__item.ya svg {
    width: 62%;
    height: auto;
    max-width: 100%;
    max-height: 60%;
}

.pastry-list-buy__item.kuper svg {
    width: 47%;
    height: auto;
    max-width: 100%;
    max-height: 60%;
}

.button-close-popup {
    position: absolute;
    right: 12px;
    top: 12px;
    border: 0;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
}

.img-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

.recipes__filters {
    margin-bottom: 40px;
    display: flex;
    align-items: center;

}

.select {
    position: relative;
    width: fit-content;
    max-width: 100%;
}

.recipes__filters .select {
    margin-right: 8px;
}

.recipes__filters .select:last-child {
    margin-right: 0;
}

.select__trigger {
    width: 100%;
    padding: 16px 32px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid #EC2E3A;
    background: transparent;
    transition: background .15s ease;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: #EC2E3A;

    cursor: pointer;
}

.select.is-open .select__trigger {
    background: #ffffff;
}

.select__trigger:hover {
    background: #ffffff;
}

.select__chev {
    transition: transform .18s ease;
}

.select.is-open .select__chev {
    transform: rotate(180deg);
}

.select__panel {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);

    background: #fff;
    border-radius: 26px;
    padding: 32px 40px;
    min-width: 100%;

    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    z-index: 50;
}

.select__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.select__option {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 16px;

    cursor: pointer;
    user-select: none;
    text-align: left;
}

.select__box {
    width: 18px;
    height: 18px;
    border: 1px solid #EC2E3A;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}

.select__box::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #EC2E3A;
    border-radius: 1.5px;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .12s ease, transform .12s ease;
}

.select__option.is-selected .select__box::after {
    opacity: 1;
    transform: scale(1);
}

.select__text {
    font-size: 16px;
    font-weight: 200;
    line-height: 1.15;
    color: #51626C;
}

.select__label {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

@media (max-width: 1440px) {
    div#lubyatovo-popup.wrapper-popup .card-popup {
        max-width: 62.5rem;
    }
}

@media (max-width: 1200px) {
    .top-content::before {
        transform: rotate(30deg);
        right: -55px;
    }
    .top-content::after {
        transform: rotate(20deg);
        left: -60px;
    }

    .top-content__logo-png {
        transform: scale(.7);
        top: -10px;
        left: -5px;
    }
}

@media (max-width: 1050px) {
    .top-content__title {
        flex-direction: column;
    }
    .top-content__logo {
        padding-left: 200px;
    }
    .top-content::before {
        transform: rotate(15deg);
        right: -35px;
        top: 5px;
    }
    .top-content__logo-png {
        transform: scale(.6);
        top: -10px;
        left: -5px;
    }
    .pastry-list-buy__item {
        max-height: 44px;
    }
    .pastry-list-buy {
        gap: 4px;
    }
    .pastry-list-buy__item.ozon svg {
        width: 59px;
    }

    .pastry-list-buy__item.ya svg {
        width: 71px;
    }

    .pastry-list-buy__item.kuper svg {
        width: 66px;
    }
}

@media (max-width: 810px) {
    .top-content {
        padding: 175px 15px 0 15px;
    }
    .top-content::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .popup-pastry__title {
        display: none;
        font-size: 20px;
        margin-bottom: 16px;
        padding-right: 45px;
    }
    .popup-pastry__title.mobile{
        display: block;
    }
    .popup-pastry__img {
        width: 100%;
        height: 233px;
        min-height: 145px;
        margin-bottom: 16px;
    }
    .popup-pastry__img img{
        object-fit: cover;
    }
    div#lubyatovo-popup.wrapper-popup .card-popup {
        padding: 24px;
        display: flex;
        flex-direction: column;
        max-width: 345px;
    }
    .popup-pastry__text {
        line-height: 150%;
        margin-bottom: 16px;
    }
    .popup-pastry__button {
        padding: 13px 40px;
        font-size: 14px;
    }
    .pastry-list-buy__item.desktop,
    .where-buy-list__item.desktop {
        display: none;
    }
    .pastry-list-buy__item.mobile,
    .where-buy-list__item.mobile {
        display: flex;
    }

}

@media (max-width: 760px) {
    .top-content {
        margin-bottom: 60px;
    }
    #swiper-products {
        overflow: visible;
    }
    .title-block__label {
        margin-right: 0;
        min-width: 249px;
        width: 249px;
    }
    .top-content__title {
        flex-direction: column;
    }
    .top-content__logo {
        padding-left: 200px;
    }

    .swiper-products .swiper-arrow--prev { left: -20px; }
    .swiper-products .swiper-arrow--next { right: -20px; }

    .title-block__text {
        display: none;
    }

    .title-block {
        justify-content: center;
        margin-bottom: 40px;
    }

    .recipes {
        margin-bottom: 60px;
    }

    .recipes-list {
        grid-template-columns: 1fr 1fr;
    }

    .where-buy__title {
        margin-bottom: 32px;
    }

    .where-buy__title img {
        width: 177px;
    }
}

@media (max-width: 550px) {
    .swiper-products .section-title {
        font-size: 14px;
        color: #75321D;
        margin-bottom: 20px;
    }
    .swiper-products .button_mid {
        font-size: 14px;
        padding: 13px 24px;
        width: 128px;
    }
    .top-content__title {
        align-items: start;
    }
    .top-content::before {
        transform: rotate(10deg) scale(.7);
        right: -65px;
        top: -55px;
    }
    .top-content__title h2 {
        padding-left: 30px;
        font-size: 32px;
        font-weight: 600;
    }
    .top-content__logo {
        padding-left: 100px;
    }
    .top-content__logo span{
        font-size: 32px;
        font-weight: 600;
    }
    .top-content__logo img{
        width: 176px;
    }
    .top-content__text {
        display: none;
    }
    .top-content__text.mobile {
        display: block;
        font-size: 16px;
    }
    .recipes-list {
        grid-template-columns: 1fr;
        margin-bottom: 32px;
    }
    .where-buy-list {
        grid-template-columns: 1fr;
    }
    .recipes__button-mobile{
        display: flex;
    }
    .recipes-page__preview {
        border-radius: 16px;
        margin-bottom: 24px;
    }
    .recipes-page__title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    .recipes__ingredients {
        padding: 32px 16px;
        margin-bottom: 40px;
    }
    .how-to-cook-recipes__title,
    .other-recipes__title {
        font-size: 24px;
        margin-bottom: 28px;
    }
    .tags-recipes__item {
        font-size: 14px;
    }
    .tags-recipes {
        margin-bottom: 40px;
    }
    #swiper-other-recipes .swiper-custom-panel {
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: fit-content;
    }
    #swiper-other-recipes .swiper-custom-panel .swiper-pagination {
        width: 0px;
    }
    .link-back {
        display: flex;
    }
    .recipes-page__container {
        padding: 32px 0;
    }
}

@media (max-width: 440px) {
    .select__trigger {
        padding: 16px 18px;
    }
    .select__panel {
        padding: 25px;
    }
}

@media (max-width: 400px) {
    .top-content {
        background-image: url("/local/templates/alef-chernogolovka/images/lubyatovo/content-top_mob.png");
        height: 100%;
        padding: 175px 15px 0 15px;
    }
    .top-content::before {
        display: none;
    }
    .top-content__logo-png {
        display: none;
    }
}

header .sub-container .wrapper .nav-and-search .nav-menu .bottom-menu__item.link-dropdown {
    z-index: var(--z-index-4) !important;
}

