/* Variables de couleurs */
:root {
  --primary-blue: #0066CC;
  --primary-red: #CC0000;
  --light-gray: #f5f5f5;
  --dark-gray: #333;
  --white: #ffffff;
  --black: #000000;
  --border-color: #ddd;
}

/* Mode sombre */
[data-theme="dark"] {
  --background-color: #121212;
  --text-color: #ffffff;
  --card-bg: #1e1e1e;
  --border-color: #444;
}

/* Mode clair */
[data-theme="light"] {
  --background-color: #ffffff;
  --text-color: #333333;
  --card-bg: #f9f9f9;
  --border-color: #ddd;
}

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

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* En-tête */
header {
  background-color: var(--primary-blue);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffcc00;
}

.nav-links a.active {
  color: #ffcc00;
  text-decoration: underline;
}

/* Dropdown menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-blue);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  list-style: none;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: white;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Burger menu pour mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* Pied de page */
footer {
  background-color: var(--dark-gray);
  color: white;
  padding: 2rem 0;
  margin-top: 2rem;
}

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

.footer-column h3 {
  margin-bottom: 1rem;
  color: var(--primary-red);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #444;
}

/* Bouton de changement de thème */
.theme-toggle {
  background-color: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 1rem;
}

/* Grille de produits */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.product-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 1rem;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-category {
  color: #666;
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.product-price {
  color: var(--primary-red);
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

/* Tags de produits */
.promo-tag, .new-tag, .best-seller-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--primary-red);
  color: white;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

.best-seller-tag {
  background-color: #FFD700;
  color: var(--dark-gray);
}

/* Ancien prix */
.old-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 0.5rem;
}

.product-prices {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
}

/* Styles pour les messages de chargement et d'erreur */
.loading, .error, .no-products, .no-categories {
  text-align: center;
  padding: 2rem;
  font-size: 1.1rem;
}

.loading {
  color: var(--primary-red);
}

.error {
  color: #dc3545;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
}

.no-products, .no-categories {
  color: var(--dark-gray);
  font-style: italic;
}

/* Formulaire de contact */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-form {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--background-color);
  color: var(--text-color);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: var(--primary-red);
}

.btn-secondary:hover {
  background-color: #b30000;
}

/* Section Hero */
.hero {
  text-align: center;
  padding: 3rem 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Section À propos */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Section Équipe */
.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.team-member {
  text-align: center;
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--primary-blue);
}

/* Améliorations de la page À propos */
.about-hero {
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  border-radius: 8px;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.company-story {
  margin-bottom: 3rem;
}

.story-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.story-text {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.story-logo {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 3px solid var(--primary-blue);
}

.values-section {
  margin-bottom: 3rem;
  text-align: center;
}

.values-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

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

.value-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.value-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.stats-section {
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  padding: 3rem 0;
  border-radius: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
}

.team-section {
  margin-bottom: 3rem;
  text-align: center;
}

.team-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

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

.team-member {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-image {
  margin-bottom: 1rem;
}

.team-member h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

.position {
  color: var(--primary-red);
  font-weight: bold;
  margin-bottom: 1rem;
}

.quality-section {
  margin-bottom: 3rem;
  text-align: center;
}

.quality-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-blue);
}

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

.quality-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
}

.quality-card:hover {
  transform: translateY(-5px);
}

.quality-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  padding: 3rem;
  border-radius: 8px;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog */
.blog-posts {
  margin: 2rem 0;
}

.blog-post {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.post-info .post-title {
  margin-bottom: 0.5rem;
}

.post-info .post-title a {
  color: var(--text-color);
  text-decoration: none;
}

.post-info .post-title a:hover {
  color: var(--primary-blue);
}

.post-meta {
  color: #777;
  margin-bottom: 1rem;
}

.post-excerpt {
  margin-bottom: 1rem;
}

/* Article de blog */
.blog-article {
  margin: 2rem 0;
}

.blog-article h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.blog-article .post-meta {
  color: #777;
  margin-bottom: 2rem;
}

.article-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.article-content {
  margin-bottom: 2rem;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  color: var(--primary-blue);
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-navigation {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* FAQ */
.faq-container {
  margin: 2rem 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.faq-question {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.page-numbers a {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  text-decoration: none;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.page-numbers a.active,
.page-numbers a:hover {
  background-color: var(--primary-blue);
  color: white;
}

/* Filtres */
.filters {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.filters select {
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Carrousel de produits */
.product-carousel {
  position: relative;
  width: 100%;
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-indicator.active {
  background: white;
}

/* Catégories */
.categories-section {
  margin: 3rem 0;
}

.categories-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-red);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.category-card-link {
  text-decoration: none;
}

.category-card-link .category-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.category-card-link .category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.category-card-link .category-card h3 {
  color: var(--primary-red);
  margin: 1rem 0 0.5rem 0;
}

.category-card-link .category-card p {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

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

/* Responsive design pour les catégories */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .category-card-link .category-card {
    padding: 1rem;
  }
  
  .category-card-link .category-card h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive design pour les catégories */
@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  .category-info {
    padding: 1rem;
  }
  
  .category-info h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .category-info {
    padding: 1rem;
  }
  
  .category-info h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

/* Panier */
.cart-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.cart-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cart-header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cart-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.cart-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}

.cart-items {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.cart-item {
  display: flex;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s;
}

.cart-item:hover {
  background-color: rgba(0, 102, 204, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
}

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

.cart-item-image {
  width: 80px; /* Reduced size */
  height: 80px; /* Reduced size */
  border-radius: 50%; /* Rounded images */
  overflow: hidden;
  margin-right: 1.5rem;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
}

.cart-item-image:hover {
  transform: scale(1.05);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-item-details h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
  font-size: 1.2rem;
}

.cart-item-details h3 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.cart-item-details h3 a:hover {
  color: var(--primary-blue);
}

.cart-item-price {
  color: var(--primary-red);
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  background: var(--light-gray);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.quantity-btn:hover {
  background: var(--primary-blue);
  color: white;
  transform: scale(1.1);
}

.quantity {
  width: 60px;
  height: 36px;
  text-align: center;
  margin: 0 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--background-color);
  color: var(--text-color);
}

.remove-btn {
  background: var(--primary-red); /* Red button */
  border: none;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
  border-radius: 20px; /* Rounded button */
  padding: 0.5rem 1rem;
}

.remove-btn:hover {
  text-decoration: underline;
  color: #a71e2a;
  transform: scale(1.1);
}

.cart-summary {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 2rem;
  height: fit-content;
  border: 1px solid var(--border-color);
}

.cart-summary h2 {
  color: var(--primary-blue);
  margin-top: 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-red);
  text-align: center;
}

.summary-details {
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.summary-row:last-child {
  border-bottom: none;
}

.discount-row {
  color: var(--primary-blue);
  font-weight: bold;
}

.summary-total {
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--primary-red);
  padding-top: 1rem;
  border-top: 2px solid var(--primary-red);
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-red), #b30000);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 30px; /* Rounded button */
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checkout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  padding: 0.8rem;
  border-radius: 30px; /* Rounded button */
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--primary-red);
  color: white;
}

.btn-link {
  text-align: center;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.btn-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

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

.cart-empty-state h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.cart-empty-state p {
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px; /* Rounded button */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

/* Responsive design pour le panier */
@media (max-width: 992px) {
  .cart-content {
    grid-template-columns: 1fr;
  }
  
  .cart-summary {
    position: static;
  }
  
  .cart-header h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
  }
  
  .cart-item-image {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .cart-header {
    padding: 1.5rem;
  }
}

/* Additional cart enhancements */
.cart-item-quantity .quantity {
  width: 50px;
  font-weight: bold;
}

.cart-item-total {
  font-weight: bold;
  color: var(--primary-red);
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.cart-summary .summary-row {
  margin: 0.8rem 0;
  padding-bottom: 0.8rem;
}

.cart-actions .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

.cart-empty-state {
  padding: 2rem 1rem;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.cart-empty-state h3 {
  font-size: 1.5rem;
}

/* Animation for cart items */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cart-item {
  animation: fadeIn 0.5s ease-out;
}

/* Loading state for cart */
.cart-loading {
  text-align: center;
  padding: 2rem;
}

.cart-loading .spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 4px solid var(--primary-blue);
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Formulaire de commande */
.order-form {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.order-form-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.order-form-header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.order-form-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.order-form-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h2 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-red);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--background-color);
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.payment-method {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--background-color);
}

.payment-method:hover {
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.payment-method.selected {
  border-color: var(--primary-blue);
  background-color: rgba(0, 102, 204, 0.1);
  transform: translateY(-3px);
}

.payment-method input {
  margin-right: 0.5rem;
}

.order-summary {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.order-summary h3 {
  margin-top: 0;
  color: var(--primary-blue);
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-red);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin: 0.8rem 0;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-color);
}

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

.summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--primary-red);
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 2px solid var(--primary-red);
}

.submit-order-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  border: none;
  padding: 1.2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-order-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

/* Responsive design pour le formulaire de commande */
@media (max-width: 992px) {
  .order-form-container {
    grid-template-columns: 1fr;
  }
  
  .order-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .payment-methods {
    grid-template-columns: 1fr;
  }
  
  .order-form-container {
    padding: 1.5rem;
  }
  
  .order-form-header h1 {
    font-size: 1.8rem;
  }
}

/* ===================== CONTACT PAGE STYLES ===================== */

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.contact-header h1 {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.contact-header p {
  font-size: 1.1rem;
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card, .help-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-info-card h2, .help-card h2 {
  color: var(--primary-red);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--primary-red);
  padding-bottom: 1rem;
}

.contact-item, .help-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child, .help-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-icon, .help-icon {
  font-size: 1.8rem;
  min-width: 40px;
  text-align: center;
  color: var(--primary-blue);
}

.contact-details h3, .help-details h3 {
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-details p, .help-details p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.help-link {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.help-link:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.contact-form {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
  color: var(--primary-red);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--primary-red);
  padding-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--background-color);
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--primary-red), #b30000);
  border: none;
  color: white;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(204, 0, 0, 0.3);
}

/* Responsive styles */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info-section {
    order: 2;
  }
  
  .contact-form {
    order: 1;
  }
}

@media (max-width: 768px) {
  .contact-header h1 {
    font-size: 2rem;
  }
  
  .contact-header p {
    font-size: 1rem;
  }
  
  .contact-info-card, .help-card, .contact-form {
    padding: 1.5rem;
  }
  
  .contact-item, .help-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .contact-icon, .help-icon {
    font-size: 1.5rem;
  }
}

/* ============================================
   NOUVEAU DESIGN PANIER - STYLE MODERNE
   ============================================ */

/* Layout principal du panier */
.cart-content-new {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  margin-top: 2rem;
}

/* Section des articles */
.cart-items-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Style des items du panier avec images réduites */
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 15px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 102, 204, 0.15);
  border-color: var(--primary-blue);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.cart-item-details h3 {
  font-size: 1.1rem;
  color: var(--text-color);
  margin: 0;
  font-weight: 600;
}

.cart-item-details p {
  font-size: 1.2rem;
  color: var(--primary-red);
  font-weight: bold;
  margin: 0;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--background-color);
  border-radius: 25px;
  padding: 0.3rem;
  border: 2px solid var(--border-color);
}

.cart-item-quantity button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--primary-blue);
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-quantity button:hover {
  transform: scale(1.1);
  background: #0056b3;
}

.cart-item-quantity span {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  color: var(--text-color);
}

.remove-item {
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.remove-item:hover {
  background: var(--primary-red);
  color: white;
  transform: scale(1.05);
}

/* Boutons d'actions en bas */
.cart-actions-bottom {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-clear-cart {
  flex: 1;
  padding: 1rem 1.5rem;
  background: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-clear-cart:hover {
  background: var(--primary-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
}

.btn-continue {
  flex: 1;
  padding: 1rem 1.5rem;
  background: var(--primary-blue);
  color: white;
  border: 2px solid var(--primary-blue);
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-continue:hover {
  background: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* Résumé rouge à droite */
.cart-summary-red {
  background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
  border-radius: 25px;
  padding: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(204, 0, 0, 0.3);
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.cart-summary-red h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
  color: white;
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.summary-details-new {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.summary-row-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  color: white;
  font-size: 1rem;
}

.summary-row-new span:first-child {
  opacity: 0.9;
}

.summary-row-new span:last-child {
  font-weight: 600;
  font-size: 1.1rem;
}

.shipping-info-new {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.8rem;
  border-radius: 12px;
  text-align: center;
  margin: 0.5rem 0;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.shipping-info-new small {
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
}

.summary-total-new {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 1.2rem !important;
}

.summary-total-new span {
  font-size: 1.3rem !important;
}

/* Bouton rouge pour passer la commande */
.checkout-btn-red {
  width: 100%;
  padding: 1.2rem;
  background: white;
  color: #cc0000;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  margin: 1.5rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.checkout-btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: #f8f8f8;
}

/* Trust badges dans le résumé rouge */
.trust-badges-new {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.trust-badge-new {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: white;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.trust-badge-new span:first-child {
  font-size: 1.5rem;
}

.trust-badge-new small {
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
}

/* ============================================
   NOUVEAU DESIGN COMMANDE - STYLE MODERNE
   ============================================ */

/* Header de la page */
.order-form-header-new {
  text-align: center;
  margin-bottom: 2rem;
}

.order-form-header-new h1 {
  font-size: 2.2rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.order-form-header-new p {
  color: var(--dark-gray);
  font-size: 1.1rem;
}

/* Progress steps moderne */
.progress-steps-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary-blue), #0056b3);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

.step-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: all 0.3s;
}

.step-new.active,
.step-new.completed {
  opacity: 1;
}

.step-icon-new {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: white;
  transition: all 0.3s;
}

.step-new.active .step-icon-new {
  background: white;
  color: var(--primary-blue);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
  transform: scale(1.15);
}

.step-new.completed .step-icon-new {
  background: white;
  color: #28a745;
}

.step-new span {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.step-line-new {
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

/* Layout du formulaire */
.order-form-new {
  margin-top: 2rem;
}

.order-form-container-new {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
}

.checkout-form-new {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Sections du formulaire */
.form-sections-new {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section-new {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.section-title-new {
  font-size: 1.4rem;
  color: var(--text-color);
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.section-title-new span {
  font-size: 1.6rem;
}

/* Champs de formulaire modernes */
.form-group-new {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.form-group-new label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1rem;
}

.input-modern {
  padding: 1rem 1.2rem;
  border: 2px solid var(--border-color);
  border-radius: 15px;
  background: var(--background-color);
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s;
  font-family: inherit;
}

.input-modern:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
  transform: translateY(-2px);
}

.input-modern::placeholder {
  color: var(--dark-gray);
  opacity: 0.6;
}

.form-row-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Méthodes de paiement modernes */
.payment-methods-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.payment-method-new {
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.payment-method-new input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--background-color);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  transition: all 0.3s;
}

.payment-emoji {
  font-size: 2rem;
  flex-shrink: 0;
}

.payment-card strong {
  display: block;
  color: var(--text-color);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.payment-card small {
  color: var(--dark-gray);
  font-size: 0.85rem;
}

.payment-method-new:hover .payment-card {
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.15);
}

.payment-method-new.selected .payment-card {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 102, 204, 0.05));
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.payment-method-new.selected::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(0, 102, 204, 0.4);
}

/* Bouton de confirmation moderne rouge */
.submit-order-btn-new {
  width: 100%;
  padding: 1.3rem;
  background: linear-gradient(135deg, #cc0000, #990000);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(204, 0, 0, 0.3);
  margin-top: 1rem;
}

.submit-order-btn-new:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(204, 0, 0, 0.4);
  background: linear-gradient(135deg, #e60000, #b30000);
}

/* Résumé de commande rouge à droite */
.order-summary-red {
  background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
  border-radius: 25px;
  padding: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(204, 0, 0, 0.3);
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.summary-sticky-new h3 {
  font-size: 1.4rem;
  margin: 0 0 1.5rem 0;
  color: white;
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.order-items-new {
  max-height: 300px;
  overflow-y: auto;
  margin: 1rem 0;
  padding: 0.5rem;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.order-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  transition: all 0.3s;
}

.order-item:hover {
  background: rgba(255, 255, 255, 0.25);
}

.order-item-image {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: white;
}

.order-item-details h4 {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 600;
  color: white;
}

.order-item-qty {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
}

.order-item-price {
  font-size: 0.95rem;
  font-weight: bold;
  margin: 0;
  color: white;
}

.order-items-new::-webkit-scrollbar {
  width: 6px;
}

.order-items-new::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.order-items-new::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.summary-totals-new {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.summary-item-new {
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 1rem;
}

.summary-item-new span:last-child {
  font-weight: 600;
}

.summary-total-new {
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.security-notice-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.security-notice-new span {
  font-size: 1.3rem;
}

.security-notice-new small {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE - DESIGN MOBILE ET TABLETTE
   ============================================ */

/* Tablette et petits écrans */
@media (max-width: 992px) {
  /* Panier */
  .cart-content-new {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cart-summary-red {
    position: static;
    order: -1;
  }
  
  .cart-item {
    grid-template-columns: 70px 1fr auto;
    gap: 1rem;
    padding: 1.2rem;
  }
  
  .cart-item-image {
    width: 70px;
    height: 70px;
  }
  
  /* Commande */
  .order-form-container-new {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .order-summary-red {
    position: static;
    order: -1;
  }
  
  .payment-methods-new {
    grid-template-columns: 1fr;
  }
  
  .progress-steps-new {
    padding: 1.2rem;
  }
  
  .step-new span {
    font-size: 0.8rem;
  }
  
  .step-line-new {
    width: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* En-têtes */
  .cart-header h1,
  .order-form-header-new h1 {
    font-size: 1.8rem;
  }
  
  .order-form-header-new p {
    font-size: 1rem;
  }
  
  /* Panier mobile */
  .cart-item {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  
  .cart-item-image {
    width: 60px;
    height: 60px;
  }
  
  .cart-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .cart-actions-bottom {
    flex-direction: column;
  }
  
  .btn-clear-cart,
  .btn-continue {
    width: 100%;
  }
  
  .cart-summary-red {
    padding: 1.5rem;
  }
  
  .cart-summary-red h2 {
    font-size: 1.3rem;
  }
  
  /* Commande mobile */
  .form-row-new {
    grid-template-columns: 1fr;
  }
  
  .form-section-new {
    padding: 1.5rem;
  }
  
  .section-title-new {
    font-size: 1.2rem;
  }
  
  .section-title-new span {
    font-size: 1.4rem;
  }
  
  .progress-steps-new {
    gap: 0.3rem;
    padding: 1rem;
  }
  
  .step-icon-new {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .step-new span {
    display: none;
  }
  
  .payment-card {
    padding: 1rem;
    gap: 0.8rem;
  }
  
  .payment-emoji {
    font-size: 1.6rem;
  }
  
  .payment-card strong {
    font-size: 0.95rem;
  }
  
  .payment-card small {
    font-size: 0.8rem;
  }
  
  .submit-order-btn-new,
  .checkout-btn-red {
    font-size: 1.1rem;
    padding: 1.1rem;
  }
  
  .order-summary-red,
  .cart-summary-red {
    padding: 1.5rem;
  }
}

/* Petit mobile */
@media (max-width: 480px) {
  .cart-header h1,
  .order-form-header-new h1 {
    font-size: 1.5rem;
  }
  
  .cart-item {
    grid-template-columns: 50px 1fr;
    gap: 0.8rem;
    padding: 0.8rem;
  }
  
  .cart-item-image {
    width: 50px;
    height: 50px;
  }
  
  .cart-item-details h3 {
    font-size: 1rem;
  }
  
  .cart-item-details p {
    font-size: 1.1rem;
  }
  
  .cart-item-quantity button {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  
  .cart-item-quantity span {
    min-width: 25px;
  }
  
  .remove-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .section-title-new {
    font-size: 1.1rem;
  }
  
  .section-title-new span {
    font-size: 1.3rem;
  }
  
  .form-section-new {
    padding: 1.2rem;
  }
  
  .input-modern {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }
  
  .payment-methods-new {
    gap: 0.8rem;
  }
  
  .payment-card {
    padding: 0.9rem;
    gap: 0.7rem;
  }
  
  .payment-emoji {
    font-size: 1.5rem;
  }
  
  .trust-badges-new {
    gap: 0.6rem;
  }
  
  .trust-badge-new {
    padding: 0.4rem;
  }
  
  .trust-badge-new span:first-child {
    font-size: 1.3rem;
  }
  
  .trust-badge-new small {
    font-size: 0.85rem;
  }
}

/* Fin des styles */

/* =================================
   RESPONSIVE MENU MOBILE
   ================================= */

/* Tablette et mobile - Menu responsive */
@media (max-width: 768px) {
  /* Afficher le menu burger */
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  /* Animation du burger quand actif */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  /* Navigation mobile */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-blue);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 20px;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    z-index: 1000;
  }
  
  /* Afficher le menu quand actif */
  .nav-links.active {
    right: 0;
  }
  
  /* Items du menu mobile */
  .nav-links li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-links li a {
    display: block;
    padding: 1rem 0;
    width: 100%;
  }
  
  /* Dropdown mobile */
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0;
    margin-top: 0.5rem;
  }
  
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu li {
    border-bottom: none;
  }
  
  .dropdown-menu a {
    padding: 0.8rem 0 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Bouton theme toggle dans mobile */
  .theme-toggle {
    margin: 1rem 0;
    width: 100%;
    padding: 0.8rem;
  }
  
  /* Overlay pour fermer le menu en cliquant à côté */
  .nav-links.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
  
  /* Ajuster le logo */
  .logo {
    height: 40px;
  }
  
  /* Navbar mobile */
  .navbar {
    padding: 0;
  }
}

/* Mobile petit - Ajustements supplémentaires */
@media (max-width: 480px) {
  .nav-links {
    width: 80%;
  }
  
  .logo {
    height: 35px;
  }
  
  .nav-links li a {
    font-size: 0.95rem;
  }
}

