:root {
    --primary: #0d2b5c;
    --secondary: #1e3a72;
    --accent: #e31e24;
    --accent-hover: #c51a1f;
    --light: #f8fafc;
    --gray: #e2e8f0;
    --text: #2d3748;
    --text-light: #718096;
    --dark-gray: #4a5568;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Modernization */
/* Header Modernization */
.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    font-size: 32px;
    color: var(--accent);
    margin-right: 12px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 2px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1.1px;
    text-transform: uppercase;
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 43, 92, 0.85), rgba(13, 43, 92, 0.8)), url('https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 14px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 16px;
    border: 2px solid var(--accent);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--accent);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-small:hover {
    background: var(--secondary);
}



/* Main Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1000;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

/* Исправление иконок в меню */
.main-menu > li > a > i {
    display: inline-block !important;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.main-menu > li > a:hover {
    background: var(--light);
    color: var(--primary);
}


.main-menu > li > a.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.main-menu > li > a .dropdown-arrow {
    font-size: 10px;
    transition: var(--transition);
}

/* Mega Menu - Улучшенная версия */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 900px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0;
    border: 1px solid var(--gray);
}



.menu-item-has-children:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
}

.mega-menu-section {
    padding: 25px;
    border-right: 1px solid rgba(226, 232, 240, 0.6);
    min-height: 280px;
}


.mega-menu-section:last-child {
    border-right: none;
}

.mega-menu-section h4 {
    color: var(--primary);
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.mega-menu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-section li {
    margin-bottom: 8px;
}

.mega-menu-section a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    border-radius: 6px;
}

.mega-menu-section a:hover {
    color: var(--accent);
    background: var(--light);
    padding-left: 10px;
}

.mega-menu-promo {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 12px 12px 0;
}

.promo-content h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 18px;
    border: none;
}

.promo-content p {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.5;
}

.btn-promo {
    background: white;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    display: block;
}

.btn-promo:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}


/* Sub Menu - Улучшенная версия */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid var(--gray);
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

/* Широкое меню для "О компании" */
.wide-menu {
    min-width: 320px;
}

/* Очень широкое меню для "Продукция и сервис" */
.extra-wide-menu {
    min-width: 650px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 220px;
    gap: 0;
}

.menu-column {
    padding: 20px;
    border-right: 1px solid rgba(226, 232, 240, 0.6);
}

.menu-column:last-child {
    border-right: none;
    padding: 0;
}

.menu-header {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-divider {
    height: 1px;
    background: var(--gray);
    margin: 15px 0;
    opacity: 0.6;
}

/* Стили для пунктов меню */
.sub-menu li:not(.menu-header):not(.menu-divider) {
    margin-bottom: 5px;
}

.sub-menu li {
    margin: 0;
}

.sub-menu a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    gap: 10px;
}

/* Иконки в подменю */
.sub-menu a:hover {
    background: var(--light);
    color: var(--accent);
    transform: translateX(5px);
}

/* Промо-блок в меню */
.menu-promo {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 12px 12px 0;
}

.menu-promo-content h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.menu-promo-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.menu-promo-buttons {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.btn-promo-small {
    display: block;
    padding: 10px 15px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-promo-small:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.btn-service {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-service:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* Анимации для меню */

.mega-menu-section li:nth-child(1) { animation-delay: 0.05s; }
.mega-menu-section li:nth-child(2) { animation-delay: 0.1s; }
.mega-menu-section li:nth-child(3) { animation-delay: 0.15s; }
.mega-menu-section li:nth-child(4) { animation-delay: 0.2s; }
.mega-menu-section li:nth-child(5) { animation-delay: 0.25s; }

/* Адаптивность для меню */
@media (max-width: 1400px) {
    .mega-menu {
        width: 800px;
    }
    
    .mega-menu-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mega-menu-promo {
        grid-column: span 3;
        border-radius: 0 0 12px 12px;
    }
    
    .extra-wide-menu {
        min-width: 550px;
        grid-template-columns: repeat(2, 1fr) 200px;
    }
}

@media (max-width: 1200px) {
    .mega-menu {
        width: 700px;
    }
    
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .extra-wide-menu {
        min-width: 500px;
        grid-template-columns: 1fr 1fr;
    }
    
    .menu-promo {
        grid-column: span 2;
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }
    
    /* Mobile menu active state */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile menu */
    .mobile-menu-active .main-nav {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        z-index: 1000;
        overflow-y: auto;
        padding: 20px 0;
    }
    
    .mobile-menu-active .main-menu {
        flex-direction: column;
        padding: 0 20px;
        gap: 5px;
    }
    
    .mobile-menu-active .main-menu > li > a {
        padding: 15px;
        border-radius: 8px;
        background: var(--light);
        justify-content: space-between;
    }
    
    .mobile-menu-active .mega-menu,
    .mobile-menu-active .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 10px 0;
        border: none;
        border-radius: 8px;
        background: #f8fafc;
    }
    
    .mobile-menu-active .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .mobile-menu-active .mega-menu-section {
        border-right: none;
        border-bottom: 1px solid var(--gray);
        padding: 20px;
        min-height: auto;
    }
    
    .mobile-menu-active .mega-menu-section:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-active .mega-menu-promo {
        margin: 0;
        border-radius: 8px;
    }
    
    .mobile-menu-active .extra-wide-menu {
        grid-template-columns: 1fr;
        min-width: auto;
    }
    
    .mobile-menu-active .menu-column {
        border-right: none;
        border-bottom: 1px solid var(--gray);
        padding: 20px;
    }
    
    .mobile-menu-active .menu-column:last-child {
        border-bottom: none;
        padding: 20px;
    }
    
    .mobile-menu-active .menu-promo {
        border-radius: 8px;
    }
    
    /* Mobile dropdown arrows */
    .mobile-menu-active .menu-item-has-children > a .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .mobile-menu-active .sub-menu,
    .mobile-menu-active .mega-menu {
        display: none;
    }
    
    .mobile-menu-active .menu-item-has-children.active .sub-menu,
    .mobile-menu-active .menu-item-has-children.active .mega-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .mobile-menu-active .mega-menu-section {
        padding: 15px;
    }
    
    .mobile-menu-active .menu-column {
        padding: 15px;
    }
    
    .mobile-menu-active .menu-promo {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
    
    .mobile-menu-active .main-menu {
        padding: 0 15px;
    }
}

/* Animation for menu items */
@keyframes menuItemAppear {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-menu > li {
    animation: menuItemAppear 0.3s ease forwards;
}

.main-menu > li:nth-child(1) { animation-delay: 0.1s; }
.main-menu > li:nth-child(2) { animation-delay: 0.2s; }
.main-menu > li:nth-child(3) { animation-delay: 0.3s; }
.main-menu > li:nth-child(4) { animation-delay: 0.4s; }
.main-menu > li:nth-child(5) { animation-delay: 0.5s; }
.main-menu > li:nth-child(6) { animation-delay: 0.6s; }


/* Улучшенные иконки для меню */
.fa-tint:before { content: "💧"; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.fa-fire:before { content: "🔥"; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.fa-sliders-h:before { content: "🎚️"; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.fa-link:before { content: "🔗"; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.fa-thermometer-half:before { content: "🌡️"; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.fa-chart-line:before { content: "📈"; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.fa-tag:before { content: "🏷️"; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.fa-gift:before { content: "🎁"; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.fa-bolt:before { content: "⚡"; font-family: 'Font Awesome 6 Free'; font-weight: 900; }

/* Плавная анимация для десктопного меню */
@media (min-width: 993px) {
    .sub-menu {
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }
}


/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-phone, .header-email {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.header-phone:hover, .header-email:hover {
    color: var(--accent);
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-btn, .callback-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.search-btn {
    background: var(--light);
    color: var(--text);
    font-size: 16px;
}

.search-btn:hover {
    background: var(--gray);
}

.callback-btn {
    background: var(--accent);
    color: white;
}

.callback-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 25px;
    border: none;
    border-radius: var(--radius);
    font-size: 18px;
    background: white;
    color: var(--text);
}

.search-submit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--accent);
    font-size: 20px;
    cursor: pointer;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    margin: 3px 0;
    transition: var(--transition);
    transform-origin: center;
}

/* Mobile Styles */
@media (max-width: 1200px) {
    .mega-menu {
        width: 700px;
    }
    
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr) 250px;
    }
}

@media (max-width: 992px) {
    .header-inner {
        grid-template-columns: auto 1fr;
        gap: 20px;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }
    
    /* Mobile menu active state */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile menu */
    .mobile-menu-active .main-nav {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .mobile-menu-active .main-menu {
        flex-direction: column;
        padding: 20px;
        gap: 5px;
    }
    
    .mobile-menu-active .main-menu > li > a {
        padding: 15px;
        border-radius: 8px;
        background: var(--light);
    }
    
    .mobile-menu-active .mega-menu,
    .mobile-menu-active .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 10px 0;
    }
    
    .mobile-menu-active .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .mobile-menu-active .mega-menu-section {
        border-right: none;
        border-bottom: 1px solid var(--gray);
        padding: 15px;
    }
    
    .mobile-menu-active .mega-menu-promo {
        margin: 15px;
        border-radius: var(--radius);
    }
}

@media (max-width: 768px) {
    .logo-title {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
}

/* Animation for menu items */
@keyframes menuItemAppear {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-menu > li {
    animation: menuItemAppear 0.3s ease forwards;
}

.main-menu > li:nth-child(1) { animation-delay: 0.1s; }
.main-menu > li:nth-child(2) { animation-delay: 0.2s; }
.main-menu > li:nth-child(3) { animation-delay: 0.3s; }
.main-menu > li:nth-child(4) { animation-delay: 0.4s; }
.main-menu > li:nth-child(5) { animation-delay: 0.5s; }
.main-menu > li:nth-child(6) { animation-delay: 0.6s; }








/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 18px;
}

/* Стили для заголовков страниц */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 20px 0 10px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}


.page-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb li:not(:last-child):after {
    content: "›";
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: white;
}

/* About Content */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 15px;
}


.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    background: var(--light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
}

/* Products */
.products {
    background: #f9f9f9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-img {
    height: 200px;
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 20px;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    gap: 5px;
}

/* Catalog */
.catalog-content {
    padding: 60px 0;
}

.catalog-filters {
    background: var(--light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.filter-title {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--secondary);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 15px;
    background: white;
    border: 1px solid var(--gray);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-features {
    margin-bottom: 20px;
}

.product-feature {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid var(--gray);
}

.product-feature:last-child {
    border-bottom: none;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s;
}

.pagination-item:hover, .pagination-item.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Certificates */
.certificates-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
}

.certificate {
    flex: 0 0 auto;
    width: 280px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.certificate-img {
    height: 180px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-info {
    padding: 20px;
    text-align: center;
}

/* Contacts */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-details p {
    margin-bottom: 5px;
}

.clickable-item {
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px 8px;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.clickable-item:hover {
    background-color: var(--light);
    color: var(--accent);
}

/* Map */
.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Requisites */
.requisites-section {
    margin-top: 50px;
}

.requisites-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.requisites-block {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    height: fit-content;
}

.requisites-block h3 {
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.requisites-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.requisites-item:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.requisites-label {
    font-weight: 500;
    min-width: 120px;
    color: var(--primary);
}

.requisites-value {
    flex: 1;
}

.copy-icon {
    margin-left: 10px;
    color: var(--text-light);
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.3s;
}

.requisites-item:hover .copy-icon {
    opacity: 1;
    color: var(--accent);
}

.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.3s;
}

.copy-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Pass Section */
.pass-section {
    background: #f9f9f9;
    text-align: center;
    padding: 60px 0;
    margin-top: 50px;
}

.pass-content {
    max-width: 700px;
    margin: 0 auto;
}

.pass-content p {
    margin-bottom: 25px;
    font-size: 18px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
}

.close:hover {
    color: var(--accent);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.modal-buttons .btn {
    flex: 1; /* Одинаковая ширина */
    min-width: 140px; /* Минимальная ширина */
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Основная кнопка - в стиле сайта */
.modal-buttons .btn-primary {
    background: var(--accent, #e31e24);
    color: white;
    border: 2px solid var(--accent, #e31e24);
}

.modal-buttons .btn-primary:hover {
    background: transparent;
    color: var(--accent, #e31e24);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

/* Вторичная кнопка - в стиле сайта */
.modal-buttons .btn-secondary {
    background: var(--primary, #0d2b5c);
    color: white;
    border: 2px solid var(--primary, #0d2b5c);
}

.modal-buttons .btn-secondary:hover {
    background: transparent;
    color: var(--primary, #0d2b5c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 43, 92, 0.3);
}

.btn-call {
    background: #27ae60;
    border-color: #27ae60;
}

.btn-call:hover {
    background: transparent;
    color: #27ae60;
}

/* Dealers */
.view-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.toggle-btn {
    padding: 12px 25px;
    background: var(--light);
    border: 2px solid var(--gray);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.toggle-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.map-view {
    display: none;
    height: 600px;
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

#dealers-map {
    height: 100%;
    width: 100%;
}

.map-control-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px 15px;
    background: white;
    border: 2px solid var(--gray);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-control-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.list-view {
    display: block;
}

.table-view {
    display: none;
}

.table-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dealers-table {
    width: auto;
    border-collapse: collapse;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.dealers-table th,
.dealers-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray);
    white-space: nowrap;
}

.dealers-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    position: sticky;
    top: 0;
}

.dealers-table th:hover {
    background: var(--secondary);
}

.dealers-table tr:nth-child(even) {
    background: var(--light);
}

.dealers-table tr:hover {
    background: #e6f7ff;
}

.dealers-table a {
    color: var(--primary);
    text-decoration: none;
}

.dealers-table a:hover {
    text-decoration: underline;
    color: var(--accent);
}

.regions {
    padding: 0;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.region-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.region-card:hover {
    transform: translateY(-5px);
}

.region-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.region-body {
    padding: 25px;
}

.dealer-list {
    list-style: none;
}

.dealer-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--gray);
    cursor: pointer;
    transition: background-color 0.2s;
}

.dealer-item:hover {
    background-color: var(--light);
}

.dealer-item:last-child {
    border-bottom: none;
}

.dealer-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary);
}

.dealer-contacts {
    font-size: 14px;
    color: var(--text-light);
}

.dealer-contacts div {
    margin-bottom: 3px;
}

.benefits {
    background: #f9f9f9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 28px;
    margin: 0 auto 20px;
}

.become-dealer {
    background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.85)), url('https://images.unsplash.com/photo-1560472355-536de3962603?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.become-dealer h2 {
    color: white;
    margin-bottom: 20px;
}

.become-dealer p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
}

/* News */
.news-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.news-tag {
    background: var(--light);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

.news-card-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.news-card-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.news-card-views {
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-card-link:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.page-btn.active, .page-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-btn.prev, .page-btn.next {
    width: auto;
    padding: 0 15px;
}

.subscribe {
    background: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

.subscribe-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    gap: 15px;
}

.subscribe-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 2px solid var(--gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

.subscribe-input:focus {
    outline: none;
    border-color: var(--accent);
}

.subscribe-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.subscribe-btn:hover {
    background: #c51a1f;
}

/* Vacancies */
.vacancies-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.vacancies-list {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.vacancy-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 4px solid var(--accent);
}

.vacancy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.vacancy-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}

.vacancy-title {
    flex-grow: 1;
}

.vacancy-name {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.vacancy-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
    flex-wrap: wrap;
}

.vacancy-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.vacancy-salary {
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.vacancy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.vacancy-tag {
    background: var(--light);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.vacancy-description {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.vacancy-requirements {
    margin-bottom: 20px;
}

.vacancy-subtitle {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.vacancy-list {
    list-style: none;
    margin-left: 0;
}

.vacancy-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.vacancy-list li:before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.vacancy-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
    flex-wrap: wrap;
    gap: 15px;
}

.vacancy-date {
    color: var(--text-light);
    font-size: 14px;
}

.no-vacancies {
    text-align: center;
    padding: 60px 0;
    color: var(--text-light);
}

.no-vacancies-icon {
    font-size: 60px;
    color: var(--gray);
    margin-bottom: 20px;
}

.resume-form-section {
    background: #f9f9f9;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.file-upload {
    border: 2px dashed var(--gray);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.file-upload:hover {
    border-color: var(--accent);
}

.file-upload input {
    display: none;
}

.file-upload-icon {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 10px;
}



/* Responsive */
@media (max-width: 992px) {
    .benefits-grid,
    .regions-grid {
        grid-template-columns: 1fr;
    }
    
    .map-view {
        height: 400px;
    }
    
    .about-content,
    .contacts-content,
    .requisites-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .products-list ul {
        columns: 1;
    }
    
    .catalog-filters {
        padding: 15px;
    }
    
    .filter-options {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 15px 0;
    }
    
    .header-contacts {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .map-view {
        height: 350px;
    }
    
    .view-toggle {
        flex-direction: column;
        align-items: center;
    }
    
    .toggle-btn {
        width: 200px;
        justify-content: center;
    }
    
    .table-container {
        overflow-x: auto;
        width: 100%;
        justify-content: flex-start;
    }
    
    .dealers-table {
        width: 100%;
    }
    
    .news-filter,
    .vacancies-filter {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .vacancy-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .vacancy-salary {
        align-self: flex-start;
    }
    
    .vacancy-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .requisites-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .requisites-label {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .modal-buttons .btn {
        width: 100%;
        min-width: auto;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Yandex Map Balloon Customization */
.ymaps-3-1-79-balloon {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
}

.ymaps-3-1-79-balloon__content {
    padding: 15px !important;
    font-family: 'Roboto', sans-serif !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.map-balloon-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.map-balloon-contacts {
    font-size: 14px;
    color: var(--text-light);
}

.map-balloon-contacts div {
    margin-bottom: 3px;
}

.map-balloon-contacts a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.map-balloon-contacts a:hover {
    color: var(--accent);
}

.ymaps-3-1-79-balloon__close-button {
    width: 25px !important;
    height: 25px !important;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23718096"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>') no-repeat center !important;
    opacity: 0.7;
}

.ymaps-3-1-79-balloon__close-button:hover {
    opacity: 1;
}

.ymaps-3-1-79-balloon__tail {
    display: none !important;
}







/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(145deg, #2c5282, #3182ce);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #3182ce, #4299e1);
}

/* Footer - Modern Version */
footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-column {
    position: relative;
}

.footer-column h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-column h3::before {
    content: '';
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 6px;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    bottom: 0;
    left: 0;
}

.footer-column p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 14px;
    position: relative;
    padding-left: 0;
    transition: transform 0.3s ease;
}

.footer-column ul li:hover {
    transform: translateX(5px);
}

.footer-column ul li::before {
    content: '→';
    position: absolute;
    left: -20px;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-column ul li:hover::before {
    opacity: 1;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    position: relative;
}

.footer-column a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-column a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-column a:hover::after {
    width: 100%;
}

.footer-column a i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* Social Links - Enhanced */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.3);
    background: linear-gradient(145deg, var(--accent), var(--accent-hover));
    border-color: var(--accent);
}

/* Footer Bottom - Enhanced */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright::before {
    content: '©';
    font-size: 16px;
    color: var(--accent);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 20px;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-column h3 {
        justify-content: center;
        padding-bottom: 12px;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-column h3 {
        font-size: 1.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Animation for footer elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.6s ease forwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

/* Фиксированный размер модального окна */
.callback-modal-content {
    width: 90%;
    max-width: 500px;
    height: auto;
    max-height: 80vh; /* Максимум 80% высоты экрана */
    min-height: 400px; /* Минимальная высота */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: auto; /* Скролл при необходимости */
    margin: 0;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 2px;
}

.form-checkbox label {
    font-size: 14px;
    line-height: 1.4;
    color: #4a5568;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideInUp 0.5s ease;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-text h4 {
    margin: 0 0 8px 0;
    color: #2d3748;
    font-size: 16px;
}

.cookie-text p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Cookie Policy Modal */
.cookie-modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-policy-text {
    margin: 20px 0;
}

.cookie-policy-text h4 {
    color: #2d3748;
    margin: 20px 0 10px 0;
    font-size: 16px;
}

.cookie-policy-text h4:first-child {
    margin-top: 0;
}

.cookie-policy-text p, .cookie-policy-text ul {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cookie-policy-text ul {
    padding-left: 20px;
}

.cookie-policy-text li {
    margin-bottom: 8px;
}

.cookie-settings {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.cookie-setting {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cookie-desc {
    font-size: 12px;
    color: #718096;
    font-style: italic;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .callback-modal-content {
        width: 95%;
        min-height: 350px;
        max-height: 85vh;
    }
}

/* Стилизация скроллбара (опционально) */
.callback-modal-content::-webkit-scrollbar {
    width: 8px;
}

.callback-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.callback-modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.callback-modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}


@media (max-width: 480px) {
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-light {
    background: white;
    color: #1e3a8a;
    border: 2px solid white;
}

.btn-light:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Стили для модального окна дилерства */
.dealer-modal-content {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.dealer-modal-content h2 {
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

.dealer-modal-content p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Форма в модальном окне */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dealer-modal-content {
        width: 95%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-buttons .btn {
        width: 100%;
    }
}


/* Reviews Section - Cards Version */
.reviews {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 80px;
    color: var(--light);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.reviewer-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 16px;
}

.review-date {
    color: var(--text-light);
    font-size: 14px;
}

.review-rating {
    display: flex;
    gap: 3px;
    color: #FFD700;
    font-size: 14px;
}

.review-content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.review-content p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    position: relative;
}

.review-source {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.review-source i {
    color: #ff0000;
    font-size: 16px;
}

.reviews-actions {
    text-align: center;
    margin-top: 50px;
}

/* Different background colors for variety */
.review-card:nth-child(2n) {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.review-card:nth-child(3n) {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.review-card:nth-child(4n) {
    background: linear-gradient(135deg, #ffffff 0%, #e6fffa 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .review-rating {
        align-self: flex-start;
    }
    
    .reviews-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .reviews-actions .btn {
        margin-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .review-card {
        padding: 20px;
    }
    
    .reviewer-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .reviewer-details {
        text-align: center;
    }
    
    .review-rating {
        align-self: center;
    }
}


/* Trusted By Section */
.trusted-by {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.trusted-by::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.trusted-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    margin: 60px 0;
}

.trusted-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.trusted-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

.logo-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.trusted-logo img {
    max-height: 50px;
    max-width: 100px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) contrast(0.8);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.trusted-logo:hover img {
    filter: grayscale(0%) contrast(1);
    opacity: 1;
}

.trusted-logo span {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
    margin-top: 10px;
}

.trusted-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
}

/* Trusted section animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trusted-logo {
    animation: fadeInUp 0.6s ease forwards;
}

.trusted-logo:nth-child(1) { animation-delay: 0.1s; }
.trusted-logo:nth-child(2) { animation-delay: 0.2s; }
.trusted-logo:nth-child(3) { animation-delay: 0.3s; }
.trusted-logo:nth-child(4) { animation-delay: 0.4s; }
.trusted-logo:nth-child(5) { animation-delay: 0.5s; }
.trusted-logo:nth-child(6) { animation-delay: 0.6s; }
.trusted-logo:nth-child(7) { animation-delay: 0.7s; }
.trusted-logo:nth-child(8) { animation-delay: 0.8s; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .trusted-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .trusted-by {
        padding: 80px 0;
    }
    
    .trusted-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .trusted-stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .logo-container {
        height: 70px;
        padding: 12px;
    }
    
    .trusted-logo img {
        max-height: 45px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .trusted-logos {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trusted-logo {
        padding: 15px;
    }
    
    .logo-container {
        height: 60px;
    }
    
    .trusted-logo img {
        max-height: 40px;
    }
    
    .trusted-logo span {
        font-size: 13px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

/* Hover effects enhancement */
.trusted-logo:hover .logo-container {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.trusted-logo:hover span {
    color: var(--accent);
}

/* Statistics counter animation */
.stat-number {
    transition: all 0.8s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}



/* Product Detail Styles */
.product-detail {
    padding: 40px 0;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 400px;
    background: var(--gray);
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    background: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
    background-size: cover;
    background-position: center;
}

.product-thumbnail:hover, .product-thumbnail.active {
    border: 2px solid var(--accent);
}

.product-info {
    padding: 20px 0;
}

.product-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-code {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-specs {
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-name {
    color: var(--text-light);
}

.spec-value {
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Product Tabs */
.product-tabs {
    margin-top: 50px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--gray);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.tab-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.tab-content li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-main-image {
        height: 300px;
    }
    
    .product-title {
        font-size: 1.6rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 10px 15px;
        text-align: left;
    }
}




* { list-style: none !important; }