body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #e0e0e0; /* gris clair */
}

.container {
  max-width: 1000px;
  margin: 40px auto;
  background-color: #d0d0d0; /* gris */
  border: 3px solid white; /* contour blanc plus épais */
  padding: 20px;
  text-align: left; /* contenu justifié à gauche */
}

.site-header {
  background-color: #323030; /* bande noire */
  padding: 16px 0;
  text-align: center;
  border-bottom: 2px solid #999; /* ligne séparatrice style rétro */
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1); /* léger relief */
}

.site-logo {
  max-width: 100px;
  height: auto;
  filter: grayscale(100%) contrast(120%) brightness(95%);
  image-rendering: pixelated; /* effet rétro pixel si petite image */
  border: 2px solid #fff;
  padding: 4px;
  background-color: #625d5d;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #555; /* effet creux */
}

.main-image {
  border: 2px solid white;
  display: block;
  width: 80%;
  margin: 0 auto;
  background-color: white;
}

.thumbs {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 10px;
}

.thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s;
}

.thumbs img:hover {
  transform: scale(1.05);
}

.title {
  font-size: 24px;
  margin: 20px 0 10px;
  text-align: left;
}

.price-quantity {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.price {
  font-size: 20px;
  color: #333;
}

.quantity-total-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.quantity-selector {
  display: flex;
  height: 40px;
  border: 1px solid black;
  border-radius: 0; /* pas de coins arrondis */
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.quantity-selector:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* ombre douce */
}

.quantity {
  font-size: 18px;
  background-color: #f5f5f5;
  border-right: 2px solid #999;
  width: 40px;
  text-align: center;
  line-height: 40px;
  color: #111;
}


.buttons {
  display: flex;
  height: 100%;
}

.buttons button {
  flex: 1;
  background-color: #ddd;
  color: #111;
  border: 2px solid #999;
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  cursor: pointer;
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #666;
  transition: all 0.1s ease;
}

.buttons button:hover {
  background-color: #ccc;
}

.buttons button:active {
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #666;
}

.total-price {
  font-size: 16px;
  margin-top: 8px;
  color: #222;
  font-weight: bold;
  text-align: left;
  margin-bottom: 2px
}

.cart-link {
  margin-top: 2px;
  display: inline-block;
}

.cart-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}

.cart-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(3px 3px 4px rgba(0,0,0,0.5));
}

.description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
  color: #444;
  text-align: left;
  margin-top: 2px;
}

.product-nav {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.product-nav a {
  text-decoration: none;
  color: white;
  background-color: #444;
  padding: 6px 12px;
  transition: background-color 0.2s ease;
}



.product-nav {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.retro-button {
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: #fff;
  background-color: #555;
  padding: 6px 14px;
  font-weight: bold;
  font-style: italic;
  text-shadow: 1px 1px 0 #000;
  transition: background-color 0.2s, transform 0.1s;
}


.retro-button:active {
  box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #000;
}

