/*
Theme Name: SandverLux Doors
Theme URI: https://sandverlux.by
Author: SandverLux
Author URI: https://sandverlux.by
Description: Двери в Минске. Новая услуга SandverLux: каталог, заявки, SEO.
Version: 1.1.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sandverlux
Tags: custom-menu, custom-logo, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, wide-blocks, woocommerce

SandverLux — двери sandverlux.by
*/

/* ============================================
   CSS Variables — Цвета и стили
   ============================================ */
   :root {
    --ec-white: #ffffff;
    --ec-ash-100: #f5f5f5;
    --ec-ash-200: #e8e8e8;
    --ec-ash-300: #b8b8b8;
    --ec-ash-600: #4a4a4a;
    --ec-ash-800: #2d2d2d;
    --ec-ash-900: #1a1a1a;
    --ec-ash-dark: #121212;
    /* Brand accent — золото (кнопки, ссылки, акценты) */
    --ec-red: #d4aa4a;
    --ec-red-dark: #b98a2e;
    --ec-red-light: #f0e6c8;
    
    --ec-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ec-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --ec-transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --ec-radius: 8px;
    --ec-radius-lg: 12px;
    --ec-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --ec-shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  
    /* Макет: общая ширина контейнера */
    --ec-layout-max: 1500px;
  
    /* Премиум-палитра (шапка/акценты) */
    --ec-gold: #d4aa4a;
    --ec-gold-dark: #b98a2e;
    --ec-gold-soft: rgba(212, 170, 74, 0.22);
    --ec-dark-950: #070707;
    --ec-dark-900: #101112;
    --ec-dark-800: #17181a;
  }
  
  /* ============================================
     Reset & Base
     ============================================ */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: var(--ec-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ec-ash-800);
    background-color: var(--ec-white);
    background-image: url("https://test.j2moto.by/wp-content/uploads/2026/04/j2-background_clear.webp");
    background-repeat: repeat;
    background-position: top center;
    background-size: auto;
    background-attachment: fixed;
    overflow-x: hidden;
  }
  
  /* macOS Safari: упрощаем тяжёлые эффекты для плавного скролла */
  html.ec-mac-safari {
    scroll-behavior: auto;
  }
  .ec-mac-safari .ecw-blur-layer {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .ec-mac-safari .ecw-marquee-wrapper,
  .ec-mac-safari .ecw-glass-item,
  .ec-mac-safari .ec-footer-card,
  .ec-mac-safari .ec-adv-card,
  .ec-mac-safari .ec-request-modal__backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .ec-mac-safari .ecw-marquee-track {
    animation-duration: 55s !important;
  }
  
  /* Баннер согласия с cookie — карточка внизу экрана */
  .ec-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10090;
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    font-family: var(--ec-font);
    pointer-events: none;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  }
  .ec-cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
  }
  .ec-cookie-banner__wrap {
    pointer-events: auto;
    max-width: 440px;
    margin: 0 auto;
  }
  
  /* ПК: справа снизу */
  @media (min-width: 992px) {
    .ec-cookie-banner {
      left: auto;
      right: 18px;
      bottom: 18px;
      padding: 0;
      padding-bottom: 0;
      max-width: none;
    }
    .ec-cookie-banner__wrap {
      margin: 0;
    }
  }
  .ec-cookie-banner__card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 1.35rem 1.5rem 1.5rem 1.35rem;
    padding-left: calc(0.75rem + 4px);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12), 0 4px 14px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }
  .ec-cookie-banner__card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #0088ff;
    border-radius: 18px 0 0 18px;
  }
  .ec-cookie-banner__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    color: #333333;
  }
  .ec-cookie-banner__icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
  }
  .ec-cookie-banner__text {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #666666;
  }
  .ec-cookie-banner__link-wrap {
    margin: 0 0 1.25rem;
  }
  .ec-cookie-banner__link {
    display: inline;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #0088ff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .ec-cookie-banner__link:hover {
    color: #0066cc !important;
  }
  .ec-cookie-banner__actions {
    display: flex;
    justify-content: center;
  }
  .ec-cookie-banner__btn {
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.25;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, filter 0.2s, box-shadow 0.2s;
  }
  .ec-cookie-banner__btn:active {
    transform: scale(0.98);
  }
  .ec-cookie-banner__btn--primary {
    width: 100%;
    max-width: 100%;
    color: #ffffff !important;
    background: linear-gradient(90deg, #ff5f35 0%, #d82d7e 100%);
    box-shadow: 0 6px 20px rgba(216, 45, 126, 0.38);
  }
  .ec-cookie-banner__btn--primary:hover {
    filter: brightness(1.06);
    box-shadow: 0 8px 26px rgba(216, 45, 126, 0.45);
    color: #ffffff !important;
  }
  @media (max-width: 480px) {
    .ec-cookie-banner {
      padding-left: 0.65rem;
      padding-right: 0.65rem;
    }
    .ec-cookie-banner__card {
      padding: 1.15rem 1.15rem 1.35rem 1rem;
      padding-left: calc(0.65rem + 4px);
      border-radius: 16px;
    }
    .ec-cookie-banner__wrap {
      max-width: 360px;
    }
    .ec-cookie-banner__card::before {
      border-radius: 16px 0 0 16px;
    }
    .ec-cookie-banner__title {
      font-size: 0.98rem;
    }
    .ec-cookie-banner__text {
      font-size: 0.875rem;
    }
    .ec-cookie-banner__btn {
      padding: 0.65rem 1.25rem;
      font-size: 0.9rem;
    }
  }
  
  img { max-width: 100%; height: auto; display: block; }
  a { color: var(--ec-red-dark); text-decoration: none; transition: var(--ec-transition); }
  a:hover { color: var(--ec-red); }
  
  /* WooCommerce catalog/related: ровно 2 строки, без «хвоста» третьей (перекрытие ценой) */
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    line-height: 1.6 !important;
    max-height: calc(1.6em * 2) !important;
  }
  
  /* ============================================
     Layout
     ============================================ */
  .site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 140px;
  }
  .site-content { flex: 1; }
  .content-area { padding: 0rem 0; }
  
  /* Container */
  .container {
    width: 100%;
    max-width: var(--ec-layout-max);
    margin: 0 auto;
    padding: 0 1.25rem;display: contents;
  }
  /*
   * Корзина и оформление: здесь .container не должен быть display:contents — иначе max-width
   * не ограничивает ширину (элемент не создаёт бокс). То же для шаблона «Полная ширина».
   */
  .ec-wc-cart-checkout > .container.ec-wc-cart-checkout__inner {
    display: block !important;
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }
  .ec-page-fullwidth > .container {
    display: block !important;
    width: 100%;
    max-width: var(--ec-layout-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }
  /* Шапка: не использовать display:contents на полосе с лого — иначе ломается flex и лого/бургер */
  .ec-header-top-inner.container {
    display: flex !important;
    box-sizing: border-box;
  }
  .ec-header-nav .container {
    display: block !important;
    width: 100%;
    max-width: var(--ec-layout-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }
  
  /* ============================================
     Header — Верхняя полоса + Меню с dropdown
     ============================================ */
  .site-header.ec-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.90);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s,
                background 0.3s;
  }
  .site-header.ec-header.hidden { transform: translateY(-100%); }
  .site-header.ec-header.visible { transform: translateY(0); }
  .site-header.ec-header.scrolled {
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.12);
  }
  
  /* Админ-бар WordPress — сдвигаем header вниз */
  .admin-bar .site-header.ec-header { top: 32px; }
  @media screen and (max-width: 782px) {
    .admin-bar .site-header.ec-header { top: 46px; }
  }
  
  /* Верхняя полоса (инфо, контакты) */
  .ec-header-top {
    background:
      radial-gradient(900px 220px at 10% -40%, rgba(212, 170, 74, 0.16), rgba(255,255,255,0) 60%),
      linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(248, 250, 252, 0.92) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 12px 0;
  }
  
  /* HW info (телефон / мессенджеры / режим) */
  .hw-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 220px;
  }
  .hw-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 5px 10px 6px;
    border-radius: 12px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.08);
  }
  .hw-info-item--call {
    padding-right: 10px;
  }
  .hw-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.55);
    font-weight: 700;
  }
  .hw-value {
    font-size: 14px;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.92);
  }
  .hw-value a {
    color: inherit;
    text-decoration: none;
  }
  .hw-value a:hover {
    color: var(--ec-gold);
  }
  
  @media (max-width: 991px) {
    .hw-info {
      display: none !important;
    }
  }

  /* Верхняя полоса: быстрые ссылки (только ПК) */
  .ec-header-top-links {
    display: none;
    align-items: center;
    gap: 1.25rem;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .ec-header-top-link {
    font-size: 14px;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.85) !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.2s;
  }
  .ec-header-top-link:hover {
    color: var(--ec-gold-dark) !important;
  }
  .ec-header-top-link--interior {
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 250, 235, 0.95), rgba(245, 232, 200, 0.55));
    border: 1px solid rgba(185, 138, 46, 0.42);
    box-shadow: 0 2px 10px rgba(120, 83, 20, 0.08);
    color: rgba(110, 75, 18, 0.95) !important;
  }
  .ec-header-top-link--interior:hover {
    border-color: rgba(185, 138, 46, 0.65);
    color: var(--ec-gold-dark) !important;
  }
  @media (min-width: 992px) {
    .ec-header-top-links {
      display: flex;
    }
  }

  .ec-header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .ec-header-logo a {
    display: flex;
    align-items: center;
  }
  .ec-header-logo img,
  .ec-logo-img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s;
  }
  .ec-header-logo a:hover img { transform: scale(1.03); }
  .ec-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .ec-header-tagline,
  .ec-header-tagline-2 {
    font-size: 15px;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.92);
    white-space: nowrap;
  }
  .ec-header-tagline-2 { font-size: 14px; color: rgba(15, 23, 42, 0.60); }
  .ec-header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
  }
  .ec-header-cta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .ec-header-social { display: flex; gap: 8px; }
  .ec-hs-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 10px;
    color: rgba(15, 23, 42, 0.78) !important;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.08);
  }
  .ec-hs-btn:hover {
    background: linear-gradient(135deg, var(--ec-gold), var(--ec-gold-dark));
    border-color: rgba(212, 170, 74, 0.55);
    color: #111 !important;
    transform: translateY(-2px);
  }
  .ec-header-phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .ec-header-phones a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.92) !important;
    white-space: nowrap;
  }
  .ec-header-phones a:hover { color: var(--ec-gold) !important; }
  .ec-header-cta {
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--ec-gold), var(--ec-gold-dark));
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    color: #fff !important;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 14px 34px rgba(0,0,0,0.28);
  }
  .ec-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(212, 170, 74, 0.35);
    color: #fff !important;
  }
  
  /* Корзина в шапке (всегда подключён style.css) */
  .ec-header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: rgba(15, 23, 42, 0.86) !important;
    text-decoration: none;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.08);
    transition: background 0.25s, color 0.25s, transform 0.2s;
  }
  .ec-header-cart:hover {
    background: rgba(212, 170, 74, 0.14);
    border-color: rgba(212, 170, 74, 0.35);
    color: rgba(15, 23, 42, 0.92) !important;
    transform: translateY(-1px);
  }
  .ec-header-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    background: var(--ec-gold);
    color: #111;
    border-radius: 999px;
    box-sizing: border-box;
  }
  .ec-header-cart-count:empty {
    display: none;
  }
  
  /* Корзина в верхней полосе — только мобильная иконка с бейджем */
  @media (min-width: 992px) {
    .ec-header-cart--mobile {
      display: none !important;
    }
  }
  
  /* ПК: поиск в строке меню */
  .ec-header-nav-tools {
    display: none;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
  }
  @media (min-width: 992px) {
    .ec-header-nav-tools {
      display: flex;
    }
    .ec-header-nav-inner .main-nav {
      flex: 1;
      min-width: 0;
    }
  }
  
  .ec-header-search {
    position: relative;
    width: clamp(280px, 38vw, 560px);
    max-width: 46vw;
  }
  .ec-header-search-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0 0.85rem 0 0.9rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .ec-header-search-field:focus-within {
    border-color: rgba(212, 170, 74, 0.65);
    box-shadow: 0 0 0 3px rgba(212, 170, 74, 0.2), 0 6px 22px rgba(15, 23, 42, 0.1);
  }
  .ec-header-search-field .fa-magnifying-glass {
    color: rgba(15, 23, 42, 0.45);
    font-size: 1rem;
    flex-shrink: 0;
  }
  .ec-header-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.55rem 0.35rem 0.55rem 0;
    font-size: 0.9375rem;
    font-family: var(--ec-font);
    color: var(--ec-ash-900);
  }
  .ec-header-search-input:focus {
    outline: none;
  }
  .ec-header-search-results {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    width: min(380px, 92vw);
    max-height: 380px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--ec-ash-200);
    border-radius: var(--ec-radius-lg);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14);
    z-index: 10060;
  }
  .ec-header-search-results[hidden] {
    display: none !important;
  }
  .ec-header-search-list {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
  }
  .ec-header-search-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.85rem;
    text-decoration: none;
    color: var(--ec-ash-800) !important;
    transition: background 0.15s;
  }
  .ec-header-search-item:hover {
    background: var(--ec-ash-100);
  }
  .ec-header-search-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .ec-header-search-noimg {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--ec-ash-200);
    flex-shrink: 0;
  }
  .ec-header-search-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
  }
  .ec-header-search-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
  }
  .ec-header-search-item-price {
    font-size: 0.8rem;
    color: var(--ec-red-dark);
    font-weight: 700;
  }
  .ec-header-search-empty {
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--ec-ash-600);
    text-align: center;
  }
  .ec-header-search-all {
    display: block;
    padding: 0.65rem 0.85rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ec-red-dark) !important;
    border-top: 1px solid var(--ec-ash-200);
    text-decoration: none;
  }
  .ec-header-search-all:hover {
    background: var(--ec-ash-100);
  }
  
  .ec-header-cart-wrap {
    position: relative;
  }
  .ec-header-cart-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--ec-ash-200);
    border-radius: 10px;
    text-decoration: none !important;
    color: var(--ec-ash-900) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    appearance: none;
  }
  .ec-header-cart-trigger:focus {
    outline: none;
  }
  .ec-header-cart-trigger:focus-visible {
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.18), 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: rgba(229, 57, 53, 0.45);
  }
  .ec-header-cart-trigger:hover {
    border-color: var(--ec-ash-300);
    background: var(--ec-ash-100);
  }
  .ec-header-cart-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    line-height: 1.2;
    text-align: right;
    min-width: 0;
  }
  .ec-header-cart-total {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--ec-ash-900);
  }
  .ec-header-cart-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ec-ash-600);
  }
  .ec-header-cart-empty {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ec-ash-500);
  }
  .ec-header-cart-trigger-icon {
    font-size: 1.15rem;
    color: var(--ec-red);
    flex-shrink: 0;
  }
  
  .ec-mini-cart-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 380px;
    max-width: 92vw;
    padding: 0;
    background: #fff;
    border: 1px solid var(--ec-ash-200);
    border-radius: var(--ec-radius-lg);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    z-index: 10055;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .ec-mini-cart-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
  }
  .ec-header-cart-wrap.is-open .ec-mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .ec-mini-cart-dropdown .widget_shopping_cart_content {
    padding: 0;
  }
  .ec-mini-cart-dropdown .woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    max-height: 280px;
    overflow-y: auto;
  }
  .ec-mini-cart-dropdown .woocommerce-mini-cart__empty-message {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--ec-ash-600);
    margin: 0;
  }
  .ec-mini-cart-dropdown .woocommerce-mini-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.65rem 1rem !important;
    border-bottom: 1px solid var(--ec-ash-200);
    margin: 0 !important;
  }
  .ec-mini-cart-dropdown .woocommerce-mini-cart-item .remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 2px !important;
    border-radius: 50%;
    background: var(--ec-ash-200);
    color: var(--ec-ash-700) !important;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none !important;
    flex-shrink: 0;
  }
  .ec-mini-cart-dropdown .woocommerce-mini-cart-item .remove:hover {
    background: var(--ec-ash-300);
  }
  .ec-mini-cart-dropdown .woocommerce-mini-cart-item:last-child {
    border-bottom: none;
  }
  .ec-mini-cart-dropdown .woocommerce-mini-cart-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
  }
  .ec-mini-cart-dropdown .woocommerce-mini-cart-item__title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    display: block;
    margin-bottom: 0.25rem;
  }
  .ec-mini-cart-dropdown .quantity,
  .ec-mini-cart-dropdown .woocommerce-Price-amount {
    font-size: 0.8rem;
  }
  .ec-mini-cart-dropdown .woocommerce-mini-cart__total {
    padding: 0.75rem 1rem;
    margin: 0;
    border-top: 1px solid var(--ec-ash-200);
    font-size: 0.95rem;
    font-weight: 700;
  }
  .ec-mini-cart-dropdown .woocommerce-mini-cart__buttons {
    padding: 0.75rem 1rem 1rem;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .ec-mini-cart-dropdown .woocommerce-mini-cart__buttons a.button {
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
  }
  .ec-mini-cart-dropdown a.wc-forward:not(.checkout) {
    background: var(--ec-ash-100) !important;
    color: var(--ec-ash-900) !important;
    border: 1px solid var(--ec-ash-200) !important;
  }
  .ec-mini-cart-dropdown a.checkout {
    background: var(--ec-ash-900) !important;
    color: #fff !important;
    border: none !important;
  }
  
  /* Мобильная шапка: лого слева, бургер справа в одной полосе (.ec-header-burger в top-inner) */
  @media (max-width: 991px) {
    .ec-header-top {
      padding: 12px 0;
      position: relative;
      z-index: 2;
    }
    .ec-header-top-inner {
      justify-content: space-between;
      align-items: center;
      gap: 0.75rem;
      width: 100%;
      max-width: 100%;
      padding-left: 1rem;
      padding-right: 1rem;
    }
    .ec-header-info {
      display: none;
    }
    .ec-header-actions {
      display: flex !important;
      align-items: center;
      gap: 0.5rem;
      margin-left: auto;
    }
    .ec-header-actions .ec-header-social,
    .ec-header-actions .ec-header-phones {
      display: none !important;
    }
    .ec-header-cta-row {
      flex-direction: column;
      align-items: stretch;
      gap: 6px;
      max-width: min(200px, 42vw);
    }
    .ec-header-cta-row .ec-header-cta {
      padding: 8px 10px;
      font-size: 11px;
      line-height: 1.2;
      text-align: center;
    }
    .ec-header-cta-row .ec-header-cta[data-ec-measurer="1"] {
      display: none !important;
    }
    .ec-header-logo {
      flex: 0 1 auto;
      min-width: 0;
      max-width: calc(100% - 56px);
    }
    .ec-header-logo img,
    .ec-header-logo .custom-logo-link img,
    .ec-logo-img {
      max-height: 40px;
      width: auto;
      max-width: 100%;
      height: auto;
      display: block;
    }
    .ec-header-burger {
      flex: 0 0 auto;
      margin-left: auto;
    }
    /* Вторая полоса с меню на мобилке не нужна — пункты в выезжающем меню */
    .ec-header-nav {
      display: none !important;
    }
  
  }
  
  /* Мобильные фикс-кнопки (корзина + звонок) */
  .j2-mobile-fab {
    display: none;
  }
  @media (max-width: 991px) {
    .j2-mobile-fab {
      display: flex;
      position: fixed;
      left: 14px;
      bottom: calc(14px + env(safe-area-inset-bottom, 0px));
      z-index: 10060;
      flex-direction: column;
      gap: 10px;
      pointer-events: auto;
    }
    .j2-mobile-fab__btn {
      width: 52px;
      height: 52px;
      border-radius: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none !important;
      color: #fff !important;
      background: linear-gradient(135deg, var(--ec-red), var(--ec-red-dark));
      box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
      border: 1px solid rgba(255,255,255,0.18);
      transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
      position: relative;
    }
    .j2-mobile-fab__btn i {
      font-size: 20px;
      line-height: 1;
    }
    .j2-mobile-fab__btn:active {
      transform: translateY(1px);
      filter: brightness(0.98);
    }
    /* Чуть отличаем звонок */
    .j2-mobile-fab__btn--call {
      background: linear-gradient(135deg, #22c55e, #16a34a);
      box-shadow: 0 14px 34px rgba(34, 197, 94, 0.25);
    }
  
    /* Бейдж количества на корзине */
    .j2-mobile-fab__badge {
      position: absolute;
      top: -6px;
      right: -6px;
      min-width: 18px;
      height: 18px;
      padding: 0 6px;
      border-radius: 999px;
      background: #fff;
      color: var(--ec-red-dark);
      font-size: 11px;
      font-weight: 900;
      line-height: 18px;
      text-align: center;
      box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
    }
    .j2-mobile-fab__badge:empty {
      display: none;
    }
  }
  
  /* Фиксированные кнопки слева снизу: мессенджеры + избранное */
  .ec-contact-fab {
    position: fixed;
    left: max(14px, env(safe-area-inset-left, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    z-index: 10070;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    pointer-events: none;
  }
  .ec-contact-fab > * {
    pointer-events: auto;
  }
  .ec-contact-fab__drawer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition:
      max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.28s ease,
      transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .ec-contact-fab.is-open .ec-contact-fab__drawer {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
  }
  .ec-contact-fab__pill {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.2s ease;
    cursor: pointer;
    appearance: none;
    background: transparent;
    padding: 0;
    color: #fff !important;
    font-size: 1.35rem;
    line-height: 1;
    backdrop-filter: saturate(1.15);
    -webkit-backdrop-filter: saturate(1.15);
  }
  .ec-contact-fab__pill i {
    pointer-events: none;
  }
  .ec-contact-fab__pill:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.26);
    filter: brightness(1.04);
  }
  .ec-contact-fab__pill:active {
    transform: translateY(-1px) scale(0.98);
    filter: brightness(0.96);
  }
  .ec-contact-fab__pill--tg {
    background: linear-gradient(145deg, #34b3e6, #229ed9);
  }
  .ec-contact-fab__pill--vb {
    background: linear-gradient(145deg, #8b7cf0, #6656d8);
  }
  .ec-contact-fab__pill--wa {
    background: linear-gradient(145deg, #2fe06d, #1ebe57);
  }
  .ec-contact-fab__pill--tel {
    background: linear-gradient(145deg, #22a356, #15803d);
  }
  .ec-contact-fab__pill--fav,
  .ec-contact-fab__pill--toggle {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    font-size: 1.45rem;
  }
  .ec-contact-fab__pill--fav {
    background: linear-gradient(135deg, var(--ec-gold), var(--ec-gold-dark));
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 36px rgba(212, 170, 74, 0.35);
  }
  .ec-contact-fab__pill--fav:hover {
    box-shadow: 0 18px 44px rgba(212, 170, 74, 0.45);
  }
  .ec-contact-fab__pill--toggle {
    background: linear-gradient(145deg, #3b82f6, #1d4ed8);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 36px rgba(29, 78, 216, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  }
  .ec-contact-fab__pill--search {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    font-size: 1.45rem;
    background: linear-gradient(145deg, #111827, #0b1220);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }
  .ec-contact-fab__pill--search:hover {
    box-shadow: 0 20px 48px rgba(2, 6, 23, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  }
  .ec-contact-fab.is-search-open .ec-contact-fab__pill--search {
    background: linear-gradient(145deg, #0f172a, #111827);
  }
  
  /* Выезжающая панель поиска товаров */
  .ec-contact-fab__search {
    position: absolute;
    left: calc(56px + 12px);
    bottom: 0;
    width: min(380px, calc(100vw - 104px));
    pointer-events: none;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .ec-contact-fab.is-search-open .ec-contact-fab__search {
    pointer-events: auto;
    opacity: 1;
    transform: translateX(0);
  }
  .ec-contact-fab__search-inner {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .ec-contact-fab__search-field.ec-header-search-field {
    min-height: 46px;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: none;
  }
  .ec-contact-fab__search-inner .ec-header-search-input {
    width: 100%;
    min-width: 0;
  }
  .ec-contact-fab__search-inner .ec-header-search-results {
    position: static;
    margin-top: 8px;
    max-height: min(360px, 48vh);
  }
  .ec-contact-fab__pill--toggle:hover {
    box-shadow: 0 18px 44px rgba(37, 99, 235, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  }
  .ec-contact-fab.is-open .ec-contact-fab__pill--toggle {
    color: #fff !important;
    background: linear-gradient(145deg, #1e40af, #172554);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }
  .ec-contact-fab__drawer .ec-contact-fab__pill {
    opacity: 0;
    transform: translateY(14px) scale(0.9);
    transition:
      opacity 0.3s ease,
      transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
  }
  .ec-contact-fab.is-open .ec-contact-fab__drawer .ec-contact-fab__pill {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  .ec-contact-fab.is-open .ec-contact-fab__drawer .ec-contact-fab__pill:nth-child(1) { transition-delay: 0.02s; }
  .ec-contact-fab.is-open .ec-contact-fab__drawer .ec-contact-fab__pill:nth-child(2) { transition-delay: 0.06s; }
  .ec-contact-fab.is-open .ec-contact-fab__drawer .ec-contact-fab__pill:nth-child(3) { transition-delay: 0.1s; }
  .ec-contact-fab.is-open .ec-contact-fab__drawer .ec-contact-fab__pill:nth-child(4) { transition-delay: 0.14s; }
  @media (prefers-reduced-motion: reduce) {
    .ec-contact-fab__drawer,
    .ec-contact-fab__drawer .ec-contact-fab__pill,
    .ec-contact-fab__pill {
      transition-duration: 0.01ms !important;
      transition-delay: 0s !important;
    }
    .ec-contact-fab.is-open .ec-contact-fab__drawer .ec-contact-fab__pill {
      transform: none;
    }
  }
  body.ec-cookie-banner-visible .ec-contact-fab {
    bottom: max(100px, calc(16px + env(safe-area-inset-bottom, 0px)));
  }
  @media (min-width: 992px) {
    body.ec-cookie-banner-visible .ec-contact-fab {
      bottom: max(120px, calc(16px + env(safe-area-inset-bottom, 0px)));
    }
  }
  
  /* Глобальные стили для попапа заявки (используется в шапке и на страницах) */
  .ec-request-modal {
    position: fixed;
    inset: 0;
    z-index: 10010;
    display: none;
  }
  .ec-request-modal.is-open {
    display: block;
  }
  .ec-request-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 20, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .ec-request-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: 520px;
    width: 100%;
    margin: 10vh auto 4vh;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.45);
    padding: 2rem 2rem 1.75rem;
  }
  .ec-request-modal__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
  }
  .ec-request-modal__subtitle {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: var(--ec-ash-600);
  }
  .ec-request-modal__close {
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: #f3f4f6;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s, transform 0.2s;
  }
  .ec-request-modal__close:hover {
    background: #e5e7eb;
    transform: rotate(5deg);
  }
  .ec-request-modal__close span {
    line-height: 1;
  }
  
  body.ec-modal-open {
    overflow: hidden;
  }
  
  @media (max-width: 640px) {
    .ec-request-modal__dialog {
      margin: 0;
      min-height: 100%;
      border-radius: 0;
      padding: 1.5rem 1.25rem 1.75rem;
    }
  }
  
  /* Универсальные стили для кнопок и формы заявки (шапка, товары и др.) */
  .ec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  }
  .ec-btn-primary {
    background: linear-gradient(135deg, var(--ec-red), var(--ec-red-dark));
    color: #1a1208 !important;
    box-shadow: 0 10px 26px rgba(185, 138, 46, 0.35);
  }
  .ec-request-modal .ec-btn-primary,
  .ec-single-product .ec-btn-primary {
    color: #1a1208 !important;
  }
  .ec-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(185, 138, 46, 0.48);
  }
  .ec-btn-secondary {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 55%, #faf6ee 100%);
    color: var(--ec-red-dark) !important;
    border: 1px solid rgba(185, 138, 46, 0.45);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 2px 10px rgba(120, 83, 20, 0.08);
  }
  .ec-btn-secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(185, 138, 46, 0.75);
    background: linear-gradient(180deg, #fffefb 0%, #fff9e8 100%);
    box-shadow: 0 6px 18px rgba(120, 83, 20, 0.12);
  }
  .ec-btn-ghost {
    background: transparent;
    border: 1px solid var(--ec-ash-300);
    color: var(--ec-ash-800);
  }
  .ec-btn-ghost:hover {
    background: #f3f4f6;
  }
  
  .ec-request-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  
  /* Лайтбокс для фото товара */
  .ec-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10080;
    display: none;
  }
  .ec-lightbox.is-open {
    display: block;
  }
  .ec-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
  }
  .ec-lightbox__dialog {
    position: relative;
    width: min(1100px, 92vw);
    height: min(86vh, 760px);
    margin: 7vh auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ec-lightbox__img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  }
  .ec-lightbox__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    color: var(--ec-ash-900);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    transition: transform 0.2s, background 0.2s;
  }
  .ec-lightbox__close:hover {
    transform: translateY(-1px);
    background: #fff;
  }
  .ec-single-gallery-main .ec-single-main-img {
    cursor: zoom-in;
  }
  .ec-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }
  .ec-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  .ec-form-field--full {
    grid-column: 1 / -1;
  }
  .ec-form-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ec-ash-700);
  }
  .ec-form-field input,
  .ec-form-field textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--ec-ash-200);
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    background-color: #f9fafb;
  }
  .ec-form-field textarea {
    resize: vertical;
    min-height: 120px;
  }
  .ec-form-field input::placeholder,
  .ec-form-field textarea::placeholder {
    color: var(--ec-ash-300);
  }
  .ec-form-field input:focus,
  .ec-form-field textarea:focus {
    outline: none;
    border-color: var(--ec-red);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.3);
    background-color: #ffffff;
  }
  
  .ec-form-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .ec-form-consent {
    font-size: 0.8rem;
    color: var(--ec-ash-500);
  }
  .ec-form-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .ec-form-consent-label input[type="checkbox"] {
    margin-top: 0.1rem;
    width: 16px;
    height: 16px;
    accent-color: var(--ec-red);
    flex-shrink: 0;
  }
  .ec-form-note {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ec-ash-500);
  }
  
  .ec-request-status {
    font-size: 0.9rem;
    min-height: 1.2rem;
  }
  .ec-request-status.is-success {
    color: #166534;
  }
  .ec-request-status.is-error {
    color: #b91c1c;
  }
  
  .ec-btn.is-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
  }
  .ec-btn.is-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: rgba(0, 0, 0, 0.4);
    animation: ecBtnSpinner 0.7s linear infinite;
    margin-left: 0.4rem;
  }
  
  @keyframes ecBtnSpinner {
    to { transform: rotate(360deg); }
  }
  
  @media (max-width: 640px) {
    .ec-form-grid {
      grid-template-columns: 1fr;
    }
  }
  
  
  /* Основное меню */
  .ec-header-nav {
    background:
      radial-gradient(1000px 320px at 78% -10%, rgba(212, 170, 74, 0.12), rgba(255,255,255,0) 60%),
      linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248, 250, 252, 0.92) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }
  .ec-header-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    min-height: 56px;
    margin: auto;
    width: 100%;
  }
  
  /* Каталог — кнопка + мега-панель (оверлей) */
  .ec-header-catalog {
    position: relative;
    flex: 0 0 auto;
  }
  .ec-header-catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ec-gold), var(--ec-gold-dark));
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(212, 170, 74, 0.22);
    border: 1px solid rgba(255,255,255,0.12);
    flex: 0 0 auto;
    cursor: pointer;
  }
  .ec-header-catalog-btn i {
    font-size: 15px;
    line-height: 1;
    color: #fff;
  }
  .ec-header-catalog-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(212, 170, 74, 0.28);
  }
  .ec-header-catalog-btn:active {
    transform: translateY(0);
  }
  
  body.ec-catalog-mega-open {
    overflow: hidden;
  }
  
  /* Доп. размытие фона под мега-каталогом (как у формы) */
  body.ec-catalog-mega-open #page {
    filter: blur(10px);
    transform: translateZ(0);
  }
  body.ec-catalog-mega-open .ec-header-top,
  body.ec-catalog-mega-open .ec-header-nav {
    filter: blur(10px);
    transform: translateZ(0);
  }
  body.ec-catalog-mega-open #page,
  body.ec-catalog-mega-open .ec-header-top,
  body.ec-catalog-mega-open .ec-header-nav {
    transition: filter 0.2s ease;
    will-change: filter;
  }
  
  .ec-header-catalog-mega {
    position: fixed;
    inset: 0;
    z-index: 10075;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .ec-header-catalog-mega.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
  }
  .ec-header-catalog.is-open .ec-header-catalog-mega {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
  }
  .ec-header-catalog-mega__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 20, 0.45);
    backdrop-filter: blur(12px) saturate(1.15);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
  }
  .ec-header-catalog-mega__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    max-height: 100vh;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0 0 26px 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.22);
    overflow: hidden;
    transform: translateY(12px);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .ec-header-catalog-mega.is-open .ec-header-catalog-mega__dialog {
    transform: translateY(0);
  }
  .ec-header-catalog.is-open .ec-header-catalog-mega__dialog {
    transform: translateY(0);
  }
  .ec-header-catalog-mega__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: max(12px, env(safe-area-inset-top)) 1.1rem 0.65rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
  }
  .ec-header-catalog-mega__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ec-ash-900);
  }
  .ec-header-catalog-mega__close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(248, 250, 252, 0.95);
    color: rgba(15, 23, 42, 0.75);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }
  .ec-header-catalog-mega__close:hover {
    background: var(--ec-ash-100);
    color: var(--ec-ash-900);
    border-color: rgba(15, 23, 42, 0.14);
  }
  
  .ec-header-catalog-mega__search {
    position: relative;
    padding: 0 1.1rem 0.5rem;
    flex-shrink: 0;
  }
  .ec-header-catalog-mega__search.ec-header-search {
    max-width: none;
    width: 100%;
  }
  .ec-header-catalog-mega__search .ec-header-search-field--mega {
    min-height: 44px;
    border-radius: 999px;
    padding: 0 0.85rem 0 1rem;
    background: var(--ec-ash-100);
    border: 1px solid rgba(15, 23, 42, 0.08);
    width: 100%;
  }
  .ec-header-catalog-mega__search .ec-header-search-input {
    width: 100%;
    min-width: 0;
  }
  .ec-header-catalog-mega__search .ec-header-search-results--mega {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    top: calc(100% + 6px);
    z-index: 5;
    max-height: min(320px, 42vh);
    overflow-y: auto;
    border-radius: var(--ec-radius-lg);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14);
  }
  
  .ec-header-catalog-mega__promo {
    padding: 0 1.1rem 0.35rem;
    flex-shrink: 0;
  }
  .ec-header-catalog-mega__promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(185, 138, 46, 0.32);
    background: linear-gradient(135deg, rgba(255, 226, 155, 0.95), rgba(255, 255, 255, 0.9));
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #6b3f08 !important;
    box-shadow: 0 10px 26px rgba(185, 138, 46, 0.18);
    position: relative;
    text-decoration: none !important;
  }
  .ec-header-catalog-mega__promo-link i {
    color: var(--ec-red-dark);
  }
  .ec-header-catalog-mega__promo-link::after {
    content: 'SALE';
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ec-red), var(--ec-red-dark));
    color: #1a1208;
    font-size: 0.68rem;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(185, 138, 46, 0.34);
    transform: rotate(8deg);
  }
  .ec-header-catalog-mega__promo-link:hover {
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(185, 138, 46, 0.26);
    border-color: rgba(185, 138, 46, 0.55);
  }
  
  .ec-header-catalog-mega__body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 0 1.1rem 1.1rem;
  }
  .ec-header-catalog-mega__slider {
    display: flex;
    width: 200%;
    height: 100%;
    min-height: 200px;
    transform: translateX(0);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .ec-header-catalog.is-subs .ec-header-catalog-mega__slider,
  .ec-header-catalog-mega.is-subs .ec-header-catalog-mega__slider {
    transform: translateX(-50%);
  }
  .ec-header-catalog-mega__pane {
    flex: 0 0 50%;
    width: 50%;
    max-height: calc(100vh - max(12px, env(safe-area-inset-top)) - 78px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-right: 0.35rem;
  }
  .ec-header-catalog-mega__pane--roots {
    padding-right: 0.75rem;
  }
  .ec-header-catalog-mega__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
  }
  @media (max-width: 1200px) {
    .ec-header-catalog-mega__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .ec-header-catalog-mega__card {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 56px;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    text-decoration: none !important;
    color: rgba(15, 23, 42, 0.92) !important;
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.2s;
    appearance: none;
    font-family: inherit;
  }
  .ec-header-catalog-mega__card:hover {
    border-color: rgba(212, 170, 74, 0.45);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
  }
  .ec-header-catalog-mega__card-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--ec-gold-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(15, 23, 42, 0.88);
    font-size: 1rem;
  }
  .ec-header-catalog-mega__card-label {
    flex: 1;
    min-width: 0;
  }
  .ec-header-catalog-mega__card-chevron {
    flex: 0 0 auto;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.75rem;
  }
  .ec-header-catalog-mega__all {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.65rem;
    flex-shrink: 0;
    height: 42px;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.1);
    text-decoration: none !important;
    color: rgba(15, 23, 42, 0.9) !important;
    font-weight: 800;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s;
  }
  .ec-header-catalog-mega__all:hover {
    background: rgba(212, 170, 74, 0.12);
    border-color: rgba(212, 170, 74, 0.35);
  }
  
  .ec-header-catalog-mega__pane--subs {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .ec-header-catalog-mega__subs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    min-height: 34px;
    width: 100%;
  }
  .ec-header-catalog-mega__back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: auto;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 0.15rem;
    transform: translateX(4px);
    padding: 0.35rem 0.6rem;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.82) !important;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
  }
  .ec-header-catalog-mega__back:hover {
    background: var(--ec-ash-100);
    border-color: rgba(15, 23, 42, 0.14);
  }
  .ec-header-catalog-mega__subs-title {
    display: inline-flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    cursor: pointer;
  }
  .ec-header-catalog-mega__subs-title:hover {
    color: rgba(15, 23, 42, 0.82);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  @media (max-width: 520px) {
    .ec-header-catalog-mega__back span {
      display: none;
    }
    .ec-header-catalog-mega__back {
      padding: 0.35rem 0.5rem;
    }
  }
  .ec-header-catalog-mega__subs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding-bottom: 0.25rem;
  }
  .ec-header-catalog-mega__sub-link {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    text-decoration: none !important;
    color: rgba(15, 23, 42, 0.88) !important;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
    transition: background 0.15s, border-color 0.15s;
  }
  .ec-header-catalog-mega__sub-link:hover {
    background: rgba(212, 170, 74, 0.1);
    border-color: rgba(212, 170, 74, 0.25);
  }
  
  @media (max-width: 720px) {
    .ec-header-catalog-mega__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    /* Подкатегории: плиткой в 2 колонки на мобилке */
    .ec-header-catalog-mega__subs-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }
    .ec-header-catalog-mega__search {
      padding: 0 0.85rem 0.65rem;
    }
  }
  @media (max-width: 420px) {
    .ec-header-catalog-mega__grid {
      grid-template-columns: 1fr;
    }
    .ec-header-catalog-mega__subs-list {
      grid-template-columns: 1fr;
    }
    .ec-header-catalog-mega__dialog {
      margin-top: 0.5rem;
      max-height: min(92vh, 900px);
    }
  }
  
  /* Старый выпадающий «Каталог», если на сервере нет inc/j2moto-header-catalog-mega.php */
  .ec-header-catalog-dropdown--legacy {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 320px;
    max-width: min(92vw, 380px);
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 26px 70px rgba(2, 6, 23, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 1001;
  }
  .ec-header-catalog.is-open .ec-header-catalog-dropdown--legacy,
  .ec-header-catalog:focus-within .ec-header-catalog-dropdown--legacy,
  .ec-header-catalog:hover .ec-header-catalog-dropdown--legacy {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .ec-header-catalog-dropdown--legacy .ec-header-catalog-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: min(56vh, 520px);
    overflow: auto;
  }
  .ec-header-catalog-dropdown--legacy .ec-header-catalog-list > li {
    margin: 0;
  }
  .ec-header-catalog-dropdown--legacy .ec-header-catalog-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none !important;
    color: rgba(15, 23, 42, 0.86) !important;
    font-weight: 700;
    transition: background 0.2s, color 0.2s, transform 0.2s;
  }
  .ec-header-catalog-dropdown--legacy .ec-header-catalog-list a:hover {
    background: rgba(212, 170, 74, 0.14);
    color: rgba(15, 23, 42, 0.92) !important;
    transform: translateX(2px);
  }
  .ec-header-catalog-dropdown--legacy .ec-header-catalog-list .children {
    list-style: none;
    margin: 0;
    padding: 2px 0 6px 10px;
  }
  .ec-header-catalog-dropdown--legacy .ec-header-catalog-list .children a {
    font-weight: 600;
    padding: 8px 12px;
    color: rgba(15, 23, 42, 0.74) !important;
  }
  .ec-header-catalog-dropdown--legacy .ec-header-catalog-all {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    height: 40px;
    border-radius: 12px;
    background: rgba(212, 170, 74, 0.14);
    border: 1px solid rgba(212, 170, 74, 0.3);
    text-decoration: none !important;
    color: rgba(15, 23, 42, 0.92) !important;
    font-weight: 800;
  }
  .ec-header-catalog-dropdown--legacy .ec-header-catalog-all:hover {
    background: linear-gradient(135deg, var(--ec-gold), var(--ec-gold-dark));
    color: #111 !important;
  }
  
  /* Desktop Navigation + Dropdowns */
  .main-nav { display: none; }
  @media (min-width: 992px) {
    .main-nav { display: flex; align-items: center; }
    .ec-menu {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      gap: 4px;
      align-items: center;
    }
    .ec-menu > li.ec-menu-extra > a {
      opacity: 0.9;
    }
    .ec-menu > li.ec-menu-extra > a:hover {
      opacity: 1;
    }
    .ec-menu > li {
      margin: 0;
      position: relative;
    }
    .ec-menu > li > a {
      display: block;
      padding: 10px 16px;
      color: rgba(15, 23, 42, 0.86);
      font-weight: 700;
      font-size: 15px;
      border-radius: var(--ec-radius);
      transition: all var(--ec-transition);
    }
    .ec-menu > li.ec-wishlist-menu-item > a {
      font-size: 17px;
      line-height: 1;
    }
    .ec-menu > li > a:hover,
    .ec-menu > li.current-menu-item > a,
    .ec-menu > li.menu-item-has-children:hover > a {
      color: rgba(15, 23, 42, 0.92);
      background: rgba(212, 170, 74, 0.14);
      box-shadow: 0 10px 22px rgba(2, 6, 23, 0.08);
    }
    .ec-menu > li.menu-item-has-children > a::after {
      content: '';
      display: inline-block;
      width: 0;
      height: 0;
      margin-left: 6px;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
      border-top: 5px solid currentColor;
      vertical-align: middle;
      opacity: 0.7;
      transition: transform 0.3s;
    }
    .ec-menu > li.menu-item-has-children:hover > a::after {
      transform: rotate(180deg);
    }
  
    /* Dropdown */
    .ec-menu .sub-menu {
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 240px;
      list-style: none;
      margin: 0;
      padding: 8px 0;
      background: rgba(255,255,255,0.96);
      border-radius: var(--ec-radius-lg);
      box-shadow: 0 26px 70px rgba(2, 6, 23, 0.14);
      border: 1px solid rgba(15, 23, 42, 0.10);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
      z-index: 100;
    }
    .ec-menu > li:hover > .sub-menu,
    .ec-menu > li.focus > .sub-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(4px);
    }
    .ec-menu .sub-menu .sub-menu {
      top: 0;
      left: 100%;
    }
    .ec-menu .sub-menu li { margin: 0; }
    .ec-menu .sub-menu a {
      display: block;
      padding: 10px 18px;
      color: rgba(15, 23, 42, 0.78) !important;
      font-size: 14px;
      font-weight: 500;
      transition: all 0.25s;
      border-left: 3px solid transparent;
    }
    .ec-menu .sub-menu a:hover {
      color: rgba(15, 23, 42, 0.92) !important;
      background: rgba(212, 170, 74, 0.14);
      border-left-color: var(--ec-gold);
      padding-left: 22px;
    }
  }
  
  /* Отступ контента под header */
  @media (max-width: 991px) {
    .site { padding-top: 110px; }
  }
  @media (max-width: 480px) {
    .site { padding-top: 90px; }
  }
  
  /* Админ-бар — дополнительный отступ для контента */
  .admin-bar .site { padding-top: 145px; }
  @media screen and (max-width: 782px) {
    .admin-bar .site { padding-top: 156px; }
  }
  @media screen and (max-width: 480px) {
    .admin-bar .site { padding-top: 100px; }
  }
  
  /* Top bar адаптив */
  @media (max-width: 991px) {
    .ec-header-top { padding: 10px 0; }
    .ec-header-tagline,
    .ec-header-tagline-2 { font-size: 13px; white-space: normal; }
    .ec-header-actions { gap: 0.75rem; }
    .ec-header-phones { display: none; }
  }
  @media (max-width: 768px) {
    .ec-header-info { display: none; }
    .ec-header-actions { margin-left: auto; }
  }
  @media (max-width: 480px) {
    .ec-header-cta { padding: 8px 14px; font-size: 12px; }
  }
  
  /* Mobile Burger */
  .burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: var(--ec-radius);
    transition: var(--ec-transition);
    z-index: 1002;
  }
  @media (min-width: 992px) { .burger-btn { display: none; } }
  .burger-btn:hover { background: var(--ec-ash-100); }
  .burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ec-ash-800);
    border-radius: 1px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s;
  }
  .burger-btn:hover span { background: var(--ec-red-dark); }
  .burger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .burger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Mobile Menu Overlay */
  .ec-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--ec-ash-900) 0%, #0d0d0d 100%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 100px 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
  }
  .ec-mobile-menu.active {
    opacity: 1;
    visibility: visible;
  }
  .ec-mobile-menu .ec-mobile-list,
  .ec-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .ec-mobile-menu > ul > li {
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: ecSlideInUp 0.4s ease forwards;
  }
  .ec-mobile-menu.active > ul > li { opacity: 1; }
  .ec-mobile-menu > ul > li:nth-child(1) { animation-delay: 0.05s; }
  .ec-mobile-menu > ul > li:nth-child(2) { animation-delay: 0.1s; }
  .ec-mobile-menu > ul > li:nth-child(3) { animation-delay: 0.15s; }
  .ec-mobile-menu > ul > li:nth-child(4) { animation-delay: 0.2s; }
  .ec-mobile-menu > ul > li:nth-child(5) { animation-delay: 0.25s; }
  .ec-mobile-menu > ul > li:nth-child(6) { animation-delay: 0.3s; }
  .ec-mobile-menu > ul > li:nth-child(7) { animation-delay: 0.35s; }
  .ec-mobile-menu > ul > li:nth-child(8) { animation-delay: 0.4s; }
  .ec-mobile-menu a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ec-white);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.3s, padding-left 0.3s, background 0.3s;
  }
  .ec-mobile-menu a:hover {
    color: var(--ec-red);
    padding-left: 12px;
  }
  
  /* Кнопка «Каталог» внутри бургера */
  .ec-mobile-menu .ec-mobile-catalog-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.9rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ec-white);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    text-align: left;
    transition: color 0.3s, padding-left 0.3s, background 0.3s;
  }
  .ec-mobile-menu .ec-mobile-catalog-btn:hover,
  .ec-mobile-menu .ec-mobile-catalog-btn:focus-visible {
    color: var(--ec-red);
    padding-left: 12px;
    outline: none;
  }
  .ec-mobile-menu .ec-mobile-catalog-btn i {
    width: 22px;
    text-align: center;
    flex: 0 0 auto;
  }
  /* Сетка: стрелка всегда в первой строке рядом с пунктом, подменю — ниже (не тянет стрелку вниз) */
  .ec-mobile-menu .menu-item-has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    grid-auto-rows: auto;
    align-items: stretch;
  }
  .ec-mobile-menu .menu-item-has-children > a {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding-right: 0.5rem;
  }
  .ec-mobile-menu .sub-menu {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  /* Явная строка для подменю под ссылкой+кнопкой */
  .ec-mobile-menu .menu-item-has-children > .sub-menu {
    grid-row: 2;
  }
  .ec-mobile-menu .sub-menu-toggle {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    position: static;
    width: 48px;
    height: 48px;
    margin: 0;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--ec-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s, background 0.25s, border-color 0.25s;
  }
  .ec-mobile-menu .sub-menu-toggle:hover,
  .ec-mobile-menu .sub-menu-toggle:focus-visible {
    background: rgba(255, 183, 0, 0.2);
    border-color: rgba(255, 183, 0, 0.45);
    color: var(--ec-red);
    outline: none;
  }
  .ec-mobile-menu .sub-menu-toggle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid currentColor;
    transform-origin: 50% 40%;
    transition: transform 0.3s ease;
  }
  .ec-mobile-menu .menu-item-has-children.opened .sub-menu-toggle::after {
    transform: rotate(180deg);
  }
  .ec-mobile-menu .menu-item-has-children.opened .sub-menu {
    max-height: 500px;
  }
  .ec-mobile-menu .sub-menu a {
    padding-left: 1.5rem;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
  }
  
  @keyframes ecSlideInUp {
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* ============================================
     Main Content Layout
     ============================================ */
  .content-with-sidebar {
    display: grid;
    gap: 2rem;
  }
  @media (min-width: 768px) {
    .content-with-sidebar { grid-template-columns: 1fr 320px; }
    .content-with-sidebar .main-content { order: 1; }
    .content-with-sidebar .sidebar { order: 2; }
  }
  
  /* Каталог WooCommerce: на ПК сайдбар слева, сетка товаров справа */
  @media (min-width: 992px) {
    .content-area-shop .content-with-sidebar {
      display: grid !important;
      grid-template-columns: 320px minmax(0, 1fr);
      gap: 2rem;
    }
    .content-area-shop .content-with-sidebar .sidebar {
      order: 1;
      grid-column: 1 / 2;
    }
    .content-area-shop .content-with-sidebar .main-content {
      order: 2;
      grid-column: 2 / 3;
      min-width: 0;
    }
  }
  
  /* ============================================
     Sidebar
     ============================================ */
  .sidebar {
    padding: 1.5rem;
    background: var(--ec-ash-100);
    border-radius: var(--ec-radius-lg);
    height: fit-content;
    position: sticky;
    top: 90px;
    transition: box-shadow 0.3s;
  }
  .sidebar:hover { box-shadow: var(--ec-shadow); }
  .sidebar .widget {
    margin-bottom: 1.5rem;
  }
  .sidebar .widget:last-child { margin-bottom: 0; }
  .sidebar .widget-title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    color: var(--ec-ash-900);
    border-bottom: 2px solid var(--ec-red);
    padding-bottom: 0.5rem;
  }
  
  /* ============================================
     Page Templates
     ============================================ */
  .page-header {
    padding: 3rem 0 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--ec-ash-100) 0%, var(--ec-ash-200) 100%);
    position: relative;
    overflow: hidden;
  }
  .page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(229,57,53,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .page-header h1 {
    margin: 0;
    font-size: 2.3em !important;
    line-height: 1.2em;
    color: var(--ec-ash-900);
    animation: fadeInDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
  }
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .entry-content {
    animation: fadeIn 0.5s ease 0.15s backwards;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .entry-content p { margin: 0 0 1rem; }
  .entry-content h2 { margin: 2rem 0 1rem; color: var(--ec-ash-900); }
  .entry-content h3 { margin: 1.5rem 0 0.75rem; }
  
  /* ============================================
     Product/Car Card
     ============================================ */
  .cars-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  .car-card {
    background: var(--ec-white);
    border-radius: var(--ec-radius-lg);
    overflow: hidden;
    box-shadow: var(--ec-shadow);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s,
                border-color 0.3s;
    animation: cardAppear 0.6s ease backwards;
    border: 1px solid transparent;
  }
  .car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: rgba(245, 183, 0, 0.2);
  }
  .car-card .car-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--ec-ash-200);
  }
  .car-card .car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .car-card:hover .car-image img { transform: scale(1.06); }
  .car-card .car-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ec-red);
    color: var(--ec-ash-900);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .car-card .car-body { padding: 1.25rem; }
  .car-card .car-title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ec-ash-900);
    line-height: 1.3;
  }
  .car-card .car-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--ec-ash-600);
  }
  .car-card .car-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ec-red-dark);
  }
  
  @keyframes cardAppear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Single Car/Product Page */
  .single-car .car-gallery {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-radius: var(--ec-radius-lg);
    overflow: hidden;
  }
  .single-car .car-gallery img {
    width: 100%;
    height: auto;
  }
  .single-car .car-specs {
    display: grid;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--ec-ash-100);
    border-radius: var(--ec-radius-lg);
  }
  .single-car .car-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--ec-ash-200);
  }
  .single-car .car-spec-row:last-child { border-bottom: none; }
  .single-car .car-cta { margin-top: 2rem; }
  
  /* ============================================
     Single Post
     ============================================ */
  .single-post .post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ec-ash-200);
  }
  .single-post .post-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--ec-ash-900);
    line-height: 1.3;
  }
  .single-post .post-meta {
    font-size: 0.875rem;
    color: var(--ec-ash-600);
  }
  .single-post .post-meta a { color: inherit; }
  .single-post .post-meta a:hover { color: var(--ec-red-dark); }
  .single-post .post-thumbnail {
    margin-bottom: 1.5rem;
    border-radius: var(--ec-radius-lg);
    overflow: hidden;
  }
  .single-post .post-thumbnail img { width: 100%; height: auto; }
  
  /* ============================================
     Footer — Glassmorphism / App-style
     ============================================ */
  .site-footer.ec-footer {
    position: relative;
    background: var(--ec-ash-dark);
    color: var(--ec-white) !important;
    padding: 60px 20px 30px;
    overflow: hidden;
  }
  
  /* Свечение фона */
  .ec-footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
    animation: ecGlowPulse 8s ease-in-out infinite;
  }
  .ec-footer-glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 215, 0, 0.4);
    top: -150px;
    left: -100px;
  }
  .ec-footer-glow-2 {
    width: 350px;
    height: 350px;
    background: rgba(255, 140, 0, 0.25);
    bottom: -100px;
    right: -80px;
    animation-delay: -4s;
  }
  @keyframes ecGlowPulse {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
  }
  
  .ec-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--ec-layout-max);
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
  }
  
  /* Стеклянные карточки */
  .ec-footer-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s, background 0.3s,
                box-shadow 0.4s;
    animation: ecCardReveal 0.6s ease backwards;
  }
  .ec-footer-card:nth-child(1) { animation-delay: 0.05s; }
  .ec-footer-card:nth-child(2) { animation-delay: 0.1s; }
  .ec-footer-card:nth-child(3) { animation-delay: 0.15s; }
  .ec-footer-card:nth-child(4) { animation-delay: 0.2s; }
  .ec-footer-card:hover {
    border-color: rgba(255, 215, 0, 0.35);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }
  @keyframes ecCardReveal {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .ec-footer-title {
    font-size: 13px;
    text-transform: uppercase;
    color: #999 !important;
    letter-spacing: 1.2px;
    margin: 0 0 18px 0 !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .ec-footer-title i { color: var(--ec-red) !important; }
  
  .ec-footer-logo { margin-bottom: 18px; }
  .ec-footer-logo a { display: inline-block; }
  .ec-footer-logo img {
    max-width: 160px;
    height: auto;
    opacity: 0.95;
    transition: opacity 0.3s;
  }
  .ec-footer-logo img:hover { opacity: 1; }
  .ec-footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ec-white) !important;
    transition: color 0.3s;
  }
  .ec-footer-logo-text:hover { color: var(--ec-red) !important; }
  
  .ec-footer-text p {
    font-size: 13px !important;
    color: #aaa !important;
    margin-bottom: 10px !important;
    line-height: 1.5;
  }
  .ec-footer-address i { margin-right: 6px; color: var(--ec-red); }
  .ec-footer-legal {
    font-size: 12px !important;
    color: #777 !important;
    text-decoration: underline;
    transition: color 0.3s;
  }
  .ec-footer-legal:hover { color: var(--ec-red) !important; }
  
  /* Соцсети */
  .ec-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
  }
  .ec-soc-btn {
    flex: 1;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--ec-white) !important;
    font-size: 18px;
    transition: transform 0.3s, background 0.3s, color 0.3s;
  }
  .ec-soc-btn:hover {
    background: var(--ec-white);
    transform: translateY(-3px);
  }
  .ec-soc-tg:hover { color: #0088cc !important; }
  .ec-soc-wa:hover { color: #25D366 !important; }
  .ec-soc-vi:hover { color: #665CAC !important; }
  .ec-soc-in:hover { color: #E1306C !important; }
  
  /* Кнопки каталога */
  .ec-footer-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .ec-footer-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ec-white) !important;
    padding: 11px 8px;
    text-align: center;
    border-radius: 12px;
    font-size: 13px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
  }
  .ec-footer-btn:hover {
    background: var(--ec-red);
    color: #000 !important;
    font-weight: 600;
    transform: scale(1.04);
    border-color: transparent;
  }
  .ec-footer-btn-full { grid-column: span 2; }
  
  /* Список меню */
  .ec-footer-list { display: flex; flex-direction: column; gap: 8px; }
  .ec-footer-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    color: #ddd !important;
    font-size: 14px !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
  }
  .ec-footer-link i { font-size: 10px; opacity: 0.6; transition: transform 0.3s; }
  .ec-footer-link:hover {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--ec-red) !important;
    padding-left: 22px;
    transform: translateX(4px);
  }
  .ec-footer-link:hover i { transform: translateX(4px); opacity: 1; }
  .ec-footer-link-accent:hover { color: var(--ec-red) !important; }
  .ec-footer-divider { height: 1px; background: rgba(255, 255, 255, 0.12); margin: 8px 0; }
  
  /* Контакты */
  .ec-footer-contacts-stack { display: flex; flex-direction: column; gap: 12px; }
  .ec-contact-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--ec-white) !important;
    font-size: 15px !important;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
  }
  .ec-contact-pill i { color: var(--ec-red); }
  .ec-contact-pill:hover { color: var(--ec-red) !important; transform: translateX(4px); }
  
  .ec-footer-email {
    text-align: center;
    color: #aaa !important;
    font-size: 14px !important;
    margin: 4px 0;
    transition: color 0.3s;
  }
  .ec-footer-email:hover { color: var(--ec-red) !important; }
  
  .ec-footer-cta {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, var(--ec-red), var(--ec-red-dark));
    border: none;
    padding: 16px 24px;
    border-radius: 50px;
    color: #000 !important;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 8px;
    animation: ecCtaPulse 2.5s ease-in-out infinite;
  }
  @keyframes ecCtaPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35); }
    50% { box-shadow: 0 4px 28px rgba(255, 215, 0, 0.55); }
  }
  .ec-footer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.45);
    animation: none;
  }
  .ec-footer-cta-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2));
    opacity: 0;
    transition: opacity 0.3s;
  }
  .ec-footer-cta:hover .ec-footer-cta-glow { opacity: 1; }
  
  .ec-footer-copy {
    text-align: center;
    margin-top: 40px;
    color: #888 !important;
    font-size: 12px;
    position: relative;
    z-index: 2;
  }
  
  /* ============================================
     SandverLux Footer (lux glass)
     ============================================ */
  .svx-footer.footer-wrapper {
    --primary-color: #d4aa4a; /* Золото / теплый акцент как на hero */
    --text-main: #f6f1e8;
    --text-muted: rgba(246, 241, 232, 0.68);
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-border: rgba(255, 255, 255, 0.09);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
    position: relative;
    width: 100%;
    background: radial-gradient(1100px 520px at 12% -12%, rgba(212, 170, 74, 0.18), rgba(10, 10, 10, 0) 60%),
                radial-gradient(900px 520px at 88% 18%, rgba(212, 170, 74, 0.08), rgba(10, 10, 10, 0) 55%),
                linear-gradient(180deg, #101112 0%, #070707 100%);
    overflow: hidden;
    padding-top: 100px;
    color: var(--text-main);
  }
  
  .svx-footer .footer-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 170, 74, 0.20) 0%, rgba(212, 170, 74, 0) 70%);
    border-radius: 50%;
    top: -100px;
    left: 10%;
    filter: blur(80px);
    animation: svx-float 15s infinite alternate;
    z-index: 0;
  }
  
  @keyframes svx-float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 50px); }
  }
  
  .svx-footer .glass-container {
    position: relative;
    z-index: 1;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
  }
  
  .svx-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 80px;
  }
  
  /* Лого и описание */
  .svx-footer .footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
  }
  
  .svx-footer .footer-logo-link img {
    width: auto;
    max-width: 220px;
    height: auto;
    margin-bottom: 25px;
    transition: var(--transition);
  }
  
  .svx-footer .footer-logo-link img:hover {
    filter: drop-shadow(0 0 10px var(--primary-color));
    transform: scale(1.02);
  }
  
  .svx-footer-logo-text {
    display: inline-block;
    margin-bottom: 25px;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.3px;
    transition: var(--transition);
  }
  
  .svx-footer .footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
  }
  
  /* Ссылки и списки */
  .svx-footer .footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    position: relative;
  }
  
  .svx-footer .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .svx-footer .footer-list li { margin-bottom: 15px; }
  
  .svx-footer .footer-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
    position: relative;
  }
  
  .svx-footer .footer-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition);
  }
  
  .svx-footer .footer-list a:hover {
    color: var(--text-main);
    transform: translateX(5px);
  }
  
  .svx-footer .footer-list a:hover::after { width: 100%; }
  
  /* Кнопка рекламации */
  .svx-footer .btn-claim {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
  }
  
  .svx-footer .btn-claim:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(226, 176, 74, 0.2);
  }
  
  /* Контакты */
  .svx-footer .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
  }
  
  .svx-footer .icon-box {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-color);
  }
  
  .svx-footer .contact-item:hover .icon-box {
    background: var(--primary-color);
    color: #000;
    transform: rotate(-10deg);
  }
  
  .svx-footer .contact-info span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
  }
  
  .svx-footer .contact-info a,
  .svx-footer .contact-info div {
    font-size: 15px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
  }
  
  /* Соцсети */
  .svx-footer .social-row { display: flex; gap: 15px; }
  .svx-footer .social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
  }
  .svx-footer .social-btn:hover {
    background: var(--primary-color);
    color: #111;
    transform: translateY(-5px);
  }
  
  /* Рейтинг */
  .svx-footer .rating-box {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--glass-border);
  }
  .svx-footer .stars {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 5px;
    text-shadow: 0 0 12px rgba(212, 170, 74, 0.35);
  }
  
  /* Нижняя панель */
  .svx-footer .footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .svx-footer .bottom-links { display: flex; gap: 30px; }
  .svx-footer .bottom-links a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
  .svx-footer .bottom-links a:hover { color: var(--primary-color); }
  
  .svx-footer .payment-methods {
    display: flex;
    gap: 15px;
    align-items: center;
    opacity: 0.7;
    filter: grayscale(1);
    transition: 0.5s;
  }
  .svx-footer .payment-methods:hover { opacity: 1; filter: grayscale(0); }
  .svx-footer .payment-methods img { height: 22px; width: auto; }
  .svx-footer .svx-belcard { font-weight: bold; color: #fff; font-style: italic; }
  
  @media (max-width: 1024px) {
    .svx-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  }
  @media (max-width: 600px) {
    .svx-footer .footer-grid { grid-template-columns: 1fr; }
    .svx-footer .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  }
  
  /* Адаптив подвала */
  @media (max-width: 1024px) {
    .ec-footer-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .ec-footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .ec-footer-card { padding: 20px; }
    .ec-footer-title { justify-content: center; }
    .ec-footer-info .ec-footer-logo,
    .ec-footer-info .ec-footer-logo-text { display: block; text-align: center; margin-left: auto; margin-right: auto; }
    .ec-footer-text { text-align: center; }
    .ec-footer-address { justify-content: center; }
    .ec-footer-contacts-stack { align-items: stretch; }
    .ec-footer-glow-1,
    .ec-footer-glow-2 { filter: blur(80px); opacity: 0.25; }
  }
  
  /* ============================================
     Buttons & Forms
     ============================================ */
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--ec-radius);
    border: none;
    cursor: pointer;
    transition: var(--ec-transition);
    text-align: center;
  }
  .btn-primary {
    background: var(--ec-red);
    color: var(--ec-ash-900);
  }
  .btn-primary:hover {
    background: var(--ec-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 183, 0, 0.35);
  }
  .btn-outline {
    background: transparent;
    color: var(--ec-ash-800);
    border: 2px solid var(--ec-ash-600);
  }
  .btn-outline:hover {
    border-color: var(--ec-red);
    color: var(--ec-red-dark);
  }
  
  /* ============================================
     404 & Search
     ============================================ */
  .error-404,
  .search-no-results {
    text-align: center;
    padding: 4rem 2rem;
  }
  .error-404 h1,
  .search-no-results h1 {
    font-size: 6rem;
    margin: 0;
    color: var(--ec-ash-200);
  }
  .error-404 p,
  .search-no-results p { margin: 1rem 0; color: var(--ec-ash-600); }
  
  /* Posts grid (blog) */
  .posts-grid {
    display: grid;
    gap: 1.5rem;
  }
  .posts-grid article {
    padding: 1.5rem;
    background: var(--ec-ash-100);
    border-radius: var(--ec-radius-lg);
    transition: all var(--ec-transition);
  }
  .posts-grid article:hover {
    background: var(--ec-ash-200);
    transform: translateY(-3px);
    box-shadow: var(--ec-shadow);
  }
  .posts-grid .entry-title { margin: 0 0 0.5rem; font-size: 1.25rem; }
  .posts-grid .entry-title a { color: var(--ec-ash-900); }
  .posts-grid .entry-title a:hover { color: var(--ec-red-dark); }
  .posts-grid .entry-meta { font-size: 0.875rem; color: var(--ec-ash-600); margin-bottom: 0.5rem; }
  .posts-grid .entry-summary { margin-bottom: 1rem; }
  
  /* Search form */
  .search-form {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
  }
  .search-form input { padding: 0.5rem 1rem; border: 1px solid var(--ec-ash-200); border-radius: var(--ec-radius); }
  .search-form label { flex: 1; }
  
  /* Comments */
  .comments-area { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--ec-ash-200); }
  .comments-title { margin-bottom: 1rem; }
  .comment-list { list-style: none; padding: 0; margin: 0; }
  .comment-list .children { margin-left: 2rem; }
  
  /* Pagination */
  .pagination,
  .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
  }
  .pagination a,
  .pagination span,
  .nav-links a,
  .nav-links span {
    padding: 0.5rem 1rem;
    background: var(--ec-ash-100);
    color: var(--ec-ash-800);
    border-radius: var(--ec-radius);
    transition: var(--ec-transition);
  }
  .pagination a:hover,
  .nav-links a:hover { background: var(--ec-red); color: var(--ec-ash-900); }
  .pagination .current,
  .nav-links .current { background: var(--ec-red); color: var(--ec-ash-900); font-weight: 600; }
  
  /* Screen reader */
  .screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
  }
   /* --- ОБЩИЕ СТИЛИ СЕКЦИИ --- */
    .ecw-hero-section {
      position: relative;
      width: 100%;
      min-height: 85vh; /* Чуть увеличили высоту, чтобы вместить бегущую строку */
      display: flex;
      align-items: center;
      overflow: hidden;
      font-family: 'Inter', 'Montserrat', sans-serif;
      color: #fff;
      background-color: #0a0a0a;
      /* --ecw-hero-bg-image задаётся в functions.php из миниатюры страницы */
    }
  
    /* --- ФОН: миниатюра страницы или запасной URL ниже --- */
    .ecw-bg-layer {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background-image: var(
        --ecw-hero-bg-image,
        linear-gradient(155deg, #1a1a1a 0%, #0d0d0d 45%, #121212 100%)
      );
      background-size: cover;
      background-position: center right;
      z-index: 1;
      transform: translateZ(0);
      backface-visibility: hidden;
    }
  
    /* --- СУПЕР-ПЛАВНЫЙ ГРАДИЕНТ И РАЗМЫТИЕ --- */
    .ecw-blur-layer {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      z-index: 2;
      
      background: linear-gradient(
        to right, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(10, 10, 10, 0.85) 25%, 
        rgba(10, 10, 10, 0.6) 45%, 
        rgba(10, 10, 10, 0.25) 65%, 
        rgba(10, 10, 10, 0) 90%
      );
      
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      
      mask-image: linear-gradient(
        to right, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(0, 0, 0, 1) 30%, 
        rgba(0, 0, 0, 0.9) 42%, 
        rgba(0, 0, 0, 0.7) 54%, 
        rgba(0, 0, 0, 0.4) 66%, 
        rgba(0, 0, 0, 0.15) 78%, 
        rgba(0, 0, 0, 0) 95%
      );
      -webkit-mask-image: linear-gradient(
        to right, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(0, 0, 0, 1) 30%, 
        rgba(0, 0, 0, 0.9) 42%, 
        rgba(0, 0, 0, 0.7) 54%, 
        rgba(0, 0, 0, 0.4) 66%, 
        rgba(0, 0, 0, 0.15) 78%, 
        rgba(0, 0, 0, 0) 95%
      );
      transform: translateZ(0);
      backface-visibility: hidden;
    }
  
    /* --- КОНТЕЙНЕР --- */
    .ecw-container {
      position: relative;
      z-index: 10;
      width: 100%;
      max-width: var(--ec-layout-max);
      margin: 0 auto;
      padding: 0 20px;
      /* Отступ снизу, чтобы контент не наезжал на бегущую строку */
      padding-bottom: 60px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  
    /* --- ЛЕВАЯ ЧАСТЬ (СЛАЙДЕР) --- */
    .ecw-slider-col {
      width: 55%;
      max-width: 650px;
      position: relative;
      min-height: 380px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
  
    .ecw-slides-wrapper {
      position: relative;
      width: 100%;
      height: 100%;
      flex-grow: 1;
    }
  
    .ecw-slide {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
  
    .ecw-slide.ecw-active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      position: relative;
    }
  
    .ecw-badge {
      display: inline-block;
      color: #E53935;
      font-size: 16px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 15px;
      position: relative;
      text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
    
    .ecw-badge::before {
      content: '';
      display: inline-block;
      width: 30px;
      height: 2px;
      background: #E53935;
      vertical-align: middle;
      margin-right: 10px;
    }
  
  .ecw-slide h1,
  .ecw-slide h2 {
      font-size: 48px;
      line-height: 1.15;
      font-weight: 800;
      margin: 0 0 20px 0;
      color: #fff;
      text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    }
  
    .ecw-slide p {
      font-size: 18px;
      line-height: 1.5;
      color: #e8e8e8;
      margin: 0 0 35px 0;
      max-width: 90%;
      text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
  
    /* Кнопки */
    .ecw-btn-group {
      display: flex;
      gap: 15px;
      margin-top: 10px;
    }
  
    .ecw-btn {
      padding: 16px 35px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 16px;
      text-decoration: none;
      transition: 0.3s ease;
      cursor: pointer;
    }
  
    .ecw-btn-main {
      background: #E53935;
      color: #111;
      box-shadow: 0 5px 15px rgba(229, 57, 53, 0.2);
    }
  
    .ecw-btn-main:hover {
      background: #EF5350;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(229, 57, 53, 0.4);
    }
  
    .ecw-btn-alt {
      background: transparent;
      color: #fff;
      border: 1px solid rgba(255,255,255,0.4);
      backdrop-filter: blur(5px);
    }
  
    .ecw-btn-alt:hover {
      background: rgba(255,255,255,0.15);
      border-color: #fff;
    }
  
    /* Навигация слайдера (точки) */
    .ecw-slider-nav {
      display: flex;
      gap: 10px;
      margin-top: 40px;
    }
  
    .ecw-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255,255,255,0.25);
      cursor: pointer;
      transition: 0.3s ease;
    }
  
    .ecw-dot.ecw-active {
      background: #E53935;
      transform: scale(1.3);
      box-shadow: 0 0 10px rgba(229, 57, 53, 0.5);
    }
  
    /* --- ПРАВАЯ ЧАСТЬ (СТЕКЛЯННЫЕ ЛЕВИТИРУЮЩИЕ ЭЛЕМЕНТЫ) --- */
    .ecw-floating-col {
      width: 40%;
      height: 450px;
      position: relative;
      perspective: 1000px;
      will-change: transform;
      transition: transform 0.25s ease-out;
    }
  
    .ecw-glass-item {
      position: absolute;
      background: rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-top: 1px solid rgba(255, 255, 255, 0.3);
      border-left: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 16px;
      padding: 15px 20px;
      display: flex;
      align-items: center;
      gap: 15px;
      box-shadow: 0 15px 35px rgba(0,0,0,0.2);
      color: #fff;
      font-weight: 500;
      font-size: 15px;
      text-shadow: 0 1px 3px rgba(0,0,0,0.3);
      will-change: transform;
    }
  
    .ecw-icon-wrap {
      width: 40px; height: 40px;
      background: rgba(229, 57, 53, 0.15);
      color: #E53935;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
    }
  
    .ecw-f1 { top: 15%; right: 5%; animation: ecwFloat 5s ease-in-out infinite; }
    .ecw-f2 { top: 45%; left: -5%; animation: ecwFloat 4.5s ease-in-out infinite 1s; }
    .ecw-f3 { bottom: 10%; right: 15%; animation: ecwFloat 5.5s ease-in-out infinite 0.5s; }
  
    @keyframes ecwFloat {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-15px); }
      100% { transform: translateY(0px); }
    }
  
    /* --- БЕГУЩАЯ СТРОКА (MARQUEE) --- */
    .ecw-marquee-wrapper {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.3); /* Полупрозрачная подложка */
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 14px 0;
      overflow: hidden;
      z-index: 15;
      display: flex;
    }
  
    .ecw-marquee-track {
      display: flex;
      width: max-content;
      /* 40 секунд на полный оборот, linear - равномерная скорость */
      animation: ecwMarqueeAnim 40s linear infinite;
      will-change: transform;
    }
  
    /* Облегчённый режим эффектов для Safari/macOS */
    .ecw-hero-section.ecw-lite-effects .ecw-blur-layer {
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      mask-image: none;
      -webkit-mask-image: none;
      background: linear-gradient(
        to right,
        rgba(10, 10, 10, 0.88) 0%,
        rgba(10, 10, 10, 0.72) 38%,
        rgba(10, 10, 10, 0.38) 66%,
        rgba(10, 10, 10, 0.08) 100%
      );
    }
    .ecw-hero-section.ecw-lite-effects .ecw-marquee-wrapper {
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      background: rgba(0, 0, 0, 0.52);
    }
  
    /* Пауза при наведении мыши (опционально, но удобно) */
    .ecw-marquee-wrapper:hover .ecw-marquee-track {
      animation-play-state: paused;
    }
  
    .ecw-marquee-group {
      display: flex;
      align-items: center;
      gap: 30px;
      padding-right: 30px; /* Отступ перед началом дублирующей группы */
    }
  
    .ecw-marquee-item {
      color: #e8e8e8;
      font-size: 14px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      white-space: nowrap;
      display: flex;
      align-items: center;
    }
  
    .ecw-marquee-dot {
      color: #E53935;
      font-size: 18px;
      margin-right: 30px;
    }
  
    @keyframes ecwMarqueeAnim {
      0% { transform: translateX(0); }
      /* Сдвигаем ровно на 50%, так как контент состоит из 2 одинаковых блоков, это создаст идеальную петлю */
      100% { transform: translateX(-50%); } 
    }
  
    /* --- АДАПТИВНОСТЬ --- */
    @media (max-width: 991px) {
      .ecw-hero-section { padding: 80px 0 60px 0; }
      .ecw-container { flex-direction: column; padding-bottom: 80px; }
      
      .ecw-blur-layer {
        background: rgba(15, 15, 15, 0.7);
        mask-image: none;
        -webkit-mask-image: none;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
      }
  
      .ecw-slider-col { width: 100%; max-width: 100%; min-height: 420px; text-align: center; }
      .ecw-badge::before { display: none; }
      .ecw-slide h2 { font-size: 34px; }
      .ecw-slide p { max-width: 100%; margin: 0 auto 35px auto; }
      .ecw-btn-group { justify-content: center; flex-wrap: wrap; }
      .ecw-slider-nav { justify-content: center; }
  
      .ecw-floating-col { width: 100%; height: 250px; margin-top: 30px; }
      .ecw-f1 { top: 0; right: 0; }
      .ecw-f2 { top: 40%; left: 0; }
      .ecw-f3 { bottom: 0; right: 10%; }
      
      .ecw-marquee-item { font-size: 12px; }
    }
    
    @media (max-width: 480px) {
      .ecw-slide h2 { font-size: 28px; }
      .ecw-btn { width: 100%; text-align: center; }
      .ecw-glass-item { padding: 10px 15px; font-size: 13px; }
    }
  /* --- ОБЩИЕ СТИЛИ СЕКЦИИ --- */
    .ec-cta-section {
      background-color: #f8f9fa; /* Светлый фон, продолжает стилистику каталога */
      padding: 20px 0 100px 0;
      font-family: 'Inter', 'Montserrat', sans-serif;
    }
  
    .ec-cta-container {
      max-width: var(--ec-layout-max);
      margin: 0 auto;
      padding: 0 20px;
    }
  
    /* --- КАРТОЧКА БАННЕРА --- */
    .ec-cta-box {
      background: #ffffff;
      border-radius: 30px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
      display: flex;
      align-items: center;
      overflow: hidden;
      position: relative;
      border: 1px solid #f0f0f0;
    }
  
    /* --- ЛЕВАЯ ЧАСТЬ (АВТОМОБИЛЬ) --- */
    .ec-cta-image-col {
      width: 55%;
      position: relative;
      padding: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      /* Декоративный круг на фоне машины для объема */
      background: radial-gradient(circle at center, #f4f5f7 0%, #ffffff 70%);
    }
  
    .ec-cta-image-col::before {
      content: '';
      position: absolute;
      width: 70%;
      height: 70%;
      background: rgba(229, 57, 53, 0.05);
      border-radius: 50%;
      z-index: 0;
    }
  
    .ec-cta-car-img {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 600px;
      height: auto;
      /* Анимация плавного парения */
      animation: ecCarFloat 6s ease-in-out infinite;
      /* Тень под машиной для реалистичности */
      filter: drop-shadow(0 30px 20px rgba(0,0,0,0.15));
    }
  
    @keyframes ecCarFloat {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-12px); }
      100% { transform: translateY(0px); }
    }
  
    /* --- ПРАВАЯ ЧАСТЬ (КОНТЕНТ) --- */
    .ec-cta-content-col {
      width: 45%;
      padding: 60px 60px 60px 0;
      z-index: 2;
    }
  
    .ec-cta-title {
      font-size: 38px;
      font-weight: 800;
      color: #111;
      margin: 0 0 25px 0;
      position: relative;
      display: inline-block;
    }
  
    /* Желтая точка в конце заголовка */
    .ec-cta-title::after {
      content: '';
      position: absolute;
      bottom: 8px;
      right: -14px;
      width: 10px;
      height: 10px;
      background-color: #E53935;
      border-radius: 50%;
    }
  
    /* Список преимуществ */
    .ec-cta-list {
      list-style: none;
      padding: 0;
      margin: 0 0 40px 0;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
  
    .ec-cta-list li {
      font-size: 18px;
      color: #444;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 16px;
      line-height: 1.4;
    }
  
    /* Кастомные галочки */
    .ec-cta-check {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      background: #E53935;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #111;
      box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
    }
  
    .ec-cta-check svg {
      width: 14px;
      height: 14px;
      fill: none;
      stroke: currentColor;
      stroke-width: 3;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
  
    /* Кнопка (использует ваши системные классы для попапа) */
    .ec-cta-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #111;
      color: #fff;
      padding: 18px 40px;
      font-size: 16px;
      font-weight: 600;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
  
    .ec-cta-btn:hover {
      background: #E53935;
      color: #111;
      transform: translateY(-3px);
      box-shadow: 0 15px 30px rgba(229, 57, 53, 0.4);
    }
  
    /* --- АДАПТИВНОСТЬ --- */
    @media (max-width: 991px) {
      .ec-cta-box {
        flex-direction: column;
        border-radius: 24px;
      }
      
      .ec-cta-image-col {
        width: 100%;
        padding: 40px 20px 20px 20px;
        /* На планшетах и телефонах градиент сверху */
        background: radial-gradient(circle at bottom, #f4f5f7 0%, #ffffff 70%);
      }
  
      .ec-cta-image-col::before {
        width: 250px;
        height: 250px;
        bottom: 10%;
      }
  
      .ec-cta-content-col {
        width: 100%;
        padding: 20px 40px 50px 40px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
  
      .ec-cta-list li {
        text-align: left;
      }
    }
  
    @media (max-width: 480px) {
      .ec-cta-section { padding-bottom: 60px; }
      .ec-cta-title { font-size: 28px; margin-bottom: 20px; }
      .ec-cta-content-col { padding: 10px 20px 40px 20px; }
      .ec-cta-list li { font-size: 15px; }
      .ec-cta-btn { width: 100%; padding: 16px 20px; }
      .ec-cta-car-img { animation: none; /* Отключаем парение на мобильных для экономии батареи */ }
    }
   /* --- ОБЩИЕ СТИЛИ СЕКЦИИ --- */
    .ec-process-section {
      background-color: #121316; /* Премиальный темный фон */
      padding: 100px 0 120px 0;
      font-family: 'Inter', 'Montserrat', sans-serif;
      color: #fff;
      overflow: hidden;
    }
  
    .ec-process-container {
      max-width: var(--ec-layout-max);
      margin: 0 auto;
      padding: 0 20px;
    }
  
    /* --- ШАПКА БЛОКА --- */
    .ec-process-header {
      text-align: center;
      margin-bottom: 80px;
    }
  
    .ec-process-title {
      font-size: 42px;
      font-weight: 800;
      color: #ffffff !important; /* Принудительно белый цвет заголовка */
      margin: 0;
      position: relative;
      display: inline-block;
    }
  
    /* Акцентная точка */
    .ec-process-title::after {
      content: '';
      position: absolute;
      bottom: 8px;
      right: -16px;
      width: 10px;
      height: 10px;
      background-color: #E53935;
      border-radius: 50%;
    }
  
    /* --- ТАЙМЛАЙН (ЛИНИЯ ПРОГРЕССА) --- */
    .ec-process-track {
      position: relative;
    }
  
    /* Серая линия (фон) */
    .ec-process-line-bg {
      position: absolute;
      top: 24px;
      left: 12.5%; /* Начинается от центра первой колонки */
      width: 75%;  /* Заканчивается в центре последней колонки (для 4 шагов) */
      height: 2px;
      background: rgba(255, 255, 255, 0.1);
      z-index: 1;
    }
  
    /* Желтая линия (заполнение при анимации) */
    .ec-process-line-fill {
      position: absolute;
      top: 24px;
      left: 12.5%;
      width: 0; /* Изначально 0, заполняется через JS */
      height: 2px;
      background: #E53935;
      z-index: 2;
      transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
      box-shadow: 0 0 10px rgba(229, 57, 53, 0.5);
    }
  
    /* --- СЕТКА ШАГОВ --- */
    .ec-process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      position: relative;
      z-index: 3;
    }
  
    /* --- КАРТОЧКА ШАГА --- */
    .ec-process-step {
      text-align: center;
      padding: 0 20px;
      position: relative;
      /* Изначально скрыты для анимации */
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
  
    /* Кружок (точка) на линии */
    .ec-process-dot {
      width: 20px;
      height: 20px;
      background: #121316;
      border: 3px solid rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      margin: 15px auto 35px auto;
      transition: all 0.5s ease;
      position: relative;
    }
  
    /* Цифра на заднем фоне (водяной знак) */
    .ec-process-number {
      position: absolute;
      top: 40px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 100px;
      font-weight: 900;
      color: rgba(255, 255, 255, 0.03);
      z-index: -1;
      line-height: 1;
      pointer-events: none;
      transition: color 0.5s ease;
    }
  
    /* Заголовок и текст */
    .ec-process-step-title {
      font-size: 20px;
      font-weight: 700;
      color: #ffffff !important; /* Принудительно белый для подзаголовков */
      margin: 0 0 15px 0;
    }
  
    .ec-process-step-desc {
      font-size: 15px;
      line-height: 1.6;
      color: #9ba0a8;
      margin: 0;
    }
  
    /* --- СОСТОЯНИЯ АНИМАЦИИ (ДОБАВЛЯЕТСЯ ЧЕРЕЗ JS) --- */
    
    /* Когда секция появляется на экране */
    .ec-process-track.is-visible .ec-process-line-fill {
      width: 75%; /* Заполняем линию на ПК */
    }
  
    /* Активация каждого шага по очереди */
    .ec-process-step.is-active {
      opacity: 1;
      transform: translateY(0);
    }
  
    .ec-process-step.is-active .ec-process-dot {
      border-color: #E53935;
      background: #E53935;
      box-shadow: 0 0 15px rgba(229, 57, 53, 0.6);
    }
  
    .ec-process-step.is-active .ec-process-number {
      color: rgba(229, 57, 53, 0.08); /* Лёгкий красный оттенок */
    }
  
    /* --- АДАПТИВНОСТЬ (МОБИЛЬНЫЕ УСТРОЙСТВА) --- */
    @media (max-width: 991px) {
      .ec-process-header { margin-bottom: 50px; }
      
      /* Перестраиваем в вертикальный таймлайн */
      .ec-process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
  
      .ec-process-line-bg {
        top: 0;
        left: 39px; /* Сдвигаем линию влево */
        width: 2px;
        height: 100%;
      }
  
      .ec-process-line-fill {
        top: 0;
        left: 39px;
        width: 2px;
        height: 0; /* Будет заполняться по высоте */
        transition: height 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
      }
  
      .ec-process-track.is-visible .ec-process-line-fill {
        width: 2px;
        height: 100%; /* Заполняем по высоте на мобильных */
      }
  
      .ec-process-step {
        text-align: left;
        padding: 0 0 0 80px; /* Отступ слева для текста, чтобы обогнуть линию */
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 80px;
      }
  
      .ec-process-dot {
        position: absolute;
        top: 50%;
        left: 30px;
        transform: translateY(-50%);
        margin: 0;
      }
  
      .ec-process-number {
        top: 50%;
        left: 130px; /* Сдвигаем водяной знак цифры вправо */
        transform: translateY(-50%);
        font-size: 80px;
      }
    }
  
    @media (max-width: 480px) {
      .ec-process-section { padding: 70px 0; }
      .ec-process-title { font-size: 32px; }
      .ec-process-step-title { font-size: 18px; }
      .ec-process-step-desc { font-size: 14px; }
      .ec-process-number { font-size: 60px; left: 110px; }
    }
  /* --- ОБЩИЕ СТИЛИ СЕКЦИИ --- */
    .ec-adv-section {
      background-color: #0b0c10; /* Глубокий темный фон */
      padding: 140px 0; /* Отступы под классическую волну */
      font-family: 'Inter', 'Montserrat', sans-serif;
      position: relative;
      overflow: hidden;
    }
  
    /* --- ОБЫЧНЫЙ ВОЛНИСТЫЙ ПЕРЕХОД --- */
    .ec-adv-wave {
      position: absolute;
      left: 0;
      width: 100%;
      overflow: hidden;
      line-height: 0;
      z-index: 1; /* Волна над фоном, но под контентом */
    }
  
    .ec-adv-wave svg {
      position: relative;
      display: block;
      width: calc(100% + 1.5px);
      height: 60px; /* Аккуратная высота волны */
    }
  
    .ec-adv-wave-fill {
      fill: #ffffff; /* Цвет волны (совпадает с фоном соседних блоков) */
    }
  
    .ec-adv-wave-top {
      top: -1px;
    }
  
    .ec-adv-wave-bottom {
      bottom: -1px;
      transform: rotate(180deg); /* Разворачиваем волну для нижней части */
    }
  
    /* --- ПОДСВЕТКА ПЯТНАМИ (СВЕЧЕНИЯ) --- */
    .ec-adv-spotlight {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      -webkit-filter: blur(80px);
      z-index: 0;
      pointer-events: none;
    }
  
    /* Желтое пятно сверху слева */
    .ec-adv-spot-1 {
      top: -50px;
      left: -100px;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(229, 57, 53, 0.15) 0%, rgba(229, 57, 53, 0) 70%);
    }
  
    /* Белое пятно снизу справа для контраста */
    .ec-adv-spot-2 {
      bottom: -50px;
      right: -100px;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    }
  
    /* Лёгкое красное свечение под карточками */
    .ec-adv-spot-3 {
      top: 30%;
      left: 35%;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(229, 57, 53, 0.08) 0%, rgba(229, 57, 53, 0) 70%);
    }
  
    /* --- КОНТЕЙНЕР --- */
    .ec-adv-container {
      max-width: var(--ec-layout-max);
      margin: 0 auto;
      padding: 0 20px;
      position: relative;
      z-index: 2; /* Поверх пятен подсветки и волн */
    }
  
    /* --- ШАПКА БЛОКА --- */
    .ec-adv-header {
      text-align: center;
      margin-bottom: 60px;
    }
  
    .ec-adv-title {
      font-size: 42px;
      font-weight: 800;
      color: #ffffff !important; 
      margin: 0;
      position: relative;
      display: inline-block;
    }
  
    .ec-adv-title::after {
      content: '';
      position: absolute;
      bottom: 8px;
      right: -16px;
      width: 10px;
      height: 10px;
      background-color: #E53935;
      border-radius: 50%;
    }
  
    /* --- СЕТКА КАРТОЧЕК --- */
    .ec-adv-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
  
    /* --- КАРТОЧКА ПРЕИМУЩЕСТВА (ЭФФЕКТ МАТОВОГО СТЕКЛА) --- */
    .ec-adv-card {
      background: rgba(22, 23, 28, 0.6); 
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 20px;
      padding: 40px 30px;
      transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
      display: flex;
      flex-direction: column;
      
      opacity: 0;
      transform: translateY(40px);
    }
  
    .ec-adv-card.ec-adv-visible {
      opacity: 1;
      transform: translateY(0);
    }
  
    .ec-adv-card:hover {
      transform: translateY(-8px);
      border-color: rgba(229, 57, 53, 0.3);
      background: rgba(26, 27, 33, 0.8);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(229, 57, 53, 0.03);
    }
  
    /* Иконка */
    .ec-adv-icon {
      width: 60px;
      height: 60px;
      border-radius: 14px;
      background: rgba(229, 57, 53, 0.05);
      border: 1px solid rgba(229, 57, 53, 0.25);
      color: #E53935;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 25px;
      transition: all 0.4s ease;
    }
  
    .ec-adv-icon svg {
      width: 28px;
      height: 28px;
      stroke: currentColor;
      stroke-width: 1.5;
      transition: all 0.4s ease;
    }
  
    .ec-adv-card:hover .ec-adv-icon {
      background: #E53935;
      color: #111;
      border-color: #E53935;
      transform: scale(1.05);
    }
  
    /* Заголовок и текст */
    .ec-adv-card-title {
      font-size: 22px;
      font-weight: 700;
      color: #ffffff;
      margin: 0 0 15px 0;
      transition: color 0.3s ease;
    }
  
    .ec-adv-card:hover .ec-adv-card-title {
      color: #E53935;
    }
  
    .ec-adv-card-text {
      font-size: 15px;
      line-height: 1.6;
      color: #9ba0a8;
      margin: 0;
      font-weight: 400;
      transition: color 0.3s ease;
    }
  
    .ec-adv-card:hover .ec-adv-card-text {
      color: #cdd1d8;
    }
  
    /* --- АДАПТИВНОСТЬ --- */
    @media (max-width: 1024px) {
      .ec-adv-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    }
  
    @media (max-width: 768px) {
      .ec-adv-section { padding: 100px 0; }
      .ec-adv-title { font-size: 32px; }
      .ec-adv-header { margin-bottom: 40px; }
      .ec-adv-wave svg { height: 40px; } /* Чуть меньше волна на планшетах */
    }
  
    @media (max-width: 480px) {
      .ec-adv-grid { grid-template-columns: 1fr; gap: 20px; }
      .ec-adv-title { font-size: 28px; }
      .ec-adv-card { padding: 30px 25px; align-items: flex-start; text-align: left; }
      .ec-adv-wave svg { height: 30px; } /* Компактная волна для телефонов */
    }
  /* --- ОБЩИЕ СТИЛИ СЕКЦИИ --- */
    .ec-seo-section {
      background-color: #ffffff;
      padding: 100px 0;
      font-family: 'Inter', 'Montserrat', sans-serif;
      color: #333;
    }
  
    .ec-seo-container {
      max-width: var(--ec-layout-max);
      margin: 0 auto;
      padding: 0 20px;
    }
  
    /* --- СЕТКА: ТЕКСТ СЛЕВА, КАРТИНКА СПРАВА --- */
    .ec-seo-grid {
      display: flex;
      gap: 60px;
      align-items: flex-start;
    }
  
    /* --- ЛЕВАЯ КОЛОНКА (ТЕКСТ) --- */
    .ec-seo-content {
      flex: 1 1 60%;
      max-width: 700px;
    }
  
    .ec-seo-title {
      font-size: 38px;
      font-weight: 800;
      color: #111;
      margin: 0 0 30px 0;
      line-height: 1.25;
    }
  
    .ec-seo-title span {
      color: #E53935; /* Акцентное слово */
    }
  
    .ec-seo-content p {
      font-size: 17px;
      line-height: 1.7;
      color: #555;
      margin-bottom: 25px;
    }
  
    .ec-seo-subtitle {
      font-size: 26px;
      font-weight: 700;
      color: #111;
      margin: 45px 0 25px 0;
    }
  
    /* Список преимуществ */
    .ec-seo-features {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 40px;
    }
  
    .ec-seo-feature-item {
      background: #f8f9fa;
      padding: 20px;
      border-radius: 16px;
      border: 1px solid #f0f0f0;
    }
  
    .ec-seo-feature-header {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
      color: #111;
      margin-bottom: 10px;
      font-size: 16px;
    }
  
    .ec-seo-feature-icon {
      width: 28px;
      height: 28px;
      background: rgba(229, 57, 53, 0.15);
      color: #E53935;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    .ec-seo-feature-icon svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      stroke-width: 3;
      stroke-linecap: round;
      stroke-linejoin: round;
      fill: none;
    }
  
    .ec-seo-feature-item p {
      font-size: 14px;
      line-height: 1.5;
      margin: 0;
      color: #666;
    }
  
    /* Шаги работы (Таймлайн) */
    .ec-seo-steps {
      margin-top: 30px;
      padding-left: 20px;
      border-left: 2px dashed rgba(229, 57, 53, 0.5);
    }
  
    .ec-seo-step {
      position: relative;
      padding-left: 30px;
      margin-bottom: 30px;
    }
  
    .ec-seo-step:last-child {
      margin-bottom: 0;
    }
  
    .ec-seo-step::before {
      content: '';
      position: absolute;
      left: -29px;
      top: 2px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #E53935;
      box-shadow: 0 0 0 6px #ffffff;
    }
  
    .ec-seo-step strong {
      display: block;
      font-size: 18px;
      color: #111;
      margin-bottom: 5px;
    }
  
    .ec-seo-step p {
      font-size: 15px;
      margin: 0;
    }
  
    /* Цитата / Выделенный текст */
    .ec-seo-quote {
      background: #fff8f8;
      border-left: 4px solid #E53935;
      padding: 25px 30px;
      border-radius: 0 16px 16px 0;
      margin: 40px 0;
      font-style: italic;
      color: #444;
      font-size: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    }
  
    /* --- ПРАВАЯ КОЛОНКА (САЙДБАР) --- */
    .ec-seo-sidebar {
      flex: 1 1 40%;
      position: relative;
    }
  
    /* Эффект прилипания к экрану при скролле */
    .ec-seo-sticky {
      position: sticky;
      top: 120px; /* Отступ от верхнего края экрана */
      display: flex;
      flex-direction: column;
      gap: 25px;
    }
  
    .ec-seo-image-wrap {
      width: 100%;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0,0,0,0.08);
      background: #f4f5f7;
    }
  
    .ec-seo-image-wrap img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }
  
    /* Карточка связи под картинкой */
    .ec-seo-cta-card {
      background: #111;
      border-radius: 24px;
      padding: 35px 30px;
      color: #fff;
      text-align: center;
      box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }
  
    .ec-seo-cta-title {
      font-size: 20px;
      font-weight: 700;
      margin: 0 0 10px 0;
    }
  
    .ec-seo-cta-desc {
      font-size: 14px;
      color: #aaa;
      margin: 0 0 25px 0;
      line-height: 1.5;
    }
  
    .ec-seo-phone {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: #E53935;
      color: #111;
      text-decoration: none;
      padding: 16px 30px;
      border-radius: 12px;
      font-weight: 700;
      font-size: 18px;
      transition: all 0.3s ease;
      width: 100%;
    }
  
    .ec-seo-phone:hover {
      background: #EF5350;
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(229, 57, 53, 0.3);
    }
  
    .ec-seo-phone svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }
  
    /* --- АДАПТИВНОСТЬ --- */
    @media (max-width: 991px) {
      .ec-seo-grid {
        flex-direction: column;
      }
      .ec-seo-sidebar {
        width: 100%;
        order: -1; /* Ставим картинку и CTA над текстом на мобилках */
      }
      .ec-seo-sticky {
        position: relative;
        top: 0;
      }
      .ec-seo-features {
        grid-template-columns: 1fr;
      }
    }
  
    @media (max-width: 480px) {
      .ec-seo-section { padding: 60px 0; }
      .ec-seo-title { font-size: 30px; }
      .ec-seo-subtitle { font-size: 22px; }
      .ec-seo-content p { font-size: 15px; }
      .ec-seo-quote { padding: 20px; font-size: 15px; }
    }
  @media (min-width: 768px) {
      .content-area-shop .content-with-sidebar {
          display: grid !important;
          grid-template-columns: 320px minmax(0, 1fr);
          gap: 2rem;
          width: 1240px;
          margin: auto;
      }
      .content-area-shop .content-with-sidebar .sidebar {
          grid-column: 1 / 2;
      }
      .content-area-shop .content-with-sidebar .main-content {
          grid-column: 2 / 3;
      }
  }
  .woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
      font-size: .92em;
      color: #767676;
      width: 100%;
      max-width: 1260px;
      margin-left: auto;
      margin-right: auto;
      padding: 25px 1.25rem;
      box-sizing: border-box;
  }
  .ec-single-product {
      display: flex;
      flex-direction: column;
      gap: 3rem;
      width: 100%;
      max-width: 1260px;
      margin-left: auto;
      margin-right: auto;
      min-width: 0;
      box-sizing: border-box;
  }
   .faq-section {
              width: 100%;
              padding: 100px 0;
              background-color: #ffffff;
              font-family: 'Inter', sans-serif;
              color: #222;
          }
  
          .faq-container {
              max-width: 1300px;
              margin: 0 auto;
              padding: 0 20px;
              box-sizing: border-box;
          }
  
          /* Заголовок в стиле ваших предыдущих страниц */
          .faq-header {
              text-align: center;
              margin-bottom: 60px;
          }
  
          .faq-header h2 {
              font-size: 42px;
              font-weight: 800;
              text-transform: uppercase;
              letter-spacing: -1px;
              margin-bottom: 20px;
          }
  
          .faq-header h2 span { color: #D32F2F; }
  
          .faq-header p {
              font-size: 18px;
              color: #666;
              max-width: 700px;
              margin: 0 auto;
          }
  
          /* Аккордеон */
          .faq-grid {
              max-width: 900px; /* Сужаем для удобства чтения текста */
              margin: 0 auto;
          }
  
          .faq-item {
              margin-bottom: 15px;
              border: 1px solid #eee;
              border-radius: 20px;
              overflow: hidden;
              transition: all 0.3s ease;
          }
  
          .faq-item:hover {
              border-color: #D32F2F;
              box-shadow: 0 10px 25px rgba(0,0,0,0.03);
          }
  
          .faq-question {
              padding: 25px 30px;
              display: flex;
              justify-content: space-between;
              align-items: center;
              cursor: pointer;
              background: #fff;
              user-select: none;
              transition: background 0.3s ease;
          }
  
          .faq-question h3 {
              font-size: 18px;
              font-weight: 700;
              margin: 0;
              padding-right: 20px;
          }
  
          .faq-icon {
              width: 32px;
              height: 32px;
              background: #f8f8f8;
              border-radius: 50%;
              display: flex;
              align-items: center;
              justify-content: center;
              color: #222;
              font-size: 14px;
              transition: all 0.4s ease;
          }
  
          /* Ответ */
          .faq-answer {
              max-height: 0;
              overflow: hidden;
              transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
              background: #fff;
          }
  
          .faq-answer-inner {
              padding: 0 30px 30px 30px;
              font-size: 16px;
              line-height: 1.7;
              color: #555;
          }
  
          /* Активное состояние */
          .faq-item.active {
              border-color: #D32F2F;
              background: #fff8f8;
          }
  
          .faq-item.active .faq-answer {
              max-height: 500px; /* Примерная высота с запасом */
          }
  
          .faq-item.active .faq-icon {
              background: #D32F2F;
              transform: rotate(180deg);
              color: #000;
          }
  
          .faq-item.active .faq-question {
              background: #fff8f8;
          }
  
          /* Доп. инфо внизу */
          .faq-footer {
              text-align: center;
              margin-top: 50px;
              padding: 30px;
              background: #fcfcfc;
              border-radius: 24px;
              border: 1px dashed #ddd;
          }
  
          .faq-footer p { margin: 0; font-weight: 600; font-size: 16px; }
          .faq-footer a { color: #D32F2F; text-decoration: underline; margin-left: 5px; }
  
          @media (max-width: 768px) {
              .faq-header h2 { font-size: 30px; }
              .faq-question { padding: 20px; }
              .faq-question h3 { font-size: 16px; }
          }
  @media (max-width: 767px) {
      .woocommerce ul.products, .woocommerce-page ul.products {
          grid-template-columns: repeat(2, 1fr) !important;
          gap: 1rem;
          padding-left: 10px !important;
          padding-right: 10px !important;
    }.ec-shop-topbar {padding-left: 10px; padding-right: 10px;} .content-area-shop .woocommerce-products-header {padding-left: 10px !important; padding-right: 10px !important;}
  }
    /* Стили для SEO-блока */
      .china-seo-section {
          font-family: 'Inter', sans-serif;
          line-height: 1.7;
          color: #333;
          background: #ffffff;
          padding: 80px 0;
          width: 100%;
      }
  
      .china-seo-container {
          max-width: 1300px;
          margin: 0 auto;
          padding: 0 20px;
          box-sizing: border-box;
      }
  
      .china-seo-grid {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 60px;
          align-items: start;
      }
  
      .china-seo-content h2 {
          font-size: 32px;
          font-weight: 800;
          text-transform: uppercase;
          margin-bottom: 25px;
          color: #111;
          letter-spacing: -1px;
      }
  
      .china-seo-content h2 span {
          color: #D32F2F;
      }
  
      .china-seo-content p {
          font-size: 16px;
          color: #555;
          margin-bottom: 20px;
      }
  
      /* Список преимуществ */
      .china-features-list {
          list-style: none;
          padding: 0;
          margin: 30px 0;
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 20px;
      }
  
      .china-feature-item {
          background: #f9f9f9;
          padding: 20px;
          border-radius: 15px;
          border-left: 4px solid #D32F2F;
      }
  
      .china-feature-item h4 {
          margin: 0 0 10px 0;
          font-size: 16px;
          font-weight: 700;
          color: #111;
      }
  
      .china-feature-item p {
          margin: 0;
          font-size: 14px;
          line-height: 1.5;
          color: #666;
      }
  
      /* Блок экспертного мнения */
      .china-expert-box {
          background: #111;
          color: #fff;
          padding: 40px;
          border-radius: 30px;
          position: relative;
          overflow: hidden;
      }
  
      .china-expert-box h3 {
          color: #D32F2F;
          font-size: 24px;
          margin-bottom: 20px;
          text-transform: uppercase;
      }
  
      .china-expert-box ul {
          list-style: none;
          padding: 0;
      }
  
      .china-expert-box ul li {
          padding-left: 30px;
          position: relative;
          margin-bottom: 15px;
          font-size: 15px;
          opacity: 0.9;
      }
  
      .china-expert-box ul li::before {
          content: '✓';
          position: absolute;
          left: 0;
          color: #D32F2F;
          font-weight: 900;
      }
  
      .china-cta-small {
          margin-top: 30px;
          display: inline-block;
          background: #D32F2F;
          color: #000;
          padding: 15px 30px;
          border-radius: 12px;
          font-weight: 800;
          text-transform: uppercase;
          text-decoration: none;
          transition: 0.3s;
      }
  
      .china-cta-small:hover {
          transform: translateY(-3px);
          box-shadow: 0 10px 20px rgba(255, 183, 0, 0.3);
      }
  
      /* Адаптивность */
      @media (max-width: 1024px) {
          .china-seo-grid { grid-template-columns: 1fr; gap: 40px; }
          .china-seo-section { padding: 60px 0; }
      }
  
      @media (max-width: 600px) {
          .china-features-list { grid-template-columns: 1fr; }
          .china-seo-content h2 { font-size: 26px; }
      }
  
  /* ============================================
     Блог — лента и одиночная запись (J2Moto)
     ============================================ */
  .ec-blog-container.container {
    display: block !important;
    width: 100%;
    max-width: var(--ec-layout-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }
  .ec-blog-archive-wrap,
  .ec-blog-single-wrap {
    background: linear-gradient(180deg, var(--ec-ash-100) 0%, var(--ec-white) 45%);
    padding-top: 1.25rem;
    padding-bottom: 4rem;
  }
  .ec-blog .content-with-sidebar.ec-blog-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2.25rem;
    align-items: start;
  }
  @media (min-width: 1200px) {
    .ec-blog .content-with-sidebar.ec-blog-layout {
      grid-template-columns: minmax(0, 1fr) 340px;
      gap: 2.75rem;
    }
  }
  @media (max-width: 991px) {
    .ec-blog .content-with-sidebar.ec-blog-layout {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    .ec-blog-sidebar {
      order: 10;
    }
  }
  
  /* Сайдбар блога: прилипает при прокрутке (ПК), top = высота шапки + зазор */
  @media (min-width: 992px) {
    .ec-blog .sidebar-blog.ec-blog-sidebar {
      position: sticky;
      top: calc(140px + 1rem);
      align-self: start;
      max-height: calc(100vh - 140px - 2rem);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    body.ec-top-collapsed .ec-blog .sidebar-blog.ec-blog-sidebar {
      top: calc(96px + 1rem);
      max-height: calc(100vh - 96px - 2rem);
    }
    body.admin-bar .ec-blog .sidebar-blog.ec-blog-sidebar {
      top: calc(165px + 1rem);
      max-height: calc(100vh - 165px - 2rem);
    }
    body.admin-bar.ec-top-collapsed .ec-blog .sidebar-blog.ec-blog-sidebar {
      top: calc(128px + 1rem);
      max-height: calc(100vh - 128px - 2rem);
    }
  }
  
  /* Крошки */
  .ec-blog-breadcrumbs {
    font-size: 0.875rem;
    color: var(--ec-ash-600);
    margin-bottom: 1.25rem;
  }
  .ec-blog-breadcrumbs a {
    color: var(--ec-ash-600);
    text-decoration: none;
  }
  .ec-blog-breadcrumbs a:hover {
    color: var(--ec-red-dark);
  }
  .ec-blog-breadcrumbs__sep {
    margin: 0 0.45rem;
    opacity: 0.55;
  }
  .ec-blog-breadcrumbs__current {
    color: var(--ec-ash-800);
    font-weight: 500;
  }
  
  /* Шапка ленты */
  .ec-blog-page-head {
    margin-bottom: 2rem;
  }
  .ec-blog-page-head__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ec-ash-900);
  }
  .ec-blog-page-head__lead,
  .ec-blog-page-head__desc {
    margin: 0;
    font-size: 1.05rem;
    color: var(--ec-ash-600);
    line-height: 1.55;
    max-width: 52ch;
  }
  .ec-blog-page-head__desc p {
    margin: 0;
  }
  
  /* Лента: крупные + сетка */
  .ec-blog-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .ec-blog-grid-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
  @media (max-width: 991px) {
    .ec-blog-grid-row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 560px) {
    .ec-blog-grid-row {
      grid-template-columns: 1fr;
    }
  }
  
  /* Карточки */
  .ec-blog-card {
    background: var(--ec-white);
    border: 1px solid var(--ec-ash-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ec-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s;
  }
  .ec-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ec-shadow-hover);
    border-color: rgba(245, 183, 0, 0.25);
  }
  .ec-blog-card--featured {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }
  @media (max-width: 767px) {
    .ec-blog-card--featured {
      grid-template-columns: 1fr;
    }
  }
  .ec-blog-card__media {
    display: block;
    position: relative;
    min-height: 200px;
    background: var(--ec-ash-200);
  }
  .ec-blog-card--featured .ec-blog-card__media {
    min-height: 240px;
  }
  .ec-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .ec-blog-card__media--top {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .ec-blog-card__body {
    padding: 1.35rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }
  .ec-blog-card__body--compact {
    padding: 1rem 1.15rem 1.2rem;
  }
  .ec-blog-card__meta {
    font-size: 0.8125rem;
    color: var(--ec-ash-600);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
  }
  .ec-blog-card__dot {
    opacity: 0.45;
  }
  .ec-blog-card__cat {
    color: var(--ec-red-dark);
    font-weight: 600;
    text-decoration: none;
  }
  .ec-blog-card__cat:hover {
    color: var(--ec-red);
    text-decoration: underline;
  }
  .ec-blog-card__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
  }
  .ec-blog-card__title--sm {
    font-size: 1.05rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ec-blog-card__title a {
    color: var(--ec-ash-900);
    text-decoration: none;
  }
  .ec-blog-card__title a:hover {
    color: var(--ec-red-dark);
  }
  .ec-blog-card__excerpt {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ec-ash-600);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ec-blog-card__more {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ec-red-dark);
    text-decoration: none;
    align-self: flex-start;
  }
  .ec-blog-card__more:hover {
    color: var(--ec-ash-900);
  }
  
  /* Одиночная запись */
  .ec-blog-article {
    background: var(--ec-white);
    border: 1px solid var(--ec-ash-200);
    border-radius: 20px;
    padding: 2rem 2rem 2.5rem;
    box-shadow: var(--ec-shadow);
  }
  @media (max-width: 767px) {
    .ec-blog-article {
      padding: 1.35rem 1.15rem 2rem;
      border-radius: 16px;
    }
  }
  .ec-blog-article__header {
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
  }
  .ec-blog-article__title {
    margin: 0 0 1rem;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--ec-ash-900);
  }
  .ec-blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    font-size: 0.875rem;
    color: var(--ec-ash-600);
  }
  .ec-blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }
  .ec-blog-meta-item i {
    color: var(--ec-red-dark);
    opacity: 0.9;
  }
  .ec-blog-meta-item a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
  }
  .ec-blog-meta-item a:hover {
    color: var(--ec-red-dark);
  }
  .ec-blog-article__figure {
    margin: 0 0 1.75rem;
    border-radius: 16px;
    overflow: hidden;
    background: var(--ec-ash-200);
  }
  .ec-blog-article__image {
    width: 100%;
    height: auto;
    display: block;
  }
  .ec-blog-article__content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ec-ash-800);
  }
  .ec-blog-article__content h2 {
    margin-top: 2rem;
    font-size: 1.45rem;
    color: var(--ec-ash-900);
  }
  .ec-blog-page-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ec-ash-200);
    font-size: 0.95rem;
  }
  /* Пагинация */
  .ec-blog-pagination {
    margin-top: 2.5rem;
  }
  .ec-blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
  }
  .ec-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.65rem;
    border-radius: 10px;
    background: var(--ec-white);
    border: 1px solid var(--ec-ash-200);
    color: var(--ec-ash-800);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .ec-blog-pagination .page-numbers.current,
  .ec-blog-pagination .page-numbers:hover {
    background: linear-gradient(135deg, var(--ec-red), var(--ec-red-dark));
    border-color: transparent;
    color: #111827;
  }
  .ec-blog-pagination .page-numbers.dots {
    border: none;
    background: transparent;
  }
  
  /* Сайдбар блога */
  .sidebar-blog.ec-blog-sidebar {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }
  .ec-blog-widget {
    background: var(--ec-white);
    border: 1px solid var(--ec-ash-200);
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--ec-shadow);
  }
  .ec-blog-widget__title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ec-ash-900);
    letter-spacing: -0.02em;
  }
  .ec-blog-related {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .ec-blog-related__item {
    border-bottom: 1px solid var(--ec-ash-200);
  }
  .ec-blog-related__item:last-child {
    border-bottom: none;
  }
  .ec-blog-related__link {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
    border-radius: 10px;
    margin: 0 -0.35rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
  .ec-blog-related__link:hover {
    background: var(--ec-ash-100);
  }
  .ec-blog-related__thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ec-ash-200);
  }
  .ec-blog-related__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .ec-blog-related__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ec-ash-400);
    font-size: 1.25rem;
  }
  .ec-blog-related__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .ec-blog-related__post-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ec-ash-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ec-blog-related__link:hover .ec-blog-related__post-title {
    color: var(--ec-red-dark);
  }
  .ec-blog-related__date {
    font-size: 0.75rem;
    color: var(--ec-ash-600);
  }
  
  /* CTA в сайдбаре */
  .ec-blog-widget--cta {
    padding: 0;
    overflow: hidden;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .ec-blog-cta {
    background: linear-gradient(160deg, #1a1f2e 0%, #121620 100%);
    border-radius: 16px;
    padding: 1.75rem 1.35rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  }
  .ec-blog-cta__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    color: var(--ec-red);
  }
  .ec-blog-cta__title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ec-white);
  }
  .ec-blog-cta__text {
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
  }
  .ec-blog-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    color: #111827 !important;
    background: linear-gradient(135deg, var(--ec-red), var(--ec-red-dark));
    box-shadow: 0 8px 24px rgba(245, 183, 0, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .ec-blog-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 183, 0, 0.45);
    color: #111827 !important;
  }
  
  .ec-blog-widget--widgets .widget {
    margin-bottom: 1.25rem;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .ec-blog-widget--widgets .widget:last-child {
    margin-bottom: 0;
  }
  .ec-blog-widget--widgets .widget-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  /* ============================================
     Footer — J2Moto (контакты, реквизиты, юр. блок)
     ============================================ */
  .site-footer.ec-footer.j2m-footer {
    padding: 48px 20px 28px;
    background: #141414;
  }
  
  .j2m-footer-wrap {
    max-width: var(--ec-layout-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  
  .j2m-footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
  
  @media (max-width: 991px) {
    .j2m-footer-top {
      grid-template-columns: 1fr;
    }
    .hero-container{
    position:relative;
    z-index:3;
    width:min(1500px,100%);
    margin:0 auto; /* центрируем зону 1500px */
    padding:0 clamp(16px,4vw,64px);
    box-sizing:border-box;padding-top:60px !important;
    max-width:1500px;      /* читаемая ширина текста */
    color:#fff;
    text-align:left;      /* фикс “не по центру” */
  }
  }
  
  /* Левая колонка: связь */
  .j2m-contacts-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(229, 57, 53, 0.35);
    border-radius: 16px;
    padding: 24px 22px;
    color: #e8e8e8;
  }
  
  .j2m-contacts-header {
    margin-bottom: 20px;
  }
  
  .j2m-contacts-title {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff !important;
  }
  
  .j2m-contacts-divider {
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: var(--ec-red);
  }
  
  .j2m-contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
  }
  
  @media (max-width: 600px) {
    .j2m-contacts-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .j2m-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }
  
  .j2m-contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ec-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }
  
  .j2m-contact-label {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  
  .j2m-contact-value,
  .j2m-contact-value:visited {
    font-size: 14px;
    color: #f3f4f6 !important;
    line-height: 1.45;
  }
  
  a.j2m-contact-value:hover {
    color: var(--ec-red-light) !important;
  }
  
  .j2m-work-hours {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .j2m-day-off {
    color: var(--ec-red) !important;
    font-weight: 700;
  }
  
  .j2m-contacts-divider-horizontal {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 22px 0;
  }
  
  .j2m-social-section {
    margin-bottom: 20px;
  }
  
  .j2m-social-title {
    font-size: 13px;
    font-weight: 700;
    color: #d1d5db;
    margin-bottom: 12px;
  }
  
  .j2m-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .j2m-social-link {
    text-decoration: none;
    color: inherit;
  }
  
  .j2m-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .j2m-social-link:hover .j2m-social-icon {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  }
  
  .j2m-viber { background: #665cac; }
  .j2m-telegram { background: #2aabee; }
  .j2m-whatsapp { background: #25d366; }
  .j2m-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  }
  .j2m-vk { background: #0077ff; }
  .j2m-facebook { background: #1877f2; }
  
  .j2m-orders-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(229, 57, 53, 0.45);
    border-left: 4px solid var(--ec-red);
    background: rgba(0, 0, 0, 0.25);
  }
  
  .j2m-orders-notice .j2m-notice-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(229, 57, 53, 0.2);
    color: var(--ec-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  
  .j2m-notice-text {
    font-size: 14px;
    color: #f9fafb;
    line-height: 1.45;
  }
  
  /* Правая колонка: о магазине + реквизиты */
  .j2m-footer-single-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(229, 57, 53, 0.45);
    border-radius: 16px;
    padding: 24px 22px;
    color: #e8e8e8;
  }
  
  .j2m-footer-single-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  
  .j2m-footer-single-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 14px;
  }
  
  .j2m-footer-single-title i {
    color: var(--ec-red) !important;
    font-size: 18px;
  }
  
  .j2m-footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.65;
  }
  
  .j2m-footer-links-list li + li {
    margin-top: 8px;
  }
  
  .j2m-footer-links-list a {
    color: #f3f4f6 !important;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
  }
  
  .j2m-footer-links-list a:hover {
    color: var(--ec-red-light) !important;
  }
  
  .j2m-footer-requisites {
    line-height: 1.5;
  }
  
  .j2m-details-item {
    display: grid;
    grid-template-columns: minmax(100px, 130px) 1fr;
    gap: 8px 14px;
    margin-bottom: 8px;
    font-size: 13px;
  }
  
  .j2m-details-item--last {
    margin-bottom: 0;
  }
  
  @media (max-width: 520px) {
    .j2m-details-item {
      grid-template-columns: 1fr;
    }
  }
  
  .j2m-details-label {
    color: #9ca3af;
  }
  
  .j2m-details-value {
    color: #f3f4f6;
  }
  
  /* Реестр + контакты госорганов */
  .j2m-footer-single-notice {
    margin-top: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 5px solid var(--ec-red);
  }
  
  .j2m-notice-single-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(229, 57, 53, 0.15);
    color: var(--ec-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  
  .j2m-notice-single-text {
    flex: 1;
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.55;
  }
  
  .j2m-notice-single-lead {
    margin: 0 0 12px;
  }
  
  .j2m-notice-single-sub {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.5;
    color: #d1d5db;
  }
  
  a.j2m-notice-tel {
    color: inherit !important;
    text-decoration: underline;
  }
  
  a.j2m-notice-tel:hover {
    color: var(--ec-red-light) !important;
  }
  
  .j2m-footer-single-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 24px 0 18px;
  }
  
  .j2m-footer-single-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    color: #9ca3af;
  }
  
  .j2m-copyright-single {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    line-height: 1.5;
  }
  
  .j2m-copyright-dot {
    color: var(--ec-red);
    font-style: normal;
    font-size: 10px;
  }
  
  .j2m-developer-single a {
    color: #e5e7eb !important;
    font-weight: 700;
    text-decoration: none;
  }
  
  .j2m-developer-single a:hover {
    color: var(--ec-red-light) !important;
  }
     :root{
    --accent:#e2b04a; /* Золотой акцент */
    --glass:rgba(15,23,42,.6);
  }
  
  /* ===== HERO / SWIPER ===== */
  .sandver-hero{
    width:100%;
    height:70vh;
    min-height:700px;
    background:#000;
    position:relative;
    font-family:'Inter',sans-serif;
    overflow:hidden;
  }
  
  .swiper{width:100%;height:100%;}
  
  /* Слайд: центрируем область 1500px, а контент внутри — слева */
  .hero-slide{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    padding:0; /* было 0 8% */
  }
  
  /* Фон */
  .slide-bg{
    position:absolute;
    top:0;left:0;width:100%;height:100%;
    background-size:cover;
    background-position:center;
    z-index:1;
    transition:transform 8s ease-out;
    transform:scale(1.1);
  }
  .swiper-slide-active .slide-bg{transform:scale(1);}
  
  /* Маска */
  .hero-slide::after{
    content:'';
    position:absolute;
    top:0;left:0;width:100%;height:100%;
    background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.45) 55%,rgba(0,0,0,0) 100%);
    z-index:2;
  }
  
  /* Контент: зона 1500px, текст не по центру, а слева */
  .hero-container{
    position:relative;
    z-index:3;
    width:min(1500px,100%);
    margin:0 auto; /* центрируем зону 1500px */
    padding:0 clamp(16px,4vw,64px);
    box-sizing:border-box;padding-top:200px;
    max-width:1500px;      /* читаемая ширина текста */
    color:#fff;
    text-align:left;      /* фикс “не по центру” */
  }
  
  
  /* ===== Типографика / анимации ===== */
  .hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:rgba(226,176,74,.15);
    border:1px solid var(--accent);
    padding:8px 20px;
    border-radius:100px;
    color:var(--accent);
    font-size:14px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:30px;
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
    opacity:0;
    transform:translateX(-30px);
    transition:.8s ease-out .3s;
  }
  
  .hero-title{
    font-size:clamp(2.5rem,6vw,4.5rem);
    line-height:1.1;
    font-weight:800;
    margin:0 0 25px;
    opacity:0;
    transform:translateX(-50px);
    transition:.8s ease-out .5s;
  }
  .hero-title span{color:var(--accent);}
  
  .hero-description{
    font-size:1.2rem;
    color:#cbd5e1;
    max-width:600px;
    margin:0 0 40px;
    line-height:1.6;
    opacity:0;
    transform:translateX(-30px);
    transition:.8s ease-out .7s;
  }
  
  .swiper-slide-active .hero-badge,
  .swiper-slide-active .hero-title,
  .swiper-slide-active .hero-description,
  .swiper-slide-active .hero-actions{
    opacity:1;
    transform:translateX(0);
  }
  
  .hero-actions{
    display:flex;
    align-items:center;
    gap:30px;
    opacity:0;
    transition:.8s ease-out .9s;
  }
  
  /* Кнопка */
  .btn-gold{
    padding:20px 45px;
    background:var(--accent);
    color:#000;
    text-decoration:none;
    font-weight:700;
    border-radius:12px;
    font-size:16px;
    transition:.3s;
    box-shadow:0 10px 30px rgba(226,176,74,.3);
  }
  .btn-gold:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 40px rgba(226,176,74,.5);
    background:#fff;
  }
  
  /* Контакт */
  .hero-contact{display:flex;flex-direction:column;}
  .hero-contact span{font-size:13px;color:#94a3b8;margin:0 0 4px;}
  .hero-contact a{
    font-size:20px;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
  }
  .hero-contact a:hover{color:var(--accent);}
  
  /* ===== Навигация (счётчик) ===== */
  /* Держим справа внутри зоны 1500px, а не по краю экрана */
  .nav-wrapper{
    position:absolute;
    bottom:50px;
    left:50%;
    transform:translateX(-50%);
    width:min(1500px,100%);
    padding:0 clamp(16px,4vw,64px);
    box-sizing:border-box;
    z-index:10;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:20px;
  }
  
  .counter{
    color:#fff;
    font-size:18px;
    font-weight:300;
    letter-spacing:2px;
  }
  .counter span{color:var(--accent);font-weight:700;}
  
  /* Progressbar */
  .swiper-pagination-progressbar{
    top:auto !important;
    bottom:0 !important;
    height:4px !important;
    background:rgba(255,255,255,.1) !important;
  }
  .swiper-pagination-progressbar-fill{background:var(--accent) !important;}
  
  /* ===== Mobile ===== */
  @media (max-width:768px){
    .sandver-hero{min-height:620px;height:72vh;}
    .hero-slide{justify-content:center;}
    .hero-slide::after{background:rgba(0,0,0,.62);}
    .hero-container{
      max-width:680px;
      text-align:center;
    }
    .hero-actions{flex-direction:column;gap:20px;align-items:center;}
    .hero-title{font-size:2.5rem;}
    .nav-wrapper{bottom:22px;}
  }