/* --- Produit ID 9655 --- */

/* Masquer les métadonnées inutiles */
body.single-product.postid-9655 .entry-meta, body.single-product.postid-9655 ul.tabs.wc-tabs {
  display: none !important;
}

/* Mise en page générale */
body.single-product.postid-9655 .product {
  display: flex;
  flex-direction: column;
  font-family: "Playfair Display", Georgia, serif;
  color: #2a2a2a;
  line-height: 1.7;
}

/* Image produit en pleine largeur */
body.single-product.postid-9655 .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto 2.5rem auto;
}
body.single-product.postid-9655 .woocommerce-product-gallery__wrapper img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Variables locales */
body.single-product.postid-9655 {
  --specs-bg: #ffffff;
  --specs-chip: #f1f1f1;
  --specs-text: #2a2a2a;
  --specs-shadow: 0 6px 22px rgba(0,0,0,0.08);
  --specs-radius: 14px;
}

/* Bloc "À propos du livre" */
body.single-product.postid-9655 .summary.entry-summary {
  width: 100% !important;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

body.single-product.postid-9655 .book-presentation {
  margin-top: 2rem;
  text-align: left;
  background: #fff;
  padding: 2.5rem;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.single-product.postid-9655 .book-presentation:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
body.single-product.postid-9655 .book-presentation h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Blockquote */
body.single-product.postid-9655 .book-presentation blockquote {
  background: #f9f9f9;
  border: none;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
}
body.single-product.postid-9655 .book-presentation blockquote::before {
  content: "";
}
body.single-product.postid-9655 .book-presentation blockquote::after {
  content: "”";
  font-size: 3rem;
  position: absolute;
  right: 15px;
  bottom: -20px;
  color: #ccc;
  font-family: Georgia, serif;
}

/* Fiche technique (UL) */
body.single-product.postid-9655 .book-presentation ul {
  list-style: none;
  padding: 1.25rem;
  margin: 1.5rem 0 0;
  background: var(--specs-bg);
  border-radius: var(--specs-radius);
  border: 1px solid rgba(0,0,0,0.05);
}
body.single-product.postid-9655 .book-presentation ul li {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: start;
  gap: 0.9rem 1.25rem;
  padding: 0.75rem 0.75rem;
  border-radius: 10px;
  color: var(--specs-text);
}
body.single-product.postid-9655 .book-presentation ul li + li {
  border-top: 1px dashed rgba(0,0,0,0.08);
}
body.single-product.postid-9655 .book-presentation ul li > strong {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #111;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
}

body.single-product.postid-9655 .book-presentation ul li > strong + * {
  color: var(--specs-text);
  font-size: 1rem;
}
body.single-product.postid-9655 .book-presentation ul li:hover {
  background: #fafafa;
}

/* Responsive */
@media (max-width: 600px) {
  body.single-product.postid-9655 .book-presentation ul li {
    grid-template-columns: 1fr;
  }
  body.single-product.postid-9655 .book-presentation ul li > strong {
    width: fit-content;
  }
}

/* Prix */
body.single-product.postid-9655 .price {
  display: inline-block;
  background: #f1f1f1;
  color: #000 !important;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  margin: 2rem auto 1rem auto;
  text-align: center;
}
body.single-product.postid-9655 .summary.entry-summary .price {
  display: block;
}
body.single-product.postid-9655 .summary.entry-summary > .price {
  display: none;
}

/* Zone quantité + bouton */
body.single-product.postid-9655 form.cart {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 2rem 0;
}
body.single-product.postid-9655 .quantity input.qty {
  width: 70px;
  height: 44px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}
body.single-product.postid-9655 .quantity input.qty:focus {
  border-color: #000;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}

/* Bouton Ajouter au panier */
body.single-product.postid-9655 .single_add_to_cart_button {
  background: #000;
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
body.single-product.postid-9655 .single_add_to_cart_button:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Prix ramené dans le formulaire */
body.single-product.postid-9655 form.cart::before {
  content: "14,00 $"; /* 💡 Mets ton prix actuel ici manuellement */
  display: block;
  background: #f1f1f1;
  color: #000;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  margin-bottom: 0.5rem;
}

.menu-btn a {
  border: 1px solid #000 !important;
  color: #000 !important;
  padding: 8px 8px;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
	z-index:1000 !important;
}

.menu-btn a:hover {
  background-color: #000;
  color: #fff !important;
}

.epub-promo {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin: 40px 0;
}

.epub-promo-cover img {
  max-width: 180px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.epub-promo-cover img:hover {
  transform: scale(1.05);
}

.epub-promo-content h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: #2a2a2a;
}

.epub-promo-content p {
  margin: 0 0 15px;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

.epub-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
	border:#000 1px solid;
  text-decoration: none;
  transition: all 0.3s ease;
}

.epub-btn:hover {
  background: #000;
	color:#fff;
  transform: translateY(-2px);
}
