#panel {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
}

.header-menu_parent {
    position: relative;
    display: inline-block;
}

.header-menu__list_second {
    position: absolute;
    display: none;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
    padding: 10px 20px;
    background-color: #efeeee;
    border-radius: 4px;
    line-height: 2em;
}

.header-menu__link {
    font-size: 13px;
}

#inputEmpty,
#inputToMuch {
    display: none;
    color: red;
}

.maxVisit {
    display: none;
}

.outputColHeadPrice {
    display: none;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.testimonials .item {
    width: 220px;
    padding: 10px;
    box-sizing: border-box;
    text-align: left;
}

.testimonials .item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    margin-bottom: 10px;
}

.testimonials .item img:hover {
    filter: none;
    -webkit-filter: none;
}

#content-wrap .interesting {
    width: auto;
    padding: 2%;
    border: 1px solid #dadada;
    border-radius: 10px;
    margin-bottom: 15px;
}

#content-wrap .focus {
    width: auto;
    padding: 2%;
    background: #81499750;
    border-radius: 10px;
    margin-bottom: 15px;
}

#content-wrap .btn {
    text-decoration: none;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    width: 220px;
    min-height: 44px;
    background: #95c11f;
    border-radius: 10px;
    outline: none;
    margin: 0 auto;
}

#custom p {
    line-height: initial;
}

#custom h1 {
    font-weight: revert;
    font-size: revert;
}

#custom h2 {
    font-weight: revert;
    font-size: revert;
}

#custom h3 {
    font-weight: revert;
    font-size: revert;
}

#custom h4 {
    font-weight: revert;
    font-size: revert;
}

#custom h5 {
    font-weight: revert;
    font-size: revert;
}

#custom h6 {
    font-weight: revert;
    font-size: revert;
}

#custom a {
    color: #00aeef;
}

@media (max-width: 768px) {
    .testimonials {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
/* -------------------------------------------------------------
   2️⃣ БЛОК УСЛУГ – карточки в колонку на мобильных
   ------------------------------------------------------------- */
@media (max-width: 767px) {
    /* Родительская контейнерная сетка – часто .services__row или .services__grid */
    .services__row,
    .services__grid {
        display: flex;
        flex-wrap: wrap;
        margin-left: -8px;   /* компенсировать горизонтальный отступ */
        margin-right: -8px;
    }
    .services__item {
        width: 100% !important;      /* одна карточка в строке */
        max-width: 100% !important;
        padding: 8px !important;     /* небольшие отступы */
        box-sizing: border-box;
        margin-bottom: 16px;         /* промежуток между строками */
    }
    .services__item .title {
        position: static;
        margin-top: 8px;
        text-align: center;
    }
    .services__item img {
        max-width: 100%;
        height: auto;
    }
}
/* -------------------------------------------------------------
   3️⃣ БЛОК ОТЗЫВЫ – каждый отзыв в полном ширину
   ------------------------------------------------------------- */
@media (max-width: 767px) {
    .reviews__list,
    .reviews__wrapper {
        display: block;               /* прекратить flex/grid */
    }
    .review__item,
    .reviews__item {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px;
        padding: 12px;
        box-sizing: border-box;
    }
    .review__item .quote,
    .reviews__item .quote {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    .review__item .author,
    .reviews__item .author {
        text-align: right;
        margin-top: 8px;
        font-weight: 600;
    }
}
/* -------------------------------------------------------------
   4️ФУТЕР – убираем дублирование иконки VK
   ------------------------------------------------------------- */
.footer .social-icons {
    display: flex;
    gap: 12px;                         /* одинаковый интервал */
}
/* Дублирование происходит из‑за двойного вывода иконки.
   Скрываем вторую иконку без изменения PHP. */
.footer .social-icons .vk-icon:nth-child(2) {
    display: none;
}
/* Если дублирование в разных контейнерах – более общий селектор */
.footer .social-icons .vk-icon + .vk-icon {
    display: none;
}