/* =========================================
   ОГЛАВЛЕНИЕ
   1.  Хлебные крошки
   2.  Кнопки GPS / Карта / Вид
   3.  Счётчик «Показано 1-20 из N»
   4.  Уведомление об ошибке гео
   ========================================= */





/* =========================================
   1. ХЛЕБНЫЕ КРОШКИ
   ========================================= */
#sp-feature, #sp-feature .sp-column, #sp-feature .sp-module, #sp-feature .sp-module-content, #sp-feature .jbd-breadcrumbs-nav {
    background: transparent !important;
}
.jbd-breadcrumbs-nav { padding: 0; margin: 0; }
ol.breadcrumb.jbd-breadcrumbs {
    background: #f8f9fa !important; border: 1px solid #e9ecef !important;
    border-left: 4px solid #2c4c6c !important; border-right: 4px solid #2c4c6c !important;
    border-bottom: 2px solid #2c4c6c !important; border-radius: 8px !important;
    padding: 12px 16px !important; margin: 0 0 20px 0 !important;
    display: flex !important; flex-wrap: wrap; align-items: center;
    list-style: none !important; font-size: 16px !important;
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); line-height: 1.5;
}
ol.breadcrumb.jbd-breadcrumbs > li { list-style: none !important; display: inline-flex !important; align-items: center; padding: 0 !important; margin: 0 !important; }
ol.breadcrumb.jbd-breadcrumbs > li.breadcrumb-item:first-child a.pathway::before {
    content: "\f015" !important; font-family: "FontAwesome" !important; font-weight: 900 !important;
    margin-right: 6px !important; color: #6c757d !important; font-size: 13px !important;
}
ol.breadcrumb.jbd-breadcrumbs > li.breadcrumb-item:not(:first-child)::before {
    content: "→" !important; display: inline-block !important; color: #adb5bd !important;
    font-size: 12px !important; padding: 0 10px 0 6px !important;
}
ol.breadcrumb.jbd-breadcrumbs li a { color: #007bff !important; text-decoration: none !important; }
ol.breadcrumb.jbd-breadcrumbs li a:hover { color: #0056b3 !important; text-decoration: underline !important; }
ol.breadcrumb.jbd-breadcrumbs li.active span { color: #495057 !important; font-weight: 500; }
ol.breadcrumb.jbd-breadcrumbs span.divider { display: none !important; }

/* =========================================
   2. КНОПКИ GPS / КАРТА / ВИД
   ========================================= */
#jbd-geo-btn, #jbd-map-btn, #jbd-view-btn {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    gap: 6px; min-height: 36px; height: auto !important; padding: 8px 14px !important;
    border: 1.5px solid #dbe7f4 !important; background: #fff !important; color: #2c4c6c !important;
    border-radius: 8px !important; font-size: 13px; font-weight: 600;
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    cursor: pointer; transition: all 0.2s ease; white-space: nowrap;
}
#jbd-geo-btn:hover, #jbd-map-btn:hover, #jbd-view-btn:hover { background: #f4f8fc !important; border-color: #5499C7 !important; color: #1e3550 !important; }
#jbd-geo-btn i, #jbd-map-btn i, #jbd-view-btn i { font-size: 15px; color: #5499C7 !important; }
#jbd-geo-btn:hover i, #jbd-map-btn:hover i, #jbd-view-btn:hover i { color: #1e3550 !important; }
#jbd-view-btn { width: 36px !important; min-width: 36px !important; padding: 8px 0 !important; }

/* =========================================
   3. СЧЁТЧИК
   ========================================= */
.jbd-search-bar-top__counter {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 14px; color: #5f7f9e;
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
}
.jbd-search-bar-top__counter .pag-from-result,
.jbd-search-bar-top__counter .pag-to-result,
.jbd-search-bar-top__counter .pag-total-result { color: #2c4c6c; font-weight: 700; }

/* =========================================
   4. УВЕДОМЛЕНИЕ ОБ ОШИБКЕ ГЕО
   ========================================= */
#jbd-geo-error-hint {
    display: flex; align-items: flex-start; gap: 10px;
    background: #fdecea; border: 1px solid #f5c6cb; border-radius: 8px;
    padding: 12px 44px 12px 16px; margin: 0 0 20px 0;
    color: #721c24; font-size: 13px; line-height: 1.5;
}
#jbd-geo-error-hint i.la-exclamation-circle { font-size: 18px; color: #c0392b; flex-shrink: 0; margin-top: 1px; }
#jbd-geo-error-hint strong { font-weight: 700; color: #721c24; }
.jbd-geo-error-hint__close {
    position: absolute !important; top: 50% !important; right: 8px !important;
    transform: translateY(-50%) !important; width: 26px !important; height: 26px !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    border: none !important; background: transparent !important; color: #c0392b !important;
    font-size: 20px !important; cursor: pointer !important; border-radius: 50% !important;
}
.jbd-geo-error-hint__close:hover { background: #f5c6cb !important; color: #721c24 !important; }

/* =========================================
   5. ТОРГУНИК (ПАНЕЛЬ + ФОРМА)
   ========================================= */

/* Карточка */
#jbd-container > .jbd-geo-bar__checknumber .torg-card,
.sppb-addon-module .torg-card,
.moduletable .torg-card {
    background-color: #ffffff !important;
    background-image: repeating-linear-gradient(
        -45deg, transparent, transparent 10px,
        rgba(4, 97, 118, 0.03) 10px, rgba(4, 97, 118, 0.03) 20px
    ) !important;
    border: 1px solid #cbd5e1 !important;
//    border-left: 6px solid #046176 !important;
    border-radius: 8px !important;
    font-family: 'Courier New', monospace !important;
    color: #1e2f3f !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
    box-shadow: 0 10px 30px -10px rgba(4, 97, 118, 0.1) !important;
}

/* Левая и правая часть */
#jbd-container > .jbd-geo-bar__checknumber .torg-left,
.sppb-addon-module .torg-left,
.moduletable .torg-left { max-width: 55% !important; flex: 1 1 55% !important; }

#jbd-container > .jbd-geo-bar__checknumber .torg-form-side,
.sppb-addon-module .torg-form-side,
.moduletable .torg-form-side { max-width: 45% !important; flex: 0 1 45% !important; }

/* Заголовок и ссылка */
.torg-title {
    color: #046176 !important; margin: 0 !important; font-size: 24px !important;
    text-shadow: 0 0 8px rgba(4, 97, 118, 0.15) !important;
}
.torg-title span:last-child::after { content: "_"; color: #DC7C48 !important; animation: blink 1s infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

.torg-help-link {
    background: #ffffff !important; border: 1px dashed #5E939C !important;
    color: #5E939C !important; padding: 4px 10px !important; border-radius: 4px !important;
    font-family: 'Courier New', monospace !important; font-size: 13px !important;
}

/* Поле и кнопка */
.torg-input { background: #ffffff !important; border: 1px solid #cbd5e1 !important; color: #046176 !important; font-family: 'Courier New', monospace !important; }
.torg-input::placeholder { color: #94a3b8 !important; }
.torg-submit {
    background: #046176 !important; color: #ffffff !important; border-radius: 4px !important;
    font-family: 'Courier New', monospace !important; font-weight: bold !important;
    box-shadow: 0 4px 12px rgba(4, 97, 118, 0.3) !important;
}
.torg-submit::after { content: ">" !important; }
.torg-title .torg-emoji { background: #ffffff !important; color: #046176 !important; border: 1px solid #cbd5e1 !important; }

/* Адаптив 992px */
@media (max-width: 992px) {
    #jbd-container > .jbd-geo-bar__checknumber .torg-card,
    .sppb-addon-module .torg-card,
    .moduletable .torg-card { flex-direction: column !important; align-items: stretch !important; padding: 20px 15px !important; gap: 15px !important; }
    #jbd-container > .jbd-geo-bar__checknumber .torg-left,
    .sppb-addon-module .torg-left,
    .moduletable .torg-left { max-width: 100% !important; width: 100% !important; flex: 1 1 100% !important; display: block !important; }
    .torg-title-wrapper { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; margin-bottom: 10px !important; }
    .torg-title { display: flex !important; font-size: 20px !important; text-align: left !important; margin: 0 !important; }
    .torg-title span:last-child { display: inline-block !important; line-height: 1.3 !important; }
    #jbd-container > .jbd-geo-bar__checknumber .torg-form-side,
    .sppb-addon-module .torg-form-side,
    .moduletable .torg-form-side { max-width: 100% !important; width: 100% !important; flex: 1 1 100% !important; }
    .torg-input-group { width: 100% !important; position: relative !important; }
    .torg-input { width: 100% !important; padding-right: 110px !important; padding-left: 45px !important; }
    .torg-submit { position: absolute !important; right: 4px !important; top: 4px !important; bottom: 4px !important; height: auto !important; padding: 0 12px !important; font-size: 13px !important; z-index: 10 !important; }
    .torg-submit::after { display: none !important; }
}

/* Адаптив 480px */
@media (max-width: 480px) {
    .torg-submit,
    #jbd-container > .jbd-geo-bar__checknumber .torg-submit,
    .sppb-addon-module .torg-submit,
    .moduletable .torg-submit { width: auto !important; height: auto !important; border-radius: 4px !important; padding: 0 12px !important; font-size: 13px !important; position: absolute !important; right: 4px !important; top: 4px !important; bottom: 4px !important; z-index: 10 !important; }
    .torg-submit::after { display: none !important; }
    .torg-clear-btn, .torg-clear-btn.is-visible { right: 90px !important; z-index: 11 !important; }
    .torg-input { padding-right: 120px !important; }
    #jbd-container > .jbd-geo-bar__checknumber .torg-card,
    .sppb-addon-module .torg-card,
    .moduletable .torg-card { position: relative !important; padding-top: 20px !important; }
    .torg-title-wrapper { width: 100% !important; position: static !important; margin-bottom: 0 !important; }
    .torg-help-link { position: absolute !important; right: 10px !important; width: 30px !important; height: 30px !important; padding: 0 !important; border-radius: 50% !important; border: 1px solid #cbd5e1 !important; background: #ffffff !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 16px !important; font-weight: bold !important; color: #046176 !important; box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important; z-index: 10 !important; text-indent: -9999px !important; overflow: hidden !important; }
    .torg-help-link::before { content: "?" !important; text-indent: 0 !important; display: block !important; position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; font-family: Arial, sans-serif !important; }
    .torg-title { padding-right: 40px !important; font-size: 20px !important; white-space: normal !important; line-height: 1.3 !important; }
    .torg-title .torg-emoji { width: 28px !important; height: 28px !important; min-width: 28px !important; }
    .torg-title .torg-emoji svg { width: 16px !important; height: 16px !important; }
    .torg-title { gap: 8px !important; }
}


/* =========================================
   8. СОРТИРОВКА ВЫДАЧИ
   ========================================= */
.jbd-search-bar-top__sort .jbd-sort-select-top {
    height: 38px !important; min-height: 38px !important; line-height: 38px !important;
    padding: 0 22px 0 0 !important; margin: 0 !important; box-sizing: border-box !important;
    border: none !important; background: transparent !important; color: #2c4c6c;
    font-size: .84rem; font-weight: 700; font-family: inherit; cursor: pointer;
    outline: none; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232c4c6c' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right center;
}

/* =========================================
   9. КНОПКА ВИДА — ПЕРЕМЕЩЕНИЕ JS
   ========================================= */
.jbd-geo-bar > #jbd-view-btn {
    visibility: hidden !important; position: absolute !important;
    width: 0 !important; height: 0 !important; overflow: hidden !important;
    pointer-events: none !important; opacity: 0 !important;
}
.jbd-search-bar-top__sort #jbd-view-btn, .jbd-view-btn-placeholder {
    visibility: visible !important; position: static !important;
    width: 40px !important; min-width: 40px !important; height: 40px !important;
    overflow: visible !important; pointer-events: auto !important; opacity: 1 !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    border: 1.5px solid #dbe7f4 !important; border-radius: 8px !important;
    background: #fff !important; color: #2c4c6c !important; cursor: pointer !important;
    flex-shrink: 0 !important; padding: 0 !important;
}
.jbd-search-bar-top__sort #jbd-view-btn:hover { background: #f4f8fc !important; border-color: #5499C7 !important; }
.jbd-search-bar-top__sort #jbd-view-btn i { font-size: 16px !important; color: #5499C7 !important; }

/* =========================================
   10. ПОРЯДОК БЛОКОВ В #search-results
   ========================================= */
#search-results { display: flex !important; flex-direction: column !important; gap: 12px !important;  }
#search-results > .search-header { order: 0 !important; }
#search-results > .jbd-search-bar-top { order: 2 !important; margin: 0 !important; }
#search-results > #adminForm, #search-results > form#adminForm { order: 3 !important; margin: 0 !important; padding: 0 !important; }
#search-results > .clear { order: 99 !important; display: none !important; }

/* =========================================
   11. КАРТА — МОДАЛКА + БАЛУН + КНОПКА
   ========================================= */
.jbd-map-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px;
    border-radius: 8px; border: 1px solid #c8dbf2; background: #eef4fb;
    color: #1e4d8c; font-size: .82rem; font-weight: 700; font-family: inherit;
    cursor: pointer; transition: all .15s; white-space: nowrap;
}
.jbd-map-btn:hover { background: #dbe7f4; border-color: #a7c4ea; color: #163c6e; }
.jbd-map-btn:active { transform: scale(.98); }
.jbd-map-btn i { font-size: 1rem; color: inherit !important; }

.jbd-map-modal {
    position: fixed; inset: 0; z-index: 10070; background: rgba(10, 18, 30, .75);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    display: none; opacity: 0; transition: opacity .2s ease; padding: 20px; box-sizing: border-box;
}
.jbd-map-modal.is-open { display: flex; opacity: 1; align-items: center; justify-content: center; }
.jbd-map-modal__inner {
    position: relative; width: 100%; max-width: 1200px; height: 90vh; background: #fff;
    border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
    overflow: hidden; display: flex; flex-direction: column;
}
.jbd-map-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #eef2f8; flex-shrink: 0; }
.jbd-map-modal__title { font-size: 1rem; font-weight: 800; color: #1e2f3f; display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.jbd-map-modal__title i { color: #2c4c6c; }
.jbd-map-modal__count { font-size: .8rem; font-weight: 500; color: #8ea0b5; margin-left: 8px; }
.jbd-map-modal__close {
    width: 34px; height: 34px; border-radius: 50%; border: none; background: #f4f8fc;
    color: #2c4c6c; font-size: 18px; cursor: pointer; display: inline-flex;
    align-items: center; justify-content: center; transition: background .15s;
}
.jbd-map-modal__close:hover { background: #e8f0f8; }
.jbd-map-modal__map { flex: 1 1 auto; width: 100%; min-height: 0; background: #f8fafd; }

/* =========================================
   11. КАРТА — БАЛУН (продолжение)
   ========================================= */
.jbd-map-balloon {
    width: 320px; max-width: 92vw; font-family: inherit; font-size: .86rem;
    line-height: 1.4; color: #1e2f3f; margin: -10px; overflow: hidden; border-radius: 8px;
}
.jbd-map-balloon__head {
    position: relative; height: 120px;
    background: linear-gradient(135deg, #2c4c6c, #5499C7); overflow: hidden;
}
.jbd-map-balloon__head img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jbd-map-balloon__head::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
}
.jbd-map-balloon__badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 5px; flex-wrap: wrap; z-index: 2; }
.jbd-map-balloon__badge {
    display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px;
    border-radius: 999px; font-size: .66rem; font-weight: 800;
    letter-spacing: .03em; text-transform: uppercase; color: #fff;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.jbd-map-balloon__badge--featured { background: rgba(220, 124, 72, .9); }
.jbd-map-balloon__badge--recommended { background: rgba(245, 158, 11, .92); }
.jbd-map-balloon__open {
    position: absolute; bottom: 8px; left: 8px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
    border-radius: 999px; font-size: .7rem; font-weight: 800; color: #fff;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.jbd-map-balloon__open.is-open { background: rgba(34, 197, 94, .95); }
.jbd-map-balloon__open.is-closed { background: rgba(220, 38, 38, .95); }
.jbd-map-balloon__head-title {
    position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2;
    color: #fff; font-size: 1rem; font-weight: 800; line-height: 1.25;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.jbd-map-balloon__body { padding: 12px 14px 14px; background: #fff; }
.jbd-map-balloon__name { font-weight: 800; margin-bottom: 6px; color: #1e2f3f; font-size: .96rem; line-height: 1.25; }
.jbd-map-balloon__rating {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px;
    background: #fffbeb; border: 1px solid #fde68a; border-radius: 999px;
    font-size: .74rem; font-weight: 700; color: #92400e; margin-bottom: 8px;
}
.jbd-map-balloon__rating i { color: #fbbf24 !important; font-size: .82rem; }
.jbd-map-balloon__rating .rc { color: #7a5c00; font-weight: 500; }
.jbd-map-balloon__slogan {
    color: #5f7f9e; font-size: .8rem; line-height: 1.4; margin-bottom: 8px;
    padding: 6px 10px; background: #f3f7fc; border-left: 3px solid #5E939C; border-radius: 0 6px 6px 0;
}
.jbd-map-balloon__row { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 6px; font-size: .8rem; color: #4a5b6e; line-height: 1.4; }
.jbd-map-balloon__row i { color: #2c4c6c !important; font-size: .92rem; flex-shrink: 0; margin-top: 2px; }
.jbd-map-balloon__row--cats { flex-wrap: wrap; gap: 4px; }
.jbd-map-balloon__cat {
    display: inline-flex; padding: 2px 8px; background: #eef4fb; color: #1e4d8c;
    border: 1px solid #c8dbf2; border-radius: 999px; font-size: .72rem; font-weight: 600;
}
.jbd-map-balloon__actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eef2f8; }
.jbd-map-balloon__btn {
    flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    padding: 7px 12px; border-radius: 8px; font-size: .76rem; font-weight: 700;
    text-decoration: none !important; white-space: nowrap; transition: all .15s;
}
.jbd-map-balloon__btn--primary { background: linear-gradient(135deg, #2c4c6c, #1e3550); color: #fff !important; }
.jbd-map-balloon__btn--primary:hover { background: linear-gradient(135deg, #1e3550, #16304d); }
.jbd-map-balloon__btn--call { background: linear-gradient(135deg, #22c55e, #15803d); color: #fff !important; }
.jbd-map-balloon__btn--call:hover { background: linear-gradient(135deg, #15803d, #0f5f2d); }
.jbd-map-balloon__btn--secondary { background: #eef4fb; color: #1e4d8c !important; border: 1px solid #c8dbf2; }
.jbd-map-balloon__btn--secondary:hover { background: #dbe7f4; }
.jbd-map-balloon__btn i { color: inherit !important; font-size: .9rem; }
.ymaps-2-1-79-balloon__close-button { opacity: .55 !important; }

/* =========================================
   12. КНОПКА «КОМПАКТНЫЙ ВИД»
   ========================================= */
.jbd-view-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
    border-radius: 8px; border: 1px solid #c8dbf2; background: #eef4fb;
    color: #1e4d8c; font-size: .82rem; font-weight: 700; font-family: inherit;
    cursor: pointer; transition: all .15s; white-space: nowrap;
}
.jbd-view-btn:hover { background: #dbe7f4; border-color: #a7c4ea; color: #163c6e; }
.jbd-view-btn:active { transform: scale(.98); }
.jbd-view-btn i { font-size: 1rem; color: inherit !important; }
.jbd-view-btn.is-active { background: #e8f5ec; border-color: #b8e0c5; color: #1f6b3a; }
.jbd-view-btn.is-active:hover { background: #d3efdd; border-color: #a7d8b6; }

/* =========================================
   14. ЛАЙТБОКС ГАЛЕРЕИ
   ========================================= */
.jbd-lightbox {
    position: fixed; inset: 0; z-index: 10060; display: flex; align-items: center; justify-content: center;
    background: rgba(10, 18, 30, .88); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; transition: opacity .18s ease; padding: 40px 20px;
}
.jbd-lightbox.is-open { opacity: 1; }
.jbd-lb-img-wrap { position: relative; max-width: 92vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; }
.jbd-lb-img-wrap img {
    max-width: 92vw; max-height: 88vh; width: auto; height: auto;
    object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); background: #fff;
}
.jbd-lb-close, .jbd-lb-prev, .jbd-lb-next {
    position: absolute; display: inline-flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; background: rgba(255, 255, 255, .12); color: #ffffff;
    border-radius: 50%; transition: all .15s; padding: 0; line-height: 1;
}
.jbd-lb-close:hover, .jbd-lb-prev:hover, .jbd-lb-next:hover { background: rgba(255, 255, 255, .25); transform: scale(1.06); }
.jbd-lb-close i, .jbd-lb-prev i, .jbd-lb-next i { color: #fff !important; font-size: 26px; }
.jbd-lb-close { top: 20px; right: 20px; width: 44px; height: 44px; }
.jbd-lb-close i { font-size: 22px; }
.jbd-lb-prev, .jbd-lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.jbd-lb-prev:hover, .jbd-lb-next:hover { transform: translateY(-50%) scale(1.06); }
.jbd-lb-prev { left: 24px; }
.jbd-lb-next { right: 24px; }
.jbd-lb-counter {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: .82rem; font-weight: 700; padding: 5px 14px;
    background: rgba(255, 255, 255, .12); border-radius: 999px; letter-spacing: .04em;
}

/* =========================================
   15. ПОПАП АДРЕСА
   ========================================= */
.jbd-loc-popup {
    position: absolute; z-index: 10050; min-width: 240px; max-width: 320px;
    padding: 14px 16px; background: #ffffff; border: 1px solid #e6eef6;
    border-radius: 12px; box-shadow: 0 20px 48px -20px rgba(30, 47, 63, .38), 0 6px 16px rgba(30, 47, 63, .08);
    opacity: 0; transform: translateY(-6px); transition: all .16s ease;
    font-family: inherit; font-size: .85rem; line-height: 1.45; color: #1e2f3f; pointer-events: none;
}
.jbd-loc-popup.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.jbd-loc-popup::before {
    content: ""; position: absolute; top: -6px; left: 24px; width: 12px; height: 12px;
    background: #fff; border-left: 1px solid #e6eef6; border-top: 1px solid #e6eef6; transform: rotate(45deg);
}
.jbd-loc-popup__name { font-weight: 800; font-size: .92rem; margin-bottom: 6px; color: #1e2f3f; line-height: 1.3; padding-right: 20px; }
.jbd-loc-popup__address { color: #5f7f9e; font-size: .82rem; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 6px; word-break: break-word; }
.jbd-loc-popup__address i { color: #2c4c6c !important; font-size: .95rem; margin-top: 2px; flex-shrink: 0; }
.jbd-loc-popup__actions { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid #eef2f8; padding-top: 10px; }
.jbd-loc-popup__actions a {
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 8px;
    font-size: .78rem; font-weight: 700; text-decoration: none !important; transition: all .15s; white-space: nowrap;
}
.jbd-loc-popup__actions .jbd-loc-map { background: #eef4fb; color: #1e4d8c !important; border: 1px solid #c8dbf2; }
.jbd-loc-popup__actions .jbd-loc-map:hover { background: #dbe7f4; border-color: #a7c4ea; }
.jbd-loc-popup__actions .jbd-loc-route { background: linear-gradient(135deg, #2c4c6c, #1e3550); color: #ffffff !important; border: 1px solid #2c4c6c; }
.jbd-loc-popup__actions .jbd-loc-route:hover { background: linear-gradient(135deg, #1e3550, #16304d); }
.jbd-loc-popup__actions a i { color: inherit !important; font-size: .9rem; }
.jbd-loc-popup__close {
    position: absolute; top: 8px; right: 8px; width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
    background: transparent; border: none; color: #8ea0b5; font-size: 16px; cursor: pointer;
    padding: 0; line-height: 1; transition: all .15s;
}
.jbd-loc-popup__close:hover { background: #eef2f8; color: #1e2f3f; }
.jbd-loc-popup__close i { color: inherit !important; font-size: 14px; }


/* =========================================
   16. СКРЫТИЕ ПЛАГИНА ЯНДЕКС.ПЕРЕВОД
   ========================================= */
#tr-popup {
    display: none !important; visibility: hidden !important; opacity: 0 !important;
    width: 0 !important; height: 0 !important; overflow: hidden !important;
    position: absolute !important; top: -9999px !important; left: -9999px !important;
}

/* =========================================
   17. СКРЫТИЕ СТАНДАРТНОГО СОРТИРОВЩИКА JBD
   ========================================= */
#search-results .chosen-container.jbd-select,
#search-results .chosen-container.jbd-select + .chosen-container,
#search-results select.jbd-select {
    display: none !important; visibility: hidden !important; height: 0 !important;
    width: 0 !important; overflow: hidden !important; margin: 0 !important;
    padding: 0 !important; border: 0 !important;
}

/* =========================================
   18. ПЛАШКА «РЯДОМ СО МНОЙ» (базовая)
   ========================================= */
.jbd-geo-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px;
    border-radius: 8px; border: 1px solid #dbe7f4; background: #eef4fb;
    color: #2c4c6c; font-size: .82rem; font-weight: 700; cursor: pointer;
    transition: all .15s; white-space: nowrap;
}
.jbd-geo-btn:hover { background: #dbe7f4; border-color: #cddeed; color: #1e3550; }
.jbd-geo-btn:active { transform: scale(.98); }
.jbd-geo-btn i { font-size: 1rem; color: inherit !important; }
.jbd-geo-btn.is-active { background: #e8f5ec; border-color: #b8e0c5; color: #1f6b3a; }
.jbd-geo-btn.is-active:hover { background: #d3efdd; border-color: #a7d8b6; }
.jbd-geo-btn.is-loading { opacity: .7; cursor: wait; }
.jbd-geo-btn.is-loading i { animation: jbdSpin 1s linear infinite; }
@keyframes jbdSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.jbd-geo-btn.is-error { background: #fdecea; border-color: #f3b8af; color: #9b2c1e; }
.jbd-geo-hint { font-size: .76rem; color: #8ea0b5; line-height: 1.3; }
.jbd-geo-error-hint {
    display: none; align-items: flex-start; gap: 8px; margin-top: 8px; padding: 10px 12px;
    background: #fdecea; border: 1px solid #f3b8af; border-radius: 8px;
    color: #9b2c1e; font-size: .82rem; line-height: 1.45; width: 100%; box-sizing: border-box;
}
.jbd-geo-error-hint i { color: #d64545 !important; font-size: 1.05rem; flex-shrink: 0; margin-top: 1px; }
.jbd-geo-error-hint strong { color: #7a1e13; }
.jbd-geo-error-hint span { flex: 1 1 auto; }
.jbd-geo-bar ~ .jbd-geo-bar { display: none !important; }
.jbd-geo-bar .jbd-search-row { flex: 1 1 auto; min-width: 220px; max-width: 420px; margin-left: auto; margin-bottom: 0; }

/* =========================================
   19. МОБИЛЬНЫЕ — 992px
   ========================================= */
@media (max-width: 992px) {
    body, html { overflow-x: hidden !important; }
    .jbd-geo-bar { flex-wrap: wrap; min-height: auto; }
    #search-results, #search-results > *, .jbd-geo-bar, .jbd-geo-bar--left, .jbd-search-bar-top,
    .mod-checknumber, .mod-checknumber-form, .mod-checknumber-field,
    .mod-checknumber-field-inner, .cn-search-wrap {
        width: 100% !important; max-width: 100% !important;
        min-width: 0 !important; box-sizing: border-box !important;
    }
    .jbd-geo-bar--left { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 8px !important; }
    .jbd-geo-bar--left > button {
        flex: 1 1 0 !important; min-width: 0 !important; justify-content: center !important;
        padding: 10px 8px !important; font-size: 12px !important; white-space: nowrap !important;
    }
    #jbd-geo-bar { display: flex !important; flex-direction: column !important; gap: 10px !important; padding: 12px !important; background: #fff !important; border: 1px solid #e9eef5 !important; border-radius: 8px !important; }
    #jbd-view-btn { width: 36px !important; min-width: 36px !important; height: 36px !important; align-self: flex-end !important; }
    .mod-checknumber-error, .mod-checknumber-validation-error {
        width: 100% !important; max-width: 100% !important;
        min-width: 0 !important; box-sizing: border-box !important; font-size: 12px !important;
    }
    .jbd-search-bar-top {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-rows: auto auto !important;
        gap: 12px 10px !important;
        padding: 15px !important;
        align-items: center !important;
    }
    .jbd-search-bar-top__search {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .jbd-search-bar-top__counter {
        grid-column: 1 !important;
        grid-row: 2 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        text-align: left !important;
    }
    .jbd-search-bar-top__sort {
        grid-column: 2 !important;
        grid-row: 2 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
    }
    .jbd-search-bar-top__sort .jbd-sort-top { height: 36px !important; padding: 0 12px !important; width: auto !important; }
    .search-filter-container {
        order: 3 !important; width: 100% !important; max-width: 100% !important;
        min-width: 0 !important; box-sizing: border-box !important;
        margin: 0 0 12px 0 !important; padding: 0 12px !important;
        background: transparent !important; border: none !important; box-shadow: none !important;
    }
    .search-filter-container #search-filter, .search-filter-container .search-filter,
    .search-filter-container #search-filters-react, .search-filter-container .vertical-filter {
        width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
        padding: 0 !important; margin: 0 !important; background: transparent !important;
    }
    .search-filter-container .filter-criteria, .search-filter-container .search-category-box {
        background: #fff !important; border: 1px solid #e6eef6 !important; border-radius: 8px !important;
        padding: 12px 14px !important; margin: 0 0 10px 0 !important;
        box-shadow: 0 4px 12px -8px rgba(30, 47, 63, .08) !important; box-sizing: border-box !important;
    }
    .search-filter-container .filter-criteria:last-child, .search-filter-container .search-category-box:last-child { margin-bottom: 0 !important; }
    .search-filter-container .filter-header {
        font-size: 12px !important; font-weight: 700 !important; color: #8ea0b5 !important;
        text-transform: uppercase !important; letter-spacing: .04em !important;
        margin-bottom: 8px !important; padding: 0 !important;
    }
    .search-filter-container .filter-fav, .search-filter-container .selected-filters { margin: 0 0 10px 0 !important; padding: 0 !important; }
    .search-filter-container .filters-header, .search-filter-container > .filters-header,
    .search-filter-container > div.filters-header, .search-filter-container .filters-header i.icon.filters,
    .search-filter-container .filters-header i.icon-filters {
        display: none !important; visibility: hidden !important; height: 0 !important;
        width: 0 !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important;
    }
    .search-filter-container .filter-switch {
        display: block !important; width: 100% !important; padding: 12px 16px !important;
        margin: 0 !important; background: #f3f7fb !important; border: 1px solid #dbe7f4 !important;
        border-radius: 8px !important; font-size: 14px !important; font-weight: 600 !important;
        color: #2c4c6c !important; text-align: center !important; cursor: pointer !important;
        box-sizing: border-box !important; transition: all .15s !important;
    }
    .search-filter-container .filter-switch:hover { background: #e8f0f8 !important; border-color: #a7c4ea !important; }
    .search-filter-container #search-filter.open { margin-top: 8px !important; }
    .jbd-search-bar-top .jbd-search-input-wrap, .jbd-search-bar-top__search .jbd-search-input-wrap {
        width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
    }
    .jbd-search-bar-top__counter {
        font-size: 13px !important; width: auto !important; max-width: none !important;
        display: inline-flex !important; align-items: center !important; justify-content: flex-start !important;
        gap: 4px !important; flex: 0 0 auto !important; white-space: nowrap !important;
        margin: 0 !important; color: #5f7f9e !important;
    }
    .jbd-search-bar-top__sort .jbd-sort-top, .jbd-sort-top {
        flex: 1 1 auto !important; height: 34px !important; min-height: 34px !important;
        max-height: 34px !important; padding: 0 8px !important; font-size: 11px !important;
        max-width: none !important; min-width: 0 !important;
    }
    .jbd-search-submit, .jbd-search-clearall { flex-shrink: 0 !important; }
    .jbd-geo-bar .jbd-search-row { flex: 1 1 100%; max-width: 100%; margin-left: 0; margin-top: 8px; }
    .filter-switch { display: block; }
    #search-filter { display: none; }
    #search-filter.open { display: flex; }
    .list-style-1.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================
   20. МОБИЛЬНЫЕ — 768px
   ========================================= */
@media (max-width: 768px) {
    ol.breadcrumb.jbd-breadcrumbs { font-size: 12px !important; padding: 10px 12px !important; margin: 0 0 15px 0 !important; line-height: 1.8; }
    ol.breadcrumb.jbd-breadcrumbs > li.breadcrumb-item:not(:first-child)::before { padding: 0 6px 0 4px !important; }
    ol.breadcrumb.jbd-breadcrumbs > li.breadcrumb-item:first-child a.pathway::before { font-size: 11px; }
    #jbd-geo-btn, #jbd-map-btn, #jbd-view-btn { min-height: 32px; padding: 6px 10px !important; font-size: 12px; }
    #jbd-view-btn { width: 32px !important; min-width: 32px !important; }
    #jbd-geo-btn i, #jbd-map-btn i, #jbd-view-btn i { font-size: 13px; }
    .jbd-search-bar-top__counter { font-size: 12px; padding: 5px 10px; }
    .mod-checknumber-input-wrapper { flex: 1 1 auto !important; }
    .jbd-geo-bar:not(.jbd-geo-bar--left) { flex-direction: column !important; align-items: stretch !important; }
    #jbd-view-btn { align-self: flex-start !important; }
    .mod-checknumber-buttons button[name="go"] { width: auto !important; min-width: 90px !important; flex: 0 0 auto !important; }
    .jbd-geo-error-hint { font-size: .76rem; padding: 8px 10px; }
    .jbd-geo-error-hint i { font-size: .95rem; }
}

/* =========================================
   21. МОБИЛЬНЫЕ — 640px
   ========================================= */
@media (max-width: 640px) {
    .jbd-map-modal { padding: 10px; }
    .jbd-map-modal__inner { height: 94vh; border-radius: 10px; }
    .jbd-map-btn { padding: 6px 12px; font-size: .78rem; }
    .jbd-loc-popup { min-width: 220px; max-width: calc(100vw - 24px); font-size: .82rem; }
    .jbd-lightbox { padding: 60px 12px 90px 12px; align-items: center; }
    .jbd-lb-img-wrap { max-width: 96vw; max-height: calc(100vh - 180px); }
    .jbd-lb-img-wrap img { max-width: 96vw; max-height: calc(100vh - 180px); border-radius: 8px; }
    .jbd-lb-prev, .jbd-lb-next { top: auto; bottom: 20px; transform: none; width: 52px; height: 52px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .25); z-index: 10; }
    .jbd-lb-prev:hover, .jbd-lb-next:hover { transform: none; background: rgba(255, 255, 255, .32); }
    .jbd-lb-prev:active, .jbd-lb-next:active { background: rgba(255, 255, 255, .42); }
    .jbd-lb-prev { left: 16px; } .jbd-lb-next { right: 16px; }
    .jbd-lb-prev i, .jbd-lb-next i { font-size: 30px; }
    .jbd-lb-counter { bottom: 32px; font-size: .82rem; padding: 6px 16px; background: rgba(255, 255, 255, .18); }
    .jbd-lb-close { top: 14px; right: 14px; width: 44px; height: 44px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .25); z-index: 10; }
    .jbd-lb-close i { font-size: 22px; }
    .jbd-geo-bar { padding: 8px 10px; gap: 8px; }
    .jbd-geo-btn { padding: 6px 12px; font-size: .78rem; }
    .jbd-geo-hint { font-size: .72rem; line-height: 1.35; flex: 1 1 100%; }
    .jbd-geo-bar .jbd-sort { margin-left: 0; width: 100%; justify-content: space-between; padding: 8px 12px; }
    .jbd-geo-bar .jbd-sort-select { flex: 1 1 auto; max-width: none; font-size: .8rem; text-align: right; direction: rtl; }
    .jbd-geo-bar .jbd-sort-select option { direction: ltr; text-align: left; }
    .list-style-1.is-compact { grid-template-columns: 1fr; gap: 12px; }
    .list-style-1.is-compact .result-content::before { margin: 0 10px 10px 10px; }
    .list-style-1.is-compact .result-content-top { padding: 8px 10px 4px 10px !important; }
    .list-style-1.is-compact .result-content-bottom { padding: 0 10px 10px 10px !important; }
    .list-style-1.is-compact .item-name { font-size: .88rem !important; padding: 0 26px !important; }
    .list-style-1.is-compact .company-logo-ph-search { font-size: 4rem !important; }
    .list-style-1.is-compact .item-name .jbd-bookmark-btn { top: 6px !important; left: 6px !important; width: 30px !important; height: 30px !important; min-width: 30px !important; }
    .list-style-1.is-compact .item-name .jbd-bookmark-btn i { font-size: 14px !important; }
    .list-style-1.is-compact .header-flex-right .company-rating-desktop { top: 6px !important; right: 6px !important; padding: 3px 9px !important; }
    .list-style-1.is-compact .header-flex-right .company-rating-desktop .rating-average { font-size: .66rem !important; }
}

/* =========================================
   22. МОБИЛЬНЫЕ — 576px
   ========================================= */
@media (max-width: 576px) {
    ol.breadcrumb.jbd-breadcrumbs { font-size: 11px !important; padding: 8px 10px !important; gap: 4px !important; }
    .jbd-geo-bar--left > button { font-size: 11px !important; padding: 8px 6px !important; }
    #jbd-geo-bar { padding: 10px !important; }
}

/* =========================================
   23. СКРЫТИЕ МОБИЛЬНОГО РЕЙТИНГА НА ПК
   ========================================= */
@media (min-width: 641px) {
    .list-style-1 .item-image-cover .company-rating.company-rating-mobile {
        display: none !important; visibility: hidden !important; height: 0 !important; width: 0 !important;
        overflow: hidden !important; padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important;
    }
}

.jbd-view-btn-placeholder { display: none !important; }
.jbd-search-bar-top__sort .jbd-sort-select-top { padding: 0 1px 0 0 !important; }

.jbd-search-statistics {
    display: flex; align-items: center; justify-content: flex-start; gap: 12px;
    flex-wrap: nowrap; margin-bottom: 12px; padding-right: 16px !important;
}

/* =========================================
   ФИКС ГОРИЗОНТАЛЬНОЙ ПРОКРУТКИ НА МОБИЛЬНЫХ
   ========================================= */
@media (max-width: 992px) {
    html, body { overflow-x: hidden !important; max-width: 100vw !important; position: relative !important; }
    #sp-main-body, #search-results, .jbd-geo-bar { max-width: 100% !important; box-sizing: border-box !important; }
}

/* =========================================
   ЛОГОТИПЫ-ЗАГЛУШКИ
   ========================================= */
.list-style-1 .result-item .item-image-cover .company-logo-ph-search {
    background: linear-gradient(135deg, #f8fafd 0%, #eef4fb 100%) !important;
    color: #2c4c6c !important; box-shadow: inset 0 0 0 1px #e6eef6 !important;
    font-size: 4rem !important; font-weight: 800 !important; text-transform: uppercase !important;
    letter-spacing: -.03em !important; border-radius: 8px !important;
}
.list-style-1 .result-item.offer-card--discount .item-image-cover .company-logo-ph-search {
    background: linear-gradient(135deg, #fff8f0 0%, #fef0e2 100%) !important;
    color: #DC7C48 !important; box-shadow: inset 0 0 0 1px #f5e4cf !important;
}
@media (max-width: 640px) {
    .list-style-1 .result-item .item-image-cover .company-logo-ph-search { font-size: 3.5rem !important; }
}

/* =========================================
   ВЫРАВНИВАНИЕ НИЖНЕЙ ЧАСТИ КАРТОЧКИ
   ========================================= */
@media (min-width: 993px) {
    .list-style-1 .result-content { display: flex !important; flex-direction: column !important; justify-content: space-between !important; height: 100% !important; }
    .list-style-1 .result-content-top { flex: 1 1 auto !important; }
    .list-style-1 .result-content-bottom { flex: 0 0 auto !important; margin-top: auto !important; }
}

/* =========================================
   СТАТУСЫ КАРТОЧЕК
   ========================================= */
.listing-info .badge {
    display: inline-flex !important; align-items: center !important; gap: 4px !important;
    padding: 4px 10px !important; border-radius: 6px !important; font-size: 11px !important;
    font-weight: 600 !important; line-height: 1.2 !important; border: 1px solid transparent !important;
    text-decoration: none !important; white-space: nowrap !important;
}
.listing-info .badge.badge-danger { background-color: #f4f6f8 !important; color: #6c757d !important; border-color: #e2e6ea !important; }
.listing-info .badge.badge-danger:not(.jbd-working-status) { background-color: #eef7f9 !important; color: #5E939C !important; border-color: #cce6eb !important; }
.listing-info .badge.badge-success { background-color: #eef7f0 !important; color: #2e7d32 !important; border-color: #c8e6c9 !important; }
@media (max-width: 640px) { .listing-info .badge { font-size: 10px !important; padding: 3px 8px !important; } }

/* =========================================
   ТИПОГРАФИКА КАРТОЧЕК
   ========================================= */
.list-style-1 .result-item .item-name { font-size: 1.3rem !important; font-weight: 700 !important; line-height: 1.3 !important; color: #1e2f3f !important; margin-bottom: 6px !important; }
.list-style-1 .result-item .item-name a { color: #1e2f3f !important; }
.list-style-1 .result-item .item-name a:hover { color: #2c4c6c !important; }
.list-style-1 .result-item .item-slogan {
    font-size: 16px !important; line-height: 1.6 !important; color: #495057 !important;
    margin-bottom: 10px !important; background: #f8fafd !important;
    border-left: 3px solid #5E939C !important; padding: 8px 12px !important; border-radius: 0 6px 6px 0 !important;
}
.list-style-1 .result-item .item-options .item-option a { color: #1e4d8c !important; font-weight: 600 !important; text-decoration: none !important; transition: color 0.15s !important; }
.list-style-1 .result-item .item-options .item-option a:hover { color: #DC7C48 !important; text-decoration: underline !important; }
.list-style-1 .company-location-attributes .loc-address {
    background: #eef4fb !important; color: #1e4d8c !important; border: 1px solid #c8dbf2 !important;
    font-weight: 600 !important; padding: 5px 12px !important; border-radius: 6px !important;
    cursor: pointer !important; transition: background 0.15s !important;
}
.list-style-1 .company-location-attributes .loc-address:hover { background: #dbe7f4 !important; }
.list-style-1 .result-content-bottom .btn-more {
    font-size: 0.9rem !important; font-weight: 700 !important; padding: 9px 20px !important;
    border-radius: 8px !important; background: linear-gradient(135deg, #2c4c6c, #1e3550) !important;
    color: #fff !important; box-shadow: 0 4px 12px -4px rgba(44, 76, 108, 0.4) !important; transition: all 0.2s !important;
}
.list-style-1 .result-content-bottom .btn-more:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 16px -4px rgba(44, 76, 108, 0.6) !important; }
.list-style-1 .result-content-bottom { padding-top: 14px !important; margin-top: 8px !important; border-top: 1px solid #eef2f8 !important; }

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ — ТОЧЕЧНЫЕ ПРАВКИ
   ========================================= */
@media (max-width: 640px) {
    .list-style-1 .result-item .item-image-cover { height: 150px !important; min-height: 150px !important; }
    .list-style-1 .result-item .row > .col-lg-3 { height: 150px !important; }
    .list-style-1 .result-item .company-logo-ph-search { height: 150px !important; min-height: 150px !important; font-size: 3.5rem !important; }
    .list-style-1 .result-item .result-content-bottom .btn-more { margin-left: 0 !important; width: 100% !important; justify-content: center !important; display: flex !important; padding: 10px 16px !important; font-size: 0.88rem !important; }
    .list-style-1 .result-item .result-content-bottom { padding-top: 10px !important; margin-top: 8px !important; }
    .list-style-1 { gap: 16px !important; }
    .list-style-1 .result-item .item-slogan { font-size: 0.85rem !important; line-height: 1.5 !important; padding: 8px 10px !important; }
    .list-style-1 .result-item .item-name { font-size: 1.1rem !important; line-height: 1.3 !important; }
}

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ — КАТЕГОРИИ, АДРЕС, СЧЁТЧИКИ
   ========================================= */
@media (max-width: 640px) {
    .list-style-1 .result-item .company-location-attributes .loc-address {
        background: transparent !important; border: 1px dashed #c8dbf2 !important;
        color: #5f7f9e !important; font-size: 0.78rem !important; padding: 4px 10px !important;
        margin: 4px 0 !important; justify-content: flex-start !important;
    }
    .list-style-1 .result-item .company-location-attributes .loc-address:hover { background: #f4f8fc !important; border-color: #5499C7 !important; }
    .list-style-1 .result-item .listing-info .badge.badge-danger { font-size: 0.72rem !important; padding: 3px 8px !important; border-radius: 4px !important; background: #f4f6f8 !important; color: #6c757d !important; border: 1px solid #e2e6ea !important; }
    .list-style-1 .result-item .result-content-bottom .result-counters { display: flex !important; justify-content: flex-end !important; gap: 6px !important; margin: 0 0 8px 0 !important; width: 100% !important; }
    .list-style-1 .result-item .result-content-bottom .result-counters .counter-link { font-size: 0.75rem !important; padding: 4px 10px !important; border-radius: 4px !important; }
    .list-style-1 .result-item .result-content-bottom { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 8px !important; }
}

/* =========================================
   ФИКС МОБИЛЬНОЙ ВЕРСИИ ДЛЯ /tovary И /offers-list-view-style-1
   ========================================= */
@media (max-width: 992px) {
    html, body { overflow-x: hidden !important; max-width: 100vw !important; position: relative !important; }
    .jbd-search-statistics { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px !important; padding: 0 12px !important; margin: 0 0 12px 0 !important; width: 100% !important; box-sizing: border-box !important; }
    .jbd-search-statistics > .search-keyword { flex: 1 1 100% !important; margin-bottom: 4px !important; }
    .jbd-search-statistics .search-options { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 6px !important; width: 100% !important; }
    .jbd-search-statistics .search-options .jbd-geo-btn, .jbd-search-statistics .search-options .jbd-map-btn { flex: 1 1 0 !important; min-width: 0 !important; justify-content: center !important; font-size: 12px !important; padding: 8px 4px !important; }
    .jbd-search-statistics .search-options .jbd-view-btn { flex: 0 0 auto !important; padding: 8px 10px !important; }
    .jbd-search-statistics .search-options .jbd-select-box { flex: 1 1 100% !important; margin-top: 4px !important; }
    .jbd-search-statistics #search-details { flex: 1 1 100% !important; width: 100% !important; max-width: 100% !important; margin: 8px 0 0 0 !important; }
    .jbd-search-statistics #search-details .form-container { width: 100% !important; }
    .jbd-search-statistics #search-details input[type="text"] { width: 100% !important; flex: 1 1 auto !important; }
    .search-filter-container { padding: 0 12px !important; margin-bottom: 12px !important; }
    .search-filter-container .filter-switch { font-size: 13px !important; padding: 10px !important; }
    .search-filter-container .filter-fav { font-size: 12px !important; }
    .offer-list-style-1 .result-item .result-content-bottom .btn-more { margin-left: 0 !important; width: 100% !important; justify-content: center !important; }
    .offer-list-style-1 .result-item .header-flex { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }
    .offer-list-style-1 .result-item .offer-price { align-items: flex-start !important; text-align: left !important; margin-left: 0 !important; }
    .offer-list-style-1 .result-item .item-options { gap: 6px !important; }
}

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ ДЛЯ КАРТОЧЕК ТОВАРОВ
   ========================================= */
@media (max-width: 768px) {
    .search-filter-container .filter-switch { display: inline-flex !important; width: auto !important; min-width: 180px !important; margin: 0 auto 10px auto !important; padding: 8px 20px !important; font-size: 13px !important; font-weight: 600 !important; border-radius: 20px !important; justify-content: center !important; }
    .jbd-search-statistics > .search-keyword { font-size: 12px !important; color: #5f7f9e !important; margin-bottom: 6px !important; }
    .jbd-search-statistics .jbd-select-box select { height: 34px !important; font-size: 12px !important; border-radius: 6px !important; }
    .jbd-search-statistics #search-details .form-container { height: 38px !important; border-radius: 6px !important; }
    .jbd-search-statistics .search-options .jbd-geo-btn, .jbd-search-statistics .search-options .jbd-map-btn, .jbd-search-statistics .search-options .jbd-view-btn { height: 34px !important; font-size: 11px !important; border-radius: 6px !important; }
    .offer-list-style-1 .offer-price-note { background: #fef6ec !important; border: 1px solid #f5e4cf !important; border-left: 3px solid #DC7C48 !important; color: #8c5a35 !important; font-size: 11px !important; padding: 4px 8px !important; border-radius: 4px !important; margin-top: 4px !important; }
    .offer-list-style-1 .result-content-bottom { margin-top: 12px !important; padding-top: 10px !important; border-top: 1px solid #eef2f8 !important; }
    .offer-list-style-1 { gap: 16px !important; }
}

/* =========================================
   БЕЙДЖИ И ПЛАШКИ СКИДОК
   ========================================= */
.offer-list-style-1 .result-item .offer-type-badge { box-shadow: none !important; border: none !important; position: absolute !important; top: 8px !important; right: 8px !important; left: auto !important; bottom: auto !important; padding: 4px 10px !important; font-size: 12px !important; font-weight: 700 !important; border-radius: 6px !important; line-height: 1.2 !important; text-transform: uppercase !important; letter-spacing: 0.3px !important; z-index: 10 !important; }
.offer-list-style-1 .result-item .offer-type-badge--discount { background: rgba(220, 124, 72, 0.85) !important; color: #fff !important; }
.offer-list-style-1 .result-item .offer-type-badge--product { background: rgba(44, 76, 108, 0.85) !important; color: #fff !important; }
.offer-list-style-1 .result-item .offer-price-note { background: #fef6ec !important; border: 1px solid #f5e4cf !important; border-left: 3px solid #DC7C48 !important; color: #8c5a35 !important; padding: 5px 10px !important; border-radius: 0 6px 6px 0 !important; margin-top: 5px !important; line-height: 1.4 !important; max-width: 100% !important; display: block !important; box-sizing: border-box !important; font-size: 12px !important; }
@media (max-width: 640px) {
    .offer-list-style-1 .result-item .offer-type-badge { padding: 3px 8px !important; font-size: 11px !important; border-radius: 4px !important; top: 6px !important; right: 6px !important; }
    .offer-list-style-1 .result-item .offer-price-note { font-size: 11px !important; padding: 4px 8px !important; }
}

/* =========================================
   КНОПКА "ПОКАЗАТЬ ФИЛЬТР"
   ========================================= */
.search-filter-container .filter-switch { display: block !important; width: 100% !important; padding: 12px 16px !important; margin: 0 0 12px 0 !important; background: #f3f7fb !important; border: 1px solid #dbe7f4 !important; border-radius: 8px !important; font-size: 14px !important; font-weight: 600 !important; color: #2c4c6c !important; text-align: center !important; cursor: pointer !important; box-sizing: border-box !important; }
.search-filter-container .filter-switch:hover { background: #e8f0f8 !important; border-color: #a7c4ea !important; }

/* =========================================
   КАТЕГОРИИ
   ========================================= */
.jbd-container .company-categories { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px !important; margin-top: 8px !important; }
.jbd-container .company-categories > div { display: inline-flex !important; align-items: center !important; gap: 6px !important; padding: 0 !important; background: transparent !important; border: none !important; order: 1; }
.jbd-container .company-categories > div:has(.subcategories) { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 6px !important; padding: 8px 0px !important; border-radius: 8px !important; order: 2; width: 100% !important; }
.jbd-container .company-categories a { display: inline-flex !important; align-items: center !important; padding: 5px 12px !important; background: #f4f8fc !important; border: 1px solid #dbe7f4 !important; border-radius: 6px !important; color: #2c4c6c !important; font-size: 0.82rem !important; font-weight: 600 !important; text-decoration: none !important; white-space: nowrap !important; transition: background 0.15s !important; }
.jbd-container .company-categories a:hover { background: #dbe7f4 !important; }
.jbd-container .company-categories .category-parent { background: #2c4c6c !important; color: #fff !important; border: none !important; font-weight: 400 !important; }
.jbd-container .company-categories .category-parent:hover { background: #1e3550 !important; }
.jbd-container .company-categories .subcategories { display: inline-flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 4px !important; position: relative !important; padding-left: 16px !important; }
.jbd-container .company-categories .subcategories::before { content: "→" !important; position: absolute !important; left: 0 !important; top: 50% !important; transform: translateY(-50%) !important; color: #8ea0b5 !important; font-size: 0.9rem !important; }
.jbd-container .company-categories .category-child { background: #fff !important; border: 1px solid #dbe7f4 !important; font-weight: 500 !important; }
@media (max-width: 640px) {
    .jbd-container .company-categories { gap: 6px !important; }
    .jbd-container .company-categories a { font-size: 0.76rem !important; padding: 4px 10px !important; }
    .jbd-container .company-categories .subcategories { padding-left: 14px !important; }
}

/* =========================================
   КЛЮЧЕВЫЕ СЛОВА
   ========================================= */
.jbd-container .listing-detail .business-categories { display: flex !important; flex-wrap: wrap !important; gap: 0 !important; list-style: none !important; padding: 0 !important; margin: 0 !important; align-items: center !important; }
.jbd-container .listing-detail .business-categories li { display: inline !important; margin: 0 !important; }
.jbd-container .listing-detail .business-categories a { display: inline !important; padding: 0 !important; background: transparent !important; border: none !important; color: #1e4d8c !important; font-size: 0.85rem !important; font-weight: 500 !important; text-decoration: none !important; transition: color 0.15s !important; }
.jbd-container .listing-detail .business-categories a:hover { color: #DC7C48 !important; text-decoration: underline !important; }
.jbd-container .listing-detail .business-categories li:not(:last-child) a::after { content: "," !important; color: #8ea0b5 !important; margin-right: 4px !important; text-decoration: none !important; display: inline-block !important; }
@media (max-width: 640px) { .jbd-container .listing-detail .business-categories a { font-size: 0.78rem !important; } }

/* =========================================
   УБИРАЕМ ЗАТЕМНЕНИЕ НА ЛОГОТИПАХ
   ========================================= */
.list-style-1 .item-image-cover::after, .list-style-1 .result-item .item-image-cover::after, .offer-list-style-1 .result-item .jitem-img-wrap::after, .offer-list-style-1 .result-item .item-image-cover::after { content: none !important; display: none !important; background: transparent !important; opacity: 0 !important; }
.list-style-1 .item-image-cover img { filter: grayscale(50%) !important; transition: filter 0.35s ease !important; }
.list-style-1 .result-item:hover .item-image-cover img { filter: grayscale(0%) !important; }
.offer-list-style-1 .result-item .jitem-img-wrap > img { filter: grayscale(50%) !important; transition: filter 0.35s ease !important; }
.offer-list-style-1 .result-item:hover .jitem-img-wrap > img { filter: grayscale(0%) !important; }

/* =========================================
   ФИКС КНОПКИ "+N ЕЩЁ"
   ========================================= */
.list-style-1 .company-categories .cat-pill.cat-hidden { display: none !important; }
.list-style-1 .company-categories.is-expanded .cat-pill.cat-hidden { display: inline-flex !important; }
.list-style-1 .company-categories .cat-more { display: inline-flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; background: #fff !important; color: #2c4c6c !important; border: 1px dashed #94a8bf !important; border-radius: 6px !important; font-size: 0.78rem !important; font-weight: 600 !important; padding: 4px 10px !important; margin: 0 !important; white-space: nowrap !important; }
.list-style-1 .company-categories .cat-more:hover { background: #f4f8fc !important; border-color: #2c4c6c !important; border-style: solid !important; }

/* =========================================
   ФИКС HOVER ДЛЯ КАРТОЧЕК СКИДОК
   ========================================= */
.offer-list-style-1 .result-item.offer-card--discount .item-image-cover img, .offer-list-style-1 .result-item.offer-card--discount .jitem-img-wrap img { filter: grayscale(50%) !important; transition: filter 0.35s ease !important; }
.offer-list-style-1 .result-item.offer-card--discount:hover .item-image-cover img, .offer-list-style-1 .result-item.offer-card--discount:hover .jitem-img-wrap img { filter: grayscale(0%) !important; }
.offer-list-style-1:has(.result-item.offer-card--discount:hover) .result-item.offer-card--discount:hover .item-image-cover img, .offer-list-style-1:has(.result-item.offer-card--discount:hover) .result-item.offer-card--discount:hover .jitem-img-wrap img { filter: grayscale(0%) !important; }
.offer-list-style-1 .result-item.offer-card--discount .result-content:hover ~ .col-lg-3 img, .offer-list-style-1 .result-item.offer-card--discount .result-content:hover ~ .col-lg-3 .item-image-cover img { filter: grayscale(0%) !important; }
.offer-list-style-1 .result-item.offer-card--discount .item-image-cover > a:hover img, .offer-list-style-1 .result-item.offer-card--discount .item-image-cover a:hover img { filter: grayscale(0%) !important; }

/* =========================================
   ФИКС ПОПАПА ДЛЯ ГЛАВНОЙ (СЛАЙДЕР)
   ========================================= */
@media (min-width: 769px) {
    .sppb-addon-module .cn-search-popup { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; width: 400px !important; max-width: 90vw !important; z-index: 99999 !important; box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important; border: 2px solid #5E939C !important; background: #fff !important; }
    .sppb-addon-module .cn-search-popup::before { display: none !important; }
}
@media (max-width: 768px) {
    .sppb-addon-module .mod-checknumber-form { padding: 12px 14px !important; margin-bottom: 40px !important; }
    .sppb-addon-module .mod-checknumber-field-inner { flex-wrap: wrap !important; border: none !important; background: transparent !important; padding: 0 !important; }
    .sppb-addon-module .cn-search-wrap {
        flex: 1 1 100% !important;
        order: 1 !important;
        background: #fff !important;
        border: 1px solid #a0c0c8 !important;
        border-radius: 6px !important;
        padding: 2px !important;
    }
    .sppb-addon-module .cn-search-help { order: 2 !important; flex: 1 1 auto !important; }
    .sppb-addon-module .mod-checknumber-buttons { order: 3 !important; flex: 1 1 auto !important; margin: 0 !important; }
    .sppb-addon-module .mod-checknumber-buttons button { width: 100% !important; }
    .sppb-addon-module .cn-search-popup {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90vw !important;
        max-width: 340px !important;
        z-index: 99999 !important;
    }
}

/* ===== УВЕЛИЧИВАЕМ ТЕКСТ В ПОПАПЕ ===== */
.sppb-addon-module .cn-search-popup h4 {
    font-size: 1.2rem !important;
    margin-bottom: 12px !important;
}
.sppb-addon-module .cn-search-popup p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
}
.sppb-addon-module .cn-search-popup strong {
    font-size: 15px !important;
}
.sppb-addon-module .cn-search-popup strong {
    font-size: 15px !important;
}

/* ===== ОТСТУПЫ МЕЖДУ БЛОКАМИ ФИЛЬТРОВ ===== */
#search-filter .filter-criteria {
    margin-bottom: 16px !important; 
    padding-bottom: 12px !important;
    border-bottom: 1px solid #eef2f8 !important;
}
#search-filter .filter-criteria:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

/* ===== ОФОРМЛЕНИЕ КНОПКИ "ПОДРОБНЕЕ" ===== */
#search-filter .filter-criteria .filterExpand {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    padding: 6px 14px !important;
    background: #ffffff !important;
    border: 1px solid #dbe7f4 !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #2c4c6c !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    transition: background 0.15s, box-shadow 0.15s;
}
#search-filter .filter-criteria .filterExpand:hover {
    background: #f0f5fa !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

/* ===== БЛОКИ ФИЛЬТРОВ: ОТСТУПЫ И РАЗДЕЛИТЕЛИ ===== */
#search-filter .filter-criteria {
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #eef2f8 !important;
}
#search-filter .filter-criteria:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
#search-filter .filter-criteria .filterExpand {
    margin-top: 0px !important;
    margin-bottom: 25px !important;
    padding: 6px 14px !important;
    background: #ffffff !important;
    border: 1px solid #dbe7f4 !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #2c4c6c !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    transition: background 0.15s, box-shadow 0.15s;
}
#search-filter .filter-criteria .filterExpand:hover {
    background: #f0f5fa !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}
#search-filter .filter-criteria .filterExpand {margin-bottom: -30px !important;}

/* =========================================================
   ФИНАЛЬНАЯ КАРТОЧКА ПОИСКА (ЕДИНЫЙ БЛОК)
   ========================================================= */
.tt-search-hero {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    padding: 40px 50px !important;
    gap: 40px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 20px auto 30px !important;
}
.tt-hero-left { flex: 1 1 55% !important; max-width: 55% !important; }
.tt-title-wrapper { display: flex !important; align-items: center !important; gap: 10px !important; margin-bottom: 12px !important; }
.tt-icon { font-size: 24px !important; line-height: 1 !important; }
.tt-title-wrapper h3 { margin: 0 !important; font-size: 22px !important; font-weight: 700 !important; color: #2c3e50 !important; }
.tt-main-desc { font-size: 14px !important; line-height: 1.6 !important; color: #555 !important; margin: 0 0 12px 0 !important; }
.tt-main-desc strong { color: #333 !important; font-weight: 700 !important; background: #f7f9fc !important; padding: 2px 6px !important; border-radius: 4px !important; border: 1px solid #eaeaea !important; }
.tt-note { display: inline-flex !important; align-items: center !important; gap: 8px !important; font-size: 12px !important; color: #777 !important; background: #fdfaf7 !important; padding: 6px 12px !important; border-radius: 8px !important; border-left: 3px solid #f38a4f !important; }
.tt-hero-right { flex: 1 1 45% !important; max-width: 45% !important; }
.tt-help-icon { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 14px !important; height: 14px !important; border-radius: 50% !important; background: #1e4d8c !important; color: #fff !important; font-size: 9px !important; font-weight: 700 !important; }
.tt-popup-header { display: flex !important; justify-content: space-between !important; align-items: center !important; margin-bottom: 10px !important; }
.tt-popup-header h4 { margin: 0 !important; font-size: 15px !important; font-weight: 800 !important; color: #1e2f3f !important; }
.tt-popup-close { background: transparent !important; border: none !important; font-size: 20px !important; color: #8ea0b5 !important; cursor: pointer !important; }
.tt-popup-body p { margin: 0 0 8px !important; font-size: 13px !important; color: #4a5b6e !important; line-height: 1.5 !important; }
@media (max-width: 992px) {
    .tt-search-hero { flex-direction: column !important; padding: 25px !important; gap: 20px !important; }
    .tt-hero-left, .tt-hero-right { max-width: 100% !important; width: 100% !important; flex: 1 1 100% !important; }
    .tt-hero-left { text-align: center !important; }
    .tt-title-wrapper { justify-content: center !important; }
    .tt-note { justify-content: center !important; }
}


/* =========================================
   ФИНАЛЬНЫЕ БЛОКИ (ЗАВЕРШЕНИЕ)
   ========================================= */

/* Завершение попапа слайдера (max-width: 768px) */
@media (max-width: 768px) {
    .sppb-addon-module .cn-search-popup {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90vw !important;
        max-width: 340px !important;
        z-index: 99999 !important;
    }
}

/* Увеличение текста в попапе слайдера */
.sppb-addon-module .cn-search-popup h4 {
    font-size: 1.2rem !important;
    margin-bottom: 12px !important;
}
.sppb-addon-module .cn-search-popup p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
}
.sppb-addon-module .cn-search-popup strong {
    font-size: 15px !important;
}

/* Отступы между блоками фильтров */
#search-filter .filter-criteria {
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #eef2f8 !important;
}
#search-filter .filter-criteria:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Кнопка "Подробнее" в фильтрах */
#search-filter .filter-criteria .filterExpand {
    margin-top: 0px !important;
    margin-bottom: 25px !important;
    padding: 6px 14px !important;
    background: #ffffff !important;
    border: 1px solid #dbe7f4 !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #2c4c6c !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    transition: background 0.15s, box-shadow 0.15s;
}
#search-filter .filter-criteria .filterExpand:hover {
    background: #f0f5fa !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}
// #search-filter .filter-criteria .filterExpand { margin-bottom: -30px !important; }

/* Убираем рамку у модуля Торгуник на странице поиска */
#search-results > #jbd-geo-bar,
#search-results > .jbd-geo-bar,
#jbd-geo-bar,
.jbd-geo-bar,
.jbd-geo-bar__checknumber,
.jbd-geo-bar__checknumber-form,
.jbd-geo-bar__checknumber-form .moduletable {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Растягиваем модуль Торгуник на главной и категориях */
.sppb-addon-module .torg-wrap,
.sppb-addon-module .torg-card,
.moduletable .torg-wrap,
.moduletable .torg-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.sppb-col .torg-card {
    max-width: 100% !important;
    margin: 0 !important;
}
.torg-compact .torg-card {
    max-width: 100% !important;
    width: 100% !important;
}    







/* =========================================================
   ФИКС СЧЁТЧИКА И СОРТИРОВКИ НА ПК
   ========================================================= */

/* 1. Счётчик — отступ сверху и вниз, крупнее */
html body #search-results .jbd-search-bar-top__counter {
    margin-top: 20px !important;
    margin-bottom: 25px !important;
    font-size: 15px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
}

/* 2. Сортировка — отступ сверху и вниз, ровно по центру */
html body #search-results .jbd-search-bar-top__sort {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    align-items: center !important;
}

/* 3. Кнопка сортировки — высокая, аккуратная */
html body #search-results .jbd-search-bar-top__sort .jbd-sort-top {
    height: 55px !important;
    min-height: 55px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    margin-bottom: 10px !important;
}
}

/* 4. Сама панель поиска — чуть больше отступ снизу, чтобы счётчик и сортировка не липли к карточкам */
html body #search-results .jbd-search-bar-top {
    padding-bottom: 20px !important;
    margin-bottom: 25px !important;
}



/* =========================================================
   ПОИСК (ЕДИНЫЙ ФИНАЛЬНЫЙ БЛОК)
   ========================================================= */

/* 1. Текст описания (оранжевая полоса, склейка) */
.jbd-search-description {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 6px solid #DC7C48 !important;
    border-radius: 8px 8px 0 0 !important;
    border-bottom: none !important;
    padding: 20px 25px 15px 25px !important;
    margin-bottom: -25px !important;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif !important;
    font-size: 20px !important;
    color: #4a6b6d !important;
    line-height: 1.5 !important;
}
.jbd-search-description strong {
    color: #046176 !important;
    font-weight: 700 !important;
}

/* 2. Панель поиска (синяя полоса, склейка снизу) */
.jbd-search-bar-top {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 6px solid #046176 !important;
    border-radius: 0 0 8px 8px !important;
    border-top: none !important;
    padding: 10px 25px 30px 25px !important;
    box-shadow: 0 10px 30px -10px rgba(4, 97, 118, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
}

/* 3. Поле ввода (64px, шрифт 18px) */
.jbd-search-bar-top .jbd-search-input-wrap,
.jbd-search-bar-top #search-field-container-653,
.jbd-search-bar-top .form-field.search,
.jbd-search-bar-top .jbd-search-row {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
}
.jbd-search-bar-top .jbd-search-input-wrap:focus-within {
    border-color: #046176 !important;
    background: #ffffff !important;
}
.jbd-search-bar-top input.jbd-search-input,
.jbd-search-bar-top #searchkeyword,
.jbd-search-bar-top input#searchkeyword {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    line-height: 60px !important;
    font-size: 18px !important;
    padding-left: 20px !important;
    color: #1e2f3f !important;
}

/* 4. Кнопка "Найти" (52px) */
.jbd-search-bar-top .jbd-search-submit {
    background: #DC7C48 !important;
    border-radius: 6px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 30px !important;
    margin-right: 6px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(220, 124, 72, 0.3) !important;
}

/* 5. Счётчик и сортировка */
.jbd-search-bar-top__counter {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    font-size: 15px !important;
    color: #64748b !important;
}
.jbd-search-bar-top__sort {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    align-items: center !important;
}
.jbd-search-bar-top__sort .jbd-sort-top {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    font-size: 16px !important;
    border-radius: 6px !important;
}

/* 6. Мобильная версия (≤ 768px) */
@media (max-width: 768px) {
    .jbd-search-description {
        padding: 15px !important;
        font-size: 16px !important;
    }
    .jbd-search-bar-top {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-rows: auto auto !important;
        gap: 12px 10px !important;
        padding: 15px !important;
        align-items: center !important;
    }
    .jbd-search-bar-top__search {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .jbd-search-bar-top__counter {
        grid-column: 1 !important;
        grid-row: 2 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        text-align: left !important;
        align-self: center !important;
    }
    .jbd-search-bar-top__sort {
        grid-column: 2 !important;
        grid-row: 2 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }
    .jbd-search-bar-top__sort .jbd-sort-top {
        height: 36px !important;
        padding: 0 12px !important;
        width: auto !important;
    }
    .jbd-search-bar-top .jbd-search-input-wrap {
        height: 54px !important;
        min-height: 54px !important;
    }
    .jbd-search-bar-top input.jbd-search-input,
    .jbd-search-bar-top #searchkeyword {
        height: 50px !important;
        min-height: 50px !important;
        line-height: 50px !important;
        font-size: 16px !important;
        padding-left: 15px !important;
    }
    .jbd-search-bar-top .jbd-search-submit {
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 20px !important;
        font-size: 15px !important;
    }
}


/* =========================================================
   ТОЧЕЧНЫЙ ФИКС ПОИСКА (только то, что нужно)
   ========================================================= */

/* 1. Поле ввода — высокое, 64px, шрифт 18px (перебиваем инлайн-стиль) */
html body #search-results .jbd-search-bar-top .jbd-search-input,
html body #search-results .jbd-search-bar-top #searchkeyword,
html body #search-results .jbd-search-bar-top input#searchkeyword {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    line-height: 60px !important;
    font-size: 18px !important;
    padding-left: 20px !important;
}

/* 2. Обертка поля — 64px */
html body #search-results .jbd-search-bar-top .jbd-search-input-wrap {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    margin-bottom: 10px !important;
    border: 1.5px solid #046176 !important;
}

/* 3. Кнопка "Найти" — 52px */
html body #search-results .jbd-search-bar-top .jbd-search-submit {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 30px !important;
    font-size: 16px !important;
}

/* 4. На ПК отступ снизу от поиска — НЕ добавляем (как ты просил) */
html body #search-results .jbd-search-bar-top {
    margin-bottom: 0 !important;
}

/* 5. На мобильном — отступ снизу от поиска */
@media (max-width: 768px) {
    html body #search-results .jbd-search-bar-top {
        margin-bottom: 20px !important;
    }
}





/* =========================================================
   ТОВАРЫ (body.view-offers) — поиск в стиле «Торговых точек»
   Привязка к body.view-offers, чтобы не задеть view-search.
   Перебивает <style> модуля mod_jbusiness_listings_search,
   который грузится после custom.css.
   ========================================================= */

/* ---------- 1. Описание (оранжевая полоса, склейка) ---------- */
body.view-offers .jbd-search-description {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 6px solid #DC7C48 !important;
    border-radius: 8px 8px 0 0 !important;
    border-bottom: none !important;
    padding: 20px 25px 15px 25px !important;
    margin: 0 0 -25px 0 !important;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif !important;
    font-size: 20px !important;
    color: #4a6b6d !important;
    line-height: 1.5 !important;
    position: relative !important;
    z-index: 2 !important;
}
body.view-offers .jbd-search-description strong {
    color: #046176 !important;
    font-weight: 700 !important;
}

/* ---------- 2. Обёртка поля: 64px ---------- */
body.view-offers .jbd-search-input-wrap {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    border: 2px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
}
body.view-offers .jbd-search-input-wrap:focus-within {
    border-color: #046176 !important;
    background: #ffffff !important;
}

/* ---------- 3. Поле ввода: 60px, шрифт 18px ---------- */
body.view-offers input#searchkeyword,
body.view-offers .jbd-search-input {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    line-height: 60px !important;
    font-size: 18px !important;
    padding-left: 20px !important;
    color: #1e2f3f !important;
}

/* ---------- 4. Кнопка «Найти»: оранжевая, 52px ---------- */
body.view-offers .jbd-search-submit {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 30px !important;
    margin-left: 6px !important;
    border-radius: 6px !important;
    background: #DC7C48 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(220, 124, 72, 0.3) !important;
}
body.view-offers .jbd-search-submit:hover {
    background: #c96a38 !important;
}
body.view-offers .jbd-search-submit i {
    font-size: 16px !important;
}

/* ---------- 5. Крестик очистки: под 64px ---------- */
body.view-offers .jbd-search-clear {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    margin-right: 6px !important;
}

/* ---------- 6. Панель статистики: в одну строку ---------- */
body.view-offers .jbd-search-statistics {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
body.view-offers .jbd-search-statistics > .search-keyword {
    flex: 0 0 auto !important;
    margin: 0 !important;
}
body.view-offers .jbd-search-statistics #search-details {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.view-offers .jbd-search-statistics > div:last-child {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

/* Счётчик — крупнее и по центру */
body.view-offers .jbd-search-statistics .result-counter {
    font-size: 15px !important;
    color: #64748b !important;
    white-space: nowrap !important;
}
body.view-offers .jbd-search-statistics .result-counter .pag-from-result,
body.view-offers .jbd-search-statistics .result-counter .pag-to-result,
body.view-offers .jbd-search-statistics .result-counter .pag-total-result {
    color: #2c4c6c !important;
    font-weight: 700 !important;
}

/* Сортировка + кнопка вида — в строку */
body.view-offers .jbd-search-statistics .search-options {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.view-offers .jbd-search-statistics .search-options .jbd-select-box {
    flex: 0 0 auto !important;
    margin: 0 !important;
}
body.view-offers .jbd-search-statistics .search-options .jbd-view-btn {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

/* ---------- 7. Убираем внешние рамки вокруг модуля поиска ---------- */
body.view-offers #companies-search,
body.view-offers #companies-search > div,
body.view-offers #dir-container-183,
body.view-offers #searchform,
body.view-offers form#keywordSearch,
body.view-offers .form-container,
body.view-offers .form-field.search,
body.view-offers .jbd-search-row {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ---------- 8. Скрыть старую кнопку search-dir-button (дубль) ---------- */
body.view-offers .search-dir-button {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------- 9. Склейка описания с панелью поиска ----------
   Описание вставлено в модуль перед .jbd-search-bar.
   Между ними лежит .jbd-search-bar, у которого нет своего фона.
   Склейка: описание сверху, поле поиска снизу — одной карточкой.
*/
body.view-offers .jbd-search-statistics {
    background: transparent !important;
}

/* ---------- 10. Мобильная версия (≤ 768px) ---------- */
@media (max-width: 768px) {
    body.view-offers .jbd-search-description {
        padding: 15px !important;
        font-size: 16px !important;
        margin-bottom: 0 !important;
        border-radius: 8px 8px 0 0 !important;
    }
    body.view-offers .jbd-search-input-wrap {
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
    }
    body.view-offers input#searchkeyword,
    body.view-offers .jbd-search-input {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        line-height: 50px !important;
        font-size: 16px !important;
        padding-left: 15px !important;
    }
    body.view-offers .jbd-search-submit {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        padding: 0 20px !important;
        font-size: 15px !important;
    }
    body.view-offers .jbd-search-submit span {
        display: inline !important;
    }
    body.view-offers .jbd-search-statistics {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    body.view-offers .jbd-search-statistics > .search-keyword {
        flex: 1 1 100% !important;
    }
    body.view-offers .jbd-search-statistics #search-details {
        flex: 1 1 100% !important;
        order: 2 !important;
    }
    body.view-offers .jbd-search-statistics > div:last-child {
        flex: 1 1 100% !important;
        order: 3 !important;
    }
    body.view-offers .jbd-search-statistics .search-options {
        width: 100% !important;
        justify-content: space-between !important;
    }
}

body.view-offers .jbd-search-statistics #search-details,
body.view-offers .jbd-search-statistics #search-details > div,
body.view-offers .jbd-search-statistics #search-module,
body.view-offers .jbd-search-statistics .moduletable,
body.view-offers .jbd-search-statistics #companies-search,
body.view-offers .jbd-search-statistics .jbd-search-row,
body.view-offers .jbd-search-statistics .jbd-search-input-wrap {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    box-sizing: border-box !important;
}


/* =========================================================
   ШАГ 1: Строка поиска на Товарах (выравнивание)
   ========================================================= */
body.view-offers .jbd-search-statistics {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 6px solid #046176 !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
    margin: 0 0 25px 0 !important;
    box-shadow: 0 4px 12px -8px rgba(4, 97, 118, 0.15) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 1. Счётчик — слева, крупный, не сжимается */
body.view-offers .jbd-search-statistics > .search-keyword {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}
body.view-offers .jbd-search-statistics .result-counter {
    font-size: 15px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}
body.view-offers .jbd-search-statistics .pag-from-result,
body.view-offers .jbd-search-statistics .pag-to-result,
body.view-offers .jbd-search-statistics .pag-total-result {
    color: #2c4c6c !important;
    font-weight: 700 !important;
}

/* 2. Блок поиска — растягивается на всё свободное место */
body.view-offers .jbd-search-statistics #search-details {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
body.view-offers .jbd-search-statistics #search-details > div,
body.view-offers .jbd-search-statistics #search-module,
body.view-offers .jbd-search-statistics .moduletable,
body.view-offers .jbd-search-statistics #companies-search,
body.view-offers .jbd-search-statistics .jbd-search-row,
body.view-offers .jbd-search-statistics .jbd-search-input-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* 3. Сортировка и кнопка вида — справа, не сжимаются */
body.view-offers .jbd-search-statistics > div:last-child {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.view-offers .jbd-search-statistics .search-options {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   ШАГ 2: Ритм строки поиска на Товарах
   ========================================================= */

/* 1. Воздух между счётчиком и полем поиска */
body.view-offers .jbd-search-statistics {
    gap: 24px !important;
    padding: 14px 24px !important;
}
body.view-offers .jbd-search-statistics > .search-keyword {
    padding-right: 8px !important;
}

/* 2. Поле и обёртка — 64px, с воздухом */
body.view-offers .jbd-search-statistics .jbd-search-input-wrap {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    border: 2px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    padding-left: 20px !important;
    transition: border-color .15s, background .15s !important;
}
body.view-offers .jbd-search-statistics .jbd-search-input-wrap:focus-within {
    border-color: #046176 !important;
    background: #ffffff !important;
}
body.view-offers .jbd-search-statistics input#searchkeyword,
body.view-offers .jbd-search-statistics .jbd-search-input {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    line-height: 60px !important;
    font-size: 17px !important;
    padding-left: 4px !important;
    color: #1e2f3f !important;
    background: transparent !important;
    border: none !important;
}

/* 3. Кнопка «Поиск» — 52px, с воздухом справа */
body.view-offers .jbd-search-statistics .jbd-search-submit {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 28px !important;
    margin: 0 0 0 0 !important;
    border-radius: 6px !important;
    background: #DC7C48 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(220, 124, 72, 0.25) !important;
    border: none !important;
}
body.view-offers .jbd-search-statistics .jbd-search-submit:hover {
    background: #c96a38 !important;
}
body.view-offers .jbd-search-statistics .jbd-search-submit i {
    font-size: 16px !important;
}

/* 4. Сортировка и кнопка вида — высота 48px (вровень с полем визуально) */
body.view-offers .jbd-search-statistics .jbd-select-box {
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
}
body.view-offers .jbd-search-statistics .jbd-select-box select.jbd-orderby-native,
body.view-offers .jbd-search-statistics .jbd-select-box select.jbd-sort-native-fixed {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 36px 0 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border: 1.5px solid #dbe7f4 !important;
    background-color: #eef4fb !important;
    color: #1e4d8c !important;
}
body.view-offers .jbd-search-statistics .jbd-view-btn {
    height: 48px !important;
    min-height: 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: 1.5px solid #dbe7f4 !important;
    background: #eef4fb !important;
    color: #1e4d8c !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
body.view-offers .jbd-search-statistics .jbd-view-btn i {
    font-size: 18px !important;
}
body.view-offers .jbd-search-statistics .jbd-view-btn:hover,
body.view-offers .jbd-search-statistics .jbd-select-box select:hover {
    background: #dbe7f4 !important;
    border-color: #a7c4ea !important;
}

/* 5. Крестик очистки — 32px, по центру поля */
body.view-offers .jbd-search-statistics .jbd-search-clear {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    margin-right: 8px !important;
}

/* 6. Счётчик — крупнее, выровнен по центру строки */
body.view-offers .jbd-search-statistics .result-counter {
    font-size: 15px !important;
    line-height: 1.4 !important;
    color: #64748b !important;
}
body.view-offers .jbd-search-statistics .result-counter .pag-from-result,
body.view-offers .jbd-search-statistics .result-counter .pag-to-result,
body.view-offers .jbd-search-statistics .result-counter .pag-total-result {
    color: #2c4c6c !important;
    font-weight: 700 !important;
}

/* 7. Правая часть — прижать к правому краю */
body.view-offers .jbd-search-statistics > div:last-child {
    flex: 0 0 auto !important;
    margin-left: auto !important;
}
body.view-offers .jbd-search-statistics .search-options {
    gap: 12px !important;
}

/* 8. Мобильная — в столбик, всё 100% */
@media (max-width: 768px) {
    body.view-offers .jbd-search-statistics {
        flex-wrap: wrap !important;
        gap: 12px !important;
        padding: 12px 16px !important;
    }
    body.view-offers .jbd-search-statistics > .search-keyword {
        flex: 1 1 100% !important;
        order: 1 !important;
        padding: 0 !important;
    }
    body.view-offers .jbd-search-statistics #search-details {
        flex: 1 1 100% !important;
        order: 2 !important;
    }
    body.view-offers .jbd-search-statistics > div:last-child {
        flex: 1 1 100% !important;
        order: 3 !important;
        margin-left: 0 !important;
    }
    body.view-offers .jbd-search-statistics .search-options {
        justify-content: space-between !important;
        width: 100% !important;
    }
    body.view-offers .jbd-search-statistics .jbd-search-input-wrap {
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
    }
    body.view-offers .jbd-search-statistics input#searchkeyword {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        font-size: 15px !important;
    }
    body.view-offers .jbd-search-statistics .jbd-search-submit {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        padding: 0 20px !important;
        font-size: 15px !important;
    }
    body.view-offers .jbd-search-statistics .jbd-select-box,
    body.view-offers .jbd-search-statistics .jbd-select-box select,
    body.view-offers .jbd-search-statistics .jbd-view-btn {
        height: 44px !important;
        min-height: 44px !important;
    }
}


/* =========================================================
   ШАГ 3: Фикс переполнения поиска и позиции GPS/Карты
   ========================================================= */

/* --- 1. Панель поиска: высота по контенту, не обрезает поле --- */
body.view-offers .jbd-search-statistics {
    min-height: 64px !important;
    height: auto !important;
    align-items: center !important;
    overflow: visible !important;
}

/* #search-details — не должен растягивать панель вниз */
body.view-offers .jbd-search-statistics #search-details {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* Внутренние обёртки модуля — не добавляют высоту */
body.view-offers .jbd-search-statistics #search-details > div,
body.view-offers .jbd-search-statistics #search-module,
body.view-offers .jbd-search-statistics .moduletable,
body.view-offers .jbd-search-statistics #companies-search,
body.view-offers .jbd-search-statistics #dir-container-183,
body.view-offers .jbd-search-statistics #searchform,
body.view-offers .jbd-search-statistics form#keywordSearch,
body.view-offers .jbd-search-statistics .form-container {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* Поле — 64px ровно, без вылезания */
body.view-offers .jbd-search-statistics .jbd-search-input-wrap {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
body.view-offers .jbd-search-statistics .jbd-search-row {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* Скрыть validation-блоки модуля, которые добавляют высоту */
body.view-offers .jbd-search-statistics .search-dropdown,
body.view-offers .jbd-search-statistics .keyword-search-validation-183 {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- 2. GPS/Карта — в левую колонку, НАД фильтрами, с отступом --- */
body.view-offers .jbd-left-geo-bar {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

body.view-offers .jbd-left-geo-bar .jbd-geo-btn,
body.view-offers .jbd-left-geo-bar .jbd-map-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 1.5px solid #dbe7f4 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #2c4c6c !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background .15s, border-color .15s !important;
}
body.view-offers .jbd-left-geo-bar .jbd-geo-btn:hover,
body.view-offers .jbd-left-geo-bar .jbd-map-btn:hover {
    background: #f4f8fc !important;
    border-color: #5499C7 !important;
    color: #1e3550 !important;
}
body.view-offers .jbd-left-geo-bar .jbd-geo-btn i,
body.view-offers .jbd-left-geo-bar .jbd-map-btn i {
    font-size: 15px !important;
    color: #5499C7 !important;
}

/* --- 3. Мобильная версия --- */
@media (max-width: 992px) {
    /* GPS/Карта на мобильном — обратно в панель, не в левую колонку */
    body.view-offers .jbd-left-geo-bar {
        display: contents !important;
    }
}
@media (max-width: 768px) {
    body.view-offers .jbd-search-statistics .jbd-search-input-wrap {
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
    }
    body.view-offers .jbd-search-statistics .jbd-search-row {
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
    }
    body.view-offers .jbd-left-geo-bar {
        margin-bottom: 12px !important;
    }
    body.view-offers .jbd-left-geo-bar .jbd-geo-btn,
    body.view-offers .jbd-left-geo-bar .jbd-map-btn {
        height: 40px !important;
        min-height: 40px !important;
        font-size: 12px !important;
    }
}


/* =========================================================
   ШАГ 4: Правый край + GPS/Карта в фильтры
   ========================================================= */

/* --- 1. Не заезжать за правый край --- */
body.view-offers #jbd-container > .row > .col-lg {
    margin-right: 13px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}
body.view-offers #jbd-container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* --- 2. GPS/Карта — прижаты к «Фильтрам», в одну строку, над ними --- */
body.view-offers .jbd-left-geo-bar {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

body.view-offers .jbd-left-geo-bar .jbd-geo-btn,
body.view-offers .jbd-left-geo-bar .jbd-map-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 1.5px solid #dbe7f4 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #2c4c6c !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background .15s, border-color .15s !important;
    box-sizing: border-box !important;
}
body.view-offers .jbd-left-geo-bar .jbd-geo-btn:hover,
body.view-offers .jbd-left-geo-bar .jbd-map-btn:hover {
    background: #f4f8fc !important;
    border-color: #5499C7 !important;
    color: #1e3550 !important;
}
body.view-offers .jbd-left-geo-bar .jbd-geo-btn i,
body.view-offers .jbd-left-geo-bar .jbd-map-btn i {
    font-size: 15px !important;
    color: #5499C7 !important;
}

/* --- 3. Пустая колонка col-lg-3 не должна занимать место, если в ней пусто --- */
body.view-offers #jbd-container > .row > .col-lg-3:empty {
    display: none !important;
}
/* Если в ней что-то есть (GPS/Карта) — показываем --- */
body.view-offers #jbd-container > .row > .col-lg-3:not(:empty) {
    display: block !important;
    flex: 0 0 auto !important;
    max-width: 220px !important;
    padding: 0 !important;
}

/* --- 4. Мобильная версия --- */
@media (max-width: 992px) {
    body.view-offers .jbd-left-geo-bar {
        display: contents !important;
    }
    body.view-offers #jbd-container > .row > .col-lg-3:not(:empty) {
        display: none !important;
    }
}


/* =========================================================
   ШАГ 6: Вернуть GPS/Карту в панель, не обрезать
   ========================================================= */

/* 1. Панель — не обрезает содержимое */
body.view-offers .jbd-search-statistics {
    overflow: visible !important;
    gap: 14px !important;
}

/* 2. Правая часть — не сжимается, вмещает GPS+Карта+сортировку+вид */
body.view-offers .jbd-search-statistics > div:last-child {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
    display: flex !important;
    align-items: center !important;
}
body.view-offers .jbd-search-statistics .search-options {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

/* 3. GPS и Карта — компактные (36px), не выпирают */
body.view-offers .jbd-search-statistics .jbd-geo-btn,
body.view-offers .jbd-search-statistics .jbd-map-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #c8dbf2 !important;
    border-radius: 8px !important;
    background: #eef4fb !important;
    color: #1e4d8c !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}
body.view-offers .jbd-search-statistics .jbd-geo-btn i,
body.view-offers .jbd-search-statistics .jbd-map-btn i {
    font-size: 14px !important;
    color: inherit !important;
}
body.view-offers .jbd-search-statistics .jbd-geo-btn:hover,
body.view-offers .jbd-search-statistics .jbd-map-btn:hover {
    background: #dbe7f4 !important;
    border-color: #a7c4ea !important;
    color: #163c6e !important;
}

/* 4. Сортировка — не больше 200px, чтобы не съедала место */
body.view-offers .jbd-search-statistics .jbd-select-box {
    flex-shrink: 0 !important;
    max-width: 200px !important;
}
body.view-offers .jbd-search-statistics .jbd-select-box select.jbd-sort-native-fixed {
    max-width: 200px !important;
}

/* 5. Кнопка вида — компактная 36px */
body.view-offers .jbd-search-statistics .jbd-view-btn {
    height: 45px !important;
    min-height: 35px !important;
    width: 45px !important;
    min-width: 36px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

/* 6. Мобильная — в столбик, GPS/Карта на всю ширину */
@media (max-width: 768px) {
    body.view-offers .jbd-search-statistics > div:last-child {
        flex: 1 1 100% !important;
        margin-left: 0 !important;
    }
    body.view-offers .jbd-search-statistics .search-options {
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 6px !important;
    }
    body.view-offers .jbd-search-statistics .jbd-geo-btn,
    body.view-offers .jbd-search-statistics .jbd-map-btn {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        font-size: 12px !important;
        padding: 0 6px !important;
    }
}


/* =========================================================
   ФИНАЛ: мобильная сетка для панели поиска на Товарах
   Перебивает мои же блоки body.view-offers .jbd-search-statistics
   из шагов 1–4 (у них display: flex !important, они ломают
   мобильный grid из offers_list_style_1.php).
   Действует только на мобильном (≤768px).
   ========================================================= */
@media (max-width: 768px) {
    /* 1. Панель — grid на 3 колонки */
    body.view-offers .jbd-search-statistics {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        grid-template-rows: auto auto auto !important;
        gap: 10px 8px !important;
        align-items: center !important;
        padding: 14px 16px !important;
        margin: 0 0 14px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-left: 6px solid #046176 !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 12px -8px rgba(4, 97, 118, 0.15) !important;
        overflow: visible !important;
    }

    /* 2. Распаковка обёрток (display: contents) */
    body.view-offers .jbd-search-statistics > div:last-child,
    body.view-offers .jbd-search-statistics .search-options {
        display: contents !important;
    }

    /* 3. Счётчик — 1-й ряд, колонка 1 */
    body.view-offers .jbd-search-statistics > .search-keyword {
        grid-row: 1 / 2 !important;
        grid-column: 1 / 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    /* 4. Сортировка — 1-й ряд, колонки 2–3 */
    body.view-offers .jbd-search-statistics .jbd-select-box {
        grid-row: 1 / 2 !important;
        grid-column: 2 / -1 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        margin: 0 !important;
        width: 100% !important;
        height: 36px !important;
    }
    body.view-offers .jbd-search-statistics .jbd-select-box .chosen-container {
        display: none !important;
    }
    body.view-offers .jbd-search-statistics .jbd-select-box select.jbd-sort-native-fixed {
        display: block !important;
        width: auto !important;
        min-width: 140px !important;
        max-width: 100% !important;
        height: 36px !important;
        line-height: 36px !important;
        font-size: 12px !important;
        padding: 0 24px 0 10px !important;
        margin: 0 !important;
        border: 1px solid #dbe7f4 !important;
        border-radius: 8px !important;
        background-color: #fff !important;
        color: #2c4c6c !important;
    }

    /* 5. Поиск — 2-й ряд, на всю ширину */
    body.view-offers .jbd-search-statistics #search-details {
        grid-row: 2 / 3 !important;
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        order: 0 !important;
    }
    body.view-offers .jbd-search-statistics .jbd-search-input-wrap {
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
        box-shadow: 0 4px 12px -4px rgba(30, 47, 63, 0.1) !important;
        border-color: #cddeed !important;
    }
    body.view-offers .jbd-search-statistics input#searchkeyword,
    body.view-offers .jbd-search-statistics .jbd-search-input {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        line-height: 50px !important;
        font-size: 15px !important;
        padding-left: 15px !important;
    }
    body.view-offers .jbd-search-statistics .jbd-search-submit {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        padding: 0 20px !important;
        font-size: 15px !important;
    }

    /* 6. GPS / Карта / Вид — 3-й ряд, три равные колонки */
    body.view-offers .jbd-search-statistics .jbd-geo-btn,
    body.view-offers .jbd-search-statistics .jbd-map-btn,
    body.view-offers .jbd-search-statistics .jbd-view-btn {
        grid-row: 3 / 4 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 38px !important;
        padding: 0 4px !important;
        margin: 0 !important;
        font-size: 12px !important;
        border-radius: 6px !important;
    }
    body.view-offers .jbd-search-statistics .jbd-geo-btn   { grid-column: 1 / 2 !important; }
    body.view-offers .jbd-search-statistics .jbd-map-btn   { grid-column: 2 / 3 !important; }
    body.view-offers .jbd-search-statistics .jbd-view-btn  { grid-column: 3 / 4 !important; }
    body.view-offers .jbd-search-statistics .jbd-view-btn span { display: none !important; }

    /* 7. Убираем margin-right:13px (с ПК), который на мобильном лишний */
    body.view-offers #jbd-container > .row > .col-lg {
        margin-right: 0 !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
}

/* =========================================================
   МОБИЛКА: отступ от поиска + шире блок (≤768px)
   ========================================================= */
@media (max-width: 768px) {
    /* 1. Отступы внутри панели — больше воздуха по бокам */
    body.view-offers .jbd-search-statistics {
        padding: 16px 12px !important;
        gap: 12px 8px !important;
        margin: 0 0 16px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 2. Отступ под полем поиска — до GPS/Карта/Вид */
    body.view-offers .jbd-search-statistics #search-details {
        margin: 0 0 14px 0 !important;
        padding: 0 !important;
    }

    /* 3. GPS / Карта / Вид — чуть шире и выше, с воздухом между */
    body.view-offers .jbd-search-statistics .jbd-geo-btn,
    body.view-offers .jbd-search-statistics .jbd-map-btn,
    body.view-offers .jbd-search-statistics .jbd-view-btn {
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 6px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
    body.view-offers .jbd-search-statistics .jbd-view-btn {
        width: 100% !important;
    }

    /* 4. Счётчик — крупнее и с воздухом справа */
    body.view-offers .jbd-search-statistics > .search-keyword {
        padding-right: 6px !important;
        font-size: 13px !important;
    }

    /* 5. Сортировка — на всю правую часть, с воздухом слева */
    body.view-offers .jbd-search-statistics .jbd-select-box {
        padding-left: 6px !important;
    }

    /* 6. Убираем лишний левый отступ у контейнера (от bootstrap) */
    body.view-offers #jbd-container > .row > .col-lg {
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-right: 0 !important;
    }
}


/* =========================================================
   МОБИЛКА: фикс рамки сортировки, отступа кнопки, кнопок GPS/Карта/Вид
   ========================================================= */
@media (max-width: 768px) {
    /* 1. Убираем двойную рамку у сортировки */
    body.view-offers .jbd-search-statistics .jbd-select-box {
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
    }
    body.view-offers .jbd-search-statistics .jbd-select-box select.jbd-sort-native-fixed {
        border: 1px solid #dbe7f4 !important;
        border-radius: 8px !important;
        background-color: #fff !important;
        height: 36px !important;
        line-height: 36px !important;
        padding: 0 24px 0 10px !important;
        box-shadow: none !important;
    }

    /* 2. Кнопка «Поиск» — убираем лишний отступ справа */
    body.view-offers .jbd-search-statistics .jbd-search-submit {
        margin-right: 4px !important;
    }

    /* 3. Кнопки GPS / Карта / Вид — одна высота, одна ширина, аккуратный стиль */
    body.view-offers .jbd-search-statistics .jbd-geo-btn,
    body.view-offers .jbd-search-statistics .jbd-map-btn,
    body.view-offers .jbd-search-statistics .jbd-view-btn {
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        font-size: 12px !important;
        border: 1px solid #dbe7f4 !important;
        border-radius: 8px !important;
        background: #eef4fb !important;
        color: #1e4d8c !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        box-sizing: border-box !important;
    }
    body.view-offers .jbd-search-statistics .jbd-geo-btn:hover,
    body.view-offers .jbd-search-statistics .jbd-map-btn:hover,
    body.view-offers .jbd-search-statistics .jbd-view-btn:hover {
        background: #dbe7f4 !important;
        border-color: #a7c4ea !important;
    }
    body.view-offers .jbd-search-statistics .jbd-geo-btn i,
    body.view-offers .jbd-search-statistics .jbd-map-btn i,
    body.view-offers .jbd-search-statistics .jbd-view-btn i {
        font-size: 14px !important;
    }
    body.view-offers .jbd-search-statistics .jbd-view-btn span {
        display: none !important;
    }
}


/* =========================================================
   МОБИЛКА: панель поиска на всю ширину экрана (≤768px)
   ========================================================= */
@media (max-width: 768px) {
    /* 1. Убираем padding у обёрток — панель прижимается к краям */
    body.view-offers #jbd-container,
    body.view-offers #jbd-container > .row,
    body.view-offers #jbd-container > .row > .col-lg,
    body.view-offers #jbd-container > .row > .col-md {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 2. Панель — на всю ширину, без боковых отступов, но с внутренним воздухом */
    body.view-offers .jbd-search-statistics {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
        padding: 16px 14px !important;
        border-radius: 0 !important;
        border-left-width: 6px !important;
        box-sizing: border-box !important;
    }

    /* 3. Поиск — тоже на всю ширину */
    body.view-offers .jbd-search-statistics #search-details {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 14px 0 !important;
        padding: 0 !important;
    }
    body.view-offers .jbd-search-statistics .jbd-search-input-wrap {
        width: 100% !important;
        max-width: 100% !important;
    }
}







.jbd-container .result-item .company-intro {
    display: block;
    font-size: 16px;
    color: #7f838d;
}


#search-filter .filter-criteria ul li a, #search-filter .filter-categories li a {
  
    font-size: 16px !important ;}


/* =========================================================
   ТОЧКИ (body.view-search): отступы от краёв экрана
   Компенсируем padding col-lg-12 + margin row, чтобы контент
   не прилипал к краям (как на Товарах).
   ========================================================= */
/* =========================================================
   ТОЧКИ (body.view-search): симметричные отступы
   Структура: .col-lg-3 (фильтры) + .col-lg (карточки)
   ========================================================= */
body.view-search #jbd-container > .row {
    margin-left: 0px !important;     /* компенсирует -15 row → +7 */
    margin-right: 0px !important;    /* симметрично */
}

body.view-search #jbd-container > .row > .col-lg-3 {
    padding-left: 10px !important;
    padding-right: 15px !important;
}

body.view-search #jbd-container > .row > .col-lg {
    padding-left: 10px !important;
    padding-right: 15px !important;
}

.jbd-container .search-filter-container {
    margin-left: 1px;
}

.list-style-1 {
margin-right: 0px;
}



.jbd-container #reviews li.review {
    border-top: 1px dashed #2a518d;
}

.offer-loc-chips .loc-city  {
    border-radius: 8px;
}
.offer-loc-chips .loc-district {
 border-radius: 8px;
}

.offer-loc-chips .loc-center {
 border-radius: 8px;
}

/* Убираем горизонтальную прокрутку у главного контейнера страницы */
.page-content,
.sppb-section {
    overflow-x: clip !important; 
}

/* Возвращаем видимость стрелкам слайдера, если они обрезались */
#image-slider-header .sppb-row,
#image-slider-header .sppb-column {
    overflow: visible !important;
}

/* Оформление стрелок в Smart Slider 3 */
#image-slider-header .n2-ss-arrow {
    background-color: rgba(255, 255, 255, 0.3) !important; /* Полупрозрачный белый */
    backdrop-filter: blur(5px); /* Легкое размытие фона (эффект стекла) */
    border-radius: 50%; /* Круглые кнопки */
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Иконка внутри стрелки (чтобы была темной на светлом фоне) */
#image-slider-header .n2-ss-arrow:before {
    color: #333 !important; 
    font-size: 20px;
}

/* Эффект при наведении */
#image-slider-header .n2-ss-arrow:hover {
    background-color: rgba(255, 255, 255, 0.8) !important;
}


/* Скрываем цифры, делаем аккуратные точки */
#image-slider-header .n2-ss-slider-controls-pagination .n2-bullet {
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: transparent !important; /* Скрываем текст цифр */
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin: 0 6px !important;
    transition: background-color 0.3s;
}

/* Активная точка */
#image-slider-header .n2-ss-slider-controls-pagination .n2-bullet.n2-active {
    background-color: #2a6d8a !important; /* Цвет вашей кнопки "Перейти" или заголовка */
    transform: scale(1.2); /* Чуть увеличиваем активную точку */
}

#image-slider-header .n2-ss-slider-wrapper {
    box-shadow: none !important;
}


/* ===== ФОН-КАРТА ДЛЯ ТОРГУНИКА ===== */
#jbd-container > .jbd-geo-bar__checknumber .torg-card,
.sppb-addon-module .torg-card,
.moduletable .torg-card {
    background-image: url('https://oftopplata.ru/images/2026-11-05_19-02-13.png') !important;
    background-size: cover !important;
    background-position: center 61% !important;
    background-repeat: no-repeat !important;
    background-color: #ffffff !important;
}
#jbd-container > .jbd-geo-bar__checknumber .torg-card,
.sppb-addon-module .torg-card,
.moduletable .torg-card {
    position: relative !important;
    overflow: hidden !important;
}
#jbd-container > .jbd-geo-bar__checknumber .torg-card::before,
.sppb-addon-module .torg-card::before,
.moduletable .torg-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(255, 255, 255, 0.75) !important; /* 75% белого поверх карты */
    z-index: 0 !important;
    pointer-events: none !important;
}
#jbd-container > .jbd-geo-bar__checknumber .torg-card > *,
.sppb-addon-module .torg-card > *,
.moduletable .torg-card > * {
    position: relative !important;
    z-index: 1 !important;
}


/* ===== ПОДНИМАЕМ ПОПАП ВЫШЕ СЛАЙДЕРА ===== */
.torg-popup-overlay {
    z-index: 999999 !important;
}