/* common-styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* Единая обертка для всего сайта */
.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f8f9fa;
}

/* ===== СТИЛИ HEADER ===== */
header {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-bottom: 1px solid #eaeaea;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Гамбургер меню */
.hamburger-menu {
    display: none;
}

.hamburger-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #1e5799;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-btn .fa-times {
    display: none;
}

.hamburger-btn.active .fa-bars {
    display: none;
}

.hamburger-btn.active .fa-times {
    display: inline-block !important;
}

/* Мобильное меню overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-container {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 2001;
}

.mobile-menu-overlay.active .mobile-menu-container {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eaeaea;
    background-color: #1e5799;
}

.mobile-menu-logo img {
    height: 35px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.mobile-menu-nav li {
    border-bottom: 1px solid #eaeaea;
}

.mobile-menu-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s;
}

.mobile-menu-nav li a i {
    width: 24px;
    color: #1e5799;
}

.mobile-menu-nav li a:hover {
    background-color: #f8f9fa;
}

.mobile-menu-contacts {
    padding: 20px;
    border-top: 1px solid #eaeaea;
    background-color: #f8f9fa;
}

.mobile-menu-contacts a,
.mobile-menu-contacts span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.mobile-menu-contacts a i,
.mobile-menu-contacts span i {
    width: 24px;
    color: #1e5799;
}

.logo {
    flex-shrink: 0;
}

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

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

.header-center {
    text-align: center;
    flex: 1;
}

.official-text {
    font-size: 14px;
    font-weight: 600;
    color: #1e5799;
    margin-bottom: 8px;
    white-space: nowrap;
}

.header-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #333;
}

.header-contacts a {
    color: #1e5799;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.header-contacts a:hover {
    color: #0d3c6e;
}

.header-contacts i {
    margin-right: 5px;
    color: #1e5799;
}

.tech-support {
    color: #666;
}

.header-right {
    flex-shrink: 0;
}

.cart-nav-item {
    display: flex;
    align-items: center;
}

.cart-nav-item a {
    display: flex;
    align-items: center;
    padding: 5px;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.cart-nav-item i {
    font-size: 28px;
    color: #1e5799;
}

.cart-nav-item .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #f44336;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: bold;
}

.mobile-cart-icon {
    display: none;
}

.mobile-cart-icon a {
    display: flex;
    align-items: center;
    padding: 5px;
    position: relative;
    color: #1e5799;
    text-decoration: none;
}

.mobile-cart-icon i {
    font-size: 28px;
}

.mobile-cart-icon .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #f44336;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: bold;
}



.main-navbar-content {
    padding: 0 20px;
}

.main-navbar ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-navbar a {
    display: inline-block;
    padding: 0px 0;
    color: #cd1720;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: opacity 0.3s;
}

.main-navbar a:hover {
    opacity: 0.8;
}



.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ===== СТИЛИ FOOTER ===== */
footer {
    background-color: #343a40;
    color: white;
    padding: 30px 20px;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section .footer-title {
    margin-bottom: 15px;
    font-size: 18px;
    color: white;
    font-weight: normal;
}

.footer-section p {
    color: #adb5bd;
    font-size: 14px;
    max-width: 300px;
    line-height: 1.6;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 14px;
}

/* ===== ОСТАЛЬНЫЕ СТИЛИ (ГАЛЕРЕЯ, ТОВАРЫ И Т.Д.) ===== */
.breadcrumbs {
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-gallery {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
    cursor: zoom-in;
    transition: transform 0.3s;
}

.main-image:hover {
    transform: scale(1.01);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-thumbs img,
.gallery-thumbs .video-thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
    border: 2px solid transparent;
}

.video-thumb {
    position: relative;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.video-thumb i {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 30px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.video-thumb .video-label {
    position: absolute;
    bottom: 5px;
    left: 5px;
    color: white;
    font-size: 11px;
    z-index: 2;
    background-color: rgba(0,0,0,0.6);
    padding: 2px 5px;
    border-radius: 3px;
}

.gallery-thumbs img:hover,
.gallery-thumbs .video-thumb:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.gallery-thumbs img.active,
.gallery-thumbs .video-thumb.active {
    border-color: #1e5799;
}

.product-info {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

h1 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 28px;
    line-height: 1.4;
    text-align: center;
    font-weight: 600;
}

.brand-line {
    display: block;
    margin-top: 5px;
    color: #1e5799;
    font-weight: 700;
}

.product-specification {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.product-id {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    text-align: right;
}

.price-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: #1e5799;
}

.old-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.stock-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.in-stock {
    color: #28a745;
    font-weight: 600;
}

.out-of-stock {
    color: #dc3545;
    font-weight: 600;
}

.coming-soon {
    color: #ff9800;
    font-weight: 600;
    background-color: #fff3e0;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
}

.buy-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    margin-top: 10px;
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(40, 167, 69, 0.3);
}

.buy-button.disabled,
.buy-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.specifications-container {
    margin-top: 40px;
}

.spec-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
    background-color: white;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.spec-tab {
    padding: 12px 15px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.spec-tab.active {
    color: #1e5799;
    background-color: white;
}

.spec-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #1e5799;
}

.spec-tab:hover:not(.active) {
    background-color: #f8f9fa;
    color: #333;
}

.tab-content {
    display: none;
    background-color: white;
    padding: 20px;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.tab-content.active {
    display: block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-row {
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    line-height: 1.3;
}

.spec-row > div:first-child {
    font-weight: 600;
    color: #333;
    width: 35%;
    padding-right: 15px;
    flex-shrink: 0;
}

.spec-row > div:last-child {
    color: #333;
    width: 65%;
    font-size: 14px;
    text-align: left;
}

.features-content,
.payment-content,
.delivery-content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.features-content ul,
.features-content ol,
.payment-content ul,
.payment-content ol,
.delivery-content ul,
.delivery-content ol {
    margin-left: 20px;
    margin-bottom: 12px;
}

.payment-content i,
.delivery-content i {
    font-size: 32px;
    color: #1e5799;
    margin-bottom: 15px;
}

/* Полноэкранная галерея */
.fullscreen-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-gallery.active {
    display: flex;
    opacity: 1;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.thumbnail-sidebar {
    width: 120px;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px 10px;
    overflow-y: auto;
    flex-shrink: 0;
    height: 100vh;
}

.thumbnail-sidebar img,
.thumbnail-sidebar .video-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s, border-color 0.3s;
    border: 2px solid transparent;
}

.thumbnail-sidebar .video-thumb {
    position: relative;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-sidebar .video-thumb i {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 20px;
}

.thumbnail-sidebar .video-thumb .video-label {
    position: absolute;
    bottom: 2px;
    left: 2px;
    color: white;
    font-size: 9px;
    z-index: 2;
    background-color: rgba(0,0,0,0.7);
    padding: 1px 3px;
    border-radius: 2px;
}

.thumbnail-sidebar img:hover,
.thumbnail-sidebar .video-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-sidebar img.active,
.thumbnail-sidebar .video-thumb.active {
    opacity: 1;
    border-color: #1e5799;
}

.main-gallery-view {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: black;
    height: 100vh;
    overflow: hidden;
}

#galleryContent {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.fullscreen-image {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.fullscreen-video {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    background-color: #000;
}

.kinescope-video-container {
    width: 95vw;
    height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(30, 87, 153, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 2001;
}

.gallery-nav:hover {
    background-color: rgba(30, 87, 153, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 30px;
}

.gallery-nav.next {
    right: 30px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 2001;
}

.gallery-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Messenger Widget */
.messenger-container {
    position: fixed;
    z-index: 998;
    bottom: 170px;
    right: 55px;
}

.messenger-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.messenger-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background: #128C7E;
}

.messenger-main-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.main-text {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: white;
    color: #075E54;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.messenger-container:hover .main-text {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.water-circles {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
}

.water-circles i {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(37, 211, 102, 0.3);
    animation: water-drop 2.5s infinite ease-out;
}

.water-circles i:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.water-circles i:nth-child(2) {
    width: 76px;
    height: 76px;
    top: -8px;
    left: -8px;
    animation-delay: 0.5s;
}

.water-circles i:nth-child(3) {
    width: 92px;
    height: 92px;
    top: -16px;
    left: -16px;
    animation-delay: 1s;
}

@keyframes water-drop {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.messenger-container.active .water-circles i,
.messenger-container:hover .water-circles i {
    animation: none;
    opacity: 0;
}

.messenger-buttons {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.messenger-container.active .messenger-buttons {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.messenger-buttons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    transform: scale(0);
    background: white;
    position: relative;
}

.messenger-buttons a:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.messenger-container.active .messenger-buttons a {
    transform: scale(1);
}

.messenger-container.active .messenger-buttons a:nth-child(1) {
    transition-delay: 0.1s;
}

.messenger-container.active .messenger-buttons a:nth-child(2) {
    transition-delay: 0.2s;
}

.messenger-container.active .messenger-buttons a:nth-child(3) {
    transition-delay: 0.3s;
}

.messenger-buttons a span {
    position: absolute;
    right: 60px;
    background: white;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: none;
}

.messenger-buttons a:hover span {
    right: 65px;
}

.messenger-buttons img {
    width: 24px;
    height: 24px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1100px) {
    .site-wrapper {
        max-width: 95%;
    }
}

@media (max-width: 900px) {
    .logo img {
        height: 40px;
    }
    .cart-nav-item i {
        font-size: 24px;
    }
    .main-navbar ul {
        gap: 15px;
    }
    .main-navbar a {
        font-size: 14px;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    /* Показываем гамбургер */
    .hamburger-menu {
        display: block !important;
    }
    
    /* Скрываем десктопное меню */
    .desktop-nav {
        display: none !important;
    }
    
    /* Скрываем центральный блок с контактами в шапке */
    .header-center {
        display: none !important;
    }
    
    /* Показываем мобильную корзину, скрываем десктопную */
    .cart-nav-item {
        display: none !important;
    }
    
    .mobile-cart-icon {
        display: flex !important;
        align-items: center;
    }
    
    .mobile-cart-icon a {
        display: flex;
        align-items: center;
        padding: 5px;
        position: relative;
        color: #1e5799;
        text-decoration: none;
    }
    
    .mobile-cart-icon i {
        font-size: 24px;
    }
    
    .mobile-cart-icon .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        background-color: #f44336;
        color: white;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 11px;
        font-weight: bold;
    }
    
    /* Адаптируем header */
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .logo {
        flex: 1;
        text-align: center;
    }
    
    .logo img {
        height: 35px;
    }
    
    .hamburger-btn {
        font-size: 22px;
        width: 40px;
        height: 40px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    header {
        padding: 8px 12px;
    }
    
    .product-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-thumbs img,
    .gallery-thumbs .video-thumb {
        height: 80px;
    }
    
    .spec-row > div:first-child {
        width: 40%;
    }
    
    .spec-row > div:last-child {
        width: 60%;
    }
    
    .spec-tabs {
        flex-wrap: wrap;
    }
    
    .spec-tab {
        flex: 0 0 50%;
        padding: 10px 8px;
        font-size: 13px;
        white-space: normal;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-section {
        width: 100%;
    }
    
    .breadcrumbs {
        font-size: 12px;
    }
    
    .fullscreen-gallery .thumbnail-sidebar {
        display: none;
    }
}

@media (max-width: 600px) {
    .logo img {
        height: 30px;
    }
    
    .hamburger-btn {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }
    
    .mobile-cart-icon i {
        font-size: 20px;
    }
    
    .mobile-cart-icon .cart-count {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -4px;
        right: -4px;
    }
    
    .mobile-menu-container {
        width: 280px;
    }
    
    .spec-row > div:first-child,
    .spec-row > div:last-child {
        width: 50%;
    }
    
    .spec-tab {
        flex: 0 0 100%;
        padding: 8px;
        font-size: 12px;
    }
    
    .messenger-container {
        bottom: 55px;
        right: 20px;
    }
    
    .messenger-main-btn {
        width: 56px;
        height: 56px;
    }
    
    .messenger-main-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .main-text {
        display: none;
    }
    
    .water-circles,
    .water-circles i {
        display: none;
    }
    
    .messenger-buttons {
        bottom: 65px;
        gap: 12px;
    }
    
    .messenger-buttons a {
        width: 48px;
        height: 48px;
    }
    
    .messenger-buttons a span {
        display: block;
        right: 55px;
        background: rgba(255, 255, 255, 0.95);
        font-size: 12px;
    }
    
    .messenger-buttons a:hover span {
        right: 60px;
    }
    
    .messenger-buttons img {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .mobile-menu-container {
        width: 260px;
    }
    
    .mobile-menu-nav li a {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .mobile-menu-contacts {
        padding: 15px;
    }
    
    .mobile-menu-contacts a,
    .mobile-menu-contacts span {
        font-size: 12px;
        padding: 8px 0;
    }
}

/* Добавьте в секцию мобильного меню */
.mobile-menu-contacts .mobile-contacts-title {
    font-weight: bold;
    font-size: 16px;
    color: #1e5799;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-menu-contacts .mobile-contacts-official {
    font-size: 12px;
    color: #666;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

/* ===== ХЛЕБНЫЕ КРОШКИ - ОДНА СТРОКА (сжатый вариант) ===== */
.catalog-page .breadcrumbs {
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: #666;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-page .breadcrumbs a {
    color: #1e5799;
    text-decoration: none;
    transition: color 0.3s;
}

.catalog-page .breadcrumbs a:hover {
    color: #0d3c6e;
    text-decoration: underline;
}

.catalog-page .breadcrumbs .separator {
    margin: 0 0.5rem;
    color: #999;
}

.catalog-page .breadcrumbs .current {
    color: #333;
    font-weight: 500;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .catalog-page .breadcrumbs {
        font-size: 0.75rem;
        white-space: normal;
        line-height: 1.4;
    }
    
    .catalog-page .breadcrumbs .separator {
        margin: 0 0.3rem;
    }
}


/* Стили для контейнера изображения */
.catalog-page .cat-photo-wrap {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.catalog-page .cat-photo-wrap img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.catalog-page .cat-photo-wrap img:hover {
    transform: scale(1.05);
}

/* Модальное окно для изображений */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.image-modal-close:hover {
    color: #1e5799;
}

/* Адаптив для модального окна */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .image-modal-close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }
}


/* ===== ПЕРЕКЛЮЧАТЕЛЬ ФЛАГОВ (вместо корзины) ===== */
.header-right {
    position: relative;
    display: flex;
    align-items: center;
}

/* Десктопная версия */
.flag-switcher {
    position: relative;
    display: block;
}

.flag-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    margin-top: -8px;
}

.flag-btn:hover {
    transform: scale(1.05);
}

.flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: none;
}

.flag-dropdown {
    position: absolute;
    top: 28px;
    right: 0;
    background: transparent;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 100;
}

.flag-switcher.active .flag-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.flag-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.flag-option:hover {
    transform: scale(1.05);
}

.flag-option .flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: none;
}

/* Мобильная версия - выезжающий влево российский флаг */
.mobile-flag-container {
    display: none;
    position: relative;
}

.mobile-flag-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-flag-btn .flag-icon {
    width: 24px;
    height: 24px;
}

/* ИСПРАВЛЕНО: выпадающее меню РАЗВОРАЧИВАЕТСЯ ВНИЗ */
.mobile-flag-dropdown {
    position: absolute;
    top: 32px;
    right: 0;
    background: transparent;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    z-index: 200;
}

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

.mobile-flag-option {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 2px;
}

.mobile-flag-option .flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: none;
}

/* Скрываем старую корзину */
.cart-nav-item,
.mobile-cart-icon {
    display: none !important;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .flag-switcher {
        display: none;
    }
    
    .mobile-flag-container {
        display: block;
    }
    
    /* Корректировка header для мобильных */
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .logo {
        flex: 1;
        text-align: center;
    }
    
    .header-right {
        margin-left: auto;
    }
}

.regul-text {
    position: absolute;
    top: 70px !important;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #ff0a0a;
    font-size: 13px;
    font-weight: 700;
    padding: 0px 10px;
    text-align: center;
    pointer-events: none;
    line-height: 1.3;
    letter-spacing: 0.3px;
    
    /* ПОЛУПРОЗРАЧНЫЙ БЕЛЫЙ ФОН - ТОЛЬКО ПОД БУКВАМИ */
    background: #ffffffa8;
    border-radius: 3px;
    
    /* УБИРАЕМ ОГРАНИЧЕНИЯ, КОТОРЫЕ ВЫЗЫВАЮТ ПЕРЕНОС */
    display: inline-block;
    width: 100%;
    max-width: none; /* Убираем ограничение по ширине */
    white-space: normal;
    word-wrap: break-word;
}

@media (max-width: 576px) {
    .regul-text {
        font-size: 10px;
        top: 66px;
        padding: 2px 10px;
        max-width: 90%; /* Ограничиваем только на маленьких экранах */
    }
}

@media (max-width: 400px) {
    .regul-text {
        font-size: 9px;
        top: 62px;
        padding: 2px 8px;
        max-width: 85%;
        letter-spacing: 0;
    }
}

/* Стили для кнопки "Подробнее" в модальном окне - выровнена справа */
.image-modal-footer {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10001;
}

.image-modal-btn {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(135deg, #1e5799 0%, #2a7bcb 100%);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 87, 153, 0.4);
    border: none;
    cursor: pointer;
}

.image-modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 87, 153, 0.5);
    background: linear-gradient(135deg, #0d3c6e 0%, #1e5799 100%);
}

/* Стили для текста над фото в модальном окне */
.image-modal-label {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    color: #2772bf;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    max-width: 80%;
    line-height: 1.3;
    letter-spacing: 0.3px;
    pointer-events: none;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .image-modal-footer {
        bottom: 30px;
        right: 20px;
    }
    
    .image-modal-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .image-modal-label {
        top: 70px;
        font-size: 14px;
        padding: 6px 15px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .image-modal-footer {
        bottom: 20px;
        right: 15px;
    }
    
    .image-modal-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .image-modal-label {
        top: 60px;
        font-size: 12px;
        padding: 4px 12px;
        max-width: 92%;
    }
}

/* Стиль для нижнего текста в модальном окне (из regul-text) */
.image-modal-bottom-label {
    position: absolute;
    bottom: 60px !important;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    color: #ff0a0a;
    font-size: 16px;
    font-weight: 700;
    padding: 6px 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    line-height: 1.3;
    letter-spacing: 0.3px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .image-modal-bottom-label {
        bottom: 80px;
        font-size: 13px;
        padding: 4px 12px;
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .image-modal-bottom-label {
        bottom: 65px;
        font-size: 11px;
        padding: 3px 10px;
        max-width: 90%;
    }
}


/* ===== МОДАЛЬНОЕ ОКНО ДЛЯ ИЗОБРАЖЕНИЙ ===== */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.image-modal-close:hover {
    color: #1e5799;
}

/* Текст над фото */
.image-modal-label {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    color: #2772bf;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    max-width: 80%;
    line-height: 1.3;
    letter-spacing: 0.3px;
    pointer-events: none;
    animation: fadeInDown 0.5s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Текст снизу (из regul-text) */
.image-modal-bottom-label {
    position: absolute;
    bottom: 100px;
    left: auto;
    transform: translateX(-50%) translateY(20px);
    z-index: 10001;
    color: #ff0a0a;
    font-size: 16px;
    font-weight: 700;
    padding: 6px 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    line-height: 1.3;
    letter-spacing: 0.3px;
    pointer-events: none;
    transition: all 0.4s ease;
    opacity: 0;
}

.image-modal-bottom-label.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Кнопка в модальном окне */
.image-modal-footer {
    position: absolute;
    bottom: 5px;
    right: auto;
    z-index: 10001;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.image-modal-footer.show {
    opacity: 1;
    transform: translateY(0);
}

.image-modal-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0px 16px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 42px !important;
    height: 42px !important;
    white-space: nowrap !important;
    min-width: 160px !important;
}

/* Стили для кнопки на страницах каталога (btn-model) */
.image-modal-btn.btn-model {
    background: #f0f4ff !important;
    color: #1e5799 !important;
    border: 1px solid #dce3f0 !important;
    box-shadow: none !important;
}

.image-modal-btn.btn-model:hover {
    background: #1e5799 !important;
    color: white !important;
    border-color: #1e5799 !important;
    transform: translateY(-3px);
}

/* Стили для кнопки на страницах товара (btn-order) */
.image-modal-btn.btn-order {
    background: linear-gradient(135deg, #1e5799 0%, #2a7bcb 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(30, 87, 153, 0.4) !important;
    border-radius: 8px !important;
}

.image-modal-btn.btn-order:hover {
    background: linear-gradient(135deg, #0d3c6e 0%, #1e5799 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 87, 153, 0.5) !important;
}

/* Адаптив */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .image-modal-close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }
    
    .image-modal-label {
        top: 70px;
        font-size: 14px;
        padding: 6px 15px;
        max-width: 90%;
    }
    
    .image-modal-bottom-label {
        bottom: 80px;
        font-size: 13px;
        padding: 4px 12px;
        max-width: 85%;
    }
    
    .image-modal-footer {
        bottom: 30px;
        right: 20px;
    }
    
    .image-modal-btn {
        line-height: 38px !important;
        height: 38px !important;
        font-size: 12px !important;
        min-width: 140px !important;
        padding: 0px 12px !important;
    }
}

@media (max-width: 480px) {
    .image-modal-label {
        top: 60px;
        font-size: 12px;
        padding: 4px 12px;
        max-width: 92%;
    }
    
    .image-modal-bottom-label {
        bottom: 65px;
        font-size: 11px;
        padding: 3px 10px;
        max-width: 90%;
    }
    
    .image-modal-footer {
        bottom: 20px;
        right: 15px;
    }
    
    .image-modal-btn {
        line-height: 34px !important;
        height: 34px !important;
        font-size: 11px !important;
        min-width: 120px !important;
        padding: 0px 10px !important;
    }
}



/* ============================================
   БЛОК FAQ - СТИЛИ (с повышенной специфичностью)
   ============================================ */

/* Контейнер FAQ */
div.faq-block {
    max-width: 900px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    display: block !important;
}

/* Заголовок */
div.faq-block h2.faq-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    text-align: center !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Список вопросов */
div.faq-block .faq-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Каждый вопрос */
div.faq-block .faq-item {
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

div.faq-block .faq-item.active {
    border-color: #007bff !important;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15) !important;
}

/* Вопрос - кликабельная область */
div.faq-block .faq-question {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 22px !important;
    cursor: pointer !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    user-select: none !important;
    gap: 15px !important;
    background: #ffffff !important;
    transition: background-color 0.3s ease !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    pointer-events: auto !important;
    z-index: 2 !important;
}

div.faq-block .faq-question:hover {
    background-color: #f8f9fa !important;
}

div.faq-block .faq-item.active .faq-question {
    background-color: #f0f7ff !important;
}

div.faq-block .faq-question span {
    flex: 1 !important;
    line-height: 1.4 !important;
    pointer-events: none !important;
    color: #1a1a2e !important;
}

/* Стрелка */
div.faq-block .faq-arrow {
    flex-shrink: 0 !important;
    width: 22px !important;
    height: 22px !important;
    transition: transform 0.3s ease !important;
    color: #666 !important;
    pointer-events: none !important;
    display: block !important;
}

div.faq-block .faq-item.active .faq-arrow {
    transform: rotate(180deg) !important;
    color: #007bff !important;
}

/* Ответ */
div.faq-block .faq-answer {
    display: none !important;
    padding: 0 22px 20px 22px !important;
    background: #ffffff !important;
    margin: 0 !important;
}

div.faq-block .faq-answer.open {
    display: block !important;
}

div.faq-block .faq-answer div[itemprop="text"] {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #444 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ
   ============================================ */
@media (max-width: 768px) {
    div.faq-block {
        margin: 30px auto !important;
        padding: 0 15px !important;
    }
    
    div.faq-block h2.faq-title {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }
    
    div.faq-block .faq-question {
        padding: 14px 16px !important;
        font-size: 15px !important;
    }
    
    div.faq-block .faq-arrow {
        width: 18px !important;
        height: 18px !important;
    }
    
    div.faq-block .faq-answer.open {
        padding: 0 16px 16px 16px !important;
    }
    
    div.faq-block .faq-answer div[itemprop="text"] {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 480px) {
    div.faq-block h2.faq-title {
        font-size: 19px !important;
    }
    
    div.faq-block .faq-question {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
    
    div.faq-block .faq-answer.open {
        padding: 0 14px 14px 14px !important;
    }
    
    div.faq-block .faq-answer div[itemprop="text"] {
        font-size: 13px !important;
    }
}

/* ============================================
   ПЕРЕЛИНКОВКА - СТИЛИ ДЛЯ CATEGORY-LINKS
   ============================================ */

.category-links {
    margin: 16px 0;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
    transition: box-shadow 0.3s ease;
}

.category-links:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-links h3 {
    margin: 0 0 14px 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-links h3::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg, #1e5799, #6c9bd2);
    border-radius: 2px;
    flex-shrink: 0;
}

.category-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.category-links ul li {
    margin: 0;
    padding: 0;
    font-size: 14px;
    position: relative;
}

.category-links ul li a {
    display: inline-block;
    padding: 4px 14px;
    color: #444;
    text-decoration: none;
    font-weight: 400;
    background: #f6f8fa;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    font-size: 13px;
    line-height: 1.4;
}

.category-links ul li a:hover {
    background: #e8edf5;
    color: #1e5799;
    border-color: #d0dceb;
    transform: translateY(-1px);
}

/* Компактная версия для подвала */
.category-links.compact {
    padding: 14px 18px;
    margin: 10px 0;
}

.category-links.compact h3 {
    font-size: 13px;
    margin-bottom: 10px;
}

.category-links.compact ul li a {
    padding: 3px 10px;
    font-size: 12px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .category-links {
        padding: 16px 18px;
        margin: 12px 0;
        border-radius: 10px;
    }
    
    .category-links h3 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .category-links ul {
        gap: 4px 6px;
    }
    
    .category-links ul li a {
        padding: 3px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .category-links {
        padding: 12px 14px;
        margin: 10px 0;
        border-radius: 8px;
    }
    
    .category-links h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .category-links h3::before {
        height: 14px;
    }
    
    .category-links ul li a {
        padding: 2px 10px;
        font-size: 11px;
    }
}