
/* NX_DARK_MODE_SURFACES_V1 */
/* Applies ONLY when Dark Mode is active */

/* Main product pages */

body[theme="dark"] .nx-products-page,
body[theme="dark"] .nx-detail-page {
    background-color: #111213 !important;
    color: #f5f5f5 !important;
}

/* Product listing containers */

body[theme="dark"] .nx-products-page .nx-product-toolbar,
body[theme="dark"] .nx-products-page .nx-products-sidebar,
body[theme="dark"] .nx-products-page #filtered-products > .product,
body[theme="dark"] .nx-products-page .nx-catalog-product-summary {
    background-color: #1c1d1f !important;
    color: #f5f5f5 !important;
    border-color: #36383c !important;
}

/* Search and filter controls */

body[theme="dark"] .nx-products-page .nx-products-search__composite,
body[theme="dark"] .nx-products-page .nx-product-toolbar__control {
    background-color: #27282b !important;
    border-color: #404247 !important;
    color: #f5f5f5 !important;
}

body[theme="dark"] .nx-products-page .nx-products-search__input {
    color: #f5f5f5 !important;
    background: transparent !important;
}

body[theme="dark"] .nx-products-page .nx-products-search__input::placeholder {
    color: #aeb2ba !important;
}

/* Product details */

body[theme="dark"] .nx-detail-page {
    --nx-d-bg: #111213;
    --nx-d-surface: #1c1d1f;
    --nx-d-ink: #f5f5f5;
    --nx-d-muted: #b6bac2;
    --nx-d-line: #36383c;
    --nx-d-soft: #252628;
}

body[theme="dark"] .nx-detail-page .nx-detail-hero,
body[theme="dark"] .nx-detail-page .nx-detail-tabs,
body[theme="dark"] .nx-detail-page .nx-detail-store-section > .card {
    background-color: #1c1d1f !important;
    color: #f5f5f5 !important;
    border-color: #36383c !important;
}

/* Product text */

body[theme="dark"] .nx-products-page .nx-catalog-product-title,
body[theme="dark"] .nx-products-page .nx-product-toolbar__heading h3,
body[theme="dark"] .nx-detail-page .product_title {
    color: #f5f5f5 !important;
}

/* Review and description area */

body[theme="dark"] .nx-detail-page .nx-detail-tabs .table,
body[theme="dark"] .nx-detail-page .nx-detail-tabs .table td,
body[theme="dark"] .nx-detail-page .nx-detail-tabs .table th,
body[theme="dark"] .nx-detail-page .nx-detail-tabs .rich-editor-html-content {
    background-color: transparent !important;
    color: #e5e5e5 !important;
    border-color: #36383c !important;
}

/* Keep product photos unchanged for image clarity */
