@font-face {
  font-family: "Bebas Neue";
  size-adjust: 85%;
  ascent-override: 110%;
  descent-override: 0%;
  line-gap-override: 0%;
  src: local("Impact");
}

/* Touch optimizations */
a,
button,
[role="button"],
.product-card,
.cat-card {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
:root {
  --black: #080807;
  --dark: #111110;
  --card: #161614;
  --orange: #d42525;
  --orange-light: #ff8c35;
  --yellow: #ffd000;
  --white: #f2ede8;
  --gray: #7a7a78;
  --border: rgba(212, 37, 37, 0.15);
  --success: #22c55e;
  --error: #ef4444;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
/* Fallback system fonts pendant le chargement de Google Fonts */
body {
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: clip;
}
/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  transition: padding 0.3s;
}
nav.scrolled .nav-inner {
  padding: 0.8rem 3rem;
}
.logo {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
  display: inline-block;
  margin: 0;
}
h1.logo {
  font-size: 1.8rem;
}
.logo span {
  color: var(--orange);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--orange);
}
.nav-cta {
  background: var(--orange) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.4rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition:
    background 0.2s,
    box-shadow 0.2s !important;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #c41f1f !important;
  color: var(--black) !important;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3) !important;
}
.nav-right {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
#authArea {
  display: flex;
  align-items: center;
}
.cart-btn {
  position: relative;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.cart-btn:hover {
  border-color: var(--orange);
  background: rgba(220, 38, 38, 0.14);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15);
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--orange);
  color: var(--black);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.cart-badge.pop {
  animation: badgePop 0.4s ease;
}
@keyframes badgePop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.6);
  }
}

.auth-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.auth-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(220, 38, 38, 0.06);
}
.user-avatar-btn {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid var(--orange);
  color: var(--orange);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.user-avatar-btn:hover {
  background: rgba(220, 38, 38, 0.3);
}
/* ── HERO SPLIT ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 55% 65% at 80% 20%,
      rgba(212, 37, 37, 0.1) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 40% 40% at 20% 85%,
      rgba(255, 208, 0, 0.035) 0%,
      transparent 60%
    );
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.065) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 15%,
    transparent 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 53% 47%;
  align-items: center;
  padding: 8rem 4rem 3rem;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  animation: fadeUp 0.45s ease both;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-h1 {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3.2rem, 5.8vw, 5.8rem);
  line-height: 0.93;
  letter-spacing: 1px;
  animation: fadeUp 0.45s 0.1s ease both;
}
.hero-h1 em {
  color: var(--orange);
  font-style: normal;
}
.hero-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 400px;
  animation: fadeUp 0.45s 0.2s ease both;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.45s 0.3s ease both;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.5s 0.35s ease both;
}
/* ── HERO CAROUSEL (stacked cards - premium) ── */
.hero-carousel {
  position: relative;
  width: 350px;
  height: 400px;
  perspective: 1000px;
}
/* Glow pulsé derrière la carte active */
.carousel-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 37, 37, 0.18) 0%,
    rgba(212, 37, 37, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  border-radius: 50%;
  animation: carouselPulse 4s ease-in-out infinite;
}
@keyframes carouselPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}
/* Anneau orbital (clin d'œil au cube original) */
.carousel-ring {
  position: absolute;
  inset: -35px;
  border: 1px solid rgba(212, 37, 37, 0.08);
  border-radius: 50%;
  animation: ringRotate 24s linear infinite;
  pointer-events: none;
}
.carousel-ring::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow:
    0 0 10px var(--orange),
    0 0 20px rgba(212, 37, 37, 0.3);
}
@keyframes ringRotate {
  to {
    transform: rotate(360deg);
  }
}
/* Coins décoratifs (style viseur) */
.carousel-corners {
  position: absolute;
  inset: -8px;
  pointer-events: none;
  z-index: 5;
}
.carousel-corners::before,
.carousel-corners::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(212, 37, 37, 0.4);
  border-style: solid;
}
.carousel-corners::before {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}
.carousel-corners::after {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}
.carousel-corner-bl,
.carousel-corner-br {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(212, 37, 37, 0.4);
  border-style: solid;
  pointer-events: none;
  z-index: 5;
}
.carousel-corner-bl {
  bottom: -8px;
  left: -8px;
  border-width: 0 0 1px 1px;
}
.carousel-corner-br {
  bottom: -8px;
  right: -8px;
  border-width: 0 1px 1px 0;
}
/* Cartes */
.carousel-card {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: inherit;
  transform-origin: center bottom;
  opacity: 0;
  transform: scale(0.86) translateY(24px);
  transition:
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.8s ease,
    filter 0.8s ease,
    border-color 0.5s ease;
  will-change: transform, opacity;
  pointer-events: none;
}
/* Active - au premier plan avec glow orange */
.carousel-card.cc-active {
  opacity: 1;
  z-index: 4;
  pointer-events: auto;
  transform: scale(1) translateY(0) rotateY(-1.5deg);
  border-color: rgba(212, 37, 37, 0.25);
  box-shadow:
    0 16px 56px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(212, 37, 37, 0.15),
    0 0 40px rgba(212, 37, 37, 0.08);
}
.carousel-card.cc-active:hover {
  transform: scale(1.03) translateY(-6px) rotateY(-1.5deg);
  box-shadow:
    0 20px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(212, 37, 37, 0.25),
    0 0 50px rgba(212, 37, 37, 0.12);
}
/* Stack - profondeur avec blur progressif */
.carousel-card.cc-next {
  opacity: 0.65;
  z-index: 3;
  transform: scale(0.91) translateX(30px) translateY(14px) rotateY(-4deg);
  filter: blur(1px);
}
.carousel-card.cc-next2 {
  opacity: 0.35;
  z-index: 2;
  transform: scale(0.83) translateX(55px) translateY(26px) rotateY(-7deg);
  filter: blur(2.5px);
}
.carousel-card.cc-prev {
  opacity: 0;
  z-index: 1;
  transform: scale(0.86) translateX(-50px) translateY(14px) rotateY(5deg);
  filter: blur(2px);
}
/* Scan line (rappel du cube 3D original) */
.carousel-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 5%,
    rgba(212, 37, 37, 0.5) 50%,
    transparent 95%
  );
  box-shadow: 0 0 8px rgba(212, 37, 37, 0.3);
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cc-active .carousel-scan {
  animation: cscan 4s ease-in-out infinite;
  opacity: 1;
}
@keyframes cscan {
  0% {
    top: 100%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    top: 0%;
    opacity: 0;
  }
}
/* Label produit */
.carousel-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem 1.2rem 1.2rem;
  background: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.55) 30%,
    rgba(0, 0, 0, 0.8)
  );
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(6px);
  opacity: 0;
  transition:
    opacity 0.5s 0.15s,
    transform 0.5s 0.15s;
}
.carousel-card-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--orange);
  margin-bottom: 0.5rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cc-active .carousel-card-label {
  opacity: 1;
  transform: translateY(0);
}
.cc-active .carousel-card-label::before {
  transform: scaleX(1);
}
/* Indicateurs (dots) */
.carousel-dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition:
    background 0.4s,
    transform 0.4s,
    box-shadow 0.4s;
}
.carousel-dot.cd-on {
  background: var(--orange);
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(212, 37, 37, 0.4);
}
/* Barre de progression sur le dot actif */
.carousel-dot.cd-on::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(212, 37, 37, 0.3);
  animation: dotRing 3.5s linear;
}
@keyframes dotRing {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  to {
    transform: scale(1.8);
    opacity: 0;
  }
}
/* Meta */
.carousel-meta {
  position: absolute;
  bottom: -58px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.48rem;
  letter-spacing: 3.5px;
  color: rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
}
.hero-statsbar {
  position: relative;
  z-index: 1;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.3rem 4rem;
  animation: fadeUp 0.5s 0.5s ease both;
  background: rgba(255, 255, 255, 0.012);
}
.hero-stat-bl {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  margin-right: 1.5rem;
}
.hero-stat-bl:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.hero-stat-n {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2rem;
  color: var(--orange);
  line-height: 1;
  letter-spacing: 0.5px;
}
.hero-stat-l {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--black);
  padding: 0.9rem 2.2rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0);
}
.btn-primary:hover {
  background: #c41f1f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2.2rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    transform 0.15s;
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(220, 38, 38, 0.06);
  transform: translateY(-2px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logout-btn {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 0.7rem 1.5rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  transition:
    border-color 0.2s,
    background 0.2s;
  width: 100%;
  margin-top: 1rem;
}
.logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}
.burger {
  display: none;
}
.mobile-menu {
  display: none;
}
.admin-body {
  padding: 1.5rem 2rem;
}

/* ── TABLETTE (≤900px) ─────────────────────────────────────── */
/* ── MOBILE (≤600px) ──────────────────────────────────────── */
/* ── TRÈS PETIT MOBILE (≤380px) ──────────────────────────── */
input,
textarea,
select {
  font-size: 16px;
}
section {
  padding: 6rem 3rem;
}
.section-label {
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--gray);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.categories {
  background: var(--dark);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 3rem;
}
.cat-card {
  position: relative;
  background: var(--card);
  padding: 3rem 2rem;
  overflow: hidden;
  transition: transform 0.3s;
}
.cat-card:hover {
  transform: translateY(-4px);
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.cat-card:hover::before {
  opacity: 1;
}
.cat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s;
}
.cat-card:hover .cat-icon {
  transform: scale(1.15) rotate(-5deg);
}
.cat-name {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.cat-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}
.cat-arrow {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  color: var(--orange);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.cat-card:hover .cat-arrow {
  opacity: 1;
  transform: translateX(0);
}
.catalogue {
  background: var(--black);
}
.filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.45rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--gray);
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(220, 38, 38, 0.08);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.2);
}
.filter-count {
  opacity: 0.45;
  font-size: 0.72em;
  margin-left: 0.3em;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.3s,
    opacity 0.4s,
    box-shadow 0.3s;
}
.product-card:hover {
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-5px);
  background: #1c1c1c;
  box-shadow:
    0 16px 48px rgba(220, 38, 38, 0.14),
    0 4px 16px rgba(0, 0, 0, 0.5);
}
.product-card.hidden {
  display: none;
}
.product-card {
  animation: cardReveal 0.45s ease both;
}
.product-card.reveal {
  animation: cardReveal 0.45s ease both;
}
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-img {
  height: 220px;
  background: linear-gradient(135deg, #1a1a1a, #222);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
  aspect-ratio: auto;
  border-radius: 10px 10px 0 0;
}
.product-img-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.05);
}
.product-img .product-emoji {
  position: relative;
  z-index: 1;
}
.product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4));
}
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(220, 38, 38, 0.1);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.3s;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--white);
}
.product-card:hover .product-img-overlay {
  opacity: 1;
}
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--orange);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 1px;
  z-index: 1;
}
.stock-badge {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  right: 0.6rem;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  z-index: 2;
}
.stock-badge.last {
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
}
.stock-badge.low {
  background: rgba(251, 146, 60, 0.9);
  color: #fff;
}
.stock-badge.out {
  background: rgba(60, 60, 60, 0.92);
  color: #aaa;
}
.product-info {
  padding: 1.2rem;
}
.product-cat {
  font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.product-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.product-desc {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wish-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gray);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wish-btn svg {
  transition: fill 0.2s;
}
.wish-btn.on {
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}
.wish-btn.on svg {
  fill: currentColor;
}
.wish-btn:hover {
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}
.product-price {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 1.5rem;
  color: var(--orange);
}
.product-price span {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: var(--gray);
}
.add-btn {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 0.4rem 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.add-btn:hover {
  background: var(--orange);
  color: var(--black);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}
.add-btn.loading {
  opacity: 0.6;
  pointer-events: none;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(8px);
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: rgba(16, 16, 16, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(220, 38, 38, 0.1);
  padding: 2rem;
  max-width: 820px;
  width: 95%;
  max-height: 88dvh;
  max-height: 88vh;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
  position: relative;
  overflow-y: auto;
  scrollbar-width: none;
}
.modal::-webkit-scrollbar {
  display: none;
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1.5rem;
  transition: color 0.2s;
  line-height: 1;
}
.modal-close:hover {
  color: var(--white);
}
.product-modal-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-modal-img {
  background: linear-gradient(135deg, #1a1a1a, #222);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.product-modal-img img,
.product-modal-img video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  transition: opacity 0.25s;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.gallery-arrow:hover {
  background: rgba(220, 38, 38, 0.85);
}
.gallery-arrow.prev {
  left: 6px;
}
.gallery-arrow.next {
  right: 6px;
}
.gallery-counter {
  position: absolute;
  bottom: 6px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 10px;
  pointer-events: none;
  z-index: 5;
}
.gallery-thumbs {
  display: flex;
  gap: 5px;
  padding: 2px 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.gallery-thumbs::-webkit-scrollbar {
  display: none;
}
.gallery-thumb {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 3px;
  border: none;
  outline: 2px solid transparent;
  outline-offset: 1px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.72;
  transition:
    opacity 0.2s,
    outline-color 0.2s,
    transform 0.15s;
  background: transparent;
  display: block;
}
.gallery-thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}
.gallery-thumb.active {
  outline-color: var(--orange);
  opacity: 1;
}
.gallery-thumb.video-thumb {
  background: rgba(220, 38, 38, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border-radius: 3px;
}
.product-modal-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.product-modal-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
}
.product-modal-cat {
  font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.product-modal-name {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 1px;
}
.product-modal-price {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 2.5rem;
  color: var(--orange);
}
.product-modal-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}
.product-modal-details {
  font-size: 0.82rem;
  color: var(--gray);
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--orange);
  line-height: 1.8;
}
.product-modal-qty {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.qty-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.qty-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(220, 38, 38, 0.06);
}
.qty-display {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 1.5rem;
  min-width: 2rem;
  text-align: center;
}
.modal-add-btn {
  background: var(--orange);
  color: var(--black);
  padding: 0.9rem 1.5rem;
  border: none;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  width: 100%;
  margin-top: auto;
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0);
}
.modal-add-btn:hover {
  background: #c41f1f;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}
.custom-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.custom-section::before {
  content: "CUSTOM";
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 18rem;
  color: rgba(220, 38, 38, 0.03);
  letter-spacing: 10px;
  pointer-events: none;
  white-space: nowrap;
}
.custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  border-radius: 8px;
  transition:
    border-color 0.2s,
    background 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--orange);
  background: rgba(220, 38, 38, 0.04);
}
.form-select option {
  background: #111;
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.upload-zone {
  border: 2px dashed rgba(220, 38, 38, 0.3);
  border-radius: 2px;
  padding: 2rem;
  text-align: center;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.upload-zone:hover {
  border-color: var(--orange);
  background: rgba(220, 38, 38, 0.04);
}
.upload-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.upload-text {
  font-size: 0.85rem;
  color: var(--gray);
}
.upload-text strong {
  color: var(--orange);
}
.submit-btn {
  background: var(--orange);
  color: var(--black);
  padding: 1rem 2rem;
  border: none;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0);
}
.submit-btn:hover {
  background: #c41f1f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}
.custom-info {
  padding-top: 1rem;
}
.info-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}
.info-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
  min-width: 3rem;
  opacity: 0.6;
}
.step-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}
.info-note {
  margin-top: 2.5rem;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--orange);
  background: rgba(220, 38, 38, 0.05);
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}
.info-note strong {
  color: var(--white);
}
.gallery {
  background: var(--black);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.gallery-item {
  background: var(--card);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-thumb {
  height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #151515, #1e1e1e);
  transition: transform 0.4s;
}
.gallery-item:first-child .gallery-thumb {
  min-height: 340px;
  font-size: 7rem;
}
.gallery-item:hover .gallery-thumb {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-caption {
  font-size: 0.85rem;
  font-weight: 500;
}
.about {
  background: var(--dark);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--card), #1a1a1a);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 30%,
    rgba(220, 38, 38, 0.15),
    transparent 60%
  );
}
.about-text p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.about-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.tag {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  color: var(--orange);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}
.contact {
  background: var(--black);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}
.contact-detail span {
  font-size: 0.85rem;
  color: var(--gray);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
}
.footer-nl {
  text-align: center;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.footer-nl-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.footer-nl-title span {
  color: var(--orange);
}
.footer-nl-sub {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 0.8rem;
}
.footer-nl-msg {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.4rem;
  min-height: 1rem;
  text-align: center;
}
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 0 1.5rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-logo {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
}
.footer-logo span {
  color: var(--orange);
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--orange);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--gray);
}
.cart-item-remove {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gray);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  cursor: pointer;
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-item-remove:hover {
  border-color: var(--error);
  color: var(--error);
}
.auth-modal {
  max-width: 440px;
}
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-tab {
  background: none;
  border: none;
  color: var(--gray);
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}
.auth-tab.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.auth-form-panel {
  display: none;
}
.auth-form-panel.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-error {
  font-size: 0.82rem;
  color: var(--error);
  padding: 0.6rem 0.9rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 2px;
  display: none;
}
.form-error.show {
  display: block;
}
.auth-divider {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0.5rem 0;
  position: relative;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.auth-divider::before {
  left: 0;
}
.auth-divider::after {
  right: 0;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-avatar {
  width: 64px;
  height: 64px;
  background: rgba(220, 38, 38, 0.15);
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.profile-name {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1px;
}
.profile-email {
  font-size: 0.82rem;
  color: var(--gray);
}
.profile-since {
  font-size: 0.75rem;
  color: var(--gray);
  opacity: 0.6;
}
.profile-section {
  margin-bottom: 1.5rem;
}
.profile-section-title {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.profile-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 0.2rem;
}
.profile-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--gray);
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.6rem 0.75rem;
  margin-bottom: -1px;
  transition: all 0.2s;
  white-space: nowrap;
}
.profile-tab-btn:hover {
  color: var(--white);
}
.profile-tab-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.notif {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--card);
  border: 1px solid var(--orange);
  border-left: 4px solid var(--orange);
  padding: 1rem 1.5rem;
  border-radius: 2px;
  font-size: 0.9rem;
  z-index: 500;
  transform: translateX(calc(100%+3rem));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 320px;
  display: none;
}
.notif.show {
  transform: translateX(0);
}
.notif.success {
  border-color: var(--success);
  border-left-color: var(--success);
}
.notif.error-n {
  border-color: var(--error);
  border-left-color: var(--error);
}
.notif strong {
  color: var(--orange);
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.admin-modal {
  max-width: 1100px;
  width: 97%;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 0;
}
.admin-modal::-webkit-scrollbar {
  display: none;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  background: rgba(220, 38, 38, 0.04);
}
.admin-header h2 {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
}
.admin-header h2 span {
  color: var(--orange);
}
.admin-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--gray);
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.9rem 1.2rem;
  margin-bottom: -1px;
  transition: all 0.2s;
  white-space: nowrap;
}
.admin-tab:hover {
  color: var(--white);
}
.admin-tab.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.admin-tab .tab-badge {
  background: var(--orange);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
  margin-left: 0.4rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  padding: 1.2rem 1.5rem;
}
.stat-card:hover {
  border-color: rgba(220, 38, 38, 0.3);
}
.stat-card-num {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: 2.2rem;
  color: var(--orange);
  line-height: 1;
}
.stat-card-label {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.admin-table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.admin-table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  white-space: nowrap;
}
.admin-table td {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}
.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.status-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}
.status-new {
  background: rgba(255, 208, 0, 0.15);
  color: #ffd000;
}
.status-pending {
  background: rgba(255, 208, 0, 0.15);
  color: #ffd000;
}
.status-in_review {
  background: rgba(220, 38, 38, 0.15);
  color: var(--orange);
}
.status-paid {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.status-printing {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}
.status-ready {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.status-shipped {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}
.status-delivered {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}
.status-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.status-quoted {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}
.status-accepted {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.status-rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.status-admin {
  background: rgba(220, 38, 38, 0.2);
  color: var(--orange);
}
.status-user {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray);
}
.tbl-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: "DM Sans", sans-serif;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.tbl-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.tbl-btn.danger:hover {
  border-color: var(--error);
  color: var(--error);
}
.tbl-btn.success {
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}
.product-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.admin-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.7rem 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  border-radius: 2px;
  outline: none;
  width: 100%;
}
.admin-select:focus {
  border-color: var(--orange);
}
.admin-select option {
  background: #111;
}
.img-upload-zone {
  border: 2px dashed rgba(220, 38, 38, 0.3);
  border-radius: 4px;
  padding: 1.2rem;
  text-align: center;
  transition: border-color 0.2s;
  position: relative;
}
.img-upload-zone:hover {
  border-color: var(--orange);
}
.img-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.img-preview {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 3px;
  margin-top: 0.8rem;
  display: none;
}
.img-preview.show {
  display: block;
}
.img-url-or {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.6rem 0;
  color: var(--gray);
  font-size: 0.75rem;
}
.img-url-or::before,
.img-url-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.admin-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.order-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  transition: border-color 0.2s;
}
.order-card:hover {
  border-color: rgba(220, 38, 38, 0.2);
}
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.order-timeline {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 0.8rem;
}
.order-timeline-v {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0.8rem 0 0.4rem;
}
.otl-row {
  display: flex;
  align-items: stretch;
  gap: 0.8rem;
}
.otl-col-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 28px;
  flex-shrink: 0;
}
.otl-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: all 0.35s;
  position: relative;
  z-index: 1;
}
.otl-dot.done {
  background: var(--orange);
  border-color: var(--orange);
  color: #000;
  font-size: 0.65rem;
}
.otl-dot.current {
  background: #111;
  border-color: var(--orange);
  box-shadow:
    0 0 0 4px rgba(220, 38, 38, 0.18),
    0 0 12px rgba(220, 38, 38, 0.3);
}
.otl-dot.current::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(220, 38, 38, 0.2);
  animation: otlPulse 1.8s ease-in-out infinite;
}
@keyframes otlPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.otl-line {
  flex: 1;
  width: 2px;
  background: rgba(255, 255, 255, 0.07);
  margin: 2px 0;
  min-height: 18px;
}
.otl-line.done {
  background: var(--orange);
}
.otl-content {
  padding: 0.1rem 0 0.9rem;
  flex: 1;
}
.otl-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.3px;
  line-height: 1.2;
  padding-top: 3px;
}
.otl-label.done,
.otl-label.current {
  color: var(--white);
}
.otl-date {
  font-size: 0.68rem;
  color: rgba(220, 38, 38, 0.65);
  margin-top: 0.18rem;
}
.otl-sub {
  font-size: 0.7rem;
  color: var(--gray);
  margin-top: 0.2rem;
  line-height: 1.4;
}
.order-tracking {
  margin-top: 0.6rem;
  padding: 0.55rem 0.9rem;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 3px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.order-tracking a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}
.order-tracking a:hover {
  text-decoration: underline;
}
.delivery-estimate {
  margin-top: 0.5rem;
  padding: 0.5rem 0.8rem;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 3px;
  font-size: 0.75rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.stock-info-bar {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.stock-info-bar.ok {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.stock-info-bar.low {
  background: rgba(251, 146, 60, 0.1);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.25);
}
.stock-info-bar.last {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.stock-info-bar.out {
  background: rgba(100, 100, 100, 0.12);
  color: #888;
  border: 1px solid rgba(100, 100, 100, 0.2);
}
.order-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.order-step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  z-index: 1;
  transition: all 0.3s;
}
.order-step.done .order-step-dot {
  background: var(--orange);
  border-color: var(--orange);
  color: #000;
}
.order-step.current .order-step-dot {
  background: transparent;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}
.order-step.done .order-step-label,
.order-step.current .order-step-label {
  color: var(--white);
}
.order-step-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin-top: 0.35rem;
  text-align: center;
}
.order-step-date {
  font-size: 0.55rem;
  color: rgba(220, 38, 38, 0.7);
  margin-top: 0.1rem;
  text-align: center;
}
.order-step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 -1px;
  position: relative;
  top: -10px;
}
.order-step-line.done {
  background: var(--orange);
}
.stars-input {
  display: flex;
  gap: 0.3rem;
  margin: 0.5rem 0;
}
.stars-input span {
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.15s;
  color: #333;
}
.stars-input span.active {
  color: #ffd000;
  transform: scale(1.1);
}
.review-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  transition: border-color 0.2s;
}
.review-card:hover {
  border-color: rgba(220, 38, 38, 0.15);
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.review-author {
  font-weight: 600;
  font-size: 0.88rem;
}
.review-date {
  font-size: 0.72rem;
  color: var(--gray);
}
.review-stars {
  color: #ffd000;
  letter-spacing: 1px;
  font-size: 0.9rem;
}
.review-comment {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-top: 0.4rem;
}
.review-photo {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 2px;
  margin-top: 0.6rem;
  cursor: zoom-in;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.2rem 0;
  font-size: 0.78rem;
}
.rating-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 3px;
  transition: width 0.4s;
}
.avg-rating-big {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  color: var(--orange);
  line-height: 1;
}
.color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
}
.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition:
    transform 0.15s,
    border-color 0.15s;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.color-swatch:hover {
  transform: scale(1.15);
}
.color-swatch.selected {
  border-color: var(--white);
  box-shadow: 0 0 0 2px var(--orange);
  transform: scale(1.1);
}
.color-swatch.rupture {
  opacity: 0.6;
  cursor: not-allowed;
}
.color-swatch.rupture:hover {
  transform: none;
}
.color-swatch.rupture::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(
    to bottom right,
    transparent calc(50% - 1.5px),
    rgba(239, 68, 68, 0.95) calc(50% - 1.5px),
    rgba(239, 68, 68, 0.95) calc(50% + 1.5px),
    transparent calc(50% + 1.5px)
  );
  pointer-events: none;
  z-index: 1;
}
.color-swatch[title]::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100%+6px);
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: var(--white);
  font-size: 0.65rem;
  white-space: nowrap;
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.color-swatch:hover::after {
  opacity: 1;
}
.selected-color-label {
  font-size: 0.78rem;
  color: var(--orange);
  margin-top: 0.2rem;
}
.loyalty-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: #ffd000;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
}
.loyalty-tier-card {
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  transition: border-color 0.2s;
}
.loyalty-tier-card.unlocked {
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.04);
}
.loyalty-tier-card.active-tier {
  border-color: #ffd000;
  background: rgba(255, 215, 0, 0.08);
}
.loyalty-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.8rem 0;
}
.loyalty-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ffd000);
  border-radius: 3px;
  transition: width 0.5s ease;
}
.pts-badge {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  color: #ffd000;
  line-height: 1;
}
.flash-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.flash-timer {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.5px;
}
@keyframes flashPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5);
  }
  60% {
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }
}
.flash-badge {
  animation: flashPulse 2s ease-in-out infinite;
}
.price-original {
  font-size: 0.78rem;
  color: var(--gray);
  text-decoration: line-through;
  margin-right: 0.4rem;
}
.price-flash {
  color: #ef4444;
  font-weight: 700;
}
.product-modal-flash {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 2px;
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.5rem;
}
.product-modal-flash .flash-timer-big {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  color: #ef4444;
  letter-spacing: 1px;
}
.give-pts-form {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 2px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  border-top: 1px solid rgba(220, 38, 38, 0.3);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-text {
  font-size: 0.82rem;
  color: var(--gray);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}
.cookie-text a {
  color: var(--orange);
  text-decoration: none;
}
.cookie-text a:hover {
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: var(--orange);
  color: #000;
  border: none;
  padding: 0.55rem 1.2rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.cookie-btn-accept:hover {
  background: #c41f1f;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}
.cookie-btn-refuse {
  background: transparent;
  color: var(--gray);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.55rem 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  border-radius: 6px;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.cookie-btn-refuse:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}
#colorPickModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cpick-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.cpick-box {
  position: relative;
  background: #1a1a1a;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 4px;
  padding: 1.6rem;
  width: min(420px, 92vw);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.cpick-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 0.3rem;
}
.cpick-product {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 1.2rem;
  font-style: italic;
}
.cpick-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.cpick-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: all 0.18s;
}
.cpick-dot-wrap:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}
.cpick-dot-wrap.selected {
  border-color: var(--orange);
  background: rgba(220, 38, 38, 0.08);
}
.cpick-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.15s;
}
.cpick-dot-wrap.selected .cpick-dot {
  border-color: var(--orange);
  transform: scale(1.15);
}
.cpick-dot-wrap.rupture {
  opacity: 0.6;
  cursor: not-allowed;
}
.cpick-dot-wrap.rupture:hover {
  border-color: transparent;
  background: none;
}
.cpick-dot-wrap.rupture .cpick-dot {
  position: relative;
}
.cpick-dot-wrap.rupture .cpick-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(
    to bottom right,
    transparent calc(50% - 1.5px),
    rgba(239, 68, 68, 0.95) calc(50% - 1.5px),
    rgba(239, 68, 68, 0.95) calc(50% + 1.5px),
    transparent calc(50% + 1.5px)
  );
  pointer-events: none;
}
.cpick-label {
  font-size: 0.68rem;
  text-align: center;
  color: var(--white);
  line-height: 1.3;
  max-width: 56px;
}
.cpick-selected-label {
  min-height: 1.4rem;
  font-size: 0.83rem;
  color: var(--white);
  margin-top: 0.8rem;
  font-weight: 500;
}
.gallery-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.55;
  border: 1px solid transparent;
  transition:
    opacity 0.15s,
    border-color 0.15s;
}
.gallery-thumb:hover {
  opacity: 0.85;
}
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--orange);
}
.video-thumb {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border-radius: 2px;
  cursor: pointer;
}
#lightboxOverlay img {
  transition: opacity 0.2s;
}
@media (min-width: 1440px) {
  .hero-inner {
    padding: 9rem 6rem 4rem;
    max-width: 1600px;
  }
  .hero-h1 {
    font-size: clamp(5rem, 6.5vw, 8rem);
  }
  section {
    padding: 8rem 6rem;
  }
  .section-title {
    font-size: clamp(3rem, 4.5vw, 5rem);
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
  .cta-split-inner,
  .cta-gallery-inner,
  .cta-about-inner {
    max-width: 1400px;
  }
  .footer-body {
    max-width: 1600px;
    padding: 5rem 6rem 4rem;
  }
  .footer-bottom-new {
    max-width: 1600px;
    padding: 1.6rem 6rem;
  }
  .hero-carousel {
    width: 400px;
    height: 440px;
  }
}
@media (max-width: 1200px) {
  .hero-inner {
    padding: 7.5rem 3rem 2.5rem;
  }
  section {
    padding: 5rem 2.5rem;
  }
  .hero-statsbar {
    padding: 1.1rem 3rem;
  }
  .cta-split-inner {
    gap: 4rem;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .cta-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-inner {
    padding: 1.2rem 2rem;
  }
  .nav-links {
    gap: 1.6rem;
  }
  .hero-carousel {
    width: 300px;
    height: 340px;
  }
}
@media (max-width: 1050px) {
  .nav-inner {
    padding: 1.2rem 1.2rem;
  }
  .nav-links {
    gap: 0.8rem;
  }
  .nav-links a {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
  }
  .nav-cta {
    padding: 0.5rem 0.9rem !important;
  }
  .cart-label {
    display: none;
  }
}
@media (max-width: 900px) {
  .nav-inner {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    display: none;
  }
  section {
    padding: 4rem 1.5rem;
  }
  .hero {
    padding: 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 7rem 2.5rem 2.5rem;
  }
  .hero-visual {
    display: none;
  }
  .hero-h1 {
    font-size: clamp(2.8rem, 7.5vw, 4.5rem);
  }
  .hero-desc {
    max-width: 100%;
    font-size: 0.9rem;
  }
  .hero-statsbar {
    padding: 1rem 2.5rem;
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .hero-stat-bl {
    flex: 1 1 44%;
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
    margin-bottom: 0.2rem;
  }
  .hero-stat-bl:last-child,
  .hero-stat-bl:nth-last-child(2) {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .hero-stat-bl:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    margin-right: 0.5rem;
    padding-right: 0.5rem;
  }
  .catalogue-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .catalogue-meta {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .cta-split-inner {
    gap: 3rem;
  }
  .cta-steps-col {
    border-left: none;
    border-top: 2px solid rgba(220, 38, 38, 0.12);
    padding-left: 0;
    padding-top: 2rem;
  }
  .cta-values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .custom-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item:first-child {
    grid-column: span 2;
  }
  footer {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  body {
    cursor: auto;
  }
  .product-modal-top {
    grid-template-columns: 1fr;
  }
  .product-modal-img {
    height: 260px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .profile-tabs {
    gap: 0;
  }
  .profile-tab-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.68rem;
  }
  /* Admin tablette */
  .admin-modal {
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }
}
@media (max-width: 768px) {
  section {
    padding: 3.5rem 1.5rem;
  }
  .hero-inner {
    padding: 6.5rem 2rem 2.5rem;
  }
  .hero-h1 {
    font-size: clamp(2.8rem, 8vw, 4.5rem);
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  .hero-stat-n {
    font-size: 1.7rem;
  }
  .catalogue-search-wrap {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  /* ── Navigation ── */
  .nav-inner {
    padding: 0.85rem 1rem;
  }
  .nav-links {
    display: none;
  }
  .nav-right .cart-btn span.cart-label {
    display: none;
  }
  .logo {
    font-size: 1.25rem;
  }
  .burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    z-index: 101;
  }
  .burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
  }
  .burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  .burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .cart-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
  }
  .cart-badge {
    width: 16px;
    height: 16px;
    font-size: 0.75rem;
    top: -5px;
    right: -5px;
  }

  /* ── Menu mobile ── */
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.99);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    padding: 5rem 1.5rem 2rem;
  }
  .mobile-menu.open {
    display: flex;
  }
  nav.menu-open {
    visibility: hidden;
  }
  .mobile-menu a {
    font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.45rem 0;
    width: 100%;
    text-align: center;
  }
  .mobile-menu a:hover {
    color: var(--orange);
  }
  .mobile-menu .mobile-cta {
    background: var(--orange);
    color: #000;
    padding: 0.6rem 1.8rem;
    border-radius: 6px;
    font-size: 1rem;
    margin-top: 0.8rem;
    transition:
      background 0.2s,
      box-shadow 0.2s;
  }
  .mobile-menu-bottom {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
  }
  .mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
  }
  .mobile-menu-close:hover {
    background: rgba(220, 38, 38, 0.3);
  }

  /* ── Layout général ── */
  section {
    padding: 2.5rem 1rem;
  }
  .hero {
    padding: 0;
    min-height: 100svh;
  }
  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }
  .section-sub {
    font-size: 0.88rem;
    margin-bottom: 2rem;
  }
  .section-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
  }

  /* ── Trust strip mobile ── */
  .trust-strip::before,
  .trust-strip::after {
    width: 40px;
  }

  /* ── Hero mobile ── */
  .hero-inner {
    padding: 5.8rem 1.4rem 2rem;
  }
  .hero-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 3px;
  }
  .hero-h1 {
    font-size: clamp(2.6rem, 10vw, 4rem);
    line-height: 0.95;
  }
  .hero-btns {
    flex-direction: column;
    gap: 0.6rem;
  }
  .btn-primary,
  .btn-secondary {
    text-align: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.88rem;
  }
  .hero-statsbar {
    padding: 1rem 1.4rem;
    flex-wrap: wrap;
  }
  .hero-stat-bl {
    flex: 1 1 40%;
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.6rem;
    margin-bottom: 0.3rem;
  }
  .hero-stat-bl:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    margin-right: 0.5rem;
    padding-right: 0.5rem;
  }
  .hero-stat-bl:last-child,
  .hero-stat-bl:nth-last-child(2) {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .hero-stat-n {
    font-size: 1.6rem;
  }
  .hero-stat-l {
    font-size: 0.55rem;
  }

  /* ── Catalogue mobile ── */
  .catalogue-header {
    margin-bottom: 1.5rem;
  }
  .catalogue-meta {
    display: none;
  }
  .catalogue-search-wrap {
    margin-bottom: 1rem;
  }
  .filters {
    gap: 0.35rem;
    margin-bottom: 1.2rem;
  }
  .filter-btn {
    padding: 0.38rem 0.8rem;
    font-size: 0.7rem;
  }
  .filter-count {
    display: none;
  }

  /* ── CTA sur mesure mobile ── */
  .cta-split-section {
    padding: 3.5rem 1rem;
  }
  .cta-split-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cta-steps-col {
    border-left: none;
    border-top: 1px solid rgba(220, 38, 38, 0.15);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  .cta-step-num {
    font-size: 2.5rem;
  }
  .cta-split-desc {
    font-size: 0.88rem;
    max-width: 100%;
  }

  /* ── FAQ mobile ── */
  .cta-gallery-section {
    padding: 3.5rem 1rem;
  }
  .cta-gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* ── À propos mobile ── */
  .cta-about-section {
    padding: 3.5rem 1rem;
    text-align: left;
  }
  .cta-values-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .cta-value-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1rem 1.2rem;
  }
  .cta-value-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  .cta-value-title {
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
  }
  .cta-value-desc {
    font-size: 0.75rem;
  }

  /* ── Catégories ── */
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 1.5rem;
  }
  .cat-card {
    padding: 1.2rem 0.9rem;
  }
  .cat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  .cat-name {
    font-size: 1rem;
  }
  .cat-desc {
    display: none;
  }
  .cat-arrow {
    display: none;
  }

  /* ── Produits ── */
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .filter-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
  }
  .product-card {
    border-radius: 3px;
  }
  .product-img {
    height: auto;
    aspect-ratio: 3/2;
    font-size: 3rem;
  }
  .product-info {
    padding: 0.75rem;
  }
  .product-name {
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
  }
  .product-price {
    font-size: 1.15rem;
  }
  .product-desc {
    display: none;
  }
  .product-cat {
    font-size: 0.62rem;
  }
  .add-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
  }
  .product-badge {
    font-size: 0.58rem;
    padding: 0.2rem 0.5rem;
  }
  .stock-badge {
    font-size: 0.55rem;
    padding: 0.15rem 0.4rem;
  }

  /* ── Overlay + modals : centrage sur mobile ── */
  .modal-overlay {
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  .modal {
    padding: 1.2rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    max-height: 85dvh;
    max-height: calc(100vh - env(safe-area-inset-bottom, 0px) - 1rem);
    height: auto;
    border-radius: 14px;
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    border-width: 1px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  /* blobs supprimés - rien à désactiver */
  /* Profil + Admin : le scroll est géré par l'inner, pas le .modal wrapper */
  #profileModal .modal,
  #adminModal .modal {
    overflow: hidden !important;
    padding: 0 !important;
    max-height: none !important;
    height: auto !important;
    border: none !important;
    background: transparent !important;
  }
  .profile-modal-inner,
  .admin-modal-new {
    max-height: calc(100dvh - env(safe-area-inset-bottom, 16px) - 1rem);
    max-height: calc(100vh - env(safe-area-inset-bottom, 16px) - 1rem);
  }
  .modal-overlay.active .modal {
    transform: none;
  }
  .modal-close {
    position: sticky;
    float: right;
    top: 0.5rem;
    right: 0;
    margin: 0 0 0.5rem 0.5rem;
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 10;
    flex-shrink: 0;
  }
  /* ── Modal produit ── */
  .product-modal-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .product-modal-top {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1rem;
  }
  .product-modal-img {
    height: 200px;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .gallery-wrapper {
    gap: 4px;
  }
  .gallery-thumb {
    width: 40px;
    height: 40px;
  }
  .gallery-arrow {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  .product-modal-name {
    font-size: 1.4rem;
  }
  .product-modal-price {
    font-size: 1.7rem;
  }
  .product-modal-desc {
    font-size: 0.83rem;
    line-height: 1.55;
  }
  .product-modal-details {
    font-size: 0.78rem;
    padding: 0.6rem 0.8rem;
  }
  .product-modal-qty {
    gap: 0.5rem;
  }
  .qty-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .qty-display {
    font-size: 1.3rem;
  }
  .modal-add-btn {
    padding: 0.85rem 1.2rem;
    font-size: 0.88rem;
    min-height: 48px;
    margin-top: 0.6rem;
  }

  /* ── Formulaires ── */
  .form-row {
    grid-template-columns: 1fr;
  }
  .custom-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-input,
  .form-textarea,
  .form-select {
    font-size: 16px;
    padding: 0.75rem 0.9rem;
  }
  .submit-btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.85rem;
  }
  .upload-zone {
    padding: 1.5rem 1rem;
  }

  /* ── Profil ── */
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
  }
  .profile-avatar {
    font-size: 2.5rem;
    width: 58px;
    height: 58px;
  }
  .profile-name {
    font-size: 1.3rem;
  }
  .profile-tabs {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .profile-tab-btn {
    font-size: 0.63rem;
    padding: 0.5rem 0.5rem;
    white-space: nowrap;
  }
  .logout-btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.78rem;
    min-height: 44px;
  }
  .profile-modal {
    max-height: 82vh;
    max-height: 82dvh;
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }

  /* ── Modal admin ── */
  .admin-modal {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    border-radius: 10px;
    max-height: 82vh;
    max-height: 82dvh;
    overflow-y: auto;
    padding: 0;
  }
  .admin-header {
    padding: 1rem 1.1rem;
    gap: 0.5rem;
  }
  .admin-header h2 {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
  .admin-header .modal-close {
    font-size: 1.2rem;
  }
  .admin-tabs {
    display: flex;
    gap: 0;
    padding: 0.6rem 1rem 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .admin-tabs::-webkit-scrollbar {
    display: none;
  }
  .admin-tab {
    padding: 0.6rem 0.65rem;
    font-size: 0.62rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  .admin-body {
    padding: 1rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-card {
    padding: 0.6rem 0.7rem;
  }
  .stat-card-num {
    font-size: 1.3rem;
  }
  .stat-card-label {
    font-size: 0.58rem;
    letter-spacing: 0.5px;
  }
  .admin-stats-panels {
    grid-template-columns: 1fr !important;
  }
  .admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 3px;
  }
  .admin-table {
    font-size: 0.75rem;
    min-width: 500px;
  }
  .admin-table th {
    font-size: 0.6rem;
    padding: 0.5rem 0.6rem;
    white-space: nowrap;
  }
  .admin-table td {
    padding: 0.55rem 0.6rem;
    font-size: 0.75rem;
  }
  .product-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .admin-actions .submit-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
  }
  .tbl-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    min-height: 34px;
  }
  .status-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.5rem;
  }

  /* ── Fidélité ── */
  .loyalty-tier-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
  }
  .pts-badge {
    font-size: 2rem;
  }
  .loyalty-badge {
    font-size: 0.72rem;
    padding: 0.25rem 0.7rem;
  }

  /* ── Avis ── */
  .review-card {
    padding: 0.8rem 1rem;
  }
  .stars-input span {
    font-size: 1.4rem;
  }
  .avg-rating-big {
    font-size: 2.8rem;
  }

  /* ── Galerie ── */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .gallery-item:first-child {
    grid-column: span 2;
  }
  .gallery-item {
    height: auto;
    aspect-ratio: 4/3;
  }

  /* ── Cookie banner ── */
  .cookie-banner {
    bottom: 0;
    border-radius: 8px 8px 0 0;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.1rem 1rem;
  }
  .cookie-actions {
    width: 100%;
    display: flex;
    gap: 0.6rem;
  }
  .cookie-btn-accept,
  .cookie-btn-refuse {
    flex: 1;
    text-align: center;
    min-height: 42px;
  }

  /* ── Sélecteur couleur ── */
  .cpick-box {
    padding: 1.2rem 1rem;
    border-radius: 10px 10px 0 0;
    width: 100%;
    max-width: 100%;
  }
  .cpick-dots {
    gap: 0.5rem;
  }
  .cpick-dot {
    width: 30px;
    height: 30px;
  }
  .cpick-label {
    font-size: 0.62rem;
    max-width: 50px;
  }
  .cpick-dot-wrap {
    padding: 0.4rem 0.5rem;
  }

  /* ── Flash ── */
  .flash-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.45rem;
  }
  .flash-timer {
    font-size: 0.65rem;
  }

  /* ── Footer ── */
  footer {
    padding: 2rem 1rem;
    text-align: center;
  }
  .footer-nl {
    margin-bottom: 1.2rem;
  }
  .footer-nl-sub {
    font-size: 0.78rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.6rem;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0.8rem;
  }
  .nl-footer-form {
    justify-content: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.8rem;
  }

  /* ── Ordres ── */
  .order-card {
    padding: 0.8rem 1rem;
  }
  .order-card-header {
    gap: 0.4rem;
  }
  .otl-dot {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }
  .otl-label {
    font-size: 0.78rem;
  }

  /* Touch targets minimum 44px ── */
  .add-btn,
  .filter-btn {
    min-height: 40px;
  }
  .modal-add-btn,
  .submit-btn,
  .auth-btn,
  .btn-primary,
  .btn-secondary {
    min-height: 46px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  body {
    cursor: auto;
  }

  /* iOS safe area - évite que la barre Safari coupe les éléments */
  .cookie-banner {
    padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  }
  .notif {
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 380px) {
  .hero-h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }
  .hero-desc {
    font-size: 0.85rem;
  }
  .hero-btns {
    gap: 0.5rem;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .product-name {
    font-size: 0.85rem;
  }
  h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }
  .admin-tab {
    padding: 0.55rem 0.5rem;
    font-size: 0.58rem;
  }
}
@media (max-width: 320px) {
  .hero-inner {
    padding: 5rem 0.9rem 1.5rem;
  }
  .hero-h1 {
    font-size: clamp(1.9rem, 13vw, 2.6rem);
  }
  .hero-desc {
    font-size: 0.82rem;
  }
  .hero-btns a {
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
  }
  section {
    padding: 2rem 0.75rem;
  }
  .section-title {
    font-size: clamp(1.5rem, 12vw, 2rem);
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .cat-grid {
    gap: 0.3rem;
  }
  .cat-card {
    padding: 0.9rem 0.6rem;
  }
  .filter-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.68rem;
  }
  .hero-statsbar {
    padding: 0.8rem 0.9rem;
  }
}

/* ── Newsletter popup ── */
.nl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(4px);
}
.nl-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.nl-box {
  background: #1a1a1a;
  border: 2px solid #dc2626;
  border-radius: 6px;
  padding: 2rem 2rem 1.8rem;
  max-width: 460px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s;
}
.nl-overlay.active .nl-box {
  transform: translateY(0) scale(1);
}
.nl-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  transition: color 0.2s;
}
.nl-close:hover {
  color: var(--white);
}
.nl-tag {
  display: inline-block;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #dc2626;
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.9rem;
}
.nl-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.9rem;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.nl-title span {
  color: #dc2626;
}
.nl-sub {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.nl-promo {
  background: rgba(220, 38, 38, 0.1);
  border: 1px dashed rgba(220, 38, 38, 0.5);
  border-radius: 3px;
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.nl-promo span {
  color: #dc2626;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 3px;
}
.nl-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.nl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.nl-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 2px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.nl-input:focus {
  border-color: #dc2626;
}
.nl-input::placeholder {
  color: var(--gray);
}
.nl-btn {
  background: #dc2626;
  color: #000;
  border: none;
  padding: 0.8rem 1.5rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  min-height: 44px;
}
.nl-btn:hover {
  background: #c41f1f;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}
.nl-btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}
.nl-legal {
  font-size: 0.68rem;
  color: #555;
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.5;
}
.nl-success {
  text-align: center;
  padding: 1.2rem 0;
}
.nl-success .nl-icon {
  font-size: 2.5rem;
  margin-bottom: 0.6rem;
}
.nl-success p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.6;
}
.nl-success strong {
  color: var(--white);
}
/* ── Newsletter footer ── */
.nl-footer-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}
.nl-footer-input {
  flex: 1;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.55rem 0.9rem;
  border-radius: 2px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
}
.nl-footer-input:focus {
  border-color: #dc2626;
}
.nl-footer-btn {
  background: #dc2626;
  color: #000;
  border: none;
  padding: 0.55rem 1.2rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  min-height: 38px;
}
.nl-footer-btn:hover {
  background: #c41f1f;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}
@media (max-width: 600px) {
  .nl-row {
    grid-template-columns: 1fr;
  }
  .nl-box {
    padding: 1.5rem 1.2rem 1.5rem;
  }
  .nl-title {
    font-size: 1.5rem;
  }
}

/* ── Hero enhanced ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
}
.btn-primary:hover svg {
  transform: translateX(4px);
}
.btn-large {
  padding: 1rem 2.4rem;
  font-size: 0.92rem;
}
.hero-btns .btn-primary {
  position: relative;
  overflow: hidden;
}
.hero-btns .btn-primary::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    transparent 55%
  );
  pointer-events: none;
}
.hero-btns .btn-primary:hover {
  box-shadow:
    0 8px 32px rgba(212, 37, 37, 0.5),
    0 0 50px rgba(212, 37, 37, 0.12);
  transform: translateY(-2px);
}

/* ── Sections CTA ──────────────────────────────────────── */
.cta-section {
  padding: 7rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.cta-dark {
  background: var(--black);
}
.cta-bg-text {
  position: absolute;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(6rem, 18vw, 16rem);
  color: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.1em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.3));
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.cta-desc {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0 auto 2.2rem;
  max-width: 480px;
}
.cta-features {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.45rem 1rem;
  border-radius: 20px;
}
.cta-feature-icon {
  font-size: 0.9rem;
}
.cta-tags {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.cta-tag {
  font-size: 0.78rem;
  color: var(--orange);
  border: 1px solid rgba(220, 38, 38, 0.25);
  background: rgba(220, 38, 38, 0.06);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-weight: 500;
}
.cta-contact-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* (anciens hero-deco supprimés - remplacés par hero-statsbar) */

/* ── TRUST STRIP ───────────────────────────────────────── */
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.trust-strip {
  background: #0f0f0f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}
.trust-strip::before,
.trust-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.trust-strip::before {
  left: 0;
  background: linear-gradient(to right, #0f0f0f, transparent);
}
.trust-strip::after {
  right: 0;
  background: linear-gradient(to left, #0f0f0f, transparent);
}
.trust-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker 28s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}
@media (hover: hover) {
  .trust-track:hover {
    animation-play-state: paused;
  }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
  padding: 0.2rem 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-item-icon {
  display: inline-flex;
  align-items: center;
  opacity: 0.7;
}
.trust-item strong {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* ── CTA REDESIGN - Sur Mesure ─────────────────────────── */
.cta-split-section {
  padding: 7rem 3rem;
  background: var(--dark);
}
.cta-split-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.cta-split-left .section-label {
  margin-bottom: 0.6rem;
}
.cta-split-left .section-title {
  margin-bottom: 1rem;
}
.cta-split-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 440px;
}
.cta-split-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.cta-split-list-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.cta-split-list-icon {
  width: 28px;
  height: 28px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.cta-steps-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(220, 38, 38, 0.15);
  padding-left: 2rem;
}
.cta-step-item {
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.cta-step-item:last-child {
  border-bottom: none;
}
.cta-step-num {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 3.5rem;
  color: rgba(220, 38, 38, 0.2);
  line-height: 1;
  letter-spacing: 2px;
}
.cta-step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin: 0.2rem 0 0.3rem;
}
.cta-step-desc {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ── CTA REDESIGN - Galerie ────────────────────────────── */
.cta-gallery-section {
  padding: 7rem 3rem;
  background: var(--black);
}
.cta-gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.cta-gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.cta-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.04);
}
.cta-gallery-cell {
  aspect-ratio: 4/3;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s;
}
.cta-gallery-cell:hover {
  background: #161616;
}
.cta-gallery-cell-icon {
  font-size: 1.5rem;
  opacity: 0.15;
}

/* ── CTA REDESIGN - À Propos ───────────────────────────── */
.cta-about-section {
  padding: 7rem 3rem;
  background: var(--dark);
  text-align: center;
}
.cta-about-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.cta-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2.5rem;
}
.cta-value-card {
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  transition: border-color 0.2s;
}
.cta-value-card:hover {
  border-color: rgba(220, 38, 38, 0.2);
}
.cta-value-icon {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  display: block;
}
.cta-value-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.cta-value-desc {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ── CTA REDESIGN - Contact ────────────────────────────── */
.cta-contact-section {
  padding: 5rem 3rem;
  background: var(--black);
  border-top: 1px solid rgba(220, 38, 38, 0.12);
}
.cta-contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-contact-text .section-title {
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
.cta-contact-sub {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}
.cta-contact-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cta-contact-email {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}
.cta-contact-email a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.cta-contact-email a:hover {
  color: var(--orange);
}

/* ── Catalogue header ──────────────────────────────────── */
.catalogue-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.catalogue-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.catalogue-meta-item {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
}
.catalogue-empty {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem;
  gap: 0.8rem;
}
.catalogue-empty-icon {
  font-size: 2.5rem;
  opacity: 0.18;
  margin-bottom: 0.2rem;
}
.catalogue-empty-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.2rem;
  letter-spacing: 2px;
  color: var(--white);
}
.catalogue-empty-sub {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}
.catalogue-empty-btn {
  margin-top: 0.5rem;
  background: transparent;
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--orange);
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.catalogue-empty-btn:hover {
  background: rgba(220, 38, 38, 0.08);
  border-color: var(--orange);
}
.catalogue-search-wrap {
  position: relative;
  margin-bottom: 1.2rem;
  max-width: 340px;
}
.catalogue-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.6rem 0.9rem 0.6rem 2.4rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  border-radius: 6px;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.catalogue-search-input:focus {
  border-color: var(--orange);
  background: rgba(220, 38, 38, 0.04);
}
.catalogue-search-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.catalogue-search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
  pointer-events: none;
}
.print-est {
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.3px;
  margin: 0.2rem 0 0.4rem;
  font-style: italic;
}
.color-live-overlay {
  position: absolute;
  inset: 0;
  mix-blend-mode: color;
  border-radius: 4px;
  pointer-events: none;
  transition:
    background 0.25s,
    opacity 0.25s;
  opacity: 0;
  z-index: 3;
}
.recent-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
}
.recent-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
.recent-grid::-webkit-scrollbar {
  display: none;
}
.recent-card {
  flex: 0 0 150px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 0.8rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.recent-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.recent-img {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  border-radius: 2px;
}
.recent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recent-name {
  font-size: 0.73rem;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}
.recent-price {
  font-size: 0.7rem;
  color: var(--orange);
}
@media (max-width: 600px) {
  .recent-wrap {
    padding: 2rem 1.2rem;
  }
}

/* ── Footer colonnes ───────────────────────────────────── */
.footer-new {
  background: var(--dark);
  border-top: 1px solid rgba(220, 38, 38, 0.12);
  padding: 0;
}
.footer-body {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding: 4rem 3rem 3rem;
}
.footer-logo-new {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2rem;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.footer-logo-new span {
  color: var(--orange);
}
.footer-brand-desc {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
}
.footer-social {
  margin-top: 0.9rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-social-link:hover {
  color: var(--white);
}
.footer-social-link svg {
  opacity: 0.6;
  transition: opacity 0.2s;
}
.footer-social-link:hover svg {
  opacity: 1;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col-title {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
  width: fit-content;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-nl-sub-new {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.nl-footer-form-new {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.nl-footer-form-new .nl-footer-input {
  flex: 1;
  border-radius: 6px;
  font-size: 0.85rem;
}
.nl-footer-form-new .nl-footer-btn {
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
}
.footer-bottom-new {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.4rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy-new {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}
.footer-secure {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ── Menu mobile : bouton fermer ─────────────────────────── */
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}
.mobile-menu-close:hover {
  background: rgba(220, 38, 38, 0.3);
}

/* ── Responsive CTA + footer ─────────────────────────────── */
@media (max-width: 900px) {
  .footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem 2rem;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .catalogue-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .catalogue-meta {
    align-items: flex-start;
  }
  .hero-inner {
    flex-direction: column;
    gap: 2.5rem;
  }
  .hero-deco {
    flex: none;
    width: 100%;
    flex-direction: row;
    border-left: none;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    padding: 1.5rem 0 0;
    margin-top: 0.5rem;
  }
  .hero-deco-item {
    padding: 0.5rem 2rem 0.5rem 0;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
  }
  .hero-deco-item:last-child {
    border-right: none;
  }
  .cta-split-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .cta-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-item {
    padding: 0.4rem 1.5rem;
    font-size: 0.7rem;
  }
}
@media (max-width: 768px) {
  .cta-split-section {
    padding: 4rem 1.5rem;
  }
  .cta-split-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cta-steps-col {
    border-left: none;
    border-top: 1px solid rgba(220, 38, 38, 0.15);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  .cta-gallery-section {
    padding: 4rem 1.5rem;
  }
  .cta-gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .cta-about-section {
    padding: 4rem 1.5rem;
  }
  .cta-values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2.5rem 1.5rem 2rem;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom-new {
    padding: 1.2rem 1.5rem;
  }
}
@media (max-width: 600px) {
  .cta-section {
    padding: 5rem 1.5rem;
  }
  .cta-features {
    gap: 0.6rem;
  }
  .footer-body {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.2rem 2rem;
  }
  .footer-bottom-new {
    padding: 1.2rem;
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }
  .hero-trust {
    gap: 0.5rem;
  }
  .hero-stat-divider {
    width: 20px;
    height: 1px;
  }
  .btn-large {
    padding: 0.9rem 1.8rem;
    font-size: 0.88rem;
  }
  .catalogue-header {
    gap: 0.5rem;
  }
  .catalogue-meta {
    display: none;
  }
  .hero-stats {
    display: none;
  }
  .scroll-hint {
    display: none;
  }
  .hero-deco {
    display: none;
  }
  .cta-split-section {
    padding: 5rem 1.5rem;
  }
  .cta-gallery-section {
    padding: 5rem 1.5rem;
  }
  .cta-about-section {
    padding: 5rem 1.5rem;
  }
  .cta-contact-section {
    padding: 3.5rem 1.5rem;
  }
  .cta-gallery-grid {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .cta-values-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip {
    padding: 0.7rem 0;
  }
}

/* ── Auth Modal nouveau design ─────────────────────────── */
.auth-modal {
  max-width: 460px;
  padding: 0;
  overflow: hidden;
  border: none;
  background: transparent;
}
.auth-modal-inner {
  background: var(--dark);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.auth-modal-header {
  padding: 2rem 2rem 0;
  position: relative;
}
.auth-modal-logo {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.auth-modal-logo span {
  color: var(--orange);
}
.auth-modal-tagline {
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 1.8rem;
}
.auth-tabs-new {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.auth-tab-new {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--gray);
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.6rem 1rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}
.auth-tab-new.active {
  background: var(--orange);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
}
.auth-tab-new:not(.active):hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.auth-modal-body {
  padding: 1.6rem 2rem 2rem;
}
.auth-form-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
  animation: authFadeIn 0.25s ease;
}
.auth-form-panel.active {
  display: flex;
}
@keyframes authFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.auth-field-label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}
.auth-field-wrap {
  position: relative;
}
.auth-field-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  opacity: 0.5;
  pointer-events: none;
}
.auth-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.75rem 0.9rem 0.75rem 2.6rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  border-radius: 8px;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  outline: none;
}
.auth-input:focus {
  border-color: var(--orange);
  background: rgba(220, 38, 38, 0.06);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.auth-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  cursor: pointer;
}
.auth-remember-label {
  font-size: 0.8rem;
  color: var(--gray);
  user-select: none;
}
.auth-btn-submit {
  width: 100%;
  background: var(--orange);
  color: #000;
  border: none;
  padding: 0.85rem 1.5rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  margin-top: 0.2rem;
}
.auth-btn-submit:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}
.auth-btn-submit:active {
  transform: translateY(0);
}
.auth-divider-new {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.2rem 0;
}
.auth-divider-new::before,
.auth-divider-new::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.auth-divider-new span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.auth-btn-switch {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  padding: 0.75rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-btn-switch:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.auth-error-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-left: 3px solid #ef4444;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  color: #fca5a5;
  display: none;
}
.auth-error-box.show {
  display: block;
  animation: authFadeIn 0.2s ease;
}
.auth-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(220, 38, 38, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
  border-radius: 50%;
}
@media (max-width: 500px) {
  .auth-modal-inner {
    border-radius: 16px 16px 0 0;
  }
  .auth-row {
    grid-template-columns: 1fr;
  }
  .auth-modal-header {
    padding: 1.5rem 1.5rem 0;
  }
  .auth-modal-body {
    padding: 1.4rem 1.5rem calc(1.8rem + env(safe-area-inset-bottom, 0px));
  }
}

/* ── Performance mobile ─────────────────────────────────── */
/* Désactiver les animations non essentielles sur mobile */
@media (max-width: 600px) {
  .hero-bg,
  .hero-grid {
    display: none;
  }
  .scroll-line {
    animation: none;
  }
  .cta-icon {
    animation: none;
  }
  .hero-tag-dot {
    animation: none;
  }
  .hero-tag {
    animation: none;
  }
  .hero-sub {
    animation: none;
  }
  .hero-actions {
    animation: none;
  }
  .hero-trust {
    animation: none;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
}
/* Respecter la préférence système */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* content-visibility pour les sections hors viewport */
.cta-section,
.catalogue {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

/* ── Produit personnalisable ─────────────────────────── */
.custom-fields-zone {
  margin: 0.8rem 0;
  padding: 1rem;
  background: rgba(220, 38, 38, 0.04);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 8px;
}
.custom-fields-title {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.custom-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.custom-field-group:last-child {
  margin-bottom: 0;
}
.custom-field-label {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
}
.custom-field-label span {
  color: var(--orange);
}
.custom-field-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 0.6rem 0.8rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.custom-field-input:focus {
  border-color: var(--orange);
  background: rgba(220, 38, 38, 0.06);
}
.custom-field-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.custom-color-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.custom-color-picker {
  width: 42px;
  height: 36px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.custom-color-label {
  font-size: 0.82rem;
  color: var(--white);
}
.custom-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 20px;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  color: var(--orange);
  margin-bottom: 0.8rem;
}

/* ── Field Builder Admin ─────────────────────────────── */
.fb-add-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gray);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "DM Sans", sans-serif;
}
.fb-add-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(220, 38, 38, 0.08);
}
.fb-field-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  position: relative;
  transition: border-color 0.2s;
}
.fb-field-card:hover {
  border-color: rgba(220, 38, 38, 0.3);
}
.fb-field-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.fb-field-type-badge {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--orange);
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 600;
}
.fb-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.fb-field-row.single {
  grid-template-columns: 1fr;
}
.fb-label {
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.25rem;
}
.fb-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.45rem 0.65rem;
  border-radius: 5px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.83rem;
  outline: none;
  transition: border-color 0.2s;
}
.fb-input:focus {
  border-color: var(--orange);
}
.fb-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray);
}
.fb-checkbox-row input {
  accent-color: var(--orange);
  width: 15px;
  height: 15px;
}
.fb-move-btns {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.fb-move-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray);
  width: 26px;
  height: 26px;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.fb-move-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.fb-delete-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.fb-delete-btn:hover {
  background: rgba(239, 68, 68, 0.25);
}
.fb-empty {
  text-align: center;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}
.fb-options-area {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  padding: 0.6rem;
  margin-top: 0.4rem;
}

/* ── Select / Menu déroulant ─────────────────────────────── */
select,
.form-select,
.admin-select {
  background: #1a1a1a !important;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.9rem !important;
  border-radius: 8px !important;
  padding: 0.65rem 2.4rem 0.65rem 0.9rem !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23DC2626' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.8rem center !important;
  background-size: 12px !important;
}
select:focus,
.form-select:focus,
.admin-select:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
  background-color: rgba(220, 38, 38, 0.06) !important;
}
select:hover,
.form-select:hover,
.admin-select:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
}
/* Options - Chrome/Firefox desktop */
select option,
.form-select option,
.admin-select option {
  background: #1a1a1a !important;
  color: #f5f5f0 !important;
  padding: 0.5rem 0.8rem !important;
  font-size: 0.9rem !important;
}
select option:checked,
select option:hover {
  background: #dc2626 !important;
  color: #000 !important;
}
select optgroup {
  background: #111 !important;
  color: rgba(220, 38, 38, 0.8) !important;
  font-size: 0.75rem !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}
/* Cas spécifiques inline */
select[style*="background:rgba"] {
  background-color: #1a1a1a !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23DC2626' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.8rem center !important;
  background-size: 12px !important;
}
/* Select dans les champs custom (personnalisation produit) */
.custom-field-input[id^="cf_"],
select.custom-field-input {
  background: #1a1a1a !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23DC2626' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.8rem center !important;
  background-size: 12px !important;
}
@media (max-width: 600px) {
  select,
  .form-select,
  .admin-select {
    font-size: 16px !important;
  }
}

/* ── Profil modal redesign ─────────────────────────────── */
.profile-modal-inner {
  background: var(--dark);
  border: 2.5px solid rgba(220, 38, 38, 0.85);
  box-shadow:
    0 0 0 1px rgba(220, 38, 38, 0.25),
    0 0 30px rgba(220, 38, 38, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.7);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  max-height: 90dvh;
  max-height: 90vh;
  overflow: hidden;
}
#profileContent {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.profile-modal-header {
  padding: 1.4rem 1.6rem 0;
  position: relative;
  flex-shrink: 0;
}
.profile-avatar-new {
  width: 56px;
  height: 56px;
  background: rgba(220, 38, 38, 0.15);
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.profile-name-new {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--white);
}
.profile-email-new {
  font-size: 0.78rem;
  color: var(--gray);
}
.profile-tabs-new {
  display: flex;
  gap: 0.3rem;
  padding: 0.8rem 1rem 0.7rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.profile-tab-new {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray);
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.profile-tab-new:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}
.profile-tab-new.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #000;
  font-weight: 700;
}
.profile-modal-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding: 1.2rem 1.6rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.profile-modal-footer {
  padding: 0.8rem 1.6rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  display: flex;
  gap: 0.6rem;
}
.profile-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--gray);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.profile-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* ── Admin modal redesign ──────────────────────────────── */
.admin-modal-new {
  background: var(--dark);
  border: 2.5px solid rgba(220, 38, 38, 0.85);
  box-shadow:
    0 0 0 1px rgba(220, 38, 38, 0.25),
    0 0 30px rgba(220, 38, 38, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.7);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  max-height: 95dvh;
  max-height: 95vh;
  width: 100%;
  overflow: hidden;
}
.admin-modal-header-new {
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  background: rgba(220, 38, 38, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  overflow: hidden;
}
.admin-modal-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.admin-tabs-new {
  display: flex;
  gap: 0.3rem;
  padding: 0.8rem 1rem 0.7rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.admin-tab-new {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray);
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.admin-tab-new:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}
.admin-tab-new.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #000;
  font-weight: 700;
}
.admin-modal-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding: 1.2rem 1.6rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
@media (max-width: 600px) {
  .profile-modal-body {
    padding: 0.9rem 1.1rem;
  }
  .profile-modal-footer {
    padding: 0.7rem 1.1rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
  }
  .admin-modal-body {
    padding: 0.9rem 1.1rem;
  }
  /* Onglets profil + admin : plus compacts sur mobile */
  .profile-tab-new,
  .admin-tab-new {
    font-size: 0.65rem;
    padding: 0.35rem 0.6rem;
    letter-spacing: 0;
  }
  .profile-tabs-new,
  .admin-tabs-new {
    gap: 0.2rem;
    padding: 0.6rem 0.6rem 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .profile-tabs-new::-webkit-scrollbar,
  .admin-tabs-new::-webkit-scrollbar {
    display: none;
  }
  .profile-avatar-new {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  .profile-name-new {
    font-size: 1.15rem;
  }
  .admin-modal-title {
    font-size: 1.15rem;
  }
  /* Admin tables : layout carte sur mobile */
  .admin-table {
    min-width: 0 !important;
  }
  .admin-table thead {
    display: none;
  }
  .admin-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.6rem;
    align-items: center;
    padding: 0.8rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
  }
  .admin-table tbody tr:hover td {
    background: none !important;
  }
  .admin-table td {
    border-bottom: none !important;
    padding: 0.15rem 0 !important;
    font-size: 0.8rem;
  }
  /* Produits : image + nom sur la première ligne, reste en dessous */
  .admin-table td:first-child {
    flex-shrink: 0;
  }
  .admin-table td:nth-child(2) {
    flex: 1;
    min-width: 100px;
  }
  .admin-table td:last-child {
    width: 100%;
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
  }
}

/* ── Modal profil + admin : neutraliser le .modal base ──── */
#profileModal .modal,
#adminModal .modal {
  padding: 0 !important;
  border: none !important;
  border-width: 0 !important;
  background: transparent !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  max-height: none !important;
  height: auto !important;
  box-shadow: none !important;
}
#profileModal .modal,
#adminModal .modal {
  max-width: 700px;
  width: calc(100vw - 2rem);
}
#adminModal .modal {
  max-width: 1100px;
  width: calc(100vw - 2rem);
}
@media (max-width: 600px) {
  #profileModal .modal,
  #adminModal .modal {
    padding: 0 !important;
    border-width: 0 !important;
    max-height: none !important;
    width: calc(100vw - 1rem) !important;
    overflow: hidden !important;
  }
  .profile-modal-inner {
    max-height: calc(
      100dvh - env(safe-area-inset-bottom, 16px) - 1rem
    ) !important;
    max-height: calc(
      100vh - env(safe-area-inset-bottom, 16px) - 1rem
    ) !important;
  }
  .admin-modal-new {
    max-height: calc(
      100dvh - env(safe-area-inset-bottom, 16px) - 1rem
    ) !important;
    max-height: calc(
      100vh - env(safe-area-inset-bottom, 16px) - 1rem
    ) !important;
  }
}
