.services {
    border: 1px solid #192330;
    border-radius: 5px;
    margin-top: 20px;
    padding: 10px;
    background: #ffffff;
    text-align: center;
}


.service-block img {
    width: 40px;
}

.services-block {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.service-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;
}

.service-block-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 5px;
    max-width: 104px;
}

.service-block-text-span {
    font-size: 12px;
    color: #9c9c9c;
    line-height: normal;
}
.services-text {
    font-size: 20px;
    font-weight: 500;
}


@media screen and (max-width: 480px) {
.service-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-block img {
    width: 30px;
}

}

@media screen and (max-width: 375px) {
.services-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-block img {
    width: 50px;
}

.service-block-text {
    max-width: 100%;
}

}
  #sizeModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #cccccc;
    padding: 20px;
    z-index: 10000;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
  }

  th, td {
    border: 1px solid #ccc;
    text-align: center;
    padding: 3px;
  }

  th {
    background-color: #f8f8f8;
  }

  .measure-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
  }

  .measure-image {
    flex: 1 1 150px;
    max-width: 100%;
  }

  .measure-image img {
    display: block;
    width: 70%;
  }

  .measure-text {
    flex: 2 1 300px;
  }

  .measure-text b {
    display: block;
  }

  .measure-text span {
    display: block;
    margin-bottom: 5px;
  }

  @media (max-width: 600px) {
      
    .measure-image img {
        width: 100%;
    }
      
    .measure-section {
      flex-direction: column;
    }

    th, td {
      font-size: 12px;
      padding: 8px;
    }

    #sizeModal {
      padding: 15px;
    }
  }


    .tooltip {
      position: relative;
      cursor: help;
      user-select: none;
    }
    
    .tooltip::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 125%;
        left: 50%;
        transform: translateX(-50%);
        background: #ffffff;
        white-space: normal;
        word-break: break-word;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
        z-index: 1000;
        font-size: 14px;
        color: #2d2d2d;
        border: 1px solid #bdb199;
        padding: 0px 4px;
        border-radius: 5px;
        font-weight: 400;
        max-width: 250px; 
        width: max-content;
    }
    
    @media screen and (max-width: 425px) {
        .tooltip::after {
        left: 100%;
        transform: translateX(-100%);
        max-width: 200px;
    }
    }

    /* Показать подсказку при hover или при активном классе */
    .tooltip:hover::after,
    .tooltip:hover::before,
    .tooltip.active::after,
    .tooltip.active::before {
    opacity: 1;
    pointer-events: auto;
    }      

   .price {
       display: flex;
       flex-direction: column-reverse;
   }
   
   .price_old {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
   }
   
   .cart__price {
        display: flex;
        justify-content: space-between;
        align-items: center;
       
   }


.cart__control_button{
    
    display: flex;
    justify-content: space-between;
    
}


@media screen and (max-width: 564px) {
    
    .cart__price {
            display: block;
    }
    
    .price_old {
        display: block;
        margin-left: 10px;
    
    }
    
    .price {
        flex-direction: row;
        
    }
    
    .cart__control{
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
        max-width: 100%;
        flex-direction: column;
    }
    
}


@media screen and (max-width: 350px) {
    .price {
        flex-direction: column-reverse;
    }
    
    .cart__control{
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
    }
}


.text_outher {
    z-index: 9;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 12px;
    color: white;
    text-align: center;
    left: 0;
    zoom: 0.7;
}

































.news
{
    position: relative;

    margin-bottom: 220px;
}
@media screen and (max-width: 1150px)
{
    .news
    {
        margin-bottom: 110px;
    }
}
@media screen and (max-width: 830px)
{
    .news
    {
        margin-bottom: 50px;
    }
}
.news:before
{
    position: absolute;
    top: -35px;
    right: 0;
    left: 0;

    width: 1152px;
    height: 756px;
    margin: 0 auto;

    content: '';

    background-color: #faf8f5;
}
@media screen and (max-width: 1150px)
{
    .news:before
    {
        width: 800px;
        height: 500px;
    }
}
@media screen and (max-width: 768px)
{
    .news:before
    {
        top: 0;

        width: calc(100% - 50px);
        height: calc(100% + 20px);
    }
}
.news_page
{
    display: flex;

    width: 100%;
    margin: 0 auto;
    padding-bottom: 40px;

    align-items: flex-start;
    flex-wrap: wrap;
}
.news_page:before
{
    display: none;
}
.news_page .news__block
{
    margin-bottom: 24px;
}
@media screen and (max-width: 830px)
{
    .news_video
    {
        justify-content: center;
    }
}
.news__title
{
    position: relative;
    left: 70px;

    display: flex;

    width: 100%;
    max-width: 1140px;
    margin: 0 auto;

    justify-content: space-between;
    align-items: center;
}
@media screen and (max-width: 1150px)
{
    .news__title
    {
        left: 40px;

        width: 750px;
    }
}
.news__link
{
    font-family: 'Lato', sans-serif;
    line-height: 43px;

    width: 181px;
    height: 41px;
}
@media screen and (max-width: 830px)
{
    .news__link
    {
        display: none;
    }
}
.news__link_bottom
{
    display: none;
}
@media screen and (max-width: 830px)
{
    .news__link_bottom
    {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;

        display: block !important;

        margin: 0 auto;
    }
}
.news__inner
{
    display: flex;

    margin-top: 30px;

    justify-content: space-between;
    align-items: flex-start;
}
@media screen and (max-width: 1740px)
{
    .news__inner
    {
        transform: scale(.9);
    }
}
@media screen and (max-width: 1500px)
{
    .news__inner
    {
        justify-content: center;
    }
    .news__inner .news-block:last-child
    {
        display: none;
    }
}
@media screen and (max-width: 1024px)
{
    .news__inner
    {
        margin-top: 0;
    }
}
@media screen and (max-width: 830px)
{
    .news__inner
    {
        padding-top: 20px;
        padding-bottom: 60px;

        transform: scale(1);

        justify-content: center;
        flex-wrap: wrap;
    }
}
.news__big-block
{
    position: relative;

    width: auto;
    width: 49%;
    max-width: 852px !important;
    height: 584px;
    margin: 0 7px;

    background-color: #fff;
    box-shadow: 1px 4px 16px rgba(0, 0, 0, .09);
}
.news__big-block .news-block__img
{
    position: absolute;
    right: 0;

    height: 100%;
}
@media screen and (max-width: 1440px)
{
    .news__big-block
    {
        width: 65%;
    }
}
@media screen and (max-width: 1090px)
{
    .news__big-block
    {
        margin: 0 5px;
    }
}
@media screen and (max-width: 830px)
{
    .news__big-block
    {
        width: 100%;
        margin: 0 0 10px;
    }
}
@media screen and (max-width: 530px)
{
    .news__big-block
    {
        height: 300px !important;
    }
}
@media screen and (max-width: 380px)
{
    .news__big-block
    {
        height: 250px !important;
    }
}
.news__block
{
    width: auto;
    width: 24%;
    height: 584px;
    margin: 0 7px;
    margin-bottom: 10px;

    transition: .5s ease;

    background-color: #fff;
    box-shadow: 1px 4px 16px rgba(0, 0, 0, .09);
}
.news__block:hover
{
    box-shadow: 1px 4px 8px rgba(0, 0, 0, .2);
}
.news__block:hover .news-block__name
{
    cursor: pointer;

    color: #d4af37;
}
@media screen and (max-width: 1440px)
{
    .news__block
    {
        width: 32%;
    }
}
@media screen and (max-width: 1090px)
{
    .news__block
    {
        margin: 0 5px;
    }
}
@media screen and (max-width: 830px)
{
    .news__block
    {
        width: 48.5%;
    }
}
@media screen and (max-width: 700px)
{
    .news__block
    {
        width: 48%;
    }
}
@media screen and (max-width: 530px)
{
    .news__block
    {
        width: 100%;
        margin: 0 0 10px;
    }
}

.news-block
{
    position: relative;

    max-width: 417px;
}
.news-block__img
{
    width: 100%;

    vertical-align: middle;
}
.news-block__info
{
    position: absolute;
    bottom: 50px;
    left: 60px;

    width: 80%;
}
@media screen and (max-width: 1024px)
{
    .news-block__info
    {
        bottom: 30px;
        left: 40px;
    }
}
@media screen and (max-width: 768px)
{
    .news-block__info
    {
        bottom: 10px;
        left: 20px;
    }
}
.news-block__date
{
    font-size: 14px;
    font-size: .875rem;
    font-weight: 700;

    margin-bottom: 20px;

    letter-spacing: 1.4px;
    text-transform: uppercase;

    color: #000;
}
.news-block__date_white
{
    color: #fff;
}
@media screen and (max-width: 1024px)
{
    .news-block__date
    {
        margin-bottom: 0;
    }
}
.news-block__title
{
    font-size: 24px;
    font-size: 1.5rem;
    font-weight: 700;

    margin-bottom: 20px;

    letter-spacing: 2.4px;
    text-transform: uppercase;

    color: #fff;
    text-shadow: 0 0 8px #000;
}
@media screen and (max-width: 1024px)
{
    .news-block__title
    {
        font-size: 18px;
        font-size: 1.125rem;

        margin-bottom: 10px;
    }
}
.news-block__text
{
    font-size: 16px;
    font-size: 1rem;
    line-height: 26px;

    letter-spacing: .48px;

    color: #fff;
    text-shadow: 0 0 8px #000;
}
@media screen and (max-width: 1024px)
{
    .news-block__text
    {
        font-size: 12px;
        font-size: .75rem;
        line-height: 20px;
    }
}
@media screen and (max-width: 768px)
{
    .news-block__text
    {
        display: none;
    }
}
.news-block__desc
{
    position: relative;

    box-sizing: border-box;
    height: 100%;
    max-height: 204px;
    padding: 20px 25px;
}
@media screen and (max-width: 1310px)
{
    .news-block__desc
    {
        max-height: 192px;
        padding: 12px 25px;
    }
}
@media screen and (max-width: 1024px)
{
    .news-block__desc
    {
        max-height: 160px;
    }
}
@media screen and (max-width: 830px)
{
    .news-block__desc
    {
        max-height: 150px;
        padding: 15px;
    }
}
.news-block__name
{
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 26px;

    color: #000;
}
@media screen and (max-width: 1024px)
{
    .news-block__name
    {
        font-size: 14px;
        font-size: .875rem;
        line-height: 20px;
    }
}
.news-block__tags
{
    position: absolute;
    bottom: 20px;

    display: flex;

    width: 100%;
    margin-top: 20px;

    align-items: center;
}
.news-block__tag
{
    font-size: 12px;
    font-size: .75rem;
    font-weight: 500;

    margin-right: 10px;

    transition: .5s ease;
    letter-spacing: .24px;

    color: #c7c1b7;
}
.news-block__tag:hover
{
    cursor: pointer;

    color: #d4af37;
}
@media screen and (max-width: 960px)
{
    .news-block__tag
    {
        font-size: 10px;
        font-size: .625rem;
    }
}

.news-sort
{
    margin-bottom: 36px;
}
.news-sort__inner
{
    display: flex;

    justify-content: space-between;
    align-items: center;
}
@media screen and (max-width: 1400px)
{
    .news-sort__inner
    {
        flex-wrap: wrap;
    }
}
.news-sort__tags
{
    display: flex;

    align-items: baseline;
}
@media screen and (max-width: 1300px)
{
    .news-sort__tags
    {
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 830px)
{
    .news-sort__tags
    {
        justify-content: flex-end;
    }
}
.news-sort__sign
{
    font-size: 12px;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1;

    text-transform: uppercase;

    color: #000;
}
.news-sort__name
{
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-size: .75rem;
    font-weight: 500;

    margin: 0 7px;

    transition: .5s ease;
    letter-spacing: .24px;

    color: #c7c1b7;
    background: none;
}
.news-sort__name:hover
{
    cursor: pointer;

    color: #d4af37;
}
@media screen and (max-width: 1400px)
{
    .news-sort__category
    {
        margin-top: 20px;
        margin-left: -30px;
    }
}
.news-sort__check
{
    font-size: 14px;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1;

    margin-left: 40px;

    letter-spacing: .7px;

    color: #575757;
}
.news-sort__check span
{
    position: relative;
    bottom: 3px;
}

.yButton.right{ right: 80px!important; display:none !important;}
.yButtonBackground{ background-color:#d4af37 !important;}
.yButtonWave{ color:#d4af37 !important;}
.yButtonText { color:black !important;}