/*!
Theme Name: TECHNOSHOP
Author: -
Description: Description
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: LICENSE
*/
.buy-tech-hero {
    background: linear-gradient(135deg, #e6f3ff 0%, #b3dbff 70%, #99ccff 100%);
    color: #003366;
    padding: 130px 20px;
    font-family: 'Montserrat', sans-serif;
}

.container {
    margin: 0 auto;
    max-width: 1200PX;
    padding-left: 20px;
    padding-right: 20px;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.left-content {
    flex: 1 1 55%;
    z-index: 2;
}

.hero-title {
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.highlight {
    color: #00a3ff;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #004d99;
    margin-bottom: 25px;
    line-height: 1.5;
}

.hero-subtitle .hero-item {
    position: relative;
    display: inline-block;
    padding-left: 1.2em;
    text-align: left;
}

.hero-subtitle .hero-item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #004d99;
    font-size: 1.2em;
    line-height: 1;
}

.hero-payment-info {
    display: flex;
    gap: 24px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #004d99;
}

.payment-item {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1 1 45%;
    min-width: 250px;

    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.15);
    padding: 20px 24px;
    color: #004d99;
}

.payment-icon {
    width: 36px;
    height: 36px;
    stroke: #00a3ff;
    flex-shrink: 0;
}

.hero-call {
    font-size: 1.2rem;
    font-weight: 800;
    color: #003366;
}

/* Правая часть */
.right-wrapper {
    position: relative;
    flex: 1 1 40%;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
}

.right-form {
    background: white;
    padding: 50px 25px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.15);
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.right-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* расстояние между полями */
}

.right-form .wpcf7-form input[type="text"],
.right-form .wpcf7-form input[type="tel"],
.right-form .wpcf7-form input[type="email"],
.right-form .wpcf7-form textarea {
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.right-form .wpcf7-form input[type="text"]:focus,
.right-form .wpcf7-form input[type="tel"]:focus,
.right-form .wpcf7-form input[type="email"]:focus,
.right-form .wpcf7-form textarea:focus {
    border-color: #00a3ff;
    outline: none;
}

.right-form .wpcf7-form p {
    margin: 0;
}

.right-form .wpcf7-response-output {
    margin-top: 16px;
    font-size: 14px;
    color: #d9534f; /* красный цвет для ошибок */
}

/* Айфон изображение */
.iphone-img {
    position: absolute;
    top: -110px;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/* Форма */
.hero-form input[type="text"],
.hero-form input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 2px solid #00a3ff;
    outline: none;
    margin-bottom: 18px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-form input:focus {
    border-color: #007acc;
    box-shadow: 0 0 10px #00a3ffaa;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
}

.btn {
    border-radius: 8px;
    font-weight: 700;
    padding: 12px 22px;
    min-width: 130px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.25);
}

.btn-primary {
    background-color: #00a3ff;
    color: white;
    border-color: #00a3ff;
}

.btn-primary:hover {
    background-color: #007acc;
    border-color: #007acc;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    border-color: #1ebe57;
}

.btn-telegram {
    background-color: #0088cc;
    color: white;
    border-color: #0088cc;
}

.btn-telegram:hover {
    background-color: #006699;
    border-color: #006699;
}

.hero-promise {
    margin-top: 12px;
    font-style: italic;
    font-weight: 500;
    font-size: 1rem;
    color: #007acccc;
    text-align: center;
}

.form-title {
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    color: #003366;
    margin-bottom: 20px;
}

/* Адаптив */

/* Мобильные — до 768px */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .payment-item {
        display: flex;
        gap: 12px;
        align-items: center;
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 163, 255, 0.15);
        padding: 20px 5px;
        color: #004d99;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.0rem;
    }

    .right-wrapper {
        padding-top: 120px;
    }

    .left-content,
    .right-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: center;
    }

    .buy-tech-hero {
        padding: 10px 10px;
    }

    .hero-payment-info {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .payment-item {
        flex: 0 0 48%;
        min-width: auto;
        box-sizing: border-box;
    }

    .iphone-img {
        width: 100%;
        height: 50%;
        top: -30px;
        left: 0;
        transform: none;
        max-width: 100%;
    }

    .right-form {
        padding-top: 20px;
    }
}

/* Планшеты — 769px - 992px */
@media (min-width: 769px) and (max-width: 992px) {
    .content-wrapper {
        flex-direction: row;
        gap: 40px;
    }

    .left-content, .right-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: center;
        padding-bottom: 20px;
    }

    .right-wrapper {
        flex: 1 1 40%;
        max-width: 100%;
        padding-top: 0;
        margin: 0;
    }

    .hero-payment-info {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .payment-item {
        flex: 1 1 48%;
        min-width: auto;
    }

    .right-wrapper {
        padding-top: 175px;
    }

    .iphone-img {
        width: 100%;
        height: 100%;
        top: -100px;
        left: 0;
        transform: none;
        max-width: 100%;
    }

    .right-form {
        padding-top: 50px;
    }
}

/* Десктопы — от 993px */
@media (min-width: 993px) {
    .content-wrapper {
        flex-direction: row;
        gap: 40px;
    }

    .left-content {
        flex: 1 1 55%;
    }

    .right-wrapper {
        flex: 1 1 40%;
        padding-top: 0;
        margin: 0;
    }

    .hero-payment-info {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: flex-start;
    }

    .payment-item {
        flex: 1 1 45%;
        min-width: 250px;
    }

    .iphone-img {
        top: -120px;
        width: 100%;
        height: 60%;
    }

    .right-form {
        padding-top: 50px;
    }
}


.buy-tech-advantages {
    padding: 20px 10px;
    background: #f9fcff;
    font-family: 'Montserrat', sans-serif;
    color: #455a75;
}

.buy-tech-advantages__container {
    margin: 0 auto;
    max-width: 1200px;
}

.buy-tech-advantages__title {
    font-size: 2.6rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: #003366;
}

.buy-tech-advantages__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px 40px;
}

.buy-tech-advantage {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    padding: 28px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 163, 255, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.buy-tech-advantage:hover {
    box-shadow: 0 12px 36px rgba(0, 163, 255, 0.18);
    transform: scale(1.03);
}

.buy-tech-advantage__icon svg,
.buy-tech-advantage__icon img {
    width: 44px;
    height: 44px;
    stroke: #003366; /* тёмно-синий цвет */
    stroke-width: 2.5; /* чуть толще */
    fill: none; /* убрать заливку */
    transition: stroke 0.3s ease;
}

/* При ховере на карточку — иконка может чуть подсвечиваться */
.buy-tech-advantage:hover .buy-tech-advantage__icon svg {
    stroke: #0055aa;
}

.buy-tech-advantage__text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #003366;
}

.buy-tech-advantage__text p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #455a75;
}

@media (max-width: 600px) {
    .buy-tech-advantages__list {
        grid-template-columns: 1fr;
    }

    .buy-tech-advantages__title {
        font-size: 2rem;
        margin-bottom: 36px;
    }
}

/* После меню */
.custom-buy-block {
    background-color: #f9fcff;
    padding: 20px 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #222222;
    text-align: center;
    background: linear-gradient(135deg, #e6f3ff 0%, #b3dbff 70%, #99ccff 100%);
}

.custom-buy-block__wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.custom-buy-block__title {
    font-size: 2.0rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #003366;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.custom-buy-block__title span {
    display: block;
    color: #00a3ff;
    font-weight: 800;
    margin-top: 6px;
    font-size: 1.8rem;
}

.custom-buy-block__desc {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #004d99;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
}

.custom-buy-block__grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 36px;
}

.custom-buy-block__item {
    background: #fff;
    box-shadow: 0 6px 15px rgba(0, 163, 255, 0.12);
    border-radius: 12px;
    padding: 24px 18px 30px;
    width: calc((100% / 3) - 16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s ease;
    min-height: 180px;
    user-select: none;
}

.custom-buy-block__item:hover {
    box-shadow: 0 10px 25px rgba(0, 163, 255, 0.3);
}

.custom-buy-block__icon {
    color: #00a3ff;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.custom-buy-block__icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2;
}

.custom-buy-block__item p {
    font-size: 0.95rem;
    color: #222222;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    user-select: none;
}

.custom-buy-block__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.custom-btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 28px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 140px;
    text-align: center;
    user-select: none;
    border: 2px solid transparent;
}

.custom-btn--tg {
    background-color: #00a3ff;
    color: #fff;
    border-color: #00a3ff;
}

.custom-btn--tg:hover {
    background-color: #007bbf;
    border-color: #007bbf;
    color: #fff;
}

.custom-btn--wa {
    background-color: transparent;
    color: #00a3ff;
    border: 2px solid #00a3ff;
}

.custom-btn--wa:hover {
    background-color: #00a3ff;
    color: #fff;
}

@media (max-width: 991px) {
    .custom-buy-block__item {
        width: 48%;
        min-height: 170px;
    }
}

@media (max-width: 600px) {
    .custom-buy-block__grid {
        flex-direction: column;
        gap: 18px;
    }

    .custom-buy-block__item {
        width: 100%;
        min-height: auto;
    }

    .custom-buy-block__buttons {
        flex-direction: column;
        gap: 14px;
    }

    .custom-btn {
        min-width: 100%;
        padding: 12px 0;
    }
}

/* Шаги */
.how-to-sell-block {
    background-color: #f9fcff;
    padding: 20px 10px;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #222222;
    text-align: center;
}

.how-to-sell-block .container {
     max-width: 1200px;
    margin: 0 auto;
}

.how-to-sell-block .title {
    font-size: 2.0rem;
    font-weight: 900;
    margin-bottom: 40px;
    line-height: 1.2;
    color: #003366;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.how-to-sell-block .title span {
    display: block;
    color: #00a3ff;
    font-weight: 800;
    margin-top: 6px;
    font-size: 1.8rem;
}

.steps-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Верхний ряд: 2 шага и стрелка между */
.steps-row {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

/* Общий стиль шага */
.step {
    background: #fff;
    box-shadow: 0 6px 15px rgba(0, 163, 255, 0.12);
    border-radius: 12px;
    padding: 25px 20px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    transition: box-shadow 0.3s ease;
}

.step:hover {
    box-shadow: 0 10px 25px rgba(0, 163, 255, 0.3);
}

.step-circle {
    background-color: #00a3ff;
    color: #fff;
    font-weight: 900;
    font-size: 28px;
    width: 54px;
    height: 54px;
    line-height: 54px;
    text-align: center;
    border-radius: 50%;
    margin-bottom: 20px;
    user-select: none;
    box-shadow: 0 0 0 4px rgba(0, 163, 255, 0.3),
    0 4px 8px rgba(0, 163, 255, 0.25);
    transition: box-shadow 0.3s ease;
}

.step-circle:hover {
    box-shadow: 0 0 0 6px rgba(0, 163, 255, 0.6),
    0 6px 15px rgba(0, 163, 255, 0.4);
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #222222;
}

.step p {
    font-size: 1rem;
    line-height: 1.4;
    color: #444444;
    margin: 0;
}

/* Стрелка горизонтальная между 1 и 2 шагом */
.arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Вертикальная стрелка вниз */
.arrow-down {
    margin: 0;
    width: 24px;
    height: 40px;
}

/* Большой шаг снизу */
.step-big {
    width: 560px;
    max-width: 100%;
    padding: 40px 30px;
}

/* Адаптив */

/* На мобильных — два шага сверху в ряд и 3-й снизу */
@media (max-width: 768px) {
    .steps-row {
        width: 100%;
        justify-content: space-around;
        gap: 16px;
    }

    .step {
        width: 45%;
        padding: 20px 16px;
    }

    .step-big {
        width: 90%;
        padding: 30px 20px;
        margin-top: 20px;
    }

    .steps-wrapper {
        gap: 20px;
    }

    /* Вертикальная стрелка вниз — между двумя верхними и нижним */
    .arrow-down {
        margin: 0 auto;
        display: flex;
    }

    /* Горизонтальные стрелки между верхними шагами */
    .arrow {
        display: flex;
    }
}

/* Отзывы */
.reviews-block {
    background-color: #f9fcff;
    padding: 20px 20px 20px; /* уменьшил снизу */
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #222222;
    text-align: center;
    margin: 0 auto;
    background: linear-gradient(135deg, #e6f3ff 0%, #b3dbff 70%, #99ccff 100%);
}

.reviews-block .reviews-title {
    font-size: 2.0rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    color: #003366;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/* Важно! Обрезаем содержимое, чтобы не было видно краёв соседних слайдов */
#reviews-splide {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    overflow: hidden !important; /* вот тут overflow hidden */
    height: auto;
}

#reviews-splide .splide__track {
    overflow: hidden !important; /* тоже обрезаем */
}

#reviews-splide .splide__list {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
    /* убираем любые лишние отступы */
    margin: 0;
    padding: 0;
}

#reviews-splide .splide__slide {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0; /* убрать внутренние отступы */
    margin: 0;
}

.review-image {
    width: 100%;
    max-width: 600px;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    user-select: none;
    pointer-events: none;
    display: block;
    margin: 0 auto;
}

/* Стрелки */
#reviews-splide .splide__arrow {
    background-color: #00a3ff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 163, 255, 0.5);
}

#reviews-splide .splide__arrow:hover {
    background-color: #007bbf;
}

#reviews-splide .splide__arrow--prev {
    left: 10px;
}

#reviews-splide .splide__arrow--next {
    right: 10px;
}

/* Пагинация */
#reviews-splide .splide__pagination {
    margin-top: 14px;
    text-align: center;
}

#reviews-splide .splide__pagination__page {
    background-color: #00a3ff;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: inline-block;
}

#reviews-splide .splide__pagination__page.is-active {
    opacity: 1;
    box-shadow: 0 0 8px #00a3ff;
}

/* Адаптив */
@media (max-width: 768px) {
    .reviews-block {
        max-width: 100%;
        padding: 20px 10px 20px;
    }

    #reviews-splide {
        max-width: 100%;
    }

    #reviews-splide .splide__arrow--prev {
        left: 10px;
    }

    #reviews-splide .splide__arrow--next {
        right: 10px;
    }
}

/* Контакты */
.contacts-block {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 40px 20px;
    color: #222;
    flex-wrap: wrap;
    background: #f9fcff;
    border-radius: 16px;
}

.contacts-block__map {
    flex: 1 1 480px;
    min-height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.3);
    transition: box-shadow 0.3s ease;
}

.contacts-block__map:hover {
    box-shadow: 0 0 32px rgba(0, 163, 255, 0.5);
}

.contacts-block__info {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    min-width: 280px;
    padding: 20px 16px;
    background: #ffffff;
    border-radius: 16px;
    /* без тени */
}

.contacts-block__title {
    font-size: 2.0rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #003366;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    line-height: 1.35;
    color: #333;
    transition: color 0.25s ease;
    cursor: default;
}

.contact-item:hover {
    color: #007fcc;
}

.contact-item__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    fill: #00a3ff;
    transition: fill 0.3s ease;
}

.contact-item:hover .contact-item__icon {
    fill: #007fcc;
}

.contact-item--phone p,
.contact-item--whatsapp p,
.contact-item--telegram p {
    font-weight: 600;
    color: #00a3ff;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.contact-item--phone:hover p,
.contact-item--whatsapp:hover p,
.contact-item--telegram:hover p {
    color: #005a99;
    text-decoration: underline;
}

.contacts-block__buttons {
    margin-top: 28px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #00a3ff;
    color: white;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 163, 255, 0.45);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.btn:hover,
.btn:focus {
    background-color: #007fcc;
    box-shadow: 0 8px 28px rgba(0, 127, 204, 0.7);
}

.btn--route {
    flex: 1 1 140px;
    text-align: center;
}

.btn--call {
    flex: 1 1 140px;
    text-align: center;
}

/* Адаптив */

@media (max-width: 992px) {
    .contacts-block {
        flex-direction: column;
        padding: 20px 10px;
        gap: 30px;
    }

    .contacts-block__map,
    .contacts-block__info {
        flex: none;
        width: 100%;
        min-width: auto;
    }

    .contacts-block__buttons {
        justify-content: center;
    }

    .btn {
        flex: 1 1 45%;
    }
}


/* Футер */
.footer {
    background-color: #00a3ff;
    color: #fff;
    padding: 20px 10px;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer__menu,
.footer__contacts {
    flex: 1 1 300px;
    min-width: 280px;
    text-align: center;
}

.footer__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li {
    margin-bottom: 10px;
}

.footer-menu-list li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.footer-menu-list li a:hover,
.footer-menu-list li a:focus {
    color: #e0e0e0;
    text-decoration: underline;
}

.footer__phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer__phone-link:hover,
.footer__phone-link:focus {
    color: #d1eaff;
}

.footer__address {
    margin: 0 0 12px;
    line-height: 1.4;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.footer__address a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer__address a:hover,
.footer__address a:focus {
    color: #d1eaff;
}

.footer__messengers {
    display: flex;
    gap: 20px;
    font-weight: 600;
    font-size: 1rem;
    justify-content: center;
}

.footer__messenger-link {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.footer__messenger-link:hover,
.footer__messenger-link:focus {
    color: #d1eaff;
}

.footer__icon {
    display: inline-block;
    vertical-align: middle;
}

.footer__bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 15px;
    text-align: center;
    font-size: 0.9rem;
}

.footer__bottom a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer__bottom a:hover,
.footer__bottom a:focus {
    color: #d1eaff;
}

/* Мобильная адаптивность */
@media (max-width: 768px) {
    .footer__container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer__menu, .footer__contacts {
        flex: none;
        min-width: auto;
        width: 100%;
        color: #fff;
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 1rem;
        font-weight: 600;
        font-family: 'Montserrat', sans-serif;
        text-align: center;
    }

    .footer-menu-list li {
        margin-bottom: 8px;
        display: inline-block;
        margin-right: 15px;
    }

    .footer-menu-list li:last-child {
        margin-right: 0;
    }

    .footer__messengers {
        justify-content: center;
    }
}

/* Форма */
.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-direction: column; /* колонка */
    gap: 12px;
    margin: 20 0 0 0;
}

.wpcf7-form-control.wpcf7-radio label {
    position: relative;
    display: block;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.wpcf7-form-control.wpcf7-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wpcf7-form-control.wpcf7-radio label > span {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: #fff;
    color: #00a3ff;
    border: 2px solid #00a3ff;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.wpcf7-form-control.wpcf7-radio input[type="radio"]:checked + span {
    background-color: #00a3ff;
    color: white;
    border-color: #00a3ff;
    position: relative;
    padding-right: 25px; /* чтобы место для галочки */
}

.wpcf7-form-control.wpcf7-radio input[type="radio"]:checked + span::after {
    content: "✔";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: white;
    pointer-events: none;
}


.right-form .wpcf7-form input[type="submit"] {
    background-color: #00a3ff;
    color: white;
    border: none;
    padding: 14px 0;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    transition: background-color 0.3s ease;

    width: 100%; /* во всю ширину */
    box-sizing: border-box; /* чтобы padding учитывался внутри */
    display: block; /* чтобы занимала всю ширину */
}

p.contact-question {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem; /* около 16px */
    color: #004d99; /* темно-синий */
     margin-bottom: 12px;
}

/* Контакты */
.location-guide {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
}

.location-guide__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: #222;
}

.location-guide__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.location-guide__step {
    display: flex;
    justify-content: center;
}

.location-guide__card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    text-align: center;
}

.location-guide__card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 12px;
}

.location-guide__card p {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #003366;
}

.location-guide__title {
    font-size: 2.6rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: #003366;
}

/* Адаптив: 3 в ряд на десктопе */
@media (min-width: 768px) {
    .location-guide__steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mobile-header__logo-img {
    max-width: 180px;
    height: auto;
    display: block;
}

.mobile-header__logo-link {
    display: inline-block;
}

/* Общие стили для страницы политики конфиденциальности */
.privacy-policy-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #003366;
    background-color: #f9fcff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.1);
}

.privacy-policy__title,
.privacy-policy__subtitle {
    color: #004d99;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-policy__title {
    font-size: 2.4rem;
    margin-top: 0;
}

.privacy-policy__subtitle {
    font-size: 1.6rem;
}

.privacy-policy-container p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.privacy-policy-container a {
    color: #007acc;
    text-decoration: underline;
}

.privacy-policy-container a:hover {
    color: #004d99;
    text-decoration: none;
}

/* Мобильные стили */
@media (max-width: 767px) {
    .privacy-policy-container {
        margin: 20px 10px;
        padding: 0 15px;
    }

    .privacy-policy__title {
        font-size: 1.8rem;
    }

    .privacy-policy__subtitle {
        font-size: 1.3rem;
    }

    .privacy-policy-container p {
        font-size: 1rem;
    }
}

.privacy-processing {
    max-width: 800px;
    margin: 40px auto 80px;
    padding: 0 15px;
    font-family: Arial, sans-serif;
    color: #003366;
    line-height: 1.6;
}

.privacy-processing__title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #004d99;
}

.privacy-processing h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #004d99;
}

.privacy-processing p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cookies-policy.container {
    max-width: 900px;
    margin: 40px auto 80px;
    padding: 0 15px;
    font-family: Arial, sans-serif;
    color: #003366;
    line-height: 1.6;
}

.cookies-policy__title {
    font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    color: #003366;
}

.cookies-policy h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #004d99;
}

.cookies-policy p,
.cookies-policy ul {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.cookies-policy ul {
    padding-left: 20px;
    list-style-type: disc;
}

.cookies-policy a {
    color: #00a3ff;
    text-decoration: none;
}

.cookies-policy a:hover {
    text-decoration: underline;
}

/* Каталог */
.ts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #1a1a1a;
    background: #f9fcff;
    border-radius: 12px;
    box-sizing: border-box;
}

.ts-page-title {
    font-weight: 900;
    text-align: center;
    color: #003366;
    font-size: 2.4rem;
    margin-bottom: 40px;
    letter-spacing: 0.02em;
}

div.ts-model-categories {
     display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}


.ts-model-category-link {
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #00a3ff;
    color: white;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.ts-model-category-link:hover,
.ts-model-category-link:focus {
    background-color: #00a3ff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.35);
    outline: none;
    cursor: pointer;
}

.ts-no-categories-msg {
    font-size: 1.1rem;
    color: #666666;
    text-align: center;
    margin-top: 60px;
    font-style: italic;
}

.ts-models-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.ts-models-scroll::-webkit-scrollbar {
    height: 6px;
}

.ts-models-scroll::-webkit-scrollbar-thumb {
    background-color: #00a3ff;
    border-radius: 3px;
}

.ts-model-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #00a3ff;
    border-radius: 20px;
    padding: 10px 14px;
    min-width: 120px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-weight: 700;
}

.ts-model-label:hover {
    background-color: #007acc;
    background-color: #00a3ff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.35);
    outline: none;
    cursor: pointer;
}

.ts-model-label__img img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}

.ts-model-label__name {
    font-weight: 700;
    white-space: nowrap;
}

/* Одна модель */
.ts-model-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.1);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 12px;
}

.ts-model-line__title {
    font-size: 22px;
    font-weight: 900;
    color: #003366;
    flex-grow: 1;
    white-space: nowrap;
}

.ts-model-line__info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ts-model-line__price,
.ts-model-line__time {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.ts-model-line__btn {
    background-color: #00a3ff;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.ts-model-line__btn:hover {
    background-color: #007acc;
}

/* Картинка под блоком */
.ts-model-line__img-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.ts-model-line__img {
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

/* Описание */
.ts-model-line__desc {
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Крошки */
.breadcrumb {
    max-width: 1200px;
    margin: 20px auto; /* отступ сверху и снизу, автоцентрирование */
    padding: 0 15px; /* внутренние отступы по бокам */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    gap: 6px;
}

.breadcrumb a {
    color: #00a3ff;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #007acc;
    text-decoration: underline;
}

.breadcrumb span[property="itemListElement"]::after {
    content: "|";
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb span[property="itemListElement"]:last-child::after {
    content: "";
}

.ts-404-container {
    max-width: 700px;
    margin: 80px auto;
    padding: 0 25px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #222;
    text-align: center;
    background-color: #f9fcff;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 163, 255, 0.15);
}

.ts-404-container__title {
    font-size: 3.4rem;
    margin-bottom: 18px;
    color: #007acc;
    font-weight: 900;
}

.ts-404-container__text {
    font-size: 1.3rem;
    margin-bottom: 22px;
    line-height: 1.5;
}

.ts-404-container__link {
    display: inline-block;
    color: #007acc;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
}

.ts-404-container__link:hover {
    border-bottom: 2px solid #005f99;
    color: #005f99;
}

.ts-404-search-form {
    margin-top: 30px;
}

.ts-404-search-form input[type="search"] {
    padding: 12px 16px;
    width: 70%;
    max-width: 350px;
    font-size: 1.1rem;
    border: 2px solid #007acc;
    border-radius: 6px 0 0 6px;
    outline: none;
    box-sizing: border-box;
}

.ts-404-search-form input[type="submit"] {
    padding: 12px 22px;
    font-size: 1.1rem;
    border: 2px solid #007acc;
    background-color: #007acc;
    color: #fff;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    transition: background-color 0.3s ease;
}

.ts-404-search-form input[type="submit"]:hover {
    background-color: #005f99;
    border-color: #005f99;
}

.catalog-section {
    padding: 40px 20px;
    background-color: #f9fcff;
    color: #000;
    text-align: center;
}

.catalog-section__title {
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 10px;
}

.catalog-section__subtitle {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
}

.catalog-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.catalog-nav__item {
    cursor: pointer;
    padding: 10px 18px;
    background: #fff;
    border: 2px solid #00a3ff;
    color: #00a3ff;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.catalog-nav__item:hover,
input[name="catalog-category"]:checked + .catalog-nav__item {
    background: #00a3ff;
    color: #fff;
}

/* Скрытие контента по умолчанию */
.catalog-content .catalog-group {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Показ активного */
<
?
php
foreach

(
$
parent_categories as $ index

=
> $ cat

)
{
    echo '#catalog-cat-' . $ cat- > slug . ':checked ~ .catalog-content #catalog-content-' . $ cat- > slug . ' {
    display: flex
;
    flex-wrap: wrap
;
    gap: 20px
;
    justify-content: center
;
    opacity: 1
;
    transform: translateY(0)
;
}
' . "\n";
}
?
>
.catalog-card {
    background: #fff;
    border: 1px solid #e1ecf4;
    border-radius: 16px;
    padding: 20px;
    width: 260px;
    max-width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog-card__title {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.catalog-card__title a {
    color: #000;
    text-decoration: none;
}

.catalog-card__title a:hover {
    color: #00a3ff;
}

.catalog-card__btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00a3ff;
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.catalog-card__btn:hover {
    background-color: #008fd3;
}

.catalog-empty {
    font-size: 1em;
    color: #999;
}

.custom-model-card__img-wrapper {
    width: 260px; /* фиксированная ширина */
    height: 260px; /* фиксированная высота — квадрат */
    background: #fff; /* белый фон */
    border-radius: 12px; /* скругление */
    overflow: hidden; /* скрываем лишнее */
    display: flex;
    justify-content: center;
    align-items: center; /* центрируем изображение */
}

.custom-model-card__img {
    max-width: 100%; /* максимально по ширине */
    max-height: 100%; /* максимально по высоте */
    object-fit: contain; /* сохраняем пропорции, не обрезая */
    display: block;
    border-radius: 12px;
    background: transparent;
}

.custom-category-content {
    display: none;
}

#custom-cat-iphone:checked ~ .custom-katalog__content #custom-content-iphone,
#custom-cat-ipad:checked ~ .custom-katalog__content #custom-content-ipad,
#custom-cat-apple\ watch:checked ~ .custom-katalog__content #custom-content-apple\ watch,
#custom-cat-macbook:checked ~ .custom-katalog__content #custom-content-macbook,
#custom-cat-android:checked ~ .custom-katalog__content #custom-content-android,
#custom-cat-dyson:checked ~ .custom-katalog__content #custom-content-dyson {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    #custom-cat-iphone:checked ~ .custom-katalog__content #custom-content-iphone,
    #custom-cat-ipad:checked ~ .custom-katalog__content #custom-content-ipad,
    #custom-cat-apple\ watch:checked ~ .custom-katalog__content #custom-content-apple\ watch,
    #custom-cat-macbook:checked ~ .custom-katalog__content #custom-content-macbook,
    #custom-cat-android:checked ~ .custom-katalog__content #custom-content-android,
    #custom-cat-dyson:checked ~ .custom-katalog__content #custom-content-dyson {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

.custom-model-card__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Каталог */
.custom-katalog {
    margin: 0 auto;
    padding: 10px 10px;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #003366;
}

.custom-katalog__title {
    font-weight: 900;
    font-size: 2.0rem;
    text-align: center;
    margin-bottom: 10px;
    color: #00a3ff;
}

.custom-katalog__subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #004d99;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
}

.custom-katalog__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.custom-katalog__menu input[type="radio"] {
    display: none;
}

/* Стили для кнопок меню */
.custom-katalog__label {
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #00a3ff;
    color: white;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Запрет переноса текста */
}

/* При наведении */
.custom-katalog__label:hover {
    background-color: #007acc;
}

/* Подсветка активного пункта меню */
.custom-katalog__menu input[type="radio"]:checked + .custom-katalog__label {
    background-color: #007acc;
    box-shadow: 0 0 8px #007accaa;
}

/* Контейнер контента */
.custom-katalog__content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Карточка модели */
.custom-model-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 163, 255, 0.12);
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Эффект при наведении */
.custom-model-card:hover {
    box-shadow: 0 10px 28px rgba(0, 163, 255, 0.25);
}

/* Изображение в карточке */
.custom-model-card__img {
    width: 100%;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 12px;
}

/* Заголовок карточки */
.custom-model-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 12px;
}

/* Список моделей */
.custom-model-card__list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 18px;
    color: #004d99;
    font-weight: 500;
    font-size: 1rem;
    width: 100%;
    max-width: 260px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

/* Кнопка WhatsApp */
.custom-btn-whatsapp {
    display: inline-block;
    background-color: #00a3ff;
    color: white;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    width: 100%;
    max-width: 260px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.25);
}

/* Ховер для кнопки */
.custom-btn-whatsapp:hover {
    background-color: #007acc;
    box-shadow: 0 6px 20px rgba(0, 122, 204, 0.4);
}

/* Адаптив для маленьких экранов */
@media (max-width: 300px) {
    .custom-katalog__menu {
        flex-direction: column;
        gap: 10px;
    }

    .custom-model-card {
        max-width: 100%;
    }

    .custom-model-card__list {
        max-width: 100%;
    }
}

.custom-btn-whatsapp {
    margin-top: auto; /* толкает кнопку вниз, занимает всё доступное пространство сверху */
}

.custom-model-card__description {
    font-size: 14px;
    color: #555;
    margin: 8px 0 16px;
    line-height: 1.4;
}


/* Сброс отступов для ul */
.desktop-menu-list,
.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ОБЩИЕ СТИЛИ */
/* ОБЩИЕ СТИЛИ */
.site-header {
    background: #00a3ff;
    color: white;
    font-family: 'Montserrat', sans-serif;
    padding: 10px 10px;
}

/* ВЕРХНЯЯ ЛИНИЯ */
.site-header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-logo img {
    height: 40px;
}

/* Контакты на ПК - в строку */
.site-contacts {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.contact-link:hover,
.contact-link:focus {
    text-decoration: underline;
}

/* ДЕСKTOP МЕНЮ */
.desktop-menu {
    margin-top: 10px;
}

.menu-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.menu-list li a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.menu-list li a:hover,
.menu-list li a:focus {
    text-decoration: underline;
}

/* БУРГЕР */
.burger-button {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-button span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Крестик */
.burger-button.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.burger-button.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Скрываем десктоп-меню на мобилке */
@media (max-width: 767px) {
    .site-contacts {
        display: none;
    }

    .desktop-menu {
        display: none;
    }

    /* Показываем бургер */
    #burgerToggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10001; /* чтобы кнопка была сверху */
    }

    #burgerToggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: 0.3s ease;
    }

    /* Анимация крестика */
    #burgerToggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #burgerToggle.open span:nth-child(2) {
        opacity: 0;
    }

    #burgerToggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Мобильное меню скрываем изначально */
    #mobileMenu {
        position: fixed;
        top: 0; /* высота верхней шапки */
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #00a3ff;
        color: white;
        overflow-y: auto;
        padding: 20px;
        box-sizing: border-box;
        z-index: 10000;
        display: none;
        flex-direction: column;
        text-align: left;
    }

    /* Показываем меню, когда открыто */
    #mobileMenu.open {
        display: flex;
    }

    /* Запрет скролла тела при открытом меню */
    body.no-scroll {
        overflow: hidden;
    }

    .mobile-contacts {
        display: flex;
        flex-direction: column;
        align-items: left; /* Центрируем по горизонтали */
        gap: 10px;
        text-align: left; /* Чтобы текст внутри ссылок был по центру и переносился */
        word-break: break-word; /* Позволяет переносить длинные слова */
        white-space: normal; /* Позволяет перенос строк */
    }

    .mobile-contacts .contact-link {
        font-size: 14px;
        white-space: normal; /* важен для переноса */
        max-width: 100%; /* Чтобы не выходил за контейнер */
         color: white;
                /* Если нужно белый текст */
    }

    .mobile-menu-list {
        font-weight: 700;
        line-height: 1.5;
        margin-bottom: 30px;
        margin-top: 60px;
        font-size: 20px;
    }
}

.callback__bottom {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 24px;
    font-size: 13px;
    color: #003366;
    line-height: 1.5;
    flex-wrap: wrap;
    max-width: 100%;
}

.callback__bottom input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 2px solid #00a3ff;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.callback__bottom input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 4px;
    height: 8px;
    border: solid #00a3ff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s;
}

.callback__bottom input[type="checkbox"]:checked::after {
    opacity: 1;
}

@media (max-width: 767px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #00a3ff; /* или белый, если фон прозрачный */
    }
}