:root {
  --black:   #081b3d;
  --black2:  #0d274f;
  --black3:  #173664;
  --red:     #0c2247;
  --red-d:   #06142b;
  --gold:    #c89a2e;
  --gold-d:  #a57b1f;
  --white:   #fbf8f1;
  --grey:    #5f6879;
  --grey-l:  #8c94a4;
  --font-head: 'Bebas Neue', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(8, 27, 61, 0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(200,154,46,0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(8,27,61,0.08), transparent 30%),
    linear-gradient(180deg, #fbf8f1 0%, #f4efe5 100%);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TOPBAR ── */
.topbar {
  background: linear-gradient(90deg, var(--black) 0%, var(--black2) 48%, var(--black3) 100%);
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
}
.topbar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { opacity: 0.9; transition: opacity .2s; }
.topbar-links a:hover { opacity: 1; color: var(--gold); }

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 248, 241, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(8,27,61,0.12);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 10px 30px rgba(13,35,72,.12); }
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-logo { display: flex; align-items: center; }
.logo-img {  height: 80px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links li a {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  color: var(--black);
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold);
  background: rgba(200,154,46,0.12);
}
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--red-d) !important; color: var(--gold) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fbf8f1 0%, #f3efe7 55%, #fffdf8 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(200,154,46,0.14), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(8,27,61,0.10), transparent 30%),
    linear-gradient(135deg, rgba(8,27,61,0.03) 0%, rgba(8,27,61,0.00) 50%, rgba(200,154,46,0.06) 100%);
}
.hero-stripe {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--black) 0%, var(--gold) 50%, var(--black) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(8,27,61,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,27,61,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 24px;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 18px;
  color: var(--grey);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: rgba(255,252,246,0.88);
  border: 1px solid rgba(8,27,61,0.10);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  color: var(--black);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 4px;
}

.hero-home-inner {
  gap: 44px;
}

.brand-card {
  background: rgba(255,252,246,0.96);
  border: 1px solid rgba(8,27,61,0.10);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.brand-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.palette-card,
.about-summary {
  margin-top: 24px;
  background: rgba(255,252,246,0.96);
  border: 1px solid rgba(8,27,61,0.10);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.palette-title,
.summary-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black);
  margin-bottom: 14px;
}

.palette-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.palette-swatch {
  min-height: 82px;
  border-radius: 16px;
  display: flex;
  align-items: end;
  padding: 12px;
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.palette-swatch span {
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 999px;
}

.palette-swatch.navy {
  background: linear-gradient(135deg, var(--black), var(--black3));
  color: var(--white);
}

.palette-swatch.gold {
  background: linear-gradient(135deg, #dcb75a, var(--gold));
  color: var(--black);
}

.palette-swatch.cream {
  background: linear-gradient(135deg, #fffdf8, #f1eadf);
  color: var(--black);
  border: 1px solid rgba(8,27,61,0.08);
}

.palette-text {
  margin-top: 14px;
  color: var(--grey);
  font-size: 14px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-d); color: var(--gold); transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-d); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-wa {
  background: #25D366;
  color: var(--white);
}
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }
.btn-cart {
  background: linear-gradient(135deg, var(--black), var(--black2));
  color: var(--white);
}
.btn-cart:hover {
  background: linear-gradient(135deg, var(--black2), var(--black3));
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
.section { padding: 80px 24px; background: #f7f8fc; }
.section-inner { max-width: 1300px; margin: 0 auto; }
.section-label {
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black) !important;
  margin-bottom: 16px;
  line-height: 1;
}
.section-titl {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black) ;
  margin-bottom: 16px;
  line-height: 1;
}
.section-titl span { color: var(--gold); }
.section-title span { color: var(--gold); }
.section-sub {
  color: var(--grey) !important;
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 48px;
}
.section-dark { background: linear-gradient(180deg, #eff4fb 0%, #e8eef7 100%); }
.section-darker { background: linear-gradient(180deg, #dfe8f4 0%, #d4dfef 100%); }
.section-light { background: #f7f8fc; }
.section {
  background:
    linear-gradient(180deg, rgba(251,248,241,0.98) 0%, rgba(244,239,229,0.98) 100%);
}

/* ── CONTAINER CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.container-card {
  background: rgba(255,252,246,0.96);
  border: 1px solid rgba(8,27,61,0.10);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.container-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,154,46,0.55);
  box-shadow: 0 22px 56px rgba(8,27,61,0.16);
}
.card-img {
  aspect-ratio: 16/9;
  background: #e7edf7;
  overflow: hidden;
  position: relative;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.container-card:hover .card-img img { transform: scale(1.05); }
.card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #dfe7f1, #cfd8e6);
}
.card-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge-neuf { background: var(--gold); color: var(--black); }
.badge-bon { background: var(--black); color: var(--white); }
.badge-occasion { background: var(--grey); color: var(--white); }
.card-body { padding: 24px; }
.card-label {
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.card-title {
  font-family: var(--font-cond);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.card-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.card-spec { 
  font-size: 13px;
  color: var(--grey);
}

.card-spec strong { color: var(--black); }
.card-price {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.card-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245,168,0,0.15);
}
.filter-btn {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid rgba(13,35,72,0.18);
  border-radius: var(--radius);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  display: inline-block;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background:
    radial-gradient(circle at 20% 0%, rgba(200,154,46,0.10), transparent 26%),
    linear-gradient(135deg, #fbf8f1 0%, #f3efe7 55%, #fffdf8 100%);
  border-bottom: 1px solid rgba(8,27,61,0.10);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(8,27,61,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,27,61,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black);
  line-height: 1;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: var(--grey); margin-top: 12px; font-size: 17px; }
.breadcrumb {
  font-family: var(--font-cond);
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── DETAIL PAGE ── */
.detail-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}
.gallery { margin-bottom: 24px; }
.gallery-main {
  aspect-ratio: 16/9;
  background: var(--black3);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .placeholder { font-size: 5rem; display: flex; align-items: center; justify-content: center; height: 100%; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumbs img {
  width: 80px; height: 56px;
  object-fit: cover;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s;
}
.gallery-thumbs img.active { border-color: var(--gold); }
.gallery-thumb {
  width: 80px;
  height: 56px;
  border: 2px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb.active {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.detail-sidebar {
  background: linear-gradient(180deg, rgba(8,27,61,0.98), rgba(13,39,79,0.98));
  border: 1px solid rgba(200,154,46,0.20);
  border-radius: 18px;
  padding: 32px;
  position: sticky;
  top: 100px;
}
.detail-price {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.detail-condition {
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 24px;
}
.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.specs-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
}
.specs-table td:first-child { color: var(--grey); width: 45%; }
.specs-table td:last-child { color: var(--white); font-weight: 600; text-align: right; }
.specs-table-light td {
  border-bottom: 1px solid rgba(13,35,72,0.08);
}
.specs-table-light td:first-child { color: var(--grey); }
.specs-table-light td:last-child { color: var(--black); }
.social-share { margin-top: 24px; }
.social-share h4 {
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 12px;
}
.social-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-fb { background: #1877F2; color: #fff; }
.btn-fb:hover { background: #0e5ecc; }
.btn-ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.btn-li { background: #0A66C2; color: #fff; }
.btn-li:hover { background: #084d8f; }

/* ── USES LIST ── */
.uses-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.use-tag {
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(245,168,0,0.3);
  border-radius: 2px;
  color: var(--gold);
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: rgba(255,252,246,0.96);
  border-left: 3px solid var(--gold);
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
}
.feature-card p { font-size: 14px; color: var(--grey); }

.center-actions {
  margin-top: 40px;
  text-align: center;
}

.cart-feedback {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(200,154,46,0.14);
  color: var(--black);
  font-weight: 600;
}
.cart-feedback.is-visible { display: block; }

.cart-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: none;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--black), var(--black2));
  color: var(--white);
  box-shadow: var(--shadow);
  font-weight: 600;
}
.cart-toast.is-visible { display: block; }

.cart-page {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 28px;
}
.cart-panel,
.checkout-panel,
.cart-summary-panel {
  background: rgba(255,252,246,0.96);
  border: 1px solid rgba(8,27,61,0.10);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.cart-panel h2,
.checkout-panel h2,
.cart-summary-panel h2 {
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--black);
  font-size: 2rem;
  margin-bottom: 18px;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th,
.cart-table td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(8,27,61,0.08);
  text-align: left;
  vertical-align: middle;
}
.cart-table th {
  font-family: var(--font-cond);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--grey);
}
.cart-item-cell {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cart-item-thumb {
  width: 72px;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(8,27,61,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-muted {
  font-size: 13px;
  color: var(--grey);
}
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(8,27,61,0.12);
  border-radius: 999px;
  padding: 6px 10px;
}
.qty-btn,
.link-action {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(200,154,46,0.14);
  color: var(--black);
  font-weight: 800;
}
.link-action {
  color: #a43a3a;
  font-weight: 600;
}
.cart-empty-card,
.cart-empty-inline {
  padding: 28px;
  border: 1px dashed rgba(8,27,61,0.18);
  border-radius: 16px;
  background: rgba(8,27,61,0.03);
  color: var(--grey);
}
.cart-summary-box {
  display: grid;
  gap: 12px;
}
.cart-summary-line,
.checkout-line,
.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.checkout-total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(8,27,61,0.10);
  font-weight: 700;
}
.bank-panel,
.unsupported-panel {
  margin-top: 18px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(8,27,61,0.10);
  background: rgba(8,27,61,0.03);
}
.unsupported-panel {
  display: none;
  background: rgba(200,154,46,0.12);
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
}
.payment-methods {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(8,27,61,0.12);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.65);
}
.payment-method input {
  accent-color: var(--gold);
}
.bank-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(8,27,61,0.08);
}
.bank-row:last-child {
  border-bottom: none;
}
.upload-box {
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed rgba(8,27,61,0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.5);
}

.cta-band {
  padding: 0 24px 80px;
}

.cta-band-inner {
  max-width: 1300px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--black) 0%, var(--black2) 55%, var(--black3) 100%);
  color: var(--white);
  border-radius: 28px;
  padding: 40px 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-band-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}

.cta-band-inner p {
  color: rgba(255,255,255,0.82);
  max-width: 600px;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--black3);
  border: 1px solid rgba(245,168,0,0.2);
  border-radius: var(--radius);
  color: var(--white);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-box {
  background: rgba(255,252,246,0.96);
  border: 1px solid rgba(8,27,61,0.10);
  border-radius: 18px;
  padding: 32px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow);
}
.contact-info-box h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.contact-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(13,35,72,0.08);
  transition: color .2s;
  font-size: 15px;
}
.contact-social-link:hover { color: var(--gold); }
.contact-social-link:last-child { border-bottom: none; }
.social-icon { font-size: 1.3rem; width: 30px; text-align: center; }

/* ── DIMENSIONS TABLE ── */
.dim-table-wrap { overflow-x: auto; }
.dim-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.dim-table th {
  background: linear-gradient(90deg, var(--black), var(--black2));
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
}
.dim-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--black);
  white-space: nowrap;
}
.dim-table tr:nth-child(even) td { background: rgba(13,35,72,0.04); }
.dim-table tr:hover td { background: rgba(201,154,55,0.08); color: var(--black); }
.dim-table td:first-child { font-family: var(--font-cond); font-weight: 700; color: var(--black); }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p { color: var(--grey); margin-bottom: 16px; line-height: 1.8; }
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.value-item {
  padding: 20px;
  background: rgba(255,252,246,0.96);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
}
.value-item h4 {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
}
.value-item p { font-size: 14px; color: var(--grey); }
.german-flag {
  display: flex;
  flex-direction: column;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.german-flag .stripe { flex: 1; }
.stripe-black { background: var(--black); border: 1px solid rgba(255,255,255,0.1); }
.stripe-red   { background: var(--black2); }
.stripe-gold  { background: linear-gradient(135deg, #d9b55c, var(--gold)); }

/* ── CONTACT OK ── */
.success-box {
  max-width: 600px;
  margin: 80px auto;
  text-align: center;
  padding: 60px 40px;
  background: rgba(255,252,246,0.96);
  border: 1px solid rgba(8,27,61,0.10);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.success-icon { font-size: 4rem; margin-bottom: 24px; }
.success-box h2 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.success-box p { color: var(--grey); margin-bottom: 32px; }

/* ── FOOTER ── */.footer { background: linear-gradient(180deg, var(--black) 0%, #09162c 100%); color: rgba(255,255,255,0.82); }
.footer-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--black) 0%, var(--gold) 50%, var(--black) 100%);
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.7; margin-top: 16px; }
.footer-logo { height: 150px; width: auto; margin-bottom: 12px; }
.footer-col h4 {
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: var(--grey); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 48px 24px 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-logo {
    height: 80px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .footer-brand p {
    margin-top: 0;
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
    padding: 36px 20px 28px;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
  .footer-logo { height: 64px; }
  .footer-brand p { font-size: 13px; }
  .footer-col h4 { font-size: 11px; margin-bottom: 12px; }
  .footer-col ul li { margin-bottom: 7px; }
  .footer-col ul li a { font-size: 13px; }
  .footer-bottom { font-size: 12px; padding: 16px 20px; }
}
/* ── RELATED CARDS STRIP ── */
.related-strip { margin-top: 60px; }
.related-strip h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .cart-page,
  .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
 .nav-links {
  display: none;
  position: absolute;     /* ← était absolute, c'est correct */
  top: 68px;              /* hauteur du nav-inner mobile */
  left: 0;
  right: 0;
  max-height: calc(100vh - 68px);   /* hauteur max = reste de l'écran */
  overflow-y: auto;
  background: var(--bg-nav, rgba(251,248,241,0.97));
  backdrop-filter: blur(16px);
  flex-direction: column;
  padding: 20px 16px;
  gap: 4px;
  z-index: 999;
  border-top: 1px solid var(--nav-border, rgba(8,27,61,0.12));
}
.nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-links li a { padding: 12px 16px; border-radius: var(--radius);  }
  .form-row { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 3rem; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .topbar-inner { font-size: 11px; }
  .about-values { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .section { padding: 48px 16px; }
  .page-hero { padding: 40px 16px; }
  .filter-bar { gap: 6px; }
  .filter-btn { font-size: 11px; padding: 6px 12px; }
}

/* ── CARD CAROUSEL ── */

/* Outer wrapper: padding-bottom trick gives reliable 16:9 height */
.card-carousel {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
  background: linear-gradient(135deg, #0c2146, #173664);
}

/* The sliding strip sits inside with absolute fill */
.carousel-track {
  position: absolute;
  top: 0; left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Each slide is exactly 100% of the wrapper */
.carousel-slide {
  position: relative;
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.carousel-slide img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.container-card:hover .carousel-slide img {
  transform: scale(1.04);
}

/* Fallback shown when no images / all fail */
.carousel-fallback {
  position: absolute;
  top: 0; left: 0;
  min-width: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #0c2146, #173664);
  flex-shrink: 0;
}

/* ── Prev / Next buttons ── */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 27, 61, 0.72);
  border: 1px solid rgba(200,154,46,0.35);
  color: var(--gold);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s, border-color 0.2s, color 0.2s;
  z-index: 20;
  padding: 0;
  line-height: 1;
}
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.card-carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ── Dots ── */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 20;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 248, 230, 0.28);
  border: 1px solid rgba(255, 248, 230, 0.55);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  display: block;
}
.carousel-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.35);
}

/* ── Badge on top of carousel ── */
.card-carousel .card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

/* ── Detail page gallery carousel ── */
.gallery-carousel {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: linear-gradient(135deg, #0c2146, #173664);
  border-radius: 18px;
  margin-bottom: 12px;
}
.gallery-carousel .carousel-track {
  border-radius: var(--radius);
}
.gallery-carousel .carousel-btn {
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  opacity: 0.7;
}
.gallery-carousel:hover .carousel-btn { opacity: 1; }
.gallery-carousel .carousel-dots { bottom: 14px; }
.gallery-carousel .carousel-dot { width: 9px; height: 9px; }

/* â”€â”€ INTERNAL ADMIN â”€â”€ */
.admin-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 24px 90px;
}
.admin-login-shell {
  min-height: 70vh;
  display: grid;
  place-items: center;
}
.admin-login-card {
  width: min(100%, 560px);
  background: linear-gradient(180deg, rgba(8,27,61,0.98), rgba(13,39,79,0.98));
  color: var(--white);
  border: 1px solid rgba(200,154,46,0.25);
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 24px 70px rgba(8,27,61,0.28);
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.admin-header h1,
.admin-login-card h1 {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 4vw, 4rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 12px;
}
.section-kicker {
  font-family: var(--font-cond);
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 12px;
}
.section-lead {
  color: var(--grey);
  font-size: 17px;
  max-width: 760px;
}
.admin-login-card .section-lead { color: rgba(255,255,255,0.78); }
.admin-login-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.admin-login-form label,
.admin-filters input,
.admin-filters select {
  font-family: var(--font-cond);
}
.admin-login-form label {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.admin-login-form input,
.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(200,154,46,0.28);
  background: rgba(255,255,255,0.95);
  color: var(--black);
}
.admin-note {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.stat-card {
  background: linear-gradient(180deg, #fffdf8, #f4efe3);
  border: 1px solid rgba(8,27,61,0.08);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(8,27,61,0.08);
}
.stat-card span {
  display: block;
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  font-size: 12px;
}
.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  color: var(--black);
}
.admin-filters {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 22px;
}
.admin-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(8,27,61,0.1);
  background: rgba(255,255,255,0.75);
  box-shadow: 0 18px 50px rgba(8,27,61,0.08);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}
.admin-table th,
.admin-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(8,27,61,0.08);
}
.admin-table th {
  background: linear-gradient(90deg, var(--black), var(--black2));
  color: var(--white);
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.admin-table tr:last-child td { border-bottom: none; }
.muted { color: var(--grey); font-size: 13px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  border: 1px solid transparent;
}
.status-pending { background: rgba(200,154,46,0.14); color: #9b7318; border-color: rgba(200,154,46,0.24); }
.status-paid { background: rgba(20,139,78,0.14); color: #148b4e; border-color: rgba(20,139,78,0.24); }
.status-rejected { background: rgba(177,38,38,0.12); color: #b12626; border-color: rgba(177,38,38,0.2); }
.admin-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-small,
.btn-mini {
  padding: 10px 14px;
  font-size: 12px;
  min-height: auto;
}
.btn-danger {
  background: #a62323;
  color: #fff;
}
.btn-danger:hover { background: #861c1c; transform: translateY(-2px); }
.alert {
  padding: 14px 18px;
  border-radius: 14px;
  margin: 16px 0;
  font-weight: 600;
}
.alert-success {
  background: rgba(20,139,78,0.12);
  color: #116b3c;
  border: 1px solid rgba(20,139,78,0.22);
}
.alert-error {
  background: rgba(177,38,38,0.12);
  color: #9f1f1f;
  border: 1px solid rgba(177,38,38,0.22);
}
.table-empty {
  text-align: center;
  padding: 34px 18px;
  color: var(--grey);
}

@media (max-width: 1024px) {
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-actions { justify-content: flex-start; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-filters { grid-template-columns: 1fr 1fr; }
  .admin-header { flex-direction: column; }
}

@media (max-width: 720px) {
  .admin-login-card { padding: 30px 22px; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-filters { grid-template-columns: 1fr; }
}


/* ── Footer carte : 3 actions alignées sur une ligne ── */
.card-footer {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 16px;
}

.card-footer .btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 13px;
  padding: 10px 12px;
  text-align: center;
}

.btn-cart {
  flex: 0 0 auto;
  min-width: 44px;
}

/* Si tu préfères le bouton "Ajouter" en icône seule sur mobile et icône+texte sur desktop : */
@media (max-width: 480px) {
  .btn-cart span {
    display: none;
  }
  .btn-cart {
    padding: 10px;
  }
}

.btn-cart-icon {
  flex-shrink: 0;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  color: var(--dark, #1a1a1a);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s ease;
}

.pagination-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.pagination-btn--active {
  background: var(--primary, #1a1a1a);
  color: #fff;
  border-color: var(--primary, #1a1a1a);
  cursor: default;
}

.pagination-btn--disabled {
  opacity: .35;
  pointer-events: none;
}

.pagination-ellipsis {
  color: #94a3b8;
  padding: 0 4px;
}



/* ══════════════════════════════════════
   1. VARIABLES DARK MODE
   html[data-theme="dark"] remplace les
   couleurs light par leurs équivalents sombres
══════════════════════════════════════ */
:root {
  /* Light (déjà défini, on ajoute les alias thème) */
  --bg-body:      #fbf8f1;
  --bg-card:      rgba(255,252,246,0.96);
  --bg-nav:       rgba(251,248,241,0.88);
  --text-primary: var(--black);
  --text-muted:   var(--grey);
  --border-color: rgba(8,27,61,0.10);
  --nav-border:   rgba(8,27,61,0.12);
}
 
html[data-theme="dark"] {
  --bg-body:      #0b1628;
  --bg-card:      rgba(13,28,55,0.96);
  --bg-nav:       rgba(8,18,38,0.92);
  --text-primary: rgba(251,248,241,0.92);
  --text-muted:   rgba(251,248,241,0.55);
  --border-color: rgba(200,154,46,0.14);
  --nav-border:   rgba(200,154,46,0.18);
}
 
/* Appliquer les variables */
html[data-theme="dark"] body {
  background: var(--bg-body);
  color: var(--text-primary);
}
 
html[data-theme="dark"] .navbar {
  background: var(--bg-nav);
  border-bottom-color: var(--nav-border);
  backdrop-filter: blur(16px);
}
 
html[data-theme="dark"] .nav-links li a {
  color: rgba(251,248,241,0.85);
}
html[data-theme="dark"] .nav-links li a:hover,
html[data-theme="dark"] .nav-links li a.active {
  color: var(--gold);
  background: rgba(200,154,46,0.14);
}
html[data-theme="dark"] .nav-links {
  background: #0b1628; /* fond menu mobile dark */
}
html[data-theme="dark"] .nav-icon-btn {
  color: rgba(251,248,241,0.80);
}
html[data-theme="dark"] .nav-icon-btn:hover {
  background: rgba(200,154,46,0.16);
  color: var(--gold);
}
html[data-theme="dark"] .nav-toggle span {
  background: rgba(251,248,241,0.85);
}
 
/* Cards en dark */
html[data-theme="dark"] .container-card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .contact-info-box,
html[data-theme="dark"] .cart-panel,
html[data-theme="dark"] .checkout-panel,
html[data-theme="dark"] .cart-summary-panel,
html[data-theme="dark"] .value-item,
html[data-theme="dark"] .brand-card,
html[data-theme="dark"] .palette-card,
html[data-theme="dark"] .about-summary {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-primary);
}
 
html[data-theme="dark"] .feature-card h3{   color: var(--text-primary);}
html[data-theme="dark"] .container-card { border-color: rgba(200,154,46,0.12); }
html[data-theme="dark"] .container-card:hover { border-color: rgba(200,154,46,0.45); }
 
html[data-theme="dark"] .card-title,
html[data-theme="dark"] .card-spec strong,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .section-titl,
html[data-theme="dark"] td strong,
html[data-theme="dark"] .summary-title,
html[data-theme="dark"] .page-hero h1 {
  color: var(--text-primary);
}

html[data-theme="dark"] .card-spec,
html[data-theme="dark"] .section-sub,
html[data-theme="dark"] .page-hero p {
  color: var(--text-muted);
}

html[data-theme="dark"] td:last-child { color: var(--text-primary); }

html[data-theme="dark"] .section,
html[data-theme="dark"] .section-light,
html[data-theme="dark"] .section-dark,
html[data-theme="dark"] .section-darker {
  background: linear-gradient(180deg, #0e1e3a 0%, #0b1628 100%);
}
 
html[data-theme="dark"] .page-hero {
  background: linear-gradient(135deg, #0b1628 0%, #0e1e3a 55%, #091424 100%);
  border-bottom-color: rgba(200,154,46,0.14);
}
 
html[data-theme="dark"] .filter-btn {
  border-color: rgba(200,154,46,0.22);
  color: rgba(251,248,241,0.82);
  background: rgba(13,28,55,0.6);
}
html[data-theme="dark"] .filter-btn:hover,
html[data-theme="dark"] .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
 
html[data-theme="dark"] .dim-table td { color: rgba(251,248,241,0.82); }
html[data-theme="dark"] .dim-table tr:nth-child(even) td { background: rgba(200,154,46,0.06); }
 
html[data-theme="dark"] .cart-table th,
html[data-theme="dark"] .cart-table td { border-bottom-color: rgba(200,154,46,0.10); }
 
html[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0b1628 0%, #0e1e3a 55%, #091424 100%);
}
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .stat-num { color: rgba(251,248,241,0.92); }
html[data-theme="dark"] .hero-sub { color: rgba(251,248,241,0.60); }
 
html[data-theme="dark"] .about-text p { color: var(--text-muted); }
html[data-theme="dark"] .contact-info-box h3 { color: var(--text-primary); }
html[data-theme="dark"] .contact-social-link { color: var(--text-muted); }
html[data-theme="dark"] .contact-social-link:hover { color: var(--gold); }
 
/* Icône lune/soleil selon thème */
html[data-theme="light"] .icon-moon { display: none; }
html[data-theme="dark"]  .icon-sun  { display: none; }
html[data-theme="dark"]  .icon-moon { display: block; }
 
/* ══════════════════════════════════════
   2. NAVBAR — icônes SVG panier + toggle
══════════════════════════════════════ */
.nav-inner {
  position: relative; /* pour le menu mobile absolu */
}
 
.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
 
/* Bouton icône générique (panier + thème) */
.nav-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
}
.nav-icon-btn:hover {
  background: rgba(200,154,46,0.14);
  color: var(--gold);
}
 
/* Badge compteur panier */
.nav-cart-btn .cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  font-family: var(--font-cond);
}
/* Cacher le badge si 0 */
.nav-cart-btn .cart-count[data-cart-count="0"] { display: none; }
 
/* Toggle thème : taille icône */
.theme-toggle svg { display: block; }
 
/* ══════════════════════════════════════
   3. FOOTER — réseaux sociaux avec SVG
══════════════════════════════════════ */
.footer-social-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
 
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-social-link:last-child { border-bottom: none; }
.footer-social-link:hover { color: var(--gold); }
 
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: inherit;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s;
}
.footer-social-link:hover .footer-social-icon {
  background: rgba(200,154,46,0.22);
  color: var(--gold);
}
 
.footer-social-name {
  font-size: 13px;
  line-height: 1.3;
  word-break: break-all;
}
 
/* ══════════════════════════════════════
   4. RESPONSIVE MOBILE — corrections
══════════════════════════════════════ */
 
/* ── Navbar mobile ── */
@media (max-width: 768px) {
  .nav-inner {
    height: 68px;
    padding: 0 16px;
  }
 
 
  .nav-links li a {
    display: block;
    padding: 14px 18px;
    font-size: 16px;
    border-radius: var(--radius);
  }
  .nav-links li:last-child a.nav-cta {
    margin-top: 8px;
    text-align: center;
  }
 
  .nav-toggle { display: flex; }
 
  /* Logo plus petit */
  .logo-img { height: 80px; }
 
  /* Footer social responsive */
  .footer-social-name { font-size: 12px; }
}
 
@media (max-width: 480px) {
  .nav-inner { padding: 0 12px; }
  .logo-img { height: 64px; }
  .nav-icon-btn { width: 38px; height: 38px; }
 
  /* Footer 1 colonne sur très petit écran */
  .footer-inner {
    grid-template-columns: 1fr !important;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}
 
/* ── Corrections générales mobile ── */
@media (max-width: 768px) {
  /* Hero */
  .hero { min-height: 70vh; }
  .hero-inner { padding: 60px 16px 40px; }
 
  /* Cards grille 1 col */
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }
 
  /* Section padding réduit */
  .section { padding: 56px 16px; }
  .page-hero { padding: 40px 16px; }
 
  /* Detail page */
  .detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .detail-sidebar { position: static; }
 
  /* Cart */
  .cart-page,
  .checkout-layout { grid-template-columns: 1fr; gap: 16px; }
 
  /* Filtre bar scroll horizontal sur mobile */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
 
  /* Table dimensions scroll */
  .dim-table-wrap { border-radius: var(--radius); }
 
  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-values { grid-template-columns: 1fr; }
 
  /* Related */
  .related-grid { grid-template-columns: 1fr; }
 
  /* CTA band */
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-band-actions { justify-content: flex-start; }
}
.cart-panel {
  min-width: 0;
  overflow: hidden;
}