/* ===================================================================
   B2BY THEME INTEGRATION - СВЕТЛАЯ ТЕМА (LIGHT THEME)
   Белая шапка, оригинальный логотип, светлый Hero, чистый футер
   =================================================================== */

/* ─── НЕЙТРАЛИЗАЦИЯ И СБРОС (СВЕТЛЫЙ ФОН) ─── */
.site-header-main,
header.header-1,
header.header-2,
header.header-3,
header.header-4,
header.header-5,
header {
    background: #ffffff !important;
    border: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.site-header,
header {
    border-color: transparent !important;
    border-top: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-left: none !important;
    border-right: none !important;
}

.header-image img,
.site-logo,
.wp-block-site-logo {
    filter: none !important;
    -webkit-filter: none !important;
}

/* ─── СТИЛИЗАЦИЯ ШАПКИ (БЕЛАЯ СВЕТЛАЯ ШАПКА) ─── */
header.header-1 {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    padding: 12px 0 !important;
    position: relative;
    z-index: 100;
}

header.header-1.sticky-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Логотип — натуральные цвета без инверсии */
header .logo {
    display: inline-flex !important;
    align-items: center !important;
}
header .logo img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    max-height: 48px !important;
    width: auto !important;
    transition: opacity 0.2s;
    background: transparent !important;
}
header .logo:hover img {
    opacity: 0.9;
}

/* Навигация — темный текст на светлом фоне */
header .navigation a,
header .navigation .menu-item a {
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: color 0.2s !important;
}
header .navigation a:hover,
header .navigation .menu-item a:hover,
header .navigation .current-menu-item a {
    color: #2563eb !important;
}

/* Иконки (вход, сравнение, гамбургер) */
header .special-nav .account-btn,
header .special-nav .navigation-trigger,
header .special-nav .compare-open {
    color: #475569 !important;
    transition: color 0.2s, background 0.2s !important;
}
header .special-nav .account-btn:hover,
header .special-nav .navigation-trigger:hover,
header .special-nav .compare-open:hover {
    color: #0f172a !important;
}

/* Кнопка «Подать объявление» — фирменный синий стиль */
header .submit-btn-wrap,
header .submit-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    transition: all 0.25s !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}
header .submit-btn-wrap:hover,
header .submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4) !important;
    transform: translateY(-1px);
}
header .submit-btn-wrap i,
header .submit-btn i {
    color: #ffffff !important;
}

/* ─── УБИРАЕМ ГЛАВНЫЙ ЗАЗОР main { margin: 100px } ─── */
body.home main,
body.page-template-page-tpl_home main,
body.page-template-page-tpl_home-php main {
    margin: 0 !important;
    padding: 0 !important;
}

/* Убираем старый отступ KingComposer */
body.kc-css-system .kc-css-90072 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ─── СТИЛИЗАЦИЯ ФУТЕРА (СВЕТЛЫЙ СТИЛЬ) ─── */
footer {
    background: #f8fafc !important;
    color: #475569 !important;
    border-top: 1px solid #e2e8f0 !important;
}

/* Подписка */
footer .subscription-footer {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
footer .subscription-footer h3,
footer .subscription-footer h4,
footer .subscription-footer .flex-left * {
    color: #1e3a8a !important;
}
footer .subscription-footer input[type="email"],
footer .subscription-footer input[type="text"] {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
}
footer .subscription-footer input[type="email"]:focus,
footer .subscription-footer input[type="text"]:focus {
    border-color: #2563eb !important;
    outline: none !important;
}
footer .subscription-footer button,
footer .subscription-footer input[type="submit"] {
    background: #2563eb !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background 0.2s !important;
}
footer .subscription-footer button:hover,
footer .subscription-footer input[type="submit"]:hover {
    background: #1d4ed8 !important;
}

/* Виджеты футера */
footer .bottom-sidebar-wrap {
    background: #f8fafc !important;
    padding: 50px 0 30px 0 !important;
}
footer .bottom-sidebar-wrap .widget-title,
footer .bottom-sidebar-wrap h3,
footer .bottom-sidebar-wrap h4 {
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
}
footer .bottom-sidebar-wrap,
footer .bottom-sidebar-wrap p,
footer .bottom-sidebar-wrap li,
footer .bottom-sidebar-wrap a,
footer .bottom-sidebar-wrap .textwidget,
footer .bottom-sidebar-wrap span {
    color: #64748b !important;
    font-size: 14px !important;
}
footer .bottom-sidebar-wrap a:hover {
    color: #2563eb !important;
}
footer .bottom-sidebar-wrap ul {
    list-style: none !important;
    padding: 0 !important;
}
footer .bottom-sidebar-wrap li {
    padding: 5px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Копирайт */
footer .copyrights {
    background: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 20px 0 !important;
}
footer .copyrights,
footer .copyrights a,
footer .copyrights span,
footer .copyrights p {
    color: #64748b !important;
    font-size: 13px !important;
}
footer .copyrights a:hover {
    color: #2563eb !important;
}

/* Соцсети */
footer .copyrights .social-icons a,
footer .social-icons a {
    color: #64748b !important;
    transition: color 0.2s !important;
}
footer .copyrights .social-icons a:hover,
footer .social-icons a:hover {
    color: #2563eb !important;
}

/* ─── ГЛОБАЛЬНАЯ КОРРЕКЦИЯ ССЫЛОК ─── */
body a {
    color: inherit;
}

/* ─── WP ADMIN BAR (ЯРКИЙ ЖЕЛТЫЙ ЦВЕТ ДЛЯ ТРЕНИРОВОЧНОГО САЙТА) ─── */
body.admin-bar header.sticky-nav {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar header.sticky-nav {
        top: 46px !important;
    }
}

#wpadminbar {
    background: #e69500 !important;
    border-bottom: 2px solid #b37400 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}
#wpadminbar .ab-item,
#wpadminbar a.ab-item,
#wpadminbar > #wp-toolbar span.ab-label,
#wpadminbar > #wp-toolbar span.noticon {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item {
    background: #cc8400 !important;
    color: #ffffff !important;
}
#wpadminbar #wp-admin-bar-site-name > .ab-item::after {
    content: " ⚠️ ТРЕНИРОВОЧНЫЙ САЙТ (STAGING)";
    background: #b36b00;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ─── КНОПКА "НАВЕРХ" ─── */
.to_top {
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}
.to_top:hover {
    background: #1d4ed8 !important;
}

/* ─── МОДАЛЬНЫЕ ОКНА (вход / регистрация) ─── */
.modal-content {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

/* ===================================================================
   B2BY CORE STYLES - "Мой офис", Кошелек и Геймификация
   =================================================================== */

.b2by-dashboard-wrapper,
.b2by-wallet-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1e293b;
    margin: 20px 0;
}

/* Верхний баннер со статусом и балансом */
.b2by-header-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 16px;
    padding: 28px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
}

.b2by-header-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.b2by-rank-icon {
    font-size: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.b2by-rank-badge {
    display: inline-block;
    background: #fbbf24;
    color: #78350f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 6px;
}

.b2by-office-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.b2by-perks-text {
    margin: 0;
    font-size: 14px;
    color: #e0e7ff;
}

.b2by-wallet-summary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 16px 24px;
    text-align: right;
    min-width: 180px;
}

.b2by-wallet-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #cbd5e1;
}

.b2by-wallet-amount {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0;
}

.b2by-wallet-amount small {
    font-size: 16px;
    color: #93c5fd;
}

.b2by-currency-title {
    display: block;
    font-size: 12px;
    color: #93c5fd;
}

/* Прогресс-бар */
.b2by-progress-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 24px;
    margin-top: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.b2by-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
}

.b2by-progress-pct {
    font-weight: 700;
    color: #2563eb;
}

.b2by-progress-bar {
    width: 100%;
    height: 10px;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
}

.b2by-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    border-radius: 9999px;
    transition: width 0.5s ease;
}

/* Заголовок секции */
.b2by-section-title {
    margin: 36px 0 20px 0;
}

.b2by-section-title h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.b2by-section-title p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* Сетка карточек улучшений "Собери офис" */
.b2by-office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

.b2by-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b2by-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
}

.b2by-item-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.b2by-item-icon {
    font-size: 32px;
    width: 52px;
    height: 52px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2by-item-meta h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.b2by-level-tag {
    font-size: 11px;
    font-weight: 600;
    color: #2563eb;
    background: #dbeafe;
    padding: 2px 8px;
    border-radius: 6px;
}

.b2by-item-current {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 14px;
}

.b2by-subheading {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 4px;
}

.b2by-current-name {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
}

.b2by-current-bonus {
    font-size: 13px;
    color: #059669;
    margin: 4px 0 0 0;
}

.b2by-item-next {
    border-top: 1px dashed #cbd5e1;
    padding-top: 14px;
    margin-top: auto;
}

.b2by-next-name {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
}

.b2by-next-bonus {
    font-size: 12px;
    color: #475569;
    margin: 4px 0 14px 0;
}

.b2by-item-maxed {
    text-align: center;
    padding: 14px;
    background: #ecfdf5;
    border-radius: 10px;
    color: #065f46;
    font-weight: 700;
    font-size: 13px;
}

/* Кнопки */
.b2by-btn {
    display: block;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.b2by-btn-upgrade {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
}

.b2by-btn-upgrade:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.b2by-btn-primary {
    background: #10b981;
    color: #ffffff;
}

.b2by-btn-primary:hover {
    background: #059669;
}

/* Кошелек */
.b2by-wallet-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .b2by-wallet-grid-top {
        grid-template-columns: 1fr;
    }
}

.b2by-balance-card,
.b2by-transfer-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.b2by-card-tag {
    font-size: 12px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
}

.b2by-wallet-bignum {
    font-size: 40px;
    font-weight: 900;
    color: #0f172a;
    margin: 8px 0;
}

.b2by-wallet-bignum span {
    font-size: 22px;
    color: #2563eb;
}

.b2by-wallet-equiv {
    font-size: 14px;
    font-weight: 600;
    color: #059669;
    margin: 0 0 10px 0;
}

.b2by-wallet-note {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Форма перевода */
.b2by-form-group {
    margin-bottom: 14px;
}

.b2by-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.b2by-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.b2by-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Таблица транзакций */
.b2by-table-responsive {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.b2by-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.b2by-table th {
    background: #f8fafc;
    padding: 14px 18px;
    font-weight: 700;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.b2by-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
}

.b2by-badge-type {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.b2by-credit {
    background: #dcfce7;
    color: #15803d;
}

.b2by-debit {
    background: #fee2e2;
    color: #b91c1c;
}

.b2by-amount-green {
    font-weight: 700;
    color: #16a34a;
}

.b2by-amount-red {
    font-weight: 700;
    color: #dc2626;
}

/* Бейдж в шапке сайта */
.b2by-header-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
}

.b2by-chip-rank {
    color: #1e293b;
}

.b2by-chip-balance {
    color: #2563eb;
    background: #ffffff;
    padding: 2px 8px;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ===================================================================
   /* MODERN HOMEPAGE STYLES (Редизайн главной страницы) */

/* Контейнер на полную ширину для hero, с ограничением для остального */
.b2by-home-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #0f172a;
}

.b2by-home-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO SECTION — СВЕТЛЫЙ ДЕЛОВОЙ СТИЛЬ */
.b2by-hero {
    position: relative;
    background: radial-gradient(120% 120% at 50% 0%, #f0f7ff 0%, #f8fafc 60%, #ffffff 100%);
    border-radius: 0;
    padding: 70px 40px 75px 40px;
    margin: 0;
    overflow: hidden;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.b2by-hero::after {
    display: none;
}

.b2by-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
}
.b2by-glow-1 {
    background: #93c5fd;
    opacity: 0.45;
    top: -150px;
    right: -80px;
}
.b2by-glow-2 {
    background: #6ee7b7;
    opacity: 0.35;
    bottom: -200px;
    left: -80px;
}

.b2by-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.b2by-hero-badge {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e40af;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.b2by-hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 20px 0;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.b2by-highlight {
    background: linear-gradient(135deg, #2563eb 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.b2by-hero-subtitle {
    font-size: 17px;
    line-height: 1.65;
    color: #475569;
    margin: 0 auto 40px auto;
    max-width: 700px;
}

.b2by-hero-subtitle strong {
    color: #0f172a;
    font-weight: 700;
}

/* SEARCH BOX — БЕЛЫЙ КАРТОЧНЫЙ СТИЛЬ */
.b2by-search-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.09);
    border-radius: 20px;
    padding: 10px;
    max-width: 760px;
    margin: 0 auto 40px auto;
}

.b2by-search-form {
    display: flex;
    gap: 8px;
}

.b2by-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0 16px;
    transition: border-color 0.2s;
}

.b2by-search-input-wrap:focus-within {
    border-color: #2563eb;
    background: #ffffff;
}

.b2by-search-icon {
    font-size: 18px;
    margin-right: 10px;
}

.b2by-search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 16px 0;
    font-size: 15px;
    outline: none;
    color: #0f172a;
}

.b2by-search-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 0 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.b2by-search-btn:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

.b2by-quick-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 10px 6px 10px;
}

.b2by-qf-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.b2by-tag {
    font-size: 12px;
    background: #f1f5f9;
    color: #475569;
    padding: 5px 14px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.b2by-tag:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* HERO STATS */
.b2by-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding-top: 16px;
}

.b2by-stat-item {
    text-align: center;
}

.b2by-stat-val {
    font-size: 24px;
    font-weight: 900;
    color: #2563eb;
}

.b2by-stat-lbl {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.b2by-stat-divider {
    width: 1px;
    height: 36px;
    background: #cbd5e1;
}

/* ПЕРЕХОД HERO → КОНТЕНТ */
.b2by-hero-transition {
    height: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    margin: 0;
}

/* СЕКЦИИ И КАРТОЧКИ ПРЕИМУЩЕСТВ */
.b2by-section {
    margin: 0;
    padding: 60px 20px;
}

.b2by-section:nth-child(odd) {
    background: #ffffff;
}
.b2by-section:nth-child(even) {
    background: #f8fafc;
}

/* Геймификация — свой стиль */
.b2by-section.b2by-game-promo {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
    padding: 60px 20px;
}

.b2by-section-head {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.b2by-sub {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: 1.5px;
}

.b2by-section-head h2 {
    font-size: 34px;
    font-weight: 900;
    color: #0f172a;
    margin: 10px 0 12px 0;
    letter-spacing: -0.3px;
}

.b2by-section-head p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.b2by-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.b2by-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    transition: all 0.3s ease;
}

.b2by-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.b2by-card-featured {
    border-color: #3b82f6;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.b2by-feat-badge {
    position: absolute;
    top: 18px;
    right: 20px;
    background: #10b981;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 9999px;
}

.b2by-feat-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.b2by-feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.b2by-feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
}

.b2by-feat-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 8px;
}

.b2by-tag-accent {
    background: #dcfce7;
    color: #15803d;
}

/* ПРОМО ИГРЫ "ПОСТРОЙ ОФИС" (СТИЛЬНАЯ КАРТОЧКА НА СВЕТЛОМ ФОНЕ) */
.b2by-section.b2by-game-section {
    background: #ffffff;
    padding: 20px 20px 60px 20px;
}

.b2by-game-promo-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 50px 44px;
    color: #ffffff;
    max-width: 1240px;
    margin: 0 auto;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18);
}

.b2by-game-promo-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
}

.b2by-game-tag {
    display: inline-block;
    background: #fbbf24;
    color: #78350f;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 14px;
}

.b2by-game-text h2 {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 14px 0;
}

.b2by-game-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.b2by-game-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 700;
    color: #e0e7ff;
}

.b2by-gstep {
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    border-radius: 8px;
}

.b2by-gstep-vip {
    background: #f59e0b;
    color: #78350f;
}

.b2by-btn-hero {
    display: inline-block;
    background: #10b981;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
}

.b2by-btn-hero:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.35);
}

.b2by-visual-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 28px;
}

.b2by-vc-header {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 14px;
}

.b2by-vc-coins {
    color: #fbbf24;
}

.b2by-vc-office-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.b2by-vc-item {
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.b2by-vc-perk {
    font-size: 12px;
    color: #86efac;
    font-weight: 700;
}

/* КАРТОЧКИ ОБЪЯВЛЕНИЙ КАТАЛОГА */
.b2by-ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.b2by-ad-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.b2by-ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.b2by-ad-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.b2by-ad-cat {
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.b2by-ad-collab-badge,
.b2by-ad-barter-badge {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: #dcfce7;
    padding: 3px 8px;
    border-radius: 6px;
}

.b2by-ad-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.b2by-ad-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.b2by-ad-title a:hover {
    color: #2563eb;
}

.b2by-ad-snippet {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 18px 0;
    flex-grow: 1;
}

.b2by-ad-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: auto;
}

.b2by-ad-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.b2by-ad-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2by-ad-author-meta {
    display: flex;
    flex-direction: column;
}

.b2by-author-name {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.b2by-author-loc {
    font-size: 11px;
    color: #94a3b8;
}

.b2by-price-byn {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
}

.b2by-price-byn small {
    font-size: 12px;
    color: #64748b;
}

.b2by-price-contract {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

.b2by-all-ads-action {
    text-align: center;
    margin-top: 40px;
}

.b2by-btn-more {
    display: inline-block;
    background: #ffffff;
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s;
}

.b2by-btn-more:hover {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

/* МОБИЛЬНАЯ АДАПТАЦИЯ */
@media (max-width: 1024px) {
    .b2by-features-grid,
    .b2by-ads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .b2by-features-grid,
    .b2by-ads-grid {
        grid-template-columns: 1fr;
    }
    .b2by-game-promo-inner {
        grid-template-columns: 1fr;
    }
    .b2by-hero {
        padding: 50px 20px 60px 20px;
    }
    .b2by-hero-title {
        font-size: 30px;
    }
    .b2by-hero-subtitle {
        font-size: 15px;
    }
    .b2by-search-form {
        flex-direction: column;
    }
    .b2by-search-btn {
        padding: 14px;
    }
    .b2by-hero-stats {
        flex-direction: column;
        gap: 14px;
    }
    .b2by-stat-divider {
        display: none;
    }
    .b2by-section {
        padding: 40px 16px;
    }
    .b2by-section-head h2 {
        font-size: 26px;
    }
    .b2by-game-promo {
        padding: 40px 20px;
    }
    .b2by-game-text h2 {
        font-size: 26px;
    }
    .b2by-hero-transition {
        height: 50px;
    }

    /* Навигация мобильная */
    header .navigation-wrap {
        background: #0f172a !important;
    }
    header .navigation-wrap .navigation a {
        color: #cbd5e1 !important;
        border-color: rgba(255, 255, 255, 0.06) !important;
    }
}

/* ===================================================================
   B2BY КАТАЛОГ ОБЪЯВЛЕНИЙ (ГАРАНТИРОВАННАЯ ВИДИМОСТЬ КАРТОЧЕК)
   =================================================================== */
.af-listing-card .af-item-wrap {
    min-height: 250px;
    margin-bottom: 30px;
}
.af-listing-card .advert-card {
    min-height: 250px !important;
    position: relative !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #1e293b !important;
}
.af-listing-card .advert-card .advert-media {
    min-height: 250px !important;
    display: block !important;
    position: relative !important;
}
.af-listing-card .advert-card .advert-media img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
}

/* ===================================================================
   B2BY ANTI-ADBLOCK PROTECTION (Защита карточек от блокировщиков)
   =================================================================== */
.b2by-ad-item {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 30px !important;
}
.b2by-ad-card {
    min-height: 250px !important;
    position: relative !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #1e293b !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 30px !important;
}
.b2by-ad-media {
    min-height: 250px !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.b2by-ad-media img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform 0.3s ease-in-out !important;
}
.b2by-ad-card:hover .b2by-ad-media img {
    transform: scale(1.03) !important;
}
.b2by-ad-media:before {
    content: ' ';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #0f172a;
    opacity: 0.35;
    transition: opacity 0.3s ease;
}
.b2by-ad-card:hover .b2by-ad-media:before {
    opacity: 0.55;
}
.b2by-top-meta {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 12px 18px !important;
    z-index: 2 !important;
    display: flex !important;
    justify-content: space-between !important;
    visibility: visible !important;
    opacity: 0.9 !important;
}
.b2by-top-meta a, .b2by-top-meta span, .b2by-top-meta div {
    color: #ffffff !important;
    font-size: 12px !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6) !important;
}
.b2by-bottom-card {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 14px 18px !important;
    z-index: 2 !important;
    display: block !important;
    visibility: visible !important;
}
.b2by-ad-title a {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7) !important;
    display: block !important;
    margin-bottom: 6px !important;
}
.b2by-bottom-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    visibility: visible !important;
}
.b2by-bottom-meta .price {
    color: #38bdf8 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
}

/* ===================================================================
   5. B2BY DEALS & COLLABORATIONS (MVP МОДУЛЬ СДЕЛОК И ЗАЯВОК)
   =================================================================== */

/* Блок предложения сделки на странице объявления */
.b2by-deal-advert-box {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
    margin: 25px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}
.b2by-deal-advert-box:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}
.b2by-deal-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.b2by-deal-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: #1e40af;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}
.b2by-deal-badge-icon {
    font-size: 16px;
}
.b2by-deal-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #059669;
    font-size: 13px;
    font-weight: 600;
    background: #ecfdf5;
    padding: 5px 12px;
    border-radius: 16px;
}
.b2by-deal-box-desc {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.b2by-deal-own-notice {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
}
.b2by-deal-own-notice a {
    color: #2563eb;
    font-weight: 600;
}

/* Модальное окно сделки */
body.b2by-modal-open {
    overflow: hidden;
}
.b2by-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.b2by-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: b2byPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes b2byPopIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.b2by-modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}
.b2by-modal-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}
.b2by-modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
}
.b2by-modal-close:hover {
    color: #0f172a;
}
.b2by-modal-body {
    padding: 22px 24px;
    overflow-y: auto;
}
.b2by-deal-target-info {
    background: #f1f5f9;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #1e293b;
}
.b2by-target-label {
    color: #64748b;
    margin-right: 6px;
}
.b2by-target-price {
    color: #059669;
    margin-left: 8px;
    font-weight: 600;
}
.b2by-deal-type-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.b2by-radio-card {
    display: flex;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    margin: 0;
}
.b2by-radio-card input {
    margin-top: 4px;
    margin-right: 12px;
}
.b2by-radio-card:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}
.b2by-radio-card input:checked ~ .b2by-radio-box strong {
    color: #1d4ed8;
}
.b2by-radio-box strong {
    display: block;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 2px;
}
.b2by-radio-box small {
    display: block;
    color: #64748b;
    font-size: 12px;
}
.b2by-form-row {
    display: flex;
    gap: 14px;
}
.b2by-col-6 {
    flex: 1;
}
.b2by-required {
    color: #ef4444;
}
.b2by-deal-info-note {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 14px;
}
.b2by-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #f8fafc;
}

/* Интерфейс управления сделками [b2by_deals] */
.b2by-deals-wrapper {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
}
.b2by-deals-header {
    margin-bottom: 24px;
}
.b2by-deals-header h2 {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}
.b2by-deals-header p {
    color: #64748b;
    margin: 0;
    font-size: 14px;
}
.b2by-deals-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}
.b2by-tab-btn {
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.b2by-tab-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}
.b2by-tab-btn.active {
    color: #1d4ed8;
    background: #eff6ff;
}
.b2by-empty-box {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
}
.b2by-empty-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}
.b2by-empty-box p {
    color: #64748b;
    font-size: 14px;
    max-width: 450px;
    margin: 0 auto;
}
.b2by-deals-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.b2by-deal-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}
.b2by-deal-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.b2by-deal-card.status-in-progress {
    border-left: 5px solid #3b82f6;
}
.b2by-deal-card.status-completed {
    border-left: 5px solid #10b981;
}
.b2by-deal-card.status-cancelled {
    border-left: 5px solid #ef4444;
    opacity: 0.75;
}
.b2by-deal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}
.b2by-deal-num {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.b2by-deal-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}
.b2by-deal-card-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}
.b2by-type-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
.b2by-status-pill {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}
.b2by-status-pill.status-new {
    background: #fef3c7;
    color: #92400e;
}
.b2by-status-pill.status-in-progress {
    background: #dbeafe;
    color: #1e40af;
}
.b2by-status-pill.status-completed {
    background: #dcfce7;
    color: #166534;
}
.b2by-status-pill.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}
.b2by-deal-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
}
.b2by-meta-caption {
    color: #64748b;
    display: block;
    font-size: 11px;
    margin-bottom: 2px;
}
.b2by-meta-price {
    color: #059669;
    font-size: 15px;
}
.b2by-deal-desc-block {
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 14px;
}
.b2by-deal-desc-block p {
    margin: 4px 0 0 0;
    background: #ffffff;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.b2by-deal-card-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}
.b2by-btn-sm {
    padding: 7px 14px;
    font-size: 13px;
}
.b2by-btn-success {
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}
.b2by-btn-success:hover {
    background: #059669;
}
.b2by-btn-danger {
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}
.b2by-btn-danger:hover {
    background: #dc2626;
}
.b2by-info-pill {
    font-size: 13px;
    color: #2563eb;
    background: #eff6ff;
    padding: 6px 12px;
    border-radius: 6px;
}
.b2by-success-pill {
    font-size: 13px;
    color: #059669;
    font-weight: 600;
}
.b2by-danger-pill {
    font-size: 13px;
    color: #dc2626;
    font-weight: 600;
}

/* Быстрая навигационная плашка сделок в личном кабинете */
.b2by-quick-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    padding: 14px 20px;
    border-radius: 12px;
    margin: 20px 0;
    gap: 15px;
    flex-wrap: wrap;
}
.b2by-quick-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.b2by-quick-icon {
    font-size: 24px;
}
.b2by-quick-info strong {
    color: #166534;
    font-size: 14px;
    display: block;
}
.b2by-quick-info span {
    color: #15803d;
    font-size: 13px;
}






/* ===================================================================
   HIVEPRESS COMPACT CARDS & MODERN CLEAN STYLING
   =================================================================== */

.hp-grid__item {
    margin-bottom: 24px !important;
}

.hp-listing--view-block {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.hp-listing--view-block:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

/* Компактный аккуратный блок превью / изображения */
.hp-listing--view-block .hp-listing__header {
    background: #f8fafc !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}

.hp-listing--view-block .hp-listing__image {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: auto !important; /* переопределяем JS 4:3 для растягивания на всю ширину карточки */
    height: 190px !important;
    max-height: 190px !important;
    min-height: 190px !important;
    overflow: hidden !important;
    display: block !important;
    position: relative !important;
    background: #f1f5f9 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hp-listing--view-block .hp-listing__image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hp-listing--view-block .hp-listing__image img {
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    transition: transform 0.35s ease !important;
}

.hp-listing--view-block:hover .hp-listing__image img {
    transform: scale(1.05) !important;
}

/* Контентная часть карточки */
.hp-listing--view-block .hp-listing__content {
    padding: 16px 18px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.hp-listing--view-block .hp-listing__categories {
    margin-bottom: 8px !important;
}

.hp-listing--view-block .hp-listing__categories a {
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: 700 !important;
    color: #0369a1 !important;
    background: #e0f2fe !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.hp-listing--view-block .hp-listing__categories a:hover {
    background: #bae6fd !important;
}

.hp-listing--view-block .hp-listing__title {
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.8rem !important;
}

.hp-listing--view-block .hp-listing__title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.hp-listing--view-block .hp-listing__title a:hover {
    color: #2563eb !important;
}

.hp-listing--view-block .hp-listing__details {
    font-size: 0.82rem !important;
    color: #64748b !important;
    margin-top: auto !important;
}

/* Нижний блок с ценой и кнопками действий */
.hp-listing--view-block .hp-listing__footer {
    padding: 12px 18px !important;
    background: #fafbfc !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.hp-listing--view-block .hp-listing__attribute--price {
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    color: #0f172a !important;
}

.hp-listing--view-block .hp-listing__actions a {
    color: #94a3b8 !important;
    font-size: 0.95rem !important;
    margin-left: 10px !important;
    transition: color 0.15s ease !important;
}

.hp-listing--view-block .hp-listing__actions a:hover {
    color: #2563eb !important;
}


/* ===================================================================
   B2BY CONTACTS PAGE STYLING
   =================================================================== */

.b2by-contacts-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 20px 0 50px 0;
}

.b2by-contacts-hero {
    text-align: center;
    margin-bottom: 40px;
}

.b2by-contacts-tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.b2by-contacts-hero h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px 0;
}

.b2by-contacts-hero p {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Сетка карточек контактов */
.b2by-contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

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

.b2by-ccard {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b2by-ccard:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.b2by-ccard-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.b2by-ccard h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.b2by-ccard-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 16px 0;
}

.b2by-ccard-val {
    margin-bottom: 16px;
}

.b2by-cphone {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2563eb !important;
    text-decoration: none !important;
}

.b2by-cphone:hover {
    color: #1d4ed8 !important;
}

.b2by-cemail {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a !important;
    text-decoration: none !important;
}

.b2by-cemail:hover {
    color: #2563eb !important;
}

.b2by-ccard-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: auto;
}

.b2by-cbtn {
    flex: 1;
    display: inline-block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.2s ease;
}

.b2by-cbtn-call {
    background: #2563eb;
    color: #ffffff !important;
}

.b2by-cbtn-call:hover {
    background: #1d4ed8;
}

.b2by-cbtn-viber {
    background: #7360f2;
    color: #ffffff !important;
}

.b2by-cbtn-viber:hover {
    background: #5d48e0;
}

.b2by-cbtn-mail {
    background: #0f172a;
    color: #ffffff !important;
}

.b2by-cbtn-mail:hover {
    background: #1e293b;
}

.b2by-ccard-schedule {
    font-size: 0.92rem;
    color: #1e293b;
    margin-bottom: 12px;
}

.b2by-cbadge-online {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 6px;
}

.b2by-ccard-geo {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: auto;
}

/* Форма обратной связи */
.b2by-cform-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.b2by-cform-head {
    text-align: center;
    margin-bottom: 28px;
}

.b2by-cform-head h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.b2by-cform-head p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.b2by-cform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

@media (max-width: 640px) {
    .b2by-cform-row {
        grid-template-columns: 1fr;
    }
}

.b2by-cform-group,
.b2by-cform-col {
    margin-bottom: 18px;
    text-align: left;
}

.b2by-cform-group label,
.b2by-cform-col label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.b2by-cform input[type="text"],
.b2by-cform input[type="email"],
.b2by-cform textarea {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    color: #0f172a !important;
    background: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.b2by-cform input:focus,
.b2by-cform textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
    outline: none !important;
}

.b2by-cform-submit {
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 13px 32px !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.1s ease !important;
    display: block;
    width: 100%;
}

.b2by-cform-submit:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px);
}

/* ===================================================================
   9. HIVEPRESS CATEGORIES STYLING (PAGE 363 & SHORTCODES)
   =================================================================== */

.b2by-categories-header {
    text-align: center;
    margin-bottom: 35px;
    padding-top: 10px;
}

.b2by-cat-title {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.02em;
}

.b2by-cat-subtitle {
    font-size: 1.1rem !important;
    color: #64748b !important;
    max-width: 650px;
    margin: 0 auto !important;
    line-height: 1.5;
}

.hp-listing-category--view-block {
    position: relative !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #0f172a !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin-bottom: 24px !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.hp-listing-category--view-block:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16) !important;
}

.hp-listing-category--view-block .hp-listing-category__header {
    position: relative !important;
    margin-bottom: 0 !important;
}

.hp-listing-category--view-block .hp-listing-category__image {
    height: 190px !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.hp-listing-category--view-block .hp-listing-category__image img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    transition: transform 0.4s ease !important;
}

.hp-listing-category--view-block:hover .hp-listing-category__image img {
    transform: scale(1.08) !important;
}

.hp-listing-category--view-block .hp-listing-category__image a::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.35) 50%, rgba(15, 23, 42, 0.88) 100%) !important;
    transition: opacity 0.3s ease !important;
}

.hp-listing-category--view-block:hover .hp-listing-category__image a::after {
    opacity: 0.95 !important;
}

.hp-listing-category--view-block .hp-listing-category__content {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 16px 18px !important;
    z-index: 2 !important;
    pointer-events: none;
}

.hp-listing-category--view-block .hp-listing-category__content a {
    pointer-events: auto;
}

.hp-listing-category--view-block .hp-listing-category__name {
    margin: 0 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.hp-listing-category--view-block .hp-listing-category__name a {
    color: #ffffff !important;
    text-decoration: none !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

.hp-listing-category--view-block .hp-listing-category__name a:hover {
    color: #38bdf8 !important;
}

.hp-listing-category--view-block .hp-listing-category__item-count {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 3 !important;
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    padding: 4px 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
}

/* ===================================================================
   10. PROFESSIONAL ARTICLE & BLOG STYLING (DIAGRAMS, CALLOUTS, TABLES)
   =================================================================== */

.entry-content,
.hp-page__content {
    line-height: 1.75;
    color: #334155;
    font-size: 1.05rem;
}

.entry-content h2,
.hp-page__content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.entry-content h3,
.hp-page__content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* Выделенные инфоблоки и цитаты */
.b2by-article-callout {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.b2by-article-callout.warning {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.b2by-article-callout.success {
    border-left-color: #10b981;
    background: #f0fdf4;
}

.b2by-article-callout-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}

/* Схемы и диаграммы процессов */
.b2by-diagram-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    margin: 30px 0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.b2by-diagram-header {
    text-align: center;
    margin-bottom: 22px;
}

.b2by-diagram-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.b2by-diagram-desc {
    font-size: 0.88rem;
    color: #64748b;
}

.b2by-flowchart {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    position: relative;
}

@media (max-width: 820px) {
    .b2by-flowchart {
        flex-direction: column;
    }
}

.b2by-flow-step {
    flex: 1;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 16px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.b2by-flow-step.active {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.b2by-step-badge {
    display: inline-block;
    align-self: flex-start;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.b2by-step-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.3;
}

.b2by-step-text {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

.b2by-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 820px) {
    .b2by-flow-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
    }
}

/* Профессиональные таблицы */
.b2by-table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.b2by-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.b2by-table th {
    background: #0f172a;
    color: #ffffff;
    padding: 14px 18px;
    font-weight: 700;
    border-bottom: 1px solid #334155;
}

.b2by-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.b2by-table tr:nth-child(even) td {
    background: #f8fafc;
}

.b2by-table tr:last-child td {
    border-bottom: none;
}

/* Чек-листы */
.b2by-checklist {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 20px 0 !important;
}

.b2by-checklist li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.b2by-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Блок призыва к действию (CTA) внизу статьи */
.b2by-cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 14px;
    padding: 30px;
    color: #ffffff;
    margin: 40px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

@media (max-width: 768px) {
    .b2by-cta-box {
        flex-direction: column;
        text-align: center;
    }
}

.b2by-cta-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.b2by-cta-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.45;
}

.b2by-cta-btn {
    display: inline-block;
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.1s ease;
}

.b2by-cta-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* ===================================================================
   11. B2BY TENDERS & REQUESTS (БИРЖА ЗАКАЗОВ)
   =================================================================== */

.b2by-tenders-wrap {
    margin: 30px 0;
}

.b2by-tenders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
    flex-wrap: wrap;
}

.b2by-tenders-title {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
}

.b2by-tenders-desc {
    color: #64748b !important;
    font-size: 1rem !important;
    margin: 0 !important;
}

.b2by-tenders-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

@media (max-width: 640px) {
    .b2by-tenders-list {
        grid-template-columns: 1fr;
    }
}

.b2by-tender-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.b2by-tender-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.b2by-tender-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.b2by-tender-cat {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 6px;
}

.b2by-tender-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: #16a34a;
}

.b2by-tender-name {
    font-size: 1.18rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.35 !important;
}

.b2by-tender-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 18px;
    flex-grow: 1;
}

.b2by-tender-meta {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.b2by-tender-meta-item {
    display: flex;
    flex-direction: column;
}

.b2by-meta-lbl {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.b2by-meta-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}

.b2by-budget-val {
    color: #0284c7;
    font-size: 0.98rem;
}

.b2by-tender-actions {
    display: flex;
    gap: 10px;
}

.b2by-btn-outline {
    background: transparent;
    color: #2563eb !important;
    border: 1.5px solid #2563eb !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    width: 100%;
    text-align: center;
}

.b2by-btn-outline:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Модальные окна */
.b2by-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.b2by-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.b2by-modal-dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 16px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin: auto;
}

.b2by-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 26px;
    line-height: 1;
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.b2by-modal-close:hover {
    color: #0f172a;
}

.b2by-modal-header {
    margin-bottom: 22px;
}

.b2by-modal-header h3 {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
}

.b2by-modal-header p {
    color: #64748b !important;
    font-size: 0.92rem !important;
    margin: 0 !important;
}

/* Кнопки действий в Hero */
.b2by-hero-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.b2by-btn-hero-primary {
    background: #2563eb !important;
    color: #ffffff !important;
    padding: 14px 28px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    transition: all 0.2s ease !important;
}

.b2by-btn-hero-primary:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45) !important;
}

.b2by-btn-hero-secondary {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 14px 26px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.b2by-btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

.b2by-btn-hero-accent {
    background: #16a34a !important;
    color: #ffffff !important;
    padding: 14px 28px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35) !important;
    transition: all 0.2s ease !important;
    display: inline-block;
}

.b2by-btn-hero-accent:hover {
    background: #15803d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.45) !important;
    color: #ffffff !important;
}

/* ===================================================================
   12. РОЛИ НА ПЛАТФОРМЕ: ЗАКАЗЧИК И ИСПОЛНИТЕЛЬ (БЕСПЛАТНАЯ РЕКЛАМА)
   =================================================================== */

.b2by-roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 25px 0 40px 0;
}

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

.b2by-role-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.b2by-role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

.b2by-role-customer {
    border-top: 4px solid #0284c7;
}

.b2by-role-vendor {
    border-top: 4px solid #16a34a;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.b2by-role-badge {
    display: inline-block;
    align-self: flex-start;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.b2by-role-badge-green {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.b2by-role-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.b2by-role-card h3 {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
}

.b2by-role-lead {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.b2by-role-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 26px 0 !important;
}

.b2by-role-list li {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.55;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.b2by-role-list li span {
    color: #16a34a;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.3;
}

.b2by-role-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.b2by-btn-green {
    display: inline-block;
    background: #16a34a !important;
    color: #ffffff !important;
    padding: 11px 22px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    transition: background 0.2s ease, transform 0.1s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.b2by-btn-green:hover {
    background: #15803d !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   B2BY Legal & Privacy Policy Styles
   ========================================================================== */

.b2by-policy-wrap {
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.75;
}

.b2by-policy-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 36px 32px;
    color: #ffffff;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
}

.b2by-policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93c5fd;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.b2by-policy-hero h1 {
    color: #ffffff !important;
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 0 12px 0 !important;
}

.b2by-policy-hero p {
    color: #cbd5e1 !important;
    font-size: 1.02rem !important;
    margin: 0 !important;
}

.b2by-policy-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.b2by-policy-card h2 {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 18px 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
}

.b2by-policy-card h2 .b2by-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.95rem;
    border-radius: 8px;
    font-weight: 800;
    flex-shrink: 0;
}

.b2by-policy-card h3 {
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 22px 0 10px 0 !important;
}

.b2by-policy-card p {
    margin-bottom: 16px !important;
    color: #475569 !important;
}

.b2by-policy-card ul, .b2by-policy-card ol {
    margin: 0 0 18px 24px !important;
    padding: 0 !important;
}

.b2by-policy-card li {
    margin-bottom: 8px !important;
    color: #334155 !important;
}

.b2by-policy-callout {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
    font-size: 0.96rem;
    color: #334155;
}

.b2by-policy-callout.warning {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.b2by-policy-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.b2by-policy-right-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.b2by-policy-right-item:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.b2by-policy-right-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.98rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.b2by-policy-right-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

.b2by-policy-contacts-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 22px;
    margin-top: 15px;
}

.b2by-policy-contacts-box p {
    margin: 6px 0 !important;
    color: #1e3a8a !important;
}






