/*
Theme Name:   GeneratePress Child
Theme URI:    https://generatepress.com
Description:  Industrial Premium — кастомная тема для ARKADABEL
Author:       Tom Usborne
Author URI:   https://tomusborne.com
Template:     generatepress
Version:      1.0
*/

/* ========================================
   1. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ И СБРОСЫ
   ======================================== */
:root {
    --primary: #0F2B4C;
    --primary-light: #1A3B66;
    --accent: #C89B3C;
    --accent-hover: #B0882A;
    --bg-light: #F4F6F9;
    --text-dark: #1A202C;
    --text-muted: #4A5568;
    --white: #FFFFFF;
    --shadow: 0 8px 30px rgba(0,0,0,0.08);
    --radius: 10px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
}

/* ========================================
   2. ШАПКА (HEADER)
   ======================================== */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--primary);
    padding: 12px 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    border-bottom: 1px solid #EDF2F7;
}

/* Логотип */
.site-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.site-logo .site-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.site-logo .site-title:hover {
    color: var(--accent);
}

.site-logo img {
    max-height: 48px;
    width: auto;
}

/* Поиск */
.header-search {
    flex: 1 1 320px;
    min-width: 180px;
    display: flex;
}

.header-search form {
    display: flex;
    width: 100%;
    background: var(--bg-light);
    border-radius: 60px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.header-search form:focus-within {
    box-shadow: 0 0 0 3px rgba(15, 43, 76, 0.15);
}

.header-search input[type="search"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    outline: none;
    min-width: 100px;
}

.header-search input[type="search"]::placeholder {
    color: #A0AEC0;
}

.header-search button {
    flex: 0 0 auto;
    background: var(--primary);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    color: var(--white);
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search button:hover {
    background: var(--primary-light);
}

.header-search button svg {
    display: block;
    flex-shrink: 0;
}

/* Контакты */
.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.phone-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.phone-link:hover {
    color: var(--accent);
}

.work-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Корзина */
.header-cart {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.cart-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    padding: 6px 10px;
    border-radius: 30px;
    transition: background 0.2s;
    position: relative;
}

.cart-link:hover {
    background: var(--bg-light);
}

.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon svg {
    stroke: var(--primary);
    flex-shrink: 0;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -4px;
    background: #E53E3E;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(229,62,62,0.3);
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

/* Меню */
.main-navigation {
    background: var(--primary);
    padding: 0 24px;
}

.primary-menu {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 32px;
    padding: 10px 0;
}

.primary-menu a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.primary-menu a:hover {
    color: var(--accent);
}

.primary-menu .current-menu-item a {
    color: var(--accent);
}

/* Бургер */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.burger-line {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .burger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .burger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ========================================
   3. ФУТЕР (FOOTER)
   ======================================== */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    margin-top: 60px;
    padding-top: 50px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
    flex: 1 1 200px;
    min-width: 180px;
}

.footer-col-brand {
    flex: 2 1 280px;
}

.footer-col-contacts {
    flex: 1.5 1 240px;
}

.footer-site-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-site-title:hover {
    color: var(--accent);
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    margin: 12px 0 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-col-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contacts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacts-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}

.footer-contacts-list svg {
    flex-shrink: 0;
    margin-top: 3px;
    stroke: var(--accent);
}

.footer-contacts-list a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contacts-list a:hover {
    color: var(--accent);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 16px 0;
}

.footer-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--accent);
}

.footer-divider {
    margin: 0 8px;
    opacity: 0.3;
}

/* ========================================
   4. ГАЛЕРЕЯ ТОВАРА
   ======================================== */
.product-gallery-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid #EDF2F7;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    flex: 0 0 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    padding: 20px;
}

.slide img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.slide:hover img {
    transform: scale(1.02);
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--primary);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 20px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15,43,76,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(200,155,60,0.4);
    transform: translateY(-50%) scale(1.08);
}

.slider-prev:active,
.slider-next:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-prev {
    left: 16px;
}

.slider-next {
    right: 16px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 18px 0 16px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dots .dot:hover {
    background: #A0AEC0;
    transform: scale(1.15);
}

.slider-dots .dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(200,155,60,0.3);
}

.slider-counter {
    position: absolute;
    bottom: 80px;
    right: 20px;
    background: rgba(15,43,76,0.85);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 5;
}

.product-gallery-placeholder {
    width: 100%;
    max-width: 600px;
    min-height: 400px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 2px dashed #CBD5E0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A0AEC0;
    font-size: 1rem;
}

.product-gallery-placeholder svg {
    margin-right: 12px;
    opacity: 0.5;
}

/* ========================================
   5. СТРАНИЦА ТОВАРА (SINGLE PRODUCT)
   ======================================== */
.container.single-product {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid #EDF2F7;
}

.product-gallery {
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.product-gallery-slider {
    max-width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 4px;
    line-height: 1.2;
}

.product-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-bottom: 12px;
}

.part-number {
    display: inline-block;
    background: var(--bg-light);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.product-description {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
    padding: 8px 0;
}

.product-description p {
    margin: 0 0 12px;
}

.product-specs {
    margin-top: 8px;
}

.product-specs h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.product-specs table tr {
    border-bottom: 1px solid #E2E8F0;
}

.product-specs table tr:last-child {
    border-bottom: none;
}

.product-specs table th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--text-muted);
    width: 40%;
    background: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.product-specs table td {
    padding: 12px 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 20px;
    margin-top: 8px;
}

.add-to-cart-btn {
    flex: 1 1 auto;
    min-width: 180px;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(200,155,60,0.3);
    transform: translateY(-2px);
}

.request-price {
    flex: 0 0 auto;
    padding: 14px 28px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.request-price:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(15,43,76,0.2);
}

/* ========================================
   6. КАТАЛОГ И КАРТОЧКИ ТОВАРОВ
   ======================================== */
.product-grid {
    width: 100%;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.product-card {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #EDF2F7;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 6px 12px rgba(0,0,0,0.05);
    border-color: var(--accent);
}

.product-card .product-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: var(--bg-light);
    overflow: hidden;
}

.product-card .product-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.product-card .product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: translate(-50%, -50%) scale(1.05);
}

.product-card .product-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 16px 16px 6px;
    color: var(--primary);
}

.product-card .product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.product-card .product-title a:hover {
    color: var(--accent);
}

.product-card .product-part-number {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 16px 8px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.product-card .product-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 16px 12px;
    line-height: 1.5;
    flex-grow: 1;
}

.product-card .product-excerpt p {
    margin: 0;
}

.product-card .product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 16px 12px;
}

.product-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-card .product-actions {
    display: flex;
    gap: 10px;
    margin: 0 16px 16px;
}

.product-card .add-to-cart-btn {
    flex: 1;
    padding: 10px 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
}

.product-card .add-to-cart-btn:hover {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(200,155,60,0.25);
    transform: translateY(-2px);
}

.product-card .product-details-link {
    flex: 0 0 auto;
    padding: 10px 16px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.product-card .product-details-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.catalog-description {
    margin-bottom: 30px;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

.catalog-description p {
    margin: 0 0 12px;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ========================================
   7. СТРАНИЦА ПОИСКА
   ======================================== */
.search-not-found {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.search-not-found h3 {
    margin-top: 30px;
    color: var(--primary);
}

.search-not-found ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.search-not-found ul li a {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-light);
    border-radius: 20px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

.search-not-found ul li a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   8. КОРЗИНА И СООБЩЕНИЯ
   ======================================== */
#order-message {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#order-message.success {
    background: #eafaf1;
    color: #27ae60;
    border: 1px solid #27ae60;
}

#order-message.error {
    background: #fdedec;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* ========================================
   9. ГЕРОЙ-СЛАЙДЕР
   ======================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 900px;
    overflow: hidden;
    background: var(--primary);
}

.hero-slider .slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slider .slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,43,76,0.6);
    background: linear-gradient(135deg, rgba(15,43,76,0.85) 0%, rgba(15,43,76,0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 24px;
}

.slide-content {
    /* max-width: 700px; */
    margin-left: 5%;
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-content {
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.slide-title {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.slide-text {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 550px;
}

.slide-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200,155,60,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.hero-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border: none;
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-slider .slider-btn svg {
    width: 24px;
    height: 24px;
    stroke: #FFFFFF;
    stroke-width: 2;
    fill: none;
    display: block;
    flex-shrink: 0;
}

.hero-slider .slider-btn:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.05);
}

.hero-slider .slider-btn:hover svg {
    stroke: var(--white);
}

.hero-slider .slider-prev {
    left: 24px;
}

.hero-slider .slider-next {
    right: 24px;
}

.hero-slider .slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-slider .slider-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-slider .slider-dots span.active {
    background: var(--accent);
    transform: scale(1.2);
}

.hero-slider .slider-dots span:hover {
    background: rgba(255,255,255,0.6);
}

/* ========================================
   10. АДАПТИВ (MEDIA QUERIES)
   ======================================== */

/* Планшеты и маленькие десктопы */
@media (max-width: 1000px) {
	h1 {
    	font-size: 20px;
    }

    .header-container {
        gap: 12px 20px;
    }
    
    .header-search {
        flex: 1 1 240px;
        min-width: 140px;
    }
    
    .header-contacts {
        align-items: flex-start;
    }
    
    .primary-menu {
        gap: 20px;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .footer-col-brand {
        flex: 1 1 100%;
    }
    
    .footer-col {
        flex: 1 1 45%;
        min-width: 200px;
    }
    
    .product-gallery-slider {
        max-width: 100%;
    }
    
    .slide {
        min-height: 350px;
    }
    
    .slide img {
        max-height: 400px;
    }
    
    .container.single-product {
        padding: 24px 16px;
    }
    
    .product-layout {
        gap: 40px;
        padding: 30px;
    }
    
    .product-title {
        font-size: 1.6rem;
    }
    
    .hero-slider .slide-title {
        font-size: 2.8rem;
    }
    
    .hero-slider .slide-content {
        margin-left: 0;
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Планшеты вертикальные и большие телефоны (до 992px) */
@media (max-width: 1000px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 24px;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .product-gallery-slider {
        max-width: 100%;
        max-height: 500px;
    }
    
    .product-info {
        gap: 16px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .add-to-cart-btn,
    .request-price {
        width: 100%;
        justify-content: center;
    }
    
    .product-gallery-slider .slide {
        min-height: 300px;
    }
    
    .product-gallery-slider .slide img {
        max-height: 400px;
    }
}

/* Мобильные (до 800px) */
@media (max-width: 1000px) {
    .site-header {
        padding: 8px 0 0;
    }
    
    .header-container {
        padding: 0 16px 10px;
        flex-wrap: wrap;
        gap: 8px 12px;
        align-items: center;
        justify-content: space-between;
    }
    
    .site-logo {
        order: 1;
        flex: 0 0 auto;
    }
    
    .site-logo .site-title {
        font-size: 1.2rem;
    }
    
    .site-logo img {
        max-height: 36px;
    }
    
    .header-contacts {
        order: 2;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex: 1 1 auto;
        justify-content: flex-end;
    }
    
    .phone-link {
        font-size: 0.9rem;
    }
    
    .work-time {
        display: none;
    }
    
    .header-cart {
        order: 3;
    }
    
    .header-cart .cart-count {
        min-width: 18px;
        height: 18px;
        font-size: 9px;
        top: -4px;
        right: -2px;
    }
    
    .cart-link {
        padding: 4px 6px;
    }
    
    .cart-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .menu-toggle {
        display: flex;
        order: 4;
        margin-left: 4px;
    }
    
    .header-search {
        order: 5;
        flex: 1 1 100%;
        min-width: unset;
        width: 100%;
    }
    
    .header-search input[type="search"] {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .header-search button {
        padding: 0 16px;
    }
    
    .header-search button svg {
        width: 18px;
        height: 18px;
    }
    
    .main-navigation {
        order: 6;
        flex: 1 1 100%;
        padding: 0 16px;
        background: var(--primary);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
    }
    
    .main-navigation.open {
        max-height: 500px;
        padding: 12px 16px;
        overflow-y: auto;
    }
    
    .primary-menu {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
    }
    
    .primary-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .primary-menu li:last-child {
        border-bottom: none;
    }
    
    .primary-menu a {
        display: block;
        padding: 12px 8px;
        color: rgba(255,255,255,0.9);
        font-size: 0.95rem;
        letter-spacing: 0.3px;
        text-decoration: none;
        transition: all 0.2s;
    }
    
    .primary-menu a:hover {
        color: var(--accent);
        padding-left: 16px;
        background: rgba(255,255,255,0.05);
    }
    
    .primary-menu .current-menu-item a {
        color: var(--accent);
        background: rgba(200,155,60,0.1);
    }
    
    .product-grid {
        gap: 16px;
        padding: 8px;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    
    .product-card .product-actions {
        flex-direction: column;
    }
    
    .product-card .add-to-cart-btn,
    .product-card .product-details-link {
        width: 100%;
        justify-content: center;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-col {
        flex: 1 1 100%;
        min-width: unset;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .product-gallery-slider {
        border-radius: 8px;
    }
    
    .product-gallery-slider .slide {
        min-height: 280px;
        padding: 12px;
    }
    
    .product-gallery-slider .slide img {
        max-height: 320px;
    }
    
    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .slider-prev {
        left: 8px;
    }
    
    .slider-next {
        right: 8px;
    }
    
    .slider-dots {
        padding: 12px 0 10px;
        gap: 8px;
    }
    
    .slider-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-counter {
        bottom: 60px;
        right: 12px;
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    
    .container.single-product {
        padding: 16px 12px;
    }
    
    .product-layout {
        padding: 16px;
        gap: 20px;
        border-radius: 8px;
    }
    
    .product-gallery-slider {
        max-height: 380px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .product-description {
        font-size: 0.95rem;
    }
    
    .product-specs table {
        font-size: 0.85rem;
    }
    
    .product-specs table th,
    .product-specs table td {
        padding: 10px 12px;
    }
    
    .product-specs table th {
        width: 35%;
        font-size: 0.8rem;
    }
    
    .add-to-cart-btn,
    .request-price {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-slider {
        height: 100vh;
        min-height: 400px;
        max-height: 700px;
    }
    
    .hero-slider .slide-title {
        font-size: 2rem;
    }
    
    .hero-slider .slide-text {
        font-size: 1rem;
    }
    
    .hero-slider .slide-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-slider .btn {
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }
    
    .hero-slider .slide-overlay {
        padding: 60px 16px;
        align-items: center;
        text-align: center;
    }
    
    .hero-slider .slide-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-slider .slide-buttons {
        align-items: center;
    }
    
    .hero-slider .slider-btn {
        width: 44px;
        height: 44px;
        background: rgba(0,0,0,0.4);
        backdrop-filter: blur(2px);
    }
    
    .hero-slider .slider-btn svg {
        width: 20px;
        height: 20px;
        stroke: #FFFFFF;
        stroke-width: 2.5;
        flex-shrink: 0;
        display: block;
    }
    
    .hero-slider .slider-prev {
        left: 8px;
    }
    
    .hero-slider .slider-next {
        right: 8px;
    }
    
    .hero-slider .slider-dots {
        bottom: 20px;
        gap: 8px;
    }
    
    .hero-slider .slider-dots span {
        width: 10px;
        height: 10px;
    }
}

/* Очень маленькие телефоны (до 480px) */
@media (max-width: 1000px) {
    .header-container {
        padding: 0 12px 8px;
        gap: 6px 8px;
    }
    
    .site-logo .site-title {
        font-size: 1rem;
    }
    
    .site-logo img {
        max-height: 30px;
    }
    
    .phone-link {
        font-size: 0.75rem;
    }
    
    .cart-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .header-cart .cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 8px;
        top: -3px;
        right: -1px;
    }
    
    .menu-toggle {
        width: 26px;
        height: 18px;
    }
    
    .burger-line {
        height: 2.5px;
    }
    
    .menu-toggle.active .burger-line:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    
    .menu-toggle.active .burger-line:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
    
    .header-search input[type="search"] {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .header-search button {
        padding: 0 12px;
    }
    
    .header-search button svg {
        width: 16px;
        height: 16px;
    }
    
    .primary-menu a {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .product-grid {
        gap: 12px;
        padding: 6px;
        justify-content: center;
    }
    
    .product-card {
        flex: 0 0 calc(100% - 0px);
        max-width: 100%;
    }
    
    .product-card .product-title {
        font-size: 0.95rem;
    }
    
    .product-card .product-price {
        font-size: 1.1rem;
    }
    
    .product-card .add-to-cart-btn,
    .product-card .product-details-link {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
    
    .product-gallery-slider .slide {
        min-height: 200px;
        padding: 8px;
    }
    
    .product-gallery-slider .slide img {
        max-height: 240px;
    }
    
    .slider-prev,
    .slider-next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .slider-dots {
        padding: 8px 0 6px;
        gap: 6px;
    }
    
    .slider-dots .dot {
        width: 6px;
        height: 6px;
    }
    
    .slider-counter {
        bottom: 48px;
        right: 8px;
        font-size: 0.6rem;
        padding: 2px 8px;
    }
    
    .container.single-product {
        padding: 12px 8px;
    }
    
    .product-layout {
        padding: 12px;
        gap: 16px;
    }
    
    .product-gallery-slider {
        max-height: 280px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-meta {
        font-size: 0.8rem;
    }
    
    .part-number {
        font-size: 0.75rem;
        padding: 3px 12px;
    }
    
    .product-specs table {
        font-size: 0.8rem;
    }
    
    .product-specs table th,
    .product-specs table td {
        padding: 8px 10px;
    }
    
    .product-specs table th {
        width: 40%;
        font-size: 0.75rem;
    }
    
    .add-to-cart-btn,
    .request-price {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 20px;
    }
}

.container {
	width: 90%;
    margin: 0 auto;
}






/* Мобильные (до 800px) */
@media (max-width: 1000px) {
    .site-header {
        padding: 8px 0 0;
    }
    
    .header-container {
        padding: 0 16px 10px;
        flex-wrap: wrap;
        gap: 8px 12px;
        align-items: center;
        justify-content: space-between;
    }
    
    .site-logo {
        order: 1;
        flex: 0 0 auto;
    }
    
    .site-logo .site-title {
        font-size: 1.2rem;
    }
    
    .site-logo img {
        max-height: 36px;
    }
    
    .header-contacts {
        order: 2;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex: 1 1 auto;
        justify-content: flex-end;
    }
    
    .phone-link {
        font-size: 0.9rem;
    }
    
    .work-time {
        display: none;
    }
    
    .header-cart {
        order: 3;
    }
    
    .header-cart .cart-count {
        min-width: 18px;
        height: 18px;
        font-size: 9px;
        top: -4px;
        right: -2px;
    }
    
    .cart-link {
        padding: 4px 6px;
    }
    
    .cart-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .menu-toggle {
        display: flex;
        order: 4;
        margin-left: 4px;
    }
    
    .header-search {
        order: 5;
        flex: 1 1 100%;
        min-width: unset;
        width: 100%;
    }
    
    .header-search input[type="search"] {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .header-search button {
        padding: 0 16px;
    }
    
    .header-search button svg {
        width: 18px;
        height: 18px;
    }
    
    /* ===== МЕНЮ — ПЕРЕОПРЕДЕЛЯЕМ СТИЛИ GENERATEPRESS ===== */
    .main-navigation {
        order: 6 !important;
        flex: 1 1 100% !important;
        padding: 0 16px !important;
        background: var(--primary) !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s ease, padding 0.3s ease !important;
        opacity: 0 !important;
        visibility: hidden !important;
        border-top: none !important;
        box-shadow: none !important;
        display: block !important;
    }
    
    .main-navigation.open {
        max-height: 600px !important;
        padding: 12px 16px !important;
        overflow-y: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    /* Переопределяем фон от GeneratePress */
    .main-navigation,
    .main-navigation ul ul {
        background-color: var(--primary) !important;
    }
    
    .primary-menu {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
    }
    
    .primary-menu li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
        margin: 0 !important;
        list-style: none !important;
        padding: 0 !important;
    }
    
    .primary-menu li:last-child {
        border-bottom: none !important;
    }
    
    .primary-menu a {
        display: block !important;
        padding: 14px 8px !important;
        color: rgba(255,255,255,0.9) !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.3px !important;
        text-decoration: none !important;
        transition: all 0.2s !important;
        background: transparent !important;
        line-height: 1.4 !important;
        border: none !important;
        margin: 0 !important;
    }
    
    .primary-menu a:hover {
        color: var(--accent) !important;
        padding-left: 16px !important;
        background: rgba(255,255,255,0.05) !important;
    }
    
    .primary-menu .current-menu-item a,
    .primary-menu .current_page_item a {
        color: var(--accent) !important;
        background: rgba(200, 155, 60, 0.1) !important;
    }
    
    /* Остальные стили */
    .product-grid {
        gap: 16px;
        padding: 8px;
    }
    
    .product-card {
        /* flex: 0 0 calc(50% - 8px); */
        /* max-width: calc(50% - 8px); */
        width: 100%;
    }
    
    .product-card .product-actions {
        flex-direction: column;
    }
    
    .product-card .add-to-cart-btn,
    .product-card .product-details-link {
        width: 100%;
        justify-content: center;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-col {
        flex: 1 1 100%;
        min-width: unset;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .product-gallery-slider {
        border-radius: 8px;
    }
    
    .product-gallery-slider .slide {
        min-height: 280px;
        padding: 12px;
    }
    
    .product-gallery-slider .slide img {
        max-height: 320px;
    }
    
    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .slider-prev {
        left: 8px;
    }
    
    .slider-next {
        right: 8px;
    }
    
    .slider-dots {
        padding: 12px 0 10px;
        gap: 8px;
    }
    
    .slider-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-counter {
        bottom: 60px;
        right: 12px;
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    
    .container.single-product {
        padding: 16px 12px;
    }
    
    .product-layout {
        padding: 16px;
        gap: 20px;
        border-radius: 8px;
    }
    
    .product-gallery-slider {
        max-height: 380px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .product-description {
        font-size: 0.95rem;
    }
    
    .product-specs table {
        font-size: 0.85rem;
    }
    
    .product-specs table th,
    .product-specs table td {
        padding: 10px 12px;
    }
    
    .product-specs table th {
        width: 35%;
        font-size: 0.8rem;
    }
    
    .add-to-cart-btn,
    .request-price {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-slider {
        height: 100vh;
        min-height: 400px;
        max-height: 700px;
    }
    
    .hero-slider .slide-title {
        font-size: 2rem;
    }
    
    .hero-slider .slide-text {
        font-size: 1rem;
    }
    
    .hero-slider .slide-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-slider .btn {
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }
    
    .hero-slider .slide-overlay {
        padding: 60px 16px;
        align-items: center;
        text-align: center;
    }
    
    .hero-slider .slide-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-slider .slide-buttons {
        align-items: center;
    }
    
    .hero-slider .slider-btn {
        width: 44px;
        height: 44px;
        background: rgba(0,0,0,0.4);
        backdrop-filter: blur(2px);
    }
    
    .hero-slider .slider-btn svg {
        width: 20px;
        height: 20px;
        stroke: #FFFFFF;
        stroke-width: 2.5;
        flex-shrink: 0;
        display: block;
    }
    
    .hero-slider .slider-prev {
        left: 8px;
    }
    
    .hero-slider .slider-next {
        right: 8px;
    }
    
    .hero-slider .slider-dots {
        bottom: 20px;
        gap: 8px;
    }
    
    .hero-slider .slider-dots span {
        width: 10px;
        height: 10px;
    }
}

/* ===== ДОПОЛНИТЕЛЬНО: ПЕРЕОПРЕДЕЛЯЕМ СТИЛИ GENERATEPRESS ДЛЯ ВСЕХ ЭКРАНОВ ===== */
/* Эти стили нужны, чтобы на всех экранах меню было тёмным */

.main-navigation,
.main-navigation ul ul {
    background-color: var(--primary) !important;
}

.main-navigation .primary-menu > li > a {
    color: rgba(255,255,255,0.9) !important;
}

.main-navigation .primary-menu > li > a:hover {
    color: var(--accent) !important;
}

.main-navigation .primary-menu .current-menu-item > a,
.main-navigation .primary-menu .current_page_item > a {
    color: var(--accent) !important;
}

/* Для десктопов показываем меню */
@media (min-width: 1000px) {
    .main-navigation {
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0 24px !important;
        background: var(--primary) !important;
        display: block !important;
    }
    
    .main-navigation.open {
        max-height: none !important;
        padding: 0 24px !important;
        border-top: none !important;
    }
    
    .primary-menu {
        flex-direction: row !important;
        gap: 32px !important;
        padding: 10px 0 !important;
        flex-wrap: wrap !important;
    }
    
    .primary-menu li {
        border-bottom: none !important;
        width: auto !important;
    }
    
    .primary-menu a {
        padding: 0 !important;
        color: rgba(255,255,255,0.9) !important;
        font-size: 0.95rem !important;
        background: transparent !important;
        display: inline-block !important;
    }
    
    .primary-menu a:hover {
        padding-left: 0 !important;
        background: transparent !important;
    }
}



/* ========================================
   11. КОНТЕНТ ГЛАВНОЙ СТРАНИЦЫ
   ======================================== */

/* Контейнер для контента страницы */
.page-content .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* ===== Заголовки в контенте ===== */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
    color: var(--primary);
}

.page-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 50px 0 25px;
    position: relative;
}

.page-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.page-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 6px;
}

/* ===== Параграфы ===== */
.page-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0 0 16px;
}

.page-content p:last-child {
    margin-bottom: 0;
}

/* ===== Преимущества (колонки) ===== */
.page-content .wp-block-columns {
    display: flex;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin: 30px 0 !important;
}

.page-content .wp-block-column {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #0f2a4c;
}

.page-content .wp-block-column:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.page-content .wp-block-column .emoji {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 12px !important;
    display: block;
}

.page-content .wp-block-column p {
    font-size: 0.95rem;
    margin: 0;
}

.page-content .wp-block-column p:first-of-type {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 6px;
}

/* ===== Бренды (список) ===== */
.page-content .wp-block-paragraph:has(strong) + p,
.page-content p:has(WIRTGEN) {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-muted);
    padding: 20px 0;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid #EDF2F7;
    margin: 20px 0 30px;
}

/* ===== Стили для текста "О компании" ===== */
.page-content h2:has(+ p) {
    margin-top: 40px;
}

.page-content .wp-block-paragraph:has(strong) {
    text-align: center;
}

/* ========================================
   АДАПТИВ ДЛЯ КОНТЕНТА ГЛАВНОЙ
   ======================================== */

@media (max-width: 1024px) {
    .page-content .wp-block-columns {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .page-content .container {
        padding: 20px 16px;
    }
    
    .page-content h1 {
        font-size: 1.8rem;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
        margin: 30px 0 18px;
    }
    
    .page-content p {
        font-size: 0.95rem;
    }
    
    .page-content .wp-block-columns {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
    
    .page-content .wp-block-column {
        padding: 20px 14px;
    }
    
    .page-content .wp-block-column .emoji {
        width: 36px !important;
        height: 36px !important;
    }
}

@media (max-width: 480px) {
    .page-content .wp-block-columns {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .page-content h1 {
        font-size: 1.5rem;
    }
    
    .page-content h2 {
        font-size: 1.3rem;
    }
}

/* ========================================
   БРЕНДЫ — СЕТКА КАРТОЧЕК (FLEX)
   ======================================== */

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 160px;
    padding: 20px 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid #EDF2F7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    min-height: 70px;
    text-align: center;
}

.brand-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    background: var(--white);
    box-shadow: var(--shadow);
}

.brand-item .brand-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.3px;
}

/* ========================================
   АДАПТИВ БРЕНДОВ
   ======================================== */

@media (max-width: 1024px) {
    .brand-item {
        flex: 0 1 140px;
        padding: 16px 12px;
        min-height: 60px;
    }
}

@media (max-width: 768px) {
    .brand-item {
        flex: 0 1 120px;
        padding: 14px 10px;
        min-height: 54px;
    }
    
    .brand-item .brand-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .brand-item {
        flex: 0 1 100px;
        padding: 12px 8px;
        min-height: 48px;
    }
    
    .brand-item .brand-name {
        font-size: 0.75rem;
    }
}