﻿/* ===== BOUTIQUE.PHP - CSS UNIFIÉ =====
   Fusion de: boutique.css + boutique-mobile-fix.css
   Date: 30 novembre 2025
=================================== */

/* ===== PARTIE 1 : boutique.css ===== */
/* ===================================
   BOUTIQUE SACRÃ‰E - STYLE MODERNE & PROFESSIONNEL
   Version 2.0 - 30 Novembre 2025
   =================================== */

/* Variables CSS pour la boutique */
:root {
  /* Palette Or SacrÃ© */
  --boutique-gold: #d4af37;
  --boutique-gold-dark: #b8941f;
  --boutique-gold-light: #e6c965;
  --boutique-gold-glow: rgba(212, 175, 55, 0.4);
  
  /* Palette Principale */
  --boutique-primary: #667eea;
  --boutique-primary-dark: #5568d3;
  --boutique-secondary: #f59e0b;
  
  /* Neutres */
  --boutique-dark: #1e293b;
  --boutique-gray: #64748b;
  --boutique-light-gray: #f1f5f9;
  --boutique-white: #ffffff;
  
  /* Ombres */
  --boutique-shadow: rgba(0, 0, 0, 0.08);
  --boutique-shadow-hover: rgba(0, 0, 0, 0.15);
  --boutique-shadow-strong: rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --boutique-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --boutique-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESET ET BASE
   =================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--boutique-gold);
  color: white;
}

::-moz-selection {
  background: var(--boutique-gold);
  color: white;
}

/* Container responsive global */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   HERO SECTION - DESIGN SACRÃ‰
   =================================== */

.hero-boutique {
  position: relative;
  height: 80vh;
  min-height: 600px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #1e293b 0%,
    #334155 50%,
    var(--boutique-gold-dark) 100%
  );
}

.hero-boutique .carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-boutique .carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-boutique .carousel-slide.active {
  opacity: 1;
}

.hero-boutique .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) saturate(1.1);
  transition: var(--boutique-transition-slow);
}

.hero-boutique .carousel-slide.active img {
  transform: scale(1.05);
}

.hero-boutique::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 41, 59, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(212, 175, 55, 0.3) 100%
  );
  z-index: 2;
}

.hero-overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  width: 100%;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5),
               0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  animation: fadeInUp 1s ease backwards;
}

.hero-content .text-gold {
  background: linear-gradient(135deg, var(--boutique-gold-light) 0%, var(--boutique-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.5));
  display: inline-block;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.5)); }
  50% { filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.8)); }
}

.hero-content .text-white {
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-btn {
  background: linear-gradient(
    135deg,
    var(--boutique-gold) 0%,
    var(--boutique-gold-dark) 100%
  );
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--boutique-transition);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4),
              0 4px 12px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5),
              0 6px 16px rgba(0, 0, 0, 0.3);
  background: linear-gradient(
    135deg,
    var(--boutique-gold-light) 0%,
    var(--boutique-gold) 100%
  );
}

.cta-btn:active {
  transform: translateY(-2px);
}

/* ===================================
   CAROUSEL INDICATORS - STYLE MODERNE
   =================================== */

.carousel-indicators {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 4;
  padding: 12px 20px;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  animation: slideInUp 1s ease 0.8s backwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: var(--boutique-transition);
  min-height: 12px;
  position: relative;
}

.indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--boutique-gold);
  transition: var(--boutique-transition);
}

.indicator.active::after {
  width: 100%;
  height: 100%;
}

.indicator.active,
.indicator:hover {
  border-color: var(--boutique-gold);
  transform: scale(1.3);
  box-shadow: 0 0 12px var(--boutique-gold-glow);
}

.indicator:hover::after {
  width: 80%;
  height: 80%;
}

/* ===================================
   CATEGORIES SECTION - STYLE Ã‰LÃ‰GANT
   =================================== */

.categories-section {
  padding: 5rem 0 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.categories-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--boutique-gold) 50%, 
    transparent 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--boutique-dark);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--boutique-gold) 0%, 
    var(--boutique-gold-light) 100%);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--boutique-gray);
  max-width: 650px;
  margin: 1.5rem auto 0;
  line-height: 1.7;
  font-weight: 400;
}

.categories-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  justify-content: center;
  padding: 0 20px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--boutique-transition);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--boutique-dark);
  box-shadow: 0 4px 12px var(--boutique-shadow);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 52px;
  position: relative;
  overflow: hidden;
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--boutique-gold) 0%,
    var(--boutique-gold-dark) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-btn i {
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.category-btn span {
  position: relative;
  z-index: 1;
}

.category-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--boutique-shadow-hover);
  border-color: var(--boutique-gold);
}

.category-btn:hover i {
  transform: scale(1.1) rotate(5deg);
}

.category-btn.active {
  background: linear-gradient(
    135deg,
    var(--boutique-gold) 0%,
    var(--boutique-gold-dark) 100%
  );
  color: white;
  border-color: var(--boutique-gold);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4),
              0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.category-btn.active i {
  animation: bounceIcon 0.6s ease;
}

@keyframes bounceIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* ===================================
   SEARCH SECTION - STYLE MODERNE
   =================================== */

.search-section {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.search-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(212, 175, 55, 0.3) 50%, 
    transparent 100%);
}

.search-wrapper {
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.6s ease;
}

.search-box {
  position: relative;
  max-width: 550px;
  width: 100%;
}

.search-box i {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--boutique-gold);
  z-index: 2;
  font-size: 1.1rem;
  transition: var(--boutique-transition);
}

.search-box input {
  width: 100%;
  padding: 18px 70px 18px 60px;
  border: 2px solid #cbd5e1;
  border-radius: 50px;
  outline: none;
  font-size: 1rem;
  transition: var(--boutique-transition);
  background: white;
  box-shadow: 0 4px 16px var(--boutique-shadow);
  font-size: 16px; /* Ã‰vite le zoom sur iOS */
  font-weight: 500;
  color: var(--boutique-dark);
}

.search-box input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.search-box input:focus {
  border-color: var(--boutique-gold);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3),
              0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.search-box input:focus + .clear-btn + i {
  color: var(--boutique-gold-dark);
  transform: translateY(-50%) scale(1.1);
}

.clear-btn {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--boutique-light-gray);
  border: 2px solid #e2e8f0;
  color: var(--boutique-gray);
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  border-radius: 50%;
  transition: var(--boutique-transition);
  display: none;
  min-height: 32px;
  min-width: 32px;
  width: 32px;
  height: 32px;
}

.clear-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
  transform: translateY(-50%) rotate(90deg) scale(1.1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.clear-btn:active {
  transform: translateY(-50%) rotate(90deg) scale(0.95);
}

.clear-btn.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
  0% {
    transform: translateY(-50%) scale(0);
    opacity: 0;
  }
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}

/* Products Section */
.products-section {
  padding: 3rem 0;
  background: var(--boutique-white);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.products-header h2 {
  font-size: 2.2rem;
  color: var(--boutique-dark);
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

.products-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--boutique-gold) 0%, 
    var(--boutique-gold-light) 100%);
  border-radius: 2px;
}

.products-count {
  background: linear-gradient(135deg, 
    var(--boutique-light-gray) 0%, 
    #e2e8f0 100%);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--boutique-dark);
  font-weight: 700;
  border: 2px solid #cbd5e1;
  box-shadow: 0 4px 12px var(--boutique-shadow);
  transition: var(--boutique-transition);
}

.products-count:hover {
  background: linear-gradient(135deg, 
    var(--boutique-gold) 0%, 
    var(--boutique-gold-dark) 100%);
  color: white;
  border-color: var(--boutique-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 3rem;
}

/* Animation d'apparition sÃ©quentielle des produits */
.product-card {
  animation: fadeInScale 0.6s ease backwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===================================
   PRODUCT CARDS - DESIGN PREMIUM
   =================================== */

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--boutique-shadow);
  transition: var(--boutique-transition);
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.05) 0%,
    rgba(212, 175, 55, 0.15) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--boutique-gold) 0%, 
    var(--boutique-gold-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 48px var(--boutique-shadow-hover),
              0 0 0 1px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.2);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  transition: var(--boutique-transition-slow);
  position: relative;
}

.product-card:hover .product-image {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.product-info {
  padding: 24px;
  position: relative;
  z-index: 2;
  background: white;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--boutique-dark);
  line-height: 1.4;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card:hover .product-title {
  color: var(--boutique-gold-dark);
}

.product-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(
    135deg,
    var(--boutique-gold) 0%,
    var(--boutique-gold-dark) 100%
  );
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  transition: var(--boutique-transition);
}

.product-card:hover .product-category {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.product-category i {
  font-size: 0.9rem;
}

/* ===================================
   LOADING & ERROR STATES
   =================================== */

.loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  color: var(--boutique-gray);
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.loading p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 1.5rem;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--boutique-light-gray);
  border-top: 5px solid var(--boutique-gold);
  border-right: 5px solid var(--boutique-gold-light);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.error-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: #dc3545;
}

.retry-btn {
  background: linear-gradient(135deg, 
    var(--boutique-gold) 0%, 
    var(--boutique-gold-dark) 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--boutique-transition);
  min-height: 50px;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.retry-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.retry-btn:hover::before {
  width: 300px;
  height: 300px;
}

.retry-btn:hover {
  background: linear-gradient(135deg, 
    var(--boutique-gold-light) 0%, 
    var(--boutique-gold) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.4);
}

.retry-btn:active {
  transform: translateY(-1px);
}

/* About Boutique Section */
.about-boutique-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--boutique-dark);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--boutique-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 20px var(--boutique-shadow);
  transition: var(--boutique-transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, 
    var(--boutique-gold) 0%, 
    var(--boutique-gold-light) 100%);
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

.feature:hover::before {
  transform: scaleY(1);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px var(--boutique-shadow-hover);
  border-color: rgba(212, 175, 55, 0.2);
}

.feature i {
  font-size: 2rem;
  background: linear-gradient(135deg, 
    var(--boutique-gold) 0%, 
    var(--boutique-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 5px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.feature:hover i {
  transform: scale(1.15) rotate(5deg);
}

.feature h3 {
  font-size: 1.15rem;
  color: var(--boutique-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.feature p {
  font-size: 0.95rem;
  color: var(--boutique-gray);
  margin: 0;
  line-height: 1.6;
}

/* About Carousel */
.about-carousel {
  position: relative;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--boutique-shadow);
}

.about-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.about-slide.active {
  opacity: 1;
}

.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.about-indicator {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  max-width: 12px;
  max-height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: var(--boutique-transition);
  padding: 0;
  flex-shrink: 0;
}

.about-indicator.active,
.about-indicator:hover {
  background-color: var(--boutique-gold);
  border-color: var(--boutique-gold);
  transform: scale(1.2);
}

/* ===================================
   MODAL - DESIGN PREMIUM
   =================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: white;
  margin: 2rem;
  padding: 0;
  border-radius: 24px;
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(212, 175, 55, 0.1);
}

.modal.show .modal-content {
  transform: scale(1) translateY(0);
}

/* Scrollbar personnalisÃ©e pour la modal */
.modal-content::-webkit-scrollbar {
  width: 10px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 0 24px 24px 0;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--boutique-gold);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--boutique-gold-dark);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  z-index: 10;
  transition: var(--boutique-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: #ef4444;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.modal-close:active {
  transform: rotate(90deg) scale(0.95);
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-btn {
  background: white;
  border: 2px solid #e2e8f0;
  color: var(--boutique-dark);
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--boutique-transition);
  min-height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 4px 12px var(--boutique-shadow);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--boutique-gold);
  background: linear-gradient(135deg, 
    var(--boutique-gold) 0%, 
    var(--boutique-gold-dark) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

.page-btn:active:not(:disabled) {
  transform: translateY(0);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f1f5f9;
}

.page-numbers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-number {
  background: white;
  border: 2px solid #e2e8f0;
  color: var(--boutique-dark);
  padding: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--boutique-transition);
  min-width: 48px;
  min-height: 48px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--boutique-shadow);
  position: relative;
}

.page-number:hover,
.page-number.active {
  border-color: var(--boutique-gold);
  background: linear-gradient(135deg, 
    var(--boutique-gold) 0%, 
    var(--boutique-gold-dark) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

.page-number.active {
  pointer-events: none;
}

.page-number.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--boutique-gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1.3);
  }
}

/* ========================================================================== */
/* RESPONSIVE DESIGN - Points de rupture */
/* ========================================================================== */

/* Extra Large Screens (1400px et +) */
@media (min-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
  }
}

/* Large Screens (1200px - 1399px) */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
    padding: 0 20px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
}

/* Desktop (992px - 1199px) */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
    padding: 0 15px;
  }
  
  .hero-boutique {
    height: 70vh;
    min-height: 550px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-carousel {
    height: 400px;
    order: -1;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
  
  .categories-wrapper {
    justify-content: flex-start;
    padding: 0 15px 15px;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 15px;
  }
  
  .hero-boutique {
    height: 60vh;
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1.1rem;
    padding: 0 20px;
    margin-bottom: 1.5rem;
  }
  
  .cta-btn {
    padding: 12px 25px;
    font-size: 1rem;
    min-height: 48px;
  }

  .category-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
    min-height: 44px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .product-image {
    height: 180px;
  }
  
  .product-info {
    padding: 18px;
  }

  .search-box {
    max-width: 100%;
  }
  
  .search-box input {
    padding: 12px 50px 12px 45px;
    font-size: 0.95rem;
  }

  .section-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  
  .section-header p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .about-text h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .about-text p {
    font-size: 1rem;
    text-align: center;
  }
  
  .about-features {
    gap: 1.2rem;
  }
  
  .feature {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }
  
  .feature i {
    font-size: 2rem;
    margin: 0 0 10px 0;
  }
  
  .carousel-indicators {
    bottom: 20px;
    gap: 8px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    max-width: 10px;
    max-height: 10px;
    padding: 0;
    flex-shrink: 0;
  }

  /* Cache la scrollbar sur tablette tout en gardant le scroll */
  .categories-wrapper {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .categories-wrapper::-webkit-scrollbar {
    display: none;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }
  
  .hero-boutique {
    height: 50vh;
    min-height: 450px;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    padding: 0 15px;
    margin-bottom: 1.2rem;
  }
  
  .cta-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: 25px;
    min-height: 44px;
    max-width: 280px;
    margin: 0 auto;
    display: inline-block;
  }

  .categories-section {
    padding: 2rem 0 1rem;
  }
  
  .categories-wrapper {
    padding: 0 10px 15px;
    gap: 10px;
  }
  
  .category-btn {
    padding: 8px 15px;
    font-size: 0.85rem;
    border-radius: 20px;
    min-height: 40px;
    max-width: 150px;
    flex-shrink: 0;
  }
  
  .category-btn i {
    font-size: 0.9rem;
    flex-shrink: 0;
  }
  
  .category-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .search-section {
    padding: 1.5rem 0;
  }
  
  .search-box {
    max-width: 100%;
  }
  
  .search-box input {
    padding: 10px 45px 10px 40px;
    font-size: 0.9rem;
    border-radius: 25px;
  }
  
  .search-box i {
    left: 15px;
    font-size: 0.9rem;
  }
  
  .clear-btn {
    right: 15px;
    font-size: 1rem;
  }

  .products-section {
    padding: 2rem 0;
  }
  
  .products-header {
    margin-bottom: 2rem;
    gap: 0.8rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .products-header h2 {
    font-size: 1.6rem;
    width: 100%;
  }
  
  .products-count {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 15px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-card {
    border-radius: 12px;
  }
  
  .product-image {
    height: 160px;
  }

  .product-info {
    padding: 12px;
  }

  .product-title {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  
  .product-category {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 10px;
  }

  .about-boutique-section {
    padding: 3rem 0;
  }
  
  .about-content {
    gap: 2rem;
  }
  
  .about-text {
    text-align: center;
  }
  
  .about-text h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .about-text p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
  }
  
  .about-carousel {
    height: 300px;
    border-radius: 12px;
  }

  .about-features {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .feature {
    padding: 15px;
    border-radius: 10px;
    flex-direction: row;
    text-align: left;
    gap: 12px;
  }
  
  .feature i {
    font-size: 1.3rem;
    margin-top: 0;
    flex-shrink: 0;
  }
  
  .feature h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  
  .feature p {
    font-size: 0.85rem;
  }

  .modal-content {
    margin: 1rem;
    border-radius: 12px;
    max-height: 85vh;
  }
  
  .modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .pagination {
    gap: 5px;
  }
  
  .page-btn,
  .page-number {
    padding: 8px 12px;
    font-size: 0.9rem;
    min-width: 35px;
    min-height: 40px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
}

/* Mobile Small (360px - 575px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }
  
  .hero-content p {
    font-size: 0.95rem;
    padding: 0 10px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .product-image {
    height: 200px;
  }
  
  .category-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    min-height: 36px;
    max-width: 130px;
    gap: 6px;
  }
  
  .category-btn i {
    font-size: 0.85rem;
  }
  
  .about-carousel {
    height: 250px;
  }
  
  .feature {
    flex-direction: column;
    text-align: center;
    padding: 12px;
  }
  
  .feature i {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
}

/* TrÃ¨s petits Ã©crans (320px - 359px) */
@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .product-image {
    height: 180px;
  }
  
  .product-info {
    padding: 10px;
  }
  
  .product-title {
    font-size: 0.9rem;
  }
  
  .category-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
    min-height: 34px;
    max-width: 120px;
    gap: 5px;
  }
  
  .category-btn i {
    font-size: 0.8rem;
  }
  
  .about-carousel {
    height: 200px;
  }
}

/* ========================================================================== */
/* OPTIMISATIONS SPÃ‰CIALES */
/* ========================================================================== */

/* Optimisations pour les appareils tactiles */
@media (hover: none) and (pointer: coarse) {
  .category-btn,
  .product-card,
  .cta-btn,
  .indicator,
  .about-indicator,
  .page-btn,
  .page-number {
    min-height: 44px;
    touch-action: manipulation;
  }
  
  .category-btn {
    padding: 12px 20px;
  }
  
  .product-card:hover {
    transform: none;
  }
  
  .product-card:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }
  
  .cta-btn:hover {
    transform: none;
  }
  
  .cta-btn:active {
    transform: scale(0.95);
  }
}

/* AmÃ©lioration du scroll horizontal avec snap */
@media (max-width: 768px) {
  .categories-wrapper {
    scroll-snap-type: x mandatory;
  }
  
  .category-btn {
    scroll-snap-align: start;
  }
}

/* Animation pour les Ã©lÃ©ments qui apparaissent */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Classes utilitaires responsive */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

@media (max-width: 768px) {
  .d-md-none { display: none; }
  .d-md-block { display: block; }
  .d-md-flex { display: flex; }
  .d-md-inline { display: inline; }
  .d-md-inline-block { display: inline-block; }
}

@media (max-width: 576px) {
  .d-sm-none { display: none; }
  .d-sm-block { display: block; }
  .d-sm-flex { display: flex; }
  .d-sm-inline { display: inline; }
  .d-sm-inline-block { display: inline-block; }
  
  .text-sm-center { text-align: center; }
  .text-sm-left { text-align: left; }
  .text-sm-right { text-align: right; }
}

/* AmÃ©lioration de l'espacement responsive */
.section-padding {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 2rem 0;
  }
}

/* ===================================
   FOCUS STYLES - ACCESSIBILITÃ‰
   =================================== */

.cta-btn:focus-visible,
.category-btn:focus-visible,
.search-box input:focus-visible,
.indicator:focus-visible,
.about-indicator:focus-visible,
.page-btn:focus-visible,
.page-number:focus-visible,
.modal-close:focus-visible,
.product-card:focus-visible,
.clear-btn:focus-visible,
.retry-btn:focus-visible {
  outline: 3px solid var(--boutique-gold);
  outline-offset: 4px;
}

/* AmÃ©lioration du focus keyboard */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .product-card {
    border: 2px solid var(--boutique-dark);
  }

  .category-btn {
    border-width: 3px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .carousel-slide,
  .about-slide {
    transition: none;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Orientation paysage sur mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-boutique {
    height: 100vh;
    min-height: 400px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .categories-section {
    padding: 2rem 0 1rem;
  }
}

/* Support des trÃ¨s grandes rÃ©solutions */
@media (min-width: 2000px) {
  .container {
    max-width: 1600px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .hero-content p {
    font-size: 1.5rem;
  }
}

/* ===== PARTIE 2 : boutique-mobile-fix.css ===== */
/* ===================================
   CORRECTIONS BOUTIQUE - PETITS Ã‰CRANS
   Correctifs pour Ã©viter l'Ã©tirement des boutons
   =================================== */

/* Correction globale pour tous les boutons */
button {
  max-width: 100%;
  overflow: hidden;
}

/* CatÃ©gories - AmÃ©lioration responsive */
@media (max-width: 576px) {
  .categories-wrapper {
    justify-content: flex-start;
    padding: 0 10px 15px;
  }
  
  .category-btn {
    flex: 0 0 auto;
    width: auto;
    max-width: min(150px, 45vw);
  }
  
  .category-btn span {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .category-btn {
    max-width: min(130px, 43vw);
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .categories-wrapper {
    gap: 8px;
  }
  
  .category-btn {
    max-width: min(120px, 40vw);
    padding: 6px 8px;
  }
}

/* Indicateurs de carousel - Dimensions fixes strictes */
.indicator,
.about-indicator {
  flex: 0 0 auto;
  overflow: hidden;
}

.carousel-indicators,
.about-indicators {
  flex-wrap: nowrap;
}

@media (max-width: 576px) {
  .indicator {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    padding: 0 !important;
  }
  
  .about-indicator {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    padding: 0 !important;
  }
  
  .carousel-indicators {
    gap: 6px;
  }
  
  .about-indicators {
    gap: 6px;
  }
}

/* CTA Button - Ã‰viter l'Ã©tirement */
@media (max-width: 576px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: auto;
    max-width: min(280px, 85vw);
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .cta-btn {
    max-width: min(250px, 90vw);
    font-size: 0.9rem;
  }
}

/* Boutons de recherche */
@media (max-width: 576px) {
  .clear-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    flex-shrink: 0;
  }
}

/* Pagination */
@media (max-width: 576px) {
  .page-btn,
  .page-number {
    min-width: 38px;
    max-width: 45px;
    flex-shrink: 0;
  }
}

/* Bouton modal */
@media (max-width: 576px) {
  .modal-close {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex-shrink: 0;
  }
}

/* Fix pour Ã©viter le dÃ©bordement horizontal */
@media (max-width: 576px) {
  body {
    overflow-x: hidden;
  }
  
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .categories-wrapper {
    max-width: 100vw;
  }
}

/* AmÃ©lioration du scroll horizontal sur catÃ©gories */
@media (max-width: 768px) {
  .categories-wrapper {
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 10px;
  }
  
  .category-btn:first-child {
    margin-left: 0;
  }
  
  .category-btn:last-child {
    margin-right: 10px;
  }
}

/* Protection contre l'Ã©tirement en cas de texte long */
.category-btn span,
.cta-btn,
.product-title {
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 576px) {
  .category-btn span {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}



