/* === Mobile First (base) === */
.product {
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: #222;
}

.product-header {
  margin-bottom: 24px;
  text-align: center;
}

.product-content-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.product-item {
  display: flex;
  flex-direction: column;
  color: var(--primary-color);
  text-align: center;
}

.product-link {
  text-decoration: none;
  color: inherit;
}

.product-image {
  width: 80%;
  max-width: 350px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.product-item p,
ul,
li {
  font-size: 13px;
  margin-top: 4px;
}

.product-item h3 {
  padding-top: 10px;
  padding-right: 10px;
  padding-left: 10px;
  font-size: 18px;
  background: linear-gradient(to right, var(--h1-primary) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-item .product-info-wrapper {
  width: 50%;
  margin: 0 auto;
  margin-top: 1rem;
  padding: 30px;
}

.form-container {
  width: 50%;
  margin: 0 auto;
}

.form-group {
  width: 100%;
}

.select-fixed-height input,
.select-fixed-height select {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.btn-form.btn-add-cart {
  width: 100%;
  background-color: #007bff;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.btn-form.btn-add-cart:hover {
  background-color: #0056b3;
}

.form-errors {
  color: #c0392b;
  font-size: 0.9rem;
  text-align: center;
}

.rating-container {
  margin-top: 16px;
  text-align: center;
}

.product-rating {
  color: #f5c518;
  /* gold color for stars */
  font-size: 1.2rem;
  font-weight: 600;
}

.product-link-rating {
  font-size: 0.95rem;
  color: #555;
  margin-left: 6px;
}

.pack-description {
  padding: 20px;
  text-align: center;
}

.pack-detail .pack-price {
  padding: 20px;
  text-align: center;
}

.pack-intro,
.pack-item {
  position: relative;
  /* 👈 CRUCIAL */
  padding-bottom: 10px;
  /* espace pour la ligne */
  margin-bottom: 10px;
  /* respiration */
}

.pack-intro::after,
.pack-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1.5px;
  background: linear-gradient(to right, transparent, var(--background-color-2), transparent);
}

.pack-item-name {
  font-size: 22px;
  background: linear-gradient(to right, var(--background-color-2) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 auto;
  text-align: center
}

.quantity-selector {
  display: flex;
  flex-direction: column;
}

.quantity-selector label {
  text-align: center;
}