/*
Theme Name: J2Moto
Theme URI: https://j2moto.by
Author: J2Moto
Author URI: https://j2moto.by
Description: Каталог мотозапчастей в Минске и по Беларуси. WooCommerce, удобная выдача и 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: emmetcars
Tags: custom-menu, custom-logo, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, wide-blocks, woocommerce

J2Moto — мотозапчасти j2moto.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;
  --ec-red: #E53935;
  --ec-red-dark: #C62828;
  --ec-red-light: #EF9A9A;
  
  --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);
}

/* ============================================
   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); }

/* Ссылка «Редактировать» (видна только залогиненным с правами) */
.ec-edit-link {
  margin: 0 0 10px;
}
.ec-edit-link__a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.10);
  color: #111 !important;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
}
.ec-edit-link__a:hover {
  background: rgba(0, 0, 0, 0.09);
  border-color: rgba(0, 0, 0, 0.14);
  color: #111 !important;
}

/* 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: 1240px;
  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: 1240px;
  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: 1240px;
  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: var(--ec-white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  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 4px 24px rgba(0,0,0,0.1);
}

/* Админ-бар 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: linear-gradient(135deg, var(--ec-ash-100) 0%, var(--ec-ash-200) 100%);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 12px 0;
}
.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: var(--ec-ash-800);
  white-space: nowrap;
}
.ec-header-tagline-2 { font-size: 14px; color: var(--ec-ash-600); }
.ec-header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.ec-header-quicklinks {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ec-header-quicklinks .ec-hql-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 12px;
  background: rgba(255,255,255,0.9);
  border-radius: 10px;
  color: var(--ec-ash-800) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: background 0.25s, color 0.25s, transform 0.2s;
  white-space: nowrap;
}
.ec-header-quicklinks .ec-hql-link:hover {
  background: var(--ec-ash-100);
  color: var(--ec-red-dark) !important;
  transform: translateY(-1px);
}
.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.9);
  border-radius: 10px;
  color: var(--ec-ash-700) !important;
  font-size: 18px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.ec-hs-btn:hover {
  background: var(--ec-red);
  color: #fff !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: var(--ec-ash-800) !important;
  white-space: nowrap;
}
.ec-header-phones a:hover { color: var(--ec-red-dark) !important; }
.ec-header-cta {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--ec-red), var(--ec-red-dark));
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #fff !important;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(229,57,53,0.35);
}
.ec-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229,57,53,0.45);
}

/* Корзина в шапке (всегда подключён style.css) */
.ec-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--ec-ash-800) !important;
  text-decoration: none;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.ec-header-cart:hover {
  background: var(--ec-ash-100);
  color: var(--ec-red-dark) !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-red);
  color: #fff;
  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: 220px;
  max-width: 36vw;
}
.ec-header-search-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.65rem 0 0.75rem;
  background: var(--ec-ash-100);
  border: 1px solid var(--ec-ash-200);
  border-radius: 999px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ec-header-search-field:focus-within {
  border-color: var(--ec-red);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}
.ec-header-search-field .fa-magnifying-glass {
  color: var(--ec-ash-500);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ec-header-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.5rem 0.35rem 0.5rem 0;
  font-size: 0.875rem;
  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-quicklinks,
  .ec-header-actions .ec-header-phones,
  .ec-header-actions .ec-header-cta {
    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;
  }

  /* Мобильная корзина переезжает в фикс-кнопки снизу */
  .ec-header-cart--mobile {
    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;
  }
}

/* Мобильная нижняя панель (корзина / звонок / поиск) */
.j2-mobile-bar {
  display: none;
}
@media (max-width: 767px) {
  /* На телефонах скрываем старые плавающие кнопки */
  .j2-mobile-fab {
    display: none !important;
  }

  .j2-mobile-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10070;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }
  body {
    padding-bottom: 64px;
  }

  .j2-mobile-bar__inner {
    max-width: 420px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    align-items: center;
  }

  .j2-mobile-bar__btn {
    position: relative;
    height: 44px;
    border-radius: 999px;
    background: #d3d3d3;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
    color: var(--ec-ash-900);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    font-weight: 700;
  }
  .j2-mobile-bar__btn i {
    font-size: 19px;
    line-height: 1;
  }
  .j2-mobile-bar__btn--search {
    cursor: pointer;
  }
  .j2-mobile-bar__btn--cart {
    color: #fff;
    background: linear-gradient(135deg, var(--ec-red), var(--ec-red-dark));
    border-color: rgba(255,255,255,0.2);
  }
  .j2-mobile-bar__btn--call {
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: rgba(255,255,255,0.2);
  }

  .j2-mobile-bar__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-bar__badge:empty {
    display: none;
  }

  .j2-mobile-search {
    position: fixed;
    inset: 0;
    z-index: 10080;
    display: none;
  }
  .j2-mobile-search.is-open {
    display: block;
  }
  .j2-mobile-search__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .j2-mobile-search__sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    padding: 14px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -20px 60px rgba(0,0,0,0.22);
    max-height: min(70vh, 520px);
    overflow: auto;
  }
  .j2-mobile-search__field {
    border: 1px solid var(--ec-ash-200);
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
  }
  .j2-mobile-search__input {
    font-size: 16px; /* чтобы iOS не зумил поле */
  }
  .j2-mobile-search__results {
    margin-top: 10px;
    max-height: 46vh;
    overflow: auto;
  }
}

/* Глобальные стили для попапа заявки (используется в шапке и на страницах) */
.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: #fff !important;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.5);
}
.ec-request-modal .ec-btn-primary,
.ec-single-product .ec-btn-primary {
  color: #fff !important;
}
.ec-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(251, 191, 36, 0.65);
}
.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-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ec-ash-900);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s, background 0.2s;
}
.ec-lightbox__nav:hover {
  transform: translateY(-50%) scale(1.04);
  background: #fff;
}
.ec-lightbox__nav--prev {
  left: max(8px, env(safe-area-inset-left, 0px));
}
.ec-lightbox__nav--next {
  right: max(8px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) {
  .ec-lightbox__nav--prev {
    left: -6px;
  }
  .ec-lightbox__nav--next {
    right: -6px;
  }
}
.ec-lightbox__nav[hidden] {
  display: none !important;
}
.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: var(--ec-white);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.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: 1220px;
}

/* 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: var(--ec-ash-800);
    font-weight: 600;
    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: var(--ec-red-dark);
    background: var(--ec-ash-100);
  }
  .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: var(--ec-white);
    border-radius: var(--ec-radius-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border: 1px solid var(--ec-ash-200);
    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: var(--ec-ash-700) !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
    border-left: 3px solid transparent;
  }
  .ec-menu .sub-menu a:hover {
    color: var(--ec-red-dark) !important;
    background: var(--ec-ash-100);
    border-left-color: var(--ec-red);
    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 .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: 1240px;
  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;
}

/* Адаптив подвала */
@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: 1240px;
    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: 1240px;
    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: 1240px;
    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: 1240px;
    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: 1240px;
    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: 1240px;
  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: 1240px;
  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;
  }
}

/* Левая колонка: связь */
.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;
}
/* J2MOTO: arrivals (1200px, 4x2) */
.j2-arrivals{
  max-width: 1200px;
  margin: 38px auto 0;
  padding: 0 12px;
  box-sizing: border-box;
}
.j2-arrivals__title{
  margin: 0 0 14px 0;
  font-weight: 900;
  font-size: 26px;
  color: #111;
}
.j2-arrivals__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.j2-arrivals__card{
  display: block;
  text-decoration: none !important;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: 0 10px 26px rgba(15,23,42,0.10);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  color: inherit;
}
.j2-arrivals__card:hover{
  transform: translateY(-2px);
  border-color: rgba(229,57,53,0.45);
  box-shadow: 0 14px 34px rgba(15,23,42,0.12), 0 10px 26px rgba(229,57,53,0.10);
}
.j2-arrivals__img{
  aspect-ratio: 1 / 1;
  background: #f2f3f5;
  background-size: cover;
  background-position: center;
}
.j2-arrivals__body{
  padding: 12px 12px 14px;
  text-align: center;
}
.j2-arrivals__name{
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  color: #111;
  margin-bottom: 10px;
  min-height: calc(1.25em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.j2-arrivals__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(229,57,53,0.22);
}
@media (max-width: 1024px){
  .j2-arrivals__grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px){
  .j2-arrivals__title{ font-size: 22px; }
  .j2-arrivals__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* J2MOTO: fresh products */
.j2-fresh{
  max-width: 1200px;
  margin: 38px auto 0;
  padding: 0 12px;
  box-sizing: border-box;
}
.j2-fresh__title{
  margin: 0 0 14px 0;
  font-weight: 900;
  font-size: 26px;
  color: #111;
}

/* ВАЖНО: переопределяем вашу общую сетку (у вас по умолчанию 4 в ряд) */
.j2-fresh__grid .woocommerce ul.products,
.j2-fresh__grid .woocommerce-page ul.products{
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

/* Мобилка/планшет */
@media (max-width: 1024px){
  .j2-fresh__grid .woocommerce ul.products,
  .j2-fresh__grid .woocommerce-page ul.products{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 768px){
  .j2-fresh__title{ font-size: 22px; }
  .j2-fresh__grid .woocommerce ul.products,
  .j2-fresh__grid .woocommerce-page ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* Full-bleed даже если контент 1260px */
.j2-tiles{
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 18px;
  box-sizing: border-box;
}
.j2-tiles__grid{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;margin-top: 50px;
}

/* Плитка */
.j2-tile{
  position: relative;
  min-height: 225px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 26px rgba(15,23,42,0.12);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
}
.j2-tile::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.22) 58%, rgba(0,0,0,0.10) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.05) 60%, rgba(0,0,0,0.02) 100%);
}
.j2-tile > *{ position: relative; z-index: 1; }

.j2-tile--wide{ grid-column: span 2; }

.j2-tile__title{
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

.j2-tile__btn{
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #e53935;
  color:#fff !important;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(229,57,53,0.25);
}

/* Адаптив */
@media (max-width: 1024px){
  .j2-tiles__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j2-tile--wide{ grid-column: span 2; }
  .j2-tile__title{ font-size: 22px; }
}
@media (max-width: 560px){
  .j2-tiles{ padding: 0 12px; }
  .j2-tiles__grid{ gap: 12px; }
  .j2-tile{ min-height: 145px; padding: 12px; }
  .j2-tile__title{ font-size: 18px; }
}
.j2-tile{
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.j2-tile:hover{
  border-color: #e53935 !important;
  box-shadow: 0 14px 34px rgba(229,57,53,0.22), 0 10px 26px rgba(15,23,42,0.12);
  transform: translateY(-2px);
}
/* J2MOTO: benefits */
.j2-benefits{
  max-width: 1200px;
  margin: 42px auto 0;
  padding: 0 12px;
  box-sizing: border-box;
}
.j2-benefits__title{
  margin: 0 0 16px 0;
  font-weight: 900;
  font-size: 26px;
  color: #111;
}

.j2-benefits__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.j2-benefit{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15,23,42,0.08);
  padding: 18px 18px 16px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.j2-benefit:hover{
  transform: translateY(-2px);
  border-color: rgba(229,57,53,0.35);
  box-shadow: 0 14px 34px rgba(15,23,42,0.10), 0 10px 26px rgba(229,57,53,0.10);
}

.j2-benefit__icon{
  width: 64px;
  height: 64px;
  margin: 4px auto 10px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(229,57,53,0.15), rgba(229,57,53,0.05));
  border: 1px solid rgba(229,57,53,0.18);
  color: #e53935;
  font-size: 28px;
}

.j2-benefit__h{
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}
.j2-benefit__p{
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(15,23,42,0.72);
}

@media (max-width: 900px){
  .j2-benefits__grid{ grid-template-columns: 1fr; }
  .j2-benefit{ text-align: left; grid-template-columns: 74px 1fr; column-gap: 14px; align-items: start; }
  .j2-benefit__icon{ margin: 0; }
  .j2-benefit__h, .j2-benefit__p{ text-align: left; }
}
.j2-logos{
  max-width: 1300px;
  margin: 40px auto 0;
  padding: 0 12px;
  box-sizing: border-box;
}
.j2-logos__title{
  margin: 0 0 14px 0;
  font-weight: 900;
  font-size: 26px;
  color: #111;
}

/* Без фона/рамок/теней */
.j2-logos__slider{
  position: relative;
  overflow: hidden;
  padding: 6px 44px; /* место под стрелки */
}

/* скрываем скроллбар полностью */
.j2-logos__rail{
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
}
.j2-logos__rail:active{ cursor: grabbing; }
.j2-logos__rail::-webkit-scrollbar{ display:none; }

.j2-logo{
  flex: 0 0 auto;
  width: 220px;              /* БОЛЬШЕ */
  text-decoration: none !important;
  color: #111 !important;
  scroll-snap-align: start;
  text-align: center;
}
.j2-logo img{
  width: 100%;
  height: 130px;             /* БОЛЬШЕ */
  object-fit: contain;
  display: block;
  filter: none;              /* БЕЗ ТЕНИ */
  pointer-events: none;      /* чтобы drag работал ровно */
}
.j2-logo__cap{
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(15,23,42,0.70);
  text-transform: uppercase;
}

/* Стрелки (без тени/рамки) */
.j2-logos__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
  line-height: 34px;
  text-align: center;
  color: rgba(15,23,42,0.55);
  padding: 0;
}
.j2-logos__nav--prev{ left: 6px; }
.j2-logos__nav--next{ right: 6px; }
.j2-logos__nav:hover{ color: #e53935; }

@media (max-width: 768px){
  .j2-logos__title{ font-size: 22px; }
  .j2-logo{ width: 180px; }
  .j2-logo img{ height: 110px; }
}
/* J2MOTO: About text block */
.j2-about{
  max-width: 1240px;
  margin: 46px auto 0;
  padding: 0 12px;
  box-sizing: border-box;
}
.j2-about__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}

.j2-about__content{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15,23,42,0.08);
  padding: 22px 22px 20px;
}

.j2-about__kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(229,57,53,0.10);
  border: 1px solid rgba(229,57,53,0.18);
  color: #e53935;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.j2-about__title{
  margin: 0 0 10px 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  color: #111;
}
.j2-about__lead{
  margin: 0 0 12px 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(15,23,42,0.78);
}
.j2-about__content p{
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(15,23,42,0.75);
}

.j2-about__h3{
  margin: 14px 0 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}

.j2-about__list,
.j2-about__steps{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}
.j2-about__list li,
.j2-about__steps li{
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15,23,42,0.75);
}
.j2-about__list strong,
.j2-about__steps strong{
  color: rgba(15,23,42,0.92);
}

.j2-about__cta{
  margin-top: 14px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(229,57,53,0.10), rgba(229,57,53,0.04));
  border: 1px solid rgba(229,57,53,0.18);
}
.j2-about__ctaTitle{
  font-weight: 900;
  color: #111;
  margin-bottom: 6px;
}
.j2-about__ctaText{
  margin: 0 !important;
  color: rgba(15,23,42,0.76);
}

/* Media */
.j2-about__media{
  position: sticky;
  top: 120px;
}
.j2-about__image{
  border-radius: 18px;
  overflow: hidden;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 10px 26px rgba(15,23,42,0.08);
}
.j2-about__image::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 18px;
}
.j2-about__badge{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 10px 22px rgba(15,23,42,0.06);
  font-weight: 900;
  color: #111;
}

/* Адаптив */
@media (max-width: 1024px){
  .j2-about__grid{ grid-template-columns: 1fr; }
  .j2-about__media{ position: relative; top: auto; }
  .j2-about__image{ min-height: 300px; }
}
@media (max-width: 768px){
  .j2-about{ margin-top: 34px; }
  .j2-about__title{ font-size: 22px; }
  .j2-about__content{ padding: 18px 16px; }
}
/* J2MOTO: FAQ */
.j2-faq{
  max-width: 1240px;
  margin: 46px auto 40px;
  padding: 0 12px;
  box-sizing: border-box;
}
.j2-faq__title{
  margin: 0 0 14px 0;
  font-weight: 900;
  font-size: 26px;
  color: #111;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.j2-faq__list{ display: grid; gap: 12px; }

.j2-faq__item{
  background: rgb(40 40 40);
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.25);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15,23,42,0.08);
}

/* Summary */
.j2-faq__q{
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 900;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.02em;
  position: relative;
  user-select: none;
}
.j2-faq__q::-webkit-details-marker{ display:none; }

.j2-faq__q::after{
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}
.j2-faq__item[open] .j2-faq__q::after{
  content: "–";
  background: rgba(229,57,53,0.16);
  border-color: rgba(229,57,53,0.30);
}

/* Answer */
.j2-faq__a{
  background: rgba(255,255,255,0.96);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 16px 18px 18px;
  color: rgba(15,23,42,0.78);
}
.j2-faq__a p{
  margin: 0 0 10px 0;
  line-height: 1.65;
  font-size: 14px;
}

/* Check image (больше) */
.j2-faq__check{
  margin-top: 12px;
  display: grid;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(229,57,53,0.06);
  border: 1px solid rgba(229,57,53,0.16);
}
.j2-faq__checkLabel{
  font-weight: 900;
  font-size: 13px;
  color: rgba(15,23,42,0.90);
}
.j2-faq__check img{
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #fff;
}

@media (max-width: 768px){
  .j2-faq{ margin-top: 34px; }
  .j2-faq__title{ font-size: 22px; }
  .j2-faq__q{ padding: 14px 14px; }
  .j2-faq__a{ padding: 14px 14px 16px; }
  .j2-faq__check img{ max-width: 100%; }
}
/* J2MOTO: questions (full-bleed background) */
.j2-questions{
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 44px 0;
}

.j2-questions__bg{
  position:absolute;
  inset:0;
  background-image: url("https://j2moto.by/wp-content/uploads/2026/04/zapchasti-na-motocikly.webp");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}
.j2-questions__bg::after{
  content:"";
  position:absolute;
  inset:0;
  /* затемнение слева под текст, как на скрине */
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.78) 38%,
      rgba(255,255,255,0.25) 65%,
      rgba(255,255,255,0.08) 100%);
}

.j2-questions__wrap{
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

.j2-questions__card{
  max-width: 520px;
  padding: 18px 20px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(15,23,42,0.10);
  backdrop-filter: blur(6px);
}

.j2-questions__title{
  margin: 0 0 10px 0;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: #111;
  text-transform: uppercase;
}
.j2-questions__text{
  margin: 0 0 14px 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15,23,42,0.75);
}

.j2-questions__email{
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 800;
  color: rgba(15,23,42,0.85) !important;
  text-decoration: none !important;
}
.j2-questions__email:hover{ color: #e53935 !important; }

.j2-questions__phone{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 2px solid rgba(229,57,53,0.55);
  color: #e53935 !important;
  font-weight: 900;
  text-decoration: none !important;
  background: rgba(255,255,255,0.65);
}
.j2-questions__phone:hover{
  background: #e53935;
  color: #fff !important;
}

/* Адаптив */
@media (max-width: 768px){
  .j2-questions{ padding: 34px 0; }
  .j2-questions__bg{ background-position: center; }
  .j2-questions__bg::after{
    background: linear-gradient(180deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.72) 55%,
      rgba(255,255,255,0.20) 100%);
  }
  .j2-questions__card{
    max-width: 100%;
    background: rgba(255,255,255,0.70);
  }
  .j2-questions__title{ font-size: 22px; }
}