/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  GeneratePress Child Theme for Zavod Potok
 Author:       Antigravity
 Author URI:   https://antigravity.google
 Template:     generatepress
 Version:      1.0.7
 Text Domain:  generatepress-child
*/

/* ==========================================================================
   UNSLOP INDUSTRIAL DESIGN SYSTEM - ЗАВОД ОТОПИТЕЛЕЙ ПОТОК (potoc-n.ru)
   4px Grid · Quiet Chrome · Industrial Craft · Authentic Product Imagery
   Чистый CSS без избыточных !important
   ========================================================================== */

:root {
    --potok-font: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --potok-blue: #023987;
    --potok-blue-hover: #012860;
    --potok-blue-active: #011d47;
    --potok-blue-light: #eef4fc;
    --potok-dark: #0f172a;
    --potok-slate: #1e293b;
    --potok-text: #334155;
    --potok-muted: #64748b;
    --potok-border: rgba(15, 23, 42, 0.08);
    --potok-border-strong: rgba(15, 23, 42, 0.16);
    --potok-bg: #ffffff;
    --potok-surface: #ffffff;
    --potok-raised: #f1f5f9;
    --potok-green: #16a34a;
    --potok-green-bg: #dcfce7;
    --potok-red: #dc2626;
    --potok-radius: 6px;
    --potok-radius-lg: 10px;
    --potok-radius-xl: 24px;
    --potok-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --potok-shadow-md: 0 4px 14px rgba(15, 23, 42, 0.07);
}

/* 1. БАЗОВАЯ РАЗМЕТКА И СКРЫТИЕ ДУБЛИРУЮЩИХ ЭЛЕМЕНТОВ */
.top-bar,
.potok-topbar {
    display: none;
    height: 0;
    visibility: hidden;
    overflow: hidden;
}

.site-info .copyright,
.site-info a[href*="generatepress.com"] {
    display: none;
}

html,
body,
body.home {
    font-family: var(--potok-font);
    color: var(--potok-text);
    background-color: #ffffff;
    background: #ffffff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   ЕДИНАЯ СИСТЕМА ШИРИНЫ КОНТЕНТА 1350px (БЕЗ БОКОВЫХ ОТСТУПОВ У СЕКЦИЙ)
   ========================================================================== */

/* 1. Все контейнеры верхнего уровня центрируются и имеют max-width: 1350px */
.grid-container,
#page.site,
#page.grid-container,
#masthead .inside-header,
#content.site-content {
    max-width: 1350px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    box-sizing: border-box;
}

#footer-widgets .footer-widgets-container,
.site-info .inside-site-info {
    max-width: 1350px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    background-color: transparent;
    box-sizing: border-box;
}

/* 2. На экранах от 1350px и шире: строго 1350px без боковых отступов */
@media (min-width: 1350px) {
    /* Шапка: логотип и навигация строго по границам 1350px */
    #masthead .inside-header {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 1350px;
    }

    /* Тело страницы: убираем GeneratePress padding у контента */
    #page.site,
    #page.grid-container,
    #content.site-content,
    .one-container .site-content,
    .separate-containers .inside-article,
    .separate-containers .page-header {
        padding-left: 0;
        padding-right: 0;
    }

    #main.site-main,
    .site-main,
    .inside-article,
    .entry-content {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 1350px;
    }

        /* Убираем внутренний отступ для групп Gutenberg */
    .site-main .wp-block-group__inner-container,
    .site-main .inside-article .wp-block-group__inner-container,
    .site-main .entry-content .wp-block-group__inner-container,
    .site-main .wp-block-group__inner-container.is-layout-constrained,
    .site-main .wp-block-group.is-layout-constrained > .wp-block-group__inner-container,
    .site-main .wp-block-group-is-layout-constrained,
    .inside-article .wp-block-group__inner-container,
    .entry-content .wp-block-group__inner-container,
    .entry-content > .wp-block-group > .wp-block-group__inner-container,
    .wp-block-group__inner-container.is-layout-constrained,
    .wp-block-group__inner-container,
    .wp-block-group.has-background .wp-block-group__inner-container {
        padding-left: 0;
        padding-right: 0;
        max-width: 1350px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .site-main .wp-block-group,
    .entry-content > .wp-block-group,
    .inside-article .wp-block-group {
        max-width: 1350px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    /* Секции Hero и все группы на главной */
    .potok-hero-inner {
        max-width: 1350px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .potok-hero,
    .potok-hero-group,
    .potok-section,
    .potok-features-group,
    .potok-features-section,
    .potok-catalog-group,
    .potok-catalog-section,
    .potok-comparison-group,
    .potok-comparison-section,
    .potok-production-group,
    .potok-production-section,
    .potok-cta-group,
    .potok-cta-section {
        width: 100%;
        max-width: 1350px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    /* Внутренние страницы (контакты, опт, таблицы, списки) */
    .potok-contacts-page,
    .potok-maps-columns,
    .potok-contacts-table {
        width: 100%;
        max-width: 1350px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    /* WooCommerce: каталог, хлебные крошки, товары */
    .woocommerce .woocommerce-breadcrumb,
    .woocommerce-page .woocommerce-breadcrumb,
    nav.woocommerce-breadcrumb {
        padding-left: 0;
        margin-left: 0;
    }

    .woocommerce ul.products,
    .woocommerce-page ul.products,
    ul.products {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 1350px;
    }

    /* Подвал: 4 колонки виджетов и копирайт */
    #footer-widgets .footer-widgets-container {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 1350px;
    }

    #footer-widgets .inside-footer-widgets {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 32px;
    }

    #footer-widgets .inside-footer-widgets > div {
        flex: 1 1 0;
        min-width: 0;
        padding: 0;
        margin: 0;
    }

    .site-info .inside-site-info {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 1350px;
    }
}

/* 3. Адаптивность для экранов менее 1350px: аккуратный безопасный отступ 20px */
@media (max-width: 1349px) {
    #masthead .inside-header,
    #content.site-content,
    .wp-block-group__inner-container,
    .potok-hero-inner,
    .potok-section,
    .potok-contacts-page,
    #footer-widgets .footer-widgets-container,
    .site-info .inside-site-info {
        padding-left: 20px;
        padding-right: 20px;
    }

    #footer-widgets .inside-footer-widgets {
        margin-left: 0;
        margin-right: 0;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    #masthead .inside-header,
    #content.site-content,
    .wp-block-group__inner-container,
    .potok-hero-inner,
    .potok-section,
    .potok-contacts-page,
    #footer-widgets .footer-widgets-container,
    .site-info .inside-site-info {
        padding-left: 16px;
        padding-right: 16px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--potok-font);
    color: var(--potok-dark);
    font-weight: 600;
    line-height: 1.25;
    margin-top: 0;
}

a {
    color: var(--potok-blue);
    text-decoration: none;
    transition: color 150ms ease;
}
a:hover {
    color: var(--potok-blue-hover);
}

/* 1.1. ШАПКА И КОНТАКТЫ В ШАПКЕ (ВИДЖЕТ) */
#masthead.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--potok-border);
}

#masthead .inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.header-widget {
    display: flex;
    align-items: center;
    margin-left: 20px;
    order: 10;
}

.potok-header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 2px;
}

.potok-hc-phone-wrap {
    line-height: 1.1;
}

.potok-hc-phone {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 150ms ease;
}

.potok-hc-phone:hover {
    color: var(--potok-blue);
}

.potok-hc-hours-wrap,
.potok-hc-meta-wrap {
    display: flex;
    align-items: center;
    line-height: 1.1;
    margin-top: 1px;
}

.potok-hc-hours {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.potok-hc-sep {
    display: none;
}

.potok-hc-email {
    display: none;
}

.potok-hc-email:hover {
    color: var(--potok-blue-hover);
    text-decoration: underline;
}

/* 1.2. НАВИГАЦИЯ И ПОДМЕНЮ (БЕЛЫЙ ФОН, ЧЕРНЫЙ ТЕКСТ) */
#site-navigation.main-navigation,
#site-navigation.main-navigation .inside-navigation {
    background-color: #ffffff;
    background: #ffffff;
}

#site-navigation.main-navigation .main-nav ul li a {
    color: #111111;
    font-weight: 500;
    padding: 10px 16px;
    transition: color 150ms ease, background-color 150ms ease;
}

#site-navigation.main-navigation .main-nav ul li:hover > a,
#site-navigation.main-navigation .main-nav ul li:focus > a,
#site-navigation.main-navigation .main-nav ul li.sfHover > a {
    background-color: #f8fafc;
    color: var(--potok-blue);
}

#site-navigation.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: var(--potok-blue);
    background-color: #ffffff;
}

/* Стрелочки выпадающего меню */
#site-navigation.main-navigation .dropdown-menu-toggle {
    color: #111111;
}
#site-navigation.main-navigation .dropdown-menu-toggle svg {
    fill: #111111;
}
#site-navigation.main-navigation .main-nav ul li:hover > a .dropdown-menu-toggle svg {
    fill: var(--potok-blue);
}

/* Выпадающие подменю (sub-menu) */
#site-navigation.main-navigation ul ul.sub-menu {
    background-color: #ffffff;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 8px 0;
}

#site-navigation.main-navigation ul ul.sub-menu li a {
    color: #111111;
    font-size: 14px;
    padding: 10px 20px;
    background-color: transparent;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

#site-navigation.main-navigation ul ul.sub-menu li:last-child a {
    border-bottom: none;
}

#site-navigation.main-navigation ul ul.sub-menu li:hover > a,
#site-navigation.main-navigation ul ul.sub-menu li:focus > a,
#site-navigation.main-navigation ul ul.sub-menu li.sfHover > a {
    background-color: #f1f5f9;
    color: var(--potok-blue);
}

#site-navigation.main-navigation ul ul.sub-menu li[class*="current-menu-"] > a {
    color: var(--potok-blue);
    background-color: #f8fafc;
}

/* Мобильная кнопка меню */
.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus {
    color: #111111;
    background-color: #ffffff;
}
.menu-toggle .mobile-menu {
    color: #111111;
}

/* 2. БЕСШОВНЫЙ ОСНОВНОЙ КОНТЕЙНЕР (БЕЗ БОРДЕРА, СКРУГЛЕНИЙ И ТЕНИ) */
#main .inside-article,
#post-27 .inside-article,
.site-main .inside-article,
.separate-containers .inside-article,
article.post-27,
.site-main,
#main {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    background-color: transparent;
    padding: 0;
}

/* 3. ЧИСТЫЙ HERO (UNSLOP) */
.potok-hero {
    background: #ffffff;
    padding: 32px 0 48px;
    border-bottom: 1px solid var(--potok-border);
}

.potok-hero-inner {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

/* Колонки Hero: без бордеров, без скруглений и без теней */
.potok-hero-col {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

/* ЛЕВЫЙ ИНФОРМАЦИОННЫЙ БЛОК */
.potok-hero-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.potok-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 20px;
    width: fit-content;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.potok-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--potok-blue);
}

.potok-hero-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--potok-dark);
    line-height: 1.22;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.potok-hero-subtitle {
    font-size: 15px;
    color: var(--potok-text);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 540px;
}

.potok-hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.potok-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--potok-blue);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 8px;
    transition: background-color 150ms ease, transform 150ms ease;
}
.potok-btn-primary:hover {
    background: var(--potok-blue-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.potok-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--potok-dark);
    font-size: 14px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 8px;
    border: 1px solid var(--potok-border-strong);
    transition: background-color 150ms ease, border-color 150ms ease;
}
.potok-btn-secondary:hover {
    background: #f8fafc;
    border-color: var(--potok-dark);
    color: var(--potok-dark);
}

.potok-hero-metrics {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    border-top: none;
}

.potok-metric-item {
    display: flex;
    flex-direction: column;
}

.potok-metric-val {
    font-size: 20px;
    font-weight: 700;
    color: var(--potok-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.potok-metric-lbl {
    font-size: 11.5px;
    color: var(--potok-muted);
    font-weight: 500;
    margin-top: 2px;
}

.potok-metric-sep {
    width: 1px;
    height: 32px;
    background: var(--potok-border);
}

/* ПРАВЫЙ БЛОК: ЧИСТЫЙ СЛАЙДЕР БОЛЬШИХ КАРТИНОК */
/* === СЛАЙДЕР HERO С БАННЕРАМИ И КНОПКАМИ === */
.potok-hero-slider-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
}

.potok-pure-slider {
    position: relative;
    width: 100%;
    height: 560px;
    min-height: 520px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
    border-radius: 12px;
    background: #ffffff;
}

.potok-pure-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.potok-pure-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 350ms cubic-bezier(0.4, 0, 0.2, 1), visibility 350ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.potok-pure-slide.active {
    opacity: 1;
    visibility: visible;
}

.potok-slide-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 24px 32px 52px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.potok-slide-top {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 4px;
}

.potok-slide-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--potok-blue);
    background: rgba(2, 57, 135, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.potok-slide-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.potok-slide-media {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
    max-height: 320px;
    padding: 10px 0;
}

.potok-pure-img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: transform 300ms ease;
}

.potok-pure-slide:hover .potok-pure-img {
    transform: scale(1.02);
}

.potok-slide-bottom {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 480px;
}

.potok-slide-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    line-height: 1.3;
}

.potok-slide-spec {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.potok-slide-price {
    font-size: 15px;
    color: var(--potok-dark);
    font-weight: 700;
}

.potok-slide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: var(--potok-blue);
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
    box-shadow: 0 2px 8px rgba(2, 57, 135, 0.25);
}

.potok-slide-btn:hover {
    background: var(--potok-blue-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(2, 57, 135, 0.35);
}

.potok-slide-btn:active {
    transform: translateY(0);
}

/* 2 стрелки-уголки по бокам поверх картинок */
.potok-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
    padding: 0;
    margin: 0;
    outline: none;
    line-height: 1;
}

.potok-slider-arrow::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2.5px solid #0f172a;
    border-right: 2.5px solid #0f172a;
    transition: border-color 150ms ease;
}

.potok-slider-prev::before {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.potok-slider-next::before {
    transform: rotate(45deg);
    margin-right: 5px;
}

.potok-slider-arrow:hover {
    background: #ffffff;
    border-color: var(--potok-blue);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16);
}

.potok-slider-arrow:hover::before {
    border-color: var(--potok-blue);
}

.potok-slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.potok-slider-prev {
    left: 12px;
}

.potok-slider-next {
    right: 12px;
}

/* Точки пагинации */
.potok-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.potok-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 150ms ease, width 150ms ease, border-radius 150ms ease;
}

.potok-slider-dot.active {
    background: var(--potok-blue);
    width: 22px;
    border-radius: 4px;
}


/* 4. БЛОК ПРЕИМУЩЕСТВ (4 КАРТОЧКИ) */
.potok-features-section {
    padding: 48px 0;
    border-bottom: 1px solid var(--potok-border);
}
.potok-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.potok-feature-card {
    background: #ffffff;
    border: 1px solid var(--potok-border);
    border-radius: 14px;
    padding: 24px 20px;
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.potok-feature-card:hover {
    border-color: var(--potok-border-strong);
    box-shadow: var(--potok-shadow-md);
    transform: translateY(-2px);
}
.potok-feature-idx {
    font-size: 13px;
    font-weight: 700;
    color: var(--potok-blue);
    margin-bottom: 12px;
}
.potok-feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--potok-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}
.potok-feature-desc {
    font-size: 13px;
    color: var(--potok-muted);
    line-height: 1.55;
    margin: 0;
}

/* 5. КАТЕГОРИИ ПРОДУКЦИИ (3 КАРТОЧКИ) */
.potok-cats-section {
    padding: 56px 0;
    border-bottom: 1px solid var(--potok-border);
}
.potok-section-head {
    margin-bottom: 32px;
}
.potok-section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--potok-dark);
    margin-bottom: 6px;
}
.potok-section-subtitle {
    font-size: 14px;
    color: var(--potok-muted);
    margin: 0;
}
.potok-cats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.potok-cat-card {
    background: #ffffff;
    border: 1px solid var(--potok-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.potok-cat-card:hover {
    border-color: var(--potok-border-strong);
    box-shadow: var(--potok-shadow-md);
    transform: translateY(-2px);
}
.potok-cat-image-wrap {
    background: transparent !important;
    background-color: transparent !important;
    height: 240px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.potok-cat-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 250ms ease;
}
.potok-cat-card:hover .potok-cat-img {
    transform: scale(1.04);
}
.potok-cat-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.potok-cat-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--potok-dark);
    margin-bottom: 8px;
}
.potok-cat-desc {
    font-size: 13.5px;
    color: var(--potok-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}
.potok-cat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--potok-border);
}
.potok-cat-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--potok-dark);
}
.potok-cat-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--potok-blue);
    transition: color 150ms ease;
}
.potok-cat-link:hover {
    color: var(--potok-blue-hover);
}

/* 6. СРАВНИТЕЛЬНАЯ ТАБЛИЦА С WEBASTO */
.potok-compare-section {
    padding: 56px 0;
    border-bottom: 1px solid var(--potok-border);
}
.potok-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--potok-border);
    border-radius: 14px;
    background: #ffffff;
}
.potok-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}
.potok-table th,
.potok-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--potok-border);
}
.potok-table th {
    background: #f8fafc;
    color: var(--potok-dark);
    font-weight: 600;
    font-size: 13px;
}
.potok-table tr:last-child td {
    border-bottom: none;
}
.potok-cell-highlight {
    font-weight: 600;
    color: var(--potok-blue);
}
.potok-tag-success {
    display: inline-block;
    background: var(--potok-green-bg);
    color: var(--potok-green);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

/* 7. О ПРОИЗВОДСТВЕ */
.potok-about-section {
    padding: 56px 0;
    border-bottom: 1px solid var(--potok-border);
}
.potok-about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}
.potok-about-text p {
    font-size: 14.5px;
    color: var(--potok-text);
    line-height: 1.65;
    margin-bottom: 16px;
}
.potok-about-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}
.potok-about-list li {
    font-size: 14px;
    color: var(--potok-text);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.potok-about-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--potok-blue);
    font-weight: 700;
}
.potok-about-photos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.potok-about-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}
.potok-about-img-wrap img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* 8. ПОДВАЛ (FOOTER) */
/* 8. ПОДВАЛ (FOOTER) - СИНИЙ ФОН И БЕЛЫЙ ТЕКСТ */
.site-footer,
#footer-widgets,
.footer-widgets,
#footer-widgets .footer-widgets-container,
#footer-widgets .inside-footer-widgets,
.footer-widgets-container,
.site-info,
.site-info .inside-site-info,
.inside-site-info {
    background: #023987;
    background-color: #023987;
    color: #ffffff;
}

.site-footer {
    padding: 0;
    margin: 0;
    border-top: none;
}

#footer-widgets {
    padding: 56px 0 32px;
}

.footer-widgets .widget-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    text-transform: none;
}

.site-footer p,
.site-footer span,
.site-footer div,
.site-footer li {
    color: rgba(255, 255, 255, 0.9);
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 150ms ease, opacity 150ms ease;
}

.site-footer a:hover {
    color: #ffffff;
    opacity: 0.85;
    text-decoration: underline;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
    font-size: 13.5px;
}

.site-footer ul li a {
    color: rgba(255, 255, 255, 0.88);
}

.site-footer ul li a:hover {
    color: #ffffff;
}

.site-footer .footer-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 150ms ease;
}

.site-footer .footer-logo:hover img {
    opacity: 1;
}

.site-info {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.8);
}

.site-info a {
    color: #ffffff;
}

.site-footer svg {
    color: rgba(255, 255, 255, 0.9);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1024px) {
    .potok-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .potok-hero-slider-col {
        min-height: 380px;
    }
    .potok-pure-slider {
        height: 380px;
        min-height: 340px;
    }
    .potok-pure-img {
        max-height: 340px;
    }
    .potok-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .potok-cats-grid {
        grid-template-columns: 1fr;
    }
    .potok-about-grid {
        grid-template-columns: 1fr;
    }
    .header-widget {
        display: none;
    }
}

@media (max-width: 640px) {
    .potok-hero {
        padding: 20px 0 32px;
    }
    .potok-hero-title {
        font-size: 26px;
    }
    .potok-features-grid {
        grid-template-columns: 1fr;
    }
    .potok-hero-slider-col {
        min-height: 300px;
    }
    .potok-pure-slider {
        height: 300px;
        min-height: 280px;
    }
    .potok-pure-img {
        max-height: 260px;
    }
    .potok-slider-arrow {
        width: 36px;
        height: 36px;
    }
    .potok-slider-prev {
        left: 4px;
    }
    .potok-slider-next {
        right: 4px;
    }
}


/* Консультация инженера - чистый белый текст примечания */
.potok-cta-note {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    opacity: 1;
    margin: 0;
}

/* ==========================================================================
   СТРАНИЦА КОНТАКТОВ В БЛОКАХ ГУТЕНБЕРГ
   Чистый CSS без !important
   ========================================================================== */

/* ==========================================================================
   Страница Контакты (Чистый дизайн Unslop, без таблиц)
   ========================================================================== */
.potok-contacts-page {
    padding: 8px 0 48px;
}

.potok-contacts-page .potok-page-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--potok-dark);
    margin: 0 0 12px;
}

.potok-contacts-page .potok-page-subtitle {
    font-size: 15px;
    color: var(--potok-muted);
    line-height: 1.6;
    margin: 0 0 36px;
    max-width: 860px;
}

.potok-contacts-section {
    margin: 0 0 44px;
}

.potok-contacts-section .potok-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--potok-dark);
    letter-spacing: -0.01em;
    margin: 0 0 16px;
}

.potok-contacts-section .potok-section-desc {
    font-size: 15px;
    color: var(--potok-dark);
    margin: 0 0 16px;
    line-height: 1.5;
}

/* Секция 1: 2 колонки (Контакты слева, Реквизиты справа) */
.potok-contacts-two-col.wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 28px;
    align-items: stretch;
    margin: 0;
}

.potok-contact-card,
.potok-requisites-card {
    background: #ffffff;
    border: 1px solid var(--potok-border);
    border-radius: 8px;
    padding: 24px 28px;
    height: 100%;
    box-sizing: border-box;
}

/* Левая колонка: контактные блоки */
.potok-contact-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.potok-contact-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.potok-contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.potok-contact-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--potok-muted);
    margin-bottom: 4px;
}

.potok-contact-phone {
    font-size: 22px;
    font-weight: 800;
    color: var(--potok-blue);
    text-decoration: none;
    line-height: 1.3;
}

.potok-contact-phone:hover {
    color: var(--potok-blue-hover);
    text-decoration: underline;
}

.potok-contact-email {
    font-size: 17px;
    font-weight: 700;
    color: var(--potok-blue);
    text-decoration: none;
    line-height: 1.3;
}

.potok-contact-email:hover {
    text-decoration: underline;
}

.potok-contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--potok-dark);
    line-height: 1.5;
}

.potok-contact-hint {
    font-size: 13px;
    color: var(--potok-muted);
    margin-top: 4px;
    line-height: 1.4;
}

/* Правая колонка: Реквизиты */
.potok-card-title,
.potok-requisites-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--potok-dark);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--potok-border);
}

.potok-req-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.potok-req-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
    padding: 5px 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 13.5px;
    line-height: 1.45;
}

.potok-req-row:last-child {
    border-bottom: none;
}

.potok-req-row dt {
    font-weight: 600;
    color: var(--potok-muted);
    margin: 0;
}

.potok-req-row dd {
    font-weight: 500;
    color: var(--potok-dark);
    margin: 0;
    word-break: break-word;
}

/* Карты на всю ширину (1350px) */
.potok-map-card-full {
    background: #ffffff;
    border: 1px solid var(--potok-border);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 14px;
    width: 100%;
}

.potok-map-card-full .clean-org-map-container,
.potok-map-card-full iframe {
    width: 100%;
    display: block;
    border: none;
}

/* Адаптивность для контактов */
@media (max-width: 960px) {
    .potok-contacts-two-col.wp-block-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .potok-req-row {
        grid-template-columns: 130px 1fr;
    }
}

@media (max-width: 600px) {
    .potok-req-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .potok-req-row dt {
        font-size: 12px;
        color: var(--potok-muted);
    }

    .potok-contact-card,
    .potok-requisites-card {
        padding: 18px 16px;
    }
}


/* WooCommerce Brand Colors Unslop */
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce .single_add_to_cart_button {
    background-color: #023987 !important;
    color: #ffffff !important;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce .single_add_to_cart_button:hover {
    background-color: #012b66 !important;
    color: #ffffff !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: #023987;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #023987;
}
.woocommerce-spec-table td, .potok-spec-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #e2e8f0;
}


/* ========================================================
   WOOCOMMERCE CATALOG & PRODUCT UNSLOP STYLES
   Industrial Precision • Clean Quiet Chrome • Factory Brand
   ======================================================== */

/* 1. Общий контейнер каталога и хлебных крошек */
.woocommerce .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb {
    max-width: 1350px !important;
    margin: 20px auto 24px auto !important;
    padding: 0 20px !important;
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.woocommerce .woocommerce-breadcrumb a,
.woocommerce-page .woocommerce-breadcrumb a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
}

.woocommerce .woocommerce-breadcrumb a:hover,
.woocommerce-page .woocommerce-breadcrumb a:hover {
    color: #023987 !important;
}

/* 2. Заголовок страницы каталога и панель управления */
.woocommerce .woocommerce-products-header,
.woocommerce-page .woocommerce-products-header {
    max-width: 1350px !important;
    margin: 0 auto 20px auto !important;
    padding: 0 20px !important;
}

.woocommerce .woocommerce-products-header__title,
.woocommerce-page .woocommerce-products-header__title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.02em !important;
}

/* Панель над каталогом: счетчик и сортировка */
.woocommerce-notices-wrapper {
    max-width: 1350px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
    font-size: 14px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin: 8px 0 24px 0 !important;
    float: left !important;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
    margin: 0 0 24px 0 !important;
    float: right !important;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
    height: 42px !important;
    padding: 0 36px 0 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    outline: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.woocommerce .woocommerce-ordering select:focus,
.woocommerce-page .woocommerce-ordering select:focus {
    border-color: #023987 !important;
    box-shadow: 0 0 0 3px rgba(2, 57, 135, 0.12) !important;
}

/* 3. Сетка каталога товаров */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    max-width: 1350px !important;
    margin: 0 auto 48px auto !important;
    padding: 0 20px !important;
    clear: both !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none !important;
}

/* 4. Карточка товара в каталоге */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover,
ul.products li.product:hover {
    border-color: #023987 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px -6px rgba(2, 57, 135, 0.08), 0 6px 12px -4px rgba(0, 0, 0, 0.04) !important;
}

/* Ссылка-обертка контента внутри карточки */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* Контейнер изображения товара */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link img {
    width: 100% !important;
    height: 220px !important;
    max-height: 220px !important;
    object-fit: contain !important;
    background: transparent !important; background-color: transparent !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-bottom: 18px !important;
    box-sizing: border-box !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link img,
.woocommerce-page ul.products li.product:hover a.woocommerce-LoopProduct-link img {
    transform: scale(1.04) !important;
}

/* Заголовок товара в карточке */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    min-height: 45px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.15s !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title {
    color: #023987 !important;
}

/* Цена товара в каталоге */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
ul.products li.product span.price {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #023987 !important;
    margin: auto 0 16px 0 !important;
    display: block !important;
    letter-spacing: -0.01em !important;
}

.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
    font-size: 15px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    margin-right: 8px !important;
}

.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins {
    text-decoration: none !important;
    color: #023987 !important;
}

/* Кнопка "В корзину" в каталоге */
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button,
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 44px !important;
    background-color: #023987 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 16px !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product a.button:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
    background-color: #002d6b !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(2, 57, 135, 0.2) !important;
}

/* Пагинация каталога */
.woocommerce nav.woocommerce-pagination,
.woocommerce-page nav.woocommerce-pagination {
    max-width: 1350px !important;
    margin: 32px auto 64px auto !important;
    text-align: center !important;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce-page nav.woocommerce-pagination ul {
    display: inline-flex !important;
    gap: 8px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-page nav.woocommerce-pagination ul li {
    border: none !important;
    float: none !important;
    display: inline-block !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce-page nav.woocommerce-pagination ul li a,
.woocommerce-page nav.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.15s !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce-page nav.woocommerce-pagination ul li a:hover {
    border-color: #023987 !important;
    color: #023987 !important;
    background: transparent !important; background-color: transparent !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce-page nav.woocommerce-pagination ul li span.current {
    background: #023987 !important;
    color: #ffffff !important;
    border-color: #023987 !important;
}


/* ========================================================
   5. ОДИНОЧНАЯ КАРТОЧКА ТОВАРА (SINGLE PRODUCT)
   ======================================================== */
.woocommerce div.product,
.woocommerce-page div.product {
    max-width: 1350px !important;
    margin: 0 auto 60px auto !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: 520px 1fr !important;
    gap: 48px !important;
}

/* Левая колонка: галерея фото */
.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* Рамка FlexSlider viewport */
.woocommerce div.product div.images .flex-viewport {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 380px !important;
}

.woocommerce div.product div.images img {
    margin: 0 auto !important;
    display: block !important;
    max-height: 360px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Миниатюры галереи */
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex !important;
    gap: 12px !important;
    margin-top: 16px !important;
    padding: 0 !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 80px !important;
    height: 80px !important;
    float: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: border-color 0.15s !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    max-height: 70px !important;
    max-width: 70px !important;
    object-fit: contain !important;
    opacity: 0.7 !important;
    transition: opacity 0.15s !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li:hover img {
    opacity: 1 !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    border-color: #023987 !important;
}

/* Правая колонка: описание и покупка */
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* Заголовок товара */
.woocommerce div.product .product_title,
.woocommerce-page div.product .product_title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: -0.01em !important;
}

/* Цена на странице товара */
.woocommerce div.product p.price,
.woocommerce-page div.product p.price {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #023987 !important;
    margin: 0 0 20px 0 !important;
    letter-spacing: -0.02em !important;
}

/* Короткое описание */
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce-page div.product .woocommerce-product-details__short-description {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
    margin-bottom: 24px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Форма добавления в корзину */
.woocommerce div.product form.cart,
.woocommerce-page div.product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
}

.woocommerce div.product form.cart div.quantity,
.woocommerce-page div.product form.cart div.quantity {
    margin: 0 !important;
    float: none !important;
}

.woocommerce div.product form.cart div.quantity input.qty,
.woocommerce-page div.product form.cart div.quantity input.qty {
    width: 64px !important;
    height: 48px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    text-align: center !important;
    background: #ffffff !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce-page div.product form.cart button.single_add_to_cart_button {
    height: 48px !important;
    padding: 0 36px !important;
    background-color: #023987 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover,
.woocommerce-page div.product form.cart button.single_add_to_cart_button:hover {
    background-color: #002d6b !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(2, 57, 135, 0.2) !important;
}

/* Метаданные товара (артикул, категория) */
.woocommerce div.product .product_meta,
.woocommerce-page div.product .product_meta {
    font-size: 14px !important;
    color: #64748b !important;
    padding-top: 16px !important;
    border-top: 1px solid #e2e8f0 !important;
    line-height: 1.8 !important;
}

.woocommerce div.product .product_meta a,
.woocommerce-page div.product .product_meta a {
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.woocommerce div.product .product_meta a:hover,
.woocommerce-page div.product .product_meta a:hover {
    color: #023987 !important;
}

/* 6. Вкладки описания и характеристик на странице товара */
.woocommerce div.product .woocommerce-tabs,
.woocommerce-page div.product .woocommerce-tabs {
    grid-column: 1 / -1 !important;
    margin-top: 40px !important;
    padding: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-page div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 8px !important;
    margin: 0 0 32px 0 !important;
    padding: 0 !important;
    border-bottom: 2px solid #e2e8f0 !important;
    background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce-page div.product .woocommerce-tabs ul.tabs::before,
.woocommerce-page div.product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li a {
    display: inline-block !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -2px !important;
    transition: all 0.15s !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #023987 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li.active a {
    color: #023987 !important;
    border-bottom: 2px solid #023987 !important;
}

/* Контент вкладок */
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce-page div.product .woocommerce-tabs .panel {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #334155 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce-page div.product .woocommerce-tabs .panel h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 18px !important;
}

/* Таблицы характеристик */
.woocommerce table.shop_attributes,
.woocommerce-page table.shop_attributes,
table.potok-spec-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin: 20px 0 !important;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td,
.woocommerce-page table.shop_attributes th,
.woocommerce-page table.shop_attributes td,
table.potok-spec-table th,
table.potok-spec-table td {
    padding: 12px 18px !important;
    font-size: 14px !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.woocommerce table.shop_attributes tr:last-child th,
.woocommerce table.shop_attributes tr:last-child td,
table.potok-spec-table tr:last-child th,
table.potok-spec-table tr:last-child td {
    border-bottom: none !important;
}

.woocommerce table.shop_attributes th,
table.potok-spec-table th {
    background-color: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    width: 40% !important;
}

.woocommerce table.shop_attributes td,
table.potok-spec-table td {
    background-color: #ffffff !important;
    color: #334155 !important;
}

/* 7. Связанные товары (Related Products) */
.woocommerce div.product section.related,
.woocommerce-page div.product section.related,
.woocommerce div.product section.upsells,
.woocommerce-page div.product section.upsells {
    grid-column: 1 / -1 !important;
    margin-top: 48px !important;
    padding-top: 32px !important;
    border-top: 1px solid #e2e8f0 !important;
}

.woocommerce div.product section.related h2,
.woocommerce-page div.product section.related h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 24px !important;
}


/* 8. Адаптивность для мобильных и планшетов */
@media (max-width: 991px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    .woocommerce div.product,
    .woocommerce-page div.product {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 639px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    ul.products {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        float: none !important;
        width: 100% !important;
        margin-bottom: 12px !important;
    }
    
    .woocommerce .woocommerce-ordering select {
        width: 100% !important;
    }
    
    .woocommerce div.product .product_title {
        font-size: 22px !important;
    }
    
    .woocommerce div.product p.price {
        font-size: 24px !important;
    }
}

/* Card specs rows styling */
.potok-card-specs {
    margin: 12px 0 16px 0 !important;
    padding: 10px 12px !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    border: 1px solid #f1f5f9 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    box-sizing: border-box !important;
}

.potok-card-spec-row {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.potok-spec-lbl {
    color: #64748b !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    font-size: 12.5px !important;
}

.potok-spec-dots {
    flex-grow: 1 !important;
    border-bottom: 1px dotted #cbd5e1 !important;
    margin: 0 6px !important;
    min-width: 8px !important;
}

.potok-spec-val {
    color: #0f172a !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    font-size: 12.5px !important;
    text-align: right !important;
}

/* ========================================================
   POTOK PRODUCTION SECTION REDESIGN (UNSLOP INDUSTRIAL)
   ======================================================== */
.potok-production-group {
    background: #f8fafc !important;
    padding: 60px 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.potok-production-section {
    max-width: 1350px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.potok-section-pretitle {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    color: #023987 !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    display: inline-block !important;
}

/* Метрики производства */
.potok-prod-metrics {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 28px 0 36px 0 !important;
}

.potok-metric-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 20px 22px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.potok-metric-num {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #023987 !important;
    line-height: 1.1 !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.02em !important;
}

.potok-metric-text {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

/* Сетка карточек производства */
.potok-prod-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
}

.potok-prod-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.potok-prod-card:hover {
    border-color: #023987 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px -6px rgba(2, 57, 135, 0.08), 0 6px 12px -4px rgba(0, 0, 0, 0.04) !important;
}

.potok-prod-img-wrap {
    height: 270px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #0f172a !important;
}

.potok-prod-tag {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    background: rgba(2, 57, 135, 0.9) !important;
    backdrop-filter: blur(4px) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    z-index: 2 !important;
    letter-spacing: 0.01em !important;
}

.potok-prod-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
}

.potok-prod-card:hover .potok-prod-img {
    transform: scale(1.04) !important;
}

.potok-prod-caption {
    padding: 22px 24px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.potok-prod-caption h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.35 !important;
}

.potok-prod-caption p {
    font-size: 14px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

@media (max-width: 991px) {
    .potok-prod-metrics {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .potok-prod-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .potok-prod-img-wrap {
        height: 230px !important;
    }
}

/* ==========================================================================
   Страница "Производство" (/proizvodstvo/) - Дизайн Unslop 1350px
   ========================================================================== */

.page-id-52 .entry-header {
    display: none !important;
}

.page-id-52 #primary .inside-article {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
}

.potok-proizvodstvo-page {
    width: 100% !important;
    max-width: 1350px !important;
    margin: 0 auto !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
}

/* Hero Section */
.potok-pz-hero {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 48px 48px 36px 48px !important;
    margin-bottom: 48px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

.potok-pz-badge {
    display: inline-block !important;
    background: #eff6ff !important;
    color: #023987 !important;
    border: 1px solid #bfdbfe !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    margin-bottom: 16px !important;
}

.potok-pz-hero-title {
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 16px 0 !important;
}

.potok-pz-hero-subtitle {
    font-size: 17px !important;
    color: #475569 !important;
    line-height: 1.65 !important;
    margin: 0 0 32px 0 !important;
    max-width: 980px !important;
}

.potok-pz-metrics {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 28px !important;
}

.potok-pz-metric-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 18px 16px !important;
    transition: all 0.2s ease !important;
}

.potok-pz-metric-card:hover {
    border-color: #cbd5e1 !important;
    background: #f1f5f9 !important;
    transform: translateY(-2px) !important;
}

.potok-pz-metric-val {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #023987 !important;
    line-height: 1.15 !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.02em !important;
}

.potok-pz-metric-lbl {
    font-size: 13px !important;
    color: #475569 !important;
    line-height: 1.4 !important;
}

/* General Sections */
.potok-pz-section {
    margin-bottom: 56px !important;
}

.potok-pz-bg-tint {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 44px !important;
}

.potok-pz-section-tag {
    display: inline-block !important;
    color: #023987 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 8px !important;
}

.potok-pz-title {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em !important;
    margin: 0 0 16px 0 !important;
}

.potok-pz-lead {
    font-size: 16.5px !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
    color: #1e293b !important;
    margin-bottom: 14px !important;
}

.potok-pz-desc {
    font-size: 16px !important;
    color: #64748b !important;
    margin: 0 0 28px 0 !important;
    line-height: 1.5 !important;
}

.potok-pz-section-head-center {
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto 36px auto !important;
}

/* 2-Column Layout */
.potok-pz-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    align-items: center !important;
}

.potok-pz-text-col p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #334155 !important;
    margin-bottom: 16px !important;
}

.potok-pz-quote {
    background: #f1f5f9 !important;
    border-left: 4px solid #023987 !important;
    padding: 16px 20px !important;
    border-radius: 0 10px 10px 0 !important;
    font-style: italic !important;
    font-size: 14.5px !important;
    color: #1e293b !important;
    line-height: 1.6 !important;
    margin-top: 20px !important;
}

/* Image Cards */
.potok-pz-img-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
}

.potok-pz-img-card img {
    width: 100% !important;
    height: 380px !important;
    object-fit: cover !important;
    display: block !important;
}

.potok-pz-img-caption {
    padding: 14px 18px !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
}

.potok-pz-img-caption strong {
    display: block !important;
    font-size: 14.5px !important;
    color: #0f172a !important;
    margin-bottom: 2px !important;
}

.potok-pz-img-caption span {
    font-size: 12.5px !important;
    color: #64748b !important;
}

/* Panorama Card */
.potok-pz-panorama-card {
    position: relative !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin-bottom: 32px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}

.potok-pz-panorama-card img {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover !important;
    display: block !important;
}

.potok-pz-panorama-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.88) 100%) !important;
    padding: 32px 28px 20px 28px !important;
    color: #ffffff !important;
}

.potok-pz-panorama-badge {
    display: inline-block !important;
    background: #023987 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    margin-bottom: 6px !important;
}

.potok-pz-panorama-text {
    font-size: 15px !important;
    color: #e2e8f0 !important;
    font-weight: 500 !important;
}

/* 4 Steps Grid */
.potok-pz-steps-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.potok-pz-step-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.2s ease !important;
}

.potok-pz-step-card:hover {
    border-color: #023987 !important;
    box-shadow: 0 8px 20px rgba(2, 57, 135, 0.06) !important;
    transform: translateY(-2px) !important;
}

.potok-pz-step-num {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #023987 !important;
    line-height: 1 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.02em !important;
}

.potok-pz-step-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    margin: 0 0 10px 0 !important;
}

.potok-pz-step-text {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
    margin: 0 !important;
}

/* 3-Column Photo Gallery */
.potok-pz-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

.potok-pz-gallery-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.potok-pz-gallery-item:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px) !important;
}

.potok-pz-gallery-img {
    position: relative !important;
    width: 100% !important;
    height: 240px !important;
    overflow: hidden !important;
    background: #0f172a !important;
}

.potok-pz-gallery-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.potok-pz-gallery-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}

.potok-pz-gallery-info {
    padding: 20px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.potok-pz-gallery-info h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.35 !important;
}

.potok-pz-gallery-info p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #475569 !important;
    margin: 0 !important;
}

/* Quality Checks List */
.potok-pz-checks-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 16px !important;
}

.potok-pz-check-item {
    display: flex !important;
    gap: 14px !important;
    align-items: flex-start !important;
}

.potok-pz-check-icon {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #023987 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.potok-pz-check-body strong {
    display: block !important;
    font-size: 15px !important;
    color: #0f172a !important;
    margin-bottom: 2px !important;
}

.potok-pz-check-body p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #475569 !important;
    margin: 0 !important;
}

/* Standards & Comparison Box */
.potok-pz-standards-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 40px !important;
}

.potok-pz-standards-head {
    max-width: 860px !important;
    margin-bottom: 32px !important;
}

.potok-pz-standards-head p {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    margin: 0 !important;
}

.potok-pz-compare-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
}

.potok-pz-compare-col {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 12px !important;
    padding: 24px 22px !important;
}

.potok-pz-compare-col-alt {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

.potok-pz-compare-col h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #166534 !important;
    margin: 0 0 14px 0 !important;
}

.potok-pz-compare-col-alt h4 {
    color: #991b1b !important;
}

.potok-pz-compare-col ul {
    margin: 0 !important;
    padding-left: 18px !important;
}

.potok-pz-compare-col li {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #14532d !important;
    margin-bottom: 6px !important;
}

.potok-pz-compare-col-alt li {
    color: #7f1d1d !important;
}

/* Catalog Product CTA Grid */
.potok-pz-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

.potok-pz-cat-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

.potok-pz-cat-card:hover {
    border-color: #023987 !important;
    box-shadow: 0 12px 32px rgba(2, 57, 135, 0.09) !important;
    transform: translateY(-3px) !important;
}

.potok-pz-cat-img-box {
    width: 100% !important;
    height: 220px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    box-sizing: border-box !important;
}

.potok-pz-cat-img-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.25s ease !important;
}

.potok-pz-cat-card:hover .potok-pz-cat-img-box img {
    transform: scale(1.04) !important;
}

.potok-pz-cat-body {
    padding: 24px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.potok-pz-cat-badge {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #023987 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 6px !important;
}

.potok-pz-cat-title {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin: 0 0 10px 0 !important;
}

.potok-pz-cat-text {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
    margin: 0 0 16px 0 !important;
}

.potok-pz-cat-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 12px !important;
}

.potok-pz-cat-features li {
    font-size: 12.5px !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    position: relative !important;
    padding-left: 16px !important;
    line-height: 1.4 !important;
}

.potok-pz-cat-features li::before {
    content: "•" !important;
    position: absolute !important;
    left: 4px !important;
    color: #023987 !important;
    font-weight: 800 !important;
}

.potok-pz-btn {
    margin-top: auto !important;
    display: inline-block !important;
    text-align: center !important;
    padding: 11px 18px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.potok-pz-btn-primary {
    background: #023987 !important;
    color: #ffffff !important;
}

.potok-pz-btn-primary:hover {
    background: #012860 !important;
    color: #ffffff !important;
}

/* Final CTA Section */
.potok-pz-cta-section {
    margin-top: 48px !important;
    margin-bottom: 40px !important;
}

.potok-pz-cta-box {
    background: #023987 !important;
    border-radius: 16px !important;
    padding: 48px 44px !important;
    color: #ffffff !important;
    text-align: center !important;
    box-shadow: 0 10px 30px rgba(2, 57, 135, 0.2) !important;
}

.potok-pz-cta-tag {
    display: inline-block !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    margin-bottom: 16px !important;
}

.potok-pz-cta-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin: 0 auto 16px auto !important;
    max-width: 820px !important;
}

.potok-pz-cta-desc {
    font-size: 16px !important;
    color: #cbd5e1 !important;
    line-height: 1.65 !important;
    max-width: 820px !important;
    margin: 0 auto 28px auto !important;
}

.potok-pz-cta-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
}

.potok-pz-cta-btn-main {
    background: #ffffff !important;
    color: #023987 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.potok-pz-cta-btn-main:hover {
    background: #f8fafc !important;
    color: #012860 !important;
    transform: translateY(-2px) !important;
}

.potok-pz-cta-btn-alt {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.potok-pz-cta-btn-alt:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.potok-pz-cta-contacts-row {
    display: flex !important;
    justify-content: center !important;
    gap: 28px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    padding-top: 22px !important;
    font-size: 13.5px !important;
    color: #e2e8f0 !important;
    flex-wrap: wrap !important;
}

.potok-pz-cta-contacts-row strong {
    color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .potok-pz-metrics {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .potok-pz-steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .potok-pz-hero {
        padding: 32px 24px !important;
    }
    .potok-pz-hero-title {
        font-size: 28px !important;
    }
    .potok-pz-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .potok-pz-gallery-grid,
    .potok-pz-catalog-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .potok-pz-compare-grid {
        grid-template-columns: 1fr !important;
    }
    .potok-pz-metrics {
        grid-template-columns: 1fr 1fr !important;
    }
    .potok-pz-cta-box {
        padding: 36px 20px !important;
    }
    .potok-pz-cta-title {
        font-size: 24px !important;
    }
    .potok-pz-cta-actions {
        flex-direction: column !important;
        gap: 12px !important;
    }
}



/* ==========================================================================
   Стили бейджей "Новинка", табов и 3 похожих товаров
   ========================================================================== */

/* Бейдж "Новинка" на карточке товара в каталоге */
.woocommerce ul.products li.product {
    position: relative !important;
}

.potok-badge-novinka {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 8 !important;
    background: #023987 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    line-height: 1.2 !important;
    box-shadow: 0 2px 6px rgba(2, 57, 135, 0.25) !important;
    pointer-events: none !important;
}

/* Бейдж "Новинка" на детальной странице товара */
.potok-single-badge-wrap {
    margin-bottom: 8px !important;
}

.potok-badge-novinka.potok-badge-single {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    background: #eff6ff !important;
    color: #023987 !important;
    border: 1px solid #bfdbfe !important;
    box-shadow: none !important;
    padding: 4px 10px !important;
    font-size: 11.5px !important;
}

/* Похожие товары: ровно 3 колонки */
.single-product .related.products {
    margin-top: 56px !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 40px !important;
}

.single-product .related.products h2 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 24px !important;
}

.single-product .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.single-product .related.products ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

@media (max-width: 991px) {
    .single-product .related.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* Стили формы плагина "Задать вопрос" */
.woocommerce-Tabs-panel--ask {
    background: #ffffff !important;
}

.ets-qus-form {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
}

.ets-qa-textarea {
    width: 100% !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    outline: none !important;
    box-sizing: border-box !important;
    margin-bottom: 12px !important;
    transition: border-color 0.15s ease !important;
}

.ets-qa-textarea:focus {
    border-color: #023987 !important;
}

.ets-submit {
    background: #023987 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

.ets-submit:hover {
    background: #012860 !important;
}

/* ==========================================================================
   ПОТОК: СТИЛИ СТРАНИЦ «ГАРАНТИЯ» И «РЕГИСТРАЦИЯ ОБОРУДОВАНИЯ» (UNSLOP 1350PX)
   ========================================================================== */

/* 1. Общие контейнеры */
.potok-warranty-page,
.potok-reg-page {
    max-width: 1350px;
    margin: 0 auto;
    padding: 24px 20px 64px;
    color: #334155;
    font-family: inherit;
    box-sizing: border-box;
}

/* 2. Hero-секции */
.potok-w-hero,
.potok-reg-hero {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 40px 36px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.potok-w-badge,
.potok-reg-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #004b87;
    background: #e6f0fa;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.potok-w-hero-title,
.potok-reg-hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin: 0 0 16px 0;
}

.potok-w-hero-subtitle,
.potok-reg-hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    max-width: 960px;
    margin: 0 0 24px 0;
}

.potok-w-hero-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border-left: 4px solid #004b87;
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #1e293b;
}

.potok-w-hl-icon {
    font-size: 24px;
    flex-shrink: 0;
}

/* 3. Секции гарантии */
.potok-w-section {
    margin-bottom: 48px;
}

.potok-w-bg-tint {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 40px 32px;
}

.potok-w-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}

.potok-w-section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #004b87;
    margin-bottom: 8px;
}

.potok-w-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 8px 0;
}

.potok-w-title-sm {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.potok-w-desc {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* 4. Карточки сравнения: Базовая vs Расширенная */
.potok-w-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.potok-w-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.potok-w-card-featured {
    border: 2px solid #004b87;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 75, 135, 0.08);
}

.potok-w-card-ribbon {
    position: absolute;
    top: -12px;
    right: 24px;
    background: #004b87;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.potok-w-card-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}

.potok-w-card-tag {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: block;
    margin-bottom: 4px;
}

.potok-w-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.potok-w-card-term {
    font-size: 28px;
    font-weight: 800;
    color: #004b87;
}

.potok-w-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.potok-w-card-intro {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 20px;
}

.potok-w-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex-grow: 1;
}

.potok-w-card-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 12px;
}

.potok-w-card-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 800;
}

.potok-w-card-footer {
    margin-top: auto;
}

.potok-w-card-status {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 10px 16px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.potok-w-btn-reg {
    display: inline-block;
    background: #004b87;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 6px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    transition: background 0.2s ease;
}

.potok-w-btn-reg:hover {
    background: #003865;
    color: #ffffff !important;
}

/* 5. Баннер призыва к регистрации */
.potok-w-banner-cta {
    background: #004b87;
    color: #ffffff;
    border-radius: 8px;
    padding: 36px 40px;
    margin-bottom: 48px;
}

.potok-w-bcta-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.potok-w-bcta-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.potok-w-bcta-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 860px;
    margin: 0 0 24px 0;
}

.potok-w-btn-white {
    display: inline-block;
    background: #ffffff;
    color: #004b87 !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.potok-w-btn-white:hover {
    background: #f1f5f9;
    color: #003865 !important;
}

/* 6. Покрытие (6 карточек) */
.potok-w-coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.potok-w-cov-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
}

.potok-w-cov-num {
    font-size: 20px;
    font-weight: 800;
    color: #004b87;
    margin-bottom: 12px;
}

.potok-w-cov-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.potok-w-cov-item p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

/* 7. Двухколоночный блок условий и талона */
.potok-w-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.potok-w-rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.potok-w-rules-list li {
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
    margin-bottom: 16px;
    padding-left: 20px;
    position: relative;
}

.potok-w-rules-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 0;
    color: #004b87;
    font-weight: 800;
    font-size: 18px;
}

.potok-w-doc-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
}

.potok-w-doc-fields {
    margin: 16px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
}

.potok-w-doc-field {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.potok-w-doc-field span {
    color: #64748b;
}

.potok-w-doc-field strong {
    color: #0f172a;
    text-align: right;
}

.potok-w-doc-note {
    font-size: 12px;
    color: #64748b;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    padding: 10px 14px;
}

/* 8. Шаги при гарантии */
.potok-w-steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.potok-w-step-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
}

.potok-w-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #004b87;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 16px;
}

.potok-w-step-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.potok-w-step-box p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

/* 9. Финальный CTA блок */
.potok-w-final-cta {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
}

.potok-w-fcta-box h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.potok-w-fcta-box p {
    font-size: 15px;
    color: #64748b;
    max-width: 680px;
    margin: 0 auto 24px;
}

.potok-w-fcta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.potok-w-fcta-btn-main {
    background: #004b87;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.potok-w-fcta-btn-main:hover {
    background: #003865;
    color: #ffffff !important;
}

.potok-w-fcta-btn-alt {
    background: #f1f5f9;
    color: #334155 !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.potok-w-fcta-btn-alt:hover {
    background: #e2e8f0;
}

/* ==========================================================================
   СТИЛИ СТРАНИЦЫ «РЕГИСТРАЦИЯ ОБОРУДОВАНИЯ»
   ========================================================================== */

/* 3 Quick Props */
.potok-reg-props-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.potok-reg-prop {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.potok-reg-prop-icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: #e6f0fa;
    color: #004b87;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.potok-reg-prop-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.potok-reg-prop-content p {
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
    margin: 0;
}

/* Двухколоночный макет формы и сайдбара */
.potok-reg-main-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Карточка формы */
.potok-reg-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 36px 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.potok-reg-form-head {
    margin-bottom: 28px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.potok-reg-step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #004b87;
    background: #e6f0fa;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.potok-reg-form-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.potok-reg-form-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.potok-req {
    color: #dc2626;
    font-weight: 700;
}

/* Секции формы */
.potok-form-section {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.potok-form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.potok-form-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #004b87;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.potok-form-row {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.potok-form-row-2 {
    grid-template-columns: 1fr 1fr;
}

.potok-form-field {
    display: flex;
    flex-direction: column;
}

.potok-form-field label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.potok-form-field input[type="text"],
.potok-form-field input[type="tel"],
.potok-form-field input[type="email"],
.potok-form-field input[type="date"],
.potok-form-field select {
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.potok-form-field input:focus,
.potok-form-field select:focus {
    border-color: #004b87;
    box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.12);
    outline: none;
}

.potok-field-hint {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

/* Agreement */
.potok-form-agreement {
    margin: 20px 0 24px 0;
}

.potok-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.potok-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #004b87;
    cursor: pointer;
}

.potok-checkbox-text {
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.potok-checkbox-text a {
    color: #004b87;
    text-decoration: underline;
}

/* Action button */
.potok-form-actions {
    margin-top: 24px;
}

.potok-btn-primary-reg {
    width: 100%;
    height: 48px;
    background: #004b87;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.potok-btn-primary-reg:hover:not(:disabled) {
    background: #003865;
}

.potok-btn-primary-reg:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.potok-form-msg {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.potok-form-msg-err {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Экран успеха */
.potok-reg-success {
    text-align: center;
    padding: 24px 8px;
}

.potok-reg-success-icon {
    margin-bottom: 16px;
}

.potok-reg-success-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.potok-reg-success-desc {
    font-size: 15px;
    line-height: 1.55;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 24px;
}

.potok-reg-cert-card {
    background: #f8fafc;
    border: 2px solid #16a34a;
    border-radius: 8px;
    padding: 24px;
    max-width: 520px;
    margin: 0 auto 24px;
    text-align: left;
}

.potok-reg-cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.potok-reg-cert-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #16a34a;
}

.potok-reg-cert-term {
    font-size: 12px;
    font-weight: 800;
    background: #16a34a;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
}

.potok-cert-row {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.potok-cert-row span {
    color: #64748b;
}

.potok-cert-row strong {
    color: #0f172a;
    text-align: right;
    font-family: inherit;
}

.potok-reg-success-note {
    font-size: 13px;
    color: #64748b;
    max-width: 540px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

.potok-reg-success-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.potok-btn-link {
    font-size: 14px;
    font-weight: 600;
    color: #004b87;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
}

.potok-btn-outline-sm {
    font-size: 14px;
    font-weight: 700;
    color: #004b87 !important;
    border: 1px solid #004b87;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
}

/* Сайдбар */
.potok-reg-sidebar-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #004b87;
    margin-bottom: 6px;
}

.potok-reg-sidebar-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.potok-reg-sidebar-text {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 16px 0;
}

.potok-reg-plate-card,
.potok-reg-support-card,
.potok-reg-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Шильдик оборудования */
.potok-plate-mockup {
    background: #0f172a;
    color: #e2e8f0;
    border: 2px solid #334155;
    border-radius: 6px;
    padding: 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
}

.potok-plate-head {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: #ffffff;
}

.potok-plate-brand {
    letter-spacing: 0.05em;
}

.potok-plate-mfg {
    color: #94a3b8;
}

.potok-plate-divider {
    height: 1px;
    background: #334155;
    margin: 10px 0;
}

.potok-plate-field {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.potok-pf-lbl {
    color: #94a3b8;
}

.potok-pf-val {
    color: #f8fafc;
    font-weight: 600;
}

.potok-pf-highlight {
    background: rgba(30, 58, 138, 0.4);
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px dashed #3b82f6;
}

.potok-pf-highlight .potok-pf-val {
    color: #60a5fa;
    font-weight: 800;
}

.potok-plate-hint {
    font-size: 11px;
    color: #94a3b8;
    margin: 10px 0 0 0;
    text-align: center;
}

/* Список контактов сервиса */
.potok-reg-contact-list {
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.potok-rcl-item {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
}

.potok-rcl-lbl {
    font-size: 11px;
    color: #64748b;
}

.potok-rcl-val {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
}

a.potok-rcl-val:hover {
    color: #004b87;
    text-decoration: underline;
}

/* Чек-лист преимуществ */
.potok-reg-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.potok-reg-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.potok-reg-check-list li {
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.potok-reg-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 700;
}

/* Адаптивность для экранов < 992px */
@media (max-width: 992px) {
    .potok-w-cards-grid,
    .potok-w-grid-2,
    .potok-reg-main-grid {
        grid-template-columns: 1fr;
    }

    .potok-w-coverage-grid,
    .potok-w-steps-row,
    .potok-reg-props-row {
        grid-template-columns: 1fr;
    }

    .potok-form-row-2 {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================================
   ПОТОК: ДИЗАЙНЕРСКАЯ ШАПКА С ВОГНУТЫМ УГЛОМ (NEBO.CSS), СДВИГОМ МЕНЮ И КНОПКОЙ ЗВОНКА
   ========================================================================== */

@media (min-width: 993px) {
    /* 1. Хедер-обертка: прозрачный фон, запас под выступ логотипа */
    #masthead.site-header {
        background-color: transparent !important;
        border-bottom: none !important;
        position: relative !important;
        z-index: 999 !important;
        padding-top: 0 !important;
        padding-bottom: 32px !important; /* запас под свисающий логотип */
        margin-bottom: -32px !important; /* компенсация чтобы контент не смещался */
    }

    /* 2. Парящая плашка .inside-header с обводкой и мягкой тенью */
    #masthead .inside-header {
        position: relative !important;
        max-width: 1350px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background: #ffffff !important;
        height: 72px !important;
        padding: 0 24px 0 0 !important;
        border-left: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-right: 1px solid #e2e8f0 !important;
        border-bottom-right-radius: 16px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        filter: drop-shadow(0 10px 25px rgba(0, 75, 135, 0.08)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.04)) !important;
    }

    /* 3. Выступ логотипа вниз */
    #masthead .site-logo {
        position: absolute !important;
        top: -1px !important;
        left: -1px !important;
        width: 240px !important;
        height: 104px !important;
        background: #ffffff !important;
        border-left: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-bottom-left-radius: 18px !important;
        border-bottom-right-radius: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        z-index: 5 !important;
    }

    /* Правая стенка выступа логотипа ТОЛЬКО ниже линии 71px */
    #masthead .site-logo::after {
        content: "" !important;
        position: absolute !important;
        top: 71px !important;
        right: -1px !important;
        width: 1px !important;
        height: 16px !important;
        background: #e2e8f0 !important;
    }

    #masthead .site-logo a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #masthead .site-logo img {
        width: 170px !important;
        height: auto !important;
        max-height: 52px !important;
        display: block !important;
    }

    /* 4. Вогнутый угол (nebo.css concave corner) */
    .potok-concave-corner {
        position: absolute !important;
        top: 71px !important;
        left: 238px !important;
        width: 22px !important;
        height: 22px !important;
        overflow: hidden !important;
        pointer-events: none !important;
        z-index: 4 !important;
    }

    .potok-concave-corner::before {
        content: "" !important;
        position: absolute !important;
        top: -22px !important;
        right: -22px !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        box-shadow: -22px 22px 0 0 #ffffff !important;
    }

    .potok-concave-corner::after {
        content: "" !important;
        position: absolute !important;
        top: -22px !important;
        right: -22px !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-left: 1px solid #e2e8f0 !important;
    }

    /* 5. Навигационное меню: сдвинуто левее к логотипу */
    #site-navigation.main-navigation {
        margin-left: 272px !important; /* 240px логотип + 22px угол + 10px воздух */
        margin-right: auto !important;
        height: 72px !important;
        display: flex !important;
        align-items: center !important;
    }

    #site-navigation.main-navigation .inside-navigation {
        height: 100% !important;
    }

    #site-navigation.main-navigation .main-nav {
        height: 100% !important;
    }

    #site-navigation.main-navigation .main-nav ul {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
    }

    #site-navigation.main-navigation .main-nav ul li a {
        padding: 0 16px !important;
        height: 72px !important;
        line-height: 72px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        letter-spacing: -0.01em !important;
        transition: color 0.15s ease !important;
    }

    #site-navigation.main-navigation .main-nav ul li:hover > a {
        color: #004b87 !important;
    }

    #site-navigation.main-navigation ul ul.sub-menu {
        top: 72px !important;
    }

    /* 6. Правый блок: телефон + кнопка звонка */
    .header-widget {
        margin-left: auto !important;
        order: 10 !important;
    }

    .potok-header-contact {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 18px !important;
    }

    .potok-hc-phone-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
    }

    .potok-hc-phone-wrap {
        line-height: 1.2 !important;
    }

    .potok-hc-phone {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        line-height: 1.2 !important;
        text-decoration: none !important;
        letter-spacing: -0.01em !important;
    }

    .potok-hc-phone:hover {
        color: #004b87 !important;
    }

    .potok-hc-meta-wrap {
        margin-top: 2px !important;
        line-height: 1.1 !important;
    }

    .potok-hc-hours {
        font-size: 11px !important;
        color: #64748b !important;
        font-weight: 500 !important;
    }

    /* Кнопка "Заказать звонок" */
    .potok-btn-callback {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        height: 38px !important;
        padding: 0 16px !important;
        background: #e6f0fa !important;
        color: #004b87 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        border: 1px solid #bcd7f0 !important;
        cursor: pointer !important;
        transition: all 0.15s ease !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    .potok-btn-callback:hover {
        background: #004b87 !important;
        color: #ffffff !important;
        border-color: #004b87 !important;
    }

    .potok-btn-callback svg {
        stroke: currentColor !important;
    }
}

/* 7. Стили модального окна "Заказать звонок" */
.potok-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.potok-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.potok-modal-window {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
    position: relative;
    box-sizing: border-box;
    transform: translateY(20px);
    transition: transform 0.2s ease;
}

.potok-modal-overlay.is-open .potok-modal-window {
    transform: translateY(0);
}

.potok-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
}

.potok-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.potok-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.potok-modal-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 20px 0;
}

.potok-modal-field {
    margin-bottom: 14px;
}

.potok-modal-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.potok-modal-field input,
.potok-modal-field select {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.potok-modal-field input:focus,
.potok-modal-field select:focus {
    border-color: #004b87;
    box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.12);
    outline: none;
}

.potok-modal-agree {
    font-size: 11px;
    line-height: 1.4;
    color: #64748b;
    margin: 16px 0 20px 0;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.potok-modal-agree input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #004b87;
}

.potok-modal-btn-submit {
    width: 100%;
    height: 44px;
    background: #004b87;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.potok-modal-btn-submit:hover:not(:disabled) {
    background: #003865;
}

.potok-modal-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.potok-modal-msg {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    display: none;
}

.potok-modal-msg-err {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

.potok-modal-success {
    text-align: center;
    padding: 20px 0;
    display: none;
}

.potok-modal-success-icon {
    margin-bottom: 12px;
}

.potok-modal-success h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.potok-modal-success p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 20px 0;
}


/* ==========================================================================
   ПОТОК: ЭТАЛОННАЯ ШАПКА С ПРЕХЭДЕРОМ, ВОГНУТЫМ УГЛОМ (NEBO.CSS) И КНОПКОЙ ЗВОНКА
   ========================================================================== */

@media (min-width: 993px) {
    /* 1. Хедер-обертка: прозрачный фон */
    #masthead.site-header {
        background-color: transparent !important;
        border-bottom: none !important;
        position: relative !important;
        z-index: 999 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    /* 2. Контейнер .inside-header (1350px) */
    #masthead .inside-header {
        position: relative !important;
        max-width: 1350px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background: transparent !important;
        height: 106px !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        filter: drop-shadow(0 10px 25px rgba(0, 75, 135, 0.07)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.03)) !important;
    }

    /* 3. Выступ логотипа слева: полная высота 106px */
    #masthead .site-logo {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 245px !important;
        height: 106px !important;
        background: #ffffff !important;
        border-left: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-bottom-left-radius: 18px !important;
        border-bottom-right-radius: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        z-index: 10 !important;
    }

    #masthead .site-logo a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #masthead .site-logo img {
        width: 175px !important;
        height: auto !important;
        max-height: 52px !important;
        display: block !important;
    }

    /* 4. Прехэдер: отделен сверху над меню, телефоном и кнопкой */
    .potok-header-topbar {
        position: absolute !important;
        top: 0 !important;
        left: 245px !important;
        right: 0 !important;
        height: 36px !important;
        background: #f8fafc !important;
        border-top: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-right: 1px solid #e2e8f0 !important;
        border-top-right-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 24px !important;
        font-size: 12px !important;
        color: #64748b !important;
        box-sizing: border-box !important;
        z-index: 2 !important;
    }

    .potok-topbar-left {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .potok-topbar-right {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .potok-topbar-link {
        color: #475569 !important;
        text-decoration: none !important;
    }

    .potok-topbar-link:hover {
        color: #004b87 !important;
    }

    .potok-topbar-sep {
        color: #cbd5e1 !important;
    }

    .potok-topbar-guarantee {
        color: #16a34a !important;
        font-weight: 600 !important;
    }

    /* 5. Вогнутый угол (nebo.css concave corner): отделяет прехэдер сверху над меню */
    .potok-concave-top-svg {
        position: absolute !important;
        top: 36px !important;
        left: 244px !important;
        width: 24px !important;
        height: 24px !important;
        z-index: 15 !important;
        pointer-events: none !important;
    }

    /* 6. Белая плашка-подложка под меню и контакты */
    #masthead .inside-header::before {
        content: "" !important;
        position: absolute !important;
        top: 36px !important;
        left: 245px !important;
        right: 0 !important;
        height: 70px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-right: 1px solid #e2e8f0 !important;
        border-bottom-right-radius: 16px !important;
        box-sizing: border-box !important;
        z-index: 1 !important;
    }

    /* 7. Навигационное меню: сдвинуто левее к логотипу */
    #site-navigation.main-navigation {
        position: absolute !important;
        top: 36px !important;
        left: 268px !important; /* 245px + 23px сразу после вогнутого угла */
        height: 70px !important;
        display: flex !important;
        align-items: center !important;
        z-index: 5 !important;
    }

    #site-navigation.main-navigation .inside-navigation {
        height: 100% !important;
    }

    #site-navigation.main-navigation .main-nav {
        height: 100% !important;
    }

    #site-navigation.main-navigation .main-nav ul {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 2px !important;
    }

    #site-navigation.main-navigation .main-nav ul li a {
        padding: 0 14px !important;
        height: 70px !important;
        line-height: 70px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        letter-spacing: -0.01em !important;
        transition: color 0.15s ease !important;
    }

    #site-navigation.main-navigation .main-nav ul li:hover > a {
        color: #004b87 !important;
    }

    #site-navigation.main-navigation ul ul.sub-menu {
        top: 70px !important;
    }

    /* 8. Правый блок: телефон + кнопка звонка */
    .header-widget {
        position: absolute !important;
        top: 36px !important;
        right: 24px !important;
        height: 70px !important;
        display: flex !important;
        align-items: center !important;
        z-index: 5 !important;
        margin: 0 !important;
    }

    .potok-header-contact {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 16px !important;
    }

    .potok-hc-phone-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
    }

    .potok-hc-phone-wrap {
        line-height: 1.2 !important;
    }

    .potok-hc-phone {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        line-height: 1.2 !important;
        text-decoration: none !important;
        letter-spacing: -0.01em !important;
    }

    .potok-hc-phone:hover {
        color: #004b87 !important;
    }

    .potok-hc-meta-wrap {
        margin-top: 2px !important;
        line-height: 1.1 !important;
    }

    .potok-hc-hours {
        font-size: 11px !important;
        color: #64748b !important;
        font-weight: 500 !important;
    }

    /* Кнопка "Заказать звонок" */
    .potok-btn-callback {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        height: 38px !important;
        padding: 0 16px !important;
        background: #e6f0fa !important;
        color: #004b87 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        border: 1px solid #bcd7f0 !important;
        cursor: pointer !important;
        transition: all 0.15s ease !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    .potok-btn-callback:hover {
        background: #004b87 !important;
        color: #ffffff !important;
        border-color: #004b87 !important;
    }

    .potok-btn-callback svg {
        stroke: currentColor !important;
    }
}

/* Стили модального окна "Заказать звонок" */
.potok-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.potok-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.potok-modal-window {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
    position: relative;
    box-sizing: border-box;
    transform: translateY(20px);
    transition: transform 0.2s ease;
}

.potok-modal-overlay.is-open .potok-modal-window {
    transform: translateY(0);
}

.potok-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
}

.potok-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.potok-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.potok-modal-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 20px 0;
}

.potok-modal-field {
    margin-bottom: 14px;
}

.potok-modal-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.potok-modal-field input,
.potok-modal-field select {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.potok-modal-field input:focus,
.potok-modal-field select:focus {
    border-color: #004b87;
    box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.12);
    outline: none;
}

.potok-modal-agree {
    font-size: 11px;
    line-height: 1.4;
    color: #64748b;
    margin: 16px 0 20px 0;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.potok-modal-agree input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #004b87;
}

.potok-modal-btn-submit {
    width: 100%;
    height: 44px;
    background: #004b87;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.potok-modal-btn-submit:hover:not(:disabled) {
    background: #003865;
}

.potok-modal-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.potok-modal-msg {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    display: none;
}

.potok-modal-msg-err {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

.potok-modal-success {
    text-align: center;
    padding: 20px 0;
    display: none;
}

.potok-modal-success-icon {
    margin-bottom: 12px;
}

.potok-modal-success h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.potok-modal-success p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 20px 0;
}

/* ==========================================================================
   SHAPED HEADER: BG0.RU INVERTED TAB CUTOUT & ROBUST FLEXBOX LAYOUT (STICKY)
   ========================================================================== */

@media (min-width: 993px) {
    /* 1. Sticky Header Container */
    #masthead.site-header {
        background-color: transparent !important;
        border-bottom: none !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        padding-top: 16px !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        height: 116px !important; /* accommodates full 112px height of both wings */
    }

    .admin-bar #masthead.site-header {
        top: 32px !important;
    }

    /* 2. Floating Header Card (72px bar):
       - Symmetrical 255px padding on left & right to house both 245px consoles */
    #masthead .inside-header {
        position: relative !important;
        max-width: 1350px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        height: 72px !important;
        background: #ffffff !important;
        border: none !important;
        border-radius: 20px 20px 0 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 255px 0 255px !important; /* Left: 255px, Right: 255px */
        filter: drop-shadow(0 8px 24px rgba(0, 45, 90, 0.10)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.04)) !important;
    }

    #masthead .inside-header::before,
    .potok-header-topbar,
    .potok-concave-top-svg {
        display: none !important;
    }

    /* 3. LEFT WING: Logo Console (245 px width, 112 px height) */
    #masthead .site-logo {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 245px !important;
        height: 112px !important;
        background: #ffffff !important;
        border: none !important;
        border-top-left-radius: 20px !important;
        border-bottom-left-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
        border-top-right-radius: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        z-index: 10 !important;
        margin: 0 !important;
    }

    #masthead .site-logo a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #masthead .site-logo img {
        width: 175px !important;
        height: auto !important;
        max-height: 52px !important;
        display: block !important;
    }

    /* Seamless Inverted Concave Arc on Left Wing (nebo.css) - exact C1 tangency at x=245, y=92 */
    #masthead .site-logo::after {
        content: "" !important;
        position: absolute !important;
        top: 71px !important;
        left: 244px !important;
        width: 21px !important;
        height: 21px !important;
        background: radial-gradient(circle 20px at 21px 21px, transparent 19.8px, #ffffff 20.3px) !important;
        pointer-events: none !important;
        z-index: 10 !important;
    }

    /* 4. MIDDLE SPAN: Navigation Menu
       Note: position: static on nav wrappers so ul.sub-menu positions relative to #masthead .inside-header */
    #site-navigation.main-navigation {
        position: static !important;
        height: 72px !important;
        flex: 1 1 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
        z-index: 15 !important;
        width: 100% !important;
        background: transparent !important;
    }

    #site-navigation.main-navigation .inside-navigation {
        position: static !important;
        height: 100% !important;
        margin: 0 !important;
        max-width: none !important;
        width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    #site-navigation.main-navigation .main-nav {
        position: static !important;
        height: 100% !important;
        width: 100% !important;
    }

    #site-navigation.main-navigation .main-nav > ul {
        position: static !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 8px !important;
        list-style: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li {
        position: static !important;
        display: flex !important;
        align-items: center !important;
        height: 72px !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li > a {
        display: flex !important;
        align-items: center !important;
        padding: 0 10px !important;
        height: 72px !important;
        line-height: 72px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        letter-spacing: -0.01em !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        transition: color 0.15s ease !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li:hover > a {
        color: #004b87 !important;
    }

    /* 4a. Catalog Item: Accent Blue Button (DIRECT CHILD > a ONLY!) */
    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        height: 38px !important;
        line-height: 38px !important;
        padding: 0 14px 0 15px !important;
        background: #004b87 !important;
        color: #ffffff !important;
        border-radius: 9px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        letter-spacing: -0.01em !important;
        box-shadow: 0 2px 6px rgba(0, 75, 135, 0.22) !important;
        transition: all 0.15s ease !important;
        margin-right: 6px !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88:hover > a,
    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > a:hover {
        background: #003666 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 10px rgba(0, 75, 135, 0.32) !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > a .menu-catalog-icon {
        width: 16px !important;
        height: 16px !important;
        fill: #ffffff !important;
        flex-shrink: 0 !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > a .dropdown-menu-toggle {
        padding: 0 0 0 2px !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        line-height: 1 !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > a .dropdown-menu-toggle .gp-icon {
        display: inline-flex !important;
        align-items: center !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > a .dropdown-menu-toggle svg {
        fill: #ffffff !important;
        width: 11px !important;
        height: 11px !important;
        opacity: 0.92 !important;
        transition: transform 0.2s ease !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88:hover > a .dropdown-menu-toggle svg {
        fill: #ffffff !important;
        transform: rotate(180deg) !important;
    }

    /* 4b. HORIZONTAL SUB-MENU NESTLED INTO CUTOUT RECESS (3px exact offset, concentric R=17px curves) */
    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > ul.sub-menu {
        position: absolute !important;
        top: 75px !important; /* 72px header height + 3px offset */
        left: 248px !important; /* 245px left wing + 3px offset */
        right: 248px !important; /* 245px right wing + 3px offset */
        width: calc(100% - 496px) !important;
        max-width: none !important;
        height: 37px !important; /* 40px recess height - 3px top offset = 37px (bottom flush at 112px) */
        background: #004b87 !important;
        border-radius: 17px !important; /* Concentric with R=20px cutout (20px - 3px = 17px) */
        padding: 0 8px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        box-shadow: 0 4px 12px rgba(0, 54, 102, 0.22) !important;
        list-style: none !important;
        z-index: 25 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-3px) !important;
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
    }

    /* Invisible hover bridge so moving mouse from button across the 3px gap never drops hover */
    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > ul.sub-menu::before {
        content: "" !important;
        position: absolute !important;
        top: -22px !important;
        left: 0 !important;
        right: 0 !important;
        height: 25px !important;
        background: transparent !important;
        pointer-events: auto !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88:hover > ul.sub-menu,
    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88.sfHover > ul.sub-menu,
    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88:focus-within > ul.sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > ul.sub-menu > li {
        flex: 1 1 0 !important;
        width: auto !important;
        height: 31px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        background: transparent !important;
    }

    /* Subtle divider between evenly spaced horizontal submenu items */
    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > ul.sub-menu > li:not(:last-child)::after {
        content: "" !important;
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 1px !important;
        height: 15px !important;
        background: rgba(255, 255, 255, 0.20) !important;
        pointer-events: none !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > ul.sub-menu > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 29px !important;
        line-height: 29px !important;
        padding: 0 12px !important;
        margin: 0 4px !important;
        background: transparent !important;
        color: #ffffff !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        letter-spacing: -0.01em !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        border-radius: 13px !important;
        box-shadow: none !important;
        transition: background 0.15s ease, color 0.15s ease !important;
    }

    #site-navigation.main-navigation .main-nav > ul > li.menu-item-88 > ul.sub-menu > li > a:hover {
        background: rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        transform: none !important;
        box-shadow: none !important;
    }

    /* 4c. Expandable Search Bar (Aligned Right in Menu Span) */
    #site-navigation.main-navigation .main-nav > ul > li.menu-item-search-expandable {
        margin-left: auto !important; /* Push to far right */
        display: flex !important;
        align-items: center !important;
        position: relative !important;
    }

    .expandable-search {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .search-form-slide {
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        display: block !important;
    }

    .search-field-slide {
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 0 !important;
        max-width: 0 !important;
        min-width: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        height: 40px !important;
        border-radius: 9999px !important;
        border: 1.5px solid transparent !important;
        background: #ffffff !important;
        padding: 0 !important;
        font-family: inherit !important;
        font-size: 13.5px !important;
        color: #0f172a !important;
        outline: none !important;
        transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
        z-index: 5 !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
        box-sizing: border-box !important;
    }

    .search-field-slide:focus {
        border-color: #004b87 !important;
        box-shadow: 0 4px 14px rgba(0, 75, 135, 0.16) !important;
    }

    .search-slide-toggle {
        position: relative !important;
        z-index: 6 !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        border: none !important;
        background: transparent !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #334155 !important;
        transition: all 0.2s ease !important;
        padding: 0 !important;
    }

    .search-slide-toggle:hover {
        color: #004b87 !important;
        background: #f1f5f9 !important;
    }

    .search-slide-toggle .search-icon-open {
        width: 21px !important;
        height: 21px !important;
        fill: currentColor !important;
    }

    .search-slide-toggle .search-icon-close {
        display: none !important;
        width: 18px !important;
        height: 18px !important;
        fill: currentColor !important;
    }

    /* Open State: Slide Right-to-Left (max-width override for GP theme) */
    .expandable-search.is-open .search-field-slide {
        width: 280px !important;
        max-width: 280px !important;
        min-width: 280px !important;
        padding: 0 44px 0 16px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        border-color: #004b87 !important;
        box-shadow: 0 4px 16px rgba(0, 75, 135, 0.14) !important;
    }

    .expandable-search.is-open .search-slide-toggle .search-icon-open {
        display: none !important;
    }

    .expandable-search.is-open .search-slide-toggle .search-icon-close {
        display: block !important;
        color: #64748b !important;
    }

    .expandable-search.is-open .search-slide-toggle:hover .search-icon-close {
        color: #e30613 !important;
    }

    /* 5. RIGHT WING: Header Widget Console (Exact 245 px width, 112 px height) */
    .header-widget {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        width: 245px !important; /* Strict symmetry with 245px left wing */
        height: 112px !important; /* Strict symmetry with 112px left wing */
        background: #ffffff !important;
        border-radius: 0 20px 20px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 13px 16px 12px 16px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        z-index: 10 !important;
    }

    /* Seamless Mirrored Inverted Concave Arc on Right Wing (nebo.css) - exact C1 tangency at right=245, y=92 */
    .header-widget::before {
        content: "" !important;
        position: absolute !important;
        top: 71px !important;
        left: -20px !important;
        width: 21px !important;
        height: 21px !important;
        background: radial-gradient(circle 20px at 0px 21px, transparent 19.8px, #ffffff 20.3px) !important;
        pointer-events: none !important;
        z-index: 10 !important;
    }

    .header-widget .widget {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .header-widget .textwidget {
        height: 100% !important;
        width: 100% !important;
    }

    .potok-header-console-right {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: 100% !important;
        width: 100% !important;
    }

    .phc-top-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .phc-upper-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        line-height: 1 !important;
        width: 100% !important;
    }

    .phc-phone {
        font-size: 14.5px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        text-decoration: none !important;
        letter-spacing: -0.02em !important;
        white-space: nowrap !important;
        transition: color 0.15s ease !important;
    }

    .phc-phone:hover {
        color: #004b87 !important;
    }

    /* Clean Messengers Glyphs (Reicon TG, Reicon WA, Official MAX) */
    .phc-messengers {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .phc-icon-glyph {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #1e293b !important;
        text-decoration: none !important;
        transition: all 0.15s ease !important;
        line-height: 1 !important;
    }

    .phc-icon-glyph:hover {
        color: #004b87 !important;
        transform: translateY(-1px) !important;
    }

    .phc-icon-glyph svg {
        width: 17px !important;
        height: 17px !important;
        fill: currentColor !important;
        display: block !important;
    }

    .phc-icon-glyph.phc-icon-tg svg {
        width: 17px !important;
        height: 17px !important;
    }

    .phc-icon-glyph.phc-icon-wa svg {
        width: 17px !important;
        height: 17px !important;
    }

    .phc-icon-glyph.phc-icon-max svg {
        width: 17px !important;
        height: 17px !important;
    }

    .phc-meta-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-size: 11px !important;
        color: #64748b !important;
        font-weight: 500 !important;
        line-height: 1.15 !important;
        width: 100% !important;
    }

    .phc-email {
        color: #64748b !important;
        text-decoration: none !important;
        transition: color 0.15s ease !important;
    }

    .phc-email:hover {
        color: #004b87 !important;
    }

    /* Action Row: Accent Blue Pill Button */
    .phc-action-row {
        width: 100% !important;
        margin-top: auto !important;
    }

    .potok-btn-callback {
        width: 100% !important;
        height: 38px !important;
        background: #004b87 !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 9999px !important; /* Pill shape */
        font-size: 13px !important;
        font-weight: 700 !important;
        letter-spacing: -0.01em !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        box-shadow: 0 3px 10px rgba(0, 75, 135, 0.25) !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .potok-btn-callback:hover {
        background: #003666 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 5px 14px rgba(0, 75, 135, 0.35) !important;
    }

    .potok-btn-callback svg {
        width: 15px !important;
        height: 15px !important;
        fill: currentColor !important;
        stroke: none !important;
        flex-shrink: 0 !important;
    }
}


/* ==========================================================================
   ПОТОК: СЕРТИФИКАТЫ ЕАЭС, ЛАЙТБОКС, МОНТАЖ И О КОМПАНИИ
   ========================================================================== */
.potok-certs-group {
    max-width: 100%;
}
.potok-certs-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 20px;
}
.potok-proizvodstvo-page .potok-certs-section,
.potok-warranty-page .potok-certs-section,
.potok-about-page .potok-certs-section {
    max-width: 1240px;
    margin: 0 auto;
}
.potok-certs-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 32px auto;
}
.potok-certs-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: start;
}
.potok-certs-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.potok-cert-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.potok-cert-card:hover {
    border-color: #004b87;
    box-shadow: 0 10px 24px rgba(0, 75, 135, 0.12);
    transform: translateY(-2px);
}
.potok-cert-img-wrap {
    position: relative;
    background: #f8fafc;
    aspect-ratio: 210 / 297;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}
.potok-cert-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.potok-cert-zoom {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.84);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 9999px;
    white-space: nowrap;
    opacity: 0.92;
    transition: background 0.15s ease;
}
.potok-cert-card:hover .potok-cert-zoom {
    background: #004b87;
}
.potok-cert-caption {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.potok-cert-caption strong {
    font-size: 13px;
    color: #0f172a;
    font-weight: 700;
}
.potok-cert-caption span {
    font-size: 12px;
    color: #64748b;
}
.potok-certs-meta {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.potok-certs-meta h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}
.potok-certs-meta-lead {
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 18px 0;
}
.potok-certs-specs {
    border-top: 1px solid #e2e8f0;
}
.potok-certs-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
}
.potok-certs-spec-row span {
    color: #64748b;
}
.potok-certs-spec-row strong {
    color: #0f172a;
    text-align: right;
    font-weight: 600;
}
.potok-certs-note {
    margin-top: 16px;
    padding: 12px 14px;
    background: #f8fafc;
    border-left: 3px solid #004b87;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
}

/* Lightbox modal */
.potok-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}
.potok-lightbox.is-open {
    display: flex;
}
.potok-lightbox-dialog {
    position: relative;
    max-width: 920px;
    max-height: 92vh;
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.potok-lightbox-dialog img {
    max-width: 100%;
    max-height: calc(92vh - 70px);
    object-fit: contain;
    display: block;
    border-radius: 6px;
}
.potok-lightbox-caption {
    margin-top: 8px;
    font-size: 13px;
    color: #334155;
    font-weight: 600;
    text-align: center;
}
.potok-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.potok-lightbox-close:hover {
    background: #004b87;
    color: #ffffff;
    border-color: #004b87;
}

/* Montazh & About enhancements */
.potok-mt-cards-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}
.potok-mt-photo-box {
    height: 280px !important;
    padding: 0 !important;
    background: #0f172a !important;
}
.potok-mt-photo-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-height: none !important;
}
.potok-mt-price-table td small {
    color: #64748b;
    font-weight: 400;
    display: inline-block;
    margin-top: 2px;
}
.potok-about-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.potok-about-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.potok-about-link-item:hover {
    border-color: #004b87;
    transform: translateX(2px);
}
.potok-about-link-item strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 2px;
}
.potok-about-link-item div span {
    display: block;
    font-size: 12px;
    color: #64748b;
}
.potok-about-link-item > span {
    font-size: 18px;
    color: #004b87;
    font-weight: 700;
}

@media (max-width: 900px) {
    .potok-certs-grid,
    .potok-mt-cards-2 {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 600px) {
    .potok-certs-thumbs {
        grid-template-columns: 1fr;
    }
    .potok-certs-spec-row {
        flex-direction: column;
        gap: 2px;
    }
    .potok-certs-spec-row strong {
        text-align: left;
    }
}

/* Fix anchor offset under fixed header, mobile 1-col steps, mobile table wrap */
#certificates,
.potok-certs-section {
    scroll-margin-top: 132px;
}
.potok-pz-table-wrap,
.potok-mt-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}
@media (max-width: 640px) {
    .potok-pz-steps-grid {
        grid-template-columns: 1fr !important;
    }
    .potok-pz-step-card {
        min-width: 0;
    }
    .potok-mt-price-table th,
    .potok-mt-price-table td {
        padding: 10px 8px !important;
        font-size: 12.5px !important;
        word-break: break-word;
    }
}
