/* 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;
}

/* Panier centré (modal) */
body.nv-page-checkout {
  overflow: hidden;
}

body.nv-page-checkout .nv-footer,
body.nv-page-checkout .nv-help-block {
  display: none;
}

.nv-checkout-scene {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.nv-checkout-scene__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.nv-basket-panel {
  position: relative;
  z-index: 410;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  max-height: min(88vh, 680px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  border-radius: 14px;
  border: 1px solid rgba(154, 54, 232, 0.5);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  background-color: #1a0e28;
  background-image:
    linear-gradient(180deg, rgba(30, 16, 46, 0.98) 0%, rgba(14, 10, 24, 0.99) 100%),
    radial-gradient(ellipse 90% 40% at 50% 100%, rgba(154, 54, 232, 0.28) 0%, transparent 70%);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 50%;
  background-position: center, bottom;
}

.nv-basket-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.nv-basket-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.nv-basket-panel__title i {
  color: var(--nv-accent);
}

.nv-basket-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(229, 57, 53, 0.15);
  color: #ff5252;
  font-size: 0.95rem;
}

.nv-basket-panel__close:hover {
  background: rgba(229, 57, 53, 0.3);
  color: #fff;
}

.nv-basket-panel__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.2rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.nv-basket-panel__summary strong {
  color: #fff;
  font-size: 1rem;
}

.nv-basket-panel__account {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.18);
}

.nv-basket-panel__account-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.nv-basket-panel__account-label {
  color: var(--nv-accent-hover);
  font-weight: 700;
  min-width: 3.5rem;
}

.nv-basket-panel__account-value {
  color: #fff;
  font-weight: 600;
  word-break: break-all;
}

.nv-basket-panel__account-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nv-accent-hover);
  background: rgba(154, 54, 232, 0.12);
  border: 1px solid rgba(154, 54, 232, 0.35);
  border-radius: 6px;
  cursor: pointer;
}

.nv-basket-panel__account-edit:hover {
  background: rgba(154, 54, 232, 0.22);
  color: #fff;
}

.nv-basket-panel__account-warn {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #ffb74d;
}

.nv-basket-panel__uuid-open {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.88rem;
}

.nv-basket-panel__items {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.85rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nv-basket-panel__empty {
  margin: 2rem 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
}

.nv-basket-item {
  padding: 0.75rem 0.85rem;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.nv-basket-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.nv-basket-item__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.nv-basket-item__remove {
  color: rgba(255, 255, 255, 0.4);
  padding: 0.15rem;
  font-size: 0.85rem;
}

.nv-basket-item__remove:hover {
  color: #ff5252;
}

.nv-basket-item__meta {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.nv-basket-item__meta li {
  margin: 0.15rem 0;
}

.nv-basket-meta__label {
  color: var(--nv-accent-hover);
  font-weight: 700;
  margin-right: 0.35rem;
}

.nv-basket-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.nv-basket-item__price {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  white-space: nowrap;
}

/* Quantité produit (- / N en Panier / +) */
.nv-qty {
  display: grid;
  grid-template-columns: 2.25rem 1fr 2.25rem;
  align-items: stretch;
  width: 100%;
  min-height: 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(154, 54, 232, 0.45);
  background: rgba(0, 0, 0, 0.35);
}

.nv-qty--basket {
  width: auto;
  min-width: 6.75rem;
  grid-template-columns: 1.85rem 1.65rem 1.85rem;
  min-height: 2.1rem;
  border-radius: 6px;
}

.nv-qty__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: rgba(154, 54, 232, 0.35);
  transition: background 0.15s ease;
}

.nv-qty__btn:hover {
  background: rgba(154, 54, 232, 0.55);
  color: #fff;
}

.nv-qty__label,
.nv-qty__count {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding: 0 0.35rem;
  text-align: center;
  line-height: 1.2;
}

.nv-product__actions .nv-qty {
  margin-top: 0.35rem;
}

.nv-basket-panel__foot {
  flex-shrink: 0;
  padding: 1rem 1.2rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0 0 14px 14px;
}

.nv-basket-panel__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.nv-basket-panel__pay {
  width: 100%;
  padding: 0.95rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: none;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(154, 54, 232, 0.35);
}

.nv-basket-panel__pay-blocked {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: #ffb74d;
  line-height: 1.4;
}

/* Modal modifier UUID */
.nv-uuid-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.nv-uuid-modal[hidden] {
  display: none;
}

body.nv-uuid-modal-open {
  overflow: hidden;
}

.nv-uuid-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.nv-uuid-modal__box {
  position: relative;
  z-index: 2;
  width: min(380px, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #ececec 0%, #d8d8d8 100%);
  color: #1c1c1c;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}

.nv-uuid-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.65rem;
  width: 28px;
  height: 28px;
  color: #e53935;
  font-size: 1.05rem;
}

.nv-uuid-modal__title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2a2a2a;
}

.nv-uuid-modal__hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #555;
}

.nv-uuid-modal__form {
  text-align: left;
}

.nv-uuid-modal__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
}

.nv-uuid-modal__input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  border: 1px solid #bbb;
  background: #fff;
  color: #111;
  font: inherit;
  box-sizing: border-box;
}

.nv-uuid-modal__submit {
  width: 100%;
  padding: 0.85rem;
  font-size: 0.95rem;
  border-radius: 8px;
}

.nv-checkout-fallback {
  display: none;
}

.nv-checkout-pay-form {
  margin: 0;
}

.nv-checkout-pay-hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--nv-text-muted);
  text-align: center;
  line-height: 1.4;
}

.nv-checkout-pay-alt {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.82rem;
}

.nv-checkout-pay-alt a {
  color: var(--nv-accent-hover);
}

.nv-uuid-hint {
  text-align: center;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.nv-theme-ver {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 800;
  vertical-align: middle;
  color: #fff;
  background: #9a36e8;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.nv-options-package-name {
  margin: -1rem 0 1.25rem;
  font-weight: 600;
  color: #444;
}

.nv-options-field {
  margin-bottom: 1rem;
  text-align: left;
}

.nv-options-fields {
  margin-bottom: 1rem;
  text-align: left;
}

.nv-options-native {
  margin-bottom: 0;
}

.nv-options-fields input,
.nv-options-fields select,
.nv-options-fields textarea,
.nv-options-field input,
.nv-options-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #ddd;
  font: inherit;
  box-sizing: border-box;
}

.nv-options-fields label,
.nv-options-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
}

.nv-options-native:empty {
  display: none;
}

.nv-options-fields .nv-options-field ~ .nv-options-native:not(:empty) {
  display: none;
}

.nv-options-help {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: #666;
  text-align: left;
}

.nv-options-help summary {
  cursor: pointer;
  color: var(--nv-accent, #6b4ce6);
}

.nv-options-fallback-hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: #888;
  text-align: center;
  line-height: 1.4;
}

.nv-login-modal__hint {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.45;
}

.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;
}
