/* 基础布局 */
.haoz-pf {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Helvetica Neue", Helvetica, sans-serif;
}





.hzt-search-input {
    width: 280px;
    max-width: 60%;
    padding: 8px 12px;
    border: 1px solid #d7d7d7;
    border-radius: 24px;
}

/* 顶部 lv1 tabs */
.hzt-tabs-title {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ede9e9;
    padding: 16px 28px 15px 28px;
}



.hzt-tabs-list {
    list-style: none;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    
    
    justify-content: flex-start;
}

.hzt-tabs-list::-webkit-scrollbar {
    display: none;
}

.hzt-tab {
    color: #595857;
    font-size: 26px;
    line-height: 1.63em;
    cursor: pointer;
}

.hzt-tab::after {
    content: "|";
    padding-left: 12px;

}

.hzt-tab:last-child::after {
    display: none;
}

.hzt-tab.active {
    color: #18274a;
    font-weight: 700;
}

.hzt-tab.active::after {
    color: #595857;
    font-weight: 400;
}

.hzt-tabs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #dcdcdc;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FF0025;
    font-size: 16px;
}

.hzt-tabs-arrow.left {
    left: 0px;
}

.hzt-tabs-arrow.right {
    right: 0px;
}

.hzt-tabs-content .hzt-tabs-cat-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 35px;
    color: rgb(24, 39, 74);
    text-align: center;
    margin-bottom: 12px;
}



/* lv2 条 */
.hzt-lv2-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 12px;
    justify-content: center;
}

.hzt-lv2-btn {
    padding: 0px 20px;
    border-radius: 15px;
    cursor: pointer;
    color: #18274a;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.63em;
    min-height: 30px;
    border: 1px solid #e9e4e3;

}


.hzt-lv2-btn:hover {
    background-color: #e9e4e3;
    border-color: #e9e4e3;
    color: #18274a;
}

.hzt-lv2-btn.active {
    background-color: #18274a !important;
    border-color: #18274a !important;
    color: #fff;
}


.hzt-search {
    margin-bottom: 60px;
    padding: 0 10px;
    border: 1px solid #e9e4e3;
    min-height: 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
}

.hzt-search input {
    padding: 0;
    border: none;
    outline: none;
    color: #595857;
    line-height: 21px;
    font-weight: 400;
    font-size: 12px;
    flex: 1;
    padding-left: 10px;
}

.hzt-search input:focus {
    border: none;
}

.hzt-search img {
    width: 15px;
    height: 15px;
}



/* lv3 多选 */

.hzt-lv3-title {
    font-size: 19px;
    font-weight: 400;
    line-height: 28px;
    color: rgb(24, 39, 74);
    margin-bottom: 10px;
}



.hzt-lv3-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 60px;
}

.hzt-lv3-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.63;
    color: rgb(24, 39, 74);
}

/* 产品卡片栅格 */
.hzt-list {
    position: relative;
}

.hzt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1200px) {
    .hzt-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hzt-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hzt-tab{
        font-size: 18px;
    }
}

.hzt-card {
    display: block;
    text-decoration: none;
    color: #111;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.hzt-card .img {
    aspect-ratio: 1/1;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hzt-card img {
    max-width: 100%;
    max-height: 100%;
}

.hzt-card .title {
    padding: 10px 12px;
    font-size: 14px;
    min-height: 46px;
}

.hzt-card .price {
    padding: 0 12px 12px;
    color: #0b74de;
    font-weight: 600;
}

/* Load More */
.hzt-load-more {
    display: block;
    margin: 65px auto 0 auto;
    padding: 0 24px;
    border-radius: 30px;
    cursor: pointer;
    min-height: 40px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.63;
    color: #18274a;
    border: 2px solid #18274a;
}

.hzt-load-more:hover {
    background: #18274a;
    color: #fff;
}

/* 错误信息 */
.haoz-pf-error {
    padding: 12px;
    background: #fff3f3;
    border: 1px solid #ffd6d6;
    border-radius: 6px;
    color: #b00020;
}
