
header {
    width: 100%;
    height: 150px;
    background-image: url(../img/bg-supply-demand.png);
    position: relative;
}

header p {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%);
}

main {
    width: 100%;
    background-color: #f5f7f6;
}

/* 内容区域 */
.wrap {
    padding: 2vh 0;
}

.filter-box {
    padding: 12px 16px;
    margin-bottom: 3vh;
    /* border: 1px solid rgba(0, 0, 0, 0.12); */
    background-color: #fff;
    border-radius: 4px;
}
.filter-box-check{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6B6E77;
    margin-bottom: 1vh;
}
.clear-btn {
    color: #2080c0;
    cursor: pointer;
    font-size: 14px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.12)
}

.filter-row:last-child {
    border-bottom: none
}

.filter-label {
    min-width: 70px;
    color: #6B6E77;
    padding-top: 2px
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex: 1
}

.tag {
    background: #fdfdfd;
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    padding: 2px 8px;
    color: #173F3F;
    cursor: pointer;
    font-size: 14px;
}

.tag:hover {
    background: #f5f5f5;
}

.tag.active {
    background: #e8f2fa;
    border-color: #2080c0;
    color: #2080c0;
    font-weight: 500;
}


.toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 2vh;
}

.my-shop-btn {
    background: #1a9e5c;
    color: #fff;
    border: none;
    padding: 5px 14px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.search-wrap {
    display: flex;
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    overflow: hidden;
}

.search-input {
    border: none;
    outline: none;
    padding: 5px 10px;
    font-size: 14px;
    width: 200px;
    background: #fff;
    color: #173F3F;
}
.search-input::placeholder {
    color: #B5B5B5;
}

.search-btn {
    background: #2080c0;
    color: #fff;
    border: none;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 13px
}

.table {
    width: 100%;
    border-collapse: collapse;
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden
}

.table th {
    background: #f1faf2;
    text-align: left;
    padding: 10px 14px;
    font-weight: 500;
    font-size: 16px;
    color: #173F3F;
    border-bottom: 0.5px solid #EBEDF2;
}

.table td {
    padding: 12px 14px;
    border-bottom: 0.5px solid #EBEDF2;
    vertical-align: middle;
    transition: all .5s;
    font-size: 16px;
}

.table tr:last-child td {
    border-bottom: none
}

.table tr:hover td {
    background: #f9f8f8;
}

.prod-name {
    color: #173F3F;
}

.qty {
    color: #173F3F;
}

.price-col {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.price-face {
    color: #d94f1e;
    font-size: 14px;
}

.price-login-text {
    color: #2080c0;
    font-size: 14px;
    cursor: pointer;
}

.price-login-text:hover {
    text-decoration: underline;
}

.shop-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #5A5A5A;
}

.icon-shop {
    width: 13px;
    height: 13px;
}

.action-col {
    display: flex;
    gap: 5px;
    align-items: center;
}

.btn-cart {
    background-color: #fff;
    border: 0.5px solid #2080c0;
    color: #2080c0;
    border-radius: 4px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 15px;
}

.btn-cart:hover {
    background: #e8f2fa
}

.btn-fav {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px
}
.icon-star{
    width: 18px;
    height: 18px;
}

.btn-fav:hover {
    color: #d94f1e
}


.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 12px
}

.pg-info {
    flex: 1;
    font-size: 12px;
    color: var(--color-text-secondary)
}

.pg-info span {
    color: #2080c0;
    font-weight: 500
}

.pg-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0.5px solid var(--color-border-tertiary);
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    background: var(--color-background-primary);
    color: #173F3F;
}

.pg-btn.active {
    background: #2080c0;
    color: #fff;
    border-color: #2080c0
}

.pg-btn:hover:not(.active) {
    background: var(--color-background-secondary)
}

.pg-dots {
    color: var(--color-text-secondary);
    padding: 0 2px
}

