/* ==========================================================================
   CrystalNav by Gemini - Премиальная стеклянная навигация (Glassmorphism)
   By Vitaliy Kiselev and AI Gemini 3.8 Flash
   ========================================================================== */

:root {
    --cnp-bg: #ffffff;
    --cnp-opacity: 0.65;
    --cnp-blur: 20px;
    --cnp-text: #1e293b;
    --cnp-active: #7D0000;
    --cnp-accent: #a30000;
    --cnp-cta-bg: #7D0000;
    --cnp-cta-text: #ffffff;
    --cnp-top-bg: #0f172a;
    --cnp-top-opacity: 0.85;
    --cnp-top-blur: 12px;
    --cnp-top-text: #f8fafc;
    --cnp-height: 54px;
    --cnp-mobile-height: 48px;
    --cnp-full-opacity: 0.75;
    --cnp-full-blur: 20px;
    --cnp-backtop-bg: #7D0000;
    --cnp-font-weight: 600;
    --cnp-cookie-bg: #ffffff;
    --cnp-cookie-text: #1e293b;
    --cnp-cookie-btn-bg: #7D0000;
    --cnp-cookie-btn-text: #ffffff;
    --cnp-backtop-bottom: 24px;
}

/* 1. ЖЕСТКАЯ ЗАЩИТА АДАПТИВНОСТИ САЙТА И ШАБЛОНА FINANCIO */
html {
    overflow-x: hidden !important;
}

body {
    overflow-x: hidden !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. ГЛАВНАЯ ОБЕРТКА ШАПКИ */
.cnp-header {
    position: fixed;
    z-index: 99990;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    color: var(--cnp-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    pointer-events: none;
    transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.cnp-shell,
.cnp-topbar-inner {
    pointer-events: auto;
    box-sizing: border-box;
}

/* 3. ВЕРХНИЙ КОНТАКТНЫЙ БАР (РАБОТАЕТ ВО ВСЕХ СТИЛЯХ, ВКЛ/ВЫКЛ) */
.cnp-topbar {
    background: color-mix(in srgb, var(--cnp-top-bg) calc(var(--cnp-top-opacity) * 100%), transparent);
    color: var(--cnp-top-text);
    backdrop-filter: blur(var(--cnp-top-blur));
    -webkit-backdrop-filter: blur(var(--cnp-top-blur));
    font-size: 0.76rem;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cnp-topbar-inner {
    max-width: 1220px;
    margin: 0 auto;
    min-height: 32px;
    padding: 4px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.cnp-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cnp-topbar-item a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}
.cnp-topbar-item a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* 4. ОСНОВНАЯ ПАНЕЛЬ ШАПКИ (SHELL) */
.cnp-shell {
    min-height: var(--cnp-height);
    max-width: 1220px;
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    position: relative;
    background: color-mix(in srgb, var(--cnp-bg) calc(var(--cnp-opacity) * 100%), transparent);
    backdrop-filter: blur(var(--cnp-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--cnp-blur)) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(255, 255, 255, 0.45) inset;
    border-radius: 999px;
}

/* 5. ЛОГОТИП */
.cnp-logo {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    max-height: calc(var(--cnp-height) - 8px);
    z-index: 2;
}

.cnp-logo img {
    height: auto;
    max-height: calc(var(--cnp-height) - 12px);
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0;
}

.cnp-logo img.cnp-logo-auto {
    height: calc(var(--cnp-height) - 12px);
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.cnp-site-title {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

/* 6. НАВИГАЦИОННЫЙ КОНТЕЙНЕР И ВЫРАВНИВАНИЕ */
.cnp-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

/* Вариант: По центру */
.cnp-menu-pos-center .cnp-navigation {
    justify-content: center;
}
.cnp-menu-pos-center .cnp-custom-links {
    margin-left: auto;
}

/* Вариант: Логотип слева, меню рядом слева от логотипа / после лого */
.cnp-menu-pos-left .cnp-navigation,
.cnp-menu-pos-left_next_logo .cnp-navigation {
    justify-content: flex-start;
}
.cnp-menu-pos-left .cnp-custom-links,
.cnp-menu-pos-left_next_logo .cnp-custom-links {
    margin-left: auto;
}

/* Вариант: Справа */
.cnp-menu-pos-right .cnp-navigation {
    justify-content: flex-end;
}
.cnp-menu-pos-right .cnp-custom-links {
    margin-left: 10px;
}

/* 7. ПУНКТЫ МЕНЮ WORDPRESS */
.cnp-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.cnp-menu li {
    margin: 0;
    padding: 0;
    position: relative;
}

.cnp-menu a {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    color: var(--cnp-text);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: var(--cnp-font-weight, 600);
    letter-spacing: 0.2px;
    border-radius: 999px;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
}

.cnp-menu a:hover,
.cnp-menu .current-menu-item > a,
.cnp-menu .current-menu-ancestor > a {
    color: var(--cnp-active);
    background: color-mix(in srgb, var(--cnp-active) 12%, transparent);
}

/* Подменю */
.cnp-menu .menu-item-has-children {
    position: relative;
}

.cnp-menu .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: color-mix(in srgb, var(--cnp-bg) 94%, transparent);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
    z-index: 1000;
}

.cnp-menu .menu-item-has-children:hover > .sub-menu,
.cnp-menu .menu-item-has-children:focus-within > .sub-menu {
    display: block;
    animation: cnpFadeIn 0.2s ease;
}

@keyframes cnpFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.cnp-menu .sub-menu a {
    display: block;
    padding: 8px 12px;
    font-size: 0.82rem;
    border-radius: 8px;
    white-space: nowrap;
}

/* 8. CTA КНОПКИ И СТИЛИ */
.cnp-custom-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cnp-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    color: var(--cnp-cta-text) !important;
    text-decoration: none !important;
    font-weight: var(--cnp-font-weight, 600);
    font-size: 0.8rem;
    line-height: 1.2;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.cnp-cta i {
    font-size: 0.82rem;
}

/* Стиль кнопок: glass_pill */
.cnp-btn-style-glass_pill .cnp-cta {
    border-radius: 999px;
    background: color-mix(in srgb, var(--cnp-cta-bg) 88%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--cnp-cta-bg) 25%, transparent);
}
.cnp-btn-style-glass_pill .cnp-cta:hover {
    background: var(--cnp-cta-bg);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--cnp-cta-bg) 40%, transparent);
}

/* Стиль кнопок: glass_rounded */
.cnp-btn-style-glass_rounded .cnp-cta {
    border-radius: 10px;
    background: color-mix(in srgb, var(--cnp-cta-bg) 88%, transparent);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--cnp-cta-bg) 25%, transparent);
}
.cnp-btn-style-glass_rounded .cnp-cta:hover {
    background: var(--cnp-cta-bg);
    transform: translateY(-1px);
}

/* Стиль кнопок: solid_gradient */
.cnp-btn-style-solid_gradient .cnp-cta {
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cnp-cta-bg), var(--cnp-accent));
    box-shadow: 0 4px 16px color-mix(in srgb, var(--cnp-cta-bg) 35%, transparent);
    border: none;
}
.cnp-btn-style-solid_gradient .cnp-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--cnp-cta-bg) 50%, transparent);
}

/* Стиль кнопок: minimal_outline */
.cnp-btn-style-minimal_outline .cnp-cta {
    border-radius: 999px;
    background: transparent;
    color: var(--cnp-text) !important;
    border: 1.5px solid color-mix(in srgb, var(--cnp-text) 25%, transparent);
}
.cnp-btn-style-minimal_outline .cnp-cta:hover {
    border-color: var(--cnp-active);
    color: var(--cnp-active) !important;
    background: color-mix(in srgb, var(--cnp-active) 10%, transparent);
}

/* 9. СТИЛИ ОФОРМЛЕНИЯ ШАПКИ */

/* СТИЛЬ SEIKEN CRIMSON GLASS (ФИРМЕННЫЙ СТИЛЬ: БЕЛЫЙ, УГОЛЬНЫЙ, #7D0000) */
.cnp-style-seiken_crimson {
    top: 0;
}
.cnp-style-seiken_crimson .cnp-topbar {
    background: #0f172a;
    color: #e2e8f0;
    border-bottom: 2px solid #7D0000;
}
.cnp-style-seiken_crimson .cnp-shell {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 24px rgba(125, 0, 0, 0.08);
}
.cnp-style-seiken_crimson .cnp-menu a:hover,
.cnp-style-seiken_crimson .cnp-menu .current-menu-item > a {
    color: #7D0000;
    background: rgba(125, 0, 0, 0.08);
}

/* Классическая полоса сверху */
.cnp-style-classic {
    top: 0;
}
.cnp-style-classic .cnp-shell {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
}

/* Glassmorphism 3 */
.cnp-style-glass3 {
    top: 10px;
}
.cnp-style-glass3 .cnp-topbar {
    width: min(780px, calc(100% - 32px));
    margin: 0 auto 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    background: color-mix(in srgb, var(--cnp-top-bg) 75%, transparent);
}
.cnp-style-glass3 .cnp-topbar-inner {
    justify-content: center;
    min-height: 30px;
    padding: 4px 18px;
}
.cnp-style-glass3 .cnp-shell {
    max-width: 1180px;
    border-radius: 999px;
}

/* Плавающая капсула */
.cnp-style-floating {
    top: 16px;
}
.cnp-style-floating .cnp-shell {
    max-width: 1160px;
    border-radius: 999px;
}

/* Разделенная */
.cnp-style-split {
    top: 16px;
}
.cnp-style-split .cnp-shell {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.cnp-style-split .cnp-logo,
.cnp-style-split .cnp-navigation {
    background: color-mix(in srgb, var(--cnp-bg) calc(var(--cnp-opacity) * 100%), transparent);
    backdrop-filter: blur(var(--cnp-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--cnp-blur)) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}
.cnp-style-split .cnp-logo { padding: 8px 18px; }
.cnp-style-split .cnp-navigation { padding: 6px 16px; }

/* Neon Glass */
.cnp-style-neon .cnp-shell {
    border-radius: 20px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--cnp-bg) 80%, #38bdf8), color-mix(in srgb, var(--cnp-bg) 80%, #a855f7));
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 36px color-mix(in srgb, var(--cnp-accent) 25%, transparent);
}

/* Minimal Glass */
.cnp-style-minimal .cnp-shell {
    max-width: 980px;
    border-radius: 14px;
    padding: 5px 14px;
}

/* Fullwidth Glass */
.cnp-style-fullwidth {
    top: 0;
}
.cnp-style-fullwidth .cnp-shell {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    background: color-mix(in srgb, var(--cnp-bg) calc(var(--cnp-full-opacity) * 100%), transparent);
    backdrop-filter: blur(var(--cnp-full-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--cnp-full-blur)) saturate(180%);
}

/* Dark Glass */
.cnp-style-dark {
    top: 0;
    color: #f8fafc;
}
.cnp-style-dark .cnp-topbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    margin-bottom: 0;
}
.cnp-style-dark .cnp-shell {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.cnp-style-dark .cnp-menu a { color: #e2e8f0; }
.cnp-style-dark .cnp-menu a:hover,
.cnp-style-dark .cnp-menu .current-menu-item > a {
    color: #ffffff;
    background: rgba(125, 0, 0, 0.35);
}
.cnp-style-dark .cnp-toggle { color: #ffffff; }

/* 10. ГАМБУРГЕР КНОПКА */
.cnp-toggle {
    display: none;
    margin-left: auto;
    border: none;
    background: transparent;
    color: var(--cnp-text);
    width: 42px;
    height: 42px;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    box-sizing: border-box;
    z-index: 2;
}

.cnp-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: currentColor;
    border-radius: 2px;
    margin: 4px 0;
    transition: all 0.2s ease;
}

/* 11. КНОПКА «НАВЕРХ» (ДИНАМИЧЕСКАЯ АДАПТАЦИЯ ВЫСОТЫ) */
.cnp-backtop {
    position: fixed !important;
    bottom: var(--cnp-backtop-bottom, 24px) !important;
    z-index: 999998 !important;
    width: 46px !important;
    height: 46px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    background: var(--cnp-backtop-bg, #7D0000) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(12px) !important;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, bottom 0.25s ease !important;
    pointer-events: none !important;
}

.cnp-backtop.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.cnp-backtop:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

.cnp-backtop-right { right: 24px !important; left: auto !important; }
.cnp-backtop-left  { left: 24px !important; right: auto !important; }

/* ==========================================================================
   12. МОБИЛЬНЫЙ ФУТЕР-БАР (ФИРМЕННЫЙ СТИЛЬ SEIKEN)
   ========================================================================== */
.cnp-footer-bar {
    display: flex;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(560px, calc(100% - 24px));
    z-index: 999997;
    justify-content: space-around;
    gap: 6px;
    padding: 8px 12px;
    background: var(--cnp-footer-bg, #ffffff);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
}

/* Скрываем на Desktop, если активна опция «Только на мобильных / планшетах» */
@media (min-width: 769px) {
    .cnp-footer-bar.cnp-footer-mobile-only {
        display: none !important;
    }
}

.cnp-footer-bar a {
    display: flex;
    flex: 1;
    min-width: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: var(--cnp-footer-text, #1e293b);
    text-align: center;
    border-radius: 14px;
    padding: 6px 4px;
    transition: all 0.2s ease;
}

.cnp-footer-bar a:hover,
.cnp-footer-bar a:focus {
    background: rgba(125, 0, 0, 0.08);
    color: var(--cnp-active, #7D0000);
    transform: translateY(-2px);
}

.cnp-footer-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 15px;
    color: var(--cnp-footer-icon-color, #ffffff);
    background: var(--cnp-footer-icon-bg, #7D0000);
    box-shadow: 0 4px 12px rgba(125, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cnp-footer-bar a:hover .cnp-footer-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(125, 0, 0, 0.4);
}

.cnp-footer-bar small {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    display: block;
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

/* 13. БЛОК COOKIE (ФИРМЕННЫЙ СТИЛЬ SEIKEN RED) */
.cnp-cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 540px;
    margin: 0 auto;
    z-index: 999999;
    padding: 18px 24px;
    background: var(--cnp-cookie-bg, #ffffff);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    color: var(--cnp-cookie-text, #1e293b);
    font-size: 13.5px;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    text-align: center;
}

.cnp-cookie-notice.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cnp-cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.cnp-cookie-icon {
    font-size: 32px;
    color: #f59e0b;
    margin-bottom: 2px;
}

.cnp-cookie-text {
    line-height: 1.5;
    font-size: 13px;
}

.cnp-cookie-text a {
    color: #7D0000;
    text-decoration: underline;
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

.cnp-cookie-btn {
    width: 100%;
    max-width: 320px;
    min-height: 44px;
    padding: 10px 24px;
    background: var(--cnp-cookie-btn-bg, #7D0000);
    color: var(--cnp-cookie-btn-text, #ffffff) !important;
    border: none;
    border-radius: 99px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(125, 0, 0, 0.35);
    transition: transform 0.15s ease, opacity 0.15s ease;
    box-sizing: border-box;
    text-align: center;
}

.cnp-cookie-btn:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

/* 14. МОБИЛЬНАЯ АДАПТАЦИЯ ДЛЯ FINANCIO */
@media (max-width: 1024px) {
    .cnp-shell {
        margin: 0 12px;
        padding: 6px 16px;
    }
    .cnp-menu a {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    .cnp-cta {
        padding: 5px 10px;
        font-size: 0.76rem;
    }
}

@media (max-width: 768px) {
    .cnp-header {
        top: 0 !important;
        position: fixed !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .cnp-topbar {
        display: none !important;
    }

    .cnp-shell {
        height: auto !important;
        min-height: var(--cnp-mobile-height, 48px) !important;
        padding: 6px 14px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        box-sizing: border-box !important;
    }

    .cnp-toggle {
        display: block !important;
    }

    .cnp-navigation {
        display: none !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 100% !important;
        width: 100% !important;
        max-width: 100vw !important;
        padding: 16px !important;
        background: color-mix(in srgb, var(--cnp-bg) 96%, transparent) !important;
        backdrop-filter: blur(28px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
        border: none !important;
        border-bottom: 2px solid rgba(125, 0, 0, 0.2) !important;
        border-radius: 0 0 20px 20px !important;
        box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        box-sizing: border-box !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .cnp-navigation.is-open {
        display: flex !important;
        animation: cnpMobileSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    @keyframes cnpMobileSlide {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .cnp-menu {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .cnp-menu a {
        display: block !important;
        padding: 10px 14px !important;
        font-size: 0.92rem !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }

    .cnp-menu .sub-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        background: rgba(0, 0, 0, 0.04) !important;
        padding: 4px 8px !important;
        margin: 4px 0 4px 10px !important;
        border-radius: 8px !important;
    }

    .cnp-custom-links {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin: 8px 0 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .cnp-cta {
        display: flex !important;
        justify-content: center !important;
        padding: 11px 16px !important;
        font-size: 0.88rem !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .cnp-cookie-notice {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        padding: 14px 16px !important;
        border-radius: 20px !important;
    }

    .cnp-cookie-btn {
        width: 100% !important;
        max-width: 100% !important;
    }
}
