/* NostalBox — One-page theme overrides */

/* Polices auto-hébergées (plus de fonts.googleapis.com / fonts.gstatic.com) */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/rubik/rubik-v31-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/rubik/rubik-v31-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/rubik/rubik-v31-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans/ibm-plex-sans-v23-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans/ibm-plex-sans-v23-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans/ibm-plex-sans-v23-latin_latin-ext-600.woff2') format('woff2');
}

:root {
  --nb-bg: #0b1118;
  --nb-bg-elevated: #121a24;
  --nb-bg-soft: #162131;
  --nb-surface: rgba(22, 33, 49, 0.72);
  --nb-border: rgba(148, 163, 184, 0.16);
  --nb-text: #e8eef6;
  --nb-muted: #9aabbd;
  --nb-accent: #f58220;
  --nb-accent-strong: #ff8c00;
  --nb-accent-dim: rgba(245, 130, 32, 0.16);
  --nb-navy: #2c3e50;
  --nb-navy-soft: #3a4f63;
  --nb-cyan: #5ec4c0;
  --nb-radius: 14px;
  --nb-font-display: 'Rubik', sans-serif;
  --nb-font-body: 'IBM Plex Sans', sans-serif;
  --nb-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --nb-header-h: 4.5rem;
  --nb-max: 1200px;
  --nb-hero-gap: 4rem;
}

html {
  scroll-behavior: smooth;
}

body,
body.nostalbox-home {
  background: var(--nb-bg);
  color: var(--nb-text);
  font-family: var(--nb-font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.nb-logo-text,
.nb-footer-brand,
.nb-shop-name,
.nb-process-step h3 {
  font-family: var(--nb-font-display);
  letter-spacing: -0.02em;
  color: var(--nb-text);
}

a {
  color: var(--nb-accent-strong);
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: #ffd19a;
  text-decoration: none;
}

/* ---------- Header / Nav ---------- */
/* Racine : <header id="header" class="section nb-header-shop"> */
header#header,
header#header.section,
header#header.nb-header-shop,
body.header-fixed header#header,
body.header-dark header#header,
body.header-transparent header#header,
body.header-transparent header#header:not(.scrolled),
body.header-dark.header-transparent header#header:not(.scrolled),
body.nostalbox-shop header#header,
body.nostalbox-home header#header,
body.header-fixed header#header.scrolled,
body.header-dark header#header.scrolled {
  background: #0f172a !important;
  background-color: #0f172a !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
}

header#header .container,
header#header .nb-shell,
header#header .nb-topbar {
  background: transparent !important;
}

/* Espace pour le header fixe (évite que le contenu passe dessous au chargement) */
body.header-fixed {
  padding-top: 0;
}

body.header-fixed #page-wrapper {
  padding-top: 0;
}

/* Un seul offset = hauteur header (évite le double padding boutique/PDP) */
body.header-fixed #body-wrapper {
  padding-top: var(--nb-header-h) !important;
}

body.header-fixed .modular-hero.hero,
body.header-fixed .hero.nb-hero-commerce {
  padding-top: calc(var(--nb-header-h) + 1.25rem) !important;
}

#header > .container {
  width: 100%;
  max-width: var(--nb-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

#header .navbar {
  min-height: var(--nb-header-h);
}

.nb-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
}

.nb-logo-img {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 7px;
}

.nb-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--nb-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nb-wordmark-nostal {
  color: #d7dee8;
}

.nb-wordmark-box {
  color: var(--nb-accent-strong);
}

.nb-logo-text.nb-wordmark {
  font-size: 1.25rem;
}

.nb-footer-brand.nb-wordmark {
  font-size: 1.55rem;
  margin: 0 0 0.4rem;
}

#header .dropmenu ul.navigation,
#header .dropmenu ul {
  display: flex;
  gap: 0.25rem;
}

#header .dropmenu ul li a,
#header .navigation a {
  color: var(--nb-muted) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem !important;
  border-radius: 999px;
  background: transparent !important;
}

#header .dropmenu ul li a:hover,
#header .dropmenu ul li a.active,
#header .navigation a:hover,
#header .navigation a.active {
  color: var(--nb-text) !important;
  background: var(--nb-accent-dim) !important;
}

.mobile-menu .button_container span {
  background: var(--nb-accent);
}

.overlay {
  background: rgba(8, 12, 18, 0.97);
}

.overlay-menu a {
  color: var(--nb-text) !important;
}

/* ---------- Hero ---------- */
.modular-hero.nostalbox-hero,
.hero.nostalbox-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #070b11;
  background-image:
    radial-gradient(ellipse 70% 55% at 78% 42%, rgba(245, 130, 32, 0.18), transparent 58%),
    radial-gradient(ellipse 60% 45% at 18% 70%, rgba(44, 62, 80, 0.45), transparent 55%),
    linear-gradient(160deg, #070b11 0%, #0f1722 45%, #0a121c 100%);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  padding-top: 6.5rem;
  padding-bottom: 5.5rem;
}

.nostalbox-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 15%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  animation: nb-grid-drift 28s linear infinite;
}

.nostalbox-hero .image-overlay,
.nostalbox-hero.overlay-dark-gradient .image-overlay {
  background: linear-gradient(180deg, rgba(7, 11, 17, 0.2) 0%, rgba(7, 11, 17, 0.35) 55%, rgba(7, 11, 17, 0.88) 100%);
  z-index: 1;
}

.nostalbox-hero > .nb-shell,
.nostalbox-hero > .container.nb-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--nb-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: left !important;
}

.nb-hero-layout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--nb-hero-gap);
  width: 100%;
}

.nb-hero-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 34rem;
}

.nb-hero-visual {
  flex: 0 0 auto;
  width: min(100%, 430px);
  max-width: 430px;
  animation: nb-fade-up 0.9s ease 0.18s both;
}

.nb-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.45));
}

.nostalbox-hero h1,
.nostalbox-hero .nb-hero-title {
  font-family: var(--nb-font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 1.15rem;
  letter-spacing: -0.04em;
  animation: nb-fade-up 0.9s ease both;
}

.nb-hero-title .nb-wordmark-nostal {
  color: #eef3f8;
}

.nb-hero-title .nb-wordmark-box {
  color: var(--nb-accent-strong);
}

.nostalbox-hero h2 {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 2rem;
  max-width: 34rem;
  color: rgba(232, 238, 246, 0.88);
  animation: nb-fade-up 0.9s ease 0.12s both;
}

.nostalbox-hero p {
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 0 2rem;
  color: var(--nb-muted);
  font-weight: 400;
  animation: nb-fade-up 0.9s ease 0.22s both;
}

.nb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
  margin: 0 !important;
  animation: nb-fade-up 0.9s ease 0.32s both;
}

.nb-hero-cta .btn {
  min-width: 10.5rem;
  height: auto;
  padding: 0.85rem 1.4rem;
  line-height: 1.2;
  font-family: var(--nb-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
}

.btn.btn-primary,
.btn-primary.button {
  background: var(--nb-accent);
  border-color: var(--nb-accent);
  color: #1a1208;
}

.btn.btn-primary:hover,
.btn-primary.button:hover {
  background: var(--nb-accent-strong);
  border-color: var(--nb-accent-strong);
  color: #1a1208;
}

.btn.btn-secondary,
.btn-secondary.button {
  background: transparent;
  border: 1px solid rgba(232, 238, 246, 0.28);
  color: var(--nb-text);
}

.btn.btn-secondary:hover,
.btn-secondary.button:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 238, 246, 0.5);
  color: #fff;
}

.nostalbox-hero #to-start {
  color: var(--nb-accent);
  z-index: 3;
  opacity: 0.85;
}

/* Align page sections with the same shell width */
.nostalbox-section > .container,
.modular-features > .container,
.nb-footer > .container {
  width: 100%;
  max-width: var(--nb-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ---------- Sections ---------- */
.nostalbox-section,
.modular-features,
.modular-text {
  background: var(--nb-bg);
  color: var(--nb-text);
  padding: 5.5rem 0;
}

.modular-features,
.modular-text.bg-gray,
.section.bg-gray {
  background: var(--nb-bg) !important;
}

.nb-section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.25rem;
}

.nb-section-intro h2,
.modular-features .frame-box > h2,
.modular-features h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
}

.nb-section-intro p,
.modular-features .frame-box > p {
  color: var(--nb-muted);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 560px;
}

/* Specialty process */
.nb-process {
  margin-top: 0.5rem;
}

.nb-process-step {
  position: relative;
  height: 100%;
  padding: 1.75rem 1.35rem 1.5rem;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background:
    linear-gradient(165deg, rgba(22, 33, 49, 0.9), rgba(11, 17, 24, 0.55));
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.nb-process-step::before {
  content: attr(data-step);
  display: block;
  font-family: var(--nb-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--nb-accent);
  margin-bottom: 1rem;
}

.nb-process-step h3 {
  font-size: 1.1rem;
  margin: 0 0 0.55rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.nb-process-step p {
  margin: 0;
  color: var(--nb-muted);
  font-size: 0.95rem;
}

.nb-process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 130, 32, 0.35);
  box-shadow: var(--nb-shadow);
}

/* Features / engagements */
.modular-features .frame-box {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.modular-features.offset-box .frame-box {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.modular-features .feature-icon {
  height: auto;
  margin: 0 0 0.75rem;
  justify-content: flex-start;
  color: var(--nb-accent);
  font-size: inherit;
}

.modular-features .feature-icon i {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  font-size: 2rem !important;
  margin: 0 0 0.85rem !important;
  color: var(--nb-accent) !important;
  display: block;
}

.modular-features .feature-icon h6,
.modular-features.small .feature-icon h6 {
  background: transparent !important;
  color: var(--nb-text) !important;
  font-family: var(--nb-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
}

.modular-features .column {
  padding: 1rem;
}

.modular-features .nb-feature-card {
  padding: 1.6rem 1.45rem;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
  height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.modular-features .nb-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 130, 32, 0.35);
  box-shadow: var(--nb-shadow);
}

.modular-features .column:hover .feature-icon,
.modular-features .column:hover .feature-icon h6,
.modular-features.small .column:hover .feature-icon i {
  color: var(--nb-accent-strong) !important;
}

.modular-features .feature-content p {
  color: var(--nb-muted);
  margin: 0;
}

/* Boutiques */
.nb-shops {
  max-width: 900px;
  margin: 0 auto;
}

.nb-shop-link {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.6rem 1.5rem;
  border-radius: var(--nb-radius);
  border: 1px solid var(--nb-border);
  background:
    linear-gradient(135deg, rgba(245, 130, 32, 0.08), transparent 55%),
    var(--nb-bg-elevated);
  text-decoration: none !important;
  color: inherit;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nb-shop-link:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 130, 32, 0.45);
  box-shadow: var(--nb-shadow);
  color: inherit;
}

.nb-shop-icon {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--nb-accent-dim);
  color: var(--nb-accent);
  font-size: 1.2rem;
}

.nb-shop-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.nb-shop-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nb-text);
}

.nb-shop-desc {
  color: var(--nb-muted);
  font-size: 0.95rem;
}

.nb-shop-cta {
  margin-top: 0.55rem;
  font-family: var(--nb-font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--nb-accent-strong);
}

/* Footer */
.nb-footer,
#footer.nb-footer,
#footer.section.bg-gray {
  background: #070b11 !important;
  border-top: 1px solid var(--nb-border);
  color: var(--nb-muted);
  padding: 3.5rem 0 2rem;
}

.nb-footer-brand {
  margin: 0 0 0.4rem;
}

.nb-footer-tagline {
  margin: 0;
  max-width: 28rem;
}

.nb-footer-address {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--nb-muted);
  line-height: 1.45;
}

.nb-footer-address p {
  margin: 0;
}

.nb-footer-address__note {
  color: var(--nb-text);
  font-weight: 600;
}

.nb-footer-address__detail {
  margin-top: 0.2rem !important;
}

.nb-footer-address__line {
  margin-top: 0.35rem !important;
}

.nb-footer-legal p {
  margin: 0 0 0.65rem;
  color: var(--nb-text);
}

.nb-footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nb-footer-legal li {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.nb-footer-legal a {
  color: var(--nb-accent-strong);
}

.nb-footer-legal-links {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.nb-footer-legal-links a {
  color: var(--nb-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nb-footer-legal-links a:hover {
  color: var(--nb-accent-strong);
  border-bottom-color: rgba(245, 130, 32, 0.45);
}

.nb-footer-legal-meta {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.88rem;
  color: var(--nb-muted);
}

.nb-footer-legal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  margin: 2rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--nb-border);
  font-size: 0.88rem;
}

.nb-footer-legal-bar a {
  color: var(--nb-muted);
  text-decoration: none;
}

.nb-footer-legal-bar a:hover {
  color: var(--nb-accent-strong);
}

.nb-footer-legal-bar span {
  color: rgba(154, 171, 189, 0.55);
}

.nb-footer-copy {
  margin: 1rem 0 0;
  padding-top: 0;
  border-top: 0;
  font-size: 0.85rem;
  opacity: 0.8;
  text-align: center;
}

/* Pages légales */
.nb-legal__header {
  max-width: 46rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.nb-legal__header h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.nb-legal__subtitle {
  margin: 0;
  color: var(--nb-muted);
}

.nb-legal__body {
  max-width: 46rem;
  margin: 0 auto;
  color: var(--nb-text);
  line-height: 1.65;
}

.nb-legal__body h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--nb-font-display);
  font-size: 1.25rem;
  color: #fff;
}

.nb-legal__body h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.05rem;
}

.nb-legal__body p,
.nb-legal__body li {
  color: var(--nb-muted);
}

.nb-legal__body a {
  color: var(--nb-accent-strong);
}

.nb-legal__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.nb-legal__body th,
.nb-legal__body td {
  border: 1px solid var(--nb-border);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.nb-legal__body th {
  background: rgba(22, 33, 49, 0.85);
  color: #fff;
}

.nb-shipping-note--soft {
  background: rgba(22, 33, 49, 0.55);
  border-color: var(--nb-border);
  margin-top: -0.75rem;
}

.nb-shipping-note--soft a {
  color: var(--nb-accent-strong);
}

.nb-shipping-note--cart {
  margin: 0.85rem 0;
  align-items: flex-start;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
}

.nb-cart-summary__row--muted {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--nb-muted);
}

/* Reveal on scroll */
.nb-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.nb-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Body wrapper spacing for modular */
#start > #body-wrapper,
#body-wrapper.section {
  padding: 0;
}

#page-wrapper {
  background: var(--nb-bg);
}

/* Animations */
@keyframes nb-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes nb-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

/* Responsive */
@media (max-width: 960px) {
  :root {
    --nb-hero-gap: 2rem;
  }

  .nb-hero-visual {
    width: min(100%, 340px);
    max-width: 340px;
  }
}

@media (max-width: 840px) {
  .nb-hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .nb-hero-copy {
    max-width: 40rem;
    margin: 0 auto;
  }

  /* Logo 3D après le copy : CTA visibles sans scroll excessif */
  .nb-hero-visual {
    width: min(42vw, 180px);
    max-width: 180px;
    order: 1;
    margin-inline: auto;
  }

  .nostalbox-hero h2,
  .nostalbox-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .nb-hero-cta {
    justify-content: center;
  }

  .nostalbox-section,
  .modular-features {
    padding: 4rem 0;
  }

  .nb-process .column,
  .nb-shops .column {
    margin-bottom: 1rem;
  }

  .nb-footer-legal {
    margin-top: 1.75rem;
  }
}

@media (max-width: 600px) {
  .nb-hero-cta .btn {
    width: 100%;
  }

  .modular-hero.nostalbox-hero,
  .hero.nostalbox-hero {
    padding-top: 5.25rem;
    padding-bottom: 2.25rem;
    min-height: 0 !important;
  }

  .nb-hero-visual {
    width: min(38vw, 140px);
    max-width: 140px;
  }

  .nb-hero-commerce .nb-hero-visual,
  .hero.nb-hero-commerce .nb-hero-visual {
    width: min(38vw, 140px);
    max-width: 140px;
  }

  .nb-logo-text.nb-wordmark {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nostalbox-hero::before,
  .nostalbox-hero h1,
  .nostalbox-hero h2,
  .nostalbox-hero p,
  .nb-hero-cta,
  .nb-reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Shop (mock catalogue) ---------- */
.nb-eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  font-family: var(--nb-font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nb-accent);
}

.nb-shop-page {
  /* body-wrapper gère déjà le dégagement sous le header fixe */
  padding: 1.5rem 0 4rem;
  background: var(--nb-bg);
}

.nb-shop-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.nb-shop-header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.nb-shop-intro {
  color: var(--nb-muted);
}

.nb-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.25rem;
  min-width: 0;
}

.nb-shop-count {
  margin: 0;
  color: var(--nb-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nb-shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.55rem;
  margin: 0;
}

.nb-shop-sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.nb-shop-sort__label {
  margin: 0;
  color: var(--nb-muted);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.nb-shop-sort__select,
.nb-shop-filter-select {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.55rem 2.2rem 0.55rem 0.9rem;
  border: 1px solid var(--nb-border);
  border-radius: 999px;
  background-color: #0f1722;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aabbd' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  color: var(--nb-text);
  font-family: var(--nb-font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.nb-shop-sort__select {
  width: auto;
  min-width: 11rem;
  max-width: min(100%, 16rem);
}

.nb-shop-sort__select:focus,
.nb-shop-filter-select:focus {
  outline: none;
  border-color: rgba(245, 130, 32, 0.55);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.16);
}

.nb-filter-tab {
  appearance: none;
  border: 1px solid var(--nb-border);
  background: transparent;
  color: var(--nb-muted);
  font-family: var(--nb-font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nb-filter-tab:hover {
  color: var(--nb-text);
  border-color: rgba(245, 130, 32, 0.4);
}

.nb-filter-tab.is-active {
  background: var(--nb-accent-dim);
  border-color: rgba(245, 130, 32, 0.55);
  color: var(--nb-accent-strong);
}

.nb-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.35rem;
}

.nb-product-card[hidden] {
  display: none !important;
}

.nb-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nb-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 130, 32, 0.4);
  box-shadow: var(--nb-shadow);
}

.nb-product-card.is-soldout {
  opacity: 0.72;
}

.nb-product-card__media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  background: #f8fafc;
  border-radius: var(--nb-radius) var(--nb-radius) 0 0;
  padding: 0.85rem;
  box-sizing: border-box;
  isolation: isolate; /* confine badges au media de la carte */
}

.nb-product-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f8fafc;
}

.nb-stock,
.nb-stock-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-family: var(--nb-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.nb-stock--inline {
  box-shadow: none;
  margin: 0 0 0.85rem;
}

.nb-product-card__media .nb-stock-badge,
.nb-product-detail__media .nb-stock-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2; /* reste local à la carte, sous le header / autocomplete */
}

.nb-stock--in_stock {
  background: rgba(22, 120, 70, 0.92);
  color: #e8fff1;
}

.nb-stock--low_stock {
  background: rgba(200, 110, 20, 0.94);
  color: #fff7eb;
}

.nb-stock--out_of_stock {
  background: rgba(120, 40, 45, 0.94);
  color: #ffe8e8;
}

.nb-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1.15rem 1.2rem;
  flex: 1 1 auto;
  min-height: 0;
}

.nb-product-card__brand {
  margin: 0;
  font-size: 0.78rem;
  color: var(--nb-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nb-product-card__title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.nb-product-card__title a {
  color: var(--nb-text);
  text-decoration: none;
}

.nb-product-card__title a:hover {
  color: var(--nb-accent-strong);
}

.nb-product-card__short {
  margin: 0;
  color: var(--nb-muted);
  font-size: 0.92rem;
}

.nb-product-card__bottom {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nb-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.nb-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}

.nb-price__current {
  font-family: var(--nb-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--nb-accent-strong);
}

.nb-price__compare {
  font-size: 0.85rem;
  color: var(--nb-muted);
  text-decoration: line-through;
}

.nb-price--lg .nb-price__current {
  font-size: 1.85rem;
}

.btn.disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.nb-shop-note {
  margin: 2rem 0 0;
  text-align: center;
  color: var(--nb-muted);
  font-size: 0.9rem;
}

.nb-vitrine-cta {
  text-align: center;
  margin: 2.25rem 0 0;
}

.nb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
  color: var(--nb-muted);
  font-size: 0.9rem;
}

.nb-breadcrumb a {
  color: var(--nb-muted);
}

.nb-breadcrumb a:hover {
  color: var(--nb-accent-strong);
}

.nb-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.nb-product-detail__media {
  position: relative;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  overflow: hidden;
  background: #f4f6f8;
}

.nb-product-detail__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 1rem;
  box-sizing: border-box;
}

.nb-product-detail__info h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
}

.nb-product-detail__desc {
  color: var(--nb-muted);
  margin: 1rem 0 1.35rem;
}

.nb-shipping-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(245, 130, 32, 0.25);
  border-radius: 10px;
  background: rgba(245, 130, 32, 0.08);
  color: var(--nb-text);
  font-size: 0.95rem;
}

.nb-shipping-note .fa {
  color: var(--nb-accent-strong);
}

.nb-specs-block {
  margin: 0 0 1.75rem;
}

.nb-specs-block__title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.nb-specs {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: rgba(22, 33, 49, 0.45);
  overflow: hidden;
}

.nb-specs__row,
.nb-specs > div {
  display: grid;
  grid-template-columns: minmax(9rem, 38%) 1fr;
  gap: 0.75rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--nb-border);
}

.nb-specs__row:nth-child(odd),
.nb-specs > div:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.nb-specs__row:last-child,
.nb-specs > div:last-child {
  border-bottom: 0;
}

.nb-specs dt {
  margin: 0;
  color: var(--nb-muted);
  font-size: 0.88rem;
}

.nb-specs dd {
  margin: 0;
  color: var(--nb-text);
  font-weight: 600;
}

.nb-product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.nb-product-reassure {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--nb-border);
  border-radius: 12px;
  background: rgba(15, 23, 34, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nb-product-reassure li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  color: var(--nb-text);
  font-size: 0.92rem;
  line-height: 1.4;
}

.nb-product-reassure i {
  color: var(--nb-accent-strong);
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.nb-soldout-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nb-buy-disabled {
  filter: grayscale(0.85);
  opacity: 0.45 !important;
}

.nb-soldout-msg {
  margin: 0;
  font-family: var(--nb-font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #f0a0a0;
}

.nb-legal-vat {
  margin: 0.5rem 0 0;
  color: var(--nb-muted);
  font-size: 0.88rem;
}

.nb-legal-vat--center {
  text-align: center;
  margin-top: 2rem;
}

.nb-confirm {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.nb-confirm__body {
  margin-top: 1rem;
  color: var(--nb-muted);
}

.nb-confirm__product {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  margin: 1.5rem auto;
  padding: 1rem;
  max-width: 28rem;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
  color: var(--nb-text);
}

.nb-confirm__product img {
  width: 96px;
  height: auto;
  border-radius: 8px;
}

.nb-confirm__product p {
  margin: 0.25rem 0 0;
  color: var(--nb-muted);
}

.nb-confirm__next {
  margin: 1.5rem 0;
}

.nb-confirm .nb-product-actions {
  justify-content: center;
}

.nb-empty {
  text-align: center;
  color: var(--nb-muted);
}

@media (max-width: 840px) {
  .nb-product-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nb-specs__row,
  .nb-specs > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .nb-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .nb-product-card__short {
    display: none;
  }

  .nb-product-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .nb-product-card__footer .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .nb-product-grid {
    grid-template-columns: 1fr;
  }

  .nb-shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nb-shop-filters {
    gap: 0.4rem;
    justify-content: center;
  }

  .nb-shop-sort {
    justify-content: space-between;
  }

  .nb-shop-sort__select {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nb-filter-tab {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
  }

  .nb-product-actions {
    flex-direction: column;
  }

  .nb-product-actions .btn,
  .nb-soldout-block {
    width: 100%;
  }

  .nb-buy-disabled {
    width: 100%;
    text-align: center;
  }
}

/* ---------- E-commerce shell (Materiel.net-like) ---------- */
/* (styles header opaque : voir bloc header#header ci-dessus) */

/* Topbar e-commerce : logo | recherche | liens / panier */
.nb-header-shop .nb-shell {
  max-width: var(--nb-max);
}

.nb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nb-header-h);
  width: 100%;
  flex-wrap: nowrap;
  position: relative;
  z-index: 1;
}

.nb-topbar__brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}

.nb-topbar__search {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 44rem;
  margin: 0 auto;
  position: relative;
  z-index: 110;
}

.nb-topbar__nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nb-topbar__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

/* ---------- Search bar ---------- */
.nb-search {
  width: 100%;
  position: relative;
  z-index: 110;
}

.nb-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nb-search__form {
  width: 100%;
  position: relative;
}

.nb-search__field {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 2.65rem;
  padding: 0.2rem 0.3rem;
  background: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nb-search__field:focus-within {
  background: #fff;
  border-color: rgba(245, 130, 32, 0.65);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.18);
}

.nb-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: #0f172a !important;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  padding: 0.45rem 0.5rem 0.45rem 1rem !important;
  height: auto !important;
}

.nb-search__input::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}

.nb-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.nb-search__submit {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--nb-accent);
  color: #1a1208;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.nb-search__submit:hover {
  filter: brightness(1.06);
}

.nb-search__submit:active {
  transform: scale(0.97);
}

.nb-search__suggest {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 1050;
  max-height: min(70vh, 26rem);
  overflow: auto;
  background-color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.28), 0 4px 14px rgba(15, 23, 42, 0.12);
  padding: 0.4rem;
}

.nb-search__empty {
  padding: 0.9rem 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.nb-search__hit {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  text-decoration: none !important;
  color: #0f172a !important;
}

.nb-search__hit:hover,
.nb-search__hit:focus {
  background: #f1f5f9;
  outline: none;
}

.nb-search__thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nb-search__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nb-search__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nb-search__title {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.25;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nb-search__brand {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nb-search__price {
  font-family: var(--nb-font-display);
  font-weight: 700;
  color: #ea580c;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nb-search-open {
  display: none;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--nb-border);
  border-radius: 999px;
  background: transparent;
  color: var(--nb-text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nb-search-open:hover {
  border-color: rgba(245, 130, 32, 0.45);
  color: var(--nb-accent-strong);
}

.nb-search-mobile {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(7, 11, 17, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.75rem;
}

.nb-search-mobile__panel {
  background: #0b121a;
  border: 1px solid var(--nb-border);
  border-radius: 16px;
  padding: 0.85rem;
  max-width: 40rem;
  margin: 0.5rem auto 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.nb-search-mobile__bar {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.nb-search-mobile__bar .nb-search__form {
  flex: 1 1 auto;
  min-width: 0;
}

.nb-search-mobile__close {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.1rem;
  border: 1px solid var(--nb-border);
  border-radius: 999px;
  background: transparent;
  color: var(--nb-text);
  cursor: pointer;
}

.nb-search__suggest--mobile {
  position: static;
  margin-top: 0.65rem;
  max-height: min(60vh, 22rem);
  box-shadow: none;
}

.nb-search-query {
  margin: 0.85rem 0 0;
  color: var(--nb-muted);
  font-size: 0.95rem;
}

html.nb-search-open,
html.nb-search-open body {
  overflow: hidden;
}

.nb-shop-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nb-shop-nav__link,
.nb-shop-nav a {
  color: var(--nb-muted) !important;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0.5rem 0.75rem !important;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.nb-shop-nav__link:hover,
.nb-shop-nav a:hover {
  color: var(--nb-text) !important;
  background: var(--nb-accent-dim) !important;
}

.overlay-menu .nb-shop-nav {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  white-space: normal;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.overlay-menu .nb-shop-nav__link,
.overlay-menu .nb-shop-nav a {
  display: block;
  padding: 0.75rem 1rem !important;
  font-size: 1.1rem;
}

/* Legacy aliases */
.nb-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nb-header-h);
  width: 100%;
}

.nb-navbar-center {
  flex: 1 1 auto;
  justify-content: center !important;
}

.nb-navbar-actions {
  flex: 0 0 auto;
  justify-content: flex-end !important;
}

.nb-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--nb-border);
  border-radius: 999px;
  color: var(--nb-text) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.88rem;
}

.nb-cart-link:hover {
  border-color: rgba(245, 130, 32, 0.45);
  color: var(--nb-accent-strong) !important;
}

.nb-cart-count {
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--nb-accent);
  color: #1a1208;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
}

/* Commerce hero */
.nb-hero-commerce.nostalbox-hero,
.hero.nb-hero-commerce {
  min-height: 0 !important;
  padding-top: 6.5rem;
  padding-bottom: 2.75rem;
}

.nb-hero-commerce .nb-hero-visual {
  max-width: 360px;
  width: min(100%, 360px);
}

.nb-hero-commerce-title {
  font-family: var(--nb-font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.85rem) !important;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.9rem !important;
  color: #fff !important;
  letter-spacing: -0.03em;
  max-width: 34rem;
}

.nb-hero-commerce-lead {
  font-size: 1.05rem !important;
  color: var(--nb-muted) !important;
  max-width: 34rem;
  margin: 0 0 1.5rem !important;
}

.nb-hero-commerce .nb-eyebrow {
  margin-bottom: 0.75rem;
}

/* Reassurance strip */
.nb-reassurance {
  background: #0e1620;
  border-top: 1px solid var(--nb-border);
  border-bottom: 1px solid var(--nb-border);
  padding: 1.1rem 0 !important;
}

.nb-reassurance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.nb-reassurance-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.7rem;
  row-gap: 0.1rem;
  align-items: center;
}

.nb-reassurance-icon {
  grid-row: 1 / span 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nb-accent-dim);
  color: var(--nb-accent-strong);
  font-size: 1.1rem;
}

.nb-reassurance-list strong {
  color: var(--nb-text);
  font-size: 0.9rem;
  line-height: 1.25;
}

.nb-reassurance-list span {
  color: var(--nb-muted);
  font-size: 0.8rem;
}

.nb-section-intro--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.nb-section-intro--left h2 {
  text-align: left;
}

.nb-home-products {
  padding-top: 2.75rem;
}

.nb-promo-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3; /* local à la carte uniquement */
  background: var(--nb-accent);
  color: #1a1208;
  font-family: var(--nb-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
}

/* Les cartes ne doivent pas créer un empilement au-dessus du header */
.nb-product-card,
.nb-product-grid {
  position: relative;
  z-index: 1;
}

.nb-price--card {
  margin: 0.35rem 0 0.15rem;
}

.nb-price--card .nb-price__current {
  font-size: 1.45rem;
}

.nb-card-vat {
  margin: 0;
  font-size: 0.75rem;
  color: var(--nb-muted);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.nb-footer-cols {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 1.75rem;
}

.nb-footer-heading {
  margin: 0 0 0.75rem;
  font-family: var(--nb-font-display);
  font-weight: 700;
  color: var(--nb-text);
  font-size: 0.95rem;
}

.nb-footer-heading--partners {
  margin-top: 1.25rem;
}

.nb-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nb-footer-col li {
  margin: 0.3rem 0;
  font-size: 0.92rem;
  color: var(--nb-muted);
}

.nb-footer-col a {
  color: var(--nb-muted);
}

.nb-footer-col a:hover {
  color: var(--nb-accent-strong);
}

.nb-footer-partners a {
  font-size: 0.88rem;
  opacity: 0.85;
}

@media (max-width: 960px) {
  .nb-reassurance-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nb-footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .nb-navbar-center,
  .nb-topbar__nav.desktop-menu,
  .nb-topbar__search.desktop-search {
    display: none !important;
  }

  .nb-search-open {
    display: inline-flex;
  }

  .nb-topbar {
    gap: 0.5rem;
  }

  .nb-topbar__actions {
    gap: 0.25rem;
  }

  .nb-shop-nav--actions .nb-shop-nav__link {
    padding: 0.45rem 0.55rem !important;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .nb-reassurance-list {
    grid-template-columns: 1fr;
  }

  .nb-footer-cols {
    grid-template-columns: 1fr;
  }

  .nb-cart-label {
    display: none;
  }

  .nb-shop-nav--actions {
    display: none;
  }

  .nb-hero-commerce .nb-hero-layout {
    flex-direction: column;
  }

  .nb-hero-commerce .nb-hero-visual {
    order: 1;
    width: min(38vw, 140px);
    max-width: 140px;
    margin-inline: auto;
  }
}

/* ---------- Cart (drawer + page + qty) ---------- */
.nb-add-cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.nb-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--nb-border);
  border-radius: 999px;
  overflow: hidden;
  background: #0f1722;
}

.nb-qty__btn {
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  background: transparent;
  color: var(--nb-text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.nb-qty__btn:hover {
  color: var(--nb-accent-strong);
  background: var(--nb-accent-dim);
}

.nb-qty__input {
  width: 2.6rem;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  color: var(--nb-text) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0 !important;
  height: auto !important;
  -moz-appearance: textfield;
}

.nb-qty__input::-webkit-outer-spin-button,
.nb-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.nb-qty--lg .nb-qty__btn {
  width: 2.55rem;
  height: 2.55rem;
}

.nb-qty--lg .nb-qty__input {
  width: 3rem;
  font-size: 1.05rem;
}

.nb-cart-toast {
  position: fixed;
  left: 50%;
  top: calc(var(--nb-header-h) + 0.75rem);
  bottom: auto;
  transform: translateX(-50%) translateY(-120%);
  z-index: 10050;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: #102033;
  border: 1px solid rgba(245, 130, 32, 0.45);
  color: var(--nb-text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  font-weight: 600;
  font-size: 0.92rem;
  max-width: calc(100vw - 2rem);
}

.nb-cart-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Ne jamais masquer le CTA du tiroir panier (mobile) */
html.nb-cart-open .nb-cart-toast {
  display: none;
}

.nb-cart-toast i {
  color: var(--nb-accent-strong);
}

.nb-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1300;
}

.nb-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 17, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.nb-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 420px);
  height: 100%;
  background: #0b121a;
  border-left: 1px solid var(--nb-border);
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  transition: transform 0.22s ease;
}

.nb-cart-drawer.is-open .nb-cart-drawer__backdrop {
  opacity: 1;
}

.nb-cart-drawer.is-open .nb-cart-drawer__panel {
  transform: translateX(0);
}

.nb-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--nb-border);
}

.nb-cart-drawer__header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.nb-cart-drawer__close {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  border: 1px solid var(--nb-border);
  background: transparent;
  color: var(--nb-text);
  cursor: pointer;
}

.nb-cart-drawer__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 0.85rem 1rem;
}

.nb-cart-drawer__footer {
  padding: 1rem 1.15rem 1.25rem;
  border-top: 1px solid var(--nb-border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nb-cart-drawer__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 1.05rem;
}

.nb-cart-drawer__total strong {
  color: var(--nb-accent-strong);
  font-family: var(--nb-font-display);
  font-size: 1.25rem;
}

.nb-cart-legal {
  margin: 0;
  font-size: 0.75rem;
  color: var(--nb-muted);
  line-height: 1.35;
}

.nb-cart-legal--confirm {
  margin: 0.75rem 0 1rem;
}

.nb-cart-empty {
  margin: 1.5rem 0;
  color: var(--nb-muted);
  text-align: center;
  line-height: 1.5;
}

.nb-cart-empty a {
  color: var(--nb-accent-strong);
}

.nb-shop-header--cart {
  text-align: center;
  margin-bottom: 2rem;
}

.nb-shop-header--cart .nb-shop-intro {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.nb-cart-page__list.is-empty {
  display: flex;
  align-items: center;
  min-height: 22rem;
  padding: 1.75rem 2rem;
  background: rgba(15, 23, 34, 0.72);
}

.nb-cart-empty-state {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 1.75rem 2rem;
  align-items: center;
  width: 100%;
}

.nb-cart-empty-state__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nb-cart-empty-state__visual img {
  display: block;
  width: min(100%, 240px);
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
}

.nb-cart-empty-state__copy {
  min-width: 0;
}

.nb-cart-empty-state__title {
  margin: 0 0 0.75rem;
  font-family: var(--nb-font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nb-text);
}

.nb-cart-empty-state__text {
  margin: 0 0 1.35rem;
  color: var(--nb-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 28rem;
}

.nb-accent-text {
  color: var(--nb-accent-strong);
  font-weight: 600;
}

.nb-cart-empty-state__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  border-radius: 999px !important;
  padding: 0.85rem 1.4rem !important;
  font-weight: 700;
}

.nb-cart-summary [data-nb-cart-checkout][disabled],
.nb-cart-drawer__footer [data-nb-cart-checkout][disabled] {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.25);
}

@media (max-width: 840px) {
  .nb-cart-empty-state {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }

  .nb-cart-empty-state__text {
    margin-left: auto;
    margin-right: auto;
  }

  .nb-cart-page__list.is-empty {
    padding: 1.5rem 1.15rem;
    min-height: 0;
  }

  .nb-cart-empty-state__visual img {
    width: min(100%, 200px);
  }
}

.nb-cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--nb-border);
}

.nb-cart-line:last-child {
  border-bottom: 0;
}

.nb-cart-line__thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nb-cart-line__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nb-cart-line__title {
  color: var(--nb-text) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  display: block;
}

.nb-cart-line__title:hover {
  color: var(--nb-accent-strong) !important;
}

.nb-cart-line__unit {
  margin: 0.25rem 0 0.45rem;
  color: var(--nb-muted);
  font-size: 0.8rem;
}

.nb-cart-line__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.nb-cart-line__remove {
  border: 0;
  background: transparent;
  color: var(--nb-muted);
  cursor: pointer;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.35rem;
}

.nb-cart-line__remove:hover {
  color: #f0a0a0;
}

.nb-cart-line__total {
  font-family: var(--nb-font-display);
  font-weight: 700;
  color: var(--nb-accent-strong);
  white-space: nowrap;
  font-size: 0.95rem;
  padding-top: 0.15rem;
}

.nb-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: 1.75rem;
  align-items: start;
}

.nb-cart-page__list {
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: rgba(15, 23, 34, 0.55);
  padding: 0.5rem 1rem;
  min-height: 12rem;
}

.nb-cart-summary {
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: rgba(15, 23, 34, 0.7);
  padding: 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: 5.5rem;
}

.nb-cart-summary__title {
  margin: 0;
  font-size: 1.1rem;
}

.nb-cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.05rem;
}

.nb-cart-summary__row strong {
  color: var(--nb-accent-strong);
  font-family: var(--nb-font-display);
  font-size: 1.35rem;
}

.nb-confirm__cart {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--nb-border);
  border-radius: 12px;
  background: rgba(15, 23, 34, 0.55);
}

.nb-confirm__lines {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--nb-text);
}

.nb-confirm__lines li {
  margin: 0.35rem 0;
}

.nb-confirm__total {
  margin: 0.85rem 0 0;
}

html.nb-cart-open,
html.nb-cart-open body {
  overflow: hidden;
}

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

  .nb-cart-summary {
    position: static;
  }

  .nb-cart-line {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .nb-cart-line__total {
    grid-column: 2;
  }
}

/* ——— LOT 3 : PDP CPU + filtres boutique ——— */
.nb-tray-badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(245, 130, 32, 0.55);
  color: #ffd7a8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nb-tray-badge--card {
  left: 0.55rem;
  bottom: 0.55rem;
  font-size: 0.65rem;
}

.nb-illus-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nb-illus-badge--card {
  right: 0.55rem;
  top: 0.55rem;
  bottom: auto;
  font-size: 0.62rem;
  opacity: 0.95;
}

.nb-product-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.nb-illus-caption {
  margin: 0;
  font-size: 0.82rem;
  color: var(--nb-muted);
  line-height: 1.4;
}

.nb-packaging {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(245, 130, 32, 0.28);
  background: rgba(245, 130, 32, 0.06);
}

.nb-packaging__title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-family: var(--nb-font-display);
  color: #fff;
}

.nb-packaging__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--nb-text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.nb-packaging__list li {
  margin: 0.4rem 0;
  color: var(--nb-muted);
}

.nb-packaging__list strong {
  color: var(--nb-text);
}

.nb-product-card__pack {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nb-accent-strong);
  letter-spacing: 0.01em;
}

.nb-product-card__media:hover .nb-illus-badge--card {
  border-color: rgba(245, 130, 32, 0.55);
  color: #ffd7a8;
}

.nb-format-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(245, 130, 32, 0.12);
  border: 1px solid rgba(245, 130, 32, 0.35);
  color: #ffd7a8;
  font-size: 0.88rem;
  font-weight: 600;
}

.nb-format-badge .fa {
  color: var(--nb-accent-strong);
}

.nb-alert {
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  line-height: 1.45;
  font-size: 0.95rem;
}

.nb-alert--warn {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
}

.nb-alert--ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #bbf7d0;
}

[data-nb-cart-checkout].is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.nb-alert--warn strong {
  color: #fbbf24;
}

.nb-test-protocol {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--nb-border);
  background: rgba(22, 33, 49, 0.65);
}

.nb-test-protocol__title {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nb-test-protocol__title .fa {
  color: var(--nb-accent-strong);
}

.nb-test-protocol__text {
  margin: 0 0 0.65rem;
  color: var(--nb-muted);
  font-size: 0.94rem;
}

.nb-test-protocol__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--nb-text);
  font-size: 0.9rem;
}

.nb-test-protocol__list li {
  margin: 0.25rem 0;
}

.nb-shop-page .nb-shell {
  overflow-x: hidden;
}

.nb-shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.nb-shop-sidebar-wrap {
  width: 100%;
  max-width: 260px;
  min-width: 0;
  box-sizing: border-box;
  flex-shrink: 0;
}

.nb-shop-filters-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--nb-border);
  border-radius: 12px;
  background: rgba(18, 26, 36, 0.9);
  color: var(--nb-text);
  font-family: var(--nb-font-display);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.nb-shop-filters-toggle.is-active,
.nb-shop-filters-toggle[aria-expanded="true"] {
  border-color: rgba(245, 130, 32, 0.55);
  color: var(--nb-accent-strong);
}

.nb-shop-sidebar {
  position: sticky;
  top: calc(var(--nb-header-h) + 1rem);
  width: 100%;
  max-width: 260px;
  box-sizing: border-box;
  padding: 1rem;
  border: 1px solid var(--nb-border);
  border-radius: 14px;
  background: rgba(18, 26, 36, 0.85);
  overflow: hidden;
}

.nb-shop-sidebar__label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nb-muted);
}

.nb-shop-sidebar .nb-shop-filters {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  width: 100%;
}

.nb-shop-sidebar .nb-filter-tab {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  justify-content: flex-start;
  text-align: left;
  white-space: normal;
}

.nb-shop-filter-group {
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nb-shop-filter-group--last {
  margin-bottom: 0;
}

.nb-shop-cpu-filters {
  margin-bottom: 0.25rem;
  width: 100%;
}

.nb-shop-main {
  min-width: 0;
  max-width: 100%;
}

.nb-stock-only {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--nb-text);
  cursor: pointer;
  line-height: 1.35;
}

.nb-product-card__meta {
  color: var(--nb-muted);
  font-weight: 500;
}

@media (max-width: 991px) {
  .nb-shop-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .nb-shop-sidebar-wrap {
    max-width: none;
  }

  .nb-shop-filters-toggle {
    display: inline-flex;
  }

  .nb-shop-sidebar {
    position: static;
    max-width: none;
    display: none;
  }

  .nb-shop-sidebar.is-open {
    display: block;
  }

  .nb-shop-sidebar .nb-shop-filters {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nb-shop-sidebar .nb-filter-tab {
    width: auto;
    max-width: 100%;
  }

  .nb-shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nb-shop-sort {
    justify-content: space-between;
    width: 100%;
  }

  .nb-shop-sort__select {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
  }
}
