/* =============================================================================
   NexArt Shop Page — nexart-shop.css
   Scope : body.nexart-shop-active  +  .nexart-sp
   Variables heritees de nexart.css (:root)
   ============================================================================= */

/* OceanWP page chrome reset is centralized in assets/css/nexart.css. */

/* ── 2. WRAPPER ─────────────────────────────────────────────────────────────── */
.nexart-sp {
    background: var(--nx-bg);
    font-family: var(--nx-font);
    overflow-x: hidden;
    padding-top: var(--nx-header-h);
    accent-color: var(--nx-gold);
}

.nexart-sp *,
.nexart-sp *::before,
.nexart-sp *::after { box-sizing: border-box; }

/* ── 3. HERO ────────────────────────────────────────────────────────────────── */
.nexart-sp-hero {
    position: relative;
    min-height: 460px;
    background: var(--nx-bg-deep);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.nexart-sp-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(217,164,65,0.45) 40%, rgba(217,164,65,0.45) 60%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.nexart-sp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.nexart-sp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.nexart-sp-hero-bg-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 68% 45%, rgba(60,36,6,0.85) 0%, transparent 55%),
        linear-gradient(135deg, #040404 0%, #0a0806 35%, #180f04 60%, #060402 85%, #040404 100%);
}

.nexart-sp-hero-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(4,4,4,0.97) 0%,
            rgba(4,4,4,0.90) 28%,
            rgba(4,4,4,0.62) 50%,
            rgba(4,4,4,0.22) 72%,
            transparent 100%
        ),
        linear-gradient(to top, rgba(4,4,4,0.72) 0%, transparent 35%);
}

.nexart-sp-hero-content {
    position: relative;
    z-index: 2;
    width: 52%;
    max-width: 660px;
    padding: 64px 48px 58px 80px;
}

.nexart-sp-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--nx-gold);
    margin: 0 0 18px;
}

.nexart-sp-eyebrow-line {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--nx-gold);
    flex-shrink: 0;
}

.nexart-sp-hero-title {
    font-size: clamp(34px, 3.6vw, 54px);
    font-weight: 900;
    color: var(--nx-text);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 0 0 18px;
}

.nexart-sp-hero-desc {
    font-size: 15px;
    color: var(--nx-text-soft);
    line-height: 1.72;
    margin: 0 0 26px;
}

.nexart-sp-hero-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── 4. CATEGORY TABS ───────────────────────────────────────────────────────── */
.nexart-sp-tabs-wrap {
    background: rgba(8,8,8,0.98);
    border-bottom: 1px solid var(--nx-border);
    position: sticky;
    top: var(--nx-header-h);
    z-index: 200;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nexart-sp-tabs-inner {
    display: flex;
    align-items: center;
    gap: 2px;
    min-height: 64px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
}

.nexart-sp-tabs-inner::-webkit-scrollbar { display: none; }

.nexart-sp-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 100px;
    font-family: var(--nx-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--nx-text-muted);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--nx-transition);
    line-height: 1;
    text-decoration: none !important;
}

.nexart-sp-tab:hover {
    color: var(--nx-text);
    background: rgba(255,255,255,0.05);
    border-color: var(--nx-border);
}

.nexart-sp-tab.is-active {
    color: #000;
    background: var(--nx-gold);
    border-color: var(--nx-gold);
    font-weight: 700;
}

.nexart-sp-tab.is-active:hover {
    background: var(--nx-gold-light);
    border-color: var(--nx-gold-light);
    color: #000;
}

.nexart-sp-tab svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.nexart-sp-tab.is-active svg { stroke: #000; }

/* ── 5. MAIN LAYOUT ─────────────────────────────────────────────────────────── */
.nexart-sp-main {
    padding: 30px 0 88px;
    background: var(--nx-bg);
}

.nexart-sp-layout {
    display: grid;
    grid-template-columns: 264px 1fr;
    gap: 28px;
    align-items: start;
}

/* ── 6. SIDEBAR FILTERS ─────────────────────────────────────────────────────── */
.nexart-sp-filters {
    background: linear-gradient(180deg, rgba(17,17,17,0.98) 0%, rgba(12,12,12,0.98) 100%);
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    overflow: hidden;
    position: sticky;
    top: calc(var(--nx-header-h) + 74px);
    box-shadow: 0 18px 48px rgba(0,0,0,0.42);
}

.nexart-sp-filters-toggle {
    display: none;
    width: 100%;
    background: var(--nx-bg-card);
    border: none;
    border-bottom: 1px solid var(--nx-border);
    color: var(--nx-text);
    font-family: var(--nx-font);
    font-size: 13px;
    font-weight: 600;
    padding: 14px 18px;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: color var(--nx-transition);
}

.nexart-sp-filters-toggle svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.nexart-sp-filters-toggle.is-open svg { transform: rotate(180deg); }

.nexart-sp-filter-section {
    padding: 20px 20px 19px;
    border-bottom: 1px solid var(--nx-border);
}

.nexart-sp-filter-section:last-of-type { border-bottom: none; }

.nexart-sp-filter-title {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245,245,245,0.46);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nexart-sp-filter-title svg {
    width: 11px;
    height: 11px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.28;
}

.nexart-sp-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.nexart-sp-filter-item {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(245,245,245,0.62);
    transition: color var(--nx-transition);
    line-height: 1;
    user-select: none;
}

.nexart-sp-filter-item > a {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    color: inherit;
    text-decoration: none !important;
}

.nexart-sp-filter-item:hover { color: var(--nx-text); }
.nexart-sp-filter-item.is-active { color: var(--nx-text); font-weight: 700; }
.nexart-sp-filter-item.is-loading { color: var(--nx-gold); }
.nexart-sp-filter-item.is-disabled {
    cursor: default;
    color: rgba(245,245,245,0.30);
}
.nexart-sp-filter-item.is-disabled:hover { color: rgba(245,245,245,0.30); }

/* Radio */
.nexart-sp-radio {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.015);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--nx-transition);
}

.nexart-sp-filter-item.is-active .nexart-sp-radio {
    border-color: var(--nx-gold);
    background: var(--nx-gold);
    box-shadow: 0 0 0 3px rgba(217,164,65,0.12);
}

.nexart-sp-radio::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #000;
    display: none;
}

.nexart-sp-filter-item.is-active .nexart-sp-radio::after { display: block; }

/* Checkbox */
.nexart-sp-check {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1.5px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.015);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--nx-transition);
}

.nexart-sp-filter-item.is-active .nexart-sp-check {
    border-color: var(--nx-gold);
    background: var(--nx-gold);
    box-shadow: 0 0 0 3px rgba(217,164,65,0.12);
}

.nexart-sp-check svg {
    display: none;
    width: 9px;
    height: 9px;
    stroke: #000;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nexart-sp-filter-item.is-active .nexart-sp-check svg { display: block; }

.nexart-sp-count-badge {
    margin-left: auto;
    font-size: 10px;
    color: rgba(245,245,245,0.28);
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* Price range */
.nexart-sp-price-range { padding-top: 2px; }

.nexart-sp-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    background: linear-gradient(90deg, var(--nx-gold) 0%, var(--nx-gold) 100%, rgba(255,255,255,0.14) 100%);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.nexart-sp-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--nx-gold);
    border: 2px solid rgba(0,0,0,0.55);
    box-shadow: 0 0 0 3px rgba(217,164,65,0.22);
    cursor: pointer;
}

.nexart-sp-range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--nx-gold);
    border: 2px solid rgba(0,0,0,0.55);
    cursor: pointer;
    border: none;
}

.nexart-sp-price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 11px;
    color: var(--nx-text-muted);
    font-weight: 500;
}

.nexart-sp-price-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nexart-sp-price-form input[type="hidden"] { display: none; }

/* Clear button */
.nexart-sp-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: calc(100% - 40px);
    margin: 18px 20px 20px;
    padding: 10px 14px;
    background: transparent !important;
    border: 1px solid var(--nx-border-md) !important;
    border-radius: var(--nx-radius);
    color: var(--nx-text-muted) !important;
    font-family: var(--nx-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all var(--nx-transition);
    text-decoration: none !important;
}

.nexart-sp-clear-btn:hover {
    border-color: var(--nx-border-gold) !important;
    color: var(--nx-gold) !important;
}

.nexart-sp-clear-btn svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── 7. PRODUCT GRID ────────────────────────────────────────────────────────── */
.nexart-sp-grid-wrap {
    min-width: 0;
    background: rgba(255,255,255,0.018);
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    padding: 18px;
}

.nexart-sp-grid-wrap.is-loading {
    opacity: 0.58;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.nexart-sp-grid-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--nx-border);
    gap: 16px;
}

.nexart-sp-showing {
    font-size: 12.5px;
    color: var(--nx-text-muted);
    letter-spacing: 0.02em;
}

.nexart-sp-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nexart-sp-sort-form { margin: 0; }

.nexart-sp-sort-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nx-text-dim);
    white-space: nowrap;
}

.nexart-sp-sort-select {
    background: var(--nx-bg-card-2);
    border: 1px solid var(--nx-border-md);
    border-radius: var(--nx-radius);
    color: var(--nx-text-soft);
    font-family: var(--nx-font);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 30px 8px 12px;
    min-width: 140px;
    height: auto !important;
    min-height: 40px;
    line-height: normal;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color var(--nx-transition);
}

.nexart-sp-sort-select:hover { border-color: var(--nx-border-bright); }
.nexart-sp-sort-select:focus { border-color: var(--nx-gold); }
.nexart-sp-sort-select option { background: var(--nx-bg-card); }

.nexart-sp-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 18px;
}

.nexart-sp-active-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nx-text-dim);
}

.nexart-sp-active-chip.nexart-sp-clear-btn {
    width: auto;
    margin: 0;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(217,164,65,0.08) !important;
    border-color: rgba(217,164,65,0.28) !important;
    color: var(--nx-gold) !important;
    letter-spacing: 0.02em;
}

.nexart-sp-active-chip span {
    font-size: 14px;
    line-height: 1;
}

/* Product grid */
.nexart-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* ── 8. PRODUCT CARDS ───────────────────────────────────────────────────────── */
.nexart-product-card {
    background: var(--nx-bg-card);
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
    cursor: pointer;
}

.nexart-product-card:hover {
    transform: translateY(-6px);
    border-color: var(--nx-border-gold);
    box-shadow: 0 22px 56px rgba(0,0,0,0.65), 0 4px 16px var(--nx-gold-glow);
}

.nexart-sp-empty {
    min-height: 320px;
    padding: 52px 28px;
    background: var(--nx-bg-card);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nexart-sp-empty h3 {
    margin: 0 0 10px;
    color: var(--nx-text);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nexart-sp-empty p {
    margin: 0 0 22px;
    color: var(--nx-text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.nexart-sp-empty-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.nexart-sp-pagination { margin-top: 34px; }

.nexart-sp-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nexart-sp-pagination a,
.nexart-sp-pagination span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nx-bg-card);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    color: var(--nx-text-muted);
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
    transition: all var(--nx-transition);
}

.nexart-sp-pagination a:hover,
.nexart-sp-pagination .current {
    background: var(--nx-gold);
    border-color: var(--nx-gold);
    color: #000;
}

.nexart-sp-pagination svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Image link wrapper */
.nexart-product-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Image zone */
.nexart-product-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--nx-bg-card-2);
}

.nexart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.nexart-product-card:hover .nexart-product-image img { transform: scale(1.05); }

/* CSS gradient fallback */
.nexart-product-img-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.45s ease;
}

.nexart-product-card:hover .nexart-product-img-bg { transform: scale(1.05); }

.nexart-product-img-bg[data-cat="landscapes"],
.nexart-product-img-bg[data-cat="automotive"],
.nexart-product-img-bg[data-cat="abstract"],
.nexart-product-img-bg[data-cat="space"],
.nexart-product-img-bg[data-cat="cityscapes"],
.nexart-product-img-bg[data-cat="blackmaps"],
.nexart-product-img-bg[data-cat="black-maps"] {
    background:
        radial-gradient(ellipse at 62% 34%, rgba(217,164,65,0.16) 0%, transparent 54%),
        linear-gradient(160deg, #15120c 0%, #0b0b0b 48%, #050505 100%);
}

.nexart-product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.50) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Badge */
.nexart-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 100px;
    line-height: 1;
}

.nexart-product-badge.is-seller {
    background: var(--nx-gold);
    color: #000;
}

.nexart-product-badge.is-new {
    background: rgba(217,164,65,0.14);
    color: var(--nx-gold);
    border: 1px solid rgba(217,164,65,0.36);
}

/* Heart */
.nexart-product-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,0.44);
    border: 1px solid rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255,255,255,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0;
}

.nexart-product-heart:hover {
    background: rgba(217,164,65,0.18);
    border-color: var(--nx-border-gold);
    color: var(--nx-gold);
}

.nexart-product-heart.is-active {
    background: var(--nx-gold);
    border-color: var(--nx-gold);
    color: #000;
}

.nexart-product-heart svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

/* Product body */
.nexart-product-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
}

.nexart-product-cat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nx-text-mid);
    line-height: 1;
    margin-bottom: 2px;
}

.nexart-product-name a {
    color: inherit;
    text-decoration: none;
    transition: color var(--nx-transition);
}

.nexart-product-name a:hover { color: var(--nx-gold); }

.nexart-product-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--nx-text);
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin: 0 0 3px;
    min-height: 2.36em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nexart-product-finish,
.nexart-product-size {
    font-size: 11.5px;
    color: rgba(245,245,245,0.42);
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.nexart-product-price-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 35px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--nx-border);
}

.nexart-product-price-row.is-empty {
    visibility: hidden;
}

.nexart-product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--nx-gold);
    letter-spacing: -0.02em;
    line-height: 1;
}

/* View Product CTA */
.nexart-product-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 34px;
    margin-top: 10px;
    padding: 11px 14px;
    background: rgba(217,164,65,0.08);
    border: 1px solid var(--nx-border-gold);
    border-radius: var(--nx-radius);
    color: var(--nx-gold) !important;
    font-family: var(--nx-font);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    cursor: pointer;
    transition: all var(--nx-transition);
    line-height: 1;
}

.nexart-product-cta:hover {
    background: var(--nx-gold);
    border-color: var(--nx-gold);
    color: #000 !important;
}

.nexart-product-cta svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ── 9. BENEFITS STRIP ──────────────────────────────────────────────────────── */
.nexart-sp-benefits {
    padding: 72px 0;
    background: var(--nx-bg-2);
    border-top: 1px solid var(--nx-border);
}

.nexart-sp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.nexart-sp-benefit {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.nexart-sp-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--nx-radius-lg);
    background: rgba(217,164,65,0.07);
    border: 1px solid var(--nx-border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nexart-sp-benefit-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--nx-gold);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nexart-sp-benefit-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--nx-text);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.nexart-sp-benefit-desc {
    font-size: 12.5px;
    color: rgba(245,245,245,0.50);
    line-height: 1.65;
    margin: 0;
}

/* ── 10. NAV ACTIVE ─────────────────────────────────────────────────────────── */
.nexart-nav-link--active { color: var(--nx-text) !important; }

/* ── 11. RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 1280px) {
    .nexart-sp-layout { grid-template-columns: 210px 1fr; gap: 24px; }
    .nexart-product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .nexart-sp-hero-content { width: 100%; max-width: 100%; padding: 80px 28px 60px; }
    .nexart-sp-hero-fade {
        background: linear-gradient(180deg, rgba(4,4,4,0.90) 0%, rgba(4,4,4,0.78) 50%, rgba(4,4,4,0.88) 100%);
    }

    .nexart-sp-layout { grid-template-columns: 1fr; gap: 20px; }

    .nexart-sp-filters { position: static; }
    .nexart-sp-filters-toggle { display: flex; }
    .nexart-sp-filters-body { display: none; }
    .nexart-sp-filters-body.is-open { display: block; }

    .nexart-product-grid { grid-template-columns: repeat(3, 1fr); }
    .nexart-sp-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 768px) {
    .nexart-sp-hero-content { padding: 64px 20px 48px; }
    .nexart-sp-hero-title { font-size: clamp(34px, 9vw, 50px); }
    .nexart-sp-hero-cta { flex-direction: column; }
    .nexart-sp-hero-cta .nexart-btn { width: 100%; justify-content: center; }

    .nexart-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .nexart-product-image { height: 180px; }

    .nexart-sp-grid-hdr { flex-direction: column; align-items: flex-start; gap: 10px; }
    .nexart-sp-benefits-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
    .nexart-product-grid { grid-template-columns: 1fr; }
}

/* ── 12. WOOCOMMERCE PRICE INTEGRATION ──────────────────────────────────────
   Normalises WC price HTML inside NexArt product cards so it matches the
   same visual weight as the static price elements.
   ──────────────────────────────────────────────────────────────────────────── */
.nexart-wc-price .woocommerce-Price-amount,
.nexart-wc-price .woocommerce-Price-amount bdi {
    font-size: 20px;
    font-weight: 800;
    color: var(--nx-gold);
    letter-spacing: -0.02em;
    line-height: 1;
    font-family: var(--nx-font);
}

.nexart-wc-price .woocommerce-Price-currencySymbol {
    font-size: 14px;
    font-weight: 700;
    vertical-align: middle;
}

/* Sale price: show strikethrough original + highlighted new price */
.nexart-wc-price del {
    opacity: 1;
    margin-right: 6px;
    text-decoration: none;
    display: inline;
}

.nexart-wc-price del .woocommerce-Price-amount,
.nexart-wc-price del .woocommerce-Price-amount bdi {
    font-size: 13px;
    font-weight: 500;
    color: rgba(245,245,245,0.35);
    text-decoration: line-through;
}

.nexart-wc-price ins {
    text-decoration: none;
    display: inline;
}

/* WC adds a hidden "From:" label — keep it hidden */
.nexart-wc-price .woocommerce-Price-from { display: none; }

/* Suppress WC's default product-price wrapper margin */
.nexart-product-price-row p.price,
.nexart-product-price-row span.price { margin: 0; }

/* ── 13. ADD TO CART AJAX FEEDBACK ─────────────────────────────────────────
   WC adds .loading and .added classes to .ajax_add_to_cart buttons.
   ──────────────────────────────────────────────────────────────────────────── */
.nexart-product-cta.loading {
    opacity: 0.65;
    pointer-events: none;
    cursor: not-allowed;
}

.nexart-product-cta.added {
    background: rgba(217,164,65,0.14);
    border-color: var(--nx-gold);
    color: var(--nx-gold) !important;
}

.nexart-product-cta.added::after {
    content: ' \2713';
    font-weight: 700;
}

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

.nexart-sp img {
    max-width: 100%;
}

.nexart-sp-tab,
.nexart-sp-filters-toggle,
.nexart-sp-clear-btn,
.nexart-sp-sort-select,
.nexart-product-cta,
.nexart-sp-pagination a,
.nexart-sp-pagination span {
    min-height: 44px;
}

@media (max-width: 768px) {
    .nexart-sp-hero {
        min-height: 360px;
    }

    .nexart-sp-tabs-wrap {
        top: var(--nx-header-h);
    }

    .nexart-sp-tabs-inner {
        min-height: 54px;
        padding: 7px 0;
        scroll-padding-inline: 16px;
    }

    .nexart-sp-tab {
        padding: 10px 15px;
    }

    .nexart-sp-main {
        padding-top: 18px;
        padding-bottom: 60px;
    }

    .nexart-sp-grid-wrap {
        padding: 14px;
        border-radius: 8px;
    }

    .nexart-sp-filters-toggle {
        position: sticky;
        top: calc(var(--nx-header-h) + 54px);
        z-index: 50;
        border: 1px solid var(--nx-border);
    }

    .nexart-sp-filter-item,
    .nexart-sp-filter-item > a {
        min-height: 38px;
    }

    .nexart-sp-grid-hdr {
        align-items: stretch;
    }

    .nexart-sp-sort {
        width: 100%;
        justify-content: space-between;
    }

    .nexart-sp-sort-form,
    .nexart-sp-sort-select {
        width: 100%;
    }

    .nexart-product-card:hover {
        transform: none;
        box-shadow: none;
    }

}

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

    .nexart-product-image {
        height: auto;
        aspect-ratio: 4 / 3;
    }

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

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

    .nexart-product-price,
    .nexart-wc-price .woocommerce-Price-amount,
    .nexart-wc-price .woocommerce-Price-amount bdi {
        font-size: 16px;
    }

    .nexart-product-cta {
        padding: 10px 8px;
        font-size: 10.5px;
        letter-spacing: 0.03em;
    }
}

@media (max-width: 389px) {
    .nexart-product-grid {
        grid-template-columns: 1fr;
    }

    .nexart-product-image {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

/* =============================================================================
   CRO Sprint 2 — Card enhancements, mobile sheets, load more
   ============================================================================= */

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

/* "New" badge top-right (auto for products < 30 days) */
.nexart-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;
}

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

/* Mobile sticky bar (Filter / Sort) */
.nexart-sp-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    height: 56px;
    background: rgba(8, 8, 8, 0.97);
    border-top: 1px solid var(--nx-border-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.nexart-sp-mobile-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--nx-text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 0;
}
.nexart-sp-mobile-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nexart-sp-mobile-sep {
    width: 1px;
    align-self: stretch;
    background: var(--nx-border-md);
}
.nexart-sp-mobile-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--nx-text-dim);
    color: var(--nx-bg);
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    line-height: 1;
}
.nexart-sp-mobile-count.is-active { background: var(--nx-gold); color: #000; }

@media (max-width: 768px) {
    .nexart-sp-mobile-bar { display: flex; }
    body.nexart-shop-active .nexart-sp-main { padding-bottom: 72px; }
}

/* Sheet (modal) pattern — sort options */
.nexart-sp-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.nexart-sp-sheet-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nexart-sp-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 70;
    max-height: 80vh;
    background: var(--nx-bg-card);
    border-top: 1px solid var(--nx-border-md);
    border-top-left-radius: var(--nx-radius-lg);
    border-top-right-radius: var(--nx-radius-lg);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform 0.28s ease, opacity 0.22s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.nexart-sp-sheet.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.nexart-sp-sheet-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.nexart-sp-sheet-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 12px;
    border-bottom: 1px solid var(--nx-border);
}
.nexart-sp-sheet-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--nx-text);
    letter-spacing: -0.01em;
}
.nexart-sp-sheet-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--nx-border-md);
    border-radius: 50%;
    color: var(--nx-text);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: border-color var(--nx-transition), color var(--nx-transition);
}
.nexart-sp-sheet-close:hover { border-color: var(--nx-gold); color: var(--nx-gold); }
.nexart-sp-sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--nx-border-md) transparent;
}
.nexart-sp-sheet-apply {
    width: calc(100% - 40px);
    margin: 12px 20px 18px;
    height: 48px;
    background: var(--nx-gold);
    color: #000;
    border: none;
    border-radius: var(--nx-radius);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background var(--nx-transition);
}
.nexart-sp-sheet-apply:hover { background: var(--nx-gold-light); }

/* Sort options list */
.nexart-sp-sort-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nexart-sp-sort-list li { margin: 0; padding: 0; }
.nexart-sp-sort-option {
    width: 100%;
    text-align: left;
    padding: 14px 6px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--nx-border);
    color: var(--nx-text-soft);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color var(--nx-transition);
}
.nexart-sp-sort-option:hover { color: var(--nx-text); }
.nexart-sp-sort-option.is-active {
    color: var(--nx-gold);
    font-weight: 700;
}
.nexart-sp-sort-list li:last-child .nexart-sp-sort-option { border-bottom: none; }

/* Mobile filter sidebar transformation */
@media (max-width: 768px) {
    .nexart-sp-filters {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        z-index: 70;
        max-height: 85vh;
        background: var(--nx-bg-card);
        border: 1px solid var(--nx-border-md);
        border-top-left-radius: var(--nx-radius-lg);
        border-top-right-radius: var(--nx-radius-lg);
        transform: translateY(100%);
        transition: transform 0.28s ease;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .nexart-sp-filters.is-sheet-open {
        transform: translateY(0);
    }
    .nexart-sp-filters-toggle { display: none; }
    .nexart-sp-sheet-close#nexart-sp-filters-sheet-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 2;
    }
    .nexart-sp-filters-body {
        flex: 1;
        overflow-y: auto;
        padding: 22px 20px 16px;
    }
    .nexart-sp-sheet-apply#nexart-sp-filters-apply {
        width: calc(100% - 40px);
        margin: 0 20px 18px;
    }
}

@media (min-width: 769px) {
    .nexart-sp-sheet-close#nexart-sp-filters-sheet-close { display: none; }
    .nexart-sp-sheet-apply#nexart-sp-filters-apply { display: none; }
}

/* Load more button */
.nexart-sp-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}
#nexart-sp-load-more {
    min-width: 220px;
    height: 50px;
    padding: 0 28px;
    background: transparent;
    color: var(--nx-text);
    border: 1px solid var(--nx-border-bright);
    border-radius: var(--nx-radius);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: border-color var(--nx-transition), color var(--nx-transition),
                background var(--nx-transition);
}
#nexart-sp-load-more:hover {
    border-color: var(--nx-gold);
    color: var(--nx-gold);
    background: rgba(217, 164, 65, 0.06);
}
#nexart-sp-load-more.is-loading { opacity: 0.6; pointer-events: none; }

.nexart-sp-load-more-label { display: inline-block; }
.nexart-sp-load-more-spinner {
    display: none;
    width: 14px;
    height: 14px;
    margin-left: 10px;
    vertical-align: middle;
    border: 2px solid rgba(217, 164, 65, 0.25);
    border-top-color: var(--nx-gold);
    border-radius: 50%;
    animation: nxLoadMoreSpin 0.7s linear infinite;
}
#nexart-sp-load-more.is-loading .nexart-sp-load-more-spinner { display: inline-block; }
@keyframes nxLoadMoreSpin { to { transform: rotate(360deg); } }
