/* =========================================================
   INNOVA CLEAN ADDITIONAL CSS (SAFE VERSION)
   Лише точкові доповнення без дублювання базових компонентів
========================================================= */

/* ---------- FORM ---------- */
.wpforms-form{
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.wpforms-submit{
  background: #111 !important;
  color: #fff !important;
  border-radius: 14px !important;
}

/* ---------- ACCOUNT ---------- */
/* Увімкніть тільки якщо перевірено на реальній сторінці акаунта */
.woocommerce-account form input{
  min-height: 56px;
  border-radius: 16px;
}

/* ---------- MOBILE MENU ---------- */
@media (max-width: 921px){
  .ast-mobile-popup-drawer{
    background: #fff;
  }

  .ast-mobile-popup-drawer .menu-item > a{
    min-height: 60px;
    font-size: 18px;
    color: #111;
  }

  /* Краще замінити href-селектор на окремий class у меню */
  .ast-mobile-popup-drawer .menu-item a[href*="selector"]{
    background: #111;
    color: #fff !important;
    border-radius: 14px;
  }
}

/* ---------- CLEAN FIXES ---------- */

/* Ховаємо Woo tabs / related тільки на single product */
.single-product .woocommerce-tabs,
.single-product .related.products{
  display: none !important;
}

/* Прибираємо тільки Woo/category count, не будь-який .count на сайті */
.woocommerce ul.products li.product mark.count,
.woocommerce .woocommerce-loop-category__title .count,
.woocommerce .woocommerce-loop-category__title mark.count,
mark.count{
  display: none !important;
}

#infinite-handle{
  display: none !important;
}

/* ---------- BLOG / NEWS CLEANUP ---------- */
.single-post #comments,
.single-post .comment-respond,
.sharedaddy,
.sd-like-enabled,
.jetpack-likes-widget-wrapper,
.post-comments-link,
.comments-link{
  display: none !important;
}

.single-post .entry-content,
.single-post .entry-summary,
.single-post .entry-header,
.single-post .entry-footer{
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- HIDE OLD WOO SUBCATEGORY GRID ONLY WHERE NEEDED ---------- */
.tax-product_cat.term-heat-pumps-innova ul.products li.product-category,
.tax-product_cat.term-fancoils-innova ul.products li.product-category,
.tax-product_cat.term-kondycionery-2-0 ul.products li.product-category{
  display: none !important;
}

.tax-product_cat.term-heat-pumps-innova ul.products,
.tax-product_cat.term-fancoils-innova ul.products,
.tax-product_cat.term-kondycionery-2-0 ul.products{
  margin-bottom: 0 !important;
}

/* ---------- BETTER SPACING BETWEEN HERO AND CUSTOM SERIES GRID ---------- */
.tax-product_cat.term-fancoils-innova .innova-catalog-hero,
.tax-product_cat.term-heat-pumps-innova .innova-catalog-hero,
.tax-product_cat.term-kondycionery-2-0 .innova-catalog-hero{
  margin-bottom: 24px !important;
}

.tax-product_cat.term-fancoils-innova .innova-series-grid-block,
.tax-product_cat.term-heat-pumps-innova .innova-series-grid-block,
.tax-product_cat.term-kondycionery-2-0 .innova-series-grid-block{
  margin-top: 0 !important;
  margin-bottom: 28px !important;
}

/* ---------- CATEGORY CARD HELPER ---------- */
/* Лишайте тільки якщо цей клас реально використовується в markup */
.innova-category-card{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.innova-category-card img{
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f5f7 100%);
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.innova-category-card:hover img{
  transform: scale(1.03);
}
/* =========================================================
   ▼▼▼ INNOVA — РЕДИЗАЙН СТОРІНКИ /news/  (v1.0)  ▼▼▼
   МАРКЕР ПОЧАТКУ — для відкату шукати цей коментар
   ---------------------------------------------------------
   Куди:  WP Admin → Зовнішній вигляд → Налаштувати →
          Додаткові стилі CSS (Customizer).
   Як:    ДОДАТИ цей блок У КІНЕЦЬ Customizer (нічого не
          видаляти). Старі правила /news/ у style.css ТЕМИ
          перекриваються автоматично — Customizer вантажиться
          пізніше за рівної специфічності. ID = page-id-4392 ✓

   Відкат: видалити все від цього маркера до маркера
           "▲▲▲ КІНЕЦЬ" унизу файлу.

   Прив'язка подвійна (страховка):
     .page-id-4392  +  .innova-news-page
   (спрацює навіть якщо ID колись зміниться).

   Розмітка картки — рівно як у шорткоді [innova_news]
   (functions.php дочірньої теми): __img / __body / __meta /
   __title / __excerpt / __more / --placeholder / pagination.

   Стиль-орієнтир: преміум-картки WLHP + store-hero
   (скруглення, двошарові тіні, типографіка з :root теми).
========================================================= */

/* ---------- межі сторінки + фон ---------- */
.page-id-4392 .site-content,
.page-id-4392 .entry-content,
.page-id-4392 .content-area,
.innova-news-page{
  background: var(--innova-bg, #f5f5f3);
}

.page-id-4392 .entry-title{
  display: none !important;
}

.innova-news-page{
  max-width: var(--innova-max, 1240px);
  margin: 0 auto;
  padding: 0 20px 64px;
  color: var(--innova-text, #111827);
}

/* спільний внутрішній рядок-кікер для секцій */
.innova-news-kicker,
.innova-news-section-kicker{
  display: inline-block;
  margin-bottom: 12px;
  color: #6f7784;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* =========================
   HERO
========================= */
.innova-news-hero{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 420px;
  margin: 8px 0 40px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(17,24,39,.06);
  border-radius: var(--innova-radius-xl, 30px);
background:
    linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.82) 38%, rgba(255,255,255,.35) 64%, rgba(255,255,255,.06) 100%),
    url("https://climateinnova.com/wp-content/uploads/2026/06/innova-hero-engineering.png") center right / cover no-repeat;
  box-shadow: 0 16px 44px rgba(15,23,42,.05);
}

.innova-news-hero__content{
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.innova-news-hero h1{
  max-width: 760px;
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.05em;
}

.innova-news-hero p{
  max-width: 640px;
  margin: 0;
  color: #4b5563;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.6;
}

.innova-news-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* кнопки hero — узгоджено з .innova-btn теми, але страхуємось */
.innova-news-page .innova-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.innova-news-page .innova-btn--primary{
  background: #111111;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(0,0,0,.12);
}

.innova-news-page .innova-btn--primary:hover{
  background: #1c1d20;
  color: #fff;
  transform: translateY(-2px);
}

.innova-news-page .innova-btn--secondary{
  background: rgba(255,255,255,.78);
  color: #111827;
  border: 1px solid rgba(17,24,39,.08);
}

.innova-news-page .innova-btn--secondary:hover{
  background: #fff;
  color: #111827;
  transform: translateY(-2px);
}

/* =========================
   INTRO
========================= */
.innova-news-intro{
  margin: 0 0 48px;
}

.innova-news-intro__head{
  max-width: 820px;
}

.innova-news-intro__head h2{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--innova-text, #111827);
}

.innova-news-intro__head p{
  margin: 0;
  color: var(--innova-muted, #667085);
  font-size: 17px;
  line-height: 1.6;
}

/* =========================
   SECTION (Новини / Інженерні статті)
========================= */
.innova-news-section{
  margin: 0 0 56px;
  scroll-margin-top: 100px; /* для якорів #news-feed / #engineering-feed */
}

.innova-news-section--light{
  background: var(--innova-surface-soft, #fafaf8);
  border: 1px solid var(--innova-border-soft, rgba(17,24,39,.05));
  border-radius: var(--innova-radius-lg, 24px);
  padding: 40px clamp(20px, 4vw, 44px);
}

.innova-news-section__head{
  max-width: 820px;
  margin: 0 0 28px;
}

.innova-news-section__head h2{
  margin: 0 0 10px;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  color: var(--innova-text, #111827);
}

.innova-news-section__head p{
  margin: 0;
  color: var(--innova-muted, #667085);
  font-size: 17px;
  line-height: 1.58;
}

/* =========================
   FEED GRID + КАРТКИ
   (структура з шорткоду [innova_news])
========================= */
.page-id-4392 .innova-news-feed-grid,
.innova-news-page .innova-news-feed-grid,
.innova-news-feed .innova-news-feed-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.page-id-4392 .innova-news-card,
.innova-news-page .innova-news-card{
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
  border: 1px solid rgba(15,23,42,.04);
  border-radius: var(--innova-radius-lg, 24px);
  box-shadow:
    0 18px 44px rgba(15,23,42,.05),
    0 40px 90px rgba(15,23,42,.04);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.page-id-4392 .innova-news-card:hover,
.innova-news-page .innova-news-card:hover{
  transform: translateY(-6px);
  border-color: rgba(15,23,42,.07);
  box-shadow:
    0 24px 58px rgba(15,23,42,.08),
    0 50px 100px rgba(15,23,42,.06);
}

/* фото-обгортка (це посилання a) */
.page-id-4392 .innova-news-card__img,
.innova-news-page .innova-news-card__img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(circle at 50% 25%, #ffffff 0%, #f6f7f8 58%, #f1f3f5 100%);
}

.page-id-4392 .innova-news-card__img img,
.innova-news-page .innova-news-card__img img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .35s ease;
}

.page-id-4392 .innova-news-card:hover .innova-news-card__img img,
.innova-news-page .innova-news-card:hover .innova-news-card__img img{
  transform: scale(1.04);
}

/* плейсхолдер коли немає featured image — більше не порожня діра */
.page-id-4392 .innova-news-card__img--placeholder,
.innova-news-page .innova-news-card__img--placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #f3f5f7 0%, #e9ecef 100%);
  position: relative;
}

.page-id-4392 .innova-news-card__img--placeholder::after,
.innova-news-page .innova-news-card__img--placeholder::after{
  content: "INNOVA";
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .22em;
  color: rgba(17,24,39,.16);
}

/* тіло картки */
.page-id-4392 .innova-news-card__body,
.innova-news-page .innova-news-card__body{
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.page-id-4392 .innova-news-card__meta,
.innova-news-page .innova-news-card__meta{
  margin: 0 0 10px;
  color: var(--innova-muted, #667085);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

.page-id-4392 .innova-news-card__title,
.innova-news-page .innova-news-card__title{
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.015em;
}

.page-id-4392 .innova-news-card__title a,
.innova-news-page .innova-news-card__title a{
  color: var(--innova-text, #111827);
  text-decoration: none;
  transition: color .18s ease;
}

.page-id-4392 .innova-news-card__title a:hover,
.innova-news-page .innova-news-card__title a:hover{
  color: var(--innova-accent-2, #2bb673);
}

.page-id-4392 .innova-news-card__excerpt,
.innova-news-page .innova-news-card__excerpt{
  flex-grow: 1;
  margin: 0 0 16px;
  color: var(--innova-muted, #667085);
  font-size: 14px;
  line-height: 1.6;
}

.page-id-4392 .innova-news-card__more,
.innova-news-page .innova-news-card__more{
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  color: var(--innova-text, #111827);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: gap .18s ease, color .18s ease;
}

.page-id-4392 .innova-news-card__more:hover,
.innova-news-page .innova-news-card__more:hover{
  color: var(--innova-accent-2, #2bb673);
}

/* =========================
   ПАГІНАЦІЯ (paginate_links type=list)
========================= */
.page-id-4392 .innova-news-pagination,
.innova-news-page .innova-news-pagination{
  margin-top: 36px;
}

.page-id-4392 .innova-news-pagination ul,
.innova-news-page .innova-news-pagination ul{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-id-4392 .innova-news-pagination li,
.innova-news-page .innova-news-pagination li{
  margin: 0;
  list-style: none;
}

.page-id-4392 .innova-news-pagination a,
.page-id-4392 .innova-news-pagination span,
.innova-news-page .innova-news-pagination a,
.innova-news-page .innova-news-pagination span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 999px;
  background: #fff;
  color: var(--innova-text, #111827);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--innova-shadow-sm, 0 10px 28px rgba(16,24,40,.05));
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.page-id-4392 .innova-news-pagination a:hover,
.innova-news-page .innova-news-pagination a:hover{
  border-color: rgba(17,24,39,.16);
  transform: translateY(-1px);
}

.page-id-4392 .innova-news-pagination .current,
.innova-news-page .innova-news-pagination .current{
  background: linear-gradient(180deg, #171717 0%, #111111 100%);
  color: #fff;
  border-color: transparent;
}

/* «Поки що немає публікацій…» (шорткод виводить голий p) */
.innova-news-page p.innova-news-empty,
.innova-news-section p.innova-news-empty,
.page-id-4392 .entry-content p:only-child{
  margin: 0;
  padding: 28px 24px;
  border: 1px dashed rgba(17,24,39,.14);
  border-radius: var(--innova-radius-md, 20px);
  background: #fff;
  color: var(--innova-muted, #667085);
  font-size: 15px;
}

/* =========================
   CTA (низ сторінки)
========================= */
.innova-news-cta{
  position: relative;
  overflow: hidden;
  max-width: var(--innova-max, 1240px);
  margin: 8px auto 0;
  padding: 52px clamp(24px, 5vw, 48px);
  border-radius: var(--innova-radius-xl, 30px);
  background: linear-gradient(135deg, #070809 0%, #111315 100%);
  color: #fff;
  box-shadow: 0 28px 70px rgba(3,7,18,.18);
}

.innova-news-cta::before{
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -90px;
  background: radial-gradient(circle, rgba(43,182,115,.28) 0%, transparent 70%);
  pointer-events: none;
}

.innova-news-cta__inner{
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.innova-news-cta h2{
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -.03em;
}

.innova-news-cta p{
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.62;
}

.innova-news-cta .innova-btn--primary{
  background: var(--innova-accent-2, #2bb673);
  color: #fff;
  white-space: nowrap;
}

.innova-news-cta .innova-btn--primary:hover{
  background: #239e62;
}

/* =========================
   АДАПТИВ
========================= */
@media (max-width: 1100px){
  .page-id-4392 .innova-news-feed-grid,
  .innova-news-page .innova-news-feed-grid,
  .innova-news-feed .innova-news-feed-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 768px){
  .innova-news-page{
    padding: 0 14px 48px;
  }

  .innova-news-hero{
    min-height: auto;
    margin: 0 0 28px;
    padding: 26px 20px 24px;
    border-radius: 22px;
  }

  .innova-news-hero__actions .innova-btn{
    width: 100%;
  }

  .innova-news-section--light{
    padding: 28px 18px;
    border-radius: 20px;
  }

  .page-id-4392 .innova-news-feed-grid,
  .innova-news-page .innova-news-feed-grid,
  .innova-news-feed .innova-news-feed-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .innova-news-cta{
    padding: 34px 20px;
    border-radius: 22px;
  }

  .innova-news-cta__inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .innova-news-cta .innova-btn{
    width: 100%;
  }
}

/* ▲▲▲ КІНЕЦЬ INNOVA РЕДИЗАЙН /news/ v1.0 — для відкату видалити до маркера ▼▼▼ вгорі ▲▲▲ */
/* ===== КОНСУЛЬТАЦІЯ (page-id-2385): підтягнути до стилю сайту ===== */

/* ===== КОНСУЛЬТАЦІЯ (page-id-2385): оформити "голі" секції ===== */

/* Кікери (маленькі підписи над заголовками) */
.page-id-2385 .innova-value-kicker,
.page-id-2385 .innova-section-kicker,
.page-id-2385 .innova-consult-kicker{
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #2bb673;
}

/* Бейджі в hero — пігулки замість суцільного рядка */
.page-id-2385 .innova-consult-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.page-id-2385 .innova-consult-badges span{
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #16313a;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(12,30,50,.04);
}

/* Картки "Що ви отримуєте" (01-04) + Кроки — у стилі .innova-card */
.page-id-2385 .innova-value-grid,
.page-id-2385 .innova-steps{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px;
  margin-top: 8px;
}
.page-id-2385 .innova-value-card,
.page-id-2385 .innova-step{
  background: linear-gradient(180deg, #ffffff 0%, #fafaf9 100%);
  border: 1px solid rgba(17,24,39,.06);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 12px 30px rgba(15,23,42,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.page-id-2385 .innova-value-card:hover,
.page-id-2385 .innova-step:hover{
  transform: translateY(-4px);
  border-color: rgba(43,182,115,.25);
  box-shadow: 0 20px 44px rgba(15,23,42,.08);
}

/* Великий номер 01-04 — зелений акцент */
.page-id-2385 .innova-value-card__num,
.page-id-2385 .innova-step__num{
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: #2bb673;
  margin-bottom: 14px;
}
.page-id-2385 .innova-value-card h3,
.page-id-2385 .innova-step h3{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
  color: #111827;
}
.page-id-2385 .innova-value-card p,
.page-id-2385 .innova-step p{
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5f6b76;
}

/* На планшеті — по 2 в ряд, на телефоні — по 1 */
@media (max-width: 1100px){
  .page-id-2385 .innova-value-grid,
  .page-id-2385 .innova-steps{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 768px){
  .page-id-2385 .innova-value-grid,
  .page-id-2385 .innova-steps{
    grid-template-columns: 1fr;
  }
}
/* CTA новин — вирівняти по ширині контенту (1240) */
.page-id-4392 .innova-news-cta,
.innova-news-page .innova-news-cta{
  max-width: var(--innova-max, 1240px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Товари — відступи опису (HRP DOMO та ін.) */
.single-product .woocommerce-product-details__short-description{
  margin: 18px 0 22px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(17,24,39,.06);
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
}
.single-product .woocommerce-product-details__short-description p{ margin: 0 !important; }

.single-product div.product > p,
.single-product div.product > ul,
.single-product div.product > ol{
  clear: both !important;
  max-width: 840px;
}
.single-product div.product > p{
  margin: 0 0 16px !important;
  line-height: 1.7;
  color: #111827;
}
.single-product div.product > ul{
  margin: 6px 0 22px !important;
  padding-left: 22px !important;
  list-style: disc !important;
}
.single-product div.product > ul > li{
  margin: 0 0 8px !important;
  line-height: 1.6;
  color: #111827;
}