/* Reset et variables */
:root {
    --primary-color: #ff6b6b;
    --primary-hover: #ff5252;
    --secondary-color: #4ecdc4;
    --text-color: #2d3436;
    --text-light: #636e72;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #dfe6e9;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 5px 15px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
    --radius: 8px;
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
  }
  
  a:hover {
    color: var(--primary-hover);
  }
  
  ul {
    list-style: none;
  }
  
  .container {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 15px;
    margin: 0 auto;
  }
  
  /* Boutons */
  .btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: none;
    font-size: 16px;
  }
  
  .btn:focus {
    outline: none;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: white;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
  }
  
  .btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
  }
  
  .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
  }
  
  .btn-small {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .btn-large {
    padding: 16px 32px;
    font-size: 18px;
  }
  
  .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  
  /* Messages d'alerte */
  .alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--radius);
  }
  
  .alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
  }
  
  .alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
  }
  
  .alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
  }
  
  .alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
  }
  
  /* Header */
  .header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
  }
  
  .logo a {
    display: flex;
    align-items: center;
  }
  
  .logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
  }
  
  .main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  
  .main-nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
  }
  
  .main-nav a:hover {
    color: var(--primary-color);
  }
  
  .main-nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
  }
  
  .main-nav a:hover::after {
    width: 100%;
  }
  
  .cart-link {
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: 5px;
  }
  
  .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
  }
  
  /* Hero Section */
  .hero {
    background-color: var(--bg-light);
    padding: 80px 0;
    text-align: center;
  }
  
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
  }
  
  .hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-light);
  }
  
  .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  
  /* Section about */
  .about {
    padding: 80px 0;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
  }
  
  .section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
  }
  
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  
  .about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  
  .about-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 30px;
  }
  
  .about-text h3:first-child {
    margin-top: 0;
  }
  
  .about-text p {
    margin-bottom: 20px;
  }
  
  .about-text ul {
    margin-left: 20px;
    list-style-type: disc;
  }
  
  .about-text li {
    margin-bottom: 10px;
  }
  
  /* Featured Products */
  .featured-products {
    padding: 80px 0;
    background-color: var(--bg-light);
  }
  
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
  }
  
  .product-card {
    background-color: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }
  
  .product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
  }
  
  .product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
  }
  
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .product-card:hover .product-image img {
    transform: scale(1.05);
  }
  
  .product-info {
    padding: 20px;
  }
  
  .product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .product-name a {
    color: var(--text-color);
  }
  
  .product-name a:hover {
    color: var(--primary-color);
  }
  
  .product-category {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
  }
  
  .product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
  }
  
  .product-actions {
    display: flex;
    gap: 10px;
  }
  
  .section-footer {
    text-align: center;
    margin-top: 50px;
  }
  
  /* Testimonials */
  .testimonials {
    padding: 80px 0;
  }
  
  .testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
  }
  
  .testimonial {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
  }
  
  .testimonial-content {
    margin-bottom: 20px;
  }
  
  .testimonial-content p {
    font-style: italic;
    position: relative;
  }
  
  .testimonial-content p::before,
  .testimonial-content p::after {
    content: '"';
    font-size: 24px;
    color: var(--primary-color);
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .author-info h4 {
    font-size: 18px;
    font-weight: 600;
  }
  
  .author-info p {
    color: var(--text-light);
    font-size: 14px;
  }
  
  /* CTA Section */
  .cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
  }
  
  .cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .cta p {
    margin-bottom: 30px;
    font-size: 18px;
  }
  
  .cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
  }
  
  .cta .btn-primary:hover {
    background-color: var(--bg-light);
  }
  
  /* Footer */
  .footer {
    background-color: #2d3436;
    color: white;
    padding: 60px 0 30px;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
  }
  
  .footer-logo h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
  }
  
  .footer-logo p {
    color: #dfe6e9;
  }
  
  .footer-nav h3,
  .footer-contact h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-nav a {
    color: #dfe6e9;
  }
  
  .footer-nav a:hover {
    color: var(--primary-color);
  }
  
  .footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .footer-contact a {
    color: #dfe6e9;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .footer-contact a:hover {
    color: var(--primary-color);
  }
  
  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Catalogue Page */
  .catalog-header {
    background-color: var(--bg-light);
    padding: 40px 0;
    text-align: center;
  }
  
  .catalog-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
  }
  
  .catalog-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .filter-categories {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .category-select {
    padding: 8px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background-color: white;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
  }
  
  .catalog-products {
    padding: 60px 0;
  }
  
  .load-more-container {
    text-align: center;
    margin-top: 40px;
  }
  
  .no-products {
    text-align: center;
    padding: 40px 0;
  }
  
  /* Product Details Page */
  .product-details {
    padding: 60px 0;
  }
  
  .breadcrumb {
    margin-bottom: 30px;
    color: var(--text-light);
  }
  
  .breadcrumb a {
    color: var(--text-light);
  }
  
  .breadcrumb a:hover {
    color: var(--primary-color);
  }
  
  .product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  
  .product-gallery {
    position: relative;
  }
  
  .product-main-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  
  .product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
  }
  
  .product-category {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
  }
  
  .product-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
  }
  
  .product-description {
    margin-bottom: 30px;
    color: var(--text-color);
  }
  
  .product-actions {
    margin-bottom: 30px;
  }
  
  .quantity-selector {
    margin-bottom: 20px;
  }
  
  .quantity-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
  }
  
  .quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .quantity-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background-color: white;
    font-size: 18px;
    cursor: pointer;
  }
  
  .quantity-controls input {
    width: 60px;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: center;
    font-size: 16px;
  }
  
  .product-meta {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
  }
  
  .product-meta p {
    margin-bottom: 10px;
  }
  
  .in-stock {
    color: #27ae60;
    font-weight: 500;
  }
  
  .similar-products {
    padding: 60px 0;
    background-color: var(--bg-light);
  }
  
  .similar-products h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
  }
  
  /* Cart Page */
  .cart {
    padding: 60px 0;
  }
  
  .cart h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
  }
  
  .cart-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: var(--shadow);
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
  }
  
  .cart-table th {
    background-color: var(--bg-light);
    padding: 15px;
    text-align: left;
    font-weight: 600;
  }
  
  .cart-table td {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    vertical-align: middle;
  }
  
  .item-details {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
  }
  
  .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .item-name {
    font-weight: 600;
    font-size: 16px;
  }
  
  .item-name a {
    color: var(--text-color);
  }
  
  .item-name a:hover {
    color: var(--primary-color);
  }
  
  .item-quantity .quantity-controls {
    justify-content: center;
  }
  
  .remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
  }
  
  .cart-summary {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
  }
  
  .cart-summary h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
  }
  
  .summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .summary-item.total {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .cart-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-direction: column;
  }
  
  .empty-cart {
    display: flex;
    justify-content: center;
    padding: 60px 0;
  }
  
  .empty-cart-message {
    text-align: center;
  }
  
  .empty-cart-message svg {
    color: var(--text-light);
    margin-bottom: 20px;
  }
  
  .empty-cart-message h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
  }
  
  .empty-cart-message p {
    color: var(--text-light);
    margin-bottom: 30px;
  }
  
  /* Checkout Page */
  .checkout {
    padding: 60px 0;
  }
  
  .checkout h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .checkout-form {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
  }
  
  .checkout-form h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .required {
    color: #e74c3c;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 16px;
  }
  
  .form-group textarea {
    height: 100px;
    resize: vertical;
  }
  
  .form-actions {
    margin-top: 30px;
  }
  
  .checkout-summary {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
  }
  
  .checkout-summary h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
  }
  
  .cart-items {
    margin-bottom: 30px;
  }
  
  .cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .cart-totals {
    margin-bottom: 30px;
  }
  
  .checkout-info {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .about-content {
      grid-template-columns: 1fr;
    }
  
    .product-container {
      grid-template-columns: 1fr;
    }
  
    .cart-container,
    .checkout-container {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 768px) {
    .header-wrapper {
      height: 70px;
    }
  
    .logo h1 {
      font-size: 24px;
    }
  
    .mobile-menu-toggle {
      display: flex;
    }
  
    .main-nav {
      position: fixed;
      top: 70px;
      left: 0;
      width: 100%;
      background-color: var(--bg-color);
      padding: 20px;
      box-shadow: var(--shadow);
      transform: translateY(-100%);
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
      z-index: 99;
    }
  
    .main-nav.active {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
  
    .main-nav ul {
      flex-direction: column;
      gap: 15px;
    }
  
    .hero h1 {
      font-size: 36px;
    }
  
    .hero-subtitle {
      font-size: 18px;
    }
  
    .hero-buttons {
      flex-direction: column;
      gap: 15px;
    }
  
    .section-header h2 {
      font-size: 28px;
    }
  
    .testimonials-slider {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 576px) {
    .products-grid {
      grid-template-columns: 1fr;
    }
  
    .cart-table {
      display: block;
      overflow-x: auto;
    }
  
    .quantity-controls input {
      width: 40px;
    }
  
    .footer-content {
      grid-template-columns: 1fr;
    }
  }
  