/* Général */
body {
  margin: 0;
  background: #0f0f0f;
  color: #f1f1f1;
  font-family: 'Segoe UI', sans-serif;
  padding: 1rem;
}

h1, h2, h3 {
  color: #f5c451;
  margin-bottom: 0.5rem;
}

p {
  line-height: 1.5;
}

/* En-tête */
.vitrine-header {
  text-align: center;
  padding: 1rem 0;
  border-bottom: 1px solid #333;
}

.vitrine-header .short {
  font-size: 1rem;
  color: #ccc;
}

.vitrine-header .stat {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #f5c451;
}

/* Produits */
.products {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid #f5c451;
  cursor: pointer;
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.01);
}

.card img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.card h3 {
  margin: 0.2rem 0;
}

/* Modales */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.95);
  padding: 2rem 1rem;
  z-index: 9999;
  overflow-y: auto;
}

.modal-content {
  max-width: 500px;
  margin: auto;
  background: #1b1b1b;
  padding: 1.5rem;
  border-radius: 10px;
  position: relative;
}

.modal-content .close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #f5c451;
  cursor: pointer;
}

/* ID Session */
.session-id {
  text-align: center;
  margin-top: 3rem;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}

.session-id code {
  color: #f5c451;
  font-weight: bold;
}

.session-id button {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f5c451;
  border: none;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
}

/* Avis client */
.review {
  margin-top: 3rem;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-left: 4px solid #f5c451;
  border-radius: 10px;
}

.review h3 {
  margin-bottom: 0.5rem;
}

.review .stars {
  font-size: 1.4rem;
  color: gold;
  margin-bottom: 0.8rem;
}

.review textarea {
  width: 100%;
  height: 80px;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 0.5rem;
  color: #fff;
  resize: none;
}

.review button {
  margin-top: 1rem;
  background: #f5c451;
  color: #000;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.review .confirmation {
  margin-top: 1rem;
  color: #7cff7c;
  font-size: 0.95rem;
}
.card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.modal-content img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.card img {
  aspect-ratio: 16/9;
}
