/* ================== FOOTER ================== */
.footer {
  background: #111;
  color: #fff;
  padding: 60px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-section h2.logo {
  font-size: 24px;
  color: #ff9800;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #ff9800;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #bbb;
  text-decoration: none;
}

.footer-section a:hover {
  color: #ff9800;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section .social-icons {
  display: flex;
  gap: 15px;
}

.footer-section .social-icons a {
  font-size: 20px;
  color: #bbb;
  transition: color 0.3s;
}

.footer-section .social-icons a:hover {
  color: #ff9800;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 15px;
  font-size: 13px;
  color: #777;
}


/* ===== PAGE VENTE ===== */
.header {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('images/logo2.png') center/cover no-repeat;
  color: #fff;
}

.header h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.header p {
  font-size: 18px;
  opacity: 0.9;
}

.vente-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card i {
  font-size: 40px;
  color: #ff9800;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}

.card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  background: #ff9800;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #e68900;
}

.input-field {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  outline: none;
  transition: all 0.3s;
}

.input-field:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.btn-primary {
  background-color: #f97316;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #ea580c;
}

.login-container {
  max-width: 400px;
  margin: 5vh auto;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.register-container {
  max-width: 400px;
  margin: 5vh auto;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
  z-index: 9999;
  animation: fadeIn 0.5s ease-out;
}

.notification.success {
  background: #4caf50;
}

.notification.error {
  background: #f44336;
}

.notification.info {
  background: #2196f3;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }

  to {
    opacity: 0.95;
    transform: translate(-50%, 0);
  }
}

.banner {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('images/logo2.png') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 80px 20px;
  border-radius: 15px 15px 15px 15px;
}

.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.banner p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Cartes */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 50px 20px;
}

.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #f97316;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: 0.3s;
}
.floating-btn:hover {
  background: #f97316;
}