/*
Theme Name: Lucky Theme
Text Domain: lucky-theme
Author: Evgeni — Telegram: t.me/JIRAIYAnc
Description: Кастомная тема, полностью разработанная с нуля на базе минимального шаблона BlankSlate. Оптимизирована для гибкой кастомизации и удобной работы с WordPress.
Version: 1.0
*/


/* Reset and base styles */
/* ===== GLOBAL STYLES ===== */

/* Body base styles */
body {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #111111;
    background: #ffffff;
}

/* Headings */
h1, .h1 {
    font-family: Manrope, sans-serif;
    font-weight: 800;
    font-size: 46px;
    line-height: 100%;
    color: #111111;
    margin-bottom: 20px;
}

h2, .h2 {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    color: #111111;
    margin-bottom: 16px;
}

h3, .h3 {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    color: #111111;
    margin-bottom: 16px;
}

h4, h5, h6 {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    color: #111111;
    margin-bottom: 12px;
}

/* Paragraphs */
p {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #111111;
    margin-bottom: 16px;
}

/* Lists */
ul, ol {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #111111;
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
    line-height: 140%;
}

/* Special list style for product features */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.feature-list li:before {
    content: "•";
    color: #3F5F9C;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Price styling */
.price {
    font-family: Manrope, sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 100%;
    color: #111111;
}

.price.sale {
    color: #C52F2B;
}

/* Links */
a {
    color: #3F5F9C;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2d4670;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #3F5F9C;
    color: white;
}

.btn-primary:hover {
    background: #2d4670;
    color: white;
}

.btn-secondary {
    background: #f0f0f0;
    color: #111111;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-accent {
    background: #C52F2B;
    color: white;
}

.btn-accent:hover {
    background: #a82521;
    color: white;
}

/* Forms */
input, textarea, select {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #111111;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 12px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #3F5F9C;
}

/* Content containers */
.content-container {
    max-width: 1280px;
    margin: 25px auto;
    padding: 0 20px;
}

.text-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 140%;
    }
    
    h1, .h1 {
        font-size: 30px;
        margin-bottom: 16px;
    }
    
    h2, .h2,
    h3, .h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    p {
        font-size: 16px;
        line-height: 140%;
    }
    
    ul, ol {
        font-size: 16px;
        line-height: 100%;
    }
    
    .price {
        font-size: 22px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .content-container {
        padding: 0 15px;
    }
    
    .feature-list li {
        padding-left: 18px;
        margin-bottom: 10px;
    }
}

/* ===== TABLET STYLES ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    h1, .h1 {
        font-size: 36px;
    }
    
    h2, .h2,
    h3, .h3 {
        font-size: 22px;
    }
    
    .price {
        font-size: 28px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000000;
    }
    
    h1 { font-size: 18pt; }
    h2, h3 { font-size: 14pt; }
    
    .no-print { display: none !important; }
}




















* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Manrope, sans-serif;
    color: #111111;
}

/* Base styles */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1003;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    gap: 30px;
}

/* Логотип - точные размеры из макета */
.header__logo {
    flex-shrink: 0;
}

.header__logo img {
    width: 197px;
    height: 78px;
    object-fit: contain;
}

/* Десктопное меню */
.desktop-nav {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 40px;
}

/* Кнопка каталога */
.catalog {
    position: relative;
}

.catalog__toggle {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 12px 20px;
    background: #3F5F9C;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.catalog__toggle:hover {
    background: #2d4670;
}

.catalog__burger {
    width: 16px;
    height: 12px;
    position: relative;
    z-index: 1;
}

.catalog__burger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    transition: 0.3s;
    z-index: 2;
}

.catalog__burger span:nth-child(1) { 
    top: 0; 
}
.catalog__burger span:nth-child(2) { 
    top: 5px; 
}
.catalog__burger span:nth-child(3) { 
    top: 10px; 
}

/* Полноценный крестик - центрируем полоски */
.catalog__toggle.active .catalog__burger span:nth-child(1) {
    transform: rotate(45deg);
    top: 5px;
}

.catalog__toggle.active .catalog__burger span:nth-child(2) {
    opacity: 0;
}

.catalog__toggle.active .catalog__burger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 5px;
}

/* Выпадающее меню каталога - по ширине кнопки */
.catalog__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; /* Ширина как у кнопки */
    min-width: 204px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 20px 0;
    display: none;
    z-index: 1000;
}

.catalog__dropdown.active {
    display: block;
}

.catalog__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog__menu li {
    margin: 0;
}

.catalog__menu a {
    display: block;
    padding: 10px 25px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #111;
    text-decoration: none;
    transition: background 0.3s;
}

.catalog__menu a:hover {
    background: #f5f5f5;
}

/* Основное меню */
.main-menu__list {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu__list a {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #111;
    text-decoration: none;
    transition: color 0.3s;
}

.main-menu__list a:hover {
    color: #3F5F9C;
}

/* Иконки в хедере (десктоп) */
.header__actions {
    display: flex;
    gap: 15px;
}

.header__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.header__icon:hover {
    background: #e0e0e0;
}

.header__icon img {
    width: 20px;
    height: 20px;
}

/* Поле поиска (десктоп) - исправленное */
.search-form {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
    z-index: 1005;
}

.search-form.active {
    display: block;
}

.search-form__container {
    position: relative;
}

.search-form__input-wrapper {
    position: relative;
    max-width: 400px;
}

.search-form__input {
    width: 100%;
    height: 50px;
    padding: 0 50px 0 20px;
    border: 2px solid #F0F0F0;
    border-radius: 25px;
    font-family: Manrope, sans-serif;
    font-size: 16px;
    outline: none;
}

.search-form__input:focus {
    border-color: #3F5F9C;
}

.search-form__close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form__close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #A4A4A4;
}

.search-form__close span:first-child {
    transform: rotate(45deg);
}

.search-form__close span:last-child {
    transform: rotate(-45deg);
}

/* Мобильные иконки */
.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-header__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.mobile-header__icon img {
    width: 20px;
    height: 20px;
}

/* Мобильный бургер */
.mobile-burger {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #3F5F9C;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    transition: background 0.3s;
}

.mobile-burger:hover {
    background: #2d4670;
}

.mobile-burger span {
    width: 20px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.mobile-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-burger.active span:nth-child(2) {
    opacity: 0;
}

.mobile-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Мобильное меню - исправленное */
.mobile-menu {
    position: fixed;
    top: 70px; /* Начинается под header */
    left: 0;
    width: 100%;
    height: calc(100% - 70px); /* Высота минус header */
    background: white;
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.3s;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Убираем отдельный header в мобильном меню */
.mobile-menu__header {
    display: none;
}

.mobile-menu__content {
    padding: 20px;
}

/* Кнопка каталога в мобильном меню - на всю ширину */
.mobile-catalog__toggle {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background: #3F5F9C;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%; /* На всю ширину */
    max-width: 100%; /* Убираем ограничение */
}

.mobile-catalog__burger {
    width: 16px;
    height: 12px;
    position: relative;
}

.mobile-catalog__burger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.mobile-catalog__burger span:nth-child(1) { top: 0; }
.mobile-catalog__burger span:nth-child(2) { top: 5px; }
.mobile-catalog__burger span:nth-child(3) { top: 10px; }

/* Полноценный крестик для мобильного */
.mobile-catalog__toggle.active .mobile-catalog__burger span:nth-child(1) {
    transform: rotate(45deg);
    top: 5px;
}

.mobile-catalog__toggle.active .mobile-catalog__burger span:nth-child(2) {
    opacity: 0;
}

.mobile-catalog__toggle.active .mobile-catalog__burger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 5px;
}

/* Исправленная стрелочка для мобильного каталога */
.mobile-catalog__arrow {
    width: 8px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg); /* Вниз когда закрыто */
    margin-left: auto;
    transition: transform 0.3s;
}

.mobile-catalog__toggle.active .mobile-catalog__arrow {
    transform: rotate(-45deg); /* Вправо когда открыто */
}

/* Мобильное меню каталога с иерархией - НА ВСЮ ШИРИНУ */
.mobile-catalog__dropdown {
    display: none;
    margin-bottom: 20px;
    width: 100%; /* На всю ширину */
    max-width: 100%; /* Убираем ограничение */
}

.mobile-catalog__dropdown.active {
    display: block;
}

.mobile-catalog__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%; /* На всю ширину */
}

.mobile-catalog__menu li {
    margin: 0;
    position: relative;
}

.mobile-catalog__menu > li > a {
    display: block;
    padding: 12px 20px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #111; /* Черный цвет как у других */
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    background: transparent; /* Убираем фон */
    transition: color 0.3s;
}

.mobile-catalog__menu > li > a:hover {
    color: #3F5F9C; /* Цвет при наведении как у других */
}

/* НАДЕЖНЫЕ СТРЕЛОЧКИ ЧЕРЕЗ CSS ПСЕВДОЭЛЕМЕНТЫ */

/* Основные пункты меню с подкатегориями */
.mobile-catalog__menu > .menu-item-has-children > a {
    padding-right: 55px !important;
    position: relative;
    cursor: pointer;
}

.mobile-catalog__menu > .menu-item-has-children > a::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border: solid #111111;
    border-width: 0 2px 2px 0;
    transition: transform 0.3s;
}

.mobile-catalog__menu > .menu-item-has-children.active > a::after {
    transform: translateY(-50%) rotate(-45deg);
}

/* Подкатегории (второй уровень) */
.mobile-catalog__menu ul > .menu-item-has-children > a {
    padding-right: 40px !important;
    position: relative;
    cursor: pointer;
}

.mobile-catalog__menu ul > .menu-item-has-children > a::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 5px;
    height: 5px;
    border: solid #111111;
    border-width: 0 2px 2px 0;
    transition: transform 0.3s;
}

.mobile-catalog__menu ul > .menu-item-has-children.active > a::after {
    transform: translateY(-50%) rotate(-45deg);
}

/* Подкатегории с отступом - СТИЛИ КАК У ОСНОВНЫХ ПУНКТОВ */
.mobile-catalog__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 20px;
    display: none;
    background: transparent; /* Убираем серый фон */
    border-radius: 0;
    margin: 0;
}

.mobile-catalog__menu ul.active {
    display: block;
}

.mobile-catalog__menu ul li a {
    display: block;
    padding: 12px 20px; /* Такой же отступ как у основных */
    font-family: Manrope, sans-serif;
    font-weight: 500; /* Такой же вес */
    font-size: 15px; /* Чуть меньше размер */
    color: #111; /* Черный цвет, не серый */
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    background: transparent; /* Прозрачный фон */
    transition: color 0.3s;
}

.mobile-catalog__menu ul li a:hover {
    color: #3F5F9C; /* Цвет при наведении */
}

.mobile-catalog__menu ul li:last-child a {
    border-bottom: 1px solid #f0f0f0; /* Всегда есть бордер */
}

/* Убираем стандартные кружочки */
.mobile-catalog__menu,
.mobile-catalog__menu ul {
    list-style: none;
}

.mobile-catalog__menu li::before {
    display: none;
}

/* Основное меню в мобильной версии */
.mobile-main-menu__list {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.mobile-main-menu__list li {
    margin: 0;
}

.mobile-main-menu__list a {
    display: block;
    padding: 15px 0;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

/* Email в мобильном меню */
.mobile-email {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #3F5F9C;
    text-decoration: none;
    padding: 10px 0;
}

.mobile-email img {
    width: 18px;
    height: 14px;
}

/* Мобильное поле поиска - появляется под header */
.mobile-search-form {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
    z-index: 1005;
}

.mobile-search-form.active {
    display: block;
}

.mobile-search-form__container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 5px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-form__input {
    width: 100%;
    height: 44px;
    padding: 0 50px 0 50px;
    border: 2px solid #F0F0F0;
    border-radius: 25px;
    font-family: Manrope, sans-serif;
    font-size: 16px;
    outline: none;
}

.mobile-search-form__input:focus {
    border-color: #3F5F9C;
}

.mobile-search-form__close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-form__close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #A4A4A4;
}

.mobile-search-form__close span:first-child {
    transform: rotate(45deg);
}

.mobile-search-form__close span:last-child {
    transform: rotate(-45deg);
}

/* Убедимся, что header всегда поверх меню */
.header {
    position: sticky;
    top: 0;
    z-index: 1003;
}

.mobile-menu.active ~ .header {
    position: sticky;
    top: 0;
    z-index: 1004;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    
    .header__actions {
        display: none;
    }
    
    .mobile-header-actions {
        display: flex;
    }
    
    .header__container {
        height: 70px;
    }
    
    .header__logo img {
        width: 150px;
        height: auto;
    }
    
    /* Header остается видимым при открытом меню */
    .header {
        position: sticky;
        top: 0;
        z-index: 1003;
    }
    
    .mobile-menu.active ~ .header {
        position: sticky;
        top: 0;
        z-index: 1004;
    }
    
    .mobile-catalog__toggle {
        max-width: 270px;
    }
}

@media (min-width: 1025px) {
    .mobile-header-actions,
    .mobile-menu,
    .mobile-search-form {
        display: none;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header__logo img {
        width: 120px;
        height: auto;
    }
    
    .mobile-menu__content {
        padding: 15px;
    }
    
    .mobile-header__icon,
    .mobile-burger {
        width: 40px;
        height: 40px;
    }
    
    .mobile-catalog__toggle {
        max-width: 240px;
    }
    
    .mobile-menu {
        top: 70px;
        height: calc(100% - 70px);
    }
}




/* ПОКАЗЫВАЕМ КНОПКИ СТРЕЛОЧЕК */
.mobile-catalog__menu .submenu-toggle {
    display: flex !important;
    position: absolute;
    right: 15px;
    top: 10px;
    transform: translateY(-10%);
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mobile-catalog__menu .submenu-arrow {
    width: 9px;
    height: 9px;
    border: solid #111111;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.3s;
    display: block;
}

.mobile-catalog__menu .menu-item-has-children.active .submenu-arrow {
    transform: rotate(-45deg);
}

/* Для подкатегорий 2-го уровня */
.mobile-catalog__menu ul .submenu-toggle {
    /*right: 10px;*/
    width: 30px;
    height: 30px;
}

.mobile-catalog__menu ul .submenu-arrow {
    width: 8px;
    height: 8px;
}

/* Убираем CSS стрелочки через ::after */
.mobile-catalog__menu .menu-item-has-children > a::after {
    display: none !important;
}


.search-toggle img, .mobile-search-toggle img {
    width: 16px !important;
    height: 16px !important;
}














/* Стили для результатов поиска */
.search-results {
    margin: 30px 0;
}

.search-result-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
}

.search-result-item h2 {
    margin-bottom: 10px;
}

.search-result-item h2 a {
    color: #3F5F9C;
    text-decoration: none;
}

.search-result-item h2 a:hover {
    color: #2d4670;
}

.search-excerpt {
    color: #666;
    margin-bottom: 10px;
}

.read-more {
    color: #3F5F9C;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

/* Пагинация */
.search-pagination {
    margin-top: 40px;
}

.navigation.pagination {
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.nav-links a,
.nav-links span {
    padding: 8px 16px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.nav-links a:hover {
    background: #f5f5f5;
}

.nav-links .current {
    background: #3F5F9C;
    color: white;
    border-color: #3F5F9C;
}





.mobile-search-submit {
    position: absolute;
    left: 12px; /* Оставляем место для кнопки закрытия */
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-search-submit:hover {
    opacity: 1;
}

.mobile-search-submit img {
    width: 20px;
    height: 20px;
}
.mobile-search-form__container form {
    width: 100%;
}













/*---------------------FOTER---------------------*/
/* Футер */
.main-footer {
    background: #111111;
    padding: 40px 0;
    color: #FFFFFF;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* 1-ый блок: Лого и текст */
.footer-info {
    flex: 0 0 auto;
}

.footer-logo img {
    width: 197px;
    height: 78px;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-text {
    font-family: Geologica, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 130%;
    color: #FFFFFF;
}

/* 2-ой блок: Горизонтальное меню */
.footer-menu {
    flex: 1;
    max-width: 635px;
}

.footer-menu__list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 23px;
    align-items: center;
}

/* Убираем кружочки у пунктов меню */
.footer-menu__list li {
    margin: 0;
}

.footer-menu__list li::before {
    display: none !important;
}

.footer-menu__list a {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.footer-menu__list a:hover {
    color: #3F5F9C; /* Подходящий ховер под дизайн */
}

/* 3-ий блок: Контакты и политика */
.footer-contacts {
    flex: 0 0 auto;
    text-align: right;
}

.footer-email {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 150%;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-email:hover {
    color: #3F5F9C; /* Ховер как у других ссылок */
}

.email-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-policy {
    font-family: Geologica, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 130%;
}

.policy-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
}

.policy-link:hover {
    color: #3F5F9C; /* Подходящий ховер под дизайн */
}

/* Мобильная версия футера */
@media (max-width: 1024px) {
    .main-footer {
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo img {
        margin-bottom: 20px;
    }
    
    .footer-text {
        text-align: center;
        max-width: 137px;
        height: auto;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-menu {
        max-width: 100%;
        width: 100%;
    }
    
    .footer-menu__list {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    
    .footer-menu__list a {
        font-size: 16px;
        line-height: 150%;
    }
    
    .footer-contacts {
        text-align: center;
        width: 100%;
    }
    
    .footer-email {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .footer-policy {
        text-align: center;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-logo img {
        width: 150px;
        height: auto;
    }
    
    .footer-text {
        font-size: 14px;
    }
    
    .footer-menu__list a {
        font-size: 15px;
    }
    
    .footer-email {
        font-size: 15px;
    }
    
    .footer-policy {
        font-size: 14px;
    }
}














/* Страница поиска */
.search-page {
    padding: 40px 0;
    min-height: 60vh;
}

.search-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок поиска */
.search-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #111111;
    margin-bottom: 10px;
}

.search-query {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #666;
}

.query-text {
    color: #3F5F9C;
    font-weight: 600;
}

/* Результаты поиска */
.results-count {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.results-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

/* Карточка результата */
.search-result-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.search-result-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.result-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    align-items: start;
}

.result-title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 15px;
    grid-column: 1;
}

.result-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.3s;
}

.result-title a:hover {
    color: #3F5F9C;
}

.result-thumbnail {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.thumbnail-img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.result-excerpt {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 20px;
    grid-column: 1;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-column: 1;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}

.result-date {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #A4A4A4;
}

.read-more-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #3F5F9C;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more-link:hover {
    color: #2d4670;
}

/* Блок "Нет результатов" - обновленный */
.no-results {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    margin-bottom: 25px;
}

.no-results-title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #111111;
    margin-bottom: 15px;
}

.no-results-text {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 30px;
}

/* Подсказки для поиска */
.search-suggestions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.suggestions-title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #111111;
    margin-bottom: 10px;
}

.suggestions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.suggestions-list li {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.suggestions-list li:before {
    content: "•";
    color: #3F5F9C;
    position: absolute;
    left: 0;
}

/* Кнопки действий */
.no-results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.back-home-btn {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: #3F5F9C;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.3s;
}

.back-home-btn:hover {
    background: #2d4670;
    color: white;
}

.new-search-btn {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: #f0f0f0;
    color: #111111;
    border: none;
    border-radius: 8px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.new-search-btn:hover {
    background: #e0e0e0;
}

/* Адаптивность для блока "Нет результатов" */
@media (max-width: 768px) {
    .no-results-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .back-home-btn,
    .new-search-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
        justify-content: center;
    }
    
    .search-suggestions {
        padding: 15px;
    }
}

/* Пагинация */
.search-pagination {
    margin-top: 50px;
}

.navigation.pagination {
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.nav-links a,
.nav-links span {
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: #666;
    border-radius: 6px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover {
    background: #f8f8f8;
    border-color: #3F5F9C;
    color: #3F5F9C;
}

.nav-links .current {
    background: #3F5F9C;
    color: white;
    border-color: #3F5F9C;
}

/* Адаптивность */
@media (max-width: 768px) {
    .search-page {
        padding: 30px 0;
    }
    
    .search-title {
        font-size: 26px;
    }
    
    .result-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .result-thumbnail {
        grid-column: 1;
        grid-row: 2;
    }
    
    .thumbnail-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    .result-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .no-results-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .back-home-btn,
    .search-again-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .search-container {
        padding: 0 15px;
    }
    
    .search-result-card {
        padding: 20px;
    }
    
    .nav-links a,
    .nav-links span {
        padding: 8px 12px;
        font-size: 13px;
    }
}






@media (min-width: 768px) {
    .footer-email {
        margin-bottom: 80px;
    }
}










/* Страница 404 */
.error-404-page {
    padding: 60px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.error-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Номер ошибки */
.error-number {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 120px;
    color: #3F5F9C;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.1;
}

/* Заголовок и текст */
.error-title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #111111;
    margin-bottom: 15px;
}

.error-text {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 40px;
}

/* Блок с предложениями */
.error-suggestions {
    margin: 50px 0;
    text-align: left;
}

.suggestions-title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #111111;
    text-align: center;
    margin-bottom: 30px;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.suggestion-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.suggestion-item:hover {
    transform: translateY(-5px);
}

.suggestion-icon {
    margin-bottom: 15px;
}

.suggestion-item h3 {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #111111;
    margin-bottom: 10px;
}

.suggestion-item p {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

/* Кнопки действий */
.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.home-btn,
.search-btn,
.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 8px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.home-btn {
    background: #3F5F9C;
    color: white;
}

.home-btn:hover {
    background: #2d4670;
    color: white;
}

.search-btn {
    background: #f0f0f0;
    color: #111111;
}

.search-btn:hover {
    background: #e0e0e0;
}

.contact-btn {
    background: transparent;
    color: #3F5F9C;
    border: 2px solid #3F5F9C;
}

.contact-btn:hover {
    background: #3F5F9C;
    color: white;
}

/* Быстрый поиск */
.quick-search {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.quick-search h3 {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #111111;
    margin-bottom: 20px;
}

.search-form-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.search-form-wrapper form {
    position: relative;
}

.search-form-wrapper .search-field {
    width: 100%;
    height: 50px;
    padding: 0 50px 0 20px;
    border: 2px solid #f0f0f0;
    border-radius: 25px;
    font-family: Manrope, sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.search-form-wrapper .search-field:focus {
    border-color: #3F5F9C;
}

.search-form-wrapper .search-submit {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 40px;
    padding: 0 20px;
    background: #3F5F9C;
    color: white;
    border: none;
    border-radius: 20px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form-wrapper .search-submit:hover {
    background: #2d4670;
}

/* Адаптивность */
@media (max-width: 768px) {
    .error-404-page {
        padding: 40px 0;
    }
    
    .error-number {
        font-size: 80px;
    }
    
    .error-title {
        font-size: 26px;
    }
    
    .error-text {
        font-size: 16px;
    }
    
    .suggestions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .suggestion-item {
        padding: 20px 15px;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .home-btn,
    .search-btn,
    .contact-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-container {
        padding: 0 15px;
    }
    
    .error-number {
        font-size: 60px;
    }
    
    .error-title {
        font-size: 22px;
    }
    
    .quick-search {
        margin-top: 30px;
        padding-top: 30px;
    }
}

















/* Хлебные крошки и заголовок страницы */
.page-header-container {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    margin-bottom: 15px;
}

.breadcrumbs a {
    color: #111111;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #3F5F9C;
}

.breadcrumbs-separator {
    color: #C9C9C9;
    font-size: 14px;
}

.breadcrumbs .current {
    color: #C9C9C9;
}

/* Заголовок страницы */
.page-title {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 46px;
    line-height: 100%;
    color: #111111;
    margin: 0;
    margin-top: 20px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .page-header-container {
        padding: 15px 0;
    }
    
    .breadcrumbs {
        font-size: 14px;
        color: #111111;
    }
    
    .breadcrumbs .current {
        color: #C9C9C9;
    }
    
    .page-title {
        font-family: Manrope, sans-serif;
        font-weight: 800;
        font-size: 30px;
        line-height: 120%;
        color: #111111;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .breadcrumbs {
        font-size: 12px;
        gap: 8px;
    }
    
    .page-title {
        font-size: 24px;
    }
}




@media (min-width: 1024px) {
    .desktop-nav {
        margin-left: 70px;
    }
}

















/* ===== КАТАЛОГ - ГЛАВНАЯ СТРАНИЦА ===== */
.catalog-page {
    padding: 40px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

/* Карточка категории */
.category-card {
    background: #F8F8F8;
    border-radius: 32px;
    overflow: hidden;
    height: 305px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-card__inner {
    display: flex;
    height: 100%;
}

.category-card__image {
    flex: 0 0 201px;
    height: 100%;
}

.category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 0 0 30px;
}

.category-card__content {
    flex: 1;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
}

.category-card__title {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 140%;
    color: #111111;
    margin: 0 0 15px 0;
}

.category-card__price {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: #111111;
    margin-bottom: 20px;
}

.category-card__button {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #3F5F9C;
    border-radius: 12px;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;
    color: #3F5F9C;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    align-self: flex-end;
    min-width: 129px;
}

.category-card__button:hover {
    background: #3F5F9C;
    color: white;
}

/* Заглушка изображения */
.category-card__image--placeholder {
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-family: Manrope, sans-serif;
    font-size: 14px;
}

.no-categories {
    text-align: center;
    grid-column: 1 / -1;
    padding: 40px;
    font-family: Manrope, sans-serif;
    color: #666;
}

/* Адаптивность главной каталога */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .catalog-page {
        padding: 20px 0;
    }
    
    .category-card {
        height: auto;
        min-height: 200px;
    }
    
    .category-card__image {
        flex: 0 0 120px;
    }
    
    .category-card__content {
        padding: 20px 15px;
    }
    
    .category-card__title {
        font-size: 18px;
    }
    
    .category-card__price {
        font-size: 16px;
    }
    
    .category-card__button {
        font-size: 14px;
        min-width: 110px;
        padding: 6px 12px;
    }
}

/* Исправляем адаптивность для мобильных - ГЛАВНАЯ КАТАЛОГА */
@media (max-width: 480px) {
    .category-card__inner {
        flex-direction: row;
        height: auto;
        min-height: 150px;
    }
    
    .category-card__image {
        flex: 0 0 120px;
        height: 150px;
    }
    
    .category-card__image img {
        border-radius: 20px 0 0 20px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .category-card__content {
        text-align: right;
        padding: 15px;
        justify-content: center;
    }
    
    .category-card__button {
        margin-top: 10px;
    }
    
    .category-card__image--placeholder {
        height: 150px;
        width: 120px;
    }
}

/* ===== СТРАНИЦА КАТЕГОРИИ ТОВАРОВ ===== */
.category-page {
        padding: 0 0 40px 0;
}

/* Стили для page-header-container на страницах категорий */
.category-page .page-header-container {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.category-page .category-breadcrumbs {
    margin-bottom: 15px;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    color: #666;
}

.category-page .category-breadcrumbs a {
    color: #111;
    text-decoration: none;
}

.category-page .category-breadcrumbs a:hover {
    color: #3F5F9C;
}

.category-page .category-breadcrumbs .current {
    color: #C9C9C9;
}

.category-page .page-title {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 46px;
    color: #111111;
    margin: 0;
}

.breadcrumbs-separator {
    margin: 0 8px;
    color: #C9C9C9;
}

/* Макет страницы */
.category-layout {
    display: grid;
    grid-template-columns: 305px 1fr;
    gap: 40px;
    align-items: start;
}

/* Боковое меню с аккордеоном */
.category-sidebar {
    position: sticky;
    top: 100px;
}

.category-menu {
    background: #fff;
}

.category-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-menu__item {
    margin: 0 0 5px 0;
    position: relative;
}

/* Ссылка меню */
.category-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 42px;
    cursor: pointer;
}

.category-menu__link-text {
    flex: 1;
    text-decoration: none;
    color: inherit;
}

/* АКТИВНАЯ КАТЕГОРИЯ - ТОЛЬКО ТЕКУЩАЯ СИНЯЯ */
.category-menu__item.current-category .category-menu__link {
    background: #3F5F9C;
    color: white;
    border-radius: 12px;
    border-bottom: none;
}

.category-menu__item.current-category .category-menu__link .category-menu__link-text,
.category-menu__item.current-category .category-arrow {
    color: white;
}

/* Убираем синий фон при простом открытии (active) */
.category-menu__item.active:not(.current-category) .category-menu__link {
    background: transparent;
    color: #111;
    border-bottom: 1px solid #f0f0f0;
}

.category-menu__item.active:not(.current-category) .category-arrow {
    color: #111;
}

.category-menu__link:hover .category-menu__link-text {
    color: #3F5F9C;
}

.category-menu__item.current-category .category-menu__link:hover .category-menu__link-text {
    color: white;
}

/* Стрелочки */
.category-arrow {
    font-size: 18px;
    color: inherit;
    transition: transform 0.3s ease;
    margin-left: auto;
}

/* Стрелочка смотрит ВНИЗ когда закрыто */
.category-menu__item:not(.active) .category-arrow {
    transform: rotate(0deg);
}

/* Стрелочка смотрит ВПРАВО когда открыто */
.category-menu__item.active .category-arrow {
    transform: rotate(90deg);
}

/* Подкатегории 2-го уровня */
.subcategory-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 20px;
    display: none;
}

.category-menu__item.active .subcategory-menu {
    display: block;
}

.subcategory-item {
    margin: 0;
}

/* Обертка для ссылки 2-го уровня со стрелочкой */
.subcategory-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.subcategory-link {
    display: block;
    padding: 10px 10px;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #111;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    height: 45px;
    flex: 1;
}

/* Стрелочка для 2-го уровня */
.subcategory-arrow {
    font-size: 18px;
    color: inherit;
    transition: transform 0.3s ease;
    margin-left: auto;
    padding: 0 10px;
    font-weight: 700;
}

.subcategory-item.active .subcategory-arrow {
    transform: rotate(90deg);
}

/* Подкатегории 3-го уровня */
.subsubcategory-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 15px;
    display: none;
}

.subcategory-item.active .subsubcategory-menu {
    display: block;
}

.subsubcategory-item {
    margin: 0;
}

.subsubcategory-link {
    display: block;
    padding: 8px 8px;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #111;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    height: 40px;
}

/* АКТИВНЫЕ ПОДКАТЕГОРИИ - ТОЛЬКО ТЕКУЩИЕ СЕРЫЕ */
.subcategory-item.current-category .subcategory-link {
        /* background: #f0f0f0; */
    font-weight: 500;
    background: #3F5F9C;
    color: white;
    border-radius: 12px;
}

.subsubcategory-item.current-category .subsubcategory-link {
    background: #f0f0f0;
    font-weight: 500;
}

.subcategory-link:hover,
.subsubcategory-link:hover {
    color: #3F5F9C;
}

/* Основной контент */
.category-content .category-title {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 46px;
    color: #111;
    margin-bottom: 30px;
}

/* Сетка товаров */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Карточка товара */
.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    min-height: 525px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-card__image {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 305px;
    position: relative;
}

.product-card__image img {
    width: 100%;
    height: 305px;
    object-fit: contain;
    border-radius: 10px;
}

.product-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.product-card__title {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    color: #111;
    margin: 0 0 10px 0;
    text-align: left;
}

.product-card__title a {
    color: inherit;
    text-decoration: none;
}

.product-card__title a:hover {
    color: #3F5F9C;
}

.product-card__excerpt {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #666;
    margin-bottom: 17px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    text-align: left;
}

.product-card__price {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: left;
}

/* Исправляем кнопку "Подробнее" в карточках товаров */
.product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #3F5F9C;
    border-radius: 12px;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;

    text-decoration: none;
    transition: all 0.3s ease;
    width: 129px;
    height: 42px;
    box-sizing: border-box;
    white-space: nowrap;
    margin-top: auto;
    background: #3F5F9C;
    color: white;
}

.product-card__button:hover {
    
    color: #3F5F9C;
    background: white;
}

/* Пагинация */
.category-pagination {
    text-align: center;
    margin-top: 40px;
}

.category-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.category-pagination .page-numbers {
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: #666;
    border-radius: 6px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}

.category-pagination .page-numbers:hover {
    background: #f8f8f8;
    border-color: #3F5F9C;
    color: #3F5F9C;
}

.category-pagination .page-numbers.current {
    background: #3F5F9C;
    color: white;
    border-color: #3F5F9C;
}

.category-pagination .nav-links a,
.category-pagination .nav-links span {
    display: inline-block;
}

.no-products {
    text-align: center;
    grid-column: 1 / -1;
    padding: 40px;
    font-family: Manrope, sans-serif;
    color: #666;
}

/* Скрываем боковое меню на мобильных */
@media (max-width: 768px) {
    .category-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-sidebar {
        display: none;
    }
    
    .mobile-category-toggle {
        display: block;
        width: 100%;
        padding: 15px;
        background: #3F5F9C;
        color: white;
        border: none;
        border-radius: 10px;
        margin-bottom: 20px;
        cursor: pointer;
    }
}

/* Адаптивность для страницы категории */
@media (max-width: 1024px) {
    .category-layout {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-page .page-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .category-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-sidebar {
        position: static;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .category-page .page-title {
        font-size: 30px;
    }
    
    .product-card {
        height: auto;
        min-height: 500px;
    }
    
    .product-card__image {
        flex: 0 0 250px;
    }
    
    .product-card__image img {
        height: 250px;
    }
    
    .category-page {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .product-card {
        padding: 15px;
        min-height: 450px;
    }
    
    .product-card__image {
        flex: 0 0 200px;
    }
    
    .product-card__image img {
        height: 200px;
    }
    
    .product-card__title {
        font-size: 16px;
    }
    
    .product-card__excerpt {
        font-size: 14px;
    }
    
    .product-card__price {
        font-size: 18px;
    }
    
    .product-card__button {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .category-menu__link {
        font-size: 16px;
        padding: 10px 15px;
    }
    
    .subcategory-link {
        font-size: 16px;
        padding: 10px 8px;
    }
    
    .subsubcategory-link {
        font-size: 14px;
        padding: 8px 6px;
    }
    
    .category-page .page-title {
        font-size: 24px;
    }
}

/* Убираем старые стили которые не нужны */
.category-breadcrumbs:not(.category-page .category-breadcrumbs),
.category-title:not(.category-content .category-title) {
    display: none;
}




























/* ===== КАРТОЧКА ТОВАРА - ИСПРАВЛЕННАЯ ВЕРСИЯ ===== */
.product-page {
    padding: 40px 0;
}

.product-breadcrumbs {
    margin-bottom: 30px;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    color: #666;
}

.product-breadcrumbs a {
    color: #111;
    text-decoration: none;
}

.product-breadcrumbs a:hover {
    color: #3F5F9C;
}

.product-breadcrumbs .current {
    color: #C9C9C9;
}

.breadcrumbs-separator {
    margin: 0 8px;
    color: #C9C9C9;
}

/* СКРЫВАЕМ МОБИЛЬНУЮ ВЕРСИЮ НА ПК */
.mobile-product-layout {
    display: none;
}

/* ПК ВЕРСИЯ */
.desktop-product-layout {
    display: grid;
    grid-template-columns: 522px 1fr;
    gap: 60px;
    align-items: start;
}

/* ГАЛЕРЕЯ ТОВАРА */
.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    position: relative;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 476px;
}

.main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.main-image.active {
    opacity: 1;
}

/* Кнопки навигации галереи */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: #111;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.gallery-nav:hover {
    background: white;
    color: #3F5F9C;
}

.gallery-prev {
    left: -15px;
}

.gallery-next {
    right: -15px;
}

/* Кружочки навигации */
.gallery-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F0F0F0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-dot.active {
    background: #3F5F9C;
}

/* Галерея превью - ИСПРАВЛЕНО: показываем только 3 превью */
.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.gallery-thumb {
    flex: 0 0 calc(33.333% - 7px);
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    border: 2px solid transparent;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: #3F5F9C;
}

.gallery-thumb img {
    width: 100%;
    height: 65px;
    object-fit: contain;
    border-radius: 3px;
}

/* ИНФОРМАЦИЯ О ТОВАРЕ */
.product-info {
    padding-top: 20px;
}

.product-title {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 46px;
    line-height: 100%;
    color: #111111;
    margin: 0 0 15px 0;
}

.product-sku {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: rgba(17, 17, 17, 0.6);
    margin-bottom: 25px;
}

.product-description {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: #111111;
    margin-bottom: 30px;
}

.product-description p {
    margin-bottom: 15px;
}

.product-price {
    font-family: Manrope, sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 100%;
    color: #C52F2B;
    margin-bottom: 30px;
}

/* Кнопка "Оставить заявку" */
.product-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #3F5F9C;
    border-radius: 12px;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;
    color: white;
    background: #3F5F9C;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 181px;
    height: 42px;
    box-sizing: border-box;
    text-decoration: none;
    white-space: nowrap;
}

.product-order-btn:hover {
    background: #2d4670;
    border-color: #2d4670;
    color: white;
}

/* ===== ПОЛНОЭКРАННЫЙ ПРОСМОТР ИЗОБРАЖЕНИЙ ===== */
.image-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-fullscreen.active {
    display: flex;
    opacity: 1;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.fullscreen-prev {
    left: 20px;
}

.fullscreen-next {
    right: 20px;
}

.fullscreen-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: Manrope, sans-serif;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

/* ===== ПОПАП ФОРМА ===== */
.order-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.popup-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.order-popup.active .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #111;
}

.popup-title {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #111111;
    margin-bottom: 10px;
    text-align: center;
}

.popup-subtitle {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    text-align: center;
}

/* Стили для Contact Form 7 */
.wpcf7-form {
    margin-top: 20px;
}

.wpcf7-form label {
    display: block;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #111111;
    margin-bottom: 8px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: Manrope, sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
   /* margin-bottom: 20px;*/
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #3F5F9C;
}

.wpcf7-form textarea {
    height: 100px;
    resize: vertical;
}

.wpcf7-form .wpcf7-submit {
    width: 100%;
    padding: 12px;
    background: #3F5F9C;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
}

.wpcf7-form .wpcf7-submit:hover {
    background: #2d4670;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 768px) {
    .product-page {
        padding: 20px 0;
    }
    
    /* СКРЫВАЕМ ПК ВЕРСИЮ НА МОБИЛКЕ */
    .desktop-product-layout {
        display: none;
    }
    
    /* ПОКАЗЫВАЕМ МОБИЛЬНУЮ ВЕРСИЮ */
    .mobile-product-layout {
        display: block;
    }
    
    /* Убираем sticky для мобильной галереи */
    .product-gallery {
        position: static;
        top: auto;
    }
    
    /* Стили для мобильной версии */
    .product-title {
        font-family: Manrope, sans-serif;
        font-weight: 800;
        font-size: 30px;
        line-height: 100%;
        margin-bottom: 10px;
    }
    
    .product-sku {
        font-family: Manrope, sans-serif;
        font-weight: 500;
        font-size: 20px;
        line-height: 100%;
        margin-bottom: 20px;
    }
    
    .product-description {
        font-family: Manrope, sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 160%;
        margin-bottom: 25px;
    }
    
    .product-price {
        font-family: Manrope, sans-serif;
        font-weight: 800;
        font-size: 22px;
        line-height: 100%;
        margin-bottom: 25px;
        color: #C52F2B;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    /* Показываем кружочки на мобильных */
    .gallery-dots {
        display: flex;
    }
    
    /* Галерея превью на мобильных */
    .product-gallery-thumbs {
        display: flex;
        gap: 8px;
        justify-content: center;
        overflow-x: auto;
        padding: 10px 0;
    }
    
    .gallery-thumb {
        flex: 0 0 80px;
        height: 80px;
    }
    
    .gallery-thumb img {
        height: 100%;
        object-fit: contain;
    }
    
    .popup-content {
        padding: 25px 20px;
        width: 95%;
    }
    
    .product-order-btn {
        /*width: 100%;*/
        max-width: none;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .product-page {
        padding: 15px 0;
    }
    
    .product-title {
        font-size: 26px;
    }
    
    .product-sku {
        font-size: 16px;
    }
    
    .product-description {
        font-size: 14px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .main-image-container {
        height: 250px;
    }
    
    .gallery-thumb {
        flex: 0 0 70px;
        height: 70px;
    }
    
    .popup-title {
        font-size: 20px;
    }
    
    .popup-subtitle {
        font-size: 14px;
    }
}



.title_h2 h2 {
    font-size: 46px;
}

@media (max-width: 768px) {
   .title_h2 h2 {
    font-size: 30px;
} 
}


.more-link-124 {
  text-transform: uppercase;
  font-weight: 700;
}

.more-link-124:hover {

}



.text-icon_text-124 p {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
  color: #193145;
}

@media (max-width: 768px) {
  .text-icon_text-124 p {
  font-size: 18px;
}
}

.text-align-center {
    text-align: center;
}






/* Общий контейнер */
.my-testimonial-edit .single-item-wrapper {
  display: flex;
  align-items: center; /* Центрирует фото по вертикали */
  gap: 15px;
  padding: 15px;
  border-radius: 8px;
  background: #fff;
  flex-wrap: wrap;
}

/* Фото */
.my-testimonial-edit .tss-meta-info {
  flex-shrink: 0;
}

.my-testimonial-edit .profile-img-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-testimonial-edit .profile-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Контейнер справа от фото */
.my-testimonial-edit .single-item-wrapper > .right-meta-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px; /* Было 4px — сделаем плотнее */
  flex: 1;
  line-height: 1.2;
}

/* Имя */
.my-testimonial-edit .author-name {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

/* Дата */
.my-testimonial-edit .author-bio {
  font-size: 13px;
  color: #888;
  margin: 0;
}

/* Звезды */
.my-testimonial-edit .rating-wrapper {
  display: flex;
  gap: 3px;
  margin: 0;
  padding: 0;
}

.my-testimonial-edit .rating-wrapper .dashicons {
  color: #FFA500;
  font-size: 16px;
  line-height: 1;
}

/* Текст отзыва */
.my-testimonial-edit .item-content-wrapper {
  margin-top: 10px;
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
}
.my-testimonial-edit .single-item-wrapper .right-meta-block h3, 
.my-testimonial-edit .single-item-wrapper .right-meta-block h4, 
.my-testimonial-edit .single-item-wrapper .right-meta-block .rating-wrapper {
 margin: 2px !important;
}


.my-testimonial-edit .single-item-wrapper .right-meta-block h3 {
font-family: Mulish !important;
font-weight: 700 !important;
font-size: 18px !important;
color: #1D1D1D !important;
}

.my-testimonial-edit .single-item-wrapper .right-meta-block h4 {
  font-family: Mulish !important;
font-weight: 400 !important;
font-size: 14px !important;
color: #828282 !important;
}

.my-testimonial-edit .swiper-pagination-bullet {
  background-color: #F2F2F2; /* неактивный цвет */
  opacity: 1;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
}

.my-testimonial-edit .swiper-pagination-bullet:hover {
  background-color: #FF7D1D !important; /* цвет ховера */
  transform: scale(1.2);
}

.my-testimonial-edit .swiper-pagination-bullet-active {
  background-color: #3F5F9C !important; /* активный цвет */
  transform: scale(1.2);
}
.title-fon-138 {
line-height: 1.3;
font-weight: 700;
font-size: 40px;
text-align: right;
color: #fff;
padding-right: 10%;

}
.text-fon-138 {
font-weight: 500;
font-size: 18px;
color: #fff;
text-align: right;
padding-right: 10%;
}
.padding-138-correct {
  padding-right: 10%;
}
.right {
  text-align: right;
}

@media (max-width: 768px) { 
.title-fon-138 {
font-size: 22px;
text-align: right;
padding-right: 0px;
}
.text-fon-138 {
font-size: 15px;
color: #fff;
text-align: right;
padding-right: 0px;
}
.padding-138-correct {
  padding-right: 0px;
}
.right {
  text-align: right;
}
}


.title-140 {
font-weight: 700;
font-size: 22px;
}

.p-margin-bottom-corect p {
  margin-bottom: 10px !important;
}

.title-page-140 {
font-weight: 700;
font-size: 30px;
}





/* Прячем реквизиты */
.hidden-requisites {
  display: none;
}

/* Обёртка */
.copy-wrapper-138 {
  display: flex;
  align-items: center;
}

/* Кнопка */
.copy-btn-138 {
  display: flex;
  align-items: center;
  gap: 10px;
  border-color: #00000000 !important;
  background-color: #00000000 !important;
  font-weight: 500;
  font-size: 17px;
  color: #828282 !important;
  padding: 0px;
}



.copy-btn-138 img {
  width: 20px;
  height: 22px;
}


.copy-toast-138 {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #323232;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.copy-toast-138.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.rttss-right-open:before, .rttss-left-open:before {
    color: #3F5F9C;
}
.otzivi_google a {
    color: #B8B8B8;  
}





.button_correct {
    width: auto;
}


.gde-cupit-h3 h3 {
font-weight: 700;
font-style: Bold;
font-size: 28px;
text-transform: uppercase;
color: #193145;
}

@media (max-width: 768px) {
    .gde-cupit-h3 h3 {
font-size: 22px;
}
}





.contacts-wrapper-127 {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.block-for-contact-127 {
  background: #F8F8F8;
  border-radius: 32px;
  padding: 65px 40px;
  flex: 1;
  min-width: 320px;
  box-sizing: border-box;
}

.block-for-contact-127 h2 {
  margin-top: 0px;
  font-size: 28px;
  margin-bottom: 40px;
}

.block-for-contact-127 p {
  margin: 0 0 30px;
  color: #555;
  line-height: 1.6;
  font-family: Manrope, sans-serif;
  font-size: 18px;
}

.contact-link-127 {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: #3F5F9C;
  transition: 0.2s;
}

.contact-link-127:hover {
  color: #2e4480;
  text-decoration: underline;
}

.contact-link-127 img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* 📱 Адаптив под мобильные устройства */
@media (max-width: 768px) {
  .contacts-wrapper-127 {
    flex-direction: column;
    gap: 25px;
  }

  .block-for-contact-127 {
    padding: 55px 30px;
  }

  .contact-link-127 {
    font-size: 18px;
  }
  .block-for-contact-127 h2 {

  font-size: 22px;
}


@media (min-width: 1024px) {
    .contacts-wrapper-127 {
        margin-bottom: 200px;
    }
    .rewius_extra_class {
        margin-top: 200px !important;

    }
}

.search-btn {
    display: none;
}



