/* Définition des couleurs principales */
:root {
  --rose: #E8B4B8;
  --olive: #7A8C6E;
  --beige: #F9F7F1;
  --charbon: #2E2E2E;
}

/* Réinitialisation de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--beige);
  color: var(--charbon);
  line-height: 1.6;
}

/* En-tête */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--beige);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--rose);
  font-family: 'Great Vibes', cursive;
}

.logo span {
  font-size: 1rem;
  color: var(--olive);
}


.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: var(--olive);
  font-weight: bold;
}

.navbar-brand span {
  color: var(--rose);
}

.nav-link {
  font-weight: bold;
  color: var(--charbon) !important;
}

.nav-link:hover {
  color: var(--rose) !important;
}


/* Bannière principale */
.hero {
  background: url('hero.jpg') center/cover no-repeat;
  padding: 100px 20px;
  text-align: center;
  color: var(--olive);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  background-color: var(--rose);
  color: var(--charbon);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Produits en vedette */
.featured-products {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

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

.product-grid img {
  width: 100%;
  border-radius: 8px;
}

/* Valeurs de la marque */
.brand-values {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--rose);
  color: white;
}

.brand-values h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.brand-values p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Pied de page */
.site-footer {
  text-align: center;
  padding: 20px;
  background-color: var(--olive);
  color: white;
}

/* Titre de la page boutique */
.page-title {
  text-align: center;
  padding: 40px 20px;
  background-color: var(--beige);
  color: var(--charbon);
}

.page-title h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-title p {
  font-size: 1.2rem;
  color: var(--olive);
}

/* Grille de produits */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  background-color: var(--beige);
}

.product-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.product-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--charbon);
}

.product-card p {
  font-size: 1rem;
  color: var(--olive);
  margin-bottom: 15px;
}

.product-card .btn {
  background-color: var(--rose);
  color: var(--charbon);
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
}
/* Section fiche produit */
.product-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  background-color: var(--beige);
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-info {
  max-width: 500px;
}

.product-info h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--charbon);
}

.product-info .price {
  font-size: 1.5rem;
  color: var(--olive);
  margin-bottom: 15px;
}

.product-info .description {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--charbon);
}

.product-info label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.product-info select {
  padding: 8px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid var(--olive);
  width: 100%;
}

.product-info .btn {
  background-color: var(--rose);
  color: var(--charbon);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
}
/* Galerie d’images */
.product-gallery {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.product-gallery img {
  width: 100px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-gallery img:hover {
  transform: scale(1.05);
}

/* Compteur de stock */
.stock {
  font-weight: bold;
  color: var(--olive);
  margin-bottom: 20px;
}

/* Avis clients */
.customer-reviews {
  margin-top: 40px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.customer-reviews h3 {
  margin-bottom: 15px;
  color: var(--charbon);
}

.review {
  margin-bottom: 15px;
}

.review strong {
  display: block;
  margin-bottom: 5px;
  color: var(--rose);
}
/* Section panier */
.cart {
  padding: 40px 20px;
  background-color: var(--beige);
}

.cart table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.cart th, .cart td {
  border-bottom: 1px solid #ddd;
  padding: 15px;
  text-align: center;
}

.cart input[type="number"] {
  width: 60px;
  padding: 5px;
  border: 1px solid var(--olive);
  border-radius: 5px;
}

.cart-total {
  text-align: right;
  font-size: 1.2rem;
  color: var(--charbon);
}

.cart-total .btn {
  margin-top: 10px;
  background-color: var(--rose);
  color: var(--charbon);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
/* Page Merci */
.thank-you {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
  background-color: var(--beige);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.thank-you h2 {
  font-size: 2.5rem;
  color: var(--rose);
  margin-bottom: 10px;
}

.thank-you p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--charbon);
}

.founder-note {
  margin-top: 30px;
  background-color: white;
  padding: 20px;
  border-left: 4px solid var(--rose);
  border-radius: 8px;
  font-style: italic;
}

.founder-note h3 {
  margin-bottom: 10px;
  color: var(--olive);
}

.thank-you .btn {
  margin-top: 20px;
  background-color: var(--rose);
  color: var(--charbon);
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
}

.social {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--olive);
}
/* Section de connexion */
.login-section {
  max-width: 400px;
  margin: 80px auto;
  background-color: var(--beige);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.login-section h2 {
  margin-bottom: 20px;
  color: var(--charbon);
}

.login-section label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: var(--olive);
}

.login-section input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid var(--olive);
  border-radius: 5px;
}

.login-section .btn {
  margin-top: 25px;
  background-color: var(--rose);
  color: var(--charbon);
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.login-message {
  margin-top: 20px;
  font-weight: bold;
}
/* Section Mon compte */
.account-section {
  max-width: 800px;
  margin: 60px auto;
  background-color: var(--beige);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.account-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--charbon);
}

.account-info, .order-history {
  margin-bottom: 30px;
}

.account-info h3, .order-history h3 {
  color: var(--olive);
  margin-bottom: 10px;
}

.account-info p {
  margin-bottom: 8px;
  font-size: 1rem;
}

.order-history table {
  width: 100%;
  border-collapse: collapse;
}

.order-history th, .order-history td {
  border-bottom: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.logout {
  display: block;
  text-align: center;
  margin-top: 20px;
  background-color: var(--olive);
  color: white;
}
/* Interface admin */
.admin-panel {
  max-width: 800px;
  margin: 60px auto;
  background-color: var(--beige);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-panel h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--charbon);
}

.admin-section {
  margin-bottom: 40px;
}

.admin-section h3 {
  color: var(--olive);
  margin-bottom: 15px;
}

.admin-section form input {
  padding: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--olive);
  border-radius: 5px;
}

.admin-section .btn {
  background-color: var(--rose);
  color: var(--charbon);
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.admin-section ul {
  list-style: none;
  padding-left: 0;
}

.admin-section li {
  margin-bottom: 10px;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
}

.admin-section table {
  width: 100%;
  border-collapse: collapse;
}

.admin-section th, .admin-section td {
  border-bottom: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.logout {
  display: block;
  text-align: center;
  margin-top: 20px;
  background-color: var(--olive);
  color: white;
}
/* Section inscription */
.signup-section {
  max-width: 400px;
  margin: 80px auto;
  background-color: var(--beige);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.signup-section h2 {
  margin-bottom: 20px;
  color: var(--charbon);
}

.signup-section label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: var(--olive);
}

.signup-section input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid var(--olive);
  border-radius: 5px;
}

.signup-section .btn {
  margin-top: 25px;
  background-color: var(--rose);
  color: var(--charbon);
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.signup-message {
  margin-top: 20px;
  font-weight: bold;
}
.form-ajout {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.form-ajout input,
.form-ajout textarea,
.form-ajout select {
  padding: 10px;
  border: 1px solid var(--olive);
  border-radius: 5px;
  font-size: 1rem;
}

.form-ajout button {
  background-color: var(--rose);
  color: var(--charbon);
  border: none;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
.admin-dashboard {
  text-align: center;
  padding: 40px 20px;
}

.admin-dashboard .btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 20px;
  background-color: var(--rose);
  color: var(--charbon);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.admin-dashboard .btn.logout {
  background-color: var(--olive);
}
.table-produits {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.table-produits th,
.table-produits td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.table-produits img {
  border-radius: 5px;
}
.table-produits input {
  width: 100px;
  padding: 5px;
  font-size: 0.9rem;
}

.table-produits button {
  background-color: var(--rose);
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.table-produits a {
  margin-left: 10px;
  color: red;
  text-decoration: none;
}
/* 🌿 Couleurs principales */
:root {
  --rose: #E8B4B8;
  --olive: #7A8C6E;
  --beige: #F9F7F1;
  --charbon: #2E2E2E;
}

/* 🧢 Header */
.site-header {
  background-color: var(--beige);
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

/* 📸 Logo
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain; 
  border-radius: 5px;
} 

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--rose);
  font-family: 'Great Vibes', cursive;
}

.logo span {
  font-size: 1rem;
  color: var(--olive);
}*/

/* 🍔 Bouton menu mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--charbon);
  cursor: pointer;
}

/* 🧭 Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--olive);
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.main-nav a:hover {
  background-color: var(--rose);
  color: white;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-bottom: 10px;
  }

  .main-nav {
    width: 100%;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    justify-content: space-between;
    width: 100%;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--charbon);
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-top: 10px;
  }

  .main-nav {
    width: 100%;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.search-form input {
  padding: 8px 12px;
  border: 1px solid var(--olive);
  border-radius: 5px;
  font-size: 1rem;
  width: 200px;
}

.search-form button {
  background-color: var(--rose);
  color: var(--charbon);
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .search-form {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .search-form input {
    width: 100%;
  }
}
/* 🎨 Couleurs principales */
:root {
  --rose: #E8B4B8;
  --olive: #7A8C6E;
  --beige: #F9F7F1;
  --charbon: #2E2E2E;
  --white: #ffffff;
}

/* 🔄 Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--beige);
  color: var(--charbon);
  line-height: 1.6;
}

/* 🧭 En-tête */
.site-header {
  background-color: var(--beige);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: var(--rose);
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav a {
  text-decoration: none;
  color: var(--charbon);
  font-weight: bold;
}
nav a:hover {
  color: var(--rose);
}

/* 📝 Section blog */
.blog-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}
.blog-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: center;
  color: var(--olive);
}
.blog-section p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: var(--charbon);
}

/* 🧱 Grille d’articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.blog-article {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  overflow: hidden;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}
.blog-article:hover {
  transform: translateY(-5px);
}
.blog-article img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-article h3 {
  margin: 15px;
  font-size: 20px;
  color: var(--rose);
}
.blog-article p {
  margin: 0 15px 15px;
  line-height: 1.5;
  color: var(--charbon);
}

/* 🔘 Bouton lire plus */
.btn {
  display: block;
  margin: 0 15px;
  padding: 10px 15px;
  background-color: var(--olive);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: var(--rose);
  color: var(--charbon);
}

/* 🧦 Pied de page */
.site-footer {
  background-color: var(--olive);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
/* 🎨 Palette Oumyya Shop */
:root {
  --rose: #E8B4B8;
  --olive: #7A8C6E;
  --beige: #F9F7F1;
  --charbon: #2E2E2E;
  --white: #ffffff;
}

/* 🔄 Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--beige);
  color: var(--charbon);
  line-height: 1.6;
}

/* 🧭 En-tête */
.site-header {
  background-color: var(--beige);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: var(--rose);
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav a {
  text-decoration: none;
  color: var(--charbon);
  font-weight: bold;
}
nav a:hover {
  color: var(--rose);
}

/* 📬 Section contact */
.contact-section {
  max-width: 700px;
  margin: 60px auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.contact-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--olive);
}
.contact-section p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: var(--charbon);
}

/* 📝 Formulaire */
.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--charbon);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--olive);
  border-radius: 5px;
  font-size: 1rem;
  background-color: var(--beige);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* 🔘 Bouton envoyer */
.contact-form .btn {
  background-color: var(--rose);
  color: var(--charbon);
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact-form .btn:hover {
  background-color: var(--olive);
  color: white;
}

/* ✅ Messages */
.message {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-weight: bold;
}
.success {
  background: #e6ffed;
  color: #28a745;
  border-left: 5px solid #28a745;
}
.error {
  background: #ffe6e6;
  color: #dc3545;
  border-left: 5px solid #dc3545;
}

/* 🧦 Pied de page */
.site-footer {
  background-color: var(--olive);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  .contact-section {
    padding: 20px;
    margin: 30px 15px;
  }
}
