/*HEADER STYLES*/
.fron-main {
    padding: 0;
}

.btn-main {
    font-size: 14px;
    font-weight: 700;
    padding: 10px 52px;
    box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.25);
}

.container-lg {
    position: relative;
}

.toolbar .toolbar-tab .toolbar-icon {
    padding: 0.75em 1.5em 0.75em 2.5em;
}

/* *** contextual-region *** */
.contextual-region .contextual {
    display: none;
    top: -8px;
    right: 8px;
}

.contextual-region .contextual-region .contextual {
    top: 8px;
}

.contextual-region:hover .contextual {
    display: block;
}

.contextual-region .contextual .trigger {
    width: 22px !important;
    height: 22px !important;
    background-size: 14px 14px;
}

.cart-block--summary .cart-block--summary__count {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    background: #ccc;
    color: #fff;
    top: -3px;
    right: -9px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 500;
}

#header-mob {
    top: 0;
    width: 100%;
    background: #E6038B;
    color: #000;
    padding: 15px 5px;
    z-index: 50;
}

#header-mob.toolbar-horizontal #header-mob {
    top: 0;
}

#header-mob>* {
    padding: 0 10px;
}

#header-mob a {
    color: #FFF5EC;
}

.offcanvas {
    --bs-offcanvas-bg: #d9d9d9;
}

.offcanvas .offcanvas-title {
    color: #000;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
}

.region-navigation .nav>.nav-item:hover .dropdown-menu {
    display: block;
    top: 100%;
    left: 0;
}


/*HEADER STYLES*/

/* SLICK STYLES */
div#slider-block .view.view-slayder.view-id-slayder .view-content .node--type-slide .content {
    position: absolute;
    top: 0;
    bottom: calc(1vw + 12px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: calc(50% - 10px);
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

button.slick-prev.slick-arrow {
    left: 25px;
}

button.slick-next.slick-arrow {
    right: 25px;
}

ul.slick-dots {
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    list-style: none;
    margin: 10px 0;
}

ul.slick-dots li button {
    background: #686868;
    border-radius: 50%;
    border: none;
    padding: 0;
    width: 10px;
    font-size: 0;
    height: 10px;
    display: block;
}

ul.slick-dots li button::before {
    display: none;
}

ul.slick-dots li.slick-active button {
    background: #272727;
}

button.slick-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

button.slick-arrow::before {
    content: '';
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-size: 0;
}

button.slick-prev.slick-arrow::before {
    background-image: url("/sites/all/themes/vesta_theme/image/arrow-top.svg");
    transform: rotate(-90deg);
}

button.slick-next.slick-arrow::before {
    background-image: url("/sites/all/themes/vesta_theme/image/arrow-top.svg");
    transform: rotate(90deg);
}

#scrollToTop {
    width: 48px;
    height: 48px;
    background: none;
    text-indent: 0;
    font-size: 0;
    border: 0px;
    outline: 0px;
    display: flex;
    bottom: 120px;
    cursor: pointer;
    position: fixed;
    right: 75px;
    z-index: 10;
    transition: 0.2s;
    padding: 0;
}

/* SLICK STYLES */

/* PRODUCT PAGE STYLES*/
.product-teaser {
    display: flex;
    gap: 50px;
}

.product-teaser .product-teaser-image {
    max-width: 500px;
}

.product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .current-slide.slick-initialized.slick-slider {
    margin: 0 0 10px;
}

.product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .current-slide.slick-initialized.slick-slider .slick-list.draggable .slick-track .element.slick-slide img {
    max-width: 500px;
    min-width: 500px;
    max-height: 500px;
    min-height: 500px;
    object-fit: cover;
}

.product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .nav-slide.slick-initialized.slick-slider .slick-list.draggable {
    margin: 0 -5px;
}

.product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .nav-slide.slick-initialized.slick-slider .slick-list.draggable .slick-track .element.slick-slide {
    margin: 0 5px;
    max-width: 118px;
    min-width: 118px;
    max-height: 118px;
    min-height: 118px;
}

.product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .nav-slide.slick-initialized.slick-slider .slick-list.draggable .slick-track .element.slick-slide img {
    max-width: 118px;
    min-width: 118px;
    max-height: 118px;
    min-height: 118px;
    object-fit: cover;
}

.product-teaser .product-teaser-info {
    max-width: 500px;
}

.product-view-full button.slick-prev.slick-arrow {
    left: -25px;
}

.product-view-full button.slick-next.slick-arrow {
    right: -25px;
}


/* .node--view-mode-full .field--name-body img {
    margin: 0 10px;
} */

/* PRODUCT PAGE STYLES*/


#header {
    position: relative;
    background: url(..//image/bg-header.png)no-repeat center top, #5bbcff;
    background-size: cover, cover;
    background-attachment: scroll;
}

.header-logo {
    text-align: center;
    margin: 20px;
}

#header .header-bottom {
    background: transparent;
}

.header-bottom .header-line {
    padding: 13px 18px;
    margin: 32px 0;
    background: #FFF5EC;
    box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.25);
    border-radius: 69px;
    position: relative;
}

.header-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* .header-left h4 {
    font-size: 14px;
    margin: 0;
} */

.vi-special-block {
    display: flex;
    align-items: center;
    font-size: var(--font-size-s);
    font-weight: 400;
    color: var(--color-main);
    padding: 0;
    cursor: pointer;
    user-select: none;
}

.vi-special-block::before {
    content: '';
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    background: url('../image/visually-impaired.svg') no-repeat center center;
    margin-right: 0.5ch;
}

.vi-special-block:hover {
    color: var(--bs-primary);
}

.header-center {
    justify-content: center;
    display: flex;
}

.header-right {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.header-right .col-callback .btn-main {
    padding: 10px 18px;
}

/* SLIDER START */

.slider {
    padding: 0 0 250px 0;
}

.slider h1 {
    -webkit-text-stroke: 2px #E6038B;
    text-stroke: 2px #E6038B;
    color: #FFF5EC;
    padding-bottom: 30px;
    text-align: center;
}

.slider .field__item {
    border-radius: 63px;
    padding: 18px;
    background: linear-gradient(180deg, #E6038B 0%, #EA2A9D 15%, #FFFFFF 100%);
    overflow: hidden;
    margin: 0 auto;
}

.slider .field__item img {
    width: 100%;
    height: 100%;
    border-radius: 45px;
    object-fit: cover;
}

#slider-block .slick-list {
    max-width: 1134px;
    margin: 0 auto;
    overflow: hidden;
}

#slider-block .slick-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}


ul.slick-dots {
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 20px 0;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

ul.slick-dots li button {
    background: #E9E9E9;
    border-radius: 2px;
    border: none;
    padding: 0;
    width: 10px;
    font-size: 0;
    height: 10px;
    display: block;
}

ul.slick-dots li button::before {
    display: none;
}

ul.slick-dots li.slick-active button {
    background: transparent;
    border: 1px solid #E9E9E9;
}

/* SLICK STYLES */


/* SLIDER END */

/* BENEFISTS START */
.benefits {
    background: #FFF5EC;
    position: relative;
    padding: 20px 0;
    z-index: 1;
    position: relative;
}

/* .container-lg {
    position: relative;
} */

/* Верхняя волна */
.benefits::before {
    content: "";
    position: absolute;
    top: -169px;
    left: 0;
    width: 100%;
    height: 170px;
    background-image: url(../image/wall_about.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 2;
    transform: rotate(180deg);
}

/* Нижняя волна */
.benefits::after {
    content: "";
    position: absolute;
    bottom: -169px;
    left: 0;
    width: 100%;
    height: 170px;
    background-image: url(../image/wall_about.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 2;
    transform: none;
}

.benefits h2 {
    text-align: center;
}

.benefits p {
    text-align: center;
    margin-bottom: 30px;
}

.benefits .view-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 30px;
}

.benefits-card {
    border-radius: 50px;
    padding: 15px;
    filter: drop-shadow(0px 4px 17px rgba(0, 0, 0, 0.25));
    flex: 0 1 auto;
    display: flex;
    align-items: center;
}

.benefits-card:nth-child(1) {
    width: 362px;
    border: 2px solid #E6038B;
}

.benefits-card:nth-child(2) {
    width: 333px;
    border: 2px solid #FF6F00;
    margin-left: 8.66%;
}

.benefits-card:nth-child(3) {
    width: 248px;
    border: 2px solid #2979FF;
    margin-left: 8.66%;
}

.benefits-card:nth-child(4) {
    width: 305px;
    border: 2px solid #1DE9B6;
}

.benefits-card:nth-child(5) {
    width: 362px;
    border: 2px solid #651FFF;
    margin-left: 4.47%;
}

.benefits-card:nth-child(6) {
    width: 376px;
    border: 2px solid #00BFA5;
    margin-left: 4.47%;
}

.benefits-text p {
    margin: 0;
}


/* ДЕКОР */
.benefits-decor {
    --decor-url: url("..//image/star-bej.png");
    position: absolute;
    background: var(--decor-url) no-repeat center/contain;
}

.benefits-decor_star-bej_1 {
    top: 58px;
    right: -146px;
    width: 170px;
    height: 170px;
    z-index: 2;
}

.benefits-decor_star-bej_2 {
    top: 40px;
    left: -134px;
    width: 124px;
    height: 124px;
    z-index: 2;
}

/* .benefits-decor_star-bej_3 {
    top: -70px;
    right: 11px;
    width: 220px;
    height: 220px;
    z-index: 2;
} */

.benefits-decor_star-bej_4 {
    top: -7px;
    left: -119px;
    width: 220px;
    height: 220px;
    z-index: 2;
}

.benefits-decor_star-bej_5 {
    right: 7px;
    bottom: -83px;
    width: 188px;
    height: 188px;
    z-index: 3;
}

c .benefits-decor_castle {
    --decor-url: url("..//image/castle.svg");
    top: -10px;
    right: 30px;
    width: 220px;
    height: 220px;
    z-index: 1;
}

.benefits-decor_robot {
    --decor-url: url("..//image/robot.svg");
    top: 115px;
    left: 39px;
    width: 87px;
    height: 87px;
    z-index: 1;
}

.benefits-decor_toy {
    --decor-url: url("..//image/toy.svg");
    bottom: 53px;
    right: 271px;
    width: 65px;
    height: 65px;
    z-index: 1;
}

.benefits-decor_stripes-blue {
    --decor-url: url("../image/stripes-blue.png");
    bottom: 105px;
    right: -42px;
    width: 70px;
    height: 53px;
    z-index: 0;
}

.benefits-decor_stripes-green {
    --decor-url: url("../image/stripes-green.png");
    bottom: -42px;
    left: -42px;
    width: 53px;
    height: 70px;
    z-index: 0;
}

/* -------------изображение блока------------ */

.benefitsGallery {
    position: relative;
    width: 100%;
    max-width: 1525px;
    margin: 1.875rem auto 0;
    padding: 0 15px;
}

.benefitsGallery .contextual-region {
    position: relative;
}

.benefitsGallery .field--name-field-image {
    display: flex;
    justify-content: center;
}

.benefitsGallery .field--name-field-image .field__item {
    flex-shrink: 0;
}

/* Первый элемент */
.benefitsGallery .field--name-field-image .field__item:nth-child(1) {
    width: clamp(250px, 19vw, 355px);
    height: clamp(250px, 19vw, 355px);
    margin-top: 4%;
}

/* Второй элемент */
.benefitsGallery .field--name-field-image .field__item:nth-child(2) {
    width: clamp(380px, 32vw, 549px);
    height: clamp(269px, 23vw, 389px);
    margin-top: 0.75%;
    margin-left: -42px;
}

/* Третий элемент */
.benefitsGallery .field--name-field-image .field__item:nth-child(3) {
    width: clamp(169px, 15vw, 242px);
    height: clamp(208px, 16vw, 289px);
    margin-top: 10.5%;
    margin-left: -42px;
    margin-right: -42px;
    z-index: 1;
}

/* Четвертый элемент */
.benefitsGallery .field--name-field-image .field__item:nth-child(4) {
    width: clamp(320px, 28vw, 474px);
    height: clamp(317px, 28vw, 469px);
}

.benefitsGallery .field--name-field-image .field__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 100%;
    filter: drop-shadow(0 4px 17px rgba(0, 0, 0, 0.25));
}

/* BENEFISTS END */

/* ABOUT START */
/* ABOUT END */


/* SERVICES START */
.services {
    background: #FFCB5E;
    padding: 200px 0;
    position: relative;
}

.services .view-header h2 {
    text-align: center;
}

.services .view-header p {
    text-align: center;
    padding: 0 100px;
    margin-bottom: 30px;
}

/* ----------------------------- */

.services .view-content, .view-servieces .view-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* расстояние между карточками */
}

.services-card {
    color: #FFF5EC;
    flex: 1 0 calc(33.333% - 20px);
    /* 3 карточки в строке */
    min-width: 250px;
    /* минимальная ширина */
    box-sizing: border-box;
    border-radius: 30px;
    padding: 21px 18px;
    text-align: center;
    box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.25);
}

.services-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.services-card p {
    margin-bottom: 0;
}


/* Для последних 4 карточек меняем ширину */
.services-card:nth-child(n+4) {
    flex: 1 0 calc(25% - 20px);
    /* 4 карточки в строке */
}

/* Альтернативный вариант с явным указанием для каждой строки */
.services-card:nth-child(1),
.services-card:nth-child(2),
.services-card:nth-child(3) {
    flex: 1 0 calc(33.333% - 20px);
    /* первая строка - 3 карточки */
}

.services-card:nth-child(4),
.services-card:nth-child(5),
.services-card:nth-child(6),
.services-card:nth-child(7) {
    flex: 1 0 calc(25% - 20px);
    /* вторая строка - 4 карточки */
}


/* -------------------------------------- */
.services-card:nth-child(7n+1) {
    background-color: #651FFF;
}

.services-card:nth-child(7n+2) {
    background-color: #2BD2A8;
}

.services-card:nth-child(7n+3) {
    background-color: #2979FF;
}

.services-card:nth-child(7n+4) {
    background-color: #FF6F00;
}

.services-card:nth-child(7n+5) {
    background-color: #9DB23B;
}

.services-card:nth-child(7n+6) {
    background-color: #E6038B;
}

.services-card:nth-child(7n+7) {
    background-color: #E43538;
}

/* -------------------------------------- */

/* оформление кнопки  */

.services .view-footer, .products .view-footer,
.news .view-footer, .reviews .view-footer,
.gallery .view-footer {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    margin-top: 30px;
}

.btn-main .more-link-page {
    display: block;
    color: var(--color-white);
    background: var(--color-main);
    border-color: var(--color-main);
    border-radius: 15px;
    padding: 12px 80px;
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
}

/* Decor */
.services-decor_futbol {
    position: absolute;
    top: 139px;
    left: 80px;
    width: 44.5px;
    height: 44.5px;
    background: url("..//image/futbol.svg") no-repeat center/contain;
    z-index: 2;
}

.services-decor_blocks {
    position: absolute;
    top: 223px;
    right: -7px;
    width: 90px;
    height: 90px;
    background: url("..//image/blocks.svg") no-repeat center/contain;
    z-index: 2;
}

.services-decor_tennis {
    position: absolute;
    bottom: 237px;
    left: 266px;
    width: 80px;
    height: 80px;
    background: url("..//image/tennis.svg") no-repeat center/contain;
    z-index: 2;
}

.services-decor_star-yellow_1 {
    position: absolute;
    top: 40px;
    left: -134px;
    width: 110px;
    height: 110px;
    background: url("..//image/star-yellow.png") no-repeat center/contain;
    z-index: 2;
}

.services-decor_star-yellow_2 {
    position: absolute;
    bottom: 300px;
    left: -155px;
    width: 91px;
    height: 91px;
    background: url("..//image/star-yellow.png") no-repeat center/contain;
    z-index: 2;
}

.services-decor_star-yellow_3 {
    position: absolute;
    bottom: 147px;
    left: -111px;
    width: 154px;
    height: 154px;
    background: url("..//image/star-yellow.png") no-repeat center/contain;
    z-index: 2;
}

.services-decor_star-yellow_4 {
    position: absolute;
    bottom: -100px;
    left: -300px;
    width: 214px;
    height: 214px;
    overflow: hidden;
    background: url("..//image/star-yellow.png") no-repeat center/contain;
    z-index: 2;
}

.services-decor_star-yellow_5 {
    position: absolute;
    top: -20px;
    right: -5px;
    width: 91px;
    height: 91px;
    background: url("..//image/star-yellow.png") no-repeat center/contain;
    z-index: 2;
}

/* .services-decor_star-yellow_6 {
    position: absolute;
    bottom: 220px;
    right: -250px;
    width: 214px;
    height: 214px;
    overflow: hidden;
    background: url("..//image/star-yellow.png") no-repeat center/contain;
    z-index: 2;
} */

.services-decor_star-yellow_7 {
    position: absolute;
    bottom: 223px;
    right: -60px;
    width: 122px;
    height: 122px;
    background: url("..//image/star-yellow.png") no-repeat center/contain;
    z-index: 2;
}

.services-decor_star-yellow_8 {
    position: absolute;
    bottom: -20px;
    right: -115px;
    width: 105px;
    height: 105px;
    background: url("..//image/star-yellow.png") no-repeat center/contain;
    z-index: 2;
}

/* SERVICES END */

/* NEWS START */
.news {
    background: #FF9DCC;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

/* Верхняя волна */
.news::before {
    content: "";
    position: absolute;
    top: -169px;
    left: 0;
    width: 100%;
    height: 170px;
    /* высота картинки волны */
    background-image: url(../image/wall-news.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 2;
    transform: rotate(0deg);
}


/* Нижняя волна */
.news::after {
    content: "";
    position: absolute;
    bottom: -168px;
    /* высота волны */
    left: 0;
    width: 100%;
    height: 170px;
    /* высота картинки волны */
    background-image: url(../image/wall-news.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    /* переворачиваем для нижней волны */
    z-index: 2;
    transform: rotate(180deg);
}

.news .view-header h2 {
    text-align: center;
    padding: 0 70px;
}

.news .view-header p {
    text-align: center;
    padding: 0 100px;
    margin-bottom: 30px;
}

.news .view-content, .view-news .view-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 30px;
}

.news .view-content .views-row, .view-news .view-content .views-row {
    flex: 0 1 calc((100% - var(--gap)*2*2) / 3);
}

.node--type-news .content {
    border-radius: 30px;
    background: #FFF5EC;
    padding: 32px 30px 27px;
    margin-bottom: 20px;


}

.node--type-news .content .field--name-body {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    position: relative;
    max-height: 120px;
}

.node--type-news .content p {

    margin-bottom: 0;
    line-height: 20px;

}

.node--type-news {
    position: relative;
}

.node--type-news .content::before {
    content: "";
    display: block;
    background-image: url(../image/frame.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    top: 10px;
    right: 10px;
    position: absolute;
}

.news-card img {
    border-radius: 30px;
    margin-bottom: 22px;
    width: 100%;
    height: auto;
    display: block;
}

.news-card .field--name-node-link,
main .field--name-node-link {
    background: #FFF5EC;
    border-radius: 50px;
    padding: 10px;
    text-align: center;
    color: var(--color-main);
    margin-top: 20px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.news-card .field--name-node-link:hover,
main .field--name-node-link:hover {
    background: #e4dcd5;
}

.news-card .field--name-node-link:active,
main .field--name-node-link:active {
    border: 2px solid #c8b9ae;
}

/* кнопка подробнее */
/* .news-card .field--name-node-link, main .field--name-node-link {
    background: #FFF5EC;
    border-radius: 50px;
    padding: 10px;
    text-align: center;
    color: var(--color-main);
    margin-top: 20px;
} */


/* DECOR */
.news-decor_mishka {
    position: absolute;
    top: 200px;
    right: -25px;
    width: 126px;
    height: 126px;
    background: url("..//image/mishka.svg") no-repeat center/contain;
    z-index: 2;
}

.news-decor_stethoscope {
    position: absolute;
    top: 173px;
    left: 91px;
    width: 78.3px;
    height: 78.3px;
    background: url("..//image/stethoscope.svg") no-repeat center/contain;
    z-index: 2;
}

.news-decor_star-pink_1 {
    position: absolute;
    top: -50px;
    left: -40px;
    width: 141px;
    height: 141px;
    background: url("..//image/star-pink.png") no-repeat center/contain;
    z-index: 2;
}

.news-decor_star-pink_2 {
    position: absolute;
    top: 236px;
    left: -114px;
    width: 195px;
    height: 195px;
    background: url("..//image/star-pink.png") no-repeat center/contain;
    z-index: 2;
}

.news-decor_star-pink_3 {
    position: absolute;
    bottom: 0px;
    left: -150px;
    width: 87px;
    height: 87px;
    background: url("..//image/star-pink.png") no-repeat center/contain;
    z-index: 2;
}

.news-decor_star-pink_4 {
    position: absolute;
    top: 0;
    right: -114px;
    width: 115px;
    height: 115px;
    background: url("..//image/star-pink.png") no-repeat center/contain;
    z-index: 2;
}

.news-decor_star-pink_5 {
    position: absolute;
    top: 605px;
    right: -151px;
    width: 206px;
    height: 206px;
    background: url("..//image/star-pink.png") no-repeat center/contain;
    z-index: 2;
}

/* NEWS END */

/* GALLERY START */
.gallery {
    background: #2B96D9;
    padding: 200px 0;
}

.gallery .field--name-node-title.field--label-hidden.field__item {
    display: none;
}

.gallery .view-header h2 {
    text-align: center;
    color: #FFF5EC;
}




/* -------------------------------- */

.gallery .photoswipe-gallery.field--name-field-gallery {
    display: grid;
    gap: 20px;

    /* 1 большая колонка + 3 маленькие */
    grid-template-columns: 470px repeat(3, 205px);

    /* Два ряда высотой 220px справа, big photo — 470px */
    grid-template-rows: repeat(2, 220px);
}

/* Большая левая фотография */
.gallery .photoswipe-gallery.field--name-field-gallery .field__item:nth-child(1) {
    width: 470px;
    height: 470px;

    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

/* Маленькие изображения справа */
.gallery .photoswipe-gallery.field--name-field-gallery .field__item:nth-child(n+2) {
    width: 205px;
    height: 220px;
}

/* Чтобы фото внутри не ломались */
.gallery .photoswipe-gallery.field--name-field-gallery .field__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* -------------------------------- */

main .view-fotogalereya .view-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* оформл обложки галереи */
.blazy--field-gallery .field__item img {
    border-radius: 16px;
    aspect-ratio: auto;
    object-fit: cover;
}

/* оформ внутри фото-страницы */

.view-gallery-page .view-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* gap: 20px; */
}

.view-gallery-page .photo-item a {
    padding: 15px var(--gap);
    justify-content: center;
    display: flex;
}

.view-gallery-page .photo-item .field-content>a>img {
    aspect-ratio: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 16px;
}

.view-gallery-page .photo-item .field-content>a>img:hover {
    transform: scale(1.1);
}

/* DECOR */
.gallery-decor_balloon {
    position: absolute;
    top: -14px;
    left: -16px;
    width: 104px;
    height: 104px;
    background: url("..//image/balloon.svg") no-repeat center/contain;
    z-index: 2;
}

.gallery-decor_vertushka {
    position: absolute;
    top: 0px;
    right: -50px;
    width: 133px;
    height: 133px;
    background: url("..//image/vertushka.svg") no-repeat center/contain;
    z-index: 2;
}

.gallery-decor_star-blue_1 {
    position: absolute;
    top: 0px;
    left: -300px;
    width: 134px;
    height: 134px;
    background: url("..//image/star-blue.png") no-repeat center/contain;
    z-index: 2;
}

.gallery-decor_star-blue_2 {
    position: absolute;
    bottom: 200px;
    left: -158px;
    width: 246px;
    height: 246px;
    background: url("..//image/star-blue.png") no-repeat center/contain;
    z-index: 2;
}

.gallery-decor_star-blue_3 {
    position: absolute;
    top: 111px;
    right: -146px;
    width: 136px;
    height: 136px;
    background: url("..//image/star-blue.png") no-repeat center/contain;
    z-index: 2;
}

.gallery-decor_star-blue_4 {
    position: absolute;
    bottom: 250px;
    right: -100px;
    width: 102px;
    height: 102px;
    background: url("..//image/star-blue.png") no-repeat center/contain;
    z-index: 2;
}

.gallery-decor_star-blue_5 {
    position: absolute;
    bottom: -105px;
    right: -144px;
    width: 180px;
    height: 180px;
    background: url("..//image/star-blue.png") no-repeat center/contain;
    z-index: 2;
    overflow: hidden;
}

/* GALLERY END */

/* REVIEWS START */
.reviews {
    background: #FF925E;
}

.reviews {
    background: #FF925E;
    position: relative;
    padding: 20px 0;
    /* увеличиваем отступы для волн */
    z-index: 1;
}

/* Верхняя волна */
.reviews::before {
    content: "";
    position: absolute;
    top: -169px;
    left: 0;
    width: 100%;
    height: 170px;
    /* высота картинки волны */
    background-image: url(../image/wall-reviews.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 2;
    transform: rotate(0deg);
}

/* Нижняя волна */
.reviews::after {
    content: "";
    position: absolute;
    bottom: -168px;
    left: 0;
    width: 100%;
    height: 170px;
    background-image: url(../image/wall-reviews.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 2;
    transform: rotate(180deg);
}

.reviews .view-header h2 {
    color: var(--color-white);
}

.reviews .view-content, .view-reviews .view-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    /* gap: calc(var(--gap) * 2); */
}


.card-reviews {
    flex: 1 1 calc(33.333% - 20px);
    /* flex: 0 1 calc((100% - var(--gap) * 2) / 3); */
    box-sizing: border-box;
    border-radius: 30px;
    background: #FFF5EC;
    padding: 18px;
    box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.25);
}

/* выравнивание текста внутри */
.card-reviews:nth-child(3n+1) {
    text-align: left;
}

.card-reviews:nth-child(3n+2) {
    text-align: center;
}

.card-reviews:nth-child(3n) {
    text-align: right;
}


/* Decor */
.reviews-decor_palochka {
    position: absolute;
    bottom: 32px;
    right: 273px;
    width: 102px;
    height: 102px;
    background: url("..//image/palochka.svg") no-repeat center/contain;
    z-index: 2;
}

.reviews-decor_truba {
    position: absolute;
    top: -103px;
    left: 492px;
    width: 94px;
    height: 94px;
    background: url("..//image/truba.svg") no-repeat center/contain;
    z-index: 2;
}

.reviews-decor_star-oranj_1 {
    position: absolute;
    top: -80px;
    left: -92px;
    width: 101px;
    height: 101px;
    background: url("..//image/star-oranj.png") no-repeat center/contain;
    z-index: 2;
}

.reviews-decor_star-oranj_2 {
    position: absolute;
    bottom: 25px;
    left: -155px;
    width: 163px;
    height: 163px;
    background: url("..//image/star-oranj.png") no-repeat center/contain;
    z-index: 2;
}

.reviews-decor_star-oranj_3 {
    position: absolute;
    top: 40px;
    right: -134px;
    width: 69px;
    height: 69px;
    background: url("..//image/star-oranj.png") no-repeat center/contain;
    z-index: 2;
}

.reviews-decor_star-oranj_4 {
    position: absolute;
    bottom: -50px;
    right: -134px;
    width: 125px;
    height: 125px;
    background: url("..//image/star-oranj.png") no-repeat center/contain;
    z-index: 3;
}



/* REVIEWS END */

/* FORM START */
.form-block {
    background: #FFF5EC;
    padding: 200px 15px 150px;
}

.form-block .block-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 47px;
    margin-bottom: 20px;
}

/* ----------------------- */
.form-block .block-vesta-theme-ostavtezayavkuimyobyazatelnovamperezvonim {
    position: relative;
}

.form-block .field--name-field-image {
    display: flex;
    flex-wrap: wrap;
}

.form-block .field--name-field-image .field__item:nth-child(1) img {
    border-radius: 50%;
    object-fit: cover;
    width: 213px;
    height: 213px;
    box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.25);
}

/* Второе изображение */
.form-block .field--name-field-image .field__item:nth-child(2) img {
    border-radius: 50%;
    object-fit: cover;
    width: 280px;
    height: 280px;
    box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.25);
    display: block;
    transform: translate(-160px, 16px);
    margin-left: 50%;
}

.form-block .field--name-field-image .field__item:nth-child(3) img {
    border-radius: 50%;
    object-fit: cover;
    width: 121px;
    height: 121px;
    box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.25);
    transform: translate(-160px, 46px);
    margin-left: 100%;

}

/* -------------------------------------------- */

.form-block .form-control {
    height: 48px;
    width: 100%;
    padding: 16px 20px;
    line-height: 100%;
    color: var(--color-main);
    margin-top: 0;
    /* margin-bottom: 15px; */
    border-radius: 10px;
    border: 1px solid var(--color-main);
    background: transparent;
}

.form-block .form-control::placeholder {
    color: var(--color-main);
    font-weight: 700;
    font-size: 16px;
}

#webform-submission-ostavte-zayavku-node-2-add-form .form-textarea-wrapper textarea.form-textarea {
    height: 121px;
    min-height: 121px;
    max-height: 121px;
    resize: none;
}

.form-block .form-type-checkbox .description a {
    color: var(--color-main);
    /* Поменяла цвет у ссылки */
}

.form-block .form-type-checkbox .description a:hover {
    color: var(--color-link-hover);
}

/* кнопка во всю ширину */
.form-block .form-right .webform-actions .button#edit-actions-submit {
    width: 100%;
}


/* DECOR */
.form-block-decor_star-bej_1 {
    position: absolute;
    top: 0px;
    left: -300px;
    width: 271px;
    height: 271px;
    background: url("..//image/star-bej.png") no-repeat center/contain;
    z-index: 2;
}

.form-block-decor_star-bej_2 {
    position: absolute;
    bottom: 0px;
    left: -170px;
    width: 85px;
    height: 85px;
    background: url("..//image/star-bej.png") no-repeat center/contain;
    z-index: 2;
}

.form-block-decor_star-bej_3 {
    position: absolute;
    top: -94px;
    left: 450px;
    width: 84px;
    height: 84px;
    background: url("..//image/star-bej.png") no-repeat center/contain;
    z-index: 2;
}

.form-block-decor_star-bej_4 {
    position: absolute;
    top: 0px;
    right: -144px;
    width: 77px;
    height: 77px;
    background: url("..//image/star-bej.png") no-repeat center/contain;
    z-index: 2;
}

.form-block-decor_star-bej_5 {
    position: absolute;
    bottom: -100px;
    right: -144px;
    width: 199px;
    height: 199px;
    background: url("..//image/star-bej.png") no-repeat center/contain;
    z-index: 1;
}

/* FORM END */

/* FOOTER START */
footer {
    background: #B08CFF;
    padding: 30px;
    position: relative;
    /* увеличиваем отступы для волн */
    z-index: 1;
    margin-top: auto;
}

/* Верхняя волна */
footer::before {
    content: "";
    position: absolute;
    top: -169px;
    left: 0;
    width: 100%;
    height: 170px;
    /* высота картинки волны */
    background-image: url(../image/wall-footer.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 2;
    transform: rotate(0deg);
}

footer a, footer ul.nav a,
footer .copyright, footer .contact-item {
    color: #FFF5EC;
}

.footer_1 {
    font-size: 14px;
    font-weight: 700;
}

.footer_1 img {
    margin-bottom: 25px;
    margin-top: 15px;
}

.footer_1 .copyright {
    padding-bottom: 20px;
}

.footer-nav h4 {
    margin-left: 18px;
    color: #FFF5EC;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

footer .nav-link {
    padding: 2px 18px;
    font-weight: 700;
}

footer .footer-nav .region-navigation {
    margin-bottom: 20px;
    /* text-align: center; */
}

footer .webvesta {
    text-align: center;
}

.footer-contacts {
    line-height: 1.5;
    color: #FFF5EC;
}

.footer-contacts h4 {
    color: #FFF5EC;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

footer .info-header {
    float: left;
    margin-right: 10px;
}

/* FOOTER END */

/* YANDEX METRIKA */
.block.block-vesta-privacy-access-d10 {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--color-white);
    background: linear-gradient(90deg, #FFF5EC -34.06%, #023970 18.87%, #023970 80.78%, #FFF5EC 137.55%);
    padding: var(--padding) 0;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.48);
    margin: 0;
    z-index: 1000;
}

.block.block-vesta-privacy-access-d10 .block-metrika-content p strong {
    color: #FFF5EC;
    font-size: 14px;
    line-height: 22px;
}

.block.block-vesta-privacy-access-d10 .block-metrika-content p a {
    color: #FFF5EC;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    text-decoration: underline;
}

.block.block-vesta-privacy-access-d10 .block-metrika-content p {
    font-family: "Mulish";
    color: #FFF5EC;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    margin: 5px;
}

button#btn-metrika-yes, button#btn-metrika-no {
    color: #1E1E1E;
    background: #FFF5EC;
    border: none;
    font-size: 12px;
    height: 29px;
    padding: 10px;
    line-height: 0;
}

.block.block-vesta-privacy-access-d10 .block-metrika-wrapper {
    display: flex;
    flex-direction: column;
    align-items: anchor-center;
    gap: 20px;
    padding: 20px 0;
}

.block-metrika-wrapper p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* YANDEX METRIKA */
/* *** ADAPTIVE *** */
@media screen and (max-width: 1199px) {}

@media screen and (max-width: 991px) {
    #offcanvasNav .nav .dropdown-menu {
        display: none;
        position: static;
        border: 0px solid;
        background: transparent;
        padding: 10px 0;
        border-bottom: 1px solid #BDBDBD;
    }

    #offcanvasNav li.nav-item {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {}

@media screen and (max-width: 576px) {}