/* 产品中心页样式：按目录式产品页重构，突出筛选、列表和询盘转化 */
.siteHeader {
    background: rgba(24, 27, 31, 0.88);
    backdrop-filter: blur(12px);
}

.productsPage {
    background: #f6f7f8;
}

.productsIntroSection {
    padding: 148px 0 56px;
    background: #f6f7f8;
}

.productsIntroHead {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.productsIntroBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 18px;
    margin-bottom: 22px;
    color: #556273;
    background: #fbf5f2;
    border: 1px solid #f0d7ca;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.productsIntroTitle {
    margin-bottom: 18px;
    font-size: 36px;
    line-height: 1.28;
    text-align: center;
    text-transform: none;
}

.productsIntroDesc {
    max-width: 1060px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

.productsIntroDivider {
    display: block;
    width: 56px;
    height: 4px;
    margin: 24px auto 0;
    background: #52657c;
    border-radius: 999px;
}

.productsCatalogSection {
    padding: 12px 0 82px;
}

.productsCatalogLayout {
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.productsSidebar,
.productsToolbar,
.productCard,
.productsEmptyState {
    background: var(--color-white);
    border: 1px solid #e4e8eb;
}

.productsSidebar {
    position: sticky;
    top: 108px;
    padding: 26px 22px 22px;
    border-radius: 10px;
}

.productsSidebarBlock + .productsSidebarBlock {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #edf1f3;
}

.productsSidebarTitle {
    display: block;
    margin-bottom: 14px;
    color: var(--color-charcoal);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.productsSidebarTitle::after {
    display: block;
    width: 28px;
    height: 3px;
    margin-top: 12px;
    background: var(--color-orange);
    content: "";
}

.productsSearchInput,
.productsToolbarSelect {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    color: var(--color-charcoal);
    background: #fbfcfc;
    border: 1px solid #d8e0e5;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.2;
}

.productsToolbarSelect {
    padding-right: 36px;
    appearance: none;
}

.productsSidebarList {
    display: flex;
    flex-direction: column;
}

.productsSidebar .productsSidebarBlock:nth-child(2) .productsSidebarList {
    max-height: 418px;
    padding-right: 6px;
    overflow-y: auto;
}

.productsSidebar .productsSidebarBlock:nth-child(2) .productsSidebarList::-webkit-scrollbar {
    width: 6px;
}

.productsSidebar .productsSidebarBlock:nth-child(2) .productsSidebarList::-webkit-scrollbar-thumb {
    background: #d7dee3;
    border-radius: 999px;
}

.productsSidebarOption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 42px;
    padding: 10px 0;
    color: #56606a;
    border-bottom: 1px solid #edf1f3;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.productsSidebar .productsSidebarBlock:nth-child(2) .productsSidebarOption {
    min-height: 38px;
    padding: 8px 0;
}

.productsSidebar .productsSidebarBlock:nth-child(2) .productsSidebarOptionLabel {
    font-size: 13px;
    line-height: 1.6;
}

.productsSidebarOption:last-child {
    border-bottom: 0;
}

.productsSidebarOption:hover,
.productsSidebarOption:focus,
.productsSidebarOption.active {
    color: var(--color-charcoal);
    transform: translateX(3px);
}

.productsSidebarOption.active .productsSidebarOptionLabel {
    font-weight: 800;
}

.productsSidebarOption.active,
.productsSidebarOption.active .productsSidebarOptionCount {
    color: var(--color-orange);
}

.productsSidebarOptionLabel {
    font-size: 14px;
    line-height: 1.75;
}

.productsSidebarOptionCount {
    min-width: 24px;
    color: #9aa3ab;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
}

.compactList .productsSidebarOption {
    min-height: 38px;
    padding: 8px 0;
}

.productsPriceFilterStack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.productsPriceSummary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.productsPriceValue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    color: #66727d;
    background: #f8fafb;
    border: 1px solid #e7edf1;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.productsPriceSliderField {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.productsPriceSliderLabel {
    color: #7a8590;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.productsPriceRange {
    width: 100%;
    height: 6px;
    margin: 0;
    background: #e4eaee;
    border-radius: 999px;
    appearance: none;
    outline: none;
}

.productsPriceRange::-webkit-slider-runnable-track {
    height: 6px;
    background: #e4eaee;
    border-radius: 999px;
}

.productsPriceRange::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -6px;
    background: #f0bb5b;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(24, 27, 31, 0.12);
    appearance: none;
    cursor: pointer;
}

.productsPriceRange::-moz-range-track {
    height: 6px;
    background: #e4eaee;
    border-radius: 999px;
}

.productsPriceRange::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #f0bb5b;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(24, 27, 31, 0.12);
    cursor: pointer;
}

.productsPriceNote {
    display: block;
    margin-top: 10px;
    color: #98a2ab;
    font-size: 12px;
    line-height: 1.7;
}

.productsSidebarFooter {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #edf1f3;
}

.productsSidebarReset,
.productsSidebarInquiry {
    width: 100%;
    min-width: 0;
    border-radius: 8px;
}

.productsCatalogMain {
    min-width: 0;
}

.productsToolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    margin-bottom: 22px;
    border-radius: 10px;
}

.productsToolbarMeta {
    min-width: 0;
}

.productsToolbarEyebrow {
    display: block;
    margin-bottom: 6px;
    color: #5a6673;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.productsToolbarCount {
    color: var(--color-charcoal);
    font-size: 13px;
    line-height: 1.6;
}

.productsToolbarCount strong {
    margin-right: 6px;
    font-size: 18px;
    font-weight: 900;
}

.productsToolbarControls {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
}

.productsToolbarField {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 188px;
}

.productsToolbarFieldNarrow {
    min-width: 144px;
}

.productsToolbarLabel {
    color: #5a6673;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.productsViewSwitch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.productsViewButton,
.paginationNumber,
.paginationButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.productsViewButton {
    width: 44px;
    height: 44px;
    color: #69747e;
    background: var(--color-white);
    border: 1px solid #d8e0e5;
    border-radius: 8px;
}

.productsViewButton:hover,
.productsViewButton:focus,
.productsViewButton.active {
    color: var(--color-white);
    background: var(--color-orange);
    border-color: var(--color-orange);
}

.productsList {
    display: grid;
    gap: 20px;
}

.productsListGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.productsListList {
    grid-template-columns: 1fr;
}

.productCard {
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(24, 27, 31, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.productCard:hover {
    transform: translateY(-3px);
    border-color: #d2d9df;
    box-shadow: 0 18px 34px rgba(24, 27, 31, 0.08);
}

.productCardList {
    display: grid;
    grid-template-columns: 192px minmax(0, 1fr) 180px;
    gap: 20px;
    align-items: center;
    padding: 18px;
}

.productCardGrid {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px;
}

.productCardMedia {
    min-width: 0;
}

.productCardImage {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #edf2f4;
}

.productCardImage:after {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 6px;
    content: "";
    pointer-events: none;
    z-index: 1;
}

.productCardList .productCardImage {
    aspect-ratio: 1 / 1;
}

.productCardGrid .productCardImage {
    aspect-ratio: 1.42 / 1;
}

.productCardImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.visualFire {
    background: linear-gradient(135deg, #eef2f4 0%, #f7f8f9 100%);
}

.visualFire img {
    object-position: 16% 16%;
}

.visualGrill {
    background: linear-gradient(135deg, #f2f0eb 0%, #faf9f6 100%);
}

.visualGrill img {
    object-position: 84% 16%;
}

.visualTable {
    background: linear-gradient(135deg, #eef1ea 0%, #f8faf6 100%);
}

.visualTable img {
    object-position: 18% 82%;
}

.visualBag {
    background: linear-gradient(135deg, #f0edf2 0%, #fbf9fc 100%);
}

.visualBag img {
    object-position: 82% 82%;
}

.visualTent {
    background: linear-gradient(135deg, #eceff4 0%, #f9fbfd 100%);
}

.visualTent img {
    object-position: 48% 48%;
}

.visualLight {
    background: linear-gradient(135deg, #f7efe1 0%, #fdfaf2 100%);
}

.visualLight img {
    object-position: 74% 18%;
}

.visualFurniture {
    background: linear-gradient(135deg, #edf4ea 0%, #fbfdf8 100%);
}

.visualFurniture img {
    object-position: 34% 86%;
}

.visualTableware {
    background: linear-gradient(135deg, #eef1f5 0%, #fbfcfd 100%);
}

.visualTableware img {
    object-position: 82% 58%;
}

.visualAccessory {
    background: linear-gradient(135deg, #f4eee7 0%, #fbfaf7 100%);
}

.visualAccessory img {
    object-position: 16% 70%;
}

.productCardBadge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    color: var(--color-white);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.productCardBadge[data-badge-tone="warm"] {
    background: #eb8f21;
}

.productCardBadge[data-badge-tone="blue"] {
    background: #4d607a;
}

.productCardBadge[data-badge-tone="dark"] {
    background: #2e353c;
}

.productCardBody {
    min-width: 0;
}

.productCardGrid .productCardBody {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 6px 8px;
}

.productCardHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.productCardCategory {
    color: #78828d;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.productCardModel {
    color: #2e353c;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.productCardName {
    display: block;
    margin-bottom: 10px;
    color: var(--color-charcoal);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.4;
    text-transform: none;
    text-decoration: none;
}

.productCardGrid .productCardName {
    margin-bottom: 8px;
    font-size: 16px;
}

.productCardSpec {
    color: #616a73;
    font-size: 14px;
    line-height: 1.8;
}

.productCardTags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.productCardGrid .productCardTags {
    gap: 8px;
    margin-top: 12px;
}

.productMetaTag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.lightTag {
    color: #6f7b86;
    background: #f7f9fb;
    border: 1px solid #edf2f5;
}

.productCardSupport {
    display: block;
    margin-top: 14px;
    color: #4f5962;
    font-size: 14px;
    line-height: 1.9;
}

.productCardGrid .productCardSpec,
.productCardGrid .productCardSupport {
    display: none;
}

.productCardActions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.productCardGrid .productCardActions {
    flex-direction: row;
    gap: 10px;
    margin-top: 16px;
}

.primaryDarkAction,
.secondaryOutlineAction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.productCardGrid .primaryDarkAction,
.productCardGrid .secondaryOutlineAction {
    flex: 1;
}

.primaryDarkAction {
    gap: 8px;
    color: var(--color-white);
    background: var(--color-charcoal);
}

.primaryDarkAction:hover,
.primaryDarkAction:focus {
    background: #2a3037;
    transform: translateY(-1px);
}

.secondaryOutlineAction {
    color: var(--color-charcoal);
    background: var(--color-white);
    border: 1px solid #d5dde3;
}

.secondaryOutlineAction:hover,
.secondaryOutlineAction:focus {
    color: var(--color-white);
    background: #5a6776;
    border-color: #5a6776;
    transform: translateY(-1px);
}

.productsEmptyState {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 32px;
    border-radius: 10px;
    text-align: center;
}

.productsEmptyTitle {
    margin-bottom: 10px;
    color: var(--color-charcoal);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
}

.productsEmptyDesc {
    max-width: 420px;
    color: #65707a;
    font-size: 14px;
    line-height: 1.9;
}

.productsPagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
}

.paginationNumber,
.paginationButton {
    min-width: 40px;
    height: 40px;
    color: #626e79;
    background: var(--color-white);
    border: 1px solid #dde3e8;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.paginationNumber:hover,
.paginationButton:hover,
.paginationNumber:focus,
.paginationButton:focus,
.paginationNumber.active {
    color: var(--color-white);
    background: var(--color-orange);
    border-color: var(--color-orange);
}

.paginationButton.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 1399px) {
    .productsIntroTitle {
        font-size: 36px;
    }
}

@media (max-width: 1199px) {
    .productsCatalogLayout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 22px;
    }

    .productCardList {
        grid-template-columns: 172px minmax(0, 1fr) 164px;
        gap: 16px;
    }

    .productsListGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 991px) {
    .productsIntroSection {
        padding-top: 132px;
    }

    .productsIntroTitle {
        font-size: 34px;
    }

    .productsCatalogLayout {
        grid-template-columns: 1fr;
    }

    .productsSidebar {
        position: static;
    }

    .productsToolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .productsToolbarControls {
        justify-content: flex-start;
    }

    .productsListGrid {
        grid-template-columns: 1fr;
    }

    .productCardList {
        grid-template-columns: 160px minmax(0, 1fr);
    }

    .productCardList .productCardActions {
        grid-column: 1 / -1;
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .productsIntroSection {
        padding: 118px 0 42px;
    }

    .productsIntroHead {
        text-align: center;
    }

    .productsIntroBadge {
        margin-bottom: 18px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .productsIntroTitle {
        font-size: 30px;
    }

    .productsIntroDesc {
        font-size: 14px;
        line-height: 1.8;
    }

    .productsCatalogSection {
        padding-bottom: 64px;
    }

    .productsSidebar {
        padding: 22px 18px 18px;
    }

    .productsSidebarTitle {
        font-size: 20px;
    }

    .productsPriceFilterStack {
        gap: 8px;
    }

    .productsPriceSummary {
        flex-direction: column;
        align-items: stretch;
    }

    .productsToolbar {
        padding: 16px;
    }

    .productsToolbarField,
    .productsToolbarFieldNarrow {
        min-width: 0;
        width: 100%;
    }

    .productsToolbarControls {
        flex-direction: column;
        align-items: stretch;
    }

    .productsViewSwitch {
        justify-content: flex-start;
    }

    .productCardList,
    .productCardGrid {
        display: flex;
        flex-direction: column;
        padding: 14px;
    }

    .productCardList .productCardImage,
    .productCardGrid .productCardImage {
        aspect-ratio: 1.25 / 1;
    }

    .productCardBody {
        width: 100%;
    }

    .productCardHead {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 16px;
    }

    .productCardTags {
        gap: 8px;
    }

    .productCardActions,
    .productCardList .productCardActions {
        width: 100%;
        margin-top: 18px;
        flex-direction: column;
    }

    .primaryDarkAction,
    .secondaryOutlineAction {
        width: 100%;
    }
}
