.s-cards {
    background: #f3f3f3;
    padding-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #b19057;
    border-top: 1px solid #b19057
}

.s-cards__sectionTitle {
    font-weight: 900;
    font-size: 48px;
    line-height: 58px;
    color: #333;
    margin-bottom: 56px
}

.s-cards__cards-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px
}

.s-cards__card {
    background: #fff;
    border: 1px solid #16314e;
    border-radius: 5px;
    padding-top: 29px;
    padding-bottom: 29px;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s
}

.s-cards__card:hover {
    -webkit-box-shadow: 5px 10px 25px rgba(77, 77, 77, .185);
    box-shadow: 5px 10px 25px rgba(77, 77, 77, .185);
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px)
}

.s-cards__card:hover .s-cards__img-wrap img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    mix-blend-mode: luminosity
}

.s-cards__card:hover .s-cards__brand {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px)
}

.s-cards__card img {
    max-width: 100%
}

.s-cards__brand {
    height: 38px;
    margin: auto auto 26px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s
}

.s-cards__brand img {
    height: 38px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content
}

.s-cards__img-wrap {
    margin-bottom: 19px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden
}

.s-cards__img-wrap img {
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s
}

.s-cards__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    color: #000;
    text-align: center;
    width: 100%;
    display: block;
    padding: 0 26px
}

.s-cards.s-category .s-cards__sectionTitle {
    text-align: center
}

.s-cards.s-category .s-cards__outer {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-gap: 50px
}

.s-cards.s-category .s-cards__cards-wrap {
    /* padding-top: 40px */
    height:fit-content;
}

.s-cards.s-category .s-cards__title {
    font-size: 17px
}

.s-brands {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-column-gap: 44px;
    grid-row-gap: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
    background: #f3f3f3
}

.s-brands .brand-card {
    cursor: pointer
}

.s-brands .brand-card img {
    max-width: 100%;
    max-height: 54px;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s
}

.s-brands .brand-card:hover img {
    mix-blend-mode: luminosity;
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px)
}

.side-menu__title {
    font-weight: 700;
    font-size: 30px;
    line-height: 100%
}

.side-menu__nav {
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s
}

.side-menu__nav .menu__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 16px;
    font-weight: 500;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    background: #dbdbdb;
    width: 100%;
    -webkit-box-shadow: 1px 1px 5px #00000010;
    box-shadow: 1px 1px 5px #00000010
}

.side-menu__nav .menu__item {
    padding: 7px 10px;
    width: 100%
}

.side-menu__nav .menu__item.active {
    background: #b19057;
    color: #fff
}
.side-menu__nav .menu__item:has(li.active){
    background: #b19057;
    color: #fff
}

.side-menu__cat-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 20px;
    line-height: 1
}

.side-menu__cat-wrap.active .side-menu__cat-arow {
    color: #b19057;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg)
}

.side-menu__cat-arow {
    line-height: 1;
    margin-left: 15px;
    font-size: 22px;
    font-weight: 700;
    -webkit-transform: translateY(2px);
    -ms-transform: translateY(2px);
    transform: translateY(2px);
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    cursor: pointer;
    display: none
}

.side-menu__cat-arow:hover {
    color: #b19057
}

.seo {
    padding-top: 40px;
    padding-bottom: 40px
}

.seo h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 130%
}

.seo h3 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 130%
}

.seo p {
    margin-bottom: 10px
}

.seo ul {
    margin-bottom: 15px
}

.seo ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.seo ul li::before {
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 50%;
    min-width: 13px;
    margin-right: 8px;
    border: 4px solid #b19057
}

.seo ol {
    margin-bottom: 15px;
    list-style-position: inside
}


@media only screen and (max-width:1620px) {
    .s-cards__sectionTitle {
        font-size: 44px
    }

    .s-cards__brand,
    .s-cards__brand img {
        height: 30px
    }

    .s-cards__title {
        font-size: 18px;
        overflow-wrap: normal;
        word-wrap: break-word;
        word-break: normal;
        line-break: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        max-width: 100%
    }

    .s-brands {
        grid-column-gap: 30px;
        grid-row-gap: 16px
    }

    .s-brands .brand-card img {
        max-height: 50px
    }
}

@media only screen and (max-width:1440px) {
    .s-cards__sectionTitle {
        font-size: 40px;
        margin-bottom: 45px
    }

    .s-cards__brand,
    .s-cards__brand img {
        height: 26px
    }

    .s-cards__title {
        padding: 0 15px
    }
}

@media only screen and (max-width:1200px) {

    .s-cards__sectionTitle {
        line-height: 120%
    }

    .s-cards__cards-wrap {
        grid-template-columns: repeat(2, 1fr)
    }

    .s-cards.s-category .s-cards__outer {
        grid-template-columns: 1fr
    }

    .s-cards.s-category .s-cards__cards-wrap {
        padding-top: 0
    }

    .s-brands {
        grid-template-columns: repeat(5, 1fr)
    }

    .s-brands .brand-card img {
        max-height: 30px
    }

    .side-menu__nav {
        height: 0;
        opacity: 0;
        overflow: hidden;
    }

    .side-menu__nav.active {
        height: auto;
        opacity: 1
    }

    .side-menu__cat-arow {
        display: block
    }
    .side-menu__cat-wrap{
        display: flex;
    }
}

@media only screen and (max-width:767px) {
    .s-cards__sectionTitle {
        font-size: 32px;
        margin-bottom: 30px
    }

    .s-cards__title {
        font-size: 16px
    }

    .s-brands {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }

    .seo h2 {
        font-size: 30px
    }

    .seo h3 {
        font-size: 28px
    }
}

@media only screen and (max-width:575px) {
    .s-cards__cards-wrap {
        grid-template-columns: 1fr
    }
}
    /* FAQ */
.faq-block {
  width: 100%; /* блок на всю ширину контейнера */
  max-width: 100%; /* снимаем ограничение */
  margin: 20px 0; /* отступ сверху и снизу */
  font-family: Arial, sans-serif;
  clear: both; /* блок не налезает на предыдущие элементы */
}

.faq-item {
  border: 1px solid #d6b679;
  border-radius: 8px;
  margin-bottom: 10px; /* отступ между FAQ элементами */
  padding: 10px 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.faq-item strong {
  color: #333;
  cursor: pointer;
  display: inline-block;
  margin-left: 5px;
}

.faq-arrow {
  color: #b19057;
  font-weight: bold;
  margin-right: 5px;
}

.faq-answer {
  max-height: 0; /* изначально скрыт */
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #444;/* Стили для сравнительной таблицы резцов TiAlN */

/* TABLICA */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

table th, table td {
  border: 1px solid #b19057;
  padding: 10px 12px;
  text-align: center;
}

table th {
  background: linear-gradient(135deg, #d6b679 0%, #b19057 50%, #8a6c36 100%);
  color: #000000;
  font-weight: bold;
}

table tbody tr:nth-child(even) {
  background-color: #f9f3e8; /* светлый оттенок для чередования строк */
}

table tbody tr:nth-child(odd) {
  background-color: #fff;
}

table td {
  color: #333;
}

table tr:hover {
  background-color: #e6d2a3; /* подсветка строки при наведении */
}

}

/* При наведении на вопрос показываем ответ */
.faq-item:hover .faq-answer {
  max-height: 500px; /* достаточно для текста */
  padding-top: 8px;
  padding-bottom: 8px;
}


/* Стили для сравнительной таблицы резцов TiAlN */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

table th, table td {
  border: 1px solid #b19057;
  padding: 10px 12px;
  text-align: center;
}

table th {
  background: linear-gradient(135deg, #d6b679 0%, #b19057 50%, #8a6c36 100%);
  color: #000000;
  font-weight: bold;
}

table tbody tr:nth-child(even) {
  background-color: #f9f3e8; /* светлый оттенок для чередования строк */
}

table tbody tr:nth-child(odd) {
  background-color: #fff;
}

table td {
  color: #333;
}

table tr:hover {
  background-color: #e6d2a3; /* подсветка строки при наведении */
}
