:root {
    --primary-color: #3599ba;
    --primary-dark: #2a7a94;
    --secondary-color: #f5f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --border-color: #e0e0e0;
    --bg-light: #f8fafc;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --header-bg: #2c3e50;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

 <!-- Локальные шрифты -->
           @font-face {
            font-family: 'Inter';
            src: url('/css/fonts/Inter/Inter-Regular.woff2') format('woff2'),
                 url('/css/fonts/Inter/Inter-Regular.woff') format('woff');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }
        @font-face {
            font-family: 'Inter';
            src: url('/css/fonts/Inter/Inter-Medium.woff2') format('woff2'),
                 url('/css/fonts/Inter/Inter-Medium.woff') format('woff');
            font-weight: 500;
            font-style: normal;
            font-display: swap;
        }
        @font-face {
            font-family: 'Inter';
            src: url('/css/fonts/Inter/Inter-SemiBold.woff2') format('woff2'),
                 url('/css/fonts/Inter/Inter-SemiBold.woff') format('woff');
            font-weight: 600;
            font-style: normal;
            font-display: swap;
        }
        @font-face {
            font-family: 'Inter';
            src: url('/css/fonts/Inter/Inter-Bold.woff2') format('woff2'),
                 url('/css/fonts/Inter/Inter-Bold.woff') format('woff');
            font-weight: 700;
            font-style: normal;
            font-display: swap;
        }
        @font-face {
            font-family: 'Montserrat';
            src: url('/css/fonts/Montserrat/Montserrat-Light.woff2') format('woff2'),
                 url('/css/fonts/Montserrat/Montserrat-Light.woff') format('woff');
            font-weight: 300;
            font-style: normal;
            font-display: swap;
        }
        @font-face {
            font-family: 'Montserrat';
            src: url('/css/fonts/Montserrat/Montserrat-Regular.woff2') format('woff2'),
                 url('/css/fonts/Montserrat/Montserrat-Regular.woff') format('woff');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }
        @font-face {
            font-family: 'Montserrat';
            src: url('/css/fonts/Montserrat/Montserrat-Medium.woff2') format('woff2'),
                 url('/css/fonts/Montserrat/Montserrat-Medium.woff') format('woff');
            font-weight: 500;
            font-style: normal;
            font-display: swap;
        }
        @font-face {
            font-family: 'Montserrat';
            src: url('/css/fonts/Montserrat/Montserrat-SemiBold.woff2') format('woff2'),
                 url('/css/fonts/Montserrat/Montserrat-SemiBold.woff') format('woff');
            font-weight: 600;
            font-style: normal;
            font-display: swap;
        }


h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

section {
    padding: 50px 0;
}

.section-light {
    background-color: var(--bg-light);
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 0;
}

.header-top {
    background-color: #1a252f;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px 15px;
    background-color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
    border-radius: 4px 0 0 4px;
    width: 200px;
    font-family: 'Montserrat', sans-serif;
    border-right: none;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.phone-top {
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.header-main {
    padding: 15px 0;
}

.header-main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
    margin-left: 10px;
}

nav.main-nav ul {
    display: flex;
    list-style: none;
}

nav.main-nav li {
    margin-left: 25px;
    position: relative;
}

nav.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

nav.main-nav a:hover {
    color: white;
}

nav.main-nav a.active {
    color: white;
}

nav.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.lang-switcher {
    margin-left: 25px;
}

.lang-switcher a {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 3px;
}

.lang-switcher a.active {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a.active {
    color: white;
}

.hero {
    padding-top: 160px;
    background-color: white;
    color: var(--text-dark);
    text-align: left;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 30px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-left {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #000000;
    line-height: 1.2;
    text-align: left;
    width: 100%;
}

.hero-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    text-align: left;
    flex-grow: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: auto;
}

.hero .btn {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 32px;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--primary-color);
}

.hero .btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(53, 153, 186, 0.2);
}

.hero .btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.hero-image-container {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(53, 153, 186, 0.15);
    border: 1px solid rgba(53, 153, 186, 0.1);
    transition: var(--transition);
    grid-column: 2;
    align-self: center;
}

.hero-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(53, 153, 186, 0.2);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(53, 153, 186, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.hero-decoration {
    position: absolute;
    z-index: 1;
    opacity: 0.05;
    pointer-events: none;
}

.deco-1 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
}

.deco-2 {
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
}

.deco-3 {
    top: 50%;
    right: 15%;
    width: 100px;
    height: 100px;
    border-radius: 20% 80% 80% 20% / 20% 20% 80% 80%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px 30px;;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.2rem; /* Немного уменьшен размер иконки */
    color: var(--header-bg);
    margin-bottom: 15px; /* Уменьшено с 20px до 15px */

}

.feature-card h3 {
    margin-bottom: 10px; /* Уменьшено с 15px до 10px */
    font-size: 1.3rem; /* Можно добавить для пропорциональности */

}

.feature-card p {
    margin-bottom: 0; /* Убираем нижний отступ у параграфа */
    font-size: 0.95rem; /* Немного уменьшаем текст */
    line-height: 1.5; /* Уплотняем межстрочный интервал */
}

.table-container {
    overflow-x: auto;
    margin: 30px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: var(--bg-light);
}

table.about-table td:nth-child(2) {
    text-align: center;
}

table.about-table th:nth-child(2) {
    text-align: center;
}

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

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    height: 250px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.product-content {
    padding: 25px;
}

.product-content h3 {
    margin-bottom: 10px;
}

.product-model {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.swiper {
    width: 100%;
    height: 400px;
    margin: 30px 0;
}

.swiper-slide {
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

.documents {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.document-card {
    width: 250px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.document-card:hover {
    transform: translateY(-5px);
}

.document-image {
    height: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.document-image img {
    max-width: 90%;
    max-height: 90%;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    position: relative;
}

.modal-img {
    width: 100%;
    height: auto;
}

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

.modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    padding: 0 20px;
}

.modal-nav-counter-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -60px;
    pointer-events: auto;
}

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

.modal-nav-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

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

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

.modal-nav-counter {
    color: white;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

.resource-block {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.resource-image {
    flex: 0 0 300px;
    height: 300px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-image img {
    max-width: 90%;
    max-height: 90%;
}

.resource-content {
    flex: 1;
    padding: 40px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 10px;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-details {
    margin-bottom: 20px;
}

.contact-details i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 10px;
}

#map {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

footer {
    background-color: var(--header-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-menu a:hover {
    color: white;
}

.footer-menu h4,
.footer-contact h4,
.footer-legal h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact,
.footer-legal {
    transform: translateX(-20px);
}

.footer-legal {
    max-width: 400px;
    min-width: 300px;
}

.footer-legal p:first-child {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 8px;
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.logo-text sup,
.footer-logo sup,
h2 sup,
.hero-description sup,
.feature-card p sup,
.document-card p sup {
    font-size: 0.7em;
    vertical-align: super;
    margin-left: 1px;
    color: inherit;
}

.footer-legal p {
    margin-bottom: 8px;
    line-height: 1.4;
}

.footer-legal h4 {
    margin-bottom: 15px;
}

.logo-link {
    text-decoration: none;
    color: white;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
    margin-left: 10px;
}

/* ===== ОБЪЕДИНЕННЫЕ МЕДИАЗАПРОСЫ ===== */

@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero-image-container {
        height: 350px;
    }
    
    .footer-legal {
        max-width: 350px;
        min-width: 250px;
    }
}

@media (max-width: 980px) {
    .header-top-container {
        justify-content: space-between;
    }
    
    .phone-top {
        color: white !important;
        display: block;
        font-weight: 600;
        white-space: nowrap;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav.main-nav {
        display: none;
    }
    
    .hero {
        padding-top: 140px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .resource-block {
        flex-direction: column;
    }
    
    .resource-image {
        flex: 0 0 auto;
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 768px) {
    /* ШАПКА И ТЕЛЕФОН */
    .phone-top {
        color: white !important;
    }
    
    .header-top-container {
        gap: 15px;
    }
    
    .search-input {
        width: 150px;
    }
    
    /* ТИПОГРАФИКА */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    /* ГЕРОЙ */
    .hero {
        padding-top: 150px;
        min-height: auto;
        padding-bottom: 30px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
    }
    
    .hero-left {
        grid-column: 1;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        text-align: left;
    }
    
    .hero-image-container {
        height: 300px;
        order: -1;
        grid-column: 1;
        align-self: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero .btn {
        width: 100%;
        justify-content: center;
    }
    
    .deco-1, .deco-2, .deco-3 {
        display: none;
    }
    
    /* ПРОДУКТЫ */
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    /* КАТАЛОГ (ОСНОВНЫЕ СТИЛИ) */
    .catalog-item {
        position: relative;
        padding-left: 170px !important;
        min-height: 150px !important;
        overflow: visible !important;
    }
    
    .catalog-image {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 150px !important;
        height: 150px !important;
        float: left !important;
        margin-right: 20px !important;
        margin-bottom: 10px !important;
        display: block !important;
    }
    
    .catalog-content {
        padding: 0 !important;
        display: block !important;
        overflow: visible !important;
    }
    
    .product-description {
        clear: both;
    }
    
    /* ТАБЛИЦА */
    table.about-table td:nth-child(2),
    table.about-table th:nth-child(2) {
        text-align: center;
    }
    
    /* ФУТЕР */
    .footer-legal p:first-child {
        font-size: 0.9rem;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .footer-container {
        gap: 30px;
    }
    
    .footer-contact,
    .footer-legal {
        transform: none;
    }
    
    .footer-legal {
        max-width: none;
        min-width: auto;
    }
    
    /* МОДАЛЬНЫЕ ОКНА */
    .modal-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .modal-nav-btn.prev-btn {
        margin-left: 10px;
    }
    
    .modal-nav-btn.next-btn {
        margin-right: 10px;
    }
    
    .modal-nav-counter {
        font-size: 0.9rem;
        padding: 6px 15px;
    }
    
    .modal-nav-counter-container {
        bottom: -50px;
    }
}

@media (max-width: 480px) {
    /* ШАПКА И ТЕЛЕФОН */
    .phone-top {
        color: white !important;
    }
    
    .search-input {
        width: 150px;
    }
    
    /* ГЕРОЙ */
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .hero-image-container {
        height: 250px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    section {
        padding: 30px 0;
    }
    
    /* КАТАЛОГ */
    .catalog-item {
        padding-left: 130px !important;
        min-height: 120px !important;
    }
    
    .catalog-image {
        width: 120px !important;
        height: 120px !important;
        margin-right: 15px !important;
        margin-bottom: 8px !important;
    }
    
    /* ФУТЕР */
    .footer-legal p:first-child {
        font-size: 0.85rem;
    }
    
    /* МОДАЛЬНЫЕ ОКНА */
    .modal-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .modal-nav {
        padding: 0 10px;
    }
    
    .modal-nav-counter {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
}

@media (max-width: 360px) {
    /* ШАПКА И ТЕЛЕФОН */
    .phone-top {
        color: white !important;
    }
    
    /* КАТАЛОГ */
    .catalog-item {
        padding-left: 110px !important;
        min-height: 100px !important;
    }
    
    .catalog-image {
        width: 100px !important;
        height: 100px !important;
        margin-right: 10px !important;
        margin-bottom: 5px !important;
    }
}
        /* Стили для страницы услуг */
        .services-page {
            padding-top: 160px; /* Оставляем такой же как на about */
        }
        
        /* Первый блок с минимальным отступом сверху */
        .service-block:first-of-type {
            padding-top: 0; /* Убираем верхний отступ у первого блока */
        }
        
        .service-block {
            padding: 40px 0; /* Уменьшен вертикальный отступ с 50px до 40px */
            background-color: white;
            position: relative;
            overflow: hidden;
        }
        
        .service-block:nth-child(even) {
            background-color: var(--bg-light);
        }
        
        .service-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            width: 100%;
        }
        
        .service-content {
            z-index: 2;
            display: flex;
            flex-direction: column;
        }
        
        .service-content h2 {
            font-size: 2.2rem;
            margin-bottom: 1.5rem;
            color: #000000;
            line-height: 1.2;
            text-align: left;
        }
        
        .service-description {
            font-size: 1.1rem;
            line-height: 1.7;
            margin-bottom: 2rem;
            color: var(--text-dark);
            text-align: left;
        }
        
        .service-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 1rem;
        }
        
        .service-buttons .btn {
            padding: 14px 32px;
            font-size: 1.05rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        
        /* Контейнер для карусели */
        .service-carousel-container {
            position: relative;
            height: 400px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(53, 153, 186, 0.15);
            border: 1px solid rgba(53, 153, 186, 0.1);
            transition: var(--transition);
            align-self: center;
        }
        
        .service-carousel-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px rgba(53, 153, 186, 0.2);
        }
        
        /* Карусель */
        .service-carousel {
            width: 100%;
            height: 100%;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .service-carousel .swiper-slide {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .service-carousel .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
        
        .service-image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(53, 153, 186, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
            z-index: 1;
        }
        
        /* Навигация карусели */
        .service-carousel-nav {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            z-index: 10;
        }
        
        .service-carousel-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .service-carousel-dot.active {
            background-color: var(--primary-color);
            transform: scale(1.2);
        }
        
        /* Стрелки навигации */
        .service-carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            z-index: 10;
            transition: all 0.3s ease;
        }
        
        .service-carousel-btn:hover {
            background-color: var(--primary-color);
        }
        
        .service-carousel-prev {
            left: 15px;
        }
        
        .service-carousel-next {
            right: 15px;
        }
        
        /* Декоративные элементы */
        .service-decoration {
            position: absolute;
            z-index: 1;
            opacity: 0.05;
            pointer-events: none;
        }
        
        .service-deco-1 {
            top: 10%;
            right: 5%;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
        }
        
        .service-deco-2 {
            bottom: 10%;
            left: 5%;
            width: 200px;
            height: 200px;
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
        }
        
        /* Адаптивность */
        @media (max-width: 1024px) {
            .service-container {
                gap: 40px;
            }
            
            .service-content h2 {
                font-size: 2rem;
            }
            
            .service-carousel-container {
                height: 350px;
            }
        }
        
        @media (max-width: 768px) {
            .services-page {
                padding-top: 140px; /* Как на about */
            }
            
            .service-block {
                padding: 30px 0; /* Уменьшен отступ на мобильных */
            }
            
            .service-container {
                grid-template-columns: 1fr;
                gap: 30px; /* Уменьшен отступ между контентом и каруселью */
            }
            
            .service-carousel-container {
                order: -1;
                height: 300px;
            }
            
            .service-content h2 {
                font-size: 1.9rem;
                margin-top: 0; /* Убираем возможный верхний отступ */
            }
            
            .service-description {
                font-size: 1rem;
            }
            
            .service-buttons {
                flex-direction: column;
            }
            
            .service-buttons .btn {
                width: 100%;
                justify-content: center;
            }
            
            .service-carousel-btn {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
            
            .service-carousel-prev {
                left: 10px;
            }
            
            .service-carousel-next {
                right: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .service-carousel-container {
                height: 250px;
            }
            
            .service-content h2 {
                font-size: 1.7rem;
            }
            
            .service-block {
                padding: 25px 0; /* Еще меньше на маленьких экранах */
            }
        }
        .about-hero {
            padding-top: 160px;
            background-color: white;
            text-align: left;
            min-height: 500px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding-bottom: 30px;
        }
        
        .about-hero .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            width: 100%;
        }
        
        .about-hero h1 {
            font-size: 2.8rem;
            margin-bottom: 1.5rem;
            color: #000000;
            line-height: 1.2;
            text-align: left;
            width: 100%;
        }
        
        .about-hero-content {
            z-index: 2;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        
        .about-hero-description {
            font-size: 1.1rem;
            line-height: 1.7;
            margin-bottom: 2.5rem;
            color: var(--text-dark);
            text-align: left;
            flex-grow: 1;
        }
        
        /* Контейнер для карусели */
        .about-hero-carousel-container {
            position: relative;
            height: 400px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(53, 153, 186, 0.15);
            border: 1px solid rgba(53, 153, 186, 0.1);
            transition: var(--transition);
            align-self: center;
        }
        
        .about-hero-carousel-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px rgba(53, 153, 186, 0.2);
        }
        
        /* Карусель в герое */
        .about-hero-carousel {
            width: 100%;
            height: 100%;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .about-hero-carousel .swiper-slide {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .about-hero-carousel .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
        
        .about-hero-image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(53, 153, 186, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
            z-index: 1;
        }
        
        /* Навигация карусели */
        .about-hero-carousel-nav {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            z-index: 10;
        }
        
        .about-hero-carousel-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .about-hero-carousel-dot.active {
            background-color: var(--primary-color);
            transform: scale(1.2);
        }
        
        /* Стрелки навигации */
        .about-hero-carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            z-index: 10;
            transition: all 0.3s ease;
        }
        
        .about-hero-carousel-btn:hover {
            background-color: var(--primary-color);
        }
        
        .about-hero-carousel-prev {
            left: 15px;
        }
        
        .about-hero-carousel-next {
            right: 15px;
        }
        
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 40px auto;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background-color: var(--primary-color);
            transform: translateX(-50%);
        }
        
        .timeline-item {
            display: flex;
            margin-bottom: 40px;
            position: relative;
        }
        
        .timeline-item:nth-child(odd) {
            justify-content: flex-end;
            padding-right: 50%;
            text-align: right;
        }
        
        .timeline-item:nth-child(even) {
            justify-content: flex-start;
            padding-left: 50%;
            text-align: left;
        }
        
        .timeline-content {
            background-color: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: var(--shadow);
            width: 90%;
            position: relative;
        }
        
        .timeline-item:nth-child(odd) .timeline-content::after {
            content: '';
            position: absolute;
            right: -10px;
            top: 20px;
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-bottom: 10px solid transparent;
            border-left: 10px solid white;
        }
        
        .timeline-item:nth-child(even) .timeline-content::after {
            content: '';
            position: absolute;
            left: -10px;
            top: 20px;
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-bottom: 10px solid transparent;
            border-right: 10px solid white;
        }
        
        .timeline-year {
            font-weight: 700;
            color: var(--primary-color);
            font-size: 1.2rem;
            margin-bottom: 5px;
        }
        
        .timeline-dot {
            position: absolute;
            left: 50%;
            top: 20px;
            width: 20px;
            height: 20px;
            background-color: var(--primary-color);
            border-radius: 50%;
            transform: translateX(-50%);
            z-index: 1;
        }
        
        .certificate-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background-color: var(--primary-color);
            color: white;
            padding: 12px 25px;
            border-radius: 4px;
            font-weight: 600;
            margin: 20px 0;
            font-family: 'Inter', sans-serif;
        }
        
        .about-cta {
            margin-top: 50px;
            padding: 50px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 12px;
            text-align: center;
        }
        
        .about-cta h2 {
            color: white;
            margin-bottom: 20px;
        }
        
        .about-cta .btn {
            background-color: white;
            color: var(--primary-color);
            margin-top: 20px;
        }
        
        .about-cta .btn:hover {
            background-color: var(--bg-light);
            color: var(--primary-dark);
        }
        
        /* Декоративные элементы */
        .about-decoration {
            position: absolute;
            z-index: 1;
            opacity: 0.05;
            pointer-events: none;
        }
        
        .about-deco-1 {
            top: 10%;
            right: 5%;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
        }
        
        .about-deco-2 {
            bottom: 10%;
            left: 5%;
            width: 200px;
            height: 200px;
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
        }
        
        /* Стили для кнопок в секции CTA */
        .about-cta .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center; /* Центрирование кнопок на десктопе */
        }
        
        @media (max-width: 768px) {
            .about-hero .container {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .about-hero-carousel-container {
                order: -1;
                height: 300px;
            }
            
            .about-hero h1 {
                font-size: 2.2rem;
            }
            
            .about-hero-carousel-btn {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
            
            .about-hero-carousel-prev {
                left: 10px;
            }
            
            .about-hero-carousel-next {
                right: 10px;
            }
            
            .timeline-item:nth-child(odd),
            .timeline-item:nth-child(even) {
                padding: 0;
                justify-content: center;
                text-align: left;
            }
            
            .timeline::before {
                left: 20px;
            }
            
            .timeline-dot {
                left: 20px;
            }
            
            .timeline-content {
                width: calc(100% - 60px);
                margin-left: 40px;
            }
            
            .timeline-item:nth-child(odd) .timeline-content::after,
            .timeline-item:nth-child(even) .timeline-content::after {
                left: -10px;
                right: auto;
                border-right: 10px solid white;
                border-left: none;
            }
            
            /* На мобильных устройствах оставляем кнопки как есть (не центрируем) */
            .about-cta .hero-buttons {
                justify-content: flex-start;
            }
        }
        
        @media (max-width: 480px) {
            .about-hero-carousel-container {
                height: 250px;
            }
            
            .about-hero h1 {
                font-size: 1.9rem;
            }
            
            .about-cta {
                padding: 30px 20px;
            }
        }
        /* Специфичные стили для страницы ресурсов */
        .resources-header {
            padding-top: 160px;
            padding-bottom: 20px;
            background-color: white;
        }
        
        .resources-header h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #000000;
        }
        
        .resource-section {
            padding: 15px 0 30px 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .resource-section:first-of-type {
            padding-top: 5px;
        }
        
        .resource-section:last-child {
            border-bottom: none;
        }
        
        .resource-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 15px;
        }
        
        /* Карточка для скачивания PDF (каталог, брошюры) */
        .pdf-card {
            background: white;
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 25px 20px;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }
        
        .pdf-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 15px 30px rgba(53, 153, 186, 0.15);
            border-color: var(--primary-color);
        }
        
        .pdf-icon-large {
            font-size: 3.5rem;
            color: #e74c3c;
            margin-bottom: 15px;
        }
        
        .pdf-card h3 {
            font-size: 1.4rem;
            margin-bottom: 10px;
            color: var(--text-dark);
        }
        
        .pdf-meta {
            color: var(--text-light);
            font-size: 0.9rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .pdf-meta i {
            margin-right: 5px;
        }
        
        .pdf-description {
            color: var(--text-dark);
            margin-bottom: 15px;
            line-height: 1.5;
            flex-grow: 1;
        }
        
        .download-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 30px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: var(--transition);
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            margin-top: 5px;
        }
        
        .download-btn:hover {
            background-color: var(--primary-dark);
            color: white;
            gap: 15px;
        }
        
        /* Блок сертификатов — плитки с возможностью клика */
        .certificate-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            justify-content: flex-start;
            margin-top: 15px;
        }
        
        .certificate-item {
            width: 220px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .certificate-item:hover {
            transform: translateY(-5px);
        }
        
        .certificate-image {
            height: 260px;
            background-color: white;
            border-radius: 8px;
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            padding: 10px;
        }
        
        .certificate-image img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
        }
        
        /* Документы — список файлов */
        .docs-list {
            background: white;
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 20px;
            margin-top: 15px;
        }
        
        .doc-item {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .doc-item:last-child {
            border-bottom: none;
        }
        
        .doc-item:hover {
            background-color: var(--bg-light);
        }
        
        .doc-icon {
            font-size: 2rem;
            color: #3498db;
            min-width: 50px;
            text-align: center;
        }
        
        .doc-info {
            flex: 1;
            min-width: 200px;
        }
        
        .doc-title {
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 5px;
        }
        
        .doc-meta {
            font-size: 0.85rem;
            color: var(--text-light);
        }
        
        .doc-download {
            background: transparent;
            border: 1px solid var(--primary-color);
            color: var(--primary-color);
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: var(--transition);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .doc-download:hover {
            background: var(--primary-color);
            color: white;
        }
        
        @media (max-width: 768px) {
            .resources-header h1 {
                font-size: 2rem;
            }
            .resources-header {
                padding-top: 140px;
            }
            .certificate-grid {
                justify-content: center;
            }
            .doc-item {
                flex-direction: column;
                align-items: flex-start;
            }
            .doc-download {
                align-self: flex-start;
            }
        }

        /* Вставьте сюда все стили из вашего текущего products.php */
        .catalog-section {
            padding-top: 160px;
            padding-bottom: 40px;
            background-color: white;
        }
        
        .catalog-header {
            margin-bottom: 20px;
        }
        
        .catalog-header h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #000000;
            line-height: 1.2;
        }
        
        /* Блок поиска в каталоге */
        .catalog-search {
            margin-bottom: 30px;
            padding: 20px;
            background-color: var(--bg-light);
            border-radius: 8px;
            box-shadow: var(--shadow);
        }
        
        .catalog-search-container {
            display: flex;
            gap: 15px;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .search-input-wrapper {
            flex: 1;
            min-width: 250px;
            position: relative;
        }
        
        .catalog-search-input {
            width: 100%;
            padding: 12px 40px 12px 20px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-family: 'Montserrat', sans-serif;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .catalog-search-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(53, 153, 186, 0.2);
        }
        
        /* Иконка очистки внутри поля поиска */
        .clear-search-icon {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #999;
            cursor: pointer;
            font-size: 1rem;
            display: none;
            transition: var(--transition);
            padding: 4px;
            border-radius: 50%;
        }
        
        .clear-search-icon:hover {
            color: var(--primary-color);
            background-color: rgba(53, 153, 186, 0.1);
        }
        
        .catalog-search-btn {
            padding: 12px 30px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            font-family: 'Inter', sans-serif;
        }
        
        .catalog-search-btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }
        
        .search-results-info {
            margin-top: 15px;
            padding: 10px 15px;
            background-color: white;
            border-radius: 4px;
            border-left: 4px solid var(--primary-color);
            display: none;
        }
        
        /* Список продуктов каталога */
        .catalog-list {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }
        
        .catalog-item {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 40px;
            align-items: flex-start;
            padding-bottom: 40px;
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }
        
        .catalog-item:last-child {
            border-bottom: none;
        }
        
        .catalog-item:hover {
            transform: translateY(-5px);
        }
        
        .catalog-image {
            width: 300px;
            height: 300px;
            background-color: var(--secondary-color);
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow);
        }
        
        .catalog-image img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            object-position: center;
            transition: var(--transition);
        }
        
        .catalog-image:hover {
            transform: scale(1.03);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }
        
        .catalog-content {
            padding: 10px 0;
        }
        
        .catalog-content h3 {
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
        }
        
        .catalog-content h3 a {
            color: var(--text-dark);
            transition: var(--transition);
            text-decoration: none;
        }
        
        .catalog-content h3 a:hover {
            color: var(--primary-color);
        }
        
        .catalog-content h3 a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }
        
        .catalog-content h3 a:hover::after {
            width: 100%;
        }
        
        .product-code {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 10px;
            display: block;
            font-family: 'Inter', sans-serif;
        }
        
        .product-model {
            color: var(--text-light);
            font-weight: 500;
            margin-bottom: 15px;
            display: block;
            font-size: 0.95rem;
        }
        
        .product-description {
            margin-bottom: 20px;
            line-height: 1.6;
        }
        
        /* Пагинация */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 50px;
            flex-wrap: wrap;
        }
        
        .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 4px;
            background-color: white;
            color: var(--text-dark);
            border: 1px solid var(--border-color);
            font-weight: 600;
            transition: var(--transition);
        }
        
        .page-link:hover, .page-link.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        .page-link.prev, .page-link.next {
            width: auto;
            padding: 0 15px;
            gap: 8px;
        }
        
        .page-link.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .page-link.disabled:hover {
            background-color: white;
            color: var(--text-dark);
            border-color: var(--border-color);
        }
        
        /* Сообщение при отсутствии результатов */
        .no-results {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-light);
            font-size: 1.1rem;
        }
        
        .no-results i {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 20px;
            opacity: 0.5;
        }
        
        /* Адаптивность */
        @media (max-width: 1024px) {
            .catalog-item {
                grid-template-columns: 250px 1fr;
                gap: 30px;
            }
            
            .catalog-image {
                width: 250px;
                height: 250px;
            }
        }
        
        @media (max-width: 768px) {
            .catalog-section {
                padding-top: 140px;
            }
            
            .catalog-header h1 {
                font-size: 2.2rem;
            }
            
            .catalog-search-container {
                flex-direction: column;
                align-items: stretch;
            }
            
            .search-input-wrapper,
            .catalog-search-btn {
                width: 100%;
            }
            
            .catalog-item {
                display: block;
                padding-left: 170px;
                position: relative;
                min-height: 150px;
                overflow: hidden;
                margin-bottom: 30px;
            }
            
            .catalog-item:last-child {
                margin-bottom: 0;
            }
            
            .catalog-image {
                position: absolute;
                left: 0;
                top: 0;
                width: 150px;
                height: 150px;
                float: left;
                margin-right: 20px;
                margin-bottom: 10px;
                display: block;
            }
        }
        
        @media (max-width: 480px) {
            .catalog-header h1 {
                font-size: 1.9rem;
            }
            
            .catalog-item {
                padding-left: 130px;
                min-height: 120px;
            }
            
            .catalog-image {
                width: 120px;
                height: 120px;
                margin-right: 15px;
                margin-bottom: 8px;
            }
            
            .catalog-content h3 {
                font-size: 1.1rem;
            }
            
            .product-description {
                font-size: 0.85rem;
            }
        }
        
        @media (max-width: 360px) {
            .catalog-item {
                padding-left: 110px;
                min-height: 100px;
            }
            
            .catalog-image {
                width: 100px;
                height: 100px;
                margin-right: 10px;
                margin-bottom: 5px;
            }
            
            .catalog-content h3 {
                font-size: 1rem;
            }
        }

        /* Стили для страницы товара */
        .breadcrumbs {
            padding-top: 150px; 
            padding-bottom: 0;
            margin-bottom: 0;
            background-color: white;
        }
        
        .product-detail-section {
            padding-top: 20px;
            padding-bottom: 40px;
            background-color: white;
        }
        
        .product-detail-container {
            display: grid;
            grid-template-columns: 400px 1fr;
            gap: 50px;
            align-items: start;
        }
        
        /* Левая колонка - Галерея */
        .product-gallery {
            width: 400px;
            position: relative;
            margin: 0 auto;
        }
        
        .main-image-container {
            width: 400px;
            height: 400px;
            background-color: var(--secondary-color);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            border: 1px solid var(--border-color);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .main-image {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        
        /* Симметричное расположение 3 миниатюр */
        .thumbnail-container {
            display: flex;
            gap: 20px;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            width: 100%;
        }
        
        .thumbnail {
            width: 90px;
            height: 90px;
            background-color: var(--secondary-color);
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .thumbnail:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(53, 153, 186, 0.2);
            border-color: var(--primary-color);
        }
        
        .thumbnail.active {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(53, 153, 186, 0.3);
        }
        
        .thumbnail img {
            max-width: 90%;
            max-height: 90%;
            width: auto;
            height: auto;
            object-fit: contain;
        }
        
        /* Правая колонка - Информация о товаре */
        .product-info {
            padding-top: 0;
        }
        
        .product-info h1 {
            font-size: 2.2rem;
            margin-bottom: 1.5rem;
            color: #000;
            line-height: 1.2;
        }
        
        .product-sku {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 6px 16px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 20px;
            font-family: 'Inter', sans-serif;
        }
        
        .product-article {
            color: var(--text-light);
            font-size: 1rem;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .product-article strong {
            color: var(--text-dark);
            font-weight: 600;
        }
        
        .product-specs {
            margin-bottom: 0;
        }
        
        .product-specs h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--text-dark);
            position: relative;
            padding-bottom: 10px;
        }
        
        .product-specs h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 3px;
            background-color: var(--primary-color);
        }
        
        .specs-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .specs-table tr {
            border-bottom: 1px solid var(--border-color);
        }
        
        .specs-table tr:last-child {
            border-bottom: none;
        }
        
        .specs-table td {
            padding: 12px 0;
            border: none;
        }
        
        .specs-table td:first-child {
            font-weight: 600;
            color: var(--text-dark);
            width: 40%;
        }
        
        .specs-table td:last-child {
            color: var(--text-light);
        }
        
        .compatibility-list {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 15px;
            margin-bottom: 25px;
        }
        
        .compatibility-tag {
            background-color: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: 30px;
            padding: 8px 18px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-dark);
            transition: var(--transition);
        }
        
        .compatibility-tag:hover {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        /* Блок сертификации - горизонтальное расположение */
        .product-certificates {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
            align-items: center;
        }
        
        .certificate-badge-small {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 20px;
            background-color: var(--bg-light);
            border-radius: 8px;
            border-left: 3px solid var(--primary-color);
            font-weight: 500;
            white-space: nowrap;
        }
        
        .certificate-badge-small i {
            color: var(--primary-color);
            font-size: 1.2rem;
        }
        
        /* Полноширинное описание под галереей */
        .full-width-description {
            grid-column: 1 / -1;
            margin-top: 10px; /* Минимальный отступ над разделом описания */
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
        }
        
        .full-width-description h3 {
            font-size: 1.5rem;
            margin-bottom: 25px;
            color: var(--text-dark);
            position: relative;
            padding-bottom: 10px;
        }
        
        .full-width-description h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 80px;
            height: 3px;
            background-color: var(--primary-color);
        }
        
        .full-width-description h4 {
            font-size: 1.2rem;
            margin-top: 30px;
            margin-bottom: 15px;
            color: var(--text-dark);
        }
        
        .full-width-description p {
            margin-bottom: 20px;
            line-height: 1.7;
            font-size: 1.05rem;
        }
        
        .full-width-description ul {
            margin-bottom: 25px;
            padding-left: 25px;
        }
        
        .full-width-description li {
            margin-bottom: 10px;
            list-style-type: disc;
            line-height: 1.6;
        }
        
        .description-two-columns {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-top: 20px;
        }
        
        /* Дополнительные вкладки */
        .product-tabs {
            margin-top: 50px;
            grid-column: 1 / -1;
        }
        
        .tabs-nav {
            display: flex;
            gap: 5px;
            border-bottom: 2px solid var(--border-color);
            margin-bottom: 30px;
        }
        
        .tab-btn {
            padding: 12px 28px;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            font-weight: 600;
            color: var(--text-light);
            cursor: pointer;
            transition: var(--transition);
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
        }
        
        .tab-btn:hover {
            color: var(--primary-color);
        }
        
        .tab-btn.active {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
        }
        
        .tab-content {
            display: none;
            padding: 20px 0;
        }
        
        .tab-content.active {
            display: block;
        }
        
        /* Стиль для ссылок в таблице характеристик */
        .specs-table a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }
        
        .specs-table a:hover {
            color: #1f6a8a;
            text-decoration: underline;
        }
        
        /* Сдвиг буллетов в списке доставки */
        .delivery-list {
            margin-left: 2ch; /* Сдвиг на 2 символа */
            padding-left: 0;
        }
        
        .delivery-list li {
            margin-bottom: 10px;
            list-style-type: disc;
        }
        
        /* Адаптивность */
        @media (max-width: 1100px) {
            .breadcrumbs {
                padding-top: 150px;
            }
            
            .product-detail-container {
                grid-template-columns: 350px 1fr;
                gap: 35px;
            }
            
            .product-gallery,
            .main-image-container {
                width: 350px;
            }
            
            .main-image-container {
                height: 350px;
            }
            
            .thumbnail {
                width: 80px;
                height: 80px;
            }
        }
        
        @media (max-width: 980px) {
            .breadcrumbs {
                padding-top: 150px;
            }
            
            .product-detail-section {
                padding-top: 20px;
            }
            
            .product-detail-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .product-gallery,
            .main-image-container {
                width: 100%;
                max-width: 400px;
                margin: 0 auto;
            }
            
            .main-image-container {
                height: auto;
                aspect-ratio: 1 / 1;
            }
            
            .thumbnail-container {
                justify-content: center;
            }
            
            .product-info h1 {
                font-size: 2rem;
                text-align: center;
                margin-bottom: 1.5rem;
            }
            
            .product-sku {
                display: block;
                width: fit-content;
                margin-left: auto;
                margin-right: auto;
            }
            
            .product-article {
                text-align: center;
            }
            
            .description-two-columns {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .product-certificates {
                justify-content: center;
            }
            
            .certificate-badge-small {
                white-space: normal;
                text-align: left;
            }
        }
        
        @media (max-width: 768px) {
            .breadcrumbs {
                padding-top: 150px;
            }
            
            .product-info h1 {
                font-size: 1.8rem;
                margin-bottom: 1.5rem;
            }
            
            .tabs-nav {
                flex-wrap: nowrap; /* Запрещаем перенос на новую строку */
                justify-content: flex-start;
                overflow-x: auto; /* Добавляем горизонтальный скролл при необходимости */
                -webkit-overflow-scrolling: touch;
                padding-bottom: 5px; /* Небольшой отступ для скролла */
            }
            
            .tab-btn {
                padding: 10px 16px; /* Уменьшаем горизонтальные отступы */
                font-size: 0.9rem; /* Уменьшаем размер шрифта */
                white-space: nowrap; /* Запрещаем перенос текста */
                flex-shrink: 0; /* Запрещаем сжатие кнопок */
            }
            
            .thumbnail {
                width: 75px;
                height: 75px;
            }
            
            .thumbnail-container {
                gap: 15px;
            }
            
            .product-certificates {
                gap: 15px;
            }
            
            .certificate-badge-small {
                padding: 10px 16px;
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 600px) {
            .breadcrumbs {
                padding-top: 150px;
            }
            
            .product-certificates {
                flex-direction: column;
                align-items: stretch;
            }
            
            .certificate-badge-small {
                width: 100%;
                white-space: normal;
            }
            
            .tab-btn {
                padding: 8px 14px; /* Дополнительно уменьшаем отступы */
                font-size: 0.85rem; /* Дополнительно уменьшаем шрифт */
            }
        }
        
        @media (max-width: 480px) {
            .breadcrumbs {
                padding-top: 150px;
            }
            
            .product-info h1 {
                font-size: 1.5rem;
                margin-bottom: 1.2rem;
            }
            
            .thumbnail {
                width: 70px;
                height: 70px;
            }
            
            .thumbnail-container {
                gap: 12px;
            }
            
            .tab-btn {
                padding: 6px 12px; /* Минимальные отступы для самых маленьких экранов */
                font-size: 0.8rem; /* Минимальный размер шрифта */
            }
            
            .full-width-description h3 {
                font-size: 1.3rem;
            }
        }
