/* =============================================================================
   NexArt Collections Page — nexart-collections.css
   Scope : body.nexart-collections-active  +  .nexart-cp
   Variables héritées de nexart.css (:root)
   ============================================================================= */

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

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

/* ── 3. HERO — plein-écran full-bleed ────────────────────────────────────────── */
.nexart-cp-hero {
    position: relative;
    min-height: 80vh;
    background: var(--nx-bg-deep);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Ligne dorée en haut */
.nexart-cp-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;
}

/* ── Hero gauche : texte ── */
.nexart-cp-hero-left {
    position: relative;
    z-index: 2;
    width: 55%;
    max-width: 760px;
    padding: 100px 56px 100px 80px;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

/* Glow subtil doré bas-gauche */
.nexart-cp-hero-left::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(217,164,65,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.nexart-cp-hero-text {
    max-width: 520px;
    width: 100%;
}

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

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

/* Titre */
.nexart-cp-hero-title {
    font-size: clamp(42px, 4.8vw, 72px);
    font-weight: 900;
    color: var(--nx-text);
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin: 0 0 22px;
}

/* Description */
.nexart-cp-hero-desc {
    font-size: 17px;
    color: var(--nx-text-soft);
    line-height: 1.72;
    margin: 0 0 38px;
}

/* CTAs */
.nexart-cp-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* Trust mini row */
.nexart-cp-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding-top: 28px;
    border-top: 1px solid var(--nx-border);
}

.nexart-cp-trust-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--nx-text-mid);
    line-height: 1;
}

.nexart-cp-trust-pill strong {
    color: rgba(245,245,245,0.75);
    font-weight: 600;
}

.nexart-cp-trust-pill-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--nx-gold);
    flex-shrink: 0;
}

/* ── Hero droite : image plein-écran (background) ── */
.nexart-cp-hero-right {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Image principale — plein-hauteur, object-fit: cover */
.nexart-cp-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Fallback CSS si image manquante */
.nexart-cp-hero-img-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(22,60,32,0.8) 0%, transparent 60%),
        linear-gradient(160deg, #051a0d 0%, #0a2e1a 30%, #183a20 55%, #041210 80%, #010606 100%);
}

/* Fondu gauche — texte lisible sur image plein-écran */
.nexart-cp-hero-img-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4,4,4,0.97) 0%,
            rgba(4,4,4,0.90) 28%,
            rgba(4,4,4,0.65) 50%,
            rgba(4,4,4,0.25) 72%,
            transparent 100%
        ),
        linear-gradient(
            to top,
            rgba(4,4,4,0.70) 0%,
            transparent 35%
        );
    z-index: 1;
}

/* ── 4. FILTRE / TABS ─────────────────────────────────────────────────────────── */
.nexart-cp-filter-wrap {
    background: rgba(10,10,10,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-cp-filter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 58px;
}

.nexart-cp-tabs {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
    flex: 1;
}

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

.nexart-cp-tab {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    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;
}

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

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

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

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

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

.nexart-cp-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: 138px;
    height: auto !important;
    min-height: 36px;
    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-cp-sort-select:hover { border-color: var(--nx-border-bright); }
.nexart-cp-sort-select:focus { border-color: var(--nx-gold); }
.nexart-cp-sort-select option { background: var(--nx-bg-card); }

/* ── 5. GRILLE PRINCIPALE ─────────────────────────────────────────────────────── */
.nexart-cp-grid-section {
    padding: 72px 0 80px;
    background: var(--nx-bg);
}

.nexart-cp-grid-hdr {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.nexart-cp-count {
    font-size: 12px;
    font-weight: 500;
    color: var(--nx-text-dim);
    letter-spacing: 0.04em;
    flex-shrink: 0;
    padding-bottom: 6px;
    transition: color var(--nx-transition);
}

.nexart-cp-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

/* ── Card ── */
.nexart-cp-card {
    position: relative;
    background: var(--nx-bg-card);
    border-radius: var(--nx-radius-lg);
    overflow: hidden;
    border: 1px solid var(--nx-border);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
    cursor: pointer;
}

.nexart-cp-card:hover {
    transform: translateY(-7px);
    border-color: var(--nx-border-gold);
    box-shadow: 0 24px 64px rgba(0,0,0,0.65), 0 4px 20px var(--nx-gold-glow);
}

/* Zone image */
.nexart-cp-card-img {
    position: relative;
    height: 190px;
    overflow: hidden;
    flex-shrink: 0;
}

/* Image réelle — object-fit: cover, zoom au hover */
.nexart-cp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.nexart-cp-card:hover .nexart-cp-card-img img {
    transform: scale(1.04);
}

/* Placeholder CSS gradient (fallback si image absente) */
.nexart-cp-card-img-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.45s ease;
}

.nexart-cp-card:hover .nexart-cp-card-img-bg {
    transform: scale(1.04);
}

.nexart-cp-card-img-bg[data-category="landscapes"] {
    background: radial-gradient(ellipse at 50% 40%, rgba(22,60,32,0.9) 0%, transparent 70%),
                linear-gradient(160deg, #051a0d 0%, #0c301c 30%, #183a20 55%, #041210 80%, #010606 100%);
}
.nexart-cp-card-img-bg[data-category="automotive"] {
    background: radial-gradient(ellipse at 50% 35%, rgba(18,18,28,0.95) 0%, transparent 70%),
                linear-gradient(160deg, #08080e 0%, #141420 30%, #101830 55%, #080810 80%, #030308 100%);
}
.nexart-cp-card-img-bg[data-category="abstract"] {
    background: radial-gradient(ellipse at 50% 40%, rgba(50,12,100,0.9) 0%, transparent 70%),
                linear-gradient(160deg, #12063a 0%, #1e0850 30%, #2c0c60 55%, #160640 80%, #080218 100%);
}
.nexart-cp-card-img-bg[data-category="space"] {
    background: radial-gradient(ellipse at 40% 30%, rgba(10,14,50,0.95) 0%, transparent 70%),
                linear-gradient(160deg, #010208 0%, #02040e 30%, #04061a 55%, #010208 80%, #010103 100%);
}
.nexart-cp-card-img-bg[data-category="cityscapes"] {
    background: radial-gradient(ellipse at 50% 60%, rgba(48,22,6,0.95) 0%, transparent 70%),
                linear-gradient(160deg, #180a02 0%, #281408 30%, #321808 55%, #1c0c04 80%, #0a0402 100%);
}
.nexart-cp-card-img-bg[data-category="blackmaps"] {
    background: radial-gradient(ellipse at 50% 45%, rgba(30,30,30,0.95) 0%, transparent 70%),
                linear-gradient(160deg, #0c0c0c 0%, #181818 30%, #222222 55%, #141414 80%, #060606 100%);
}

/* Overlay sombre sur l'image */
.nexart-cp-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(0,0,0,0.0) 40%,
        rgba(0,0,0,0.55) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Badge catégorie — chip top-left */
.nexart-cp-card-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nx-gold);
    background: rgba(4,4,4,0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 11px;
    border-radius: 100px;
    border: 1px solid rgba(217,164,65,0.22);
}

/* Badge count — chip top-right */
.nexart-cp-card-count-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(245,245,245,0.55);
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 11px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* Corps de la card */
.nexart-cp-card-body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.nexart-cp-card-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--nx-text);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

.nexart-cp-card-desc {
    font-size: 11px;
    color: rgba(245,245,245,0.50);
    line-height: 1.60;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nexart-cp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--nx-border);
}

.nexart-cp-card-count-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--nx-text-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nexart-cp-card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--nx-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-text-muted);
    transition: all 0.22s ease;
    flex-shrink: 0;
}

.nexart-cp-card-arrow svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nexart-cp-card:hover .nexart-cp-card-arrow {
    background: var(--nx-gold);
    border-color: var(--nx-gold);
    color: #000;
    transform: translateX(3px);
}

/* Filtre JS : card masquée */
.nexart-cp-card.is-hidden { display: none; }

/* ── 6. MOST LOVED ────────────────────────────────────────────────────────────── */
.nexart-cp-loved {
    padding: 80px 0 88px;
    background: var(--nx-bg-2);
    border-top: 1px solid var(--nx-border);
}

.nexart-cp-loved-hdr {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 20px;
}

.nexart-cp-view-all {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nx-gold) !important;
    text-decoration: none !important;
    transition: color var(--nx-transition);
    white-space: nowrap;
    flex-shrink: 0;
    padding-bottom: 6px;
}

.nexart-cp-view-all:hover { color: var(--nx-gold-light) !important; }

/* Grille 6 mini cartes */
.nexart-cp-loved-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nexart-cp-loved-grid::-webkit-scrollbar { display: none; }

/* Mini card */
.nexart-cp-mini-card {
    position: relative;
    background: var(--nx-bg-card);
    border-radius: var(--nx-radius-lg);
    overflow: hidden;
    border: 1px solid var(--nx-border);
    text-decoration: none !important;
    aspect-ratio: 3 / 4;
    display: block;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.nexart-cp-mini-card:hover {
    transform: translateY(-5px);
    border-color: var(--nx-border-gold);
    box-shadow: 0 16px 48px rgba(0,0,0,0.55), 0 2px 14px var(--nx-gold-glow);
}

/* Image réelle — position absolute, full cover */
.nexart-cp-mini-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.nexart-cp-mini-card:hover .nexart-cp-mini-img {
    transform: scale(1.06);
}

/* Placeholder CSS gradient fallback */
.nexart-cp-mini-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.4s ease;
}

.nexart-cp-mini-card:hover .nexart-cp-mini-bg { transform: scale(1.06); }

.nexart-cp-mini-bg[data-category="space"]      { background: linear-gradient(160deg, #010208 0%, #03040e 50%, #010103 100%); }
.nexart-cp-mini-bg[data-category="landscapes"] { background: linear-gradient(160deg, #051a0d 0%, #0c2e1a 50%, #010606 100%); }
.nexart-cp-mini-bg[data-category="automotive"] { background: linear-gradient(160deg, #080810 0%, #14142a 50%, #030308 100%); }
.nexart-cp-mini-bg[data-category="abstract"]   { background: linear-gradient(160deg, #12063a 0%, #200852 50%, #080220 100%); }
.nexart-cp-mini-bg[data-category="cityscapes"] { background: linear-gradient(160deg, #180a02 0%, #2a1408 50%, #080402 100%); }
.nexart-cp-mini-bg[data-category="blackmaps"]  { background: linear-gradient(160deg, #0c0c0c 0%, #1a1a1a 50%, #060606 100%); }

/* Overlay gradient bas */
.nexart-cp-mini-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 45%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Info texte */
.nexart-cp-mini-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 12px 14px 15px;
}

.nexart-cp-mini-title {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--nx-text);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 3px;
}

.nexart-cp-mini-count {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--nx-text-mid);
    letter-spacing: 0.05em;
}

/* ── 7. BENEFITS STRIP ────────────────────────────────────────────────────────── */
.nexart-cp-benefits-section {
    padding: 88px 0;
    background: var(--nx-bg);
    border-top: 1px solid var(--nx-border);
}

.nexart-cp-benefits-hdr {
    text-align: center;
    margin-bottom: 56px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

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

.nexart-cp-benefit {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nexart-cp-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;
    transition: background var(--nx-transition), box-shadow var(--nx-transition);
}

.nexart-cp-benefit:hover .nexart-cp-benefit-icon {
    background: rgba(217,164,65,0.13);
    box-shadow: 0 4px 20px var(--nx-gold-glow);
}

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

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

.nexart-cp-benefit-desc {
    font-size: 13.5px;
    color: rgba(245,245,245,0.52);
    line-height: 1.68;
    margin: 0;
}

/* ── 8. TRUST STRIP ───────────────────────────────────────────────────────────── */
.nexart-cp-trust-section {
    padding: 28px 0;
    background: var(--nx-bg-card);
    border-top: 1px solid var(--nx-border);
    border-bottom: 1px solid var(--nx-border);
}

.nexart-cp-trust-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.nexart-cp-trust-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 28px;
    border-right: 1px solid var(--nx-border);
    flex-shrink: 0;
}

.nexart-cp-trust-item:last-child { border-right: none; }

.nexart-cp-trust-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(245,245,245,0.55);
}

.nexart-cp-trust-icon.is-gold { color: var(--nx-gold); }

.nexart-cp-trust-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nexart-cp-trust-icon.is-gold svg { fill: currentColor; stroke: none; }

.nexart-cp-trust-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nexart-cp-trust-item-text strong {
    font-size: 12px;
    font-weight: 700;
    color: var(--nx-text);
    letter-spacing: 0.01em;
    display: block;
}

.nexart-cp-trust-item-text span {
    font-size: 10px;
    color: var(--nx-text-dim);
    letter-spacing: 0.04em;
    display: block;
}

/* ── 9. TAB ICONS ─────────────────────────────────────────────────────────────── */
.nexart-cp-tab svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    margin-right: 5px;
}
.nexart-cp-tab.is-active svg { stroke: #000; }

/* ── 10. MINI CARD HEART ──────────────────────────────────────────────────────── */
.nexart-cp-mini-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,0.42);
    border: 1px solid rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    color: rgba(255,255,255,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0;
    line-height: 1;
}
.nexart-cp-mini-heart:hover {
    background: rgba(217,164,65,0.18);
    border-color: var(--nx-border-gold);
    color: var(--nx-gold);
}
.nexart-cp-mini-heart svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

/* ── 11. CAROUSEL MOST LOVED ─────────────────────────────────────────────────── */
.nexart-cp-loved-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nexart-cp-loved-wrap .nexart-cp-loved-grid {
    flex: 1;
    overflow: hidden;
}
.nexart-cp-loved-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--nx-border-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--nx-text-muted);
    flex-shrink: 0;
}
.nexart-cp-loved-nav:hover {
    background: rgba(217,164,65,0.12);
    border-color: var(--nx-border-gold);
    color: var(--nx-gold);
}
.nexart-cp-loved-nav svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

/* ── 10. RESPONSIVE ───────────────────────────────────────────────────────────── */

/* 1200px */
@media (max-width: 1200px) {
    .nexart-cp-hero-left { padding: 80px 48px 60px; }
    .nexart-cp-loved-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 1024px */
@media (max-width: 1024px) {

    /* Hero : texte pleine largeur (l'image reste en absolute background) */
    .nexart-cp-hero-left {
        width: 100%;
        max-width: 100%;
        padding: 80px 28px 60px;
        min-height: 85vh;
    }

    .nexart-cp-hero-img-fade {
        background:
            linear-gradient(180deg,
                rgba(4,4,4,0.88) 0%,
                rgba(4,4,4,0.75) 50%,
                rgba(4,4,4,0.85) 100%
            );
    }

    .nexart-cp-hero-left::after { display: none; }
    .nexart-cp-hero-text { max-width: 580px; }

    .nexart-cp-grid { grid-template-columns: repeat(3, 1fr); }
    .nexart-cp-loved-grid { grid-template-columns: repeat(3, 1fr); }
    .nexart-cp-loved-nav { display: none; }
    .nexart-cp-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .nexart-cp-trust-item { padding: 10px 18px; }
}

/* 768px */
@media (max-width: 768px) {

    .nexart-cp-hero-left { padding: 64px 20px 48px; }

    .nexart-cp-hero-title { font-size: clamp(36px, 10vw, 52px); }

    .nexart-cp-hero-cta { flex-direction: column; }
    .nexart-cp-hero-cta .nexart-btn { width: 100%; justify-content: center; }

    .nexart-cp-filter-inner {
        flex-wrap: wrap;
        padding-top: 6px;
        padding-bottom: 6px;
        min-height: auto;
        gap: 8px;
    }

    .nexart-cp-sort { width: 100%; padding-bottom: 4px; }

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

    .nexart-cp-grid-hdr { flex-direction: column; align-items: flex-start; }
    .nexart-cp-loved-hdr { flex-direction: column; align-items: flex-start; gap: 10px; }

    .nexart-cp-loved-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .nexart-cp-benefits-grid { grid-template-columns: 1fr; gap: 32px; }
    .nexart-cp-benefits-hdr { text-align: left; max-width: 100%; }

    .nexart-cp-trust-grid { justify-content: flex-start; }
    .nexart-cp-trust-item {
        border-right: none;
        border-bottom: 1px solid var(--nx-border);
        width: 50%;
        padding: 12px 16px;
    }
    .nexart-cp-trust-item:nth-child(odd) { border-right: 1px solid var(--nx-border); }
    .nexart-cp-trust-item:last-child { border-bottom: none; }
}

/* 480px */
@media (max-width: 480px) {

    .nexart-cp-hero-left { padding: 56px 16px 40px; }

    .nexart-cp-hero-trust { flex-direction: column; gap: 12px; }

    .nexart-cp-loved-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .nexart-cp-card-img { height: 220px; }

    .nexart-cp-trust-item { width: 100%; border-right: none; }
    .nexart-cp-trust-item:nth-child(odd) { border-right: none; }
    .nexart-cp-trust-item:last-child { border-bottom: none; }
}
