/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.1
 Text Domain:  woodmart
*/

/* Catalog & Search in the header bottom row */
.whb-header-bottom .whb-col-left {
    flex-shrink: 0;
}

/* Кнопка «КАТАЛОГ ТОВАРОВ» в едином стиле сайта (красный фон, белый текст, шрифт Lato) */
.whb-header-bottom .menu-item-36886 > .woodmart-nav-link {
    min-width: 230px;
    height: 42px;
    min-height: 42px;
    padding: 0 20px;
    gap: 12px;
    background: #d90909;
    color: #ffffff;
    font-family: Lato, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Иконка-гамбургер из шрифта темы WoodMart */
.whb-header-bottom .menu-item-36886 > .woodmart-nav-link::before {
    content: "\f15a";
    font-family: "woodmart-font";
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    background: none;
    width: auto;
    height: auto;
    display: inline-block;
}

/* Ховер: затемнение фирменного красного без посторонних оттенков */
.whb-header-bottom .menu-item-36886 > .woodmart-nav-link:hover,
.whb-header-bottom .menu-item-36886 > .woodmart-nav-link:focus-visible {
    background: #b50707;
    color: #ffffff;
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Панель «Поиск товаров»: белый контрастный фон, четкая рамка */
.whb-header-bottom form.searchform {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    height: 42px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.whb-header-bottom form.searchform:focus-within {
    border-color: #d90909;
    box-shadow: 0 0 0 3px rgba(217, 9, 9, 0.15);
}

/* Поле ввода поиска */
.whb-header-bottom input.s {
    background: transparent;
    color: #1e293b;
    font-family: Lato, Arial, Helvetica, sans-serif;
    font-size: 14px;
    height: 40px;
    padding-left: 16px;
    border: none;
}

.whb-header-bottom input.s::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* Кнопка поиска */
.whb-header-bottom button.searchsubmit {
    background: transparent;
    color: #64748b;
    height: 40px;
    width: 44px;
    transition: color 0.2s ease;
}

.whb-header-bottom button.searchsubmit:hover {
    color: #d90909;
}

@media (max-width: 1024px) {
    .wd-header-mobile-nav > a {
        gap: 6px;
    }

    .wd-header-mobile-nav > a::after {
        content: "Каталог";
        font-size: 12px;
        font-weight: 700;
        color: #b50707;
    }
}

@media (max-width: 480px) {
    .whb-general-header .whb-mobile-center {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 8px;
    }

    .whb-mobile-center .site-logo {
        width: 100%;
        max-width: 210px;
    }

    .whb-mobile-center .site-logo img {
        max-width: 100%;
        height: auto;
    }
}

/* ==========================================================================
   NORTH-EDGE.RU — ЕДИНЫЙ СТИЛЬ ИНФОРМАЦИОННЫХ СТРАНИЦ (.ne-info)
   Тактический hero + белые секции, как на /o-magazine-north-edge-ru/ и /kak-zakazat/.
   Подключается шаблоном page-info.php ко всем статическим страницам.
   ========================================================================== */
.page-template-page-info #main-content,
.page-template-page-info-php #main-content {
    width: 100%;
    max-width: none;
    padding: 0;
}

.ne-info {
    font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
    background: #f1f5f9;
    padding: 34px 0 80px;
}

.ne-info-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.ne-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
    margin-bottom: 24px;
}
.ne-breadcrumbs a { color: #475569; text-decoration: none; }
.ne-breadcrumbs a:hover { color: #d90909; }

/* Tactical hero */
.ne-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 40px 40px;
    border-radius: 4px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    border-left: 6px solid #d90909;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
}
.ne-hero::after {
    content: "NORTH EDGE";
    position: absolute;
    right: -14px;
    bottom: -22px;
    font-size: 74px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    letter-spacing: 3px;
}
.ne-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(217, 9, 9, 0.2);
    border: 1px solid rgba(217, 9, 9, 0.45);
    color: #fecaca;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.ne-hero h1 {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #fff;
    line-height: 1.22;
    letter-spacing: -0.4px;
}
.ne-hero h1:last-child { margin-bottom: 0; }
.ne-hero p {
    font-size: 15.5px;
    line-height: 1.65;
    color: #e2e8f0;
    margin: 0;
    max-width: 780px;
}

/* Section blocks */
.ne-block {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px 34px;
    margin-bottom: 22px;
}
.ne-block:last-child { margin-bottom: 0; }
.ne-block > h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
    padding-left: 14px;
    border-left: 4px solid #d90909;
    line-height: 1.3;
}
.ne-info .ne-block > h2:first-child { margin-top: 0; }
.ne-block > h3,
.ne-block .ne-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 24px 0 12px;
}
.ne-block > h3:first-child { margin-top: 0; }
.ne-block p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 14px;
}
.ne-block p:last-child { margin-bottom: 0; }
.ne-block p strong, .ne-block li strong { color: #0f172a; }
.ne-block a { color: #d90909; font-weight: 600; text-decoration: none; }
.ne-block a:hover { color: #b50707; text-decoration: none; }

/* Lists */
.ne-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}
.ne-list li {
    position: relative;
    padding: 0 0 14px 34px;
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
}
.ne-list li:last-child { padding-bottom: 0; }
.ne-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(217, 9, 9, 0.08);
    border: 1px solid rgba(217, 9, 9, 0.35);
}
.ne-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #d90909;
    border-bottom: 2px solid #d90909;
    transform: rotate(45deg);
}

/* Plain bullet list */
.ne-bullets {
    margin: 0 0 14px;
    padding-left: 20px;
}
.ne-bullets li {
    font-size: 14.5px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 7px;
}
.ne-bullets li:last-child { margin-bottom: 0; }

/* Stats grid */
.ne-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 4px 0 22px;
}
.ne-stats:last-child { margin-bottom: 0; }
.ne-stat {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px 18px;
    text-align: center;
}
.ne-stat-label { font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 6px; }
.ne-stat-value { font-size: 19px; font-weight: 800; color: #0f172a; }

/* Highlight box */
.ne-highlight {
    background: #fef2f2;
    border-left: 4px solid #d90909;
    border-radius: 4px;
    padding: 18px 22px;
    margin-top: 8px;
}
.ne-highlight strong { display: block; color: #0f172a; font-size: 15px; margin-bottom: 6px; }
.ne-highlight span { font-size: 14px; line-height: 1.7; color: #475569; }
.ne-highlight p { margin: 0; }

/* Card grid */
.ne-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 6px;
}
.ne-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px 22px;
}
.ne-card.is-accent { border-color: #fecaca; background: #fff7f7; }
.ne-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.ne-card p { margin: 0; font-size: 14px; line-height: 1.7; color: #475569; }
.ne-card p + p { margin-top: 8px; }

/* Two-column info split */
.ne-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
}

/* Final CTA */
.ne-final {
    background: #0f172a;
    border-radius: 4px;
    padding: 34px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-left: 6px solid #d90909;
    margin-top: 22px;
}
.ne-final::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% -20%, rgba(217, 9, 9, 0.28), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.ne-final h3 {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    position: relative;
    z-index: 1;
}
.ne-final p {
    margin: 0 0 22px;
    font-size: 15px;
    color: #cbd5e1;
    position: relative;
    z-index: 1;
}
.ne-final a {
    background: #d90909;
    color: #ffffff;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: background .2s ease;
}
.ne-final a:hover,
.ne-final a:focus {
    background: #b50707;
    color: #ffffff;
    text-decoration: none;
}

/* Полезные ссылки внизу инфо-страниц */
.ne-page-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 28px;
    margin-top: 22px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.ne-page-links a {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.ne-page-links a:hover,
.ne-page-links a:focus-visible {
    color: #d90909;
    text-decoration: none;
}

@media (max-width: 768.98px) {
    .ne-page-links {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        padding: 16px 18px;
    }

    .ne-page-links a {
        font-size: 12.5px;
    }
}

/* ==========================================================================
   CONTACT & FEEDBACK PAGE
   ========================================================================== */.ne-contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
    gap: 32px;
    align-items: start;
}

.ne-intro-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #d90909;
    padding: 18px 22px;
    margin-bottom: 28px;
    color: #334155;
    font-size: 15px;
    line-height: 1.6;
}

.ne-intro-card p {
    margin: 0;
}

.ne-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ne-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 22px 24px;
}

.ne-contact-card h2,
.ne-contact-card h3 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.ne-contact-card p,
.ne-contact-card li {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.ne-contact-card p:last-child,
.ne-contact-card ul:last-child {
    margin-bottom: 0;
}

.ne-contact-card ul {
    margin: 0;
    padding-left: 20px;
}

.ne-contact-card li {
    margin-bottom: 6px;
}

.ne-contact-note {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #d90909;
}

.ne-contact-details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ne-contact-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ne-contact-details li {
    margin-bottom: 8px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #475569;
}

.ne-contact-details li strong {
    color: #1e293b;
}

.ne-contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 28px 30px;
    box-shadow: none;
    --sfl-primary: #d90909;
    --sfl-border: #cbd5e1;
    --sfl-radius: 0;
    --sfl-bg: #fafafa;
    --sfl-text: #1e293b;
    --sfl-ok: #0f766e;
    --sfl-err: #b00020;
}

.ne-contact-form-card h2 {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.ne-contact-form-card .sfl-form {
    max-width: none;
    margin: 0;
}

.ne-contact-form-card .sfl-row {
    margin-bottom: 16px;
}

.ne-contact-form-card .sfl-row label {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    display: block;
}

.ne-contact-form-card .sfl-row input,
.ne-contact-form-card .sfl-row textarea {
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    background-color: #fafafa !important;
    font-size: 14.5px;
    color: #1e293b !important;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ne-contact-form-card .sfl-row input:focus,
.ne-contact-form-card .sfl-row textarea:focus {
    background-color: #ffffff !important;
    border-color: #d90909 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(217, 9, 9, 0.18) !important;
}

.ne-contact-form-card .sfl-row textarea {
    min-height: 130px;
}

.ne-contact-form-card .sfl-row input::placeholder,
.ne-contact-form-card .sfl-row textarea::placeholder {
    color: #94a3b8;
}

.ne-contact-form-card .sfl-submit {
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 700;
    background: #d90909;
    color: #ffffff;
    border-radius: 0;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.ne-contact-form-card .sfl-submit:hover {
    background: #b50707;
}

.ne-contact-form-card .sfl-submit:active {
    transform: scale(0.98);
}

.ne-contact-form-card .sfl-status.ok {
    color: #0f766e;
    font-weight: 600;
    margin-top: 14px;
}

.ne-contact-privacy {
    margin: 16px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.ne-contact-privacy a {
    color: #d90909;
    text-decoration: underline;
}

@media (max-width: 820px) {
    .ne-contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ne-contact-form-card {
        padding: 22px 20px 24px;
    }
}

@media (max-width: 860px) {
    .ne-split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .ne-hero { padding: 28px 24px; }
    .ne-hero h1 { font-size: 26px; }
    .ne-block { padding: 22px 20px; }
    .ne-block > h2 { font-size: 19px; }
    .ne-final { padding: 26px 20px; }
}

/* ==========================================================================
   СЕКЦИИ СТРАНИЦЫ «О МАГАЗИНЕ» (перенесено из page-o-magazine-north-edge-ru.php)
   ========================================================================== */
/* ==========================================================================
   ABOUT STORE: TACTICAL HERO + CONTENT SYSTEM (North Edge)
   ========================================================================== */
.ne-about {
    font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
    background: #f1f5f9;
    padding: 34px 0 80px;
}
.ne-about-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.ne-about-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
    margin-bottom: 24px;
}
.ne-about-breadcrumbs a { color: #475569; text-decoration: none; }
.ne-about-breadcrumbs a:hover { color: #d90909; }

/* Tactical hero */
.ne-about-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 40px 40px;
    border-radius: 4px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    border-left: 6px solid #d90909;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
}
.ne-about-hero::after {
    content: "NORTH EDGE";
    position: absolute;
    right: -14px;
    bottom: -22px;
    font-size: 74px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    letter-spacing: 3px;
}
.ne-about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(217, 9, 9, 0.2);
    border: 1px solid rgba(217, 9, 9, 0.45);
    color: #fecaca;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.ne-about-hero h1 {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #fff;
    line-height: 1.22;
    letter-spacing: -0.4px;
}
.ne-about-hero p {
    font-size: 15.5px;
    line-height: 1.65;
    color: #e2e8f0;
    margin: 0;
    max-width: 780px;
}

/* Section */
.ne-about-section { margin-bottom: 40px; }
.ne-about-section > h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px;
    padding-bottom: 10px;
    position: relative;
}
.ne-about-section > h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: #d90909;
}

/* Story card */
.ne-about-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 26px 30px;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}
.ne-about-card p { margin: 0 0 14px; }
.ne-about-card p:last-child { margin-bottom: 0; }
.ne-about-card strong { color: #0f172a; }

/* Highlight box */
.ne-about-highlight {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #d90909;
    border-radius: 4px;
    padding: 16px 20px;
    margin: 18px 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: #334155;
}
.ne-about-highlight strong {
    display: block;
    color: #0f172a;
    font-size: 15.5px;
    margin-bottom: 4px;
}

/* Ecosystem grid */
.ne-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 4px;
}
.ne-about-grid-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 18px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ne-about-grid-card:hover {
    transform: translateY(-2px);
    border-color: #d90909;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.ne-about-grid-card h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.ne-about-grid-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #64748b;
}

/* Advantages */
.ne-about-adv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.ne-about-adv-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 22px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ne-about-adv-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.ne-about-adv-num {
    font-size: 26px;
    font-weight: 800;
    color: #d90909;
    line-height: 1;
    margin-bottom: 12px;
}
.ne-about-adv-card h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.ne-about-adv-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
}

/* Checklist (quality control) */
.ne-about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ne-about-list li {
    position: relative;
    padding: 0 0 14px 34px;
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
}
.ne-about-list li:last-child { padding-bottom: 0; }
.ne-about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(217, 9, 9, 0.08);
    border: 1px solid rgba(217, 9, 9, 0.35);
}
.ne-about-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #d90909;
    border-bottom: 2px solid #d90909;
    transform: rotate(45deg);
}
.ne-about-list li strong { color: #0f172a; }

/* Info split (requisites) */
.ne-about-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
}
.ne-about-info {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 22px 24px;
}
.ne-about-info h4 {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}
.ne-about-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ne-about-info li {
    margin-bottom: 9px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #475569;
}
.ne-about-info li:last-child { margin-bottom: 0; }
.ne-about-info li strong { color: #0f172a; }
.ne-about-info a { color: #d90909; font-weight: 600; text-decoration: none; }
.ne-about-info a:hover { color: #b50707; }

/* Final CTA */
.ne-about-final {
    background: #0f172a;
    border-radius: 4px;
    padding: 34px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-left: 6px solid #d90909;
}
.ne-about-final::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% -20%, rgba(217, 9, 9, 0.28), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.ne-about-final h3 {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    position: relative;
    z-index: 1;
}
.ne-about-final p {
    margin: 0 0 22px;
    font-size: 15px;
    color: #cbd5e1;
    position: relative;
    z-index: 1;
}
.ne-about-final a {
    background: #d90909;
    color: #ffffff;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: background .2s ease;
}
.ne-about-final a:hover,
.ne-about-final a:focus {
    background: #b50707;
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 860px) {
    .ne-about-adv { grid-template-columns: 1fr; }
    .ne-about-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .ne-about-hero { padding: 28px 24px; }
    .ne-about-hero h1 { font-size: 26px; }
    .ne-about-card, .ne-about-info { padding: 20px 20px; }
    .ne-about-final { padding: 26px 20px; }
}

/* ==========================================================================
   СЕКЦИИ СТРАНИЦЫ «КАК ЗАКАЗАТЬ» (перенесено из page-kak-zakazat.php)
   ========================================================================== */
/* ==========================================================================
   ORDER GUIDE: TIMELINE + TACTICAL HERO
   ========================================================================== */
.ne-proto-p3 {
    font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
    background: #f1f5f9;
    padding: 34px 0 80px;
}
.ne-proto-p3-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.ne-p3-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
    margin-bottom: 24px;
}
.ne-p3-breadcrumbs a { color: #475569; text-decoration: none; }
.ne-p3-breadcrumbs a:hover { color: #d90909; }

/* Tactical hero (as in variant 2) */
.ne-p3-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 40px 40px;
    border-radius: 4px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    border-left: 6px solid #d90909;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
}
.ne-p3-hero::after {
    content: "NORTH EDGE";
    position: absolute;
    right: -14px;
    bottom: -22px;
    font-size: 74px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    letter-spacing: 3px;
}
.ne-p3-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(217, 9, 9, 0.2);
    border: 1px solid rgba(217, 9, 9, 0.45);
    color: #fecaca;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.ne-p3-hero h1 {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #fff;
    line-height: 1.22;
    letter-spacing: -0.4px;
}
.ne-p3-hero p {
    font-size: 15.5px;
    line-height: 1.65;
    color: #e2e8f0;
    margin: 0;
    max-width: 780px;
}

/* Timeline */
.ne-timeline {
    position: relative;
    padding: 18px 0;
    margin-bottom: 44px;
}
.ne-timeline::before {
    content: "";
    position: absolute;
    top: 34px;
    bottom: 34px;
    left: 29px;
    width: 2px;
    background: #cbd5e1;
}

.ne-timeline-item {
    position: relative;
    display: flex;
    gap: 26px;
    margin-bottom: 26px;
}
.ne-timeline-item:last-child { margin-bottom: 0; }

/* Round nodes (restored original style) */
.ne-timeline-node {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.ne-timeline-item:hover .ne-timeline-node {
    background: #d90909;
    border-color: #d90909;
    color: #ffffff;
    transform: scale(1.05);
}

.ne-timeline-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 28px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ne-timeline-item:hover .ne-timeline-card {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.ne-timeline-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}
.ne-timeline-card p {
    margin: 0 0 10px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #475569;
}
.ne-timeline-card p:last-child { margin-bottom: 0; }
.ne-timeline-card strong { color: #0f172a; }

/* Links: red, NO underline */
.ne-timeline-card a {
    color: #d90909;
    font-weight: 600;
    text-decoration: none;
}
.ne-timeline-card a:hover {
    color: #b50707;
    text-decoration: none;
}

/* Final CTA */
.ne-p3-final-card {
    background: #0f172a;
    border-radius: 4px;
    padding: 34px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-left: 6px solid #d90909;
}
.ne-p3-final-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% -20%, rgba(217,9,9,0.28), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.ne-p3-final-card h3 {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    position: relative;
    z-index: 1;
}
.ne-p3-final-card p {
    margin: 0 0 22px;
    font-size: 15px;
    color: #cbd5e1;
    position: relative;
    z-index: 1;
}
.ne-p3-btn-catalog {
    background: #d90909;
    color: #ffffff;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: background .2s ease;
}
.ne-p3-btn-catalog:hover,
.ne-p3-btn-catalog:focus {
    background: #b50707;
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 640px) {
    .ne-timeline::before { left: 21px; }
    .ne-timeline-node { width: 44px; height: 44px; font-size: 15px; }
    .ne-timeline-item { gap: 16px; }
    .ne-timeline-card { padding: 18px 20px; }
    .ne-p3-hero { padding: 28px 24px; }
    .ne-p3-hero h1 { font-size: 26px; }
}

/* ==========================================================================
   ЕДИНООБРАЗНЫЙ ФОН НА ГЛАВНОЙ СТРАНИЦЕ (светло-серый, как на остальных)
   ========================================================================== */
body.home .wd-page-content,
body.page-id-25268 .wd-page-content {
    background-color: #f1f5f9 !important;
}

/* ==========================================================================
   ЕДИНАЯ ШИРИНА КОНТЕЙНЕРА (1240px)
   ========================================================================== */
.container {
    max-width: 1240px !important;
}

/* ==========================================================================
   ФУТЕР: ЛОГОТИП СЛЕВА, ССЫЛКИ И ОПЛАТА СПРАВА
   ========================================================================== */
footer #wd-5a8188ed {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr) max-content;
    column-gap: 28px;
    row-gap: 20px;
    align-items: flex-start;
}

footer #wd-004a3ea4 {
    grid-column: 1;
    grid-row: 1;
}

footer #wd-880dd6aa {
    grid-column: 3;
    grid-row: 1;
}

footer .ne-footer-links ul,
footer .wp-block-wd-menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .ne-footer-links li,
footer .wp-block-wd-menu-list li {
    margin: 0 0 10px;
}

footer .ne-footer-links a,
footer .wp-block-wd-menu-list a {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

footer .ne-footer-links a:hover,
footer .ne-footer-links a:focus-visible,
footer .wp-block-wd-menu-list a:hover,
footer .wp-block-wd-menu-list a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

footer .ne-footer-payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    color: #ffffff;
}

footer .ne-footer-payments img {
    display: block;
    width: auto !important;
    max-width: 120px;
    height: 32px !important;
    object-fit: contain;
}

footer .ne-footer-payments img.payment-logo-yookassa {
    height: 22px !important;
    max-width: 120px;
}

footer .ne-footer-payments img.payment-logo-mir {
    height: 22px !important;
    max-width: 100px;
}

footer .ne-footer-payments img.payment-logo-sbp {
    height: 30px !important;
    max-width: 110px;
}

/* Блок оплаты в правой колонке футера */
footer .ne-footer-payments__title {
    flex: 0 0 100%;
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}

footer .ne-footer-payments {
    margin-top: 26px;
    gap: 10px 14px;
}

footer .ne-footer-payments img {
    height: 22px !important;
    max-width: 100px;
}

footer .ne-footer-payments svg {
    height: 30px;
    width: auto;
}

@media (max-width: 1024px) {
    footer #wd-5a8188ed {
        column-gap: 20px;
    }
}

@media (max-width: 768.98px) {
    footer #wd-5a8188ed {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 20px;
    }

    footer #wd-004a3ea4,
    footer #wd-880dd6aa,
    footer #wd-nefooterpay000001 {
        grid-column: 1;
        grid-row: auto;
        align-self: auto;
    }

    footer .ne-footer-payments {
        gap: 10px 12px;
    }

    footer .ne-footer-payments img {
        max-width: 100px;
        height: 22px !important;
    }

    footer .ne-footer-payments img.payment-logo-yookassa {
        height: 22px !important;
        max-width: 100px;
    }

    footer .ne-footer-payments img.payment-logo-mir {
        height: 22px !important;
        max-width: 78px;
    }

    footer .ne-footer-payments img.payment-logo-sbp {
        height: 28px !important;
        max-width: 100px;
    }
}

/* ==========================================================================
   КАРТОЧКА ТОВАРА: СКРЫТЬ "СРАВНЕНИЕ" И ВКЛАДКУ "ДЕТАЛИ"
   ========================================================================== */
.wd-compare-btn,
#tab-title-additional_information,
#tab-item-title-additional_information,
#tab-additional_information {
    display: none !important;
}

/* ==========================================================================
   КАРТОЧКА ТОВАРА: МЕЖСТРОЧНЫЕ И МЕЖБЛОЧНЫЕ ИНТЕРВАЛЫ В ОПИСАНИИ (КАК НА FNIRSI-RUS.RU)
   ========================================================================== */
.wc-tab-inner.wd-entry-content {
    color: #111111;
    font-size: 16px;
    line-height: 1.6;
}

.wc-tab-inner.wd-entry-content p,
.wc-tab-inner.wd-entry-content .wp-block-wd-paragraph {
    margin: 5px 0 !important;
}

.wc-tab-inner.wd-entry-content h2 {
    margin-top: 30px;
    margin-bottom: -5px;
}

.wc-tab-inner.wd-entry-content h2:first-child {
    margin-top: 0;
}

.wc-tab-inner.wd-entry-content h3 {
    margin-top: 30px;
    margin-bottom: 5px;
}

.wc-tab-inner.wd-entry-content h4.wp-block-heading,
.wc-tab-inner.wd-entry-content .wp-block-wd-title {
    margin: 28px 0 0 !important;
    font-weight: 600 !important;
    color: #111111 !important;
}

.wc-tab-inner.wd-entry-content ul,
.wc-tab-inner.wd-entry-content ol {
    margin-top: 5px;
    margin-bottom: 12px;
}

.wc-tab-inner.wd-entry-content li {
    margin: 0 !important;
}

.wc-tab-inner.wd-entry-content li::marker {
    color: #111111;
}

/* ==========================================================================
   КНОПКА "ДОБАВИТЬ ОТЗЫВ" В ЕДИНОМ СТИЛЕ САЙТА (#D90909, LATO)
   ========================================================================== */
.cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-add-review-wrap .cr-all-reviews-add-review,
.cr-reviews-grid .cr-summaryBox-wrap .cr-add-review-wrap .cr-all-reviews-add-review {
    background-color: #d90909 !important;
    color: #ffffff !important;
    font-family: Lato, Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    height: 42px !important;
    min-height: 42px !important;
    line-height: 1.2 !important;
    padding: 0 22px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-add-review-wrap .cr-all-reviews-add-review:hover,
.cr-reviews-grid .cr-summaryBox-wrap .cr-add-review-wrap .cr-all-reviews-add-review:hover,
.cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-add-review-wrap .cr-all-reviews-add-review:focus-visible,
.cr-reviews-grid .cr-summaryBox-wrap .cr-add-review-wrap .cr-all-reviews-add-review:focus-visible {
    background-color: #b50707 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   ЛИЧНЫЙ КАБИНЕТ (/my-account/) В ЕДИНОМ ШАБЛОНЕ (.ne-info)
   ========================================================================== */
.ne-info > .ne-info-container > .woocommerce {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 34px 36px;
}

.ne-info .woocommerce-MyAccount-title.entry-title {
    display: none;
}

@media (max-width: 640px) {
    .ne-info > .ne-info-container > .woocommerce {
        padding: 22px 20px;
    }
}

/* ==========================================================================
   КОРЗИНА (/cart/) И ОФОРМЛЕНИЕ ЗАКАЗА (/checkout/) В ЕДИНОМ ШАБЛОНЕ (.ne-info)
   Cart- и Checkout-блоки рассчитаны на белый фон, а .ne-info даёт #f1f5f9,
   поэтому оборачиваем их в ту же белую карточку, что и /my-account/.
   ========================================================================== */
.ne-info > .ne-info-container > .wp-block-woocommerce-cart,
.ne-info > .ne-info-container > .wp-block-woocommerce-checkout {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 34px 36px;
}

/* Кнопки блока наследуют акцент темы (#d90909), но проверим и hover. */
.ne-info .wc-block-components-button:not(.is-link):hover {
    background-color: #b50707;
    color: #ffffff;
}

/* Колонки блока: держим читаемый зазор, как у остальных секций сайта. */
.ne-info .wc-block-components-sidebar-layout {
    gap: 40px;
}

/* На чекауте липкая правая колонка не должна «вылезать» за карточку. */
.ne-info .wc-block-checkout__sidebar,
.ne-info .wc-block-cart__sidebar {
    align-self: flex-start;
}

@media (max-width: 1024px) {
    .ne-info .wc-block-components-sidebar-layout {
        gap: 0;
        row-gap: 32px;
    }
}

@media (max-width: 640px) {
    .ne-info > .ne-info-container > .wp-block-woocommerce-cart,
    .ne-info > .ne-info-container > .wp-block-woocommerce-checkout {
        padding: 22px 20px;
    }
}

/* =========================================================================
   ЧЕКАУТ: раскладка формы в дизайн-коде north-edge
   (токены из инфо-страниц: .ne-block, .ne-about-card, .ne-contact-form-card)
   ========================================================================= */

/* Сетка: форма слева, блок заказа справа */
.woocommerce-checkout form.checkout.ne-checkout {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 0 40px !important;
}

@media (max-width: 900px) {
    .woocommerce-checkout form.checkout.ne-checkout {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
}

.ne-checkout-left-col,
.ne-checkout-right-col,
#customer_details {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-billing-fields {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Секции — как .ne-block / .ne-about-card */
.ne-checkout .form-section {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 26px 30px !important;
    margin-bottom: 22px !important;
    box-sizing: border-box !important;
}

.ne-checkout .form-section:last-child {
    margin-bottom: 0 !important;
}

/* Заголовок секции — h2 с красной полосой слева (style.css:235-243) */
.ne-checkout .section-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #0f172a !important;
    margin: 0 0 22px !important;
    padding: 0 0 0 14px !important;
    border-left: 4px solid #d90909 !important;
}

/* Нумерация шага — .ne-about-adv-num / .ne-timeline-node (без радиуса) */
.ne-checkout .step-num {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background: #d90909 !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    border-radius: 2px !important;
    flex: 0 0 auto !important;
}

/* Сетка полей */
.ne-checkout .grid-row {
    display: grid !important;
    gap: 18px !important;
    margin-bottom: 18px !important;
    width: 100% !important;
}

.ne-checkout .grid-row:last-child {
    margin-bottom: 0 !important;
}

.ne-checkout .grid-row.col-2 {
    grid-template-columns: 1fr 1fr !important;
}

.ne-checkout .grid-row.col-1 {
    grid-template-columns: 1fr !important;
}

@media (max-width: 600px) {
    .ne-checkout .grid-row.col-2 {
        grid-template-columns: 1fr !important;
    }
}

.ne-checkout .form-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    float: none !important;
}

.ne-checkout .form-group label {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    display: block !important;
}

.ne-checkout .form-group label .req {
    color: #d90909 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Инпуты — как .ne-contact-form-card .sfl-row (style.css:560-579) */
.ne-checkout .form-group input.input-text,
.ne-checkout .form-group select,
.ne-checkout .select2-container--default .select2-selection--single {
    border: 1px solid #cbd5e1 !important;
    border-radius: 0 !important;
    padding: 11px 13px !important;
    font-size: 14.5px !important;
    font-family: inherit !important;
    line-height: 1.5 !important;
    background: #fafafa !important;
    color: #1f2937 !important;
    box-shadow: none !important;
    height: auto !important;
    width: 100% !important;
    outline: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.ne-checkout .form-group input.input-text::placeholder {
    color: #94a3b8 !important;
}

.ne-checkout .form-group input.input-text:focus,
.ne-checkout .form-group select:focus,
.ne-checkout .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #d90909 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(217, 9, 9, 0.18) !important;
}

.ne-checkout .form-group input.input-text.woocommerce-invalid,
.ne-checkout .form-group select.woocommerce-invalid {
    border-color: #d90909 !important;
    background: #fef2f2 !important;
}

/* Подсказка под полем */
.ne-checkout .field-hint {
    font-size: 12.5px !important;
    color: #64748b !important;
    margin-top: 5px !important;
    line-height: 1.5 !important;
    display: block !important;
}

/* Статус геопоиска по индексу */
.ne-checkout .postcode-status {
    font-size: 12.5px !important;
    margin-top: 5px !important;
    display: none;
    line-height: 1.5 !important;
}

.ne-checkout .postcode-status.success {
    display: block !important;
    color: #059669 !important;
    font-weight: 600 !important;
}

.ne-checkout .postcode-status.loading,
.ne-checkout .postcode-status.error {
    display: block !important;
    color: #64748b !important;
}

/* Город/регион, подставленные по индексу: фон и цвет согласованы с инпутами .ne-checkout (style.css:1631-1647) */
.ne-checkout #billing_state[readonly],
.ne-checkout #billing_city[readonly] {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #64748b !important;
    cursor: default;
    transition: none !important;
}

.ne-checkout .address-edit-link,
.ne-checkout .address-edit-link:hover,
.ne-checkout .address-edit-link:focus {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: #d90909 !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.ne-checkout .address-edit-link[hidden] {
    display: none !important;
}

/* Скрытые локалями поля (регион у NL/FR/CZ/SE/FI/DK) не занимают место */
.ne-checkout .form-row[style*="display: none"],
.ne-checkout .form-group[style*="display: none"] {
    display: none !important;
}

/* Правая колонка: белая карточка .ne-block с красной полосой сверху */
#order_review {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 4px solid #d90909 !important;
    border-radius: 8px !important;
    padding: 24px 26px !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

#order_review_heading {
    display: none !important;
}

#order_review table.shop_table {
    border: none !important;
    margin: 0 0 18px !important;
}

#order_review table.shop_table th {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

#order_review table.shop_table td {
    border-bottom: 1px solid #f1f5f9 !important;
    color: #1f2937 !important;
}

#order_review .order-total .amount,
#order_review .order-total .woocommerce-Price-amount {
    color: #d90909 !important;
    font-weight: 800 !important;
}

/* Блок согласий: оферта + галочки (ПДн и создание аккаунта) */
.ne-checkout .ne-checkout-consents {
    margin: 22px 0 0;
    padding: 20px 30px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.ne-checkout .ne-checkout-consents .ne-checkout-consent-note {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #64748b !important;
}

.ne-checkout .ne-checkout-consents .ne-checkout-consent-note a {
    color: #d90909 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.ne-checkout .ne-checkout-consents .ne-checkout-consent-note a:hover {
    text-decoration: underline !important;
}

.ne-checkout .ne-checkout-consents .form-row {
    margin: 0 !important;
    padding: 0 !important;
}

.ne-checkout .ne-checkout-consents .ab-cs-checkout-account {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ne-checkout .ne-checkout-consents label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: #1f2937 !important;
    cursor: pointer;
}

.ne-checkout .ne-checkout-consents label span {
    flex: 1 1 auto;
    min-width: 0;
}

.ne-checkout .ne-checkout-consents input[type="checkbox"] {
    flex: 0 0 auto !important;
    width: 16px !important;
    height: 16px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
}

@media (max-width: 768.98px) {
    .ne-checkout .ne-checkout-consents {
        margin-top: 18px;
        padding: 18px 20px 20px;
        gap: 10px;
    }

    .ne-checkout .ne-checkout-consents label {
        font-size: 13px !important;
    }
}

/* Кнопка — .sfl-submit / .ne-p3-btn-catalog */
#place_order {
    display: block !important;
    width: 100% !important;
    background: #d90909 !important;
    border: none !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 15px 24px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    transition: background 0.15s ease !important;
    float: none !important;
    clear: both !important;
}

#place_order:hover {
    background: #b50707 !important;
}

#place_order:active {
    transform: scale(0.99) !important;
}

/* Блок оплаты */
#payment {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    padding: 16px 18px !important;
    margin-bottom: 18px !important;
    overflow: hidden !important;
}

#payment ul.payment_methods {
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Способы оплаты: бейджи МИР / СБП / ЮKassa */
.woocommerce-checkout .payment_method_yookassa_epl label {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    cursor: default !important;
}

.woocommerce-checkout .payment_method_yookassa_epl label > input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.woocommerce-checkout .payment_method_yookassa_epl div.payment_box {
    display: none !important;
}

.woocommerce-checkout .ne-payment-icons {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
}

.woocommerce-checkout .ne-pay-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 0 !important;
    width: 0 !important;
    height: 38px !important;
    padding: 5px 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .ne-pay-badge img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 22px !important;
    object-fit: contain !important;
}

.woocommerce-checkout .ne-pay-badge-mir img {
    max-height: 17px !important;
}

.woocommerce-checkout .ne-pay-badge-sbp img {
    max-height: 24px !important;
}

.woocommerce-checkout .ne-pay-badge-yookassa img {
    max-height: 18px !important;
}

.woocommerce-checkout .security-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 12px !important;
    text-align: center !important;
    font-size: 12px !important;
    color: #64748b !important;
}

/* Сообщения WooCommerce — на всю ширину обеих колонок */
.ne-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout > .woocommerce-error,
.woocommerce-checkout > .woocommerce-message,
.woocommerce-checkout > .woocommerce-info,
.ne-checkout .woocommerce-error,
.ne-checkout .woocommerce-message,
.ne-checkout .woocommerce-info {
    grid-column: 1 / -1 !important;
}

/* Адаптив правой колонки */
@media (max-width: 900px) {
    #order_review {
        padding: 20px 18px !important;
    }

    .ne-checkout .form-section {
        padding: 22px 20px !important;
    }
}

/* Чекаут: внешняя карточка от /my-account/ не нужна —
   у нас свои карточки-секции (.ne-checkout .form-section) и #order_review. */
body.woocommerce-checkout .ne-info > .ne-info-container > .woocommerce {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* -------------------------------------------------------------------------
   Устойчивость двухколоночной сетки чекаута к блокировщикам рекламы.
   WooCommerce печатает <wc-order-attribution-inputs> внутрь <form class="...ne-checkout">,
   а форма — display:grid. При блокировке sourcebuster.min.js JS не удаляет дубликаты
   (order-attribution.js: setOrderTracking выходит по return до removeDuplicateInputGroups),
   лишние элементы становятся grid/flex-детьми и роняют правую колонку под форму.
   Закрепляем позиции колонок явно и убираем посторонних детей из потока.
   ------------------------------------------------------------------------- */
.woocommerce-checkout form.checkout.ne-checkout > wc-order-attribution-inputs,
.woocommerce-checkout form.checkout.ne-checkout wc-order-attribution-inputs {
    display: none !important;
}

.woocommerce-checkout form.checkout.ne-checkout > #customer_details,
.woocommerce-checkout form.checkout.ne-checkout > .ne-checkout-left-col {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.woocommerce-checkout form.checkout.ne-checkout > .ne-checkout-right-col {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
}

@media (max-width: 900px) {
    .woocommerce-checkout form.checkout.ne-checkout > #customer_details,
    .woocommerce-checkout form.checkout.ne-checkout > .ne-checkout-left-col {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    .woocommerce-checkout form.checkout.ne-checkout > .ne-checkout-right-col {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
}

/* ==========================================================================
   ШАПКА: «Мой аккаунт» без верхнего регистра
   ========================================================================== */
.wd-header-my-account .wd-tools-text {
    --wd-header-el-transform: none;
    text-transform: none !important;
}

/* ==========================================================================
   WISHLIST: КАРТОЧКА НА СЕРОМ ФОНЕ .ne-info
   ========================================================================== */
.ne-info .wd-wishlist-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
}

.ne-info .wd-empty-wishlist {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 32px;
}

/* ==========================================================================
   FAQ ACCORDION (North Edge)
   ========================================================================== */
.ne-faq-category {
    margin-bottom: 36px;
}

.ne-faq-cat-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ne-faq-cat-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 36px;
    height: 2px;
    background: #d90909;
}

.ne-faq-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ne-faq-item {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.ne-faq-item:hover {
    border-color: #cbd5e1;
}

.ne-faq-item[open] {
    border-color: #d90909;
}

.ne-faq-summary {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background: #f8fafc;
}

.ne-faq-item[open] .ne-faq-summary {
    background: #ffffff;
    color: #d90909;
}

.ne-faq-summary::-webkit-details-marker {
    display: none;
}

.ne-faq-summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 700;
    color: #d90909;
    transition: transform 0.2s ease;
    margin-left: 12px;
}

.ne-faq-item[open] .ne-faq-summary::after {
    content: '−';
    transform: rotate(180deg);
}

.ne-faq-body {
    padding: 20px;
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.ne-faq-body p {
    margin-bottom: 12px;
}

.ne-faq-body p:last-child {
    margin-bottom: 0;
}

.ne-faq-body ul,
.ne-faq-body ol {
    margin: 8px 0 12px 20px;
    padding: 0;
}

.ne-faq-body li {
    margin-bottom: 6px;
}

.ne-faq-body a {
    color: #d90909;
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================================================
   CONTENT PAGES: POLICY / PRIVACY
   ========================================================================== */
.ne-page-container {
    max-width: 1240px;
    margin: 0 auto 50px auto;
    color: #111111;
    font-size: 15px;
    line-height: 1.65;
}

.ne-privacy-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 24px 28px;
    margin-bottom: 24px;
}

.ne-privacy-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.ne-privacy-section h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 36px;
    height: 2px;
    background: #d90909;
}

.ne-privacy-section p {
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.ne-privacy-section p:last-child {
    margin-bottom: 0;
}

.ne-privacy-section ul {
    margin: 10px 0 16px 20px;
    padding: 0;
}

.ne-privacy-section li {
    color: #475569;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.ne-privacy-section li strong {
    color: #1e293b;
}

.ne-privacy-section a {
    color: #d90909;
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================================================
   ЕДИНЫЙ HERO НА АРХИВАХ WOOCOMMERCE И ПОИСКЕ
   ========================================================================== */
body.ne-hero-page .ne-info--archive {
    padding-bottom: 24px;
}

body.ne-hero-page .shop-loop-head {
    padding-top: 24px;
}

/* Фолбэк, если фильтр опции не сработает: старые крошки не показываем */
body.ne-hero-page .shop-loop-head .rank-math-breadcrumb {
    display: none;
}

/* ==========================================================================
   SEO-ОПИСАНИЕ КАТЕГОРИИ ПОД СЕТКОЙ ТОВАРОВ
   ========================================================================== */
body.ne-hero-page .term-description {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 26px 30px;
    margin: 32px 0 0;
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
}

body.ne-hero-page .term-description p {
    margin: 0 0 14px;
}

body.ne-hero-page .term-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    body.ne-hero-page .term-description {
        padding: 20px 18px;
        margin-top: 24px;
    }
}

/* ==========================================================================
   ХАБ КАТЕГОРИЙ НА СТРАНИЦЕ КАТАЛОГА
   ========================================================================== */
.ne-cat-hub {
    margin: 0 0 36px;
}

.ne-cat-hub__title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 18px;
}

.ne-cat-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}

.ne-cat-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    color: #555555 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ne-cat-card:hover {
    border-color: #d90909;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.ne-cat-card__img {
    height: 200px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.ne-cat-card__img img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.ne-cat-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ne-cat-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 8px;
    line-height: 1.3;
}

.ne-cat-card__desc {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0 0 12px;
    flex-grow: 1;
}

.ne-cat-card__feature {
    font-size: 12.5px;
    color: #222222;
    background: #f8fafc;
    padding: 8px 10px;
    border-radius: 4px;
    border-left: 3px solid #d90909;
    line-height: 1.4;
    margin-bottom: 10px;
}

.ne-cat-card__feature strong {
    color: #000000;
}

@media (max-width: 600px) {
    .ne-cat-card__img {
        height: 180px;
    }
}

/* --- Add-to-cart labels: natural capitalization (Купить / В корзину) --- */
.single_add_to_cart_button,
.add_to_cart_button,
.add_to_cart_button .wd-action-text {
    text-transform: none !important;
}
