/* Style CT Motors pour le thème Hummingbird */

body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  background: #f7f7fa;
  color: #222;
  min-height: 100vh;
  padding-top: 200px; /* Réduit pour un espacement optimal */
}



/* Header principal avec effet de disparition */
.header-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-main.header-hidden {
  transform: translateY(-100%);
}

.header-top {
  background: #fff;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5393533;
  box-shadow: 0 2px 16px #e5393522;
}

.header-top-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-top-left {
  flex: 0 0 auto;
}

.header-logo {
  height: 60px;
  transition: transform 0.2s;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-top-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.search-container {
  width: 100%;
  max-width: 500px;
}

.search-form {
  width: 100%;
}

.search-input-group {
  display: flex;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1.5rem;
  border: 2px solid #e5393533;
  border-radius: 50px;
  font-size: 1rem;
  background: #f7f7fa;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #e53935;
  box-shadow: 0 4px 16px #e5393533;
}

.search-button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: #e53935;
  color: #fff;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.search-button:hover {
  background: #b71c1c;
  transform: translateY(-50%) scale(1.1);
}

.header-top-right {
  flex: 0 0 auto;
}

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

.action-item {
  display: flex;
  align-items: center;
}

.action-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
  padding: 0.5rem;
  border-radius: 8px;
}

.action-link:hover {
  color: #e53935;
  text-decoration: none;
  background: #f7f7fa;
}

.action-link i {
  color: #e53935;
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.action-text {
  display: flex;
  flex-direction: column;
}

.action-label {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.action-value {
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
}

.header-cta {
  background: #e53935;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: 2px solid #e53935;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header-cta:hover {
  background: #b71c1c;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #e5393555;
}

/* Header bottom avec panier et connexion */
.header-bottom {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #e5393533;
  box-shadow: 0 2px 16px #e5393522;
}

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

.header-bottom-center {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 2rem;
}

.header-bottom-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.user-action-item {
  display: flex;
  align-items: center;
}

.user-action-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  position: relative;
}

.user-action-link:hover {
  color: #e53935;
  text-decoration: none;
  background: #f7f7fa;
}

.user-action-link i {
  color: #e53935;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0; /* Empêche l'icône de se rétrécir */
}

.user-action-text {
  font-size: 0.9rem;
  font-weight: 500;
  flex-shrink: 0; /* Empêche le texte de se rétrécir */
}

.cart-link {
  position: relative;
  padding-right: 2.5rem; /* Ajoute de l'espace pour le badge */
}

.cart-link .user-action-text {
  margin-right: 0.5rem; /* Ajoute un peu d'espace entre le texte et le badge */
}

.cart-badge {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  background: #e53935;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 10;
  min-width: 18px; /* Force la largeur minimale */
  min-height: 18px; /* Force la hauteur minimale */
}

/* Menu CT Motors intégré dans header-bottom */
.header-bottom .ct-menu {
  background: transparent;
  border: none;
  box-shadow: none;
  position: static;
  z-index: auto;
}

.header-bottom .ct-menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  gap: 0;
}

.header-bottom .ct-menu-list > li {
  position: relative;
}

.header-bottom .ct-menu-list > li > a {
  display: block;
  padding: 1rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.header-bottom .ct-menu-list > li > a:hover,
.header-bottom .ct-menu-list > li > a.active {
  color: #e53935;
  background: #f7f7fa;
  border-bottom-color: #e53935;
}

/* Sous-menus déroulants */
.header-bottom .ct-dropdown {
  position: relative;
}

.header-bottom .ct-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 250px;
  box-shadow: 0 8px 32px #e5393522;
  border-radius: 0 0 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  border: 1px solid #e5393533;
  border-top: none;
}

.header-bottom .ct-dropdown:hover .ct-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-bottom .ct-submenu li {
  margin: 0;
}

.header-bottom .ct-submenu a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.header-bottom .ct-submenu a:hover {
  color: #e53935;
  background: #f7f7fa;
  border-left-color: #e53935;
  text-decoration: none;
}

/* Indicateur de sous-menu */
.header-bottom .ct-dropdown > a::after {
  content: '▼';
  margin-left: 0.5rem;
  font-size: 0.8rem;
  color: #666;
  transition: transform 0.2s;
}

.header-bottom .ct-dropdown:hover > a::after {
  transform: rotate(180deg);
  color: #e53935;
}

/* ===== STYLES DE LA PAGE D'ACCUEIL ===== */

/* Conteneur principal de la page d'accueil */
.homepage {
  margin: 0;
  padding: 0;
}

/* Section Hero */
.hero {
  background: linear-gradient(135deg, #f7f7fa 0%, #e8e8f0 100%);
  padding: 1rem 0 4rem 0;
  margin-bottom: 3rem;
  margin-top: 0;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Boutons CTA */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

/* Styles de base pour les CTA - seront remplacés par les règles globales */
.primary-cta {
  /* Règles remplacées par les règles globales */
}

.primary-cta:hover {
  /* Règles remplacées par les règles globales */
}

.secondary-cta {
  /* Règles remplacées par les règles globales */
}

.secondary-cta:hover {
  /* Règles remplacées par les règles globales */
}

/* En-têtes de section */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Section Services */
.services-section {
  padding: 4rem 0;
  background: #fff;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

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

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
}

.service-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.9rem;
}

.service-features i {
  color: #4caf50;
  font-size: 0.8rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e53935;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.service-link:hover {
  color: #d32f2f;
  text-decoration: none;
  gap: 0.8rem;
}

.service-link i {
  transition: transform 0.2s ease;
}

.service-link:hover i {
  transform: translateX(3px);
}

/* Section Pourquoi nous choisir */
.why-choose-us {
  padding: 4rem 0;
  background: #f7f7fa;
  margin-bottom: 3rem;
}

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

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Section CTA finale */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%);
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

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

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

/* Styles de base pour les CTA dans les sections - seront remplacés par les règles globales */
.cta-section .primary-cta {
  /* Règles remplacées par les règles globales */
}

.cta-section .primary-cta:hover {
  /* Règles remplacées par les règles globales */
}

.cta-section .secondary-cta {
  /* Règles remplacées par les règles globales */
}

.cta-section .secondary-cta:hover {
  /* Règles remplacées par les règles globales */
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .services-section,
  .why-choose-us,
  .cta-section {
    padding: 2rem 0;
  }
  
  .service-card,
  .feature-card {
    margin: 0 1rem;
  }
}

/* ===== NOUVEAU FOOTER MODERNE ET ÉLÉGANT ===== */

/* Footer principal */
.ctmotors-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 4rem 0 2rem 0;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.ctmotors-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(229,57,53,0.05)"/><circle cx="80" cy="40" r="1" fill="rgba(229,57,53,0.05)"/><circle cx="40" cy="80" r="1" fill="rgba(229,57,53,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
  opacity: 0.8;
}

/* Container du contenu du footer */
.footer-content {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

/* Sections du footer */
.footer-section {
  margin-bottom: 2.5rem;
  position: relative;
}

/* Logo du footer */
.footer-logo {
  margin-bottom: 2rem;
  text-align: center;
}

.footer-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo:hover img {
  transform: scale(1.05);
}

/* Description du footer */
.footer-description {
  color: #b0b0b0;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Liens sociaux */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.social-link:hover {
  background: #e53935;
  border-color: #e53935;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4);
}

.social-link img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.social-link:hover img {
  transform: scale(1.1);
}

/* Titres des sections */
.footer-section h5 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-section h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #e53935, #d32f2f);
  border-radius: 2px;
}

/* Liens du footer */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #e53935;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 15px;
  text-decoration: none;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

/* Informations de contact */
.contact-info {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: #b0b0b0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-item:hover {
  color: #fff;
  transform: translateX(5px);
}

.contact-item i {
  color: #e53935;
  margin-top: 0.2rem;
  width: 18px;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Bouton CTA du footer */
.footer-cta {
  background: linear-gradient(45deg, #e53935, #d32f2f);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.footer-cta:hover::before {
  left: 100%;
}

.footer-cta:hover {
  background: transparent;
  color: #e53935;
  border-color: #e53935;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(229, 57, 53, 0.4);
  text-decoration: none;
}

/* Section du bas du footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  position: relative;
  z-index: 2;
}

.copyright {
  color: #888;
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
}

.legal-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.legal-links li {
  margin: 0;
}

.legal-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #e53935;
  text-decoration: none;
}

/* Responsive pour le footer */
@media (max-width: 768px) {
  .ctmotors-footer {
    padding: 3rem 0 1.5rem 0;
  }
  
  .footer-content {
    margin-bottom: 2rem;
  }
  
  .footer-section {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer-section h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    margin-bottom: 1.5rem;
  }
  
  .legal-links {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-item:hover {
    transform: none;
  }
}

@media (max-width: 576px) {
  .ctmotors-footer {
    padding: 2rem 0 1rem 0;
  }
  
  .footer-logo img {
    height: 40px;
  }
  
  .footer-description {
    font-size: 0.9rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-link img {
    width: 20px;
    height: 20px;
  }
}

/* ===== STYLES DU PANIER CT MOTORS ===== */

/* Panier principal */
.cart-container {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
}

/* En-tête du panier */
.cart-header {
  background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: 1rem 1rem 0 0;
  text-align: center;
}

.cart-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Produits du panier */
.cart-item {
  padding: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.cart-item:hover {
  background: #f7f7fa;
}

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

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.cart-item-details h3 {
  color: #222;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cart-item-price {
  color: #e53935;
  font-weight: 600;
  font-size: 1.1rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  background: #e53935;
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.quantity-btn:hover {
  background: #d32f2f;
  transform: scale(1.1);
}

.quantity-input {
  width: 50px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

/* Résumé du panier */
.cart-summary {
  background: #f7f7fa;
  padding: 1.5rem;
  border-radius: 0 0 1rem 1rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.cart-summary-row.total {
  border-top: 2px solid #e53935;
  font-weight: 700;
  font-size: 1.2rem;
  color: #222;
  margin-top: 1rem;
  padding-top: 1rem;
}

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

.cart-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cart-btn.primary {
  background: #e53935;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cart-btn.primary:hover {
  background: #d32f2f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.3);
  text-decoration: none;
}

.cart-btn.secondary {
  background: transparent;
  color: #e53935;
  border-color: #e53935;
}

.cart-btn.secondary:hover {
  background: #e53935;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Panier vide */
.cart-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #666;
}

.cart-empty i {
  font-size: 4rem;
  color: #e53935;
  margin-bottom: 1rem;
}

.cart-empty h2 {
  color: #222;
  margin-bottom: 1rem;
}

.cart-empty p {
  margin-bottom: 2rem;
}

/* Responsive du panier */
@media (max-width: 768px) {
  .cart-item {
    padding: 1rem;
  }
  
  .cart-item-image {
    width: 60px;
    height: 60px;
  }
  
  .cart-actions {
    flex-direction: column;
  }
  
  .cart-header {
    padding: 1rem;
  }
  
  .cart-header h1 {
    font-size: 1.3rem;
  }
}

/* Responsive pour le panier */
@media (max-width: 768px) {
  .cart-link {
    padding-right: 2rem; /* Réduit l'espace sur mobile */
  }
  
  .cart-badge {
    top: 0.2rem;
    right: 0.2rem;
    width: 16px;
    height: 16px;
    font-size: 0.7rem;
    min-width: 16px;
    min-height: 16px;
  }
  
  .cart-link .user-action-text {
    margin-right: 0.3rem;
  }
}

/* ===== Surcharge des couleurs PrestaShop par défaut ===== */

/* Forcer les couleurs CT Motors sur tous les éléments */
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:hover,
.btn-primary:visited {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

.btn-outline-primary,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary:visited {
  color: #e53935 !important;
  border-color: #e53935 !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-info:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover {
  background-color: #e53935 !important;
  color: #fff !important;
  border-color: #e53935 !important;
}

/* ===== BOUTONS DE STOCK ET ÉTAT DES PRODUITS ===== */

/* Boutons de rupture de stock */
.btn-out-of-stock,
.btn-disabled,
.btn-unavailable,
.btn-stock-out,
.btn-no-stock,
.btn-out-of-stock:focus,
.btn-out-of-stock:active,
.btn-out-of-stock:hover,
.btn-out-of-stock:visited,
.btn-out-of-stock:disabled {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Boutons d'état des produits */
.btn-available,
.btn-in-stock,
.btn-available:focus,
.btn-available:active,
.btn-available:hover,
.btn-available:visited,
.btn-available:disabled {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Boutons de notification de stock */
.btn-notify-stock,
.btn-notify-availability,
.btn-notify-stock:focus,
.btn-notify-stock:active,
.btn-notify-stock:hover,
.btn-notify-stock:visited,
.btn-notify-stock:disabled {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Boutons de précommande */
.btn-preorder,
.btn-backorder,
.btn-preorder:focus,
.btn-preorder:active,
.btn-preorder:hover,
.btn-preorder:visited,
.btn-preorder:disabled {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Hover pour tous ces boutons */
.btn-out-of-stock:hover,
.btn-disabled:hover,
.btn-unavailable:hover,
.btn-stock-out:hover,
.btn-no-stock:hover,
.btn-available:hover,
.btn-in-stock:hover,
.btn-notify-stock:hover,
.btn-notify-availability:hover,
.btn-preorder:hover,
.btn-backorder:hover {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* Focus et active pour tous ces boutons */
.btn-out-of-stock:focus,
.btn-disabled:focus,
.btn-unavailable:focus,
.btn-stock-out:focus,
.btn-no-stock:focus,
.btn-available:focus,
.btn-in-stock:focus,
.btn-notify-stock:focus,
.btn-notify-availability:focus,
.btn-preorder:focus,
.btn-backorder:focus {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* ===== RÈGLES SPÉCIFIQUES POUR LES VRAIS BOUTONS ===== */

/* Boutons PrestaShop spécifiques */
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
.btn-primary,
.btn-secondary,
.btn-light,
.btn-dark {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Boutons d'action spécifiques */
.add-to-cart,
.btn-add-to-cart,
.btn-cart,
.btn-order,
.btn-command,
.btn-devis,
.btn-quote,
.btn-buy,
.btn-purchase,
.btn-checkout,
.btn-payment,
.btn-validate,
.btn-confirm {
  background-color: #e53935 !important;
  border-color: #fff !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Hover pour tous ces boutons */
.btn-success:hover,
.btn-info:hover,
.btn-warning:hover,
.btn-danger:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover,
.btn-dark:hover,
.add-to-cart:hover,
.btn-add-to-cart:hover,
.btn-cart:hover,
.btn-order:hover,
.btn-command:hover,
.btn-devis:hover,
.btn-quote:hover,
.btn-buy:hover,
.btn-purchase:hover,
.btn-checkout:hover,
.btn-payment:hover,
.btn-validate:hover,
.btn-confirm:hover {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* Focus et active pour tous ces boutons */
.btn-success:focus,
.btn-info:focus,
.btn-warning:focus,
.btn-danger:focus,
.btn-primary:focus,
.btn-secondary:focus,
.btn-light:focus,
.btn-dark:focus,
.add-to-cart:focus,
.btn-add-to-cart:focus,
.btn-cart:focus,
.btn-order:focus,
.btn-command:focus,
.btn-devis:focus,
.btn-quote:focus,
.btn-buy:focus,
.btn-purchase:focus,
.btn-checkout:focus,
.btn-payment:focus,
.btn-validate:focus,
.btn-confirm:focus {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* Boutons avec attributs spécifiques */
input[type="submit"],
input[type="button"],
button[type="submit"],
button[type="button"] {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Liens et textes */
a,
a:link,
a:visited {
  color: #e53935 !important;
}

a:hover,
a:focus,
a:active {
  color: #d32f2f !important;
}

/* Formulaires */
.form-control:focus,
.form-control:active {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 0.2rem rgba(229, 57, 53, 0.25) !important;
}

/* Alertes et notifications */
.alert-primary {
  background-color: rgba(229, 57, 53, 0.1) !important;
  border-color: #e53935 !important;
  color: #e53935 !important;
}

.alert-info {
  background-color: rgba(229, 57, 53, 0.1) !important;
  border-color: #e53935 !important;
  color: #e53935 !important;
}

/* Pagination */
.page-item.active .page-link {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
}

.page-link {
  color: #e53935 !important;
}

.page-link:hover {
  color: #d32f2f !important;
}

/* Badges */
.badge-primary,
.badge-info {
  background-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Progress bars */
.progress-bar {
  background-color: #e53935 !important;
}

/* Dropdowns */
.dropdown-item:active,
.dropdown-item:focus {
  background-color: #e53935 !important;
  color: #fff !important;
}

/* Nav tabs */
.nav-tabs .nav-link.active {
  color: #e53935 !important;
  border-color: #e53935 #e53935 #fff !important;
}

.nav-tabs .nav-link:hover {
  border-color: #e53935 #e53935 #e53935 !important;
}

/* Breadcrumbs */
.breadcrumb-item.active {
  color: #e53935 !important;
}

/* Cards */
.card-header {
  background-color: rgba(229, 57, 53, 0.05) !important;
  border-bottom-color: rgba(229, 57, 53, 0.2) !important;
}

/* Tables */
.table-primary {
  background-color: rgba(229, 57, 53, 0.1) !important;
}

.table-hover tbody tr:hover {
  background-color: rgba(229, 57, 53, 0.05) !important;
}

/* Modals */
.modal-header {
  border-bottom-color: rgba(229, 57, 53, 0.2) !important;
}

.modal-footer {
  border-top-color: rgba(229, 57, 53, 0.2) !important;
}

/* Tooltips */
.tooltip-inner {
  background-color: #e53935 !important;
}

.bs-tooltip-top .arrow::before {
  border-top-color: #e53935 !important;
}

.bs-tooltip-bottom .arrow::before {
  border-bottom-color: #e53935 !important;
}

.bs-tooltip-left .arrow::before {
  border-left-color: #e53935 !important;
}

.bs-tooltip-right .arrow::before {
  border-right-color: #e53935 !important;
}

/* Popovers */
.popover-header {
  background-color: rgba(229, 57, 53, 0.1) !important;
  border-bottom-color: rgba(229, 57, 53, 0.2) !important;
}

/* Spinners */
.spinner-border.text-primary {
  color: #e53935 !important;
}

/* Text utilities */
.text-primary {
  color: #e53935 !important;
}

.text-info {
  color: #e53935 !important;
}

/* Background utilities */
.bg-primary {
  background-color: #e53935 !important;
}

.bg-info {
  background-color: #e53935 !important;
}

/* Border utilities */
.border-primary {
  border-color: #e53935 !important;
}

.border-info {
  border-color: #e53935 !important;
}

/* ===== AMÉLIORATION DE LA LISIBILITÉ ===== */

/* Règle générale pour tous les éléments avec fond rouge */
[class*="bg-primary"],
[class*="bg-info"],
.btn-primary,
.badge-primary,
.badge-info,
.alert-primary,
.alert-info {
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Amélioration des contrastes pour les éléments sombres */
.bg-dark,
.bg-secondary {
  color: #fff !important;
  font-weight: 500 !important;
}

/* Boutons avec meilleur contraste */
.btn {
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
}

/* Amélioration des liens sur fond coloré */
a.bg-primary,
a.bg-info,
a.btn-primary {
  text-decoration: none !important;
}

a.bg-primary:hover,
a.bg-info:hover,
a.btn-primary:hover {
  text-decoration: underline !important;
}

/* Amélioration des tooltips et popovers */
.tooltip-inner,
.popover-header {
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* ===== BOUTONS PRESTASHOP SPÉCIFIQUES ===== */

/* Boutons de commande et d'action */
.btn-success,
.btn-success:focus,
.btn-success:active,
.btn-success:hover,
.btn-success:visited,
.btn-success:disabled {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.btn-success:hover,
.btn-success:focus {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* Boutons d'ajout au panier */
.add-to-cart,
.add-to-cart:focus,
.add-to-cart:active,
.add-to-cart:hover,
.add-to-cart:visited,
.add-to-cart:disabled {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.add-to-cart:hover,
.add-to-cart:focus {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* Boutons de commande */
.btn-order,
.btn-order:focus,
.btn-order:active,
.btn-order:hover,
.btn-order:visited,
.btn-order:disabled {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.btn-order:hover,
.btn-order:focus {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* Boutons de validation */
.btn-validate,
.btn-validate:focus,
.btn-validate:active,
.btn-validate:hover,
.btn-validate:visited,
.btn-validate:disabled {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.btn-validate:hover,
.btn-validate:focus {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* Boutons de paiement */
.btn-payment,
.btn-payment:focus,
.btn-payment:active,
.btn-payment:hover,
.btn-payment:visited,
.btn-payment:disabled {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.btn-payment:hover,
.btn-payment:focus {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* Règle générale pour tous les boutons avec texte */
button,
input[type="submit"],
input[type="button"],
.btn,
.btn:focus,
.btn:active,
.btn:hover,
.btn:visited,
.btn:disabled {
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Exception pour les boutons outline */
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-info,
.btn-outline-warning,
.btn-outline-danger {
  color: #e53935 !important;
  border-color: #e53935 !important;
  background-color: transparent !important;
  font-weight: 600 !important;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-info:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover {
  background-color: #e53935 !important;
  color: #fff !important;
  border-color: #e53935 !important;
}

/* ===== RÈGLES CIBLÉES POUR LES BOUTONS D'ACTION IMPORTANTS ===== */

/* Boutons d'action principaux uniquement */
.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-outline-primary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.add-to-cart,
.btn-order,
.btn-validate,
.btn-payment,
.btn-checkout,
.btn-command,
.btn-devis,
.btn-quote,
.btn-remove,
.btn-delete,
.btn-continue,
.btn-shopping,
.btn-stock,
.btn-available,
.btn-unavailable,
.btn-notify,
.btn-preorder,
.btn-backorder,
.btn-buy,
.btn-purchase,
.btn-cart,
.btn-action,
.btn-submit,
.btn-confirm,
.btn-command,
.btn-order,
.btn-validate,
.btn-payment,
.btn-checkout,
.btn-command,
.btn-devis,
.btn-quote,
.btn-remove,
.btn-delete,
.btn-continue,
.btn-shopping,
.btn-stock,
.btn-available,
.btn-unavailable,
.btn-notify,
.btn-preorder,
.btn-backorder,
.btn-buy,
.btn-purchase,
.btn-cart,
.btn-action,
.btn-submit,
.btn-confirm {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Hover pour ces boutons */
.btn-primary:hover,
.btn-success:hover,
.btn-danger:hover,
.btn-warning:hover,
.btn-info:hover,
.add-to-cart:hover,
.btn-order:hover,
.btn-validate:hover,
.btn-payment:hover,
.btn-checkout:hover,
.btn-command:hover,
.btn-devis:hover,
.btn-quote:hover,
.btn-remove:hover,
.btn-delete:hover,
.btn-continue:hover,
.btn-shopping:hover,
.btn-stock:hover,
.btn-available:hover,
.btn-unavailable:hover,
.btn-notify:hover,
.btn-preorder:hover,
.btn-backorder:hover,
.btn-buy:hover,
.btn-purchase:hover,
.btn-cart:hover,
.btn-action:hover,
.btn-submit:hover,
.btn-confirm:hover {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* ===== CORRECTION DES PROBLÈMES DE LISIBILITÉ ===== */

/* Règle pour forcer le texte blanc sur les fonds rouges existants */
*[style*="background-color: #e53935"],
*[style*="background-color: #d32f2f"],
*[style*="background: #e53935"],
*[style*="background: #d32f2f"] {
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Règle pour les éléments avec des classes spécifiques */
.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.add-to-cart,
.btn-order,
.btn-validate,
.btn-payment,
.btn-checkout,
.btn-command,
.btn-devis,
.btn-quote,
.btn-remove,
.btn-delete,
.btn-continue,
.btn-shopping,
.btn-stock,
.btn-available,
.btn-unavailable,
.btn-notify,
.btn-preorder,
.btn-backorder,
.btn-buy,
.btn-purchase,
.btn-cart,
.btn-action,
.btn-submit,
.btn-confirm {
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* ===== RÈGLES FORCÉES POUR TOUS LES BOUTONS ROUGES ===== */

/* Règle universelle pour TOUS les boutons avec fond rouge */
button[style*="background-color: #e53935"],
button[style*="background-color: #d32f2f"],
button[style*="background: #e53935"],
button[style*="background: #d32f2f"],
input[style*="background-color: #e53935"],
input[style*="background-color: #d32f2f"],
input[style*="background: #e53935"],
input[style*="background: #d32f2f"],
.btn[style*="background-color: #e53935"],
.btn[style*="background-color: #d32f2f"],
.btn[style*="background: #e53935"],
.btn[style*="background: #d32f2f"],
a[style*="background-color: #e53935"],
a[style*="background-color: #d32f2f"],
a[style*="background: #e53935"],
a[style*="background: #d32f2f"],
span[style*="background-color: #e53935"],
span[style*="background-color: #d32f2f"],
span[style*="background: #e53935"],
span[style*="background: #d32f2f"],
div[style*="background-color: #e53935"],
div[style*="background-color: #d32f2f"],
div[style*="background: #e53935"],
div[style*="background: #d32f2f"] {
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Règle pour les boutons avec des classes contenant des mots-clés */
[class*="btn"][style*="background-color: #e53935"],
[class*="btn"][style*="background-color: #d32f2f"],
[class*="button"][style*="background-color: #e53935"],
[class*="button"][style*="background-color: #d32f2f"],
[class*="order"][style*="background-color: #e53935"],
[class*="order"][style*="background-color: #d32f2f"],
[class*="cart"][style*="background-color: #e53935"],
[class*="cart"][style*="background-color: #d32f2f"],
[class*="devis"][style*="background-color: #e53935"],
[class*="devis"][style*="background-color: #d32f2f"],
[class*="stock"][style*="background-color: #e53935"],
[class*="stock"][style*="background-color: #d32f2f"] {
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Règle pour forcer le texte blanc sur TOUS les enfants d'éléments avec fond rouge */
*[style*="background-color: #e53935"] *,
*[style*="background-color: #d32f2f"] *,
*[style*="background: #e53935"] *,
*[style*="background: #d32f2f"] * {
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* ===== CORRECTION DES COULEURS SEULEMENT ===== */

/* Correction des couleurs pour les boutons d'action principaux */
.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.add-to-cart,
.btn-order,
.btn-validate,
.btn-payment,
.btn-checkout,
.btn-command,
.btn-devis,
.btn-quote,
.btn-remove,
.btn-delete,
.btn-shopping,
.btn-stock,
.btn-available,
.btn-unavailable,
.btn-notify,
.btn-preorder,
.btn-backorder,
.btn-buy,
.btn-purchase,
.btn-cart,
.btn-action,
.btn-submit,
.btn-confirm {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
}

/* Hover pour ces boutons */
.btn-primary:hover,
.btn-success:hover,
.btn-danger:hover,
.btn-warning:hover,
.btn-info:hover,
.add-to-cart:hover,
.btn-order:hover,
.btn-validate:hover,
.btn-payment:hover,
.btn-checkout:hover,
.btn-command:hover,
.btn-devis:hover,
.btn-quote:hover,
.btn-remove:hover,
.btn-delete:hover,
.btn-shopping:hover,
.btn-stock:hover,
.btn-available:hover,
.btn-unavailable:hover,
.btn-notify:hover,
.btn-preorder:hover,
.btn-backorder:hover,
.btn-buy:hover,
.btn-purchase:hover,
.btn-cart:hover,
.btn-action:hover,
.btn-submit:hover,
.btn-confirm:hover {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* ===== CORRECTION SPÉCIFIQUE POUR LE BOUTON "DEVIS GRATUIT" DU HEADER ===== */

/* Bouton "Devis gratuit" du header */
.header-cta {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
}

/* Hover pour le bouton "Devis gratuit" */
.header-cta:hover {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* ===== CORRECTION SPÉCIFIQUE POUR LE BOUTON "APPELEZ-NOUS" ===== */

/* Bouton "Appelez-nous" (secondary-cta) */
.secondary-cta {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
}

/* Hover pour le bouton "Appelez-nous" */
.secondary-cta:hover {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* ===== RÈGLE FINALE ULTRA-SIMPLE POUR TOUS LES BOUTONS ===== */

/* Règle pour les boutons principaux et CTA - fond rouge + texte blanc */
.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.add-to-cart,
.btn-order,
.btn-validate,
.btn-payment,
.btn-checkout,
.btn-command,
.btn-devis,
.btn-quote,
.btn-remove,
.btn-delete,
.btn-continue,
.btn-shopping,
.btn-stock,
.btn-available,
.btn-unavailable,
.btn-notify,
.btn-preorder,
.btn-backorder,
.btn-buy,
.btn-purchase,
.btn-cart,
.btn-action,
.btn-submit,
.btn-confirm,
.header-cta,
.secondary-cta,
.primary-cta,
/* Boutons spécifiques du thème CT Motors */
.continue-shopping-btn,
.discover-btn,
.checkout-btn,
.remove-product-btn,
.add-address-btn,
.search-btn,
.add-to-cart-btn {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Règle pour les boutons outline - fond transparent + bordure rouge + texte rouge */
.btn-outline-primary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info {
  background-color: transparent !important;
  border-color: #e53935 !important;
  color: #e53935 !important;
  font-weight: 600 !important;
}

/* Règle pour les boutons génériques sans classe spécifique - fond rouge + texte blanc */
.btn:not(.btn-outline-primary):not(.btn-outline-success):not(.btn-outline-danger):not(.btn-outline-warning):not(.btn-outline-info) {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Règle pour les boutons submit et button sans classe - fond rouge + texte blanc */
input[type="submit"]:not([class*="btn"]),
input[type="button"]:not([class*="btn"]),
button:not([class*="btn"]) {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Hover pour TOUS ces boutons */
.btn-primary:hover,
.btn-success:hover,
.btn-danger:hover,
.btn-warning:hover,
.btn-info:hover,
.add-to-cart:hover,
.btn-order:hover,
.btn-validate:hover,
.btn-payment:hover,
.btn-checkout:hover,
.btn-command:hover,
.btn-devis:hover,
.btn-quote:hover,
.btn-remove:hover,
.btn-delete:hover,
.btn-continue:hover,
.btn-shopping:hover,
.btn-stock:hover,
.btn-available:hover,
.btn-unavailable:hover,
.btn-notify:hover,
.btn-preorder:hover,
.btn-backorder:hover,
.btn-buy:hover,
.btn-purchase:hover,
.btn-cart:hover,
.btn-action:hover,
.btn-submit:hover,
.btn-confirm:hover,
.header-cta:hover,
.secondary-cta:hover,
.primary-cta:hover,
.btn:not(.btn-outline-primary):not(.btn-outline-success):not(.btn-outline-danger):not(.btn-outline-warning):not(.btn-outline-info):hover,
input[type="submit"]:not([class*="btn"]):hover,
input[type="button"]:not([class*="btn"]):hover,
button:not([class*="btn"]):hover,
/* Hover pour les boutons spécifiques du thème CT Motors */
.continue-shopping-btn:hover,
.discover-btn:hover,
.checkout-btn:hover,
.remove-product-btn:hover,
.add-address-btn:hover,
.search-btn:hover,
.add-to-cart-btn:hover {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* Hover pour les boutons outline */
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-warning:hover,
.btn-outline-info:hover {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
}

/* ===== RÈGLES ULTRA-FORCÉES POUR TOUS LES BOUTONS CTA ===== */

/* Règle ULTRA-SPÉCIFIQUE pour tous les boutons CTA */
.cta,
.primary-cta,
.secondary-cta,
.header-cta,
a.cta,
a.primary-cta,
a.secondary-cta,
a.header-cta,
.hero-actions .cta,
.hero-actions .primary-cta,
.hero-actions .secondary-cta,
.cta-section .cta,
.cta-section .primary-cta,
.cta-section .secondary-cta {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
}

/* Hover ULTRA-SPÉCIFIQUE pour tous les boutons CTA */
.cta:hover,
.primary-cta:hover,
.secondary-cta:hover,
.header-cta:hover,
a.cta:hover,
a.primary-cta:hover,
a.secondary-cta:hover,
a.header-cta:hover,
.hero-actions .cta:hover,
.hero-actions .primary-cta:hover,
.hero-actions .secondary-cta:hover,
.cta-section .cta:hover,
.cta-section .primary-cta:hover,
.cta-section .secondary-cta:hover {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ===== RÈGLE ULTRA-AGRESSIVE POUR FORCER LE STYLE ===== */

/* Force le style sur TOUS les boutons CTA, même avec des styles inline */
*[class*="cta"],
*[class*="primary-cta"],
*[class*="secondary-cta"],
*[class*="header-cta"] {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Force le hover sur TOUS les boutons CTA */
*[class*="cta"]:hover,
*[class*="primary-cta"]:hover,
*[class*="secondary-cta"]:hover,
*[class*="header-cta"]:hover {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
}

/* ===== RÈGLE FINALE ULTRA-AGRESSIVE - DOIT ÊTRE À LA FIN ===== */

/* Force le style sur TOUS les boutons CTA avec une spécificité maximale */
html body .cta,
html body .primary-cta,
html body .secondary-cta,
html body .header-cta,
html body a.cta,
html body a.primary-cta,
html body a.secondary-cta,
html body a.header-cta,
html body .hero-actions .cta,
html body .hero-actions .primary-cta,
html body .hero-actions .secondary-cta,
html body .cta-section .cta,
html body .cta-section .primary-cta,
html body .cta-section .secondary-cta,
html body *[class*="cta"],
html body *[class*="primary-cta"],
html body *[class*="secondary-cta"],
html body *[class*="header-cta"] {
  background-color: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
}

/* Force le hover sur TOUS les boutons CTA avec une spécificité maximale */
html body .cta:hover,
html body .primary-cta:hover,
html body .secondary-cta:hover,
html body .header-cta:hover,
html body a.cta:hover,
html body a.primary-cta:hover,
html body a.secondary-cta:hover,
html body a.header-cta:hover,
html body .hero-actions .cta:hover,
html body .hero-actions .primary-cta:hover,
html body .hero-actions .secondary-cta:hover,
html body .cta-section .cta:hover,
html body .cta-section .primary-cta:hover,
html body .cta-section .secondary-cta:hover,
html body *[class*="cta"]:hover,
html body *[class*="primary-cta"]:hover,
html body *[class*="secondary-cta"]:hover,
html body *[class*="header-cta"]:hover {
  background-color: #d32f2f !important;
  border-color: #d32f2f !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ===== STYLES SPÉCIAUX POUR LA SECTION "PRÊT À OPTIMISER" ===== */

/* Section CTA avec fond rouge - boutons en style "ghost" */
.cta-section {
  background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Boutons en style "ghost" pour la section CTA */
.cta-section .cta,
.cta-section .primary-cta,
.cta-section .secondary-cta {
  background-color: transparent !important;
  border: 3px solid #fff !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1) !important;
  padding: 1rem 2rem !important;
  border-radius: 50px !important;
  font-size: 1rem !important;
  position: relative !important;
  overflow: hidden !important;
}

.cta-section .cta::before,
.cta-section .primary-cta::before,
.cta-section .secondary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-section .cta:hover::before,
.cta-section .primary-cta:hover::before,
.cta-section .secondary-cta:hover::before {
  left: 100%;
}

.cta-section .cta:hover,
.cta-section .primary-cta:hover,
.cta-section .secondary-cta:hover {
  background-color: #fff !important;
  border-color: #fff !important;
  color: #e53935 !important;
  text-decoration: none !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4) !important;
}

/* Responsive pour la section CTA */
@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 0;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta-section .cta,
  .cta-section .primary-cta,
  .cta-section .secondary-cta {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* ===== STYLES POUR LA PAGE DE CONTACT ===== */

/* Section de contact principale */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  padding: 4rem 0;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(229,57,53,0.03)"/><circle cx="80" cy="40" r="1" fill="rgba(229,57,53,0.03)"/><circle cx="40" cy="80" r="1" fill="rgba(229,57,53,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
  opacity: 0.6;
}

/* Titre et description */
.contact-section h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(45deg, #e53935, #d32f2f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.contact-section p {
  font-size: 1.2rem;
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Container du formulaire */
.contact-form-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(229, 57, 53, 0.1);
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e53935, #d32f2f);
  border-radius: 20px 20px 0 0;
}

/* Formulaire de contact */
.contact-form {
  position: relative;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
  color: #333;
}

.form-control:focus {
  outline: none;
  border-color: #e53935;
  background: white;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: #adb5bd;
}

/* Bouton d'envoi */
.btn-devis {
  background: linear-gradient(45deg, #e53935, #d32f2f);
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.3);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-devis::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-devis:hover::before {
  left: 100%;
}

.btn-devis:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(229, 57, 53, 0.4);
  background: linear-gradient(45deg, #d32f2f, #c62828);
}

/* Informations de contact */
.contact-info {
  position: relative;
  z-index: 2;
}

.contact-item {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(229, 57, 53, 0.1);
  height: auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #e53935;
}

.contact-item i {
  color: #e53935;
  margin-bottom: 1rem;
  display: block;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact-item:hover i {
  transform: scale(1.1);
  color: #d32f2f;
}

.contact-item h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.contact-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Responsive pour la page contact */
@media (max-width: 768px) {
  .contact-section {
    padding: 2rem 0;
  }
  
  .contact-section h2 {
    font-size: 2.5rem;
  }
  
  .contact-section p {
    font-size: 1.1rem;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
    margin: 0 1rem 2rem 1rem;
  }
  
  .btn-devis {
    width: 100%;
    padding: 1rem 2rem;
  }
  
  .contact-item {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .contact-section h2 {
    font-size: 2rem;
  }
  
  .contact-form-container {
    padding: 1.5rem 1rem;
  }
  
  .form-control {
    padding: 0.8rem 1rem;
  }
}

/* Grille des informations de contact */
.contact-info .row {
  margin: 0;
}

.contact-info .col-md-4 {
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.contact-info .col-md-4:last-child {
  margin-bottom: 0;
}

/* Responsive pour la page contact */
@media (max-width: 768px) {
  .contact-section {
    padding: 2rem 0;
  }
  
  .contact-section h2 {
    font-size: 2.5rem;
  }
  
  .contact-section p {
    font-size: 1.1rem;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
    margin: 0 1rem 2rem 1rem;
  }
  
  .btn-devis {
    width: 100%;
    padding: 1rem 2rem;
  }
  
  .contact-info .col-md-4 {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .contact-item {
    min-height: 180px;
    padding: 1.5rem 1rem;
  }
}

/* ===== STYLES ULTRA-FORCÉS POUR LE FOOTER ===== */

/* Footer principal - styles ultra-spécifiques */
footer.ctmotors-footer,
.ctmotors-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  color: #fff !important;
  padding: 4rem 0 2rem 0 !important;
  margin-top: 3rem !important;
  position: relative !important;
  overflow: hidden !important;
}

footer.ctmotors-footer::before,
.ctmotors-footer::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(229,57,53,0.05)"/><circle cx="80" cy="40" r="1" fill="rgba(229,57,53,0.05)"/><circle cx="40" cy="80" r="1" fill="rgba(229,57,53,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>') !important;
  opacity: 0.8 !important;
}

/* Container du contenu du footer */
footer.ctmotors-footer .footer-content,
.ctmotors-footer .footer-content {
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 3rem !important;
}

/* Logo du footer */
footer.ctmotors-footer .footer-logo,
.ctmotors-footer .footer-logo {
  text-align: center !important;
  margin-bottom: 2rem !important;
}

footer.ctmotors-footer .footer-logo-img,
.ctmotors-footer .footer-logo-img {
  max-width: 180px !important;
  height: auto !important;
  filter: brightness(0) invert(1) !important;
  transition: all 0.3s ease !important;
  opacity: 0.9 !important;
}

footer.ctmotors-footer .footer-logo-img:hover,
.ctmotors-footer .footer-logo-img:hover {
  opacity: 1 !important;
  transform: scale(1.05) !important;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(229, 57, 53, 0.6)) !important;
}

/* Sections du footer */
footer.ctmotors-footer .footer-section,
.ctmotors-footer .footer-section {
  margin-bottom: 2.5rem !important;
  position: relative !important;
}

/* Description du footer */
footer.ctmotors-footer .footer-description,
.ctmotors-footer .footer-description {
  color: #b0b0b0 !important;
  line-height: 1.7 !important;
  margin-bottom: 2rem !important;
  font-size: 1rem !important;
  text-align: center !important;
  max-width: 400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Liens sociaux */
footer.ctmotors-footer .social-links,
.ctmotors-footer .social-links {
  display: flex !important;
  gap: 1rem !important;
  justify-content: center !important;
  margin-bottom: 2rem !important;
}

footer.ctmotors-footer .social-link,
.ctmotors-footer .social-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 45px !important;
  height: 45px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  border: 2px solid transparent !important;
  color: #fff !important;
  font-size: 1.2rem !important;
}

footer.ctmotors-footer .social-link:hover,
.ctmotors-footer .social-link:hover {
  background: #e53935 !important;
  border-color: #e53935 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4) !important;
  color: #fff !important;
}

/* Titres des sections */
footer.ctmotors-footer .footer-section h5,
.ctmotors-footer .footer-section h5 {
  color: #fff !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  margin-bottom: 1.5rem !important;
  position: relative !important;
  padding-bottom: 0.8rem !important;
}

footer.ctmotors-footer .footer-section h5::after,
.ctmotors-footer .footer-section h5::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 40px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #e53935, #d32f2f) !important;
  border-radius: 2px !important;
}

/* Liens du footer */
footer.ctmotors-footer .footer-links,
.ctmotors-footer .footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

footer.ctmotors-footer .footer-links li,
.ctmotors-footer .footer-links li {
  margin-bottom: 1rem !important;
}

footer.ctmotors-footer .footer-links a,
.ctmotors-footer .footer-links a {
  color: #b0b0b0 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  font-size: 0.95rem !important;
  display: inline-block !important;
  position: relative !important;
  padding-left: 0 !important;
}

footer.ctmotors-footer .footer-links a::before,
.ctmotors-footer .footer-links a::before {
  content: '→' !important;
  position: absolute !important;
  left: -15px !important;
  opacity: 0 !important;
  transition: all 0.3s ease !important;
  color: #e53935 !important;
}

footer.ctmotors-footer .footer-links a:hover,
.ctmotors-footer .footer-links a:hover {
  color: #fff !important;
  padding-left: 15px !important;
  text-decoration: none !important;
}

footer.ctmotors-footer .footer-links a:hover::before,
.ctmotors-footer .footer-links a:hover::before {
  opacity: 1 !important;
  left: 0 !important;
}

/* ===== SECTION CONTACT & INFORMATIONS COMPACTE ===== */
/* Informations de contact - version compacte en liste simple */
footer.ctmotors-footer .contact-info,
.ctmotors-footer .contact-info {
  margin-bottom: 1rem !important;
}

footer.ctmotors-footer .contact-item,
.ctmotors-footer .contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  margin-bottom: 0.4rem !important;
  color: #b0b0b0 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

footer.ctmotors-footer .contact-item:hover,
.ctmotors-footer .contact-item:hover {
  color: #fff !important;
  transform: translateX(3px) !important;
  background: none !important;
}

footer.ctmotors-footer .contact-item i,
.ctmotors-footer .contact-item i {
  color: #e53935 !important;
  margin: 0 !important;
  width: 16px !important;
  text-align: center !important;
  font-size: 0.9rem !important;
  flex-shrink: 0 !important;
}

footer.ctmotors-footer .contact-item span,
.ctmotors-footer .contact-item span {
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Styles pour la liste contact avec icônes */
footer.ctmotors-footer .footer-links li,
.ctmotors-footer .footer-links li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.8rem !important;
  margin-bottom: 0.8rem !important;
  color: #b0b0b0 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
}

footer.ctmotors-footer .footer-links li:hover,
.ctmotors-footer .footer-links li:hover {
  color: #fff !important;
  transform: translateX(3px) !important;
}

footer.ctmotors-footer .footer-links li i,
.ctmotors-footer .footer-links li i {
  color: #e53935 !important;
  margin-top: 0.1rem !important;
  width: 16px !important;
  text-align: center !important;
  font-size: 0.9rem !important;
  flex-shrink: 0 !important;
}

footer.ctmotors-footer .footer-links li span,
.ctmotors-footer .footer-links li span {
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Bouton CTA du footer - version compacte */
footer.ctmotors-footer .footer-cta,
.ctmotors-footer .footer-cta,
footer.ctmotors-footer .cta.footer-cta,
.ctmotors-footer .cta.footer-cta {
  background: linear-gradient(45deg, #e53935, #d32f2f) !important;
  color: #fff !important;
  padding: 0.7rem 1.2rem !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  display: inline-block !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  border: 2px solid transparent !important;
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 250px !important;
}

footer.ctmotors-footer .footer-cta::before,
.ctmotors-footer .footer-cta::before,
footer.ctmotors-footer .cta.footer-cta::before,
.ctmotors-footer .cta.footer-cta::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.5s ease !important;
}

footer.ctmotors-footer .footer-cta:hover::before,
.ctmotors-footer .footer-cta:hover::before,
footer.ctmotors-footer .cta.footer-cta:hover::before,
.ctmotors-footer .cta.footer-cta:hover::before {
  left: 100% !important;
}

footer.ctmotors-footer .footer-cta:hover,
.ctmotors-footer .footer-cta:hover,
footer.ctmotors-footer .cta.footer-cta:hover,
.ctmotors-footer .cta.footer-cta:hover {
  background: transparent !important;
  color: #e53935 !important;
  border-color: #e53935 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(229, 57, 53, 0.4) !important;
  text-decoration: none !important;
}

/* Section du bas du footer */
footer.ctmotors-footer .footer-bottom,
.ctmotors-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-top: 2rem !important;
  position: relative !important;
  z-index: 2 !important;
}

footer.ctmotors-footer .copyright,
.ctmotors-footer .copyright {
  color: #888 !important;
  margin: 0 !important;
  font-size: 0.9rem !important;
  text-align: center !important;
}

footer.ctmotors-footer .legal-links,
.ctmotors-footer .legal-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 1rem 0 0 0 !important;
  display: flex !important;
  justify-content: center !important;
  gap: 2rem !important;
  flex-wrap: wrap !important;
}

footer.ctmotors-footer .legal-links li,
.ctmotors-footer .legal-links li {
  margin: 0 !important;
}

footer.ctmotors-footer .legal-links a,
.ctmotors-footer .legal-links a {
  color: #888 !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  transition: color 0.3s ease !important;
}

footer.ctmotors-footer .legal-links a:hover,
.ctmotors-footer .legal-links a:hover {
  color: #e53935 !important;
  text-decoration: none !important;
}

/* Responsive pour le footer */
@media (max-width: 768px) {
  footer.ctmotors-footer,
  .ctmotors-footer {
    padding: 3rem 0 1.5rem 0 !important;
  }
  
  footer.ctmotors-footer .footer-content,
  .ctmotors-footer .footer-content {
    margin-bottom: 2rem !important;
  }
  
  footer.ctmotors-footer .footer-section,
  .ctmotors-footer .footer-section {
    margin-bottom: 2rem !important;
    text-align: center !important;
  }
  
  footer.ctmotors-footer .footer-logo-img,
  .ctmotors-footer .footer-logo-img {
    max-width: 150px !important;
  }
  
  footer.ctmotors-footer .social-links,
  .ctmotors-footer .social-links {
    justify-content: center !important;
  }
  
  footer.ctmotors-footer .footer-cta,
  .ctmotors-footer .footer-cta,
  footer.ctmotors-footer .cta.footer-cta,
  .ctmotors-footer .cta.footer-cta {
    width: 100% !important;
    max-width: none !important;
  }
  
  footer.ctmotors-footer .legal-links,
  .ctmotors-footer .legal-links {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }
}
