/**
Theme Name: KBLab RU Казахстан
Theme URI: https://wplife.ru/
Author: Alexander Parkhomenko
Author URI: https://wplife.ru/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=kblab_theme
Description: Тема разработана для компании KBLab Казахстан, русская версия
Version: 2.0
Requires at least: 5.3
Tested up to: 6.6
Requires PHP: 7.2
License: Все права принадлежат компании ТОО "KBLab"
Text Domain: kblab
Domain Path: /lang

// Примечание: Все CSS файлы загружаются из папки assets/css/
 */

:root {
  --font-size-small: 12px;
  --font-size-medium: 16px;
  --font-size-large: 20px;
  --font-size-h1: 32px;
  --font-size-h2: 24px;
  --font-size-h3: 36px;
  --font-size-h4: 16px;
  --font-size-18: 18px;
  --font-size-15: 15px;
  --font-size-14: 14px;
  --font-size-13: 13px;
  --font-size-40: 40px;
  --font-size-big: 60px;
}

.contactHeaderMobile,
#menuMobile,
.burger,
#burger,
.icon1mobile,
.icoPhoneMobile,
.icoEmailMobile
{
  display: none;
}
body::-webkit-scrollbar {
/* Скрываем scrollbar для Chrome, Safari и Opera */
  display: none;
/* Скрываем scrollbar для IE, Edge и Firefox */
  -ms-overflow-style: none;  /* IE и Edge */
  scrollbar-width: none;  /* Firefox */
}
*,
a:focus,
a:focus-visible {
  outline: none;
  margin:0;
}
body{
  background-color: #f5f5f5;
  font-family: "Montserrat", sans-serif, system-ui;
  font-optical-sizing: auto;
  font-style: normal;
  margin: 0 auto;
  font-size: var(--font-size-medium);
  max-width: 1440px;
  width: 100%;
}
/* Header */
.header {
  height: max-content;
  position: relative;
  padding: 10px 80px;
  display:flex;
  align-items: center;
  justify-content: space-between;
}
.header .logo{
  width: 415px;
  margin-right:25px;
  display:flex;
  align-items: center;
}
.header .logo a img{
  float:left;
}
.header .logo span,
.header .logo .header-description
 {
  margin-left: 10px;
  color: #003678;
  font-size: var(--font-size-15);
  font-weight: 700;
}
.header .imgLogo{
  width: 86px;
  height: 86px;
  max-width: 86px;
  max-height: 86px;
}
#content,
.site-content
{
  max-width:1440px;
  width:100%;
  margin: 0 auto;
  background-color: #fff;
}
.header .search{
  margin-right:25px;
  width: 540px;
}
.flag{
  margin-right:41px;
}
.contactHeader .phoneHeader{
  display:flex; align-items: center;
}
.contactHeader .phoneHeader div{
  display:flex;flex-direction: column;
}
.contactHeader .phoneHeader div a{
  color: black;
  font-weight: 400;
  text-decoration:unset;
}
.contactHeader .emailHeader{
  display:flex;
  margin-top:27px;
  align-items: center;
}
.contactHeader .emailHeader div a {
  color: black;
  font-weight: 400;
}
.header .search input {
  border:unset !important;
}
#searchform{
  width: 319px;
  height: 46px;
  position: relative;
  border:unset;
}
/* Home */
a img.Slidebutton {
  left: 76px;
  bottom: 0;
  position: relative;
  display: block;
  transition: transform 0.3s ease;
}
a img.Slidebutton:hover,
.submitFormHome:hover,
.submitForm:hover
{
  transition: transform 0.3s ease;
  transform: translateY(-10px);
}
/* Footer */
.footer{
  position: relative;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  background: white;
}
.logoFooter{
  margin-left: 80px;
  margin-top: 60px;
}
.footerUp{
  margin-bottom: 91px;
  margin-top: 61px;
  margin-left: 290px;
  margin-right: 290px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
.phoneFooter{
  display:flex;
  align-items: center;
}
.phoneFooter a,
.emailFooter a,
.adressFooter span{
  color:black;
  font-size: var(--font-size-large);
  display:block;
}
.phoneFooter a{
  text-decoration: unset;
}
.emailFooter,
.adressFooter
{
  display:flex;
  align-items: center;
  margin-top:45px;
}
.footerMenuLeft{
  max-width: 433px;
  color:black;
  font-size: var(--font-size-large);
}
.footerMenuLeft img{
  margin-right:13px;
}
.footerMenuLeft,
.footerMenuCenter{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}
.footerMenuCenter{
  width: 154px;
}
.footerMenuRight{
  width: 182px;
}
.footerMenuRight a,
.footerMenuCenter a{
  color: black;
  font-size: var(--font-size-large);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
  text-decoration: unset;
}
.footerDown{
  width:100%;
  height: inherit;
  background:linear-gradient(241deg, #003678 38%, #4BA5D1 100%);
  border-top-left-radius: 78px;
  border-top-right-radius: 78px;
}
.copyright{
  text-align: center;
  position: relative;
  color: rgba(255, 255, 255, 0.54);
  font-size: var(--font-size-large);
  margin-top: 50px;
  padding-bottom: 40px;
}
.footerMenuDown{
  padding-top: 80px;
  padding-left: 110px;
  padding-right: 110px;
  column-gap: 45px;
  display:flex;
  position:inherit;
  justify-content: space-between;
}
.footerMenuDown a{
  display: inline-block;
  color:white;
  font-size: var(--font-size-medium);
  text-decoration: unset;
}
.container,
.content
{
  max-width:1280px;
}
.container{
  margin: 32px auto;
}
.warningForm{
  left: 3px;
  margin: 0 auto;
  margin-bottom: 10px;
  position: relative;
  margin-right: 57px;
}
.warningForm span a{
  color: rgba(0, 0, 0, 0.25);
  font-size: var(--font-size-13);
  font-weight: 500;
}
.warningForm span{
  color: rgba(0, 0, 0, 0.25);
  font-size: var(--font-size-13);
  margin-bottom:23px;
}
.wpcf7-form-control-wrap{
  display: block !important;
}
.submitForm {
    background-repeat: no-repeat;
    text-indent: -134px;
}
/* Home */
.block1Home {
  width: 100%;
  height: 620px;
  position: relative;
}
.block1Home h1 {
  left: 80px;
  margin-top: 37px;
  position: relative;
  display: block;
  color: black;
  font-size: var(--font-size-h1);
  font-weight: 700;
  margin-right: 300px;
}
.block1Home span{
  width: 44%;
  left: 80px;
  margin-top: 80px;
  display: block;
  position: relative;
  color: black;
  font-size: var(--font-size-medium);
  font-weight: 500;
}
.Subashome {
  right:0;
  bottom: 0px;
  position: absolute;
}
.block1Home a{
  display: block;
  position: absolute;
  bottom: 0;
}
.block2Home,
.block3Home,
.block4Home
{
  width: 100%;
  position: relative;
}
.block2Home h2,
.block4Home h2
{
  left: 80px;
}
.block2Home h2,
.block3Home h2,
.block4Home h2
{
  margin-top:99px;
  margin-bottom: 40px;
  position: relative;
  color: black;
  font-size: var(--font-size-big);
  font-weight: 700;
}
.block2Home div {
  min-height: 175px;
  margin-left: 80px;
  margin-right: 80px;
  margin-bottom: 45px;
  position: relative;
  background: rgba(108.33, 199.70, 244.36, 0.50);
  border-radius: 10px;
  display: flex;
  gap:45px;
  padding-left: 45px;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.block2Home h3,
.block2Home h4
 {
  position: relative;
  color: #003678;
  font-weight: 500;
}
.block2Home h3{
  font-size: var(--font-size-h2);
}
.block2Home h4{
  font-size: var(--font-size-h4);
}
.block2Home p{
  position: relative;
  color: #003678;
  font-size: var(--font-size-medium);
  font-weight: 500;
  margin-top:16px;
  margin-bottom: 16px;
  text-align: justify;
}
.block2Home img{
  position: relative;
  margin-top:40px;
  margin-bottom: 40px;
  width:113px;
  height: 113px;
}

.block3Home {
    padding-left: 80px;
}
.block3Home > div {
    display: flex;
    max-width: 1360px;
    width: 95%;
    position: relative;
    margin-bottom: 16px;
}

.block3Home > div:nth-child(odd) {
    justify-content: flex-end; /* Правый выравнивание для четных div */
}

.block3Home > div:nth-child(even) {
    justify-content: flex-start; /* Левый выравнивание для четных div */
}

.block3Home > div > div {
    width: 58%;
    top: 0;
    position: relative;
    background: linear-gradient(111deg, #003678 0%, #4BA5D1 100%);
    border-radius: 10px;
    display: flex; /* flexbox для внутреннего div */
    flex-direction: column; /* Устанавливаем вертикальное расположение */
    justify-content: flex-end; /* Прижимаем содержимое к низу */
    padding-bottom: 30px; /* Отступ от низа прижимает span */
}
.block3Home .even div {
  margin-right: 80px;
  width: calc(58% + 80px);
}
.block3Home > div > div:nth-child(odd) {
    left: 0; /* Левое расположение для нечетных div */
    vertical-align: top; /* Выравнивание по верхнему краю */
}

.block3Home > div > div:nth-child(even) {
    right: 0px; /* Положение вправо для четных div */
}

.block3Home span,
.block3Home p
{
    display: block;
    width: 66%;
    height: auto; /* Убираем фиксированную высоту */
    background: white;
    border-radius: 10px;
    padding: 30px;
    color: #003678;
    font-size: var(--font-size-large);
    font-weight: 400;
    margin-top: auto; /* Это свойство можно оставить, чтобы span прижимался к низу */
    margin-bottom: 0; /* Убираем нижний отступ */
}

.block3Home .odd p {
    margin-left: 30px; /* Отступ слева для нечетных span */
}

.block3Home .even p
{
    margin-right: 30px; /* Отступ справа для четных span */
    align-self: flex-end; /* Прижимаем даже к правому краю */
}
.block3Home h3 {
    padding-left: 30px;
    padding-top: 43px;
    position: relative;
    color: white;
    font-size: var(--font-size-h3);
    font-weight: 500;
    text-transform: uppercase;
}
.block3Home img {
  top: 0px;
  position: relative;
  z-index: 1;
}
.imgBlock31 {
  display: inline-block;
  /*width: 814px;*/
  width: 57%;
  /*height: 698px;*/
  height: auto;
  right:0;
  top:0;
  margin-left: -20%;
}
.imgBlock32 {
  display: inline-block;
  max-width: 828px;
  width: 58%;
  height: auto;
  left: 0px;
  top:0;
  margin-right: -16%;
}
.imgBlock33 {
  display: inline-block;
  max-width: 714px;
  width: 58%;
  height: auto;
  right:0;
  margin-left: -20%;
}
/* Блок 4 домашняя */
.block4Home h2{
  color: black;
  font-size: var(--font-size-big);
  font-weight: 700;
  margin-bottom:43px;
}
.block4Home > div {
  max-width: 1360px;
  width: 100%;
  left: 80px;  position: relative;
  margin-top:10px;
  display: inline-flex;
}
.block4Home > div > div{
  max-width: 842px;
  width: 58%;
  background: #1E629B;
  border-radius: 10px;
  position:relative;
  margin-bottom:60px;
}
.block4Home h3,
.block4Home > div > div > span
{
  padding-left: 40px;
  color: white;
  font-size: var(--font-size-h3);
  font-weight: 500;
}
.block4Home h3{
  padding-top: 40px;
  text-transform: uppercase;
}
.block4Home > div > div > span {
  display: block;
  padding-bottom:40px;
}
.block4Home > div > div > div{
  flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 45px; display: inline-flex;
  margin-left: 40px;
}
.block4Home .divspan{
  color: white;
  font-size: var(--font-size-large);
  font-weight: 500;
}
.block4Home .buttonmore{
  width: 439px;
  height: 62px;
  right: 48px;
  bottom: 36px;
  position: absolute;
}
.block4Home > div > img{
  right: 0px;
  position: relative;
/*  width: 41%;*/
  height: auto;
}
.block4Home .imgsubas{
  /*width: 517px;*/
  /*width: 41%;*/
  /* height: 598px; */
  height: auto;
}
/* FormHome */
.formhome{
  margin-bottom: 105px;
  position: relative;
  padding-left: 80px;
}
.formhome h2{
  margin-top: 5px;
  color: black;
  font-size: var(--font-size-big);
  font-weight: 700;
}
.formhome > span {
  margin-top: 20px;
  color: rgba(0, 0, 0, 0.55);
  font-size: var(--font-size-40);
  font-weight: 500;
}
.formhome .imgformhome {
//*  width: 494px;*/
  margin-top: 100px;
  position: relative;
  width:100%;
  height: 100%;
}
.submitFormHome{
  /* Сдвигаем надпись "Отправить" на кнопке input */
  padding-right: 174px;
  padding-bottom: 10px;
}
.formhome > div {
  /*width: 1126px;*/
  width: 83%;
  margin-left: 77px;
  margin-top: 38px;
  position: relative;
  border-radius: 10px;
  border: 2px black solid;
  display: inline-flex;
}
.formhome > div > div{
  position: relative;
  padding-top:30px;
}
.nameFormHome,
.messageFormHome{
  width: 526px;
  padding-left: 35px;
  border-radius: 10px;
  border: 2px black solid;
  /*color: rgba(0, 0, 0, 0.25);*/

}
.nameFormHome{
  height: 55px;
  margin-top:20px;
}
.messageFormHome{
  height: 123px;
  padding-top: 16px;
  margin-top: 7px;
  margin-bottom: 23px;
}
.submitFormHome,
.submitFormOrder,
.submitForm
{
  cursor: pointer;
  width: 337px;
  height: 71px;
  position: relative;
  border-radius: 78px;
  color: white;
  font-size: var(--font-size-medium);
  text-transform: uppercase;
  letter-spacing: 2.60px;
  border:unset;
  margin-top:2px;
  background: linear-gradient(108deg, #003678 0%, #4BA5D1 100%); border-radius: 78px;
  background-repeat: no-repeat;
}
div.custom-thumbnail-wrapper:hover{
  transform: scale(1.03);
}
div.custom-thumbnail-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
    width:298px;
    height:298px;
  border-radius: 4px;
  overflow: hidden;
}
.message-order > div{
  color: rgba(0, 0, 0, 0.70);
  margin-bottom:75px;
  font-size: var(--font-size-14);
  font-weight: 400;
}
.haspopover {
  max-width: 293px;
  position: relative;
  display: inline-block;
/*  cursor: pointer;*/
}
.haspopover img{
  display: none;
}
.tooltip-up {
  border-radius: 5px;
  padding: 20px;
  background: #F2F2F2;
  color: black;
  font-size: var(--font-size-small);
  font-weight: 400;
  /*Добавлено*/
    width: auto;
    top:30px;
    margin-right: 20px;
    position: relative;
    display: block;

    border-radius: 8px; /* Увеличил радиус закругления */
    padding: 15px 25px; /* Добавил отступы слева и справа */
    background: #fafafa; /* Легкий оттенок серого для фона */
    font-weight: 500; /* Увеличил жирность текста */
    display: inline-block; /* Изменено на inline-block для лучшей адаптации по содержимому */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Добавление тени для глубины */
    transition: background-color 0.3s ease;
}
.tooltip-up:hover {
    background: #e0e0e0; /* Изменение фона при наведении */
}
.tooltip-up::before {
/*  content: '';*/
  position: absolute;
  left: 50%;
  top: -20px;
  border: 10px solid transparent;
  border-bottom: 10px solid #F2F2F2;
}
.haspopover:hover > .tooltip-up {
  display: block;
}
.productDop{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  align-items: end;
}
.block2Home section{
  padding: 16px 16px 0 0;
}
.qa-answer p{
  margin-bottom: 16px;
}
.message_order{
  font-style: normal;
  font-weight: 400;
  font-size: var(--font-size-14);
  line-height: 17px;
  color: rgba(0, 0, 0, 0.7);
}
.content-page{
  margin: 0 auto;
  max-width: 1200px;
  padding: 20px;
  border-radius: 8px;
}
.content-page > * + h2 { margin-top: 2rem; }
.content-page > * + p { margin-top: 1rem; }
.content-page h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}
.content-page h2 {
    font-size: 2rem;
    color: #444;
    margin: 4rem 0 1rem;
}
.content-page h3 {
    font-size: 1.5rem;
    color: #555;
    margin: 3rem 0 1rem;
}
.buttonAllProduct h3{
  margin: 0;
}
.content-page p {
    margin: 1rem 0;
    color: #666;
}
.content-page ul {
    margin: 1rem 0;
    padding-left: 20px;
}
.content-page li {
    margin: 0.5rem 0;
}
.content-page blockquote {
    margin: 1rem 0;
    padding: 10px 20px;
    border-left: 4px solid #007BFF;
    background: #f9f9f9;
    color: #555;
}
.content-page .article > * + h2 {
    margin-top: 4rem;
}
.content-page .footer {
    text-align: center;
    margin-top: 4rem;
    font-size: 0.85rem;
    color: #999;
}

    .logo .imgLogo {
        animation: appearRotateYDisappear 9s ease-in-out infinite;
    }
/* Новый год */
.ornament {
    width: 40px; /* Ширина шарика */
    height: 40px; /* Высота шарика */
    background-color: red; /* Цвет шарика */
    border-radius: 50%; /* Круглая форма */
    position: absolute;
    top: 10px;
    left: 10px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7); /* Светящийся эффект */
    z-index: 2;
    transform-origin: top center; /* Установка точки вращения */
    animation: sway 6s ease-in-out infinite; /* Увеличена длительность анимации покачивания */
}

.ornament::before {
    content: '';
    width: 10px; /* Ширина верхней части шарика */
    height: 10px; /* Высота верхней части шарика */
    background-color: gold; /* Цвет верхней части */
    border-radius: 50%; /* Круглая форма */
    position: absolute;
    top: -5px; /* Положение вверх от шарика */
    left: calc(50% - 5px); /* Центрирование */
}

@keyframes sway {
    0% { transform: rotate(-10deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(-10deg); }
}

@keyframes hover-sway {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
}

@keyframes big-sway {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

.ornament:hover {
    animation: hover-sway 1s ease-in-out; /* Небольшое покачивание при наведении */
}

.ornament:hover {
    animation: hover-sway 1s ease-in-out; /* Небольшое покачивание при наведении */
}

.big-sway {
    animation: big-sway 0.6s ease-in-out !important; /* Большое покачивание при клике */
    animation-fill-mode: forwards !important; /* Запоминаем последнее состояние */
}
#menuMobileCat{
  background-color: white;
}
  .buttonAllProduct{
    display: flex;
    -moz-column-gap: 16px;
    column-gap: 16px;
    align-content: flex-start;
    padding: 0px 0 32px 0;
  }
  .buttonAllProduct a{
    text-decoration: none !important;
    background-color: #0693e3;
    color: white;
    margin: 0 auto;
    padding: 0;
    min-height: 48px;
  }
  .linkButtonAllProduct{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    border-radius: 10px;
  }
  .linkButtonAllProduct span{
    margin-left: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    white-space: nowrap;
  }
  ul.products li.product .price{
    color:#77a464 !important;
  }
  span.woocommerce-loop-product__title{
    color: var(--ast-global-color-2);
    font-weight: 600;
    line-height: 1.25em;
  }