/* --- ГЛОБАЛЬНЫЕ НАСТРОЙКИ --- */
        :root {
            --bg-black: #000000;
            --text-white: #ffffff;
            --text-gray: #999999;
            --border-color: rgba(255, 255, 255, 0.15);
            --bonus-green: #00c4b3;
            --nav-height: 60px;
            --header-padding: 100px;
        }

        html { scroll-behavior: smooth; }

        body {
            background-color: var(--bg-black);
            color: var(--text-white);
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            margin: 0;
        }

        a {text-decoration: none;color: inherit;transition: all 0.3s ease;}
        ul { list-style: none; padding: 0; margin: 0; }
        img {transition: transform 0.5s ease;}

        /* --- МОБИЛЬНОЕ МЕНЮ --- */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: #ffffff;
            z-index: 1100;
            padding: 20px;
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }
        .mobile-menu-overlay.active { transform: translateX(0); }
        .mobile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
        .mobile-close-btn {font-size: 32px;cursor: pointer;color: #000000;}
        .mobile-nav-link {font-size: 19px;color: #000000;display: block;margin-bottom: 15px;/* border-bottom: 1px solid #3;/* padding-bottom: 15px; */ 15px;}

        /* --- HEADER --- */
        .main-header {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 60px;
            z-index: 1050;
            padding: 0 var(--header-padding);
            background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
            transition: background 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .main-header.navbar-white { background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
        .header-left { display: flex; align-items: center; height: 100%; }
        .logo-link { display: flex; align-items: center; margin-right: 40px; height: 100%; }
        .logo-img {height: 30px;width: auto;transition: filter 0.3s;}
        .navbar-white .logo-img { filter: invert(1); }
        .burger-btn { display: none; font-size: 28px; cursor: pointer; color: #fff; margin-right: 20px; }
        .navbar-white .burger-btn { color: #000; }
        .main-nav { display: flex; align-items: center; height: 100%; gap: 0; }
        .nav-item-static, .nav-link-wrapper { height: 100%; display: flex; align-items: center; }
        .nav-link-custom {
            font-size: 14px;
            color: var(--text-white);
            text-decoration: none;
            padding: 0 14px;
            height: 100%;
            display: flex;
            align-items: center;
            transition: opacity 0.3s;
            cursor: pointer;
        }
        .nav-link-custom:hover { opacity: 0.7; }
        .navbar-white .nav-link-custom {color: #000000 !important;}
        .header-right { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; color: var(--text-white); }
        .header-icons { display: flex; gap: 20px; font-size: 18px; align-items: center; }
        .icon-btn { cursor: pointer; transition: color 0.3s; }
        .navbar-white .header-right { color: #000; }

        /* --- MEGA MENU --- */
        .megamenu {
            position: absolute;
            top: 60px;
            left: 0;
            width: 100%;
            background: #fff;
            color: #000;
            padding: 2rem 0 1rem 0;
            display: none;
            border-top: 1px solid rgba(0,0,0,0.05);
            cursor: default;
        }
        .nav-item-static:hover .megamenu { display: block; animation: slideDown 0.3s ease-out; }
        @keyframes slideDown { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .mm-title { font-size: 12px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; }
        .mm-link { display: block; font-size: 20px; color: #000; margin-bottom: 12px; font-weight: 400; }
        .mm-link:hover { text-decoration: underline; }
        .mm-link.highlight { font-weight: 500; }
        .mm-image-placeholder {width: 100%;height: 250px;display: flex;align-items: center;justify-content: center;color: #999;}

        /* --- HERO --- */
        .hero-section {position: relative;height: 65vh;width: 100%;display: flex;align-items: flex-end;overflow: hidden;padding-bottom: 0;}
        .bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
        .hero-overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: linear-gradient(60deg, rgb(0 0 0) 25%, transparent 100%);z-index: 1;}
        .hero-content {position: relative;z-index: 2;padding-left: var(--header-padding);padding-bottom: calc(var(--nav-height) + 50px);width: 100%;}
        .breadcrumbs {font-size: 12px;color: var(--text-gray);margin-bottom: 20px;font-weight: 600;}
        .hero-title {
            font-size: 8vw;
            font-weight: 800;
            line-height: 0.75;
            letter-spacing: -0.04em;
            margin-left: -8px;
            color: white;
            background: linear-gradient(to right, #fff 30%, #a0a0a0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hero-subtitle {font-size: clamp(24px, 3vw, 40px);font-weight: 400;margin: 30px 0 10px 0;letter-spacing: -1px;color: #fff;}
        .hero-designer { font-size: 16px; color: var(--text-gray); font-weight: 400; }

        /* --- STICKY NAV --- */
        .sticky-wrapper { position: sticky; top: 0; margin-top: calc(var(--nav-height) * -1); z-index: 1020; }
        .sticky-bar {
            height: var(--nav-height);
            background-color: #2b2b2b;
            backdrop-filter: blur(15px);
            1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 var(--header-padding);
        }
        .sticky-logo-area { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
        .sticky-divider { width: 1px; height: 24px; background-color: #555; }
        .sticky-product {font-size: 20px;font-weight: 700;letter-spacing: -0.5px;color: #fff;}
        .sticky-menu { display: flex; align-items: center; }
        .sticky-menu a {font-size: 14px;font-weight: 700;color: var(--text-gray);margin-left: 25px;white-space: nowrap;}
        .sticky-menu a:hover { color: white; }
        .bonus-badge { background-color: var(--bonus-green); color: #000; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 2px; }

        /* --- EXTRAORDINARY COOKING (LISTING) --- */
        .extraordinary-section { background-color: #fff; color: #000; padding: 100px 0; }
        .extra-title { font-size: 48px; font-weight: 700; line-height: 1.1; letter-spacing: -2px; margin-bottom: 20px; }
        .extra-desc { font-size: 18px; color: #555; line-height: 1.4; max-width: 300px; }
        
        .product-scroller {
            display: flex; gap: 20px; overflow-x: hidden; padding-bottom: 20px;
            scroll-behavior: smooth;
        }
        .product-card {flex: 0 0 300px;/* text-align: center; */cursor: pointer;position: relative;}
        .card-img-wrapper {
            width: 100%;
            height: 100%;
            background-color: #f4f4f4;
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .card-img-wrapper img {width: 100%;height: 100%;object-fit: cover;}
        .product-name { font-size: 16px; font-weight: 400; color: #000; }

        /* Кнопки навигации */
        .scroll-btn {
            position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px;
            background: #fff; border: 1px solid #eee; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: all 0.3s; font-size: 20px; color: #000;
        }
        .scroll-btn:hover { background: #f8f8f8; }
        .prev-btn { left: -25px; }
        .next-btn { right: -25px; }

        /* --- CONTENT & FEATURES --- */
        .content-section {position: relative;background-color: var(--bg-black);padding: 60px 0;z-index: 10;}
        .aligned-container { padding-left: var(--header-padding); padding-right: var(--header-padding); }
        .section-title {font-size: 40px;font-weight: 400;letter-spacing: -2px;line-height: 1.1;margin-bottom: 0;color: #fff;}
        .section-desc { font-size: 18px; font-weight: 300; color: #bbb; line-height: 1.6; margin-bottom: 40px; }
        .award-box {width: 100px;display: flex;align-items: center;justify-content: center;text-align: center;font-size: 10px;color: #888;margin-right: 30px;text-transform: uppercase;font-weight: 700;letter-spacing: 0.5px;}

        .feature-hero {height: 65vh;display: flex;align-items: flex-end;padding-bottom: 100px;background-size: cover;background-position: center;position: relative;border-bottom: 1px solid #111;}
        .feature-hero::before {content: '';position: absolute;inset: 0;background: linear-gradient(to top, rgba(0,0,0,0.95) 30%, transparent 100%);}
        .feat-content { position: relative; z-index: 2; padding-left: var(--header-padding); max-width: 800px; }
        .feat-title {font-size: 60px;font-weight: 700;letter-spacing: -2px;margin-bottom: 20px;color: #fff;}
        .icon-grid { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 50px; }
        .icon-item {display: flex;align-items: center;gap: 15px;font-size: 14px;font-weight: 700;text-transform: uppercase;letter-spacing: 0.5px;color: #fff;}
        .icon-circle { width: 45px; height: 45px; border: 1px solid white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
        .align-right { margin-left: auto; margin-right: var(--header-padding); padding-left: 0; text-align: left; }

        #only-lhov { background-color: #000; color: #fff; padding-bottom: 100px; }
        #only-lhov .section-title { color: #fff; font-weight: 700; font-size: 40px; margin-bottom: 60px; }
        .lh-icon { font-size: 28px; margin-right: 15px; margin-top: -5px; color: #fff; }
        .lh-feature h5 { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
        .lh-feature p { font-size: 13px; color: #bbb; line-height: 1.5; }

        #specs {background-color: #fcfcfc;color: #222;padding-bottom: 60px;}
        #specs .section-title {color: #222;font-weight: 600;margin-bottom: 60px;}
        #specs details { border-bottom: 1px solid #e0e0e0; }
        #specs summary { padding: 25px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 400; font-size: 16px; letter-spacing: 0.5px; text-transform: uppercase; color: #333; }
        #specs summary::after { content: '+'; font-size: 32px; font-weight: 200; color: #444; line-height: 1; margin-left: 20px; }
        #specs details[open] summary::after { content: '—'; font-size: 32px; font-weight: 200; margin-top: -5px; }
        .spec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-bottom: 40px; padding-top: 10px; font-size: 16px; color: #333; line-height: 1.5; }
        .spec-item h6 { display: block; color: #000; margin-bottom: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
        .spec-item p { margin-bottom: 30px; font-weight: 400; }
        .drawing-container {margin-left: 40px;}
        .drawing-img {width: 100%;height: auto;opacity: 0.8;border-radius: 12px;}

        .support-banner { position: relative; height: 450px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; margin-top: 0; }
        .support-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
        .support-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); z-index: 1; }
        .support-content { position: relative; z-index: 2; color: #fff; max-width: 900px; width: 100%; padding: 0 20px; }
        .support-title {font-size: 40px;font-weight: 400;margin-bottom: 15px;letter-spacing: -2px;}
        .support-desc { font-size: 18px; margin-bottom: 50px; opacity: 0.9; }
        .contact-cards { display: flex; justify-content: center; gap: 30px; }
        .contact-card { background: #fff; color: #000; padding: 30px; border-radius: 4px; display: flex; align-items: flex-start; gap: 20px; text-align: left; width: 400px; text-decoration: none; transition: transform 0.2s; }
        .contact-card:hover { transform: translateY(-5px); }
        .card-icon { font-size: 24px; line-height: 1; margin-top: 3px; }
        .card-info h5 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
        .card-info p { font-size: 14px; margin: 0; color: #555; line-height: 1.4; }

        /* --- FOOTER (NEW 4 COLUMNS) --- */
        footer {background-color: #000;padding: 50px var(--header-padding) 10px;border-top: none;position: relative;z-index: 10;}
        /* Логотип в футере - обычный (без инверсии), чуть прозрачный */
        .footer-logo {height: 49px;display: block;}
        
        .footer-col-title { color: #999; font-size: 18px; margin-bottom: 30px; font-weight: 400; }
        .footer-link { display: block; color: #fff; font-weight: 400; font-size: 14px; margin-bottom: 20px; text-decoration: none; transition: color 0.2s; }
        .footer-link:hover { color: #ccc; }
        .footer-divider {border-top: 1px solid #333;margin: -15px 0 25px;}
        .footer-bottom-row { display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 400; font-size: 14px; }
        .social-icons a { color: #fff; margin-left: 25px; font-size: 20px; text-decoration: none; }
        .social-icons a:hover { color: #999; }
        .legal-block {margin-top: 15px;text-align: center;color: #555;font-size: 11px;font-weight: 300;}
        .legal-links { margin-bottom: 15px; }
        .legal-links a { color: #777; text-decoration: none; margin: 0 15px; font-size: 11px; }
        .legal-links a:hover { text-decoration: underline; }
        .access-icon { position: absolute; bottom: 40px; right: 40px; font-size: 32px; cursor: pointer; color: #fff; }
        .co-logo { position: absolute; bottom: 40px; left: 40px; font-size: 24px; color: #fff; font-weight: bold; }

        /* ======================== MOBILE ADAPTIVE ======================== */
        @media (max-width: 992px) {
            :root { 
                --header-padding: 20px; 
                --nav-height: 60px; 
            }

            /* Header & Mobile Menu */
            .main-header {height: 60px;}
            .main-nav, .header-right { display: none !important; }
            .burger-btn { display: block !important; }
            .logo-link { margin-right: 0; }

            /* Sticky Nav (ВОЗВРАЩЕНО НА МОБИЛЬНЫХ) */
            .sticky-wrapper {
                margin-top: -60px; /* Коррекция для мобильной высоты шапки */
            }
            .sticky-bar { 
                height: 60px;
                overflow-x: auto; 
                white-space: nowrap; 
                justify-content: flex-start; 
                padding-left: 20px;
                -webkit-overflow-scrolling: touch; 
            }
            /* Логотип в липком меню можно скрыть, чтобы дать место ссылкам */
            .sticky-logo-area { display: none; }
            .sticky-menu { display: flex; }
            .sticky-menu a { margin-left: 0; margin-right: 25px; font-size: 12px; }

            /* Hero Typography */
            .hero-title {font-size: 18vw;}
            .hero-subtitle { font-size: 24px; }
            .hero-content {padding-bottom: 40px;}

            /* Grid Stacking */
            .row.gx-5 { --bs-gutter-x: 0; }
            /* .col-lg-6, .col-lg-4, .col-lg-8, .col-lg-7, .col-lg-5, .col-md-6 {width: 100%;margin-bottom: -25px;} -- REMOVED TO FIX GRID */
            
            /* Extraordinary Slider */
            .extraordinary-section { padding: 60px 0; }
            .extraordinary-section .text-col {/* display: none; */}
            .product-scroller {
                display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; padding-bottom: 20px;
            }
            .product-card {
                /* flex: 0 0 100%; width: 100%; padding: 0 20px; scroll-snap-align: center; box-sizing: border-box; */
                /* display: flex; flex-direction: column; align-items: center; */
            }
            .card-img-wrapper {width: 100%;height: 100%;background-color: transparent;margin-bottom: 20px;}
            .scroll-btn { width: 45px; height: 45px; top: 40%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
            .prev-btn { left: 10px; } .next-btn { right: 10px; }
            
            /* Feature */
            .feat-title { font-size: 40px; }
            .feat-content { padding-left: 20px; padding-right: 20px; }
            .align-right { text-align: left; margin-left: 0; }

            /* Specs */
            .spec-row { grid-template-columns: 1fr; gap: 30px; }
            .drawing-container { margin-left: 0; margin-top: 20px; }

            /* Footer */
            footer { padding: 60px 20px 100px; }
            .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 20px; }
            .social-icons a { margin-left: 0; margin-right: 25px; }
            .access-icon { bottom: 20px; right: 20px; }
            .co-logo { bottom: 20px; left: 20px; }
        }

        body {
            background-color: #f5f5f5; /* Light grey background for catalog */
        }

        /* Adjust Header for Light Page */
        .main-header {
            position: relative; /* Relative for catalog page */
            background: #000000; /* White background */
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .main-header .nav-link-custom, 
        .main-header .header-right {
            color: #ffffff;
        }
        .main-header .logo-img {
            /* filter: invert(1); */ /* Ensure logo is visible on white */
        }
        .burger-btn {color: #ffffff;}

        /* Page Intro */
        .page-intro {
            padding: 60px 0;
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 20px;
            padding-right: 20px;
        }
        .page-breadcrumbs {
            font-size: 12px;
            color: #888;
            margin-bottom: 20px;
            text-transform: uppercase;
        }
        .page-title {
            font-size: 56px;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1;
            letter-spacing: -2px;
            color: #000;
        }
        .page-desc {
            font-size: 18px;
            color: #555;
            max-width: 800px;
            line-height: 1.5;
        }

        /* Product Grid */
        .product-grid {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px 100px;
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* 4 columns like screenshot */
            gap: 20px;
        }

        .catalog-card {
            background: transparent;
            cursor: pointer;
            transition: transform 0.3s;
        }
        
        .catalog-img-wrapper {
            background-color: #e0e0e0;
            aspect-ratio: 1 / 1; /* Square images */
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
            border-radius: 10px;
        }
        
        .catalog-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
            mix-blend-mode: multiply; /* Helps integrate product image with background */
            transition: transform 0.5s ease;
        }
        
        .catalog-card:hover .catalog-img-wrapper img {
            transform: scale(1.05);
        }
        
        .badge-new, .badge-award {
            position: absolute;
            top: 15px;
            right: 15px;
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            padding: 4px 8px;
            border-radius: 5px;
            text-transform: uppercase;
        }
        .badge-award {
            background: #ff3f4a; /* Red for awards */
        }

        .catalog-info {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }
        
        .cat-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 5px;
            color: #000;
        }
        
        .cat-desc {
            font-size: 13px;
            color: #777;
            line-height: 1.4;
            max-width: 90%;
        }
        
        .color-dots {
            display: flex;
            gap: 5px;
        }
        .color-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 1px solid #ddd;
        }
        .dot-black { background: #000; }
        .dot-white { background: #fff; }
        .dot-grey { background: #888; }
        .dot-beige { background: #dccbb6; }

        /* Responsive */
        @media (max-width: 1400px) {
            .product-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 992px) {
            .product-grid { grid-template-columns: repeat(2, 1fr); }
            .page-title { font-size: 40px; }
            
            /* Sticky bar overrides for mobile if reused */
            .sticky-wrapper { display: none; } /* Hide sticky on catalog if not needed */
        }
        @media (max-width: 576px) {
            .product-grid { grid-template-columns: 1fr; }
        }
    /* Стили для внутренних страниц (Категория/Товар) */
      .page-intro { text-align: center; padding: 140px 20px 60px; max-width: 800px; margin: 0 auto; }
      .page-breadcrumbs { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
      .page-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 42px; text-transform: uppercase; margin-bottom: 20px; color: #000; }
      .page-desc { font-size: 16px; line-height: 1.6; color: #555; }
      
      /* Сетка товаров */
      .product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; padding: 0 5vw 100px; max-width: 1400px; margin: 0 auto; }
      .catalog-card { text-decoration: none; color: inherit; display: block; transition: transform 0.3s ease; }
      .catalog-card:hover { transform: translateY(-5px); }
      .catalog-img-wrapper { position: relative; background-color: #F5F5F5; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 20px; }
      .catalog-img-wrapper img { width: 100%; height: 100%; padding: 40px; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
      .catalog-card:hover .catalog-img-wrapper img { transform: scale(1.05); }
      .badge-new, .badge-award { position: absolute; top: 20px; left: 20px; background: #000; color: #fff; font-size: 10px; font-weight: 700; padding: 6px 10px; text-transform: uppercase; z-index: 2; }
      .badge-award { background: #D4AF37; }
      .catalog-info { display: flex; justify-content: space-between; align-items: flex-start; }
      .cat-title { font-size: 20px; font-weight: 700; color: #000; margin-bottom: 5px; }
      .cat-desc { font-size: 14px; color: #666; font-weight: 400; }
      .cat-price { font-size: 16px; font-weight: 600; color: #000; margin-top: 5px; }
      .color-dots { display: flex; gap: 6px; padding-top: 5px; }
      .color-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); }
      .dot-grey { background: #888; } .dot-black { background: #222; } .dot-white { background: #fff; } .dot-beige { background: #D8C8BD; }
      .empty-cat { text-align: center; padding: 100px 0; color: #999; grid-column: 1 / -1; }

      @media (max-width: 768px) {
          .product-grid { grid-template-columns: 1fr; gap: 40px; padding: 0 20px 60px; }
          .page-title { font-size: 32px; }
          .page-intro { padding-top: 100px; }
      }
      /* --- GENERAL STYLES --- */
        body {
            font-family: 'Inter', sans-serif;
            background-color: #fafafa;
            color: #111;
        }
        a { text-decoration: none; color: inherit; transition: color 0.2s; }

        /* Breadcrumbs */
        .breadcrumbs {
            font-size: 13px;
            color: #888;
            margin-bottom: 40px;
            padding-top: 0px;
            font-weight: 500;
        }
        .breadcrumbs a:hover { color: #000; }
        .breadcrumbs i { font-size: 9px; margin: 0 10px; opacity: 0.5; }

        /* --- SIDEBAR --- */
        .sidebar-wrapper {
            background: #fff;
            padding: 30px;
            border-radius: 24px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        }
        .sidebar-title {
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #111;
        }
        .category-list { list-style: none; padding: 0; margin: 0; }
        .category-list li { margin-bottom: 12px; }
        
        .category-radio {
            display: flex; align-items: center; cursor: pointer;
            font-size: 15px; color: #444; font-weight: 400;
            transition: all 0.2s;
        }
        .category-radio:hover { color: #000; }
        .category-radio input {
            margin-right: 12px;
            width: 18px; height: 18px; cursor: pointer;
            border: 2px solid #ddd;
            border-radius: 25%;
            appearance: none;
            position: relative;
        }
        .category-radio input:checked {
            border-color: #000;
        }
        .category-radio input:checked::after {
            content: ''; position: absolute;
            top: 50%; left: 50%; transform: translate(-50%, -50%);
            width: 10px; height: 10px; border-radius: 15%;
            background: #000;
        }
        
        .sub-cat-list { padding-left: 30px; margin-top: 8px; list-style:none; }

        /* --- SORTING --- */
        .sorting-bar {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 35px;
        }
        .result-count { color: #666; font-size: 14px; }

        /* --- PRODUCT CARD --- */
        .product-card {
            border: none;
            background: #fafafa;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            transition: all 0.3s ease;
            height: 100%; display: flex; flex-direction: column;
            text-decoration: none !important;
        }
        
        /* Image Wrapper */
        .card-img-wrapper {
            width: 100%; 
            aspect-ratio: 1/1;
            display: flex; align-items: center; justify-content: center;
            background: #f4f4f4;
            position: relative;
            overflow: hidden;
        }
        .card-img-wrapper img {
            max-width: 100%;
            max-height: 100%;
            transition: transform 0.5s ease;
        }
        
        /* HOVER INTERACTION OVERLAY */
        .hover-actions {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            display: flex; flex-direction: column;
            justify-content: center; align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 5;
        }
        
        .product-card:hover .hover-actions { opacity: 1; }
        .product-card:hover .card-img-wrapper img { transform: scale(1.05); }

        /* "Add to cart" Button */
        .btn-add-to-cart {
            background: #000;
            color: #fff;
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 14px;
            border: none;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            transform: translateY(20px);
            transition: transform 0.3s ease, background 0.2s;
        }
        .product-card:hover .btn-add-to-cart { transform: translateY(0); }
        .btn-add-to-cart:hover { background: #333; color: #fff; }

        /* Side Buttons */
        .side-actions {
            position: absolute;
            top: 20px; right: 20px;
            display: flex; flex-direction: column; gap: 10px;
            transform: translateX(20px);
            transition: transform 0.3s ease;
            opacity: 0;
        }
        .product-card:hover .side-actions { transform: translateX(0); opacity: 1; }
        
        .action-circle-btn {
            width: 40px; height: 40px; border-radius: 50%;
            background: #fff;
            display: flex; align-items: center; justify-content: center;
            color: #111;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            cursor: pointer; transition: all 0.2s;
        }
        .action-circle-btn:hover { background: #000; color: #fff; }

        /* Content */
        .card-content-padding {
            padding: 0 15px 15px 15px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            background: #fafafa;
        }
        .cat-wishlist-row {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 8px;
        }
        .card-cat { font-size: 13px; color: #888; font-weight: 400; }
        .wishlist-btn {
            background: none; border: none; cursor: pointer;
            color: #111; font-size: 18px; padding: 0;
        }
        .wishlist-btn:hover { color: #d00; }

        .card-title {
            font-size: 20px; margin-bottom: 12px !important;
            line-height: 1.4; color: #111 !important;
        }
        
        .price-box { margin-top: auto; display: flex; align-items: center; gap: 8px; }
        .card-price { font-size: 25px; font-weight: 700; color: #111; }
              /* --- СТИЛИ СТРАНИЦЫ ТОВАРА --- */
      body {
          background-color: #ededed;
          color: #000000;
      }
      .product-container {
          padding-top: 35px; /* Отступ под фиксированный хедер */
          padding-bottom: 80px;
          max-width: 1400px;
          margin: 0 auto;
          padding-left: 20px;
          padding-right: 20px;
      }
      
      /* Галерея */
      .gallery-wrapper {
          position: sticky;
          top: 100px; /* Чтобы галерея "прилипала" при скролле описания */
      }
      .main-image-box {
          background-color: #F5F5F5;
          border-radius: 20px;
          overflow: hidden;
          margin-bottom: 20px;
          aspect-ratio: 1 / 1;
          display: flex;
          align-items: center;
          justify-content: center;
      }
      .main-image-box img {
          width: 100%;
          height: 100%;
          object-fit: cover;
      }
      .thumbs-row {
          display: flex;
          gap: 10px;
          overflow-x: auto;
      }
      .thumb-box {
          width: 80px;
          height: 80px;
          background: #F5F5F5;
          border-radius: 12px;
          cursor: pointer;
          display: flex;
          align-items: center;
          justify-content: center;
          border: 2px solid transparent;
          transition: border-color 0.2s;
      }
      .thumb-box.active {
          border-color: #000;
      }
      .thumb-box img {
          width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
      }

      /* Информация */
      .product-info {
          padding-left: 40px;
      }
      .breadcrumbs {
          font-size: 12px;
          color: #999;
      }
      .breadcrumbs a { color: #999; text-decoration: none; transition: 0.2s; }
      .breadcrumbs a:hover { color: #000; }

      .prod-title {
          font-family: 'Montserrat', sans-serif;
          font-weight: 800;
          font-size: 42px;
          margin-bottom: 10px;
          text-transform: uppercase;
          line-height: 1.1;
      }
      .prod-price {
          font-size: 28px;
          font-weight: 500;
          margin-bottom: 30px;
          color: #333;
      }
      .prod-desc {
          font-size: 16px;
          line-height: 1.6;
          color: #555;
          margin-bottom: 40px;
      }

      /* Кнопка */
      .btn-add-cart {
          background: #000;
          color: #fff;
          border: none;
          width: 100%;
          padding: 18px;
          font-size: 16px;
          border-radius: 0; /* Строгий стиль */
          transition: 0.3s;
          border-radius: 10px;
          margin-bottom: 30px;
      }
      .btn-add-cart:hover {
          background: #333;
          color: #fff;
      }

      /* Аккордеон (Характеристики) */
      .spec-accordion {
          border-top: 1px solid #eee;
      }
      .spec-item {
          border-bottom: 1px solid #eee;
      }
      .spec-header {
          padding: 10px 0;
          cursor: pointer;
          font-weight: 600;
          display: flex;
          justify-content: space-between;
          align-items: center;
      }
      .spec-content {
          max-height: 0;
          overflow: hidden;
          transition: max-height 0.3s ease;
          color: #666;
          font-size: 14px;
      }
      .spec-item.open .spec-content {
          max-height: 200px; /* Достаточно для контента */
          padding-bottom: 20px;
      }
      .plus-icon::before {content: '+';font-weight: 400;font-size: 25px;}
      .spec-item.open .plus-icon::before { content: '−'; }

      /* Related Products */
      .related-section {
          padding: 80px 0;
          background: #FAFAFA;
      }
      .related-title {
          font-size: 24px;
          font-weight: 700;
          margin-bottom: 40px;
          text-align: center;
          text-transform: uppercase;
      }
      
      /* Адаптив */
      @media (max-width: 991px) {
          .gallery-wrapper { position: static; margin-bottom: 40px; }
          .product-info { padding-left: 0; }
          .prod-title { font-size: 32px; }
      }
          /* --- Product Page Specific Styles --- */
    
    /* Breadcrumbs */
    .breadcrumb-nav { font-size: 13px; color: #888; margin-bottom: 20px; }
    .breadcrumb-nav a:hover { color: #000; }
    .breadcrumb-nav span { color: #ccc; margin: 0 8px; }

    /* Gallery - ОБНОВЛЕННЫЕ СТИЛИ */
    .main-image-wrapper {
        background: #f9f9f9;
        border-radius: 12px;
         /* Чуть меньше отступы, чтобы дать картинке больше места */
        margin-bottom: 20px;
        position: relative;
        
        /* Жесткая высота блока. Картинка будет подстраиваться под неё. */
        height: 500px;
        width: 100%;
        
        /* Центрируем картинку внутри блока */
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .main-image-wrapper img { 
        /* Заставляем картинку занять всё пространство блока */
        width: 100%;
        height: 100%;
        
        /* MAGIC: contain увеличит маленькую картинку и уменьшит большую,
           сохраняя пропорции и не обрезая края. Картинка всегда будет видна целиком. */
        object-fit: cover;
    }

    /* Адаптив для телефонов: уменьшаем высоту блока */
    @media (max-width: 768px) {
        .main-image-wrapper {
            height: 350px;
        }
    }

    .discount-badge {
        position: absolute; top: 20px; left: 20px;
        background: #000; color: #fff;
        padding: 5px 12px; border-radius: 20px;
        font-size: 12px; font-weight: 700;
        z-index: 2; /* Чтобы бейдж был поверх картинки */
    }
    
    /* Thumbs */
    .thumb-img {
        width: 100px;
        height: 100px;
        object-fit: cover; /* То же самое для миниатюр */
        background: #f9f9f9;
        border-radius: 16px;
        margin-right: 10px;
        cursor: pointer;
        border: 1px solid #00000030;
         /* Небольшой отступ внутри миниатюры */
    }
    .thumb-img.active { border-color: #000; }

    /* Product Info */
    .cat-label {font-size: 13px;color: #666;font-weight: 600;margin-bottom: 5px;}
    .prod-title { font-size: 32px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; color: #000; }
    
    .rating-sku-row { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; font-size: 13px; color: #555; }
    .stars { color: #000; letter-spacing: 2px; }
    .sku { color: #888; }

    .price-row { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
    .current-price { font-size: 28px; font-weight: 700; color: #000; }
    .old-price { font-size: 20px; color: #aaa; text-decoration: line-through; font-weight: 400; }
    .stock-status { margin-left: auto; color: #2ecc71; font-weight: 600; font-size: 14px; }

    .short-desc { color: #555; font-size: 15px; line-height: 1.6; margin-bottom: 25px; }

    /* Buttons */
    .btn-add-cart {
        flex-grow: 1;
        background: #000; color: #fff;
        height: 50px; border-radius: 30px;
        border: none; font-weight: 600; font-size: 15px;
        transition: background 0.2s;
    }
    .btn-add-cart:hover { background: #333; }

    .btn-buy-now {
        width: 100%;
        background: #1f1f1f;
        color: #ffffff;
        height: 50px;
        border-radius: 12px;
        border: none;
        font-weight: 600;
        /* font-size: 15px; */
        margin-bottom: 25px;
        transition: background 0.2s;
    }
    .btn-buy-now:hover {background: #2a2a2a;}

    .meta-actions {display: flex;align-items: center;font-size: 14px;color: #555;margin-bottom: 30px;}
    
    /* Tabs Section */
    .tabs-section {margin-top: 10px !important;margin-bottom: 35px;}
    .tabs-header { border-bottom: 1px solid #eee; display: flex; gap: 30px; margin-bottom: 30px; }
    .tab-link { 
        padding-bottom: 15px; font-weight: 600; color: #888; cursor: pointer; position: relative; font-size: 16px; 
    }
    .tab-link.active { color: #000; }
    .tab-link.active::after {
        content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: #000;
    }
    .tab-content { display: none; color: #555; line-height: 1.7; }
    .tab-content.active { display: block; }

    /* --- СПЕЦИАЛЬНАЯ АДАПТАЦИЯ ДЛЯ 2-Х КОЛОНОК НА МОБИЛЬНЫХ --- */
    @media (max-width: 768px) { 
        /* Уменьшаем шрифт заголовка и ограничиваем высоту */
        .card-title {
            font-size: 14px !important;
            margin-bottom: 0px !important;
            line-height: 1.3 !important;
            /* Обрезка текста до 2 строк, если слишком длинный */
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 36px; /* Фиксированная высота для заголовка */
        }
        
        /* Уменьшаем шрифт категории */
        .card-cat {
            font-size: 11px !important;
        }
        
        /* Уменьшаем цену */
        .card-price {
            font-size: 16px !important;
        }
        
        /* Скрываем кнопки, появляющиеся при наведении (на телефоне нет мышки) */
        .hover-actions {
            display: none !important;
        }
        
        /* Делаем всю карточку кликабельной */
        .product-card {
            cursor: pointer;
        }
    }

/* ======================== ИСПРАВЛЕНИЕ КЛИКАБЕЛЬНОСТИ ======================== */

/* Оверлей при наведении пропускает клики сквозь себя (чтобы можно было нажать на фото) */
.hover-actions {
    pointer-events: none; 
}

/* Возвращаем кликабельность кнопкам внутри оверлея */
.btn-add-to-cart,
.side-actions {
    pointer-events: auto;
}


/* ======================== СЕТКА 5 КОЛОНОК (ДЛЯ ПК) ======================== */

@media (min-width: 992px) {
    /* Кастомный класс для ширины 20% (5 товаров в ряд) */
    .col-lg-20 {
        flex: 0 0 20%;
        max-width: 20%;
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
        margin-top: var(--bs-gutter-y);
    }
}

/* Расширяем контейнер, чтобы 5 товаров смотрелись просторно */
.container.pb-5 {
    max-width: 1390px;
    padding-left: 30px;
    padding-right: 30px;
}


/* ======================== АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ (2 КОЛОНКИ) ======================== */

@media (max-width: 768px) {
    /* Возвращаем стандартные отступы контейнера */
    .container.pb-5 {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Уменьшаем высоту картинки */
    .card-img-wrapper { 
        height: auto; 
        aspect-ratio: 1/1; 
    }
    
    /* Скрываем кнопки "Подробнее" и "Просмотр" (на телефоне нет ховера) */
    .hover-actions { 
        display: none !important; 
    }
    
    /* Делаем всю карточку кликабельной (курсор-палец) */
    .product-card { 
        cursor: pointer; 
    }

    /* Компактные отступы внутри карточки */
    .card-content-padding {
        padding: 8px 20px !important;
    }
    
    /* Уменьшаем шрифт названия и ограничиваем 2 строками */
    .card-title {
        font-size: 16px !important;
        margin-bottom: 5px !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 34px; /* Фикс высоты */
    }
    
    /* Уменьшаем остальные шрифты */
    .card-cat { font-size: 10px !important; }
    .card-price { font-size: 15px !important; }
}
/* ======================== ГОРИЗОНТАЛЬНЫЕ КАТЕГОРИИ ======================== */

.categories-top-wrapper {
    width: 100%;
    overflow: hidden; /* Обрезаем всё лишнее по краям */
    margin-bottom: 30px;
}

.cat-pills-scroll {
    display: flex;
    gap: 10px; /* Расстояние между кнопками */
    overflow-x: auto; /* Включаем горизонтальную прокрутку */
    padding-bottom: 5px; /* Небольшой отступ снизу */
    
    /* Скрываем полосу прокрутки (эстетика) */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    
    /* Запрещаем перенос кнопок на новую строку */
    white-space: nowrap; 
    
    /* Включаем плавную инерционную прокрутку на iOS */
    -webkit-overflow-scrolling: touch;
}

/* Скрываем полосу прокрутки для Chrome/Safari/Opera */
.cat-pills-scroll::-webkit-scrollbar {
    display: none;
}

/* Базовый стиль кнопки категории */
.cat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px; /* Полностью круглые края */
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    
    /* Чтобы кнопка не сжималась, если места мало */
    flex-shrink: 0;
}

.cat-pill:hover {
    border-color: #000;
    color: #000;
    /* transform: translateY(-2px); */ /* Легкий подъем при наведении */
}

/* Активная категория (черная) */
.cat-pill.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* --- Стиль для подкатегорий (чуть меньше) --- */
.cat-pill.sub {
    font-size: 13px;
    padding: 8px 20px;
    background-color: #f9f9f9;
    color: #666;
    border-color: #eee;
}

.cat-pill.sub.active {
    background-color: #444; /* Темно-серый для активной подкатегории */
    color: #fff;
    border-color: #444;
}

@media (max-width: 991px) {
    
    /* 1. Скрываем кнопки влево/вправо на мобильных */
    .extraordinary-section .scroll-btn {
        display: none !important;
    }

    /* 2. Настройка контейнера для скролла пальцем */
    .product-scroller {
        display: flex !important;           /* Включаем ряд */
        overflow-x: auto;                   /* Разрешаем скролл по горизонтали */
        gap: 15px;                          /* Отступ между карточками */
        padding: 5px 5px 20px 5px;          /* Отступы чтобы тени не обрезались */
        scroll-snap-type: x mandatory;      /* Чтобы карточки "прилипали" при скролле */
        -webkit-overflow-scrolling: touch;  /* Плавный скролл на iOS */
        scrollbar-width: none;              /* Скрыть скроллбар (Firefox) */
    }
    
    /* Скрыть скроллбар (Chrome/Safari) */
    .product-scroller::-webkit-scrollbar {
        display: none;
    }

    /* 3. Превращаем карточку в прямоугольник (как на скриншоте) */
    .product-card {
                /* Ширина карточки на мобильном */
                flex: 0 0 auto;          /* Чтобы карточки не сжимались */
                display: flex !important;/* Включаем флекс внутри карточки */
                flex-direction: row;     /* Элементы в ряд (картинка слева, текст справа) */
                     /* Центрируем по вертикали */
                background: #fff;        /* Белый фон */
                border-radius: 12px;     /* Закругление углов */
                padding: 12px;           /* Внутренний отступ */
                border: 1px solid #f0f0f0; /* Легкая рамка */
                box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Легкая тень */
                scroll-snap-align: start; /* Прилипание к началу */
                margin-right: 0;         /* Сбрасываем лишние отступы если были */
    }

    /* 4. Настройка картинки внутри карточки */
    .card-img-wrapper {
        width: 80px;            /* Фиксированная ширина картинки */
        height: 60px;           /* Фиксированная высота картинки */
        margin-bottom: 0 !important; /* Убираем отступ снизу (был для вертикальной карточки) */
        margin-right: 15px;     /* Отступ справа до текста */
        border-radius: 6px;     /* Скругление картинки */
        overflow: hidden;
        flex-shrink: 0;         /* Чтобы картинка не сжималась */
        background-color: #f8f8f8;
    }
    
    .card-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;      /* Картинка заполняет область красиво */
    }

    /* 5. Настройка текста */
    .product-name {
        font-size: 16px;        /* Размер шрифта */
        font-weight: 600;       /* Жирность */
        color: #222;            /* Темный цвет */
        text-align: left !important; /* Выравнивание по левому краю */
        line-height: 1.2;
    }
}

    /* Хлебные крошки */
    .breadcrumb-nav { font-size: 14px; color: #666; margin-bottom: 20px; }
    .breadcrumb-nav a { text-decoration: none; color: #666; transition: 0.2s; }
    .breadcrumb-nav a:hover { color: #000; }
    .breadcrumb-nav span { margin: 0 5px; color: #ccc; }
    .breadcrumb-nav .active { color: #000; font-weight: 500; }

    /* Галерея */
    .main-image-wrapper { position: relative; border-radius: 12px; overflow: hidden; background: #f8f9fa; text-align: center; }
    .main-image-wrapper img {max-width: 100%;display: block;margin: 0 auto;}
    .thumbs-gallery { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; }
    .thumb-img {width: 80px;height: 80px;object-fit: cover;border-radius: 8px;cursor: pointer;transition: 0.2s;}
    .thumb-img:hover {border: 2px solid #000000;}

    /* Информация о товаре */
    .prod-title { font-size: 32px; font-weight: 800; margin-bottom: 15px; line-height: 1.1; }
    .rating-sku-row { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; font-size: 14px; }
    .stars { color: #ffc107; }
    .price-row { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
    .current-price { font-size: 28px; font-weight: 700; color: #111; }
    .old-price { text-decoration: line-through; color: #999; font-size: 18px; }
    .stock-status { font-size: 14px; font-weight: 600; margin-bottom: 20px; color: #198754; display: flex; align-items: center; gap: 5px; }
    
    /* Кнопки */
    .action-buttons { display: flex; gap: 10px; }
    .btn-buy-now {background: #111;color: #fff;border: none;padding: 12px 30px;border-radius: 14px;font-weight: 600;flex: 1;transition: 0.2s;}
    .btn-buy-now:hover { background: #333; transform: translateY(-2px); }
    .btn-outline-fav { border: 1px solid #ddd; background: #fff; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
    .btn-outline-fav:hover { border-color: #111; color: #111; }

    /* Вкладки */
    .tabs-section {border-top: 1px solid #00000000;}
    .tabs-header { display: flex; gap: 30px; border-bottom: 1px solid #eee; margin-bottom: 20px; }
    .tab-link { padding-bottom: 10px; cursor: pointer; font-weight: 600; color: #888; position: relative; }
    .tab-link.active { color: #111; }
    .tab-link.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: #111; }
    .text-content { font-size: 16px; line-height: 1.6; color: #444; }

.static-page-wrapper {
    padding: 60px 0 100px;
    background-color: #fafafa;
    min-height: 60vh;
}

/* Контейнер для текста */
.content-box {
    background: #ffffff;
    padding: 30px; /* Больше отступов для читаемости */
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
     /* Ограничиваем ширину, чтобы текст не растягивался слишком сильно */
    margin: 0 auto;   /* Центрируем блок */
}

/* Главный заголовок */
.page-main-title {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    /* font-size: 42px; */
    font-weight: 800;
    color: #111;
    margin-bottom: 40px;
    line-height: 1.1;
    letter-spacing: -1px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* --- СТИЛИЗАЦИЯ КОНТЕНТА (WYSIWYG) --- */
.wysiwyg-content {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.wysiwyg-content p {
    margin-bottom: 25px;
}

.wysiwyg-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #000;
}

.wysiwyg-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #222;
}

.wysiwyg-content ul, 
.wysiwyg-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.wysiwyg-content li {
    margin-bottom: 10px;
}

.wysiwyg-content a {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.2s;
}
.wysiwyg-content a:hover {
    color: #666;
}

.wysiwyg-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.wysiwyg-content blockquote {
    border-left: 4px solid #000;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    background: #f9f9f9;
    padding: 20px 30px;
    border-radius: 0 12px 12px 0;
}

/* --- АДАПТИВ --- */
@media (max-width: 768px) {
    .static-page-wrapper {
        padding: 30px 0 60px;
    }
    
    .content-box {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .page-main-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .wysiwyg-content {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    
    .container.pb-5 {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* 1. ЖЕСТКАЯ СЕТКА (2 колонки) */
    .mobile-force-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 0 !important;
        padding-bottom: 20px;
    }

    .mobile-force-grid .grid-item {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 2. КАРТОЧКА (Без отступов padding:0, скругление) */
    .apple-card-mobile {
        background: #fff !important;
        border-radius: 12px !important;
        border: none !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
        padding: 0 !important; /* ВАЖНО: Картинка прилипает к краям */
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
    }

    /* Ссылка только на зону картинки, чтобы кнопка внизу работала отдельно */
    .mobile-link-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70%; /* Покрывает только верх */
        z-index: 5;
        -webkit-tap-highlight-color: transparent;
    }

    /* 3. БЛОК КАРТИНКИ (Большой, на 70-75% высоты) */
    .mobile-img-wrapper {
        width: 100%;
        height: 180px !important; /* Высокая картинка */
        position: relative;
        background: #fff !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        overflow: hidden;
    }

    /* Картинка заполняет весь блок (cover или contain) */
    .mobile-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover !important; /* Заполняет без полей (как на скрине WB) */
        /* Если важно видеть весь товар целиком, можно поменять на contain, но будут белые поля */
    }

    /* 4. СКИДКА (Красный бейдж внизу картинки слева) */
    .wb-discount-badge {
        position: absolute;
        bottom: 6px;
        left: 6px;
        background: #f91155; /* WB красный/розовый */
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 6px;
        z-index: 6;
    }

    /* 5. БЛОК КОНТЕНТА (Внизу) */
    .mobile-content {
        padding: 8px !important;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        gap: 4px;
        text-align: left;
    }

    /* Цена */
    .mobile-price {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #f91155 !important; /* Красная цена */
        line-height: 1;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .old-price-wb {
        font-size: 12px;
        color: #999;
        text-decoration: line-through;
        font-weight: 400;
    }

    /* Название */
    .mobile-title {
        font-size: 15px !important;
        color: #333 !important;
        font-weight: 400 !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        height: 32px; /* 2 строки */
        overflow: hidden;
        text-decoration: none !important;
    }

    /* 6. КНОПКА (Фиолетовая внизу) */
    .wb-mobile-btn {
        display: block;
        background: #161616; /* WB фиолетовый */
        color: #fff !important;
        text-align: center;
        border-radius: 8px;
        padding: 6px 0;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none !important;
        margin-top: auto; /* Прижимает к низу */
    }
    
    /* Скрываем лишнее */
    .hover-actions, .cat-wishlist-row { display: none !important; }
}

@media (min-width: 769px) {
    .wb-discount-badge, .mobile-link-overlay, .wb-mobile-btn { display: none; }
    .old-price-wb { font-size: 13px; color: #999; text-decoration: line-through; margin-left: 8px; }
}

.inovo {margin-bottom: 30px;}
    :root {
        --accent: #242424;
        --accent-hover: #111111;
        --text-main: #0f172a;
        --text-muted: #64748b;
        --border-color: #e2e8f0;
        --white: #ffffff;
    }

    /* === БЛОК КОЛИЧЕСТВА (КАК В КОРЗИНЕ) === */
    .qty-block { 
        display: flex; 
        align-items: center; 
        justify-content: space-between;
        
        /* Стили контейнера */
        background: #ffffff; 
        border: 1px solid var(--border-color); 
        border-radius: 12px; 
        
        /* Фиксированный размер */
        width: 120px; 
        height: 44px;
        padding: 3px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    }
    
    .qty-action { 
        width: 36px; 
        height: 100%; 
        border: none; 
        background: transparent; 
        border-radius: 8px;
        cursor: pointer; 
        color: var(--text-main); 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        transition: 0.2s;
        flex-shrink: 0;
    }
    
    .qty-action:hover { 
        background-color: #f1f5f9; 
        color: var(--accent); 
    }
    
    .qty-action:active { transform: scale(0.92); }
    
    .qty-value { 
        flex: 1; 
        height: 100%; 
        text-align: center; 
        border: none; 
        outline: none; 
        background: transparent; 
        font-weight: 700; 
        color: var(--text-main); 
        font-size: 16px; 
        -moz-appearance: textfield; 
        min-width: 0;
    }
    .qty-value::-webkit-outer-spin-button, .qty-value::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    /* ========================================= */

    /* Кнопка купить */
    .btn-buy-now {
        background: var(--accent);
        color: white;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 16px;
        height: 44px;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-grow: 1;
        text-decoration: none;
    }
    .btn-buy-now:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4); color: white; }
    .btn-buy-now:active { transform: translateY(0); }
    
    /* Кнопка Оформить заказ (Зеленая) */
    .btn-checkout-style {
        background: #10B981 !important; 
        box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3) !important;
    }
    .btn-checkout-style:hover {
        background: #059669 !important;
        box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4) !important;
    }

    .action-group {display: flex;gap: 15px;margin-top: 30px;}
    @media (max-width: 500px) { .action-group { flex-direction: column; align-items: stretch; } .qty-block { width: 100%; } }

/* Родительская ссылка должна иметь это свойство, чтобы бейдж позиционировался относительно нее */
.position-relative {
    position: relative;
    display: inline-block; /* Или flex, в зависимости от верстки */
}

/* Стили самого бейджа */
.cart-badge {
    position: absolute;
    top: 0;
    left: 100%; /* Сдвигаем к правому краю родителя */
    transform: translate(-30%, -5%); /* Центрируем ровно по углу */
    background-color: #7a6769; /* Красный цвет (Bootstrap danger) */
    color: #fff;
    font-size: 0.75em; /* Размер шрифта */
    font-weight: 700;
    line-height: 1;
    padding: 0.35em 0.65em; /* Отступы внутри кружка */
    border-radius: 5px; /* Делает форму овальной/круглой */
    white-space: nowrap;
    
    /* Необязательно: белая обводка, чтобы отделить от иконки */
}

/* Скрываем текст "товаров" визуально, но оставляем для скринридеров (доступность) */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
        .main-wrapper { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
        
        .cart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 15px; }
        h1 { font-size: 28px; font-weight: 800; margin: 0; letter-spacing: -0.03em; }
        
        .btn-back { display: flex; align-items: center; gap: 8px; color: var(--text-muted); text-decoration: none; font-weight: 600; transition: 0.2s; font-size: 15px; }
        .btn-back:hover { color: var(--accent); }

        .cart-container { display: grid; grid-template-columns: 1.8fr 1fr; gap: 40px; align-items: start; }

        .product-list { display: flex; flex-direction: column; gap: 15px; }
        
        .product-cards {
            display: grid;
            grid-template-columns: 90px 1fr auto auto;
            gap: 20px;
            align-items: center;
            background: var(--white);
            padding: 20px;
            border-radius: var(--radius-lg);
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
            border: 1px solid transparent;
            transition: 0.2s;
            position: relative;
            border-radius: 15px;
        }
        .product-cards:hover { border-color: var(--accent); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }

        .product-thumb {width: 65px;height: 65px;border-radius: var(--radius-md);object-fit: cover;background: #f1f5f9;padding: 3px;border-radius: 15px;}
        
        .product-details { display: flex; flex-direction: column; justify-content: center; }
        .product-cat { font-size: 11px; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; font-weight: 700; margin-bottom: 4px; }
        .product-details h3 { margin: 0 0 6px 0; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--text-main); }
        
        /* Мета-информация */
        .meta-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
        .product-meta { font-size: 12px; color: var(--text-muted); background: #f1f5f9; padding: 3px 8px; border-radius: 6px; display: inline-block; }
        .unit-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
        
        /* Бейдж "Последний на складе" */
        .stock-alert {
            display: inline-flex; align-items: center; gap: 4px;
            font-size: 12px; font-weight: 700; color: var(--danger); background: var(--danger-bg);
            padding: 4px 8px; border-radius: 6px; width: fit-content;
        }
        .stock-alert svg { width: 14px; height: 14px; }

        .mobile-price-row { display: none; margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--text-main); }
        .product-total-desktop { font-size: 18px; font-weight: 700; color: var(--text-main); text-align: right; min-width: 100px; }

        .action-remove { 
            background: #fee2e2; color: #ef4444; border: none; width: 38px; height: 38px; 
            border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s;
        }
        .action-remove:hover { background: #ef4444; color: white; }

        /* === БЛОК КОЛИЧЕСТВА === */
        .qty-wrapper-outer { display: flex; align-items: center; gap: 10px; }
        .qty-side-label { font-size: 14px; font-weight: 600; color: var(--text-muted); }

        .qty-block { 
            display: flex; 
            align-items: center; 
            justify-content: space-between;
            background: #ffffff; 
            border: 1px solid var(--border-color); 
            border-radius: 12px; 
            width: 110px; 
            height: 42px;
            padding: 3px; 
            box-shadow: 0 1px 2px rgba(0,0,0,0.03);
            overflow: hidden;
        }
        
        .qty-action { 
            width: 34px; 
            height: 100%; 
            border: none; 
            background: transparent; 
            border-radius: 8px;
            cursor: pointer; 
            color: var(--text-main); 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            transition: 0.2s;
            flex-shrink: 0;
        }
        .qty-action:hover { background-color: #f1f5f9; color: var(--accent); }
        
        /* Особый стиль для кнопки минус, если количество 1 (по желанию, можно убрать hover если не надо) */
        .qty-action.delete-mode:hover { color: var(--danger); background: var(--danger-bg); }

        .qty-value { 
            flex: 1; 
            height: 100%; 
            text-align: center; 
            border: none; 
            outline: none; 
            background: transparent; 
            font-weight: 700; 
            color: var(--text-main); 
            font-size: 16px; 
            -moz-appearance: textfield; 
            min-width: 0;
        }
        .qty-value::-webkit-outer-spin-button, .qty-value::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

        /* Правая панель */
        .checkout-card {background: var(--white);padding: 25px;border-radius: var(--radius-lg);box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);position: sticky;top: 20px;border-radius: 15px;}
        .checkout-title { font-size: 18px; font-weight: 800; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
        .cost-row { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--text-muted); font-size: 15px; font-weight: 500; }
        .cost-row.total { color: var(--text-main); font-weight: 800; font-size: 22px; margin-top: 20px; padding-top: 20px; border-top: 2px dashed var(--border-color); align-items: center; }
        .text-discount { color: #10b981; }

        .btn-checkout { 
            display: flex; align-items: center; justify-content: center; gap: 10px;
            width: 100%; background: var(--accent); color: white; border: none; 
            padding: 16px; border-radius: 12px; font-size: 16px; font-weight: 700; 
            cursor: pointer; text-decoration: none; transition: 0.2s; 
            box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4); margin-top: 20px;
        }
        .btn-checkout:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.5); }

        .coupon-area { margin: 25px 0; }
        .coupon-group { display: flex; gap: 8px; }
        .input-code { flex: 1; padding: 10px 12px; border: 2px solid var(--border-color); border-radius: 10px; font-weight: 600; outline: none; transition: 0.2s; font-size: 14px; }
        .input-code:focus { border-color: var(--accent); }
        .btn-apply { background: var(--text-main); color: white; border: none; padding: 0 15px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14px; }
        .coupon-success { background: #ecfdf5; padding: 10px 12px; border-radius: 10px; border: 1px solid #10b981; color: #047857; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
        .link-clear { text-align: center; display: block; margin-top: 15px; color: var(--text-muted); text-decoration: underline; font-size: 13px; cursor: pointer; }

        .empty-wrapper {background: white;padding: 60px 20px;border-radius: 15px;text-align: center;box-shadow: 0 10px 30px rgba(0,0,0,0.03);}
        .empty-icon {background: #eff6ff;width: 90px;height: 90px;border-radius: 25%;display: flex;align-items: center;justify-content: center;margin: 0 auto 30px;color: var(--accent);}

        @media (max-width: 992px) {
            .cart-container { grid-template-columns: 1fr; gap: 20px; }
            .checkout-card { order: -1; position: static; margin-bottom: 20px; } 
            .main-wrapper { padding: 30px 15px; }
        }

        @media (max-width: 600px) {
            h1 { font-size: 22px; }
            .btn-back { font-size: 14px; }
            .product-cards { grid-template-columns: 80px 1fr; grid-template-rows: auto auto auto; column-gap: 15px; row-gap: 10px; padding: 15px; align-items: start; }
            .product-thumb { width: 80px; height: 80px; grid-row: 1 / 3; grid-column: 1 / 2; }
            .product-details { grid-column: 2 / 3; padding-right: 30px; }
            .product-details h3 { font-size: 14px; margin-bottom: 4px; }
            .product-total-desktop { display: none; } 
            .mobile-price-row { display: block; } 
            .qty-wrapper-outer { grid-column: 2 / 3; width: 100%; margin-top: 5px; }
            .qty-block { max-width: 120px; height: 38px; }
            .action-remove {position: absolute;top: 90px;right: 15px;background: #ff1515db;color: #ffffff;width: 35px;height: 35px;padding: 7px;}
            .action-remove:hover { color: #ef4444; background: transparent; }
            .checkout-card { padding: 20px; margin-bottom: 15px; }
            .checkout-title { font-size: 18px; margin-bottom: 15px; }
            .btn-checkout { padding: 14px; font-size: 15px; }
        }
        /* Современные стили для полей ввода и формы */
    .modern-input {
        width: 100%;
        padding: 14px 16px;
        background: #fdfdfd;
        border: 1.5px solid #e2e8f0;
        border-radius: 12px;
        font-size: 15px;
        color: #1e293b;
        transition: all 0.25s ease;
        outline: none;
        box-shadow: 0 1px 2px rgba(0,0,0,0.03);
        box-sizing: border-box;
        display: block;
    }

    .modern-input:focus {
        border-color: #6366f1;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    }

    .form-label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 7px;
        color: #64748b;
        padding-left: 2px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    /* Стили остатка на складе */
    .stock-info {
        font-size: 12px;
        margin-top: 4px;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .stock-label { color: #94a3b8; }
    .stock-count { color: #475569; font-weight: 600; }
    .stock-alert-mini {
        color: #ef4444;
        font-weight: 700;
        display: flex;
        background: #dcdcdc66;
        padding: 5px 10px 5px 10px;
        border-radius: 7px;
        align-items: center;
        gap: 4px;
    }

    /* Стили промокода */
    .coupon-group {
        display: flex;
        gap: 8px;
        margin-top: 15px;
    }
    
    .btn-apply {
        padding: 0 20px;
        background: #242424;
        border-radius: 10px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .btn-apply:hover {background: #151515;}

    .coupon-success {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #f0fdf4;
        border: 1px dashed #22c55e;
        padding: 10px 14px;
        border-radius: 10px;
        color: #166534;
        font-size: 14px;
        margin-top: 15px;
    }

    .btn-checkout {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 16px;
        background: #10B981;
        color: white;
        border: none;
        border-radius: 14px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
    }

    .btn-checkout:hover {background: #059669;transform: translateY(-1px);}

    .link-clear {
        display: block;
        text-align: center;
        margin-top: 20px;
        font-size: 13px;
        color: #dc2525;
        text-decoration: none;
    }

    textarea.modern-input {resize: none;}
    .sorting-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    /* Контейнер для позиционирования меню */
    .dropdown {
        position: relative;
    }

    .btn-sort {
        border: 1px solid #e2e8f0;
        background: #fff;
        border-radius: 8px;
        padding: 8px 15px;
        font-size: 14px;
        font-weight: 600;
        color: #333;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: 0.2s;
        text-decoration: none;
        cursor: pointer;
    }
    .btn-sort:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: #000;
    }

    /* Стили для выпадающего списка */
    .dropdown-menu {
        display: none; /* Скрыто по умолчанию */
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1050; /* Чтобы быть поверх карточек */
        min-width: 200px;
        padding: 8px 0;
        margin-top: 5px;
        background-color: #fff;
        border: 1px solid rgba(0,0,0,.15);
        border-radius: 12px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        list-style: none;
    }

    /* Класс для отображения через JS */
    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-item {
        display: block;
        width: 100%;
        padding: 8px 20px;
        clear: both;
        font-weight: 400;
        color: #212529;
        text-align: inherit;
        text-decoration: none;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        transition: 0.2s;
    }

    .dropdown-item:hover {
        background-color: #f8fafc;
        color: #8b8e8f;
    }

    .dropdown-item.active, .dropdown-item:active {
        background-color: #000000;
        color: #fff !important;
    }
    
    .dropdown-divider {
        height: 0;
        margin: 8px 0;
        overflow: hidden;
        border-top: 1px solid #e9ecef;
    }

.news-page-wrapper { padding: 40px 0; background: #fafafa; min-height: 80vh; }
    
    /* Стили для списка */
    .news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
    .news-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; height: 100%; display: flex; flex-direction: column; }
    .news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
    .news-img { width: 100%; height: 220px; object-fit: cover; }
    .news-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
    .news-date { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
    .news-title { font-size: 20px; font-weight: 700; margin-bottom: 15px; line-height: 1.4; color: #111; }
    .news-excerpt { color: #666; font-size: 15px; line-height: 1.6; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .btn-read { font-weight: 600; color: #000; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; }

    /* Стили для одиночной статьи */
    .article-container { max-width: 800px; margin: 0 auto; background: #fff; padding: 50px; border-radius: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
    .article-header { margin-bottom: 30px; text-align: center; }
    .article-content { line-height: 1.8; font-size: 17px; color: #333; }
    .article-content img { max-width: 100%; border-radius: 15px; margin: 20px 0; }
    .back-link { margin-bottom: 20px; display: inline-block; color: #666; text-decoration: none; }