:root {
  --blood:        #8B0000;
  --blood-bright: #CC0000;
  --blood-vivid:  #FF1A1A;
  --ember:        #FF4500;
  --void:         #050505;
  --char:         #0A0A0A;
  --ash:          #1A1A1A;
  --bone:         #C8C0B0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--void);
  color: var(--bone);
  font-family: 'Rajdhani', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* =================== INTRO ANIMATION =================== */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scratch-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.scratch-path {
  stroke: var(--blood-vivid);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 8px #FF1A1A) drop-shadow(0 0 20px #8B0000);
}

.scratch-path.s1 { animation: scratch 0.4s 0.2s  ease-out forwards; }
.scratch-path.s2 { animation: scratch 0.4s 0.35s ease-out forwards; }
.scratch-path.s3 { animation: scratch 0.4s 0.5s  ease-out forwards; }
.scratch-path.s4 { animation: scratch 0.35s 0.6s ease-out forwards; }
.scratch-path.s5 { animation: scratch 0.35s 0.7s ease-out forwards; }

/* Sur mobile : animation plus rapide pour pas saouler */
@media (max-width: 768px) {
  .scratch-path.s1 { animation-duration: 0.3s; animation-delay: 0.1s; }
  .scratch-path.s2 { animation-duration: 0.3s; animation-delay: 0.2s; }
  .scratch-path.s3 { animation-duration: 0.3s; animation-delay: 0.3s; }
  .scratch-path.s4 { animation-duration: 0.25s; animation-delay: 0.35s; }
  .scratch-path.s5 { animation-duration: 0.25s; animation-delay: 0.45s; }
  .intro-title {
    animation-duration: 0.5s;
    animation-delay: 0.6s;
  }
  .intro-enter-btn {
    animation-duration: 0.4s;
    animation-delay: 1s;
  }
}

/* Hint "tape pour passer" sur mobile */
.intro-skip-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
  z-index: 11;
  opacity: 0;
  animation: hint-fade 0.6s 1.5s forwards;
  pointer-events: none;
}
@keyframes hint-fade {
  to { opacity: 1; }
}

.drip-path {
  fill: var(--blood);
  opacity: 0;
  animation: drip-appear 0.3s ease-out forwards;
  filter: drop-shadow(0 0 6px #8B0000);
}
.drip-path.d1 { animation-delay: 0.6s; }
.drip-path.d2 { animation-delay: 0.75s; }
.drip-path.d3 { animation-delay: 0.9s; }

@keyframes scratch { to { stroke-dashoffset: 0; } }
@keyframes drip-appear { to { opacity: 1; } }

.splatter {
  position: absolute;
  border-radius: 50%;
  background: var(--blood);
  opacity: 0;
  filter: blur(1px);
  animation: splat 0.2s ease-out forwards;
}
@keyframes splat {
  0%   { transform: scale(0); opacity: 0; }
  60%  { opacity: 0.9; }
  100% { transform: scale(1); opacity: 0.7; }
}

.blood-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(139,0,0,0.4) 0%, transparent 70%);
  opacity: 0;
  animation: flash-in 1.2s 0.4s ease-out forwards;
}
@keyframes flash-in {
  0%   { opacity: 0; }
  30%  { opacity: 1; }
  100% { opacity: 0.15; }
}

.intro-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.intro-title {
  text-align: center;
  opacity: 0;
  animation: title-emerge 0.8s 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.intro-title h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 12vw, 140px);
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 0 40px rgba(204,0,0,0.8), 0 0 80px rgba(139,0,0,0.6);
  line-height: 0.9;
}
.intro-title h1 span {
  color: var(--blood-vivid);
  display: block;
}
.intro-title p {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.4em;
  color: rgba(200,192,176,0.85);
  margin-top: 16px;
  text-transform: uppercase;
}
@keyframes title-emerge {
  from { opacity: 0; transform: scale(1.1) translateY(20px); filter: blur(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0);     filter: blur(0); }
}

.intro-enter-btn {
  opacity: 0;
  animation: btn-appear 0.6s 1.8s ease-out forwards;
}
@keyframes btn-appear {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

#intro-overlay.exit {
  animation: overlay-exit 0.8s ease-in forwards;
}
@keyframes overlay-exit {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); pointer-events: none; }
}
/* =================== FIN INTRO =================== */

/* NAV ---------------------------------- */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(5,5,5,0.95), rgba(5,5,5,0.7));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(139,0,0,0.2);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.15em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(204,0,0,0.4));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 16px rgba(255,26,26,0.7));
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--blood-vivid); }

.nav-cart {
  font-size: 20px;
  color: #fff;
  position: relative;
}
.nav-cart #cart-count {
  background: var(--blood-bright);
  color: #fff;
  font-size: 11px;
  font-family: 'Bebas Neue';
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

/* HERO --------------------------------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 20px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(139,0,0,0.25), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(20,0,0,0.8), transparent 100%),
    linear-gradient(180deg, #050505 0%, #0A0000 50%, #050505 100%);
}

.ember-field {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ember {
  position: absolute;
  background: var(--ember);
  border-radius: 50%;
  animation: float-up linear infinite;
  opacity: 0;
}
@keyframes float-up {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(-100vh) translateX(var(--drift)); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.6em;
  color: var(--blood-bright);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 12vw, 160px);
  line-height: 0.85;
  color: #fff;
  text-shadow: 0 0 60px rgba(204,0,0,0.4);
}
.hero-title .accent { color: var(--blood-vivid); }

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(200,192,176,0.75);
  margin: 32px auto 0;
  max-width: 600px;
}
.hero-subtitle em {
  color: rgba(255,26,26,0.9);
  font-style: normal;
  font-weight: 600;
}

.hero-cta {
  margin-top: 48px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS ------------------------------ */
.btn-primary {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  padding: 16px 48px;
  background: var(--blood);
  color: #fff;
  border: 2px solid var(--blood-bright);
  display: inline-block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--blood-vivid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  z-index: -1;
}
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(204,0,0,0.6);
  transform: translateY(-2px);
}

.btn-ghost {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  padding: 16px 48px;
  background: transparent;
  color: rgba(200,192,176,0.85);
  border: 1px solid rgba(200,192,176,0.35);
  display: inline-block;
  transition: all 0.3s;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(200,192,176,0.78);
}

/* FLASH MESSAGES ----------------------- */
.flash-messages {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
}
.flash {
  background: var(--blood);
  color: #fff;
  padding: 14px 28px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.1em;
  border-left: 4px solid var(--blood-vivid);
  margin-bottom: 8px;
}
.flash.error { background: #5a0000; }

/* FOOTER ------------------------------- */
.main-footer {
  background: #000;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(139,0,0,0.2);
}
.main-footer .footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.15em;
  color: rgba(200,192,176,0.45);
}
.main-footer p {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(200,192,176,0.35);
  text-transform: uppercase;
}

/* PLACEHOLDER (pour pages non codées) -- */
.placeholder {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  padding: 40px;
}
.placeholder h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  letter-spacing: 0.1em;
  color: var(--blood-vivid);
}
.placeholder p {
  color: rgba(200,192,176,0.85);
  font-size: 18px;
}

/* ADMIN LOGIN -------------------------- */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background:
    radial-gradient(ellipse at center, rgba(139,0,0,0.15), transparent 70%),
    var(--void);
}
.login-box {
  background: var(--char);
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  border: 1px solid rgba(139,0,0,0.3);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.login-box h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 0.15em;
  color: #fff;
  text-align: center;
}
.login-box .subtitle {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: rgba(200,192,176,0.78);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.login-box form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login-box input {
  background: var(--ash);
  border: 1px solid rgba(200,192,176,0.45);
  color: #fff;
  padding: 14px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}
.login-box input:focus {
  border-color: var(--blood-bright);
}
.login-box button {
  margin-top: 8px;
  cursor: pointer;
}

/* PRODUCTS SECTION --------------------- */
.products-section {
  padding: 100px 40px;
  background: linear-gradient(180deg, var(--void) 0%, #0A0000 100%);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.6em;
  color: var(--blood-bright);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 7vw, 80px);
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1;
}

.section-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  color: rgba(200,192,176,0.85);
  margin-top: 20px;
  font-weight: 300;
}

.products-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  /* auto-fill : s'adapte automatiquement au nombre de produits */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--ash);
  border: 1px solid rgba(139,0,0,0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-card:hover {
  border-color: var(--blood-bright);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(139,0,0,0.3);
}

.product-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0000 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.1);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.2);
}

/* Placeholder quand aucune image n'est disponible */
.product-img.no-img::before {
  content: '📷 IMAGE À VENIR';
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(200,192,176,0.35);
  text-transform: uppercase;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(139,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
}
.product-card:hover .product-overlay { opacity: 1; }

.product-cta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: #fff;
  text-transform: uppercase;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.product-card:hover .product-cta { transform: translateY(0); }

.product-meta {
  padding: 20px 24px;
  border-top: 1px solid rgba(139,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-name {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(200,192,176,0.92);
  text-transform: uppercase;
  flex: 1;
}
.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--blood-bright);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Empty state quand aucun produit en DB */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state p {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
}
.empty-state .empty-sub {
  font-size: 13px;
  color: rgba(200,192,176,0.25);
  margin-top: 12px;
}

/* PRODUCT PAGE ------------------------- */
.product-page {
  min-height: 100vh;
  padding: 100px 40px 80px;
  max-width: 1300px;
  margin: 0 auto;
}

.back-link {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 40px;
  transition: color 0.3s;
}
.back-link:hover { color: var(--blood-vivid); }

.product-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-image-col {
  position: sticky;
  top: 100px;
}

.product-big-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0000 100%);
  overflow: hidden;
  border: 1px solid rgba(139,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-big-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-big-img.no-img::before {
  content: '📷 IMAGE À VENIR';
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: rgba(200,192,176,0.25);
}

/* Colonne infos */
.product-info-col {
  padding: 0 20px;
}

.product-category {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--blood-bright);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
}

.product-price-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  color: var(--blood-vivid);
  margin: 20px 0 32px;
  letter-spacing: 0.05em;
}

.product-description {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(200,192,176,0.85);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(139,0,0,0.15);
}

/* Sélecteurs (taille / quantité) */
.product-selector { margin-bottom: 32px; }

.selector-label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-btn {
  min-width: 56px;
  padding: 14px 18px;
  background: transparent;
  border: 1px solid rgba(200,192,176,0.35);
  color: rgba(200,192,176,0.85);
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
}
.size-btn:hover {
  border-color: var(--blood-bright);
  color: #fff;
}
.size-btn.selected {
  background: var(--blood);
  border-color: var(--blood-vivid);
  color: #fff;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(200,192,176,0.35);
}
.qty-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: rgba(200,192,176,0.85);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
}
.qty-btn:hover { color: var(--blood-vivid); }
#qty-input {
  width: 50px;
  height: 44px;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(200,192,176,0.45);
  border-right: 1px solid rgba(200,192,176,0.45);
  color: #fff;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  outline: none;
}

.btn-add-cart {
  width: 100%;
  max-width: 380px;
  margin-top: 12px;
}

.product-note {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  color: rgba(200,192,176,0.78);
  margin-top: 20px;
  letter-spacing: 0.05em;
}

/* Responsive page produit */
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-image-col { position: static; }
  .product-info-col { padding: 0; }
  .product-page { padding: 80px 20px 60px; }
}

/* CART PAGE ---------------------------- */
.cart-page {
  min-height: 100vh;
  padding: 100px 40px 80px;
  max-width: 1300px;
  margin: 0 auto;
}

.cart-header {
  text-align: center;
  margin-bottom: 60px;
}

.cart-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 80px);
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-top: 16px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Liste d'articles */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--ash);
  padding: 16px;
  border: 1px solid rgba(139,0,0,0.15);
  transition: border-color 0.3s;
}
.cart-item:hover { border-color: rgba(139,0,0,0.4); }

.cart-item-img {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #1a1a1a, #0d0000);
  overflow: hidden;
}
.cart-item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cart-item-img.no-img::before {
  content: '📷';
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(200,192,176,0.35);
  font-size: 24px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-item-name {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
}
.cart-item-meta {
  font-size: 13px;
  color: rgba(200,192,176,0.85);
}
.cart-item-meta strong { color: var(--bone); }
.cart-item-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--blood-bright);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.cart-item-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
}
.cart-item-pricing .unit-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  color: rgba(200,192,176,0.78);
}
.cart-item-pricing .cart-item-price {
  margin-top: 0;
}

.cart-item-remove {
  background: transparent;
  border: 1px solid rgba(200,192,176,0.45);
  color: rgba(200,192,176,0.85);
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.cart-item-remove:hover {
  border-color: var(--blood-bright);
  color: var(--blood-vivid);
}

/* Sidebar récap */
.cart-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-summary {
  background: var(--ash);
  padding: 28px;
  border: 1px solid rgba(139,0,0,0.25);
}
.cart-summary h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.25em;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(139,0,0,0.2);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  color: rgba(200,192,176,0.85);
}
.summary-line.total {
  border-top: 1px solid rgba(139,0,0,0.2);
  margin-top: 8px;
  padding-top: 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.1em;
  color: #fff;
}
.summary-line.total span:last-child { color: var(--blood-vivid); }

/* Code promo */
.promo-section {
  background: var(--ash);
  padding: 20px;
  border: 1px solid rgba(139,0,0,0.15);
}
.promo-section label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.promo-input {
  display: flex;
  gap: 8px;
}
.promo-input input {
  flex: 1;
  background: var(--void);
  border: 1px solid rgba(200,192,176,0.45);
  color: #fff;
  padding: 12px 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s;
}
.promo-input input:focus { border-color: var(--blood-bright); }
.promo-input button {
  background: transparent;
  border: 1px solid var(--blood-bright);
  color: var(--blood-bright);
  padding: 12px 18px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.2s;
}
.promo-input button:hover {
  background: var(--blood);
  color: #fff;
}
.promo-message {
  margin-top: 10px;
  font-size: 13px;
  min-height: 18px;
}
.promo-message.success { color: #4ade80; }
.promo-message.error { color: var(--blood-vivid); }

.btn-launch-order {
  width: 100%;
  padding: 20px;
  font-size: 20px;
}

/* Formulaire de commande */
.order-form {
  background: var(--ash);
  padding: 28px;
  border: 2px solid var(--blood);
  animation: form-appear 0.4s ease-out;
}
@keyframes form-appear {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.order-form h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.2em;
  color: #fff;
  margin-bottom: 8px;
}
.form-note {
  font-size: 13px;
  color: rgba(200,192,176,0.85);
  margin-bottom: 20px;
}

.order-form input,
.order-form textarea {
  width: 100%;
  background: var(--void);
  border: 1px solid rgba(200,192,176,0.45);
  color: #fff;
  padding: 14px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  font-family: inherit;
}
.order-form input:focus,
.order-form textarea:focus {
  border-color: var(--blood-bright);
}
.btn-confirm-order {
  width: 100%;
  margin-top: 12px;
}

/* Panier vide */
.empty-cart {
  text-align: center;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.empty-cart p {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  letter-spacing: 0.15em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
}
.empty-cart .empty-sub {
  font-size: 14px;
  color: rgba(200,192,176,0.25);
}
.empty-cart .btn-primary { margin-top: 24px; }

/* Responsive panier */
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-sidebar { position: static; }
  .cart-page { padding: 80px 20px 60px; }
  .cart-item { grid-template-columns: 80px 1fr auto; gap: 14px; padding: 12px; }
  .cart-item-img { width: 80px; height: 80px; }
  .cart-item-name { font-size: 14px; }
}

/* ORDER SUCCESS PAGE ------------------- */
.order-success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  background:
    radial-gradient(ellipse at center, rgba(139,0,0,0.15), transparent 70%),
    var(--void);
}

.success-box {
  max-width: 600px;
  width: 100%;
  background: var(--char);
  border: 2px solid var(--blood);
  padding: 60px 40px;
  text-align: center;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px),
                     calc(100% - 16px) 100%, 0 100%, 0 16px);
  animation: success-appear 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes success-appear {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--blood);
  color: #fff;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--blood-vivid);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(204,0,0,0.5);
}

.success-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  line-height: 0.9;
  letter-spacing: 0.05em;
  margin: 12px 0 24px;
}
.success-title .accent { color: var(--blood-vivid); }

.success-msg {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(200,192,176,0.75);
  margin-bottom: 32px;
}
.success-msg strong {
  color: var(--blood-vivid);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.1em;
}

.success-details {
  background: var(--ash);
  padding: 20px 24px;
  margin: 32px 0;
  text-align: left;
  border-left: 3px solid var(--blood-bright);
}
.detail-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  color: rgba(200,192,176,0.78);
}
.detail-line strong {
  color: #fff;
}
.detail-line.total {
  border-top: 1px solid rgba(139,0,0,0.3);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 17px;
}
.detail-line.total strong {
  color: var(--blood-vivid);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
}

.success-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  color: rgba(200,192,176,0.78);
  font-style: italic;
  margin: 32px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(139,0,0,0.15);
  border-bottom: 1px solid rgba(139,0,0,0.15);
}

/* COLLECTION PAGE ---------------------- */
.collection-page {
  min-height: 100vh;
  padding: 100px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.collection-header {
  text-align: center;
  margin-bottom: 50px;
}

.collection-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 12px 0;
}

.collection-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  color: rgba(200,192,176,0.85);
  font-weight: 300;
}

/* Filtres */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(139,0,0,0.15);
}

.filter-btn {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid rgba(200,192,176,0.35);
  color: rgba(200,192,176,0.85);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all 0.2s;
  text-decoration: none;
}
.filter-btn:hover {
  border-color: var(--blood-bright);
  color: #fff;
}
.filter-btn.active {
  background: var(--blood);
  border-color: var(--blood-vivid);
  color: #fff;
}

/* Responsive collection */
@media (max-width: 768px) {
  .collection-page { padding: 80px 20px 60px; }
  .filters { gap: 6px; }
  .filter-btn { padding: 10px 16px; font-size: 11px; }
}

/* ADMIN DASHBOARD ---------------------- */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  padding-top: 70px; /* espace pour la nav fixée */
}

/* Sidebar */
.admin-sidebar {
  background: #000;
  border-right: 1px solid rgba(139,0,0,0.3);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
}

.admin-brand {
  padding: 12px 14px 24px;
  border-bottom: 1px solid rgba(139,0,0,0.2);
  margin-bottom: 16px;
}
.admin-brand .admin-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.3em;
  color: var(--blood-vivid);
  display: block;
}
.admin-brand .admin-user {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(200,192,176,0.78);
  margin-top: 4px;
  display: block;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.admin-nav a {
  padding: 12px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgba(200,192,176,0.78);
  transition: all 0.2s;
  border-left: 2px solid transparent;
}
.admin-nav a:hover {
  background: rgba(139,0,0,0.08);
  color: #fff;
  border-left-color: var(--blood-bright);
}
.admin-nav a.active {
  background: rgba(139,0,0,0.15);
  color: #fff;
  border-left-color: var(--blood-vivid);
}

.admin-logout {
  padding: 12px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(200,192,176,0.78);
  border-top: 1px solid rgba(139,0,0,0.2);
  margin-top: 16px;
}
.admin-logout:hover { color: var(--blood-vivid); }

/* Main */
.admin-main {
  padding: 40px 50px;
  background: var(--void);
}

.admin-page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 50px;
}
.stat-card {
  background: var(--ash);
  padding: 24px;
  border: 1px solid rgba(139,0,0,0.15);
  transition: border-color 0.3s;
}
.stat-card:hover { border-color: rgba(139,0,0,0.4); }
.stat-card.highlight {
  border-color: var(--blood-bright);
  background: linear-gradient(135deg, var(--ash) 0%, rgba(139,0,0,0.1) 100%);
}
.stat-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1;
}
.stat-ping {
  margin-top: 10px;
  font-size: 12px;
  color: var(--blood-vivid);
  letter-spacing: 0.1em;
}

/* Section */
.admin-section {
  background: var(--ash);
  padding: 30px;
  border: 1px solid rgba(139,0,0,0.15);
  margin-bottom: 30px;
}
.admin-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(139,0,0,0.2);
}

/* Tableau commandes */
.orders-table-wrapper {
  overflow-x: auto;
}
.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Rajdhani', sans-serif;
}
.orders-table th {
  text-align: left;
  padding: 12px 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(139,0,0,0.3);
}
.orders-table td {
  padding: 16px 10px;
  border-bottom: 1px solid rgba(139,0,0,0.1);
  color: rgba(200,192,176,0.8);
  font-size: 14px;
  vertical-align: top;
}
.orders-table tr:hover td { background: rgba(139,0,0,0.05); }

.order-num {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.1em;
  color: var(--blood-bright);
}
.order-date {
  font-size: 12px;
  color: rgba(200,192,176,0.85);
  white-space: nowrap;
}
.order-items {
  font-size: 13px;
}
.order-items div { padding: 2px 0; }
.order-items small { color: rgba(200,192,176,0.78); }
.order-total {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--blood-vivid);
  white-space: nowrap;
}

.wa-link {
  color: #25D366;
  font-size: 13px;
}
.wa-link:hover { color: #fff; }

/* Select statut */
.status-select {
  background: var(--void);
  border: 1px solid rgba(200,192,176,0.35);
  color: #fff;
  padding: 8px 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  outline: none;
}
.status-select:focus { border-color: var(--blood-bright); }
.status-select.status-nouveau       { border-color: rgba(255,26,26,0.5); }
.status-select.status-en_traitement { border-color: rgba(255,193,7,0.5); }
.status-select.status-livre         { border-color: rgba(74,222,128,0.4); }
.status-select.status-annule        { border-color: rgba(200,192,176,0.35); opacity: 0.6; }

/* Responsive admin */
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(139,0,0,0.3);
  }
  .admin-main { padding: 24px 20px; }
  .orders-table { font-size: 12px; }
  .orders-table th, .orders-table td { padding: 8px 6px; }
}

/* ADMIN : PRODUITS --------------------- */
.admin-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-header-row .admin-page-title { margin: 0; }

.admin-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.admin-product-card {
  background: var(--ash);
  border: 1px solid rgba(139,0,0,0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}
.admin-product-card:hover { border-color: rgba(139,0,0,0.4); }

.admin-product-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a1a1a, #0d0000);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.admin-product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.admin-product-img .no-img-label {
  font-size: 32px;
  color: rgba(200,192,176,0.35);
}

.admin-product-info {
  padding: 16px 18px;
  flex: 1;
}
.admin-product-name {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.admin-product-meta {
  font-size: 12px;
  color: rgba(200,192,176,0.85);
  margin-bottom: 10px;
}
.admin-product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--blood-vivid);
  letter-spacing: 0.03em;
}

.admin-product-actions {
  display: flex;
  gap: 4px;
  border-top: 1px solid rgba(139,0,0,0.15);
}
.btn-small {
  flex: 1;
  padding: 12px 8px;
  background: transparent;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-small:hover {
  background: rgba(139,0,0,0.15);
  color: #fff;
}
.btn-small.btn-danger:hover {
  background: rgba(204,0,0,0.2);
  color: var(--blood-vivid);
}

/* Formulaire produit */
.admin-form {
  background: var(--ash);
  padding: 32px;
  border: 1px solid rgba(139,0,0,0.15);
  max-width: 800px;
}

.form-row {
  margin-bottom: 20px;
}
.form-row label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(200,192,176,0.78);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--void);
  border: 1px solid rgba(200,192,176,0.45);
  color: #fff;
  padding: 12px 14px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  font-family: inherit;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--blood-bright);
}
.form-row input[type="file"] {
  padding: 8px;
  cursor: pointer;
}
.form-row small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(200,192,176,0.78);
  letter-spacing: 0.05em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.current-image {
  margin-bottom: 12px;
}
.current-image img {
  max-width: 180px;
  max-height: 180px;
  border: 1px solid rgba(139,0,0,0.3);
  display: block;
  margin-bottom: 6px;
}

/* Galerie images existantes (mode édition) */
.existing-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.existing-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--void);
  border: 1px solid rgba(139,0,0,0.2);
  overflow: hidden;
}
.existing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--blood-vivid);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  padding: 3px 7px;
  text-transform: uppercase;
}
.img-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.img-remove:hover {
  background: var(--blood-vivid);
  border-color: var(--blood-vivid);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(139,0,0,0.15);
}

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .admin-form { padding: 20px; }
  .form-actions { flex-direction: column; }
  .form-actions .btn-primary,
  .form-actions .btn-ghost { width: 100%; text-align: center; }
}

/* ADMIN : SETTINGS --------------------- */
.section-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: rgba(200,192,176,0.85);
  margin-bottom: 24px;
  line-height: 1.6;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background: var(--void);
  border: 1px solid rgba(139,0,0,0.15);
}

.setting-info { flex: 1; }
.setting-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(200,192,176,0.78);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.setting-value {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.setting-value small {
  color: rgba(200,192,176,0.78);
  font-size: 12px;
}

.badge-on {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: #4ade80;
}
.badge-off {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: rgba(200,192,176,0.78);
}

@media (max-width: 600px) {
  .setting-row { flex-direction: column; align-items: stretch; }
}

/* Form promo */
.promo-form .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* CONTACT PAGE ------------------------- */
.contact-page {
  min-height: 100vh;
  padding: 100px 40px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}
.contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 80px);
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 12px 0;
}
.contact-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  color: rgba(200,192,176,0.85);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Formulaire */
.contact-form {
  background: var(--ash);
  padding: 40px;
  border: 1px solid rgba(139,0,0,0.2);
}
.contact-form .form-row {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--void);
  border: 1px solid rgba(200,192,176,0.45);
  color: #fff;
  padding: 14px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blood-bright);
}
.btn-full {
  width: 100%;
  margin-top: 12px;
}

/* Infos contact */
.contact-info {
  padding: 30px;
  background: var(--char);
  border: 1px solid rgba(139,0,0,0.15);
  position: sticky;
  top: 100px;
}
.contact-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.2em;
  color: var(--blood-vivid);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(139,0,0,0.2);
}

.contact-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(139,0,0,0.08);
}
.contact-block:last-of-type { border-bottom: none; }

.contact-icon {
  font-size: 24px;
  width: 44px;
  text-align: center;
}
.contact-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(200,192,176,0.78);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  color: #fff;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--blood-vivid); }

.contact-quote {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(139,0,0,0.15);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: rgba(200,192,176,0.78);
  font-style: italic;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .contact-page { padding: 80px 20px 60px; }
  .contact-form { padding: 24px; }
}

/* MANIFESTE PAGE ----------------------- */
.manifeste-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 40px 80px;
}

.manifeste-intro {
  text-align: center;
  margin-bottom: 100px;
  position: relative;
}

.manifeste-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 9vw, 120px);
  color: #fff;
  line-height: 0.9;
  letter-spacing: 0.03em;
  margin: 16px 0 24px;
  text-shadow: 0 0 40px rgba(204,0,0,0.3);
}
.manifeste-title .accent { color: var(--blood-vivid); }

.manifeste-lead {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  color: rgba(200,192,176,0.85);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Blocs numérotés */
.manifeste-sections {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin-bottom: 100px;
}

.manifeste-block {
  position: relative;
  padding-left: 80px;
  border-left: 1px solid rgba(139,0,0,0.25);
  padding-bottom: 20px;
}

.block-num {
  position: absolute;
  top: -10px;
  left: -30px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: rgba(139,0,0,0.15);
  letter-spacing: 0.05em;
  line-height: 1;
}

.manifeste-block h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.manifeste-block p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(200,192,176,0.82);
  max-width: 650px;
}

.manifeste-block p em {
  color: var(--blood-vivid);
  font-style: normal;
  font-weight: 600;
}

/* Piliers */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 100px 0;
  padding: 60px 30px;
  background: var(--char);
  border-top: 1px solid rgba(139,0,0,0.2);
  border-bottom: 1px solid rgba(139,0,0,0.2);
}

.pillar-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pillar-roman {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--blood-bright);
  letter-spacing: 0.1em;
  line-height: 1;
}

.pillar-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  color: #fff;
  letter-spacing: 0.15em;
}

/* CTA */
.manifeste-cta {
  text-align: center;
  padding: 80px 20px;
  background:
    radial-gradient(ellipse at center, rgba(139,0,0,0.2), transparent 70%);
}
.manifeste-cta h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 16px;
}
.manifeste-cta p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  color: rgba(200,192,176,0.85);
  margin-bottom: 40px;
}

/* Responsive manifeste */
@media (max-width: 700px) {
  .manifeste-page { padding: 80px 20px 60px; }
  .manifeste-block { padding-left: 40px; }
  .block-num { font-size: 48px; left: -14px; }
  .pillars { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px; }
}

.form-error {
  background: rgba(204,0,0,0.15);
  border-left: 3px solid var(--blood-vivid);
  color: var(--blood-vivid);
  padding: 14px 18px;
  margin: 16px 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  animation: shake 0.3s ease-out;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* =================== ÉTAPE 9 — IDENTITÉ =================== */

/* 9.1 Citation rage entre hero et produits */
.quote-section {
  background: var(--char);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(139,0,0,0.15);
  border-bottom: 1px solid rgba(139,0,0,0.15);
}

.rage-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4.5vw, 56px);
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto;
  font-style: italic;
  text-shadow: 0 0 30px rgba(204,0,0,0.3);
  position: relative;
  z-index: 2;
}

.quote-claw-left,
.quote-claw-right {
  position: absolute;
  top: 50%;
  width: 100px;
  height: 100px;
  background-image: linear-gradient(120deg,
    transparent 0%, transparent 47%,
    rgba(204,0,0,0.4) 48%, rgba(204,0,0,0.4) 52%,
    transparent 53%, transparent 100%
  );
  background-size: 100% 8px;
  background-position: 0 30%, 0 50%, 0 70%;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(110deg, transparent 47%, rgba(204,0,0,0.3) 48%, rgba(204,0,0,0.3) 52%, transparent 53%),
    linear-gradient(120deg, transparent 47%, rgba(204,0,0,0.5) 48%, rgba(204,0,0,0.5) 52%, transparent 53%),
    linear-gradient(125deg, transparent 47%, rgba(204,0,0,0.3) 48%, rgba(204,0,0,0.3) 52%, transparent 53%);
  filter: drop-shadow(0 0 10px rgba(204,0,0,0.3));
  opacity: 0.6;
  pointer-events: none;
  transform: translateY(-50%);
}
.quote-claw-left { left: 5%; }
.quote-claw-right { right: 5%; transform: translateY(-50%) scaleX(-1); }

/* 9.2 Badge membre sur page de confirmation */
.meute-badge {
  display: inline-block;
  margin: 24px auto 32px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--blood) 0%, var(--blood-bright) 100%);
  border: 2px solid var(--blood-vivid);
  position: relative;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 0 30px rgba(204,0,0,0.4);
}
.meute-badge .badge-label,
.meute-badge .badge-sublabel {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  line-height: 1.4;
}
.meute-badge .badge-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 4px 0;
  text-shadow: 0 0 20px rgba(255,255,255,0.4);
}

/* 9.3 Compteur de la meute */
.meute-counter-section {
  background:
    radial-gradient(ellipse at center, rgba(139,0,0,0.2) 0%, transparent 70%),
    linear-gradient(180deg, var(--void) 0%, #0A0000 100%);
  padding: 80px 40px;
  text-align: center;
  border-top: 1px solid rgba(139,0,0,0.15);
}
.counter-label,
.counter-sublabel {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: rgba(200,192,176,0.85);
  text-transform: uppercase;
}
.counter-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 12vw, 140px);
  color: var(--blood-vivid);
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 16px 0;
  text-shadow: 0 0 40px rgba(204,0,0,0.5);
}

/* 9.4 Page 404 */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 30px 60px;
  background:
    radial-gradient(ellipse at center, rgba(139,0,0,0.15), transparent 70%),
    var(--void);
}
.error-claws {
  font-size: 32px;
  color: var(--blood);
  letter-spacing: 0.5em;
  margin-bottom: 32px;
  opacity: 0.6;
}
.error-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(120px, 20vw, 220px);
  color: var(--blood-vivid);
  line-height: 0.9;
  letter-spacing: 0.05em;
  text-shadow: 0 0 60px rgba(204,0,0,0.5);
  margin-bottom: 16px;
}
.error-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 24px;
}
.error-title .accent { color: var(--blood-vivid); }
.error-msg {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  color: rgba(200,192,176,0.78);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 40px;
}

@media (max-width: 700px) {
  .quote-claw-left, .quote-claw-right { display: none; }
  .quote-section { padding: 50px 20px; }
  .meute-counter-section { padding: 60px 20px; }
  .meute-badge .badge-number { font-size: 36px; }
}

/* ============================================ */
/*  CARROUSEL CARDS PRODUIT (home + collection) */
/* ============================================ */
.product-card {
  background: var(--ash);
  border: 1px solid rgba(139,0,0,0.15);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.product-card:hover {
  border-color: rgba(204,0,0,0.5);
  transform: translateY(-4px);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.product-card-imgs {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1a1a1a, #0d0000);
  overflow: hidden;
}

/* Track : conteneur qui glisse horizontalement */
.card-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.card-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-imgs .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(200,192,176,0.35);
}

/* Flèche unique (à droite, boucle infinie) */
.card-arrow {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s, transform 0.2s;
  z-index: 5;
}
.product-card:hover .card-arrow {
  opacity: 1;
}
.card-arrow:hover {
  background: var(--blood-vivid);
  transform: translateY(-50%) translateX(2px);
}

/* Petits dots indicateurs */
.card-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
  background: rgba(0,0,0,0.5);
  padding: 4px 8px;
  border-radius: 100px;
}
.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
}
.card-dot.active {
  background: var(--blood-vivid);
  width: 18px;
  border-radius: 4px;
}

/* Infos sous l'image */
.product-card-info {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.product-card-name {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(200,192,176,0.92);
  text-transform: uppercase;
  margin: 0;
  flex: 1;
  line-height: 1.3;
}
.product-card-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--blood-vivid);
  white-space: nowrap;
}

/* Mobile : flèche toujours visible */
@media (hover: none) {
  .card-arrow { opacity: 1; }
}

@media (max-width: 768px) {
  .card-arrow { width: 30px; height: 30px; font-size: 20px; right: 6px; }
  .card-dots { bottom: 8px; padding: 3px 7px; gap: 5px; }
  .card-dot { width: 5px; height: 5px; }
  .card-dot.active { width: 14px; }
  .product-card-info { padding: 10px 12px; }
  .product-card-name { font-size: 11px; letter-spacing: 0.04em; }
  .product-card-price { font-size: 17px; }
}

/* ============================================ */
/*  GALERIE PAGE PRODUIT                        */
/* ============================================ */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1a1a1a, #0d0000);
  border: 1px solid rgba(139,0,0,0.2);
  overflow: hidden;
}
.gallery-main.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: rgba(200,192,176,0.45);
}

/* Track : conteneur qui glisse */
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Une seule flèche, à droite */
.gallery-arrow {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s, transform 0.2s;
}
.gallery-arrow:hover {
  background: var(--blood-vivid);
  transform: translateY(-50%) translateX(3px);
}

.gallery-counter {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  z-index: 5;
}

/* Miniatures */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 8px;
}
.gallery-thumb {
  background: var(--ash);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: all 0.2s;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.gallery-thumb:hover img,
.gallery-thumb.active img {
  opacity: 1;
}
.gallery-thumb.active {
  border-color: var(--blood-vivid);
}

@media (max-width: 768px) {
  .gallery-arrow { width: 40px; height: 40px; font-size: 24px; right: 10px; }
  .gallery-counter { bottom: 10px; left: 10px; font-size: 11px; padding: 4px 10px; }
  .gallery-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
  }
}

/* ============================================ */
/*  TOAST NOTIFICATIONS                         */
/* ============================================ */
#toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10000;
  pointer-events: none;
  max-width: 420px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--char);
  border: 1px solid rgba(139,0,0,0.4);
  border-left: 4px solid var(--blood-vivid);
  padding: 14px 18px;
  min-width: 280px;
  max-width: 100%;
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(204,0,0,0.15);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}
.toast.hide {
  transform: translateX(120%);
  opacity: 0;
}

.toast-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  background: rgba(204,0,0,0.2);
  color: var(--blood-vivid);
  border: 1px solid var(--blood-vivid);
}

.toast-msg {
  flex: 1;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(200,192,176,0.9);
  line-height: 1.4;
}

.toast-close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: rgba(200,192,176,0.78);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  transition: color 0.2s;
}
.toast-close:hover {
  color: #fff;
}

/* Variants */
.toast-success {
  border-left-color: #4ade80;
}
.toast-success .toast-icon {
  background: rgba(74,222,128,0.15);
  color: #4ade80;
  border-color: #4ade80;
}

.toast-warning {
  border-left-color: #fbbf24;
}
.toast-warning .toast-icon {
  background: rgba(251,191,36,0.15);
  color: #fbbf24;
  border-color: #fbbf24;
}

.toast-error {
  border-left-color: var(--blood-bright);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 30px rgba(255,26,26,0.3);
}

.toast-info {
  border-left-color: rgba(200,192,176,0.85);
}
.toast-info .toast-icon {
  background: rgba(200,192,176,0.1);
  color: rgba(200,192,176,0.8);
  border-color: rgba(200,192,176,0.78);
}

/* Mobile */
@media (max-width: 600px) {
  #toast-container {
    top: 80px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  .toast {
    min-width: 0;
    padding: 12px 14px;
  }
  .toast-msg { font-size: 13px; }
}

/* ============================================ */
/*  MODAL DE CONFIRMATION                       */
/* ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.25s;
  padding: 20px;
}
.modal-overlay.show {
  opacity: 1;
}

.modal-box {
  background: var(--char);
  border: 1px solid rgba(139,0,0,0.4);
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 40px rgba(204,0,0,0.15);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.modal-overlay.show .modal-box {
  transform: scale(1);
  opacity: 1;
}

.modal-box.modal-danger {
  border-color: var(--blood-bright);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 50px rgba(255,26,26,0.25);
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(204,0,0,0.15);
  border: 2px solid var(--blood-vivid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--blood-vivid);
  margin: 0 auto 20px;
}
.modal-danger .modal-icon {
  background: rgba(255,26,26,0.15);
  border-color: var(--blood-bright);
  color: var(--blood-bright);
  animation: pulse-warn 1.5s ease-in-out infinite;
}
@keyframes pulse-warn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,26,26,0.5); }
  50%      { box-shadow: 0 0 0 12px rgba(255,26,26,0); }
}

.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.1;
}

.modal-msg {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  color: rgba(200,192,176,0.85);
  line-height: 1.5;
  margin: 0 0 28px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.modal-actions .btn-primary,
.modal-actions .btn-ghost {
  min-width: 140px;
  padding: 12px 24px;
  font-size: 13px;
}

@media (max-width: 480px) {
  .modal-box { padding: 28px 22px; }
  .modal-title { font-size: 24px; }
  .modal-msg { font-size: 14px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn-primary,
  .modal-actions .btn-ghost { width: 100%; min-width: 0; }
}

/* RESPONSIVE --------------------------- */
/* HAMBURGER (caché sur desktop, visible mobile) */
.nav-burger {
  display: none;
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: space-around;
  padding: 6px;
  cursor: pointer;
  z-index: 1100;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--blood-vivid);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--blood-vivid);
}

/* Overlay menu mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-only { display: none; }

/* ================================================== */
/*  RESPONSIVE PRO — MOBILE FIRST OPTIMISATIONS       */
/* ================================================== */

@media (max-width: 768px) {

  /* ===== NAV ===== */
  .main-nav {
    padding: 12px 16px;
  }
  .nav-burger { display: flex; }
  .nav-logo { font-size: 16px; gap: 8px; }
  .nav-logo-img { width: 32px; height: 32px; }
  .nav-cart { font-size: 18px; margin-right: 12px; }
  .nav-cart #cart-count {
    font-size: 10px;
    padding: 2px 5px;
  }

  /* ===== MENU DRAWER ===== */
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: var(--char);
    border-left: 1px solid rgba(139,0,0,0.4);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 80px 0 30px;
    transform: translateX(100%);
    transition: transform 0.35s ease-out;
    z-index: 1050;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.6);
    display: flex;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(139,0,0,0.15);
  }
  .nav-links a {
    display: block;
    padding: 18px 28px;
    font-size: 16px;
    color: rgba(200,192,176,0.92);
    width: 100%;
  }
  .nav-links a:hover {
    background: rgba(139,0,0,0.1);
    color: #fff;
  }
  .nav-links a::after { display: none; }
  .mobile-only { display: block; }
  .mobile-only a { color: var(--blood-vivid); }

  /* ===== HERO ===== */
  .hero {
    min-height: 80vh;
    padding: 80px 16px 40px;
  }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.4em;
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: clamp(48px, 14vw, 72px);
    line-height: 0.9;
  }
  .hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 20px;
    padding: 0 8px;
  }

  /* ===== PRODUITS ===== */
  .products-section { padding: 60px 12px; }
  .section-header { margin-bottom: 30px; }
  .section-label {
    font-size: 10px;
    letter-spacing: 0.4em;
    margin-bottom: 12px;
  }
  .section-title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .product-card {
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }
  .product-card:hover {
    transform: none; /* pas d'effet hover sur mobile (tactile) */
  }
  .product-meta {
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .product-name {
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.3;
  }
  .product-price {
    font-size: 18px;
  }
  /* Mobile : montrer toujours l'overlay, pas au hover */
  .product-overlay { display: none; }

  /* ===== PAGE PRODUIT ===== */
  .product-page { padding: 80px 14px 40px; }
  .back-link { margin-bottom: 20px; }
  .product-layout { grid-template-columns: 1fr; gap: 24px; }
  .product-image-col { position: static; }
  .product-info-col { padding: 0; }
  .product-title { font-size: clamp(28px, 8vw, 40px); }
  .product-price-big {
    font-size: 36px;
    margin: 16px 0 24px;
  }
  .product-description {
    font-size: 15px;
    margin-bottom: 28px;
    padding-bottom: 24px;
  }
  .size-btn {
    min-width: 50px;
    padding: 12px 14px;
    font-size: 13px;
  }
  .btn-add-cart {
    max-width: 100%;
    padding: 18px;
    font-size: 16px;
  }
  .product-note {
    text-align: center;
    margin-top: 16px;
  }

  /* ===== PANIER ===== */
  .cart-page { padding: 80px 14px 40px; }
  .cart-header { margin-bottom: 30px; }
  .cart-title { font-size: clamp(36px, 10vw, 56px); }
  .cart-layout { grid-template-columns: 1fr; gap: 20px; }
  .cart-sidebar { position: static; }

  .cart-item {
    grid-template-columns: 70px 1fr auto;
    gap: 10px;
    padding: 10px;
  }
  .cart-item-img {
    width: 70px; height: 70px;
  }
  .cart-item-name {
    font-size: 12px;
    letter-spacing: 0.05em;
  }
  .cart-item-meta { font-size: 11px; }
  .cart-item-price { font-size: 18px; }
  .cart-item-pricing .unit-price { font-size: 11px; }
  .cart-item-remove {
    width: 30px; height: 30px;
    font-size: 16px;
  }

  .cart-summary { padding: 20px 18px; }
  .cart-summary h3 {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .summary-line { font-size: 14px; padding: 8px 0; }
  .summary-line.total { font-size: 20px; padding-top: 12px; }

  .promo-section { padding: 16px; }
  .promo-input input { font-size: 12px; padding: 10px 12px; }
  .promo-input button { font-size: 10px; padding: 10px 14px; }

  .btn-launch-order {
    padding: 18px;
    font-size: 17px;
  }

  /* ===== FORMULAIRE COMMANDE ===== */
  .order-form { padding: 22px 18px; }
  .order-form h3 { font-size: 18px; }
  .form-note { font-size: 12px; margin-bottom: 16px; }
  .order-form input,
  .order-form textarea {
    font-size: 16px; /* IMPORTANT: 16px évite le zoom auto sur iOS */
    padding: 12px 14px;
  }

  /* ===== BUTTONS GENERAL ===== */
  .btn-primary,
  .btn-ghost {
    font-size: 15px;
    padding: 14px 28px;
  }

  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta a { width: 100%; text-align: center; }

  /* ===== MEUTE COUNTER ===== */
  .meute-counter-section { padding: 50px 16px; }
  .counter-label, .counter-sublabel {
    font-size: 11px;
    letter-spacing: 0.3em;
  }
  .counter-number {
    font-size: clamp(64px, 18vw, 96px);
    margin: 12px 0;
  }

  /* ===== FOOTER ===== */
  .main-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px 16px;
  }
  .main-footer .footer-logo { font-size: 16px; }
  .main-footer p { font-size: 11px; }

  /* ===== ADMIN MOBILE ===== */
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(139,0,0,0.3);
    flex-direction: row;
    align-items: center;
    padding: 14px 16px;
    overflow-x: auto;
  }
  .admin-brand {
    border: none;
    margin: 0;
    padding: 0 14px 0 0;
    flex-shrink: 0;
  }
  .admin-nav {
    flex-direction: row;
    flex: 1;
    overflow-x: auto;
    gap: 4px;
  }
  .admin-nav a {
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 11px;
    border-left: none;
    border-bottom: 2px solid transparent;
  }
  .admin-nav a.active {
    border-left: none;
    border-bottom-color: var(--blood-vivid);
  }
  .admin-logout { display: none; }
  .admin-main { padding: 24px 14px; }
  .admin-page-title { font-size: 32px; margin-bottom: 20px; }

  /* Stats compactes */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card { padding: 16px; }
  .stat-value { font-size: 28px; }
  .stat-label { font-size: 9px; letter-spacing: 0.2em; }

  .admin-section { padding: 18px 14px; }
  .orders-table { font-size: 11px; }
  .orders-table th, .orders-table td { padding: 6px 4px; }
  .order-num { font-size: 10px; }
  .order-date { font-size: 10px; }

  /* Form admin */
  .form-grid { grid-template-columns: 1fr; }
  .admin-form { padding: 18px 14px; }
  .form-actions { flex-direction: column; gap: 10px; }
  .form-actions .btn-primary,
  .form-actions .btn-ghost { width: 100%; text-align: center; }

  /* Cards produits admin */
  .admin-products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-product-info { padding: 12px 14px; }
  .admin-product-name { font-size: 12px; }
  .admin-product-price { font-size: 18px; }

  /* Orderform / contact / manifeste / collection */
  .contact-page,
  .collection-page,
  .manifeste-page { padding: 80px 14px 40px; }
  .contact-form { padding: 20px 16px; }
  .contact-info { padding: 18px; }
  .filters { gap: 6px; padding-bottom: 20px; margin-bottom: 30px; }
  .filter-btn { padding: 8px 14px; font-size: 10px; letter-spacing: 0.2em; }

  /* Confirmation */
  .success-box { padding: 36px 22px; }
  .success-icon { width: 60px; height: 60px; font-size: 32px; }
  .success-title { font-size: clamp(28px, 8vw, 40px); }
  .meute-badge { padding: 14px 26px; }
  .meute-badge .badge-number { font-size: 36px; }
}

/* Très petits écrans (< 380px) — fixes pour vieux phones */
@media (max-width: 380px) {
  .nav-logo { font-size: 14px; }
  .nav-logo-img { width: 28px; height: 28px; }
  .products-grid { gap: 8px; }
  .product-name { font-size: 10px; }
  .product-price { font-size: 16px; }
}
