:root {
  --bg: #f4efe7;
  --surface: #fffdf7;
  --text: #1f2a24;
  --muted: #5f665d;
  --primary: #1d4134; /* Vert émeraude médinois */
  --primary-soft: #e8f0e8;
  --accent: #d4af37; /* Or plus riche */
  --border: rgba(29, 65, 52, 0.16);
  --gold: #d4af37; /* Or médinois */
  --emerald: #144736;
}

* {
  box-sizing: border-box;
}

html, body {
  max-width: 100% !important;
  overflow-x: hidden !important; /* Coupe net tout ce qui dépasse à droite/gauche */
  width: 100vw !important;
  position: relative; /* Aide le navigateur à mieux calculer les limites */
}

/* On s'assure que les marges internes et les bordures ne fassent pas grossir les éléments */
*, *::before, *::after {
  box-sizing: border-box !important;
}

img {
  max-width: 100%; /* Empêche une image d'être plus large que l'écran */
  height: auto;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Tajawal', sans-serif; /* Police arabe élégante pour le corps */
  background: radial-gradient(circle at top, rgba(196, 150, 70, 0.08), transparent 30%), #f4efe7;
  color: var(--text);
  line-height: 1.85;
  font-size: 18px; /* Increased for better readability */
  font-weight: 400;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(135deg, #1d4134 0%, #144736 50%, #0e2f24 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f7f3ec;
  padding: 1rem 0; /* Plus haut pour présence */
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: nowrap;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border: 3px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.logo:hover::before {
  opacity: 1;
}

.brand {
  flex: 0 0 auto;
}

.brand h1 {
  margin: 0;
  font-size: clamp(1.5rem, 1.8vw, 2rem);
  font-family: 'Marcellus', serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f7f3ec;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.brand-tagline {
  margin: 0.05rem 0 0;
  font-size: 0.75rem;
  font-family: 'Tajawal', sans-serif;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.main-nav {
  display: flex;
  gap: 0.8rem;
  flex-wrap: nowrap;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.main-nav a {
  color: #f7f3ec;
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  transition: color 0.3s ease;
  background: transparent;
  border: none;
  position: relative;
  overflow: visible;
  white-space: nowrap;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-link {
  opacity: 0.7;
}

.main-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transition: left 0.5s ease;
  display: none; /* Désactivé pour minimaliste */
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a:hover::before {
  left: 100%;
}

.cart-icon {
  position: relative;
  font-size: 1rem;
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  color: #1d4134;
  padding: 0.7rem 1.2rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
  font-weight: 600;
  margin-left: 1rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 1;
}

.cart-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #c39d3d 0%, #a67c00 100%);
}

.cart-icon:hover {
  background: #b8860b;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid #d4af37;
  min-width: 22px;
  z-index: 2;
}

.hero-section {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 4.5rem 0;
  background: linear-gradient(135deg, rgba(23, 43, 35, 0.08), rgba(244, 239, 231, 0.9));
}

.hero-home {
  background-image: linear-gradient(180deg, rgba(23, 43, 35, 0.66), rgba(23, 43, 35, 0.15)), url('https://images.pexels.com/photos/19538389/pexels-photo-19538389.jpeg?auto=compress&cs=tinysrgb&w=1600&fit=crop');
  background-size: cover;
  background-position: center;
}

.hero-catalogue {
  background-image: linear-gradient(180deg, rgba(23, 43, 35, 0.66), rgba(23, 43, 35, 0.15)), url('https://images.pexels.com/photos/20277838/pexels-photo-20277838.jpeg?auto=compress&cs=tinysrgb&w=1000&fit=crop');
  background-size: cover;
  background-position: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 247, 229, 0.18), transparent 28%), radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 2.5rem 2.2rem;
  background: rgba(255, 250, 243, 0.96);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 70px rgba(14, 24, 22, 0.18);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #735b36;
  background: rgba(255, 236, 205, 0.5);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: #1b4234;
  font-family: 'Amiri', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-content p {
  margin: 1.6rem 0 2rem;
  color: #4d584e;
  font-size: 1.05rem;
}

.hero-product {
  background: var(--bg);
  padding: 6rem 0;
}

.hero-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin: 0.5rem 0 1rem;
  color: var(--primary);
  font-family: 'Amiri', serif;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}



.hero-actions .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-actions .btn {
  padding: 1.5rem 3rem;
  font-size: 1.1rem;
}

.hero-image {
  min-height: 500px;
  border-radius: 32px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 80px rgba(17, 27, 21, 0.18);
}

.image-medine-large {
  background-image: url('Image/Spray-Rawdah-Médine.webp');
}

.offer {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}

.product-description {
  padding: 4rem 0;
  text-align: center;
}

.product-description h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-family: 'Amiri', serif;
}

.product-description p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
}

.product-features-section {
  padding: 4rem 0;
  background: var(--surface);
}

.product-features-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
  font-family: 'Amiri', serif;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-item h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: 'Amiri', serif;
}

.feature-item p {
  color: var(--muted);
  line-height: 1.6;
}

.product-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--emerald) 100%);
  color: white;
  text-align: center;
}

.product-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Amiri', serif;
}

.product-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.product-cta .button {
  background: white;
  color: var(--primary);
  padding: 1.5rem 3rem;
  font-weight: 600;
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.primary,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%); /* Or médinois */
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.3); /* Plus d'ombre pour profondeur */
}

.primary:hover,
.btn-primary:hover {
  transform: translateY(-3px); /* Plus de mouvement */
  background: linear-gradient(135deg, #c39d3d 0%, #a67c00 100%);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
}

.product-section,
.about-section {
  padding: 3.5rem 0;
}



.section-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-header h3 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-family: 'Amiri', serif; /* Police arabe pour élégance */
  color: #1f3331;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.section-header p {
  margin: 1rem auto 0;
  max-width: 680px;
  color: #575c52;
  font-size: 1rem;
  line-height: 1.8;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.product-showcase-link {
  grid-column: 1;
  grid-row: 1 / 3;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-showcase-copy {
  background: rgba(255, 250, 243, 0.96);
  border: 1px solid rgba(29, 65, 52, 0.12);
  border-radius: 32px;
  padding: 2.5rem;
  box-shadow: 0 24px 60px rgba(14, 24, 22, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-showcase-copy:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 90px rgba(14, 24, 22, 0.16);
  border-color: var(--gold);
}

.product-showcase-copy h3 {
  font-size: clamp(2.15rem, 3.2vw, 3rem);
  margin-bottom: 1.2rem;
}

.product-showcase-copy p {
  color: #535a50;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.8rem;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-showcase-copy .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.product-actions .btn-secondary {
  flex: 1;
  max-width: 200px;
}

.product-showcase-image-link {
  grid-column: 2;
  grid-row: 1 / 3;
  display: block;
  position: relative;
}

.editorial-image, 
.product-showcase-image {
    /* 1. On utilise 'contain' pour voir TOUTE la photo sans aucune coupure */
    background-size: contain !important; 
    background-repeat: no-repeat !important;
    background-position: center !important;
    
    /* 2. On ajuste la hauteur pour que l'image soit grande et élégante */
    min-height: 600px !important; 
    
    /* 3. On enlève les ombres ou bordures qui pourraient gêner */
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Si tu veux que l'image soit un peu plus grande sur les côtés */
.editorial-grid {
    align-items: center !important;
    gap: 2rem !important; /* On réduit un peu l'écart pour laisser l'image respirer */
}

.product-showcase-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.18));
  border-radius: inherit;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card {
  position: relative;
  background: rgba(255, 255, 250, 0.96);
  border: 1px solid rgba(29, 65, 52, 0.14);
  border-radius: 28px;
  padding: 2.2rem;
  box-shadow: 0 28px 70px rgba(14, 24, 22, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #d2a64c, #c59b43);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 90px rgba(14, 24, 22, 0.16);
}

.product-image {
  width: 100%;
  min-height: 300px;
  border-radius: 2rem;
  margin-bottom: 1.8rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.14));
  border-radius: inherit;
}

.product-card h4 {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  color: #132f2b;
  letter-spacing: 0.02em;
}

.product-card p {
  margin: 0 0 1.2rem;
  color: #555d50;
  font-size: 1.04rem;
  line-height: 1.85;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  color: #505849;
}

.product-features li {
  margin-bottom: 0.9rem;
  padding-left: 1.2rem;
  position: relative;
}

.product-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #b28834;
  font-size: 1.1rem;
  line-height: 1.2;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(197, 155, 74, 0.12);
  color: #8b6d2f;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.price {
  display: inline-block;
  font-weight: 700;
  color: #9b742c;
  font-size: 1.85rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.4rem;
}

.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.5fr 1fr;
  align-items: flex-start;
}

.about-copy {
  background: rgba(255, 250, 243, 0.95);
  border: 1px solid rgba(29, 65, 52, 0.12);
  border-radius: 28px;
  padding: 2.2rem;
  box-shadow: 0 22px 55px rgba(14, 24, 22, 0.1);
}

.about-copy h3 {
  margin-top: 0;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
}

.about-copy p {
  color: #545b50;
  line-height: 1.85;
  font-size: 1.02rem;
}



.about-copy ul {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
}

.about-copy li {
  margin-bottom: 0.95rem;
  padding-left: 1.3rem;
  position: relative;
  color: #555d50;
}

.about-copy li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #9b742c;
  font-size: 1rem;
  line-height: 1.4;
}

.about-highlight,
.about-splash {
  background: linear-gradient(180deg, rgba(246, 239, 226, 0.98), rgba(231, 219, 185, 0.95));
  border: 1px solid rgba(196, 150, 70, 0.18);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 18px 44px rgba(14, 24, 22, 0.08);
}

.about-highlight h4,
.about-splash h4 {
  margin-top: 0;
  font-size: 1.7rem;
}

.about-highlight p,
.about-splash p {
  color: #5c6458;
  line-height: 1.85;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.product-detail-copy {
  display: grid;
  gap: 1.5rem;
}

.product-detail-copy h4 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.product-detail-copy .price {
  font-size: 2.1rem;
}

.product-detail-copy .product-features {
  margin: 0;
}

.product-detail-copy .btn-primary {
  width: max-content;
}


.product-grid.single {
  justify-items: center;
}

.product-card {
  position: relative;
  background: rgba(255, 255, 250, 0.92);
  border: 1px solid rgba(29, 65, 52, 0.12);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 22px 55px rgba(14, 24, 22, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #d2a64c, #c59b43);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px rgba(14, 24, 22, 0.14);
}

.product-image {
  width: 100%;
  min-height: 240px;
  border-radius: 1.5rem;
  margin-bottom: 1.5rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18));
  border-radius: inherit;
}

.image-medine {
  background-image: url('Image/Spray-Rawdah-Médine.webp');
}

.image-dates {
  background-image: url('https://images.pexels.com/photos/4469611/pexels-photo-4469611.jpeg?auto=compress&cs=tinysrgb&w=1600&fit=crop');
}

.image-textile {
  background-image: url('Image/Tapis-Rawdah.webp');
}

.product-card h4 {
  margin: 0 0 1rem;
  font-size: 1.9rem;
  font-family: 'Playfair Display', serif;
  color: #163d2f;
}

.product-card p {
  margin: 0 0 1rem;
  color: #5f665d;
  font-size: 1.02rem;
  line-height: 1.75;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  color: #5f665d;
}

.product-features li {
  margin-bottom: 0.65rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(197, 155, 74, 0.14);
  color: #8b6d2f;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.price {
  display: inline-block;
  font-weight: 700;
  color: #9b742c;
  font-size: 1.4rem;
  font-family: 'Crimson Text', serif;
  margin-bottom: 1.4rem;
}

.about-grid {
  display: grid;
  gap: 1.7rem;
  grid-template-columns: 1.4fr 1fr;
}

.about-highlight {
  background: rgba(246, 239, 226, 0.92);
  border: 1px solid rgba(196, 150, 70, 0.2);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 18px 44px rgba(14, 24, 22, 0.08);
}

.about-highlight h4,
.about-grid h3 {
  margin-top: 0;
}

.about-grid p,
.about-grid li {
  color: #5f665d;
}

.about-grid ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.about-grid li {
  margin-bottom: 0.75rem;
}

.site-footer {
  background: linear-gradient(135deg, #1d4134, #144736); /* Vert médinois */
  color: #f7f4ec;
  padding: 2rem 0;
  text-align: center;
  font-family: 'Tajawal', sans-serif;
}

.site-footer .copyright {
  margin: 0;
  font-size: 0.95rem;
  color: #d8d4c9;
  font-weight: 400;
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
  border: 2px solid #d4af37 !important;
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  padding: 1rem 2rem !important;
  transform: scale(1);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #c39d3d 0%, #a67c00 100%) !important;
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 18px 45px rgba(212, 175, 55, 0.5) !important;
  border-color: #c39d3d !important;
}

.btn-secondary:active {
  transform: scale(0.98);
}

.text-center {
  text-align: center;
}

.section {
  padding: 3.5rem 0;
}

#cart-content,
#checkout-content {
  padding: 2rem;
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(29, 65, 52, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(14, 24, 22, 0.09);
}

.cart-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
  gap: 1.8rem;
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 1rem;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  background: #ffffff;
  border: 1px solid rgba(29, 65, 52, 0.12);
  border-radius: 28px;
  padding: 1.8rem;
  box-shadow: 0 20px 45px rgba(14, 24, 22, 0.08);
}

.cart-item {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(29, 65, 52, 0.12);
  border-radius: 22px;
}

.cart-item-info h4 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  color: #1f2a24;
}

.cart-item-info p {
  margin: 0;
  color: #5f665d;
}

.quantity-controls {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
}

.quantity-controls button {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(29, 65, 52, 0.12);
  background: #f6f1ea;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
}

.quantity-controls button:hover {
  background: var(--primary-soft);
}

.cart-total {
  margin-top: 1.5rem;
  padding: 1.6rem 1.8rem;
  background: #fbf5ef;
  border: 1px solid rgba(29, 65, 52, 0.12);
  border-radius: 20px;
}

.cart-total p {
  margin: 0;
  font-size: 1rem;
  color: #4f584d;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
  gap: 2rem;
}

.checkout-form,
.checkout-summary {
  background: #ffffff;
  border: 1px solid rgba(29, 65, 52, 0.12);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(14, 24, 22, 0.08);
}

.checkout-form h3,
.checkout-summary h3 {
  margin-top: 0;
  margin-bottom: 1.4rem;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #1f2a24;
}

#order-form label {
  display: block;
  margin: 1rem 0 0.35rem;
  color: #4f584d;
  font-weight: 600;
}

#order-form input,
#order-form textarea {
  width: 100%;
  border: 1px solid rgba(29, 65, 52, 0.14);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  background: #fbf7f1;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

#order-form input:focus,
#order-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(197, 155, 74, 0.12);
}

fieldset {
  border: 1px solid rgba(29, 65, 52, 0.14);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  margin: 1rem 0;
}

fieldset legend {
  padding: 0 0.5rem;
  font-weight: 700;
  color: #1f2a24;
}

fieldset label {
  display: block;
  margin: 0.85rem 0 0;
  color: #4f584d;
  cursor: pointer;
  font-weight: 400;
}

fieldset input {
  margin-right: 0.65rem;
  accent-color: var(--primary);
}

.checkout-summary .cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(29, 65, 52, 0.08);
}

.checkout-summary .cart-item:last-child {
  border-bottom: none;
}

.checkout-summary .text-muted {
  margin-top: 1.25rem;
  color: #5f665d;
  line-height: 1.75;
}





/* --- Style Minimaliste/Luxe direct sur Background (Façon Apple) --- */

/* Conteneur pour centrer horizontalement le bloc de texte sans fond */
.luxury-text-wrapper {
  display: flex;
  justify-content: center; /* Centre horizontalement le bloc .luxury-hero-text */
  width: 100%;
}

.luxury-hero-text {
  text-align: center; /* Classic luxury centering */
  max-width: 850px; /* Évite que le texte ne soit trop large */
  color: #f7f3ec; /* Fallback text color (off-white) */
}

.luxury-hero-text h1 {
  margin: 0;
  font-family: 'Amiri', serif; /* Luxe Heritage Serif */
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem); /* Police massive pour effet d'annonce Apple */
  line-height: 1.05;
  color: #ffffff; /* High contrast White */
  text-transform: uppercase; /* maximum impact */
  letter-spacing: 0.03em;
  /* Crucial pour la lisibilité sur l'image de fond */
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.luxury-hero-text p {
  margin: 2.5rem auto 3.5rem; /* Marges généreuses Apple-style */
  font-family: 'Tajawal', sans-serif; /* Clean Sans-serif pour lisibilité */
  font-weight: 300;
  font-size: 1.3rem; /* Sophisticated size */
  line-height: 1.7;
  color: #e4dfd3; /* Soft off-white to reduce harshness */
  max-width: 650px; /* Contain text width for readability */
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Centrage du bouton */
.luxury-hero-text .hero-actions {
  justify-content: center;
  margin-top: 2rem;
}

/* Version lumineuse de l'eyebrow pour fond sombre */
.eyebrow-light {
  display: inline-flex;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  font-family: 'Tajawal', sans-serif;
  font-weight: 500;
  letter-spacing: 0.2em; /* Luxury letter spacing */
  text-transform: uppercase;
  color: var(--gold); /* Gold text */
  background: rgba(212, 175, 55, 0.1); /* Subtle gold tint bg */
  border: 1px solid rgba(212, 175, 55, 0.3); /* Gold border defining shape */
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  text-shadow: none; /* Keep crisp */
}

/* =========================================
   NOUVEAU STYLE PRODUIT : PREMIUM E-COMMERCE
   ========================================= */

.premium-product-page {
  padding: 3rem 0;
  background-color: var(--surface);
}

.product-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  background: #ffffff;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(29, 65, 52, 0.05);
  border: 1px solid var(--border);
}

/* IMAGE (GAUCHE) */
.product-gallery {
  position: sticky;
  top: 100px; /* Reste à l'écran quand on scrolle */
}

.main-image {
  width: 100%;
  height: 600px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.badge-promo-image {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* INFOS (DROITE) */
.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-title-premium {
  font-family: 'Amiri', serif;
  font-size: 2.8rem;
  color: var(--primary);
  margin: 0;
  line-height: 1.1;
}

.price-premium {
  font-family: 'Tajawal', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
}

.promo-alert {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 1.2rem;
  border-radius: 12px;
  color: #8b6d2f;
}

.promo-alert strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.3rem;
}

.product-short-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
}

.btn-block {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.2rem;
  justify-content: center;
}

.trust-badges {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* DETAILS SECTION */
.product-details-premium {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.details-header {
  text-align: center;
  margin-bottom: 3rem;
}

.details-header h2 {
  font-family: 'Amiri', serif;
  font-size: 2.4rem;
  color: var(--primary);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.detail-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.detail-card h3 {
  font-family: 'Amiri', serif;
  color: var(--gold);
  font-size: 1.5rem;
  margin-top: 0;
}

/* RESPONSIVE */

/* =========================================
   CARROUSEL D'IMAGES AUTOMATIQUE
   ========================================= */

.carousel-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

/* On s'assure que le badge reste par-dessus les images */
.carousel-container .badge-promo-image {
  z-index: 10;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0; /* Invisible par défaut */
  transition: opacity 0.8s ease-in-out; /* Le secret du fondu élégant */
}

.carousel-slide.active {
  opacity: 1; /* Visible quand elle a la classe active */
  z-index: 5;
}

/* Les petits points de navigation */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.dot.active, .dot:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* Responsive pour le carrousel */


/* =========================================
   CONTROLES CARROUSEL & ZOOM
   ========================================= */

/* Flèches de navigation */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  user-select: none;
}

.carousel-arrow.left { left: 15px; }
.carousel-arrow.right { right: 15px; }

.carousel-arrow:hover {
  background: #fff;
  color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

/* Bouton Zoom */
.zoom-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  padding: 0.5rem 1.2rem;
  border-radius: 99px;
  cursor: pointer;
  z-index: 10;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.zoom-btn:hover {
  background: #fff;
  transform: scale(1.05);
  color: var(--gold);
}

/* Modal de Zoom (Plein écran) */
.zoom-modal {
  display: none; /* Caché par défaut */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9); /* Fond noir transparent */
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.zoom-modal-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
}

.close-zoom {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
  font-size: 45px; /* Plus grand pour mobile */
  line-height: 1;
  cursor: pointer;
  z-index: 100001 !important; /* Supérieur au modal pour être cliquable */
  padding: 20px; /* Zone de clic agrandie sans changer la taille du texte */
  background: rgba(0, 0, 0, 0.2); /* Petit fond pour mieux le voir */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

/* Astuce : permettre de fermer en cliquant n'importe où sur le fond noir */
.zoom-modal {
  cursor: zoom-out;
}

@keyframes zoomIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* =========================================
   STYLE CATALOGUE MINIMALISTE (SANS BOÎTES)
   ========================================= */

.minimal-catalog {
  padding-bottom: 6rem;
  background-color: var(--bg); /* Utilise la couleur de fond globale de ton site */
}

/* Hero Centré */
.minimal-hero {
  padding: 6rem 0 4rem;
}

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

.minimal-title {
  font-family: 'Amiri', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.minimal-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

/* Le Produit Phare (Éditorial) */
.featured-product {
  margin-bottom: 8rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.editorial-image {
  min-height: 650px;
  border-radius: 4px; /* Bords très peu arrondis pour un côté photo d'art */
  background-size: cover;
  background-position: center;
}

.minimal-tag {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--muted);
  display: block;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.5rem;
  width: max-content;
}

.editorial-title {
  font-family: 'Amiri', serif;
  font-size: 3rem;
  color: var(--text);
  margin: 0 0 1.5rem;
  line-height: 1.1;
}

.editorial-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2rem;
}

.editorial-promo {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.editorial-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  font-family: 'Amiri', serif;
}

.editorial-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.editorial-actions .btn {
  border-radius: 4px; /* On casse le bouton trop rond pour faire plus "Couture" */
  padding: 1.2rem 2.5rem;
}

.minimal-link {
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid var(--text);
  padding-bottom: 0.2rem;
  transition: opacity 0.3s ease;
}

.minimal-link:hover {
  opacity: 0.6;
}

/* La Grille Galerie (Produits à venir) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.gallery-item {
  text-align: left; /* Aligné à gauche pour un look moderne */
}

.gallery-image {
  min-height: 450px;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: 4px;
  filter: grayscale(20%); /* Donne un léger côté désaturé aux produits non dispos */
  transition: filter 0.3s ease;
}

.gallery-image:hover {
  filter: grayscale(0%);
}

.gallery-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery-title {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.gallery-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */


.luxury-contact-page {
  padding-bottom: 6rem;
  background-color: var(--bg);
}

/* En-tête de la page Contact */
.contact-header {
  padding: 5rem 0 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-family: 'Amiri', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--primary);
  margin: 1rem 0;
}

.contact-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
}

/* Les 3 blocs de méthode de contact */
.methods-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 6rem;
  padding: 0 2rem;
}

.method-item {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border); /* Petite ligne élégante au-dessus */
}

.method-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.method-item h3 {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.method-item p {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.method-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.method-link:hover {
  border-color: var(--gold);
}

.method-hours {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  color: #8b6d2f;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Le Formulaire Centré */
.form-wrapper {
  max-width: 700px; /* On garde le formulaire fin et élégant */
  margin: 0 auto;
}

.form-title {
  font-family: 'Amiri', serif;
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 2.5rem;
}

/* Grille pour mettre Nom et Email sur la même ligne */
.form-row {
  display: flex;
  gap: 2rem;
}

.half {
  flex: 1;
}

/* Style des champs du formulaire (identique à ce que tu aimais) */
.minimal-form .form-group {
  margin-bottom: 2rem;
}

.minimal-form label {
  display: block;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.minimal-form input,
.minimal-form select,
.minimal-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(29, 65, 52, 0.2);
  padding: 0.8rem 0;
  font-family: 'Tajawal', sans-serif;
  font-size: 1.05rem;
  color: var(--text);
  transition: border-color 0.3s ease;
  outline: none;
}

.minimal-form input:focus,
.minimal-form select:focus,
.minimal-form textarea:focus {
  border-bottom-color: var(--gold);
}

.minimal-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Responsive */


/* =========================================
   STYLE PANIER LUXE / ÉPURÉ
   ========================================= */

.minimal-cart-page {
  padding-bottom: 6rem;
  background-color: var(--bg);
}

.cart-header {
  padding: 4rem 0;
}

/* Panier Vide */
.empty-cart-box {
  padding: 5rem 2rem;
  background: transparent;
  border: 1px dashed rgba(29, 65, 52, 0.2);
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 4rem;
  opacity: 0.2;
  margin-bottom: 1rem;
}

/* Layout Panier Scindé (Desktop) */
.cart-split-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: start;
}

.column-title {
  font-family: 'Amiri', serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(29, 65, 52, 0.1);
  padding-bottom: 1rem;
}

/* Style des articles générés par le JS (cart.js) */
.luxury-cart-items .cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto; /* Nom | Quantité | Prix | Supprimer */
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(29, 65, 52, 0.08);
  background: transparent;
}

.cart-item-info h4 {
  font-family: 'Amiri', serif;
  font-size: 1.3rem;
  margin: 0 0 0.2rem;
  color: var(--text);
}

.cart-item-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Boutons Quantité (+ et -) générés par le JS */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(29, 65, 52, 0.2);
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quantity-controls button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.quantity-controls span {
  font-weight: 700;
  font-size: 1.1rem;
}

/* Bouton Supprimer du JS */
.cart-item .btn-secondary {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #e74c3c !important;
  font-size: 0.85rem !important;
  padding: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-item .btn-secondary:hover {
  opacity: 0.7;
  transform: none;
}

/* --- COLONNE DROITE : LE FORMULAIRE DE VALIDATION --- */
.checkout-box {
  background: rgba(255, 255, 250, 0.8);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3); /* Bordure dorée légère */
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(29, 65, 52, 0.1);
}

.total-price {
  font-family: 'Amiri', serif;
  font-size: 2.2rem;
  color: var(--primary);
}

/* Les boutons Radio personnalisés (Virement/Espèces) */
.payment-methods {
  margin: 1.5rem 0;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
}

.radio-label input[type="radio"] {
  accent-color: var(--gold);
  transform: scale(1.2);
}

.secure-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* Responsive Panier */


@media (max-width: 900px) {
  
  /* 1. On cache le texte, on garde le logo */
  .brand {
    display: none !important;
  }

  /* 2. Le conteneur parent doit être relatif pour servir de repère */
  .header-inner {
    display: flex !important;
    justify-content: center !important; /* Centre le menu horizontalement */
    align-items: center !important;
    position: relative !important;   /* CRUCIAL pour le positionnement du panier */
    width: 100% !important;
    min-height: 50px !important;
    padding: 0 1rem !important;
  }

  /* 3. Logo à gauche (optionnel, reste discret) */
  .logo {
    position: absolute !important;
    left: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
  }

  /* 4. Menu parfaitement centré */
  .main-nav {
    display: flex !important;
    gap: 0.6rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  .main-nav a {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.4rem !important;
    text-transform: uppercase;
  }

}

/* Ajustement pour écrans très étroits */
@media (max-width: 400px) {
  .main-nav {
    gap: 0.3rem !important;
  }
  .main-nav a {
    font-size: 0.65rem !important;
  }

}




  /* --- 2. GESTION DES PHOTOS (PAS DE DÉFORMATION) --- */
  .editorial-image, 
  .main-image, 
  .carousel-container, 
  .gallery-image,
  .product-showcase-image {
    width: 100% !important;
    height: 400px !important; /* Hauteur fixe pour éviter le côté "moche" / écrasé */
    min-height: 400px !important;
    border-radius: 8px !important;
    object-fit: cover !important; /* L'image remplit sans se déformer */
    margin-bottom: 1.5rem;
  }

  /* --- 3. GRILLES (TOUT EN UNE COLONNE) --- */
  .editorial-grid, 
  .cart-split-layout, 
  .contact-grid, 
  .gallery-grid, 
  .methods-wrapper,
  .product-split-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    padding: 1rem !important;
  }

  .hero-content, .luxury-hero-text {
    padding: 2rem 1.5rem !important;
    text-align: center;
  }

  /* --- 4. TITRES ET BOUTONS --- */
  h1, .minimal-title, .editorial-title, .luxe-title {
    font-size: 2rem !important;
    text-align: center;
  }

  .btn, .btn-primary {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Sur mobile, on enlève l'effet sticky de l'image pour que le texte suive */
  .product-gallery {
    position: relative !important;
    top: 0 !important;
  }


*


/* On écrase l'ancien style "bouton lourd" */
.site-header .cart-icon {
  background: transparent !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  color: #f7f3ec !important;
  box-shadow: none !important;
  padding: 0.5rem 0.8rem !important;
  border-radius: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  position: relative !important;
  transition: all 0.3s ease !important;
}

.site-header .cart-icon:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  transform: translateY(-2px) !important;
}

/* Taille de la nouvelle icône "Sac de luxe" */
.site-header .cart-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* La pastille du nombre d'articles (Fini le rouge !) */
.site-header .cart-count {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  background: var(--gold) !important; /* Fond doré */
  color: #1d4134 !important; /* Chiffre en vert émeraude */
  border: 2px solid #1d4134 !important; /* Contour vert pour se détacher */
  border-radius: 50% !important;
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

/* =========================================
   ✨ CORRECTION DES IMAGES : PAGE PRODUITS
   ========================================= */

/* 1. L'image du produit phare (Le Spray en haut) */
.editorial-image {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 550px !important; /* Donne un bel espace pour que le flacon respire */
  background-color: transparent !important;
}

/* 2. Les images de la galerie (Dattes, Tapis...) */
.gallery-image {
  background-size: contain !important; /* Force l'image à s'afficher à 100% sans être coupée */
  background-position: center center !important;
  background-repeat: no-repeat !important;
  height: 350px !important; /* Hauteur fixe pour que tous les produits soient alignés */
  min-height: 350px !important;
  border-radius: 12px;
  background-color: transparent !important; /* Évite les gros blocs de couleur inesthétiques */
  transition: all 0.4s ease;
}

/* Petit effet de survol très "Luxe" sur la galerie */
.gallery-image:hover {
  filter: grayscale(0%) !important;
  transform: translateY(-5px); /* Le produit se soulève légèrement quand on passe la souris */
}

/* On centre le texte sous les images de la galerie pour un look plus "Boutique" */
.gallery-item {
  text-align: center !important;
}

.gallery-badge {
  left: 50% !important;
  transform: translateX(-50%) !important; /* Centre le badge "À venir" */
}

/* =========================================
   💎 STYLE BOUTIQUE ÉCRIN (PRODUITS)
   ========================================= */

.premium-collection {
  padding-bottom: 6rem;
  background-color: var(--bg);
}

/* En-tête */
.collection-title {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Le Présentoir du Produit */
.flagship-wrapper {
  display: flex;
  gap: 4rem;
  align-items: center;
  background: rgba(29, 65, 52, 0.03); /* Fond très subtil pour détacher le bloc */
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(212, 175, 55, 0.15); /* Fin contour doré */
}

.flagship-image {
  flex: 1;
  height: 500px;
  background-size: contain; /* L'image s'affiche en entier */
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
}

.flagship-info {
  flex: 1.2;
}

.stock-badge {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.flagship-name {
  font-family: 'Amiri', serif;
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1;
}

.flagship-description {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1;
  margin-bottom: 1rem;
}

.flagship-checkout-area {
  display: flex;
  justify-content: space-between; /* Pousse le prix à gauche et le bouton à droite */
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2); /* Belle ligne de séparation dorée */
}

.price-container {
  display: flex;
  flex-direction: column;
  text-align: left;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.flagship-price1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--primary);
  font-weight: 400;
  margin-left: 70px;
  line-height: 1;
  margin-bottom: -0.5rem;
}

.flagship-price2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--primary);
  font-weight: 400;
  margin-left: 400px;
  line-height: 1;
  margin-bottom: -0.5rem;
}

.promo-text {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flagship-checkout-area .btn {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(29, 65, 52, 0.15); /* Légère ombre élégante sous le bouton */
}

/* Barre de stock ultra-moderne */
.stock-container {
    background: #fdfaf0;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#stock-bar {
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    background: linear-gradient(90deg, #d4af37 0%, #f2d06b 100%) !important;
}

/* Pop-up Newsletter Luxe */
.popup-content {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(1);
    transition: transform 0.3s ease-out;
}

.popup-eyebrow {
    display: block;
    color: #d4af37;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.btn-popup { 
    background: #ffffff; 
    color: #d4af37; 
    border: 2px solid #d4af37; /* Le contour doré */
    padding: 12px 25px; 
    width: 100%; 
    font-weight: bold; 
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer; 
    border-radius: 5px; 
    transition: all 0.3s ease;
}

.btn-popup:hover {
    background: #d4af37;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.announcement-bar {
    background: linear-gradient(90deg, #d4af37, #b8860b); /* Dégradé doré luxe */
    color: #ffffff;
    overflow: hidden;
    padding: 3px 0; /* Très fin */
    position: relative;
    z-index: 10001;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 35s linear infinite; /* Un peu plus lent pour le luxe */
}

.scrolling-text span {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.65rem; /* Texte plus petit et élégant */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-right: 80px; /* Plus d'espace pour la lisibilité */
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Optionnel : légère ombre sur le texte pour la lisibilité */
.scrolling-text span {
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

/* --- REORGANISATION POUR MOBILE --- */
@media (max-width: 900px) {
  .flagship-checkout-area {
    flex-direction: column; /* On empile le prix puis le bouton */
    gap: 1.5rem;
    text-align: center;
    padding-top: 1.5rem;
  }
  
  .price-container {
    text-align: center;
    align-items: center;
  }
  
  .flagship-checkout-area .btn {
    width: 100%; /* Le bouton prend toute la largeur pour faciliter le clic */
    justify-content: center;
  }
}

.flagship-price1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--primary);
  font-weight: 400;
  margin-left: 0px;
  line-height: 1;
  margin-bottom: -0.5rem;
}

.flagship-price2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--primary);
  font-weight: 400;
  margin-left: 75px;
  line-height: 1;
  margin-bottom: -0.5rem;
}

/* La Liste "Prochainement" */
.section-divider-title {
  text-align: center;
  margin: 6rem 0 3rem;
  position: relative;
}

.section-divider-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(212, 175, 55, 0.3); /* Ligne dorée horizontale */
  z-index: 1;
}

.section-divider-title span {
  background: var(--bg); /* Coupe la ligne derrière le texte */
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  font-family: 'Amiri', serif;
  font-size: 2rem;
  color: var(--text);
}

.elegant-list {
  max-width: 800px;
  margin: 0 auto;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(29, 65, 52, 0.08);
  transition: transform 0.3s ease;
}

.list-item:hover {
  transform: translateX(10px); /* Petit effet de glissement au survol */
}

.list-text h4 {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
  color: var(--primary);
}

.list-text p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.status-text {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* Adaptation Mobile */
@media (max-width: 900px) {
  .flagship-wrapper {
    flex-direction: column;
    padding: 1.5rem;
    gap: 2rem;
  }
  .flagship-image {
    height: 350px;
    width: 100%;
  }
  .flagship-info {
    text-align: center;
  }
  .flagship-purchase {
    flex-direction: column;
    gap: 1.5rem;
  }
  .list-item {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .list-item:hover {
    transform: none;
  }
}


.list-item-with-img {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(29, 65, 52, 0.08);
  gap: 2.5rem;
  transition: transform 0.3s ease;
}

.list-item-with-img:hover {
  transform: translateX(10px);
}

.item-thumbnail {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.list-item-with-img .list-text {
  flex: 1; /* Prend toute la place restante au milieu */
}

/* --- ADAPTATION MOBILE POUR LA LISTE --- */
@media (max-width: 900px) {
  .list-item-with-img {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
    padding: 2.5rem 0;
  }
  
  .item-thumbnail {
    width: 180px; /* Un peu plus grand sur mobile pour bien voir */
    height: 180px;
  }
  
  .list-item-with-img:hover {
    transform: none; /* Désactive l'effet de glissement sur téléphone */
  }
}

/* --- STYLE LUXE DU PANIER --- */

.luxury-cart-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(29, 65, 52, 0.1);
}

.cart-item-image {
  width: 90px;
  height: 90px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  flex-shrink: 0;
  background-color: #f9f9f9;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  font-family: 'Amiri', serif;
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
  color: var(--primary);
}

.unit-price {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid rgba(29, 65, 52, 0.2);
  border-radius: 50px;
  padding: 2px;
}

.qty-selector button {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-selector span {
  width: 30px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.remove-link {
  background: none;
  border: none;
  color: #c0392b;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-weight: 600;
}

.cart-item-total {
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  min-width: 80px;
  text-align: right;
}

/* Notification flottante */
.cart-notification {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--primary);
  color: var(--gold);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9999;
}

.cart-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile */
@media (max-width: 600px) {
  .luxury-cart-item {
    gap: 1rem;
  }
  .cart-item-image {
    width: 70px;
    height: 70px;
  }
  .cart-item-total {
    font-size: 1rem;
    min-width: 60px;
  }
  .cart-item-details h4 {
    font-size: 1rem;
  }
}

/* =========================================
   🛍️ PAGE PANIER : STYLE LUXE & ÉPURÉ
   ========================================= */

.minimal-cart-page {
  padding-bottom: 6rem;
  background-color: var(--bg);
}

.cart-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15); /* Ligne de séparation douce */
  margin-bottom: 4rem;
}

/* Grille Principale (Desktop) */
.cart-split-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* La colonne articles est légèrement plus large */
  gap: 5rem;
  align-items: start;
}

.column-title {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

/* --- BOÎTE DE FINALISATION (FORMULAIRE) --- */
.checkout-box {
  background: rgba(255, 255, 255, 0.5); /* Fond très légèrement blanc pour détacher du fond crème */
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.2); /* Fin contour doré */
  box-shadow: 0 10px 30px rgba(29, 65, 52, 0.03); /* Ombre très subtile */
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(29, 65, 52, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
}

.total-price {
  font-family: 'Amiri', serif;
  font-size: 2.4rem;
  color: var(--primary);
  font-weight: bold;
}

/* --- LE FORMULAIRE MINIMALISTE --- */
.whatsapp-form .form-group {
  margin-bottom: 1.8rem;
}

.whatsapp-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Champs de texte "sans bordure" */
.whatsapp-form input[type="text"],
.whatsapp-form input[type="tel"],
.whatsapp-form textarea {
  width: 100%;
  padding: 0.8rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(29, 65, 52, 0.2);
  font-family: 'Tajawal', sans-serif;
  font-size: 1.05rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s ease;
}

.whatsapp-form input:focus,
.whatsapp-form textarea:focus {
  border-bottom-color: var(--gold); /* Soulignement doré au clic */
}

/* Boutons Radio personnalisés */
.payment-methods {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(29, 65, 52, 0.03);
  border-radius: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.3s ease;
}

.radio-label:hover {
  color: var(--text);
}

.radio-label input[type="radio"] {
  accent-color: var(--gold); /* Couleur de la sélection */
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
}

.secure-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* --- PANIER VIDE --- */
.empty-cart-box {
  padding: 5rem 2rem;
  background: transparent;
  border: 1px dashed rgba(212, 175, 55, 0.5); /* Contour en pointillés dorés */
  border-radius: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.empty-icon {
  margin-bottom: 1.5rem;
  color: var(--gold);
}

/* --- ADAPTATION MOBILE DU PANIER --- */
@media (max-width: 900px) {
  .cart-split-layout {
    grid-template-columns: 1fr; /* On empile les colonnes */
    gap: 3rem;
  }
  .checkout-box {
    padding: 1.5rem;
  }
  .total-price {
    font-size: 2rem;
  }
}

/* =========================================
   ✨ PAGE PRODUIT PREMIUM & CARROUSEL
   ========================================= */

.premium-product-page {
  padding-top: 4rem;
  padding-bottom: 6rem;
  background-color: var(--bg);
}

.product-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* --- LE CARROUSEL D'IMAGES (RÉPARÉ) --- */
.carousel-container {
  position: relative;
  height: 600px;
  background: rgba(29, 65, 52, 0.03); /* Fond très léger pour faire ressortir le flacon */
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  
  /* LA RÉPARATION DE L'IMAGE EST ICI */
  background-size: contain !important; /* L'image s'affiche en entier */
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Badges et Boutons sur l'image */
.badge-promo-image {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  z-index: 5;
}

.zoom-btn {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s;
}

.zoom-btn:hover { background: var(--text); color: white; }

/* Flèches du Carrousel */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  width: 40px; height: 40px;
  display: flex; justify-content: center; align-items: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  font-size: 1.2rem;
  transition: all 0.3s;
}
.carousel-arrow.left { left: 1rem; }
.carousel-arrow.right { right: 1rem; }
.carousel-arrow:hover { background: var(--gold); color: white; }

/* Petits points (dots) */
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 5;
}
.dot {
  width: 10px; height: 10px;
  background: rgba(29, 65, 52, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* --- PANNEAU D'INFORMATION (DROITE) --- */
.product-breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-breadcrumbs a { color: var(--muted); text-decoration: none; }

.product-title-premium {
  font-family: 'Amiri', serif;
  font-size: 3rem;
  color: var(--text);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.price-premium {
  font-family: 'Amiri', serif;
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: bold;
  display: block;
  margin-bottom: 1.5rem;
}

.promo-alert {
  background: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
}
.promo-alert strong { color: var(--gold); display: block; margin-bottom: 0.3rem; }
.promo-alert p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.product-short-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.product-action-area { margin-bottom: 2.5rem; }

/* Badges de Réassurance */
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-top: 1px solid rgba(29, 65, 52, 0.1);
  padding-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.trust-icon { font-size: 1.5rem; }
.trust-item strong { display: block; color: var(--text); font-size: 0.95rem; }
.trust-item span { color: var(--muted); font-size: 0.85rem; }

/* --- SECTION DÉTAILS --- */
.product-details-premium { margin-top: 6rem; }
.details-header { margin-bottom: 4rem; }
.details-header h2 { font-family: 'Amiri', serif; font-size: 2.5rem; color: var(--text); margin-bottom: 1rem; }
.gold-divider { width: 60px; height: 2px; background: var(--gold); margin: 0 auto; }

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}
.detail-card h3 { font-family: 'Amiri', serif; font-size: 1.5rem; color: var(--primary); margin-bottom: 1rem; border-bottom: 1px solid rgba(212, 175, 55, 0.3); padding-bottom: 0.5rem; }
.detail-card p { color: var(--muted); line-height: 1.7; font-size: 0.95rem; }

/* --- MODAL ZOOM --- */
.zoom-modal {
  display: none; position: fixed; z-index: 9999;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center; align-items: center;
}
.zoom-modal-content {
  max-width: 90%; max-height: 90vh;
  border-radius: 12px;
  transform: scale(0.8); transition: transform 0.3s ease;
}
.close-zoom {
  position: absolute; top: 20px; right: 30px;
  color: white; font-size: 40px; font-weight: bold; cursor: pointer;
}

/* --- ADAPTATION MOBILE --- */
@media (max-width: 900px) {
  .product-split-grid { grid-template-columns: 1fr; gap: 2rem; }
  .carousel-container { height: 400px; }
  .product-title-premium { font-size: 2.2rem; }
  .details-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .detail-card h3 { margin: auto; max-width: max-content; }
}

/* =========================================
   🏷️ ZONE D'ACHAT (PRIX + BOUTON)
   ========================================= */

.product-checkout-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2); /* Belle ligne dorée de séparation */
  margin-bottom: 2.5rem;
}

.product-checkout-area .price-container {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.product-checkout-area .price-premium {
  margin-bottom: 0.2rem; /* Écrase l'ancien espacement */
}

.tax-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Tajawal', sans-serif;
}

.product-checkout-area .btn {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(29, 65, 52, 0.15); /* Légère ombre sous le bouton */
}

/* --- ADAPTATION MOBILE --- */
@media (max-width: 900px) {
  .product-checkout-area {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  /* 1. On force la hauteur du conteneur du carrousel */
  .carousel-container {
    width: 100% !important;
    height: 400px !important; /* Hauteur indispensable sur mobile */
    min-height: 400px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 15px !important;
    background-color: #f9f9f9 !important; /* Fond de secours */
  }

  /* 2. On force l'affichage des slides */
  .carousel-slide {
    width: 100% !important;
    height: 100% !important;
    background-size: contain !important; /* Pour voir tout le flacon sans le couper */
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: none; /* Cache par défaut */
  }

  /* 3. On affiche uniquement la slide active */
  .carousel-slide.active {
    display: block !important;
  }

  /* 4. On ajuste la taille des flèches pour le pouce */
  .carousel-arrow {
    padding: 15px !important;
    font-size: 20px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    color: var(--primary) !important;
  }

  /* 5. On replace les points (dots) pour qu'ils soient visibles */
  .carousel-dots {
    bottom: 15px !important;
  }

  .dot {
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px !important;
  }

  /* 6. On gère le badge promo et le bouton zoom */
  .badge-promo-image {
    font-size: 0.7rem !important;
    top: 10px !important;
    left: 10px !important;
  }

  .zoom-btn {
    bottom: 10px !important;
    right: 10px !important;
    font-size: 0.8rem !important;
    padding: 5px 10px !important;
  }
  
  .product-checkout-area .price-container {
    text-align: center;
  }
  
  .product-checkout-area .btn {
    width: 100%; /* Le bouton prend toute la largeur sur mobile */
    justify-content: center;
  }

  /* On force l'affichage de l'image du Spray (Editorial) */
  .editorial-image, 
  .product-showcase-image,
  .flagship-image {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: 350px !important; /* Force la hauteur pour qu'elle soit visible */
    min-height: 350px !important;
    
    /* On utilise 'contain' pour voir tout le flacon sans coupure */
    background-size: contain !important; 
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: rgba(29, 65, 52, 0.03) !important; /* Fond léger chic */
    
    margin-bottom: 2rem !important;
    border-radius: 15px !important;
  }

  /* Pour les images de la galerie (Dattes, Tapis...) */
  .gallery-image, 
  .item-thumbnail {
    display: block !important;
    width: 100% !important;
    height: 250px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }

  /* 1. La mise en page globale (on empile les articles et le formulaire) */
  .cart-split-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 3rem !important;
    padding: 1rem !important;
  }

  /* 2. Style de chaque article dans la liste */
  .luxury-cart-item {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid rgba(29, 65, 52, 0.1) !important;
  }

  .cart-item-image {
    width: 70px !important; /* Taille adaptée au mobile */
    height: 70px !important;
    border-radius: 10px !important;
    background-size: cover !important;
    background-position: center !important;
    flex-shrink: 0 !important;
  }

  .cart-item-details h4 {
    font-size: 1rem !important;
    margin-bottom: 0.3rem !important;
    font-family: 'Amiri', serif !important;
  }

  .cart-item-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
  }

  /* Le sélecteur de quantité (+ / -) */
  .qty-selector {
    display: flex !important;
    border: 1px solid rgba(29, 65, 52, 0.2) !important;
    border-radius: 50px !important;
    padding: 2px !important;
  }

  .qty-selector button {
    width: 25px !important;
    height: 25px !important;
    font-size: 0.9rem !important;
  }

  /* 3. La boîte de finalisation (Total + Formulaire) */
  .checkout-box {
    width: 100% !important;
    padding: 1.5rem !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
  }

  .total-price {
    font-size: 2rem !important; /* Prix bien visible */
    font-family: 'Amiri', serif !important;
    color: var(--primary) !important;
  }

  /* Le bouton WhatsApp en plein écran */
  #send-order {
    width: 100% !important;
    justify-content: center !important;
    padding: 1.2rem !important;
    font-size: 1rem !important;
  }

  /* Les champs du formulaire */
  .whatsapp-form input, 
  .whatsapp-form textarea {
    font-size: 1rem !important;
    padding: 0.8rem 0 !important;
  }
  .cart-notification {
    /* On la centre horizontalement */
    left: 50% !important;
    right: auto !important;
    bottom: 30px !important;
    transform: translateX(-50%) translateY(100px) !important; /* Cachée au début */
    
    /* Style de la bulle */
    width: 90% !important; /* Presque toute la largeur */
    max-width: 350px !important;
    background: var(--primary) !important; /* Ton vert émeraude */
    color: var(--gold) !important; /* Texte doré */
    padding: 1rem !important;
    border-radius: 12px !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    
    z-index: 9999 !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  }

  /* Quand elle s'affiche */
  .cart-notification.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
  }

  /* 1. On empile les colonnes (Articles en haut, Formulaire en bas) */
  .cart-split-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 0 5px !important; /* On gagne de la place sur les côtés */
  }

  /* 2. Ajustement des titres de colonnes */
  .column-title {
    font-size: 1.2rem !important;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 10px !important;
    margin-bottom: 1.5rem !important;
    text-align: center;
  }

  /* 3. Style des articles dans le panier pour qu'ils ne débordent pas */
  .luxury-cart-item {
    display: grid !important;
    grid-template-columns: 80px 1fr !important; /* Image à gauche, texte à droite */
    gap: 15px !important;
    align-items: center !important;
    background: #fff;
    padding: 15px !important;
    border-radius: 12px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .cart-item-image {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
  }

  .cart-item-details h4 {
    font-size: 0.95rem !important;
    margin: 0 0 5px 0 !important;
    line-height: 1.2 !important;
    color: var(--primary);
  }

  /* 4. On règle le problème du texte invisible dans le formulaire */
  .checkout-box {
    width: 100% !important;
    padding: 20px 15px !important;
    margin: 0 !important;
    background: #fff !important;
    border-radius: 15px !important;
  }

  .form-group label {
    font-size: 0.85rem !important;
    margin-bottom: 5px !important;
    display: block !important;
    color: var(--primary);
    font-weight: 600;
  }

  .whatsapp-form input, 
  .whatsapp-form textarea {
    width: 100% !important;
    padding: 12px !important;
    font-size: 1rem !important; /* Évite le zoom auto sur iPhone */
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
  }

  /* 5. Ajustement des boutons Radio (Livraison) */
  .radio-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 0.8rem !important; /* Plus petit pour que ça tienne sur une ligne */
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
    cursor: pointer;
  }

  .radio-label input {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  /* 6. Le bouton WhatsApp et la note de sécurité */
  #send-order {
    font-size: 0.9rem !important;
    padding: 15px !important;
    white-space: normal !important; /* Permet au texte du bouton de revenir à la ligne */
    height: auto !important;
  }

  .secure-note {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    margin-top: 10px !important;
    color: var(--muted) !important;
  }

  .total-price {
    font-size: 1.5rem !important;
  }

  /* 1. On donne un ordre au conteneur principal (souvent <main>) */
  main {
    display: flex !important;
    flex-direction: column !important;
  }

  /* 2. On place le Showcase en premier */
  .product-showcase {
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important; /* Image au-dessus du texte */
    padding-top: 20px !important;
  }

  /* On s'assure que l'image du showcase est bien tout en haut */
  .product-showcase-image {
    order: 1 !important; 
    margin-bottom: 20px !important;
  }

  .product-showcase-copy {
    order: 2 !important;
  }

  /* 3. On place la liste des produits (Grid) en dessous */
  .products-section, .products-grid-container {
    order: 2 !important;
    margin-top: 40px !important;
  }

  /* On s'assure que la grille de produits est bien en colonne */
  .products-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
  }

  .product-card {
    width: 90% !important;
    max-width: 340px !important;
  }

  /* 1. On inverse l'ordre pour mettre l'image au-dessus */
  .product-showcase {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* 2. On cible le lien qui contient l'image */
  .product-showcase-image-link {
    order: -1 !important; /* Force l'image à passer tout en haut */
    display: block !important;
    width: 100% !important;
    height: 350px !important; /* Hauteur pour ton écran 890px */
    text-decoration: none !important;
  }

  /* 3. On cible la div interne de l'image */
  .product-showcase-image {
    width: 100% !important;
    height: 100% !important; /* Prend toute la place du lien parent */
    display: block !important;
    background-size: contain !important; /* Pour voir tout le flacon */
    background-repeat: no-repeat !important;
    background-position: center !important;
    
    /* Petit fond pour le style */
    background-color: rgba(29, 65, 52, 0.03) !important;
    border-radius: 15px !important;
  }

  /* 4. On ajuste le texte en dessous */
  .product-showcase-copy {
    order: 2 !important;
    text-align: center !important;
    padding: 0 10px !important;
  }

  .product-showcase-copy h3 {
    font-size: 1.5rem !important;
    margin-top: 10px !important;
  }

  /* 1. On libère les marges du conteneur principal */
  .apropos-container, .about-section {
    padding: 2rem 1.5rem !important; /* On donne de l'air sur les côtés */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 2. Si tu as une mise en page avec image + texte côte à côte */
  .about-grid, .about-layout {
    display: flex !important;
    flex-direction: column !important; /* On empile tout */
    gap: 2rem !important;
  }

  /* 3. On ajuste la taille du texte pour qu'il ne déborde pas */
  .about-content h2, .about-content h1 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    word-wrap: break-word !important; /* Force le texte à revenir à la ligne */
  }

  .about-content p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    text-align: justify !important; /* Plus propre pour la lecture */
    margin-bottom: 1.2rem !important;
  }

  /* 4. Si tu as une image d'illustration */
  .about-image {
    width: 100% !important;
    height: 250px !important;
    border-radius: 15px !important;
    object-fit: cover !important;
    margin-bottom: 1rem !important;
  }

  /* 5. On règle le problème du texte qui "sort" de l'écran */
  body, html {
    overflow-x: hidden !important; /* Empêche le défilement horizontal bizarre */
  }

  
}




@media (max-width: 400px) {

  /* 1. On force la hauteur du conteneur du carrousel */
  .carousel-container {
    width: 100% !important;
    height: 400px !important; /* Hauteur indispensable sur mobile */
    min-height: 400px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 15px !important;
    background-color: #f9f9f9 !important; /* Fond de secours */
  }

  /* 2. On force l'affichage des slides */
  .carousel-slide {
    width: 100% !important;
    height: 100% !important;
    background-size: contain !important; /* Pour voir tout le flacon sans le couper */
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: none; /* Cache par défaut */
  }

  /* 3. On affiche uniquement la slide active */
  .carousel-slide.active {
    display: block !important;
  }

  /* 4. On ajuste la taille des flèches pour le pouce */
  .carousel-arrow {
    padding: 15px !important;
    font-size: 20px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    color: var(--primary) !important;
  }

  /* 5. On replace les points (dots) pour qu'ils soient visibles */
  .carousel-dots {
    bottom: 15px !important;
  }

  .dot {
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px !important;
  }

  /* 6. On gère le badge promo et le bouton zoom */
  .badge-promo-image {
    font-size: 0.7rem !important;
    top: 10px !important;
    left: 10px !important;
  }

  .zoom-btn {
    display: block !important;
    position: absolute !important;
    bottom: 15px !important; /* On le place en bas */
    top: auto !important;    /* On annule le placement en haut */
    right: 15px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--primary) !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 50px !important;
    z-index: 20 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    border: 1px solid var(--gold) !important;
  }

  /* 1. On empêche l'écran de bouger de gauche à droite */
  html, body {
    overflow-x: hidden !important;
    position: relative;
  }

  /* 2. On ajuste le Header pour que tout rentre sur 390px */
  .header-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    padding: 0 12px !important;
    min-height: 60px !important;
  }

  /* Logo réduit et placé à gauche */
  .logo {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
  }

  /* Menu centré avec texte réduit pour laisser de la place */
  .main-nav {
    display: flex !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    max-width: 55% !important;
    margin: 0 auto !important;
  }

  .main-nav a:not(.cart-icon) {
    font-size: 0.65rem !important; /* Taille idéale pour 390px */
    letter-spacing: 0 !important;
    padding: 0.2rem 0 !important;
    white-space: nowrap !important;
  }

  .cart-icon {
    position: absolute !important;
    right: 5px !important; /* Réduit de 12px à 5px pour coller au bord */
    top: 55% !important; 
    transform: translateY(-50%) !important;
    
    min-width: 40px !important;
    height: 34px !important;
    padding: 0 5px !important;
    z-index: 100 !important;
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 1px solid var(--gold) !important;
    border-radius: 50px !important;
  }

  /* On réduit l'icône sac pour ton écran */
  .cart-icon svg {
    width: 15px !important;
    height: 15px !important;
  }

  /* 4. On s'assure que les images sont entières sur cet écran */
  .carousel-container, .main-image, .editorial-image, .product-showcase-image {
    height: 320px !important;
    min-height: 320px !important;
    background-size: contain !important;
    background-color: rgba(29, 65, 52, 0.03) !important;
  }

  /* 1. SECTION PRODUCT (La grille de produits) */
  .products-grid, .product-split-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 1rem !important;
  }

  .product-card {
    width: 100% !important;
    margin: 0 auto !important;
    max-width: 320px !important; /* On centre la carte sur l'écran */
  }

  /* 2. SECTION PRODUCT SHOWCASE (Le focus produit) */
  .product-showcase {
    display: flex !important;
    flex-direction: column !important; /* On empile l'image et le texte */
    text-align: center !important;
    padding: 2rem 1rem !important;
  }

  .product-showcase-image {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    background-size: contain !important; /* Pour voir tout le produit */
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin-bottom: 1.5rem !important;
  }

  .product-showcase-copy {
    width: 100% !important;
    padding: 0 !important;
  }

  .product-showcase-copy h2 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }

  /* 3. SECTION EDITORIAL / FLAGSHIP (Le gros bloc image/texte) */
  .flagship-wrapper, .editorial-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .flagship-image, .editorial-image {
    width: 100% !important;
    height: 320px !important;
    order: 1 !important; /* L'image passe en premier */
  }

  .flagship-info, .editorial-copy {
    width: 100% !important;
    padding: 2rem 1.5rem !important;
    order: 2 !important; /* Le texte passe en dessous */
    text-align: center !important;
  }

  /* 4. AJUSTEMENT DES BOUTONS ET PRIX */
  .product-checkout-area {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
  }

  .price-premium {
    font-size: 2rem !important;
    margin-bottom: 0.5rem !important;
  }

  .btn {
    width: 100% !important; /* Bouton pleine largeur pour le pouce */
    max-width: 280px !important;
  }

  .product-showcase-image {
    /* 1. On rend le bloc visible */
    display: block !important;
    visibility: visible !important;
    
    /* 2. On lui donne une taille réelle (indispensable) */
    width: 100% !important;
    height: 350px !important; /* Ajuste selon tes goûts entre 300 et 400px */
    min-height: 350px !important;

    /* 3. On cale l'image correctement */
    background-size: contain !important; /* L'image sera entière, pas coupée */
    background-repeat: no-repeat !important;
    background-position: center !important;
    
    /* 4. On ajoute un petit fond pour vérifier si le bloc est là */
    background-color: rgba(29, 65, 52, 0.03) !important; 
    
    /* 5. On s'assure qu'elle est bien en haut */
    order: -1 !important; 
    margin-bottom: 25px !important;
  }

  /* 1. On inverse l'ordre pour mettre l'image au-dessus */
  .product-showcase {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* 2. On cible le lien qui contient l'image */
  .product-showcase-image-link {
    order: -1 !important; /* Force l'image à passer tout en haut */
    display: block !important;
    width: 100% !important;
    height: 350px !important; /* Hauteur pour ton écran 890px */
    text-decoration: none !important;
  }

  /* 3. On cible la div interne de l'image */
  .product-showcase-image {
    width: 100% !important;
    height: 100% !important; /* Prend toute la place du lien parent */
    display: block !important;
    background-size: contain !important; /* Pour voir tout le flacon */
    background-repeat: no-repeat !important;
    background-position: center !important;
    
    /* Petit fond pour le style */
    background-color: rgba(29, 65, 52, 0.03) !important;
    border-radius: 15px !important;
  }

  /* 4. On ajuste le texte en dessous */
  .product-showcase-copy {
    order: 2 !important;
    text-align: center !important;
    padding: 0 10px !important;
  }

  .product-showcase-copy h3 {
    font-size: 1.5rem !important;
    margin-top: 10px !important;
  }
  
}

/* =========================================
   🛒 BOUTON PANIER FLOTTANT
   ========================================= */

.floating-cart {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary, #1d4134); /* Ton vert médinois */
  color: white;
  display: flex !important; /* Caché par défaut */
  align-items: center;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid var(--gold, #c5a059);
}

.floating-cart:active {
  transform: scale(0.95);
}

.floating-cart-icon {
  position: relative;
  margin-right: 12px;
  display: flex;
  align-items: center;
}

.floating-cart-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold, #c5a059);
}

.floating-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gold, #c5a059);
  color: var(--primary, #1d4134);
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
}

.floating-cart-text {
  font-family: 'Tajawal', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Animation d'apparition */
@keyframes slideInUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.floating-cart.show {
  display: flex;
  animation: slideInUp 0.4s ease forwards;
}

@media (max-width: 450px) {

  /* Force l'affichage du bloc carrousel */
  .product-gallery, 
  .carousel-container {
    display: block !important;
    height: 350px !important; /* Hauteur fixe pour mobile */
    min-height: 350px !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: #f9f9f9 !important;
  }

  .close-zoom {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
  font-size: 45px; /* Plus grand pour mobile */
  line-height: 1;
  cursor: pointer;
  z-index: 100001 !important; /* Supérieur au modal pour être cliquable */
  padding: 20px; /* Zone de clic agrandie sans changer la taille du texte */
  background: rgba(0, 0, 0, 0.2); /* Petit fond pour mieux le voir */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

/* Astuce : permettre de fermer en cliquant n'importe où sur le fond noir */
.zoom-modal {
  cursor: zoom-out;
}

  /* Force l'affichage des images du carrousel */
  .carousel-slide {
    width: 100% !important;
    height: 100% !important;
    background-size: contain !important; /* Pour voir tout le flacon */
    background-repeat: no-repeat !important;
    background-position: center !important;
    position: absolute !important;
    top: 0;
    left: 0;
    opacity: 0;
    display: none; /* On cache tout par défaut */
  }

  /* Affiche UNIQUEMENT la slide active */
  .carousel-slide.active {
    display: block !important;
    opacity: 1 !important;
    z-index: 5;
  }

  /* Règle le problème des flèches invisibles ou trop grandes */
  .carousel-arrow {
    width: 35px !important;
    height: 35px !important;
    font-size: 16px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    z-index: 10 !important;
  }

  /* Règle les points (dots) qui disparaissent */
  .carousel-dots {
    bottom: 10px !important;
    z-index: 10 !important;
    gap: 6px !important;
  }

  .dot {
    width: 8px !important;
    height: 8px !important;
  }

  /* Correction de la grille produit pour éviter le chevauchement */
  .product-split-grid {
    display: flex !important;
    flex-direction: column !important;
    padding: 1rem !important;
    gap: 1.5rem !important;
  }

  .product-info-panel {
    width: 100% !important;
    text-align: center;
  }

  .product-title-premium {
    font-size: 1.8rem !important;
  }
}

/* --- NOUVEAU STYLE BOUTONS SHOWCASE --- */
.product-actions-showcase {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}

.btn-showcase {
    flex: 1;
    padding: 14px 10px;
    font-weight: 700;
    font-size: 13px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
}

/* Bouton ACHETER (Bordure Or, Fond Blanc) */
.btn-buy-luxury {
    background-color: #ffffff;
    color: var(--gold);
    border: 2px solid var(--gold);
    font-size: 17px;
}

.btn-buy-luxury:hover {
    background-color: var(--gold);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Bouton AJOUTER (Fond Or, Texte Blanc) */
.btn-add-luxury {
    background-color: var(--gold);
    color: #ffffff;
    border: 2px solid var(--gold);
}

.btn-add-luxury:hover {
    background-color: #ffffff;
    color: var(--gold);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

/* Correction mobile pour les boutons côte à côte */
@media (max-width: 480px) {
    .product-actions-showcase {
        flex-direction: column; /* On les empile sur très petits écrans si le texte est trop long */
        gap: 10px;
    }
}