/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvvYwYL8g.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvmYwYL8g.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvvYwYL8g.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvmYwYL8g.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvvYwYL8g.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvmYwYL8g.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvvYwYL8g.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvmYwYL8g.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvvYwYL8g.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvmYwYL8g.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvvYwYL8g.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/font/UcCo3FwrK3iLTcvmYwYL8g.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/font/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yyygA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/font/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yyygA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/font/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yyygA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/font/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yyygA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/font/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yyygA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* =========================================
   ROOT VARIABLES & RESET
   ========================================= */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --accent: #7c3aed;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0a0f2c;
    --light: #f8fafc;
    --gray-50: #f9fafb;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, #1e3a8a, var(--primary));
    --gradient-accent: linear-gradient(135deg, var(--primary), var(--accent));
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body {
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    background-color: var(--light);
    color: var(--gray-900);
    overflow-x: hidden;
    max-width: 100% !important;
    width: 100% !important;
}
            /* html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        position: relative !important;
    } */
/* =========================================
   TYPOGRAPHY & UTILITIES
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title {
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 5px;
}

/* =========================================
   SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    display: inline-block;
    text-decoration: none;
}

.btn-primary-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-custom:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--gray-300);
    background: white;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    color: var(--gray-800);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    background: var(--gray-50);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-consult {
    background: var(--gradient-primary);
    border: none;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    color: white;
}

/* =========================================
   NAVBAR (Многоуровневое меню)
   ========================================= */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--gray-900) !important;
}

.nav-link {
    font-weight: 600;
    color: var(--gray-800) !important;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem !important;
    border-radius: 50px;
}

.nav-link:hover {
    background: var(--gray-100);
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* Отключаем стрелку Bootstrap */
.dropdown-toggle::after {
    display: none !important;
}

/* Десктопное меню - чистое CSS поведение */
@media (min-width: 992px) {
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
        pointer-events: none;
        border-radius: 1rem;
        border: none;
        box-shadow: var(--shadow-xl);
        margin-top: 0.5rem;
        background: white;
    }

    .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
        margin-top: 0;
        margin-left: 0.25rem;
        transform: translateX(-10px);
    }

    .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        pointer-events: auto;
    }

    /* Защитные мосты */
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
        background: transparent;
    }

    .dropdown-submenu > .dropdown-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: -8px;
        bottom: 0;
        width: 8px;
        background: transparent;
    }
}

/* Пункты меню */
.dropdown-item {
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    white-space: nowrap;
    cursor: pointer;
}

.menu-item-text {
    flex: 1;
    text-align: left;
}

.menu-arrow {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    font-size: 0.85rem;
    transition: transform 0.2s ease, color 0.2s;
    color: var(--gray-400);
}

.dropdown-item:hover .menu-arrow {
    transform: translateX(3px);
    color: var(--primary);
}

.dropdown-item:not(.has-submenu) .menu-arrow {
    opacity: 0;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, #eff6ff, #ffffff);
    color: var(--primary);
}

/* Мобильное меню */
@media (max-width: 991.98px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: var(--gray-100);
        padding-left: 1rem;
        position: static !important;
        display: none;
    }

    .dropdown.show > .dropdown-menu,
    .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu .dropdown-menu {
        padding-left: 1.5rem;
    }

    .menu-arrow {
        transform: rotate(0deg);
        transition: transform 0.2s;
    }

    .dropdown-submenu.show > .dropdown-item .menu-arrow {
        transform: rotate(90deg);
        color: var(--primary);
    }

    .dropdown-item {
        white-space: normal;
        flex-wrap: wrap;
    }
}

/* =========================================
   CARDS
   ========================================= */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    border-radius: 1.5rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.5s;
}

.card-hover:hover::before {
    left: 100%;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 40px -12px rgba(37, 99, 235, 0.25) !important;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.card-hover:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-primary);
    color: white;
}



/* =========================================
   ARTICLE PAGE (Страница статьи)
   ========================================= */
.breadcrumb-custom {
    background: transparent;
    padding: 1rem 0;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.article-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.article-header {
    background: var(--gradient-dark);
    padding: 2rem;
    color: white;
}

.article-meta {
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-meta i {
    margin-right: 0.3rem;
}

.article-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0.5rem 0;
}

@media (min-width: 768px) {
    .article-title {
        font-size: 2.8rem;
    }
}

.article-body {
    padding: 2rem;
}

.article-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--gray-200);
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--gray-700);
    margin-bottom: 1.25rem;
}

.article-body .highlight-box {
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.article-body .info-box {
    background: #fefce8;
    border: 1px solid #fde047;
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.sidebar-card {
    background: white;
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.table-of-contents {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.6rem;
}

.table-of-contents a {
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s;
    display: block;
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.table-of-contents a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.table-of-contents .active a {
    color: var(--primary);
    font-weight: 600;
    border-left: 3px solid var(--primary);
    padding-left: 0.75rem;
}


/* =========================================
   CONTACTS PAGE (Страница контактов)
   ========================================= */
.contacts-hero {
    background: var(--gradient-dark);
    padding: 3rem 0;
    margin-top: 76px;
    color: white;
}

.contact-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: all 0.3s;
    height: 100%;
    box-shadow: var(--shadow);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.contact-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-value {
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.form-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.form-control-custom {
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 0.8rem 1rem;
    transition: all 0.2s;
    width: 100%;
}

.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.map-container {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.route-step {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.route-step:last-child {
    border-bottom: none;
}

.route-number {
    width: 32px;
    height: 32px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.faq-item {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--gray-200);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.faq-question i {
    transition: transform 0.2s;
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.cta-banner {
    background: var(--gradient-dark);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    color: white;
}

.cta-banner .btn {
    background: white;
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
}

.cta-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* =========================================
   STATISTICS
   ========================================= */
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

/* =========================================
   BADGES
   ========================================= */
.badge-soft-primary {
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    color: #1e40af;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s;
    display: inline-block;
}

.badge-soft-primary:hover {
    transform: translateX(5px);
    background: var(--gradient-primary);
    color: white;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.6s ease forwards;
}


/* =========================================
   FILTER BUTTONS
   ========================================= */
.filter-btn {
    border: 2px solid var(--gray-200);
    background: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--gray-600);
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* =========================================
   TABLES
   ========================================= */
.specs-table {
    width: 100%;
}

.specs-table tr {
    border-bottom: 1px solid var(--gray-200);
}

.specs-table td {
    padding: 0.75rem;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--gray-800);
}

.specs-table td:last-child {
    color: var(--gray-600);
}

/* =========================================
   TABS
   ========================================= */
.nav-tabs {
    border-bottom: 1px solid var(--gray-200);
    background: white;
}

.nav-tabs .nav-link {
    border: none;
    font-weight: 600;
    color: var(--gray-500);
    padding: 1rem 1.5rem;
    transition: all 0.2s;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    background: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
    background: transparent;
}

.tab-content {
    padding: 1.5rem;
    background: white;
}

/* =========================================
   MODAL
   ========================================= */
.modal-content {
    border-radius: 1.5rem;
    border: none;
}

.modal-form input,
.modal-form textarea {
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
    padding: 0.75rem;
}

/* =========================================
   REVIEWS
   ========================================= */
.review-item {
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

/* =========================================
   PROGRESS BAR
   ========================================= */
.progress {
    height: 8px;
    border-radius: 10px;
    background-color: var(--gray-200);
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--dark);
    color: white;
    margin-top: 3rem;
    padding: 3rem 0 2rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

/* =========================================
   RESPONSIVE UTILITIES
   ========================================= */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1rem;
    }
    
    .article-body {
        padding: 1.5rem;
    }
    
    .article-header {
        padding: 1.5rem;
    }
    
    .product-price {
        font-size: 1.2rem;
    }
    
    .cta-banner {
        padding: 1.5rem;
    }
    
    .hero-demo {
        margin-top: 66px;
    }
}

/* =========================================
   SHOP BANNER
   ========================================= */
.shop-banner {
    background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
    border: 2px solid #fde047;
    border-radius: 2rem;
    transition: all 0.3s;
    cursor: pointer;
}

.shop-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 35px rgba(253, 224, 71, 0.2);
    border-color: #facc15;
}

/* =========================================
   HERO GRADIENT
   ========================================= */
#hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, #eff6ff 100%);
    margin-top: 76px;
}

/* =========================================
   WAVE BACKGROUND
   ========================================= */
.wave-bg {
    position: relative;
    overflow: hidden;
}

.wave-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   RELATED PRODUCTS
   ========================================= */
.related-product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    height: 100%;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.related-product-img {
    background: var(--gray-50);
    text-align: center;
    padding: 1.5rem;
}

.related-product-img i {
    font-size: 3rem;
    color: var(--primary);
}

.related-product-info {
    padding: 1rem;
}

.related-product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

/* =========================================
   STICKY SIDEBAR
   ========================================= */
.sticky-lg-top {
    position: sticky;
    top: 100px;
}

@media (max-width: 991.98px) {
    .sticky-lg-top {
        position: static;
    }
}
/* Карточки преимуществ */
.advantage-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1.5rem;
    transition: all 0.3s;
    background: white;
}

.advantage-card:hover {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    transform: translateY(-5px);
}

.tabrekfirst{
    width: 40%;
    color: #64748b;
}
.tabrektwo{
    font-weight: 500;
}

        /* Форма обратной связи */
        .form-card {
            background: white;
            border-radius: 1.5rem;
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
            padding: 2rem;
        }
        
        .form-control-custom {
            border: 1px solid #e2e8f0;
            border-radius: 0.75rem;
            padding: 0.8rem 1rem;
            transition: all 0.2s;
        }
        
        .form-control-custom:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
            outline: none;
        }
        
        .btn-submit {
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            border: none;
            padding: 0.9rem;
            font-weight: 700;
            font-size: 1rem;
            border-radius: 50px;
            width: 100%;
        }
        
        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
        }

        .breadcrumb li,.breadcrumb li::before, .breadcrumb li a{
            color: #98bfff !important;
        }

        /* Анимация для 404 */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        .float-animation {
            animation: float 3s ease-in-out infinite;
        }
                .btn-home {
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            border: none;
            padding: 0.9rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            color: white;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin: 0 0.5rem;
        }

        .btn-home:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
            color: white;
        }

        .btn-catalog {
            background: transparent;
            border: 2px solid #e2e8f0;
            padding: 0.85rem 1.8rem;
            border-radius: 50px;
            font-weight: 600;
            color: #475569;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin: 0 0.5rem;
        }

        .btn-catalog:hover {
            border-color: #2563eb;
            color: #2563eb;
            background: #eff6ff;
            transform: translateY(-3px);
        }

                .error-card {
            background: white;
            border-radius: 2rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
            padding: 3rem 2rem;
            text-align: center;
            max-width: 650px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }

        .error-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
            pointer-events: none;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .error-code {
            font-size: 8rem;
            font-weight: 800;
            background: linear-gradient(135deg, #1e3a8a, #2563eb, #3b82f6);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            line-height: 1;
            margin-bottom: 0.5rem;
            position: relative;
            z-index: 1;
        }

        @media (min-width: 768px) {
            .error-code {
                font-size: 12rem;
            }
        }

        .error-icon {
            font-size: 5rem;
            color: #2563eb;
            margin-bottom: 1rem;
            opacity: 0.7;
            position: relative;
            z-index: 1;
        }

        .error-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: #1e293b;
            position: relative;
            z-index: 1;
        }

        @media (min-width: 768px) {
            .error-title {
                font-size: 2rem;
            }
        }

        .error-text {
            color: #64748b;
            margin-bottom: 2rem;
            font-size: 1rem;
            line-height: 1.6;
            position: relative;
            z-index: 1;
        }
         .error-reasons {
            background: #fef2f2;
            border-radius: 1rem;
            padding: 1rem 1.5rem;
            margin-bottom: 2rem;
            text-align: left;
            position: relative;
            z-index: 1;
        }

        .error-reasons p {
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #991b1b;
        }

        .error-reasons ul {
            margin-bottom: 0;
            padding-left: 1.2rem;
        }

        .error-reasons li {
            font-size: 0.85rem;
            color: #7f1d1d;
            margin-bottom: 0.25rem;
        }
        .linkmenufoot a {
            text-decoration: none !important;
            color: rgba(255, 255, 255, .5) !important;
        }

        /* Основная карточка */
        .product-card-main {
            background: white;
            border-radius: 1.5rem;
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }
        
        /* Галерея изображений */
        .product-gallery {
            padding: 2rem;
            background: linear-gradient(135deg, #f8fafc, #ffffff);
        }
        
        .main-image {
            text-align: center;
            /* padding: 1rem; */
            cursor: pointer;
            transition: transform 0.2s ease;
        }
        .main-image:hover {
            transform: scale(1.02);
        }
        .main-image img {
            max-width: 100%;
            max-height: 300px;
            object-fit: contain;
            pointer-events: none;
        }
        
/* =========================================
   АДАПТИВНЫЕ МИНИАТЮРЫ (thumbnail-list)
   ========================================= */
.thumbnail-list {
    display: flex;
    flex-wrap: wrap;           /* Разрешаем перенос на новую строку */
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid #eee;
    object-fit: cover;
    flex-shrink: 0;            /* Запрещаем сжатие картинок */
}

.thumbnail.active {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.thumbnail:hover {
    transform: translateY(-3px);
}

/* Мобильная адаптация */
@media (max-width: 576px) {
    .thumbnail-list {
        gap: 0.5rem;
        justify-content: flex-start;  /* Выравнивание по левому краю */
        overflow-x: visible;          /* Отключаем горизонтальный скролл */
        flex-wrap: wrap;              /* Перенос обязателен */
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .thumbnail {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 380px) {
    .thumbnail {
        width: 48px;
        height: 48px;
    }
}
        
        /* Бейджи */
        .product-badgeca {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: linear-gradient(135deg, #f59e0b, #f97316);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            z-index: 1;
        }
        
        .product-badgeca.hit {
            background: linear-gradient(135deg, #ef4444, #dc2626);
        }
        
        .product-badgeca.new {
            background: linear-gradient(135deg, #10b981, #059669);
        }
        
        /* Информация о товаре */
        .product-info {
            padding: 2rem;
        }
        
        .product-sku {
            font-size: 0.85rem;
            color: #64748b;
            margin-bottom: 0.5rem;
        }
        
        .product-title {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 0.75rem;
        }
        
        .product-rating {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .stars {
            color: #fbbf24;
            font-size: 1rem;
        }
        
        .reviews-count {
            color: #64748b;
            font-size: 0.85rem;
        }
        
        .product-price {
            display: flex;
            align-items: baseline;
            gap: 1rem;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .current-price {
            font-size: 2.5rem;
            font-weight: 800;
            color: #2563eb;
        }
        
        .old-price {
            font-size: 1.2rem;
            color: #94a3b8;
            text-decoration: line-through;
        }
        
        .installment {
            font-size: 0.85rem;
            color: #10b981;
            font-weight: 500;
        }
        
        /* Характеристики кратко */
        .short-specs {
            background: #f8fafc;
            border-radius: 1rem;
            padding: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .spec-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .spec-item:last-child {
            border-bottom: none;
        }
        
        .spec-label {
            font-size: 0.9rem;
            color: #64748b;
        }
        
        .spec-value {
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        /* Кнопки */
        .btn-buy {
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            border: none;
            padding: 1rem;
            font-weight: 700;
            font-size: 1.1rem;
            border-radius: 50px;
            width: 100%;
            margin-bottom: 0.75rem;
        }
        
        .btn-buy:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
        }
        
        .btn-one-click {
            background: white;
            border: 2px solid #2563eb;
            color: #2563eb;
            padding: 0.8rem;
            font-weight: 600;
            border-radius: 50px;
            width: 100%;
            transition: all 0.2s;
        }
        
        .btn-one-click:hover {
            background: #eff6ff;
            transform: translateY(-2px);
        }
        
        /* Гарантия и доставка */
        .info-row {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 0;
            font-size: 0.9rem;
        }
        
        .info-row i {
            width: 24px;
            color: #2563eb;
            font-size: 1.1rem;
        }
        
        /* Вкладки */
        .tabs-section {
            background: white;
            border-radius: 1.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
            overflow: hidden;
        }

        .nav-tabs {
            border-bottom: 1px solid #e2e8f0;
            padding: 0 1.5rem;
            background: white;
        }
        
        .nav-tabs .nav-link {
            border: none;
            font-weight: 600;
            color: #64748b;
            padding: 1rem 1.5rem;
            transition: all 0.2s;
        }
        
        .nav-tabs .nav-link:hover {
            color: #2563eb;
            background: transparent;
        }
        
        .nav-tabs .nav-link.active {
            color: #2563eb;
            border-bottom: 3px solid #2563eb;
            background: transparent;
        }
        
        .tab-content {
            padding: 1.5rem;
        }
        
        .specs-table {
            width: 100%;
        }
        
        .specs-table tr {
            border-bottom: 1px solid #e2e8f0;
        }
        
        .specs-table td {
            padding: 0.75rem;
        }
        
        .specs-table td:first-child {
            font-weight: 600;
            width: 40%;
            color: #1e293b;
        }
        
        .specs-table td:last-child {
            color: #475569;
        }
        
        /* Похожие товары */
        .related-product-card {
            background: white;
            border-radius: 1rem;
            overflow: hidden;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            height: 100%;
        }
        
        .related-product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .related-product-img {
            background: #f8fafc;
            text-align: center;
            padding: 1.5rem;
        }
        
        .related-product-img i {
            font-size: 3rem;
            color: #2563eb;
        }
        
        .related-product-info {
            padding: 1rem;
        }
        
        .related-product-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .related-product-price {
            font-size: 1.1rem;
            font-weight: 700;
            color: #2563eb;
        }
        
        /* Модальное окно */
        .modal-form input, .modal-form textarea {
            border-radius: 0.75rem;
            border: 1px solid #e2e8f0;
            padding: 0.75rem;
        }

/* Стили для модального окна с увеличенным изображением */
.image-modal .modal-dialog {
    max-width: 90vw;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    margin: 0 auto;
}

.image-modal .modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: none;
    border-radius: 1rem;
}

.image-modal .modal-body {
    padding: 1rem;
    text-align: center;
}

.image-modal .modal-body img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
}

.image-modal .btn-close-white {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.image-modal .btn-close-white:hover {
    opacity: 1;
}
/* =========================================
   БЛОК ХЕШ-ТЕГОВ (под фото)
   ========================================= */
.product-tags {
    padding: 0 2rem 1rem 2rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    background: white;
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.tag:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.2);
}

/* Планшеты - показываем табы */
@media (min-width: 769px) and (max-width: 991px) {
    .tabs-section .nav-tabs {
        display: flex;
        flex-wrap: wrap;
    }
    
    .tabs-section .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Телефоны - вертикальные блоки */
@media (max-width: 768px) {
    .tabs-section .nav-tabs {
        display: none;
    }
    
    .tabs-section .tab-pane {
        display: block !important;
        margin-bottom: 1rem;
        padding: 1.25rem;
        border: 1px solid #e2e8f0;
        border-radius: 1rem;
    }
    
    .tabs-section .tab-pane::before {
        content: attr(data-title);
        display: block;
        font-weight: 700;
        font-size: 1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #2563eb;
    }
}

/* =========================================
   ПЛАВАЮЩИЕ КНОПКИ: КОРЗИНА И НАВЕРХ
   ========================================= */
/* Общий контейнер для плавающих кнопок */
.floating-cart,
.scroll-top {
    position: fixed;
    right: 20px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    cursor: pointer;
}

/* Кнопка корзины — выше */
.floating-cart {
    bottom: 100px;  /* 100px от низа — выше, чем backToTop */
    opacity: 1;
    visibility: visible;
}

/* Кнопка "Наверх" — ниже корзины */
.scroll-top {
    bottom: 40px;   /* 40px от низа — ниже корзины */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Показываем backToTop при скролле */
.scroll-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Анимации при наведении */
.floating-cart:hover,
.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    color: white;
}

/* Счётчик на корзине */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Анимация добавления товара */
@keyframes cartBump {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cart-bump {
    animation: cartBump 0.3s ease;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .floating-cart,
    .scroll-top {
        width: 42px;
        height: 42px;
        right: 15px;
    }
    
    .floating-cart {
        bottom: 80px;
    }
    
    .scroll-top {
        bottom: 25px;
    }
    
    .cart-count {
        font-size: 0.6rem;
        min-width: 18px;
        padding: 1px 5px;
        top: -4px;
        right: -4px;
    }
}
/* Фильтры */
        .filters-sidebar {
            background: white;
            border-radius: 1.25rem;
            padding: 1.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 100px;
        }

        .filter-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #e2e8f0;
        }

        .filter-group {
            margin-bottom: 1.5rem;
        }

        .filter-group label {
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
            display: block;
            color: #475569;
        }

        .filter-select {
            width: 100%;
            padding: 0.6rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 0.75rem;
            background: white;
            font-size: 0.9rem;
        }

        .price-range {
            display: flex;
            gap: 0.5rem;
        }

        .price-range input {
            width: 50%;
            padding: 0.6rem;
            border: 1px solid #e2e8f0;
            border-radius: 0.75rem;
            font-size: 0.85rem;
        }

        .checkbox-item {
            margin-bottom: 0.5rem;
        }

        .checkbox-item label {
            margin-left: 0.5rem;
            font-weight: normal;
            display: inline;
        }

        .btn-filter {
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            border: none;
            padding: 0.7rem;
            border-radius: 0.75rem;
            font-weight: 600;
            width: 100%;
            margin-top: 1rem;
        }

        .btn-reset {
            background: transparent;
            border: 1px solid #e2e8f0;
            padding: 0.7rem;
            border-radius: 0.75rem;
            font-weight: 600;
            width: 100%;
            margin-top: 0.5rem;
            color: #64748b;
        }
                /* Сортировка */
        .sorting-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .results-count {
            color: #64748b;
            font-size: 0.9rem;
        }

        .sort-select {
            padding: 0.5rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 0.75rem;
            background: white;
        }
        /* Хлебные крошки */
        .breadcrumb-custom-cat {
            background: transparent;
            padding: 1rem 0;
            margin-top: 76px;
        }

        .breadcrumb-custom-cat .breadcrumb-item a {
            color: #2563eb;
            text-decoration: none;
            font-weight: 500;
        }

        /* Hero секция каталога */
        .catalog-hero {
            background: linear-gradient(135deg, #1e3a8a, #2563eb);
            padding: 2.5rem 0;
            color: white;
            margin-bottom: 2rem;
        }

        .catalog-hero h1 {
            font-size: 2rem;
            font-weight: 700;
        }

        /* Карточка товара */
        .product-card {
            background: white;
            border-radius: 1rem;
            overflow: hidden;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

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

        .product-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: linear-gradient(135deg, #f59e0b, #f97316);
            color: white;
            padding: 4px 10px;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 700;
            z-index: 1;
        }

        .product-img {
            /* background: linear-gradient(135deg, #f8fafc, #eef2ff); */
            padding: 1rem;
            text-align: center;
            position: relative;
        }

        .product-card:hover .product-img i {
            transform: scale(1.1);
        }

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

        .product-sku {
            font-size: 0.7rem;
            color: #94a3b8;
            margin-bottom: 0.25rem;
        }

        .product-title a{
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            line-height: 1.3;
            text-decoration: none;
            color:#000;
        }
        .product-price {
            font-size: 1.3rem;
            font-weight: 800;
            color: #2563eb;
            margin: 0.5rem 0;
        }

        .product-old-price {
            font-size: 0.85rem;
            color: #94a3b8;
            text-decoration: line-through;
            margin-left: 0.5rem;
        }

        .btn-add-to-cart {
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            border: none;
            border-radius: 50px;
            padding: 0.5rem;
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.3s;
            width: 100%;
            color: white;
            margin-top: auto;
        }

        .btn-add-to-cart:hover {
            transform: scale(1.02);
            box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
        }

 /* Стили для модальной галереи (слайдер) */
        .gallery-modal .modal-dialog {
            max-width: 95vw;
            width: auto;
            margin: 1rem auto;
            justify-content: center;
        }
        .gallery-modal .modal-content{
            width: auto;
        }
        .gallery-modal .modal-content {
            background: rgba(255, 255, 255, 0);
            border: none;
            overflow: hidden;
        }
        
        .gallery-modal .modal-body {
            padding: 0;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 85vh;
        }
        
        .gallery-slider {
            position: relative;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .gallery-image-container {
            text-align: center;
            padding: 2rem;
            width: 100%;
        }
        
        .gallery-image-container img {
            max-width: 100%;
            max-height: 75vh;
            object-fit: contain;
            border-radius: 0.75rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            transition: transform 0.2s;
        }
        
        .gallery-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(8px);
            border: none;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            font-size: 1.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            transition: all 0.2s;
            z-index: 10;
        }
        
        .gallery-nav-btn:hover {
            background: rgba(37, 99, 235, 0.8);
            color: white;
        }
        
        .gallery-prev {
            left: 10px;
        }
        
        .gallery-next {
            right: 10px;
        }
        
        .gallery-close {
            position: absolute;
            top: 20px;
            right: 25px;
            background: rgba(0,0,0,0.4);
            border: none;
            font-size: 1.8rem;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            z-index: 20;
            transition: 0.2s;
        }
        
        .gallery-close:hover {
            background: #ef4444;
            transform: scale(1.05);
        }
        
        .gallery-thumbnails-mobile {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            /* background: rgba(0,0,0,0.6); */
            padding: 8px 12px;
            border-radius: 8px;
            backdrop-filter: blur(8px);
            z-index: 10;
            overflow-x: auto;
            max-width: 90%;
        }
        
        .gallery-thumb {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            border: 2px solid #eee;
            transition: 0.2s;
            opacity: 0.7;
        }
        
        .gallery-thumb.active-thumb {
            border-color: #3b82f6;
            opacity: 1;
            transform: scale(1.05);
        }

         /* Пагинация */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 2rem;
        }

        .page-item .page-link {
            border-radius: 50px;
            padding: 0.5rem 1rem;
            color: #475569;
            border: 1px solid #e2e8f0;
        }

        .page-item.active .page-link {
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            border-color: #2563eb;
        }
@media (max-width: 768px) {
            .filters-sidebar {
                position: static;
                margin-bottom: 1rem;
            }
            .catalog-hero h1 {
                font-size: 1.5rem;
            }
            .product-title {
                font-size: 0.9rem;
            }
            .product-price {
                font-size: 1.1rem;
            }

        }
@media (max-width: 380px) {
    .floating-cart {
        bottom: 70px;
        width: 38px;
        height: 38px;
        right: 10px;
    }
    .scroll-top {
        bottom: 20px;
        width: 38px;
        height: 38px;
        right: 10px;
    }
    
}
/* Секция корзины */
        .cart-section {
            padding: 0 0 4rem;
        }

        .cart-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }

        /* Таблица корзины */
        .cart-table {
            background: white;
            border-radius: 1.25rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .cart-table .table {
            margin-bottom: 0;
        }

        .cart-table th {
            background: #f8fafc;
            padding: 1rem;
            font-weight: 600;
            color: #1e293b;
            border-bottom: 1px solid #e2e8f0;
        }

        .cart-table td {
            padding: 1rem;
            vertical-align: middle;
            border-bottom: 1px solid #e2e8f0;
        }

        .cart-product-img {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #f8fafc, #eef2ff);
            border-radius: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cart-product-img i {
            font-size: 1.8rem;
            color: #2563eb;
        }

        .cart-product-name, .cart-product-name a {
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: #1e293b;
            text-decoration: none;
        }

        .cart-product-sku {
            font-size: 0.7rem;
            color: #94a3b8;
        }

        .cart-product-price {
            font-weight: 700;
            color: #1e293b;
        }
                /* Счётчик количества */
        .quantity-wrapper {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .quantity-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid #e2e8f0;
            background: white;
            color: #2563eb;
            transition: all 0.2s;
        }

        .quantity-btn:hover {
            background: #2563eb;
            color: white;
            border-color: #2563eb;
        }

        .quantity-input {
            width: 50px;
            text-align: center;
            border: 1px solid #e2e8f0;
            border-radius: 0.5rem;
            padding: 0.3rem;
        }

        /* Кнопка удаления */
        .remove-btn {
            background: transparent;
            border: none;
            color: #94a3b8;
            transition: all 0.2s;
        }

        .remove-btn:hover {
            color: #ef4444;
        }
       /* Итого */
        .cart-summary {
            background: white;
            border-radius: 1.25rem;
            padding: 1.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 100px;
        }

        .summary-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #e2e8f0;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }

        .summary-total {
            font-size: 1.3rem;
            font-weight: 800;
            color: #2563eb;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #e2e8f0;
        }

        .btn-checkout {
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            border: none;
            padding: 1rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            width: 100%;
            margin-top: 1rem;
        }

        .btn-checkout:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
        }
.input-parent .error{
    border-color: #dc2626;
}

.jGrowl-notification {
    background: var(--gradient-primary) !important;
    opacity: .8 !important;
}
        /* Фильтры */
        .gallery-filters {
            padding: 2rem 0 1rem;
            text-align: center;
        }

        .filter-btn {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 0.6rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            color: #475569;
            transition: all 0.3s;
            margin: 0.3rem;
            cursor: pointer;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            border-color: #2563eb;
            color: white;
            transform: translateY(-2px);
        }

        /* Галерея */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 1.5rem;
            padding: 2rem 0;
        }

        .gallery-item {
            position: relative;
            border-radius: 1rem;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .gallery-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
        }

        .gallery-img {
            width: 100%;
            height: 260px;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .gallery-item:hover .gallery-img {
            transform: scale(1.05);
        }

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
            padding: 1.5rem;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }

        .gallery-title {
            color: white;
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 0.25rem;
        }

        .gallery-category {
            color: rgba(255,255,255,0.8);
            font-size: 0.8rem;
        }

        .gallery-icon {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(0,0,0,0.6);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .gallery-item:hover .gallery-icon {
            opacity: 1;
        }

        /* Модальное окно для просмотра фото */
        .gallery-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.6);
            z-index: 10000;
            cursor: pointer;
        }

        .gallery-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-container {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
        }

        .modal-img {
            max-width: 90vw;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 0.5rem;
        }

        .modal-close {
            position: absolute;
            top: -40px;
            right: -40px;
            font-size: 2rem;
            color: white;
            cursor: pointer;
            transition: all 0.2s;
            background: rgba(0,0,0,0.5);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-close:hover {
            transform: scale(1.1);
            background: #ef4444;
        }

        .modal-caption {
            position: absolute;
            bottom: -50px;
            left: 0;
            right: 0;
            text-align: center;
            color: white;
            font-size: 1rem;
            background: rgba(0,0,0,0.7);
            padding: 0.75rem;
            border-radius: 0.5rem;
        }

        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            pointer-events: none;
        }

        .modal-nav-btn {
            pointer-events: auto;
            background: rgba(0,0,0,0.5);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-nav-btn:hover {
            background: #2563eb;
            transform: scale(1.1);
        }

        .modal-prev {
            margin-left: 20px;
        }

        .modal-next {
            margin-right: 20px;
        }

        @media (max-width: 768px) {
            .modal-nav-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            .modal-close {
                top: -50px;
                right: -10px;
            }
            .modal-caption {
                bottom: -60px;
                font-size: 0.8rem;
            }
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 1rem;
            }
            .gallery-hero h1 {
                font-size: 1.8rem;
            }
            .filter-btn {
                padding: 0.4rem 1rem;
                font-size: 0.85rem;
            }
        }
        /* Статистика */
        .stats-section {
            background: white;
            padding: 2rem;
            border-radius: 1.5rem;
            margin: 2rem 0;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 800;
            color: #2563eb;
        }

.seljasearch .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}
.seljasearch {
    width: 100%;
}
.seljasearch .form-control::placeholder {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Адаптивность для мобильных */
@media (max-width: 991.98px) {
    .seljasearch {
        margin: 0.5rem 0 !important;
        max-width: 100% !important;
    }
}
.mse2-ac-wrapper{
    border-bottom: 1px #eee solid;
}