﻿.yuanpian_select {
    height: 70px;
    line-height: 49px;
    padding-left: 9px;
    border: 1px solid #ddd;
    border-top: 0;
    background: #fff;
    overflow: auto; 
    display: flex;
}

    .yuanpian_select > li {
        float: left;
        min-width: 80px;
        height: 49px;
        line-height: 49px;
        text-align: center;
        font-size: 16px;
        color: #333;
        cursor: pointer;
/*        max-width: 150px;*/
        white-space: nowrap;
 /*       overflow: hidden;
        text-overflow: ellipsis;*/
    }

        .yuanpian_select > li.on {
            background: #e5f0ff;
        }

.first-li > a.on {
    /* 点击状态变化 */
    background: linear-gradient(120deg, #2a5ba5, #0099cc); /* 加深色调 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) inset, /* 内阴影增加凹陷感 */
    0 2px 5px rgba(0, 0, 0, 0.4); /* 保留轻微外阴影 */
    /* 添加按压效果 */
    transform: translateY(2px);
    color: #ccc;
}
    /* 添加光晕效果 */
    .first-li > a.on::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.6);
        border-radius: 6px;
        color: red;
    }

.yuanpian_select_out {
    position: relative;
}

.yuanpian_select_body {
    padding: 20px 0 20px 0;
    display: none;
    position: absolute;
    left: 0px;
    top: 49px;
    z-index: 99;
    width: 1178px;
    border: 1px solid #ddd;
    background: #e5f0ff;
}

    .yuanpian_select_body > li {
        display: inline-block;
        width: 100px;
        font-size: 16px;
        color: #666666;
        margin: 0 10px 0 10px;
        padding: 10px 0 10px 0;
        text-align: center;
        vertical-align: text-top;
    }

        .yuanpian_select_body > li.sort_letter {
            display: block;
            width: auto;
            margin: 0px 20px 10px 20px;
            padding: 0;
            text-align: left;
            border-bottom: 1px #ccc solid;
        }

            .yuanpian_select_body > li.sort_letter > a {
                display: inline-block;
                padding: 10px;
            }

        .yuanpian_select_body > li:hover {
            color: #437fd6;
            cursor: pointer;
        }

        .yuanpian_select_body > li.sort_letter:hover {
            color: #666;
            cursor: initial;
        }

        .yuanpian_select_body > li.sort_letter > a:hover {
            cursor: pointer;
        }

        .yuanpian_select_body > li.sort_letter > a.on {
            color: #437fd6;
        }

        .yuanpian_select_body > li.on {
            /*color:#0e4590;*/
            color: red;
        }

.yuanpian_body {
    margin-top: 15px;
}

    .yuanpian_body .sp {
        color: #437fd6;
    }

    .yuanpian_body .sp2 {
        font-size: 14px;
        color: #666666;
    }

.yuanpian_body_left {
    float: left;
    width: 958px;
    /*height: 2781px;*/
    border: 1px solid #ddd;
    border-bottom: 0;
    background: #fff;
}

    .yuanpian_body_left > li {
        border-bottom: 1px solid #ddd;
        padding: 19px;
    }

        .yuanpian_body_left > li > div {
            float: left;
        }

    .yuanpian_body_left .w110 {
        width: 102px;
        height: 100px;
    }

    .yuanpian_body_left .w140 {
        width: 140px;
        height: 100px;
        margin-right: 15px;
        overflow: hidden;
    }

        .yuanpian_body_left .w140 img {
            /*width:140px; height:100px;*/
        }

    .yuanpian_body_left .w663 {
        width: 648px;
        line-height: 33px;
        margin-right: 15px;
        font-size: 16px;
        color: #4c4c4c;
    }


.btn_yp {
    display: inline-block;
    width: 100%;
    height: 42px;
    line-height: 42px;
    margin-top: 28px;
    border-radius: 2px;
    background: #437fd6;
    text-align: center;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}

    .btn_yp:hover {
        color: #EAEAEA;
        background: #3972cf;
    }

#search {
    display: none;
    float: right;
    max-width: none;
    margin-right: 20px;
}

    #search > .input {
        width: 100px;
        height: 36px;
        line-height: 36px;
        margin: 0;
        padding: 0;
        border: 1px solid #ddd;
        text-align: center;
        font-size: 16px;
    }

    #search:hover {
        background: none;
    }

    #search > .button {
        display: inline-block;
        width: 80px;
        height: 38px;
        line-height: 38px;
        padding: 0;
        margin: 0;
        margin-bottom: 3px;
        border: 0;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
        text-align: center;
        color: #fff;
        vertical-align: middle;
        background: #437fd6;
        cursor: pointer;
    }

.search-shop {
    height: 50px;
    width: 210px;
    float: right;
}

.search-shop-input {
    color: #999;
    border: 1px solid #D0D0D0;
    height: 30px;
    line-height: 30px;
    border-radius: 3px;
    width: 200px;
}

.search-shop-btn {
    background: none repeat scroll 0 0 #fefeffa6;
    height: 20px;
    width: 20px;
    display: inline-block;
    position: relative;
    border-radius: 3px;
    bottom: 25px;
    right: 9px;
    float: right;
}

/* 固定顶部区域 */
.sticky-header {
    background: white;
    padding: 20px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #eaeaea;
}

.fixed-content {
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.search-container {
    display: inline-block;
    align-items: center;
    background: #f8fafc;
    border-radius: 50px;
    padding: 0 10px;
    height: 42px;
    border: 1px solid #e0e7ff;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: auto; /* 关键属性：将搜索框推到右侧 */
    float: right;
    margin-right: 30px;
}

    .search-container:focus-within {
        border-color: #3a7bd5;
        box-shadow: 0 5px 15px rgba(58, 123, 213, 0.2);
    }

    .search-container i {
        color: #7b94c1;
        font-size: 1.2rem;
        margin-right: 12px;
    }

    .search-container input {
        flex: 1;
        border: none;
        background: transparent;
        height: 100%;
        font-size: 1.1rem;
        color: #2d3748;
        outline: none;
    }

        .search-container input::placeholder {
            color: #94a3b8;
        }

.first-li {
    background: linear-gradient(120deg, #3a7bd5, #00d2ff);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: fit-content;
    display: inline-flex;
}

    .first-li:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
    }

    .first-li > a {
        padding: 2px 3px;
    }
/* 可滚动标签区域 */
.scrollable-tags-container {
    position: relative;
    margin-top: 10px;
}

/* 可滚动标签列表 */
.scrollable-tags {
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    gap: 12px; /* 标签间距 */
    padding: 15px 0;
    max-height: 200px; /* 固定高度 */
    overflow-y: auto; /* 垂直滚动 */
    scrollbar-width: thin;
    scrollbar-color: #4361ee #f1f5ff;
    padding-right: 15px; /* 为滚动条留出空间 */
}
    /* 自定义滚动条样式 */
    .scrollable-tags::-webkit-scrollbar {
        height: 6px;
    }

    .scrollable-tags::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 10px;
    }

    .scrollable-tags::-webkit-scrollbar-thumb {
        background: #3a7bd5;
        border-radius: 10px;
    }

    .scrollable-tags li {
        list-style: none;
    }

.filter-tag {
    background: #f1f7ff;
    border: 1px solid #dbeafe;
    border-radius: 30px;
    padding: 10px 22px;
    font-size: 0.95rem;
    color: #3a7bd5;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

    .filter-tag:hover, .filter-tag.active, .filter-tag.liselected {
        background: linear-gradient(120deg, #3a7bd5, #00d2ff);
        color: white !important;
        border-color: #3a7bd5;
    }

.fixed {
    position: fixed;
    top: 0px;
    box-shadow: 0px 4px 6px -2px rgba(0, 0, 0, 0.3);
    z-index: 999999; /* 确保在其他内容之上 */
}

    .fixed .crumbs {
        margin-top: 0px;
    }