/* GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5f5f5;
  color: #333;
}

/* HEADER */
header {
  background: #fff;
  padding: 15px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-weight: 600;
  font-size: 1.8em;
  color: #ff6b6b;
}

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

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff6b6b;
}

/* HERO */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('hero-bg.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.hero .btn {
  background: #ff6b6b;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero .btn:hover {
  background: #ff4757;
  transform: scale(1.05);
}

/* PRODUCTS */
.products {
  padding: 50px 20px;
  background: #fff;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 0.5s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.products h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
}

.product-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 12px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 25px rgba(0,0,0,0.25);
}

.card .btn {
  display: inline-block;
  background: #ff6b6b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-decoration: none;
}

.card .btn:hover {
  background: #ff4757;
  transform: scale(1.1);
}

/* CONTACT */
.contact {
  padding: 50px 20px;
  background: #f0f0f0;
  text-align: center;
}

.contact h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
}

.contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.contact button {
  width: 50%;
  padding: 12px 20px;
  background: #ff6b6b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact button:hover {
  background: #ff4757;
  transform: scale(1.05);
}

/* FOOTER */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 25px 20px;
}

footer a {
  color: #ff6b6b;
  text-decoration: none;
  .card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 25px rgba(0,0,0,0.25);
}

.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: scale(1.1);
  background-color: #ff4757;
}
}

footer a:hover {
  text-decoration: underline;
}
.products {
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 0.5s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}
.hero-buttons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(90deg, #ff6b6b, #ff9478);
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  background: #ffffff;
  color: #ff6b6b;
  border: 2px solid #ff6b6b;
}

.btn-secondary:hover {
  background: #ff6b6b;
  color: white;
}
on h2 {
  #shopora-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  background-color: #fff;
  border: 2px solid #007bff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

#chat-box {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  border-bottom: 1px solid #ddd;
}

#chat-input {
  border: none;
  padding: 10px;
  flex: none;
  width: calc(100% - 60px);
}

#chat-send {
  width: 50px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
}
/* === STYLE BOUTIQUE === */
.boutique-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px;
  background: #f8f9fa;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.product-card h3 {
  margin: 10px 0;
  color: #333;
  font-size: 1.1rem;
}

.product-card p {
  color: #777;
  font-size: 0.95rem;
}

.product-card .price {
  color: #e63946;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 5px;
}

.product-card button {
  background: #007bff;
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.product-card button:hover {
  background: #0056b3;
}

/* === STYLE PANIER === */
.cart-container {
  width: 90%;
  max-width: 800px;
  margin: 40px auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item h4 {
  flex: 1;
  margin-left: 15px;
  color: #333;
}

.cart-item .price {
  font-weight: bold;
  color: #e63946;
}

.cart-total {
  text-align: right;
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}

.checkout-btn {
  display: block;
  margin: 20px auto;
  background: #28a745;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.checkout-btn:hover {
  background: #1e7e34;
}
