/* Tebex / formulaires natifs — compléments NewVice */
.text-content { color: var(--nv-text-muted); line-height: 1.6; }
.text-content a { color: var(--nv-accent-hover); }
.nv-page-empty { text-align: center; color: var(--nv-text-muted); padding: 3rem 1rem; }
.nv-category-desc { color: var(--nv-text-muted); margin-top: 0.5rem; max-width: 720px; }

.nv-cart-header { position: relative; }
.nv-cart-header .nv-cart__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  border-radius: 999px;
  background: var(--nv-accent);
  color: #fff;
}

.nv-btn--logged { pointer-events: none; opacity: 0.95; }
.nv-btn--in-basket { background: rgba(154, 54, 232, 0.25); }

.nv-package-detail {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding: 2rem 0 3rem;
}
@media (min-width: 900px) {
  .nv-package-detail { grid-template-columns: minmax(280px, 1fr) 1.2fr; align-items: start; }
}
.nv-package-detail__desc { margin: 1rem 0 1.5rem; }
.nv-product__img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  max-height: 220px;
  object-fit: contain;
  border-radius: var(--nv-radius);
}

.nv-product__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 160px;
  color: var(--nv-text-muted);
  font-size: 0.85rem;
}

.nv-product__placeholder i {
  font-size: 2rem;
  opacity: 0.4;
}

/* Plus de piles de coins générées en JS — images = Tebex uniquement */
.nv-coin-stack-mount,
.nv-coin-stack {
  display: none !important;
}

/* Masque toute ligne réduction (0.00 % etc.) */
.nv-discount,
.nv-product__discount,
.nv-product .sale,
.nv-product [class*="discount"] {
  display: none !important;
}

.nv-btn--cart[disabled],
.nv-btn--cart.is-disabled {
  display: none !important;
}

.nv-checkout-content,
.nv-login-content,
.nv-options-content { padding: 1.5rem 0 3rem; }

.nv-login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 420px;
  margin: 0 auto;
}
.nv-login-label {
  font-size: 0.9rem;
  color: var(--nv-text-muted);
}
.nv-login-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--nv-radius);
  border: 1px solid var(--nv-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--nv-text);
  font-family: var(--font-body);
  font-size: 1rem;
}
.nv-login-input:focus {
  outline: none;
  border-color: var(--nv-accent);
  box-shadow: 0 0 0 2px rgba(154, 54, 232, 0.35);
}
.nv-login-hint {
  margin-bottom: 1rem;
  color: var(--nv-text-muted);
}
.nv-login-external {
  display: inline-flex;
}

/* ─── Page /login (style Dynasty — modal FiveM) ─── */
body.nv-page-login .nv-help-block {
  display: none;
}

.nv-login-page {
  position: relative;
  min-height: calc(100vh - var(--nv-header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 4rem;
}

.nv-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.nv-login-modal {
  position: relative;
  z-index: 160;
  width: min(400px, 92vw);
  margin: 0 auto;
  padding: 2.25rem 2rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, #ececec 0%, #d8d8d8 100%);
  color: #1c1c1c;
  border-radius: 10px;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.nv-login-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
  color: #e53935;
  transition: transform 0.15s, color 0.15s;
}

.nv-login-modal__close:hover {
  color: #ff5252;
  transform: scale(1.08);
}

.nv-login-modal__title {
  margin: 0 0 1.75rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: #2a2a2a;
}

.nv-login-modal__cta {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(154, 54, 232, 0.45);
}

.nv-login-modal__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(154, 54, 232, 0.55);
}

.nv-login-form--modal {
  max-width: none;
  margin: 0;
}

.nv-login-form--modal .nv-login-input {
  background: #fff;
  border: 1px solid #bbb;
  color: #111;
}

.nv-login-form--modal .nv-login-input::placeholder {
  color: #888;
}

.nv-login-modal__divider {
  margin: 1.25rem 0 0.75rem;
  font-size: 0.85rem;
  color: #555;
}

.nv-login-modal__cta--secondary {
  margin-top: 0.5rem;
  background: transparent !important;
  border: 1px solid var(--nv-accent) !important;
  color: var(--nv-accent) !important;
  box-shadow: none !important;
}
