/*
 * LEC - fiche produit stable 1.29.7
 * Mise en page CSS-only : aucun recalcul JS apres chargement.
 */

@media (min-width: 992px) {
  /* Le wrapper WooCommerce devient la grille stable des la premiere peinture. */
  body.single-product div.product.type-product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: clamp(32px, 4vw, 72px) !important;
    row-gap: 32px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Galerie et resume WooCommerce : deux colonnes fixes, sans JS. */
  body.single-product div.product.type-product > .woocommerce-product-gallery,
  body.single-product div.product.type-product > .images {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product div.product.type-product > .summary,
  body.single-product div.product.type-product > .entry-summary {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Si Glozin conserve un wrapper immediat autour de la galerie / du resume,
     on neutralise uniquement les contraintes de largeur internes. */
  body.single-product .woocommerce-product-gallery,
  body.single-product .summary.entry-summary,
  body.single-product div.summary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product .summary.entry-summary > *,
  body.single-product div.summary > *,
  body.single-product .summary form.cart,
  body.single-product .summary form.variations_form,
  body.single-product .summary .single_variation_wrap,
  body.single-product .summary .woocommerce-variation-add-to-cart,
  body.single-product .summary .variations,
  body.single-product .summary table.variations,
  body.single-product .summary .select2-container,
  body.single-product .summary .lecfpux-purchase-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Tout le contenu qui suit le couple galerie / resume revient sous les deux. */
  body.single-product div.product.type-product > :not(.woocommerce-product-gallery):not(.images):not(.summary):not(.entry-summary) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    clear: both !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  body.single-product .woocommerce-tabs,
  body.single-product .wc-tabs-wrapper,
  body.single-product .related,
  body.single-product .upsells,
  body.single-product .lec-rpa-recipes {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product .lec-rpa-recipes .swiper,
  body.single-product .lec-rpa-recipes .swiper-container,
  body.single-product .lec-rpa-recipes .slick-list,
  body.single-product .lec-rpa-recipes .owl-stage-outer {
    max-width: 100% !important;
    overflow: hidden !important;
  }
}

@media (max-width: 991px) {
  body.single-product div.product.type-product {
    display: block !important;
  }

  body.single-product .woocommerce-product-gallery,
  body.single-product .summary.entry-summary,
  body.single-product div.summary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product .woocommerce-product-gallery {
    margin-bottom: 28px !important;
  }
}


/* V1.29.8 - Ne jamais appliquer la grille de fiche aux cartes produits.
 * Les produits similaires et recemment consultes restent geres par Glozin. */
body.single-product .related li.product,
body.single-product .upsells li.product,
body.single-product .products li.product,
body.single-product .product-recently-viewed li.product,
body.single-product .recently-viewed-products li.product {
  display: revert !important;
  grid-template-columns: none !important;
  width: auto;
  max-width: none;
}


.lecux-product-decision-profile{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 16px;padding:12px;border:1px solid #ded8cd;border-radius:12px;background:#fffaf2}
.lecux-product-decision-profile div{min-width:0}.lecux-product-decision-profile span,.lecux-product-decision-profile strong{display:block}.lecux-product-decision-profile span{margin-bottom:2px;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#766f65}.lecux-product-decision-profile strong{font-size:13px;line-height:1.35;color:#171717}
@media(max-width:767px){.lecux-product-decision-profile{grid-template-columns:1fr}.lecux-product-decision-profile div{display:flex;justify-content:space-between;gap:12px}.lecux-product-decision-profile span{margin:0}.lecux-product-decision-profile strong{text-align:right}}


/* ==========================================================
   Fiche produit V2 - 1.36.0
   ========================================================== */
body.single-product .lecux-format-groups{display:grid;gap:14px;margin:14px 0 18px}
body.single-product .lecux-format-group{padding:14px;border:1px solid #e1dbd2;border-radius:14px;background:#fff}
body.single-product .lecux-format-group--large{background:#fbf8f3}
body.single-product .lecux-format-group__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
body.single-product .lecux-format-group__head strong{font-size:14px;color:#171717}
body.single-product .lecux-format-group__head span{font-size:11px;color:#746e66;text-align:right}
body.single-product .lecux-format-group__choices{display:flex;flex-wrap:wrap;gap:8px}
body.single-product .lecux-format-choice{appearance:none;border:1px solid #cfc8be!important;background:#fff!important;color:#171717!important;border-radius:10px!important;min-width:76px!important;padding:9px 12px!important;line-height:1.1!important;box-shadow:none!important;cursor:pointer!important;text-align:center!important}
body.single-product .lecux-format-choice strong{display:block;font-size:13px;color:inherit!important}
body.single-product .lecux-format-choice small{display:block;margin-top:3px;font-size:9px;color:#766f65!important;font-weight:600}
body.single-product .lecux-format-choice:hover{border-color:#171717!important}
body.single-product .lecux-format-choice.is-active{background:#171717!important;border-color:#171717!important;color:#fff!important}
body.single-product .lecux-format-choice.is-active small{color:#e9e3da!important}
body.single-product .lecux-native-format-row{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
body.single-product .lecux-purchase-reassurance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 10px}
body.single-product .lecux-purchase-reassurance span{padding:10px 9px;border:1px solid #e4ded5;border-radius:10px;background:#fff;font-size:11px;line-height:1.35;color:#615b54;text-align:center}
body.single-product .lecux-purchase-reassurance strong{display:block;color:#171717;font-size:11px}
body.single-product .lecux-pro-path{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0 18px;padding:12px 14px;border-radius:12px;background:#f4efe7}
body.single-product .lecux-pro-path>div{display:flex;flex-direction:column;gap:2px}
body.single-product .lecux-pro-path strong{font-size:12px;color:#171717}
body.single-product .lecux-pro-path span{font-size:10px;line-height:1.35;color:#706960}
body.single-product .lecux-pro-path a{flex:0 0 auto;font-size:11px;font-weight:800;text-decoration:underline;color:#171717}
body.single-product .related.products>h2,
body.single-product .upsells.products>h2{margin-bottom:18px!important}
body.single-product .related.products ul.products{margin-top:0!important}
@media(max-width:767px){
 body.single-product .lecux-format-group__head{display:block}
 body.single-product .lecux-format-group__head span{display:block;margin-top:3px;text-align:left}
 body.single-product .lecux-format-group__choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.single-product .lecux-format-choice{width:100%!important}
 body.single-product .lecux-purchase-reassurance{grid-template-columns:1fr}
 body.single-product .lecux-purchase-reassurance span{text-align:left}
 body.single-product .lecux-pro-path{align-items:flex-start;flex-direction:column}
}


/* ==========================================================
   1.36.2 — Réassurance visuelle + bloc Pro sous galerie
   ========================================================== */
body.single-product .lecux-legacy-reassurance-hidden{display:none!important}

body.single-product .lecux-purchase-benefits{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:10px;
	margin:16px 0 18px;
}
body.single-product .lecux-purchase-benefit{
	display:flex;
	align-items:center;
	gap:10px;
	padding:11px 12px;
	border:1px solid #e3ddd4;
	border-radius:14px;
	background:#fffaf3;
	min-width:0;
}
body.single-product .lecux-purchase-benefit__icon{
	width:38px;
	height:38px;
	flex:0 0 38px;
	display:flex;
	align-items:center;
	justify-content:center;
	border-radius:12px;
	background:#f1e8dc;
}
body.single-product .lecux-purchase-benefit__icon svg{
	width:24px;
	height:24px;
	fill:none;
	stroke:#171717;
	stroke-width:2.2;
	stroke-linecap:round;
	stroke-linejoin:round;
}
body.single-product .lecux-purchase-benefit>div:last-child{min-width:0}
body.single-product .lecux-purchase-benefit strong{
	display:block;
	font-size:11px;
	line-height:1.25;
	color:#171717;
}
body.single-product .lecux-purchase-benefit span{
	display:block;
	margin-top:2px;
	font-size:9.5px;
	line-height:1.35;
	color:#756e65;
}

/* Le bloc Pro devient l'élément de la 2e ligne, sous la galerie. */
@media (min-width:992px){
	body.single-product div.product.type-product > .lecux-pro-path--gallery{
		grid-column:1!important;
		grid-row:2!important;
		width:100%!important;
		max-width:100%!important;
		margin:0!important;
		clear:none!important;
	}
	body.single-product div.product.type-product > :not(.woocommerce-product-gallery):not(.images):not(.summary):not(.entry-summary):not(.lecux-pro-path--gallery){
		grid-column:1 / -1!important;
	}
}
body.single-product .lecux-pro-path--gallery{
	display:grid;
	grid-template-columns:78px minmax(0,1fr);
	gap:16px;
	align-items:center;
	padding:18px;
	border:1px solid #e0d9cf;
	border-radius:18px;
	background:linear-gradient(135deg,#faf5ed 0%,#f3e9dc 100%);
}
body.single-product .lecux-pro-path__visual{
	width:78px;
	height:78px;
	display:flex;
	align-items:center;
	justify-content:center;
	border-radius:18px;
	background:#fff;
	box-shadow:0 5px 18px rgba(54,42,29,.06);
}
body.single-product .lecux-pro-path__visual svg{
	width:48px;
	height:48px;
	fill:none;
	stroke:#171717;
	stroke-width:2.2;
	stroke-linecap:round;
	stroke-linejoin:round;
}
body.single-product .lecux-pro-path__eyebrow{
	display:block;
	margin-bottom:3px;
	font-size:9px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.08em;
	color:#a56524;
}
body.single-product .lecux-pro-path__content strong{
	display:block;
	font-size:16px;
	line-height:1.2;
	color:#171717;
}
body.single-product .lecux-pro-path__content p{
	margin:5px 0 9px;
	font-size:11px;
	line-height:1.45;
	color:#665f56;
}
body.single-product .lecux-pro-path__content a{
	display:inline-flex;
	align-items:center;
	gap:5px;
	font-size:11px;
	font-weight:800;
	color:#171717;
	text-decoration:none;
	border-bottom:1px solid #171717;
}

@media(max-width:767px){
	body.single-product .lecux-purchase-benefits{grid-template-columns:1fr}
	body.single-product .lecux-purchase-benefit{padding:10px 12px}
	body.single-product .lecux-pro-path--gallery{grid-template-columns:58px minmax(0,1fr);padding:14px;margin:0 0 24px}
	body.single-product .lecux-pro-path__visual{width:58px;height:58px;border-radius:14px}
	body.single-product .lecux-pro-path__visual svg{width:36px;height:36px}
}


/* 1.36.3 — galerie + bloc Pro dans UNE seule colonne gauche */
@media (min-width:992px){
	body.single-product div.product.type-product > .lecux-gallery-pro-column{
		grid-column:1!important;
		grid-row:1!important;
		width:100%!important;
		min-width:0!important;
		align-self:start!important;
	}
	body.single-product div.product.type-product > .summary.entry-summary{
		grid-column:2!important;
		grid-row:1!important;
	}
	body.single-product .lecux-gallery-pro-column > .woocommerce-product-gallery,
	body.single-product .lecux-gallery-pro-column > .images{
		width:100%!important;
		max-width:100%!important;
		float:none!important;
		margin:0!important;
	}
	body.single-product .lecux-gallery-pro-column > .lecux-pro-path--gallery{
		position:static!important;
		width:100%!important;
		max-width:100%!important;
		margin:16px 0 0!important;
		float:none!important;
		clear:both!important;
	}
}
@media(max-width:991px){
	body.single-product .lecux-gallery-pro-column{width:100%!important}
	body.single-product .lecux-gallery-pro-column > .lecux-pro-path--gallery{margin:14px 0 22px!important}
}


/* 1.36.4 — rollback bloc Pro sous galerie */
body.single-product .lecux-pro-path--gallery,
body.single-product .lecux-gallery-pro-column > .lecux-pro-path--gallery{
	display:none!important;
}


/* ==========================================================
   1.36.5 — Réassurance produit, version finale
   ========================================================== */

body.single-product .lecux-legacy-reassurance-hidden{
	display:none!important;
	visibility:hidden!important;
	height:0!important;
	margin:0!important;
	padding:0!important;
	border:0!important;
	overflow:hidden!important;
}

body.single-product .lecux-purchase-benefits{
	margin:18px 0 22px!important;
	padding:16px!important;
	border:1px solid #e5ddd3!important;
	border-radius:18px!important;
	background:linear-gradient(135deg,#fffaf4 0%,#f8f2e9 100%)!important;
	box-shadow:0 8px 24px rgba(59,45,30,.04)!important;
}

body.single-product .lecux-purchase-benefits__intro{
	display:flex!important;
	align-items:baseline!important;
	justify-content:space-between!important;
	gap:12px!important;
	margin-bottom:14px!important;
	padding-bottom:12px!important;
	border-bottom:1px solid rgba(91,72,50,.10)!important;
}

body.single-product .lecux-purchase-benefits__eyebrow{
	font-size:9px!important;
	font-weight:800!important;
	letter-spacing:.08em!important;
	text-transform:uppercase!important;
	color:#ad6a24!important;
}

body.single-product .lecux-purchase-benefits__intro>strong{
	font-size:12px!important;
	font-weight:700!important;
	color:#171717!important;
}

body.single-product .lecux-purchase-benefits__items{
	display:grid!important;
	grid-template-columns:repeat(3,minmax(0,1fr))!important;
	gap:10px!important;
}

body.single-product .lecux-purchase-benefit{
	display:flex!important;
	align-items:center!important;
	gap:10px!important;
	min-width:0!important;
	padding:0!important;
	border:0!important;
	background:transparent!important;
}

body.single-product .lecux-purchase-benefit__icon{
	width:42px!important;
	height:42px!important;
	flex:0 0 42px!important;
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	border-radius:14px!important;
	background:#fff!important;
	box-shadow:0 3px 12px rgba(62,47,31,.07)!important;
	border:1px solid rgba(94,72,50,.08)!important;
}

body.single-product .lecux-purchase-benefit__icon svg{
	width:23px!important;
	height:23px!important;
	fill:none!important;
	stroke:#171717!important;
	stroke-width:2.1!important;
	stroke-linecap:round!important;
	stroke-linejoin:round!important;
}

body.single-product .lecux-purchase-benefit>div:last-child{
	min-width:0!important;
}

body.single-product .lecux-purchase-benefit strong{
	display:block!important;
	font-size:11px!important;
	line-height:1.25!important;
	color:#171717!important;
	font-weight:800!important;
}

body.single-product .lecux-purchase-benefit span{
	display:block!important;
	margin-top:3px!important;
	font-size:9.5px!important;
	line-height:1.35!important;
	color:#6e675f!important;
}

@media(max-width:767px){
	body.single-product .lecux-purchase-benefits{
		padding:14px!important;
		border-radius:16px!important;
	}
	body.single-product .lecux-purchase-benefits__intro{
		display:block!important;
	}
	body.single-product .lecux-purchase-benefits__intro>strong{
		display:block!important;
		margin-top:3px!important;
	}
	body.single-product .lecux-purchase-benefits__items{
		grid-template-columns:1fr!important;
		gap:12px!important;
	}
	body.single-product .lecux-purchase-benefit{
		padding:2px 0!important;
	}
}

/* 1.36.6 - suppression complete du bloc de reassurance personnalise */
body.single-product .lecux-purchase-benefits{
    display:none!important;
}
