/*
Theme Name: ICC-Service
Theme URI: https://icc-service.ru
Description: Дочерняя тема OceanWP для ICC-Service — магазин УФ и DTF принтеров
Author: StartOK
Author URI: https://icc-service.ru
Template: oceanwp
Version: 1.0.0
Text Domain: icc-service
*/

/* ============================================
   ICC-SERVICE CUSTOM STYLES
   ============================================ */

/* Hide page header on front page */
body.home .page-header {
    display: none;
}

/* Hide empty main content area on front page (custom sections render via hooks) */
body.home #main.site-main,
body.home #main.site-main #content-wrap {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* --- WooCommerce Catalog --- */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
}
.woocommerce ul.products li.product .price {
    font-size: 16px;
    font-weight: 700;
    color: #e91e63;
}
.woocommerce ul.products li.product .price del {
    font-size: 13px;
    color: #9e9e9e;
}
.woocommerce ul.products li.product .button {
    background: #0097a7;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    text-transform: none;
    padding: 8px 16px;
    transition: background 0.2s;
}
.woocommerce ul.products li.product .button:hover {
    background: #00838f;
}

/* Product cards — visual styling on .product-inner for proper gaps */
.woocommerce ul.products li.product {
    transition: transform 0.15s;
    position: relative;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-2px);
    z-index: 10;
}
.woocommerce ul.products li.product .product-inner {
    border: 1px solid #e8edf2;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.2s;
}
/* Clip image corners via image-wrap, not product-inner (gallery slides outside) */
.woocommerce ul.products li.product .product-inner li.image-wrap {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.woocommerce ul.products li.product:hover .product-inner {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Quick view & action buttons — ensure they appear above images */
.woocommerce ul.products li.product:not(.product-category) .woo-entry-buttons {
    z-index: 100;
}
.woocommerce ul.products li.product .owp-quick-view {
    z-index: 100;
}

/* Sale badge */
.woocommerce span.onsale {
    background: #e91e63;
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    font-size: 12px;
    padding: 4px 10px;
}

/* --- FOOTER --- */
#footer-widgets {
    background: #0a1628;
    position: relative;
    overflow: hidden;
}

/* ── Footer Halftone Dots Animation (print-tech style) ── */
#footer-widgets::before,
#footer-widgets::after,
#footer-widgets .footer-box::before,
#footer-widgets .footer-box::after {
    content: '';
    position: absolute;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Halftone grid 1 — large teal dot matrix, slow drift */
#footer-widgets::before {
    width: 180px;
    height: 160px;
    top: -10px;
    left: 5%;
    background-image:
        radial-gradient(circle, rgba(0,151,167,0.18) 2.5px, transparent 2.5px),
        radial-gradient(circle, rgba(0,151,167,0.10) 1.5px, transparent 1.5px);
    background-size: 18px 18px, 18px 18px;
    background-position: 0 0, 9px 9px;
    border-radius: 0;
    animation: icc-halftone-drift 30s ease-in-out infinite;
}

/* Halftone cluster 2 — scattered dots via box-shadow, diagonal float */
#footer-widgets::after {
    width: 4px;
    height: 4px;
    background: rgba(0,151,167,0.22);
    border-radius: 50%;
    bottom: 25%;
    right: 10%;
    box-shadow:
        10px 2px 0 1px rgba(0,151,167,0.16),
        22px -3px 0 2.5px rgba(0,151,167,0.13),
        6px 12px 0 3px rgba(0,151,167,0.10),
        18px 15px 0 1.5px rgba(0,151,167,0.18),
        30px 8px 0 2px rgba(0,151,167,0.08),
        -2px 20px 0 1px rgba(233,30,99,0.07),
        14px 24px 0 2px rgba(0,151,167,0.11);
    animation: icc-halftone-scatter 24s ease-in-out infinite;
}

/* Halftone grid 3 — accent dot pattern, right side */
#footer-widgets .footer-box::before {
    width: 140px;
    height: 120px;
    top: 40%;
    right: 3%;
    background-image:
        radial-gradient(circle, rgba(233,30,99,0.07) 2px, transparent 2px),
        radial-gradient(circle, rgba(0,151,167,0.05) 1px, transparent 1px);
    background-size: 14px 14px, 14px 14px;
    background-position: 0 0, 7px 7px;
    border-radius: 0;
    animation: icc-halftone-pulse 34s ease-in-out infinite;
}

/* Halftone cluster 4 — small dot group, center-left */
#footer-widgets .footer-box::after {
    width: 3px;
    height: 3px;
    background: rgba(0,151,167,0.20);
    border-radius: 50%;
    top: 18%;
    left: 38%;
    box-shadow:
        7px 0 0 1.5px rgba(0,151,167,0.14),
        14px 4px 0 2.5px rgba(0,151,167,0.10),
        4px 9px 0 2px rgba(0,151,167,0.16),
        11px 12px 0 1px rgba(0,151,167,0.08);
    animation: icc-halftone-micro 20s ease-in-out infinite;
}

/* Footer bottom — halftone dot strip */
#footer-bottom {
    background: #050d17;
    position: relative;
    overflow: hidden;
}
#footer-bottom::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    top: 50%;
    left: 15%;
    background: rgba(0,151,167,0.14);
    box-shadow:
        calc(12vw) -4px 0 2px rgba(0,151,167,0.10),
        calc(28vw) 3px 0 1px rgba(0,151,167,0.08),
        calc(42vw) -6px 0 2.5px rgba(0,151,167,0.12),
        calc(58vw) 2px 0 1.5px rgba(233,30,99,0.06),
        calc(72vw) -3px 0 2px rgba(0,151,167,0.09),
        calc(85vw) 4px 0 1px rgba(0,151,167,0.07);
    pointer-events: none;
    animation: icc-halftone-strip 26s ease-in-out infinite;
    will-change: transform, opacity;
}

/* --- Halftone keyframes --- */
@keyframes icc-halftone-drift {
    0%, 100% { transform: translate(0, 0); opacity: 0.55; }
    30%      { transform: translate(20px, 15px); opacity: 0.8; }
    60%      { transform: translate(-10px, 30px); opacity: 0.45; }
    80%      { transform: translate(15px, -5px); opacity: 0.7; }
}

@keyframes icc-halftone-scatter {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    25%      { transform: translate(-15px, -20px) scale(1.15); opacity: 0.8; }
    50%      { transform: translate(10px, 15px) scale(0.9); opacity: 0.4; }
    75%      { transform: translate(-8px, 5px) scale(1.05); opacity: 0.7; }
}

@keyframes icc-halftone-pulse {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
    35%      { transform: translate(-15px, -20px) scale(1.1); opacity: 0.75; }
    65%      { transform: translate(18px, 12px) scale(0.92); opacity: 0.35; }
}

@keyframes icc-halftone-micro {
    0%, 100% { transform: translate(0, 0); opacity: 0.4; }
    40%      { transform: translate(30px, -18px); opacity: 0.85; }
    70%      { transform: translate(-10px, 10px); opacity: 0.3; }
}

@keyframes icc-halftone-strip {
    0%, 100% { transform: translateX(0) scale(1); opacity: 0.55; }
    50%      { transform: translateX(15px) scale(1.1); opacity: 0.9; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    #footer-widgets::before,
    #footer-widgets::after,
    #footer-widgets .footer-box::before,
    #footer-widgets .footer-box::after,
    #footer-bottom::before {
        animation: none !important;
    }
}

/* ── End Footer Animation ── */

#footer-widgets .footer-widget-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0097a7;
}
#footer-widgets .widget a {
    color: #b0bec5;
    transition: color 0.2s;
}
#footer-widgets .widget a:hover {
    color: #26c6da;
}

/* --- BREADCRUMBS --- */
.page-header {
    background: #0a1628;
    padding: 25px 0;
}
.page-header .page-header-inner {
    padding-left: 20px;
}
.page-header .page-header-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

/* --- CONTENT CONTAINER --- */
#content-wrap.container {
    padding-left: 20px;
    padding-right: 20px;
}

/* --- BUTTONS --- */
.theme-button,
input[type="submit"],
button[type="submit"] {
    background: #0097a7;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    padding: 12px 24px;
    transition: background 0.2s;
    text-transform: none;
}
.theme-button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background: #00838f;
    color: #fff;
}

/* --- SCROLL TO TOP --- */
#scroll-top {
    background: #0a1628;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}
#scroll-top:hover {
    background: #0097a7;
}

/* Mobile: lift scroll-top above sticky bottom bar */
@media (max-width: 768px) {
    #scroll-top {
        bottom: 80px !important;
    }
}

/* ============================================================
   ICC-Service — ревизия шапки, типографики и плавающей панели
   v1, 11.10.2026. Вставлять в Customizer → Дополнительные стили
   или в конец style.css дочерней темы oceanwp-child.
   ============================================================ */

/* ---------- 1. Шапка: верхняя полоса ---------- */
@media (min-width: 769px) {
  .icc-header { box-shadow: none; border-bottom: 1px solid #e6ebf2; }

  .icc-header-top { padding: 0; border-bottom: 1px solid #eef2f7; }
  .icc-header-top .icc-header-inner { min-height: 52px; gap: 28px; }

  /* убираем лишнее: часы, соцсети, подпись у логотипа, кнопку «Обратный звонок» */
  .icc-header-schedule,
  .icc-header-socials,
  .icc-header-tagline,
  .icc-header-callback,
  .icc-mobile-top-cart { display: none !important; }

  /* логотип компактнее */
  .icc-header-logo { display: flex; align-items: center; }
  .icc-header-logo img { max-height: 44px; width: auto; }

  /* верхнее меню (О нас, Контакты) — вправо, перед телефоном */
  .icc-header-top-menu { margin-left: auto; gap: 24px; }
  .icc-top-menu-list { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
  .icc-top-menu-list li a { font-size: 14px; color: #4a5568; }

  /* телефон: только номер, без подписи «Звоните!» */
  .icc-header-phones { gap: 8px; }
  .icc-header-phones i { font-size: 15px; }
  .icc-header-phone-info { flex-direction: row; align-items: baseline; gap: 10px; }
  .icc-header-phone-info > :not(a):not(.icc-header-phone-number) { display: none !important; }
  .icc-header-phone-number { font-size: 16px; font-weight: 700; color: #0b2e5b; letter-spacing: .01em; }

  /* ---------- 2. Шапка: основная полоса (белая) ---------- */
  .icc-header-main { background: #ffffff; }
  .icc-header-main .icc-header-inner { min-height: 60px; align-items: center; gap: 6px; }
  .icc-header-can-stick .icc-header-main.is-sticky {
    background: #ffffff !important;
    box-shadow: 0 6px 24px rgba(11, 46, 91, .10);
    border-bottom: 1px solid #e6ebf2;
  }

  /* «Каталог» — кнопка, а не вкладка */
  .icc-header-catalog-btn { margin-right: 10px; background: transparent !important; padding: 0 !important; display: flex; align-items: center; }
  .icc-header-main .icc-header-catalog-btn a.icc-header-catalog-link {
    height: 42px; padding: 0 18px; border-radius: 10px;
    background: var(--icc-primary, #024177); color: #fff !important;
    font-size: 14px; font-weight: 600;
  }
  .icc-header-main .icc-header-catalog-btn a.icc-header-catalog-link:hover { background: #0b3c7a; }

  /* пункты меню — тёмный текст, подчёркивание-акцент при наведении */
  .icc-nav-menu > li > a {
    color: #1f2a3d; font-size: 15px; font-weight: 500; padding: 0 14px; height: 60px;
    position: relative; background: transparent !important;
  }
  .icc-nav-menu > li > a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 2px;
    background: var(--icc-primary, #024177); transform: scaleX(0); transform-origin: left;
    transition: transform .2s ease;
  }
  .icc-nav-menu > li > a:hover::after,
  .icc-nav-menu > li.current-menu-item > a::after { transform: scaleX(1); }
  .icc-nav-menu > li > a:hover,
  .icc-nav-menu > li.current-menu-item > a { color: var(--icc-primary, #024177); }

  /* поиск — компактное поле справа, а не полоса на всю ширину */
  .icc-header-search { flex: 0 1 300px; margin-left: auto; padding: 0 8px; min-width: 200px; }
  .icc-header-search form {
    border: 1px solid #d9e1ec; border-radius: 10px; overflow: hidden; background: #f6f8fb;
    transition: border-color .2s, background .2s;
  }
  .icc-header-search form:focus-within { border-color: var(--icc-primary, #024177); background: #fff; }
  .icc-header-search input[type="search"] { height: 40px; line-height: 40px; background: transparent; font-size: 14px; border-radius: 0; }
  .icc-header-search button[type="submit"] { width: 40px; height: 40px; flex-basis: 40px; background: transparent; color: #4a5568; border-radius: 0; }
  .icc-header-search button[type="submit"]:hover { background: transparent; color: var(--icc-primary, #024177); }

  /* корзина — тёмная иконка */
  .icc-header-cart-wrap { margin-left: 4px; }
  .icc-header-main .icc-header-cart-wrap a.icc-cart-link,
  .icc-header-main .icc-header-cart-wrap a.icc-cart-link i { color: #1f2a3d !important; font-size: 18px; }
  .icc-header-main .icc-header-cart-wrap a.icc-cart-link { display: flex; align-items: center; height: 60px; padding: 0 10px; position: relative; background: transparent !important; }
  .icc-header-main .icc-header-cart-wrap .icc-cart-count { top: 10px; right: 0; }
  .icc-header-cart-wrap .icc-cart-count { background: var(--icc-primary, #024177); color: #fff; }
}

/* ---------- 3. Типографика ---------- */
body { line-height: 1.6; }
h1, h2, h3, h4 { letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.15; font-weight: 800; }
h2, .icc-hsup__title, .icc-catalog__title, .icc-services__title, .icc-home-seo h2, .icc-contacts h2 {
  font-size: clamp(26px, 2.6vw, 32px) !important; line-height: 1.2 !important; font-weight: 700 !important;
}
.icc-hsup__title { font-weight: 800 !important; }
h3, .icc-services h3, .icc-home-seo h3 { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.3; font-weight: 700; }
.icc-catalog__card-title { font-size: 15px; line-height: 1.3; }
.icc-catalog__subtitle, .icc-services__subtitle { font-size: 16px; color: #5b6778; }
p, li { font-size: 16px; }
.icc-hsup__desc { line-height: 1.6; }

/* заголовки категорий в hero — один регистр, одна строка веса */
.icc-banner-text, .icc-banner-text * { text-transform: none !important; letter-spacing: 0 !important; }

/* SEO-текст: уже колонка, без подчёркиваний, спокойный заголовок */
.icc-home-seo .icc-hs-grid, .icc-home-seo > div { max-width: 820px; margin-left: auto; margin-right: auto; }
.icc-home-seo h2 { font-size: clamp(22px, 2vw, 26px) !important; }
.icc-home-seo a { text-decoration: none; border-bottom: 1px solid rgba(2, 65, 119, .25); color: var(--icc-primary, #024177); }
.icc-home-seo a:hover { border-bottom-color: var(--icc-primary, #024177); }
.icc-home-seo p, .icc-home-seo li { line-height: 1.65; }

/* единый стиль кнопок */
.icc-catalog__btn, .icc-services__btn, .icc-hsup__btn, .icc-cta-btn, .icc-header-callback, .icc-slide .icc-btn, .icc-hero a.button, .icc-contacts .button, .icc-contacts button[type="submit"] {
  border-radius: 12px !important;
}
.icc-catalog__btn, .icc-services__btn { font-weight: 600; letter-spacing: .01em; }

/* ---------- 4. Плавающая панель и cookie-бейдж ---------- */
@media (min-width: 769px) {
  /* на десктопе панель дублирует шапку и перекрывает карточки — скрываем */
  #icc-sticky-sidebar { display: none !important; }
}
/* бейдж повторного вызова cookie — меньше и в самый угол */
.cky-btn-revisit-wrapper { width: 34px !important; height: 34px !important; left: 10px !important; bottom: 10px !important; opacity: .75; }
.cky-btn-revisit-wrapper:hover { opacity: 1; }
.cky-btn-revisit-wrapper img, .cky-btn-revisit-wrapper svg { width: 18px !important; height: 18px !important; }

/* v1.1: подчёркивание ссылок в SEO-тексте — усиленная специфичность */
.icc-home-seo .icc-hs-grid a, .icc-home-seo p a, .icc-home-seo li a { text-decoration: none !important; border-bottom: 1px solid rgba(2, 65, 119, .25); }
.icc-home-seo .icc-hs-grid a:hover, .icc-home-seo p a:hover, .icc-home-seo li a:hover { border-bottom-color: var(--icc-primary, #024177); }

/* ============================================================
   v1.2 — Премиальные таблицы и блоки контента (12.10.2026)
   Область: страницы услуг и информации, SEO-блоки категорий,
   описания товаров, статьи блога, комментарии.
   ============================================================ */
:root {
  --icc-navy: #0b2e5b;
  --icc-blue: #024177;
  --icc-sky: #5aa0e6;
  --icc-ink: #1f2a3d;
  --icc-muted: #5b6778;
  --icc-line: #e3e9f2;
  --icc-soft: #f6f8fb;
  --icc-tint: #eaf1fa;
  --icc-r: 14px;
  --icc-shadow: 0 10px 30px rgba(11, 46, 91, .07);
}

/* ---------- 1. Таблицы ---------- */
.single-page-article .entry table,
.single-post .entry-content table,
.icc-cs-seo table,
.woocommerce-Tabs-panel--description table,
.woocommerce-product-details__short-description table,
table.woocommerce-product-attributes {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid var(--icc-line) !important;
  border-radius: var(--icc-r);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--icc-shadow);
  margin: 8px 0 28px;
  font-size: 15px;
  line-height: 1.5;
}
.single-page-article .entry table tr th, .single-page-article .entry table tr td,
.single-post .entry-content table tr th, .single-post .entry-content table tr td,
.icc-cs-seo table tr th, .icc-cs-seo table tr td,
.woocommerce-Tabs-panel--description table tr th, .woocommerce-Tabs-panel--description table tr td,
.woocommerce-product-details__short-description table tr th, .woocommerce-product-details__short-description table tr td,
table.woocommerce-product-attributes tr th, table.woocommerce-product-attributes tr td {
  padding: 13px 18px !important;
  border: 0 !important;
  border-top: 1px solid var(--icc-line) !important;
  text-align: left;
  vertical-align: top;
  background: #fff;
  color: var(--icc-ink);
}
.single-page-article .entry table tr:first-child th, .single-page-article .entry table tr:first-child td,
.single-post .entry-content table tr:first-child th, .single-post .entry-content table tr:first-child td,
.icc-cs-seo table tr:first-child th, .icc-cs-seo table tr:first-child td,
.woocommerce-Tabs-panel--description table tr:first-child th, .woocommerce-Tabs-panel--description table tr:first-child td,
table.woocommerce-product-attributes tr:first-child th, table.woocommerce-product-attributes tr:first-child td {
  border-top: 0 !important;
}
/* шапка таблицы: thead или первая строка из th */
.single-page-article .entry table thead th,
.single-post .entry-content table thead th,
.icc-cs-seo table thead th,
.woocommerce-Tabs-panel--description table thead th,
.single-page-article .entry table:not(.shop_attributes) > tbody > tr:first-child > th,
.single-page-article .entry table:not(.shop_attributes) > tr:first-child > th,
.single-post .entry-content table:not(.shop_attributes) > tbody > tr:first-child > th,
.icc-cs-seo table > tbody > tr:first-child > th,
.icc-cs-seo table > tr:first-child > th,
.woocommerce-Tabs-panel--description table:not(.shop_attributes) > tbody > tr:first-child > th {
  background: linear-gradient(135deg, var(--icc-navy) 0%, var(--icc-blue) 100%) !important;
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-top: 0 !important;
}
/* зебра и наведение */
.single-page-article .entry table tbody tr:nth-child(even) td,
.single-post .entry-content table tbody tr:nth-child(even) td,
.icc-cs-seo table tr:nth-child(even) td,
.woocommerce-Tabs-panel--description table tbody tr:nth-child(even) td,
table.woocommerce-product-attributes tr:nth-child(even) td {
  background: var(--icc-soft);
}
.single-page-article .entry table tbody tr:hover td,
.single-post .entry-content table tbody tr:hover td,
.icc-cs-seo table tr:hover td,
.woocommerce-Tabs-panel--description table tbody tr:hover td,
table.woocommerce-product-attributes tr:hover td {
  background: var(--icc-tint);
}
/* первая колонка заметнее */
.single-page-article .entry table tbody td:first-child,
.single-post .entry-content table tbody td:first-child,
.icc-cs-seo table tr td:first-child,
.woocommerce-Tabs-panel--description table tbody td:first-child {
  font-weight: 600;
  color: var(--icc-navy);
}
/* таблица «Детали» товара: колонка названий параметров */
table.woocommerce-product-attributes tr th {
  width: 38%;
  background: var(--icc-soft) !important;
  color: var(--icc-navy) !important;
  font-weight: 600 !important;
  font-style: normal;
}
table.woocommerce-product-attributes tr:nth-child(even) th { background: var(--icc-tint) !important; }
table.woocommerce-product-attributes td p { margin: 0 !important; padding: 0 !important; }
figure.wp-block-table { margin: 0 0 28px; overflow-x: auto; }
figure.wp-block-table table { margin-bottom: 0; }
@media (max-width: 760px) {
  .single-page-article .entry table, .single-post .entry-content table, .icc-cs-seo table,
  .woocommerce-Tabs-panel--description table, table.woocommerce-product-attributes { font-size: 14px; }
  .single-page-article .entry table tr th, .single-page-article .entry table tr td,
  .single-post .entry-content table tr th, .single-post .entry-content table tr td,
  .icc-cs-seo table tr th, .icc-cs-seo table tr td,
  .woocommerce-Tabs-panel--description table tr th, .woocommerce-Tabs-panel--description table tr td,
  table.woocommerce-product-attributes tr th, table.woocommerce-product-attributes tr td { padding: 10px 12px !important; }
}

/* ---------- 2. Заголовки разделов ---------- */
.single-page-article .entry h2,
.single-post .entry-content h2,
.icc-cs-seo h2 {
  position: relative;
  margin: 44px 0 16px;
  padding-top: 14px;
  color: var(--icc-navy);
}
.single-page-article .entry h2::before,
.single-post .entry-content h2::before,
.icc-cs-seo h2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--icc-blue), var(--icc-sky));
}
.single-page-article .entry h3,
.single-post .entry-content h3,
.icc-cs-seo h3,
.woocommerce-Tabs-panel--description h3 { color: var(--icc-navy); margin: 28px 0 12px; }
.single-page-article .entry > p:first-child,
.single-post .entry-content > p:first-child { font-size: 17px; line-height: 1.65; color: var(--icc-ink); }
.single-page-article .entry p a:not([class]),
.single-page-article .entry > ul li a:not([class]),
.single-page-article .entry > ol li a:not([class]),
.single-post .entry-content p a:not([class]),
.single-post .entry-content li a:not([class]),
.icc-cs-seo a:not([class]) { color: var(--icc-blue); text-decoration: none; border-bottom: 1px solid rgba(2, 65, 119, .25); }
.single-page-article .entry p a:not([class]):hover,
.single-post .entry-content p a:not([class]):hover,
.icc-cs-seo a:not([class]):hover { border-bottom-color: var(--icc-blue); }
.icc-cta a, .icc-facts a { border-bottom: 0 !important; }

/* ---------- 3. Списки с галочками ---------- */
.single-page-article .entry > ul:not([class*="icc-"]),
.single-page-article .entry .wp-block-column > ul:not([class*="icc-"]),
.single-post .entry-content > ul,
.icc-cs-seo ul,
.woocommerce-Tabs-panel--description ul,
.woocommerce-product-details__short-description ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 24px;
}
.single-page-article .entry > ul:not([class*="icc-"]) > li,
.single-page-article .entry .wp-block-column > ul:not([class*="icc-"]) > li,
.single-post .entry-content > ul > li,
.icc-cs-seo ul > li,
.woocommerce-Tabs-panel--description ul > li,
.woocommerce-product-details__short-description ul > li {
  position: relative;
  padding-left: 34px;
  margin: 0 0 10px;
  line-height: 1.6;
}
.single-page-article .entry > ul:not([class*="icc-"]) > li::before,
.single-page-article .entry .wp-block-column > ul:not([class*="icc-"]) > li::before,
.single-post .entry-content > ul > li::before,
.icc-cs-seo ul > li::before,
.woocommerce-Tabs-panel--description ul > li::before,
.woocommerce-product-details__short-description ul > li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--icc-tint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23024177' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 12px 12px no-repeat;
}

/* ---------- 4. Нумерованные шаги — карточки ---------- */
.single-page-article .entry > ol,
.single-post .entry-content > ol,
.icc-cs-seo ol,
.woocommerce-Tabs-panel--description ol {
  list-style: none !important;
  counter-reset: icc-step;
  padding: 0 !important;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.single-page-article .entry > ol > li,
.single-post .entry-content > ol > li,
.icc-cs-seo ol > li,
.woocommerce-Tabs-panel--description ol > li {
  counter-increment: icc-step;
  position: relative;
  margin: 0;
  padding: 16px 20px 16px 70px;
  min-height: 66px;
  background: #fff;
  border: 1px solid var(--icc-line);
  border-radius: var(--icc-r);
  box-shadow: 0 6px 18px rgba(11, 46, 91, .05);
  line-height: 1.55;
}
.single-page-article .entry > ol > li::before,
.single-post .entry-content > ol > li::before,
.icc-cs-seo ol > li::before,
.woocommerce-Tabs-panel--description ol > li::before {
  content: counter(icc-step, decimal-leading-zero);
  position: absolute;
  left: 18px; top: 15px;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--icc-navy), var(--icc-blue));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 5. FAQ «вопрос — ответ» в SEO-блоках ---------- */
.icc-cs-seo p:has(> strong:first-child + br),
.single-page-article .entry > p:has(> strong:first-child + br) {
  background: var(--icc-soft);
  border: 1px solid var(--icc-line);
  border-left: 3px solid var(--icc-blue);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 12px;
}
.icc-cs-seo p:has(> strong:first-child + br) > strong,
.single-page-article .entry > p:has(> strong:first-child + br) > strong {
  display: block;
  color: var(--icc-navy);
  font-size: 16px;
  margin-bottom: 6px;
}
.icc-cs-seo p:has(> strong:first-child + br) > br,
.single-page-article .entry > p:has(> strong:first-child + br) > br { display: none; }
/* раскрывающиеся вопросы (details) */
.single-page-article .entry details,
.single-post .entry-content details {
  background: #fff;
  border: 1px solid var(--icc-line);
  border-radius: 12px;
  padding: 0 20px;
  margin: 0 0 10px;
  box-shadow: 0 6px 18px rgba(11, 46, 91, .04);
}
.single-page-article .entry details summary,
.single-post .entry-content details summary {
  padding: 16px 0;
  font-weight: 600;
  color: var(--icc-navy);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.single-page-article .entry details summary::-webkit-details-marker { display: none; }
.single-page-article .entry details summary::after,
.single-post .entry-content details summary::after {
  content: "";
  position: absolute; right: 2px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--icc-blue);
  border-bottom: 2px solid var(--icc-blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.single-page-article .entry details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.single-page-article .entry details > *:not(summary) { padding-bottom: 16px; margin: 0; color: var(--icc-ink); }

/* ---------- 6. Факты и CTA на страницах услуг ---------- */
.icc-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 8px 0 36px;
}
.icc-facts__item {
  background: #fff;
  border: 1px solid var(--icc-line);
  border-radius: var(--icc-r);
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(11, 46, 91, .05);
}
.icc-facts__v { display: block; font-size: 20px; font-weight: 800; color: var(--icc-navy); letter-spacing: -.01em; line-height: 1.2; }
.icc-facts__k { display: block; font-size: 13.5px; color: var(--icc-muted); margin-top: 6px; line-height: 1.4; }
.icc-cta {
  margin: 40px 0 12px;
  padding: 32px 36px;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--icc-navy) 0%, var(--icc-blue) 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(11, 46, 91, .22);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
}
.icc-cta__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #cfe0f5; margin-bottom: 10px; }
.icc-cta__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.2; margin: 0 0 10px; color: #fff; }
.icc-cta__text { font-size: 15.5px; line-height: 1.55; color: #e3edf9; margin: 0; }
.icc-cta__side { display: flex; flex-direction: column; gap: 10px; }
.icc-cta__phone { font-size: 26px; font-weight: 800; color: #fff !important; text-decoration: none; border: 0 !important; letter-spacing: -.01em; }
.icc-cta__hours { font-size: 13px; color: #cfe0f5; }
.icc-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.icc-cta__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: 12px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; border: 0 !important;
  transition: transform .15s, background .2s;
}
.icc-cta__btn--wa { background: #fff; color: var(--icc-navy) !important; }
.icc-cta__btn--tg { background: rgba(255,255,255,.12); color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important; }
.icc-cta__btn:hover { transform: translateY(-1px); }
.icc-cta__btn--wa:hover { background: #eaf1fa; }
.icc-cta__btn--tg:hover { background: rgba(255,255,255,.2); }
@media (max-width: 960px) {
  .icc-facts { grid-template-columns: repeat(2, 1fr); }
  .icc-cta { grid-template-columns: 1fr; padding: 26px 22px; }
}
@media (max-width: 520px) {
  .icc-facts { grid-template-columns: 1fr; }
}

/* ---------- 7. Товар: цена, кнопки, вкладки ---------- */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price ins { color: var(--icc-navy) !important; font-weight: 800; }
.woocommerce div.product p.price { font-size: 32px; letter-spacing: -.01em; }
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce div.product form.cart .button,
.theme-button,
input[type="submit"],
button[type="submit"] {
  background: var(--icc-blue) !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-weight: 600;
  text-transform: none;
  letter-spacing: .01em;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce div.product form.cart .button:hover,
.theme-button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover { background: #0b3c7a !important; color: #fff !important; }
.woocommerce div.product form.cart .button { height: 48px; padding: 0 28px; font-size: 15px; }
/* кнопка поиска в шапке остаётся прозрачной */
.icc-header-search button[type="submit"] { background: transparent !important; color: #4a5568 !important; border-radius: 0 !important; }
.icc-header-search button[type="submit"]:hover { color: var(--icc-blue) !important; }
.woocommerce div.product form.cart .quantity .qty { border-radius: 10px; border: 1px solid var(--icc-line); height: 48px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--icc-line); padding: 0; margin: 0 0 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: transparent; margin: 0 24px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 0; font-weight: 600; font-size: 15px; color: var(--icc-muted); border-bottom: 2px solid transparent; letter-spacing: 0; text-transform: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--icc-blue); border-bottom-color: var(--icc-blue); }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: 22px !important; margin-bottom: 16px; }
.woocommerce div.product .product_meta { padding: 14px 0; border-top: 1px solid var(--icc-line); border-bottom: 1px solid var(--icc-line); font-size: 14px; }
.woocommerce-product-details__short-description > p > strong:only-child,
.woocommerce-product-details__short-description > p > b:only-child { display: inline-block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--icc-muted); margin-top: 6px; }
.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 { font-size: 26px !important; margin-bottom: 20px; }

/* ---------- 8. Блог: карточки записей и комментарии ---------- */
.blog-entry.large-entry { background: #fff; border: 1px solid var(--icc-line); border-radius: 18px; padding: 26px 28px; margin-bottom: 24px; box-shadow: var(--icc-shadow); }
.blog-entry.large-entry .thumbnail { margin: -26px -28px 22px; border-radius: 18px 18px 0 0; overflow: hidden; }
.blog-entry.large-entry .thumbnail img { width: 100%; max-height: 360px; object-fit: cover; display: block; }
.blog-entry.large-entry .blog-entry-title { font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
.blog-entry.large-entry .blog-entry-title a { color: var(--icc-navy); }
.blog-entry.large-entry .meta { font-size: 13px; color: var(--icc-muted); margin-bottom: 12px; }
.blog-entry.large-entry .blog-entry-readmore a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--icc-line); color: var(--icc-blue); font-weight: 600; font-size: 14px; }
.blog-entry.large-entry .blog-entry-readmore a:hover { background: var(--icc-tint); border-color: var(--icc-tint); }
.comment-list .comment-body { background: #fff; border: 1px solid var(--icc-line); border-radius: var(--icc-r); padding: 20px 22px; margin-bottom: 14px; box-shadow: 0 6px 18px rgba(11, 46, 91, .04); }
.comment-list .comment-author .fn, .comment-list .comment-author cite { font-weight: 700; color: var(--icc-navy); font-style: normal; }
.comment-list .comment-meta, .comment-list .comment-date { font-size: 13px; color: var(--icc-muted); }
.comment-list .children { margin-left: 32px; }
#respond.comment-respond { background: var(--icc-soft); border: 1px solid var(--icc-line); border-radius: 18px; padding: 26px 28px; }
#respond textarea, #respond input[type="text"], #respond input[type="email"] { border: 1px solid var(--icc-line); border-radius: 10px; background: #fff; }

/* v1.2.1 — уточнения после проверки на живом сайте */
.icc-cta .icc-cta__title, .single-page-article .entry .icc-cta__title { color: #fff !important; margin: 0 0 10px !important; padding: 0 !important; }
.icc-cta a, .icc-cta a:hover, .icc-facts a { text-decoration: none !important; border-bottom: 0 !important; box-shadow: none !important; }
.single-page-article .entry .icc-cta__phone { color: #fff !important; }
.woocommerce div.product p.price .amount, .woocommerce div.product p.price .amount bdi,
.woocommerce div.product span.price .amount, .woocommerce ul.products li.product .price .amount,
.woocommerce ul.products li.product .price .amount bdi, .woocommerce .price ins .amount { color: var(--icc-navy) !important; }
.woocommerce ul.products li.product .price del .amount, .woocommerce div.product p.price del .amount { color: #9aa5b5 !important; font-weight: 500; }
.single-post .entry-content figure.wp-block-table { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }

/* v1.2.2 — ссылки в текстах: одна тонкая линия вместо двойного подчёркивания */
.single-page-article .entry p a:not([class]), .single-page-article .entry li a:not([class]),
.single-post .entry-content p a:not([class]), .single-post .entry-content li a:not([class]),
.icc-cs-seo a:not([class]), .woocommerce-Tabs-panel--description a:not([class]) { text-decoration: none !important; border-bottom: 1px solid rgba(2, 65, 119, .25); color: var(--icc-blue); }
.single-page-article .entry p a:not([class]):hover, .single-page-article .entry li a:not([class]):hover,
.single-post .entry-content p a:not([class]):hover, .single-post .entry-content li a:not([class]):hover,
.icc-cs-seo a:not([class]):hover, .woocommerce-Tabs-panel--description a:not([class]):hover { border-bottom-color: var(--icc-blue); }

/* ---------- v1.3 (12.10.2026): шапка на планшетах и ноутбуках 769–1024 px ----------
   Новый дизайн шапки выше расширен с 1025 до 769 px; здесь отменяем
   переносы строк из custom-header.css (@media max-width: 1100px). */
@media (min-width: 769px) and (max-width: 1024px) {
  .icc-header-top .icc-header-inner { flex-wrap: nowrap; justify-content: flex-start; gap: 20px; }
  .icc-header-top-menu { order: 0; width: auto; justify-content: flex-end; }
  .icc-header-main .icc-header-inner { flex-wrap: nowrap; }
  .icc-header-search { order: 0; flex: 0 1 240px; padding: 0 8px; min-width: 150px; }
  .icc-nav-menu > li > a { font-size: 14px; padding: 0 10px; height: 60px; }
  .icc-nav-menu > li > a::after { left: 10px; right: 10px; }
  .icc-header-catalog-btn { margin-right: 4px; }
  .icc-header-main .icc-header-catalog-btn a.icc-header-catalog-link { padding: 0 14px; }
}
