@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/***Базовые стили***/
.page {
    background-color: #f1f1f1;
    font-family: Inter;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
}
.front .main {
    margin-bottom: 0!important;
   /* height: 0;*/
}

/***Шапка***/
#header {
/*    background-image: url(../image/custom-back.jpg);*/
    background-size: cover;
    background-repeat: no-repeat;
}









a.callback::after {
    content: '';
    display: block;
    height: 1px;
    width: 0;
    background-color: #b67929;
    position: absolute;
    bottom: 100%;
    transition: all 0.6s ease;
}
a.callback:hover::after {
    width: 100%;
    transition: all 0.6s ease;
}

/***Главное меню в шапке***/
.navigation {
    /*padding: 18px 0;*/
    border-top: 1px solid #d7d7d7;
}
#superfish-main li:not(:last-child) {
    margin-right: 14.1px;
}
#superfish-main li.menuparent {
    margin-right: 38.1px;
}
#superfish-main li a {
    padding: 0;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
    font-stretch: condensed;
    line-height: normal;
    color: #1c1d20;
    text-transform: uppercase;
}
#superfish-main li a:hover {
    color: #b67929;
    text-decoration: none;
}
#superfish-main .sf-sub-indicator::after {
    content: '';
    display: block;
    left: 2px;
    width: 8px;
    height: 8px;
    border-style: solid;
    rotate: 45deg;
    border-color: #1C1D20;
    border-width: 0 1.5px 1.5px 0;
}
#superfish-main li a:hover .sf-sub-indicator::after {
    border-color: #b67929;
}

/***Иконка поиска***/
#block-search-icon .field--name-body a:hover img {
    scale: 1.1;
    transition: all 0.4s ease;
}
#block-search-icon {
    margin: 0 28.2px 0 14.1px;
    position: relative;
}
#block-search-icon::after {
    content: '';
    display: block;
    background-color: #d7d7d7;
    width: 1px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(100% + 14.1px);
}

/***Блок корзины в навигации***/
.cart-block--contents {
    display: flex;
    position: relative;
    width: max-content;
    background: transparent;
    padding-top: 2.5px;
    margin-left: 10px;
}
.cart-block--contents__items {
    overflow-y: auto;
    font-size: 14px;
    font-weight: 600;
    color: #1c1d20;
    text-transform: uppercase;
}
.cart-block--contents__inner {
    padding: 0;
}
.cart--cart-block {
    display: flex;
}
.view-id-commerce_cart_block .views-field-total-price__number .field-content::after {
    content: 'РУБ.';
    margin-left: 5px;
}
.cart-block--link__expand .cart-block--summary__icon {
    transition: all 0.4s ease;
    position: relative;
}
.cart-block--link__expand .cart-block--summary__icon:hover {
    transform: rotateZ(-10deg);
    right: -2px;
    transition: all 0.6s ease;
}

/***Слайдер***/
.slider-block {
    margin-bottom: 0!important;
}
.slider-block {
    
}
.node--type-slide.node--view-mode-default .field--name-field-image {
    float: right;
}
.node--type-slide.node--view-mode-default .field--name-field-image img {
    clip-path: polygon(100% 0, 10.5% 0, 0 100%, 100% 100%);
}
.node--type-slide.node--view-mode-default .content {
    position: absolute;
    top: 158px;
    bottom: 25px;
    left: 0;
    right: 0;
}
.node--type-slide.node--view-mode-default .content > div {
    max-width: 477px;
}
.node--type-slide.node--view-mode-default .field--name-field-slide-title,
.node--type-slide.node--view-mode-default .field--name-field-slide-title h1 {
    font-family: El Messiri;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
}
.node--type-slide.node--view-mode-default .field--name-field-slide-title h1 {
    font-size: 44px;
}
.node--type-slide.node--view-mode-default .field--name-field-slide-title {
    position: relative;
}
.node--type-slide.node--view-mode-default .field--name-field-slide-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #b67929;
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
}
.node--type-slide.node--view-mode-default .field--name-body {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: #fff;
    margin: 50px 0 30px;
}
.node--type-slide.node--view-mode-default .field--name-field-slide-link a {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
    font-stretch: condensed;
    color: #fcfcfc;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 172px;
    height: 52px;
    border: solid 4px #b67929;
}
.node--type-slide.node--view-mode-default .field--name-field-slide-link a:hover {
    text-decoration: none;
    border-color: #E49B3B;
}

/***Блок "Преимущества"***/

#block-benefits-on-front .block-title, #block-catalog-on-front .block-title, 
#block-consultation-on-main .field--name-block-description, #block-tovary-on-front .block-title,
#block-stocks-on-front .block-title, #block-video-on-front .block-title,
#block-reviews-on-front .block-title {
    font-family: El Messiri;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.2;
    color: #1c1d20;
    margin-bottom: 52px;
    position: relative;
}
#block-benefits-on-front .block-title::after, #block-catalog-on-front .block-title::after, 
#block-consultation-on-main .field--name-block-description::after, #block-tovary-on-front .block-title::after,
#block-stocks-on-front .block-title::after, #block-video-on-front .block-title::after,
.node--type-about.node--view-mode-teaser .field--name-field-header-on-front::after,
#block-reviews-on-front .block-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #b67929;
    position: absolute;
    top: calc(100% + 16px);
}
#block-benefits-on-front .view-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /*column-gap: 30px;
    row-gap: 15px;*/
}

.block-content--type-benefit.block-content--view-mode-token .field--name-block-description {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #1c1d20;
    margin: 25px 0 10px;
}
.block-content--type-benefit.block-content--view-mode-token .field--name-body {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: #757579;
}

/***Блок "Каталог" на главной***/
.catalog-block {
    margin-bottom: 0!important;
}
#block-catalog-on-front .block-title {
    max-width: 770px;
    margin-bottom: 60px;
}
.view-display-id-on_front {
    position: unset;
}
.view-header {
    position: absolute;
    top: 55px;
    right: 0;
}
.view-header a, .view-footer a, #block-consultation-on-main .field--name-field-linked-web-form a,
.node--type-about.node--view-mode-teaser .field--name-node-link a {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
    font-stretch: condensed;
    color: #1c1d20;
    padding: 18px 24px;
    border-radius: 4px;
    border: solid 4px #b67929;
    text-transform: uppercase;
    display: block;
    width: fit-content;
    margin: 0 auto;
}
.view-header a:hover, .view-footer a:hover {
    text-decoration: none;
    border-color: #E49B3B;
}
.view-footer {
    margin-top: 15px;
    display: none;
}
.view-id-catalog.view-display-id-on_front .view-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
/*
.view-id-catalog.view-display-id-on_front .views-row {
    width: calc(100% / 4 - 30px);
}*/
.taxonomy-term--type-catalog.taxonomy-term--view-mode-teaser {
    border-radius: 8px;
    background-color: #fcfcfc;
    position: relative;
}
.taxonomy-term--type-catalog.taxonomy-term--view-mode-teaser .text-block {
    padding: 10px 10px 30px;
}
.taxonomy-term--type-catalog.taxonomy-term--view-mode-teaser .field--name-taxonomy-term-title a {
    font-size: 20px;
    font-weight: 600;
    color: #1c1d20;
    text-align: center;
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto;
}
.taxonomy-term--type-catalog.taxonomy-term--view-mode-teaser .field--name-taxonomy-term-title a::before {
    content: '';
    display: block;
    background-color: #1c1d20;
    height: 1px;
    width: 0;
    position: absolute;
    top: 100%;
    transition: all 0.2s ease;
}
.taxonomy-term--type-catalog.taxonomy-term--view-mode-teaser .field--name-taxonomy-term-title a:hover {
    text-decoration: none;
}
.taxonomy-term--type-catalog.taxonomy-term--view-mode-teaser .field--name-taxonomy-term-title a:hover::before {
    width: 100%;
    transition: all 0.4s ease;
}
.taxonomy-term--type-catalog.taxonomy-term--view-mode-teaser .field--name-field-catalog-image a {
    overflow: hidden;
    display: flex;
    border-radius: 8px;
}
.taxonomy-term--type-catalog.taxonomy-term--view-mode-teaser .field--name-field-catalog-image img {
    border-radius: 8px;
    width: 100%;
    transition: all 0.4s ease;
}
.taxonomy-term--type-catalog.taxonomy-term--view-mode-teaser .field--name-field-catalog-image a:hover img {
    scale: 1.2;
    transition: all 0.6s ease;
}

/***Блок "Консультация" на главной***/
.consultation-block {
    
}
#block-consultation-on-main {
    padding: 72px 60px;
    border-radius: 8px;
    background-image: url(../image/back-consultation.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}
.consultation-block .container {
    position: relative;
}
.consultation-block .container::before {
    content: '';
    display: block;
    background-color: #1f446d;
    border-radius: 8px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    right: 15px;
    transform: rotate(-2deg);
}
#block-consultation-on-main .field--name-block-description  {
    color: #fcfcfc;
    margin-bottom: 50px;
}
#block-consultation-on-main .field--name-block-description::after {
    background-color: #fcfcfc;
}
#block-consultation-on-main .field--name-body {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: #fcfcfc;
}
#block-consultation-on-main .field--name-field-linked-web-form,
.node--type-about.node--view-mode-teaser .field--name-node-link {
    margin-top: 30px;
    position: relative;
    width: fit-content;
}
#block-consultation-on-main .field--name-field-linked-web-form a, 
.node--type-about.node--view-mode-teaser .field--name-node-link a  {
    margin: 0;
    color: #fcfcfc;
    border-color: #fcfcfc;
    position: relative;
}
#block-consultation-on-main .field--name-field-linked-web-form a::before,
.node--type-about.node--view-mode-teaser .field--name-node-link a::before {
    content: '';
    display: block;
    height: 2px;
    background-color: #fcfcfc;
    position: absolute;
    bottom: calc(100% - 2px);
    left: 0;
    right: 100%;
    transition: all 0.4s ease;
}
#block-consultation-on-main .field--name-field-linked-web-form a::after,
.node--type-about.node--view-mode-teaser .field--name-node-link a::after {
    content: '';
    display: block;
    height: 2px;
    background-color: #fcfcfc;
    position: absolute;
    top: calc(100% - 2px);
    left: 100%;
    right: 0%;
    transition: all 0.4s ease;
}
#block-consultation-on-main .field--name-field-linked-web-form::before,
.node--type-about.node--view-mode-teaser .field--name-node-link::before {
    content: '';
    display: block;
    width: 2px;
    background-color: #fcfcfc;
    position: absolute;
    left: 4px;
    top: 100%;
    bottom: 0;
    transition: all 0.4s ease;
}
#block-consultation-on-main .field--name-field-linked-web-form::after,
.node--type-about.node--view-mode-teaser .field--name-node-link::after {
    content: '';
    display: block;
    width: 2px;
    background-color: #fcfcfc;
    position: absolute;
    right: 4px;
    top: 0;
    bottom: 100%;
    transition: all 0.4s ease;
}
#block-consultation-on-main .field--name-field-linked-web-form a:hover::before,
.node--type-about.node--view-mode-teaser .field--name-node-link a:hover::before {
    right: 0;
    transition: all 0.6s ease;
}
#block-consultation-on-main .field--name-field-linked-web-form a:hover::after,
.node--type-about.node--view-mode-teaser .field--name-node-link a:hover::after {
    left: 0;
    transition: all 0.6s ease;
}
#block-consultation-on-main .field--name-field-linked-web-form:hover::before,
.node--type-about.node--view-mode-teaser .field--name-node-link:hover::before {
    top: 0;
    transition: all 0.6s ease;
}
#block-consultation-on-main .field--name-field-linked-web-form:hover::after,
.node--type-about.node--view-mode-teaser .field--name-node-link:hover::before {
    bottom: 0;
    transition: all 0.6s ease;
}
#block-consultation-on-main .field--name-field-linked-web-form a:hover,
.node--type-about.node--view-mode-teaser .field--name-node-link a:hover {
    text-decoration: none;
}

/***Блок "Популярные товары" на главной***/
#block-tovary-on-front .view-header {
    top: 16px;
}
#block-tovary-on-front .view-content {
    max-height: 573px;
    border-bottom: 1px solid #cacaca;
}
#block-tovary-on-front .slick-list {
    padding-top: 15px;
    border-radius: 8px;
   /* margin: 0 -15px;*/
}
#block-tovary-on-front .slick-next, #block-stocks-on-front .slick-next, #block-reviews-on-front .slick-next {
  right: -80px;
}
#block-tovary-on-front .slick-prev, #block-stocks-on-front .slick-prev, #block-reviews-on-front .slick-prev {
  left: -80px;
}
#block-tovary-on-front .views-row {
 /*   margin: 0 15px;*/
}
#block-tovary-on-front .slick-prev, #block-tovary-on-front .slick-next {
   top: 36%;
}
#block-tovary-on-front .block-title {
    margin-bottom: 45px;
}
.product-teaser {
    border-radius: 8px;
    position: relative;
    transition: all 0.2s ease;
    min-height: 545px;
}
.product-teaser-content {
    border-radius: 8px;
}
.product-teaser .top-block {
    background-color: #fcfcfc;
    padding: 10px 10px 30px ;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
}
.product-teaser .field--name-field-label-on-product {
    width: fit-content;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1;
}
.product-teaser .field--name-field-label-on-product .field__item {
    padding: 4px 15px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #fcfcfc;
    background-color: #b67929;
    position: relative;
}
.product-teaser .field--name-field-label-on-product .field__label {
    font-size: 0;
    transform: rotate(-6deg);
    border-radius: 4px;
    background-color: #1f446d;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.product-teaser .field--name-field-image-product-view a {
    display: flex;
}
.product-teaser .field--name-field-image-product-view a::before {
    content: '';
    display: block;
    border-radius: 8px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.product-teaser .text-block {
    padding: 10px 10px 0;
}
.product-teaser .field--name-field-select-catalog {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.57;
    color: #757579;
    padding: 0 4px;
    border-radius: 4px;
    background-color: #f1f1f1;
    width: fit-content;
}
.product-teaser .field--name-title {
    margin: 5px 0 15px;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: #1c1d20;
}
.product-teaser .bottom-block {
    background-color: transparent;
    position: relative;
    min-height: 52px;
    border-radius: 0 0 8px 8px;
}
.commerce-order-item-add-to-cart-form {
    display: flex;
    border-radius: 0 0 8px 8px;
}
.commerce-order-item-add-to-cart-form .form-actions,
.commerce-order-item-add-to-cart-form .form-item {
    margin-top: 0;
    margin-bottom: 0;
}
.commerce-order-item-add-to-cart-form .field--name-quantity label {
    display: none;
}
.commerce-order-item-add-to-cart-form .quantity-wrapper {
    display: flex;
    align-items: center;
    padding: 14px 8px;
}
.commerce-order-item-add-to-cart-form .quantity-wrapper span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 0;
    background-position: center;
    transition: all 0.1s ease;
    background-size: auto;
    background-repeat: no-repeat;
    filter: invert(50%);
}
.commerce-order-item-add-to-cart-form .quantity-wrapper span:hover {
    filter: invert(0);
    transition: all 0.1s ease;
}
.commerce-order-item-add-to-cart-form .quantity-wrapper .form-control {
    display: flex;
    -moz-appearance: textfield;
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #1c1d20;
    padding: 0 5px;
    height: 24px;
    border: none;
    text-align: center;
    border-radius: 0;
    background-color: #f1f1f1;
}
.commerce-order-item-add-to-cart-form .quantity-wrapper .form-control:focus {
    box-shadow: none;
}
.commerce-order-item-add-to-cart-form .decrement-btn {
    background-image: url(../image/minus.svg);
}
.commerce-order-item-add-to-cart-form .increment-btn {
    background-image: url(../image/plus.svg);
}
.commerce-order-item-add-to-cart-form .form-actions .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 8px 0;
    width: 135px;
    height: 52px;
    background-color: #1f446d;
    border: none;
    padding: 0;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
    font-stretch: condensed;
    line-height: normal;
    color: #fcfcfc;
    text-transform: uppercase;
}
.commerce-order-item-add-to-cart-form .form-actions .btn:hover, .commerce-order-item-add-to-cart-form .form-actions .btn:focus {
    background-color: #b67929d9
}
.product-teaser-content .commerce-order-item-add-to-cart-form {
    position: absolute;
    bottom: 101%;
    transition: all 0.2s ease;
}
.product-teaser-content:hover {
    box-shadow: 1px 8px 32px 0 rgba(205, 205, 205, 0.64);
    transition: all 0.4s ease;
}
.product-teaser-content:hover .top-block {
    box-shadow: none;
    border-radius: 8px 8px 0 0;
    transition: all 0.4s ease;
}
.product-teaser-content:hover .commerce-order-item-add-to-cart-form {
    transition: all 0.4s ease;
    bottom: 0;
}

/***Блок "Акции" на главной***/
.stocks-block {
  /*  margin: 100px 0 190px!important;*/
}
#block-stocks-on-front .view-header {
    top: 8px;
}

#block-stocks-on-front .slick-list {

    padding: 15px 0 15px;
}

.node--type-stock.node--view-mode-teaser {
    border-radius: 8px;
    box-shadow: 1px 8px 15px 0 rgba(205, 205, 205, 0.64);
    background-color: #fcfcfc;
}
.node--type-stock.node--view-mode-teaser .top-block {
    padding: 10px 10px 0;
}
.node--type-stock.node--view-mode-teaser .bottom-block {
    padding: 30px 20px;
}
.node--type-stock.node--view-mode-teaser .field--name-field-validity-period-custom,
.node--type-stock.node--view-mode-teaser .field--name-field-validity-period {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: #757579;
    margin-bottom: 15px;
}
.node--type-stock.node--view-mode-teaser .field--name-node-title a {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #1c1d20;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    display: -webkit-box;
    line-clamp: 3;
    box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 84px;
}



/***Блок "О компании" на главной***/
.about-block {
   
}
#block-about-on-front {
    background-image: url(../image/about.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 8px;
    padding: 70px 60px 72px;
}
.about-block .container {
    position: relative;
}
.about-block .container::before {
  content: '';
  display: block;
   background-color: #b67929;
  border-radius: 8px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  right: 15px;
  transform: rotate(-2deg);
}
.node--type-about.node--view-mode-teaser .field--name-field-header-on-front {
    font-family: El Messiri;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.2;
    color: #fcfcfc;
    margin-bottom: 60px;
    position: relative;
}
.node--type-about.node--view-mode-teaser .field--name-field-header-on-front::after {
    background-color: #fcfcfc;
}
.node--type-about.node--view-mode-teaser .field--name-field-short-description-front {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 40px;
}
.node--type-about.node--view-mode-teaser .field--name-node-link {
    margin-top: 0;
}
.node--type-about.node--view-mode-teaser .field--name-node-link a {
    border-color: #b67929;
}
.node--type-about.node--view-mode-teaser .field--name-node-link::before,
.node--type-about.node--view-mode-teaser .field--name-node-link::after,
.node--type-about.node--view-mode-teaser .field--name-node-link a::before,
.node--type-about.node--view-mode-teaser .field--name-node-link a::after {
    background-color: #b67929;
}



