/* ========== Banner ========== */
.page-banner {
    width: 100%;
    height: 347px;
    overflow: hidden;
}

.page-banner-img {
    width: 100%;
    height: 347px;
    object-fit: cover;
    display: block;
}

/* ========== Layout ========== */
.product-main {
    padding: 40px 0 60px;
    background: #F7F7F7;
}

.product-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.product-sidebar {
    width: 276px;
    flex-shrink: 0;
    background: #fff;
    overflow: hidden;
}

.product-sidebar .sidebar-title {
    height: 83px;
    line-height: 83px;
    padding: 0 30px;
    background: #0061AE;
    color: #fff;
    font-size: 16px;
}

.product-sidebar .sidebar-nav a {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    color: #333;
}

.product-sidebar .sidebar-nav a:hover {
    color: #0061AE;
}

.product-sidebar .sidebar-nav a.active {
    background: #0061AE;
    color: #FFFFFF;
}

.product-content {
    flex: 1;
    min-width: 0;
}

.product-panel {
    display: none;
}

.product-panel.active {
    display: block;
}

/* ========== Search ========== */
.product-search {
    position: relative;
    margin-bottom: 24px;
    border-radius: 26.5px;
    background: #FFFFFF;
    box-sizing: border-box;
    border: 1px solid #F0F0F0;
}

.product-search input {
    width: 100%;
    height: 48px;
    padding: 0 52px 0 20px;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 14px;
    color: #333;
    outline: none;
    background: #fff;
    padding-left: 52px;
}

.product-search input::placeholder {
    color: #999;
}

.product-search input:focus {
    border-color: #0061AE;
}

.product-search .search-icon {
    width: 18px;
    height: 18px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ========== Filters ========== */
.product-filters-wrap{
    margin-top: 20px;
    background: #FFFFFF;
    box-sizing: border-box;
    padding: 30px;
}
.product-filters {
    margin-bottom: 24px;
}

.filter-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
    flex-shrink: 0;
    font-size: 14px;
    color: #333;
    line-height: 32px;
    white-space: nowrap;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tags a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    color: #333;
    border: 1px solid #F0F0F0;
    border-radius: 33px;
    transition: all 0.2s;
}

.filter-tags a:hover {
    border-color: #0061AE;
    color: #0061AE;
}

.filter-tags a.active {
    background: #0061AE;
    border-color: #0061AE;
    color: #fff;
}

/* ========== Table ========== */
.product-table-wrap {
    overflow-x: auto;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    text-align: center;
    min-width: 800px;
}

.product-table th,
.product-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 10px;
    color: #121212;
    font-size: 16px;
}

.product-table thead th {
    white-space: nowrap;
}

.product-table thead tr:first-child th {
    background: #0061AE;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.product-table thead tr:last-child th {
    background: #0061AE;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.product-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.product-table tbody tr:hover {
    background: #f0f7fd;
}

.product-table .cell-img {
    width: 100px;
    vertical-align: middle;
    background: #fff;
}

.product-table .cell-img a {
    display: inline-block;
    cursor: pointer;
}

.product-table .cell-img img {
    width: 138px;
    height: auto;
    margin: 0 auto;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .page-banner,
    .page-banner-img {
        height: 260px;
    }

    .product-layout {
        flex-direction: column;
    }

    .product-sidebar {
        width: 100%;
    }

    .product-content {
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    .page-banner,
    .page-banner-img {
        height: 200px;
    }

    .product-main {
        padding: 24px 0 40px;
    }

    .filter-row {
        flex-direction: column;
        gap: 8px;
    }

    .filter-label {
        line-height: 1.5;
    }
}
