/* ==========================================================================
   main.css — ЕДИНЫЙ файл стилей сайта «Златик»
   Это единственная актуальная версия файла. Заменяет все прежние
   редакции и дописки. Новые стили добавляются ТОЛЬКО в конец файла.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. СБРОС И ПЕРЕМЕННЫЕ
   -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a1a1a;
    --secondary: #2d2d2d;
    --accent: #d4a574;
    --accent-dark: #b8935f;
    --light: #FAF3EA;
    --cream: #FBF7F0;
    --card: #FFFDF9;
    --gray: #6E655A;
    --gray-light: #EBDFCE;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --header-height: 80px;
}

html { scroll-behavior: smooth; }

/* --------------------------------------------------------------------------
   2. БАЗА И КОНТЕЙНЕР
   -------------------------------------------------------------------------- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

[data-include="header"] { display: block; height: var(--header-height); }
[data-include="footer"] { display: block; }

/* --------------------------------------------------------------------------
   3. КНОПКИ
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--secondary); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-large { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   4. ФОРМЫ
   -------------------------------------------------------------------------- */
.form-group { margin-bottom: 20px; }

.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--gray); }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { outline: none; border-color: var(--accent); }

.form-textarea { resize: vertical; min-height: 100px; }

/* --------------------------------------------------------------------------
   5. ШАПКА (общая)
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

.header.scrolled { box-shadow: var(--shadow); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }

.logo { font-size: 28px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.logo:hover { color: var(--accent); }
.logo-light { color: var(--white); }
.logo-light:hover { color: var(--accent); }

.nav { display: flex; gap: 24px; }

.nav-link { font-weight: 500; font-size: 15px; color: var(--gray); padding: 8px 0; position: relative; }
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--accent); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.header-contact { display: flex; align-items: center; gap: 20px; }

.phone-link { font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.phone-link:hover { color: var(--accent); }

.burger { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 6px; }

.burger span { display: block; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. ПОДВАЛ (общий)
   -------------------------------------------------------------------------- */
.footer { background: var(--primary); color: var(--white); padding: 60px 0 32px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 14px; max-width: 320px; margin-top: 16px; }

.footer-column h4 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.footer-links a:hover { color: var(--accent); }

.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.footer-contact-item span:first-child { color: var(--accent); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-contact-item small { display: block; font-size: 12px; opacity: 0.7; }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   7. МОДАЛКА ЗАКАЗА
   -------------------------------------------------------------------------- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-header h3 { font-size: 24px; font-weight: 700; }

.modal-close { font-size: 28px; color: #999; line-height: 1; transition: var(--transition); }
.modal-close:hover { color: var(--primary); }

.modal-desc { color: var(--gray); margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   8. ГЛАВНАЯ — HERO И БАЗА СЕКЦИЙ
   -------------------------------------------------------------------------- */
.hero {
    padding: calc(var(--header-height) + 80px) 0 100px;
    background: linear-gradient(135deg, #FBF7F0 0%, #FFFDF9 100%);
    overflow: hidden;
}

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; }

.hero-title span {
    display: block;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--accent);
    margin-top: 16px;
    letter-spacing: 0;
}

.hero-subtitle { font-size: 18px; color: var(--gray); margin-bottom: 32px; line-height: 1.7; }

.hero-cta { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-light);
}

.stat-number { font-size: 36px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--gray); font-weight: 500; }

/* Вертикальное видео в баннере */
.hero-video {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 9 / 16;
    max-width: 380px;
    margin: 0 auto;
    background: var(--gray-light);
}

.hero-video video { width: 100%; height: 100%; object-fit: cover; }

.section { padding: 100px 0; }

.section-header { text-align: center; max-width: 800px; margin: 0 auto 64px; }

.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }

.section-subtitle { font-size: 18px; color: var(--gray); line-height: 1.6; }

.brands-cta { text-align: center; margin-top: 56px; }

/* --------------------------------------------------------------------------
   9. ГЛАВНАЯ — О ПРОДУКТЕ
   -------------------------------------------------------------------------- */
.about { background: var(--light); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-text p { font-size: 17px; color: var(--gray); margin-bottom: 20px; line-height: 1.7; }

.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-feature-icon { font-size: 24px; }
.about-feature-text { font-weight: 600; font-size: 14px; }

.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   10. ГЛАВНАЯ — ЛЕНТА БРЕНДОВ (попапы, адаптив, «шёлковая лента»)
   -------------------------------------------------------------------------- */
.brands-strip { padding: 80px 0 60px; background: var(--light); }

.brands-strip .section-title { text-align: center; margin-bottom: 48px; }

.brands-band {
    padding: 56px 0;
    background:
        linear-gradient(180deg,
            rgba(250, 243, 234, 1) 0%,
            rgba(250, 243, 234, 0) 24%,
            rgba(250, 243, 234, 0) 76%,
            rgba(250, 243, 234, 1) 100%),
        linear-gradient(115deg,
            rgba(255, 255, 255, 0) 18%,
            rgba(255, 255, 255, 0.50) 36%,
            rgba(255, 225, 2, 0.28) 50%,
            rgba(255, 255, 255, 0.50) 64%,
            rgba(255, 255, 255, 0) 82%),
        radial-gradient(55% 110% at 88% 10%,
            rgba(147, 80, 231, 0.16) 0%,
            rgba(147, 80, 231, 0) 55%),
        radial-gradient(55% 110% at 12% 90%,
            rgba(147, 80, 231, 0.16) 0%,
            rgba(147, 80, 231, 0) 55%),
        radial-gradient(45% 80% at 50% 50%,
            rgba(255, 225, 2, 0.35) 0%,
            rgba(255, 225, 2, 0) 70%),
        linear-gradient(90deg,
            rgba(147, 80, 231, 0.08) 0%,
            #F0E9D3 18%,
            #F8ECB6 50%,
            #F0E9D3 82%,
            rgba(147, 80, 231, 0.08) 100%);
}

.brands-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.8;
    transition: var(--transition);
    position: relative;
}

.brand-logo:hover { opacity: 1; transform: scale(1.06); }

.brand-logo-icon {
    width: 96px;
    height: 96px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Адаптивный размер логотипов: чем меньше брендов, тем крупнее */
@media (min-width: 768px) {
    .brands-row .brand-logo:first-child:nth-last-child(5) .brand-logo-icon,
    .brands-row .brand-logo:first-child:nth-last-child(5) ~ .brand-logo .brand-logo-icon { width: 176px; height: 176px; }

    .brands-row .brand-logo:first-child:nth-last-child(4) .brand-logo-icon,
    .brands-row .brand-logo:first-child:nth-last-child(4) ~ .brand-logo .brand-logo-icon { width: 152px; height: 152px; }

    .brands-row .brand-logo:first-child:nth-last-child(3) .brand-logo-icon,
    .brands-row .brand-logo:first-child:nth-last-child(3) ~ .brand-logo .brand-logo-icon { width: 176px; height: 176px; }

    .brands-row .brand-logo:first-child:nth-last-child(2) .brand-logo-icon,
    .brands-row .brand-logo:first-child:nth-last-child(2) ~ .brand-logo .brand-logo-icon { width: 200px; height: 200px; }

    .brands-row .brand-logo:first-child:nth-last-child(1) .brand-logo-icon { width: 224px; height: 224px; }

    .brands-row:has(> .brand-logo:first-child:nth-last-child(3)),
    .brands-row:has(> .brand-logo:first-child:nth-last-child(2)),
    .brands-row:has(> .brand-logo:first-child:nth-last-child(1)) {
        justify-content: center;
        gap: 72px;
    }
}

.brand-logo-name { font-weight: 800; font-size: 15px; white-space: nowrap; color: var(--logo-color, var(--primary)); }

.logo-zlatik    { --logo-color: #b8935f; }
.logo-svezhiy   { --logo-color: #5f9e4c; }
.logo-klad      { --logo-color: #7a5fd0; }
.logo-bentoska  { --logo-color: #d0678a; }
.logo-kotianych { --logo-color: #3f96ab; }
.logo-meow      { --logo-color: #e08a3c; }

/* Попап бренда при наведении */
.brand-popup {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 50;
}

.brand-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--white);
}

.brand-logo:hover .brand-popup { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.brand-popup-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #FAF3EA 0%, #EBDFCE 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 12px;
    overflow: hidden;
}

.brand-popup-image img { width: 100%; height: 100%; object-fit: contain; }

.brand-popup-name { display: block; font-weight: 800; font-size: 16px; color: var(--logo-color, var(--primary)); margin-bottom: 6px; }
.brand-popup-desc { display: block; font-size: 12px; color: var(--gray); line-height: 1.4; }

.brands-strip-cta { text-align: center; margin-top: 36px; }
.brand-strip-link { color: var(--accent); font-weight: 700; font-size: 15px; }
.brand-strip-link:hover { color: var(--accent-dark); }

/* --------------------------------------------------------------------------
   11. СТРАНИЦА /brands/ — КРУПНЫЕ КАРТОЧКИ
   -------------------------------------------------------------------------- */
.brands-page { padding: 60px 0 100px; }

.brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.brand-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: var(--card-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.brand-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.brand-card:hover::before { transform: scaleX(1); }

.brand-card .brand-icon {
    width: 110px;
    height: 110px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 22px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.brand-card:hover .brand-icon { transform: scale(1.1) rotate(-5deg); }

.brand-card .brand-icon img { width: 100%; height: 100%; object-fit: contain; }

.brand-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--card-color); margin-bottom: 10px; }

.brand-name { font-size: 24px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }

.brand-desc { font-size: 15px; color: var(--gray); margin-bottom: 24px; flex-grow: 1; }

.brand-weights { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }

.weight-tag { padding: 6px 14px; background: var(--light); border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--secondary); }

.brand-link { display: inline-flex; align-items: center; gap: 8px; color: var(--card-color); font-weight: 700; font-size: 15px; }
.brand-link-arrow { transition: transform 0.3s ease; }
.brand-card:hover .brand-link-arrow { transform: translateX(6px); }

.brands-page-cta { text-align: center; margin-top: 56px; }

/* --------------------------------------------------------------------------
   12. ДЕТАЛЬНАЯ СТРАНИЦА БРЕНДА /brands/x/
   -------------------------------------------------------------------------- */
.brand-hero { padding: 40px 0 80px; background: linear-gradient(180deg, var(--cream) 0%, rgba(251, 247, 240, 0) 100%); }

.brand-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.brand-hero-logo {
    width: 120px;
    height: 120px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 26px;
    padding: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

.brand-hero-logo img { width: 100%; height: 100%; object-fit: contain; }

.brand-hero-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-color, var(--accent));
    background: var(--white);
    border: 1px solid var(--gray-light);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.brand-hero-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }

.brand-hero-subtitle { color: var(--brand-color, var(--accent)); font-weight: 700; font-size: 18px; margin-bottom: 20px; }

.brand-hero-desc { color: var(--gray); font-size: 17px; line-height: 1.7; margin-bottom: 28px; max-width: 560px; }

.brand-hero-stats { border-top: none; padding-top: 0; margin-bottom: 32px; max-width: 480px; }

.brand-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.brand-products { background: var(--light); }

/* Центровка линейки: карточки фиксированной ширины по центру */
.brand-products .products-grid {
    grid-template-columns: repeat(3, minmax(0, 340px));
    justify-content: center;
    gap: 28px;
}

/* --------------------------------------------------------------------------
   13. КАТАЛОГ — СПИСОК И ФИЛЬТРЫ
   -------------------------------------------------------------------------- */
.breadcrumbs-section { background: var(--cream); padding: 24px 0 0; }

.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .separator { color: var(--gray-light); }
.breadcrumbs .current { color: var(--primary); font-weight: 500; }

.page-header { background: var(--cream); padding: 32px 0 56px; text-align: center; }

.page-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }

.page-subtitle { font-size: 18px; color: var(--gray); }

.catalog-section { padding: 60px 0 100px; }

.catalog-wrapper { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }

.filters {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-light) transparent;
}

.filters::-webkit-scrollbar { width: 6px; }
.filters::-webkit-scrollbar-track { background: transparent; }
.filters::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: 3px; }
.filters::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-light); }

.filters-title { font-size: 20px; font-weight: 700; }
.filters-close { display: none; font-size: 24px; color: var(--gray); }

.filter-group { margin-bottom: 28px; }

.filter-group-title { font-size: 13px; font-weight: 700; color: var(--gray); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }

.filter-options { display: flex; flex-direction: column; gap: 10px; }

.filter-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 0; }
.filter-checkbox input[type="checkbox"] { display: none; }

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-light);
    border-radius: 6px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.filter-checkbox input:checked + .checkmark { background: var(--accent); border-color: var(--accent); }

.filter-checkbox input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.filter-label { font-size: 15px; color: var(--primary); }
.filter-checkbox:hover .checkmark { border-color: var(--accent); }

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 24px;
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.results-count { font-size: 15px; color: var(--gray); }
.results-count strong { color: var(--primary); }

.catalog-actions { display: flex; gap: 12px; }

.filters-toggle { display: none; padding: 10px 20px; background: var(--light); border-radius: var(--radius); font-weight: 500; color: var(--primary); }

.sort-select {
    padding: 10px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    background: var(--white);
    cursor: pointer;
}

.sort-select:focus { outline: none; border-color: var(--accent); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.product-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
}

/* Фото упаковки внутри карточки */
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }

.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
}

.product-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }

.product-brand { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }

.product-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-name a:hover { color: var(--accent-dark); }

.product-desc { font-size: 14px; color: var(--gray); margin-bottom: 16px; flex-grow: 1; }

.product-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.product-weight { font-size: 13px; color: var(--gray); }
.product-btn { padding: 10px 20px; font-size: 14px; }

.product-actions-mini { display: flex; align-items: center; gap: 12px; }

.product-more { color: var(--accent-dark); font-weight: 600; font-size: 14px; }
.product-more:hover { text-decoration: underline; }

.no-results { text-align: center; padding: 80px 24px; background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.no-results-icon { font-size: 64px; margin-bottom: 20px; }
.no-results-title { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.no-results-text { color: var(--gray); margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   14. ДЕТАЛЬНАЯ СТРАНИЦА ТОВАРА /catalog/x/
   -------------------------------------------------------------------------- */
.prod-detail { padding: 40px 0 80px; }

.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 56px; }

.prod-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.prod-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--light);
    border: 1px solid var(--gray-light);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.prod-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }

.prod-sub { color: var(--gray); font-size: 17px; line-height: 1.7; margin-bottom: 16px; }

.prod-weight-line { font-size: 18px; font-weight: 700; margin-bottom: 24px; }

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 28px;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.specs-table td { padding: 12px 18px; border-bottom: 1px solid var(--gray-light); font-size: 15px; }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table td:first-child { color: var(--gray); }
.specs-table td:last-child { font-weight: 600; }

.prod-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.prod-content { max-width: 820px; margin-bottom: 56px; }
.prod-content-title { font-size: 24px; font-weight: 800; margin-bottom: 20px; }

/* --------------------------------------------------------------------------
   15. НОВОСТИ — ЛЕНТА И ДЕТАЛЬНАЯ СТАТЬЯ
   -------------------------------------------------------------------------- */
.news-preview { background: var(--light); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }

.news-page-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.news-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.news-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #FAF3EA 0%, #EBDFCE 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 20px;
}

.news-image img { width: 100%; height: 100%; object-fit: cover; }

.news-date { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }

.news-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }

.news-desc { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; flex-grow: 1; }

.news-link { color: var(--accent); font-weight: 700; font-size: 14px; }
.news-card:hover .news-link { color: var(--accent-dark); }

/* Детальная новость */
.news-detail { padding: 40px 0 80px; }

.news-detail-wrap { max-width: 820px; margin: 0 auto; }

.news-detail-date { color: var(--accent); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }

.news-detail-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 24px; }

.news-detail-cover { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-height: 480px; object-fit: cover; margin-bottom: 36px; }

/* Типографика статьи (контент из визуального редактора) */
.news-content { font-size: 17px; line-height: 1.8; color: var(--gray); }
.news-content p { margin: 0 0 20px; }
.news-content h2, .news-content h3, .news-content h4 { color: var(--primary); margin: 32px 0 16px; line-height: 1.3; }
.news-content h2 { font-size: 26px; }
.news-content h3 { font-size: 22px; }
.news-content h4 { font-size: 18px; }
.news-content a { color: var(--accent-dark); text-decoration: underline; }
.news-content ul, .news-content ol { margin: 0 0 20px; padding-left: 24px; }
.news-content li { margin-bottom: 8px; }
.news-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 12px 24px;
    margin: 24px 0;
    background: var(--card);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--secondary);
}
.news-content img { border-radius: var(--radius); margin: 8px 0 24px; max-width: 100%; height: auto; }
.news-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.news-content td, .news-content th { border: 1px solid var(--gray-light); padding: 10px 14px; text-align: left; }
.news-content hr { border: none; border-top: 1px solid var(--gray-light); margin: 32px 0; }

.news-back { margin-top: 40px; }

/* --------------------------------------------------------------------------
   16. СТРАНИЦА /faq/
   -------------------------------------------------------------------------- */
.faq-section { padding: 60px 0 100px; }

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item { background: var(--card); border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow); overflow: hidden; }

.faq-question {
    padding: 24px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover { background: var(--light); }

.faq-icon { font-size: 24px; color: var(--accent); transition: var(--transition); }
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }

.faq-answer-content { padding: 0 24px 24px; color: var(--gray); line-height: 1.7; }

.faq-category { margin-bottom: 56px; }

.faq-category-title { font-size: 22px; font-weight: 800; margin-bottom: 20px; padding-left: 16px; border-left: 4px solid var(--accent); }

.faq-cta {
    text-align: center;
    background: var(--card);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.faq-cta-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.faq-cta-text { color: var(--gray); margin-bottom: 24px; }
.faq-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   17. СТРАНИЦА /contacts/
   -------------------------------------------------------------------------- */
.contacts { background: var(--light); }

.contacts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.contact-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.contact-icon { font-size: 36px; margin-bottom: 16px; }

.contact-label { font-size: 13px; color: var(--gray); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

.contact-value { font-size: 16px; font-weight: 700; }
.contact-value a:hover { color: var(--accent); }

.contacts-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.contacts-form-card { background: var(--card); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }

.contacts-form-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.contacts-form-sub { color: var(--gray); margin-bottom: 24px; }

/* Виджет Яндекс.Карт */
.map-widget {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    background: var(--card);
}

.map-widget > div,
.map-widget iframe { width: 100% !important; display: block; }

.map-widget iframe { height: 400px; }

.social-row { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

.social-pill {
    padding: 10px 20px;
    background: var(--card);
    border: 1px solid var(--gray-light);
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
}

.social-pill:hover { border-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------------------------
   18. /stm/ — ПРЕМИАЛЬНЫЙ B2B-ЛЕНДИНГ (графит + золото)
   -------------------------------------------------------------------------- */
.stm-page { background: #141414; color: var(--white); }

.stm-hero {
    padding: calc(var(--header-height) + 70px) 0 90px;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(212, 165, 116, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 100%, rgba(212, 165, 116, 0.10) 0%, transparent 55%);
}

.stm-crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, 0.5); margin-bottom: 40px; }
.stm-crumbs a { color: rgba(255, 255, 255, 0.6); }
.stm-crumbs a:hover { color: var(--accent); }
.stm-crumbs .current { color: var(--white); font-weight: 500; }

.stm-eyebrow {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(212, 165, 116, 0.4);
    border-radius: 100px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.stm-title { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; max-width: 900px; margin-bottom: 24px; }
.stm-title span { color: var(--accent); }

.stm-sub { font-size: 18px; color: rgba(255, 255, 255, 0.7); max-width: 720px; line-height: 1.7; margin-bottom: 40px; }

.stm-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.btn-gold { background: var(--accent); color: var(--primary); }
.btn-gold:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.stm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
}

.stm-stat-number { font-size: 40px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.stm-stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.55); }

.stm-section { padding: 90px 0; }
.stm-section-alt { background: #1a1a1a; }

.stm-section-header { max-width: 760px; margin-bottom: 56px; }

.stm-section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }

.stm-section-sub { color: rgba(255, 255, 255, 0.6); font-size: 17px; line-height: 1.6; }

.stm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.stm-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stm-card:hover { border-color: rgba(212, 165, 116, 0.5); background: rgba(255, 255, 255, 0.06); transform: translateY(-6px); }

.stm-card-num { position: absolute; top: 28px; right: 28px; font-size: 44px; font-weight: 800; color: rgba(212, 165, 116, 0.25); line-height: 1; }

.stm-card-icon { font-size: 36px; margin-bottom: 20px; }
.stm-card-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.stm-card-desc { color: rgba(255, 255, 255, 0.65); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }

.stm-card-list { list-style: none; }
.stm-card-list li { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.stm-card-list li::before { content: '✓'; color: var(--accent); font-weight: 700; }

.stm-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }

.stm-checks { list-style: none; }
.stm-checks li {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.stm-checks li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 18px; }

.stm-panel {
    background: linear-gradient(160deg, rgba(212, 165, 116, 0.15) 0%, rgba(212, 165, 116, 0.03) 100%);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 24px;
    padding: 40px;
}

.stm-panel-title { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 28px; text-transform: uppercase; letter-spacing: 0.08em; }

.stm-panel-stat { margin-bottom: 24px; }
.stm-panel-number { font-size: 32px; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stm-panel-label { font-size: 14px; color: rgba(255, 255, 255, 0.6); }

.stm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.stm-step { position: relative; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); }

.stm-step::before { content: ''; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--accent); }

.stm-step-num { color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: 0.1em; margin-bottom: 12px; }
.stm-step-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.stm-step-desc { color: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 1.6; }

.stm-form-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    color: var(--primary);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.stm-form-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.stm-form-sub { color: var(--gray); margin-bottom: 28px; }

.stm-final {
    padding: 90px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(ellipse at 50% 100%, rgba(212, 165, 116, 0.12) 0%, transparent 60%);
}

.stm-final-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.stm-final-text { color: rgba(255, 255, 255, 0.65); margin-bottom: 36px; }

/* --------------------------------------------------------------------------
   19. ПРЕИМУЩЕСТВА (главная)
   -------------------------------------------------------------------------- */
.benefits { background: var(--light); }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.benefit-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.benefit-icon { font-size: 36px; margin-bottom: 16px; }
.benefit-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.benefit-desc { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* --------------------------------------------------------------------------
   20. АДАПТИВ
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .phone-link span:last-child { display: none; }
}

@media (max-width: 1024px) {
    .nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-light);
    }

    .nav.active { display: flex; }
    .burger { display: flex; }
    .header-contact { display: none; }

    .hero-grid,
    .about-grid { grid-template-columns: 1fr; }

    .hero-video { max-width: 320px; }

    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .contacts-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    .brands-row { justify-content: center; gap: 40px; }

    .brand-hero-grid { grid-template-columns: 1fr; }
    .brand-hero-photo { order: -1; }

    .brand-products .products-grid { grid-template-columns: repeat(2, minmax(0, 340px)); }

    .prod-grid { grid-template-columns: 1fr; }

    .catalog-wrapper { grid-template-columns: 1fr; }

    .filters {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 2000;
        border-radius: 0;
        padding-top: 80px;
        max-height: none;
    }

    .filters.active { display: block; }
    .filters-close { display: block; }
    .filters-toggle { display: block; }

    .contacts-split { grid-template-columns: 1fr; }

    .stm-cards { grid-template-columns: 1fr; }
    .stm-split { grid-template-columns: 1fr; gap: 40px; }
    .stm-steps { grid-template-columns: repeat(2, 1fr); }
    .stm-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { padding: calc(var(--header-height) + 40px) 0 60px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { grid-template-columns: 1fr; }

    .section { padding: 60px 0; }

    .brands-grid,
    .benefits-grid,
    .contacts-grid { grid-template-columns: 1fr; }

    .about-features { grid-template-columns: 1fr; }

    .modal { padding: 28px 24px; }

    .brand-products .products-grid { grid-template-columns: minmax(0, 340px); }

    .catalog-section { padding: 40px 0 60px; }
    .catalog-toolbar { flex-direction: column; gap: 12px; }
    .catalog-actions { width: 100%; }
    .sort-select { width: 100%; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }

    .map-widget iframe { height: 320px; }

    .faq-section { padding: 40px 0 60px; }
    .faq-cta { padding: 28px 20px; }

    .stm-hero { padding: calc(var(--header-height) + 40px) 0 60px; }
    .stm-section { padding: 60px 0; }
    .stm-steps { grid-template-columns: 1fr; }
    .stm-form-wrap { padding: 32px 24px; }
    .stm-cta .btn { width: 100%; }
}

@media (max-width: 640px) {
    .brands-row { gap: 28px; }
    .brand-logo-icon { width: 72px; height: 72px; font-size: 32px; }
    .brand-logo-name { font-size: 13px; }
    .brand-popup { width: 180px; padding: 12px; }
    .brand-popup-image { font-size: 36px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .hero-video { max-width: 280px; }
}

/* ==========================================================================
   КОНЕЦ ФАЙЛА. Все новые стили добавляются ТОЛЬКО ниже этой линии.
   ========================================================================== */

   /* --------------------------------------------------------------------------
   [40] ЛЕНТА БРЕНДОВ: УВЕЛИЧЕННЫЕ РАЗМЕРЫ ЛОГОТИПОВ
   База и все градации масштабированы вверх.
   -------------------------------------------------------------------------- */
.brand-logo-icon { width: 140px; height: 140px; font-size: 56px; }

@media (min-width: 768px) {
    /* 6 брендов */
    .brands-row .brand-logo:first-child:nth-last-child(6) .brand-logo-icon,
    .brands-row .brand-logo:first-child:nth-last-child(6) ~ .brand-logo .brand-logo-icon {
        width: 156px; height: 156px;
    }

    /* 5 брендов */
    .brands-row .brand-logo:first-child:nth-last-child(5) .brand-logo-icon,
    .brands-row .brand-logo:first-child:nth-last-child(5) ~ .brand-logo .brand-logo-icon {
        width: 176px; height: 176px;
    }

    /* 4 бренда */
    .brands-row .brand-logo:first-child:nth-last-child(4) .brand-logo-icon,
    .brands-row .brand-logo:first-child:nth-last-child(4) ~ .brand-logo .brand-logo-icon {
        width: 196px; height: 196px;
    }

    /* 3 бренда */
    .brands-row .brand-logo:first-child:nth-last-child(3) .brand-logo-icon,
    .brands-row .brand-logo:first-child:nth-last-child(3) ~ .brand-logo .brand-logo-icon {
        width: 216px; height: 216px;
    }

    /* 2 бренда */
    .brands-row .brand-logo:first-child:nth-last-child(2) .brand-logo-icon,
    .brands-row .brand-logo:first-child:nth-last-child(2) ~ .brand-logo .brand-logo-icon {
        width: 240px; height: 240px;
    }

    /* 1 бренд */
    .brands-row .brand-logo:first-child:nth-last-child(1) .brand-logo-icon {
        width: 264px; height: 264px;
    }
}

@media (max-width: 640px) {
    .brand-logo-icon { width: 110px; height: 110px; font-size: 44px; }
}

/* --------------------------------------------------------------------------
   [41] ШАПКА: ГРАДИЕНТНЫЙ ЛОГОТИП + ВСПЫШКА, ТЕЛЕФОН И ПОЧТА КОЛОНКОЙ
   -------------------------------------------------------------------------- */

/* Логотип в шапке — градиент #9350E7 -> #603862, только текст */
.header .logo {
    background: linear-gradient(110deg,
        #9350E7 0%,
        #603862 40%,
        #d9b8ff 50%,
        #603862 60%,
        #9350E7 100%);
    background-size: 250% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #603862;
    transition: background-position 0.9s ease;
}

/* Мягкая вспышка, бегущая слева направо при наведении */
.header .logo:hover {
    background-position: 0% 0;
}

/* Телефон + почта аккуратной колонкой, кнопка остаётся справа */
.header-contact { gap: 16px; }

.hc-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.mail-link {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.mail-link:hover { color: var(--accent); }

@media (max-width: 1024px) {
    .hc-col { display: none; }
}

/* --------------------------------------------------------------------------
   [42] ЛЕНТА БРЕНДОВ: БЕЗ БЕЛЫХ КРУГОВ — ТОЛЬКО ЛОГОТИПЫ
   -------------------------------------------------------------------------- */
.brands-row .brand-logo-icon {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.brands-row .brand-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   [44] ЛЕНТА БРЕНДОВ: НОВЫЙ ФОН — сливово-фиолетовый шёлк с мягким бликом
   (цвета как у логотипа в шапке: #9350E7 и #603862)
   -------------------------------------------------------------------------- */
.brands-band {
    padding: 64px 0;
    background:
        /* 1. Растворение краёв в кремовый фон секции */
        linear-gradient(180deg,
            rgba(250, 243, 234, 1) 0%,
            rgba(250, 243, 234, 0) 24%,
            rgba(250, 243, 234, 0) 76%,
            rgba(250, 243, 234, 1) 100%),

        /* 2. Диагональный шёлковый блик */
        linear-gradient(115deg,
            rgba(255, 255, 255, 0) 25%,
            rgba(255, 255, 255, 0.40) 46%,
            rgba(255, 255, 255, 0.60) 50%,
            rgba(255, 255, 255, 0.40) 54%,
            rgba(255, 255, 255, 0) 75%),

        /* 3. Тёплое золотое свечение в центре (едва заметное) */
        radial-gradient(60% 120% at 50% 50%,
            rgba(212, 165, 116, 0.14) 0%,
            rgba(212, 165, 116, 0) 70%),

        /* 4. Основа: слива → фиолет → слива, плавно */
        linear-gradient(90deg,
            rgba(96, 56, 98, 0) 0%,
            rgba(96, 56, 98, 0.16) 10%,
            rgba(147, 80, 231, 0.26) 28%,
            rgba(147, 80, 231, 0.34) 50%,
            rgba(147, 80, 231, 0.26) 72%,
            rgba(96, 56, 98, 0.16) 90%,
            rgba(96, 56, 98, 0) 100%);
}

/* --------------------------------------------------------------------------
   [45] СТРАНИЦА КОНТАКТОВ: АДРЕСА СКЛАДОВ
   -------------------------------------------------------------------------- */
.warehouses { background: var(--light); }

.warehouse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.warehouse-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent);
    transition: var(--transition);
}

.warehouse-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.warehouse-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }

.warehouse-card p { font-size: 14px; color: var(--gray); margin-bottom: 8px; line-height: 1.6; }

.warehouse-card a { color: var(--accent-dark); font-weight: 700; font-size: 16px; }
.warehouse-card a:hover { color: var(--accent); }

.wh-note { font-style: italic; font-size: 13px !important; }

.warehouse-soon { border-top-color: var(--gray-light); opacity: 0.85; }

@media (max-width: 1024px) {
    .warehouse-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .warehouse-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   [46] СТМ: БЛОК «О ПРОИЗВОДСТВЕ» С КВАДРАТНЫМ ВИДЕО
   -------------------------------------------------------------------------- */
.stm-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.stm-about-text p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.stm-about-list {
    list-style: none;
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.stm-about-list li {
    position: relative;
    padding-left: 32px;
    font-weight: 600;
    font-size: 15px;
}

.stm-about-list li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 0;
}

/* Квадратное видео */
.stm-about-video {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #1a1a1a;
}

.stm-about-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .stm-about-grid { grid-template-columns: 1fr; }
    .stm-about-video { max-width: 560px; margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   [50] СТМ: СУПЕР-ПЛАВНЫЕ СТЫКИ
   Края блоков полностью растворяются в общем тоне #7A44A4,
   змейка живёт в середине блоков. Заменяет [48] и [49].
   -------------------------------------------------------------------------- */
.stm-page main > section:nth-of-type(odd) {
    background:
        linear-gradient(180deg,
            #7A44A4 0%,
            rgba(122, 68, 164, 0) 38%,
            rgba(122, 68, 164, 0) 62%,
            #7A44A4 100%),
        linear-gradient(90deg, #9350E7 0%, #603862 100%);
}

.stm-page main > section:nth-of-type(even) {
    background:
        linear-gradient(180deg,
            #7A44A4 0%,
            rgba(122, 68, 164, 0) 38%,
            rgba(122, 68, 164, 0) 62%,
            #7A44A4 100%),
        linear-gradient(90deg, #603862 0%, #9350E7 100%);
}

/* --------------------------------------------------------------------------
   [51] СТМ «О ПРОИЗВОДСТВЕ»: ТЕКСТ ЦВЕТА ЗОЛОТОЙ КНОПКИ (#d4a574)
   -------------------------------------------------------------------------- */
.stm-about-text p,
.stm-about-list li {
    color: #d4a574 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.stm-about-text a {
    color: #e8c28a;
    border-bottom: 1px solid rgba(232, 194, 138, 0.4);
}
.stm-about-text a:hover { color: #fff; }

/* Заголовок секции остаётся белым для контраста */
.stm-about-text .section-title { color: #fff !important; }

/* --------------------------------------------------------------------------
   [52] СТМ: СПИСОК С ГАЛОЧКАМИ — БЕЛЫЙ (золотыми остаются только абзацы)
   -------------------------------------------------------------------------- */
.stm-about-list li {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   [53] ВЫПАДАЮЩЕЕ МЕНЮ «НОВОСТИ / СТАТЬИ» В ШАПКЕ
   -------------------------------------------------------------------------- */
.nav-drop { position: relative; display: inline-block; }

.drop-arrow {
    font-size: 10px;
    opacity: 0.7;
    margin-left: 3px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.nav-drop:hover .drop-arrow { transform: rotate(180deg); }

.nav-drop-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translate(-50%, 8px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    padding: 8px;
    min-width: 170px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 60;
}

/* Невидимый «мостик», чтобы меню не закрывалось при движении мыши */
.nav-drop-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-drop-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
}

.nav-drop-menu a:hover { background: #FAF3EA; color: #b8935f; }

@media (max-width: 1024px) {
    .nav-drop { display: block; }
    .nav-drop-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 4px 0 4px 16px;
        min-width: 0;
    }
    .nav-drop-menu a { padding: 8px 0; }
}
/* --------------------------------------------------------------------------
   [54] ШАПКА: «НОВОСТИ ▾» НА ОДНОЙ ЛИНИИ С ОСТАЛЬНЫМ МЕНЮ
   -------------------------------------------------------------------------- */
.header .nav {
    display: flex;
    align-items: center;
}

.header .nav > a,
.header .nav > .nav-drop {
    display: inline-flex;
    align-items: center;
    align-self: center;
}

.header .nav-drop .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
/* --------------------------------------------------------------------------
   [55] МОБИЛЬНОЕ МЕНЮ: ПОДРУБРИКИ «ДЕРЕВОМ» ВНИЗ, КАК СНОСКИ
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .header .nav > .nav-drop {
        display: block;
        width: 100%;
    }

    .header .nav-drop .nav-link {
        width: 100%;
        justify-content: center;
    }

    /* Стрелка на мобильном не нужна — список и так раскрыт */
    .drop-arrow { display: none; }

    .nav-drop-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        min-width: 0;
        padding: 6px 0 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .nav-drop-menu a {
        padding: 6px 0;
        font-size: 13px;
        font-weight: 500;
        color: #6E655A;
        white-space: normal;
    }

    /* Тире-сноска перед подрубрикой */
    .nav-drop-menu a::before {
        content: "— ";
        opacity: 0.55;
    }

    .nav-drop-menu a:hover,
    .nav-drop-menu a:active {
        background: transparent;
        color: #b8935f;
    }
}

/* --------------------------------------------------------------------------
   [56] МОБИЛЬНАЯ ШАПКА: МЕНЮ СВОРАЧИВАЕТСЯ, БУРГЕР → КРЕСТИК
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

    /* Кнопка-бургер видна всегда */
    .header .burger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 80;
    }

    .header .burger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #1a1a1a;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    /* Бургер складывается в крестик, когда меню открыто */
    .header .burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .header .burger.active span:nth-child(2) { opacity: 0; }
    .header .burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Меню скрыто по умолчанию и раскрывается вниз панелью */
    .header .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFDF9;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 18px 20px 24px;
        display: none;
        z-index: 70;
    }

    .header .nav.active { display: flex; }
}

/* --------------------------------------------------------------------------
   [57] МОБИЛЬНОЕ ДРЕВО: БЕЗ СДВИГА ВЛЕВО ПРИ ТАПЕ
   (первый тап сразу открывает страницу)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .nav-drop:hover .nav-drop-menu,
    .nav-drop:focus-within .nav-drop-menu {
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-drop-menu a {
        transform: none !important;
    }
}
/* --------------------------------------------------------------------------
   [58] ОБЪЕДИНЁННЫЕ КАРТОЧКИ: чипсы фасовок в каталоге + плашка на детальной
   -------------------------------------------------------------------------- */
.weight-chips { display: flex; gap: 6px; flex-wrap: wrap; }

.wchip {
    padding: 4px 10px;
    border-radius: 100px;
    background: #F3EAE0;
    color: #6E655A;
    font-size: 12px;
    font-weight: 700;
}

.weight-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    flex-wrap: wrap;
}

.ws-label { font-weight: 700; font-size: 14px; color: #6E655A; }

.ws-pill {
    padding: 10px 18px;
    border-radius: 100px;
    border: 2px solid #EBDFCE;
    background: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ws-pill:hover { border-color: #d4a574; }

.ws-pill.on {
    border-color: #b8935f;
    background: #d4a574;
    color: #fff;
}

/* --------------------------------------------------------------------------
   [60] СТРАНИЦА БРЕНДОВ: КАРТОЧКИ В УМНЫХ СТРОКАХ (пирамидка / левая центровка)
   -------------------------------------------------------------------------- */
.brands-line .brand-card {
    width: 100%;
    height: 100%;
}

.brands-grid-rows .brands-line { gap: 24px; }

@media (max-width: 1024px) {
    .brands-grid-rows .brands-line--3,
    .brands-grid-rows .brands-line--2 { grid-template-columns: repeat(2, 1fr); }
    .brands-grid-rows .brands-line--2 > :nth-child(1),
    .brands-grid-rows .brands-line--2 > :nth-child(2) { grid-column: auto; }
    .brands-grid-rows .brands-line--1 { grid-template-columns: 1fr; }
    .brands-grid-rows .brands-line--1 > :nth-child(1) { grid-column: auto; }
}

@media (max-width: 640px) {
    .brands-grid-rows .brands-line--3 { grid-template-columns: 1fr; }
}
/* --------------------------------------------------------------------------
   [61] УМНЫЕ СТРОКИ БРЕНДОВ (главная + /brands/):
   3 — ровная тройка; 2 — пирамидка; 1 — по левой трети
   -------------------------------------------------------------------------- */
.brands-line {
    display: grid;
    gap: 24px;
}

.brands-line + .brands-line { margin-top: 32px; }

/* Ровная тройка */
.brands-line--3 { grid-template-columns: repeat(3, 1fr); }

/* Пирамидка: два бренда со сдвигом на полколонки */
.brands-line--2 { grid-template-columns: repeat(6, 1fr); }
.brands-line--2 > :nth-child(1) { grid-column: 2 / 4; }
.brands-line--2 > :nth-child(2) { grid-column: 4 / 6; }

/* Один бренд — центруем по левой трети */
.brands-line--1 { grid-template-columns: repeat(3, 1fr); }
.brands-line--1 > :nth-child(1) { grid-column: 1 / 2; justify-self: center; }

.brands-line .brand-logo,
.brands-line .brand-card { width: 100%; }

.brands-line .brand-logo { display: flex; justify-content: center; }

.brands-line .brand-card { height: 100%; }

@media (max-width: 1024px) {
    .brands-line--3,
    .brands-line--2 { grid-template-columns: repeat(2, 1fr); }
    .brands-line--2 > :nth-child(1),
    .brands-line--2 > :nth-child(2) { grid-column: auto; }
    .brands-line--1 { grid-template-columns: 1fr; }
    .brands-line--1 > :nth-child(1) { grid-column: auto; }
}

@media (max-width: 640px) {
    .brands-line--3 { grid-template-columns: 1fr; }
}
/* --------------------------------------------------------------------------
   [62] КЛИКАБИЛЬНЫЕ ЧИПСЫ ФАСОВОК В КАРТОЧКЕ КАТАЛОГА
   -------------------------------------------------------------------------- */
.wchip {
    border: none;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wchip:hover { background: #EBDFCE; transform: translateY(-1px); }

.wchip.on {
    background: #d4a574;
    color: #fff;
}
/* --------------------------------------------------------------------------
   [63] ПОДВАЛ КАРТОЧКИ: 1–3 ФАСОВКИ В ОДНУ СТРОКУ, 4+ — В ДВЕ
   -------------------------------------------------------------------------- */
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
}

.product-footer .weight-chips {
    flex-wrap: nowrap;
    gap: 4px;
}

.product-footer .wchip {
    padding: 4px 8px;
    font-size: 11px;
}

.product-footer .product-btn {
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* 4 и более фасовок — чипсы строкой сверху, кнопка ниже */
.product-footer--many {
    flex-wrap: wrap;
}

.product-footer--many .weight-chips {
    flex-wrap: wrap;
    width: 100%;
}

.product-footer--many .wchip {
    padding: 4px 10px;
    font-size: 12px;
}
/* --------------------------------------------------------------------------
   [65] БРЕНДЫ НА МОБИЛЬНЫХ: ГАРАНТИРОВАННО ОДНА КОЛОНКА
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .brands-grid-rows .brands-line,
    .brands-grid-rows .brands-line--3,
    .brands-grid-rows .brands-line--2,
    .brands-grid-rows .brands-line--1 {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .brands-grid-rows .brands-line > * {
        grid-column: auto !important;
        justify-self: stretch !important;
        width: 100% !important;
    }

    .brands-grid-rows .brands-line + .brands-line {
        margin-top: 24px !important;
    }
}
/* --------------------------------------------------------------------------
   [66] ДЕТАЛЬНАЯ БРЕНДА v2: герой, характеристики чипсами
   -------------------------------------------------------------------------- */
.bh { padding: 48px 0 56px; }

.bh-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.bh-logo {
    width: 120px; height: 120px;
    background: #fff;
    border: 1px solid #EBDFCE;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    padding: 14px;
    margin-bottom: 20px;
}
.bh-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.bh-tag {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #EBDFCE;
    border-radius: 100px;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: #b8935f; background: #fff;
    margin-bottom: 14px;
}

.bh-name { font-size: 44px; font-weight: 800; margin: 0 0 10px; }
.bh-sub { color: #b8935f; font-weight: 700; margin-bottom: 18px; }
.bh-about { color: #6E655A; line-height: 1.7; }

.bh-features { margin: 22px 0; }
.bh-features-title { font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.bh-features-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bh-chip {
    padding: 8px 14px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid #EBDFCE;
    font-size: 13px; font-weight: 600;
    color: #6E655A;
}

.bh-stats { display: flex; gap: 40px; margin: 26px 0; flex-wrap: wrap; }
.bh-stat b { display: block; font-size: 28px; font-weight: 800; color: #d4a574; }
.bh-stat span { font-size: 12px; color: #6E655A; }

.bh-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.bh-photo { background: #FAF7F2; border-radius: 24px; padding: 28px; }
.bh-photo img { width: 100%; border-radius: 16px; }

.bh-products { padding: 8px 0 64px; }

@media (max-width: 1024px) {
    .bh-grid { grid-template-columns: 1fr; }
    .bh-name { font-size: 34px; }
}
/* --------------------------------------------------------------------------
   [67] ДЕТАЛЬНАЯ БРЕНДА: ДОПИЛ СЕТКИ И УБРАЛ КРУГИ В «ДРУГИХ БРЕНДАХ»
   -------------------------------------------------------------------------- */

/* Логотипы без белых кругов — и на детальной, и на главной */
.brands-line .brand-logo-icon {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.brands-line .brand-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Логотип бренда в шапке детальной — аккуратный квадрат */
.bh-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Сетка товаров бренда — ровные карточки */
.bh-products .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

@media (max-width: 640px) {
    .bh-products .products-grid { grid-template-columns: 1fr; }
}
/* --------------------------------------------------------------------------
   [68] «ДРУГИЕ БРЕНДЫ» — ВСЕ В ОДНУ СТРОКУ, ПО ЦЕНТРУ
   -------------------------------------------------------------------------- */
.brands-line--all {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
}

.brands-line--all .brand-logo {
    width: 150px;
    display: flex;
    justify-content: center;
}

.brands-line--all .brand-logo-icon {
    width: 150px;
    height: 110px;
}

@media (max-width: 640px) {
    .brands-line--all { gap: 28px; }
    .brands-line--all .brand-logo,
    .brands-line--all .brand-logo-icon { width: 110px; height: 80px; }
}
/* --------------------------------------------------------------------------
   [69] COOKIES-БАННЕР (152-ФЗ / GDPR)
   -------------------------------------------------------------------------- */
#cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: #fff8e7;
    border: 2px solid #D4A017;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.5;
    color: #2E2A26;
    max-width: 1200px;
    margin: 0 auto;
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { margin: 0; flex: 1 1 320px; }
#cookie-banner a { color: #D4A017; text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: .2s;
}
.cookie-btn-accept {
    background: #D4A017;
    color: #fff;
}
.cookie-btn-accept:hover { background: #b8890f; }
.cookie-btn-decline {
    background: #fff;
    color: #2E2A26;
    border: 1px solid #E0D9C9;
}
.cookie-btn-decline:hover { background: #f5f0e2; }
@media (max-width: 640px) {
    #cookie-banner { flex-direction: column; align-items: flex-start; padding: 16px; }
    .cookie-buttons { width: 100%; }
    .cookie-btn { flex: 1; }
}