/* Aura Mods — Premium FiveM Store UI */

:root {
    --nm-bg: #08080a;
    --nm-surface: #111114;
    --nm-card: #16161a;
    --nm-elevated: #1c1c21;
    --nm-line: rgba(255, 255, 255, 0.08);
    --nm-line-strong: rgba(255, 255, 255, 0.14);
    --nm-text: #f4f4f5;
    --nm-muted: #a1a1aa;
    --nm-faint: #71717a;
    --nm-pink: #ec4899;
    --nm-pink-soft: #f9a8d4;
    --nm-lav: #a78bfa;
    --nm-grad: linear-gradient(135deg, #ec4899 0%, #a78bfa 100%);
    --nm-r: 14px;
    --nm-r-lg: 20px;
    --nm-font: 'Inter', system-ui, sans-serif;
    --nm-display: 'Outfit', system-ui, sans-serif;
    --nm-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    --nm-header-h: 76px;
    --nm-cur-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23ec4899' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") 10 10, auto;
    --nm-cur-paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cellipse fill='%23f9a8d4' cx='6' cy='8' rx='2.2' ry='2.8'/%3E%3Cellipse fill='%23f9a8d4' cx='10' cy='6' rx='2' ry='2.6'/%3E%3Cellipse fill='%23f9a8d4' cx='14' cy='6' rx='2' ry='2.6'/%3E%3Cellipse fill='%23f9a8d4' cx='18' cy='8' rx='2.2' ry='2.8'/%3E%3Cpath fill='%23ec4899' d='M7 11c0 3.5 2.5 7 5 7s5-3.5 5-7c0-2-1.5-3.5-5-3.5S7 9 7 11z'/%3E%3C/svg%3E") 12 18, pointer;
    --tebex-legal-footer-background-color: #06050a;
    --tebex-legal-footer-text-color: #7a7388;
    --tebex-legal-footer-border-color: rgba(255, 255, 255, 0.06);
    --tebex-legal-footer-logo-color: #9b93a8;
}

html[data-theme='light'] {
    --nm-bg: #f7f4fa;
    --nm-surface: #ffffff;
    --nm-card: #ffffff;
    --nm-elevated: #f2ebf8;
    --nm-line: rgba(88, 44, 94, 0.12);
    --nm-line-strong: rgba(88, 44, 94, 0.2);
    --nm-text: #23182a;
    --nm-muted: #5e4866;
    --nm-faint: #7b6783;
    --nm-shadow: 0 18px 44px rgba(72, 37, 84, 0.14);
    --tebex-legal-footer-background-color: #f0edf5;
    --tebex-legal-footer-text-color: #5c5668;
    --tebex-legal-footer-border-color: rgba(0, 0, 0, 0.08);
    --tebex-legal-footer-logo-color: #5c5668;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.nm {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--nm-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--nm-text);
    background: var(--nm-bg);
    cursor: var(--nm-cur-heart);
}

body.nm.is-loading { overflow: hidden; }

.nm-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background: var(--nm-bg);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.nm-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nm-loader-paw {
    width: 72px;
    height: 72px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cellipse fill='%23f9a8d4' cx='14' cy='18' rx='5' ry='6.5'/%3E%3Cellipse fill='%23f9a8d4' cx='24' cy='13' rx='4.5' ry='6'/%3E%3Cellipse fill='%23f9a8d4' cx='40' cy='13' rx='4.5' ry='6'/%3E%3Cellipse fill='%23f9a8d4' cx='50' cy='18' rx='5' ry='6.5'/%3E%3Cpath fill='%23ec4899' d='M16 28c0 10 8 18 16 18s16-8 16-18c0-5.5-4.5-9.5-16-9.5S16 22.5 16 28z'/%3E%3C/svg%3E") center / contain no-repeat;
    transform-origin: center 70%;
    animation: nm-paw-sway 1.1s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(236, 72, 153, 0.35));
}

@keyframes nm-paw-sway {
    0%, 100% { transform: rotate(-22deg); }
    50% { transform: rotate(22deg); }
}

.nm-loader-dots { display: flex; gap: 0.45rem; }
.nm-loader-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--nm-pink-soft);
    animation: nm-loader-dot 1.2s ease-in-out infinite;
}
.nm-loader-dots span:nth-child(2) { animation-delay: 0.15s; }
.nm-loader-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes nm-loader-dot {
    0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-4px); }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--nm-display); letter-spacing: -0.02em; }

.nm-wrap { width: min(1200px, 92vw); margin: 0 auto; }

main, .nm-header, .nm-footer, .nm-marquee, .nm-trust { position: relative; z-index: 2; }
main { flex: 1; }

/* Background */
.nm-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 40% at 80% 0%, rgba(236, 72, 153, 0.12), transparent 55%),
        radial-gradient(ellipse 40% 30% at 10% 100%, rgba(167, 139, 250, 0.08), transparent 50%),
        linear-gradient(180deg, #08080a 0%, #0c0a0d 100%);
}

.nm-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent);
}

/* Marquee */
.nm-marquee {
    overflow: hidden;
    border-bottom: 1px solid var(--nm-line);
    background: var(--nm-surface);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nm-muted);
}

.nm-marquee-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    padding: 0.55rem 0;
    animation: nm-marquee 28s linear infinite;
}

.nm-marquee-track span { white-space: nowrap; }

@keyframes nm-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Header */
.nm-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nm-header-h);
    border-bottom: 1px solid transparent;
    transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
}

.nm-header.is-scrolled {
    background: rgba(8, 8, 10, 0.85);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--nm-line);
}

.nm-header-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: var(--nm-header-h);
}

.nm-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--nm-display);
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.nm-logo img { height: 34px; }

.nm-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 0.95rem;
    background: var(--nm-grad);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35);
}

.nm-nav {
    display: none;
    flex: 1;
    justify-content: center;
    gap: 0.15rem;
}

@media (min-width: 960px) { .nm-nav { display: flex; } }

.nm-nav a {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--nm-muted);
    transition: color 0.2s, background 0.2s;
}

.nm-nav a:hover, .nm-nav a.is-active {
    color: var(--nm-text);
    background: rgba(236, 72, 153, 0.1);
}

.nm-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
    font-size: 0.84rem;
    font-weight: 600;
}

.nm-theme-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--nm-line);
    background: var(--nm-card);
    color: var(--nm-text);
    display: grid;
    place-items: center;
}
.nm-theme-icon { position: absolute; line-height: 1; font-size: 0.95rem; transition: opacity 0.2s; }
.nm-theme-icon-sun { opacity: 0; }
.nm-theme-icon-moon { opacity: 1; }
html[data-theme='light'] .nm-theme-icon-sun { opacity: 1; }
html[data-theme='light'] .nm-theme-icon-moon { opacity: 0; }

.nm-link { color: var(--nm-muted); }
.nm-link:hover { color: var(--nm-pink-soft); }
.nm-user { color: var(--nm-pink-soft); font-size: 0.8rem; }

.nm-cart {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--nm-line-strong);
    background: var(--nm-card);
    color: var(--nm-pink-soft);
    font-size: 0.8rem;
}

.nm-cart-count {
    min-width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.68rem;
    background: var(--nm-grad);
    color: #fff;
}

.nm-menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--nm-line);
    background: var(--nm-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nm-menu-btn span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--nm-text);
    border-radius: 2px;
}

@media (min-width: 960px) { .nm-menu-btn { display: none; } }

/* Drawer */
.nm-drawer[hidden] { display: none !important; }

.nm-drawer {
    position: fixed;
    inset: 0;
    top: var(--nm-header-h);
    z-index: 90;
    padding: 1rem 1.25rem;
    background: rgba(8, 8, 10, 0.98);
    display: flex;
    flex-direction: column;
}

.nm-drawer a {
    padding: 0.95rem 0;
    font-family: var(--nm-display);
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 1px solid var(--nm-line);
}

/* Buttons */
.nm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    border: none;
    font-family: var(--nm-font);
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.nm-btn-primary {
    color: #fff;
    background: var(--nm-grad);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.28);
}

.nm-btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 30px rgba(167, 139, 250, 0.3); }

.nm-btn-outline {
    color: var(--nm-text);
    background: transparent;
    border: 1px solid var(--nm-line-strong);
}

.nm-btn-outline:hover { border-color: rgba(236, 72, 153, 0.4); background: rgba(236, 72, 153, 0.06); color: var(--nm-text); }

.nm-btn-discord { background: #5865f2; color: #fff; box-shadow: none; }
.nm-btn-discord:hover { background: #4752c4; color: #fff; transform: translateY(-1px); }

.nm-btn-sm { padding: 0.4rem 0.85rem; font-size: 0.78rem; border-radius: 8px; }
.nm-btn-block { width: 100%; }
.nm-btn-disabled { opacity: 0.45; pointer-events: none; background: var(--nm-elevated); color: var(--nm-muted); }

/* Hero */
.nm-hero {
    padding: 3.5rem 0 2rem;
    min-height: calc(85vh - var(--nm-header-h));
    display: flex;
    align-items: center;
}

.nm-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .nm-hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}

.nm-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nm-pink-soft);
}

.nm-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.02;
    font-weight: 800;
}

.nm-gradient-text {
    background: var(--nm-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nm-lead {
    margin: 0 0 1.5rem;
    max-width: 520px;
    color: var(--nm-muted);
    font-size: 1.02rem;
}

.nm-hero-btns { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 2rem; }

.nm-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nm-stats li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.nm-stats strong {
    font-family: var(--nm-display);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--nm-text);
}

.nm-stats span {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nm-faint);
}

/* Hero panel cards */
.nm-hero-panel {
    position: relative;
    min-height: 340px;
}

.nm-hero-card {
    position: absolute;
    border-radius: var(--nm-r-lg);
    border: 1px solid var(--nm-line-strong);
    background: var(--nm-card);
    padding: 1.1rem 1.25rem;
    box-shadow: var(--nm-shadow);
}

.nm-hero-card small {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nm-pink-soft);
    margin-bottom: 0.25rem;
}

.nm-hero-card strong {
    font-family: var(--nm-display);
    font-size: 1.25rem;
    font-weight: 800;
}

.nm-hero-card-a {
    width: 58%;
    top: 0;
    right: 0;
    min-height: 42%;
    background: linear-gradient(145deg, rgba(236,72,153,0.15), var(--nm-card));
}

.nm-hero-card-b {
    width: 52%;
    bottom: 12%;
    left: 0;
    min-height: 38%;
}

.nm-hero-card-c {
    width: 55%;
    bottom: 32%;
    right: 8%;
    background: linear-gradient(145deg, rgba(167,139,250,0.12), var(--nm-card));
}

/* Trust strip */
.nm-trust {
    border-top: 1px solid var(--nm-line);
    border-bottom: 1px solid var(--nm-line);
    background: var(--nm-surface);
}

.nm-trust-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.85rem 0;
}

@media (min-width: 700px) {
    .nm-trust-inner { grid-template-columns: repeat(4, 1fr); }
}

.nm-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--nm-muted);
}

.nm-trust-item span { font-size: 0.9rem; }

/* Sections */
.nm-section { padding: 3.5rem 0; }
.nm-section-muted { background: rgba(255, 255, 255, 0.015); }

.nm-section-head { margin-bottom: 1.75rem; }
.nm-section-head h2 { margin: 0; font-size: 1.85rem; font-weight: 800; }

/* Category cards */
.nm-cats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) { .nm-cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .nm-cats { grid-template-columns: repeat(4, 1fr); } }

.nm-cat {
    border-radius: var(--nm-r-lg);
    overflow: hidden;
    border: 1px solid var(--nm-line);
    background: var(--nm-card);
    transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.nm-cat:hover {
    transform: translateY(-4px);
    border-color: rgba(236, 72, 153, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.nm-cat-visual {
    position: relative;
    aspect-ratio: 4/5;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.nm-cat-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
}

.nm-cat-visual::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 60%;
    bottom: -20%;
    left: -10%;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.5;
}

.nm-cat-eyebrow {
    position: relative;
    z-index: 1;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.nm-cat-title {
    position: relative;
    z-index: 1;
    font-family: var(--nm-display);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
}

.nm-cat-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border-top: 1px solid var(--nm-line);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nm-pink-soft);
}

/* Per-category gradients */
.nm-cat--vehicles .nm-cat-visual { background: linear-gradient(160deg, #2a1520 0%, #120d12 100%); }
.nm-cat--vehicles .nm-cat-visual::after { background: #ec4899; }
.nm-cat--vehicle .nm-cat-visual { background: linear-gradient(160deg, #2a1520 0%, #120d12 100%); }
.nm-cat--vehicle .nm-cat-visual::after { background: #ec4899; }

.nm-cat--clothing .nm-cat-visual, .nm-cat--clothes .nm-cat-visual {
    background: linear-gradient(160deg, #281525 0%, #140f14 100%);
}
.nm-cat--clothing .nm-cat-visual::after, .nm-cat--clothes .nm-cat-visual::after { background: #f472b6; }

.nm-cat--props .nm-cat-visual, .nm-cat--prop .nm-cat-visual {
    background: linear-gradient(160deg, #1f1830 0%, #100d14 100%);
}
.nm-cat--props .nm-cat-visual::after, .nm-cat--prop .nm-cat-visual::after { background: #a78bfa; }

.nm-cat--free .nm-cat-visual {
    background: linear-gradient(160deg, #142018 0%, #0d1210 100%);
}
.nm-cat--free .nm-cat-visual::after { background: #34d399; opacity: 0.35; }
.nm-cat--free .nm-cat-title::after {
    content: 'FREE';
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.55rem;
    vertical-align: middle;
    background: rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
    letter-spacing: 0.08em;
}

/* Split / boxes */
.nm-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 800px) { .nm-split { grid-template-columns: 1fr 1fr; } }

.nm-box {
    padding: 1.5rem;
    border-radius: var(--nm-r-lg);
    border: 1px solid var(--nm-line);
    background: var(--nm-card);
}

.nm-box h3 { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 800; }
.nm-box-center { text-align: center; }

.nm-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nm-features li {
    padding: 0.55rem 0 0.55rem 1.25rem;
    position: relative;
    color: var(--nm-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--nm-line);
}

.nm-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nm-pink);
    transform: translateY(-50%);
}

.nm-feed .panel, .nm-feed .module {
    background: transparent !important;
    border: none !important;
    color: var(--nm-text) !important;
}

/* FAQ */
.nm-faq-item {
    margin-bottom: 0.5rem;
    border-radius: var(--nm-r);
    border: 1px solid var(--nm-line);
    background: var(--nm-card);
    overflow: hidden;
}

.nm-faq-item summary {
    padding: 1rem 1.1rem;
    font-family: var(--nm-display);
    font-weight: 700;
    cursor: var(--nm-cur-paw);
    list-style: none;
}

.nm-faq-item summary::-webkit-details-marker { display: none; }
.nm-faq-item p { margin: 0; padding: 0 1.1rem 1rem; color: var(--nm-muted); font-size: 0.9rem; }

/* Page hero */
.nm-page-hero {
    padding: 2.5rem 0 1.5rem;
    border-bottom: 1px solid var(--nm-line);
    background: var(--nm-surface);
}

.nm-page-hero--plain { text-align: center; }
.nm-page-hero h1 { margin: 0.25rem 0 0; font-size: 2rem; font-weight: 800; }
.nm-page-hero p { margin: 0.5rem 0 0; color: var(--nm-muted); }

.nm-page-hero--vehicles, .nm-page-hero--vehicle { background: linear-gradient(180deg, rgba(236,72,153,0.08), var(--nm-surface)); }
.nm-page-hero--clothing, .nm-page-hero--clothes { background: linear-gradient(180deg, rgba(244,114,182,0.08), var(--nm-surface)); }
.nm-page-hero--props, .nm-page-hero--prop { background: linear-gradient(180deg, rgba(167,139,250,0.08), var(--nm-surface)); }
.nm-page-hero--free { background: linear-gradient(180deg, rgba(52,211,153,0.08), var(--nm-surface)); }

.nm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--nm-faint);
}

.nm-breadcrumb a:hover { color: var(--nm-pink-soft); }

/* Product grid */
.nm-toolbar {
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--nm-faint);
}

.nm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.nm-card {
    border-radius: var(--nm-r-lg);
    overflow: hidden;
    border: 1px solid var(--nm-line);
    background: var(--nm-card);
    transition: border-color 0.2s;
}

.nm-card:hover { border-color: var(--nm-line-strong); }

.nm-card-img {
    display: block;
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--nm-elevated);
}

.nm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

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

.nm-card-body { padding: 0.95rem 1rem 1.1rem; }

.nm-card-cat {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nm-faint);
}

.nm-card-body h3 {
    margin: 0.25rem 0 0.75rem;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.nm-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.nm-price strong { color: var(--nm-text); font-size: 0.95rem; }
.nm-price s { color: var(--nm-faint); font-size: 0.8rem; margin-right: 0.3rem; }
.nm-price-lg strong { font-size: 2rem; display: block; margin: 0.75rem 0 1.25rem; }

.nm-sale {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(236, 72, 153, 0.15);
    color: var(--nm-pink-soft);
}

.nm-card-img .nm-sale { position: absolute; top: 0.6rem; right: 0.6rem; }

/* Product page */
.nm-product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 900px) {
    .nm-product-layout { grid-template-columns: 1.15fr 0.85fr; }
}

.nm-product-gallery {
    border-radius: var(--nm-r-lg);
    overflow: hidden;
    border: 1px solid var(--nm-line);
    aspect-ratio: 1/1;
    background: var(--nm-elevated);
}

.nm-product-gallery img { width: 100%; height: 100%; object-fit: cover; }

.nm-product-buy {
    padding: 1.5rem;
    border-radius: var(--nm-r-lg);
    border: 1px solid var(--nm-line);
    background: var(--nm-card);
    box-shadow: var(--nm-shadow);
}

@media (min-width: 900px) {
    .nm-product-buy { position: sticky; top: calc(var(--nm-header-h) + 1rem); }
}

.nm-product-buy h1 { margin: 0 0 1rem; font-size: 1.75rem; font-weight: 800; line-height: 1.15; }

.nm-specs { margin: 0 0 0.5rem; padding: 0; }

.nm-specs div {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--nm-line);
    font-size: 0.88rem;
}

.nm-specs dt { color: var(--nm-faint); }
.nm-specs dd { margin: 0; font-weight: 600; }

.nm-buy-trust {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    color: var(--nm-faint);
}

.nm-buy-trust li {
    padding: 0.35rem 0 0.35rem 1rem;
    position: relative;
}

.nm-buy-trust li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--nm-pink-soft);
    font-size: 0.75rem;
}

/* Placeholder */
.nm-placeholder {
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: linear-gradient(145deg, var(--nm-elevated), var(--nm-card));
}

.nm-placeholder-lg {
    min-height: 100%;
    display: grid;
    place-items: center;
}

/* Checkout */
.nm-checkout { max-width: 520px; }

.nm-checkout-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--nm-r);
    border: 1px solid var(--nm-line);
    background: var(--nm-card);
}

.nm-checkout-line span:first-child { flex: 1; font-weight: 600; }
.nm-remove { color: #f87171; font-size: 1.3rem; line-height: 1; }

.nm-checkout-total {
    display: flex;
    justify-content: space-between;
    margin: 1.25rem 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.nm-checkout-total strong {
    font-family: var(--nm-display);
    font-size: 1.4rem;
    color: var(--nm-pink-soft);
}

.nm-empty { text-align: center; padding: 2.5rem; color: var(--nm-muted); }
.nm-alert { margin: 1rem 0; padding: 0.9rem; border-radius: var(--nm-r); background: rgba(236,72,153,0.1); border: 1px solid var(--nm-line); }

.nm-prose { color: var(--nm-muted); line-height: 1.75; max-width: 720px; }
.nm-prose h2, .nm-prose h3 { color: var(--nm-text); }

/* Footer */
.nm-footer {
    margin-top: 1rem;
    border-top: 1px solid var(--nm-line);
    background: var(--nm-surface);
}

.nm-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

@media (min-width: 700px) {
    .nm-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.nm-footer-brand p {
    margin: 0.75rem 0 1rem;
    max-width: 320px;
    color: var(--nm-muted);
    font-size: 0.9rem;
}

.nm-logo-footer { margin-bottom: 0.25rem; }

.nm-footer-col h4 {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nm-faint);
}

.nm-footer-col a {
    display: block;
    padding: 0.3rem 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--nm-muted);
}

.nm-footer-col a:hover { color: var(--nm-pink-soft); }

.nm-footer-bottom {
    padding: 1.25rem 0 1.75rem;
    border-top: 1px solid var(--nm-line);
}

.nm-footer-bottom p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--nm-faint);
    text-align: center;
}

/* Cursors */
a, button, .nm-btn, .nm-cart, .nm-menu-btn, .nm-cat, .nm-card-img,
.nm-logo, .nm-faq-item summary, .nm-nav a, label, .btn, .btn-primary {
    cursor: var(--nm-cur-paw);
}

@media (pointer: coarse) {
    body.nm, a, button, .nm-btn { cursor: auto; }
}

/* Tebex overrides */
.btn-primary, .btn-success {
    background: var(--nm-grad) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 10px !important;
}

.form-control {
    background: var(--nm-card) !important;
    border-color: var(--nm-line) !important;
    color: var(--nm-text) !important;
}

.panel, .module {
    background: transparent !important;
    border-color: var(--nm-line) !important;
    color: var(--nm-text) !important;
}

/* Options / login helpers */
.nm-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--nm-muted);
}
.nm-input {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--nm-line);
    background: var(--nm-elevated);
    color: var(--nm-text);
    font: inherit;
}
.nm-input:focus {
    outline: none;
    border-color: rgba(236, 72, 153, 0.45);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
}
.nm-login-note { margin: 0 0 1rem; font-size: 0.88rem; color: var(--nm-muted); line-height: 1.5; }
.nm-login-btn { font-size: 1rem; padding: 0.95rem 1.25rem; }
.nm-box-center { text-align: center; }

.nm-options-box { padding: 1.5rem; }
.nm-options-form .nm-field { margin-bottom: 0.25rem; }
.nm-options-form .nm-input { margin-bottom: 1.25rem; }
.nm-options-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 0.5rem;
}

html[data-theme='light'] .nm-bg {
    background:
        radial-gradient(ellipse 50% 40% at 80% 0%, rgba(236, 72, 153, 0.1), transparent 58%),
        radial-gradient(ellipse 40% 30% at 10% 100%, rgba(167, 139, 250, 0.08), transparent 54%),
        linear-gradient(180deg, #f7f4fa 0%, #fdfbff 100%);
}
