/*
Theme Name: Shumailov Digital
Author: Sergei Shumailov
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    font-size: 100%;
    font: inherit;
    padding: 0;
    border: 0;
    margin: 0;
    vertical-align: baseline
}

body {
    line-height: 1
}



table {
    border-collapse: collapse;
    border-spacing: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}



@font-face {
    font-family: 'lora';
    src: url(fnt/lora.ttf);
}

.clear {
    clear: both;
    height: 0px;
}

.clear-5 {
    clear: both;
    height: 5px;
}

.clear-10 {
    clear: both;
    height: 10px;
}

.clear-15 {
    clear: both;
    height: 15px;
}

.clear-20 {
    clear: both;
    height: 20px;
}

.clear-25 {
    clear: both;
    height: 25px;
}


.clear-30 {
    clear: both;
    height: 30px;
}

.clear-35 {
    clear: both;
    height: 35px;
}

.clear-40 {
    clear: both;
    height: 40px;
}

.clear-45 {
    clear: both;
    height: 45px;
}


.clear-50 {
    clear: both;
    height: 50px;
}

.clear-55 {
    clear: both;
    height: 55px;
}

.clear-60 {
    clear: both;
    height: 60px;
}

.clear-65 {
    clear: both;
    height: 65px;
}

.clear-70 {
    clear: both;
    height: 70px;
}

.clear-75 {
    clear: both;
    height: 75px;
}


.clear-80 {
    clear: both;
    height: 80px;
}

.clear-85 {
    clear: both;
    height: 85px;
}


.clear-90 {
    clear: both;
    height: 90px;
}

.clear-95 {
    clear: both;
    height: 95px;
}

.clear-100 {
    clear: both;
    height: 100px;
}

.clear-105 {
    clear: both;
    height: 100px;
}

.clear-110 {
    clear: both;
    height: 110px;
}

.clear-115 {
    clear: both;
    height: 115px;
}

.clear-120 {
    clear: both;
    height: 120px;
}

.clear-125 {
    clear: both;
    height: 125px;
}

.clear-130 {
    clear: both;
    height: 130px;
}

.clear-135 {
    clear: both;
    height: 135px;
}

.clear-140 {
    clear: both;
    height: 140px;
}

.clear-145 {
    clear: both;
    height: 145px;
}

.clear-150 {
    clear: both;
    height: 150px;
}

.clear-155 {
    clear: both;
    height: 155px;
}

.clear-160 {
    clear: both;
    height: 160px;
}

.clear-165 {
    clear: both;
    height: 165px;
}


.clear-170 {
    clear: both;
    height: 170px;
}

.clear-175 {
    clear: both;
    height: 175px;
}

.clear-180 {
    clear: both;
    height: 180px;
}

.clear-185 {
    clear: both;
    height: 185px;
}

.clear-190 {
    clear: both;
    height: 190px;
}

.clear-195 {
    clear: both;
    height: 195px;
}


.clear-200 {
    clear: both;
    height: 200px;
}

.clear-205 {
    clear: both;
    height: 205px;
}

.clear-210 {
    clear: both;
    height: 210px;
}

.clear-220 {
    clear: both;
    height: 220px;
}

.clear-230 {
    clear: both;
    height: 230px;
}

.clear-240 {
    clear: both;
    height: 240px;
}

.clear-250 {
    clear: both;
    height: 250px;
}

.clear-260 {
    clear: both;
    height: 260px;
}

.clear-270 {
    clear: both;
    height: 270px;
}

.clear-280 {
    clear: both;
    height: 280px;
}

.clear-290 {
    clear: both;
    height: 290px;
}

.clear-300 {
    clear: both;
    height: 300px;
}



.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.only-mobile {
    display: none;
}

.only-desktop {
    display: block;
}




.content__single {
    width: 70%;
    margin: 0 auto;
}

.content__single p {
    margin: 20px 0;
}

.content__single b,
.content__single strong {
    font-weight: 600;
}


.content__single em {
    font-style: italic;
}

.content__single ul {
    margin-left: 20px;
    list-style-type: disc;
    margin-bottom: 20px;
}



footer .btn {
    display: inline-block;
}

.footer--font {
    opacity: .8;
    font-weight: 100;
    font-size: .93vw;
    line-height: 1.55;
}

.footer-copyrights {
    width: 50%;
}

.footer--bottom {
    display: flex;
    gap: 2vw;
}

footer .content--narrow {
    width: 74.5%;
}

.footer--flex {
    display: flex;
    align-items: center;
}

footer {
    background-color: #e6e0d6;
    padding: 5vw 0;
    width: 94%;
    margin: 7vw auto 5vw auto;
    border-radius: 4vw;
}

.faq--answer {
    display: none;
    margin-top: 15px;
    cursor: pointer;
}

.faq--item.active .faq--answer {
    display: block;
}


.faq--item.active .faq--icon {
    transform: rotate(90deg);
}





.faq--question {
    cursor: pointer;
}

.faq--txt {
    width: 30vw;
}

.faq--item {
    display: flex;
    margin-top: 1.6vw;
    gap: 1vw;
    align-items: center;
}

.faq {
    margin-top: 3vw;
}

.faq--icon svg {
    width: 45%;
    height: auto;
    transform: rotate(180deg);
}

.faq--icon {
    width: 5vw;
    height: 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    background-color: #d05229;
    flex-shrink: 0;
    /* transition: transform 0.3s ease; */
}

.items {
    /* display: flex; */
    gap: 2vw;
    flex-wrap: wrap;
    margin-top: 3vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.item .header--name {
    text-align: center;
}

.item--image {
    height: 15vw;
    width: 100%;
    object-fit: contain;
}

.item {
    background-color: #e6e0d6;
    /* width: calc(30vw - 6.2vw); */
    border-radius: 3vw;
    padding: 3vw;
    text-align: center;
    transition: all .2s ease-in-out;
    text-decoration: none;
}

.item .btn {
    display: inline-block;
}

.item:hover {
    background-color: #d7cdbe;
}

.catalog--top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog {
    margin-top: 5vw;
}

.header--name {
    margin-bottom: 10px;
}

.infographics--txt {
    width: 15vw;
    flex-shrink: 0;
}

.content--infographics {
    display: flex;
    flex-wrap: wrap;
}

.infographics {
    margin-top: 7vw;
}

.infographics--item {
    display: flex;
    align-items: center;
    gap: 1vw;
    margin: 0 0vw 5vw 0;
}

.infographics--num {
    font-weight: 600;
    font-size: 5vw;
    width: 7vw;
    flex-shrink: 0;
}

.categories--slider .slick-slide {
    text-align: center;
}

.categories--slider {
    overflow: hidden;
}

/* Боковые слайды полупрозрачные и уменьшены */
.categories--slider .slick-slide {
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.85);
}

/* Центральный слайд — полный размер и яркость */
.categories--slider .slick-slide.slick-center {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    position: relative;
}





.categories--icon {
    width: 3vw;
    height: auto;
}

.header--name {
    text-transform: uppercase;
    font-weight: 600;
    text-align: left;
}

.categories--info {
    display: flex;
    align-items: center;
    gap: .5vw;
    justify-content: center;
    margin-top: 1vw;
}

.categories--tag {
    margin-top: 1vw;
}

.categories--slider {
    margin-top: 3vw;
}

.categories--item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.categories--image {
    border-radius: 3vw;
    object-fit: cover;
    width: 100%;
    height: 22vw;
}

.categories--arrows {
    display: flex;
    gap: 1vw;
    align-items: center;
}

.arrow-next svg {
    transform: rotate(180deg);
}

.arrow {
    background-color: #d05229;
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    width: 4vw;
    height: 4vw;
    border-radius: 50%;
}

.arrow svg {
    width: 50%;
    height: auto;
}

.categories--top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.categories {
    margin-top: 10vw;
}


/* ===== АНИМАЦИИ ===== */

/* Базовые keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Анимация элементов хедера */
.animate-item {
    opacity: 0;
    animation: fadeInDown 0.6s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

/* Анимация изображений */
.animate-image {
    opacity: 0;
    animation: fadeInScale 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: var(--delay, 0s);
}

/* Анимация текстовых блоков */
.animate-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

/* ===== ОСНОВНЫЕ СТИЛИ ===== */

.main--text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main--text.content--narrow {
    margin-top: 5vw;
}

.content--narrow {
    width: 70%;
    margin: 0 auto;
}

.info--desc {
    width: 30vw;
}

.orange {
    color: #d05229;
}

.title {
    font-weight: 600;
    font-size: 2.8vw;
    text-transform: uppercase;
    line-height: 1.2;
}

.main--info {
    width: 30vw;
}

h1 {
    font-weight: 600;
    font-size: 2.8vw;
    text-transform: uppercase;
    line-height: 1.2;
}

.content--images .main--image:nth-child(1) {
    width: 38vw;
    height: 20vw;
    margin-top: 3vw;
}

.content--images .main--image:nth-child(2) {
    width: 30vw;
    height: 40vw;
}

.content--images .main--image:nth-child(3) {
    width: 18vw;
    height: 25vw;
    margin-top: 7vw;
}

.content--images {
    display: flex;
    justify-content: space-between;
    flex-shrink: 0;
}

.content--images.content {
    margin-top: 5vw;
}

.main--image {
    border-radius: 3vw;
    object-fit: cover;
}

.header--right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.tel {
    color: #d05229;
    font-size: 1vw;
    text-decoration: none;
    margin-right: 2vw;
    font-weight: 500;
    letter-spacing: .05vw;
}

.btn {
    cursor: pointer;
    background-color: #d05229;
    color: #fff;
    padding: .6vw 1.5vw;
    font-size: .8vw;
    text-transform: uppercase;
    border-radius: 20vw;
    letter-spacing: .05vw;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    /* transform: scale(1.03); */
    box-shadow: 0 10px 30px rgba(208, 82, 41, 0.3);
}

.menu {
    display: flex;
    align-items: center;
    gap: 2vw;
    margin-left: 5vw;
}

a {
    color: #232323;
}

.menu li {
    list-style: none;
}

.menu li a {
    text-transform: uppercase;
    font-size: .8vw;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #d05229;
}

.header--content {
    display: flex;
    align-items: center;
}

.header--content.content {
    margin-top: 3vw;
}

.content {
    width: 94%;
    margin: 0 auto;
}

.logo img {
    width: 12vw;
    height: auto;
}

body {
    font-family: 'Geologica', sans-serif;
    color: #232323;
    font-weight: 200;
    font-size: 1.1vw;
    line-height: 1.35;
    background-color: #eee9e1;
    overflow-x: hidden;
}




/* Бургер кнопка */
.burger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
    opacity: 0;
    animation: fadeInDown 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.burger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #d05229;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 8px;
}

.burger span:nth-child(3) {
    top: 16px;
}

/* Бургер в активном состоянии (крестик) */
.burger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

/* Мобильное меню — сверху */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #eee9e1;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    padding: 80px 0 40px 0;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu--content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.mobile-menu--list {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-menu--list li {
    margin: 10px 0;
}

.mobile-menu--list li a {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    color: #232323;
    transition: color 0.3s ease;
}

.mobile-menu--list li a:hover {
    color: #d05229;
}

.mobile-menu--contacts {
    margin-top: 25px;
    text-align: center;
}

.mobile-menu--contacts .tel {
    font-size: 18px;
    font-weight: 500;
    margin-right: 0;
    color: #d05229;
}

.mobile-menu--contacts .btn {
    font-size: 14px;
    padding: 12px 30px;
}

/* Блокировка скролла при открытом меню */
body.menu-open {
    overflow: hidden;
}

/* Затемнение фона при открытом меню */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


.mobile-menu--logo {
    display: block;
    margin-bottom: 25px;
}

.mobile-menu--logo img {
    width: 180px;
    height: auto;
}




/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #eee9e1;
    padding: 3vw;
    border-radius: 2vw;
    z-index: 99999;
    width: 90%;
    max-width: 500px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal--close {
    position: absolute;
    top: 1.5vw;
    right: 1.5vw;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.modal--close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #1d1d1d;
    transition: all 0.3s ease;
}

.modal--close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal--close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal--close:hover span {
    background: #d05229;
}

.modal--content {
    text-align: center;
}

.modal--desc {
    opacity: 0.7;
    text-align: left;
}

/* Стили для Contact Form 7 */
.modal .wpcf7-form-control {
    width: 100%;
    padding: 15px 20px;
    border: 0px solid #ccc;
    border-radius: 20px;
    font-family: 'Geologica', sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.modal .wpcf7-form-control:focus {
    outline: none;
    border-color: #d05229;
}

.modal .wpcf7-submit {
    background: #d05229;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.modal .wpcf7-submit:hover {
    background: #b8431f;
}

.modal .wpcf7-textarea {
    min-height: 100px;
    resize: vertical;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7-spinner {
    display: none !important;
}


.wpcf7-not-valid-tip {
    color: #232323;
    margin-bottom: 10px;
}

.success {
    display: none;
}

.success .header--name {
    text-align: center;
}

.map--wrapper {
    width: 65%;
    height: 400px;
    border-radius: 3vw;
    overflow: hidden;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
}

.contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacts .btn {
    display: inline-block;
}

/* Плашки категорий */
.catalog--categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1vw;
    margin-top: 2vw;
    margin-bottom: 2vw;
}

.catalog--category {
    display: flex;
    align-items: center;
    gap: 0.8vw;
    padding: 1vw 1.5vw;
    background: #e6e0d6;
    border-radius: 1vw;
    cursor: pointer;
    transition: all 0.2s ease;
}

.catalog--category:hover {
    background: #d7cdbe;
}

.catalog--category.active {
    background: #d05229;
    color: #fff;
}

.catalog--category-icon {
    width: 2.5vw;
    height: 2.5vw;
    object-fit: contain;
    flex-shrink: 0;
}

.catalog--category-info {
    display: flex;
    flex-direction: column;
    gap: 0.2vw;
}

.catalog--category-name {
    font-weight: 600;
    font-size: 1vw;
}

.catalog--category-desc {
    font-size: 0.85vw;
    opacity: 0.7;
}

/* Скрытие товаров при фильтрации */
.item.hidden {
    display: none;
}

.catalog--empty {
    display: none;
    text-align: center;
    width: 50vw;
    margin: 2vw auto 0 auto;
    opacity: .5;
}

.catalog--empty.visible {
    display: block;
}




/* Карточка товара */
.product {
    margin-top: 2vw;
}

.product--top {
    display: flex;
    gap: 4vw;
    align-items: flex-start;
}

.product--gallery {
    width: 25%;
    flex-shrink: 0;
    background: #e6e0d6;
    padding: 5vw;
    border-radius: 2vw;
}

.product--image {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.product--info {
    flex: 1;
}

.product--title {
    font-size: 2.5vw;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}

.product--desc {
    font-size: 1.1vw;
    line-height: 1.6;
    opacity: 0.8;
}

/* Раскрывающиеся блоки описания */
.product-details {
    margin-top: 4vw;
}

.product-details--items {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.product-details--item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.product-details--header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5vw 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-details--header:hover {
    opacity: 0.7;
}

.product-details--title {
    font-size: 1.3vw;
    font-weight: 600;
    text-transform: uppercase;
}



.product-details--content {
    display: none;
    padding-bottom: 1.5vw;
    font-size: 1vw;
    line-height: 1.7;
}

.product-details--content p {
    margin-bottom: 1vw;
}

.product-details--content ul {
    margin-left: 1.5vw;
    list-style-type: disc;
}

.product-details--content li {
    margin-bottom: 0.5vw;
}

.product-details--item.active .product-details--content {
    display: block;
}

/* Похожие товары */
.product-related {
    margin-top: 7vw;
}


.product--info .btn {
    display: inline-block;
}







.product-details--icon {
    width: 1.2vw;
    height: 1.2vw;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.product-details--icon span {
    position: absolute;
    background: #1d1d1d;
    transition: all 0.3s ease;
}

/* Горизонтальная линия */
.product-details--icon span:nth-child(1) {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Вертикальная линия */
.product-details--icon span:nth-child(2) {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* При раскрытии вертикальная линия исчезает (остаётся минус) */
.product-details--item.active .product-details--icon {
    transform: rotate(45deg);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5vw;
    color: #1d1d1d;
    text-decoration: none;
    font-size: 1vw;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.back-link:hover {
    opacity: 1;
    color: #d05229;
}

.back-link svg {
    width: 1.2vw;
    height: 1.2vw;
}


.categories--front {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    width: 94%;
    margin: 7vw auto 0 auto;
}

.categories--front .categories--item {
    flex: 1 1 calc(33.333% - 26.66px);
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    animation: categoriesFadeIn 0.6s ease forwards;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.categories--front .categories--item a:has(img.categories--image) {
    width: 100%;
    overflow: hidden;
    border-radius: 2.3vw;
    display: block;
}

.categories--front .categories--image {
    border-radius: 2.3vw;
    height: 17vw;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.categories--front .categories--item:hover {
    transform: translateY(-8px);
}

.categories--front .categories--item:hover .categories--image {
    transform: scale(1.03);
}



.categories--front .categories--item:nth-child(1) {
    animation-delay: 0.1s;
}

.categories--front .categories--item:nth-child(2) {
    animation-delay: 0.2s;
}

.categories--front .categories--item:nth-child(3) {
    animation-delay: 0.3s;
}

.categories--front .categories--item:nth-child(4) {
    animation-delay: 0.4s;
}

.categories--front .categories--item:nth-child(5) {
    animation-delay: 0.5s;
}

.categories--front .categories--item:nth-child(6) {
    animation-delay: 0.6s;
}

.categories--front .categories--item:nth-child(7) {
    animation-delay: 0.7s;
}

.categories--front .categories--item:nth-child(8) {
    animation-delay: 0.8s;
}

.categories--front .categories--item:nth-child(9) {
    animation-delay: 0.9s;
}

@keyframes categoriesFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.categories--front .categories--item a:has(img) {
    width: 100%;
}

.categories--front .categories--item a {
    display: inline-block;
    text-decoration: none;
}

.categories--front .categories--image {
    border-radius: 2.3vw;
    height: 17vw;
}

.categories--front .categories--info {
    margin-top: 1.2vw;
}






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

    .contacts .tel {
        font-size: 14px;
    }


    .categories--front .categories--info {
        gap: 4px;
        justify-content: flex-start;
    }

    .categories--front .header--name {
        font-size: 12px;
        line-height: 1.5;
    }

    .categories--front {
        margin: 30px auto 0 auto;
        gap: 25px;
    }


    .categories--front .categories--item a:has(img.categories--image) {
        border-radius: 23px;
    }

    .categories--front .categories--image {
        border-radius: 23px;
        height: 150px;
    }

    .categories--front .categories--item {
        flex: unset;
        width: calc(50% - 12.5px);
        justify-content: flex-start;
    }


    .page--about .main--text.content--narrow {
        margin-top: 30px;
    }

    .page--about .infographics {
        margin-top: 60px;
    }

    .main--text.content--narrow {
        margin-top: 50px;
    }


    .back-link {
        font-size: 14px;
        gap: 8px;
    }

    .back-link svg {
        width: 18px;
        height: 18px;
    }

    .product--info {
        width: 100%;
    }

    .product--top {
        flex-direction: column;
        gap: 30px;
    }

    .product--gallery {
        width: calc(100% - 60px);
        border-radius: 25px;
        padding: 30px;
    }

    .product--image {
        border-radius: 20px;
        height: 300px;
    }

    .product--title {
        font-size: 24px;
    }

    .product--desc {
        font-size: 16px;
    }

    .product-details {
        margin-top: 40px;
    }

    .product-details--header {
        padding: 20px 0;
    }

    .product-details--title {
        font-size: 16px;
    }

    .product-details--icon {
        width: 18px;
        height: 18px;
    }

    .product-details--content {
        padding-bottom: 20px;
        font-size: 15px;
    }

    .product-related {
        margin-top: 50px;
    }




    .catalog--empty {
        padding: 40px 20px;
        font-size: 16px;
        width: calc(100% - 40px);
        margin: 0 auto 0 auto;
    }

    .catalog--categories::-webkit-scrollbar {
        display: none;
    }

    .catalog--categories {
        -ms-overflow-style: none;
        /* IE и Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .catalog--categories {
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .catalog--category {
        padding: 12px 16px;
        border-radius: 12px;
        gap: 10px;
        flex-shrink: 0;
    }

    .catalog--category-icon {
        width: 30px;
        height: 30px;
    }

    .catalog--category-name {
        font-size: 14px;
    }

    .catalog--category-desc {
        font-size: 12px;
    }

    .map--wrapper {
        width: 100%;
        height: 250px;
    }

    .contacts--right {
        width: 100%;
    }

    .contacts {
        gap: 30px;
        flex-direction: column;
    }

    .modal {
        padding: 50px 40px;
        border-radius: 30px;
        width: calc(92% - 80px);
    }

    .modal--close {
        top: 25px;
        right: 25px;
        width: 25px;
        height: 25px;
    }

    header .row,
    header .header--right {
        display: none;
    }


    .categories--info {
        gap: 10px;
        margin-top: 10px;
    }

    .tel {
        font-size: 11px;
        margin-right: 0;
        letter-spacing: .2px;
    }

    .menu li a {
        font-size: 11px;
        margin-right: 20px;
    }

    .menu {
        gap: 0px;
        margin-left: 0;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .footer--flex {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-copyrights {
        width: 100%;
    }

    .footer--font {
        font-size: 13px;
    }

    .footer--bottom {
        gap: 40px;
        flex-direction: column;
    }

    footer {
        padding: 40px 0;
        margin: 60px auto 40px auto;
        border-radius: 30px;
    }

    .faq--item {
        margin-top: 20px;
        gap: 15px;
    }

    .faq--txt {
        width: 80%;
        flex-shrink: 0;
    }

    .faq--icon {
        width: 50px;
        height: 50px;
    }

    .faq {
        margin-top: 30px;
    }

    .item--image {
        height: 100px;
    }

    .item {
        width: calc(50% - 48px);
        border-radius: 25px;
        padding: 20px;
    }

    .items {
        gap: 15px;
        margin-top: 20px;
        display: flex;
    }

    .btn {
        padding: 10px 20px;
        font-size: 11px;
        border-radius: 50px;
        letter-spacing: 0.2px;
        white-space: nowrap;
    }

    .catalog {
        margin-top: 50px;
    }


    .infographics--item {
        gap: 0;
        margin: 0 0 30px 0;
    }

    .header--name {
        margin-bottom: 0;
    }

    .infographics--txt {
        width: 70%;
    }

    .infographics--num {
        font-size: 40px;
        width: 25%;
    }


    .content--infographics {
        flex-direction: column;
    }

    .infographics {
        margin-top: 30px;
    }


    .categories--slider {
        margin-top: 20px;
    }

    .arrow {
        width: 46px;
        height: 46px;
    }

    .categories--arrows {
        gap: 10px;
    }

    .categories--icon {
        width: 40px;
        height: auto;
    }


    .categories--image {
        border-radius: 25px;
        height: 160px;
    }


    .categories {
        margin-top: 80px;
    }

    .content--images .main--image {
        width: 100% !important;
        height: 200px !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        border-radius: 25px;
    }

    .content--images .main--image:nth-child(3) {
        display: none !important;
    }


    .header--content.content {
        margin-top: 20px;
    }



    .content--images {
        margin-top: 20px;
        flex-direction: column;
    }

    header .row {
        display: none;
    }

    .logo img {
        width: 157px;
    }


    .info--desc {
        width: 100%;
    }

    .main--info {
        width: 100%;
    }

    .main--text {
        flex-direction: column;
        gap: 30px;
    }

    .content--narrow,
    .content {
        width: 90%;
    }

    .content--images.content {
        margin-top: 20px;
    }

    .title,
    h1 {
        font-size: 17px;
    }


    body {
        font-size: 15px;
    }



    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .only-mobile {
        display: block;
    }

    .only-desktop {
        display: none;
    }





}