﻿/*
Theme Name: Bono Child
Theme URI: https://wpshop.ru/themes/bono
Author: WPShop.ru
Author URI: http://wpshop.ru/
Template: bono
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

.site-content-inner {
    padding-top: 30px;
}

/* Выбор города */
.ecs-current-city {
    color: var(--wp--preset--color--white);
}

/* МЕГА МЕНЮ */

.main-navigation-inner.fixed ul {
    justify-content: center;
    position: relative;
}

.main-navigation-inner.fixed ul:before {
    display: none;
}

.main-navigation.full ul li {
    position: initial;
    z-index: 3;
}

.main-navigation-inner.fixed ul li.child {
    width: 300px;
}

.main-navigation-inner.fixed ul ul {
    display: none;
}

.main-navigation-inner.fixed ul li.child a {
    color: #1e73be;
    font-size: 18px;
}

.main-navigation-inner.fixed ul li:hover ul {
    width: 1360px;
    display: flex;
    position: absolute;
    padding-bottom: 20px;
    top: 100%;
    background: #f2f2f2;
    left: -8px;
    z-index: 2;
}

.main-navigation-inner.fixed ul li:hover ul ul {
    left: 10px;
}

.main-navigation-inner.fixed ul li:hover ul ul {
    display: contents;
}

.main-navigation-inner.fixed ul li:hover ul ul li:hover a {
    text-decoration: underline;
}

.main-navigation-inner.fixed ul li:hover ul ul li a {
    font-size: 16px;
    color: #000000;
    padding: 5px 15px !important;
}

@media (max-width: 992px) {
    .main-navigation-inner.fixed ul li:hover ul,
    .main-navigation-inner.fixed ul li:hover ul ul {
        display: none;
    }
}

/* Хлебные крошки */
@media (max-width: 768px) {
    .product-container .woocommerce-breadcrumb {
        flex-wrap: wrap;
    }
}

/* Главная страница */

/*Категории на главной*/
.section-id--main-page-category .shop-grid {
    display: flex;
    margin-top: 40px;
}

.section-id--main-page-category .shop-grid .product-category {
    width: 25%;
}

.section-id--popular-products .shop-item {
    width: 20%;
}

.section-id--popular-products .shop-item__buttons {
    position: relative !important;
    margin-top: 20px !important;
}

@media (max-width: 999px) {
    .section-id--main-page-category .shop-grid .product-category,
    .section-id--popular-products .shop-item {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .section-id--main-page-category .shop-grid .product-category {
        width: 100%;
    }
}

/* Баннер */
@media (max-width: 768px) {
    .card-slider-container .card-slider__title {
        font-size: 0.95em;
        text-align: center;
    }

    .card-slider-container .card-slider__excerpt,
    .card-slider-container .swiper-button-next,
    .card-slider-container .swiper-button-prev {
        display: none;
    }

}


/* НАШИ ПРЕИМУЩЕСТВА */

/* Анимация для иконок */
@keyframes icon-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Основные стили секции */
.advantages-section-v2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #f7f9fc;
    padding: 80px 20px;
    text-align: center;
}

.advantages-section-v2 .section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #416285;
    margin-bottom: 20px;
    position: relative;
}

.advantages-section-v2 .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3d73af;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Адаптивная сетка: 1 колонка по умолчанию (mobile-first) */
.advantages-grid-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px; /* Ограничиваем максимальную ширину для больших мониторов */
    margin-left: auto;
    margin-right: auto;
}

/* Стили для карточек */
.advantage-item-v2 {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.advantage-item-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(61, 115, 175, 0.15);
}

/* Применяем анимацию к иконке при наведении на всю карточку */
.advantage-item-v2:hover .advantage-icon {
    animation: icon-bounce 0.4s ease-in-out;
}

.advantage-item-v2 .icon-wrapper {
    width: 75px;
    height: 75px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #416285, #3d73af); /* Градиентный фон для иконки */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(61, 115, 175, 0.3);
}

.advantage-item-v2 .advantage-icon {
    font-size: 2.2rem;
    color: #ffffff; /* Белая иконка на градиентном фоне */
}

.advantage-item-v2 h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #416285;
    margin: 0 0 12px 0;
}

.advantage-item-v2 p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555; /* Слегка приглушенный черный для лучшей читаемости */
    margin: 0;
}

.advantage-item-v2.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность: 2 колонки для планшетов */
@media (min-width: 600px) {
    .advantages-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Адаптивность: 3 колонки для десктопов (2 ряда по 3) */
@media (min-width: 992px) {
    .advantages-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .advantages-section-v2 .section-title {
        font-size: 1.9rem;
    }

    .advantage-item-v2 h3 {
        font-size: 1.2rem;
    }
}

/* ОТРАСЛЕВЫЕ РЕШЕНИЯ */

/* Анимация для переливающегося текста */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Основные стили секции */
.industry-grid-section {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #ffffff;
    padding: 80px 20px;
}

/* Стилизация заголовка с анимацией */
.industry-grid-section .section-title-v4 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.section-title-v4 .shimmer-text {
    background-image: linear-gradient(
            to right,
            #416285 20%,
            #3d73af 40%,
            #5a8cc4 60%,
            #416285 80%
    );
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Блок с почтой для заявок */
.email-cta-v2 {
    text-align: center;
    margin-bottom: 60px;
}

.email-cta-v2 .cta-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

.email-cta-v2 .email-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: #f7f9fc;
    border: 1px solid #e0e7f1;
    padding: 12px 20px;
    border-radius: 10px;
}

.email-cta-v2 a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #416285;
    text-decoration: none;
}

.email-cta-v2 button {
    background: none;
    border: none;
    cursor: pointer;
    color: #3d73af;
    font-size: 1.2rem;
}

.email-cta-v2 .copy-feedback {
    font-weight: 600;
    color: #28a745;
}

/* Адаптивная сетка */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /*max-width: 1200px;*/
    margin: 0 auto;
}

/* Дизайн карточек */
.industry-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(100, 120, 150, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.industry-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover {
    transform: translateY(-10px);
}

/* Шапка карточки */
.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    color: #ffffff;
}

.card-header i {
    font-size: 2rem;
    min-width: 32px; /* Фиксированная ширина иконки */
}

.card-header h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

/* Чередование цветов шапки и тени при наведении */
.industry-card:nth-child(odd) .card-header {
    background-color: #416285;
}

.industry-card:nth-child(even) .card-header {
    background-color: #3d73af;
}

.industry-card:nth-child(odd):hover {
    box-shadow: 0 15px 40px rgba(65, 98, 133, 0.25);
}

.industry-card:nth-child(even):hover {
    box-shadow: 0 15px 40px rgba(61, 115, 175, 0.25);
}

/* Тело карточки со списком */
.card-body {
    padding: 25px;
    flex-grow: 1; /* Растягивает блок, чтобы карточки были одной высоты */
}

.product-list-v4 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list-v4 li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
}

.product-list-v4 li:last-child {
    margin-bottom: 0;
}

.product-list-v4 i {
    color: #28a745; /* Зеленая галочка */
    margin-right: 12px;
    font-size: 1.3rem;
}

/* Адаптивность сетки */
@media (max-width: 992px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
}


/* КАК МЫ РАБОТАЕМ */

/* Основные стили секции */
.process-section {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #f7f9fc; /* Легкий фон для выделения */
    padding: 80px 20px;
}

.process-section .section-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 700;
    color: #416285;
    margin-bottom: 70px;
}

.process-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3d73af;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Контейнер для всех шагов */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    /*max-width: 1100px;*/
    margin: 0 auto;
}

/* Соединительная пунктирная линия */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px; /* Позиционируем на уровне центра кругов */
    left: 10%;
    right: 10%;
    height: 3px;
    background-image: linear-gradient(to right, #b0c4de 50%, transparent 50%);
    background-size: 15px 3px;
    /*z-index: 1;*/
}

/* Каждый отдельный шаг */
.process-step {
    flex: 1;
    padding: 0 15px;
    text-align: center;
    position: relative; /* Для z-index */
    /* Начальное состояние для анимации */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Анимация появления с задержкой для каждого шага */
.process-section.is-visible .process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.process-section.is-visible .process-step:nth-child(2) {
    transition-delay: 0.2s;
}

.process-section.is-visible .process-step:nth-child(3) {
    transition-delay: 0.3s;
}

.process-section.is-visible .process-step:nth-child(4) {
    transition-delay: 0.4s;
}

.process-section.is-visible .process-step {
    opacity: 1;
    transform: translateY(0);
}

/* Круг с номером шага */
.step-number {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 4px solid #416285;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #416285;
    position: relative;
    z-index: 2; /* Чтобы был поверх линии */
    box-shadow: 0 0 0 8px #f7f9fc; /* "Вырезает" фон вокруг себя */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    border-color: #3d73af;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #416285;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Адаптивность: перестраиваем в вертикальный вид */
@media (max-width: 992px) {
    .process-timeline {
        flex-direction: column;
        align-items: center; /* Центрируем шаги */
    }

    .process-step {
        margin-bottom: 40px;
        max-width: 400px;
    }

    .process-step:last-child {
        margin-bottom: 0;
    }

    /*.process-timeline::before {*/
    /*    top: 5%;*/
    /*    bottom: 5%;*/
    /*    left: 50%;*/
    /*    width: 3px;*/
    /*    height: 90%;*/
    /*    background-image: linear-gradient(to bottom, #b0c4de 50%, transparent 50%);*/
    /*    background-size: 3px 15px;*/
    /*}*/
}


/* НАМ ДОВЕРЯЮТ */

/* Основные стили секции */
.trust-section-v3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #f7f9fc; /* Сделаем фон секции чуть темнее для контраста */
    padding: 80px 0;
    overflow: hidden;
}

.trust-container-v3 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-section-v3 .section-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 700;
    color: #416285;
    margin-bottom: 50px;
}

/* Секция со счетчиками */
.stats-container-v3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin-bottom: 70px;
}

.stat-item-v3 {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    border-bottom: 4px solid #3d73af;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat-item-v3 .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #416285;
    line-height: 1.1;
}

.stat-item-v3 .stat-description {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
}

/* Карусель с названиями брендов */
.logo-carousel-container-v3 {
    position: relative;
    padding: 0 50px;
}

.swiper-container.logo-slider-v3 {
    width: 100%;
    overflow: hidden;
}

.swiper-slide.logo-slide-v3 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

/* Стилизация названий брендов */
.brand-name {
    font-size: 2rem;
    font-weight: 800; /* Очень жирный шрифт */
    padding: 20px 30px;
    border-radius: 12px;
    background-color: #ffffff;
    border: 2px solid #e0e7f1;
    transition: color 0.3s, border-color 0.3s, transform 0.3s;
}

/* Чередование цветов и эффект при наведении */
.swiper-slide:nth-child(odd) .brand-name {
    color: #416285;
}

.swiper-slide:nth-child(even) .brand-name {
    color: #3d73af;
}

.swiper-slide:hover .brand-name {
    transform: scale(1.05);
    border-color: currentColor; /* Окрашиваем рамку в цвет текста */
}

/* Стилизация стрелок навигации */
.logo-slider-v3 .swiper-button-next,
.logo-slider-v3 .swiper-button-prev {
    color: #416285;
    transition: color 0.3s ease;
}

.logo-slider-v3 .swiper-button-next:hover,
.logo-slider-v3 .swiper-button-prev:hover {
    color: #3d73af;
}

/* Секция соответствия ГОСТам */
.gost-compliance-section {
    margin-top: 80px;
    text-align: center;
}

.gost-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #416285;
    margin-bottom: 40px;
}

.gost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    text-align: left;
}

.gost-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e0e7f1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.gost-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3d73af;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
}

.gost-item h4 i {
    font-size: 1.1rem;
    color: #28a745;
    margin-right: 10px;
}

.gost-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .stats-container-v3 {
        grid-template-columns: 1fr;
    }

    .stat-item-v3 .stat-number {
        font-size: 2.5rem;
    }

    .logo-carousel-container-v3 {
        padding: 0 10px;
    }

    .brand-name {
        font-size: 1.5rem;
    }
}

/* ФОРМА ОБРАТНОЙ СВЯЗИ */

/*Б24*/

/* Основные стили секции */
.contact-form-section-v2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #f7f9fc;
    padding: 80px 20px;
}

/* Контейнер формы */
.form-container-v2 {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(100, 120, 150, 0.15);
}

.form-header-v2 h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #416285;
    text-align: center;
    margin: 0;
}

.form-header-v2 p {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin: 15px 0 40px 0;
}

.form-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
}

.form-group-v2 {
    margin-bottom: 25px;
    position: relative;
}

.form-group-v2.full-width {
    grid-column: 1 / -1;
}

.form-group-v2 label {
    display: block;
    font-weight: 600;
    color: #416285;
    margin-bottom: 8px;
}

.form-input, .form-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #3d73af;
    box-shadow: 0 0 0 3px rgba(61, 115, 175, 0.15);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Переключатель типа клиента */
.client-type-group {
    display: flex;
    gap: 15px;
    background-color: #f0f4f8;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 25px;
}

.client-type-group input {
    display: none;
}

.client-type-group label {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #416285;
    transition: background-color 0.3s, color 0.3s;
}

.client-type-group input:checked + label {
    background-color: #416285;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(65, 98, 133, 0.2);
}

/* Уведомление о минимальном заказе */
#min-order-notice {
    display: none; /* Скрыто по умолчанию */
    padding: 15px;
    background-color: #eaf2fa;
    border-radius: 8px;
    border-left: 5px solid #3d73af;
    margin-top: 10px;
    font-weight: 500;
    color: #416285;
}

#min-order-notice i {
    margin-right: 10px;
}

/* Информация о компании от DaData */
#company-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

#company-info span {
    display: block;
}

/* Кастомный инпут для файла */
.file-input-label {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: #416285;
    color: #ffffff; /* ИСПРАВЛЕНО */
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

.file-input-label:hover {
    background-color: #3d73af;
}

.file-input-label i {
    margin-right: 8px;
}

#file-input {
    display: none;
}

#file-name {
    margin-left: 15px;
    color: #555;
    font-style: italic;
}

/* Чекбокс и кнопка */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

#agreement {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    color: #333;
}

.checkbox-group a {
    color: #3d73af;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #3d73af;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover:not(:disabled) {
    background-color: #416285;
}

.submit-btn:disabled {
    background-color: #a0b4c8;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Стили для подсказок валидации (без изменений) */
.form-tooltip {
    position: absolute;
    bottom: 100%;
    left: 0;
    background-color: #d9534f;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    transform: translateY(10px);
    white-space: nowrap;
}

.form-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    border-width: 5px;
    border-style: solid;
    border-color: #d9534f transparent transparent transparent;
}

.form-group-v2.invalid .form-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.form-group-v2.invalid .form-input {
    border-color: #d9534f;
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-grid-v2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-container-v2 {
        padding: 30px 25px;
    }
}

/* КОПИРОВАНИЕ EMAIL */
.email-copy-container {
    position: relative; /* Обязательно для позиционирования подсказки */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f0f2f5;
    border: 1px solid #d9dde2;
    border-radius: 8px;
    padding: 8px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #1c1e21;
}

.email-copy-container .email-link {
    color: #1c1e21; /* Делаем ссылку того же цвета, что и текст */
    text-decoration: none; /* Убираем подчеркивание */
    transition: color 0.2s;
}

.email-copy-container .email-link:hover {
    color: #0a7cff; /* Цвет при наведении для понятности */
}

.email-copy-container .copy-button {
    /* Сбрасываем все стили браузера по умолчанию для кнопки */
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #606770; /* Цвет иконки */
    transition: color 0.2s, transform 0.2s;
}

.email-copy-container .copy-button:hover {
    color: #0a7cff;
}

.email-copy-container .copy-button:active {
    transform: scale(0.9);
}

.email-copy-container .copy-button i {
    font-size: 18px;
    vertical-align: middle;
}

.email-copy-container .copy-feedback {
    position: absolute;
    bottom: 125%; /* Располагаем над блоком */
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745; /* Зеленый цвет успеха */
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    z-index: 1000;
}

.email-copy-container .copy-feedback.visible {
    opacity: 1;
    visibility: visible;
    bottom: 140%; /* Эффект "всплытия" */
}

@media (max-width: 768px) {
    .swiper-wrapper .card-slider__button,
    .swiper-wrapper .card-slider__excerpt span {
        display: none;
    }
}

/* ФИЛЬТР КАТАЛОГА */
.wpc-filters-widget-wrapper {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}

.wpc-instead-of-posts-found {
    display: none;
}

@media (max-width: 992px) {
    .wpc-filters-widget-wrapper {
        display: block;
    }
}

/* Страница - главная каталога */
.shop-grid .product-category {
    width: 25%;
}

@media (max-width: 1199px) {
    .shop-grid .product-category {
        width: 33%;
    }
}

@media (max-width: 992px) {
    .shop-grid .product-category {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .shop-grid .product-category {
        width: 100%;
    }

}

/* Страница - Категория каталога */

/* Подкатегории */
.tax-product_cat .subcategories-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    gap: 12px;
    border-bottom: 1px solid #DEE2E6;
}

.tax-product_cat .subcategories-block .product-subcategory {
    width: auto;
    margin-bottom: 12px;
}

.tax-product_cat .subcategories-block .product-subcategory a {
    padding: 8px 16px;
    color: #3B82C4;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #DEE2E6;
    border-radius: 20px;
    text-decoration: none;
}

.tax-product_cat .subcategories-block .product-subcategory a:hover {
    background-color: #3B82C4;
    color: #fff;
    border: 1px solid #3B82C4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 196, 0.15);
}

/* Фильтр */
.widget_wpc_filters_widget {
    background-color: #F8F9FA;
    border-radius: 8px;
}

.widget_wpc_filters_widget .wpc-filters-main-wrap {
    padding: 25px;
}

.widget_wpc_filters_widget .wpc-filters-section {
    margin-bottom: 0;
}

.wpc-filter-header .wpc-filter-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #495057;
}

.wpc-filter-content select,
.wpc-filter-content input {
    padding: 7px 12px !important;
    border: 1px solid #DEE2E6;
    border-radius: 6px;
    font-size: 16px;
    min-width: 200px;
    height: 40px;
    margin-bottom: 0;
}

.wpc-filter-content .wpc-filters-range-slider-wrapper {
    display: none;
}

/* Сортировка */
.shop-sorting .woocommerce-result-count {
    color: #6c757d;
}

.shop-sorting .woocommerce-ordering select {
    padding: 8px 35px 8px 12px;
    border: 1px solid #DEE2E6;
    border-radius: 6px;
    font-size: 15px;
}

/*@media (max-width: 768px) {*/
/*    .woocommerce-shop .wpc-filters-open-button-container {*/
/*        display: none !important;*/
/*    }*/
/*}*/

/* Блок с товарами */
.shop-column-names {
    background-color: #F8F9FA;
    display: flex;
}

.shop-column-names .name-column {
    padding: 15px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #495057;
}

.shop-column-names .name-column.image {
    width: 150px;
}

.shop-column-names .name-column.title {
    width: 50%;
}

.shop-column-names .name-column.quantity,
.shop-column-names .name-column.price,
.shop-column-names .name-column.actions {
    width: 12%;
}

@media (max-width: 768px) {
    .shop-column-names {
        display: none;
    }
}

.tax-product_cat .shop-grid {
    max-width: 1300px;
    margin: 0 auto;
    /*border-bottom: 1px solid #91a6ba;*/
}

.tax-product_cat .shop-item {
    margin: 0;
    padding: 15px 10px;
    border-bottom: 1px solid #e9eef2;
}

.tax-product_cat .shop-item.outofstock {
    opacity: 1;
}

.tax-product_cat .shop-item.shop-item--type-standard {
    width: 100%;
    min-height: 60px;
    flex-direction: row;
    border-bottom: 1px solid #DEE2E6;
}

.tax-product_cat .shop-item--type-standard .shop-item-inner:hover {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.tax-product_cat .shop-item__image,
.tax-product_cat .shop-item__title {
    width: 45%;
    margin-bottom: 0;
}

.tax-product_cat .shop-item__image {
    display: block;
    text-align: center;
    width: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 20px;
    /*border: 1px solid #e9eef2;*/
}

.tax-product_cat .shop-item__title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 5px 0;
}

.tax-product_cat .shop-item__title a:after {
    display: none;
}

.tax-product_cat .shop-item--type-standard .shop-item-inner {
    flex-direction: row;
    align-items: center;
    padding: 6px;
}

.tax-product_cat .shop-item__image-inner {
    min-height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.tax-product_cat .shop-item__image img {
    max-width: 50px;
}

.tax-product_cat .shop-item-inner .shop-item__icons {
    top: 5px;
    left: 65px;
}

.tax-product_cat .shop-item__outofstock {
    position: initial;
    width: 15%;
    font-size: 14px;
}

body:not(.is-mobile) .shop-item--type-standard .shop-item__buttons {
    transform: unset;
    -webkit-transform: unset;
    bottom: 0;
    margin: 0;
}

.tax-product_cat .shop-item__quantity .in_stock {
    font-weight: 500;
    color: #2980b9;
}

.tax-product_cat .shop-item__quantity .out_stock {
    color: #7f8c8d;
    font-size: 13px;
}

.tax-product_cat .shop-item__price .price {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 170px;
    width: 10%;
    /*margin-right: 25px;*/
}

.tax-product_cat .shop-item__price .amount {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
}

.tax-product_cat .shop-item__price .unit {
    display: block;
    color: #e74c3c;
    font-size: 18px;
    font-weight: 700;
}

.tax-product_cat .shop-item__quantity-in-cart {
    position: relative;
}

.tax-product_cat .shop-item__quantity-in-cart .screen-reader-text,
.tax-product_cat .shop-item__quantity-in-cart .quantity-minus,
.tax-product_cat .shop-item__quantity-in-cart .quantity-plus {
    display: none;
}

.tax-product_cat .shop-item__quantity-in-cart .quantity input.qty {
    display: block!important;
    width: 60px;
    padding: 0;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .tax-product_cat .shop-item__quantity-in-cart .quantity input.qty {
        width: 100px;
        margin: 10px 0;
    }
    .tax-product_cat .shop-item__quantity-in-cart .quantity-tooltip.visible {
        bottom: -85px!important;
        left: 50px;
    }
}

.tax-product_cat .shop-item__quantity-in-cart .quantity-tooltip {
    position: absolute;
    bottom: -35px;
    left: 33px;
    transform: translateX(-50%);
    background-color: #3A5877;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
}

.tax-product_cat .shop-item__quantity-in-cart .quantity-tooltip.visible {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
    background-color: #5CB85C;
}

@keyframes blink-animation {
    0%, 100% {
        opacity: 1;
        color: #5CB85C;
        border-color: #5CB85C;
    }
    50% {
        opacity: 0.4;
    }
}

.tax-product_cat .shop-item__buttons .over-stock.blinking {
    animation: blink-animation 1.5s infinite;
}

.tax-product_cat .shop-item__buttons {
    display: flex;
    position: relative !important;
    flex-direction: row;
    gap: 10px;
    width: auto;
    margin-top: 0;
}

.tax-product_cat .shop-item__icons-compare,
.tax-product_cat .shop-item__buttons .over-stock,
.tax-product_cat .shop-item__buttons a {
    background: linear-gradient(to top, #3B82C4, #4a93d8);
    padding: 0;
    border: 1px solid #3273b3;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.tax-product_cat .shop-item__icons-compare,
.tax-product_cat .shop-item__buttons .over-stock {
    background: transparent;
    border: 1px solid #DEE2E6;
    padding: 6px;
    transition: .3s;
}

.tax-product_cat .shop-item__icons-compare:hover,
.tax-product_cat .shop-item__buttons .over-stock:hover {
    background-color: transparent;
    color: #3B82C4;
    box-shadow: none;
    border: 1px solid #3B82C4;
    transform: translateY(-2px);
}

.tax-product_cat .shop-item__buttons .over-stock:hover svg {
    fill: #3B82C4;
}

.tax-product_cat .shop-item__icons-compare {
    transform: none !important;
    -webkit-transform: none !important;
}

span.shop-item__icons-compare.js-shop-item-compare.in-compare {
    background: #000;
}

.tax-product_cat .shop-item__buttons a:hover {
    background-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(41, 128, 185, 0.2);
}

.tax-product_cat .shop-item__buttons-cart:before {
    position: relative;
    left: 4px;
    top: 7px;
}

.tax-product_cat .shop-item__buttons-cart.added {
    color: #fff;
}


.tax-product_cat .shop-item__outofstock,
.related-products .shop-item__outofstock {
    padding: 0;
    text-align: right;
}

.tax-product_cat .shop-item__outofstock svg,
.related-products .shop-item__outofstock svg {
    margin-right: 10px;
}

.tax-product_cat .shop-item__outofstock .btn-to-order,
.related-products .shop-item__outofstock .btn-to-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #7f8c8d;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    min-width: 140px;
}

.post-type-archive-product .page-description,
.tax-product_cat .term-description table {
    padding-bottom: 20px;
}

.post-type-archive-product .page-description td,
.tax-product_cat .term-description table td {
    padding: 10px;
    border: 1px solid;
}

.tax-product_cat .term-description {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .tax-product_cat .subcategories-block .product-subcategory,
    .tax-product_cat .subcategories-block .product-subcategory a {
        /*width: 100%;*/
        padding: 5px;
        margin-bottom: 0;
    }

    .tax-product_cat .shop-item {
        padding: 5px;
    }

    .tax-product_cat .shop-item__image {
        text-align: center;
        margin-right: 0;
    }

    .tax-product_cat .shop-item__image img {
        max-width: 100%;
    }

    .tax-product_cat .shop-item-inner {
        text-align: center;
    }

    .tax-product_cat .shop-item-inner .shop-item__icons {
        display: none;
    }

    .tax-product_cat .shop-item__title {
        margin-top: 20px;
    }

    .tax-product_cat .shop-grid {
        padding: 0 10px;
        column-gap: 20px;
    }

    .tax-product_cat .shop-item.shop-item--type-standard {
        width: 45%;
        margin-bottom: 20px;
        border-bottom: 1px solid #91a6ba;
    }

    .tax-product_cat .shop-item__quantity,
    .tax-product_cat .shop-item__price .price,
    .tax-product_cat .shop-item__outofstock {
        min-width: auto;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .tax-product_cat .shop-item__price .price {
        display: inline-block;
    }
    /*.tax-product_cat .shop-item__price .price .unit {*/
    /*    font-size: 18px;*/
    /*}*/
    .product-info .cart {
        column-gap: 20px;
    }

    .product-info .cart .quantity {
        margin-right: 0 !important;
    }

    .product-container .cart .single_add_to_cart_button {
        width: auto;
        margin-top: 0;
        padding: 7px 25px !important;
    }

    .product-container .cart .added_to_cart {
        display: none;
    }
}

.related-products .shop-item__outofstock,
.related-products .shop-item__buttons {
    position: relative !important;
    margin-top: 30px !important;
    text-align: left;
}

.related-products .shop-item__quantity {
    display: none;
}


nav.woocommerce-pagination {
    margin-top: 45px;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    max-width: 100%;
}

.woocommerce-tabs .woocommerce-Tabs-panel--description li {
    list-style-type: none;
}

.woocommerce-tabs .woocommerce-Tabs-panel--description li:before {
    content: "-";
    padding-right: 10px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .site-main .shop-item--type-standard .shop-item-inner {
        flex-direction: column;
    }

    .site-main .shop-item__image,
    .site-main .shop-item__title,
    .site-main .shop-item__price {
        width: 100%;
    }
}

/* Страница - Детальная каталога */
.product-container .breadcrumbs {
    font-size: 14px;
    margin-bottom: 15px;
}

.product-container .product-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.product-container .woocommerce-product-gallery__trigger span {
    display: none;
}

.product-container .key-specs {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid #ddd;
}

.product-container .key-specs .woocommerce-product-attributes-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    padding: 8px 0;
}

.product-container .key-specs .woocommerce-product-attributes-item:not(:last-child) {
    border-bottom: 1px dashed #ddd;
}

.product-container .key-specs .woocommerce-product-attributes-item__label {
    color: #7f8c8d;
    padding: 0;
}

.product-container .key-specs .woocommerce-product-attributes-item__value {
    font-weight: 500;
    padding: 0;
}

.product-container .price {
    align-items: baseline;
    margin-bottom: -10px;
    margin-left: 4px;
    font-size: 36px;
    font-weight: 700;
    color: #e74c3c;
}

.product-container .price .unit {
    font-size: 16px;
    font-weight: 400;
    color: #7f8c8d;
    margin-left: 10px;
}

.product-container .woocommerce-product-form-wrap {
    background-color: #fff;
    border: 1px solid #e9eef2;
    border-radius: 8px;
    padding: 20px;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.product-container .stock.in-stock {
    margin: 0;
    color: #27ae60;
    font-size: 16px;
    font-weight: 500;
    flex-shrink: 0;
}

.product-info .cart .quantity {
    margin-right: 70px;
}

.product-container .cart .quantity input {
    padding: .205em .45em;
    border: 1px solid #ccc;
    border-radius: 20px;
}

.product-container .cart .quantity-minus,
.product-container .cart .quantity-plus {
    top: -2px;
    font-size: 20px;
    width: 38px;
    height: 38px;
    color: #2980b9;
}

.product-container .cart .single_add_to_cart_button {
    background-color: #2980b9 !important;
    padding: 7px 67px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
}

.availability-on-order {
    color: #f39c12;
    font-size: 16px;
    font-weight: 600;
}

.btn-to-order {
    background-color: #7f8c8d;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-to-order:hover {
    background-color: #95a5a6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(127, 140, 141, 0.2);
}

.product-type-simple .tabs.wc-tabs {
    text-align: left;
}

.product-type-simple .tabs.wc-tabs li {
    margin: 0;
    padding: 15px 15px 0 15px;
}

.product-type-simple .tabs.wc-tabs li a {
    font-size: 16px;
    color: #7f8c8d;
}

.product-type-simple .wc-tabs li.active a {
    color: #2c3e50;
    font-weight: 500;
    box-shadow: inset 0 -2px 0 0 #2980b9 !important;
}

.product-type-simple .wc-tabs .woocommerce-Tabs-panel--description,
.product-type-simple .wc-tabs .woocommerce-product-attributes {
    font-size: 16px;
}

.product-type-simple .tabs.wc-tabs .woocommerce-product-attributes-item__value {
    text-align: left;
}

/* Страница - Корзина */
.woocommerce-cart-form .shop_table .product-quantity .quantity {
    max-width: 90px;
    margin: auto;
}

/* Мини-корзина */
.woocommerce-mini-cart__buttons a {
    width: 48%;
}

@media (max-width: 768px) {
    .woocommerce-mini-cart__buttons a {
        width: 100%;
    }
}

/* Страница - Корзина */
.cart-collaterals .shop_table .woocommerce-shipping-methods li {
    display: block;
}


/* Страница - Оформление заказа */
.woocommerce-checkout .payment-type .woocommerce-input-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
}

.woocommerce-checkout .payment-type .woocommerce-input-wrapper label {
    margin-left: 10px;
}

.woocommerce-checkout .my-field-class input {
    width: 100%;
}

.woocommerce-checkout-review-order-table .product-total {
    text-align: center;
}

.woocommerce .woocommerce-checkout .woocommerce-shipping-methods li {
    display: block;
}

.woocommerce-shipping-totals.shipping input {
    margin-right: 9px;
}

.woocommerce-shipping-methods #pickup-items-field-for-0 {
    display: none;
}

.form-row.create-account {
    display: none;
}

/* Страница - Контакты */
.contact-info,
.order-form,
.map {
    background-color: white;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    margin-bottom: 40px;
}

.contact-info h2 {
    margin-bottom: 20px;
    color: #416286;
    font-size: 1.6rem;
    border-bottom: 3px solid #416286;
    padding-bottom: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 1.2rem;
    color: #444;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-item svg {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    fill: #416286;
    flex-shrink: 0;
}

.contact-item a {
    color: #00695c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover,
.contact-item a:focus {
    color: #004d40;
    outline: none;
    text-decoration: underline;
}

/* Форма заказа */

.order-form h2 {
    margin-bottom: 20px;
    color: #416286;
    font-size: 1.6rem;
    border-bottom: 3px solid #416286;
    padding-bottom: 8px;
}

.order-form .b24-form-wrapper {
    margin: 0;
}

.order-form .b24-form-padding-side {
    padding: 0;
}

/* Блок с картой */
.map h2 {
    margin-bottom: 20px;
    color: #416286;
    font-size: 1.6rem;
    border-bottom: 3px solid #416286;
    padding-bottom: 8px;
}

.map {
    grid-column: 1 / -1;
    /*margin-top: 50px;*/
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.map iframe {
    border: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.map:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

/* Форма в записях */
.lead-capture-section .b24-form-wrapper {
    margin: 0;
}

.lead-capture-section .b24-form-padding-side {
    padding: 0;
}

.lead-capture-section .b24-form-btn-block .b24-form-btn {
    background-color: rgb(61, 115, 175);
}

/* Email в мобильной шапке */
.header-email {
    display: none;
}

/* Текст авторизации в шапке */
.header-customer-account__text {
    display: none;
}

@media (max-width: 768px) {
    .header-email {
        display: block;
        margin: 30px 0 -5px 0;
        padding-left: 1.4rem;
        text-align: center;
    }

    .header-email a {
        position: relative;
    }

    .header-email a:before {
        content: "✉";
        position: absolute;
        top: .15em;
        left: -30px;
        font-size: .9em;
    }
}

.mypopup-modal-close {
    color: #000;
}

/* Личный кабинет клиента */
@media (min-width: 768px) {
    .woocommerce-MyAccount-content {
        max-width: 100%;
    }

    td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
        display: flex;
        column-gap: 25px;
    }
}