/* Floz Raku — fiche produit. Scope limité aux fiches, sans dépendance. */
body#product nav.breadcrumb { margin-bottom: 24px; }
body#product .fz-product { padding-bottom: 48px; }
body#product .fz-product > .row > div { min-width: 0; }
body#product .fz-product .product-cover {
  border: 0;
  border-radius: 16px;
  box-shadow: none;
  background: #fff;
}
body#product .fz-product .product-cover img {
  display: block;
  width: 100%;
  object-fit: contain;
}
body#product .fz-product h1.product-detail-name {
  max-width: 18ch;
  margin-bottom: 20px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
  text-wrap: balance;
}
body#product .fz-product h1.product-detail-name::before { display: none; }
body#product .fz-product .product-prices { margin-bottom: 22px; }
body#product .fz-product .current-price { font-variant-numeric: tabular-nums; }
body#product .fz-product .description-short {
  max-width: 58ch;
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.75;
}
body#product .fz-product .product-quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
body#product .fz-product .product-quantity .add { flex: 1 1 180px; }
body#product .fz-product .product-quantity .add-to-cart {
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: .06em;
  white-space: normal;
  line-height: 1.4;
}
body#product .fz-product .product-quantity .qty { flex: 0 0 auto; }
body#product .fz-product .product-quantity .leo-compare-wishlist-button { flex: 0 0 50px; }
body#product .fz-product .product-quantity .leo-wishlist-button { min-width: 50px; min-height: 50px; }
body#product #ps-checkout-express-button { max-width: 100%; margin-top: 12px; }
body#product .fz-reassure {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 26px 0 0;
  padding: 24px 0 0;
}
body#product .fz-reassure li,
body#product .fz-reassure li:nth-child(odd) {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 0;
  border: 0;
  font-size: 12px;
  line-height: 1.6;
}
body#product .fz-reassure li strong { margin-bottom: 2px; font-size: 13px; line-height: 1.45; }
body#product .fz-reassure__icon,
body#product .fz-reassure__icon svg { width: 24px; height: 24px; }
body#product .fz-product .product-tabs {
  margin: 48px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
body#product .fz-product .product-tabs .nav-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0;
  border-bottom: 1px solid #e7dfd5;
}
body#product .fz-product .product-tabs .nav-tabs .nav-link {
  margin: 0;
  padding: 18px 0;
  min-height: 48px;
  font-size: 12px;
  letter-spacing: .09em;
}
/* Le thème combine Bootstrap historique et récent : une pane active doit rester visible. */
body#product .fz-product .product-tabs .tab-pane.active { opacity: 1; }
body#product .fz-product .product-tabs .tab-content {
  min-height: 0;
  padding: 28px 0 0;
}
body#product .fz-product .product-description { max-width: 80ch; font-size: 15px; line-height: 1.8; }
body#product .fz-product .product-description h3 { margin: 28px 0 12px; font-size: 27px; }
body#product .fz-product #product_reviews_block_tab { padding: 12px 0; }
body#product .fz-product #product_reviews_block_tab .align_center { text-align: left; margin: 0; }
body#product .fz-product .fz-related {
  display: block;
  margin: 32px 0 0;
  padding: 0;
  border-top: 0;
}
body#product .fz-related__head { margin-bottom: 24px; }
body#product .fz-related__head .fz-eyebrow { display: none; }
body#product .fz-related__title { margin: 0; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; }
body#product .fz-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body#product .fz-related .fz-card .product-title { min-height: 2.8em; }
body#product .fz-product > .page-footer:empty,
body#product #footer .footer-top:empty { display: none; }
body#product #footer { margin-top: 48px; }
body#product .fz-product :is(a, button, input):focus-visible { outline: 2px solid #287c79; outline-offset: 4px; }
@media (min-width: 992px) {
  body#product .fz-product > .row { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: 40px; margin: 0; }
  body#product .fz-product > .row > div { width: auto; max-width: none; padding: 0; }
  body#product .fz-product > .row > div:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
  body#product .fz-product h1.product-detail-name { max-width: 24ch; margin-top: 24px; }
  body#product .fz-product .product-tabs { margin-top: 32px; }
}
@media (max-width: 767px) {
  body#product nav.breadcrumb { margin-bottom: 16px; }
  body#product .fz-product .product-tabs { padding: 0; }
  body#product .fz-product .product-tabs .nav-tabs,
  body#product .fz-product .product-tabs .tab-content { display: contents; }
  body#product .fz-product .product-tabs .nav-tabs .nav-link { display: flex; padding: 18px 0; }
  body#product .fz-product .product-tabs .tab-pane.active { padding: 4px 0 24px; }
  body#product .fz-product .fz-related { margin-top: 24px; padding-top: 0; }
  body#product .fz-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  body#product #footer { margin-top: 32px; }
}
@media (max-width: 479px) {
  body#product .fz-product .product-quantity { gap: 10px; }
  body#product .fz-product .product-quantity .add { flex-basis: calc(100% - 62px); order: 2; }
  body#product .fz-product .product-quantity .qty { flex-basis: 100%; order: 1; }
  body#product .fz-product .product-quantity .leo-compare-wishlist-button { order: 3; }
  body#product .fz-reassure { gap: 16px 12px; }
  body#product .fz-related__grid { grid-template-columns: minmax(0, 1fr); }
  body#product .fz-related__item:nth-child(3) { display: block; }
}

/* Finitions de la galerie et du fil d’Ariane — 27 octobre. */
body#product nav.breadcrumb ol { align-items: center; gap: 6px 0; }
body#product nav.breadcrumb ol > li {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 24px;
  line-height: 1.5;
  font-size: 13px;
}
body#product nav.breadcrumb ol > li :is(a, span) { line-height: inherit; vertical-align: baseline; }
body#product nav.breadcrumb ol > li::after { align-self: center; line-height: inherit; }
body#product .fz-product .product-cover { height: auto; }
body#product .fz-product .product-cover > img { height: auto; aspect-ratio: auto; }
body#product .fz-product .product-thumb-images .thumb-container,
body#product .fz-product .product-thumb-images .thumb-container :is(a, img),
body#product .fz-product .product-thumb-images .thumb-container.active img,
body#product .fz-product .product-thumb-images .thumb-container img.selected {
  border: 0 !important;
  box-shadow: none !important;
}
body#product .fz-product .product-thumb-images .thumb-container a { display: block; overflow: hidden; border-radius: 10px; }
body#product .fz-product .product-thumb-images .thumb-container img { width: 100%; aspect-ratio: 1; object-fit: cover; }
body#product .fz-product .product-thumb-images .thumb-container.active { opacity: 1; }
body#product .fz-product .product-thumb-images .thumb-container a:focus-visible { outline: 2px solid #287c79; outline-offset: -3px; }

/* Origine et geste artisanal, au plus près du choix d’achat. */
body#product .fz-product h1.product-detail-name { margin-bottom: 12px; }
body#product .fz-origin { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #286e6b; font-size: 13px; font-weight: 500; }
body#product .fz-origin svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
body#product .fz-workshop-rating { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 20px; color: #655c52; font-size: 12px; text-underline-offset: 4px; }
body#product .fz-workshop-rating span { color: #286e6b; font-weight: 600; }
body#product .fz-product .product-prices { margin-bottom: 18px; }
body#product .fz-product .product-prices .tax-shipping-delivery-label { margin-top: 4px; }
body#product .fz-product .description-short { margin-bottom: 20px; padding-top: 0; }
body#product .fz-at-a-glance { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 20px; padding: 0; }
body#product .fz-at-a-glance > div { min-width: 0; max-width: 100%; }
body#product .fz-at-a-glance dt { margin: 0 0 3px; color: #6e655a; font-size: 11px; font-weight: 400; }
body#product .fz-at-a-glance dd { margin: 0; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
body#product .fz-maker-note { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding: 16px 0; border-top: 1px solid #e7dfd5; border-bottom: 1px solid #e7dfd5; }
body#product .fz-maker-note img { width: 64px; height: 72px; flex: 0 0 64px; border-radius: 8px; object-fit: cover; }
body#product .fz-maker-note p { margin: 0; color: #655c52; font-size: 12px; line-height: 1.65; }
body#product .fz-maker-note strong { display: block; margin-bottom: 3px; color: #252522; font-size: 13px; font-weight: 500; }
body#product .fz-maker-note a { color: #286e6b; text-decoration: underline; text-underline-offset: 3px; }

/* Avis d’atelier explicitement séparés des avis de la pièce. */
body#product .fz-workshop-reviews { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; padding: 8px 0 0; border-bottom: 0; margin-bottom: 12px; }
body#product .fz-workshop-reviews h3 { margin: 0 0 10px; font-family: var(--fz-serif); font-size: 32px; font-weight: 500; }
body#product .fz-workshop-reviews__intro p { max-width: 38ch; font-size: 13px; line-height: 1.7; color: #655c52; }
body#product .fz-workshop-reviews__intro a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; color: #286e6b; text-decoration: underline; text-underline-offset: 4px; }
body#product .fz-workshop-reviews figure { margin: 0; }
body#product .fz-workshop-reviews figure + figure { margin-top: 24px; }
body#product .fz-workshop-reviews blockquote { margin: 0 0 10px; padding: 0; border: 0; color: #252522; font-family: var(--fz-serif); font-size: 25px; font-style: normal; line-height: 1.35; }
body#product .fz-workshop-reviews figcaption { font-size: 11px; line-height: 1.7; color: #655c52; }
body#product .fz-workshop-reviews figcaption strong { font-weight: 500; color: #252522; }
body#product .fz-workshop-reviews figcaption span { display: block; }

/* Les recommandations restent secondaires : images carrées, moins hautes. */
body#product .fz-related .fz-card .product-image { aspect-ratio: 1; }
body#product .fz-related .fz-card .product-thumbnail { height: 100%; }
body#product .fz-related .fz-card .product-thumbnail img { height: 100%; object-fit: cover; }
body#product .fz-related .fz-card .product-meta { padding: 16px; }
body#product .fz-related .fz-card .product-title { min-height: 0; }

/* Invitation à l’atelier, photographies et informations déjà présentes sur le site. */
body#product .fz-product-course { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; margin: 56px 0 0; overflow: hidden; border-radius: 16px; background: #eee5d9; }
body#product .fz-product-course__photo { display: block; min-height: 320px; }
body#product .fz-product-course__photo img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
body#product .fz-product-course__body { align-self: center; padding: clamp(28px, 4vw, 56px); }
body#product .fz-product-course h2 { margin: 0 0 20px; font-family: var(--fz-serif); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; font-weight: 500; color: #252522; }
body#product .fz-product-course p { margin: 0 0 18px; color: #655c52; font-size: 14px; line-height: 1.75; max-width: 48ch; }
body#product .fz-product-course .fz-product-course__practical { font-size: 12px; color: #514b43; }
body#product .fz-product-course__button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 14px 22px; border-radius: 999px; background: #287c79; color: #fff; font-size: 13px; line-height: 1.4; text-align: center; }
body#product .fz-product-course__button:hover { background: #216562; color: #fff; }
body#product .fz-product-course__button svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
body#product .fz-product-course__link { display: block; width: fit-content; margin-top: 14px; padding: 8px 0; font-size: 12px; line-height: 1.5; color: #286e6b; text-decoration: underline; text-underline-offset: 3px; }
/* Le hook FooterBefore est vide mais son enveloppe possède un padding hérité. */
body#product #footer .footer-top:has(.inner:empty) { display: none; }
body#product .fz-product > .page-footer { padding: 0; margin: 0; min-height: 0; }
body#product #footer { margin-top: 0; }
body#product #wrapper { padding-bottom: 0; }
body#product .fz-product-course + * { margin-top: 0; }
@media (max-width: 767px) {
  body#product .fz-workshop-reviews { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body#product .fz-product-course { grid-template-columns: minmax(0, 1fr); margin-top: 32px; border-radius: 12px; }
  body#product .fz-product-course__photo { min-height: 0; height: 240px; }
  body#product .fz-product-course__photo img { height: 240px; }
  body#product .fz-product-course__body { padding: 26px 22px; }
  body#product .fz-product-course h2 br { display: none; }
  body#product .fz-product-course__button { width: 100%; }
  body#product .fz-at-a-glance { gap: 12px 20px; }
}

/* Cours : informations utiles avant la réservation, sans promotion croisée. */
body#product .fz-course-practical { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 20px; padding: 18px 0; border-top: 1px solid #e7dfd5; border-bottom: 1px solid #e7dfd5; }
body#product .fz-course-practical dt { margin: 0 0 5px; color: #655c52; font-size: 11px; font-weight: 400; }
body#product .fz-course-practical dd { margin: 0; color: #252522; font-size: 13px; font-weight: 500; line-height: 1.6; }
body#product .fz-course-note { border-top: 0; padding-top: 0; }
body#product .fz-course-question { margin: 0 0 24px; font-size: 12px; line-height: 1.7; color: #655c52; }
body#product .fz-course-question a { display: inline-block; padding: 8px 0; color: #286e6b; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  body#product .fz-product { padding-bottom: 32px; }
  body#product .fz-course-practical { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body#product .fz-course-practical > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px; }
}

/* Galerie : commandes discrètes, comportement Slick conservé. */
body#product .fz-product .product-thumb-images:has(.slick-arrow:not(.slick-hidden)) { top: 44px; }
body#product .fz-product .product-thumb-images .slick-arrow:not(.slick-hidden) {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  left: calc(50% - 22px) !important;
  right: auto !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #655c52;
  line-height: 1;
  transform: none;
  box-shadow: none;
}
body#product .fz-product .product-thumb-images .slick-arrow.slick-next { top: -44px; bottom: auto; }
body#product .fz-product .product-thumb-images .slick-arrow.slick-next::before { align-self: end; margin: 0 0 8px; }
body#product .fz-product .product-thumb-images .slick-arrow.slick-prev { top: auto; bottom: -44px; }
body#product .fz-product .product-thumb-images .slick-arrow::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 4px 0 0;
  border: solid currentColor;
  border-width: 1.5px 0 0 1.5px;
  transform: rotate(45deg);
  opacity: 1;
}
body#product .fz-product .product-thumb-images .slick-arrow.slick-prev::before { margin: -4px 0 0; transform: rotate(225deg); }
body#product .fz-product .product-thumb-images .slick-arrow:hover { background: transparent; color: #286e6b; }
body#product .fz-product .product-thumb-images .slick-arrow:focus-visible { outline: 2px solid #287c79; outline-offset: 2px; }
body#product .fz-product .product-thumb-images .slick-arrow.slick-disabled { opacity: .4; cursor: default; }

/* Cours : calendrier des samedis (module fzcours) */
body#product #wrapper .fz-samedi { margin: 14px 0; padding: 14px; border: 1px solid #e9e1d6; border-radius: 16px; background: #faf6f0; }
body#product #wrapper .fz-samedi__titre { margin: 0 0 10px; font-weight: 600; color: #3d3833; }
body#product #wrapper .fz-samedi__titre span { font-weight: 400; color: #8a8178; }
body#product #wrapper .fz-cal.is-js .fz-cal__mois:not(.is-actif) { display: none; }
body#product #wrapper .fz-cal__mois + .fz-cal__mois { margin-top: 12px; }
body#product #wrapper .fz-cal__tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
body#product #wrapper .fz-cal__nom { font-weight: 600; color: #3d3833; }
body#product #wrapper .fz-cal:not(.is-js) .fz-cal__nav { visibility: hidden; }
body#product #wrapper .fz-cal__nav { width: 36px; height: 36px; border: 1px solid #e9e1d6; border-radius: 50%; background: #fff; color: #3d3833; font-size: 20px; line-height: 1; cursor: pointer; }
body#product #wrapper .fz-cal__nav:disabled { opacity: .35; cursor: default; }
body#product #wrapper .fz-cal__grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
body#product #wrapper .fz-cal__js { font-size: 11px; color: #8a8178; padding: 2px 0; }
body#product #wrapper .fz-cal__jour { padding: 8px 0; font-size: 13px; color: #c3bbb1; }
body#product #wrapper .fz-cal__samedi { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 4px 0; border: 1px solid #2f8784; border-radius: 10px; background: #fff; color: #2f8784; font-weight: 600; font-size: 15px; line-height: 1.1; cursor: pointer; transition: background-color .15s, color .15s; }
body#product #wrapper .fz-cal__samedi small { font-size: 10px; font-weight: 500; }
body#product #wrapper .fz-cal__samedi:hover, body#product #wrapper .fz-cal__samedi:focus-visible { background: #e6f1f0; }
body#product #wrapper .fz-cal__samedi.is-choisi { background: #2f8784; color: #fff; }
body#product #wrapper .fz-cal__samedi.is-complet { border-color: #e9e1d6; background: transparent; color: #b9b3ab; cursor: not-allowed; text-decoration: line-through; }
body#product #wrapper .fz-samedi__ok { margin: 10px 0 0; color: #2f8784; font-weight: 600; }
body#product #wrapper .fz-samedi__aide { margin: 4px 0 0; font-size: 13px; color: #8a8178; }
body#product #wrapper .fz-samedi { scroll-margin-top: 90px; }
body#product #wrapper label.fz-cal__samedi { margin: 0; position: relative; }
body#product #wrapper label.fz-cal__samedi input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body#product #wrapper label.fz-cal__samedi:focus-within { outline: 2px solid #2f8784; outline-offset: 2px; }
body#product #wrapper label.fz-cal__samedi:has(input:disabled:not(:checked)):not(.is-complet) { opacity: .45; cursor: default; }
body#product #wrapper .fz-samedi__valider { width: 100%; margin-top: 12px; min-height: 46px; border-radius: 999px; }
body#product #wrapper .fz-samedi__valider:disabled { opacity: .5; }
body#product #wrapper .fz-samedi__ok { padding: 8px 12px; border-radius: 10px; background: #e6f1f0; }
