/* Основные стили шапки */
.site-header {
    background: #1b1b1b;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid #3a3a3a;
}
/* ФИКС КАРТИНОК - ПОЛНОСТЬЮ БЕЗ ОБРЕЗАНИЯ */
.product-img-fixed {
    max-width: 100% !important;
    max-height: 140px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

.product-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 160px !important;
    padding: 10px !important;
    background: #2b2b2b !important;
}

.product-image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}
/* ФИКСИРОВАННЫЙ САЙДБАР СЛЕВА */
.left-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #1b1b1b;
    border-right: 1px solid #3a3a3a;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding-top: 30px;
}

/* Логотип в сайдбаре */
.sidebar-logo {
    padding: 0 20px 25px 20px;
    border-bottom: 1px solid #3a3a3a;
    margin-bottom: 25px;
    margin-top: 20px;
}

.sidebar-logo .logo-img {
    max-height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.sidebar-logo .logo-img:hover {
    transform: scale(1.05);
}

/* Меню категорий в сайдбаре */
.sidebar-categories {
    flex: 1;
    overflow-y: visible;   /* убираем обрезание */
    overflow-x: visible;
    padding: 0 20px;
}

/* Для прокрутки содержимого сайдбара используем внешний контейнер */
.left-sidebar {
    overflow-y: auto;      /* прокрутка всей левой панели */
    overflow-x: visible;
}

.left-sidebar {
    overflow-y: visible !important;
}
.sidebar-categories-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 10px;
}

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

.sidebar-menu-list li {
    border-bottom: 1px solid #3a3a3a;
    position: relative;
}

.sidebar-menu-list li:last-child {
    border-bottom: none;
}

.sidebar-menu-list a {
    display: block;
    padding: 14px 15px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    background: #1b1b1b;
}

.sidebar-menu-list a:hover {
    background: #2b2b2b;
    color: #ffffff;
    padding-left: 20px;
}

/* Основной контент сдвигаем вправо */
.main-content-wrapper {
    margin-left: 280px;
    min-height: 100vh;
}

/* Верхняя часть с меню и телефоном */
.header-top {
    background: #1b1b1b;
    padding: 15px 0;
    border-bottom: 1px solid #3a3a3a;
}

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: calc(1348px - 280px);
    margin: 0 auto;
    padding: 0 30px;
}

/* Основное меню - ОСТАВЛЯЕМ БЛИЖЕ К ЛЕВОМУ КРАЮ */
.header-main-navigation {
    flex: 1;
    margin-left: 0; /* Убрали отступ слева */
    margin-right: 40px; /* Добавили отступ справа для разделения */
}

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

.header-main-menu li {
    position: relative;
}

.header-main-menu a {
    color: #ccc;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
    white-space: nowrap;
}

.header-main-menu a:hover {
    color: #ffffff;
}

/* ПРАВАЯ ЧАСТЬ С ТЕЛЕФОНОМ И КНОПКАМИ - СДВИГАЕМ ВПРАВО */
.header-right-section {
    display: flex;
    align-items: center;
    gap: 30px; /* Увеличиваем расстояние между элементами */
    flex-shrink: 0;
    margin-left: auto; /* Прижимаем к правому краю */
}

/* Контакты - ДОБАВЛЯЕМ ОТСТУПЫ */
.header-contacts {
    padding-right: 10px; /* Отступ справа */
}

.phone-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px; /* Добавляем внутренние отступы */
    border-radius: 4px;
    border: 1px solid transparent;
}

.phone-number:hover {
    color: #ffffff;
    border-color: #3a3a3a;
    background: rgba(255,255,255,0.05);
}

.phone-number i {
    color: #777;
    transition: color 0.3s;
}

.phone-number:hover i {
    color: #ffffff;
}

/* Средняя часть с поиском */
.header-main {
    background: #1b1b1b;
    padding: 15px 0;
    border-top: 1px solid #3a3a3a;
    border-bottom: 1px solid #3a3a3a;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: calc(1348px - 280px);
    margin: 0 auto;
    padding: 0 30px;
    gap: 30px;
}

/* Поиск - делаем шире */
.header-search {
    flex: 2; /* Увеличиваем занимаемое пространство */
    position: relative;
    margin: 0 20px; /* Добавляем отступы */
}

.search-form {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0 124px 0 16px;
    height: 42px;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    transition: all 0.3s;
    background: #1b1b1b;
    color: #ccc;
    line-height: 40px;
}

.search-input:focus {
    outline: none;
    border-color: #777;
    background: #2b2b2b;
}

.search-input::placeholder {
    color: #666;
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: #777;
    border: none;
    border-radius: 0 3px 3px 0;
    width: 50px;
    cursor: pointer;
    color: white;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    background: #ffffff;
    color: #777;
}

/* Правая часть с иконками - СДВИГАЕМ ЕЩЕ ПРАВЕЕ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px; /* Увеличиваем расстояние между иконками */
    flex-shrink: 0;
    padding-left: 20px; /* Добавляем отступ слева */
    border-left: 1px solid #3a3a3a; /* Разделительная линия */
    margin-left: 20px; /* Отступ от поиска */
}

.action-button {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    font-size: 20px;
    padding: 8px; /* Увеличиваем отступы */
    transition: all 0.3s;
    width: 44px; /* Немного увеличиваем */
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.action-button:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.05);
}

.cart-count, .wishlist-count {
    position: absolute;
    top: -2px; /* Поднимаем выше */
    right: -2px;
    background: #777;
    color: white;
    border-radius: 50%;
    width: 20px; /* Немного увеличиваем */
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-weight: 600;
}

.action-button:hover .cart-count,
.action-button:hover .wishlist-count {
    background: #ffffff;
    color: #777;
}

/* Кнопка личного кабинета - СДВИГАЕМ ПРАВЕЕ */
.account-button {
    background: #777;
    color: white;
    border: none;
    padding: 10px 24px; /* Увеличиваем отступы */
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
    height: 44px; /* Увеличиваем высоту */
    display: flex;
    align-items: center;
    gap: 10px; /* Увеличиваем расстояние между иконкой и текстом */
    margin-left: 10px; /* Отступ слева */
}

.account-button:hover {
    background: #ffffff;
    color: #777;
}

/* Кнопка меню для мобильных - СКРЫВАЕМ НА ПК */
.mobile-menu-toggle {
    display: none;
}

/* Старое нижнее меню - УБИРАЕМ */
.main-navigation {
    display: none;
}

/* Стили для основного контента страницы */
.site-main {
    padding: 30px 0;
}

/* Стили для футера */
.site-footer {
    background: #1b1b1b;
    border-top: 1px solid #3a3a3a;
    padding: 20px 0;
    text-align: left;
    margin-left: 280px;
}

.footer-container {
    max-width: calc(1348px - 280px);
    margin: 0 auto;
    padding: 0 30px;
}

.copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .left-sidebar {
        width: 240px;
    }
    
    .main-content-wrapper {
        margin-left: 240px;
    }
    
    .header-top .container,
    .header-main .container {
        max-width: calc(100% - 240px);
    }
    
    .footer-container {
        max-width: calc(100% - 240px);
    }
    
    .site-footer {
        margin-left: 240px;
    }
    
    .header-main .container {
        flex-wrap: wrap;
    }
    
    .header-search {
        order: 2;
        width: 100%;
        margin: 15px 0;
    }
    
    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin: 15px 0 0 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #3a3a3a;
        padding-top: 15px;
    }
    
    .header-main-navigation {
        display: none;
    }
    
    .header-right-section {
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #3a3a3a;
    }
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #777;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 20px;
        margin-right: 15px;
        z-index: 1002;
    }
    
    .left-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 280px;
        padding-top: 70px;
    }
    
    .left-sidebar.active {
        transform: translateX(0);
        box-shadow: 5px 0 15px rgba(0,0,0,0.3);
    }
    
    .main-content-wrapper {
        margin-left: 0;
        transition: margin-left 0.3s ease;
    }
    
    .left-sidebar.active ~ .main-content-wrapper {
        margin-left: 280px;
    }
    
    .site-footer {
        margin-left: 0;
        transition: margin-left 0.3s ease;
    }
    
    .left-sidebar.active ~ .site-footer {
        margin-left: 280px;
    }
    
    .header-top .container,
    .header-main .container,
    .footer-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .header-main-navigation {
        display: none;
    }
    
    .header-top .container {
        justify-content: space-between;
    }
    
    .header-right-section {
        flex: 1;
        justify-content: flex-end;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}

@media (max-width: 768px) {
    .header-top .container,
    .header-main .container {
        padding: 0 15px;
        flex-direction: row;
        gap: 15px;
        align-items: center;
    }
    
    .header-right-section {
        gap: 15px;
    }
    
    .phone-number span {
        display: none;
    }
    
    .phone-number i {
        font-size: 20px;
    }
    
    .header-search {
        margin: 10px 0;
    }
    
    .search-input {
        padding-right: 50px;
    }
    
    .footer-container {
        padding: 0 15px;
        text-align: left;
    }
    
    .sidebar-logo .logo-img {
        max-height: 60px;
    }
    
    .account-button span {
        display: none;
    }
    
    .account-button {
        padding: 10px;
        width: 44px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .left-sidebar {
        width: 100%;
    }
    
    .left-sidebar.active ~ .main-content-wrapper,
    .left-sidebar.active ~ .site-footer {
        margin-left: 0;
    }
    
    .header-right-section {
        gap: 10px;
    }
    
    .phone-number {
        padding: 5px;
    }
    
    .action-button {
        width: 40px;
        height: 40px;
        padding: 5px;
    }
}

/* Общие стили */
body {
    background: #1b1b1b;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Затенение фона при открытом меню на мобильных */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.left-sidebar.active ~ .menu-overlay {
    display: block;
}








/* Баннер под шапкой */
.main-banner {
    background: #1b1b1b;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.main-banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

/* Адаптивность для баннера */
@media (max-width: 1200px) {
    .main-banner img {
        max-height: 350px;
    }
}

@media (max-width: 992px) {
    .main-banner img {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .main-banner img {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .main-banner img {
        max-height: 200px;
    }
}



/* Баннер под шапкой */
.banner-container {
    background: #1b1b1b;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #3a3a3a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-banner {
    width: 100%;
    max-width: 1200px; /* Ограничиваем максимальную ширину */
    margin: 0 auto;
    padding: 20px 30px; /* Отступы по бокам */
}

.main-banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px; /* Уменьшаем максимальную высоту */
    object-fit: contain; /* Сохраняем пропорции */
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Адаптивность для баннера */
@media (max-width: 1200px) {
    .main-banner {
        max-width: 1000px;
        padding: 15px 25px;
    }
    
    .main-banner img {
        max-height: 280px;
    }
}

@media (max-width: 992px) {
    .main-banner {
        max-width: 800px;
        padding: 15px 20px;
    }
    
    .main-banner img {
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .main-banner {
        padding: 10px 15px;
    }
    
    .main-banner img {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .main-banner {
        padding: 8px 10px;
    }
    
    .main-banner img {
        max-height: 150px;
    }
}

/* Стили для основного контента страницы */
.site-main {
    padding: 30px 0;
}


/* Добавим в конце style.css */

/* Стили для иконок в поиске */
.search-button i {
    font-size: 16px;
}

/* Стили для иконок в кнопках */
.action-button i,
.account-button i {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили для личного кабинета */
.account-button i {
    margin-right: 8px;
}

/* Гарантируем, что иконки Font Awesome загружаются */
.fa,
.fas,
.far,
.fab {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900;
}

.far {
    font-weight: 400;
}






/* Кнопка закрытия сайдбара для мобильных */
.sidebar-close-btn {
    display: none;
    position: absolute;
    top: 85px; /* Спускаем на уровень логотипа (было 20px) */
    right: 20px;
    width: 40px;
    height: 40px;
    background: #777;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    z-index: 1003;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-close-btn:hover {
    background: #ffffff;
    color: #777;
}

/* Показываем кнопку закрытия только на мобильных */
@media (max-width: 992px) {
    .sidebar-close-btn {
        display: flex;
    }
    
    /* Увеличиваем отступ сверху для логотипа при наличии кнопки закрытия */
    .sidebar-logo {
        padding-top: 15px;
    }
}


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

/* Адаптация для мобильных */
@media (max-width: 992px) {
    .left-sidebar {
        padding-top: 80px; /* Увеличиваем отступ сверху для кнопки закрытия */
    }
    
    /* Плавная анимация открытия/закрытия */
    .left-sidebar,
    .main-content-wrapper,
    .site-footer,
    .menu-overlay {
        transition: all 0.3s ease;
    }
}





.user-info {
    background: #1b1b1b;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #3a3a3a;
}

.user-info p {
    margin: 10px 0;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
}

.cabinet-actions {
    margin: 20px 0;
}

.cabinet-actions h3 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
}

.cabinet-actions ul {
    list-style: none;
    padding: 0;
}

.cabinet-actions li {
    margin-bottom: 10px;
}

.cabinet-actions a {
    display: block;
    padding: 12px 15px;
    background: #2b2b2b;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #ccc;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.cabinet-actions a:hover {
    background: #777;
    color: white;
    border-color: #777;
}

.recent-orders,
.no-orders {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #3a3a3a;
}

.recent-orders h3,
.no-orders h3 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
}

.order-item {
    background: #1b1b1b;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #3a3a3a;
}

.order-item p {
    margin: 5px 0;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
}

.order-item a {
    display: inline-block;
    margin-top: 10px;
    color: #777;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.order-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.no-orders .button {
    display: inline-block;
    padding: 12px 24px;
    background: #777;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-top: 15px;
}

.no-orders .button:hover {
    background: #ffffff;
    color: #1b1b1b;
}




.promautomatica-auth-page {
    background: #1b1b1b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.promautomatica-auth-wrapper {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background: #2b2b2b;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #3a3a3a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Левый блок */
.promautomatica-auth-sidebar {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #1b1b1b 0%, #2b2b2b 100%);
    padding: 50px 40px;
    border-right: 1px solid #3a3a3a;
    display: flex;
    flex-direction: column;
}

.promautomatica-auth-logo {
    margin-bottom: 50px;
}

.promautomatica-auth-logo img {
    max-height: 60px;
    width: auto;
}

.promautomatica-auth-info h3 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.promautomatica-auth-info p {
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.promautomatica-auth-benefits {
    margin-top: 40px;
}

.promautomatica-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
}

.promautomatica-benefit i {
    color: #777;
    font-size: 20px;
    width: 24px;
}

.promautomatica-auth-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #3a3a3a;
}

.promautomatica-auth-footer p {
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    margin-bottom: 15px;
}

.promautomatica-auth-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #777;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: color 0.3s;
}

.promautomatica-auth-link:hover {
    color: #ffffff;
}

/* Правый блок */
.promautomatica-auth-main {
    flex: 1;
    padding: 60px 50px;
    max-width: 600px;
}

.promautomatica-auth-header {
    margin-bottom: 40px;
}

.promautomatica-auth-header h1 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.promautomatica-auth-header p {
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.promautomatica-auth-messages {
    margin-bottom: 30px;
}

.promautomatica-message {
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
}

.promautomatica-message.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid #ff4757;
    color: #ff4757;
}

.promautomatica-message.success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

/* Форма */
.promautomatica-auth-form {
    margin-top: 20px;
}

.promautomatica-form-group {
    margin-bottom: 25px;
}

.promautomatica-form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.promautomatica-form-group label i {
    color: #777;
    font-size: 16px;
}

.promautomatica-form-group input[type="text"],
.promautomatica-form-group input[type="password"] {
    width: 100%;
    padding: 16px 50px 16px 20px;
    background: #1b1b1b;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.promautomatica-form-group input:focus {
    outline: none;
    border-color: #777;
    background: #2b2b2b;
    box-shadow: 0 0 0 3px rgba(119, 119, 119, 0.2);
}

.promautomatica-form-group input::placeholder {
    color: #666;
}

.promautomatica-password-wrapper {
    position: relative;
}

.promautomatica-toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: color 0.3s;
}

.promautomatica-toggle-password:hover {
    color: #ffffff;
}

/* Опции формы */
.promautomatica-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.promautomatica-remember-me {
    flex: 1;
}

.promautomatica-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    min-height: 24px;
}

.promautomatica-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.promautomatica-checkbox-mark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background: #1b1b1b;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    transition: all 0.3s;
}

.promautomatica-checkbox:hover .promautomatica-checkbox-mark {
    border-color: #777;
}

.promautomatica-checkbox input:checked ~ .promautomatica-checkbox-mark {
    background: #777;
    border-color: #777;
}

.promautomatica-checkbox input:checked ~ .promautomatica-checkbox-mark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.promautomatica-checkbox-text {
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.promautomatica-forgot-password a {
    color: #777;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.promautomatica-forgot-password a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Кнопка входа */
.promautomatica-auth-button {
    width: 100%;
    padding: 18px;
    background: #777;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.promautomatica-auth-button:hover {
    background: #ffffff;
    color: #1b1b1b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Разделитель */
.promautomatica-form-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #777;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.promautomatica-form-divider::before,
.promautomatica-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #3a3a3a;
}

.promautomatica-form-divider span {
    padding: 0 15px;
}

/* Социальный вход */
.promautomatica-social-login {
    margin-bottom: 25px;
}

.promautomatica-social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: #1b1b1b;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    color: #ccc;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.promautomatica-social-button:hover {
    background: #2b2b2b;
    border-color: #777;
    color: #ffffff;
}

.promautomatica-social-button i {
    font-size: 18px;
}

/* Примечание */
.promautomatica-form-note {
    margin-top: 20px;
    text-align: center;
    color: #777;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.promautomatica-form-note a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s;
}

.promautomatica-form-note a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 992px) {
    .promautomatica-auth-wrapper {
        flex-direction: column;
        max-width: 600px;
    }
    
    .promautomatica-auth-sidebar {
        padding: 40px 30px;
        border-right: none;
        border-bottom: 1px solid #3a3a3a;
    }
    
    .promautomatica-auth-main {
        padding: 40px 30px;
    }
    
    .promautomatica-auth-logo img {
        max-height: 50px;
    }
}

@media (max-width: 768px) {
    .promautomatica-form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .promautomatica-forgot-password {
        align-self: flex-end;
    }
    
    .promautomatica-auth-header h1 {
        font-size: 28px;
    }
    
    .promautomatica-auth-sidebar,
    .promautomatica-auth-main {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .promautomatica-auth-page {
        padding: 20px 15px;
    }
    
    .promautomatica-auth-wrapper {
        border-radius: 12px;
    }
    
    .promautomatica-auth-header h1 {
        font-size: 24px;
    }
    
    .promautomatica-form-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .promautomatica-forgot-password {
        align-self: center;
        text-align: center;
    }
}



.promautomatica-auth-page {
    background: #1b1b1b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.promautomatica-auth-wrapper {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background: #2b2b2b;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #3a3a3a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Левый блок */
.promautomatica-auth-sidebar {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #1b1b1b 0%, #2b2b2b 100%);
    padding: 50px 40px;
    border-right: 1px solid #3a3a3a;
    display: flex;
    flex-direction: column;
}

.promautomatica-auth-logo {
    margin-bottom: 50px;
}

.promautomatica-auth-logo img {
    max-height: 60px;
    width: auto;
}

.promautomatica-auth-info h3 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.promautomatica-auth-info p {
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.promautomatica-auth-benefits {
    margin-top: 40px;
}

.promautomatica-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
}

.promautomatica-benefit i {
    color: #777;
    font-size: 20px;
    width: 24px;
}

.promautomatica-auth-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #3a3a3a;
}

.promautomatica-auth-footer p {
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    margin-bottom: 15px;
}

.promautomatica-auth-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #777;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: color 0.3s;
}

.promautomatica-auth-link:hover {
    color: #ffffff;
}

/* Правый блок */
.promautomatica-auth-main {
    flex: 1;
    padding: 60px 50px;
    max-width: 600px;
}

.promautomatica-auth-header {
    margin-bottom: 40px;
}

.promautomatica-auth-header h1 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.promautomatica-auth-header p {
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.promautomatica-auth-messages {
    margin-bottom: 30px;
}

.promautomatica-message {
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
}

.promautomatica-message.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid #ff4757;
    color: #ff4757;
}

.promautomatica-message.success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

/* Форма */
.promautomatica-auth-form {
    margin-top: 20px;
}

.promautomatica-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.promautomatica-form-group {
    margin-bottom: 25px;
    flex: 1;
}

.promautomatica-form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.promautomatica-form-group label i {
    color: #777;
    font-size: 16px;
}

.promautomatica-form-group input[type="text"],
.promautomatica-form-group input[type="email"],
.promautomatica-form-group input[type="tel"],
.promautomatica-form-group input[type="password"] {
    width: 100%;
    padding: 16px 50px 16px 20px;
    background: #1b1b1b;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.promautomatica-form-group input:focus {
    outline: none;
    border-color: #777;
    background: #2b2b2b;
    box-shadow: 0 0 0 3px rgba(119, 119, 119, 0.2);
}

.promautomatica-form-group input::placeholder {
    color: #666;
}

.promautomatica-password-wrapper {
    position: relative;
}

.promautomatica-toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: color 0.3s;
}

.promautomatica-toggle-password:hover {
    color: #ffffff;
}

.promautomatica-password-hint {
    color: #777;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    margin-top: 5px;
}

/* Чекбоксы */
.proma-checkbox-group {
    margin-bottom: 20px;
}

.promautomatica-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    min-height: 24px;
}

.promautomatica-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.promautomatica-checkbox-mark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background: #1b1b1b;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    transition: all 0.3s;
}

.promautomatica-checkbox:hover .promautomatica-checkbox-mark {
    border-color: #777;
}

.promautomatica-checkbox input:checked ~ .promautomatica-checkbox-mark {
    background: #777;
    border-color: #777;
}

.promautomatica-checkbox input:checked ~ .promautomatica-checkbox-mark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.promautomatica-checkbox-text {
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.promautomatica-checkbox-text a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s;
}

.promautomatica-checkbox-text a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Кнопка */
.promautomatica-auth-button {
    width: 100%;
    padding: 18px;
    background: #777;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.promautomatica-auth-button:hover {
    background: #ffffff;
    color: #1b1b1b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.promautomatica-form-note {
    margin-top: 20px;
    text-align: center;
    color: #777;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .promautomatica-auth-wrapper {
        flex-direction: column;
        max-width: 600px;
    }
    
    .promautomatica-auth-sidebar {
        padding: 40px 30px;
        border-right: none;
        border-bottom: 1px solid #3a3a3a;
    }
    
    .promautomatica-auth-main {
        padding: 40px 30px;
    }
    
    .promautomatica-auth-logo img {
        max-height: 50px;
    }
}

@media (max-width: 768px) {
    .promautomatica-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .promautomatica-auth-header h1 {
        font-size: 28px;
    }
    
    .promautomatica-auth-sidebar,
    .promautomatica-auth-main {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .promautomatica-auth-page {
        padding: 20px 15px;
    }
    
    .promautomatica-auth-wrapper {
        border-radius: 12px;
    }
    
    .promautomatica-auth-header h1 {
        font-size: 24px;
    }
}























.importall22-wrapper {
    max-width: 1200px;
}

.importall22-wrapper .card {
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin: 20px 0;
    padding: 20px;
}

.importall22-wrapper h1 {
    color: #23282d;
}

.file-info, .mapping-info, .import-settings {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: #46b450;
    width: 0%;
    transition: width 0.3s;
}

.progress-info {
    text-align: center;
    font-weight: bold;
    margin: 10px 0;
}

.import-log {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    background: #f9f9f9;
    margin-top: 20px;
}

.log-content {
    font-family: monospace;
    font-size: 12px;
    line-height: 1.5;
}

.log-entry {
    padding: 5px;
    border-bottom: 1px solid #eee;
}

.log-entry.success {
    color: #46b450;
}

.log-entry.error {
    color: #dc3232;
}

.log-entry.info {
    color: #0073aa;
}

.import-results table {
    width: 100%;
    margin: 20px 0;
}

.import-results th {
    background: #f1f1f1;
    padding: 10px;
    text-align: left;
}

.import-results td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.sample-products {
    margin: 20px 0;
}

.sample-product {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.sample-product h4 {
    margin-top: 0;
    color: #23282d;
}

.sample-attributes {
    margin-top: 10px;
}

.attribute-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #ddd;
}

.attribute-name {
    font-weight: bold;
    color: #666;
}

.attribute-value {
    color: #333;
}

.button-large {
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
}

.button .dashicons {
    vertical-align: middle;
    margin-right: 5px;
}








/* Верхняя часть с меню и телефоном */
.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: calc(1348px - 280px);
    margin: 0 auto;
    padding: 0 40px; /* Увеличили с 30px до 40px */
}

/* Средняя часть с поиском */
.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: calc(1348px - 280px);
    margin: 0 auto;
    padding: 0 40px; /* Увеличили с 30px до 40px */
    gap: 30px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .header-top .container,
    .header-main .container {
        padding: 0 35px; /* Соответствующее увеличение */
    }
}

@media (max-width: 768px) {
    .header-top .container,
    .header-main .container {
        padding: 0 20px; /* Возвращаем к стандартным значениям на мобильных */
    }
}





















/* ===== ОСНОВНЫЕ СТИЛИ ===== */
.products-grid-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== КАТЕГОРИИ С ГОРИЗОНТАЛЬНОЙ ПРОКРУТКОЙ ===== */
.categories-scroll-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.categories-scroll-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.categories-scroll-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.categories-scroll-track {
    display: flex;
    gap: 10px;
    padding: 5px;
    transition: transform 0.3s ease;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.category-item {
    flex: 0 0 auto;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
    user-select: none;
}

.category-item:hover {
    border-color: #0073aa;
    color: #0073aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.1);
}

.category-item.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    box-shadow: 0 4px 12px rgba(0,115,170,0.2);
}

.scroll-btn {
    flex: 0 0 40px;
    height: 40px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #555;
}

.scroll-btn:hover:not(:disabled) {
    background: #0073aa;
    border-color: #0073aa;
    color: white;
    transform: scale(1.1);
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #0073aa;
    color: #0073aa;
}

.filter-btn.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* ===== ЗАГОЛОВОК И ФИЛЬТРЫ ===== */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.products-count {
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
}

.sorting-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sort-by {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-by label {
    font-weight: 500;
    color: #555;
}

.sort-select {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    min-width: 200px;
}

.sort-select:focus {
    outline: none;
    border-color: #0073aa;
}

.view-options {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    color: #777;
    transition: all 0.3s ease;
}

.view-btn:hover {
    border-color: #0073aa;
    color: #0073aa;
}

.view-btn.active {
    background: #0073aa;
    border-color: #0073aa;
    color: white;
}

/* ===== СЕТКА ТОВАРОВ ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Стиль для вида сетки */
.products-grid.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Стиль для вида списка */
.products-grid.list-view {
    grid-template-columns: 1fr;
    gap: 15px;
}

.products-grid.list-view .product-card {
    flex-direction: row;
    max-width: 100%;
}

.products-grid.list-view .product-image {
    flex: 0 0 200px;
    height: 200px;
}

.products-grid.list-view .product-info {
    flex: 1;
    padding: 20px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: #ff4757;
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
}

.product-image {
    position: relative;
    padding-top: 75%; /* Соотношение 4:3 */
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    background: #f8f9fa;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.quick-view-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: #0073aa;
    color: white;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 12px;
    color: #0073aa;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #0073aa;
}

.product-excerpt {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 10px 0;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.product-sku {
    font-size: 12px;
    color: #888;
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 3px;
}

.add-to-cart-btn {
    padding: 8px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.add-to-cart-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
}

/* ===== ПАГИНАЦИЯ ===== */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.active):not(:disabled) {
    border-color: #0073aa;
    color: #0073aa;
}

.pagination-btn.active {
    background: #0073aa;
    border-color: #0073aa;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-dots {
    padding: 0 10px;
    color: #999;
}

/* ===== МОДАЛЬНОЕ ОКНО БЫСТРОГО ПРОСМОТРА ===== */
.quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    margin: 5vh auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    z-index: 10000;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #0073aa;
    color: white;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: 80vh;
}

/* ===== МОБИЛЬНЫЕ СТИЛИ ===== */
.mobile-filters-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.mobile-filters-btn .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mobile-filters {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 400px;
    height: 100%;
    background: white;
    z-index: 9998;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
}

.mobile-filters.open {
    transform: translateX(0);
}

.mobile-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-filters-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

.mobile-filters-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
}

/* ===== ЗАГРУЗКА ===== */
.loading-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-categories {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* ===== ОТЗЫВЧИВОСТЬ ===== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 15px;
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .sorting-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .products-grid-section {
        padding: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
    }
    
    .products-grid.list-view .product-image {
        flex: 0 0 auto;
        height: 200px;
    }
    
    .categories-scroll-container {
        display: none;
    }
    
    .categories-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .mobile-filters-btn {
        display: block;
    }
    
    .modal-content {
        width: 95%;
        margin: 2vh auto;
        max-height: 96vh;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .pagination-btn {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

/* ===== УТИЛИТЫ ===== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0073aa;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e9ecef;
}

/* Анимации */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Скрыть элементы для скринридеров */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}





























/* Стили для картинок с классом product-image-main */
.product-image .product-image-main {
    width: 70% !important;
    height: auto !important;
    max-width: 70%;
    object-fit: contain;
    display: block;
    margin: 0 auto; /* Центрирование */
}























/* ===== ПРЕОБРАЗОВАНИЕ В СВЕТЛУЮ ТЕМУ С АКЦЕНТАМИ ===== */

:root {
    /* Основные цвета */
    --bg-primary: #ffffff;      /* Чисто белый фон */
    --bg-secondary: #f8f9fa;    /* Светло-серый для карточек */
    --bg-tertiary: #f0f2f5;     /* Чуть темнее для разделения */
    --border-light: #e9ecef;    /* Очень светлые границы */
    --border-medium: #dee2e6;   /* Средние границы */
    
    /* Текст */
    --text-primary: #212529;    /* Почти черный */
    --text-secondary: #495057;  /* Темно-серый */
    --text-muted: #6c757d;      /* Серый */
    
    /* Акцентные цвета */
    --green: #28a745;           /* Зеленый для скидок, успеха */
    --green-dark: #218838;      /* Темно-зеленый при наведении */
    --orange: #fd7e14;          /* Оранжевый для новинок, хитов */
    --orange-dark: #e96b02;     /* Темно-оранжевый при наведении */
    --blue: #007bff;            /* Синий для ссылок */
    --blue-dark: #0069d9;       /* Темно-синий при наведении */
    --red: #dc3545;             /* Красный для ошибок, распродаж */
    
    /* Кнопки (холодный белый) */
    --btn-bg: #f1f3f5;          /* Холодный белый для кнопок */
    --btn-hover: #e9ecef;       /* Чуть темнее при наведении */
    --btn-border: #dee2e6;      /* Граница кнопок */
    
    /* Тени */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
}

/* ===== ОСНОВНЫЕ СТИЛИ ===== */
body {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-family: 'Montserrat', sans-serif;
}

/* ===== САЙДБАР ===== */
.left-sidebar {
    background: var(--bg-primary) !important;
    border-right: 1px solid var(--border-light) !important;
}

.sidebar-logo {
    border-bottom: 1px solid var(--border-light) !important;
}

.sidebar-categories-title {
    color: var(--text-secondary) !important;
}

.sidebar-menu-list li {
    border-bottom: 1px solid var(--border-light) !important;
}

.sidebar-menu-list a {
    color: var(--text-secondary) !important;
    background: var(--bg-primary) !important;
}

.sidebar-menu-list a:hover {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* ===== ШАПКА ===== */
.site-header,
.header-top,
.header-main,
.site-footer {
    background: var(--bg-primary) !important;
    border-color: var(--border-light) !important;
}

.header-main-menu a {
    color: var(--text-secondary) !important;
}

.header-main-menu a:hover {
    color: var(--blue) !important;
}

.phone-number {
    color: var(--text-primary) !important;
}

.phone-number i {
    color: var(--text-muted) !important;
}

/* ===== ПОИСК ===== */
.search-input {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--text-primary) !important;
}

.search-input:focus {
    background: var(--bg-primary) !important;
    border-color: var(--blue) !important;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1) !important;
}

.search-input::placeholder {
    color: var(--text-muted) !important;
}

.search-button {
    background: var(--btn-bg) !important;
    color: var(--text-secondary) !important;
    border-left: 1px solid var(--border-medium) !important;
}

.search-button:hover {
    background: var(--btn-hover) !important;
    color: var(--text-primary) !important;
}

/* ===== КНОПКИ ДЕЙСТВИЙ (ИЗБРАННОЕ, КОРЗИНА) ===== */
.action-button {
    color: var(--text-secondary) !important;
    background: transparent !important;
}

.action-button:hover {
    color: var(--blue) !important;
    background: var(--bg-secondary) !important;
}

.cart-count,
.wishlist-count {
    background: var(--btn-bg) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-light) !important;
}

/* ===== КНОПКА ЛИЧНОГО КАБИНЕТА ===== */
.account-button {
    background: var(--btn-bg) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--btn-border) !important;
    box-shadow: var(--shadow-sm);
}

.account-button:hover {
    background: var(--btn-hover) !important;
    color: var(--text-primary) !important;
    box-shadow: var(--shadow-md);
}

/* ===== СТРАНИЦА ТОВАРОВ ===== */
.promautomatica-products-page {
    background: var(--bg-primary) !important;
}

/* Секция категорий */
.categories-scroll-section {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-sm);
}

.section-title {
    color: var(--text-primary) !important;
}

.scroll-btn {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--text-secondary) !important;
}

.scroll-btn:hover:not(:disabled) {
    background: var(--blue) !important;
    color: white !important;
    border-color: var(--blue) !important;
}

/* Категории */
.category-item {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-medium) !important;
}

.category-item:hover {
    border-color: var(--blue) !important;
    box-shadow: var(--shadow-sm);
}

.category-item:hover .category-name {
    color: var(--blue) !important;
}

.category-item.active {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
}

.category-item.active .category-name,
.category-item.active .category-count {
    color: white !important;
}

.category-name {
    color: var(--text-secondary) !important;
}

.category-count {
    color: var(--text-muted) !important;
}

/* Секция товаров */
.products-grid-section {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-sm);
}

.products-count {
    color: var(--text-muted) !important;
    background: var(--bg-primary) !important;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

/* Карточка товара */
.product-card {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--border-medium) !important;
}

.product-image-container {
    background: var(--bg-secondary) !important;
}

.product-image {
    background: var(--bg-secondary) !important;
}

.product-info {
    background: var(--bg-primary) !important;
}

.product-title {
    color: var(--text-primary) !important;
}

.product-category {
    color: var(--text-muted) !important;
}

.product-price {
    color: var(--text-primary) !important;
    font-weight: 700;
}

/* ===== ЗЕЛЕНЫЕ АКЦЕНТЫ (скидки, успех) ===== */
/* Бейдж скидки */
.product-badge.sale,
.product-badge.discount,
.onsale,
.sale-badge {
    background: var(--green) !important;
    color: white !important;
}

/* Цена со скидкой */
.price ins,
.sale-price {
    color: var(--green) !important;
}

/* Кнопка "В корзину" (зеленая) */
.add-to-cart-btn,
.single_add_to_cart_button {
    background: var(--green) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(40,167,69,0.2);
}

.add-to-cart-btn:hover,
.single_add_to_cart_button:hover {
    background: var(--green-dark) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}

/* Статус "В наличии" */
.in-stock,
.stock.in-stock {
    color: var(--green) !important;
}

/* Сообщения об успехе */
.success-message,
.woocommerce-message {
    background: rgba(40,167,69,0.1) !important;
    border-color: var(--green) !important;
    color: var(--green) !important;
}

/* Зеленые иконки */
.success-icon,
.fa-check-circle {
    color: var(--green) !important;
}

/* ===== ОРАНЖЕВЫЕ АКЦЕНТЫ (новинки, хиты) ===== */
/* Бейдж новинки */
.product-badge.new,
.new-badge,
.product-badge.hot,
.hot-badge {
    background: var(--orange) !important;
    color: white !important;
}

/* Звезды рейтинга (оранжевые) */
.star-rating span:before,
.woocommerce-review__rating,
.rating-stars .star-filled {
    color: var(--orange) !important;
}

/* Статус "Ожидается" */
.on-backorder,
.backorder {
    color: var(--orange) !important;
}

/* Предупреждения */
.warning-message,
.alert-warning {
    background: rgba(253,126,20,0.1) !important;
    border-color: var(--orange) !important;
    color: var(--orange) !important;
}

/* ===== КРАСНЫЕ АКЦЕНТЫ (распродажа, ошибки) ===== */
/* Бейдж распродажи */
.product-badge.soldout,
.soldout-badge {
    background: var(--red) !important;
    color: white !important;
}

/* Старая цена */
.price del,
.old-price {
    color: var(--red) !important;
}

/* Статус "Нет в наличии" */
.out-of-stock,
.stock.out-of-stock {
    color: var(--red) !important;
}

/* Ошибки */
.error-message,
.woocommerce-error {
    background: rgba(220,53,69,0.1) !important;
    border-color: var(--red) !important;
    color: var(--red) !important;
}

/* ===== СИНИЕ АКЦЕНТЫ (ссылки, детали) ===== */
/* Ссылки */
a,
.product-title a {
    color: var(--blue) !important;
}

a:hover,
.product-title a:hover {
    color: var(--blue-dark) !important;
}

/* Кнопка "Подробнее" */
.view-details-btn {
    background: var(--btn-bg) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--btn-border) !important;
}

.view-details-btn:hover {
    background: var(--btn-hover) !important;
    color: var(--text-primary) !important;
    border-color: var(--blue) !important;
}

/* Категории при наведении */
.category-item:hover {
    border-color: var(--blue) !important;
}

.category-item:hover .category-name {
    color: var(--blue) !important;
}

/* Пагинация */
.pagination-button {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-secondary) !important;
}

.pagination-button:hover:not(.active):not(:disabled) {
    border-color: var(--blue) !important;
    color: var(--blue) !important;
}

.pagination-button.active {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
    color: white !important;
}

/* ===== ФУТЕР ===== */
.site-footer {
    background: var(--bg-primary) !important;
    border-top: 1px solid var(--border-light) !important;
}

.copyright {
    color: var(--text-muted) !important;
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal-content {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    background: var(--btn-bg) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--btn-border) !important;
}

.modal-close:hover {
    background: var(--btn-hover) !important;
    color: var(--text-primary) !important;
}

.modal-overlay {
    background: rgba(0,0,0,0.5) !important;
}

/* ===== ЗАГРУЗКА ===== */
.loading-spinner {
    border-color: var(--border-light) !important;
    border-top-color: var(--blue) !important;
}

.loading-products p {
    color: var(--text-muted) !important;
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.promautomatica-notification {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-lg);
    color: var(--text-primary) !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        background: var(--btn-bg) !important;
        color: var(--text-primary) !important;
        border: 1px solid var(--btn-border) !important;
    }
    
    .sidebar-close-btn {
        background: var(--btn-bg) !important;
        color: var(--text-primary) !important;
        border: 1px solid var(--btn-border) !important;
    }
    
    .left-sidebar {
        background: var(--bg-primary) !important;
        box-shadow: var(--shadow-lg) !important;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ КОНТРАСТА ===== */
/* Тени для глубины */
.product-card,
.categories-scroll-section,
.products-grid-section,
.modal-content {
    transition: all 0.3s ease;
}

/* Разделители */
hr,
.divider {
    border-color: var(--border-light) !important;
}

/* Иконки */
i,
.icon {
    color: var(--text-muted);
}

i:hover,
.icon:hover {
    color: var(--text-secondary);
}

/* Скроллбары */
::-webkit-scrollbar-track {
    background: var(--bg-secondary) !important;
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium) !important;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted) !important;
}
/* ===== ССЫЛКИ - ПРИГЛУШЕННЫЙ ВАРИАНТ ===== */

/* Основные ссылки */
a,
a:link,
.link,
.hyperlink,
.product-title a,
.post-title a,
.entry-title a,
.widget-title a,
.menu-item a,
.breadcrumb a,
.pagination a:not(.active):not(.btn):not(.button) {
    color: #5a6b7a !important; /* Приглушенный сине-серый */
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

/* Ссылки при наведении */
a:hover,
a:focus,
.link:hover,
.product-title a:hover,
.post-title a:hover,
.menu-item a:hover,
.breadcrumb a:hover,
.pagination a:hover:not(.active):not(.btn):not(.button) {
    color: #2c3e50 !important; /* Темно-серый при наведении */
    text-decoration: none !important;
}

/* Ссылки в сайдбаре */
.sidebar-menu-list a,
.sidebar-categories a,
.widget a {
    color: #5a6b7a !important;
}

.sidebar-menu-list a:hover,
.sidebar-categories a:hover,
.widget a:hover {
    color: #2c3e50 !important;
    background: rgba(0,0,0,0.02) !important;
}

/* Ссылки в меню */
.header-main-menu a,
.top-menu a,
.navigation a {
    color: #5a6b7a !important;
    font-weight: 500 !important;
}

.header-main-menu a:hover,
.top-menu a:hover,
.navigation a:hover {
    color: #2c3e50 !important;
}

/* Ссылки в карточках товаров */
.product-title a {
    color: #2c3e50 !important; /* Чуть темнее для заголовков */
    font-weight: 600 !important;
}

.product-title a:hover {
    color: #1a2632 !important; /* Еще темнее при наведении */
}

/* Ссылки "Подробнее", "Читать далее" */
.read-more,
.view-details,
.more-link {
    color: #5a6b7a !important;
    border-bottom: 1px dashed #d0d7dd !important;
}

.read-more:hover,
.view-details:hover,
.more-link:hover {
    color: #2c3e50 !important;
    border-bottom-color: #5a6b7a !important;
}

/* Ссылки в футере */
.site-footer a,
.footer a,
.copyright a {
    color: #6c7a89 !important;
}

.site-footer a:hover,
.footer a:hover,
.copyright a:hover {
    color: #2c3e50 !important;
}

/* Ссылки в хлебных крошках */
.breadcrumbs a,
.woocommerce-breadcrumb a {
    color: #7f8c8d !important;
}

.breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover {
    color: #2c3e50 !important;
}

/* Ссылки в пагинации (кроме активной) */
.pagination a,
.pagination-btn:not(.active) {
    color: #5a6b7a !important;
}

.pagination a:hover,
.pagination-btn:not(.active):hover {
    color: #2c3e50 !important;
    border-color: #d0d7dd !important;
}

/* Ссылки в категориях */
.category-item:not(.active) .category-name {
    color: #5a6b7a !important;
}

.category-item:not(.active):hover .category-name {
    color: #2c3e50 !important;
}

/* Ссылки в личном кабинете */
.cabinet-actions a,
.account-menu a,
.woocommerce-MyAccount-navigation a {
    color: #5a6b7a !important;
    background: transparent !important;
}

.cabinet-actions a:hover,
.account-menu a:hover,
.woocommerce-MyAccount-navigation a:hover {
    color: #2c3e50 !important;
    background: #f8f9fa !important;
}

/* Ссылки в виджетах */
.widget a,
.widget-area a,
.sidebar-widget a {
    color: #5a6b7a !important;
}

.widget a:hover,
.widget-area a:hover,
.sidebar-widget a:hover {
    color: #2c3e50 !important;
}

/* Ссылки в комментариях */
.comment-meta a,
.comment-reply-link,
.comment-edit-link {
    color: #7f8c8d !important;
}

.comment-meta a:hover,
.comment-reply-link:hover,
.comment-edit-link:hover {
    color: #2c3e50 !important;
}

/* Ссылки в тегах */
.tag-cloud-link,
.wp-block-tag-cloud a,
.product-tags a {
    color: #5a6b7a !important;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
}

.tag-cloud-link:hover,
.wp-block-tag-cloud a:hover,
.product-tags a:hover {
    color: #2c3e50 !important;
    background: #f1f3f5 !important;
    border-color: #d0d7dd !important;
}

/* Ссылки в социальных сетях */
.social-link,
.social-icon a {
    color: #7f8c8d !important;
}

.social-link:hover,
.social-icon a:hover {
    color: #2c3e50 !important;
}

/* Ссылки "Забыли пароль?" */
.forgot-password a,
.lost-password a,
.promautomatica-forgot-password a {
    color: #7f8c8d !important;
    font-size: 13px !important;
}

.forgot-password a:hover,
.lost-password a:hover,
.promautomatica-forgot-password a:hover {
    color: #2c3e50 !important;
}

/* Ссылки в уведомлениях */
.notification a,
.alert a,
.message a {
    color: #5a6b7a !important;
    text-decoration: underline !important;
}

.notification a:hover,
.alert a:hover,
.message a:hover {
    color: #2c3e50 !important;
}

/* Ссылки в модальных окнах */
.modal-content a,
.popup-content a {
    color: #5a6b7a !important;
}

.modal-content a:hover,
.popup-content a:hover {
    color: #2c3e50 !important;
}

/* Ссылки в мобильном меню */
@media (max-width: 992px) {
    .mobile-menu a,
    .left-sidebar a {
        color: #5a6b7a !important;
    }
    
    .mobile-menu a:hover,
    .left-sidebar a:hover {
        color: #2c3e50 !important;
        background: #f8f9fa !important;
    }
}

/* Убираем синий цвет для всех элементов, где он был */
a.blue,
.blue-link,
[class*="blue"] a,
a[class*="blue"] {
    color: #5a6b7a !important;
}

/* Ссылки в кнопках (не должны меняться) */
a.btn,
a.button,
a.add-to-cart-btn,
a.wp-block-button__link,
button a,
.button a,
.btn a {
    color: inherit !important;
}

a.btn:hover,
a.button:hover,
a.add-to-cart-btn:hover,
a.wp-block-button__link:hover {
    color: inherit !important;
}

/* ===== ОСНОВНОЙ ТЕКСТ ЦВЕТОМ #495057 ===== */

/* Все текстовые элементы */
body,
p,
span,
div:not(.product-badge):not(.onsale):not(.new-badge):not(.hot-badge):not(.sale-badge):not(.soldout-badge):not(.cart-count):not(.wishlist-count),
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.title, .heading, .subheading,
.lead, .text, .paragraph,
article, section, main, aside,
header, footer, nav, menu,
li, ul, ol, dl,
table, tr, td, th, caption,
label, legend, figcaption,
blockquote, q, cite,
strong, b, em, i,
small, big, sub, sup,
code, pre, kbd, samp,
address, time, mark,
input, textarea, select,
option, button:not(.add-to-cart-btn):not(.view-details-btn):not(.account-button):not(.promautomatica-auth-button):not(.pagination-btn.active):not(.category-item.active):not(.filter-btn.active):not(.view-btn.active) {
    color: #495057 !important;
}

/* ===== СПЕЦИФИЧЕСКИЕ ЭЛЕМЕНТЫ ===== */

/* Текст в шапке */
.site-header,
.header-top,
.header-main,
.header-main-menu a,
.phone-number,
.header-contacts {
    color: #495057 !important;
}

/* Текст в сайдбаре */
.left-sidebar,
.sidebar-categories-title,
.sidebar-menu-list a,
.sidebar-logo {
    color: #495057 !important;
}

/* Текст в карточках товаров (кроме цен и бейджей) */
.product-card,
.product-title,
.product-category,
.product-excerpt,
.product-meta,
.product-sku,
.product-info p:not(.product-price):not(.out-of-stock):not(.in-stock) {
    color: #495057 !important;
}

.product-title a {
    color: #495057 !important;
}

.product-title a:hover {
    color: #2c3e50 !important; /* Чуть темнее при наведении */
}

/* Текст в категориях */
.category-name,
.category-item:not(.active) .category-name,
.category-item:not(.active):hover .category-name {
    color: #495057 !important;
}

.category-count {
    color: #6c757d !important; /* Немного светлее для счетчика */
}

/* Текст в футере */
.site-footer,
.copyright,
.footer-container,
.footer-text {
    color: #495057 !important;
}

/* Текст в формах */
label,
input,
textarea,
select,
option,
.form-label,
.form-text,
.form-hint,
.placeholder,
::placeholder {
    color: #495057 !important;
}

/* Текст в модальных окнах */
.modal-content,
.modal-body,
.modal-header,
.modal-footer,
.popup-content,
.popup-body {
    color: #495057 !important;
}

/* Текст в уведомлениях (кроме цветных) */
.notification,
.message,
.alert:not(.error-message):not(.success-message):not(.warning-message) {
    color: #495057 !important;
}

/* Текст в пагинации (кроме активной) */
.pagination-button:not(.active):not(:hover) {
    color: #495057 !important;
}

.pagination-button:hover:not(.active) {
    color: #2c3e50 !important;
}

/* Текст в хлебных крошках */
.breadcrumbs,
.breadcrumb-item,
.breadcrumb-link {
    color: #495057 !important;
}

.breadcrumb-link:hover {
    color: #2c3e50 !important;
}

/* Текст в виджетах */
.widget,
.widget-title,
.widget-content,
.widget-area {
    color: #495057 !important;
}

/* Текст в комментариях */
.comment,
.comment-author,
.comment-meta,
.comment-content,
.comment-reply-link {
    color: #495057 !important;
}

/* Текст в личном кабинете */
.user-info p,
.cabinet-actions a,
.recent-orders p,
.order-item p,
.account-page,
.dashboard-content,
.profile-info {
    color: #495057 !important;
}

.cabinet-actions a:hover {
    color: #2c3e50 !important;
}

/* ===== ИСКЛЮЧЕНИЯ - ЭЛЕМЕНТЫ КОТОРЫЕ ДОЛЖНЫ ОСТАВАТЬСЯ ЦВЕТНЫМИ ===== */

/* Зеленые элементы */
.product-badge.sale,
.product-badge.discount,
.onsale,
.sale-badge,
.add-to-cart-btn,
.single_add_to_cart_button,
.in-stock,
.stock.in-stock,
.success-message,
.woocommerce-message,
.success-icon,
.fa-check-circle,
.price ins,
.sale-price {
    color: #28a745 !important;
}

/* Оранжевые элементы */
.product-badge.new,
.new-badge,
.product-badge.hot,
.hot-badge,
.star-rating span:before,
.woocommerce-review__rating,
.rating-stars .star-filled,
.on-backorder,
.backorder,
.warning-message,
.alert-warning {
    color: #fd7e14 !important;
}

/* Красные элементы */
.product-badge.soldout,
.soldout-badge,
.price del,
.old-price,
.out-of-stock,
.stock.out-of-stock,
.error-message,
.woocommerce-error {
    color: #dc3545 !important;
}

/* Синие элементы (только если нужно) */
a.blue-link,
.special-link {
    color: #007bff !important;
}

/* Счетчики */
.cart-count,
.wishlist-count {
    color: #495057 !important;
    background: #f1f3f5 !important;
}

/* Кнопки (цвет фона, не текст) */
.account-button,
.promautomatica-auth-button,
.pagination-btn.active,
.category-item.active,
.filter-btn.active,
.view-btn.active,
.mobile-menu-toggle,
.sidebar-close-btn {
    background: #f1f3f5 !important;
    color: #495057 !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .phone-number span,
    .account-button span {
        color: #495057 !important;
    }
    
    .mobile-menu-toggle {
        color: #495057 !important;
    }
}

/* ===== ДЛЯ СОВМЕСТИМОСТИ С ДРУГИМИ СТИЛЯМИ ===== */
*:not([class*="badge"]):not([class*="btn"]):not([class*="button"]):not(.active):not([class*="count"]):not(.price):not(.onsale) {
    color: #495057 !important;
}

/* Но сохраняем цвета для специальных элементов */
[class*="badge"],
[class*="onsale"],
[class*="sale"]:not(.no-style),
[class*="new"]:not(.no-style),
[class*="hot"]:not(.no-style),
[class*="stock"]:not(.no-style),
[class*="price"]:not(.no-style),
[class*="rating"]:not(.no-style),
[class*="star"]:not(.no-style) {
    color: inherit !important; /* Оставляем их оригинальные цвета */
}
/* ===== ПРЕОБРАЗОВАНИЕ ТЕМНЫХ ЭЛЕМЕНТОВ В СВЕТЛЫЕ ===== */

/* Основные контейнеры */
.main-banner,
.site-main,
.main-content,
.elementor,
.elementor-element,
.elementor-container,
.elementor-section,
.e-con,
.e-con-inner {
    background: #ffffff !important;
}

/* Секция брендов */
.promautomatica-brands-section {
    background: #f8f9fa !important;  /* Светло-серый фон */
    padding: 40px 0;
    margin: 30px 0;
}

.promautomatica-brands-title {
    color: #212529 !important;  /* Темно-серый текст */
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Элементы брендов */
.promautomatica-brand-item {
    background: #ffffff !important;  /* Белый фон */
    border: 1px solid #e9ecef !important;  /* Светлая граница */
    border-radius: 8px;
    padding: 12px;
    min-height: 120px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.promautomatica-brand-item:hover {
    background: #ffffff !important;
    border-color: #28a745 !important;  /* Зеленая граница при наведении */
    box-shadow: 0 4px 12px rgba(40,167,69,0.1) !important;
    transform: translateY(-3px);
}

.promautomatica-brand-name {
    color: #495057 !important;  /* Основной цвет текста */
    font-size: 13px;
    font-weight: 500;
}

.promautomatica-brand-item:hover .promautomatica-brand-name {
    color: #28a745 !important;  /* Зеленый при наведении */
}

/* Кнопки карусели */
.promautomatica-carousel-btn {
    background: #f1f3f5 !important;  /* Холодный белый */
    border: 1px solid #dee2e6 !important;
    color: #495057 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.promautomatica-carousel-btn:hover:not(:disabled) {
    background: #28a745 !important;  /* Зеленый при наведении */
    border-color: #28a745 !important;
    color: #ffffff !important;
}

/* Секция с категориями */
.categories-scroll-section {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 40px;
}

.section-title {
    color: #212529 !important;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

/* Элементы категорий */
.category-item {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px;
    padding: 12px 20px;
    min-width: 150px;
}

.category-item:hover {
    background: #f8f9fa !important;
    border-color: #28a745 !important;
}

.category-item.active {
    background: #28a745 !important;  /* Зеленый для активной */
    border-color: #28a745 !important;
}

.category-name {
    color: #495057 !important;
    font-size: 14px;
    font-weight: 500;
}

.category-item:hover .category-name {
    color: #28a745 !important;
}

.category-item.active .category-name {
    color: #ffffff !important;
    font-weight: 600;
}

.category-count {
    color: #6c757d !important;
    font-size: 12px;
}

.category-item.active .category-count {
    color: rgba(255,255,255,0.9) !important;
}

/* Кнопки прокрутки категорий */
.scroll-btn {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    color: #495057 !important;
    width: 36px;
    height: 36px;
    border-radius: 6px;
}

.scroll-btn:hover:not(:disabled) {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Скроллбар */
.categories-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f3f5 !important;
}

.categories-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #28a745 !important;  /* Зеленый скролл */
    border-radius: 3px;
}

/* Секция с товарами */
.products-grid-section {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px;
    padding: 20px;
}

.products-count {
    color: #6c757d !important;
    font-size: 14px;
}

/* Карточка товара */
.product-card {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.product-card:hover {
    border-color: #28a745 !important;  /* Зеленая граница */
    box-shadow: 0 8px 20px rgba(40,167,69,0.1) !important;
    transform: translateY(-5px);
}

.product-image-container {
    background: #f8f9fa !important;
}

.product-image {
    background: transparent !important;
}

.product-title {
    color: #212529 !important;
    font-size: 16px;
    font-weight: 600;
}

.product-category {
    color: #6c757d !important;
    font-size: 12px;
}

.product-price {
    color: #28a745 !important;  /* Зеленая цена */
    font-size: 18px;
    font-weight: 700;
}

/* Кнопки в карточке товара */
.add-to-cart-btn {
    background: #28a745 !important;  /* Зеленая кнопка */
    color: #ffffff !important;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
}

.add-to-cart-btn:hover {
    background: #218838 !important;
    color: #ffffff !important;
}

.add-to-cart-btn.disabled {
    background: #e9ecef !important;
    color: #adb5bd !important;
}

.view-details-btn {
    background: #f1f3f5 !important;
    color: #495057 !important;
    border: 1px solid #dee2e6 !important;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
}

.view-details-btn:hover {
    background: #e9ecef !important;
    color: #212529 !important;
    border-color: #28a745 !important;
}

/* Статус наличия */
.out-of-stock {
    color: #dc3545 !important;  /* Красный */
    font-size: 14px;
    font-weight: 500;
}

/* Пагинация */
.pagination {
    border-top: 1px solid #e9ecef !important;
}

.pagination-button {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    color: #495057 !important;
    min-width: 36px;
    height: 36px;
    border-radius: 6px;
}

.pagination-button:hover:not(.active):not(:disabled) {
    background: #f8f9fa !important;
    border-color: #28a745 !important;
    color: #28a745 !important;
}

.pagination-button.active {
    background: #28a745 !important;  /* Зеленая активная */
    border-color: #28a745 !important;
    color: #ffffff !important;
}

.pagination-dots {
    color: #adb5bd !important;
}

/* Секция преимуществ */
.promautomatica-features-section {
    background: #f8f9fa !important;
    padding: 40px 0;
    margin: 30px 0;
}

.promautomatica-feature-card {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.promautomatica-feature-card:hover {
    border-color: #28a745 !important;
    box-shadow: 0 8px 20px rgba(40,167,69,0.1) !important;
}

.promautomatica-feature-icon {
    color: #28a745 !important;  /* Зеленые иконки */
    font-size: 36px;
    margin-bottom: 20px;
}

.promautomatica-feature-title {
    color: #212529 !important;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.promautomatica-feature-description {
    color: #6c757d !important;
    font-size: 14px;
    line-height: 1.6;
}

/* Секция категорий товаров */
.promautomatica-featured-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.promautomatica-category-card {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.promautomatica-category-card:hover {
    border-color: #28a745 !important;
    box-shadow: 0 8px 20px rgba(40,167,69,0.1) !important;
}

.promautomatica-category-image {
    background: #f8f9fa !important;
}

.promautomatica-category-badge {
    background: #28a745 !important;  /* Зеленый бейдж */
    color: #ffffff !important;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.promautomatica-category-title {
    color: #212529 !important;
    font-size: 20px;
    font-weight: 600;
    margin: 15px 0;
}

.promautomatica-category-link {
    color: #28a745 !important;  /* Зеленая ссылка */
    font-weight: 500;
    text-decoration: none;
}

.promautomatica-category-link:hover {
    color: #218838 !important;
}

.promautomatica-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.promautomatica-category-link:hover .promautomatica-arrow {
    transform: translateX(5px);
}

/* Сообщение об отсутствии товаров */
.no-products-message {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px;
    padding: 60px 20px;
}

.no-products-message h3 {
    color: #212529 !important;
    font-size: 20px;
}

.no-products-message p {
    color: #6c757d !important;
}

/* Ошибки */
.error-message {
    background: rgba(220,53,69,0.1) !important;
    border: 1px solid #dc3545 !important;
    color: #dc3545 !important;
}

/* Загрузка */
.loading-spinner {
    border-color: #e9ecef !important;
    border-top-color: #28a745 !important;  /* Зеленый спиннер */
}

.loading-products p,
.loading-categories p {
    color: #6c757d !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .promautomatica-brands-section,
    .promautomatica-features-section {
        padding: 30px 0;
    }
    
    .categories-scroll-section,
    .products-grid-section {
        padding: 15px;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .promautomatica-featured-categories {
        grid-template-columns: 1fr;
    }
}
/* ===== ПРЕОБРАЗОВАНИЕ В ХОЛОДНЫЙ БЕЛЫЙ ===== */

/* Основные переменные */
:root {
    --cold-white: #f8f9fa;        /* Основной холодный белый */
    --cold-white-dark: #f1f3f5;    /* Чуть темнее для карточек */
    --cold-white-border: #e9ecef;  /* Светлые границы */
    --text-primary: #212529;       /* Основной текст */
    --text-secondary: #495057;     /* Второстепенный текст */
    --text-muted: #6c757d;         /* Приглушенный текст */
    --accent-green: #28a745;       /* Зеленый акцент */
    --accent-orange: #fd7e14;      /* Оранжевый акцент */
    --accent-gray: #6c757d;        /* Серый акцент */
}

/* ===== ОСНОВНЫЕ КОНТЕЙНЕРЫ ===== */
main,
.site-main,
.main-content,
.elementor,
.elementor-element,
.elementor-container,
.elementor-section,
.e-con,
.e-con-inner {
    background: var(--cold-white) !important;
}

/* ===== ХЛЕБНЫЕ КРОШКИ (каталог товаров) ===== */
.modern-breadcrumbs .breadcrumbs-inner {
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.modern-breadcrumbs .breadcrumbs-inner a {
    color: var(--text-secondary) !important;
}

.modern-breadcrumbs .breadcrumbs-inner a:hover {
    color: var(--text-primary) !important;
    background: rgba(0,0,0,0.02) !important;
}

.breadcrumb-separator {
    color: var(--text-muted) !important;
}

.breadcrumb-current {
    color: var(--text-primary) !important;
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
}

/* ===== ЗАГОЛОВОК КАТАЛОГА ===== */
.modern-catalog-header {
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
}

.header-top-section {
    padding: 40px;
}

.catalog-icon {
    background: var(--accent-gray) !important;
}

.catalog-icon i {
    color: white !important;
}

.catalog-title {
    color: var(--text-primary) !important;
    background: none !important;
    -webkit-text-fill-color: var(--text-primary) !important;
}

.catalog-stats .stats-item {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.stats-item i {
    color: var(--accent-gray) !important;
}

.stats-number {
    color: var(--text-primary) !important;
}

.stats-label {
    color: var(--text-secondary) !important;
}

.catalog-description {
    background: var(--cold-white) !important;
    border-top: 1px solid var(--cold-white-border) !important;
}

.description-icon i {
    color: var(--accent-gray) !important;
}

.description-text p {
    color: var(--text-secondary) !important;
}

/* ===== СЕТКА КАТЕГОРИЙ ===== */
.modern-categories-grid {
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.grid-header {
    border-bottom: 1px solid var(--cold-white-border) !important;
}

.grid-title {
    color: var(--text-primary) !important;
}

.grid-title i {
    color: var(--accent-gray) !important;
}

.grid-count {
    background: var(--cold-white) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.view-toggle {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.view-btn {
    color: var(--text-muted) !important;
}

.view-btn:hover {
    background: var(--cold-white-dark) !important;
    color: var(--text-primary) !important;
}

.view-btn.active {
    background: var(--accent-gray) !important;
    color: white !important;
}

/* ===== КАРТОЧКИ КАТЕГОРИЙ ===== */
.category-card {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.category-card:hover {
    border-color: var(--accent-green) !important;
    box-shadow: 0 8px 20px rgba(40,167,69,0.08) !important;
}

.category-badge .badge-text {
    background: var(--accent-orange) !important;  /* Оранжевый для бейджей */
    color: white !important;
}

.category-image {
    background: var(--cold-white-dark) !important;
}

.image-overlay {
    background: rgba(255,255,255,0.8) !important;
}

.image-overlay i {
    color: var(--text-primary) !important;
}

.category-content {
    background: var(--cold-white) !important;
}

.category-name a {
    color: var(--text-primary) !important;
}

.category-name a:hover {
    color: var(--accent-green) !important;  /* Зеленый при наведении */
}

.category-excerpt {
    color: var(--text-secondary) !important;
}

.meta-item {
    color: var(--text-muted) !important;
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.meta-item i {
    color: var(--accent-gray) !important;
}

/* ===== КНОПКИ ===== */
.btn-view {
    background: var(--cold-white-dark) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.btn-view:hover {
    background: var(--accent-green) !important;  /* Зеленая при наведении */
    color: white !important;
    border-color: var(--accent-green) !important;
}

/* ===== ВИД СПИСКОМ ===== */
.category-list-item {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.category-list-item:hover {
    border-color: var(--accent-green) !important;
}

.list-item-title a {
    color: var(--text-primary) !important;
}

.list-item-title a:hover {
    color: var(--accent-green) !important;
}

.list-item-excerpt {
    color: var(--text-secondary) !important;
}

.meta-badge {
    color: var(--text-muted) !important;
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.meta-badge i {
    color: var(--accent-gray) !important;
}

.btn-list-view {
    background: var(--cold-white-dark) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.btn-list-view:hover {
    background: var(--accent-green) !important;
    color: white !important;
}

/* ===== ИНФОРМАЦИОННЫЕ КАРТОЧКИ ===== */
.catalog-info-section .info-card {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.info-card:hover {
    border-color: var(--accent-green) !important;
}

.info-icon {
    background: var(--accent-gray) !important;
}

.info-icon i {
    color: white !important;
}

.info-content h3 {
    color: var(--text-primary) !important;
}

.info-content p {
    color: var(--text-secondary) !important;
}

/* ===== НЕТ КАТЕГОРИЙ ===== */
.no-categories-message {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.no-categories-message h3 {
    color: var(--text-primary) !important;
}

.no-categories-message p {
    color: var(--text-secondary) !important;
}

.no-categories-message p strong {
    color: var(--accent-green) !important;
}

.btn-back-home {
    background: var(--accent-gray) !important;
    color: white !important;
}

.btn-back-home:hover {
    background: var(--accent-green) !important;
}

/* ===== СТРАНИЦА ТОВАРА ===== */
.promautomatica-product-wrapper {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
}

/* Хлебные крошки товара */
.product-breadcrumbs {
    color: var(--text-muted) !important;
}

.product-breadcrumbs a {
    color: var(--text-secondary) !important;
}

.product-breadcrumbs a:hover {
    color: var(--accent-green) !important;
}

/* Заголовок товара */
.product-title {
    color: var(--text-primary) !important;
}

/* Рейтинг */
.stars i {
    color: var(--accent-orange) !important;  /* Оранжевые звезды */
}

.rating-count {
    color: var(--text-muted) !important;
}

/* Артикул */
.product-sku {
    color: var(--text-secondary) !important;
}

.product-sku strong {
    color: var(--text-primary) !important;
}

/* Изображение */
.product-image-main {
    border-bottom: 1px solid var(--cold-white-border) !important;
}

.product-image-main img {
    border: 1px solid var(--cold-white-border) !important;
}

.image-thumb {
    border: 2px solid transparent !important;
}

.image-thumb.active,
.image-thumb:hover {
    border-color: var(--accent-green) !important;
}

/* Блок с ценой */
.product-price-section {
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.product-price {
    color: var(--text-primary) !important;
}

.price-per {
    color: var(--text-muted) !important;
}

/* Количество */
.product-quantity-section {
    border-bottom: 1px solid var(--cold-white-border) !important;
}

.quantity-label {
    color: var(--text-secondary) !important;
}

.quantity-btn {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
    color: var(--text-secondary) !important;
}

.quantity-btn:hover {
    background: var(--accent-green) !important;
    color: white !important;
}

.quantity-input {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
    color: var(--text-primary) !important;
}

.stock-status {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.in-stock {
    color: var(--accent-green) !important;  /* Зеленый для "В наличии" */
}

/* Кнопки действий */
.btn-add-to-cart {
    background: var(--accent-green) !important;  /* Зеленая кнопка */
    color: white !important;
}

.btn-add-to-cart:hover {
    background: #218838 !important;  /* Темно-зеленый */
}

.btn-buy-now {
    background: var(--accent-orange) !important;  /* Оранжевая кнопка */
    color: white !important;
}

.btn-buy-now:hover {
    background: #e96b02 !important;  /* Темно-оранжевый */
}

/* Дополнительные опции */
.product-additional-options {
    border-top: 1px solid var(--cold-white-border) !important;
}

.option-item label {
    color: var(--text-secondary) !important;
}

.option-item label i {
    color: var(--accent-gray) !important;
}

.option-btn {
    background: transparent !important;
    border: 1px solid var(--accent-gray) !important;
    color: var(--text-secondary) !important;
}

.option-btn:hover {
    background: var(--accent-green) !important;
    border-color: var(--accent-green) !important;
    color: white !important;
}

/* Правая колонка - характеристики */
.product-specifications {
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.product-specifications h3 {
    color: var(--text-primary) !important;
}

.product-specifications h3 i {
    color: var(--accent-gray) !important;
}

.specs-list li {
    border-bottom: 1px solid var(--cold-white-border) !important;
}

.spec-name {
    color: var(--text-secondary) !important;
}

.spec-value {
    color: var(--text-primary) !important;
}

.show-all-specs {
    color: var(--accent-gray) !important;
}

.show-all-specs:hover {
    color: var(--accent-green) !important;
}

/* Информация о доставке */
.product-delivery-info {
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.delivery-item i {
    color: var(--accent-gray) !important;
}

.delivery-text strong {
    color: var(--text-primary) !important;
}

.delivery-text span {
    color: var(--text-muted) !important;
}

/* Примечание о цене */
.price-notice {
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
    color: var(--text-muted) !important;
}

.price-notice i {
    color: var(--accent-gray) !important;
}

/* Вкладки */
.product-tabs {
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.tabs-nav {
    background: var(--cold-white) !important;
    border-bottom: 1px solid var(--cold-white-border) !important;
}

.tab-btn {
    color: var(--text-secondary) !important;
    border-bottom: 3px solid transparent !important;
}

.tab-btn:hover {
    color: var(--text-primary) !important;
    background: rgba(0,0,0,0.02) !important;
}

.tab-btn.active {
    color: var(--text-primary) !important;
    border-bottom-color: var(--accent-green) !important;  /* Зеленая полоска */
    background: var(--cold-white-dark) !important;
}

.tabs-content {
    background: var(--cold-white-dark) !important;
}

.tab-content-inner {
    color: var(--text-secondary) !important;
}

.tab-content-inner h3 {
    color: var(--text-primary) !important;
}

.tab-content-inner strong {
    color: var(--text-primary) !important;
}

/* Таблица характеристик */
.specs-table {
    background: var(--cold-white) !important;
}

.specs-table tr {
    border-bottom: 1px solid var(--cold-white-border) !important;
}

.specs-table td {
    color: var(--text-secondary) !important;
}

.specs-table td:first-child {
    color: var(--text-primary) !important;
}

/* Отзывы */
.reviews-section {
    background: var(--cold-white-dark) !important;
}

.no-reviews h3 {
    color: var(--text-primary) !important;
}

.no-reviews p {
    color: var(--text-secondary) !important;
}

.review-invite {
    color: var(--text-muted) !important;
}

.review-form {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.review-rating label {
    color: var(--text-secondary) !important;
}

.rating-stars-input label {
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
    color: var(--text-secondary) !important;
}

.rating-stars-input label:hover {
    background: var(--cold-white) !important;
    border-color: var(--accent-green) !important;
}

.rating-stars-input input:checked + label {
    background: var(--cold-white) !important;
    border-color: var(--accent-green) !important;
}

.rating-stars-input label span {
    color: var(--text-primary) !important;
}

.review-content label {
    color: var(--text-secondary) !important;
}

.review-content textarea {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
    color: var(--text-primary) !important;
}

.review-content textarea:focus {
    border-color: var(--accent-green) !important;
}

.submit-review-btn {
    background: var(--accent-gray) !important;
    color: white !important;
}

.submit-review-btn:hover {
    background: var(--accent-green) !important;
}

/* Блок консультации */
.consultation-block {
    background: var(--cold-white-dark) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.consultation-block h3 {
    color: var(--text-primary) !important;
}

.consultation-block h3 i {
    color: var(--accent-gray) !important;
}

.consultation-block p {
    color: var(--text-secondary) !important;
}

.btn-consultation {
    background: var(--accent-gray) !important;
    color: white !important;
}

.btn-consultation:hover {
    background: var(--accent-green) !important;
}

/* Похожие товары */
.related-products h3 {
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--cold-white-border) !important;
}

.related-product {
    background: var(--cold-white) !important;
    border: 1px solid var(--cold-white-border) !important;
}

.related-product:hover {
    border-color: var(--accent-green) !important;
}

.related-product-info h4 {
    color: var(--text-primary) !important;
}

.related-product-price {
    color: var(--accent-green) !important;  /* Зеленая цена */
    font-weight: 700;
}

.related-product-link {
    color: var(--text-muted) !important;
}

.related-product-link:hover {
    color: var(--accent-green) !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .catalog-stats {
        flex-direction: column;
    }
    
    .stats-item {
        width: 100%;
    }
    
    .grid-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .product-quantity-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stock-status {
        margin-left: 0;
    }
    
    .product-action-buttons {
        flex-direction: column;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}
/* ===== БАННЕР НА ГЛАВНОЙ ===== */

/* Контейнер баннера */
.banner-container {
    background: #f8f9fa !important;  /* Холодный белый фон */
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #e9ecef !important;  /* Светлая граница */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Сам баннер */
.main-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    background: transparent !important;
}

/* Изображение баннера */
.main-banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;  /* Легкая тень */
    background: transparent !important;
}

/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */

/* Основной контент */
.site-main,
main#main,
main.site-main,
main.main-content,
#main.site-main,
#main.main-content {
    background: #f8f9fa !important;  /* Холодный белый фон */
    padding: 30px 0;
    margin: 0;
    min-height: 100vh;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ БАННЕРА ===== */
@media (max-width: 1200px) {
    .main-banner {
        max-width: 1000px;
        padding: 15px 25px;
    }
    
    .main-banner img {
        max-height: 280px;
    }
}

@media (max-width: 992px) {
    .main-banner {
        max-width: 800px;
        padding: 15px 20px;
    }
    
    .main-banner img {
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .main-banner {
        padding: 10px 15px;
    }
    
    .main-banner img {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .main-banner {
        padding: 8px 10px;
    }
    
    .main-banner img {
        max-height: 150px;
    }
}
/* ===== ИСПРАВЛЕНИЕ ИКОНОК ПРЕИМУЩЕСТВ ===== */

/* Иконка - неактивное состояние */
.promautomatica-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px auto;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;  /* Зеленый градиент */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2) !important;  /* Легкая зеленая тень */
}

.promautomatica-feature-icon i {
    font-size: 30px;
    color: #ffffff !important;  /* Белая иконка */
    transition: all 0.3s ease;
}

/* Иконка - при наведении */
.promautomatica-feature-card:hover .promautomatica-feature-icon {
    background: linear-gradient(135deg, #fd7e14 0%, #e96b02 100%) !important;  /* Оранжевый градиент */
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(253, 126, 20, 0.3) !important;  /* Оранжевая тень */
}

.promautomatica-feature-card:hover .promautomatica-feature-icon i {
    color: #ffffff !important;  /* Белая иконка остается */
}

/* Заголовок */
.promautomatica-feature-title {
    color: #212529 !important;  /* Темно-серый текст */
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promautomatica-feature-title::before {
    content: "#";
    color: #28a745 !important;  /* Зеленая решетка */
    margin-right: 5px;
    font-weight: 700;
}

.promautomatica-feature-card:hover .promautomatica-feature-title::before {
    color: #fd7e14 !important;  /* Оранжевая при наведении */
}

/* Описание */
.promautomatica-feature-description {
    color: #495057 !important;  /* Серый текст */
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Декоративная линия под заголовком */
.promautomatica-feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #28a745 !important;  /* Зеленая линия */
    opacity: 0.5;
    transition: all 0.3s ease;
}

.promautomatica-feature-card:hover::after {
    width: 60px;
    background: #fd7e14 !important;  /* Оранжевая при наведении */
    opacity: 0.8;
}

/* ===== ИСПРАВЛЕНИЕ КАТЕГОРИЙ ===== */

/* Контейнер категорий */
.categories-list {
    display: flex;
    gap: 15px;
    padding: 5px 0;
    min-height: 60px;
}

/* Элемент категории (неактивный) */
.category-item {
    flex: 0 0 auto;
    background: #ffffff !important;  /* Белый фон */
    border: 1px solid #e9ecef !important;  /* Светлая граница */
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    user-select: none;
    min-width: 150px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.category-item:hover {
    background: #f8f9fa !important;  /* Светло-серый при наведении */
    border-color: #28a745 !important;  /* Зеленая граница */
    box-shadow: 0 4px 8px rgba(40,167,69,0.1) !important;
}

/* Название категории (неактивное) */
.category-name {
    color: #212529 !important;  /* Темно-серый текст */
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease;
}

.category-item:hover .category-name {
    color: #28a745 !important;  /* Зеленый при наведении */
}

/* Количество товаров (неактивное) */
.category-count {
    color: #6c757d !important;  /* Серый текст */
    font-size: 12px;
    margin-top: 4px;
}

.category-item:hover .category-count {
    color: #495057 !important;  /* Темнее при наведении */
}

/* ===== АКТИВНАЯ КАТЕГОРИЯ ===== */
.category-item.active {
    background: #ffffff !important;  /* Белый фон */
    border: 2px solid #28a745 !important;  /* Зеленая рамка */
    box-shadow: 0 4px 12px rgba(40,167,69,0.15) !important;
}

.category-item.active .category-name {
    color: #28a745 !important;  /* Зеленый текст */
    font-weight: 600;
}

.category-item.active .category-count {
    color: #28a745 !important;  /* Тоже зеленый */
    opacity: 0.8;
}

/* ===== ДЛЯ КАТЕГОРИЙ С ID ===== */
#categoriesList .category-item {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
}

#categoriesList .category-item:hover {
    border-color: #28a745 !important;
}

#categoriesList .category-item.active {
    background: #ffffff !important;
    border: 2px solid #28a745 !important;
}

#categoriesList .category-item.active .category-name {
    color: #28a745 !important;
}

#categoriesList .category-item.active .category-count {
    color: #28a745 !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .category-item {
        padding: 10px 15px;
        min-width: 130px;
    }
    
    .category-name {
        font-size: 13px;
    }
    
    .category-count {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .category-item {
        min-width: 120px;
        padding: 8px 12px;
    }
}
/* ===== СТРАНИЦА КАТЕГОРИИ ТОВАРОВ - ХОЛОДНЫЙ БЕЛЫЙ ===== */

/* Основной контейнер */
.promautomatica-category-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa !important;  /* Холодный белый */
    border-radius: 16px;
    border: 1px solid #e9ecef !important;
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.category-breadcrumbs {
    margin-bottom: 25px;
    padding: 15px 20px;
    background: #ffffff !important;  /* Белый */
    border-radius: 12px;
    border: 1px solid #e9ecef !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.category-breadcrumbs a {
    color: #495057 !important;  /* Серый текст */
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    padding: 4px 8px;
    border-radius: 4px;
}

.category-breadcrumbs a:hover {
    color: #28a745 !important;  /* Зеленый при наведении */
    background: rgba(40,167,69,0.05) !important;
}

.category-breadcrumbs .breadcrumb-separator {
    color: #adb5bd !important;  /* Светло-серый */
    font-size: 11px;
}

.category-breadcrumbs .breadcrumb-current {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    background: #28a745 !important;  /* Зеленый фон */
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== ЗАГОЛОВОК КАТЕГОРИИ ===== */
.category-header {
    margin-bottom: 30px;
    padding: 25px;
    background: #ffffff !important;  /* Белый */
    border-radius: 12px;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.02) !important;
}

.category-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.category-title {
    color: #212529 !important;  /* Темно-серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title i {
    color: #28a745 !important;  /* Зеленая иконка */
    font-size: 32px;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-count {
    padding: 10px 20px;
    background: #28a745 !important;  /* Зеленый фон */
    color: white !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-control span {
    color: #495057 !important;  /* Серый текст */
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.sorting-select {
    padding: 8px 15px;
    background: #f8f9fa !important;  /* Холодный белый */
    border: 1px solid #dee2e6 !important;
    border-radius: 6px;
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    min-width: 180px;
    cursor: pointer;
}

.sorting-select:focus {
    outline: none;
    border-color: #28a745 !important;
}

.category-description-section {
    padding-top: 20px;
    border-top: 1px solid #e9ecef !important;
}

.category-description {
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ===== ПОДКАТЕГОРИИ ===== */
.category-subcategories {
    margin-bottom: 40px;
}

.section-title {
    color: #212529 !important;  /* Темно-серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #28a745 !important;  /* Зеленая иконка */
}

.section-count {
    background: #28a745 !important;  /* Зеленый фон */
    color: white !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.subcategory-card {
    background: #ffffff !important;  /* Белый фон */
    border-radius: 12px;
    border: 1px solid #e9ecef !important;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.subcategory-card:hover {
    border-color: #28a745 !important;  /* Зеленая граница */
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(40,167,69,0.1) !important;
}

.subcategory-link {
    display: block;
    text-decoration: none;
    padding: 20px;
    text-align: center;
}

.subcategory-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 10px;
    background: #f8f9fa !important;  /* Холодный белый */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e9ecef !important;
}

.subcategory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subcategory-image i {
    font-size: 32px;
    color: #28a745 !important;  /* Зеленая иконка */
}

.subcategory-card:hover .subcategory-image i {
    color: #fd7e14 !important;  /* Оранжевая при наведении */
}

.subcategory-info {
    text-align: center;
}

.subcategory-name {
    color: #212529 !important;  /* Темно-серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.subcategory-card:hover .subcategory-name {
    color: #28a745 !important;  /* Зеленый при наведении */
}

.subcategory-count {
    color: #6c757d !important;  /* Серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.count-number {
    font-weight: 700;
    color: #28a745 !important;  /* Зеленое число */
}

.count-word {
    font-weight: 500;
}

/* ===== СЕТКА ТОВАРОВ ===== */
.category-products-container {
    margin-top: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.product-card {
    background: #ffffff !important;  /* Белый фон */
    border-radius: 12px;
    border: 1px solid #e9ecef !important;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.product-card:hover {
    border-color: #28a745 !important;  /* Зеленая граница */
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(40,167,69,0.15) !important;
}

/* Бейджи */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.sale {
    background: linear-gradient(135deg, #dc3545 0%, #ff4757 100%);
    color: white;
}

.product-badge.new {
    background: linear-gradient(135deg, #fd7e14 0%, #ff9f43 100%);  /* Оранжевый для новинок */
    color: white;
}

/* Изображение товара */
.product-image {
    padding: 20px;
    text-align: center;
    background: #f8f9fa !important;  /* Холодный белый */
    border-bottom: 1px solid #e9ecef !important;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff !important;
}

/* Название товара */
.product-name {
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.product-name a {
    color: #212529 !important;  /* Темно-серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a:hover {
    color: #28a745 !important;  /* Зеленый при наведении */
}

/* Артикул */
.product-sku {
    color: #6c757d !important;  /* Серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-sku i {
    font-size: 11px;
    color: #28a745 !important;  /* Зеленая иконка */
}

/* Цена и кнопки */
.product-price-section {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef !important;
}

.product-price {
    color: #212529 !important;  /* Темно-серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-price.many {
    color: #fd7e14 !important;  /* Оранжевый для "Много" */
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.old-price {
    color: #6c757d !important;  /* Серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-decoration: line-through;
    margin-bottom: 8px;
}

.product-availability {
    margin-bottom: 15px;
}

.in-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #28a745 !important;  /* Зеленый */
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(40,167,69,0.1) !important;
    border-radius: 12px;
}

.out-of-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #dc3545 !important;  /* Красный */
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(220,53,69,0.1) !important;
    border-radius: 12px;
}

/* Кнопки действий */
.product-actions {
    display: flex;
    gap: 8px;
}

.btn-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #28a745 !important;  /* Зеленая кнопка */
    color: white !important;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-add-to-cart:hover {
    background: #218838 !important;  /* Темно-зеленая */
    transform: translateY(-2px);
}

.btn-buy-now {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #fd7e14 !important;  /* Оранжевая кнопка */
    color: white !important;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-buy-now:hover {
    background: #e96b02 !important;  /* Темно-оранжевая */
    transform: translateY(-2px);
}

.btn-notify {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f8f9fa !important;
    color: #495057 !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-notify:hover {
    background: #e9ecef !important;
    color: #212529 !important;
}

/* ===== ПАГИНАЦИЯ ===== */
.category-pagination {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef !important;
}

.pagination-nav {
    display: flex;
    justify-content: center;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-prev,
.pagination-next {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px;
    color: #495057 !important;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination-prev:hover,
.pagination-next:hover {
    background: #28a745 !important;
    color: white !important;
    border-color: #28a745 !important;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.page-number,
.page-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 5px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.page-number {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    color: #495057 !important;
    text-decoration: none;
    transition: all 0.3s;
}

.page-number:hover {
    background: #28a745 !important;
    color: white !important;
    border-color: #28a745 !important;
}

.page-number.current {
    background: #28a745 !important;
    color: white !important;
    border-color: #28a745 !important;
    cursor: default;
}

.page-dots {
    color: #adb5bd !important;
    cursor: default;
}

/* ===== НЕТ ТОВАРОВ ===== */
.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff !important;
    border-radius: 12px;
    border: 1px solid #e9ecef !important;
}

.no-products-message i {
    font-size: 60px;
    color: #28a745 !important;  /* Зеленая иконка */
    margin-bottom: 20px;
}

.no-products-message h3 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.no-products-message p {
    color: #6c757d !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 1200px) {
    .category-title {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .subcategories-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 992px) {
    .category-title-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .category-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .promautomatica-category-wrapper {
        padding: 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .subcategories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-breadcrumbs {
        padding: 12px 15px;
    }
    
    .category-title {
        font-size: 24px;
    }
    
    .product-count {
        font-size: 16px;
        padding: 8px 16px;
    }
    
    .sort-control {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sorting-select {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .category-header {
        padding: 20px;
    }
    
    .category-title {
        font-size: 22px;
    }
    
    .product-price {
        font-size: 18px;
    }
    
    .product-price.many {
        font-size: 20px;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-prev,
    .pagination-next {
        width: 100%;
        justify-content: center;
    }
    
    .pagination-numbers {
        justify-content: center;
    }
}
/* ===== СТРАНИЦА КОНТАКТОВ - ХОЛОДНЫЙ БЕЛЫЙ ===== */

.proma-contacts-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f8f9fa !important;  /* Холодный белый фон */
    border-radius: 16px;
    border: 1px solid #e9ecef !important;
}

/* Заголовок */
.contacts-header {
    text-align: center;
    margin-bottom: 30px;
}

.contacts-main-title {
    color: #212529 !important;  /* Темно-серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.contacts-subtitle {
    color: #6c757d !important;  /* Серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

/* Разделитель */
.contacts-divider {
    border: none;
    border-top: 1px solid #e9ecef !important;
    margin: 40px 0;
}

/* Сетка контактов */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-section {
    background: #ffffff !important;  /* Белый фон */
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
    transition: all 0.3s ease;
}

.contact-section:hover {
    border-color: #28a745 !important;  /* Зеленая граница */
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(40,167,69,0.1) !important;
}

.section-title {
    color: #212529 !important;  /* Темно-серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #28a745 !important;  /* Зеленая линия */
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #495057 !important;  /* Серый текст */
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.contact-item i {
    width: 24px;
    font-size: 18px;
    color: #28a745 !important;  /* Зеленые иконки */
    text-align: center;
}

.contact-item a {
    color: #28a745 !important;  /* Зеленые ссылки */
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #fd7e14 !important;  /* Оранжевые при наведении */
}

/* Приветственная секция */
.welcome-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: #ffffff !important;  /* Белый фон */
    border-radius: 12px;
    border: 1px solid #e9ecef !important;
}

.welcome-text {
    color: #495057 !important;  /* Серый текст */
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Кнопка WhatsApp */
.whatsapp-button-container {
    text-align: center;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 40px;
    background: #25D366 !important;  /* Оригинальный цвет WhatsApp */
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37,211,102,0.2) !important;
}

.whatsapp-button:hover {
    background: #128C7E !important;  /* Темно-зеленый WhatsApp */
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.3) !important;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* Секция карты */
.map-section {
    margin-top: 40px;
}

.map-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    margin-bottom: 20px;
}

.map-container iframe {
    border: 1px solid #e9ecef !important;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
}

.map-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #ffffff !important;
    border-radius: 8px;
    border: 1px solid #e9ecef !important;
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.map-note i {
    color: #28a745 !important;  /* Зеленая иконка */
    font-size: 16px;
}

/* ===== ЛИЧНЫЙ КАБИНЕТ - ХОЛОДНЫЙ БЕЛЫЙ ===== */

.promautomatica-cabinet-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.proma-cabinet {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: #f8f9fa !important;  /* Холодный белый фон */
    border-radius: 16px;
    border: 1px solid #e9ecef !important;
}

.proma-cabinet h2 {
    color: #212529 !important;  /* Темно-серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

/* Информация о пользователе */
.user-info {
    background: #ffffff !important;  /* Белый фон */
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
}

.user-info p {
    margin: 12px 0;
    color: #495057 !important;  /* Серый текст */
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.user-info strong {
    color: #212529 !important;  /* Темно-серый */
    margin-right: 10px;
    min-width: 100px;
    display: inline-block;
}

/* Сетка действий */
.cabinet-actions {
    margin-bottom: 40px;
}

.cabinet-actions h3 {
    color: #212529 !important;  /* Темно-серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin-bottom: 25px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background: #ffffff !important;  /* Белый фон */
    border: 1px solid #e9ecef !important;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.action-card:hover {
    background: #28a745 !important;  /* Зеленый фон */
    border-color: #28a745 !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(40,167,69,0.15) !important;
}

.action-card i {
    font-size: 40px;
    color: #28a745 !important;  /* Зеленые иконки */
    margin-bottom: 15px;
    transition: color 0.3s;
}

.action-card:hover i {
    color: #ffffff !important;  /* Белые иконки при наведении */
}

.action-card span {
    color: #495057 !important;  /* Серый текст */
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s;
}

.action-card:hover span {
    color: #ffffff !important;  /* Белый текст при наведении */
}

.action-card.logout:hover {
    background: #dc3545 !important;  /* Красный для выхода */
    border-color: #dc3545 !important;
}

/* Список заказов */
.recent-orders h3 {
    color: #212529 !important;  /* Темно-серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin-bottom: 25px;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.order-card {
    background: #ffffff !important;  /* Белый фон */
    border: 1px solid #e9ecef !important;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.order-card:hover {
    border-color: #28a745 !important;  /* Зеленая граница */
    box-shadow: 0 8px 24px rgba(40,167,69,0.1) !important;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef !important;
}

.order-header strong {
    color: #212529 !important;  /* Темно-серый */
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.processing {
    background: #fd7e14 !important;  /* Оранжевый */
    color: white !important;
}

.order-status.completed {
    background: #28a745 !important;  /* Зеленый */
    color: white !important;
}

.order-status.on-hold {
    background: #ffc107 !important;  /* Желтый */
    color: #212529 !important;
}

.order-status.pending {
    background: #6c757d !important;  /* Серый */
    color: white !important;
}

.order-details p {
    margin: 8px 0;
    color: #495057 !important;  /* Серый текст */
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.order-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #28a745 !important;  /* Зеленая ссылка */
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-top: 15px;
    transition: color 0.3s;
}

.order-link:hover {
    color: #fd7e14 !important;  /* Оранжевая при наведении */
}

/* Нет заказов */
.no-orders {
    text-align: center;
    padding: 40px;
    background: #ffffff !important;  /* Белый фон */
    border-radius: 12px;
    border: 1px solid #e9ecef !important;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
}

.no-orders p {
    color: #495057 !important;  /* Серый текст */
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
}

.no-orders .button {
    display: inline-block;
    padding: 15px 30px;
    background: #28a745 !important;  /* Зеленая кнопка */
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(40,167,69,0.2) !important;
}

.no-orders .button:hover {
    background: #218838 !important;  /* Темно-зеленая */
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(40,167,69,0.3) !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-main-title {
        font-size: 32px;
    }
    
    .welcome-text {
        font-size: 16px;
    }
    
    .whatsapp-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .proma-cabinet {
        padding: 20px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .orders-grid {
        grid-template-columns: 1fr;
    }
    
    .proma-cabinet h2 {
        font-size: 28px;
    }
    
    .user-info strong {
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .contacts-main-title {
        font-size: 28px;
    }
    
    .contact-section {
        padding: 20px;
    }
    
    .contact-item {
        font-size: 14px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .map-note {
        flex-direction: column;
        text-align: center;
    }
}
/* ===== СТРАНИЦА КОНТАКТОВ - ХОЛОДНЫЙ БЕЛЫЙ ===== */

/* Основной контейнер контактов */
.proma-contacts-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f8f9fa !important;
    border-radius: 16px;
}

.contacts-main-title {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.contacts-divider {
    border: none;
    height: 1px;
    background: #e9ecef !important;
    margin: 30px 0;
}

/* Сетка контактов */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-section {
    background: #ffffff !important;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
    transition: all 0.3s ease;
}

.contact-section:hover {
    box-shadow: 0 8px 20px rgba(40,167,69,0.1) !important;
    border-color: #28a745 !important;
}

.contact-section .section-title {
    color: #212529 !important;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef !important;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

.contact-item i {
    color: #28a745 !important;
    font-size: 18px;
    width: 24px;
}

.contact-item a {
    color: #495057 !important;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #28a745 !important;
}

/* Секция приветствия */
.welcome-section {
    background: #ffffff !important;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #e9ecef !important;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.welcome-text {
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Кнопка WhatsApp */
.whatsapp-button-container {
    display: flex;
    justify-content: center;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 16px 32px;
    background: #25D366 !important;  /* Оригинальный цвет WhatsApp */
    color: white !important;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background: #20b859 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* Секция карты */
.map-section {
    background: #ffffff !important;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.map-section .section-title {
    color: #212529 !important;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.map-container {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

.map-container iframe {
    display: block;
}

.map-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8f9fa !important;
    border-radius: 8px;
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.map-note i {
    color: #28a745 !important;
    font-size: 16px;
}

/* ===== СТРАНИЦА ЛИЧНОГО КАБИНЕТА ===== */

.promautomatica-cabinet-page {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    background: #f8f9fa !important;
}

/* Главная кабинета */
.proma-cabinet {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff !important;
    border-radius: 16px;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
}

.proma-cabinet h2 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.user-info {
    background: #f8f9fa !important;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef !important;
}

.user-info p {
    margin: 12px 0;
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.user-info strong {
    color: #212529 !important;
    margin-right: 10px;
    min-width: 100px;
    display: inline-block;
}

.cabinet-actions h3 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin-bottom: 25px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-card:hover {
    background: #ffffff !important;
    border-color: #28a745 !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(40,167,69,0.1) !important;
}

.action-card i {
    font-size: 40px;
    color: #28a745 !important;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.action-card:hover i {
    color: #fd7e14 !important;
}

.action-card span {
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s;
}

.action-card:hover span {
    color: #212529 !important;
}

.action-card.logout:hover {
    border-color: #dc3545 !important;
}

.action-card.logout:hover i {
    color: #dc3545 !important;
}

/* Нет заказов */
.no-orders {
    text-align: center;
    padding: 40px;
    background: #f8f9fa !important;
    border-radius: 12px;
    border: 1px solid #e9ecef !important;
    margin-top: 30px;
}

.no-orders p {
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
}

.no-orders .button {
    display: inline-block;
    padding: 15px 30px;
    background: #28a745 !important;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
}

.no-orders .button:hover {
    background: #218838 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.3) !important;
}

/* ===== МОИ ЗАКАЗЫ ===== */

.proma-my-orders {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff !important;
    border-radius: 16px;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
}

.proma-my-orders h2 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.no-orders-icon {
    font-size: 60px;
    color: #28a745 !important;
    margin-bottom: 20px;
}

.no-orders h3 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.back-to-cabinet {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef !important;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #495057 !important;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.back-link:hover {
    color: #28a745 !important;
    gap: 15px;
}

/* ===== МОИ АДРЕСА ===== */

.proma-my-addresses {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff !important;
    border-radius: 16px;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
}

.proma-my-addresses h2 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.addresses-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h3 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h3 i {
    color: #28a745 !important;
}

.country-badge {
    background: #28a745 !important;
    color: white !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.address-display {
    background: #f8f9fa !important;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef !important;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.no-address {
    text-align: center;
    color: #6c757d !important;
    font-family: 'Montserrat', sans-serif;
}

.no-address i {
    font-size: 40px;
    color: #28a745 !important;
    margin-bottom: 15px;
    display: block;
}

.no-address p {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #495057 !important;
}

.no-address .hint {
    font-size: 14px;
    color: #6c757d !important;
}

/* Форма адреса */
.address-form {
    background: #f8f9fa !important;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef !important;
}

.address-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.address-form .form-group {
    margin-bottom: 20px;
    flex: 1;
}

.address-form .form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.address-form .form-group label i {
    color: #28a745 !important;
    font-size: 16px;
}

.address-form .form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px;
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.address-form .form-group input:focus {
    outline: none;
    border-color: #28a745 !important;
    box-shadow: 0 0 0 3px rgba(40,167,69,0.1) !important;
}

.address-form .field-hint {
    color: #6c757d !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.save-button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: #28a745 !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.save-button:hover {
    background: #218838 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.3) !important;
}

.clear-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: transparent !important;
    color: #dc3545 !important;
    border: 2px solid #dc3545 !important;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.clear-button:hover {
    background: #dc3545 !important;
    color: white !important;
}

/* Инструкции */
.address-instructions {
    background: #f8f9fa !important;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef !important;
    margin-bottom: 30px;
}

.address-instructions h4 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-instructions h4 i {
    color: #28a745 !important;
}

.address-instructions ul {
    margin: 0;
    padding-left: 20px;
}

.address-instructions li {
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* ===== РЕДАКТИРОВАНИЕ ПРОФИЛЯ ===== */

.proma-edit-profile {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff !important;
    border-radius: 16px;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
}

.proma-edit-profile h2 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.profile-form .form-section {
    background: #f8f9fa !important;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef !important;
}

.profile-form .form-section h3 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-form .form-section h3 i {
    color: #28a745 !important;
}

.section-description {
    color: #6c757d !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
}

.profile-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-form .form-group {
    margin-bottom: 20px;
    flex: 1;
}

.profile-form .form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.profile-form .form-group label i {
    color: #28a745 !important;
    font-size: 16px;
}

.profile-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px;
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

.profile-form .form-group input:focus {
    outline: none;
    border-color: #28a745 !important;
    box-shadow: 0 0 0 3px rgba(40,167,69,0.1) !important;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #28a745 !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background: #218838 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.3) !important;
}

.cancel-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent !important;
    color: #6c757d !important;
    border: 2px solid #dee2e6 !important;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.cancel-button:hover {
    background: #f8f9fa !important;
    color: #212529 !important;
    border-color: #28a745 !important;
}

/* ===== СТРАНИЦЫ АВТОРИЗАЦИИ ===== */

.promautomatica-auth-page {
    background: #f8f9fa !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.promautomatica-auth-wrapper {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background: #ffffff !important;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05) !important;
}

/* Левый блок */
.promautomatica-auth-sidebar {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    padding: 50px 40px;
    border-right: 1px solid #e9ecef !important;
    display: flex;
    flex-direction: column;
}

.promautomatica-auth-logo {
    margin-bottom: 50px;
}

.promautomatica-auth-logo img {
    max-height: 60px;
    width: auto;
    filter: brightness(0.8);
}

.promautomatica-auth-info h3 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.promautomatica-auth-info p {
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.promautomatica-auth-benefits {
    margin-top: 40px;
}

.promautomatica-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
}

.promautomatica-benefit i {
    color: #28a745 !important;
    font-size: 20px;
    width: 24px;
}

.promautomatica-auth-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #e9ecef !important;
}

.promautomatica-auth-footer p {
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    margin-bottom: 15px;
}

.promautomatica-auth-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #28a745 !important;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
}

.promautomatica-auth-link:hover {
    color: #218838 !important;
    gap: 15px;
}

/* Правый блок */
.promautomatica-auth-main {
    flex: 1;
    padding: 60px 50px;
    max-width: 600px;
    background: #ffffff !important;
}

.promautomatica-auth-header {
    margin-bottom: 40px;
}

.promautomatica-auth-header h1 {
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.promautomatica-auth-header p {
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

/* Формы */
.promautomatica-auth-form {
    margin-top: 20px;
}

.promautomatica-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.promautomatica-form-group {
    margin-bottom: 25px;
    flex: 1;
}

.promautomatica-form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.promautomatica-form-group label i {
    color: #28a745 !important;
    font-size: 16px;
}

.promautomatica-form-group input {
    width: 100%;
    padding: 12px 15px;
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px;
    color: #212529 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.promautomatica-form-group input:focus {
    outline: none;
    border-color: #28a745 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(40,167,69,0.1) !important;
}

.promautomatica-form-group input::placeholder {
    color: #adb5bd !important;
}

/* Пароль */
.promautomatica-password-wrapper {
    position: relative;
}

.promautomatica-toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d !important;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: color 0.3s;
}

.promautomatica-toggle-password:hover {
    color: #28a745 !important;
}

.promautomatica-password-hint {
    color: #6c757d !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    margin-top: 5px;
}

/* Чекбоксы */
.promautomatica-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    min-height: 24px;
}

.promautomatica-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.promautomatica-checkbox-mark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px;
    transition: all 0.3s;
}

.promautomatica-checkbox:hover .promautomatica-checkbox-mark {
    border-color: #28a745 !important;
}

.promautomatica-checkbox input:checked ~ .promautomatica-checkbox-mark {
    background: #28a745 !important;
    border-color: #28a745 !important;
}

.promautomatica-checkbox input:checked ~ .promautomatica-checkbox-mark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.promautomatica-checkbox-text {
    color: #495057 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.promautomatica-checkbox-text a {
    color: #28a745 !important;
    text-decoration: none;
    transition: color 0.3s;
}

.promautomatica-checkbox-text a:hover {
    color: #218838 !important;
    text-decoration: underline;
}

/* Кнопка отправки */
.promautomatica-auth-button {
    width: 100%;
    padding: 18px;
    background: #28a745 !important;
    color: white !important;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.promautomatica-auth-button:hover {
    background: #218838 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40,167,69,0.3) !important;
}

.promautomatica-form-note {
    margin-top: 20px;
    text-align: center;
    color: #6c757d !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.promautomatica-form-note a {
    color: #28a745 !important;
    text-decoration: none;
    font-weight: 600;
}

.promautomatica-form-note a:hover {
    color: #218838 !important;
    text-decoration: underline;
}

/* Опции формы */
.promautomatica-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.promautomatica-remember-me {
    flex: 1;
}

.promautomatica-forgot-password a {
    color: #6c757d !important;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.promautomatica-forgot-password a:hover {
    color: #28a745 !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promautomatica-auth-wrapper {
        flex-direction: column;
    }
    
    .promautomatica-auth-sidebar {
        border-right: none;
        border-bottom: 1px solid #e9ecef !important;
    }
    
    .addresses-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .promautomatica-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .profile-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contacts-main-title {
        font-size: 32px;
    }
    
    .whatsapp-button {
        width: 100%;
    }
    
    .proma-cabinet h2,
    .proma-my-orders h2,
    .proma-my-addresses h2,
    .proma-edit-profile h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .promautomatica-auth-sidebar,
    .promautomatica-auth-main {
        padding: 30px 20px;
    }
    
    .welcome-section {
        padding: 30px 20px;
    }
    
    .welcome-text {
        font-size: 16px;
    }
    
    .map-section {
        padding: 20px;
    }
}


/* Стили для цены */
.product-price {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
}
.price-per {
    color: #777;
    font-size: 14px;
    font-weight: 400;
}
.product-price del {
    color: #777;
    font-size: 18px;
    font-weight: 400;
    margin-right: 10px;
}
.product-price ins {
    background: none;
    color: #ff6b00;
    text-decoration: none;
}
/* ОПТИМИЗИРОВАННЫЕ КАРТОЧКИ ТОВАРОВ */
.products-grid {
    grid-template-columns: repeat(5, 1fr) !important; /* Ровно 5 колонок */
    gap: 15px !important;
}

/* Для планшетов */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 70%; /* Чуть меньше для лучшего отображения */
    background: #2b2b2b;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Сохраняет пропорции, показывает полностью */
    padding: 8px; /* Немного отступов */
    transition: transform 0.5s ease;
}

.product-info {
    padding: 12px 10px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 14px !important;
    margin-bottom: 6px !important;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px; /* Фиксированная высота для 2 строк */
}

.product-category {
    font-size: 11px !important;
    margin-bottom: 6px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    margin: 5px 0 !important;
    min-height: 40px !important;
}

.price-value {
    font-size: 16px !important;
    font-weight: 700;
    display: block;
}

.price-na-message {
    font-size: 13px !important;
    line-height: 1.3;
}

.out-of-stock {
    font-size: 12px !important;
    margin: 5px 0 !important;
}

.product-actions {
    display: flex;
    gap: 6px !important;
    margin-top: 8px !important;
}

.add-to-cart-btn,
.view-details-btn,
.request-price-btn {
    padding: 6px 4px !important;
    font-size: 11px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Иконки в кнопках (если есть) */
.add-to-cart-btn i,
.view-details-btn i,
.request-price-btn i {
    margin-right: 3px;
    font-size: 10px;
}

/* Фикс для последней строки - карточки будут одинаковой высоты */
.products-grid::after {
    content: '';
    flex: auto;
}

/* Убираем пустые пространства */
.products-grid-section {
    overflow: hidden;
}

.product-actions a,
.product-actions button {
}




