/* styles.css - Feuille de style principale pour le catalogue Maison Jeanjean */

/* Chargement de la police Playfair Display depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&display=swap');

/* styles.css - Feuille de style principale pour le catalogue Maison Jeanjean */

/* Style pour le logo texte */
.logo-text {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 1px;
  margin: 0;
}

/* Réinitialisation et variables globales */
:root {
  --primary-color: #896d4a; /* Couleur dorée/ambrée pour rappeler les parfums orientaux */
  /* ... le reste de vos variables ... */
}

/* ... le reste de votre CSS ... */

/* Réinitialisation et variables globales */
:root {
    --primary-color: #896d4a; /* Couleur dorée/ambrée pour rappeler les parfums orientaux */
    --secondary-color: #333333;
    --light-color: #f8f5f0;
    --border-color: #e0d5c1;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #4a8950;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Raleway', Arial, sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--light-color);
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .hidden {
    display: none !important;
  }
  
  /* Page de connexion */
  .login-form {
    max-width: 500px;
    margin: 100px auto;
    padding: 40px;
    background-color: white;
    box-shadow: 0 5px 15px var(--shadow-color);
    border-radius: 8px;
    text-align: center;
  }
  
  .login-form h1 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    color: var(--primary-color);
    margin-bottom: 10px;
  }
  
  .login-form h2 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: normal;
    margin-bottom: 30px;
  }
  
  .form-group {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
  }
  
  .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
  }
  
  .btn-primary:hover {
    background-color: #7a5f3d;
  }
  
  .login-footer {
    margin-top: 30px;
    font-size: 14px;
    color: #666;
  }
  
  /* En-tête du catalogue */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
  }
  
  .logo img {
    height: 60px;
  }
  
  .header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .currency-converter select,
  .filters select,
  .sort select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
  }
  
  .cart-summary {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
  }
  
  /* Contrôles du catalogue */
  .catalogue-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .search-bar input {
    padding: 10px 12px;
    width: 300px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
  }
  
  /* Grille de produits */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }
  
  .product-image {
    height: 200px;
    overflow: hidden;
  }
  
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
  
  .product-card:hover .product-image img {
    transform: scale(1.05);
  }
  
  .product-info {
    padding: 20px;
  }
  
  .product-info h3 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    color: var(--secondary-color);
    margin-bottom: 10px;
  }
  
  .product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    height: 60px;
    overflow: hidden;
  }
  
  .product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
  }
  
  .product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .product-select {
    width: 18px;
    height: 18px;
    cursor: pointer;
  }
  
  /* Modal panier */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .modal-header h2 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    color: var(--primary-color);
  }
  
  .close-modal,
  .close-email-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  #cart-items {
    margin-bottom: 20px;
  }
  
  .cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .cart-item-details {
    flex-grow: 1;
  }
  
  .cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .remove-item {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #999;
  }
  
  .cart-total {
    text-align: right;
    padding: 20px 0;
    font-size: 18px;
  }
  
  .modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-top: 1px solid var(--border-color);
  }
  
  .btn-tertiary {
    background-color: white;
    color: #999;
    border: 1px solid #999;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .btn-tertiary:hover {
    background-color: #f0f0f0;
  }
  
  .btn-text {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
  }
  
  /* Formulaire email */
  textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    resize: vertical;
  }
  
  /* Pied de page */
  footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    color: #666;
    font-size: 14px;
  }
  
  /* Design responsive */
  @media (max-width: 768px) {
    header {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }
    
    .header-controls {
      width: 100%;
      flex-direction: column;
      align-items: flex-start;
    }
    
    .cart-summary {
      width: 100%;
      justify-content: space-between;
    }
    
    .catalogue-controls {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .search-bar input {
      width: 100%;
    }
    
    .products-grid {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .product-description {
      height: auto;
    }
    
    .modal-footer {
      flex-direction: column;
      gap: 10px;
    }
    
    .btn-primary, 
    .btn-secondary, 
    .btn-tertiary {
      width: 100%;
    }
  }