body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

main {
    display: flex;
    position: relative;
    z-index: 1;
    padding-top: min(8.5vh, 6vw);
}

.menu {
    width: 18vw;
    min-width: 280px;
    height: auto;
    min-height: 91.5vh;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: slideInLeft 0.8s ease;
    margin: 40px 20px 20px 20px;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    transform: translateY(-5px);
}

.menu_title {
    margin-bottom: 30px;
    padding: 20px 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.menu_title_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.menu_title_logo img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.menu_item {
    width: 100%;
    height: auto;
    padding: 15px 0;
    margin: 15px auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 1px;
}

.menu_item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateX(5px);
    border-color: rgba(0, 255, 235, 0.4);
}

.menu_item:active {
    transform: scale(0.98);
}

.menu_item span {
    font-size: 18px;
}

.basket_dot {
    font-size: 14px;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    width: 24px;
    height: 24px;
    top: -8px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.5);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.products_option {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: slideInRight 0.8s ease;
    overflow: hidden;
    margin: 40px 20px 20px 20px;
    padding: 30px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.products_option:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.search_box {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.search_box .input {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search_box select {
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #ffffff;
    transition: all 0.3s ease;
    min-width: 100px;
    max-width: 150px;
}

.search_box input {
    flex: 1;
    min-width: 150px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #ffffff;
    transition: all 0.3s ease;
}

.search_box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search_box input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.search_box button {
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.search_box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.search_box button:active {
    transform: translateY(0);
}

#productTable, #basket_Table, #order_table {
    width: 100%;
    margin-top: 30px;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
}

#productTable thead th, #basket_Table thead th, #order_table thead th {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    color: #ffffff;
    padding: 18px 15px;
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

#productTable tbody td, #basket_Table tbody td, #order_table tbody td {
    padding: 15px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

/* 订单表格操作列的宽度 */
#order_table th:last-child,
#order_table td:last-child {
    width: 200px;
    min-width: 200px;
    white-space: nowrap;
}

/* 采购选品表格操作列的样式 */
#productTable th:last-child,
#productTable td:last-child {
    width: 180px;
    min-width: 180px;
    text-align: center;
    white-space: nowrap;
}

#productTable td:last-child .button {
    justify-content: center;
    margin: 0;
}

#productTable tbody tr:hover, #basket_Table tbody tr:hover, #order_table tbody tr:hover {
    background: rgba(102, 126, 234, 0.1);
}

#productTable img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

#productTable img:hover {
    transform: scale(1.1);
    border-color: rgba(0, 255, 235, 0.6);
    box-shadow: 0 4px 15px rgba(0, 255, 235, 0.4);
}

#productTable select {
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

#productTable select option {
    background: #667eea;
    color: #ffffff;
}

#productTable input[type="number"] {
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    width: 80px;
}

#productTable button, #basket_Table button, #order_table button {
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    margin: 0 5px;
}

#productTable button:hover, #basket_Table button:hover, #order_table button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.basket_box {
    width: 100%;
    height: auto;
}

.basket_title {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(102, 126, 234, 0.5);
    margin-bottom: 10px;
}

.basket_warn {
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
    font-size: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.table-container {
    margin-top: 20px;
    max-height: 40vh;
    overflow: auto;
    border-radius: 15px;
}

.table-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

#basket_Table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
}

.pay_box {
    margin-top: 30px;
    width: 100%;
}

#basket_warn {
    font-size: 16px;
    color: #ffcccc;
}

.confirm_pay {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 30px 30px;
    min-height: 100px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 15px;
}

#confirm_product_num, #confirm_total_price {
    font-size: 24px;
    font-weight: bold;
    color: #00ffeb;
    text-shadow: 0 2px 10px rgba(0, 255, 235, 0.5);
}

.confirm_pay span {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.confirm_pay .pay_button {
    display: flex;
    align-items: center;
}

.confirm_pay .pay_button button {
    padding: 15px 40px;
    height: auto;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm_pay .pay_button button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pagination button:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-color: rgba(0, 255, 235, 0.4);
    transform: translateY(-2px);
}

.pagination button.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.modal {
    display: none !important;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close {
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.close:hover {
    color: #00ffeb;
    transform: scale(1.2);
}

#imageModal {
    display: flex;
    justify-content: center;
    align-items: center;
}

#modalImage {
    max-width: 80%;
    max-height: 80%;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.QR_code_bg {
    display: flex;
    border-radius: 25px;
    flex-direction: column;
    margin: 5vh auto;
    width: 30vw;
    min-width: 350px;
    background: linear-gradient(135deg, rgba(17, 153, 142, 0.6) 0%, rgba(56, 239, 125, 0.6) 100%);
    box-shadow: 0 25px 70px rgba(17, 153, 142, 0.4);
    padding: 30px;
    box-sizing: border-box;
}

.pay_logo {
    margin-top: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pay_logo img {
    height: 50px;
    border-radius: 10px;
}

#qrcode {
    margin: 30px auto;
    width: 250px;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.QR_code_bg p {
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#order-id {
    color: #00ffeb;
    font-weight: bold;
}

.order_modal {
    margin: 5vh auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 90%;
    max-width: 1000px;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.4);
}

#order_details_table {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

#order_details_table img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hide {
    display: none;
}

@media (max-width: 1200px) {
    main {
        flex-direction: column;
        align-items: center;
    }

    .menu {
        width: 80%;
        max-width: 400px;
        min-height: auto;
        margin: 20px;
    }

    .products_option {
        width: 90%;
        margin: 20px;
    }

    .basket_box {
        width: 100%;
    }

    .QR_code_bg {
        width: 80%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .menu {
        width: 90%;
        padding: 20px 15px;
    }

    .menu_title_logo span {
        font-size: 18px !important;
    }

    .menu_item span {
        font-size: 16px !important;
    }

    .products_option {
        padding: 20px;
    }

    #productTable, #basket_Table, #order_table {
        font-size: 14px;
    }

    #productTable img {
        width: 50px;
        height: 50px;
    }

    .search_box .input {
        flex-direction: column;
    }

    .search_box button {
        width: 100%;
    }

    .confirm_pay {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .confirm_pay .pay_button button {
        width: 100%;
    }
}

/* ========================  顶部导航条样式 ======================== */
.top-nav {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.top-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    gap: 30px;
}

.top-nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.top-nav-logo img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.top-nav-logo span {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.top-nav-tabs {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: center;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.nav-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-tab.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(0, 255, 235, 0.6);
    box-shadow: 0 4px 20px rgba(0, 255, 235, 0.3);
    color: #ffffff;
}

.tab-icon {
    font-size: 20px;
}

.tab-text {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.tab-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.5);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.top-nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    justify-content: flex-end;
}

.user-welcome {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.user-email {
    color: #00ffeb;
    font-size: 14px;
    font-weight: 600;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .top-nav-content {
        padding: 12px 20px;
        gap: 15px;
    }

    .top-nav-logo span {
        font-size: 18px;
    }

    .nav-tab {
        padding: 8px 15px;
    }

    .tab-text {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .top-nav-content {
        flex-wrap: wrap;
        padding: 10px 15px;
    }

    .top-nav-logo {
        min-width: auto;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .top-nav-tabs {
        width: 100%;
        justify-content: space-around;
    }

    .nav-tab {
        padding: 8px 12px;
        flex-direction: column;
        gap: 4px;
    }

    .tab-icon {
        font-size: 18px;
    }

    .tab-text {
        font-size: 12px;
    }

    .top-nav-user {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

/* 隐藏原有的左侧菜单 */
.menu {
    display: none !important;
}

/* 调整 main 布局 */
main {
    flex-direction: column !important;
}

/* 调整内容区域宽度 */
.products_option {
    width: 80% !important;
    max-width: 1400px !important;
    margin: 30px auto !important;
}

/* ========================  商品分类筛选栏样式 ======================== */
.category-filter {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.category-title span:first-child {
    font-size: 24px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.category-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-color: rgba(0, 255, 235, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.category-item.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
    border-color: rgba(0, 255, 235, 0.6);
    box-shadow: 0 4px 20px rgba(0, 255, 235, 0.3);
    color: #ffffff;
}

.category-item span:first-child {
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-filter {
        padding: 15px;
    }

    .category-title {
        font-size: 16px;
    }

    .category-item {
        padding: 8px 14px;
        font-size: 13px;
    }
}




.search_box select option:last-child {
    border-bottom: none;
}

.search_box select option:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.search_box select option:checked {
    background: linear-gradient(135deg, #00ffeb 0%, #667eea 100%);
    color: #1a1a2e;
    font-weight: bold;
}

.search_box select:focus {
    outline: none;
    border-color: rgba(0, 255, 235, 0.8);
    box-shadow: 0 0 25px rgba(0, 255, 235, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.3) 50%, rgba(240, 147, 251, 0.3) 100%);
    transform: translateY(-1px);
}

.search_box select:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.3) 50%, rgba(240, 147, 251, 0.3) 100%);
    border-color: rgba(0, 255, 235, 0.6);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* 添加自定义箭头动画 */
.search_box select::-ms-expand {
    display: none;
}/* 调整搜索框布局 */
.search_box .input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search_box input {
    flex: 1;
    min-width: 200px;
}

.search_box button {
    white-space: nowrap;
}

/* 美化下拉选择器列表 */
.search_box select {
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(5px);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    margin-right: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.search_box select option {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 15px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search_box select option:last-child {
    border-bottom: none;
}

.search_box select option:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.search_box select option:checked {
    background: linear-gradient(135deg, #00ffeb 0%, #00b8a8 100%);
    color: #1a1a2e;
    font-weight: bold;
}

.search_box select:focus {
    outline: none;
    border-color: rgba(0, 255, 235, 0.6);
    box-shadow: 0 0 20px rgba(0, 255, 235, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background-color: rgba(255, 255, 255, 0.2);
}

.search_box select:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 自定义下拉箭头样式 */
.search_box .select-wrapper {
    position: relative;
}

.search_box .select-wrapper::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 12px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.search_box select:focus + .select-wrapper::after {
    transform: translateY(-50%) rotate(180deg);
}

/* 搜索框下拉选择器样式 - 简洁版本 */
.search_box select {
    padding: 12px 35px 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(5px);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    margin-right: 10px;
    font-weight: 500;
}

.search_box select option {
    background: #667eea;
    color: #ffffff;
    padding: 10px;
    font-size: 14px;
}

.search_box select:focus {
    outline: none;
    border-color: rgba(0, 255, 235, 0.6);
    box-shadow: 0 0 20px rgba(0, 255, 235, 0.4);
    background: rgba(255, 255, 255, 0.2);
}

.search_box select:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}


/* 美化下拉选择器列表项 */
.search_box select option {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 15px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search_box select option:last-child {
    border-bottom: none;
}

.search_box select option:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.search_box select option:checked {
    background: linear-gradient(135deg, #00ffeb 0%, #667eea 100%);
    color: #1a1a2e;
    font-weight: bold;
}
/* 商品分类下拉选择器样式 */
.search_box select {
    padding: 12px 35px 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(5px);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    margin-right: 10px;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.search_box select option {
    background: #667eea;
    color: #ffffff;
    padding: 10px;
    font-size: 14px;
}

.search_box select:focus {
    outline: none;
    border-color: rgba(0, 255, 235, 0.6);
    box-shadow: 0 0 20px rgba(0, 255, 235, 0.4);
    background: rgba(255, 255, 255, 0.2);
}

.search_box select:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}
