@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

body {
    height: 100%;
    margin: 0;
}

#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main {
    flex: 1;
}

.ui-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
}
img{
    max-width: 100%;
    height: auto;
}
/*HEADER STYLES*/
#footer .ajax-progress,
#header .ajax-progress {
    display: none;
}

.toolbar .toolbar-tab .toolbar-icon {
    padding: 0.75em 1.5em 0.75em 2.5em;
}
.path-admin .messages--error {
    display: none;
}
/* *** 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;
}

#header-mob {
    top: 0;
    width: 100%;
    background-color: rgba(49, 49, 49);
    color: #000;
    padding: 5px 5px;
    z-index: 50;
}

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

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

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

.offcanvas {
    background-color: rgb(49, 49, 49);
}
.btn-close {
    filter: invert(5);
}
.btn-close:focus {
    box-shadow: none;
}
.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;
}
#offcanvasNav   #block-vesta-theme-osnovnayanavigaciya-4 ul:not(.contextual-links) li a {
    font-size: 14px;
}
#offcanvasNav   #block-vesta-theme-osnovnayanavigaciya-4 ul:not(.contextual-links) li a::before {
    content: none;
} 
#offcanvasNav   #block-vesta-theme-osnovnayanavigaciya-4 ul:not(.contextual-links) li {
    margin-bottom: 5px;
}
#offcanvasNav .region-navigation {
    margin-bottom: 15px;
}
#offcanvasNav .search-block {
    margin-bottom: 10px;
}
.mob-contacts {
    display: flex;
    flex-wrap: wrap;
    row-gap: 5px;
}
.mob-contacts 
/*HEADER STYLES*/

/* SLICK STYLES */
.region-slider .view-content:not(.slick-initialized) .views-row {
    display: none;
}

.region-slider .view-content:not(.slick-initialized) .views-row:first-child {
    display: block;
}

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: 40px;
    height: 40px;
    background: none;
    text-indent: 0;
    font-size: 0;
    border: 0px;
    outline: 0px;
    display: flex;
    bottom: 80px;
    cursor: pointer;
    position: fixed;
    right: 80px;
    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*/

/***Базовыве стили***/
.page, .vpa-container {
    font-family: Inter;
    font-stretch: normal;
    font-style: normal;
    background-image: url(../image/main-background.jpg);
    background-size: cover;
}
.not-front h1, .page-node #block-vesta-theme-content, .page-node #block-vesta-theme-content a {
    color: #ffffff;
}
.not-front #main {
    margin-bottom: 30px;
}

/***Шапка***/
.front #header {
    position: absolute!important;
    width: 100%;
    z-index: 1;
}
.header-top {
    background-color: rgba(49, 49, 49, 0.4);
    padding: 14px 0;
}
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .header-top {
    background-color: rgba(49, 49, 49, 0.4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-address {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #ffffff;
    display: flex;
    align-items: center;
}
.header-address::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    background-image: url(../image/location.svg);
    background-size: cover;
}
.header-phone-numbers {
    display: flex;
    align-items: center;
}
.header-phone-numbers a, .commerce-product--type-vesta-product.commerce-product--view-mode-teaser .field--name-title a {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
}
.header-phone-numbers a:not(:last-child) {
    margin-right: 13px;
}
.header-phone-numbers a:not(:last-child)::after {
    content: '';
    display: block;
    width: 1px;
    height: 18px;
    background-color: #898989;
    position: absolute;
    left: calc(100% + 6px);
    top: 0;
}
.header-phone-numbers::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    background-image: url(../image/phone.svg);
    background-size: cover;
}
.mail-messenger-block {
    display: flex;
    align-items: center;
}
.mail-messenger-block a.mail {
    margin-right: 54.7px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #ffffff;
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}
.mail-messenger-block a.mail::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    background-image: url(../image/mail.svg);
    background-size: cover;
}
.mail-messenger-block a.max-link:hover {
    filter: brightness(5);
}
.header-bottom {
    padding: 10px 0;
}
.header-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-bottom-left {
    display: flex;
    align-items: center;
}
.logo-header {
    margin-right: 30px;
}
#block-vesta-theme-osnovnayanavigaciya-4 > ul > li:not(:last-child) {
    margin-right: 16px;
}
#block-vesta-theme-osnovnayanavigaciya-4 > ul > li.dropdown:not(:last-child) {
    margin-right: 34px;
}
#block-vesta-theme-osnovnayanavigaciya-4 ul:not(.contextual-links) li a, .region-footer-navigation nav li a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.28px;
    color: #ffffff!important;
    text-transform: uppercase;
    padding: 0;
    width: fit-content;
}
#block-vesta-theme-osnovnayanavigaciya-4 ul.dropdown-menu {
    background-color: rgba(49, 49, 49, 0.8);
    padding: 10px;
}
#block-vesta-theme-osnovnayanavigaciya-4 .dropdown-item:hover {
    background-color: transparent;
}
#block-vesta-theme-osnovnayanavigaciya-4 > ul:not(.contextual-links) {
    align-items: center;
}
#block-vesta-theme-osnovnayanavigaciya-4 > ul:not(.contextual-links) > li a, .region-footer-navigation nav li a {
    position: relative;
}
#block-vesta-theme-osnovnayanavigaciya-4 > ul:not(.contextual-links) > li a::before, .header-phone-numbers a::before,
.mail-messenger-block a.mail::after, .region-footer-navigation nav li a::before {
    content: '';
    display: block;
    height: 1px;
    left: 50%;
    right: 50%;
    position: absolute;
    top: 105%;
    background-color: #ffffff;
    transition: all 0.4s ease;
}
#block-vesta-theme-osnovnayanavigaciya-4 ul:not(.contextual-links) li a:hover::before, .header-phone-numbers a:hover::before,
.region-footer-navigation nav li a:hover::before {
    right: 0; 
    left: 0;
}
#block-vesta-theme-osnovnayanavigaciya-4 ul.dropdown-menu > li:not(:last-child) {
    margin-bottom: 5px;
}
.mail-messenger-block a.mail:hover::after {
    right: 0;
    left: 24px;
}
#block-vesta-theme-osnovnayanavigaciya-4 .dropdown-toggle {
    display: flex;
    align-items: center;
}
#block-vesta-theme-osnovnayanavigaciya-4 .dropdown-toggle::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url(../image/chevron-down.svg);
    background-size: cover;
    position: absolute;
    top: 0;
    left: calc(100% + 2px);
    border: none;
}
.header-bottom-right {
    display: flex;
    align-items: center;
}
.cart-block {
    margin: 0 30px;
}
.cart-block--summary .cart-block--summary__count {
    position: absolute;
    width: 16px;
    height: 16px;
    border: none;
    top: -2px;
    right: -6px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 500;
    background-color: #b8bfc2;
    font-size: 12px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: -0.24px;
    text-align: center;
    color: #000;
}
.btn-base, .webform-submission-callback-form .btn-primary, .modal-content .btn-primary, .button--add-to-cart,
.product-teaser-info .field--widget-commerce-quantity span, .ui-dialog .ui-dialog-buttonpane button, .cart-form .delete-order-item,
.cart-form .btn-primary, #search-api-page-block-form-search .search-form__submit, .commerce-checkout-flow-multistep-default #edit-actions-next,
#vpa-btn-ok {
    background-image:
        linear-gradient(#ffffff, #ffffff),
        radial-gradient(circle at 0% 33%, #96948e, #e7e5df 26%, #7f7b73 89%, #48443c 118%);
    background-size:
        0% 100%,
        100% 100%;
    background-position:
        left top,
        center;
    background-repeat: no-repeat;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.28px;
    color: #000000;
    text-transform: uppercase;
    border-radius: 0;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    box-sizing: border-box;
    transition:
        background-size 0.45s ease,
        color 0.4s ease;
}
.btn-base::after, .webform-submission-callback-form .btn-primary::after, .modal-content .btn-primary::after, .button--add-to-cart::after,
.ui-dialog .ui-dialog-buttonpane button::after, .cart-form .delete-order-item::after, .cart-form .btn-primary::after,
#search-api-page-block-form-search .search-form__submit::after, .commerce-checkout-flow-multistep-default #edit-actions-next::after,
#vpa-btn-ok::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-image-source: linear-gradient(103deg, #c9c9c9, #828282 100%);
    border-image-slice: 1;
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
    transition: opacity 0.25s ease;
}
.btn-base:hover, .webform-submission-callback-form .btn-primary:hover, .modal-content .btn-primary:hover,
.button--add-to-cart:hover, .ui-dialog .ui-dialog-buttonpane button:hover, .cart-form .delete-order-item:hover,
.cart-form .btn-primary:hover, #search-api-page-block-form-search .search-form__submit:hover,
.commerce-checkout-flow-multistep-default #edit-actions-next:hover, #vpa-btn-ok:hover {
    background-size:
        100% 100%,
        100% 100%;
    color: #000000;
}
.btn-base:hover::after, .webform-submission-callback-form .btn-primary:hover::after, .modal-content .btn-primary:hover::after,
.button--add-to-cart:hover::after, .ui-dialog .ui-dialog-buttonpane button:hover::after, .cart-form .delete-order-item:hover::after,
.cart-form .btn-primary:hover::after, #search-api-page-block-form-search .search-form__submit:hover::after,
.commerce-checkout-flow-multistep-default #edit-actions-next:hover::after, #vpa-btn-ok:hover::after {
    opacity: 1;
}
.cart-form .delete-order-item:focus, .cart-form .delete-order-item:focus-visible {
    box-shadow: none;
    background-color: transparent;
} 
#block-callback-button .btn-base {
    width: 171px;
    height: 40px;
}

/***Видеофон***/
#block-background-video-on-main {
    position: relative;
}
#block-background-video-on-main video {
    max-height: 779px;
    width: 100%;
    object-fit: cover;
}
#block-background-video-on-main .text-block {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 80px;
}
.field--name-dynamic-token-fieldblock-content-main-header-on-front {
    margin-bottom: 24px;
}
.field--name-dynamic-token-fieldblock-content-main-header-on-front h1 {
    margin-bottom: 0;
    font-family: Spectral;
    font-size: 62px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.24px;
    text-align: left;
    color: #ffffff;
    text-transform: uppercase;
}
.field--name-dynamic-token-fieldblock-content-link-on-video a.on-video-link {
    width: 220px;
    height: 48px;
    padding-left: 24px;
    justify-content: flex-start;
}
.field--name-dynamic-token-fieldblock-content-link-on-video a.on-video-link::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(../image/arrow-right.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 24px;
    bottom: 14px;
}

/***Блок "Разделы каталога" на главной***/
#block-catalog-on-front {
    margin: 80px 0;
}
.block-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #aeaeae;
    margin-bottom: 16px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    column-gap: 1px;
}
.block-title::before {
    content: '[';
}
.block-title::after {
    content: ']';    
}
#block-catalog-on-front .view-header {
    display: grid;
    grid-template-areas: 'headers headers'
                         'catalog-link price-list';
    justify-content: space-between;
    margin-bottom: 48px;
}
#block-catalog-on-front .block-catalog-headers {
    grid-area: headers;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Spectral;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.8px;
    color: #ffffff;
    text-transform: uppercase;
}
#block-catalog-on-front .page-catalog-link {
    grid-area: catalog-link;
}
#block-catalog-on-front .block-content--type-price-list-link.block-content--view-mode-token {
    grid-area: price-list;
    width: 100%;
    text-align: right;
} 
.page-catalog-link a {
    width: 216px;
    height: 40px;
}
a.price-list {
    width: 195px;
    height: 40px;
}
.view-id-catalog .view-content, #block-about-on-front .field--name-field-technologies {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.view-id-catalog .views-row, #block-about-on-front .field--name-field-technologies > .field__item {
    width: calc(100% / 3 - 30px);
    flex-grow: 1;
}
.view-id-catalog .field--name-field-catalog-image a {
    display: block;
    width: 100%;
    position: relative;
}
.view-id-catalog .field--name-field-catalog-image a::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}
.view-id-catalog .field--name-field-catalog-image img, #block-about-on-front .field--name-field-technology-image img {
    width: 100%;
}
.taxonomy-term--view-mode-teaser.ds-1col, #block-about-on-front .paragraph--view-mode-teaser.ds-1col {
    position: relative;
}
.taxonomy-term--view-mode-teaser.ds-1col .name-block, #block-about-on-front .paragraph--view-mode-teaser.ds-1col .name-block {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.taxonomy-term--view-mode-teaser.ds-1col .field--name-taxonomy-term-title {
    font-family: Spectral;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.44px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    max-width: 322px;
}

/***Блок "О компании" на главной***/
#block-about-on-front .view-header {
    font-family: Spectral;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.8px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.node--type-about.node--view-mode-teaser a.btn-base {
    width: 218px;
    height: 40px;
}
.node--type-about.node--view-mode-teaser .field--name-field-technologies {
    margin-top: 48px;
}
#block-about-on-front .paragraph--view-mode-teaser.ds-1col .field--name-field-technology-name {
    font-family: Spectral;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.44px;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    max-width: 290px;
}

/***Блок "Портфолио" на главной***/
#block-photogallery-on-front {
    margin: 80px 0 95px;
}
#block-photogallery-on-front .view-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}
.block-portfolio-header {
    font-family: Spectral;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.8px;
    color: #ffffff;
    text-transform: uppercase;
}
.page-portfolio-link .btn-base {
    width: 140px;
    height: 40px;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery  {
    display: flex;
    flex-wrap: wrap;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item {
    width: calc(100% / 4);
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(1) {
    padding: 15px 15px 15px 0;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(2),
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(3),
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(6),
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(7) {
    padding: 15px;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(4) {
    padding: 15px 0 15px 15px;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(5) {
    padding: 15px 15px 15px 0;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(8) {
    padding: 15px 0 15px 15px;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item {
    border-style: solid;
    border-color: #404040;
    border-width: 0;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(1), 
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(2), 
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(3), 
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(4) {
    border-bottom-width: 1px;
    border-top-width: 1px;
} 
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(1), 
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(2), 
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(3),
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(5), 
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(6), 
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(7) {
    border-right-width: 1px;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(5), 
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(6), 
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(7),
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item:nth-child(8) {
    border-bottom-width: 1px;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item a,
.node--type-album.node--view-mode-full .field--name-field-photogallery .field__item a {
    display: block;
    position: relative;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item a::after,
.node--type-album.node--view-mode-full .field--name-field-photogallery .field__item a::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 50%;
    top: 50%;
    background-image: url(../image/zoom.svg);
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.2s linear;
}
.node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item a:hover::after,
.node--type-album.node--view-mode-full .field--name-field-photogallery .field__item a:hover::after {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(66, 66, 66, 0.54);
}

/***Страница "Портфолио"***/
.node--type-album.node--view-mode-token {
    position: relative;
}
.node--type-album.node--view-mode-token .text-block {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding: 0 10px;
}
.node--type-album.node--view-mode-token .field--name-node-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.28px;
    color: #ffffff;
    text-transform: uppercase;
    padding: 0;
    width: fit-content;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(14px * 2);
    overflow-wrap: anywhere;
    word-break: break-word;
    text-overflow: ellipsis;
}
.node--type-album.node--view-mode-token .field--name-field-photogallery  a {
    display: block;
    width: fit-content;
}
.node--type-album.node--view-mode-token .field--name-field-photogallery  a::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}
.view-display-id-page_inner .view-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}
.view-display-id-page_inner .views-row {
    width: calc(100% / 4 - 30px);
}

/***Страница альбома***/
.node--type-album.node--view-mode-full .field--name-field-photogallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}
.node--type-album.node--view-mode-full .field--name-field-photogallery .field__item {
    width: calc(100%  / 4 - 30px);
}


/***Блок "Контакты" на главной***/
#block-contacts-on-front .field--name-body {
    display: flex;
    justify-content: space-between;
}
#block-contacts-on-front .field--name-body > div {
    width: 100%;
}
#block-contacts-on-front .left-block {
    margin-right: 40px;
}
.block-contacts-content > div:not(:last-child) {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: solid 1px #404040;
}
.block-contacts-header {
    font-family: Spectral;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.8px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 48px;
}
.block-contacts-content label {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.28px;
    color: #aeaeae;
    margin-bottom: 12px;
}
.block-contacts-content, .block-contacts-content a {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.36px;
    color: #ffffff;
}
.block-contacts-content a {
    text-decoration: none;
}
.block-contacts-phones a:not(:last-child) {
    padding-right: 6px;
    margin-right: 6px;
    border-right: 1px solid #898989;
}

/***Блок "Веб-форма" на главной***/
.web-form {
    background-color: #313131;
    padding: 80px 0;
    margin-top: 80px;
}
.region-web-form {
    display: flex;
    justify-content: space-between;  
}
#block-text-near-callback-form {
    max-width: 500px;
}
.web-form-headers {
    font-family: Spectral;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.8px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.web-form-subheaders {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -0.32px;
    color: #cdcdcd;
}
#block-callback-form .webform-submission-callback-form {
    max-width: 570px;
}

.webform-submission-callback-form .form-control {
    border-radius: 0;
    padding: 10.5px 8px;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: solid 1px #ffffff;
    background-color: transparent;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -0.32px;
    color: #aeaeae;
}
.webform-submission-callback-form .form-control::placeholder {
    color: #aeaeae;
}
.webform-submission-callback-form .form-control:focus {
    box-shadow: 0 0 3px 3px #ffffff;
}
.webform-submission-callback-form .form-text {
    margin: 0;
}
.webform-submission-callback-form .edit-block-phone-mail {
    display: flex;
    column-gap: 12px;
}
.webform-submission-callback-form .js-form-item-name, .webform-submission-callback-form .edit-block-phone-mail {
    margin-bottom: 12px;
}
.webform-submission-callback-form .js-form-item-message {
    margin-bottom: 16px;
}
.modal-content {
    background-color: #313131;
}
.webform-submission-callback-form textarea {
    resize: none;
    height: 40px;
    overflow: hidden;
}
.webform-submission-callback-form .js-form-item-privacy {
    display: flex;
    margin-bottom: 32px;
    align-items: flex-start;
    column-gap: 8px;
}
.webform-submission-callback-form .webform-element-description, .webform-submission-callback-form .webform-element-description a {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -0.28px;
    text-align: left;
    color: #ffffff;
}
.webform-submission-callback-form input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid #404040;
    background-color: #ffffff;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}
.webform-submission-callback-form input[type="checkbox"]:checked {
    background-image: url(../image/check.svg);
    background-position: center;
    background-size: contain;
    border-color: #404040;
}
.webform-submission-callback-form .btn-primary, .modal-content .btn-primary {
    padding: 0;
    width: 117px;
    height: 40px;
}
.modal-footer {
    justify-content: center;
}
.modal-header, .btn-close {
    color: #ffffff!important;
}

/***Страница раздела каталога***/
#block-catalog-child-sections {
    margin: 30px 0;
}
.view-display-id-page_catalog_section .view-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.view-display-id-page_catalog_section .views-row {
    width: calc(100% / 4 - 30px);
}
.commerce-product--type-vesta-product.commerce-product--view-mode-teaser {
    background-color: #313131;
}
.commerce-product--type-vesta-product.commerce-product--view-mode-teaser .field--name-field-image-product-view img {
    width: 100%;
}
.commerce-product--type-vesta-product.commerce-product--view-mode-teaser .bottom-block {
    padding: 10px;
    border: solid 1px #404040;
}
.commerce-product--type-vesta-product.commerce-product--view-mode-teaser .field--name-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(16px * 2);
    overflow-wrap: anywhere;
    word-break: break-word;
    text-overflow: ellipsis;
}
.commerce-product--type-vesta-product.commerce-product--view-mode-teaser .field--name-quantity  {
    display: none;
}
.commerce-product--type-vesta-product.commerce-product--view-mode-teaser .price-button-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.commerce-product--type-vesta-product.commerce-product--view-mode-teaser .field--name-dynamic-token-fieldcommerce-product-price p {
    margin: 0;
}
.commerce-product--type-vesta-product.commerce-product--view-mode-teaser .field--name-dynamic-token-fieldcommerce-product-price {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #ffffff;
    text-decoration: none;
}
.commerce-product--type-vesta-product.commerce-product--view-mode-teaser .ajax-progress.ajax-progress-throbber {
    position: absolute;
    left: 0;
    top: 100%;
}
.button--add-to-cart {
    height: 35px;
    padding-top: 0;
    padding-bottom: 0;
}
.view-display-id-child_sections .view-content ul {
    padding-left: 0;
}
.view-display-id-child_sections .view-content li {
    color: #ffffff;
    list-style: none;
    display: flex;
    align-items: center;
    &:not(:last-child) {
        margin-bottom: 10px;
    }
    &::before {
        content: '';
        display: block;
        width: 5px;
        height: 5px;
        border-radius: 100%;
        background-color: #ffffff;
        margin-right: 5px;
    }
    a {
        text-decoration: none;
        font-size: clamp(14px, 2.5vw, 18px);
        font-weight: 500;
        line-height: 1;
        letter-spacing: -0.28px;
        color: #ffffff;
        text-transform: uppercase;
        position: relative;
        &::before {
            content: '';
            display: block;
            height: 1px;
            left: 50%;
            right: 50%;
            position: absolute;
            top: 105%;
            background-color: #ffffff;
            transition: all 0.4s ease;
        }
        &:hover::before {
            right: 0;
            left: 0;
        }

    }

}

/***Страница товара внутренняя***/
.price-block {
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #ffffff;
    display: flex;
    align-items: center;
    column-gap: 5px;
}
.price-block label {
    font-weight: 700;
}
.product-teaser-info .field--name-variations {
    margin: 25px 0;
}
.product-teaser-info .commerce-order-item-add-to-cart-form {
    display: flex;
    align-items: center;
}
.product-teaser-info .field--widget-commerce-quantity {
    margin-right: 15px;
    display: flex;
    align-items: center;
}
.product-teaser-info .field--widget-commerce-quantity label {
    display: none;
}
.product-teaser-info .field--widget-commerce-quantity span {
    height: 35px;
    width: 35px;
    cursor: pointer;
    font-size: 20px;
}
.product-teaser-info .field--widget-commerce-quantity input {
    width: 35px;
    height: 35px;
    text-align: center;
    border-radius: 0;
    border: none;
}
.product-teaser-info .field--widget-commerce-quantity input:focus-visible {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.product-teaser-info .field--name-body {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #ffffff;
}
.product-teaser-info .field--name-body .field__label {
    margin-bottom: 10px;
    font-weight: bold;
}
.product-teaser-image .nav-slide {
    margin-top: 15px;
}
.product-teaser-image .nav-slide img {
    height: 100px;
    object-fit: cover;
}
.product-teaser-image .nav-slide .element {
    margin: 0 5px;
    cursor: pointer;
}
.product-teaser-image .nav-slide .slick-list  {
    margin: 0 -5px;
}
.product-teaser-image .slick-prev, .product-teaser-image .slick-next {
    top: 50%;
}
.body-product-type--vesta_product .field--name-field-image-product-view img {
    max-height: 450px;
    max-width: 450px;
    object-fit: contain;
    background-color: #fff;
}

/***Подвал***/
#footer {
    border-top: solid 1px #404040;
    background-color: #313131;
    /*padding-top: 40px;*/
}
#footer .container {
    display: flex;
    justify-content: space-between;
}
.logo-footer-region {
    padding: 40px 0 32px;
}
.text-footer {
    margin: 24px 0 40px;
}
.text-footer, .footer-site-name, .footer-privacy a  {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -0.32px;
    color: #ffffff;
}
.footer-site-name {
    margin-bottom: 16px;
}
#block-catalog-footer {
    margin-bottom: 30px;
}
#block-catalog-footer-menu, #block-footer-main-menu-menu, .footer-contacts-header {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.32px;
    text-align: left;
    color: #aeaeae;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    column-gap: 2px;
}
#block-catalog-footer-menu::before, #block-footer-main-menu-menu::before, .footer-contacts-header::before {
    content: '[';
}
#block-catalog-footer-menu::after, #block-footer-main-menu-menu::after, .footer-contacts-header::after {
    content: ']';
}
#block-footer-main-menu .dropdown-toggle::after {
    content: none;
}
#block-footer-main-menu ul {
    flex-direction: column;
}
.region-footer-navigation nav li {
    width: fit-content;
}
.region-footer-navigation nav li:not(:last-child) {
    margin-bottom: 16px;
}
.region-footer-navigation nav li a:hover, .region-footer-navigation nav li a:focus {
    color: #ffffff!important;
    text-decoration: none;
}
.footer-navigation {
    padding: 40px 105.2px 32px 135.2px;
    border-right: solid 1px #404040;
    border-left: solid 1px #404040;
}
.footer-contacts {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
}
.footer-contacts-content {
    display: flex;
    flex-direction: column;
}
.footer-contacts a:not(.btn-base) {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.footer-contacts a:not(:nth-child(5)) {
    margin-bottom: 16px;
}
.footer-contacts a:nth-child(5) {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.footer-contacts a:nth-child(5)::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    background-image: url(../image/mail.svg);
    background-size: cover;
}
.footer-contacts a:nth-child(-n + 3)::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    background-image: url(../image/phone.svg);
    background-size: cover;
}
.footer-contacts a:nth-child(4)::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    background-image: url(../image/max.svg);
    background-size: cover;
}
.footer-contacts a.btn-base {
    width: 211px;
    height: 40px;
}
.footer-vesta {
    border-top: solid 1px #404040;
    background-color: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}
.footer-vesta a {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -0.32px;
    color: #ffffff;
    text-decoration: none;
    position: relative;  
}
.footer-vesta a::before {
    content: '';
    display: block;
    height: 1px;
    left: 50%;
    right: 50%;
    position: absolute;
    top: 105%;
    background-color: #ffffff;
    transition: all 0.4s ease;
}
.footer-vesta a:hover::before {
    right: 0;
    left: 0;
}

/***Модальное окно***/
.ui-widget-content {
    color: #ffffff;
    background-color: rgb(49, 49, 49);
}
.ui-widget-header {
    color: #ffffff;
    background-color: rgba(49, 49, 49, 0.4);
}
.ui-widget-content a {
    color: #ffffff;
}
.ui-dialog .ui-dialog-titlebar-close {
    --bs-btn-close-color: #000;
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
    --bs-btn-close-opacity: 0.5;
    --bs-btn-close-hover-opacity: 0.75;
    --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-btn-close-focus-opacity: 1;
    --bs-btn-close-disabled-opacity: 0.25;
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: var(--bs-btn-close-color);
    background: transparent var(--bs-btn-close-bg) center/1em auto no-repeat;
    filter: var(--bs-btn-close-filter);
    border: 0;
    border-radius: .375rem;
    opacity: var(--bs-btn-close-opacity);
    filter: invert(5);
}
.ui-dialog .ui-dialog-titlebar-close:hover {
    text-decoration: none;
    opacity: var(--bs-btn-close-hover-opacity);
}
.ui-dialog .ui-dialog-buttonpane button {
    height: 30px;
}
.ui-widget-content a:focus, .ui-widget-content a:focus-visible {
    outline: none;
    box-shadow: none;
}

/***Страница корзины***/
.cart .field--name-total-price.field--type-commerce-price{
    color: #ffffff;
}

/***Страница поиска***/
#search-api-page-block-form-search {
    display: flex;
    align-items: center;
}
#search-api-page-block-form-search .form-search.form-control {
    border-radius: 0;
}
#search-api-page-block-form-search .form-search.form-control:focus {
    box-shadow: 0 0 3px 3px #ffffff;
    border-color: #000000;
}
#search-api-page-block-form-search .search-form__submit {
    height: 38px;
    border-radius: 0;
}
#block-vesta-theme-content h2 + p ~ h3 > a, #block-vesta-theme-content h2, #block-vesta-theme-content h2 + p {
  color: #ffffff;
  text-decoration: none;
}
#block-vesta-theme-content h2 + p ~ h3 > a:hover {
    text-decoration: underline;
}

/***Страница "Оформление заказа"***/
.commerce-checkout-flow-multistep-default {
    .fieldset-legend, label, h3, .order-total-line, .fieldset-wrapper, a, .checkout-complete {
        color: #ffffff;
    }
    .form-control {
        border-radius: 0;
        &:focus {
            border-color: #000000;
            box-shadow: 0 0 3px 3px #ffffff;
        }
    }
}



/***Адаптивные стили***/
@media screen and (max-width: 1920px) {
    .container {
        max-width: 1200px;
    }
}

@media screen and (max-width: 1200px) {
    /***Шапка***/
    .header-phone-numbers a, .mail-messenger-block a.mail, .header-address {
        font-size: 12px;
    }
    .mail-messenger-block a.mail {
        margin-right: 15px;
    }

    /***Видеофон***/
    #block-background-video-on-main video {
        max-height: 700px;
    }
    .field--name-dynamic-token-fieldblock-content-main-header-on-front h1 {
        font-size: 55px;
    }

    /***Блок "Разделы каталога" на главной***/
    #block-catalog-on-front, #block-photogallery-on-front {
        margin: 40px 0;
    }
    #block-catalog-on-front .block-catalog-headers {
        font-size: 30px; 
        margin-bottom: 15px;
    }
    #block-catalog-on-front .view-header {
        margin-bottom: 30px;
    }
    .taxonomy-term--view-mode-teaser.ds-1col .field--name-taxonomy-term-title,
    #block-about-on-front .paragraph--view-mode-teaser.ds-1col .field--name-field-technology-name {
        font-size: 18px;
    }

    /***Блок "О компании" на главной***/
    #block-about-on-front .view-header {
        font-size: 35px;
        margin-bottom: 10px;
    }
    .node--type-about.node--view-mode-teaser .field--name-field-technologies {
        margin-top: 30px;
    }
    .view-id-catalog .view-content, #block-about-on-front .field--name-field-technologies {
        gap: 15px;
    }
    .view-id-catalog .views-row, #block-about-on-front .field--name-field-technologies > .field__item {
        width: calc(100% / 3 - 15px);
    }

    /***Блок "Портфолио" на главной***/
    .block-portfolio-header {
        font-size: 35px;
    }
    #block-photogallery-on-front .view-header {
        margin-bottom: 30px;
    }
    .node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item {
        border: none;
        padding: 0!important;
        width: calc(100% / 4 - 15px);
    } 
    .node--type-album.node--view-mode-teaser .field--name-field-photogallery {
        gap: 15px;
    }

    /***Блок "Контакты" на главной***/
    .block-contacts-header {
        font-size: 35px;
        margin-bottom: 10px;
    }
    #block-contacts-on-front .left-block {
        margin-right: 20px;
    }
    .block-contacts-content, .block-contacts-content a {
        font-size: 16px;
    }

    /***Блок "Веб-форма" на главной***/
    .web-form {
        padding: 40px 0;
        margin-top: 40px;
    }
    .web-form-headers {
        font-size: 35px;
    }

    /***Страница раздела каталога***/
    .view-display-id-page_catalog_section .view-content {
        gap: 15px;
    }
    .view-display-id-page_catalog_section .views-row {
        width: calc(100% / 4 - 15px);
    }



    /***Страница товара***/
    .page-product.page-product-type--vesta_product #main {
        margin-top: 20px;
    }
    .product-view-full button.slick-prev.slick-arrow {
        left: 5px;
    }
    .product-view-full button.slick-next.slick-arrow {
        right: 5px;
    }
    .product-teaser {
        gap: 25px;
    }
}

@media screen and (max-width: 991px) {
    /***Мобильная шапка***/
    #header-mob .contact-item a {
        font-size: 16px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: -0.32px;
        color: #ffffff;
        text-decoration: none;
        display: flex;
        align-items: center;
    }
    #header-mob .contact-item a::before {
        content: '';
        display: block;
        width: 18px;
        height: 18px;
        margin-right: 6px;
        background-image: url(../image/phone.svg);
        background-size: cover;
    }
    .offcanvas-header {
        max-width: 360px;
    }
    #offcanvasNav .nav .dropdown-menu {
        display: none;
        position: static;
        border: 0px solid;
        background: transparent;
        padding: 10px 0;
        border-bottom: 1px solid #BDBDBD;
        border-radius: 0;
    }
    #offcanvasNav li.nav-item {
        width: 100%;
    }

    /***Видеофон***/
    #block-background-video-on-main video {
        max-height: 500px;
    }
    .field--name-dynamic-token-fieldblock-content-main-header-on-front h1 {
        font-size: 50px;
    }
    .btn-base, .webform-submission-callback-form .btn-primary, 
    .modal-content .btn-primary, .button--add-to-cart, 
    .product-teaser-info .field--widget-commerce-quantity span {
        font-size: 12px;
    }
    .field--name-dynamic-token-fieldblock-content-link-on-video a.on-video-link {
        width: 195px;
        height: 35px;
        padding-left: 15px;
    }
    .field--name-dynamic-token-fieldblock-content-link-on-video a.on-video-link::before {
        bottom: 7px;
    }

    /***Блок "Разделы каталога" на главной***/
    #block-catalog-on-front .block-catalog-headers {
        font-size: 25px;
    }
    .btn-base:not(.on-video-link) {
        height: 35px!important;
        width: fit-content!important;
        padding: 0 10px;
    }
    .taxonomy-term--view-mode-teaser.ds-1col .name-block, #block-about-on-front .paragraph--view-mode-teaser.ds-1col .name-block {
        left: 15px;
        right: 15px;
    }
    .taxonomy-term--view-mode-teaser.ds-1col .field--name-taxonomy-term-title, 
    #block-about-on-front .paragraph--view-mode-teaser.ds-1col .field--name-field-technology-name {
        font-size: 16px;
    }

    /***Блок "О компании" на главной***/
    #block-about-on-front .view-header, .block-portfolio-header, .block-contacts-header, .web-form-headers {
        font-size: 30px;
    }

    /***Блок "Контакты" на главной***/
    #block-contacts-on-front .field--name-body {
        flex-wrap: wrap;
    }
    #block-contacts-on-front .left-block {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .block-contacts-content label {
        font-weight: 800;
        color: #ffffff;
    }
    .mapContainer {
        height: 250px!important;
    }

    /***Блок "Веб-форма" на главной***/
    .region-web-form {
        flex-wrap: wrap;
    }
    #block-text-near-callback-form {
        max-width: 100%;
        margin-bottom: 20px;
    }
    #block-callback-form .webform-submission-callback-form {
        max-width: 100%;
    }
    .webform-submission-callback-form .js-form-item-privacy {
        margin-bottom: 15px;
    }

    /***Подвал***/
    .footer-navigation {
        border: none;
        padding: 0;
    }
    .logo-footer-region, .footer-contacts {
        padding: 0;
    }
    #footer .container {
        padding: 20px 15px;
    }
    #scrollToTop {
        bottom: 60px;
        right: 20px;
    }

    /***Страница раздела каталога***/
    .view-display-id-page_catalog_section .views-row {
        width: calc(100% / 3 - 15px);
    }

    /***Страница товара***/
    .product-teaser .product-teaser-image {
        max-width: 400px;
    }
}

@media screen and (max-width: 767px) {
    /***Видеофон***/
    .field--name-dynamic-token-fieldblock-content-main-header-on-front h1 {
        font-size: 40px;
    }
    #block-background-video-on-main video {
        max-height: 450px;
    }

    /***Блок "Разделы каталога" на главной***/
    #block-catalog-on-front .block-catalog-headers {
        font-size: 20px;
    }
    .block-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    #block-catalog-on-front, #block-photogallery-on-front {
        margin: 20px 0;
    }
    .view-id-catalog .views-row, #block-about-on-front .field--name-field-technologies > .field__item {
        width: calc(100% / 2 - 15px);
    }

    /***Блок "О компании" на главной***/
    #block-about-on-front .view-header, .block-portfolio-header, .block-contacts-header, .web-form-headers {
        font-size: 25px;
    }
    .node--type-album.node--view-mode-teaser .field--name-field-photogallery .field__item {
        width: calc(100% / 2 - 15px);
    }
    .webform-submission-callback-form .btn-primary, .modal-content .btn-primary {
        height: 30px;
    }

    /***Подвал***/
    .text-footer, .footer-site-name, .footer-privacy a {
        font-size: 14px;
    }
    #footer .container {
        flex-wrap: wrap;
        gap: 15px;
    }
    #block-catalog-footer-menu, #block-footer-main-menu-menu, .footer-contacts-header, .footer-vesta a {
        font-size: 14px;
    }
    #block-vesta-theme-osnovnayanavigaciya-4 ul:not(.contextual-links) li a, .region-footer-navigation nav li a,
    .footer-contacts a:not(.btn-base) {
        font-size: 12px;
    }

    /***Страница раздела каталога***/
    .view-display-id-page_catalog_section .views-row {
        width: calc(100% / 2 - 15px);
    }

    /***Страница раздела каталога***/
    .product-teaser {
        flex-wrap: wrap;
    }
    .product-teaser-info {
        order: 1;
    } 
    .product-teaser-image {
        order: 2;
    }
    .product-teaser .product-teaser-image, .product-teaser .product-teaser-info {
        max-width: 100%;
    }
}

@media screen and (max-width: 576px) {
    /***Мобильная шапка***/
    .col-phone .btn-base {
        font-size: 10px;
        padding: 0 5px;
        height: 30px!important;
    }
    #header-mob .col-logo img {
        max-width: 100px;
    }

    /***Видеофон***/
    .field--name-dynamic-token-fieldblock-content-main-header-on-front h1 {
        font-size: 30px;
    }
    #block-background-video-on-main .text-block {
        bottom: 10px;
    }

    /***Блок "Разделы каталога" на главной***/
    #block-catalog-on-front .block-catalog-headers {
        flex-wrap: wrap;
    }
    .btn-base, .webform-submission-callback-form .btn-primary, .modal-content .btn-primary {
        font-size: 10px;
    }
    .view-id-catalog .views-row, #block-about-on-front .field--name-field-technologies > .field__item {
        width: 100%;
    }

    /***Блок "Контакты" на главной***/
    .block-contacts-content > div:not(:last-child) {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    .block-contacts-content, .block-contacts-content a {
        font-size: 14px;
    }
    .block-contacts-content .contact-content {
        display: flex;
        flex-wrap: wrap;
        row-gap: 5px;
    }

    /***Блок "Веб-форма" на главной***/
    .web-form {
        padding: 20px 0;
        margin-top: 20px;
    }
    .web-form-subheaders {
        font-size: 14px;
    }
    .webform-submission-callback-form .form-control {
        font-size: 12px;
    }
    .webform-submission-callback-form .webform-element-description, .webform-submission-callback-form .webform-element-description a {
        font-size: 12px;
    }
    .webform-submission-callback-form input[type="checkbox"] {
        width: 14px;
        height: 14px;
        min-width: 14px;
    }
    .btn-base:not(.on-video-link) {
        height: 30px !important;
    }

    /***Страница раздела каталога***/
    .view-display-id-page_catalog_section .views-row {
        width: calc(100% / 2 - 7.5px);
    }
    .product-teaser {
        gap: 0;
    }
    .price-block, .product-teaser-info .field--name-body {
        font-size: 14px;
    }


}

@media screen and (max-width: 480px) {
    /***Страница раздела каталога***/
    .view-display-id-page_catalog_section .views-row {
        width: 100%;
    }
}


