/**
 * Основные стили сайта СибСнаб24
 * Корпоративные цвета из ТЗ
 */

:root {
    --color-primary: #bf372b;      /* Терракотовый */
    --color-secondary: #263940;    /* Графитовый */
    --color-accent: #db6d30;       /* Рыже-каштановый */
    --color-light: #f3edcb;        /* Песочный */
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
    --color-gray: #6c757d;

    /* Bootstrap переопределения */
    --bs-primary: #bf372b;
    --bs-secondary: #263940;
    --bs-success: #047857;      /* Тёмно-зелёный (хорошо контрастирует) */
    --bs-danger: #ff6b35;       /* Оранжевый для опасности */
    --bs-warning: #ffa500;      /* Золотой для предупреждений */
    --bs-info: #db6d30;
    --bs-light: #f3edcb;
    --bs-dark: #263940;
}

/* Общие стили */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding-top: 2.5rem;
}

/* Ссылки */
a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

/* Заголовки */
h1, h2, h3 {
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 900;
    color: var(--color-secondary);
}

h4, h5, h6 {
    color: var(--color-secondary);
    font-weight: 700;
}

/* Header */
.site-header {
    background-color: var(--color-secondary);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.1);
}

.site-header .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-header .navbar-brand:hover {
    color: white;
    opacity: 0.9;
}

.site-header .navbar-brand img {
    filter: brightness(0) invert(1);
}

.site-header .phone {
    color: white;
    font-weight: 500;
}

/* Navigation */
.main-nav {
    background-color: var(--color-light);
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.05);
}

.main-nav .nav-link {
    color: var(--color-dark);
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border-radius: 0.25rem;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--color-primary);
    background-color: rgba(191, 55, 43, 0.1);
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #a02f24;
    border-color: #a02f24;
    box-shadow: 0 0.25rem 0.5rem rgba(191, 55, 43, 0.3);
}

.btn-secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #1a2730;
    border-color: #1a2730;
}

.btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: #c55e28;
    border-color: #c55e28;
    color: white;
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.15);
}

.card-img-top {
    border-radius: 0;
}

.card-header {
    border-bottom: 0.125rem solid rgba(0,0,0,0.05);
    background-color: var(--color-light);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: white;
    padding: 3.75rem 0;
}

.hero-section h1 {
    color: white;
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0,0,0,0.2);
}

/* Footer */
.site-footer {
    background-color: var(--color-secondary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.site-footer h5 {
    color: white;
    margin-bottom: 1rem;
}

.site-footer a {
    color: var(--color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: white;
}

/* Cart Badge */
.cart-badge {
    background-color: var(--color-accent);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 3.125rem;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 0.25rem;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

.breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--color-gray);
}

/* Forms */
.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 0.0625rem solid #ddd;
    padding: 0.625rem 0.875rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(191, 55, 43, 0.25);
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
    border: none;
}

.alert-info {
    background-color: rgba(219, 109, 48, 0.1);
    color: var(--color-accent);
    border-color: rgba(219, 109, 48, 0.3);
}

.alert-success {
    background-color: rgba(4, 120, 87, 0.1);
    color: #035a47;
    border-color: rgba(4, 120, 87, 0.3);
}

.alert-warning {
    background-color: rgba(255, 165, 0, 0.1);
    color: #cc8400;
    border-color: rgba(255, 165, 0, 0.3);
}

.alert-danger {
    background-color: rgba(255, 107, 53, 0.1);
    color: #cc5629;
    border-color: rgba(255, 107, 53, 0.3);
}

/* Pagination */
.pagination .page-link {
    color: #FF6B35;
    border-color: #dee2e6;
    border-radius: 0.5rem;
    margin: 0 0.25rem;
    font-weight: 500;
}

.pagination .page-link:hover {
    color: #fff;
    background-color: #FF8C42;
    border-color: #FF6B35;
}

.pagination .page-item.active .page-link {
    background-color: #FF6B35;
    border-color: #FF6B35;
    color: #fff;
}

/* Tables */
.table {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table thead {
    background-color: var(--color-light);
    color: var(--color-dark);
}

/* Responsive */
@media (max-width: 767px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .site-header .navbar-brand {
        font-size: 20px;
    }

    .main-nav .nav {
        flex-wrap: wrap;
    }

    .main-nav .nav-link {
        padding: 8px;
        font-size: 14.4px;
    }
}

/* Utilities */
.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.bg-accent {
    background-color: var(--color-accent) !important;
}

.bg-light-custom {
    background-color: var(--color-light) !important;
}

/* ========================================
   АДАПТИВНАЯ ВЕРСТКА
   ======================================== */

/* Минимальный размер шрифта на мобильных устройствах */
@media (max-width: 991px) {
    body, html {
        font-size: 14px;
    }

    /* Обеспечиваем минимальный размер 12px для всех текстовых элементов */
    * {
        min-font-size: 12px;
    }

    small, .small {
        font-size: max(12px, 0.875em);
    }
}

/* Адаптивный размер шрифта для экранов от 61.9375rem */
@media (min-width: 991px) {
    body, html {
        font-size: .975vw !important;
        min-height: 100vh;
    }
}

/* ========================================
   СЕЛЕКТОР РАЗМЕРОВ
   ======================================== */

.btn-group-vertical .btn {
    border: 0.125rem solid #e9ecef;
    color: var(--color-dark);
    background-color: white;
    text-align: left;
    padding: 1rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-group-vertical .btn-check:checked + .btn {
    background-color: rgba(191, 55, 43, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
}

.btn-group-vertical .btn:hover {
    border-color: var(--color-primary);
    background-color: rgba(191, 55, 43, 0.04);
}

.btn-group-vertical .btn small {
    display: block;
    margin-top: 0.25rem;
    font-weight: 500;
}

.btn-group-vertical .btn small.text-success {
    color: #047857 !important;
}

.btn-group-vertical .btn small.text-info {
    color: var(--color-accent) !important;
}

.btn-group-vertical .btn small.text-secondary {
    color: var(--color-gray) !important;
}

/* ========================================
   ПЕРЕОПРЕДЕЛЕНИЯ BOOTSTRAP ЦВЕТОВ
   ======================================== */

/* Информационные элементы */
.alert-info {
    background-color: rgba(219, 109, 48, 0.1);
    color: var(--color-accent);
    border-color: rgba(219, 109, 48, 0.3);
}

.text-info {
    color: var(--color-accent) !important;
}

.text-info:hover {
    color: #c55e28 !important;
}

.bg-info {
    background-color: var(--color-accent) !important;
}

.btn-info,
.btn-info:link {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: white !important;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: #c55e28 !important;
    border-color: #c55e28 !important;
    color: white !important;
}

.badge.bg-info {
    background-color: var(--color-accent) !important;
}

/* Бейджи */
.badge.bg-primary {
    background-color: var(--color-primary) !important;
    color: white !important;
    transition: all 0.2s ease !important;
}

.badge.bg-primary:hover {
    background-color: #7a1f18 !important;
    box-shadow: 0 0 0 0.1875rem rgba(191, 55, 43, 0.3) !important;
    transform: scale(1.05) !important;
}

.badge.bg-secondary {
    background-color: var(--color-secondary) !important;
    color: white !important;
    transition: all 0.2s ease !important;
}

.badge.bg-secondary:hover {
    background-color: #0f1619 !important;
    box-shadow: 0 0 0 0.1875rem rgba(38, 57, 64, 0.3) !important;
    transform: scale(1.05) !important;
}

.badge.bg-success {
    background-color: #047857 !important;
    color: white !important;
    transition: all 0.2s ease !important;
}

.badge.bg-success:hover {
    background-color: #035a47 !important;
    box-shadow: 0 0 0 0.1875rem rgba(4, 120, 87, 0.3) !important;
    transform: scale(1.05) !important;
}

.badge.bg-danger {
    background-color: #ff6b35 !important;
    color: white !important;
    transition: all 0.2s ease !important;
}

.badge.bg-danger:hover {
    background-color: #d9521c !important;
    box-shadow: 0 0 0 0.1875rem rgba(255, 107, 53, 0.3) !important;
    transform: scale(1.05) !important;
}

.badge.bg-warning {
    background-color: #ffa500 !important;
    color: white !important;
    transition: all 0.2s ease !important;
    text-shadow: 0 0.0625rem 0.125rem rgba(0,0,0,0.2) !important;
}

.badge.bg-warning:hover {
    background-color: #ff8c00 !important;
    box-shadow: 0 0 0 0.1875rem rgba(255, 165, 0, 0.3) !important;
    transform: scale(1.05) !important;
}

/* Кнопки с полным спектром hover */
.btn-primary {
    transition: all 0.2s ease !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #7a1f18 !important;
    border-color: #7a1f18 !important;
    box-shadow: 0 0.25rem 0.75rem rgba(191, 55, 43, 0.4) !important;
    transform: translateY(-0.125rem) !important;
}

.btn-secondary {
    transition: all 0.2s ease !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active {
    background-color: #0f1619 !important;
    border-color: #0f1619 !important;
    box-shadow: 0 0.25rem 0.75rem rgba(38, 57, 64, 0.4) !important;
    transform: translateY(-0.125rem) !important;
}

.btn-outline-primary {
    transition: all 0.2s ease !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    background-color: #7a1f18 !important;
    border-color: #7a1f18 !important;
    color: white !important;
    box-shadow: 0 0.25rem 0.75rem rgba(191, 55, 43, 0.4) !important;
    transform: translateY(-0.125rem) !important;
}

.btn-outline-secondary {
    transition: all 0.2s ease !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active {
    background-color: #0f1619 !important;
    border-color: #0f1619 !important;
    color: white !important;
    box-shadow: 0 0.25rem 0.75rem rgba(38, 57, 64, 0.4) !important;
    transform: translateY(-0.125rem) !important;
}

/* Формы */
.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(191, 55, 43, 0.25) !important;
}

.form-control:hover,
.form-select:hover {
    border-color: var(--color-primary) !important;
}

/* Навигация */
.nav-tabs .nav-link.active {
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
    background-color: rgba(191, 55, 43, 0.05) !important;
}

.nav-tabs .nav-link {
    color: var(--color-dark) !important;
    transition: all 0.3s ease !important;
}

.nav-tabs .nav-link:hover {
    color: var(--color-primary) !important;
    background-color: rgba(191, 55, 43, 0.03) !important;
}

/* Progressbar */
.progress-bar {
    background-color: var(--color-primary) !important;
}

/* Spinners */
.spinner-border {
    color: var(--color-primary) !important;
}

/* Links */
.link-primary {
    color: var(--color-primary) !important;
}

.link-primary:hover,
.link-primary:focus {
    color: #a02f24 !important;
}

.link-secondary {
    color: var(--color-secondary) !important;
}

.link-secondary:hover,
.link-secondary:focus {
    color: #1a2730 !important;
}

/* Accordion */
.accordion-button {
    color: var(--color-dark) !important;
    transition: all 0.3s ease !important;
}

.accordion-button:hover {
    background-color: rgba(191, 55, 43, 0.05) !important;
    color: var(--color-primary) !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(191, 55, 43, 0.1) !important;
    color: var(--color-primary) !important;
}

.accordion-button:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(191, 55, 43, 0.25) !important;
}

/* Dropdown */
.dropdown-item {
    transition: all 0.2s ease !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--color-primary) !important;
    color: white !important;
}

.dropdown-item:hover {
    background-color: rgba(191, 55, 43, 0.15) !important;
    color: var(--color-primary) !important;
}

.dropdown-item:focus {
    background-color: rgba(191, 55, 43, 0.1) !important;
    color: var(--color-primary) !important;
}

/* Pagination */
.page-item.active .page-link {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.page-link {
    color: var(--color-primary) !important;
    transition: all 0.2s ease !important;
}

.page-link:hover {
    color: white !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.page-link:focus {
    color: var(--color-primary) !important;
    background-color: rgba(191, 55, 43, 0.1) !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(191, 55, 43, 0.25) !important;
}

.page-item.disabled .page-link {
    color: #6c757d !important;
    background-color: #e9ecef !important;
}

/* Список */
.list-group-item.active {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.list-group-item:hover {
    background-color: rgba(191, 55, 43, 0.05) !important;
}

/* Таблицы */
.table-hover tbody tr:hover {
    background-color: rgba(191, 55, 43, 0.05) !important;
}

/* Input range */
input[type="range"] {
    accent-color: var(--color-primary) !important;
}

/* Checkboxes и Radio */
.form-check-input:checked {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.form-check-input:hover {
    border-color: var(--color-primary) !important;
}

.form-check-input:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(191, 55, 43, 0.25) !important;
}

/* ========================================
   КАРТОЧКА ТОВАРА
   ======================================== */

.product-info-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 0.0625rem solid #e9ecef;
}

.product-info-section:last-child {
    border-bottom: none;
}

/* Варианты цветов */
.color-variants {
    margin-bottom: 1.5rem;
}

.color-variants-title {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.color-variants-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.color-variant-item {
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-variant-thumb {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 0.5rem;
    border: 0.125rem solid #e9ecef;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.color-variant-item:hover .color-variant-thumb {
    border-color: var(--color-primary);
    box-shadow: 0 0.125rem 0.5rem rgba(191, 55, 43, 0.2);
}

.color-variant-item.active .color-variant-thumb {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.125rem rgba(191, 55, 43, 0.3);
}

.color-variant-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-variant-name {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0.35rem;
    color: var(--color-dark);
    transition: color 0.2s ease;
}

.color-variant-item:hover .color-variant-name,
.color-variant-item.active .color-variant-name {
    color: var(--color-primary);
    font-weight: 600;
}

/* Группа цены и доступности */
.price-availability-group {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.price-section {
    margin-bottom: 1rem;
}

.price-section:last-child {
    margin-bottom: 0;
}

.availability-section {
    margin-bottom: 0;
}

/* Галерея миниатюр */
.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 0.375rem;
    border: 0.125rem solid #e9ecef;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--color-primary);
    box-shadow: 0 0.125rem 0.5rem rgba(191, 55, 43, 0.2);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Адаптивность */
@media (max-width: 767px) {
    .price-availability-group {
        padding: 16px;
    }

    .gallery-thumbnails {
        gap: 5.6px;
    }

    .gallery-thumb {
        width: 50px;
        height: 50px;
    }
}

/* ========================================
   МОДАЛЬНЫЕ ОКНА
   ======================================== */

.modal-backdrop {
    background-color: rgba(38, 57, 64, 0.5);
}

.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 2rem rgba(191, 55, 43, 0.15);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: white;
    border: none;
    padding: 1.5rem;
}

.modal-header .modal-title {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header .modal-title i {
    font-size: 1.5rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modal-header .btn-close:hover,
.modal-header .btn-close:focus {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
    background-color: #fafafa;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 0.0625rem solid #e9ecef;
    padding: 1.5rem;
    gap: 0.75rem;
}

/* Таблицы в модальном окне */
.modal-body .table {
    margin-bottom: 0;
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.05);
}

.modal-body .table thead {
    background: linear-gradient(135deg, var(--color-primary) 0%, #d64c34 100%);
    color: white;
}

.modal-body .table thead th {
    border: none;
    padding: 1rem;
    font-weight: 600;
    text-align: center;
}

.modal-body .table tbody td {
    border-color: #e9ecef;
    padding: 0.875rem 1rem;
    text-align: center;
    vertical-align: middle;
}

.modal-body .table tbody tr {
    border-bottom: 0.0625rem solid #e9ecef;
    transition: background-color 0.2s ease;
}

.modal-body .table tbody tr:hover {
    background-color: rgba(191, 55, 43, 0.05);
}

.modal-body .table tbody tr:last-child {
    border-bottom: none;
}

/* Заголовки секций */
.modal-body h6 {
    color: var(--color-primary);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 0.125rem solid var(--color-light);
}

/* Кнопки в модальном окне */
.modal-footer .btn {
    min-width: 7.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

.modal-footer .btn-secondary {
    background-color: #e9ecef;
    color: var(--color-dark);
    border: none;
}

.modal-footer .btn-secondary:hover {
    background-color: #dee2e6;
    color: var(--color-dark);
}

/* Анимация входа модального окна */
.modal.fade .modal-dialog {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-dialog {
    transform: none;
}

/* Адаптивность модального окна */
@media (max-width: 767px) {
    .modal-content {
        border-radius: 12px;
    }

    .modal-header {
        padding: 16px;
    }

    .modal-header .modal-title {
        font-size: 16px;
    }

    .modal-body {
        padding: 24px;
    }

    .modal-body .table thead th,
    .modal-body .table tbody td {
        padding: 12px 8px;
        font-size: 14px;
    }

    .modal-footer {
        padding: 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .modal-footer .btn {
        min-width: auto;
        flex: 1;
        min-width: calc(50% - 4px);
    }
}

/* ========================================
   Адаптивные размеры иконок и текста
   ======================================== */
@media (min-width: 992px) {
    /* Иконки в rem для больших экранов */
    .icon, .icon svg,
    h5 svg, h4 svg, h3 svg,
    .card-title svg,
    .sitemap-link svg,
    .add-to-cart-size.in-cart svg,
    .add-to-cart-no-size.in-cart svg {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }

    /* Текст в rem */
    body {
        font-size: 1rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
    h5 { font-size: 1.25rem; }
    h6 { font-size: 1rem; }

    .lead { font-size: 1.25rem; }
    .fs-5 { font-size: 1.25rem !important; }
    .fs-6 { font-size: 1rem !important; }
    .small, small { font-size: 0.875rem; }
}

/* ========================================
   Кнопка "Наверх"
   ======================================== */
#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

#scroll-to-top:hover {
    background: var(--color-accent);
    transform: translateY(0);
    box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.2);
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-to-top svg {
    width: 1.5rem;
    height: 1.5rem;
}

@media (max-width: 991px) {
    #scroll-to-top {
        bottom: 80px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    #scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   Улучшенная пагинация
   ======================================== */
.pagination {
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    color: var(--color-dark);
    background-color: white;
    border: 0.0625rem solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    min-width: 2.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    color: white;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: white !important;
    font-weight: 600;
}

.pagination .page-item.disabled .page-link {
    color: var(--color-gray);
    background-color: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.pagination .page-link svg {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
}

.pagination-ellipsis {
    padding: 0.5rem 0.75rem;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 575px) {
    .pagination {
        gap: 4px;
    }

    .pagination .page-link {
        padding: 6px 8px;
        min-width: 32px;
        font-size: 14px;
    }
}


/* ============================================ */
/* INDUSTRIAL POWER STYLES */
/* ============================================ */

/*
 * Industrial Power Design System
 * СибСнаб24 - Индустриальный дизайн для спецодежды
 * Версия: 1.0.0
 * Inspired by: Ozon, ВсеИнструменты
 */

/* ===== Базовые переменные ===== */
:root {
  /* Индустриальные цвета */
  --industrial-primary: #FF6B35;      /* Оранжевый - цвет огня/сварки */
  --industrial-secondary: #64748B;    /* Серый - нейтральность */
  --industrial-accent: #FFC107;       /* Желтый - предупреждение/безопасность */
  --industrial-dark: #1A1A1A;         /* Темный металл */
  --industrial-steel: #4A5568;        /* Сталь */
  --industrial-concrete: #718096;     /* Бетон */
  --industrial-rust: #B91C1C;         /* Ржавчина */
  --industrial-success: #10B981;      /* Зеленый - безопасность */

  /* Градиенты */
  --gradient-fire: linear-gradient(135deg, #FF6B35 0%, #FF8C42 50%, #FFA500 100%);
  --gradient-steel: linear-gradient(180deg, #4A5568 0%, #2D3748 100%);
  --gradient-industrial: linear-gradient(135deg, #FF6B35 0%, #149CE2 100%);

  /* Тени */
  --shadow-sm: 0 0.0625rem 0.125rem rgba(0,0,0,0.1);
  --shadow-md: 0 0.25rem 0.375rem rgba(0,0,0,0.15);
  --shadow-lg: 0 0.625rem 0.9375rem rgba(0,0,0,0.2);
  --shadow-xl: 0 1.25rem 1.5625rem rgba(0,0,0,0.25);
  --shadow-industrial: 0 0.25rem 1.25rem rgba(255, 107, 53, 0.3);

  /* Типографика */
  --font-industrial: 'Russo One', 'Arial Black', sans-serif;
  --font-primary: 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;

  /* Размеры (rem от 62rem) */
  --header-height-mobile: 3.75rem;
  --header-height-desktop: 17rem;
  --header-top-height: 2.8125rem;
  --header-main-height: 4.6875rem;
  --header-top-height-minimized: 0;
  --header-main-height-minimized: 3.75rem;

  /* Анимации */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Сброс и базовые стили ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 1rem;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (min-width: 992px) {
  html {
    font-size: 1rem; /* База для rem */
  }

  /* ===== Скрываем все мобильные элементы на десктопе ===== */
  [class*="mobile-"] {
    display: none !important;
  }

  /* ===== Header на больших экранах в rem ===== */
  .header-industrial {
    height: auto;
  }

  .header-top-content {
    padding: 0;
  }

  .header-top-left {
    gap: 2.5rem;
  }

  .header-location {
    gap: 0.375rem;
    font-size: 0.8125rem;
  }

  .header-worktime {
    gap: 0.375rem;
    font-size: 0.8125rem;
  }

  .header-phone {
    gap: 0.375rem;
    font-weight: 700;
    font-size: 1rem;
  }

  .header-callback {
    padding: 0.4375rem 1.125rem;
    border-radius: 0.25rem;
    font-weight: 700;
    font-size: 0.875rem;
  }

  /* Главный уровень header с крупным логотипом */
  .header-main {
    padding: 0.75rem 0;
    min-height: auto;
  }

  .header-main-content {
    padding: 0.75rem 0;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
  }

  .logo-industrial {
    width: 10rem;
    height: auto;
  }

  .logo-title {
    font-size: 1.875rem;
  }

  .logo-subtitle {
    font-size: 0.8125rem;
  }

  .catalog-button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
  }

  .search-input {
    padding: 0.75rem 3rem 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
  }

  .header-actions {
    gap: 2rem;
  }

  .header-action {
    gap: 0.25rem;
  }

  .header-action svg {
    width: 2rem;
    height: 2rem;
  }

  .nav-link {
    padding: 1rem 0;
    font-size: 0.9375rem;
  }

  .nav-link svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .dropdown-link {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }

  .dropdown-link svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

body {
  font-family: var(--font-primary);
  color: var(--industrial-dark);
  line-height: 1.6;
  background-color: #F7F8FA;
}

/* ===== Двухуровневый Header ===== */
.header-industrial {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 248, 0.98) 100%);
  backdrop-filter: blur(0.3125rem);
  -webkit-backdrop-filter: blur(0.3125rem);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

/* Верхний уровень header */
.header-top {
  background: var(--industrial-dark);
  color: white;
  height: var(--header-top-height);
  display: flex;
  transition: var(--transition-base);
  align-items: center;
  border-bottom: 0.125rem solid var(--industrial-primary);
}

.header-top-content {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.header-location svg {
  width: 1rem;
  height: 1rem;
  fill: var(--industrial-accent);
}

.header-worktime {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #CBD5E0;
}

.header-worktime svg {
  width: 1rem;
  height: 1rem;
  fill: var(--industrial-success);
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.header-phone:hover {
  color: var(--industrial-primary);
}

.header-phone svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.header-callback {
  background: var(--industrial-primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-callback:hover {
  background: #FF8C42;
  transform: translateY(-0.0625rem);
  box-shadow: var(--shadow-md);
}

/* Основной уровень header */
.header-main {
  background: white;
  display: flex;
  align-items: center;
  position: relative;
  transition: var(--transition-base);
}

.header-main-content {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition-base);
}

/* Логотип с индустриальным стилем */
.logo-industrial {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;
  width: 17rem;
}

.logo-industrial-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 1rem;
  filter: drop-shadow(0 0.125rem 0.25rem rgba(0,0,0,0.2));
  transition: var(--transition-base);
}

@media (min-width: 992px) {
  .logo-industrial {
    width: 22.5rem;
  }

  .logo-industrial-icon {
    width: 8.375rem;
    height: 8.375rem;
    transition: var(--transition-base);
  }

  /* Минимизированная шапка при скролле */
  .header-industrial.minimized .header-top {
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
  }

  .header-industrial.minimized .header-main {
    padding: 0.375rem 0 !important;
  }

  .header-industrial.minimized .header-main-content {
    padding: 0.375rem 0 !important;
  }

  .header-industrial.minimized .logo-industrial-icon {
    width: 3.75rem !important;
    height: 3.75rem !important;
  }

  .header-industrial.minimized .logo-title {
    font-size: 1.25rem !important;
  }

  .header-industrial.minimized .logo-subtitle {
    display: none !important;
  }

  .header-industrial.minimized .search-input {
    padding: 0.5rem 2.5rem 0.5rem 0.875rem !important;
  }

  .header-industrial.minimized .catalog-button {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
  }

  .header-industrial.minimized .header-action svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
  }

  .header-industrial.minimized .header-action-text {
    font-size: 0.75rem !important;
  }

  /* Адаптация мега-меню для минимизированной шапки */
  .header-industrial.minimized ~ .catalog-mega-menu .catalog-mega-menu-content,
  body:has(.header-industrial.minimized) .catalog-mega-menu-content {
    top: 6rem;
    max-height: calc(100vh - 6rem);
  }
}

.logo-industrial:hover .logo-industrial-icon {
  filter: drop-shadow(0 0.125rem 0.25rem rgba(0,0,0,0.2));
}

.logo-industrial-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-industrial);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--industrial-dark);
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
  line-height: 1;
  transition: var(--transition-base);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--industrial-steel);
  margin-top: 0.25rem;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  transition: var(--transition-base);
}

/* Каталог кнопка */
.catalog-button {
  background: var(--gradient-fire);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.catalog-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.catalog-button:hover::before {
  left: 100%;
}

.catalog-button:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-xl);
}

.catalog-button svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
  transition: var(--transition-fast);
}

.catalog-button:hover svg {
  transform: rotate(180deg);
}

/* Мега-меню каталога */
.catalog-mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  pointer-events: none;
}

.catalog-mega-menu.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
}

.catalog-mega-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0.125rem);
  cursor: pointer;
}

.catalog-mega-menu-content {
  position: absolute;
  top: 10rem;
  left: 10rem;
  right: 10rem;
  background: #fff;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, .2);
  display: grid;
  grid-template-columns: 25rem 1fr;
  max-height: calc(100vh - 10rem);
  transform: translateY(-20px) scaleY(0.95);
  opacity: 0;
  transition: var(--transition-base);
  transform-origin: top;
}

.catalog-mega-menu.active .catalog-mega-menu-content {
  transform: translateY(0) scaleY(1);
  opacity: 1;
}

/* Категории (левая панель) */
.catalog-categories {
  background: #F8FAFC;
  border-right: 0.0625rem solid #E2E8F0;
  overflow-y: auto;
  padding: 1rem 0;
}

.catalog-category {
  margin: 0;
}

.catalog-category-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  color: var(--industrial-dark);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  font-weight: 500;
  font-size: 0.9375rem;
}

.catalog-category-link:hover,
.catalog-category.active .catalog-category-link {
  background: white;
  color: var(--industrial-primary);
}

.catalog-category.active .catalog-category-link {
  background: white;
  border-left: 0.1875rem solid var(--industrial-primary);
}

.catalog-category-link svg:first-child {
  flex-shrink: 0;
  fill: currentColor;
  width: 1.5rem;
  height: 1.5rem;
}

.catalog-category-arrow {
  margin-left: auto;
  fill: currentColor;
  opacity: 0.5;
  transition: all 0.3s ease;
  width: 1.5rem;
  height: 1.5rem;
}

.catalog-category:hover .catalog-category-arrow,
.catalog-category.active .catalog-category-arrow {
  opacity: 1;
  transform: translateX(4px);
  animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% {
    transform: translateX(4px);
  }
  50% {
    transform: translateX(8px);
  }
}

/* Кнопка закрытия меню */
.catalog-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: white;
  border: 0.0625rem solid #E2E8F0;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  z-index: 100;
  transition: var(--transition-fast);
  box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.1);
  outline: none;
  padding: 0;
  pointer-events: auto !important;
}

.catalog-menu-close:hover {
  background: var(--industrial-primary);
  border-color: var(--industrial-primary);
  transform: rotate(90deg);
}

.catalog-menu-close:hover svg {
  fill: white;
}

.catalog-menu-close svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--industrial-dark);
  transition: var(--transition-fast);
}

/* Подкатегории (правая панель) */
.catalog-subcategories {
  padding: 2rem;
  overflow-y: auto;
}

.catalog-subcategory-group {
  display: none;
}

.catalog-subcategory-group.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog-subcategory-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--industrial-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.125rem solid var(--industrial-primary);
}

.catalog-subcategory-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
}

.catalog-subcategory-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.catalog-subcategory-link {
  color: var(--industrial-steel);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
  font-size: 0.9375rem;
  position: relative;
  padding-left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.catalog-subcategory-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke: currentColor;
}

.catalog-subcategory-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--industrial-steel);
  opacity: 0.3;
  transition: var(--transition-fast);
}

.catalog-subcategory-link:hover {
  color: var(--industrial-primary);
  padding-left: 1.5rem;
}

.catalog-subcategory-link:hover::before {
  background: var(--industrial-primary);
  opacity: 1;
  width: 0.5rem;
  height: 0.5rem;
}

/* Кнопка "Смотреть все товары" */
.catalog-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--industrial-primary) 0%, #c8391f 100%);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  box-shadow: 0 0.125rem 0.5rem rgba(191, 55, 43, 0.2);
  position: relative;
  overflow: hidden;
}

.catalog-view-all::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.catalog-view-all:hover::before {
  left: 100%;
}

.catalog-view-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.25rem 1rem rgba(191, 55, 43, 0.3);
  color: white;
}

.catalog-view-all::after {
  content: '→';
  transition: transform 0.3s ease;
  display: inline-block;
}

.catalog-view-all:hover::after {
  transform: translateX(4px);
}

/* Шапка подкатегории с кнопкой закрытия */
.catalog-subcategory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.125rem solid var(--industrial-primary);
}

/* Кнопка закрытия каталога */
.catalog-close-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--industrial-steel);
  transition: var(--transition-fast);
  border-radius: 0.25rem;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
}

.catalog-close-btn:hover {
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--industrial-primary);
}

.catalog-close-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Адаптив для мега-меню */
@media (max-width: 991px) {
  .catalog-mega-menu-content {
    grid-template-columns: 1fr;
    top: var(--header-height-mobile);
    max-height: calc(100vh - var(--header-height-mobile));
  }

  .catalog-categories {
    display: none;
  }

  .catalog-subcategories {
    padding: 24px;
  }

  .catalog-subcategory-group {
    display: block !important;
    margin-bottom: 32px;
  }

  .catalog-subcategory-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .catalog-subcategory-title {
    font-size: 18px;
    flex-grow: 1;
    margin-bottom: 0;
  }

  .catalog-close-btn {
    display: flex !important;
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .catalog-close-btn svg {
    width: 20px;
    height: 20px;
  }

  .catalog-subcategory-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* Поиск */
.search-industrial {
  flex: 1;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 0.125rem solid #E2E8F0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: var(--transition-fast);
  background: #F8FAFC;
}

.search-button {
  position: absolute !important;
  right: 0.5rem;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer !important;
  color: var(--industrial-steel);
  transition: var(--transition-fast);
  display: flex !important;
  align-items: center;
  justify-content: center;
  outline: none;
}

.search-button:hover {
  color: var(--industrial-primary);
}

.search-button svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.search-input:focus {
  outline: none;
  border-color: var(--industrial-primary);
  background: white;
  box-shadow: 0 0 0 0.1875rem rgba(255, 107, 53, 0.1);
}

/* Действия пользователя */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--industrial-steel);
  transition: var(--transition-fast);
  position: relative;
}

.header-action:hover {
  color: var(--industrial-primary);
}

.header-action svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
  margin-bottom: 0.25rem;
  transition: var(--transition-base);
}

.header-action-text {
  font-size: 0.75rem;
  font-weight: 500;
  transition: var(--transition-base);
}

.header-action-badge {
  position: absolute !important;
  top: 2px !important;
  right: 2px !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  padding: 0 !important;
  background: #FF6B35 !important;
  color: white !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

@media (min-width: 992px) {
  .header-action-badge {
    top: -0.25rem !important;
    right: -0.25rem !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    min-width: 1.5rem !important;
    max-width: 1.5rem !important;
    font-size: 0.75rem !important;
  }
}

/* Навигационное меню */
.nav-industrial {
  background: #FAFBFC;
  border-top: 0.0625rem solid #E2E8F0;
  border-bottom: 0.0625rem solid #E2E8F0;
}

.nav-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 992px) {
  .nav-content {
    padding: 0;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  color: var(--industrial-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.1875rem;
  background: var(--industrial-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--industrial-primary);
}

.nav-link.active {
  font-weight: 600;
}

.nav-link svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

/* Выпадающее меню */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 17.5rem;
  box-shadow: var(--shadow-xl);
  border-radius: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.625rem);
  transition: var(--transition-fast);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-list {
  list-style: none;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: var(--industrial-dark);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition-fast);
  position: relative;
}

.dropdown-link:hover {
  background: rgba(255, 107, 53, 0.05);
  color: var(--industrial-primary);
  padding-left: 2rem;
}

.dropdown-link svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  flex-shrink: 0;
}

/* ===== Main Content ===== */
main,
.main-content {
  display: block;
  padding-top: var(--header-height-desktop) !important;
}

h1,
h2,
h3 {
  scroll-margin-top: calc(var(--header-height-desktop) + 1rem);
}

@media (max-width: 991px) {
  main,
  .main-content {
    padding-top: 60px !important;
    margin-top: 0 !important;
  }

  body main,
  body .main-content {
    padding-top: 0px !important;
  }

  h1,
  h2,
  h3 {
    scroll-margin-top: calc(var(--header-height-mobile) + 16px);
  }
}

/* ===== Hero Section ===== */
.hero-industrial {
  margin-top: 0;
  position: relative;
  height: 37.5rem;
  overflow: hidden;
  background: var(--gradient-steel);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .hero-industrial {
    height: auto;
    min-height: auto;
    padding: 3rem 0;
  }
}

.hero-workwear {
  background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(255, 107, 53, 0.3)), url('/images/hero-workwear.webp') center/cover no-repeat;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(255, 107, 53, 0.3) 100%);
  z-index: 2;
}

/* Эффект искр/частиц */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--industrial-accent);
  width: 0.1875rem;
  height: 0.1875rem;
  border-radius: 50%;
  animation: float-particle 10s infinite linear;
  opacity: 0.8;
  box-shadow: 0 0 0.375rem var(--industrial-accent);
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) translateX(6.25rem);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 40.625rem;
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--industrial-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero-title {
  color: #bdbdbd;
  font-family: var(--font-industrial);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0,0,0,0.3);
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 32px;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 24px;
  }
}

.hero-title-accent {
  color: var(--industrial-primary);
  display: block;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 0.625rem var(--industrial-primary), 0 0 1.25rem var(--industrial-primary);
  }
  to {
    text-shadow: 0 0 1.25rem var(--industrial-primary), 0 0 1.875rem var(--industrial-primary);
  }
}

/* iOS Safari fix - уменьшаем glow на iOS */
@supports (-webkit-touch-callout: none) {
  .hero-title-accent {
    animation: glow-ios 2s ease-in-out infinite alternate;
  }

  @keyframes glow-ios {
    from {
      text-shadow: 0 0 3px rgba(255, 107, 53, 0.4), 0 0 6px rgba(255, 107, 53, 0.2);
    }
    to {
      text-shadow: 0 0 6px rgba(255, 107, 53, 0.5), 0 0 10px rgba(255, 107, 53, 0.3);
    }
  }
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #E2E8F0;
}

@media (max-width: 767px) {
  .hero-description {
    font-size: 16px;
    margin-bottom: 24px;
  }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--gradient-fire);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-base);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover::before {
  width: 18.75rem;
  height: 18.75rem;
}

.btn-hero-primary:hover {
  transform: translateY(-0.1875rem);
  box-shadow: var(--shadow-xl);
}

.btn-hero-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border: 0.125rem solid white;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-base);
}

.btn-hero-secondary:hover {
  background: white;
  color: var(--industrial-dark);
  transform: translateY(-0.1875rem);
  box-shadow: var(--shadow-lg);
}

/* ===== Секция преимуществ ===== */
.advantages-industrial {
  padding: 4rem 0;
  background: white;
}

.advantages-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 2rem;
}

.advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: #F8FAFC;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0.25rem;
  height: 100%;
  background: var(--industrial-primary);
  transform: scaleY(0);
  transition: transform 0.3s;
  transform-origin: bottom;
}

.advantage-card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.advantage-card:hover {
  transform: translateX(0.5rem);
  box-shadow: var(--shadow-lg);
  background: white;
}

.advantage-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-fire);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
}

.advantage-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: white;
}

.advantage-text {
  flex: 1;
}

.advantage-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--industrial-dark);
  margin-bottom: 0.5rem;
}

.advantage-description {
  font-size: 0.875rem;
  color: var(--industrial-steel);
  line-height: 1.5;
}

/* ===== Секция категорий ===== */
.categories-industrial {
  padding: 4rem 0;
  background: #F7F8FA;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-industrial);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--industrial-dark);
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 0.25rem;
  background: var(--gradient-fire);
  border-radius: 0.125rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--industrial-steel);
  max-width: 37.5rem;
  margin: 0 auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

a.category-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: var(--transition-base);
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-xl);
}

.category-image {
  width: 100%;
  height: 23rem;
  object-fit: cover;
  transition: var(--transition-slow);
}

.category-card:hover .category-image {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(26, 26, 26, 0.8) 100%);
  opacity: 0;
  transition: var(--transition-base);
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.category-content {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.category-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--industrial-dark);
  margin-bottom: 0.5rem;
  transition: color var(--transition-base);
}

.category-count {
  font-size: 0.875rem;
  color: var(--industrial-steel);
  transition: color var(--transition-base);
}

.category-card:hover .category-name,
.category-card:hover .category-count {
  color: white !important;
}

.category-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background: var(--industrial-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(3.125rem);
  opacity: 0;
  transition: var(--transition-base);
}

.category-card:hover .category-arrow {
  transform: translateX(0);
  opacity: 1;
}

.category-arrow svg {
  width: 1rem;
  height: 1rem;
  fill: white;
}

/* ===== Карточки товара с 3D-эффектами ===== */
.product-card {
  background: white;
  border-radius: 0.75rem;
  border: 0.0625rem solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-0.25rem);
  border-color: var(--color-primary);
  box-shadow: 0 0.5rem 1.5rem rgba(191, 55, 43, 0.12);
}

@media (min-width: 992px) {
  .product-card:hover {
    transform: translateY(-0.375rem);
    box-shadow: 0 0.75rem 2rem rgba(191, 55, 43, 0.15);
  }
}

.product-image {
  width: 100%;
  height: 15rem;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  transition: var(--transition-base);
  position: relative;
  padding: 1rem;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--industrial-primary);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 3;
  box-shadow: 0 0.125rem 0.5rem rgba(255, 107, 53, 0.3);
}

.product-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.product-brand {
  font-size: 0.75rem;
  color: var(--industrial-steel);
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
  margin-bottom: 0.375rem;
}

.product-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--industrial-dark);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  min-height: 2.8rem;
}

.product-specs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.product-spec,
.spec-item {
  background: #f0f2f5;
  padding: 0.375rem 0.625rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
  margin-top: 0.75rem;
}

.price-current {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.price-old {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.product-price-section {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-btn {
  flex: 1;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.product-btn-primary {
  background: var(--gradient-fire);
  color: white;
  box-shadow: var(--shadow-md);
}

.product-btn-primary:hover {
  transform: translateY(-0.0625rem);
  box-shadow: var(--shadow-lg);
}

.product-btn-secondary {
  background: transparent;
  border: 0.125rem solid var(--industrial-primary);
  color: var(--industrial-primary);
}

.product-btn-secondary:hover {
  background: var(--industrial-primary);
  color: white;
}

.product-btn svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Стили для кнопок на карточке товара */
.product-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 0.0625rem solid #e2e8f0;
}

.btn-add-cart {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
}

.btn-add-cart:hover {
  background: #a02f24;
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 1rem rgba(191, 55, 43, 0.2);
}

.btn-add-cart:active {
  transform: translateY(0);
}

.btn-add-cart svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* SVG иконки в продуктах */
.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

@media (min-width: 992px) {
  .product-card {
    min-height: 25rem;
  }

  .product-image {
    height: 16rem;
  }

  .product-title {
    font-size: 1rem;
    min-height: 3rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .product-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ===== Вспомогательные классы для изображений ===== */

/* Изображения товаров в карусели */
.product-carousel-img {
  max-height: 31.25rem;
  object-fit: contain;
  background-color: #f8f9fa;
}

/* Изображения товаров в карточках */
.product-card-img {
  height: 15.625rem;
  object-fit: cover;
}

/* Плейсхолдер для изображения товара */
.product-img-placeholder {
  height: 31.25rem;
}

.product-img-placeholder-icon {
  font-size: 5rem;
}

/* Плейсхолдер для карточки товара */
.product-card-placeholder {
  height: 15.625rem;
}

.product-card-placeholder-icon {
  font-size: 3rem;
}

/* Карточка категории */
.category-card-overflow {
  overflow: hidden;
}

.category-card-overlay {
  height: 12.5rem;
}

/* Изображение в promo баннере */
.promo-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* Хедеры карточек */
.card-header-primary {
  background-color: var(--color-primary);
  color: white;
}

.card-header-accent {
  background-color: var(--color-accent);
  color: white;
}

.card-light-bg {
  background-color: var(--color-light);
}

/* Карта */
.map-container {
  height: 25rem;
  background-color: #f0f0f0;
  border-radius: 0.5rem;
}

/* ===== Адаптивность ===== */
@media (max-width: 1200px) {
  .header-main-content {
    grid-template-columns: 11.25rem 1fr auto;
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  /* Мобильная версия header */
  .header-top {
    display: none;
  }

  .header-main {
    height: var(--header-height-mobile);
  }

  .header-main-content {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding: 10px 0px !important;
  }

  .search-industrial {
    display: none;
  }

  .nav-industrial {
    display: none;
  }

  .hero-industrial {
    margin-top: 0 !important;
    height: auto !important;
    min-height: auto !important;
    padding: 3rem 0 !important;
  }

  .hero-title {
    font-size: 27px;
  }

  .hero-description {
    font-size: 16px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }
	.category-image{height: 220px}
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Индустриальные текстуры и эффекты ===== */
.texture-metal {
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 0.125rem, rgba(0,0,0,.03) 0.125rem, rgba(0,0,0,.03) 0.25rem),
    repeating-linear-gradient(0deg, transparent, transparent 0.125rem, rgba(0,0,0,.03) 0.125rem, rgba(0,0,0,.03) 0.25rem);
}

.texture-concrete {
  background-image:
    url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
}

/* ===== Утилиты ===== */
.container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Desktop container padding */
@media (min-width: 992px) {
  .container {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }
}

/* Remove side padding from nested containers */
.container .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 767px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .container .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.text-industrial {
  font-family: var(--font-industrial);
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
}

.bg-industrial-gradient {
  background: var(--gradient-industrial);
}

.shadow-industrial {
  box-shadow: var(--shadow-industrial);
}

/* ===== Индустриальный Футер ===== */
.industrial-footer {
  background: linear-gradient(180deg, #263940 0%, #1A1A1A 100%);
  color: #94A3B8;
  margin-top: 4rem;
  position: relative;
  font-family: var(--font-primary);
}

/* Верхняя линия с анимацией */
.footer-top-line {
  height: 0.1875rem;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--industrial-primary) 20%,
    var(--industrial-secondary) 50%,
    var(--industrial-primary) 80%,
    transparent 100%);
  animation: footerLineGlow 3s ease-in-out infinite;
}

@keyframes footerLineGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Основной контент */
.footer-content {
  padding: 3rem 0 1rem;
}

.footer-main {
  padding-bottom: 2rem;
}

/* Заголовки колонок */
.footer-title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.0313rem;
}

.title-icon {
  color: var(--industrial-primary);
  flex-shrink: 0;
}

/* О компании */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-logo-icon {
  width: 3.75rem;
  height: 3.75rem;
  margin-right: 0.75rem;
}

.footer-logo .logo-title {
  font-size: 1.25rem;
  color: #fff;
}

.footer-logo .logo-subtitle {
  font-size: 0.7rem;
  color: #B8C5D0;
}

.footer-about p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

/* Ссылки в футере */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: #64748B;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition-fast);
  position: relative;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--industrial-primary);
  padding-left: 0.5rem;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0.125rem;
  background: var(--industrial-primary);
  transition: width 0.3s ease;
}

.footer-links a:hover::before {
  width: 0.1875rem;
}

.all-link {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 0.0625rem solid rgba(255,255,255,0.1);
}

.all-link a {
  color: var(--industrial-secondary);
  font-weight: 600;
}

/* Контакты */
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-phone {
  margin-bottom: 0.5rem;
}

.phone-main {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  transition: var(--transition-fast);
}

.phone-main:hover {
  color: var(--industrial-primary);
}

.phone-schedule {
  display: block;
  font-size: 0.75rem;
  color: #718096;
  margin-top: 0.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-item a {
  color: #94A3B8;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--industrial-primary);
}

/* Социальные сети */
.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-link {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  transition: var(--transition-fast);
  border: 0.0625rem solid rgba(255,255,255,0.1);
}

.social-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

.social-link:hover {
  background: var(--industrial-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  border-color: var(--industrial-primary);
}

/* Социальные ссылки для экранов от 62rem */
@media (min-width: 992px) {
  .social-links {
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .social-link {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.375rem;
    border: 0.0625rem solid rgba(255,255,255,0.1);
  }

  .social-link svg {
    width: 1rem;
    height: 1rem;
  }

  .social-link:hover {
    transform: translateY(-0.125rem);
  }
}

/* Разделитель */
.footer-divider {
  height: 0.0625rem;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.2) 20%,
    rgba(255,255,255,0.2) 80%,
    transparent 100%);
  margin: 2rem 0;
}

/* Нижняя секция */
.footer-bottom-section {
  padding: 1.5rem 0;
}

/* Приложения */
.app-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-title {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.875rem;
}

.app-badge {
  transition: var(--transition-fast);
  display: inline-block;
}

.app-badge:hover {
  transform: translateY(-0.125rem);
  filter: brightness(1.1);
}

/* Способы оплаты */
.payment-methods {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-label {
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
}

.payment-icons {
  display: flex;
  gap: 0.5rem;
}

.payment-icons svg {
  opacity: 0.9;
  transition: var(--transition-fast);
}

.payment-icons svg:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Юридическая информация */
.footer-legal {
  padding: 1.5rem 0;
  background: rgba(0,0,0,0.3);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 991px) {
  .footer-legal {
    margin: 0 0 30px 0;
  }
}

.copyright {
  margin: 0;
  color: #94A3B8;
  font-size: 0.875rem;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: #64748B;
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.legal-links a:hover {
  color: var(--industrial-primary);
}

.legal-links .separator {
  color: #4A5568;
  font-size: 0.75rem;
}

/* Кнопка наверх */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--gradient-fire);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  box-shadow: 0 0.25rem 0.75rem rgba(255, 107, 53, 0.4);
  z-index: 1000;
}

.scroll-to-top.show,
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.375rem 1.25rem rgba(255, 107, 53, 0.5);
}

/* Адаптивность футера */
@media (max-width: 991px) {
  .footer-content {
    padding: 32px 0 16px;
  }

  .footer-title {
    font-size: 15px;
  }

  .app-links,
  .payment-methods {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin-top: 16px;
  }

  .legal-links {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .industrial-footer {
    margin-top: 32px;
  }

  .footer-title {
    font-size: 14px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .phone-main {
    font-size: 18px;
  }

  .legal-links {
    flex-direction: column;
    gap: 8px;
  }

  .legal-links .separator {
    display: none;
  }

  .app-badge svg {
    width: 100px;
    height: 30px;
  }

  .payment-icons svg {
    width: 40px;
    height: 26px;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 16px;
    right: 16px;
  }
}

/* ===== Секция отзывов ===== */
.reviews-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.reviews-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21.875rem), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.08);
  transition: var(--transition-base);
}

.review-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: var(--shadow-xl);
}

.review-header {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.review-avatar {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  background: var(--industrial-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  align-self: start;
}

.review-info {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}

.review-author {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--industrial-dark);
  margin: 0;
}

.review-company {
  font-size: 0.875rem;
  color: var(--industrial-concrete);
  margin: 0.25rem 0 0;
}

.review-rating {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  display: flex;
  gap: 0.25rem;
}

.review-rating svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: var(--industrial-accent);
}

.review-rating svg.empty {
  fill: #e2e8f0;
}

.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--industrial-steel);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 0.0625rem solid #e2e8f0;
}

.review-date {
  font-size: 0.875rem;
  color: var(--industrial-concrete);
}

.review-verified {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--industrial-success);
  fill: var(--industrial-success);
}

/* ===== Баннер акций ===== */
.promo-banner {
  padding: 0;
  background: var(--gradient-industrial);
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.promo-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}

.promo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.promo-text {
  color: white;
}

.promo-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0,0,0,0.2);
}

.promo-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.promo-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.btn-promo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  color: var(--industrial-primary);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.btn-promo:hover {
  transform: translateY(-0.1875rem);
  box-shadow: var(--shadow-xl);
  background: var(--industrial-accent);
  color: var(--industrial-dark);
}

.promo-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--industrial-accent);
  color: var(--industrial-dark);
  font-size: 2rem;
  font-weight: 900;
  padding: 1rem 1.5rem;
  border-radius: 50%;
  box-shadow: var(--shadow-xl);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.promo-illustration {
  filter: drop-shadow(0 0.625rem 1.25rem rgba(0,0,0,0.2));
}

/* ===== Форма подписки ===== */
.newsletter-section {
  padding: 4rem 0;
  background: white;
  border-top: 0.0625rem solid #e2e8f0;
}

.newsletter-container {
  max-width: 5rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.newsletter-content {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.newsletter-icon {
  margin-bottom: 1.5rem;
  color: var(--industrial-primary);
  fill: var(--industrial-primary);
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--industrial-dark);
  margin-bottom: 0.5rem;
}

.newsletter-description {
  font-size: 1.125rem;
  color: var(--industrial-steel);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 31.25rem;
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 0.125rem solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: var(--transition-base);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--industrial-primary);
  box-shadow: 0 0 0 0.1875rem rgba(255,107,53,0.1);
}

.newsletter-button {
  background: var(--industrial-primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-base);
  white-space: nowrap;
}

.newsletter-button:hover {
  background: var(--industrial-accent);
  color: var(--industrial-dark);
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-lg);
}

/* Адаптивность для новых секций */
@media (max-width: 767px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .review-card {
    padding: 1rem;
  }

  .review-header {
    gap: 0.5rem 0.75rem;
    margin-bottom: 1rem;
  }

  .review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
  }

  .review-author {
    font-size: 1rem;
  }

  .review-company {
    font-size: 0.75rem;
  }

  .review-rating svg {
    width: 1rem;
    height: 1rem;
  }

  .review-text {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .review-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 0.75rem;
  }

  .review-date,
  .review-verified {
    font-size: 0.75rem;
  }

  .promo-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-title {
    font-size: 32px;
  }

  .promo-image {
    display: none;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-content {
    padding: 32px 16px;
  }
}

/* ===== Секция брендов ===== */
.brands-section {
  padding: 3rem 0;
  margin: 3rem 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.brand-card {
  background: white;
  border: 0.0625rem solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-height: 11rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.05);
}

.brand-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0.5rem 1.5rem rgba(191, 55, 43, 0.15);
  transform: translateY(-0.25rem);
}

.brand-logo {
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.brand-logo svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 1200px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .brand-card {
    padding: 16px;
    min-height: 144px;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
  }

  .brand-name {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .brand-card {
    padding: 12px;
    min-height: 128px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }

  .brand-name {
    font-size: 13px;
  }
}

/* ===== О компании ===== */
.about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
}

.about-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.15);
}

.about-image {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  display: block;
}

.about-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
  padding: 2rem 1.5rem;
  color: white;
}

.about-overlay-title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  color: var(--industrial-primary) !important;
}

.about-overlay-text {
  margin: 0;
  opacity: 0.9;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-title {
  font-size: 2.5rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-description {
  font-size: 1.0625rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.08);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.stat-card:nth-child(2) .stat-value {
  color: #149CE2;
}

.stat-card:nth-child(3) .stat-value {
  color: #38B2AC;
}

.stat-label {
  color: #718096;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    height: 250px;
  }

  .about-title {
    font-size: 28px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-value {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-title {
    font-size: 24px;
  }

  .about-description {
    font-size: 16px;
  }
}

/* ===== Каталог - Популярные товары ===== */
.catalog-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.catalog-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--industrial-dark);
  margin: 0;
}

.catalog-filters {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.filter-button {
  background: white;
  border: 0.0625rem solid #e2e8f0;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--industrial-dark);
}

.filter-button:hover,
.filter-button.active {
  background: var(--industrial-primary);
  color: white;
  border-color: var(--industrial-primary);
}

.sort-select {
  background: white;
  border: 0.0625rem solid #e2e8f0;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--industrial-dark);
  min-width: 9.375rem;
}

/* ===== Сетка товаров ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
}

/* ===== Цветной Scrollbar ===== */
/* WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 0.625rem;
  height: 0.625rem;
}

::-webkit-scrollbar-track {
  background: linear-gradient(to bottom, #f3edcb, #f8f9fa);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
  border-radius: 0.3125rem;
  border: 0.125rem solid #f3edcb;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #a02f24, #c55e28);
  box-shadow: 0 0 0.5rem rgba(191, 55, 43, 0.4);
}

::-webkit-scrollbar-thumb:active {
  background: var(--color-primary);
}

/* Firefox */
* {
  scrollbar-color: linear-gradient(to bottom, var(--color-primary), var(--color-accent)) #f3edcb;
  scrollbar-width: thin;
}

/* Дополнительные стили для контейнеров со скроллом */
.mobile-menu::-webkit-scrollbar {
  width: 0.375rem;
}

.mobile-menu::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 0.1875rem;
}

/* ===== Эффект огня для букв в меню при наведении ===== */
@keyframes fireburn-left {
  0% {
    color: var(--industrial-dark);
    text-shadow: none;
  }
  50% {
    color: #FF6B35;
    text-shadow: 0 0 0.5rem rgba(255, 107, 53, 0.6), 0 0 0.75rem rgba(255, 140, 66, 0.4);
  }
  100% {
    color: #FF6B35;
    text-shadow: 0 0 0.5rem rgba(255, 107, 53, 0.6), 0 0 0.75rem rgba(255, 140, 66, 0.4), 0 0 1.25rem rgba(255, 165, 0, 0.2);
  }
}

/* Обертка для букв с эффектом огня - вложенные spans внутри первого span */
.nav-link > span > span {
  position: relative;
  display: inline;
}

/* Каждая буква получает задержку анимации */
.nav-link:hover > span > span {
  animation: fireburn-left 0.6s ease-out forwards;
}

/* Задержка для каждой позиции буквы */
.nav-link > span > span:nth-child(1) { animation-delay: 0s; }
.nav-link > span > span:nth-child(2) { animation-delay: 0.05s; }
.nav-link > span > span:nth-child(3) { animation-delay: 0.1s; }
.nav-link > span > span:nth-child(4) { animation-delay: 0.15s; }
.nav-link > span > span:nth-child(5) { animation-delay: 0.2s; }
.nav-link > span > span:nth-child(6) { animation-delay: 0.25s; }
.nav-link > span > span:nth-child(7) { animation-delay: 0.3s; }
.nav-link > span > span:nth-child(8) { animation-delay: 0.35s; }
.nav-link > span > span:nth-child(9) { animation-delay: 0.4s; }
.nav-link > span > span:nth-child(10) { animation-delay: 0.45s; }
.nav-link > span > span:nth-child(11) { animation-delay: 0.5s; }
.nav-link > span > span:nth-child(12) { animation-delay: 0.55s; }
.nav-link > span > span:nth-child(13) { animation-delay: 0.6s; }
.nav-link > span > span:nth-child(14) { animation-delay: 0.65s; }
.nav-link > span > span:nth-child(15) { animation-delay: 0.7s; }

/* ===================================
   СЛАЙДЕР БРЕНДОВ
   =================================== */

.brands-swiper {
    padding: 2.5rem 0;
    position: relative;
}

.brands-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7.5rem;
}

@media (min-width: 992px) {
    .brands-swiper {
        padding: 2.5rem 0;
    }

    .brands-swiper .swiper-slide {
        height: 7.5rem;
    }
}

.brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    background: #ffffff;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
}

.brand-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    .brand-link {
        padding: 1.25rem;
        border-radius: 0.5rem;
    }

    .brand-link:hover {
        transform: translateY(-0.3125rem);
    }
}

.brand-link--small .brand-logo-img {
    max-width: 80%;
}

.brand-logo-img {
    max-width: 100%;
    max-height: 5rem;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .brand-logo-img {
        max-width: 10rem;
        max-height: 5rem;
    }
}

.brand-link:hover .brand-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

.brands-swiper-next,
.brands-swiper-prev {
    color: var(--color-primary, #bf372b);
}

.brands-swiper-next:after,
.brands-swiper-prev:after {
    font-size: 1.5rem;
    font-weight: 700;
}

@media (max-width: 767px) {
    .brands-swiper {
        padding: 20px 15px;
    }
	.brands-swiper-next{right: -7px}
	.brands-swiper-prev{left: -7px}
    
    .brands-swiper .swiper-slide {
        height: 100px;
    }
    
    .brand-logo-img {
        max-height: 60px;
    }
}
.RatingBadgeWidget {
    width: 15rem !important;
    height: 5rem !important;
}

/* ================================================
   SVG Icons - Responsive Sizing (62rem+)
   ================================================ */
@media (min-width: 992px) {
    /* Главная навигация - иконки 1.5rem -> 1.5rem */
    .nav-item .nav-link svg[width="24"][height="24"],
    .nav-item .nav-link svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    /* Мобильное меню - иконки 1.25rem -> 1.25rem */
    .mobile-menu-icon svg[width="20"][height="20"],
    .mobile-menu-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* Кнопка "Наверх" - иконка 1.5rem -> 1.5rem */
    .scroll-to-top svg[width="24"][height="24"],
    .scroll-to-top svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    /* Header Top - иконки локации, времени, телефона */
    .header-location svg,
    .header-worktime svg,
    .header-phone svg,
    .header-callback svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* Кнопка мобильного меню */
    .mobile-menu-toggle svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    /* Кнопка каталога */
    .catalog-button svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    /* Иконки категорий (img) */
    .category-icon-img {
        width: 1.5rem;
        height: 1.5rem;
    }

    /* Кнопка поиска */
    .search-button svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* Иконки действий в header */
    .header-action svg {
        width: 1.75rem;
        height: 1.75rem;
    }

    /* Кнопка закрытия каталога */
    .catalog-menu-close svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* Footer - иконки заголовков */
    .footer-title .title-icon,
    .title-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* Footer - SVG в социальных сетях */
    .social-link svg {
        width: 1.125rem;
        height: 1.125rem;
    }

    /* Hero buttons - SVG иконки */
    .btn-hero-primary svg,
    .btn-hero-secondary svg,
    .btn-hero-primary svg[width="20"][height="20"],
    .btn-hero-secondary svg[width="20"][height="20"] {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* Promo banner - SVG в кнопках */
    .btn-promo svg,
    .btn-promo svg[width="20"][height="20"] {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* Category arrow */
    .category-arrow svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    /* Универсальное правило для всех SVG в header и footer с явными размерами */
    header svg[width="24"][height="24"],
    footer svg[width="24"][height="24"] {
        width: 1.5rem;
        height: 1.5rem;
    }

    header svg[width="20"][height="20"],
    footer svg[width="20"][height="20"] {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* Универсальное правило для всех SVG без явных размеров */
    header svg:not([width]):not([height]):not(.social-link svg),
    footer svg:not([width]):not([height]):not(.social-link svg),
    nav svg:not([width]):not([height]):not(.social-link svg) {
        width: 1.5rem;
        height: 1.5rem;
    }
}
/* ============================================ */
/* SEARCH SUGGESTIONS */
/* ============================================ */

/* Стили для поиска с автодополнением */

.header-catalog-search {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
    min-width: 18.75rem;
}

.catalog-button {
    flex-shrink: 0;
}

.search-container {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    border: 0.0625rem solid #ddd;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #bf372b;
    box-shadow: 0 0 0 0.125rem rgba(191, 55, 43, 0.1);
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #666;
    transition: color 0.2s;
}

.search-button:hover {
    color: #bf372b;
}

/* Подсказки поиска */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 0.0625rem solid #ddd;
    border-top: none;
    border-radius: 0 0 0.25rem 0.25rem;
    max-height: 25rem;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    display: none;
}

.search-suggestions.open {
    display: block;
}

.search-suggestion {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 0.0625rem solid #f0f0f0;
    transition: background-color 0.2s;
}

.search-suggestion:last-child {
    border-bottom: none;
}

.search-suggestion:hover,
.search-suggestion.selected {
    background-color: #f9f9f9;
}

.search-suggestion.selected {
    background-color: #f3edcb;
}

.search-suggestion-title {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.search-suggestion-category {
    display: block;
    font-size: 0.75rem;
    color: #666;
}

.search-suggestion-empty {
    color: #666;
    text-align: center;
}

/* Мобильная версия */
.mobile-suggestions {
    position: static;
    max-height: 18.75rem;
    margin-top: 0.5rem;
}

/* Скрытие подсказок */
.search-suggestions.hidden {
    display: none !important;
}

/* ============================================ */
/* MODAL FORMS */
/* ============================================ */

/**
 * Modal Forms Styles
 * Стили для модальных окон и форм с учетом 152-ФЗ
 */

/* ===== МОДАЛЬНЫЕ ОКНА ===== */

/* Белый цвет для заголовков модальных окон */
.modal-title {
  color: #ffffff !important;
}

/* Модальное окно - минимальные закругления */
.modal-content {
  border-radius: 0.25rem !important;
  border: none;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.2);
}

/* Стили для header модального окна */
.modal-header {
  background: linear-gradient(135deg, #263940 0%, #bf372b 100%);
  color: #ffffff;
  border-bottom: none;
  border-radius: 0.25rem 0.25rem 0 0 !important;
  padding: 1.25rem 1.5rem;
}

.modal-header .btn-close,
.modal-header .close {
  color: #ffffff;
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

.modal-header .btn-close:hover,
.modal-header .close:hover {
  opacity: 1;
}

/* Стили для body модального окна */
.modal-body {
  padding: 1.5rem;
}

/* Стили для footer модального окна - СКРЫТ */
.modal-footer {
  display: none !important;
}

/* ===== ФОРМЫ ===== */

/* Общие стили для полей ввода */
.form-control {
  border: 0.0625rem solid #ced4da;
  border-radius: 0.375rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background-color: #ffffff;
}

.form-control:focus {
  border-color: var(--industrial-primary, #FF6B35);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
  outline: 0;
  background-color: #ffffff;
}

/* Стили для автозаполнения - белый фон как у обычного поля */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1.875rem white inset !important;
  -webkit-text-fill-color: #212529 !important;
  background-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Для Mozilla Firefox */
.form-control:-moz-autofill,
.form-control:-moz-autofill-preview {
  background-color: #ffffff !important;
  color: #212529 !important;
}

/* Состояния валидации */
.form-control.is-valid {
  border-color: #10B981;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.form-control.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc3545' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.valid-feedback {
  display: none;
  color: #10B981;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.is-valid ~ .valid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

/* Стили для чекбоксов согласия */
.form-check {
  padding-left: 1.75rem;
  margin-bottom: 1rem;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  margin-left: -1.75rem;
  border: 0.125rem solid #ced4da;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.form-check-input:checked {
  background-color: var(--industrial-primary, #FF6B35);
  border-color: var(--industrial-primary, #FF6B35);
}

.form-check-input:focus {
  border-color: var(--industrial-primary, #FF6B35);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-check-input:required {
  box-shadow: none;
}

.form-check-input:invalid {
  border-color: #dc3545;
}

.form-check-label {
  font-size: 0.875rem;
  color: #495057;
  cursor: pointer;
  user-select: none;
}

.form-check-label a {
  color: var(--industrial-primary, #FF6B35);
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

/* Обязательное поле - звездочка */
.text-danger {
  color: #dc3545 !important;
}

/* Лейблы */
.form-label {
  font-weight: 500;
  font-size: 0.9375rem;
  color: #212529;
  margin-bottom: 0.5rem;
}

/* Группы полей */
.form-group {
  margin-bottom: 1.25rem;
}

/* Блок согласия на обработку ПД (улучшенный дизайн) */
.privacy-consent-block {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 0.125rem solid #e3e6ea;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 1rem 0;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.privacy-consent-block:hover {
  border-color: var(--industrial-primary, #FF6B35);
  box-shadow: 0 0.25rem 0.5rem rgba(255, 107, 53, 0.15);
}

.privacy-consent-block .form-check {
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-left: 0;
}

.privacy-consent-block .form-check-input {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  margin-left: 0;
  flex-shrink: 0;
  border: 0.125rem solid #adb5bd;
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1);
}

.privacy-consent-block .form-check-input:checked {
  background-color: var(--industrial-primary, #FF6B35);
  border-color: var(--industrial-primary, #FF6B35);
  box-shadow: 0 0.125rem 0.375rem rgba(255, 107, 53, 0.4);
}

.privacy-consent-block .form-check-label {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #495057;
  padding-left: 0;
  margin-left: 0;
}

.privacy-consent-block .form-check-label a {
  color: var(--industrial-primary, #FF6B35);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 0.0625rem solid transparent;
  transition: all 0.2s ease;
}

.privacy-consent-block .form-check-label a:hover {
  border-bottom-color: var(--industrial-primary, #FF6B35);
  text-decoration: none;
}

.privacy-consent-required {
  border-left: 0.25rem solid var(--industrial-primary, #FF6B35);
  background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
  border-color: rgba(255, 107, 53, 0.3);
}

/* ===== КНОПКИ ===== */

.btn-primary {
  background-color: var(--industrial-primary, #FF6B35);
  border-color: var(--industrial-primary, #FF6B35);
  color: #ffffff;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
  background-color: #e55a2b;
  border-color: #e55a2b;
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.25rem 0.5rem rgba(255, 107, 53, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== HONEYPOT (защита от ботов) ===== */

/* Скрытое поле для ботов */
.honeypot-field {
  position: absolute !important;
  left: -624.9375rem !important;
  width: 0.0625rem !important;
  height: 0.0625rem !important;
  opacity: 0 !important;
  pointer-events: none !important;
  tab-index: -1 !important;
  z-index: -1 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ===== АЛЕРТЫ ===== */

.alert {
  border-radius: 0.375rem;
  padding: 0.875rem 1rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.alert-success {
  background-color: #d1fae5;
  border-color: #10B981;
  color: #047857;
}

.alert-danger {
  background-color: #fee2e2;
  border-color: #dc3545;
  color: #991b1b;
}

.alert-info {
  background-color: #dbeafe;
  border-color: #3b82f6;
  color: #1e40af;
}

/* ===== АДАПТИВ ===== */

/* Модальные окна для десктопа (от 992px) - размеры в rem */
@media (min-width: 992px) {
  .modal {
    --bs-modal-width: 33rem;
  }

  .modal-content {
    border-radius: 1rem !important; /* 1rem - заметное закругление */
  }

  .modal-header {
    border-radius: 1rem 1rem 0 0 !important;
  }
}

@media (max-width: 575px) {
  .modal-header {
    padding: 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-footer {
    padding: 12px 16px;
  }

  .form-control {
    font-size: 14px;
  }

  .form-label {
    font-size: 14px;
  }

  .form-check-label {
    font-size: 13px;
  }
}

/* ===== АНИМАЦИИ ===== */

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-0.3125rem); }
  20%, 40%, 60%, 80% { transform: translateX(0.3125rem); }
}

.form-control.shake {
  animation: shake 0.5s;
}

/* ===== LOADING STATE ===== */

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 50%;
  left: 50%;
  margin-left: -0.5rem;
  margin-top: -0.5rem;
  border: 0.125rem solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

/* ============================================ */
/* INLINE STYLES */
/* ============================================ */

/**
 * Inline styles - перенесены из index.php
 * Стили которые раньше были inline в HTML
 */

:root {
    --color-primary: #bf372b;      /* Терракотовый */
    --color-secondary: #263940;    /* Графитовый */
    --color-accent: #db6d30;       /* Рыже-каштановый */
    --color-light: #f3edcb;        /* Песочный */
    --color-success: #2d5016;      /* Темно-зеленый */
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-dark);
}

/* Header Styles */
.site-header {
    background-color: var(--color-secondary);
    color: white;
    padding: 1rem 0;
}

.site-header .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.site-header .navbar-brand:hover {
    color: var(--color-light);
}

.site-header .phone {
    color: white;
    font-weight: 500;
}

/* Navigation */
.main-nav {
    background-color: var(--color-light);
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.1);
}

.main-nav .nav-link {
    color: var(--color-dark);
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--color-primary);
    background-color: rgba(191, 55, 43, 0.1);
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #a02f24;
    border-color: #a02f24;
}

.btn-secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #1a2730;
    border-color: #1a2730;
}

.btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: #c55e28;
    border-color: #c55e28;
    color: white;
}

.btn-success {
    background-color: var(--color-success);
    border-color: var(--color-success);
    color: white;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #1f3810;
    border-color: #1f3810;
    color: white;
}

.bg-success {
    background-color: var(--color-success) !important;
}

.text-success {
    color: var(--color-success) !important;
}

.badge.bg-success {
    background-color: var(--color-success) !important;
}

/* Alert components */
.alert.alert-info {
    background-color: rgba(45, 80, 22, 0.1) !important;
    border-color: var(--color-success) !important;
    color: var(--color-success) !important;
}

.alert.alert-info .icon,
.alert.alert-info svg {
    color: var(--color-success) !important;
    stroke: var(--color-success) !important;
}

.alert.alert-success {
    background-color: rgba(45, 80, 22, 0.1) !important;
    border-color: var(--color-success) !important;
    color: var(--color-success) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: white;
    padding: 3.75rem 0;
}

/* Footer */
.site-footer {
    background-color: var(--color-secondary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.site-footer a {
    color: var(--color-light);
    text-decoration: none;
}

.site-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.15);
}

/* Cart Badge */
.cart-badge {
    background-color: var(--color-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Hidden States */
.mobile-menu-toggle {
    display: none !important;
}

/* Show mobile menu toggle on mobile devices only */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block !important;
    }
}

.header-action-badge-hidden {
    display: none !important;
}

.catalog-mega-menu-hidden {
    display: none !important;
}

.cookie-consent-hidden {
    display: none !important;
}

.cookie-consent-hidden.show {
    display: block !important;
}

.nav-link-sale {
    color: var(--industrial-primary);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(38, 57, 64, 0.95);
    backdrop-filter: blur(0.625rem);
    padding: 1.25rem;
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.cookie-consent-text {
    flex: 1;
    color: white;
    font-size: 0.875rem;
    line-height: 1.5;
}

.cookie-consent-text p {
    margin: 0;
}

.cookie-consent-text a {
    color: #f3edcb;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 0.0625rem solid #f3edcb;
    transition: color 0.2s;
}

.cookie-consent-text a:hover {
    color: white;
}

.cookie-consent-btn {
    background-color: #bf372b;
    color: white;
    border: none;
    padding: 0.625rem 1.875rem;
    border-radius: 0.25rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.cookie-consent-btn:hover {
    background-color: #a02f24;
}

.cookie-consent-btn:active {
    transform: scale(0.98);
}

@media (max-width: 767px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent-btn {
        width: 100%;
    }
}

/* Swiper Product Image Gallery Styles */
.productImageSwiper {
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #ffffff;
    max-height: 400px;
}

.productImageSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    height: 400px;
}

@media (min-width: 992px) {
    .productImageSwiper {
        max-height: 37.5rem;
    }

    .productImageSwiper .swiper-slide {
        height: 37.5rem;
    }

    /* Кнопки навигации */
    .productImageSwiper .swiper-button-prev,
    .productImageSwiper .swiper-button-next {
        width: 3.5rem;
        height: 3.5rem;
    }

    .productImageSwiper .swiper-button-prev:after,
    .productImageSwiper .swiper-button-next:after {
        font-size: 1.5rem;
    }

    /* Пагинация (точки) */
    .productImageSwiper .swiper-pagination-bullet {
        width: 0.75rem;
        height: 0.75rem;
        margin: 0 0.375rem;
    }

    /* Миниатюры (thumbnails) */
    .productThumbsSwiper .swiper-slide {
        width: 6.25rem !important;
        height: 6.25rem !important;
        border-width: 0.1875rem;
        border-radius: 0.625rem;
    }

    .productThumbsSwiper .swiper-slide-thumb-active {
        box-shadow: 0 0 0.625rem rgba(191, 55, 43, 0.3);
    }
}

.productImageSwiper .swiper-slide a,
.productImageSwiper .swiper-slide picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.productImageSwiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* Навигация галереи товара - индустриальный стиль (как у популярных товаров) */
.productImageSwiper .products-swiper-prev-industrial,
.productImageSwiper .products-swiper-next-industrial {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    border-radius: 0.5rem;
    border: 0.125rem solid rgba(255, 255, 255, 0.2);
}

.productImageSwiper .products-swiper-prev-industrial {
    left: 0.5rem;
}

.productImageSwiper .products-swiper-next-industrial {
    right: 0.5rem;
}

.productImageSwiper .nav-industrial-bg {
    position: absolute;
    inset: 0;
    background: rgba(38, 57, 64, 0.95);
    border-radius: 0.5rem;
    opacity: 1;
    transition: all var(--transition-base);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.productImageSwiper .products-swiper-prev-industrial svg,
.productImageSwiper .products-swiper-next-industrial svg {
    position: relative;
    z-index: 1;
    fill: white;
    transition: transform var(--transition-fast);
}

.productImageSwiper .products-swiper-prev-industrial:hover .nav-industrial-bg,
.productImageSwiper .products-swiper-next-industrial:hover .nav-industrial-bg {
    background: var(--gradient-fire);
    box-shadow: 0 0.5rem 1.25rem rgba(255, 107, 53, 0.4);
}

.productImageSwiper .products-swiper-prev-industrial:hover svg,
.productImageSwiper .products-swiper-next-industrial:hover svg {
    transform: scale(1.2);
}

.productImageSwiper .products-swiper-prev-industrial.swiper-button-disabled,
.productImageSwiper .products-swiper-next-industrial.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.productImageSwiper .products-swiper-prev-industrial::after,
.productImageSwiper .products-swiper-next-industrial::after {
    display: none;
}

/* Пагинация галереи товара - индустриальный стиль (как у популярных товаров) */
.productImageSwiper .swiper-pagination-industrial {
    position: relative;
    margin-top: 2rem;
    bottom: auto !important;
}

.productImageSwiper .swiper-pagination-industrial .swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
    background: #cbd5e0;
    opacity: 1;
    transition: all var(--transition-base);
}

.productImageSwiper .swiper-pagination-industrial .swiper-pagination-bullet-active {
    background: var(--gradient-fire);
    width: 2rem;
    border-radius: 0.375rem;
    box-shadow: 0 0 0.625rem rgba(255, 107, 53, 0.5);
}

/* Thumbnail Swiper Styles */
.productThumbsSwiper {
    width: 100%;
}

.productThumbsSwiper .swiper-slide {
    border: 0.125rem solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.productThumbsSwiper .swiper-slide:hover {
    border-color: var(--color-primary);
    opacity: 0.8;
}

.productThumbsSwiper .swiper-slide-thumb-active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0.5rem rgba(191, 55, 43, 0.3);
}

/* Responsive adjustments for Swiper on mobile */
@media (max-width: 767px) {
    .productImageSwiper .swiper-button-prev,
    .productImageSwiper .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .productImageSwiper .swiper-button-prev:after,
    .productImageSwiper .swiper-button-next:after {
        font-size: 14px;
    }

    .productThumbsSwiper .swiper-slide {
        width: 60px !important;
        height: 60px !important;
    }
}

/* Icon Styles with Responsive Sizing */
/* Mobile first: default small size */
.icon-wrapper i.bi,
i.bi {
    font-size: 1rem;
    display: inline-block;
}

/* Desktop: larger size for >= 62rem */
@media (min-width: 992px) {
    .icon-wrapper i.bi,
    i.bi {
        font-size: 1.5rem;
    }
}

/* Menu Icons - consistent sizing */
.menu-icon,
.nav-icon {
    font-size: 1rem;
}

@media (min-width: 992px) {
    .menu-icon,
    .nav-icon {
        font-size: 1.5rem;
    }
}

/* Category Icons */
.category-icon {
    font-size: 1rem;
}

@media (min-width: 992px) {
    .category-icon {
        font-size: 1.5rem;
    }
}

/* Footer Icons */
.footer-icon {
    font-size: 1rem;
}

@media (min-width: 992px) {
    .footer-icon {
        font-size: 1.5rem;
    }
}

/* Header Icons */
.header-icon {
    font-size: 1rem;
}

@media (min-width: 992px) {
    .header-icon {
        font-size: 1.5rem;
    }
}

/* Product Card Icons */
.product-icon {
    font-size: 1rem;
}

@media (min-width: 992px) {
    .product-icon {
        font-size: 1.5rem;
    }
}

/* Contact Icons */
.contact-icon {
    font-size: 1rem;
}

@media (min-width: 992px) {
    .contact-icon {
        font-size: 1.5rem;
    }
}

/* SVG Icon Wrapper Styles */
svg-icon,
.svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    vertical-align: -0.125em;
}

svg-icon svg,
.svg-icon svg {
    width: 1rem;
    height: 1rem;
    display: block;
    color: currentColor;
}

@media (min-width: 992px) {
    svg-icon svg,
    .svg-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* SVG Icon Styles */
svg.title-icon {
    width: 1rem;
    height: 1rem;
}

@media (min-width: 992px) {
    svg.title-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* Header SVG Icons */
.header-industrial svg[viewBox] {
    width: 1rem;
    height: 1rem;
}

@media (min-width: 992px) {
    .header-industrial svg[viewBox] {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* Catalog menu SVG */
.catalog-category-arrow {
    width: 1rem;
    height: 1rem;
}

@media (min-width: 992px) {
    .catalog-category-arrow {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* iOS Critical Styles */
@supports (-webkit-touch-callout: none) {
  :root {
    --safe-area-inset-top: env(safe-area-inset-top, 0px);
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  }
  body {
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Cart pulse animation */
@keyframes cart-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

#cart-count.cart-pulse {
    animation: cart-pulse 0.6s ease-out;
}

/* Mobile menu critical styles - prevent flash */
.mobile-menu {
    transform: translateX(-100%) !important;
    transition: none !important;
}
.mobile-menu-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: none !important;
}
.mobile-menu.active {
    transform: translateX(0) !important;
    transition: transform 0.3s ease !important;
}
.mobile-menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s, visibility 0.3s !important;
}

/* ============================================ */
/* EXTRACTED STYLES */
/* ============================================ */

/**
 * Extracted Inline Styles
 * Перенесенные из HTML inline style= атрибутов
 * Дата: 2024-10-28
 */

/* ============================================
   ТАБЛИЦЫ И КОЛОНКИ
   ============================================ */

/* Таблицы размеров - ширины колонок */
.table-col-25 {
    width: 25%;
}

.table-col-35 {
    width: 35%;
}

.table-col-40 {
    width: 40%;
}

.table-col-15 {
    width: 15%;
}

.table-col-110 {
    width: 6.875rem;
}

/* ============================================
   ИЗОБРАЖЕНИЯ
   ============================================ */

/* Изображения товаров */
.product-image-container {
    width: 5rem;
    height: 5rem;
    flex-shrink: 0;
}

/* Полноразмерные изображения */
.image-fullwidth {
    width: 100%;
    height: auto;
    display: block;
}

/* Изображения товаров с обрезкой */
.product-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
}

/* ============================================
   ТЕКСТ И КНОПКИ
   ============================================ */

/* Текст без переноса слов */
.text-nowrap-force {
    white-space: nowrap;
}

/* Размер шрифта увеличенный */
.font-lg {
    font-size: 1.25rem;
}

/* Размер шрифта уменьшенный */
.font-sm {
    font-size: 0.875rem;
}

/* Input форм - специальный padding */
.input-form-sm {
    padding: 0.375rem 0.25rem;
    font-size: 0.875rem;
}

/* ============================================
   СЛОИ И ПОЗИЦИОНИРОВАНИЕ
   ============================================ */

/* Z-index для модальных окон и дропдаунов */
.z-index-modal {
    z-index: 10;
}

/* ============================================
   ШИРИНА КОНТЕЙНЕРОВ
   ============================================ */

.width-110 {
    width: 6.875rem;
}

.width-6.25rem {
    width: 6.25rem;
}

.width-7.5rem {
    width: 7.5rem;
}

.width-3.125rem {
    width: 3.125rem;
}

.width-5rem-shrink {
    width: 5rem;
    flex-shrink: 0;
}

.image-responsive {
    max-width: 100%;
    height: auto;
}

/* Размер шрифта 1.3rem */
.font-xxl {
    font-size: 1.3rem;
}

/* ============================================
   АНИМАЦИИ И ЭФФЕКТЫ (динамические)
   ============================================ */

/* Важно: Дергаемые стили с PHP переменными остаются inline для динамических градиентов */
/* Пример: style="background: <?= $gradients[$index % count($gradients)] ?>" */
/* Пример: style="left: <?= rand(0, 100) ?>%; animation-delay: <?= rand(0, 10) ?>s;" */

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 767px) {
    .table-col-25 {
        width: 20%;
    }

    .table-col-35 {
        width: 30%;
    }

    .product-image-container {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .table-col-25,
    .table-col-35,
    .table-col-40,
    .table-col-15 {
        width: 100%;
        display: block;
        margin-bottom: 8px;
    }

    .product-image-container {
        width: 50px;
        height: 50px;
    }
}

/* ============================================ */
/* MOBILE STYLES (max-width: 991px) */
/* ============================================ */

/**
 * Mobile Header CSS - Full Rebuild v3
 * Работает до 61.9375rem
 */

@media (max-width: 991px) {

  /* === СКРЫВАЕМ DESKTOP === */
  .header-top,
  .header-catalog-search,
  .nav-industrial {
    display: none !important;
  }

  /* === БАЗОВЫЙ HEADER (тег + класс для максимальной совместимости) === */
  header,
  .header-industrial {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    /* Samsung/Android fixes */
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
  }

  .header-main {
    padding: 0 !important;
  }

  .header-main-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 0px !important;
    gap: 12px !important;
    min-height: 56px !important;
  }

  /* === КНОПКИ - ПОКАЗЫВАЕМ === */
  .mobile-menu-toggle.d-lg-none {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    color: #1a1a1a !important;
    -webkit-appearance: none !important;
  }

  .mobile-menu-toggle:active {
    background: #f1f5f9 !important;
  }

  .mobile-menu-toggle svg {
    width: 24px !important;
    height: 24px !important;
    fill: #1a1a1a !important;
    color: #1a1a1a !important;
  }

  /* === ЛОГОТИП === */
  .logo-industrial {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    flex: 1 !important;
  }

  .logo-industrial-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .logo-industrial-text {
    gap: 0px !important;
  }

  .logo-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #FF6B35 !important;
  }

  .logo-subtitle {
    margin-top: 0;
    font-size: 12px !important;
    line-height: 11px;
  }

  /* === ACTIONS === */
  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .header-action.d-lg-none {
    display: flex !important;
  }

  .header-action {
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
  }

  .header-action:active {
    background: #f1f5f9 !important;
  }

  .header-action svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
  }

  .header-action-text {
    display: none !important;
  }

  .header-action-phone.d-none {
    display: none !important;
  }

  .header-action-badge {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    padding: 0 !important;
    background: #FF6B35 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .header-action-badge-hidden {
    display: none !important;
  }

  /* Счетчик корзины в rem для экранов от 992px */
  @media (min-width: 992px) {
    .header-action-badge {
      top: -4px !important;
      right: -4px !important;
      width: 24px !important;
      height: 24px !important;
      min-width: 24px !important;
      max-width: 24px !important;
      font-size: 12px !important;
    }
  }

  /* === OVERLAY === */
  .mobile-menu-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 1040 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s !important;
    pointer-events: none !important;
  }

  .mobile-menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* === MOBILE MENU === */
  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 85% !important;
    max-width: 360px !important;
    background: #fff !important;
    /* iOS Safari fixes */
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    z-index: 1050 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow-y: auto !important;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15) !important;
  }

  .mobile-menu.active {
    transform: translateX(0) !important;
  }

  .mobile-menu-header {
    position: sticky !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 20px !important;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
  }

  .mobile-menu-header img {
    height: 32px !important;
  }

  .mobile-menu-close {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.2) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    cursor: pointer !important;
  }

  .mobile-menu-close:active {
    background: rgba(255,255,255,0.3) !important;
  }

  .mobile-menu-close svg {
    width: 20px !important;
    height: 20px !important;
  }

  .mobile-menu-nav {
    padding: 0 !important;
  }

  .mobile-menu-section {
    padding: 20px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .mobile-menu-title {
    padding: 0 20px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
  }

  .mobile-menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .mobile-menu-item {
    border-bottom: 1px solid #f1f5f9 !important;
  }

  .mobile-menu-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 20px !important;
    color: #1a1a1a !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
  }

  .mobile-menu-link:active {
    background: #f8fafc !important;
  }

  .mobile-menu-icon {
    width: 20px !important;
    height: 20px !important;
    color: #64748b !important;
  }

  /* Кнопка обратного звонка - акцентный стиль */
  .mobile-menu-item-callback {
    padding: 12px 16px !important;
    border-bottom: none !important;
  }

  .mobile-menu-callback-btn {
    width: 100% !important;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #fff !important;
    padding: 14px 20px !important;
    font-weight: 600 !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
    transition: all 0.2s ease !important;
  }

  .mobile-menu-callback-btn .mobile-menu-icon {
    color: #fff !important;
  }

  .mobile-menu-callback-btn:active {
    transform: scale(0.98) !important;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4) !important;
  }

  .mobile-menu-contacts {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    padding: 20px !important;
  }

  /* Address item - align to top for multi-line text */
  .mobile-menu-contacts .mobile-menu-item:first-child .mobile-menu-link {
    align-items: flex-start !important;
  }

  /* === SEARCH MODAL === */
  #mobileSearchModal {
    position: fixed !important;
    inset: 0 !important;
    background: #fff !important;
    z-index: 1060 !important;
    display: none !important;
    flex-direction: column !important;
  }

  #mobileSearchModal.active {
    display: flex !important;
  }

  .mobile-search-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 20px !important;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%) !important;
  }

  .mobile-search-close {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.2) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    cursor: pointer !important;
  }

  .mobile-search-input {
    flex: 1 !important;
    height: 44px !important;
    padding: 0 16px !important;
    background: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    outline: none !important;
  }

  .mobile-search-submit {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.2) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    cursor: pointer !important;
  }

  .mobile-search-submit svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* === STICKY CART === */
  #stickyMobileCart {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15) !important;
    z-index: 999 !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s !important;
    /* iOS Safari fixes */
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
  }

  #stickyMobileCart.visible {
    transform: translateY(0) !important;
  }

  .sticky-cart-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
  }

  /* === BODY OFFSET === */
  body {
    padding-top: 56px !important;
  }

  /* ===== MOBILE SEARCH SUGGESTIONS ===== */
  .mobile-search-suggestions {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    padding: 0;
    display: none;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-search-suggestions.open {
    display: block;
  }

  .mobile-search-suggestion {
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }

  .mobile-search-suggestion:last-child {
    border-bottom: none;
  }

  .mobile-search-suggestion:active,
  .mobile-search-suggestion.selected {
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 140, 66, 0.05) 100%);
  }

  .mobile-search-suggestion::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #FF6B35 0%, #FF8C42 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .mobile-search-suggestion.selected::before {
    opacity: 1;
  }

  .mobile-search-suggestion-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #f8f9fa;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
  }

  .mobile-search-suggestion-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-search-suggestion-title {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-search-suggestion-category {
    font-size: 13px;
    color: #64748b;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-search-suggestion-price {
    font-size: 14px;
    font-weight: 600;
    color: #FF6B35;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mobile-search-suggestion-empty {
    padding: 60px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 15px;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .mobile-search-suggestion-empty:active {
    background-color: transparent;
  }

  .mobile-search-suggestion-empty svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
  }

  /* === COPYRIGHT === */
  .copyright {
    text-align: center !important;
  }
}

/* ============================================ */
/* MOBILE iOS ENHANCEMENTS */
/* ============================================ */

/*
 * iOS Enhancement Styles для СибСнаб24
 * Оптимизация для iPhone и iPad
 * Version: 1.0.0
 */

/* ===== iOS Safe Area Support ===== */
/* Поддержка iPhone X и новее с "челкой" */

/* CSS переменные для Safe Area */
:root {
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-right: env(safe-area-inset-right, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-inset-left: env(safe-area-inset-left, 0px);
}

/* ===== Фиксированный Header с Safe Area ===== */
@media (max-width: 991px) {
  /* Улучшенный header для iOS */
  .header-industrial {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-top: var(--safe-area-inset-top);
  }

  /* Header main content с Safe Area padding */
  .header-main-content {
    padding-left: max(16px, var(--safe-area-inset-left));
    padding-right: max(16px, var(--safe-area-inset-right));
  }
}

/* ===== Мобильное меню с Safe Area ===== */
@media (max-width: 991px) {
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh; /* Dynamic Viewport Height для iOS Safari */
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 9999;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.16), 0 1px 3px rgba(0,0,0,0.12);
    transform: translateX(-100%);
    display: flex;
    flex-direction: column;

    /* iOS Safe Area */
    padding-top: var(--safe-area-inset-top);
    padding-bottom: var(--safe-area-inset-bottom);
    padding-left: var(--safe-area-inset-left);

    /* iOS оптимизация скролла */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: auto; /* Разрешает нативный bounce на iOS */

    /* GPU acceleration */
    will-change: transform;
    transform: translate3d(-100%, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
  }

  .mobile-menu.active {
    transform: translate3d(0, 0, 0);
  }

  /* Улучшенный header меню */
  .mobile-menu-header {
    background: linear-gradient(135deg, var(--industrial-primary) 0%, #ff8c42 100%);
    color: white;
    padding: calc(20px + var(--safe-area-inset-top)) 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
    position: relative;
    z-index: 1;
  }
}

/* ===== Touch Optimizations для iOS ===== */

/* Улучшенный touch feedback */
.mobile-menu-toggle,
.header-action,
.search-button,
.mobile-menu-link,
.mobile-menu-close,
button,
.btn,
a.btn {
  /* Отключение iOS callout и highlight */
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;

  /* GPU acceleration */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Active states для touch (вместо hover на iOS) */
@media (max-width: 991px) {
  .mobile-menu-toggle:active {
    background: rgba(255, 107, 53, 0.1);
    transform: scale(0.9) translateZ(0);
    transition: transform 0.1s ease;
  }

  .header-action:active {
    background: rgba(255, 107, 53, 0.1);
    color: var(--industrial-primary);
    transform: scale(0.95) translateZ(0);
  }

  .mobile-menu-close:active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0.95) rotate(90deg) translateZ(0);
  }

  .mobile-menu-link:active {
    background: rgba(255, 107, 53, 0.08);
    color: var(--industrial-primary);
    transform: translateZ(0);
  }

  .search-button:active {
    background: rgba(255, 107, 53, 0.1);
    color: var(--industrial-primary);
    transform: scale(0.95) translateZ(0);
  }
}

/* ===== Sticky элементы с Safe Area ===== */
@media (max-width: 767px) {
  .sticky-mobile-cart {
    position: fixed;
    bottom: max(20px, calc(var(--safe-area-inset-bottom) + 20px));
    right: max(20px, calc(var(--safe-area-inset-right) + 20px));
    z-index: 1000;
    transform: translateY(100px) translateZ(0);
    transition: transform 0.3s ease;

    /* GPU acceleration */
    will-change: transform;
    backface-visibility: hidden;
  }

  .sticky-mobile-cart.visible {
    transform: translateY(0) translateZ(0);
  }

  .sticky-cart-link:active {
    transform: scale(1.05) translateZ(0);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  }
}

/* ===== Форм inputs для iOS ===== */
@media (max-width: 991px) {
  /* Предотвращение auto-zoom на iOS */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important; /* Минимум 16px для предотвращения zoom */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .search-input {
    font-size: 16px !important;
    -webkit-appearance: none;
    border-radius: 6px;
  }

  /* Placeholder styling для iOS */
  input::placeholder,
  textarea::placeholder {
    color: #a0aec0;
    opacity: 1;
  }

  input::-webkit-input-placeholder,
  textarea::-webkit-input-placeholder {
    color: #a0aec0;
    opacity: 1;
  }
}

/* ===== Modal windows с Safe Area ===== */
@media (max-width: 575px) {
  .modal-dialog {
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic Viewport Height */
  }

  .modal-content {
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    padding-top: var(--safe-area-inset-top);
    padding-bottom: var(--safe-area-inset-bottom);
  }

  .modal-header {
    padding-top: calc(16px + var(--safe-area-inset-top));
  }

  .modal-footer {
    padding-bottom: calc(16px + var(--safe-area-inset-bottom));
  }
}

/* ===== Overlay с улучшенным backdrop ===== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height для iOS */
  background: rgba(0, 0, 0, 0);
  z-index: 9998;
  display: none;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;

  /* iOS blur effect */
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);

  /* GPU acceleration */
  will-change: backdrop-filter, background-color;
  transform: translateZ(0);
}

.mobile-menu-overlay.active {
  display: block;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(0.1875rem);
  backdrop-filter: blur(0.1875rem);
  pointer-events: auto;
}

/* ===== Scroll Lock для body на iOS ===== */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;

  /* iOS fix для предотвращения bounce scroll */
  -webkit-overflow-scrolling: auto;
}

/* ===== Performance оптимизация ===== */

/* Reduce motion для accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .mobile-menu {
    transition: none !important;
  }
}

/* ===== iOS Dark Mode Support ===== */
@media (prefers-color-scheme: dark) {
  /* Опциональная поддержка темной темы */
  /* Раскомментируйте при необходимости */

  /*
  .mobile-menu {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
  }

  .mobile-menu-link {
    color: #ffffff;
  }
  */
}

/* ===== Landscape orientation на iPhone ===== */
@media (max-width: 991px) and (orientation: landscape) {
  /* Адаптация для альбомной ориентации */
  .mobile-menu {
    width: 60%;
    max-width: 20rem;
  }

  .mobile-menu-header {
    padding: 0.75rem 1rem;
  }

  .mobile-menu-section {
    padding: 0.75rem 1.25rem;
  }

  /* Компактный header в landscape */
  .header-industrial {
    min-height: auto;
  }

  main,
  .main-content {
    padding-top: calc(5rem + var(--safe-area-inset-top)) !important;
  }
}

/* ===== Улучшения производительности скролла ===== */
@media (max-width: 991px) {
  /* Оптимизация для 60fps scrolling */
  .mobile-menu,
  .header-industrial,
  .sticky-mobile-cart {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  /* Smooth scrolling для iOS */
  html {
    -webkit-overflow-scrolling: touch;
  }

  /* Оптимизация рендеринга */
  .product-card,
  .category-card,
  .advantage-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
  }
}

/* ===== iOS Safari Address Bar компенсация ===== */
@supports (-webkit-touch-callout: none) {
  /* Специфичные стили только для iOS Safari */

  @media (max-width: 991px) {
    /* Использование dvh вместо vh */
    .mobile-menu {
      height: 100dvh;
    }

    .modal-content {
      min-height: 100dvh;
    }

    /* Компенсация для address bar - убрано для main чтобы не создавать фиксированную высоту */
  }
}

/* ===== Touch feedback animations ===== */
@media (max-width: 991px) {
  /* Ripple effect для кнопок (опционально) */
  .btn,
  button,
  .mobile-menu-link {
    position: relative;
    overflow: hidden;
  }

  .btn::after,
  button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
  }

  .btn:active::after,
  button:active::after {
    width: 200px;
    height: 200px;
  }
}

/* ===== Улучшенная типографика для Retina дисплеев ===== */
@media (max-width: 991px) and (-webkit-min-device-pixel-ratio: 2),
       (max-width: 991px) and (min-resolution: 192dpi) {
  /* Оптимизация для Retina */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  /* Четкие границы для iOS */
  .mobile-menu,
  .header-industrial,
  .product-card {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
  }
}

/* ===== Accessibility улучшения ===== */
@media (max-width: 991px) {
  /* Focus states для keyboard navigation */
  button:focus-visible,
  a:focus-visible,
  input:focus-visible {
    outline: 2px solid var(--industrial-primary);
    outline-offset: 2px;
  }

  /* Улучшенная видимость для VoiceOver */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
}

/* ===== Print styles для iOS ===== */
@media print {
  .mobile-menu,
  .mobile-menu-overlay,
  .sticky-mobile-cart,
  .header-industrial {
    display: none !important;
  }

  main,
  .main-content {
    padding-top: 0 !important;
  }
}

/* ===== Debug helper (удалить в production) ===== */
/*
body::before {
  content: 'Safe Area: Top ' var(--safe-area-inset-top) ' Bottom ' var(--safe-area-inset-bottom);
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  z-index: 99999;
  pointer-events: none;
}
*/

/* Sale Category Sliders */
.swiper[class*="sale-sw-"] {
  position: relative;
  padding: 0 2.5rem;
}

.swiper[class*="sale-sw-"] .swiper-button-prev,
.swiper[class*="sale-sw-"] .swiper-button-next {
  width: 2rem;
  height: 2rem;
  background: rgba(38, 57, 64, 0.95);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.swiper[class*="sale-sw-"] .swiper-button-prev::after,
.swiper[class*="sale-sw-"] .swiper-button-next::after {
  font-size: 1rem;
  font-weight: bold;
}

.swiper[class*="sale-sw-"] .swiper-button-prev {
  left: 0;
}

.swiper[class*="sale-sw-"] .swiper-button-next {
  right: 0;
}

.swiper[class*="sale-sw-"] .swiper-button-prev:hover,
.swiper[class*="sale-sw-"] .swiper-button-next:hover {
  background: var(--color-primary);
  transform: scale(1.1);
}

.swiper[class*="sale-sw-"] .card {
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.swiper[class*="sale-sw-"] .card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  border-color: var(--color-primary);
}

.swiper[class*="sale-sw-"] .card-img-top {
  height: 250px;
  object-fit: cover;
}

@media (max-width: 575px) {
  .swiper[class*="sale-sw-"] {
    padding: 0 2rem;
  }

  .swiper[class*="sale-sw-"] .swiper-button-prev,
  .swiper[class*="sale-sw-"] .swiper-button-next {
    width: 1.75rem;
    height: 1.75rem;
  }

  .swiper[class*="sale-sw-"] .swiper-button-prev::after,
  .swiper[class*="sale-sw-"] .swiper-button-next::after {
    font-size: 0.875rem;
  }
}

/* Sale Page Swiper Pagination */
.sale-products-swiper-container .swiper-pagination,
.swiper[class*="sale-products-swiper-"] .swiper-pagination {
  position: relative;
  margin-top: 1.5rem;
  bottom: auto;
}

.sale-products-swiper-container .swiper-pagination-bullet,
.swiper[class*="sale-products-swiper-"] .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #d1d5db;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 0.25rem;
  position: relative;
}

/* Увеличиваем область прикосновения (минимум 48x48px) */
.sale-products-swiper-container .swiper-pagination-bullet::before,
.swiper[class*="sale-products-swiper-"] .swiper-pagination-bullet::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  min-width: 48px;
  min-height: 48px;
}

.sale-products-swiper-container .swiper-pagination-bullet-active,
.swiper[class*="sale-products-swiper-"] .swiper-pagination-bullet-active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 5px;
}

@media (min-width: 992px) {
  .sale-products-swiper-container .swiper-pagination-bullet,
  .swiper[class*="sale-products-swiper-"] .swiper-pagination-bullet {
    width: 0.625rem;
    height: 0.625rem;
  }

  .sale-products-swiper-container .swiper-pagination-bullet-active,
  .swiper[class*="sale-products-swiper-"] .swiper-pagination-bullet-active {
    width: 1.5rem;
    border-radius: 0.3125rem;
  }
}

@media (max-width: 575px) {
  .sale-products-swiper-container .swiper-pagination,
  .swiper[class*="sale-products-swiper-"] .swiper-pagination {
    margin-top: 1rem;
  }
}

/* Sale Banner Hero */
.sale-banner-hero {
  position: relative;
  background: linear-gradient(135deg, #bf372b 0%, #db6d30 100%);
  padding: 4rem 0;
  margin-bottom: 3rem;
  overflow: hidden;
  border-radius: 0 0 2rem 2rem;
}

.sale-banner-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.sale-banner-content {
  position: relative;
  z-index: 2;
  color: white;
}

.sale-badge-floating {
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  margin-bottom: 1rem;
  color: #fff;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.sale-banner-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.sale-banner-subtitle {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.sale-banner-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.6;
}

.sale-banner-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.sale-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
}

.sale-feature svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.sale-banner-discount {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 2;
}

.discount-circle {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discount-content {
  position: relative;
  z-index: 3;
  text-align: center;
  background: white;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: pulse-scale 2s ease-in-out infinite;
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.discount-label {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.discount-value {
  font-size: 4rem;
  font-weight: 900;
  color: #bf372b;
  line-height: 1;
  margin-top: 0.25rem;
}

.discount-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.sale-banner-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  animation: float-shapes 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: -75px;
  animation-delay: 4s;
}

@keyframes float-shapes {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Responsive */
@media (min-width: 992px) {
  .sale-banner-hero {
    padding: 3.5rem 0;
    border-radius: 0 0 2.5rem 2.5rem;
  }

  .sale-banner-title {
    font-size: 4.375rem;
  }

  .sale-banner-subtitle {
    font-size: 1.875rem;
  }

  .sale-banner-description {
    font-size: 1.375rem;
    max-width: 37.5rem;
  }

  .sale-badge-floating {
    margin-bottom: 1.25rem;
  }

  .discount-circle {
    width: 18.75rem;
    height: 18.75rem;
  }

  .discount-content {
    width: 15rem;
    height: 15rem;
    box-shadow: 0 0.625rem 2.5rem rgba(0,0,0,0.3);
  }

  .discount-label {
    font-size: 1.25rem;
    letter-spacing: 0.125rem;
  }

  .discount-value {
    font-size: 5rem;
    margin-top: 0.375rem;
  }

  .sale-feature {
    font-size: 1.125rem;
  }

  .sale-feature svg {
    width: 1.875rem;
    height: 1.875rem;
  }

  .sale-badge-floating svg {
    width: 5rem;
    height: 5rem;
  }

  .sale-more-icon {
    width: 5rem !important;
    height: 5rem !important;
  }

  .btn-more-sale svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .btn-add-cart-industrial svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .product-badge-industrial svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .products-swiper-prev-industrial svg,
  .products-swiper-next-industrial svg {
    width: 1.75rem;
    height: 1.75rem;
  }

  .shape-1 {
    width: 25rem;
    height: 25rem;
    top: -8.75rem;
    right: -3.125rem;
  }

  .shape-2 {
    width: 18.75rem;
    height: 18.75rem;
    bottom: -3.125rem;
  }

  .shape-3 {
    width: 12.5rem;
    height: 12.5rem;
    left: -6.25rem;
  }
}

@media (max-width: 991px) {
  .sale-banner-hero {
    padding: 3rem 0;
  }

  .sale-banner-title {
    font-size: 2.5rem;
  }

  .sale-banner-subtitle {
    font-size: 1.25rem;
  }

  .discount-circle {
    width: 200px;
    height: 200px;
    margin-top: 1.5rem;
  }

  .discount-content {
    width: 160px;
    height: 160px;
  }

  .discount-value {
    font-size: 3rem;
  }
}

@media (max-width: 575px) {
  .sale-banner-hero {
    padding: 2rem 0;
    border-radius: 0 0 1rem 1rem;
  }

  .sale-banner-title {
    font-size: 2rem;
  }

  .sale-banner-subtitle {
    font-size: 1rem;
  }

  .sale-banner-description {
    font-size: 1rem;
  }

  .sale-banner-features {
    gap: 1rem;
  }

  .sale-feature {
    font-size: 0.875rem;
  }

  .discount-circle {
    width: 180px;
    height: 180px;
  }

  .discount-content {
    width: 140px;
    height: 140px;
  }

  .discount-value {
    font-size: 2.5rem;
  }

  .discount-label {
    font-size: 0.875rem;
  }
}

/* Sale More Card - последний слайд */
.sale-more-slide {
  height: auto !important;
}

.sale-more-card {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #bf372b;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.sale-more-card:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-color: #db6d30;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sale-more-content {
  text-align: center;
}

.sale-more-icon {
  color: #db6d30;
  margin-bottom: 1rem;
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.sale-more-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #263940;
  margin-bottom: 0.5rem;
}

.sale-more-text {
  color: #666;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.btn-more-sale {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #bf372b 0%, #db6d30 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(191, 55, 43, 0.3);
}

.btn-more-sale:hover {
  background: linear-gradient(135deg, #a02f24 0%, #c55f27 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(191, 55, 43, 0.4);
}

.btn-more-sale svg {
  transition: transform 0.3s ease;
}

.btn-more-sale:hover svg {
  transform: translateX(4px);
}

@media (max-width: 575px) {
  .sale-more-card {
    padding: 1.5rem;
  }

  .sale-more-title {
    font-size: 1.25rem;
  }

  .sale-more-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
	.sale-h2 {flex-direction: column;
    gap: 15px;
        text-align: center;
	}	.h5, h5
{
    font-size: 14px;
}
}
@media (max-width: 420px) {
    .header-main-content {
        gap: 6px !important;
    }
    .header-actions {
        gap: 1px !important;
    }
    .logo-industrial-icon {
        margin-right: 0 !important;
    }
    .hero-title {
        font-size: 25px;
    }
	.section-title,.about-title{font-size: 23px}
	.btn-promo {
    padding: 1rem 0.5rem;
    font-size: 16px;
	}
	.category-content {
		padding: 15px 15px 25px 15px;}
	.category-name {
		font-size: 16px;}

}

@media (max-width: 360px) {
    .hero-title {    font-size: 22px;  }
	.hero-badge{font-size: 12px}
	.logo-title {font-size: 13px !important;}
    .logo-subtitle {     letter-spacing: 1px;font-size: 12px !important;}
	.section-title,.about-title{font-size: 21px}
	.btn-promo {
    padding: 1rem 0.5rem;
    font-size: 14px;
	}
}