/* ===== 模块：首页搜索栏吸顶（花瓣网样式） ===== */

/* 吸顶时的白色通栏：搜索栏贴页面最顶，卡片从白条下方滚过（被白底遮住） */
.ohc-sticky-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: #fff;
    padding: 10px 16px;
    box-shadow: 0 2px 12px rgba(20, 30, 60, .08);
    animation: ohcBarIn .18s ease;
}
@keyframes ohcBarIn {
    from { transform: translateY(-8px); opacity: .6; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* 搜索栏在白条内：通栏铺满、去掉自身阴影 */
.ohc-sticky-bar .search-form {
    margin: 0;
    width: 100%;
    max-width: none;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0;
    border-radius: 12px;
    position: static !important;
}

/* 占位块：防止吸顶瞬间页面跳动 */
.ohc-search-placeholder {
    display: block;
}

@media (max-width: 767.98px) {
    .ohc-sticky-bar {
        padding: 8px 10px;
    }
}
