body {
    margin: 0;
    font-family: "微软雅黑", sans-serif;
    background-color: #f3f3f3;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
}

.container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
}


/*标题*/

.container_title_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    height: 10rem;
}

.container_title_title {
    flex-grow: 1;
    text-align: center;
}

.container_title_title h1 {
    font-size: 30px;
    color: #333;
}

.container_title_button .container_title_btn img {
    width: 100px;
    height: 50px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .container_title_header {
        flex-direction: column;
        text-align: center;
    }
    .container_title_button {
        margin-top: 10px;
    }
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 80%;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;  /* 添加灰色下边框 */
}

.list-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    margin-right: 20px;
}

.message-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.message-body .title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.message-body .description {
    font-size: 14px;
    color: #666;
}

.message-body .date {
    font-size: 12px;
    color: #999;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffaa02;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .list-item {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .list-item {
        flex-direction: column;
        align-items: flex-start;
        cursor: pointer;
    }

    .list-item img {
        margin-bottom: 10px;
    }
}

/* 筛选框*/
.sel_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sel_filter-amount {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
}

.sel_filter-amount input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100px;
}

.sel_filter-amount button {
    padding: 5px 10px;
    background-color: #f6c643;
    border: none;
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
}

.sel_filter-amount button:hover {
    background-color: #e6b530;
}

.sel_tabs {
    display: flex;
    gap: 10px;
    border-bottom:3px solid #f6c643;
}

.sel_tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s;
}

.sel_tab.sel_active {
    background-color: #f6c643;
    font-weight: bold;
}

.sel_tab:hover {
    background-color: #f9d87b;
}

.sel_tab-content {
    margin-top: 20px;
}

.sel_content {
    display: none;
}

.sel_content.sel_active {
    display: block;
}
.sel_tab input[type="radio"] {
    display: none; /* 隐藏原始的圆点 */
}

.sel_tab {
    position: relative; /* 确保可以定位圆点 */
}

.sel_tab input[type="radio"]:checked + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #f6c643; /* 可以自定义颜色 */
}

.sel_tab label {
    display: inline-block;
    cursor: pointer;
}

.sel_tab input[type="radio"]:checked + label {
    font-weight: bold; /* 如果需要，可以修改选中的样式 */
}

@media (max-width: 768px) {
    .sel_tabs {
        flex-wrap: wrap;
    }
    .sel_tab {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }
}

/* 分页容器样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.pagination ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.pagination li {
    margin: 0 3px;
    font-size: 14px;
}

/* 按钮样式 */
.pagination a {
    display: block;
    padding: 4px 10px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #FFC107;
    color: white;
}

.pagination .active a {
    background-color: #FFC107;
    color: white;
}

.pagination .disabled a {
    background-color: #ddd;
    color: #aaa;
    pointer-events: none;
}

/* 省略号样式 */
.pagination li span {
    padding: 8px 16px;
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination li span:hover {
    background-color: #f5f5f5;
    color: #333;
    cursor: default;
}
