/* --- Element order in the summary column (right of the photo) --- */
.wpl-product-category {
	margin: 0 0 6px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.wpl-product-category a {
	text-decoration: none;
}
.wpl-product-category a:hover {
	text-decoration: underline;
}

.summary.entry-summary > .product_title {
	margin: 0 0 10px;
}
.summary.entry-summary > .wpl-product-etat {
	margin: 0 0 16px;
	font-size: 15px;
}
.summary.entry-summary > .woocommerce-product-details__short-description {
	margin: 0 0 20px;
	line-height: 1.6;
}
.woocommerce-product-details__short-description .wpl-line {
	display: block;
}
.summary.entry-summary > .price {
	display: block;
	margin: 0 0 20px;
	font-size: 26px;
}
.summary.entry-summary > form.cart {
	margin: 0 0 20px;
}

/* Bouton de contact (tel:), affiché systématiquement sous le bloc
   stock/pause — voir WPL_Frontend::display_contact_button(). */
.wpl-contact-button {
	display: inline-block;
	margin: 0 0 20px;
	text-decoration: none;
}

/* Elements Astra duplicates outside the normal hook flow — hidden as a
   CSS-level safety net in addition to the JS dedupe script.
   Note: this MUST match by class via the general sibling combinator
   (X ~ X), not with :not(:first-of-type) — that pseudo-class counts
   siblings by TAG NAME regardless of class, so it would (and once did)
   also match our own .wpl-product-category / .wpl-product-etat <p>
   elements placed before .price, wrongly hiding the real price. */
.summary.entry-summary .single-product-category,
.summary.entry-summary .product_meta {
	display: none;
}
.summary.entry-summary .product_title ~ .product_title,
.summary.entry-summary .price ~ .price,
.summary.entry-summary .woocommerce-product-details__short-description ~ .woocommerce-product-details__short-description,
.summary.entry-summary form.cart ~ form.cart {
	display: none;
}

.wpl-product-etat {
	margin: 0 0 16px;
}

/* --- Sequential sections (merged tabs) --- */
.wpl-sequential-sections {
	margin-top: 40px;
}
.wpl-product-section {
	margin-bottom: 40px;
}
.wpl-product-section h2 {
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f0f0f1;
}
.wpl-product-section:last-child {
	margin-bottom: 0;
}
