:root {
  --font-heading: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --bg: #f7f6ff;
  --bg-soft: #fcfbff;
  --surface: #ffffff;
  --surface-2: #f3f0ff;
  --ink: #14142b;
  --ink-2: #35355f;
  --muted: #6f6f8f;
  --line: rgba(69, 45, 125, 0.12);

  --primary-900: #4b1fcf;
  --primary-700: #6d35f5;
  --primary-600: #7d4cff;
  --primary-500: #8f62ff;
  --primary-100: #f1ecff;

  --mint-700: #00b894;
  --mint-500: #31d7b5;
  --mint-100: #e8fff9;

  --sky-600: #377dff;
  --sky-100: #eaf2ff;

  --green-600: #21b66f;
  --green-100: #ebfff4;

  --orange-600: #ff8a34;
  --orange-100: #fff2e7;

  --shadow-sm: 0 10px 30px rgba(80, 48, 166, 0.08);
  --shadow-md: 0 18px 60px rgba(80, 48, 166, 0.12);
  --shadow-lg: 0 26px 80px rgba(80, 48, 166, 0.16);

  --radius-16: 16px;
  --radius-20: 20px;
  --radius-24: 24px;
  --radius-28: 28px;
  --radius-pill: 999px;

  --grad-primary: linear-gradient(135deg, #6d35f5 0%, #8f62ff 55%, #31d7b5 100%);
}

.block-feature-twentySeven
 {
  background-color: var(--sky-100);
}

.logo-text {
  font-size: 18px;
  white-space: nowrap;
}

.theme-main-menu .nav-item .nav-link {
  font-size: 18px;
}

.hero-banner-one {
  overflow: hidden;
}

.logo {
  gap: 10%;
}

.shapes-bg::after {
  position: absolute;
  content: '';
  right: 0;
  top: 50%;
  width: 550px;
  height: 550px;
  border-radius: 50%;

  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background: linear-gradient(135deg, #6d35f5 0%, #8f62ff 55%, #31d7b5 100%);

  -webkit-filter: blur(150px);
  filter: blur(150px);
  opacity: 0.8;
  z-index: -1;
}
.card-style-one {
  position: relative;
  overflow: hidden;
}
/* 
.card-style-one::after {
  position: absolute;
  content: '';
  right: -10%;
  top: 5%;
  width: 250px;
  height: 650px;
  border-radius: 50%;

  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background: linear-gradient(135deg, #6d35f5 0%, #8f62ff 55%, #31d7b5 100%);

  -webkit-filter: blur(150px);
  filter: blur(150px);
  opacity: 0.9;
  z-index: 0;
} */

.card-style-fourteen {
  border-radius: 30px;
}

.card-style-fourteen p {
  margin-bottom: 60px;
  min-height: 100px;
}

.card-style-fourteen .cta-btn {
  width: auto;
  height: auto;
  position: static;
  border: 1px solid #000000;
  border-radius: 10px;
  padding: 10px 0;
}

.card-style-fourteen h4 {
  margin-top: 0;
}

.accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.nav-item {
  color: #ffffff;
}

.form-bg {
  background: var(--grad-primary);
}

.title-three {
  max-width: 80%;
}

@media (max-width: 767px) {
  .title-three {
    max-width: 100%;
  }
}


.tel {
  font-size: clamp(16px, 2vw, 28px);
  white-space: nowrap;
}

.btn-one {
  padding: 0 10px;
  white-space: nowrap;
}

.footer-one .copyright-text {
  position: static;
}

.btn-flex {
  min-width: 240px;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .btn-flex {
    min-width: 217px;
  }
}

.theme-main-menu.menu-style-one .bg-wrapper {
  padding: 10px;
}

.pro-site {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.pro-site span {
  margin-right: 5px;
}

.pro-site a {
  color: #4b1fcf;
}

.pro-site img {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}

@media (max-width: 1199px) {
  .form-style-one .input-group-meta input,
  .form-style-one .input-group-meta textarea,
  .blog-details .blog-comment-form .input-wrapper input,
  .blog-details .blog-comment-form .input-wrapper textarea {
    font-size: 14px;
  }
}

/* Адаптивные плейсхолдеры для мобильных устройств */
@media (max-width: 768px) {
  .form-style-one input::placeholder {
    font-size: 12px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
  }

  .form-style-one input {
    font-size: 14px;
    padding: 10px 12px;
    height: auto;
    min-height: 50px;
  }
}

@media (max-width: 400px) {
  .form-style-one input::placeholder {
    font-size: 10px;
  }
}

.block-feature-nineteen .card-style-nine > div:first-child {
  min-height: 200px;
}
/* 
.block-feature-nineteen.rotate img {
  rotate: 90deg;
  margin-top: 20% !important;
} */

.card-style-nine .title {
  margin: 35px 0;
  text-align: center !important;
}

a.tel:hover,
a.email:hover,
.footer-one .footer-nav .footer-nav-link a:hover,
.footer-nav-link a.text-dark:hover {
  color: #8a42ff !important;
}

/* Стили для десктопного изображения */
.hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Стили для мобильного изображения */
.hero-image-mobile {
  max-width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* На мобильных центрируем текст */
@media (max-width: 767px) {
  .hero-banner-one .col-lg-7 {
    text-align: center;
  }
  
  .hero-banner-one ul {
    justify-content: center;
  }
  
  .hero-banner-one .btn-flex {
    justify-content: center;
  }
}

/* Обертка галереи */
.product-gallery-wrapper {
    position: relative;
}

/* Главное изображение */
.main-image-wrapper {
    position: relative;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.main-image {
    max-height: 500px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Стрелки навигации */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

/* Миниатюры */
.thumbnails-wrapper {
    margin-top: 15px;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail-item:hover {
    border-color: #ddd;
}

.thumbnail-item.active {
    border-color: #333;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover .thumbnail-image {
    transform: scale(1.05);
}

/* FancyBox кастомизация */
.fancybox__container {
    --fancybox-bg: rgba(0, 0, 0, 0.9);
}

.fancybox__slide {
    padding: 30px;
}

.fancybox__thumb {
    border-radius: 8px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .main-image {
        max-height: 300px;
    }
}

.product-characteristics .char-item {
    padding: 10px 0;
}

.product-characteristics .char-item:first-child {
    padding-top: 0;
}

.product-characteristics .char-name {
    font-size: 15px;
}

.product-characteristics .char-value {
    font-size: 15px;
    text-align: right;
}

.price-value {
    letter-spacing: -0.5px;
}

.price-note {
    margin-top: 4px;
}

/* Табы */
[data-tab] {
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
    color: #666;
    border: 1px solid #e0e0e0;
}

[data-tab]:hover {
    background: #f5f5f5;
}

[data-tab].is-checked {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* Панели табов */
.tab-panel {
    display: none;
    padding: 30px 0;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Таблица характеристик */
.price-compare-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-compare-table th {
    font-weight: 500;
    color: #333;
}

.price-compare-table td {
    color: #555;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    [data-tab] {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .tab-panel {
        padding: 20px 0;
    }
}

.table>:not(caption)>*>* {
  background-color: transparent;
    border-color: #ffffff !important;
padding-left: 10px !important;
}

@media (max-width: 991px) {
  .product-characteristics {
    margin-top: 50px;
  }
}


/* Хлебные крошки */
.breadcrumbs-wrapper {
    margin-bottom: 30px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #8a42ff;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #8a42ff;
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 5px;
    color: #999;
}

.breadcrumbs .current {
    color: #333;
    font-weight: 500;
}

/* Hero заголовки */
.hero-heading {
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subheading {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Кнопки в hero */
.filter-nav-one .btn-one {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: #007bff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    margin: 5px 10px;
}

.filter-nav-one .btn-one:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.filter-nav-one .btn-one.btn-flex {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Популярные ссылки (табы) */
.feature-tab .nav-link {
    padding: 10px 25px;
    border-radius: 30px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    margin: 0 5px;
}

.feature-tab .nav-link.active {
    background: #007bff;
    color: #fff;
}

.feature-tab .nav-link:hover:not(.active) {
    background: #e9ecef;
}

/* Сетка товаров */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    overflow: hidden;
    height: 220px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #333;
}

.product-article {
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #e74c3c;
    margin: 10px 0;
}

.btn-detail {
    display: inline-block;
    color: #007bff;
    font-weight: 500;
    transition: all 0.3s;
}

.product-item:hover .btn-detail {
    color: #0056b3;
    transform: translateX(5px);
}

/* Пагинация */
.pagination-wrapper .pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    list-style: none;
    padding: 0;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-wrapper .page-numbers.current {
    background: #007bff;
    color: #fff;
}

.pagination-wrapper .page-numbers:hover:not(.current) {
    background: #e9ecef;
}

/* Адаптив */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 32px;
    }
    
    .hero-subheading {
        font-size: 16px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .filter-nav-one .btn-one {
        padding: 10px 20px;
        margin: 5px;
        font-size: 14px;
    }
    
    .feature-tab .nav-link {
        padding: 8px 16px;
        font-size: 14px;
        margin: 3px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .product-content {
        padding: 12px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .product-price {
        font-size: 16px;
    }
}


/* Популярные ссылки (подкатегории) */
.feature-tab {
    margin-top: 40px;
}

.feature-tab .nav-link {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    margin: 0 5px 10px;
    border: 1px solid rgba(0,0,0,0.08);
}

.feature-tab .nav-link.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.feature-tab .nav-link:hover:not(.active) {
background: rgb(182, 108, 255);
    border-color: #000000;
    transform: translateY(-2px);
}

/* Адаптив для подкатегорий */
@media (max-width: 768px) {
    .feature-tab .nav-link {
        padding: 8px 16px;
        font-size: 14px;
        margin: 3px;
    }
    
    .button-wrapper .btn-one {
        padding: 14px 40px;
        font-size: 16px;
    }
}

.filter-nav .nav-link:hover {
  color: #000000 !important;
}

.faq-section-two.position-relative.mt-250.xl-mt-200.lg-mt-80.mb-200.xl-mb-150.lg-mb-80{
    background: white;
    border-radius: 30px;
}
.faq-box {
    background: #fff;
    border-radius: 30px;
    padding-top: 80px;
    padding-bottom: 80px;
}



/* =============================================
   ФИЛЬТР (основной)
============================================= */
.filter-sidebar {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 30px;
}

.filter-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.filter-title h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.reset-filter {
    font-size: 13px;
    color: #e74c3c;
    text-decoration: none;
}

.filter-block {
    margin-bottom: 25px;
}

.filter-block h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

/* Кнопки фильтра */
.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-apply-filter {
    flex: 1;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-apply-filter:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-reset-filter {
    flex: 1;
    padding: 10px 20px;
    background: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-reset-filter:hover {
    background: #e0e0e0;
}

/* Счетчик товаров */
.filtered-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.products-count {
    font-size: 16px;
    color: #666;
}

@media (max-width: 991px) {
    .filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .price-inputs {
        flex-wrap: wrap;
    }
    
    .price-input {
        width: calc(50% - 15px);
    }
}

/* =============================================
   КОМПАКТНЫЙ ФИЛЬТР
============================================= */
.filter-body {
    display: none;
    padding-top: 8px;
    padding-bottom: 10px;
}

.filter-body.show {
    display: block !important;
}

.filter-header {
    cursor: pointer;
    user-select: none;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-header h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.filter-header .filter-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 10px;
    color: #999;
}

.filter-header.active .filter-arrow {
    transform: rotate(180deg);
    color: #007bff;
}

.filter-block.compact {
    margin-bottom: 8px;
    border-bottom: 1px solid #f5f5f5;
}

.filter-block.compact:last-child {
    border-bottom: none;
}

/* Цена */
.price-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-input {
    width: 65px;
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    text-align: center;
}

.price-input:focus {
    border-color: #007bff;
}

.price-inputs span {
    color: #999;
    font-size: 12px;
}

.price-slider {
    margin: 2px 0;
}

.slider-track {
    position: relative;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

.slider-range {
    position: absolute;
    height: 100%;
    background: #007bff;
    border-radius: 2px;
}

.slider-track input[type="range"] {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: none;
    pointer-events: none;
    cursor: pointer;
}

.slider-track input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #007bff;
    border-radius: 50%;
    pointer-events: auto;
    cursor: pointer;
}

.slider-track input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #007bff;
    border-radius: 50%;
    border: none;
    pointer-events: auto;
    cursor: pointer;
}

/* Теги (компактные кнопки) */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 15px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tag input {
    display: none;
}

.filter-tag:hover {
    background: #e8e8e8;
}

.filter-tag.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.filter-tag.color-tag {
    padding: 4px 10px 4px 6px;
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    display: inline-block;
    flex-shrink: 0;
}

/* Выпадающий список */
.filter-select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    background: #fff;
    min-height: 80px;
}

.filter-select:focus {
    border-color: #007bff;
}

.filter-select option {
    padding: 4px 8px;
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.selected-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #e3f2fd;
    color: #007bff;
    border-radius: 10px;
    font-size: 11px;
    cursor: pointer;
}

.selected-tag:hover {
    background: #bbdefb;
}

@media (max-width: 991px) {
    .filter-sidebar {
        position: static;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .filter-sidebar {
        padding: 15px;
    }
    .price-input {
        width: 55px;
    }
}

/* Скрываем прелоадер для AJAX */
#preloader.hidden,
#preloader[style*="display: none"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body:not(.page-loaded) #preloader {
    display: flex !important;
}

body.page-loaded #preloader {
    display: none !important;
}

.page-template-about .block-feature-ten.position-relative.z-2.pt-150.lg-pt-80 {
  background: #ffea7b;
}
.blog-section-two.mt-200.lg-mt-150.mb-120.lg-mb-80{
    background: #ebe9e9;
    border-radius: 30px;
}
.blog-inner-box {
    padding-top: 80px;
    padding-bottom: 80px;
}
.blog-details.mt-200.lg-mt-150.mb-120.lg-mb-80{
    background: #ebe9e9;
    border-radius: 30px;
    padding-top: 80px;
    padding-bottom: 80px;
}




/* ---------------------------------------------------------------------
   Таблица сравнения — обёртка со скроллом на узких экранах
   --------------------------------------------------------------------- */
.compare-table-wrap {
    width: 100%;
    margin: 28px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border: 1px solid #e6efe8;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(74, 157, 111, 0.06);
}

.compare-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #3d3d3d;
    table-layout: fixed;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.compare-table th,
.compare-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e6efe8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.compare-table th {
    background: #e8f5ee;
    color: #15532f;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    border-bottom: 2px solid #b8e0c8;
    white-space: normal;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.compare-table tbody tr:hover {
    background: #f1f8f4;
}

.compare-table th:first-child,
.compare-table td:first-child {
    width: 32%;
}

.compare-table th:nth-child(2),
.compare-table td:nth-child(2),
.compare-table th:nth-child(3),
.compare-table td:nth-child(3) {
    width: 34%;
}

/* ---------------------------------------------------------------------
   Заголовки статьи
   - h1 — крупный, выровнен по центру
   - h2 / h3 — компактные, чтобы не спорить с h1
   --------------------------------------------------------------------- */
.blog-details-post h1 {
    font-size: 60px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
    margin: 0 auto 24px;
    color: #1a1a1a;
}

.blog-details-post h2 {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
    margin: 36px 0 16px;
    
    letter-spacing: -0.005em;
}

.blog-details-post h3 {
    font-size: 19px;
    line-height: 1.4;
    font-weight: 600;
    margin: 28px 0 12px;
    
    letter-spacing: 0;
}

/* ---------------------------------------------------------------------
   Дата публикации — выравнивание по правому краю
   --------------------------------------------------------------------- */
.blog-details-post .post-info {
    display: flex;
    justify-content: flex-end;
    text-align: right;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
}

.blog-details-post .post-date {
    color: #6b7280;
    font-weight: 500;
}

/* ---------------------------------------------------------------------
   Фото-плейсхолдеры в статье
   --------------------------------------------------------------------- */
.article-media {
    margin: 36px 0;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f6f4;
    border: 1px solid #e6efe8;
    box-shadow: 0 4px 16px rgba(74, 157, 111, 0.06);
}

.article-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article-media__caption {
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #3d3d3d;
    background: #ffffff;
    border-top: 1px solid #e6efe8;
}

.article-media--wide img {
    aspect-ratio: 16 / 7;
}

.article-media--compact {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.article-media--compact img {
    aspect-ratio: 16 / 9;
}

/* ---------------------------------------------------------------------
   Акцентный коммерческий блок (переход в каталог)
   --------------------------------------------------------------------- */
.commercial-cta--highlight {
    position: relative;
    background: linear-gradient(135deg, #e8f5ee 0%, #fafbfc 100%);
    border: 2px solid #4a9d6f;
    border-radius: 16px;
    padding: 28px 32px;
    margin: 40px 0;
    box-shadow: 0 8px 24px rgba(74, 157, 111, 0.12);
}

.commercial-cta--highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #4a9d6f;
    border-radius: 16px 0 0 16px;
}

.commercial-cta--highlight .commercial-cta__label {
    display: inline-block;
    background: #4a9d6f;
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.commercial-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.commercial-cta__text {
    flex: 1 1 320px;
}

.commercial-cta__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4a9d6f;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(74, 157, 111, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.commercial-cta__btn:hover,
.commercial-cta__btn:focus {
    background: #15532f;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(21, 83, 47, 0.45);
    outline: none;
}

.commercial-cta__btn-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.commercial-cta__btn:hover .commercial-cta__btn-arrow {
    transform: translateX(4px);
}

/* ---------------------------------------------------------------------
   Кросс-страничная ссылка-чип в шапке статьи
   --------------------------------------------------------------------- */
.post-category-link {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 12px;
    background: #fff;
    color: #15532f !important;
    border: 1px solid #b8e0c8;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.post-category-link:hover,
.post-category-link:focus {
    background: #4a9d6f;
    color: #ffffff !important;
    outline: none;
}

/* ---------------------------------------------------------------------
   Адаптивные правки
   --------------------------------------------------------------------- */
@media (max-width: 640px) {
    .compare-table { font-size: 14px; min-width: 480px; }
    .compare-table th, .compare-table td { padding: 12px 14px; }

    .blog-details-post h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    .blog-details-post h2 { font-size: 22px; }
    .blog-details-post h3 { font-size: 17px; }
    .blog-details-post .post-info {
        justify-content: flex-start;
        text-align: left;
    }

    .commercial-cta--highlight { padding: 22px 18px; }
    .commercial-cta__inner { flex-direction: column; align-items: flex-start; }
    .commercial-cta__btn { width: 100%; justify-content: center; }
    .article-media__caption { font-size: 13px; padding: 10px 14px; }
}
 .blog-inner-box {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    @media (max-width: 991px) {
        .blog-inner-box {
            padding-top: 40px;
            padding-bottom: 40px;
        }
    }

    /* === Популярные статьи: миниатюра слева (ACF-поле "ikon") =====
       Миниатюра — фиксированный квадрат 88x88, object-fit:cover,
       поэтому фото НЕ растекается, как фон .media в карточке слева.
       Если фото в админке пустое — показывается стилизованный фолбэк. */
    .blog-recent-news .recent-news{
        display:flex;
        align-items:flex-start;
        gap:16px;
        padding:14px 0;
        border-bottom:1px solid #ececec;
    }
    .blog-recent-news .recent-news:last-child{ border-bottom:0; }

    .blog-recent-news .post-thumb{
        position:relative;
        flex:0 0 88px;
        width:88px;
        height:88px;
        border-radius:10px;
        overflow:hidden;
        background:#f3f6f4;
        margin:0;
    }
    .blog-recent-news .post-thumb img{
        width:100%;
        height:100%;
        object-fit:cover;
        object-position:center;
        display:block;
    }
    .blog-recent-news .post-thumb--noimg::before{
        content:"\1F4F0";
        position:absolute; inset:0;
        display:flex; align-items:center; justify-content:center;
        font-size:32px; color:#4a9d6f; z-index:1;
    }
    .blog-recent-news .post-thumb--noimg::after{
        content:"";
        position:absolute; inset:0;
        background:
            radial-gradient(circle at 30% 35%, rgba(74,157,111,.18) 0 18%, transparent 19%),
            radial-gradient(circle at 70% 65%, rgba(0,184,148,.16) 0 14%, transparent 15%);
    }
    .blog-recent-news .post-data{ flex:1; min-width:0; }
    .blog-recent-news .post-data .date{ margin-bottom:6px; }
    .blog-recent-news .post-data .blog-title h3{ margin:0; line-height:1.35; }

    @media (max-width: 575px){
        .blog-recent-news .post-thumb{
            flex:0 0 64px; width:64px; height:64px; border-radius:8px;
        }
    }

    .blog-meta-two .post-info{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:14px;
    font-size:13px;
}
.blog-meta-two .reading-time{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#15532f;
    font-weight:600;
    font-size:13px;
}
.blog-meta-two .reading-time .uii{
    display:inline-flex;
    width:14px; height:14px;
    color:#00b894; stroke:#00b894;
}
.blog-meta-two .meta-category{
    display:inline-flex;
    align-items:center;
    padding:5px 12px;
    margin-left:auto;
    background:#e8f5ee;
    color:#15532f;
    border:1px solid #b8e0c8;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    line-height:1.2;
    white-space:nowrap;
    transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.blog-meta-two a.meta-category:hover,
.blog-meta-two a.meta-category:focus{
    background:#4a9d6f;
    color:#ffffff;
    border-color:#4a9d6f;
    outline:none;
}

.grecaptcha-badge { visibility: hidden; }

/* h1 {
        font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    font-size: 70px !important;
    line-height: 1.1666em !important;
} */