/* =============================================================================
   NexArt — Product Category Archive CSS
   Scope: body.nexart-product-category-active
   Enqueued only on is_product_category()
   ============================================================================= */

/* ── 1. HIDE OCEANWP CHROME ──────────────────────────────────────────────── */
body.nexart-product-category-active #site-header,
body.nexart-product-category-active .site-header,
body.nexart-product-category-active #top-bar-wrap,
body.nexart-product-category-active #top-bar,
body.nexart-product-category-active .page-header,
body.nexart-product-category-active .entry-header,
body.nexart-product-category-active header.page-header,
body.nexart-product-category-active .page-header-inner,
body.nexart-product-category-active #breadcrumbs,
body.nexart-product-category-active .oceanwp-breadcrumbs,
body.nexart-product-category-active #footer-widgets,
body.nexart-product-category-active .site-footer,
body.nexart-product-category-active #footer,
body.nexart-product-category-active footer.oceanwp-footer,
body.nexart-product-category-active #sidebar,
body.nexart-product-category-active aside#secondary,
body.nexart-product-category-active .widget-area,
body.nexart-product-category-active .sidebar-container,
body.nexart-product-category-active .woocommerce-breadcrumb,
body.nexart-product-category-active .term-description {
    display: none !important;
}
/* Full-width reset — OceanWP column + padding overrides */
body.nexart-product-category-active,
body.nexart-product-category-active #wrap,
body.nexart-product-category-active #outer-wrap,
body.nexart-product-category-active #main,
body.nexart-product-category-active #content-wrap,
body.nexart-product-category-active .content-area,
body.nexart-product-category-active #primary,
body.nexart-product-category-active #content,
body.nexart-product-category-active #page,
body.nexart-product-category-active .site {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    /* Ensure no white background bleeds through */
    background: transparent !important;
}

/* body itself must be dark — not transparent */
body.nexart-product-category-active {
    background: var(--nx-bg) !important;
    overflow-x: hidden !important;
}

/* OceanWP .container inside #main can add horizontal padding */
body.nexart-product-category-active #main > .container,
body.nexart-product-category-active #main > div > .container {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* OceanWP float-based layout remnant — clear any left-float gap */
body.nexart-product-category-active #primary::before,
body.nexart-product-category-active #primary::after,
body.nexart-product-category-active #content-wrap::before,
body.nexart-product-category-active #content-wrap::after {
    display: none !important;
}

/* WooCommerce default product loop UL — transparent to our grid */
body.nexart-product-category-active .nxca-products-grid ul.products {
    display: contents;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Suppress any stray WooCommerce default bars in case plugins re-add them */
body.nexart-product-category-active .woocommerce-ordering,
body.nexart-product-category-active .woocommerce-result-count,
body.nexart-product-category-active .woocommerce-pagination { display: none !important; }

/* ── 2. BASE ─────────────────────────────────────────────────────────────── */
.nxca-wrap {
    background: var(--nx-bg);
    color: var(--nx-text);
    font-family: var(--nx-font);
    overflow-x: hidden;
}

.nxca-container {
    max-width: var(--nx-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ── 3. HERO ─────────────────────────────────────────────────────────────── */
.nxca-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #040404 0%, #0c0c0c 50%, #080808 100%);
    padding-top: var(--nx-header-h);
    overflow: hidden;
}

.nxca-hero-img-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    z-index: 0;
}

.nxca-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
}

.nxca-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(4,4,4,0.97) 0%,
        rgba(4,4,4,0.82) 42%,
        rgba(4,4,4,0.32) 72%,
        rgba(4,4,4,0.08) 100%
    );
}

.nxca-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--nx-max);
    margin: 0 auto;
    padding: 64px 32px;
    display: flex;
    align-items: center;
}

.nxca-hero-text {
    max-width: 580px;
}

.nxca-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--nx-text-mid);
    margin-bottom: 20px;
}

.nxca-breadcrumb a {
    color: var(--nx-text-mid);
    text-decoration: none;
    transition: color var(--nx-transition);
}

.nxca-breadcrumb a:hover { color: var(--nx-gold); }
.nxca-breadcrumb span { opacity: .5; }
.nxca-breadcrumb span:last-child { opacity: 1; color: var(--nx-text-soft); }

.nxca-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--nx-gold);
    text-transform: uppercase;
    margin: 0 0 14px;
}

.nxca-hero-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    color: var(--nx-text);
    margin: 0 0 20px;
    letter-spacing: -.02em;
}

.nxca-hero-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--nx-text-soft);
    max-width: 460px;
    margin: 0 0 36px;
}

.nxca-hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nxca-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nx-gold);
    color: #0a0a0a;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--nx-radius);
    text-decoration: none;
    transition: background var(--nx-transition), transform var(--nx-transition);
    letter-spacing: .02em;
}

.nxca-btn-primary svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.nxca-btn-primary:hover { background: var(--nx-gold-light); transform: translateY(-1px); color: #0a0a0a; }

.nxca-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--nx-text);
    font-size: 14px;
    font-weight: 600;
    padding: 13px 24px;
    border: 1px solid var(--nx-border-bright);
    border-radius: var(--nx-radius);
    text-decoration: none;
    transition: border-color var(--nx-transition), color var(--nx-transition);
}

.nxca-btn-ghost svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.nxca-btn-ghost:hover { border-color: var(--nx-gold); color: var(--nx-gold); }

/* ── 4. TRUST BAR ────────────────────────────────────────────────────────── */
.nxca-trust-bar {
    background: rgba(255,255,255,0.025);
    border-top: 1px solid var(--nx-border);
    border-bottom: 1px solid var(--nx-border);
    padding: 14px 0;
}

.nxca-trust-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px 34px;
    flex-wrap: wrap;
}

.nxca-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 auto;
}

.nxca-trust-icon {
    width: 32px;
    height: 32px;
    color: var(--nx-gold);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nxca-trust-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

.nxca-trust-icon svg[fill="currentColor"] { fill: currentColor; stroke: none; }

.nxca-trust-text { display: flex; flex-direction: column; gap: 2px; }
.nxca-trust-text strong { font-size: 13px; font-weight: 700; color: var(--nx-text); }
.nxca-trust-text span  { font-size: 11px; color: var(--nx-text-mid); }

.nxca-trust-sep {
    width: 1px;
    height: 32px;
    background: var(--nx-border-md);
    flex-shrink: 0;
}

/* ── 5. CATEGORY TABS ────────────────────────────────────────────────────── */
.nxca-tabs-wrap {
    background: var(--nx-bg);
    border-bottom: 1px solid var(--nx-border);
    padding: 0;
    overflow: hidden;
}

.nxca-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nxca-tabs::-webkit-scrollbar { display: none; }

.nxca-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid var(--nx-border-md);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nx-text-soft);
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--nx-transition);
    background: transparent;
    flex-shrink: 0;
}

.nxca-tab:hover {
    border-color: var(--nx-gold);
    color: var(--nx-gold);
}

.nxca-tab.is-active {
    background: var(--nx-gold);
    border-color: var(--nx-gold);
    color: #0a0a0a;
    font-weight: 700;
}

/* ── 6. MAIN LAYOUT ──────────────────────────────────────────────────────── */
.nxca-layout {
    background: var(--nx-bg);
    padding: 40px 0 64px;
}

.nxca-layout-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

/* ── 7. SIDEBAR ──────────────────────────────────────────────────────────── */
.nxca-sidebar {
    background: var(--nx-bg-card);
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: calc(var(--nx-header-h) + 20px);
}

.nxca-sidebar-close {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--nx-text-soft);
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
}

.nxca-filter-group {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--nx-border);
}

.nxca-filter-group:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.nxca-filter-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--nx-text-mid);
    text-transform: uppercase;
    margin: 0 0 14px;
}

.nxca-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nxca-filter-item a { text-decoration: none; }

.nxca-filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.nxca-filter-box {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--nx-border-md);
    border-radius: 4px;
    flex-shrink: 0;
    background: transparent;
    transition: all var(--nx-transition);
    position: relative;
}

.nxca-filter-item.is-active .nxca-filter-box,
.nxca-filter-check:hover .nxca-filter-box {
    background: var(--nx-gold);
    border-color: var(--nx-gold);
}

.nxca-filter-item.is-active .nxca-filter-box::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #0a0a0a;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.nxca-filter-label {
    font-size: 13px;
    color: var(--nx-text-soft);
    transition: color var(--nx-transition);
    flex: 1;
}

.nxca-filter-item.is-active .nxca-filter-label { color: var(--nx-text); font-weight: 600; }
.nxca-filter-check:hover .nxca-filter-label { color: var(--nx-text); }

.nxca-filter-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1.5px solid rgba(255,255,255,.15);
}

.nxca-filter-item.is-active .nxca-filter-dot { box-shadow: 0 0 0 2px var(--nx-gold); }

/* Price range visual */
.nxca-price-range { padding: 4px 0; }

.nxca-price-track {
    height: 4px;
    background: var(--nx-border-md);
    border-radius: 2px;
    position: relative;
    margin-bottom: 10px;
}

.nxca-price-fill {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(to right, var(--nx-gold), var(--nx-gold-light));
    border-radius: 2px;
}

.nxca-price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--nx-text-mid);
}

.nxca-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--nx-text-mid);
    text-decoration: none;
    margin-top: 20px;
    transition: color var(--nx-transition);
    padding: 8px 0;
}

.nxca-clear-filters svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.nxca-clear-filters:hover { color: var(--nx-gold); }

/* ── 8. PRODUCTS AREA ────────────────────────────────────────────────────── */
.nxca-products-area {}

.nxca-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--nx-border);
    flex-wrap: wrap;
}

.nxca-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--nx-bg-card);
    border: 1px solid var(--nx-border-md);
    color: var(--nx-text-soft);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--nx-radius);
    cursor: pointer;
    transition: all var(--nx-transition);
}

.nxca-filter-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.nxca-filter-toggle:hover { border-color: var(--nx-gold); color: var(--nx-gold); }

.nxca-result-count {
    font-size: 13px;
    color: var(--nx-text-mid);
    margin: 0;
    flex: 1;
}

.nxca-result-count strong { color: var(--nx-text); }

.nxca-sort-wrap { position: relative; }

.nxca-orderby {
    appearance: none;
    background: var(--nx-bg-card);
    border: 1px solid var(--nx-border-md);
    color: var(--nx-text);
    font-size: 13px;
    font-family: var(--nx-font);
    padding: 8px 36px 8px 14px;
    border-radius: var(--nx-radius);
    cursor: pointer;
    transition: border-color var(--nx-transition);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9' stroke='%23aaa' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.nxca-orderby:focus { outline: none; border-color: var(--nx-gold); }
.nxca-orderby option { background: #1a1a1a; }

/* ── 9. PRODUCT GRID ─────────────────────────────────────────────────────── */
.nxca-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.nxca-product-card {
    background: var(--nx-bg-card);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-lg);
    overflow: hidden;
    transition: transform var(--nx-transition), border-color var(--nx-transition);
    display: flex;
    flex-direction: column;
}

.nxca-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--nx-border-gold);
}

.nxca-product-img-link { display: block; }

.nxca-product-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--nx-bg-card-2);
}

.nxca-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nxca-product-card:hover .nxca-product-img img { transform: scale(1.04); }

.nxca-product-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.nxca-product-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 50%);
    pointer-events: none;
}

.nxca-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

.nxca-product-badge.is-seller { background: var(--nx-gold); color: #0a0a0a; }
.nxca-product-badge.is-new    { background: rgba(255,255,255,.12); color: var(--nx-text); border: 1px solid rgba(255,255,255,.2); }

.nxca-product-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(10,10,10,.72);
    border: 1px solid var(--nx-border-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--nx-transition);
    z-index: 2;
    padding: 0;
}

.nxca-product-heart svg { width: 14px; height: 14px; stroke: var(--nx-text-soft); fill: none; stroke-width: 2; }
.nxca-product-heart:hover { background: var(--nx-gold); border-color: var(--nx-gold); }
.nxca-product-heart:hover svg { stroke: #0a0a0a; }
.nxca-product-heart.is-active { background: var(--nx-gold); border-color: var(--nx-gold); }
.nxca-product-heart.is-active svg { stroke: #0a0a0a; }

.nxca-product-quick {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    background: rgba(0,0,0,.66);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    color: var(--nx-gold);
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nxca-product-card:hover .nxca-product-quick,
.nxca-product-img-link:focus .nxca-product-quick {
    opacity: 1;
    transform: translateY(0);
}

.nxca-product-quick svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.nxca-product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.nxca-product-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--nx-gold);
    text-transform: uppercase;
}

.nxca-product-name {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.nxca-product-name a { color: var(--nx-text); text-decoration: none; }
.nxca-product-name a:hover { color: var(--nx-gold); }

.nxca-product-finish,
.nxca-product-size {
    font-size: 11px;
    color: var(--nx-text-mid);
}

.nxca-product-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.nxca-product-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    color: rgba(245,245,245,0.62);
    background: rgba(255,255,255,0.025);
    font-size: 10.5px;
    line-height: 1;
    white-space: nowrap;
}

.nxca-product-price {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--nx-gold);
}

.nxca-product-price .woocommerce-Price-amount { color: var(--nx-gold); }
.nxca-product-price ins { text-decoration: none; }
.nxca-product-price del { opacity: .5; font-size: 12px; margin-right: 4px; }

.nxca-product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    border: 1px solid var(--nx-border-gold);
    border-radius: var(--nx-radius);
    background: transparent;
    color: var(--nx-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--nx-transition);
    font-family: var(--nx-font);
    cursor: pointer;
}

.nxca-product-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.nxca-product-btn:hover { background: var(--nx-gold); border-color: var(--nx-gold); color: #0a0a0a; }

/* ── 10. PAGINATION ──────────────────────────────────────────────────────── */
.nxca-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.nxca-pagination-inner .page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.nxca-pagination-inner .page-numbers li a,
.nxca-pagination-inner .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--nx-bg-card);
    border: 1px solid var(--nx-border-md);
    border-radius: var(--nx-radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--nx-text-soft);
    text-decoration: none;
    transition: all var(--nx-transition);
}

.nxca-pagination-inner .page-numbers li a svg,
.nxca-pagination-inner .page-numbers li span svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.nxca-pagination-inner .page-numbers li a:hover {
    border-color: var(--nx-gold);
    color: var(--nx-gold);
}

.nxca-pagination-inner .page-numbers li span.current {
    background: var(--nx-gold);
    border-color: var(--nx-gold);
    color: #0a0a0a;
}

/* ── 11. NO PRODUCTS ─────────────────────────────────────────────────────── */
.nxca-no-products {
    text-align: center;
    padding: 80px 32px;
    color: var(--nx-text-mid);
}

.nxca-no-products svg { width: 48px; height: 48px; stroke: var(--nx-text-mid); fill: none; stroke-width: 1.5; margin-bottom: 16px; }
.nxca-no-products h3  { font-size: 22px; color: var(--nx-text); margin: 0 0 8px; }
.nxca-no-products p   { margin: 0 0 24px; }

/* ── 12. EDITORIAL ───────────────────────────────────────────────────────── */
.nxca-editorial {
    background: var(--nx-bg-2);
    padding: 80px 0;
    border-top: 1px solid var(--nx-border);
    border-bottom: 1px solid var(--nx-border);
}

.nxca-editorial-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.nxca-editorial-img-frame {
    border-radius: var(--nx-radius-xl);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.6);
}

.nxca-editorial-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nxca-editorial-text-col.no-img { grid-column: 1 / -1; max-width: 680px; margin: 0 auto; text-align: center; }

.nxca-editorial-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--nx-gold);
    text-transform: uppercase;
    margin: 0 0 14px;
}

.nxca-editorial-title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--nx-text);
    margin: 0 0 20px;
    letter-spacing: -.02em;
}

.nxca-editorial-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--nx-text-soft);
    margin: 0 0 28px;
}

.nxca-choice-guide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.nxca-choice-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    color: var(--nx-text-soft);
    font-size: 14px;
    line-height: 1.45;
}

.nxca-choice-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(217,164,65,0.10);
    color: var(--nx-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nxca-choice-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ── 13. EXPLORE MORE ────────────────────────────────────────────────────── */
.nxca-explore {
    background: linear-gradient(180deg, var(--nx-bg) 0%, var(--nx-bg-2) 100%);
    padding: 72px 0;
}

.nxca-explore-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.nxca-explore-title {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--nx-text);
    margin: 0;
    letter-spacing: -.02em;
}

.nxca-explore-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--nx-gold);
    text-decoration: none;
    letter-spacing: .02em;
    transition: color var(--nx-transition);
}

.nxca-explore-all:hover { color: var(--nx-gold-light); }

.nxca-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.nxca-explore-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #161616 0%, #0d0d0d 100%);
    border: 1px solid var(--nx-border);
    cursor: pointer;
    display: block;
    color: inherit;
    text-decoration: none;
    transition: border-color var(--nx-transition), transform var(--nx-transition);
}

.nxca-explore-card:hover {
    border-color: var(--nx-border-gold);
    transform: translateY(-3px);
    color: inherit;
}

.nxca-explore-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nxca-explore-card:hover img { transform: scale(1.05); }

.nxca-explore-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}

.nxca-explore-card-body {
    position: absolute;
    inset: 0;
    padding: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 2;
}

.nxca-explore-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--nx-text);
    margin: 0 0 4px;
    line-height: 1.3;
}

.nxca-explore-card-count {
    font-size: 11px;
    color: var(--nx-text-mid);
    margin: 0;
}

.nxca-explore-card-arrow {
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,.6);
    border: 1px solid var(--nx-border-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: .4;
    transition: all var(--nx-transition);
}

.nxca-explore-card-arrow svg { width: 14px; height: 14px; stroke: var(--nx-text); fill: none; stroke-width: 2; }
.nxca-explore-card:hover .nxca-explore-card-arrow { opacity: 1; background: var(--nx-gold); border-color: var(--nx-gold); }
.nxca-explore-card:hover .nxca-explore-card-arrow svg { stroke: #0a0a0a; }

/* ── 14. BENEFITS STRIP ──────────────────────────────────────────────────── */
.nxca-benefits-strip {
    background: var(--nx-bg-2);
    border-top: 1px solid var(--nx-border);
    border-bottom: 1px solid var(--nx-border);
    padding: 32px 0;
}

.nxca-benefits-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.nxca-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 200px;
}

.nxca-benefit-icon {
    width: 44px;
    height: 44px;
    background: rgba(217,164,65,.08);
    border: 1px solid var(--nx-border-gold);
    border-radius: var(--nx-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-gold);
    flex-shrink: 0;
}

.nxca-benefit-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.nxca-benefit-text { display: flex; flex-direction: column; gap: 3px; }
.nxca-benefit-text strong { font-size: 14px; font-weight: 700; color: var(--nx-text); }
.nxca-benefit-text span   { font-size: 12px; color: var(--nx-text-mid); }

.nxca-benefit-sep {
    width: 1px;
    height: 44px;
    background: var(--nx-border);
    flex-shrink: 0;
}

/* ── 15. STANDARD ARCHIVE FALLBACK ──────────────────────────────────────── */
.nxca-standard-archive {
    padding: 48px 0;
    background: var(--nx-bg);
    min-height: 60vh;
}

/* ── 16. RESPONSIVE ──────────────────────────────────────────────────────── */
@media ( max-width: 1280px ) {
    .nxca-products-grid { grid-template-columns: repeat(3, 1fr); }
    .nxca-explore-grid  { grid-template-columns: repeat(4, 1fr); }
}

@media ( max-width: 1024px ) {
    .nxca-layout-inner { grid-template-columns: 1fr; }

    .nxca-sidebar {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9998;
        border-radius: 0;
        overflow-y: auto;
        padding: 60px 24px 40px;
    }

    .nxca-sidebar.is-open { display: block; }
    .nxca-sidebar-close { display: flex; }

    .nxca-filter-toggle { display: flex; }

    .nxca-products-grid { grid-template-columns: repeat(3, 1fr); }
    .nxca-trust-sep     { display: none; }
    .nxca-trust-grid    { justify-content: flex-start; gap: 20px 40px; }
    .nxca-benefit-sep   { display: none; }

    .nxca-editorial-inner { grid-template-columns: 1fr; gap: 40px; }
    .nxca-editorial-img-col { order: 2; }
    .nxca-editorial-text-col { order: 1; }

    .nxca-explore-grid { grid-template-columns: repeat(2, 1fr); }
}

@media ( max-width: 768px ) {
    .nxca-container { padding: 0 20px; }
    .nxca-hero-inner { padding: 48px 20px; }
    .nxca-hero-ctas  { flex-direction: column; align-items: flex-start; }
    .nxca-btn-primary, .nxca-btn-ghost { width: 100%; justify-content: center; }

    .nxca-products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .nxca-products-header { gap: 10px; }
    .nxca-result-count    { width: 100%; order: -1; }

    .nxca-explore-grid { grid-template-columns: repeat(2, 1fr); }
    .nxca-explore-header { flex-direction: column; align-items: flex-start; }

    .nxca-benefits-grid { gap: 20px; }
    .nxca-benefit-item  { flex: 1 1 100%; }
}

@media ( max-width: 480px ) {
    .nxca-products-grid { grid-template-columns: 1fr; }
    .nxca-trust-grid    { flex-direction: column; align-items: flex-start; }
    .nxca-explore-grid  { grid-template-columns: 1fr; }
    .nxca-hero-title    { font-size: 32px; }
}

/* =============================================================================
   MOBILE-FIRST HARDENING
   ============================================================================= */
.nxca-wrap,
.nxca-wrap * {
    min-width: 0;
}

.nxca-wrap img {
    max-width: 100%;
}

.nxca-tab,
.nxca-filter-toggle,
.nxca-orderby,
.nxca-product-btn,
.nxca-btn-primary,
.nxca-btn-ghost,
.nxca-pagination-inner .page-numbers li a,
.nxca-pagination-inner .page-numbers li span {
    min-height: 44px;
}

@media (max-width: 1024px) {
    .nxca-sidebar {
        top: var(--nx-header-h);
        height: calc(100dvh - var(--nx-header-h));
        padding-bottom: max(36px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 768px) {
    .nxca-hero {
        min-height: 380px;
    }

    .nxca-hero-img-wrap {
        width: 100%;
    }

    .nxca-hero-overlay {
        background: linear-gradient(180deg, rgba(4,4,4,0.72) 0%, rgba(4,4,4,0.94) 100%);
    }

    .nxca-tabs {
        scroll-padding-inline: 20px;
    }

    .nxca-products-header {
        align-items: stretch;
    }

    .nxca-filter-toggle,
    .nxca-sort-wrap,
    .nxca-orderby {
        width: 100%;
    }

    .nxca-product-card:hover,
    .nxca-explore-card:hover {
        transform: none;
    }

    .nxca-product-quick {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 390px) and (max-width: 480px) {
    .nxca-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .nxca-product-body {
        padding: 12px;
    }

    .nxca-product-name {
        font-size: 14px;
    }

    .nxca-product-btn {
        padding: 10px 8px;
        font-size: 11px;
    }
}

@media (max-width: 389px) {
    .nxca-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .nxca-products-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   CRO Sprint 2 — Category card enhancements + collapsing hero
   ============================================================================= */

/* Hover crossfade primary -> secondary image */
.nxca-product-img { position: relative; }
.nxca-product-img-primary,
.nxca-product-img-secondary {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: opacity 0.4s ease;
}
.nxca-product-img-primary  { opacity: 1; z-index: 1; }
.nxca-product-img-secondary { opacity: 0; z-index: 2; }
.nxca-product-card.has-secondary:hover .nxca-product-img-primary  { opacity: 0; }
.nxca-product-card.has-secondary:hover .nxca-product-img-secondary { opacity: 1; }

/* "New" badge top-right */
.nxca-product-new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    background: var(--nx-gold);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 3px;
    line-height: 1;
}

/* Quick add overlay */
.nxca-product-quick-add {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translate(-50%, 8px);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: rgba(8, 8, 8, 0.92);
    border: 1px solid var(--nx-border-gold);
    border-radius: 999px;
    color: var(--nx-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.nxca-product-quick-add svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nxca-product-card:hover .nxca-product-quick-add { opacity: 1; transform: translate(-50%, 0); }
.nxca-product-quick-add:hover { background: var(--nx-gold); color: #000; }
.nxca-product-quick-add.loading { opacity: 0.7; pointer-events: none; }
.nxca-product-quick-add.added { background: #2d7d46; border-color: #2d7d46; color: #fff; }

/* Sales proof tier */
.nxca-product-sales-proof {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--nx-gold);
    letter-spacing: 0.02em;
}

/* Collapsing category hero on scroll */
.nxca-hero {
    transition: padding 0.32s ease, min-height 0.32s ease;
    will-change: padding, min-height;
}
.nxca-hero.is-collapsed {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    min-height: 0 !important;
}
.nxca-hero.is-collapsed .nxca-hero-desc,
.nxca-hero.is-collapsed .nxca-hero-cta,
.nxca-hero.is-collapsed .nxca-hero-img-col,
.nxca-hero.is-collapsed .nxca-hero-tags,
.nxca-hero.is-collapsed .nxca-hero-stats {
    display: none !important;
}
.nxca-hero.is-collapsed .nxca-hero-title {
    font-size: clamp(18px, 2.2vw, 22px) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}
.nxca-hero.is-collapsed .nxca-hero-title br { display: none; }
.nxca-hero.is-collapsed .nxca-hero-eyebrow {
    font-size: 10px !important;
    margin-bottom: 4px !important;
}
.nxca-hero.is-collapsed .nxca-hero-text-col,
.nxca-hero.is-collapsed .nxca-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
}
