/* Базовые стили */




/* Баннер */
.top__banner {
    background: url('/pkht.ru/img/mainBanner.jpg') no-repeat 50%/cover;
    height: 36.8229vw;
    max-height: 707px;
    min-height: 320px;
    padding: 2rem 0;
}

.top__banner-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.top__banner-col h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.top__banner-col h2 {
    font-size: 2rem;
    font-weight: 600;
}

@media (max-width: 672px) {
    .top__banner {
        background-position-x: 100%;
    }
    .top__banner-col h1 {
        font-size: 1.7rem;
        margin-top: 1rem;
    }
    .top__banner-col h2 {
        font-size: 1rem;
    }
}

/* Обертка страницы */
.pageWrapper {
    padding: 0 calc(50% - 560px);
}

.pageWrapper__main {
    padding-bottom: 200px;
    padding-top: 90px;
}

@media (max-width: 1180px) {
    .pageWrapper {
        padding: 0 30px;
    }
}

@media (max-width: 798px) {
    .pageWrapper {
        padding: 0 15px;
    }
    .pageWrapper__main {
        padding-bottom: 24px;
        padding-top: 32px;
    }
}

/* Заголовки блоков */
.blockHeader {
    font-size: 36px;
    font-weight: 600;
    line-height: 36px;
    margin-bottom: 40px;
}

@media (max-width: 798px) {
    .blockHeader {
        font-size: 24px;
        line-height: 24px;
        margin-bottom: 24px;
    }
}

/* Преимущества */
.advantages {
    margin-bottom: 100px;
}

.advantages_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.advantages_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.advantages_item {
    width: calc(50% - 16px);
}

.advantageBlock {
    background: #f9f9f9;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 260px;
    padding: 32px;
    margin-bottom: 32px;
}

.advantageBlock_title {
    font-size: 24px;
    font-weight: 600;
    line-height: 27px;
}

.advantageBlock_text {
    color: #646464;
    font-size: 16px;
    line-height: 19px;
    width: 323px;
}

@media (max-width: 1000px) {
    .advantageBlock {
        height: 220px;
        padding: 24px;
    }
    .advantageBlock_title {
        font-size: 22px;
    }
    .advantageBlock_text {
        font-size: 14px;
        width: 100%;
    }
}

@media (max-width: 680px) {
    .advantages_item {
        width: 100%;
    }
    .advantageBlock {
        height: auto;
        padding: 14px;
    }
    .advantageBlock_title {
        font-size: 18px;
        margin-bottom: 24px;
    }
}

/* Сертификаты */
.certificates {
    margin-bottom: 100px;
}

.certificates__body {
    display: flex;
    margin: 0 -1rem;
}

.certificates__body-block {
    padding: 0 1rem;
}

.certificatesBlock_block__\+yt6H {
    display: block;
    transition: transform 0.2s ease;
}

.certificatesBlock_block__\+yt6H:hover {
    transform: scale(1.02);
}

.certificatesBlock_img__9fbFG {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 680px) {
    .certificates__body {
        flex-wrap: wrap;
        margin: 0 -6px;
    }
    .certificates__body-block {
        width: 50%;
        margin-bottom: 1rem;
        padding: 0 6px;
    }
}

/* Продукты */
.productsBlock {
    display: flex;
    flex-direction: row;
    margin-bottom: 100px;
}

.productsBlock_product {
    width: 256px;
}

.productsBlock_product:not(:last-child) {
    margin-right: 32px;
}

.productsBlock_img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 16px;
    object-fit: cover;
}

.productsBlock_text {
    font-size: 24px;
    line-height: 28px;
    text-align: center;
}

.productsBlock_textLink {
    color: #2c2c2c;
    text-decoration: none;
}

@media (max-width: 1000px) {
    .productsBlock_text {
        font-size: 16px;
        line-height: 20px;
    }
}

@media (max-width: 680px) {
    .productsBlock {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .productsBlock_product {
        width: calc(50% - 7px);
        margin-bottom: 24px;
    }
    .productsBlock_product:not(:last-child) {
        margin-right: 0;
    }
    .productsBlock_text {
        font-size: 20px;
    }
}

@media (max-width: 460px) {
    .productsBlock_text {
        font-size: 14px;
    }
}

/* Контакты - ИСПРАВЛЕННЫЙ БЛОК */
.contactsBlock {
    display: flex;
    flex-direction: row;
    clear: both;
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.contactsBlock_text {
    margin-right: 50px;
}

.contactsBlock_map {
    border: 1px solid #ececec;
    border-radius: 24px;
    height: 450px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    width: 740px;
}

/* Карта внутри контейнера */
.ymaps-2-1-79-map {
    width: 100% !important;
    height: 100% !important;
}

.contactsBlock_map .ymaps-2-1-79-gototech {
    display: none;
}

@media (max-width: 798px) {
    .contactsBlock {
        flex-direction: column;
    }
    .contactsBlock_map {
        width: 100%;
        height: 410px;
    }
}

/* Локации */
.locationBlock:not(:last-of-type) {
    margin-bottom: 60px;
}

.locationBlock_name {
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 16px;
}

.locationBlock_address {
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 16px;
}

.locationBlock_phonesList {
    list-style: none;
}

.locationBlock_phoneLink {
    color: #2c2c2c;
    text-decoration: none;
}

@media (max-width: 798px) {
    .locationBlock,
    .locationBlock:not(:last-of-type) {
        margin-bottom: 24px;
    }
    .locationBlock_name {
        font-size: 18px;
    }
    .locationBlock_address,
    .locationBlock_phoneLink {
        font-size: 14px;
    }
}







/* ========== ШАПКА (HEADER) ========== */
.header {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #ececec;
    display: flex;
    height: 120px;
    left: 0;
    padding: 0 calc(50% - 560px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.header_logoImg {
    height: 92px;
    width: 74px;
}

.header_logo__mob {
    display: none;
}

/* Кнопка каталога */
.LinkToCatalog_link__bJYkh {
    align-items: center;
    border: 1px solid #2c2c2c;
    border-radius: 8px;
    color: #2c2c2c;
    display: flex;
    font-size: 1rem;
    font-weight: 400;
    height: 48px;
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    padding: 0 1rem;
    text-decoration: none;
    width: 140px;
}

.LinkToCatalog_link__bJYkh .LinkToCatalog_decor__zvy0L {
    height: 14px;
    position: relative;
    width: 18px;
}

.LinkToCatalog_link__bJYkh .LinkToCatalog_decor__zvy0L span {
    background-color: #2c2c2c;
    border-radius: 4px;
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: inherit;
}

.LinkToCatalog_link__bJYkh .LinkToCatalog_decor__zvy0L:before,
.LinkToCatalog_link__bJYkh .LinkToCatalog_decor__zvy0L:after {
    background-color: #2c2c2c;
    border-radius: 4px;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
}

.LinkToCatalog_link__bJYkh .LinkToCatalog_decor__zvy0L:before {
    top: 0;
    width: inherit;
}

.LinkToCatalog_link__bJYkh .LinkToCatalog_decor__zvy0L:after {
    bottom: 0;
    width: 12px;
}

.LinkToCatalog_link__bJYkh .LinkToCatalog_text__zZKzC {
    margin-left: 8px;
}

/* Навигация */
.header_nav {
    margin-left: auto;
    margin-right: 17px;
}

.header_navList {
    display: flex;
    list-style: none;
}

.header_navItem:not(:last-child) {
    margin-right: 17px;
}

.header_navLink {
    color: #2c2c2c;
    font-size: 12px;
    line-height: 16px;
    text-decoration: none;
}

/* Поиск */
.searchBar {
    align-items: center;
    background: #f3f3f3;
    border-radius: 8px;
    display: flex;
    height: 48px;
    max-width: 384px;
    overflow: hidden;
    padding: 15px;
    transition: max-width .3s ease-in-out;
    width: 176px;
}

.searchBar svg {
    min-width: 18px;
}

.searchBar_input {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: none;
    font-size: 16px;
    margin-left: 10px;
    outline: none;
    width: 100%;
}

.searchBar_input::placeholder {
    color: #959595;
}

/* Мобильная кнопка */
.header_mobCatalogButton,
.header_mobEmptyBlock {
    display: none;
}

@media (max-width: 1200px) {
    .header {
        padding: 0 108px 0 30px;
    }
    
    .searchBar:not(.searchBar__mob) {
        max-width: 48px;
        position: absolute;
        right: 30px;
    }
    
    .searchBar:not(.searchBar__mob):hover {
        max-width: 384px;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .header {
        height: 60px;
        justify-content: space-between;
    }
    
    .header_mobCatalogButton {
        background: none;
        border: none;
        display: block;
    }
    
    .header .LinkToCatalog_link__bJYkh:not(.header_logo__mob),
    .header_logo:not(.header_logo__mob),
    .header_nav:not(.header_logo__mob) {
        display: none;
    }
    
    .header_logo {
        display: block;
    }
    
    .header_logo__mob {
        display: block;
    }
    
    .header_logo__mob img {
        height: 40px;
        width: 122.76px;
    }
    
    .header_mobEmptyBlock {
        display: block;
        width: 24px;
    }
    
    .searchBar:not(.searchBar__mob) {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 15px;
    }
}

/* ========== МОБИЛЬНОЕ МЕНЮ ========== */
.mobileMenu {
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    transition: transform .3s ease-in-out;
    width: 100%;
    z-index: 11;
}

.mobileMenu__shown {
    transform: translateX(0);
}

.mobileMenu_header {
    align-items: center;
    display: flex;
    height: 60px;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0 15px;
}

.mobileMenu_content {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}

.mobileMenu_item {
    align-items: center;
    background: rgba(242, 242, 242, 0.302);
    color: #2c2c2c;
    display: flex;
    font-size: 16px;
    height: 40px;
    line-height: 16px;
    padding: 0 10px;
    text-decoration: none;
    width: 100%;
}

.mobileMenu_item:not(:last-child) {
    margin-bottom: 8px;
}

.mobileMenu_search {
    border-top: 1px solid #f3f3f3;
    bottom: 0;
    left: 0;
    padding: 15px;
    position: fixed;
    width: 100%;
}

.searchBar__mob {
    max-width: none;
    width: 100%;
}

/* ========== КНОПКА "НАВЕРХ" ========== */
.ButtonToUp_btn__KZaqg {
    align-items: center;
    background-color: #755fa0;
    border: none;
    border-radius: 50%;
    bottom: 50px;
    box-shadow: -1px 1px 10px -3px #838282;
    cursor: pointer;
    display: none;
    height: 50px;
    justify-content: center;
    position: fixed;
    right: 50px;
    width: 50px;
    z-index: 100;
}

.ButtonToUp_btn__KZaqg img {
    width: 24px;
    height: 24px;
}

.ButtonToUp_visible__haKY4 {
    display: flex;
}

/* Адаптив для кнопки */
@media only screen and (max-width: 700px) {
    .ButtonToUp_visible__haKY4 {
        display: none !important;
    }
}

/* Дополнительно: отступ для основного контента, чтобы не скрывался под шапкой */
.main {
    margin-top: 120px;
}

@media (max-width: 900px) {
    .main {
        margin-top: 60px;
    }
}








/* ========== ФУТЕР ========== */


.footer {
    align-items: center;
    border-top: 1px solid #ececec;
    display: flex;
    height: 160px;
    padding: 24px calc(50% - 560px) 32px;
    width: 100%;
}

.footer_logo {
    margin-right: 32px;
}

.footer_logoImg {
    height: 92px;
    width: 74px;
}

.footer_nav {
    margin-right: auto;
    max-width: 500px;
}

.footer_navList {
    list-style: none;
}

.footer_navItem:not(:last-child) {
    margin-bottom: 1rem;
}

.footer_navLink {
    color: #646464;
    font-size: 16px;
    line-height: 16px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer_navLink:hover {
    color: #2c2c2c;
}

.footer_additionalLinks {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    height: 100px;
    justify-content: space-between;
}

.footer_copyright {
    color: #646464;
    font-size: 12px;
    line-height: 16px;
}

/* ========== АДАПТИВ ФУТЕРА ========== */
@media (max-width: 1180px) {
    .footer {
        padding: 24px 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        height: auto;
        padding: 24px 15px;
    }

    .footer_logo {
        margin-bottom: 24px;
        margin-right: 0;
    }

    .footer_nav {
        margin-bottom: 24px;
        margin-right: 0;
        max-width: 100%;
        text-align: center;
    }

    .footer_navItem:not(:last-child) {
        margin-bottom: 1rem;
    }

    .footer_additionalLinks {
        align-items: center;
        height: auto;
        margin-bottom: 24px;
    }

    .footer_copyright {
        text-align: center;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .footer_navLink {
        font-size: 14px;
    }
    
    .footer_copyright {
        font-size: 11px;
    }
}
@media (min-width: 768px) {
  .catalog__products .catalog__products_filters {
    max-width: 25%;
  }
}