:root {
    --np-blue: #071c34;
    --np-gold: #d99a27;
    --np-white: #ffffff;
    --np-bg: #f5f7fb;
    --np-text: #111827;
    --np-muted: #6b7280;
    --np-green: #16a34a;
    --np-red: #dc2626;
    --np-radius: 24px;
    --np-shadow: 0 22px 55px rgba(7, 28, 52, 0.15);
    --np-shadow-soft: 0 14px 35px rgba(7, 28, 52, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--np-bg);
    color: var(--np-text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.np-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.np-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(7, 28, 52, 0.08);
}

.np-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.np-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--np-blue);
    font-size: 1.2rem;
}

.np-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.np-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 700;
    color: var(--np-blue);
}

.np-nav a {
    opacity: 0.9;
    transition: 0.25s ease;
}

.np-nav a:hover {
    color: var(--np-gold);
    transform: translateY(-2px);
}

.np-nav-login {
    padding: 10px 16px;
    border: 1px solid rgba(7, 28, 52, 0.12);
    border-radius: 999px;
}

.np-nav-cta {
    padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--np-gold), #f4c765);
    color: var(--np-blue);
    box-shadow: 0 10px 24px rgba(217, 154, 39, 0.30);
}

.np-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(217,154,39,0.22), transparent 35%),
        linear-gradient(135deg, #071c34, #0b2b4d);
    color: var(--np-white);
}

.np-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

.np-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    margin-bottom: 22px;
    font-weight: 700;
    color: #ffe6ae;
}

.np-hero h1 {
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.np-hero h1 span {
    color: var(--np-gold);
}

.np-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.82);
    max-width: 650px;
    margin-bottom: 32px;
}

.np-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.np-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
}

.np-btn:hover {
    transform: translateY(-3px);
}

.np-btn-gold {
    background: linear-gradient(135deg, var(--np-gold), #f4c765);
    color: var(--np-blue);
    box-shadow: 0 16px 35px rgba(217,154,39,0.35);
}

.np-btn-white {
    background: rgba(255,255,255,0.12);
    color: var(--np-white);
    border: 1px solid rgba(255,255,255,0.18);
}

.np-hero-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 34px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.20);
    backdrop-filter: blur(18px);
}

.np-hero-logo {
    width: 230px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 24px 35px rgba(0,0,0,0.28));
    animation: heroFloat 3s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.np-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.np-stat {
    background: rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 18px;
    text-align: center;
}

.np-stat strong {
    display: block;
    color: var(--np-gold);
    font-size: 1.3rem;
}

.np-section {
    padding: 80px 0;
}

.np-section-title {
    text-align: center;
    margin-bottom: 44px;
}

.np-section-title span {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(217,154,39,0.14);
    color: var(--np-gold);
    font-weight: 900;
    margin-bottom: 14px;
}

.np-section-title h2 {
    color: var(--np-blue);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.np-section-title p {
    color: var(--np-muted);
    max-width: 720px;
    margin: 14px auto 0;
}

.np-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.np-feature {
    background: var(--np-white);
    border-radius: var(--np-radius);
    padding: 28px;
    box-shadow: var(--np-shadow-soft);
    border: 1px solid rgba(7,28,52,0.06);
    transition: 0.25s ease;
}

.np-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--np-shadow);
}

.np-feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--np-blue), #0c355f);
    color: var(--np-gold);
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.np-feature h3 {
    color: var(--np-blue);
    margin-bottom: 10px;
}

.np-feature p {
    color: var(--np-muted);
}

.np-cta {
    padding: 70px 0;
}

.np-cta-box {
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.26), transparent 32%),
        linear-gradient(135deg, var(--np-blue), #0b2b4d);
    color: white;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    box-shadow: var(--np-shadow);
}

.np-cta-box h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 12px;
}

.np-cta-box p {
    color: rgba(255,255,255,0.78);
}

.np-footer {
    background: #06182d;
    color: white;
    padding: 32px 0;
}

.np-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.np-footer p {
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

.np-footer-links {
    display: flex;
    gap: 18px;
    color: rgba(255,255,255,0.75);
}

.np-footer-links a:hover {
    color: var(--np-gold);
}

@media(max-width:900px) {
    .np-header-inner {
        flex-direction: column;
        padding: 14px 0;
    }

    .np-nav {
        overflow-x: auto;
        width: 100%;
        padding-bottom: 6px;
        justify-content: flex-start;
    }

    .np-hero-grid {
        grid-template-columns: 1fr;
    }

    .np-features {
        grid-template-columns: 1fr;
    }

    .np-cta-box {
        grid-template-columns: 1fr;
    }

    .np-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media(max-width:600px) {
    .np-hero {
        padding: 55px 0 50px;
    }

    .np-nav {
        gap: 12px;
        font-size: 0.9rem;
    }

    .np-nav-cta,
    .np-nav-login {
        padding: 9px 13px;
        white-space: nowrap;
    }

    .np-stat-grid {
        grid-template-columns: 1fr;
    }

    .np-cta-box {
        padding: 30px;
    }
}

.np-auth-section {
    min-height: calc(100vh - 160px);
    padding: 70px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(217,154,39,0.18), transparent 35%),
        linear-gradient(135deg, #f5f7fb, #ffffff);
}

.np-auth-card {
    width: min(520px, 100%);
    background: #ffffff;
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 25px 70px rgba(7, 28, 52, 0.14);
    border: 1px solid rgba(7, 28, 52, 0.08);
}

.np-auth-head {
    text-align: center;
    margin-bottom: 24px;
}

.np-auth-head h1 {
    color: var(--np-blue);
    font-size: 2rem;
    line-height: 1.1;
}

.np-auth-head p {
    color: var(--np-muted);
    margin-top: 8px;
}

.np-form {
    display: grid;
    gap: 12px;
}

.np-form label {
    font-weight: 800;
    color: var(--np-blue);
    font-size: 0.94rem;
}

.np-form input,
.np-form select,
.np-form textarea {
    width: 100%;
    border: 1px solid rgba(7, 28, 52, 0.13);
    background: #f9fafb;
    border-radius: 16px;
    padding: 13px 15px;
    outline: none;
    font-size: 1rem;
    transition: 0.2s ease;
}

.np-form input:focus,
.np-form select:focus,
.np-form textarea:focus {
    border-color: var(--np-gold);
    box-shadow: 0 0 0 4px rgba(217,154,39,0.16);
    background: #ffffff;
}

.np-btn-full {
    width: 100%;
    margin-top: 10px;
}

.np-auth-link {
    margin-top: 20px;
    text-align: center;
    color: var(--np-muted);
}

.np-auth-link a {
    color: var(--np-gold);
    font-weight: 900;
}

.np-alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

.np-alert-error {
    background: rgba(220,38,38,0.10);
    color: #991b1b;
    border: 1px solid rgba(220,38,38,0.18);
}

.np-alert-success {
    background: rgba(22,163,74,0.10);
    color: #166534;
    border: 1px solid rgba(22,163,74,0.18);
}

.np-dashboard-section {
    padding: 70px 0;
    min-height: calc(100vh - 160px);
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.14), transparent 32%),
        #f5f7fb;
}

.np-dashboard-head {
    background: linear-gradient(135deg, var(--np-blue), #0b2b4d);
    color: #ffffff;
    border-radius: 30px;
    padding: 34px;
    margin-bottom: 28px;
    box-shadow: var(--np-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.np-dashboard-head h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.1;
}

.np-dashboard-head p {
    color: rgba(255,255,255,0.78);
    margin-top: 8px;
}

.np-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.np-dashboard-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 22px;
}

.np-dashboard-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 26px;
    box-shadow: var(--np-shadow-soft);
    border: 1px solid rgba(7,28,52,0.06);
    transition: 0.25s ease;
}

.np-dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--np-shadow);
}

.np-dashboard-card h3 {
    color: var(--np-blue);
    margin-bottom: 10px;
}

.np-dashboard-card strong {
    display: block;
    color: var(--np-gold);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 12px;
}

.np-dashboard-card p {
    color: var(--np-muted);
}

.np-small-link {
    display: inline-flex;
    margin-top: 15px;
    color: var(--np-gold);
    font-weight: 900;
}

@media(max-width:900px) {
    .np-dashboard-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .np-dashboard-grid,
    .np-dashboard-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media(max-width:600px) {
    .np-auth-card {
        padding: 24px;
        border-radius: 24px;
    }

    .np-dashboard-head {
        padding: 26px;
    }
}

.np-empty-box {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--np-shadow-soft);
    border: 1px solid rgba(7,28,52,0.06);
}

.np-empty-box h2 {
    color: var(--np-blue);
    margin-bottom: 10px;
}

.np-empty-box p {
    color: var(--np-muted);
    max-width: 620px;
    margin: 0 auto 24px;
}

.np-wide-card {
    width: min(820px, 100%);
    margin: 0 auto;
}

.np-form-grid {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 16px;
}

.np-product-table-wrap {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: var(--np-shadow-soft);
    overflow-x: auto;
    border: 1px solid rgba(7,28,52,0.06);
}

.np-product-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

.np-product-table th,
.np-product-table td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid rgba(7,28,52,0.07);
    vertical-align: middle;
}

.np-product-table th {
    background: #f9fafb;
    color: var(--np-blue);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.np-product-table tbody tr:hover {
    background: rgba(217,154,39,0.05);
}

.np-product-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.np-product-mini-img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--np-blue), #0b2b4d);
    display: grid;
    place-items: center;
    color: var(--np-gold);
    font-weight: 900;
    flex: 0 0 56px;
}

.np-product-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.np-product-mini strong {
    display: block;
    color: var(--np-blue);
}

.np-product-mini small {
    display: block;
    color: var(--np-muted);
    margin-top: 3px;
}

.np-status {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
}

.np-status-active {
    background: rgba(22,163,74,0.12);
    color: #166534;
}

.np-status-wait {
    background: rgba(217,154,39,0.14);
    color: #92400e;
}

.np-status-danger {
    background: rgba(220,38,38,0.12);
    color: #991b1b;
}

@media(max-width:700px) {
    .np-form-grid {
        grid-template-columns: 1fr;
    }
}

.np-market-page {
    background: #f6f7fb;
    padding: 26px 0 80px;
    min-height: calc(100vh - 150px);
}

.np-market-mobile-top {
    display: none;
}

.np-market-kicker {
    color: var(--np-gold);
    font-weight: 900;
    font-size: 0.85rem;
}

.np-market-search {
    background: #ffffff;
    border: 1px solid rgba(7,28,52,0.08);
    border-radius: 18px;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 8px 18px;
    box-shadow: 0 12px 30px rgba(7,28,52,0.06);
    margin-bottom: 22px;
}

.np-market-search span {
    font-size: 1.25rem;
    opacity: 0.65;
}

.np-market-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: var(--np-blue);
}

.np-market-search button {
    border: none;
    border-radius: 14px;
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--np-gold), #f4c765);
    color: var(--np-blue);
    font-weight: 900;
    cursor: pointer;
}

.np-market-mobile-cats {
    display: none;
}

.np-market-banner {
    min-height: 190px;
    border-radius: 28px;
    background:
        radial-gradient(circle at right, rgba(217,154,39,0.28), transparent 34%),
        linear-gradient(135deg, rgba(217,154,39,0.12), rgba(7,28,52,0.08));
    border: 1px solid rgba(7,28,52,0.06);
    box-shadow: 0 18px 45px rgba(7,28,52,0.08);
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr 260px;
    align-items: center;
    overflow: hidden;
    margin-bottom: 28px;
}

.np-market-banner span {
    display: inline-flex;
    color: var(--np-blue);
    font-weight: 900;
    margin-bottom: 12px;
}

.np-market-banner h2 {
    max-width: 620px;
    font-size: clamp(1.7rem, 4vw, 3rem);
    line-height: 1.08;
    color: var(--np-blue);
    letter-spacing: -1px;
}

.np-market-banner h2::after {
    content: "";
    display: block;
    width: 74px;
    height: 5px;
    background: var(--np-gold);
    border-radius: 999px;
    margin-top: 16px;
}

.np-market-banner p {
    color: var(--np-muted);
    margin-top: 14px;
    max-width: 640px;
}

.np-market-banner-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-shield {
    width: 150px;
    height: 150px;
    border-radius: 40px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--np-blue), #0d345e);
    color: var(--np-gold);
    font-size: 4rem;
    font-weight: 900;
    box-shadow: 0 26px 55px rgba(7,28,52,0.24);
    transform: rotate(-8deg);
}

.np-market-layout {
    display: grid;
    grid-template-columns: 285px 1fr;
    gap: 26px;
    align-items: start;
}

.np-market-sidebar {
    position: sticky;
    top: 105px;
    display: grid;
    gap: 20px;
}

.np-market-side-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 22px;
    border: 1px solid rgba(7,28,52,0.07);
    box-shadow: 0 14px 35px rgba(7,28,52,0.07);
}

.np-market-side-card h3 {
    color: var(--np-blue);
    margin-bottom: 15px;
}

.np-market-cat {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 14px;
    color: #374151;
    font-weight: 800;
    transition: 0.22s ease;
}

.np-market-cat span {
    font-size: 1.05rem;
}

.np-market-cat small {
    min-width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(7,28,52,0.06);
    display: grid;
    place-items: center;
    color: var(--np-muted);
    font-size: 0.75rem;
}

.np-market-cat:hover,
.np-market-cat.active {
    background: rgba(217,154,39,0.14);
    color: var(--np-blue);
}

.np-market-cat.active span {
    color: var(--np-gold);
}

.np-market-benefit {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(7,28,52,0.06);
}

.np-market-benefit:last-child {
    border-bottom: none;
}

.np-market-benefit span {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(217,154,39,0.14);
}

.np-market-benefit strong {
    display: block;
    color: var(--np-blue);
    line-height: 1.2;
}

.np-market-benefit small {
    display: block;
    color: var(--np-muted);
    margin-top: 3px;
}

.np-market-vendor-box p {
    color: var(--np-muted);
    margin-bottom: 16px;
}

.np-market-main {
    min-width: 0;
}

.np-market-benefits-row {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
    border: 1px solid rgba(7,28,52,0.06);
    box-shadow: 0 14px 35px rgba(7,28,52,0.06);
}

.np-market-benefits-row > div {
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid rgba(7,28,52,0.07);
    padding-right: 12px;
}

.np-market-benefits-row > div:last-child {
    border-right: none;
}

.np-market-benefits-row span {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--np-blue), #0b2b4d);
    color: var(--np-gold);
    flex: 0 0 48px;
}

.np-market-benefits-row strong {
    display: block;
    color: var(--np-blue);
    line-height: 1.2;
    font-size: 0.95rem;
}

.np-market-benefits-row small {
    display: block;
    color: var(--np-muted);
    margin-top: 3px;
    font-size: 0.82rem;
}

.np-market-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.np-market-toolbar h2 {
    color: var(--np-blue);
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.np-market-toolbar p {
    color: var(--np-muted);
}

.np-market-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--np-muted);
    font-weight: 800;
}

.np-market-sort select {
    border: 1px solid rgba(7,28,52,0.10);
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 16px;
    color: var(--np-blue);
    outline: none;
    font-weight: 800;
}

.np-market-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.np-market-tabs a {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 22px;
    border-radius: 14px;
    border: 1px solid rgba(7,28,52,0.08);
    background: #ffffff;
    color: var(--np-blue);
    font-weight: 900;
    transition: 0.22s ease;
}

.np-market-tabs a:hover,
.np-market-tabs a.active {
    background: linear-gradient(135deg, var(--np-blue), #0b2b4d);
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(7,28,52,0.16);
}

.np-market-filter-note {
    background: rgba(217,154,39,0.12);
    border: 1px solid rgba(217,154,39,0.20);
    color: var(--np-blue);
    font-weight: 800;
    padding: 14px 18px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.np-market-filter-note a {
    color: var(--np-gold);
    font-weight: 900;
}

.np-market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.np-market-product {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(7,28,52,0.08);
    box-shadow: 0 14px 34px rgba(7,28,52,0.07);
    transition: 0.22s ease;
}

.np-market-product:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(7,28,52,0.14);
}

.np-market-product-img {
    height: 175px;
    display: block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--np-blue), #0b2b4d);
}

.np-market-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s ease;
}

.np-market-product:hover .np-market-product-img img {
    transform: scale(1.06);
}

.np-market-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.32), transparent 36%),
        linear-gradient(135deg, var(--np-blue), #0b2b4d);
}

.np-market-placeholder strong {
    color: var(--np-gold);
    font-size: 1.1rem;
}

.np-market-placeholder span {
    display: block;
    font-weight: 900;
    line-height: 1.2;
}

.np-market-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.90);
    color: var(--np-blue);
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.np-market-product-body {
    padding: 16px;
}

.np-market-tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(217,154,39,0.14);
    color: #92400e;
    font-size: 0.76rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.np-market-product h3 {
    color: var(--np-blue);
    font-size: 1rem;
    line-height: 1.32;
    margin-bottom: 8px;
    min-height: 42px;
}

.np-market-product h3 a:hover {
    color: var(--np-gold);
}

.np-market-product p {
    color: var(--np-muted);
    font-size: 0.88rem;
    line-height: 1.45;
    min-height: 54px;
}

.np-market-seller {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 13px 0 8px;
    color: var(--np-muted);
    font-size: 0.86rem;
}

.np-seller-avatar {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--np-blue), #0b2b4d);
    color: var(--np-gold);
    font-weight: 900;
    font-size: 0.78rem;
}

.np-market-seller strong {
    color: #374151;
}

.np-market-seller small {
    color: #0ea5e9;
    font-size: 0.7rem;
}

.np-market-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-weight: 900;
    font-size: 0.86rem;
    margin-bottom: 12px;
}

.np-market-rating small {
    color: var(--np-muted);
    font-weight: 700;
}

.np-market-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.np-market-bottom strong {
    color: var(--np-gold);
    font-size: 1rem;
    white-space: nowrap;
}

.np-market-bottom a {
    background: var(--np-blue);
    color: #ffffff;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 900;
    transition: 0.22s ease;
    white-space: nowrap;
}

.np-market-bottom a:hover {
    background: var(--np-gold);
    color: var(--np-blue);
}

@media(max-width:1200px) {
    .np-market-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .np-market-benefits-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .np-market-benefits-row > div {
        border-right: none;
    }
}

@media(max-width:980px) {
    .np-market-layout {
        grid-template-columns: 1fr;
    }

    .np-market-sidebar {
        display: none;
    }

    .np-market-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .np-market-banner {
        grid-template-columns: 1fr;
    }

    .np-market-banner-visual {
        display: none;
    }
}

@media(max-width:700px) {
    .np-market-page {
        padding-top: 18px;
        padding-bottom: 95px;
    }

    .np-market-mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
    }

    .np-market-mobile-top h1 {
        color: var(--np-blue);
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .np-market-sell-btn {
        background: linear-gradient(135deg, var(--np-gold), #f4c765);
        color: var(--np-blue);
        padding: 10px 16px;
        border-radius: 999px;
        font-weight: 900;
    }

    .np-market-search {
        border-radius: 16px;
        margin-bottom: 18px;
    }

    .np-market-search button {
        display: none;
    }

    .np-market-mobile-cats {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 14px;
        margin-bottom: 12px;
    }

    .np-market-mobile-cats a {
        min-width: 94px;
        display: grid;
        place-items: center;
        gap: 8px;
        color: var(--np-blue);
        font-weight: 900;
    }

    .np-market-mobile-cats a span {
        width: 66px;
        height: 66px;
        border-radius: 20px;
        display: grid;
        place-items: center;
        background: #ffffff;
        border: 1px solid rgba(7,28,52,0.08);
        box-shadow: 0 10px 24px rgba(7,28,52,0.06);
        font-size: 1.35rem;
    }

    .np-market-mobile-cats a.active span {
        background: linear-gradient(135deg, var(--np-blue), #0b2b4d);
        color: var(--np-gold);
    }

    .np-market-mobile-cats a strong {
        font-size: 0.8rem;
        max-width: 90px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .np-market-banner {
        min-height: auto;
        padding: 24px;
        border-radius: 24px;
    }

    .np-market-banner h2 {
        font-size: 1.65rem;
    }

    .np-market-banner p {
        font-size: 0.95rem;
    }

    .np-market-benefits-row {
        display: none;
    }

    .np-market-toolbar {
        margin-top: 26px;
        align-items: flex-start;
        flex-direction: column;
    }

    .np-market-sort {
        width: 100%;
        justify-content: space-between;
    }

    .np-market-sort select {
        flex: 1;
    }

    .np-market-tabs {
        display: none;
    }

    .np-market-grid {
        grid-template-columns: 1fr;
    }

    .np-market-product {
        display: grid;
        grid-template-columns: 130px 1fr;
        border-radius: 18px;
    }

    .np-market-product-img {
        height: 100%;
        min-height: 150px;
    }

    .np-market-product-body {
        padding: 14px;
    }

    .np-market-product h3 {
        min-height: auto;
        font-size: 0.98rem;
    }

    .np-market-product p {
        display: none;
    }

    .np-market-heart {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .np-market-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .np-market-bottom a {
        width: 100%;
        text-align: center;
    }
}

@media(max-width:430px) {
    .np-market-product {
        grid-template-columns: 120px 1fr;
    }

    .np-market-product-img {
        min-height: 145px;
    }

    .np-market-tag {
        font-size: 0.68rem;
    }

    .np-market-seller {
        font-size: 0.78rem;
    }

    .np-market-bottom strong {
        font-size: 0.92rem;
    }
}

.np-form-help {
    display: block;
    margin-top: -6px;
    margin-bottom: 8px;
    color: var(--np-muted);
    font-size: 0.86rem;
}

.np-product-create-page {
    background: #f6f7fb;
    min-height: calc(100vh - 140px);
    padding-bottom: 90px;
}

.np-product-create-top {
    background: #ffffff;
    border-bottom: 1px solid rgba(7,28,52,0.08);
}

.np-product-create-top-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 18px;
}

.np-back-link {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(7,28,52,0.06);
    color: var(--np-blue);
    font-size: 1.6rem;
    font-weight: 900;
    transition: 0.22s ease;
}

.np-back-link:hover {
    background: var(--np-blue);
    color: var(--np-gold);
}

.np-product-create-top h1 {
    color: var(--np-blue);
    font-size: 1.4rem;
    line-height: 1.1;
}

.np-product-create-top p {
    color: var(--np-muted);
    font-size: 0.92rem;
    margin-top: 3px;
}

.np-draft-btn {
    border: none;
    background: rgba(217,154,39,0.12);
    color: var(--np-blue);
    font-weight: 900;
    padding: 12px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.22s ease;
}

.np-draft-btn:hover {
    background: var(--np-gold);
    transform: translateY(-2px);
}

.np-product-steps-wrap {
    background: #ffffff;
    border-bottom: 1px solid rgba(7,28,52,0.08);
}

.np-product-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 112px;
}

.np-step {
    position: relative;
    display: grid;
    place-items: center;
    text-align: center;
    color: #9ca3af;
    font-weight: 800;
}

.np-step::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(7,28,52,0.08);
    z-index: 0;
}

.np-step:first-child::before {
    left: 50%;
}

.np-step:last-child::before {
    right: 50%;
}

.np-step span {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #eef0f5;
    color: #6b7280;
    margin-bottom: 8px;
}

.np-step strong {
    position: relative;
    z-index: 1;
    line-height: 1.25;
    font-size: 0.9rem;
}

.np-step.active {
    color: var(--np-blue);
}

.np-step.active span {
    background: linear-gradient(135deg, var(--np-blue), #0b2b4d);
    color: var(--np-gold);
    box-shadow: 0 12px 25px rgba(7,28,52,0.20);
}

.np-step.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 12%;
    right: 12%;
    height: 4px;
    background: var(--np-gold);
    border-radius: 999px 999px 0 0;
}

.np-create-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 34px;
    margin: 28px auto 0;
    width: min(920px, 100%);
    border: 1px solid rgba(7,28,52,0.08);
    box-shadow: 0 20px 60px rgba(7,28,52,0.08);
}

.np-create-form {
    display: grid;
    gap: 26px;
}

.np-create-block {
    display: grid;
    gap: 12px;
}

.np-create-block:not(:last-child) {
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(7,28,52,0.08);
}

.np-create-block-title {
    margin-bottom: 6px;
}

.np-create-block-title h2 {
    color: var(--np-blue);
    font-size: 1.45rem;
    line-height: 1.15;
}

.np-create-block-title p {
    color: var(--np-muted);
    margin-top: 4px;
}

.np-create-form label {
    color: var(--np-blue);
    font-weight: 900;
    margin-top: 8px;
}

.np-create-form input,
.np-create-form select,
.np-create-form textarea {
    width: 100%;
    border: 1px solid rgba(7,28,52,0.12);
    background: #ffffff;
    border-radius: 16px;
    padding: 15px 16px;
    outline: none;
    color: var(--np-blue);
    font-size: 1rem;
    transition: 0.22s ease;
}

.np-create-form textarea {
    resize: vertical;
}

.np-create-form input:focus,
.np-create-form select:focus,
.np-create-form textarea:focus {
    border-color: var(--np-gold);
    box-shadow: 0 0 0 4px rgba(217,154,39,0.14);
}

.np-field-hint {
    color: var(--np-muted);
    font-size: 0.9rem;
    margin-top: -6px;
}

.np-counter {
    color: var(--np-muted);
    font-size: 0.85rem;
    text-align: right;
    margin-top: -8px;
}

.np-editor-box {
    border: 1px solid rgba(7,28,52,0.12);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.np-editor-box textarea {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.np-editor-box textarea:focus {
    box-shadow: none;
}

.np-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(7,28,52,0.08);
    background: #fbfcff;
}

.np-editor-toolbar button {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--np-blue);
    font-weight: 900;
    cursor: pointer;
}

.np-editor-toolbar button:hover {
    background: rgba(217,154,39,0.14);
}

.np-upload-zone {
    display: block;
    cursor: pointer;
}

.np-upload-zone input[type="file"] {
    display: none;
}

.np-upload-preview {
    border: 2px dashed rgba(7,28,52,0.16);
    border-radius: 18px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.10), transparent 35%),
        #ffffff;
    transition: 0.22s ease;
}

.np-upload-preview:hover {
    border-color: var(--np-gold);
    background: rgba(217,154,39,0.06);
}

.np-upload-icon {
    color: var(--np-gold);
    font-size: 2.4rem;
}

.np-upload-preview strong {
    display: block;
    color: var(--np-blue);
    font-size: 1.05rem;
}

.np-upload-preview span {
    display: block;
    color: var(--np-muted);
    margin-top: 4px;
    font-size: 0.9rem;
}

.np-upload-preview.has-image {
    position: relative;
    min-height: 260px;
    padding: 0;
    overflow: hidden;
    border-style: solid;
}

.np-upload-preview.has-image img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.np-upload-change {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: rgba(255,255,255,0.92);
    color: var(--np-blue);
    font-weight: 900;
    padding: 9px 13px;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.16);
}

.np-create-grid {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 16px;
}

.np-create-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 10px;
}

.np-create-secondary,
.np-create-submit {
    min-height: 52px;
    border-radius: 16px;
    padding: 14px 22px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.22s ease;
}

.np-create-secondary {
    background: rgba(7,28,52,0.06);
    color: var(--np-blue);
}

.np-create-secondary:hover {
    background: rgba(7,28,52,0.12);
}

.np-create-submit {
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--np-blue), #0b2b4d);
    color: var(--np-gold);
    box-shadow: 0 14px 30px rgba(7,28,52,0.20);
}

.np-create-submit:hover {
    transform: translateY(-2px);
}

@media(max-width:760px) {
    .np-product-create-top-inner {
        grid-template-columns: 42px 1fr;
    }

    .np-draft-btn {
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .np-product-steps {
        overflow-x: auto;
        grid-template-columns: repeat(4, 150px);
    }

    .np-create-card {
        padding: 22px;
        border-radius: 24px;
    }

    .np-create-grid {
        grid-template-columns: 1fr;
    }

    .np-create-actions {
        flex-direction: column;
    }

    .np-create-secondary,
    .np-create-submit {
        width: 100%;
    }

    .np-upload-preview {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   CORRECTION HD IMAGES PRODUITS — NIMBAPAY MARKETPLACE
   Empêche le flou + empêche la coupure des images
========================================================= */

.np-market-product-img {
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.12), transparent 35%),
        #f8fafc;
    border-bottom: 1px solid rgba(7,28,52,0.06);
}

.np-market-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center;
    display: block;
    background: #ffffff;
    transform: none !important;
    image-rendering: auto;
}

.np-market-product:hover .np-market-product-img img {
    transform: none !important;
}

/* Placeholder sans image */
.np-market-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.32), transparent 36%),
        linear-gradient(135deg, var(--np-blue), #0b2b4d);
}

/* Desktop : cartes plus propres */
.np-market-product {
    overflow: hidden;
}

.np-market-grid {
    align-items: stretch;
}

/* Mobile : on garde la carte horizontale mais sans couper l’image */
@media(max-width:700px) {
    .np-market-product {
        display: grid;
        grid-template-columns: 135px 1fr;
        align-items: stretch;
    }

    .np-market-product-img {
        height: 100% !important;
        min-height: 155px;
        aspect-ratio: auto;
        background: #ffffff;
    }

    .np-market-product-img img {
        width: 100%;
        height: 100%;
        object-fit: contain !important;
        padding: 4px;
    }

    .np-market-placeholder {
        min-height: 155px;
    }
}

@media(max-width:430px) {
    .np-market-product {
        grid-template-columns: 125px 1fr;
    }

    .np-market-product-img {
        min-height: 150px;
    }

    .np-market-product-img img {
        padding: 3px;
    }
}

/* =========================================================
   DETAILS PRODUIT — NIMBAPAY
========================================================= */

.np-product-detail-page {
    background: #f6f7fb;
    padding: 32px 0 90px;
    min-height: calc(100vh - 150px);
}

.np-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    color: var(--np-muted);
    font-weight: 800;
    margin-bottom: 24px;
    font-size: 0.92rem;
}

.np-detail-breadcrumb a {
    color: var(--np-blue);
}

.np-detail-breadcrumb a:hover {
    color: var(--np-gold);
}

.np-detail-breadcrumb strong {
    color: var(--np-gold);
}

.np-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 430px;
    gap: 28px;
    align-items: start;
}

.np-detail-media,
.np-detail-summary,
.np-detail-description-card,
.np-detail-vendor-card,
.np-similar-products {
    background: #ffffff;
    border: 1px solid rgba(7,28,52,0.08);
    box-shadow: 0 18px 45px rgba(7,28,52,0.08);
    border-radius: 28px;
}

.np-detail-media {
    padding: 18px;
}

.np-detail-image-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.12), transparent 35%),
        #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-detail-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #ffffff;
    display: block;
    image-rendering: auto;
}

.np-detail-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 26px;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.32), transparent 36%),
        linear-gradient(135deg, var(--np-blue), #0b2b4d);
}

.np-detail-placeholder strong {
    display: block;
    color: var(--np-gold);
    font-size: 1.6rem;
}

.np-detail-placeholder span {
    display: block;
    max-width: 520px;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.2;
}

.np-detail-placeholder.small {
    min-height: 130px;
}

.np-detail-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.np-detail-trust-row div {
    background: #f8fafc;
    border-radius: 18px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--np-blue);
    font-weight: 900;
}

.np-detail-trust-row span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(217,154,39,0.14);
}

.np-detail-summary {
    padding: 28px;
    position: sticky;
    top: 100px;
}

.np-detail-category {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(217,154,39,0.14);
    color: #92400e;
    font-weight: 900;
    font-size: 0.82rem;
    margin-bottom: 15px;
}

.np-detail-summary h1 {
    color: var(--np-blue);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.8px;
    margin-bottom: 18px;
}

.np-detail-seller,
.np-detail-vendor-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.np-detail-seller {
    padding: 15px;
    border-radius: 18px;
    background: #f8fafc;
    margin-bottom: 16px;
}

.np-detail-seller-avatar {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--np-blue), #0b2b4d);
    color: var(--np-gold);
    font-weight: 900;
    flex: 0 0 46px;
}

.np-detail-seller-avatar.large {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    font-size: 1.3rem;
}

.np-detail-seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.np-detail-seller small,
.np-detail-vendor-head small {
    display: block;
    color: var(--np-muted);
    font-size: 0.82rem;
}

.np-detail-seller strong,
.np-detail-vendor-head strong {
    display: block;
    color: var(--np-blue);
}

.np-detail-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f59e0b;
    font-weight: 900;
    margin-bottom: 18px;
}

.np-detail-rating small {
    color: var(--np-muted);
}

.np-detail-price-box {
    padding: 20px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.16), transparent 35%),
        #f8fafc;
    margin-bottom: 18px;
}

.np-detail-price-box small {
    display: block;
    color: var(--np-muted);
    font-weight: 800;
    margin-bottom: 4px;
}

.np-detail-price-box strong {
    color: var(--np-gold);
    font-size: 2rem;
    line-height: 1;
}

.np-detail-actions {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.np-detail-buy-btn,
.np-detail-secondary-btn {
    min-height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 900;
    transition: 0.22s ease;
}

.np-detail-buy-btn {
    background: linear-gradient(135deg, var(--np-gold), #f4c765);
    color: var(--np-blue);
    box-shadow: 0 16px 35px rgba(217,154,39,0.28);
}

.np-detail-secondary-btn {
    background: rgba(7,28,52,0.06);
    color: var(--np-blue);
}

.np-detail-buy-btn:hover,
.np-detail-secondary-btn:hover {
    transform: translateY(-2px);
}

.np-detail-info-list {
    display: grid;
    gap: 12px;
}

.np-detail-info-list div {
    display: flex;
    gap: 10px;
    color: var(--np-muted);
    font-size: 0.94rem;
}

.np-detail-info-list span {
    flex: 0 0 24px;
}

.np-detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    margin-top: 28px;
    align-items: start;
}

.np-detail-description-card,
.np-detail-vendor-card,
.np-similar-products {
    padding: 28px;
}

.np-detail-section-title {
    margin-bottom: 20px;
}

.np-detail-section-title span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(217,154,39,0.14);
    color: #92400e;
    font-weight: 900;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.np-detail-section-title h2 {
    color: var(--np-blue);
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.15;
}

.np-detail-description {
    color: #374151;
    font-size: 1.02rem;
    line-height: 1.8;
}

.np-detail-description p {
    margin-bottom: 16px;
}

.np-detail-empty-text {
    color: var(--np-muted);
}

.np-detail-vendor-card h3 {
    color: var(--np-blue);
    margin-bottom: 18px;
}

.np-detail-vendor-card p {
    color: var(--np-muted);
    margin: 18px 0;
    line-height: 1.7;
}

.np-detail-vendor-card a {
    display: inline-flex;
    color: var(--np-gold);
    font-weight: 900;
}

.np-similar-products {
    margin-top: 28px;
}

.np-similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.np-similar-card {
    border: 1px solid rgba(7,28,52,0.08);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    transition: 0.22s ease;
}

.np-similar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(7,28,52,0.10);
}

.np-similar-img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: #f8fafc;
}

.np-similar-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.np-similar-card div:last-child {
    padding: 15px;
}

.np-similar-card span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(217,154,39,0.14);
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.np-similar-card h3 {
    color: var(--np-blue);
    font-size: 0.96rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.np-similar-card small {
    display: block;
    color: var(--np-muted);
    margin-bottom: 8px;
}

.np-similar-card strong {
    color: var(--np-gold);
}

@media(max-width:1050px) {
    .np-detail-grid,
    .np-detail-content-grid {
        grid-template-columns: 1fr;
    }

    .np-detail-summary {
        position: static;
    }

    .np-similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:700px) {
    .np-product-detail-page {
        padding: 22px 0 85px;
    }

    .np-detail-grid {
        gap: 18px;
    }

    .np-detail-media,
    .np-detail-summary,
    .np-detail-description-card,
    .np-detail-vendor-card,
    .np-similar-products {
        border-radius: 22px;
    }

    .np-detail-media {
        padding: 12px;
    }

    .np-detail-image-box {
        border-radius: 18px;
        aspect-ratio: 16 / 9;
    }

    .np-detail-trust-row {
        grid-template-columns: 1fr;
    }

    .np-detail-summary,
    .np-detail-description-card,
    .np-detail-vendor-card,
    .np-similar-products {
        padding: 22px;
    }

    .np-detail-price-box strong {
        font-size: 1.7rem;
    }

    .np-similar-grid {
        grid-template-columns: 1fr;
    }
}

.np-create-step-panel {
    display: none;
}

.np-create-step-panel.active {
    display: grid;
    gap: 14px;
}

.np-product-steps button.np-step {
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.np-step.done span {
    background: rgba(217,154,39,0.20);
    color: var(--np-blue);
}

.np-banner-upload .np-banner-preview {
    min-height: 220px;
    aspect-ratio: 21 / 8;
}

.np-banner-preview.has-image,
.np-banner-preview.has-banner {
    min-height: 260px;
}

.np-banner-preview.has-image img,
.np-banner-preview.has-banner img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: contain;
    background: #ffffff;
}

.np-preview-product-card {
    background: #ffffff;
    border: 1px solid rgba(7,28,52,0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(7,28,52,0.08);
}

.np-preview-banner {
    min-height: 230px;
    aspect-ratio: 21 / 8;
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.22), transparent 35%),
        linear-gradient(135deg, var(--np-blue), #0b2b4d);
    color: var(--np-gold);
    display: grid;
    place-items: center;
    font-weight: 900;
    text-align: center;
}

.np-preview-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.np-preview-content {
    padding: 20px;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    align-items: start;
}

.np-preview-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background: #f8fafc;
    display: grid;
    place-items: center;
    color: var(--np-muted);
    overflow: hidden;
    border: 1px solid rgba(7,28,52,0.08);
}

.np-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.np-preview-content h3 {
    color: var(--np-blue);
    font-size: 1.35rem;
    margin: 10px 0;
}

.np-preview-content p {
    color: var(--np-muted);
    margin-bottom: 12px;
}

.np-preview-content strong {
    color: var(--np-gold);
    font-size: 1.4rem;
}

.np-publish-choice {
    display: grid;
    gap: 12px;
}

.np-publish-choice label {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid rgba(7,28,52,0.08);
    border-radius: 16px;
    padding: 15px;
    cursor: pointer;
}

.np-publish-choice input {
    width: auto;
}

.np-publish-choice span {
    color: var(--np-blue);
    font-weight: 900;
}

@media(max-width:700px) {
    .np-preview-content {
        grid-template-columns: 1fr;
    }

    .np-preview-thumb {
        width: 100%;
    }

    .np-banner-upload .np-banner-preview,
    .np-preview-banner {
        min-height: 180px;
    }
}

.np-detail-cover-banner {
    width: 100%;
    aspect-ratio: 21 / 8;
    border-radius: 30px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(7,28,52,0.08);
    box-shadow: 0 18px 45px rgba(7,28,52,0.08);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-detail-cover-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

@media(max-width:700px) {
    .np-detail-cover-banner {
        border-radius: 22px;
        aspect-ratio: 16 / 7;
    }
}

/* =========================================================
   BANNIÈRE DE COUVERTURE — DÉTAIL PRODUIT
========================================================= */

.np-detail-cover-banner {
    width: 100%;
    aspect-ratio: 21 / 8;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.12), transparent 35%),
        #ffffff;
    border: 1px solid rgba(7,28,52,0.08);
    box-shadow: 0 18px 45px rgba(7,28,52,0.08);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-detail-cover-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #ffffff;
    image-rendering: auto;
}

@media(max-width:700px) {
    .np-detail-cover-banner {
        border-radius: 22px;
        aspect-ratio: 16 / 7;
        margin-bottom: 20px;
    }
}

/* =========================================================
   DÉTAIL PRODUIT SIMPLIFIÉ — FOCUS INFORMATIONS PRODUIT
========================================================= */

.np-detail-simple-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: start;
}

.np-detail-main-card,
.np-detail-buy-card,
.np-detail-description-full {
    background: #ffffff;
    border: 1px solid rgba(7,28,52,0.08);
    box-shadow: 0 18px 45px rgba(7,28,52,0.08);
    border-radius: 28px;
}

.np-detail-main-card {
    padding: 18px;
}

.np-detail-image-compact {
    margin-bottom: 22px;
}

.np-detail-product-info {
    padding: 0 8px 8px;
}

.np-detail-product-info h1 {
    color: var(--np-blue);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -1px;
    margin: 14px 0 18px;
}

.np-detail-seller-clean {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 18px;
    background: #f8fafc;
}

.np-detail-seller-clean small {
    display: block;
    color: var(--np-muted);
    font-size: 0.82rem;
}

.np-detail-seller-clean strong {
    display: block;
    color: var(--np-blue);
}

.np-detail-buy-card {
    padding: 26px;
    position: sticky;
    top: 100px;
}

.np-detail-essential-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.np-detail-essential-list div {
    display: flex;
    gap: 10px;
    padding: 13px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--np-muted);
    font-size: 0.93rem;
}

.np-detail-essential-list span {
    flex: 0 0 26px;
}

.np-detail-essential-list p {
    margin: 0;
}

.np-detail-back-products {
    display: inline-flex;
    margin-top: 18px;
    color: var(--np-gold);
    font-weight: 900;
}

.np-detail-description-full {
    padding: 30px;
    margin-top: 28px;
}

.np-detail-description-full .np-detail-description {
    max-width: 950px;
}

.np-detail-description-full .np-detail-description p {
    font-size: 1.04rem;
    color: #374151;
    line-height: 1.85;
}

/* On masque les anciens blocs si l'ancien CSS existe encore */
.np-detail-trust-row,
.np-detail-rating,
.np-detail-vendor-card,
.np-similar-products,
.np-detail-info-list {
    display: none !important;
}

@media(max-width:1000px) {
    .np-detail-simple-grid {
        grid-template-columns: 1fr;
    }

    .np-detail-buy-card {
        position: static;
    }
}

@media(max-width:700px) {
    .np-detail-main-card,
    .np-detail-buy-card,
    .np-detail-description-full {
        border-radius: 22px;
    }

    .np-detail-main-card {
        padding: 12px;
    }

    .np-detail-product-info {
        padding: 0 4px 6px;
    }

    .np-detail-product-info h1 {
        font-size: 1.8rem;
    }

    .np-detail-buy-card,
    .np-detail-description-full {
        padding: 22px;
    }

    .np-detail-essential-list div {
        font-size: 0.9rem;
    }
}

/* =========================================================
   GRAPHIQUE VENTES VENDEUR — NIMBAPAY
========================================================= */

.np-sales-chart-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 28px;
    margin: 26px 0;
    border: 1px solid rgba(7,28,52,0.07);
    box-shadow: 0 18px 45px rgba(7,28,52,0.08);
}

.np-sales-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.np-sales-chart-head span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(217,154,39,0.14);
    color: #92400e;
    font-weight: 900;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.np-sales-chart-head h2 {
    color: var(--np-blue);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.1;
}

.np-sales-chart-head p {
    color: var(--np-muted);
    margin-top: 7px;
}

.np-sales-chart-head p strong {
    color: var(--np-gold);
}

.np-sales-period-form select {
    border: 1px solid rgba(7,28,52,0.10);
    background: #f8fafc;
    color: var(--np-blue);
    font-weight: 900;
    border-radius: 16px;
    padding: 13px 16px;
    outline: none;
    cursor: pointer;
}

.np-chart-wrap {
    width: 100%;
    overflow-x: auto;
}

#salesChart {
    display: block;
    width: 100%;
    min-width: 620px;
}

.np-chart-empty {
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.12), transparent 35%),
        #f8fafc;
    border: 1px dashed rgba(7,28,52,0.18);
    border-radius: 22px;
    padding: 36px;
    text-align: center;
}

.np-chart-empty strong {
    display: block;
    color: var(--np-blue);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.np-chart-empty p {
    color: var(--np-muted);
}

@media(max-width:700px) {
    .np-sales-chart-card {
        padding: 22px;
        border-radius: 24px;
    }

    .np-sales-chart-head {
        flex-direction: column;
    }

    .np-sales-period-form,
    .np-sales-period-form select {
        width: 100%;
    }
}

/* =========================================================
   DASHBOARD VENDEUR MODERNE — NIMBAPAY
========================================================= */

.np-seller-home {
    background: #f6f7fb;
    min-height: calc(100vh - 140px);
    padding: 30px 0 95px;
}

.np-seller-topbar,
.np-seller-section-head,
.np-seller-balance-head,
.np-seller-balance-bottom,
.np-seller-score-head,
.np-seller-performance-head,
.np-seller-product-row {
    display: flex;
    align-items: center;
}

.np-seller-topbar {
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.np-seller-topbar span {
    color: var(--np-gold);
    font-weight: 900;
    font-size: 0.86rem;
}

.np-seller-topbar h1 {
    color: var(--np-blue);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.05;
}

.np-seller-topbar p {
    color: var(--np-muted);
    margin-top: 5px;
}

.np-seller-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.np-seller-add-btn,
.np-seller-logout {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 900;
}

.np-seller-add-btn {
    background: linear-gradient(135deg, var(--np-gold), #f4c765);
    color: var(--np-blue);
}

.np-seller-logout {
    background: #ffffff;
    color: var(--np-blue);
    border: 1px solid rgba(7,28,52,0.08);
}

.np-seller-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 340px;
    gap: 24px;
    margin-bottom: 32px;
}

.np-seller-balance-card,
.np-seller-score-card,
.np-seller-stat-card,
.np-seller-performance-card,
.np-seller-products-list,
.np-seller-empty-products {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(7,28,52,0.07);
    box-shadow: 0 18px 45px rgba(7,28,52,0.08);
}

.np-seller-balance-card {
    padding: 30px;
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.25), transparent 35%),
        linear-gradient(135deg, var(--np-blue), #0b2b4d);
    color: #ffffff;
}

.np-seller-balance-head {
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.np-seller-balance-card small {
    display: block;
    color: rgba(255,255,255,0.78);
    font-weight: 800;
    margin-bottom: 6px;
}

.np-seller-balance-card strong {
    display: block;
    color: var(--np-gold);
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    line-height: 1;
}

.np-seller-withdraw-btn {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 900;
    white-space: nowrap;
}

.np-seller-balance-bottom {
    gap: 30px;
    padding-top: 24px;
}

.np-seller-balance-bottom > div {
    flex: 1;
}

.np-seller-balance-bottom > div + div {
    border-left: 1px solid rgba(255,255,255,0.14);
    padding-left: 30px;
}

.np-seller-balance-bottom strong {
    font-size: 1.3rem;
}

.np-seller-score-card {
    padding: 26px;
}

.np-seller-score-head {
    justify-content: space-between;
}

.np-seller-score-head strong {
    color: var(--np-blue);
}

.np-seller-score-head span {
    background: rgba(217,154,39,0.16);
    color: var(--np-blue);
    padding: 7px 11px;
    border-radius: 999px;
    font-weight: 900;
}

.np-seller-score-star {
    font-size: 2.4rem;
    color: var(--np-gold);
    margin: 22px 0 14px;
}

.np-seller-score-card p {
    color: var(--np-muted);
    line-height: 1.6;
}

.np-seller-section-head {
    justify-content: space-between;
    gap: 16px;
    margin: 26px 0 18px;
}

.np-seller-section-head h2 {
    color: var(--np-blue);
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.np-seller-section-head p {
    color: var(--np-muted);
}

.np-seller-section-head a {
    color: var(--np-gold);
    font-weight: 900;
    white-space: nowrap;
}

.np-seller-period select {
    border: 1px solid rgba(7,28,52,0.10);
    background: #ffffff;
    color: var(--np-blue);
    font-weight: 900;
    border-radius: 16px;
    padding: 12px 16px;
    outline: none;
}

.np-seller-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.np-seller-stat-card {
    padding: 22px;
}

.np-stat-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(217,154,39,0.14);
    margin-bottom: 18px;
}

.np-seller-stat-card small {
    display: block;
    color: var(--np-muted);
    font-weight: 900;
    margin-bottom: 8px;
}

.np-seller-stat-card strong {
    color: var(--np-blue);
    font-size: 1.85rem;
    line-height: 1;
}

.np-seller-stat-card p {
    color: var(--np-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.np-seller-performance-card {
    padding: 28px;
    margin-top: 26px;
}

.np-seller-performance-head {
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.np-seller-performance-head h2 {
    color: var(--np-blue);
}

.np-seller-performance-head p {
    color: var(--np-muted);
    margin-top: 5px;
}

.np-seller-performance-head strong {
    color: var(--np-gold);
    font-size: 1.35rem;
    white-space: nowrap;
}

.np-seller-chart-wrap {
    width: 100%;
    overflow-x: auto;
}

#sellerSalesChart {
    display: block;
    min-width: 620px;
    width: 100%;
}

.np-seller-products-list {
    overflow: hidden;
}

.np-seller-product-row {
    gap: 18px;
    padding: 16px;
    border-bottom: 1px solid rgba(7,28,52,0.07);
}

.np-seller-product-row:last-child {
    border-bottom: none;
}

.np-seller-product-img {
    width: 115px;
    height: 70px;
    border-radius: 16px;
    background: #f8fafc;
    overflow: hidden;
    flex: 0 0 115px;
    display: grid;
    place-items: center;
    color: var(--np-gold);
    font-weight: 900;
}

.np-seller-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.np-seller-product-info {
    flex: 1;
    min-width: 0;
}

.np-seller-product-info h3 {
    color: var(--np-blue);
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 6px;
}

.np-seller-product-info h3 a:hover {
    color: var(--np-gold);
}

.np-seller-product-info strong {
    color: var(--np-gold);
}

.np-seller-product-mini-stat {
    min-width: 120px;
}

.np-seller-product-mini-stat small {
    display: block;
    color: var(--np-muted);
    font-weight: 800;
    margin-bottom: 4px;
}

.np-seller-product-mini-stat strong {
    color: var(--np-blue);
}

.np-seller-product-status span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.8rem;
}

.np-seller-product-status span.active {
    background: rgba(34,197,94,0.12);
    color: #15803d;
}

.np-seller-product-status span.draft {
    background: rgba(217,154,39,0.14);
    color: #92400e;
}

.np-seller-empty-products {
    padding: 35px;
    text-align: center;
}

.np-seller-empty-products strong {
    color: var(--np-blue);
    display: block;
    font-size: 1.2rem;
}

.np-seller-empty-products p {
    color: var(--np-muted);
    margin: 8px 0 18px;
}

.np-seller-empty-products a {
    color: var(--np-gold);
    font-weight: 900;
}

.np-seller-bottom-nav {
    display: none;
}

@media(max-width:1000px) {
    .np-seller-hero-grid {
        grid-template-columns: 1fr;
    }

    .np-seller-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:720px) {
    .np-seller-home {
        padding-top: 22px;
        padding-bottom: 105px;
    }

    .np-seller-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .np-seller-top-actions {
        width: 100%;
    }

    .np-seller-add-btn,
    .np-seller-logout {
        flex: 1;
    }

    .np-seller-balance-card,
    .np-seller-score-card,
    .np-seller-stat-card,
    .np-seller-performance-card,
    .np-seller-products-list,
    .np-seller-empty-products {
        border-radius: 22px;
    }

    .np-seller-balance-card {
        padding: 24px;
    }

    .np-seller-balance-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .np-seller-withdraw-btn {
        width: 100%;
        text-align: center;
    }

    .np-seller-balance-bottom {
        gap: 16px;
    }

    .np-seller-balance-bottom > div + div {
        padding-left: 16px;
    }

    .np-seller-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .np-seller-period,
    .np-seller-period select {
        width: 100%;
    }

    .np-seller-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .np-seller-stat-card {
        padding: 18px;
    }

    .np-seller-stat-card strong {
        font-size: 1.45rem;
    }

    .np-seller-performance-card {
        padding: 22px;
    }

    .np-seller-performance-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .np-seller-product-row {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 12px;
    }

    .np-seller-product-img {
        width: 90px;
        height: 70px;
        flex-basis: 90px;
    }

    .np-seller-product-mini-stat,
    .np-seller-product-status {
        grid-column: 2;
        min-width: 0;
    }

    .np-seller-product-status {
        display: none;
    }

    .np-seller-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        background: #ffffff;
        border-top: 1px solid rgba(7,28,52,0.08);
        box-shadow: 0 -12px 35px rgba(7,28,52,0.10);
        padding: 9px 6px 12px;
    }

    .np-seller-bottom-nav a {
        color: var(--np-muted);
        display: grid;
        place-items: center;
        gap: 4px;
        font-size: 0.75rem;
        font-weight: 800;
    }

    .np-seller-bottom-nav a span {
        font-size: 1.2rem;
    }

    .np-seller-bottom-nav a.active {
        color: var(--np-gold);
    }

    .np-seller-bottom-nav a.middle span {
        width: 54px;
        height: 54px;
        margin-top: -35px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        background: linear-gradient(135deg, var(--np-gold), #f4c765);
        color: var(--np-blue);
        font-size: 2rem;
        box-shadow: 0 14px 30px rgba(217,154,39,0.35);
    }
}

/* =========================================================
   ACTIONS PRODUITS VENDEUR
========================================================= */

.np-seller-product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.np-product-action-edit,
.np-product-action-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    transition: 0.22s ease;
}

.np-product-action-edit {
    background: rgba(217,154,39,0.14);
    color: var(--np-blue);
}

.np-product-action-edit:hover {
    background: var(--np-gold);
    color: var(--np-blue);
}

.np-product-action-delete {
    background: rgba(239,68,68,0.10);
    color: #dc2626;
}

.np-product-action-delete:hover {
    background: #dc2626;
    color: #ffffff;
}

@media(max-width:720px) {
    .np-seller-product-actions {
        grid-column: 2;
    }

    .np-product-action-edit,
    .np-product-action-delete {
        flex: 1;
        font-size: 0.74rem;
    }
}

.np-current-product-image,
.np-current-cover-image {
    background: #f8fafc;
    border: 1px solid rgba(7,28,52,0.08);
    border-radius: 18px;
    overflow: hidden;
    padding: 10px;
}

.np-current-product-image img,
.np-current-cover-image img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    background: #ffffff;
    display: block;
    border-radius: 14px;
}

.np-current-cover-image img {
    aspect-ratio: 21 / 8;
}

/* =========================================================
   BOUTONS MODIFIER / SUPPRIMER — DASHBOARD VENDEUR
========================================================= */

.np-seller-product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.np-product-action-edit,
.np-product-action-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    transition: 0.22s ease;
    white-space: nowrap;
}

.np-product-action-edit {
    background: rgba(217,154,39,0.14);
    color: var(--np-blue);
}

.np-product-action-edit:hover {
    background: var(--np-gold);
    color: var(--np-blue);
    transform: translateY(-2px);
}

.np-product-action-delete {
    background: rgba(239,68,68,0.10);
    color: #dc2626;
}

.np-product-action-delete:hover {
    background: #dc2626;
    color: #ffffff;
    transform: translateY(-2px);
}

@media(max-width:720px) {
    .np-seller-product-actions {
        grid-column: 2;
        justify-content: flex-start;
    }

    .np-product-action-edit,
    .np-product-action-delete {
        flex: 1;
        font-size: 0.74rem;
    }
}

/* =========================================================
   ADMIN VENDEURS — NIMBAPAY
========================================================= */

.np-admin-page {
    background: #f6f7fb;
    min-height: calc(100vh - 140px);
    padding: 32px 0 90px;
}

.np-admin-chart-card,
.np-admin-vendors-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 28px;
    margin-top: 28px;
    border: 1px solid rgba(7,28,52,0.07);
    box-shadow: 0 18px 45px rgba(7,28,52,0.08);
}

.np-admin-chart-head,
.np-admin-vendors-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}

.np-admin-chart-head span,
.np-admin-vendors-head span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(217,154,39,0.14);
    color: #92400e;
    font-size: 0.8rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.np-admin-chart-head h2,
.np-admin-vendors-head h2 {
    color: var(--np-blue);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.1;
}

.np-admin-chart-head p,
.np-admin-vendors-head p {
    color: var(--np-muted);
    margin-top: 6px;
}

.np-admin-chart-head p strong,
.np-admin-vendors-head p strong {
    color: var(--np-gold);
}

.np-admin-chart-totals {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.np-admin-chart-totals div {
    min-width: 160px;
    background: #f8fafc;
    border-radius: 18px;
    padding: 16px;
}

.np-admin-chart-totals small {
    display: block;
    color: var(--np-muted);
    font-weight: 800;
    margin-bottom: 5px;
}

.np-admin-chart-totals strong {
    color: var(--np-blue);
}

.np-admin-chart-wrap {
    width: 100%;
    overflow-x: auto;
}

#adminYieldChart {
    display: block;
    width: 100%;
    min-width: 680px;
}

.np-admin-search-box {
    min-width: 340px;
}

.np-admin-search-box input {
    width: 100%;
    border: 1px solid rgba(7,28,52,0.10);
    background: #f8fafc;
    color: var(--np-blue);
    border-radius: 16px;
    padding: 14px 16px;
    outline: none;
}

.np-admin-search-box input:focus {
    border-color: var(--np-gold);
    box-shadow: 0 0 0 4px rgba(217,154,39,0.14);
}

.np-admin-vendors-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.np-admin-vendors-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1080px;
}

.np-admin-vendors-table th {
    text-align: left;
    color: var(--np-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px;
    border-bottom: 1px solid rgba(7,28,52,0.08);
}

.np-admin-vendors-table td {
    padding: 15px 14px;
    border-bottom: 1px solid rgba(7,28,52,0.07);
    color: var(--np-blue);
    vertical-align: top;
}

.np-admin-vendors-table td strong {
    display: block;
    color: var(--np-blue);
}

.np-admin-vendors-table td small {
    display: block;
    color: var(--np-muted);
    margin-top: 3px;
}

.np-admin-status {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.np-admin-status.actif {
    background: rgba(34,197,94,0.12);
    color: #15803d;
}

.np-admin-status.inactif {
    background: rgba(217,154,39,0.14);
    color: #92400e;
}

.np-admin-status.bloque {
    background: rgba(239,68,68,0.12);
    color: #dc2626;
}

.np-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.np-admin-edit,
.np-admin-block,
.np-admin-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.np-admin-edit {
    background: rgba(217,154,39,0.14);
    color: var(--np-blue);
}

.np-admin-block {
    background: rgba(7,28,52,0.08);
    color: var(--np-blue);
}

.np-admin-delete {
    background: rgba(239,68,68,0.10);
    color: #dc2626;
}

.np-admin-edit:hover {
    background: var(--np-gold);
}

.np-admin-block:hover {
    background: var(--np-blue);
    color: #ffffff;
}

.np-admin-delete:hover {
    background: #dc2626;
    color: #ffffff;
}

.np-admin-loading,
.np-admin-empty {
    background: #f8fafc;
    border: 1px dashed rgba(7,28,52,0.18);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    color: var(--np-muted);
}

.np-admin-empty strong {
    display: block;
    color: var(--np-blue);
    margin-bottom: 6px;
}

@media(max-width:800px) {
    .np-admin-chart-head,
    .np-admin-vendors-head {
        flex-direction: column;
    }

    .np-admin-search-box {
        min-width: 0;
        width: 100%;
    }

    .np-admin-chart-totals {
        width: 100%;
    }

    .np-admin-chart-totals div {
        flex: 1;
    }
}

.np-admin-chart-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    color: var(--np-muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.np-admin-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.np-admin-chart-legend i {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    display: inline-block;
}

.np-admin-chart-legend i.sales {
    background: #071c34;
}

.np-admin-chart-legend i.commission {
    background: #d99a27;
}

/* =========================================================
   CONFIGURATION COMMISSIONS — NIMBAPAY
========================================================= */

.np-commission-global-card {
    background:
        radial-gradient(circle at top right, rgba(217,154,39,0.20), transparent 35%),
        linear-gradient(135deg, var(--np-blue), #0b2b4d);
    color: #ffffff;
    border-radius: 30px;
    padding: 30px;
    margin: 28px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: center;
    box-shadow: 0 18px 45px rgba(7,28,52,0.16);
}

.np-commission-global-card span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: var(--np-gold);
    font-weight: 900;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.np-commission-global-card h2 {
    color: #ffffff;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.1;
}

.np-commission-global-card p {
    color: rgba(255,255,255,0.78);
    margin-top: 8px;
}

.np-commission-global-form {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 24px;
    padding: 20px;
}

.np-commission-global-form label {
    color: rgba(255,255,255,0.78);
    font-weight: 900;
    display: block;
    margin-bottom: 8px;
}

.np-commission-input-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 14px;
}

.np-commission-input-wrap input {
    width: 100%;
    border: none;
    padding: 16px;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--np-blue);
    outline: none;
}

.np-commission-input-wrap strong {
    padding: 0 16px;
    color: var(--np-gold);
    font-size: 1.4rem;
}

.np-commission-seller-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.np-commission-seller-form select,
.np-commission-seller-form input {
    border: 1px solid rgba(7,28,52,0.10);
    background: #f8fafc;
    color: var(--np-blue);
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
    font-weight: 800;
}

.np-commission-seller-form input {
    width: 110px;
}

.np-commission-seller-form button {
    border: none;
    background: var(--np-gold);
    color: var(--np-blue);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

@media(max-width:850px) {
    .np-commission-global-card {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .np-commission-seller-form {
        align-items: stretch;
        flex-direction: column;
    }

    .np-commission-seller-form input,
    .np-commission-seller-form select,
    .np-commission-seller-form button {
        width: 100%;
    }
}