/**
 * Nexus Marketplace - Frontend Styles
 * Dark theme with purple gradients & glassmorphism
 */

/* ============ CSS Variables (fallbacks; overridden inline by Frontend.php) ============ */
:root {
    --nexmp-primary: #8b5cf6;
    --nexmp-primary-rgb: 139, 92, 246;
    --nexmp-secondary: #a78bfa;
    --nexmp-accent: #c4b5fd;
    --nexmp-gradient: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    --nexmp-bg: #0a0a12;
    --nexmp-bg-elev: #14141f;
    --nexmp-bg-card: rgba(30, 30, 46, 0.6);
    --nexmp-border: rgba(255, 255, 255, 0.08);
    --nexmp-border-hover: rgba(var(--nexmp-primary-rgb), 0.4);
    --nexmp-text: #e5e7eb;
    --nexmp-text-muted: #9ca3af;
    --nexmp-text-dim: #6b7280;
    --nexmp-success: #10b981;
    --nexmp-warning: #f59e0b;
    --nexmp-danger: #ef4444;
    --nexmp-info: #3b82f6;
    --nexmp-radius: 12px;
    --nexmp-radius-sm: 8px;
    --nexmp-radius-lg: 20px;
    --nexmp-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --nexmp-shadow-glow: 0 0 40px -10px rgba(var(--nexmp-primary-rgb), 0.4);
    --nexmp-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ Base Container ============ */
.nexmp {
    color: var(--nexmp-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px;
    box-sizing: border-box;
}

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

body.nexmp-dark {
    background: var(--nexmp-bg);
    background-image:
        radial-gradient(at 20% 0%, rgba(var(--nexmp-primary-rgb), 0.15) 0%, transparent 50%),
        radial-gradient(at 80% 100%, rgba(var(--nexmp-primary-rgb), 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--nexmp-text);
}

.nexmp a {
    color: var(--nexmp-secondary);
    text-decoration: none;
    transition: var(--nexmp-transition);
}

.nexmp a:hover {
    color: var(--nexmp-accent);
}

.nexmp h1, .nexmp h2, .nexmp h3, .nexmp h4, .nexmp h5, .nexmp h6 {
    color: #fff;
    margin: 0 0 0.5em;
    font-weight: 700;
    line-height: 1.3;
}

.nexmp img { max-width: 100%; height: auto; }

/* ============ Typography Helpers ============ */
.nexmp-gradient-text {
    background: var(--nexmp-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nexmp-muted { color: var(--nexmp-text-muted); }
.nexmp-dim { color: var(--nexmp-text-dim); }
.nexmp-page-title { font-size: 2rem; margin-bottom: 24px; }
.nexmp-section-title { font-size: 1.5rem; margin-bottom: 20px; }

/* ============ Hero ============ */
.nexmp-hero {
    position: relative;
    padding: 80px 32px;
    border-radius: var(--nexmp-radius-lg);
    background:
        linear-gradient(135deg, rgba(var(--nexmp-primary-rgb), 0.15) 0%, rgba(var(--nexmp-primary-rgb), 0.05) 100%),
        var(--nexmp-bg-elev);
    border: 1px solid var(--nexmp-border);
    overflow: hidden;
    margin-bottom: 40px;
    text-align: center;
}

.nexmp-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(var(--nexmp-primary-rgb), 0.15) 0%, transparent 50%);
    animation: nexmp-pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes nexmp-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.nexmp-hero h1 {
    position: relative;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.nexmp-hero p {
    position: relative;
    color: var(--nexmp-text-muted);
    font-size: 1.125rem;
    max-width: 620px;
    margin: 0 auto 32px;
}

.nexmp-hero__search {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.nexmp-hero__search input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border: 1px solid var(--nexmp-border);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--nexmp-text);
    border-radius: 999px;
    font-size: 1rem;
    outline: none;
    transition: var(--nexmp-transition);
}

.nexmp-hero__search input:focus {
    border-color: var(--nexmp-primary);
    box-shadow: 0 0 0 4px rgba(var(--nexmp-primary-rgb), 0.15);
}

.nexmp-hero__search-icon {
    position: absolute;
    left: 20px; top: 50%;
    transform: translateY(-50%);
    color: var(--nexmp-text-muted);
    display: flex;
}

/* ============ Buttons ============ */
.nexmp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--nexmp-radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    color: var(--nexmp-text);
    transition: var(--nexmp-transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.nexmp-btn:hover { transform: translateY(-1px); }
.nexmp-btn:active { transform: translateY(0); }
.nexmp-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.nexmp-btn-primary {
    background: var(--nexmp-gradient);
    color: #fff;
    box-shadow: 0 4px 14px -4px rgba(var(--nexmp-primary-rgb), 0.5);
}

.nexmp-btn-primary:hover {
    color: #fff;
    box-shadow: 0 6px 20px -4px rgba(var(--nexmp-primary-rgb), 0.7);
}

.nexmp-btn-ghost {
    background: rgba(var(--nexmp-primary-rgb), 0.1);
    color: var(--nexmp-secondary);
    border-color: rgba(var(--nexmp-primary-rgb), 0.3);
}

.nexmp-btn-ghost:hover {
    background: rgba(var(--nexmp-primary-rgb), 0.2);
    color: var(--nexmp-accent);
}

.nexmp-btn-lg { padding: 14px 28px; font-size: 1rem; }
.nexmp-btn-sm { padding: 6px 12px; font-size: 0.8125rem; }
.nexmp-btn-block { width: 100%; }

.nexmp-btn-icon {
    width: 40px; height: 40px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nexmp-border);
    color: var(--nexmp-text-muted);
}

.nexmp-btn-icon:hover {
    background: rgba(var(--nexmp-primary-rgb), 0.2);
    color: var(--nexmp-accent);
    border-color: var(--nexmp-border-hover);
}

.nexmp-btn-icon.is-on { color: var(--nexmp-danger); }

/* ============ Grid Layouts ============ */
.nexmp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.nexmp-grid--2 { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }

@media (max-width: 640px) {
    /* Force exactly 2 columns on mobile. `auto-fill` + minmax(160px)
     * was rendering as a single column on some Android Chrome builds
     * because of how the viewport width vs. safe-area math shakes out.
     * `repeat(2, 1fr)` is unambiguous — every phone gets a 2x2 grid,
     * matching how iPhone Safari was already displaying it. */
    .nexmp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .nexmp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============ Product Card ============ */
.nexmp-card-product {
    background: var(--nexmp-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    overflow: hidden;
    transition: var(--nexmp-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.nexmp-card-product:hover {
    transform: translateY(-4px);
    border-color: var(--nexmp-border-hover);
    box-shadow: var(--nexmp-shadow-glow);
}

.nexmp-card-product__icon {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--nexmp-primary-rgb), 0.15) 0%, rgba(var(--nexmp-primary-rgb), 0.05) 100%);
    color: var(--nexmp-secondary);
    border-bottom: 1px solid var(--nexmp-border);
    position: relative;
}

.nexmp-card-product__icon svg { width: 64px; height: 64px; opacity: 0.9; }

.nexmp-card-product__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nexmp-card-product__cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nexmp-secondary);
    font-weight: 600;
}

.nexmp-card-product__title {
    font-size: 1rem;
    color: #fff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.nexmp-card-product__title a { color: inherit; }

.nexmp-card-product__excerpt {
    font-size: 0.875rem;
    color: var(--nexmp-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nexmp-card-product__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--nexmp-text-muted);
    margin-top: auto;
}

.nexmp-card-product__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--nexmp-border);
    background: rgba(0, 0, 0, 0.2);
}

.nexmp-card-product__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.nexmp-card-product__actions {
    display: flex;
    gap: 8px;
}

.nexmp-price-old {
    text-decoration: line-through;
    color: var(--nexmp-text-dim);
    font-size: 0.875rem;
}

.nexmp-price-now {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    background: var(--nexmp-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nexmp-badge-featured {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--nexmp-gradient);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

/* ============ Rating Stars ============ */
.nexmp-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.nexmp-star {
    color: var(--nexmp-text-dim);
    display: inline-flex;
}

.nexmp-star.is-on { color: var(--nexmp-warning); }

/* ============ Sidebar Layouts ============ */
.nexmp-with-sidebar {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

@media (max-width: 900px) {
    .nexmp-with-sidebar { grid-template-columns: 1fr; }
}

.nexmp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nexmp-sidebar__section {
    background: var(--nexmp-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    padding: 20px;
}

.nexmp-sidebar__section h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nexmp-text-muted);
    margin-bottom: 16px;
}

.nexmp-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nexmp-cat-list li a {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: var(--nexmp-radius-sm);
    color: var(--nexmp-text);
    font-size: 0.9375rem;
    transition: var(--nexmp-transition);
}

.nexmp-cat-list li a:hover,
.nexmp-cat-list li.is-active a {
    background: rgba(var(--nexmp-primary-rgb), 0.15);
    color: var(--nexmp-accent);
}

.nexmp-cat-list li a span {
    color: var(--nexmp-text-dim);
    font-size: 0.8125rem;
}

/* ============ Toolbar ============ */
.nexmp-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: var(--nexmp-bg-card);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.nexmp-toolbar select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--nexmp-border);
    color: var(--nexmp-text);
    padding: 8px 12px;
    border-radius: var(--nexmp-radius-sm);
    outline: none;
    cursor: pointer;
}

.nexmp-toolbar select:focus { border-color: var(--nexmp-primary); }

/* ============ Pagination ============ */
.nexmp-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 32px 0 8px;
    flex-wrap: wrap;
}

.nexmp-pagination a, .nexmp-pagination span {
    padding: 8px 14px;
    border-radius: var(--nexmp-radius-sm);
    background: var(--nexmp-bg-card);
    border: 1px solid var(--nexmp-border);
    color: var(--nexmp-text);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--nexmp-transition);
}

.nexmp-pagination a:hover {
    background: rgba(var(--nexmp-primary-rgb), 0.15);
    border-color: var(--nexmp-border-hover);
    color: var(--nexmp-accent);
}

.nexmp-pagination .current {
    background: var(--nexmp-gradient);
    color: #fff;
    border-color: transparent;
}

/* ============ Empty & Notices ============ */
.nexmp-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--nexmp-text-muted);
    background: var(--nexmp-bg-card);
    border: 1px dashed var(--nexmp-border);
    border-radius: var(--nexmp-radius);
}

.nexmp-empty svg { color: var(--nexmp-text-dim); margin-bottom: 16px; }

.nexmp-notice {
    padding: 14px 18px;
    border-radius: var(--nexmp-radius-sm);
    background: rgba(var(--nexmp-primary-rgb), 0.1);
    border-left: 3px solid var(--nexmp-primary);
    color: var(--nexmp-text);
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.nexmp-notice--danger {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: var(--nexmp-danger);
}

.nexmp-notice--warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: var(--nexmp-warning);
}

.nexmp-notice--success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--nexmp-success);
}

/* ============ Cart ============ */
.nexmp-cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .nexmp-cart-layout { grid-template-columns: 1fr; }
}

.nexmp-cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: var(--nexmp-bg-card);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    margin-bottom: 12px;
}

@media (max-width: 640px) {
    .nexmp-cart-item {
        grid-template-columns: 60px 1fr;
        grid-template-areas: "icon info" "qty total";
    }
    .nexmp-cart-item__icon { grid-area: icon; }
    .nexmp-cart-item__info { grid-area: info; }
    .nexmp-cart-item__qty { grid-area: qty; }
    .nexmp-cart-item__total { grid-area: total; text-align: right; }
}

.nexmp-cart-item__icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, rgba(var(--nexmp-primary-rgb), 0.15), rgba(var(--nexmp-primary-rgb), 0.05));
    border-radius: var(--nexmp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nexmp-secondary);
}

.nexmp-cart-item__title { font-weight: 600; margin-bottom: 4px; color: #fff; }
.nexmp-cart-item__title a { color: inherit; }
.nexmp-cart-item__price { color: var(--nexmp-text-muted); font-size: 0.875rem; }

.nexmp-cart-item__qty {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nexmp-cart-item__total {
    font-weight: 700;
    color: #fff;
    min-width: 90px;
    text-align: right;
}

.nexmp-qty-btn {
    width: 32px; height: 32px;
    border: 1px solid var(--nexmp-border);
    background: rgba(0, 0, 0, 0.3);
    color: var(--nexmp-text);
    border-radius: var(--nexmp-radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    line-height: 1;
    transition: var(--nexmp-transition);
}

.nexmp-qty-btn:hover {
    background: rgba(var(--nexmp-primary-rgb), 0.2);
    border-color: var(--nexmp-border-hover);
}

.nexmp-qty-input {
    width: 48px;
    height: 32px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--nexmp-border);
    color: var(--nexmp-text);
    border-radius: var(--nexmp-radius-sm);
    -moz-appearance: textfield;
}

.nexmp-qty-input::-webkit-outer-spin-button,
.nexmp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ============ Summary Sidebar ============ */
.nexmp-summary {
    background: var(--nexmp-bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    padding: 24px;
    position: sticky;
    top: 24px;
}

.nexmp-summary h3 { margin-bottom: 20px; }

.nexmp-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--nexmp-text-muted);
    font-size: 0.9375rem;
}

.nexmp-summary-row--total {
    border-top: 1px solid var(--nexmp-border);
    margin-top: 8px;
    padding-top: 16px;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}

.nexmp-summary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nexmp-summary-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--nexmp-text-muted);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--nexmp-border);
}

.nexmp-summary-list li:last-child { border-bottom: 0; }

/* ============ Panels / Cards ============ */
.nexmp-card-panel {
    background: var(--nexmp-bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    padding: 24px;
    margin-bottom: 20px;
}

.nexmp-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============ Payment Methods ============ */
.nexmp-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.nexmp-pay-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    cursor: pointer;
    transition: var(--nexmp-transition);
}

.nexmp-pay-option:hover { border-color: var(--nexmp-border-hover); }

.nexmp-pay-option input[type="radio"] {
    accent-color: var(--nexmp-primary);
    width: 20px; height: 20px;
    margin: 0;
    flex-shrink: 0;
}

.nexmp-pay-option:has(input:checked) {
    border-color: var(--nexmp-primary);
    background: rgba(var(--nexmp-primary-rgb), 0.1);
    box-shadow: 0 0 0 3px rgba(var(--nexmp-primary-rgb), 0.15);
}

.nexmp-pay-option__icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, rgba(var(--nexmp-primary-rgb), 0.15), rgba(var(--nexmp-primary-rgb), 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nexmp-secondary);
    flex-shrink: 0;
}

.nexmp-pay-option__body { flex: 1; }
.nexmp-pay-option__body strong { color: #fff; display: block; }
.nexmp-pay-option__body span { font-size: 0.875rem; color: var(--nexmp-text-muted); }

/* ============ Crypto Payment Panel ============ */
.nexmp-crypto-payment {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    padding: 24px;
    margin-bottom: 20px;
    display: none;
}

.nexmp-crypto-payment.is-active { display: block; }

.nexmp-qr {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.nexmp-qr__box {
    width: 160px; height: 160px;
    background: #fff;
    border-radius: var(--nexmp-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 0.75rem;
    text-align: center;
    padding: 12px;
    flex-shrink: 0;
}

.nexmp-crypto-fields { flex: 1; min-width: 240px; }

.nexmp-field {
    margin-bottom: 16px;
}

.nexmp-field label {
    display: block;
    font-size: 0.8125rem;
    color: var(--nexmp-text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
}

.nexmp-field input,
.nexmp-field textarea,
.nexmp-field select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--nexmp-border);
    color: var(--nexmp-text);
    border-radius: var(--nexmp-radius-sm);
    font-size: 0.9375rem;
    outline: none;
    font-family: inherit;
    transition: var(--nexmp-transition);
}

.nexmp-field input:focus,
.nexmp-field textarea:focus,
.nexmp-field select:focus {
    border-color: var(--nexmp-primary);
    box-shadow: 0 0 0 3px rgba(var(--nexmp-primary-rgb), 0.15);
}

.nexmp-copy {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.nexmp-copy input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.8125rem;
}

.nexmp-copy-btn {
    padding: 0 16px;
    background: var(--nexmp-gradient);
    color: #fff;
    border: 0;
    border-top-right-radius: var(--nexmp-radius-sm);
    border-bottom-right-radius: var(--nexmp-radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--nexmp-transition);
    white-space: nowrap;
}

.nexmp-copy-btn:hover { filter: brightness(1.1); }
.nexmp-copy-btn.is-copied { background: var(--nexmp-success); }

.nexmp-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--nexmp-warning);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    font-variant-numeric: tabular-nums;
}

.nexmp-timer.is-expired {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--nexmp-danger);
}

/* ============ Dashboard ============ */
.nexmp-dashboard__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .nexmp-dashboard__layout { grid-template-columns: 1fr; }
}

.nexmp-dashboard__sidebar {
    background: var(--nexmp-bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    padding: 20px;
    position: sticky;
    top: 24px;
}

.nexmp-dashboard__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--nexmp-border);
}

.nexmp-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--nexmp-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    flex-shrink: 0;
}

.nexmp-dashboard__user strong { display: block; color: #fff; }
.nexmp-dashboard__user span { font-size: 0.8125rem; color: var(--nexmp-text-muted); }

.nexmp-dashnav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nexmp-dashnav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--nexmp-radius-sm);
    color: var(--nexmp-text);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--nexmp-transition);
}

.nexmp-dashnav__link:hover {
    background: rgba(var(--nexmp-primary-rgb), 0.1);
    color: var(--nexmp-accent);
}

.nexmp-dashnav__link.is-active {
    background: var(--nexmp-gradient);
    color: #fff;
    box-shadow: 0 4px 14px -4px rgba(var(--nexmp-primary-rgb), 0.5);
}

.nexmp-dashnav__link svg { flex-shrink: 0; }

.nexmp-dashnav__logout {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--nexmp-border);
    color: var(--nexmp-danger);
}

.nexmp-dashboard__main {
    min-width: 0;
}

/* ============ Stat Cards ============ */
.nexmp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.nexmp-stat-card {
    background: var(--nexmp-bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--nexmp-transition);
}

.nexmp-stat-card:hover {
    border-color: var(--nexmp-border-hover);
    transform: translateY(-2px);
}

.nexmp-stat-card--primary {
    background: var(--nexmp-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--nexmp-shadow-glow);
}

.nexmp-stat-card--primary * { color: #fff !important; }

.nexmp-stat-card__icon {
    width: 40px; height: 40px;
    background: rgba(var(--nexmp-primary-rgb), 0.15);
    border-radius: var(--nexmp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nexmp-secondary);
    margin-bottom: 4px;
}

.nexmp-stat-card--primary .nexmp-stat-card__icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.nexmp-stat-card__label {
    font-size: 0.8125rem;
    color: var(--nexmp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
}

.nexmp-stat-card__value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.nexmp-stat-card__action {
    font-size: 0.8125rem;
    color: var(--nexmp-secondary);
    margin-top: 4px;
}

/* ============ Tables ============ */
.nexmp-user-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--nexmp-bg-card);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    overflow: hidden;
}

.nexmp-user-table th,
.nexmp-user-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--nexmp-border);
    font-size: 0.9375rem;
}

.nexmp-user-table th {
    background: rgba(0, 0, 0, 0.3);
    color: var(--nexmp-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.nexmp-user-table tr:last-child td { border-bottom: 0; }
.nexmp-user-table tr:hover td { background: rgba(var(--nexmp-primary-rgb), 0.05); }

/* ============ Badges ============ */
.nexmp-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.1);
    color: var(--nexmp-text);
}

.nexmp-badge--pending          { background: rgba(245, 158, 11, 0.15); color: var(--nexmp-warning); }
.nexmp-badge--awaiting_payment { background: rgba(59, 130, 246, 0.15); color: var(--nexmp-info); }
.nexmp-badge--paid             { background: rgba(16, 185, 129, 0.15); color: var(--nexmp-success); }
.nexmp-badge--processing       { background: rgba(139, 92, 246, 0.15); color: var(--nexmp-secondary); }
.nexmp-badge--completed        { background: rgba(16, 185, 129, 0.15); color: var(--nexmp-success); }
.nexmp-badge--cancelled        { background: rgba(107, 114, 128, 0.2); color: var(--nexmp-text-dim); }
.nexmp-badge--refunded         { background: rgba(107, 114, 128, 0.2); color: var(--nexmp-text-dim); }
.nexmp-badge--rejected         { background: rgba(239, 68, 68, 0.15); color: var(--nexmp-danger); }
.nexmp-badge--disputed         { background: rgba(239, 68, 68, 0.15); color: var(--nexmp-danger); }

/* ============ Wallet Hero ============ */
.nexmp-wallet-hero {
    background: var(--nexmp-gradient);
    border-radius: var(--nexmp-radius-lg);
    padding: 40px;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--nexmp-shadow-glow);
}

.nexmp-wallet-hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.nexmp-wallet-hero__label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    opacity: 0.85;
    margin-bottom: 12px;
    position: relative;
}

.nexmp-wallet-hero__amount {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.nexmp-wallet-hero__actions {
    display: flex;
    gap: 12px;
    position: relative;
    flex-wrap: wrap;
}

.nexmp-wallet-hero__actions .nexmp-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nexmp-wallet-hero__actions .nexmp-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ============ Top-up ============ */
.nexmp-topup__layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .nexmp-topup__layout { grid-template-columns: 1fr; }
}

.nexmp-topup__aside {
    background: var(--nexmp-bg-card);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    padding: 24px;
}

.nexmp-input-prefix {
    position: relative;
}

.nexmp-input-prefix::before {
    content: attr(data-prefix);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nexmp-text-muted);
    font-weight: 600;
    pointer-events: none;
}

.nexmp-input-prefix input {
    padding-left: 32px;
    font-size: 1.25rem;
    font-weight: 600;
}

.nexmp-steps {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nexmp-steps li {
    display: flex;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--nexmp-text);
}

.nexmp-steps__num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--nexmp-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* ============ Auth ============ */
.nexmp-auth {
    max-width: 440px;
    margin: 40px auto;
}

.nexmp-auth__card {
    background: var(--nexmp-bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius-lg);
    padding: 40px;
    box-shadow: var(--nexmp-shadow);
}

.nexmp-auth__brand {
    text-align: center;
    margin-bottom: 32px;
}

.nexmp-auth__brand h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.nexmp-auth__brand p { color: var(--nexmp-text-muted); }

.nexmp-auth__foot {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--nexmp-border);
    font-size: 0.9375rem;
    color: var(--nexmp-text-muted);
}

.nexmp-auth .login-username,
.nexmp-auth .login-password,
.nexmp-auth .login-remember,
.nexmp-auth .login-submit { margin-bottom: 16px; }

.nexmp-auth input[type="text"],
.nexmp-auth input[type="password"],
.nexmp-auth input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--nexmp-border);
    color: var(--nexmp-text);
    border-radius: var(--nexmp-radius-sm);
    font-size: 0.9375rem;
    outline: none;
}

.nexmp-auth input:focus { border-color: var(--nexmp-primary); }

.nexmp-auth .login-submit .button,
.nexmp-auth .login-submit input[type="submit"] {
    width: 100%;
    padding: 12px 24px;
    background: var(--nexmp-gradient);
    color: #fff;
    border: 0;
    border-radius: var(--nexmp-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 14px -4px rgba(var(--nexmp-primary-rgb), 0.5);
}

/* ============ Single Product ============ */
.nexmp-single__layout {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .nexmp-single__layout { grid-template-columns: 1fr; }
}

.nexmp-single__gallery {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(var(--nexmp-primary-rgb), 0.15) 0%, rgba(var(--nexmp-primary-rgb), 0.05) 100%);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nexmp-secondary);
    position: relative;
    overflow: hidden;
}

.nexmp-single__gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.nexmp-single__gallery svg { width: 160px; height: 160px; }

.nexmp-single__info { display: flex; flex-direction: column; gap: 16px; }
.nexmp-single__cat { font-size: 0.875rem; color: var(--nexmp-secondary); text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; }
.nexmp-single__title { font-size: 2.25rem; margin: 0; line-height: 1.2; }

.nexmp-single__price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--nexmp-border);
    border-bottom: 1px solid var(--nexmp-border);
}

.nexmp-single__price .nexmp-price-now { font-size: 2rem; }
.nexmp-single__price .nexmp-price-old { font-size: 1.125rem; }

.nexmp-single__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nexmp-single__meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--nexmp-radius);
    padding: 20px;
}

.nexmp-single__meta-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--nexmp-border);
    font-size: 0.9375rem;
}

.nexmp-single__meta-list li:last-child { border-bottom: 0; }
.nexmp-single__meta-list strong { color: #fff; }

.nexmp-single__desc,
.nexmp-single__reviews {
    background: var(--nexmp-bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    padding: 32px;
    margin-bottom: 20px;
}

.nexmp-prose { color: var(--nexmp-text); line-height: 1.7; }
.nexmp-prose p { margin: 0 0 1em; }
.nexmp-prose h2, .nexmp-prose h3 { margin: 1.5em 0 0.5em; }

.nexmp-review {
    padding: 16px 0;
    border-bottom: 1px solid var(--nexmp-border);
}

.nexmp-review:last-child { border-bottom: 0; }

.nexmp-review__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 12px;
    flex-wrap: wrap;
}

.nexmp-review__head strong { color: #fff; }
.nexmp-review__head time { font-size: 0.8125rem; color: var(--nexmp-text-muted); }

/* ============ Breadcrumbs ============ */
.nexmp-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: var(--nexmp-text-muted);
    flex-wrap: wrap;
}

.nexmp-breadcrumbs a { color: var(--nexmp-text-muted); }
.nexmp-breadcrumbs a:hover { color: var(--nexmp-accent); }
.nexmp-breadcrumbs span:not(.sep) { color: #fff; }

/* ============ Search Results ============ */
.nexmp-search-results {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--nexmp-bg-elev);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    margin-top: 8px;
    box-shadow: var(--nexmp-shadow);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.nexmp-search-results.is-open { display: block; }

.nexmp-search-results a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--nexmp-text);
    border-bottom: 1px solid var(--nexmp-border);
    transition: var(--nexmp-transition);
}

.nexmp-search-results a:last-child { border-bottom: 0; }
.nexmp-search-results a:hover { background: rgba(var(--nexmp-primary-rgb), 0.1); }

.nexmp-search-results__icon {
    width: 40px; height: 40px;
    background: rgba(var(--nexmp-primary-rgb), 0.1);
    border-radius: var(--nexmp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nexmp-secondary);
    flex-shrink: 0;
}

.nexmp-search-results__body { flex: 1; min-width: 0; }
.nexmp-search-results__title { font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nexmp-search-results__price { font-size: 0.875rem; color: var(--nexmp-secondary); font-weight: 600; }

.nexmp-searchbar {
    position: relative;
    max-width: 640px;
    margin: 0 auto 32px;
}

.nexmp-searchbar input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: var(--nexmp-bg-card);
    border: 1px solid var(--nexmp-border);
    color: var(--nexmp-text);
    border-radius: 999px;
    font-size: 1rem;
    outline: none;
}

.nexmp-searchbar input:focus { border-color: var(--nexmp-primary); }

.nexmp-searchbar__icon {
    position: absolute;
    left: 18px; top: 50%;
    transform: translateY(-50%);
    color: var(--nexmp-text-muted);
}

/* ============ Category Grid ============ */
.nexmp-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.nexmp-cat-card {
    background: var(--nexmp-bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
    padding: 24px;
    text-align: center;
    color: var(--nexmp-text);
    transition: var(--nexmp-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nexmp-cat-card:hover {
    transform: translateY(-4px);
    border-color: var(--nexmp-border-hover);
    color: var(--nexmp-accent);
    box-shadow: var(--nexmp-shadow-glow);
}

.nexmp-cat-card__icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(var(--nexmp-primary-rgb), 0.2), rgba(var(--nexmp-primary-rgb), 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nexmp-secondary);
}

.nexmp-cat-card__name { font-weight: 600; color: #fff; }
.nexmp-cat-card__count { font-size: 0.8125rem; color: var(--nexmp-text-muted); }

/* ============ Utilities ============ */
.nexmp-mt-0 { margin-top: 0 !important; }
.nexmp-mt-1 { margin-top: 8px !important; }
.nexmp-mt-2 { margin-top: 16px !important; }
.nexmp-mt-3 { margin-top: 24px !important; }
.nexmp-mb-0 { margin-bottom: 0 !important; }
.nexmp-mb-1 { margin-bottom: 8px !important; }
.nexmp-mb-2 { margin-bottom: 16px !important; }
.nexmp-mb-3 { margin-bottom: 24px !important; }
.nexmp-text-center { text-align: center; }
.nexmp-flex { display: flex; gap: 12px; }
.nexmp-flex-between { display: flex; justify-content: space-between; align-items: center; }

/* ============ Loading / Skeletons ============ */
.nexmp-loading {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(var(--nexmp-primary-rgb), 0.2);
    border-top-color: var(--nexmp-primary);
    border-radius: 50%;
    animation: nexmp-spin 0.8s linear infinite;
}

@keyframes nexmp-spin {
    to { transform: rotate(360deg); }
}

/* ============ Responsive ============ */
@media (max-width: 640px) {
    .nexmp { padding: 16px 12px; }
    .nexmp-hero { padding: 48px 20px; }
    .nexmp-single__title { font-size: 1.5rem; }
    .nexmp-wallet-hero { padding: 28px; }
    .nexmp-wallet-hero__amount { font-size: 2.25rem; }
    .nexmp-stat-card__value { font-size: 1.5rem; }
    .nexmp-single__desc,
    .nexmp-single__reviews { padding: 20px; }
}

/* ================================================================
   Supplementary styles: template alignments + variations + coupons
   + mobile navigation + related products + accessibility helpers
   ================================================================ */

/* ---------- Accessibility ---------- */
.nexmp-visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
.nexmp *:focus-visible {
	outline: 2px solid var(--nexmp-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ---------- Cart layout ---------- */
.nexmp-cart__items {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ---------- Checkout layout ---------- */
.nexmp-checkout__layout {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 24px;
	align-items: start;
}
.nexmp-checkout__main {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}
.nexmp-checkout__summary {
	background: var(--nexmp-bg-card);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--nexmp-border);
	border-radius: var(--nexmp-radius);
	padding: 24px;
	position: sticky;
	top: 24px;
}
.nexmp-checkout__summary h3 { margin-bottom: 16px; }
.nexmp-summary-list__title { flex: 1; padding-right: 12px; }
.nexmp-summary-list__price { color: #fff; font-weight: 600; white-space: nowrap; }
.nexmp-crypto-details { border-left: 3px solid var(--nexmp-primary); }
.nexmp-checkout__form { display: flex; flex-direction: column; gap: 12px; }
.nexmp-timer-field .nexmp-timer { display: inline-flex; }

/* ---------- Single product ---------- */
.nexmp-single-product { padding-top: 8px; }
.nexmp-single__icon {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
}
.nexmp-single__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-bottom: 8px;
}
.nexmp-rating__count { color: var(--nexmp-text-muted); font-size: 0.8125rem; margin-left: 4px; }

.nexmp-single__related {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--nexmp-border);
}
.nexmp-single__related > h2 { margin-bottom: 20px; }

/* ---------- Variations picker ---------- */
.nexmp-variations {
	border: 0;
	padding: 0;
	margin: 8px 0 16px;
}
.nexmp-variations__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
}
.nexmp-variation-option {
	position: relative;
	display: block;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--nexmp-border);
	border-radius: var(--nexmp-radius);
	padding: 14px 16px;
	transition: var(--nexmp-transition);
}
.nexmp-variation-option:hover { border-color: var(--nexmp-border-hover); }
.nexmp-variation-option input {
	position: absolute;
	opacity: 0;
	inset: 0;
	cursor: pointer;
	margin: 0;
}
.nexmp-variation-option:has(input:checked),
.nexmp-variation-option.is-selected {
	border-color: var(--nexmp-primary);
	background: rgba(var(--nexmp-primary-rgb), 0.12);
	box-shadow: 0 0 0 3px rgba(var(--nexmp-primary-rgb), 0.15);
}
.nexmp-variation-option__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	pointer-events: none;
}
.nexmp-variation-option__label { color: #fff; font-weight: 600; font-size: 0.9375rem; }
.nexmp-variation-option__price {
	background: var(--nexmp-gradient);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	font-weight: 700; font-size: 1.125rem;
}

/* ---------- Coupon input ---------- */
.nexmp-coupon .nexmp-copy > input {
	flex: 1;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--nexmp-border);
	color: var(--nexmp-text);
	border-top-left-radius: var(--nexmp-radius-sm);
	border-bottom-left-radius: var(--nexmp-radius-sm);
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	padding: 12px 14px;
	outline: none;
	font-size: 0.9375rem;
	min-width: 0;
}
.nexmp-coupon .nexmp-copy > input:focus { border-color: var(--nexmp-primary); }
.nexmp-coupon .nexmp-copy > input:disabled { color: var(--nexmp-accent); }

/* ---------- Mobile hamburger (dashboard) ---------- */
.nexmp-mobile-toggle {
	display: none;
	width: 42px; height: 42px;
	background: var(--nexmp-bg-card);
	border: 1px solid var(--nexmp-border);
	border-radius: 10px;
	position: relative;
	cursor: pointer;
	margin-bottom: 16px;
}
.nexmp-mobile-toggle span {
	position: absolute;
	left: 10px; right: 10px;
	height: 2px;
	background: var(--nexmp-text);
	transition: var(--nexmp-transition);
}
.nexmp-mobile-toggle span:nth-child(1) { top: 14px; }
.nexmp-mobile-toggle span:nth-child(2) { top: 20px; }
.nexmp-mobile-toggle span:nth-child(3) { top: 26px; }

body.nexmp-sidebar-open .nexmp-mobile-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nexmp-sidebar-open .nexmp-mobile-toggle span:nth-child(2) { opacity: 0; }
body.nexmp-sidebar-open .nexmp-mobile-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Loading spinner variants ---------- */
.nexmp-loading { vertical-align: middle; }
.nexmp-btn .nexmp-loading { border-color: rgba(255,255,255,0.35); border-top-color: #fff; }

/* ================================================================
   Responsive refinements (tablet + phone breakpoints)
   ================================================================ */

/* Tablet: 900px and below */
@media (max-width: 900px) {
	.nexmp-checkout__layout { grid-template-columns: 1fr; }
	.nexmp-checkout__summary { position: relative; top: 0; }

	.nexmp-single__layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.nexmp-single__gallery { max-width: 100%; aspect-ratio: 16/10; }
	.nexmp-single__gallery svg { width: 120px; height: 120px; }

	.nexmp-with-sidebar { grid-template-columns: 1fr; }

	/* Dashboard: sidebar becomes overlay drawer */
	.nexmp-mobile-toggle { display: block; }
	.nexmp-dashboard__sidebar {
		position: fixed;
		inset: 0 30% 0 0;
		max-width: 300px;
		z-index: 9999;
		border-radius: 0;
		border-right: 1px solid var(--nexmp-border);
		transform: translateX(-105%);
		transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
		overflow-y: auto;
		padding: 20px;
	}
	.nexmp-dashboard__sidebar.is-open { transform: translateX(0); }
	body.nexmp-sidebar-open::after {
		content: '';
		position: fixed; inset: 0;
		background: rgba(0, 0, 0, 0.6);
		z-index: 9998;
		backdrop-filter: blur(4px);
	}
	body.nexmp-sidebar-open { overflow: hidden; }
}

/* Phone: 640px and below */
@media (max-width: 640px) {
	.nexmp { padding: 16px 12px; }
	.nexmp-hero { padding: 40px 16px; border-radius: 14px; }
	.nexmp-hero h1 { font-size: 1.75rem; }
	.nexmp-hero p { font-size: 1rem; }

	.nexmp-page-title { font-size: 1.5rem; }
	.nexmp-section-title { font-size: 1.25rem; }

	.nexmp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.nexmp-card-product__icon svg { width: 40px; height: 40px; }
	.nexmp-card-product__body { padding: 12px; gap: 6px; }
	.nexmp-card-product__foot { padding: 10px 12px; }
	.nexmp-price-now { font-size: 1rem; }
	.nexmp-card-product__actions {
		display: flex;
		gap: 8px;
		padding: 0 12px 12px;
	}

	/* Cart layout collapses */
	.nexmp-cart-layout { grid-template-columns: 1fr; gap: 16px; }

	/* Checkout: reduce QR box */
	.nexmp-qr { flex-direction: column; align-items: stretch; gap: 16px; }
	.nexmp-qr__box { width: 100%; max-width: 200px; margin: 0 auto; }

	.nexmp-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
	.nexmp-toolbar select { width: 100%; }

	.nexmp-single__title { font-size: 1.5rem; }
	.nexmp-single__gallery svg { width: 96px; height: 96px; }

	.nexmp-variations__list { grid-template-columns: 1fr 1fr; }

	.nexmp-summary { padding: 20px; }
	.nexmp-checkout__summary { padding: 20px; }
	.nexmp-wallet-hero { padding: 24px; border-radius: 14px; }
	.nexmp-wallet-hero__amount { font-size: 2rem; }
	.nexmp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.nexmp-stat-card { padding: 14px; }
	.nexmp-stat-card__value { font-size: 1.375rem; }
	.nexmp-topup__layout { grid-template-columns: 1fr; }
	.nexmp-user-table, .nexmp-user-table thead, .nexmp-user-table tbody { font-size: 0.8125rem; }
	.nexmp-user-table th, .nexmp-user-table td { padding: 8px 10px; }

	.nexmp-single__actions { flex-direction: column; align-items: stretch; }
	.nexmp-single__actions .nexmp-btn { justify-content: center; }
}

/* Small phone: 480px and below */
@media (max-width: 480px) {
	.nexmp-cart-item {
		grid-template-columns: 60px 1fr;
		grid-template-areas:
			"icon info"
			"icon qty"
			"icon total"
			"remove remove";
		row-gap: 8px;
	}
	.nexmp-cart-item__icon { grid-area: icon; }
	.nexmp-cart-item__info { grid-area: info; }
	.nexmp-cart-item__qty { grid-area: qty; justify-self: start; }
	.nexmp-cart-item__total { grid-area: total; justify-self: start; }
	.nexmp-cart-item .nexmp-cart-remove { grid-area: remove; justify-self: end; margin-top: 4px; }

	.nexmp-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.nexmp-variations__list { grid-template-columns: 1fr; }
	.nexmp-stats-grid { grid-template-columns: 1fr; }
}

/* Ultra-narrow (360-390) */
@media (max-width: 400px) {
	.nexmp { padding: 12px 10px; }
	.nexmp-hero { padding: 32px 14px; }
	.nexmp-hero__search input { padding: 12px 16px 12px 44px; font-size: 0.9375rem; }
	.nexmp-hero__search-icon { left: 14px; }
	.nexmp-btn { padding: 10px 16px; font-size: 0.875rem; }
	.nexmp-btn-lg { padding: 12px 20px; }
}

/* Very wide (>=1600 keep desktop-first, cap width for readability) */
@media (min-width: 1600px) {
	.nexmp { max-width: 1440px; }
}

/* ================================================================
   SHOP PAGE — sidebar + product grid (desktop-first)
   ================================================================ */
.nexmp-shop {
	display: grid;
	grid-template-columns: minmax(240px, 22%) 1fr;
	gap: 28px;
	align-items: start;
	margin-top: 20px;
}

/* Mobile filter toggle (hidden on desktop) */
.nexmp-shop__filter-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: var(--nexmp-bg-card);
	border: 1px solid var(--nexmp-border);
	border-radius: 10px;
	color: var(--nexmp-text);
	cursor: pointer;
	font-weight: 600;
	position: relative;
	margin-bottom: 12px;
}
.nexmp-shop__filter-toggle-dot {
	position: absolute;
	top: 8px; right: 10px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--nexmp-primary);
}

/* Sidebar */
.nexmp-shop__sidebar {
	position: sticky;
	top: 20px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	scrollbar-width: thin;
}
.nexmp-shop__sidebar-inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-right: 8px;
}
.nexmp-shop__sidebar-header {
	display: none;              /* only shown on mobile drawer */
	justify-content: space-between;
	align-items: center;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--nexmp-border);
}
.nexmp-shop__sidebar-close {
	background: none;
	border: 0;
	color: var(--nexmp-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 10px;
}
.nexmp-shop__clear {
	display: block;
	text-align: center;
	padding: 8px;
	background: rgba(var(--nexmp-primary-rgb), 0.1);
	color: var(--nexmp-accent);
	border-radius: 8px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease;
}
.nexmp-shop__clear:hover { background: rgba(var(--nexmp-primary-rgb), 0.2); }

/* Sidebar widgets */
.nexmp-widget {
	background: var(--nexmp-bg-card);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--nexmp-border);
	border-radius: 14px;
	padding: 16px 18px;
}
.nexmp-widget__title {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nexmp-text-muted);
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--nexmp-border);
}
.nexmp-widget__muted { color: var(--nexmp-text-muted); font-size: 0.8125rem; margin: 0 0 12px; }

/* Sidebar search */
.nexmp-widget__search {
	position: relative;
	display: flex;
	align-items: center;
}
.nexmp-widget__search svg {
	position: absolute;
	left: 12px; top: 50%;
	transform: translateY(-50%);
	color: var(--nexmp-text-muted);
	pointer-events: none;
}
.nexmp-widget__search input {
	width: 100%;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--nexmp-border);
	color: var(--nexmp-text);
	border-radius: 8px;
	padding: 10px 12px 10px 34px;
	font-size: 0.875rem;
	outline: none;
	transition: border-color 0.15s ease;
}
.nexmp-widget__search input:focus { border-color: var(--nexmp-primary); }
.nexmp-widget__search .nexmp-search-results {
	position: absolute;
	top: calc(100% + 4px);
	left: 0; right: 0;
	z-index: 10;
}

/* Sidebar link list */
.nexmp-widget__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.nexmp-widget__list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 10px;
	color: var(--nexmp-text);
	text-decoration: none;
	border-radius: 8px;
	font-size: 0.875rem;
	transition: background 0.15s ease, color 0.15s ease;
}
.nexmp-widget__list a:hover {
	background: rgba(var(--nexmp-primary-rgb), 0.1);
	color: #fff;
}
.nexmp-widget__list a.is-active {
	background: rgba(var(--nexmp-primary-rgb), 0.15);
	color: var(--nexmp-accent);
	font-weight: 600;
}
.nexmp-widget__count {
	font-size: 0.6875rem;
	color: var(--nexmp-text-muted);
	background: rgba(255, 255, 255, 0.05);
	padding: 2px 8px;
	border-radius: 999px;
	font-weight: 600;
}
.nexmp-widget__list--quick a {
	gap: 10px;
	justify-content: flex-start;
}
.nexmp-widget__list--quick svg { flex-shrink: 0; opacity: 0.7; }

/* Price range widget */
.nexmp-widget__price {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.nexmp-widget__price-inputs {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 6px;
}
.nexmp-widget__price-inputs input {
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--nexmp-border);
	color: var(--nexmp-text);
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 0.875rem;
	outline: none;
	width: 100%;
	min-width: 0;
}
.nexmp-widget__price-inputs input:focus { border-color: var(--nexmp-primary); }
.nexmp-widget__price-inputs span { color: var(--nexmp-text-muted); }

/* Wallet widget */
.nexmp-widget--wallet {
	background: linear-gradient(135deg, rgba(var(--nexmp-primary-rgb), 0.18), rgba(var(--nexmp-primary-rgb), 0.05));
	border-color: rgba(var(--nexmp-primary-rgb), 0.3);
}
.nexmp-widget__wallet-amount {
	font-size: 1.5rem;
	font-weight: 800;
	background: var(--nexmp-gradient);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	margin-bottom: 12px;
}
.nexmp-widget__wallet-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Featured/popular product mini-list */
.nexmp-widget__products {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.nexmp-widget__products a {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 8px;
	border-radius: 10px;
	text-decoration: none;
	transition: background 0.15s ease;
}
.nexmp-widget__products a:hover { background: rgba(var(--nexmp-primary-rgb), 0.08); }
.nexmp-widget__products-icon {
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(var(--nexmp-primary-rgb), 0.1);
	border-radius: 8px;
	flex-shrink: 0;
	color: var(--nexmp-accent);
}
.nexmp-widget__products-body {
	display: flex; flex-direction: column;
	min-width: 0; flex: 1;
}
.nexmp-widget__products-title {
	color: var(--nexmp-text);
	font-size: 0.8125rem;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nexmp-widget__products-price {
	font-size: 0.75rem;
	color: var(--nexmp-accent);
	font-weight: 700;
}

/* ---------- Main area ---------- */
.nexmp-shop__main { min-width: 0; }
.nexmp-shop__toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: var(--nexmp-bg-card);
	border: 1px solid var(--nexmp-border);
	border-radius: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}
.nexmp-shop__count { color: var(--nexmp-text-muted); font-size: 0.875rem; }
.nexmp-shop__count strong { color: #fff; font-weight: 700; }
.nexmp-shop__sort { display: flex; align-items: center; gap: 8px; }
.nexmp-shop__sort label { color: var(--nexmp-text-muted); font-size: 0.875rem; }
.nexmp-shop__sort select {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--nexmp-border);
	color: var(--nexmp-text);
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 0.875rem;
	outline: none;
	cursor: pointer;
}

/* 4-column product grid on desktop */
.nexmp-shop__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* ================================================================
   PRODUCT CARD (redesigned — compact, tighter, favorite top-right)
   ================================================================ */
.nexmp-pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--nexmp-bg-card);
	border: 1px solid var(--nexmp-border);
	border-radius: 14px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	will-change: transform;
}
.nexmp-pcard:hover {
	transform: translateY(-3px);
	border-color: var(--nexmp-border-hover);
	box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}

.nexmp-pcard__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(var(--nexmp-primary-rgb), 0.08), rgba(var(--nexmp-primary-rgb), 0.02));
	aspect-ratio: 1 / 1;
	overflow: hidden;
	text-decoration: none;
}
.nexmp-pcard__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.nexmp-pcard__icon {
	color: var(--nexmp-accent);
	opacity: 0.85;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%; height: 100%;
}
.nexmp-pcard__icon svg {
	width: 42%; height: 42%;
	max-width: 96px; max-height: 96px;
}

/* Favorite — top-right */
.nexmp-pcard__fav {
	position: absolute;
	top: 10px; right: 10px;
	z-index: 3;
	width: 32px; height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	padding: 0;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.nexmp-pcard__fav:hover {
	background: rgba(0, 0, 0, 0.75);
	transform: scale(1.05);
}
.nexmp-pcard__fav.is-on {
	background: var(--nexmp-primary);
	color: #fff;
	border-color: var(--nexmp-primary);
}
.nexmp-pcard__fav svg { display: block; }

/* Corner badges */
.nexmp-pcard__badge {
	position: absolute;
	top: 10px; left: 10px;
	background: var(--nexmp-primary);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	z-index: 2;
}
.nexmp-pcard__badge--sale {
	top: 40px; left: 10px;
	background: #ef4444;
}

/* Body */
.nexmp-pcard__body {
	padding: 12px 14px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.nexmp-pcard__cat {
	font-size: 0.6875rem;
	color: var(--nexmp-accent);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
}
.nexmp-pcard__title {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
	color: var(--nexmp-text);
	/* Clamp to two lines to keep card height uniform. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}
.nexmp-pcard__title a { color: inherit; text-decoration: none; }
.nexmp-pcard__title a:hover { color: var(--nexmp-accent); }
.nexmp-pcard__rating {
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 0.75rem;
	color: var(--nexmp-text-muted);
}
.nexmp-pcard__rating .nexmp-star { color: var(--nexmp-border); }
.nexmp-pcard__rating .nexmp-star.is-on { color: #fbbf24; }
.nexmp-pcard__rating-count { margin-left: 4px; }

/* Bottom row: price + cart button same line */
.nexmp-pcard__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	padding-top: 10px;
	border-top: 1px solid var(--nexmp-border);
}
.nexmp-pcard__price {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	min-width: 0;
}
.nexmp-pcard__price-from {
	font-size: 0.625rem;
	color: var(--nexmp-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.nexmp-pcard__price-old {
	font-size: 0.75rem;
	color: var(--nexmp-text-muted);
	text-decoration: line-through;
}
.nexmp-pcard__price-now {
	font-size: 1.0625rem;
	font-weight: 800;
	background: var(--nexmp-gradient);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	white-space: nowrap;
}

/* Small square cart button */
.nexmp-pcard__btn {
	flex-shrink: 0;
	width: 36px; height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--nexmp-gradient);
	color: #fff;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	padding: 0;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
	box-shadow: 0 4px 12px -4px rgba(var(--nexmp-primary-rgb), 0.6);
}
.nexmp-pcard__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px -4px rgba(var(--nexmp-primary-rgb), 0.7);
	color: #fff;
}
.nexmp-pcard__btn:disabled { opacity: 0.6; cursor: wait; }
.nexmp-pcard__btn svg { display: block; }

/* ================================================================
   Responsive breakpoints for the shop
   ================================================================ */

/* Larger desktops keep 4 columns */
@media (max-width: 1280px) {
	.nexmp-shop { grid-template-columns: minmax(220px, 24%) 1fr; gap: 24px; }
	.nexmp-shop__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* Tablets: sidebar becomes off-canvas */
@media (max-width: 1024px) {
	.nexmp-shop { grid-template-columns: 1fr; }
	.nexmp-shop__filter-toggle { display: inline-flex; }
	.nexmp-shop__sidebar {
		position: fixed;
		inset: 0 20% 0 0;
		max-width: 340px;
		z-index: 9999;
		max-height: 100vh;
		background: #12081f;
		padding: 20px;
		border-right: 1px solid var(--nexmp-border);
		border-radius: 0;
		transform: translateX(-105%);
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: 6px 0 40px -10px rgba(0, 0, 0, 0.6);
	}
	.nexmp-shop__sidebar.is-open { transform: translateX(0); }
	.nexmp-shop__sidebar-header { display: flex; }
	body.nexmp-filter-open::before {
		content: '';
		position: fixed; inset: 0;
		background: rgba(0, 0, 0, 0.65);
		z-index: 9998;
		backdrop-filter: blur(4px);
	}
	body.nexmp-filter-open { overflow: hidden; }

	.nexmp-shop__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Small tablets / large phones */
@media (max-width: 768px) {
	.nexmp-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.nexmp-pcard__body { padding: 10px 12px 12px; }
	.nexmp-pcard__title { font-size: 0.875rem; }
	.nexmp-pcard__price-now { font-size: 1rem; }
	.nexmp-pcard__btn { width: 34px; height: 34px; }
}

/* Phones */
@media (max-width: 480px) {
	.nexmp-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.nexmp-shop__toolbar { padding: 10px 12px; }
	.nexmp-pcard__badge { font-size: 0.625rem; padding: 2px 8px; }
	.nexmp-pcard__fav { top: 8px; right: 8px; width: 28px; height: 28px; }
	.nexmp-pcard__body { padding: 10px; gap: 4px; }
	.nexmp-pcard__title { font-size: 0.8125rem; min-height: 2.5em; }
	.nexmp-pcard__foot { padding-top: 8px; }
}

/* Very small phones — stay at 2 columns (same fix as .nexmp-grid above).
 * This rule used to collapse to a single column below 400px, which is
 * exactly the CSS width bucket most Android phones report (360-393px),
 * so Android showed 1 column here while iPhone (which mostly falls in
 * the 375-430px bucket but was using the already-fixed .nexmp-grid
 * class elsewhere) looked fine. repeat(2, minmax(0, 1fr)) keeps every
 * phone, Android included, at a 2x2 product grid. */
@media (max-width: 400px) {
	.nexmp-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.nexmp-pcard__title { min-height: 0; }
}

/* ================================================================
   SINGLE PRODUCT PAGE — polished layout
   ================================================================ */

.nexmp-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 40px;
	align-items: start;
	margin-top: 12px;
}

/* Gallery */
.nexmp-single__gallery {
	position: relative;
	aspect-ratio: 1 / 1;
	max-width: 100%;
	background: linear-gradient(135deg,
		rgba(var(--nexmp-primary-rgb), 0.12),
		rgba(var(--nexmp-primary-rgb), 0.03));
	border: 1px solid var(--nexmp-border);
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.nexmp-single__gallery img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.nexmp-single__icon {
	color: var(--nexmp-accent);
	opacity: 0.85;
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
}
.nexmp-single__icon svg {
	width: 32%; height: 32%;
	max-width: 140px; max-height: 140px;
}
.nexmp-single__badge {
	position: absolute;
	top: 14px; left: 14px;
	background: var(--nexmp-primary);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	box-shadow: 0 4px 12px -4px rgba(var(--nexmp-primary-rgb), 0.5);
}
.nexmp-single__badge--sale {
	top: 48px;
	background: #ef4444;
}

/* Info column */
.nexmp-single__info {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}
.nexmp-single__cat {
	display: inline-block;
	align-self: flex-start;
	font-size: 0.6875rem;
	color: var(--nexmp-accent);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	background: rgba(var(--nexmp-primary-rgb), 0.12);
	padding: 4px 10px;
	border-radius: 999px;
}
.nexmp-single__title {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.15;
	margin: 0;
	color: #fff;
	letter-spacing: -0.01em;
}
.nexmp-single__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	color: var(--nexmp-text-muted);
	font-size: 0.875rem;
}
.nexmp-single__meta .nexmp-rating { display: flex; align-items: center; gap: 2px; }
.nexmp-single__meta .nexmp-star { color: var(--nexmp-border); }
.nexmp-single__meta .nexmp-star.is-on { color: #fbbf24; }
.nexmp-single__excerpt {
	color: var(--nexmp-text-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
	margin: 0;
}

/* Price */
.nexmp-single__price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 16px 20px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--nexmp-border);
	border-radius: 14px;
}
.nexmp-single__price .nexmp-price-old {
	font-size: 1rem;
	color: var(--nexmp-text-muted);
	text-decoration: line-through;
}
.nexmp-single__price .nexmp-price-now {
	font-size: 2.25rem;
	font-weight: 800;
	background: var(--nexmp-gradient);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	line-height: 1.1;
}

/* Variations */
.nexmp-variations {
	border: 0;
	padding: 0;
	margin: 0;
}
.nexmp-variations legend {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nexmp-text-muted);
	margin-bottom: 10px;
	padding: 0;
}

/* Actions row */
.nexmp-single__actions {
	display: flex;
	gap: 12px;
	align-items: stretch;
}
.nexmp-single__actions .nexmp-btn-lg {
	padding: 14px 28px;
	font-size: 1rem;
	font-weight: 700;
}
.nexmp-single__actions .nexmp-buy-now {
	flex: 2;
	justify-content: center;
	background: var(--nexmp-gradient);
	box-shadow: 0 8px 24px -8px rgba(var(--nexmp-primary-rgb), 0.55);
}
.nexmp-single__actions .nexmp-buy-now:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px -8px rgba(var(--nexmp-primary-rgb), 0.65);
}
.nexmp-single__actions .nexmp-btn-ghost {
	flex: 1;
	justify-content: center;
	padding: 14px 20px;
	font-size: 0.9375rem;
}
.nexmp-single__actions .nexmp-btn-icon {
	width: 52px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--nexmp-border);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--nexmp-text);
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nexmp-single__actions .nexmp-btn-icon:hover {
	background: rgba(var(--nexmp-primary-rgb), 0.15);
	border-color: var(--nexmp-primary);
	color: #fff;
}
.nexmp-single__actions .nexmp-btn-icon.is-on {
	background: var(--nexmp-primary);
	color: #fff;
	border-color: var(--nexmp-primary);
}

/* Trust signals */
.nexmp-single__trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 16px;
	background: rgba(var(--nexmp-primary-rgb), 0.06);
	border: 1px solid rgba(var(--nexmp-primary-rgb), 0.15);
	border-radius: 12px;
}
.nexmp-single__trust-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.nexmp-single__trust-item svg {
	color: var(--nexmp-accent);
	flex-shrink: 0;
	margin-top: 2px;
}
.nexmp-single__trust-item strong {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #fff;
	line-height: 1.3;
}
.nexmp-single__trust-item span {
	display: block;
	font-size: 0.75rem;
	line-height: 1.4;
	margin-top: 2px;
}

/* Meta list — 2-col grid */
.nexmp-single__meta-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--nexmp-border);
}
.nexmp-single__meta-list > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.nexmp-single__meta-list strong {
	color: #fff;
	font-weight: 600;
	font-size: 0.875rem;
}
.nexmp-single__meta-list .nexmp-muted {
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Description / Reviews sections */
.nexmp-single__desc,
.nexmp-single__reviews {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--nexmp-border);
}
.nexmp-single__desc h2,
.nexmp-single__reviews h2 {
	font-size: 1.375rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 16px;
}
.nexmp-prose {
	color: var(--nexmp-text);
	line-height: 1.7;
	font-size: 0.9375rem;
}
.nexmp-prose p { margin: 0 0 1em; }
.nexmp-prose h2, .nexmp-prose h3 { color: #fff; margin: 1.5em 0 0.5em; }
.nexmp-prose ul, .nexmp-prose ol { padding-left: 1.5em; margin: 0 0 1em; }
.nexmp-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.nexmp-prose a { color: var(--nexmp-accent); }

.nexmp-review {
	padding: 16px 0;
	border-bottom: 1px solid var(--nexmp-border);
}
.nexmp-review:last-child { border-bottom: 0; }
.nexmp-review__head {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 8px;
}
.nexmp-review__head img { border-radius: 50%; }
.nexmp-review p { margin: 4px 0 0; color: var(--nexmp-text); font-size: 0.9375rem; line-height: 1.5; }

/* Breadcrumbs polish */
.nexmp-breadcrumbs {
	display: flex;
	gap: 8px;
	align-items: center;
	color: var(--nexmp-text-muted);
	font-size: 0.8125rem;
	padding: 8px 0 16px;
	flex-wrap: wrap;
}
.nexmp-breadcrumbs a { color: var(--nexmp-text-muted); text-decoration: none; }
.nexmp-breadcrumbs a:hover { color: var(--nexmp-accent); }
.nexmp-breadcrumbs .is-current { color: #fff; }
.nexmp-breadcrumbs span:not(.is-current) { opacity: 0.4; }

/* Responsive */
@media (max-width: 900px) {
	.nexmp-single__layout { grid-template-columns: 1fr; gap: 24px; }
	.nexmp-single__title { font-size: 1.625rem; }
	.nexmp-single__price .nexmp-price-now { font-size: 1.875rem; }
	.nexmp-single__trust { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.nexmp-single__actions { flex-wrap: wrap; }
	.nexmp-single__actions .nexmp-buy-now { flex: 1 1 100%; }
	.nexmp-single__actions .nexmp-btn-ghost { flex: 1 1 calc(100% - 64px); }
	.nexmp-single__actions .nexmp-btn-icon { flex-shrink: 0; }
	.nexmp-single__title { font-size: 1.375rem; }
	.nexmp-single__price { padding: 14px 16px; }
	.nexmp-single__price .nexmp-price-now { font-size: 1.625rem; }
	.nexmp-single__meta-list { grid-template-columns: 1fr; }
	.nexmp-single__desc h2, .nexmp-single__reviews h2 { font-size: 1.125rem; }
}

/* ============================================================
 * Floating cart pill (top-right corner)
 * Appears the moment the cart goes from 0 → 1+ items and stays
 * pinned as the user browses. Clicking it goes to the cart page.
 * ============================================================ */
.nexmp-float-cart {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99998;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 10px 12px;
    background: var(--nexmp-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    box-shadow:
        0 12px 28px -8px rgba(var(--nexmp-primary-rgb), 0.55),
        0 4px 12px -4px rgba(0, 0, 0, 0.35);
    font-weight: 700;
    letter-spacing: 0.01em;
    transform: translateY(-8px) scale(0.92);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.2s ease-out,
                box-shadow 0.2s ease-out;
}
.nexmp-float-cart.is-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.nexmp-float-cart:hover {
    color: #fff;
    box-shadow:
        0 16px 34px -8px rgba(var(--nexmp-primary-rgb), 0.65),
        0 6px 14px -4px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px) scale(1.02);
}
.nexmp-float-cart:active { transform: translateY(0) scale(0.98); }
.nexmp-float-cart__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}
.nexmp-float-cart__icon svg { display: block; }
.nexmp-float-cart__count {
    font-size: 0.95rem;
    line-height: 1;
    padding: 2px 6px;
    background: #fff;
    color: var(--nexmp-primary);
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
}
/* Small pop animation whenever the count changes. Restarted by JS by
 * removing + re-adding the class after a forced reflow. */
@keyframes nexmp-float-cart-pop {
    0%   { transform: scale(1);   }
    30%  { transform: scale(1.14);}
    60%  { transform: scale(0.96);}
    100% { transform: scale(1);   }
}
.nexmp-float-cart.is-pop.is-visible .nexmp-float-cart__icon {
    animation: nexmp-float-cart-pop 0.42s ease-out;
}

@media (max-width: 640px) {
    .nexmp-float-cart {
        top: auto;
        bottom: 16px;
        right: 16px;
        padding: 10px 12px;
    }
}

/* ============================================================
 * Checkout — order number preview line ("Order No. #00234")
 * ============================================================ */
.nexmp-checkout__ordernum {
    margin: -8px 0 20px;
    color: var(--nexmp-text-muted);
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
}
.nexmp-checkout__ordernum strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--nexmp-accent);
    font-weight: 700;
    background: rgba(var(--nexmp-primary-rgb), 0.12);
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 4px;
}

/* Give the checkout QR-box icon slot a natural centered layout so the
 * icon we now swap on radio change sits perfectly regardless of size. */
.nexmp-qr__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nexmp-primary);
    margin-bottom: 8px;
}
.nexmp-qr__icon svg { display: block; }

/* ============================================================
 * Review form — used on the single product page AND by the
 * [nexmp_reviews show_form="1"] shortcode. Same partial, one
 * source of truth for styles.
 * ============================================================ */
.nexmp-review-form {
    margin-top: 28px;
    padding: 22px 24px;
    background: rgba(var(--nexmp-primary-rgb), 0.05);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
}
.nexmp-review-form__heading {
    margin: 0 0 4px;
    font-size: 1.15rem;
    color: #fff;
}
.nexmp-review-form__note {
    margin: 0 0 16px;
    font-size: 0.875rem;
}
.nexmp-review-form__row { margin-bottom: 14px; }
.nexmp-review-form__row:last-child { margin-bottom: 0; }
.nexmp-review-form__label {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}
.nexmp-review-form__input {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--nexmp-border);
    color: var(--nexmp-text);
    border-radius: var(--nexmp-radius-sm);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--nexmp-transition);
}
.nexmp-review-form__input:focus {
    outline: none;
    border-color: var(--nexmp-primary);
    box-shadow: 0 0 0 3px rgba(var(--nexmp-primary-rgb), 0.18);
}
/* White placeholders on the review form. Each vendor prefix has to be
 * in its own rule — browsers throw the entire selector out on unknown
 * pseudo-elements, so grouping them would lose valid ones. Opacity is
 * bumped for Firefox where placeholders otherwise render half-faded. */
.nexmp-review-form__input::placeholder            { color: #ffffff; opacity: 0.85; }
.nexmp-review-form__input::-webkit-input-placeholder { color: #ffffff; opacity: 0.85; }
.nexmp-review-form__input::-moz-placeholder       { color: #ffffff; opacity: 0.85; }
.nexmp-review-form__input:-ms-input-placeholder   { color: #ffffff; opacity: 0.85; }
.nexmp-review-form__input::-ms-input-placeholder  { color: #ffffff; opacity: 0.85; }
.nexmp-review-form__textarea {
    resize: vertical;
    min-height: 100px;
}
.nexmp-review-form__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.nexmp-review-form__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.nexmp-review-form__msg {
    font-size: 0.875rem;
    min-height: 1em;
}
.nexmp-review-form__msg.is-ok    { color: var(--nexmp-success); }
.nexmp-review-form__msg.is-error { color: var(--nexmp-danger);  }

/* Star picker: 5 buttons, each toggles the golden fill on click.
 * Hover cascades from left → right so the user can preview the
 * rating they're about to select. */
.nexmp-star-picker {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nexmp-star-picker__btn {
    background: transparent;
    border: 0;
    padding: 4px;
    cursor: pointer;
    color: var(--nexmp-text-dim);
    line-height: 0;
    transition: color 0.15s ease, transform 0.15s ease;
}
.nexmp-star-picker__btn:hover { transform: scale(1.1); }
.nexmp-star-picker__btn.is-on {
    color: #f59e0b;
}
.nexmp-star-picker__btn.is-on svg { fill: currentColor; }

/* On hover: dim every star first, then gild whichever star is being
 * hovered plus every earlier sibling (via :has), so the user sees a
 * live preview of the rating they'd pick. Falls back cleanly to the
 * .is-on state in browsers without :has support. */
.nexmp-star-picker:hover .nexmp-star-picker__btn                                  { color: var(--nexmp-text-dim); }
.nexmp-star-picker:hover .nexmp-star-picker__btn:hover                            { color: #f59e0b; }
.nexmp-star-picker:hover .nexmp-star-picker__btn:has(~ .nexmp-star-picker__btn:hover) { color: #f59e0b; }

/* Small avatar circle for guest reviews (no gravatar). */
.nexmp-review__avatar-guest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(var(--nexmp-primary-rgb), 0.18);
    color: var(--nexmp-accent);
}
.nexmp-review__title {
    display: block;
    margin: 6px 0 2px;
    color: #fff;
}

/* Admin-side helper (used by reviews list) — small pill next to
 * "Guest" tagged reviewers. */
.nexmp-admin-pill {
    display: inline-block;
    padding: 1px 8px;
    margin-left: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(139, 92, 246, 0.15);
    color: #6d28d9;
    border-radius: 999px;
    font-weight: 600;
}

/* ============================================================
 * v1.2.1 — Checkout / top-up redesign
 *
 * New surface elements introduced when the checkout flow was
 * rebuilt around "Confirm Your Order → Method → Send Payment"
 * with auto-verification. Keeping the block scoped to its own
 * comment block so it's easy to lift/tweak later.
 * ============================================================ */

/* Required-field asterisk on the checkout email input. Colored
 * with the danger token so it reads as "you have to fill this in"
 * without shouting at low-vision users the way ALL-CAPS would. */
.nexmp-required {
    color: var(--nexmp-danger);
    font-weight: 700;
    margin-left: 2px;
}

/* Sub-section inside the checkout form. The methods list used to
 * live in its own card panel; folding it into the "Confirm Your
 * Order" card meant we needed a divider rule so the two sections
 * still read as separate steps. */
.nexmp-checkout__methods {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--nexmp-border);
}
.nexmp-checkout__methods h3 { margin-top: 0; }

/* Real QR image (rendered by JS once a coin is picked). The
 * white background + subtle shadow mimic how real wallet apps
 * frame QR codes so camera autofocus locks on cleanly. */
.nexmp-qr__img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 200px;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Placeholder shown before a coin is picked, and again as a
 * graceful fallback if the QR endpoint ever fails to load. */
.nexmp-qr__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6b7280;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.35;
    padding: 8px;
}
.nexmp-qr__placeholder svg { color: var(--nexmp-primary); }
.nexmp-qr__placeholder strong {
    color: #111827;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* Two little "Payment Status" / "Required Confirmations" chips
 * that sit side by side below the amount fields. Wraps on narrow
 * viewports so mobile never has to horizontal-scroll. */
.nexmp-crypto-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: flex-start;
}
.nexmp-crypto-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    flex: 1;
}
.nexmp-crypto-meta__label {
    font-size: 0.75rem;
    color: var(--nexmp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}
.nexmp-crypto-meta__value {
    font-size: 0.9375rem;
    color: var(--nexmp-text);
    font-weight: 600;
}

/* Payment status pill with a colored dot that reflects state.
 * Amber = waiting, green = confirmed, red = failed. The dot
 * pulses while waiting so it's obvious the page is actively
 * polling, not frozen. */
.nexmp-payment-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: var(--nexmp-warning);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8125rem;
}
.nexmp-payment-status__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: nexmp-pulse 1.6s ease-in-out infinite;
}
.nexmp-payment-status.is-confirmed {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--nexmp-success);
}
.nexmp-payment-status.is-confirmed .nexmp-payment-status__dot {
    animation: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
.nexmp-payment-status.is-failed {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--nexmp-danger);
}
.nexmp-payment-status.is-failed .nexmp-payment-status__dot { animation: none; }

@keyframes nexmp-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(245, 158, 11, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0   rgba(245, 158, 11, 0); }
}

/* When the crypto details panel is embedded inside the checkout
 * form (rather than living as its own card), tone down the
 * outer padding so it reads as a sub-section rather than a
 * second card floating inside the first. */
.nexmp-checkout__form .nexmp-crypto-details {
    margin: 24px 0;
    padding: 20px;
    background: rgba(var(--nexmp-primary-rgb), 0.04);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
}
.nexmp-checkout__form .nexmp-crypto-details h3 { margin-top: 0; }

/* Top-up form: the embedded details panel needs the same softer
 * treatment as the checkout one. */
.nexmp-topup__form .nexmp-crypto-details {
    margin: 20px 0;
    padding: 20px;
    background: rgba(var(--nexmp-primary-rgb), 0.04);
    border: 1px solid var(--nexmp-border);
    border-radius: var(--nexmp-radius);
}
.nexmp-topup__form .nexmp-crypto-details h4 {
    margin: 0 0 6px;
    font-size: 1.0625rem;
}
