.jb-suite-search-sticky {
    display: none;
}

@media (min-width: 992px) {
    .jb-suite-search-sticky {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        position: sticky;
        top: -20px;
        padding: 12px 16px;
        background: #fff;
        border-bottom: 1px solid #e5e1d9;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        width: 100%;
        z-index: 2;
    }

    .jb-suite-search-detail .jb-suite-search-sticky {
        margin: -24px -24px 0;
        width: calc(100% + 48px);
        border-radius: 12px 12px 0 0;
    }

    .jb-suite-search-sticky.is-hidden {
        display: none;
    }

    .jb-suite-search-sticky.is-visible {
        display: flex;
    }

    .jb-suite-search-sticky-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

    .jb-suite-search-sticky-title {
        font-weight: 600;
        font-size: 14px;
        color: #111827;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .jb-suite-search-sticky-meta {
        font-size: 12px;
        color: #6b7280;
        display: flex;
        gap: 6px;
        align-items: center;
        flex-wrap: wrap;
    }

    .jb-suite-search-sticky-actions {
        display: flex;
        gap: 8px;
        align-items: center;
    }
}

.jb-suite-search-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

@media (min-width: 992px) {
    .jb-suite-single-sticky {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        position: fixed;
        left: 50%;
        right: auto;
        width: 100vw;
        transform: translateX(-50%);
        top: 0;
        padding: 12px 16px;
        background: #fff;
        border-bottom: 1px solid #e5e1d9;
        box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.06);
        z-index: 999;
    }

    .jb-suite-single-sticky.is-hidden {
        display: none;
    }

    .jb-suite-single-sticky.is-visible {
        display: flex;
    }

    .jb-suite-single-sticky-inner {
        max-width: 1160px;
        margin: 0 auto;
        padding: 0 16px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .jb-suite-single-sticky {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        z-index: 999;
        border-top: 1px solid #e5e1d9;
        border-bottom: 0;
        box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.08);
    }

    .jb-suite-single-sticky.is-hidden {
        display: none;
    }

    .jb-suite-single-sticky-inner {
        width: 100%;
        padding: 15px 20px;
        background-color: #fff;
    }

    .jb-suite-single-sticky .jb-suite-search-sticky-info {
        display: none;
    }

    .jb-suite-single-sticky .jb-suite-search-sticky-actions {
        width: 100%;
        gap: 10px;
        display: flex;
    }

    .jb-suite-single-sticky .jb-suite-search-apply,
    .jb-suite-single-sticky .jb-suite-search-save {
        flex: 1 1 0;
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 8px 12px;
        font-size: 13px;
    }

    .jb-suite-single-sticky .jb-suite-search-apply {
        gap: 0;
    }

    .jb-suite-single-sticky .jb-suite-search-apply-icon {
        margin-left: 6px;
    }

    .jb-suite-search-actions {
        width: 100%;
    }

    .jb-suite-search-actions .jb-suite-search-apply,
    .jb-suite-search-actions .jb-suite-search-save {
        flex: 1 1 0;
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 8px 12px;
        font-size: 13px;
    }

    .jb-suite-search-actions .jb-suite-search-apply {
        gap: 0;
    }

    .jb-suite-search-actions .jb-suite-search-apply-icon {
        margin-left: 6px;
    }
}
