/*
 * LuckyPets / Olivara v2 — feuille principale (mobile d'abord, ruptures 660 / 940 px).
 * Tokens : une seule source, alignée sur theme.json. Couleurs tirées du logo.
 */

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/nunito-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Polices de repli aux mêmes métriques (mesurées sur Arial) : le passage à Inter / Nunito
   ne fait plus bouger le texte (CLS). */
@font-face {
	font-family: "Inter Fallback";
	src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"), local("Helvetica"), local("Roboto");
	size-adjust: 106.52%;
	ascent-override: 90.94%;
	descent-override: 22.64%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Nunito Fallback";
	src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"), local("Helvetica"), local("Roboto");
	size-adjust: 96.7%;
	ascent-override: 104.55%;
	descent-override: 36.51%;
	line-gap-override: 0%;
}

:root {
	--lp-navy: #0f2f57;
	--lp-navy-700: #1d4a78;
	--lp-gold: #e3ab3b;
	--lp-gold-light: #efc062;
	--lp-gold-dark: #8a5f0f;
	--lp-gold-pale: #fbf0d6;
	--lp-teal: #0b6e7c;
	--lp-teal-dark: #08525d;
	--lp-teal-pale: #e3f1f0;
	--lp-green: #5fae84;
	--lp-lime: #8dc63f;
	--lp-cream: #fdf8ef;
	--lp-cream-deep: #f5ecdc;
	--lp-muted: #4d5b69;
	--lp-white: #fff;
	--lp-line: #e6e0d3;
	--lp-footer-text: #c9d6e6;
	--lp-footer-muted: #a9bbd0;
	--lp-danger: #a3332b;

	--lp-font-heading: "Nunito", "Nunito Fallback", ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
	--lp-font-body: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--lp-radius: 22px;
	--lp-radius-sm: 15px;
	--lp-shadow-soft: 0 12px 34px rgba(15, 47, 87, .1);
	--lp-shadow-card: 0 6px 18px rgba(15, 47, 87, .07);
	--lp-container: 1160px;
	--lp-gutter: 14px;
	--lp-section: 64px;
}

/* ---------- Base (thème autonome : aucune feuille parente) ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body.lp-theme {
	margin: 0;
	color: var(--lp-navy);
	background: var(--lp-white);
	font-family: var(--lp-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* :where() = spécificité minimale : les marges des composants (.lp-trust, .lp-lead…) priment sur cette base. */
:where(.lp-theme) :where(p, ul, ol, dl, figure, blockquote, pre, table) { margin: 0 0 1.2em; }

:where(.lp-theme) :where(ul, ol) { padding-left: 1.4em; }

:where(.lp-theme) :where(li > ul, li > ol) { margin-bottom: 0; }

.lp-theme blockquote {
	padding: 4px 0 4px 18px;
	border-left: 4px solid var(--lp-gold);
	font-style: italic;
}

.lp-theme hr {
	height: 1px;
	margin: 2em 0;
	border: 0;
	background: var(--lp-line);
}

.lp-theme code,
.lp-theme pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
.lp-theme pre { overflow: auto; padding: 16px; border-radius: 12px; background: var(--lp-cream); }

.lp-theme table {
	width: 100%;
	border-collapse: collapse;
}

.lp-theme th,
.lp-theme td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--lp-line);
	text-align: left;
}

:where(.lp-theme) :where(button, input, select, textarea) {
	margin: 0;
	color: inherit;
	font: inherit;
}

.lp-theme button { cursor: pointer; }

.lp-theme input[type="text"],
.lp-theme input[type="email"],
.lp-theme input[type="url"],
.lp-theme input[type="password"],
.lp-theme input[type="search"],
.lp-theme input[type="number"],
.lp-theme input[type="tel"],
.lp-theme select,
.lp-theme textarea {
	max-width: 100%;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid #cfd6dd;
	border-radius: 10px;
	background: var(--lp-white);
}

.lp-theme input[type="submit"] {
	min-height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	color: var(--lp-navy);
	background: var(--lp-gold);
	font-weight: 800;
}

.lp-theme .search-form { display: flex; gap: 8px; }
.lp-theme .search-form label { flex: 1; }
.lp-theme .search-form .search-field { width: 100%; }

.lp-theme iframe,
.lp-theme video { max-width: 100%; }

.lp-theme .alignleft { float: left; margin: 0 1.5em 1em 0; }
.lp-theme .alignright { float: right; margin: 0 0 1em 1.5em; }
.lp-theme .aligncenter { display: block; margin-inline: auto; }
.lp-theme .wp-caption { max-width: 100%; }
.lp-theme .wp-caption-text,
.lp-theme figcaption { margin-top: 6px; color: var(--lp-muted); font-size: .85rem; text-align: center; }
.lp-theme .sticky,
.lp-theme .bypostauthor,
.lp-theme .gallery-caption { display: block; }

.lp-theme h1,
.lp-theme h2,
.lp-theme h3,
.lp-theme h4 {
	margin: 0;
	color: var(--lp-navy);
	font-family: var(--lp-font-heading);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
}

.lp-theme h1 { font-size: clamp(2.4rem, 11vw, 4.9rem); }
.lp-theme h2 { font-size: clamp(1.8rem, 6vw, 3rem); }
.lp-theme h3 { font-size: 1.25rem; }

/* :where() = spécificité minimale : les composants (boutons, cartes, pied de page) gardent leur couleur. */
:where(.lp-theme) a { color: var(--lp-teal); }
:where(.lp-theme) a:hover { color: var(--lp-teal-dark); }

.lp-theme img { max-width: 100%; height: auto; }

/* Une icône garde sa taille à côté d'un texte long. */
.lp-theme .lp-icon { flex-shrink: 0; }

.lp-theme :focus-visible {
	outline: 3px solid var(--lp-gold);
	outline-offset: 3px;
}

/* Structure : chaque section gère sa propre largeur. */
.lp-theme .site-content,
.lp-theme .content-area { width: 100%; }

.lp-container {
	width: min(calc(100% - 2 * var(--lp-gutter)), var(--lp-container));
	margin-inline: auto;
}

.lp-narrow {
	width: min(calc(100% - 2 * var(--lp-gutter)), 800px);
	margin-inline: auto;
}

.skip-link.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	border-radius: 10px;
	color: var(--lp-white);
	background: var(--lp-navy);
}

.lp-eyebrow {
	margin: 0 0 14px;
	color: var(--lp-teal);
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .02em;
}

.lp-lead {
	max-width: 560px;
	margin: 20px 0 0;
	color: var(--lp-muted);
	font-size: 1.02rem;
	line-height: 1.75;
}

.lp-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lp-lime);
	vertical-align: middle;
}

/* ---------- Boutons ---------- */

.lp-btn,
.lp-theme .wp-element-button,
.lp-theme .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 0 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--lp-font-body);
	font-size: .88rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.lp-btn:hover { transform: translateY(-2px); }

.lp-btn--primary,
.lp-theme .wp-element-button,
.lp-theme .wp-block-button__link {
	color: var(--lp-navy);
	background: var(--lp-gold);
	box-shadow: 0 8px 18px rgba(227, 171, 59, .28);
}

.lp-btn--primary:hover,
.lp-btn--primary:focus,
.lp-theme .wp-element-button:hover,
.lp-theme .wp-block-button__link:hover {
	color: var(--lp-navy);
	background: var(--lp-gold-light);
}

.lp-btn--secondary {
	color: var(--lp-teal);
	border-color: var(--lp-teal);
	background: var(--lp-white);
}

.lp-btn--secondary:hover,
.lp-btn--secondary:focus {
	color: var(--lp-white);
	background: var(--lp-teal);
}

.lp-btn--light {
	color: var(--lp-teal-dark);
	background: var(--lp-white);
}

.lp-btn--light:hover,
.lp-btn--light:focus {
	color: var(--lp-navy);
	background: var(--lp-gold-pale);
}

.lp-btn--whatsapp {
	width: 100%;
	color: var(--lp-teal-dark);
	background: var(--lp-teal-pale);
}

.lp-btn--whatsapp:hover,
.lp-btn--whatsapp:focus {
	color: var(--lp-white);
	background: var(--lp-teal);
}

/* ---------- Barre d'annonce et en-tête ---------- */

.lp-announcement {
	padding: 8px var(--lp-gutter);
	color: var(--lp-white);
	background: var(--lp-navy);
	font-size: .72rem;
	font-weight: 700;
	text-align: center;
}

.lp-announcement .lp-dot { margin: 0 8px; }

.lp-header {
	position: sticky;
	z-index: 50;
	top: 0;
	border-bottom: 1px solid #eef0ec;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 3px 14px rgba(15, 47, 87, .04);
}

.admin-bar .lp-header { top: 0; }

.lp-navbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	min-height: 68px;
}

.lp-brand {
	display: inline-flex;
	flex: 0 0 auto;
	margin-right: auto;
}

.lp-brand img { width: 150px; }

.lp-nav-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.lp-icon-btn,
.lp-cart-link,
.lp-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 42px;
	min-height: 42px;
	padding: 0 10px;
	border: 0;
	border-radius: 999px;
	color: var(--lp-teal-dark);
	background: var(--lp-teal-pale);
	font-size: .8rem;
	font-weight: 800;
	text-decoration: none;
}

.lp-icon-btn:hover,
.lp-cart-link:hover,
.lp-menu-toggle:hover {
	color: var(--lp-white);
	background: var(--lp-teal);
}

.lp-cart-link__label { display: none; }

.lp-cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 4px;
	border-radius: 999px;
	color: var(--lp-navy);
	background: var(--lp-gold);
	font-size: .7rem;
	font-weight: 900;
	line-height: 1;
}

.lp-menu-toggle .lp-icon--close,
.lp-header.is-open .lp-menu-toggle .lp-icon--open { display: none; }
.lp-header.is-open .lp-menu-toggle .lp-icon--close { display: block; }

/* Sans JS, le menu mobile reste visible ; avec JS (classe lp-js), il se replie. */
.lp-nav {
	order: 3;
	width: 100%;
	padding: 0 0 14px;
}

.lp-js .lp-nav { display: none; }
.lp-js .lp-header.is-open .lp-nav { display: block; }
html:not(.lp-js) .lp-menu-toggle { display: none; }

.lp-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-nav a {
	display: block;
	padding: 11px 0;
	border-bottom: 1px solid var(--lp-line);
	color: var(--lp-navy);
	font-size: .92rem;
	font-weight: 800;
	text-decoration: none;
}

.lp-nav .current-menu-item > a,
.lp-nav a:hover { color: var(--lp-teal); }

.lp-nav .sub-menu { padding-left: 14px; }

/* ---------- Intro de page ---------- */

.lp-page-intro {
	padding: 44px 0 34px;
	background: var(--lp-cream);
}

.lp-page-intro h1 { font-size: clamp(2.3rem, 9vw, 4.4rem); }

.lp-page-intro p:not(.lp-eyebrow) {
	max-width: 640px;
	margin: 16px 0 0;
	color: var(--lp-muted);
}

/* ---------- Sections ---------- */

.lp-section { padding: var(--lp-section) 0; }
.lp-section--cream { background: var(--lp-cream); }

.lp-section-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 28px;
}

.lp-section-heading p:not(.lp-eyebrow) {
	max-width: 480px;
	margin: 0;
	color: var(--lp-muted);
	font-size: .92rem;
}

/* ---------- Hero ---------- */

.lp-hero {
	position: relative;
	overflow: hidden;
	padding: 38px 0 56px;
	background: var(--lp-cream);
}

.lp-hero::before {
	position: absolute;
	top: 30px;
	left: -90px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: var(--lp-gold-pale);
	content: "";
}

.lp-hero__grid {
	position: relative;
	display: grid;
	grid-template-areas: "intro" "visual" "support";
	gap: 22px;
}

.lp-hero__intro { grid-area: intro; }
.lp-hero__support { grid-area: support; }

.lp-hero h1 { max-width: 620px; line-height: 1; }

.lp-hero__actions {
	display: grid;
	gap: 10px;
	margin-top: 22px;
}

.lp-micro-trust {
	display: grid;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	color: var(--lp-muted);
	font-size: .82rem;
	font-weight: 700;
	list-style: none;
}

.lp-micro-trust li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lp-micro-trust .lp-icon { color: var(--lp-teal); }

.lp-hero__visual {
	position: relative;
	grid-area: visual;
	width: min(100%, 520px);
	margin: 0 auto;
	padding: 18px 14px 0 0;
	isolation: isolate;
}

.lp-hero__visual::before {
	position: absolute;
	z-index: -1;
	top: 40px;
	right: -40px;
	width: 100%;
	height: 78%;
	border-radius: 48% 52% 36% 64% / 44% 38% 62% 56%;
	background: var(--lp-teal);
	content: "";
	transform: rotate(-8deg);
}

.lp-hero__card {
	overflow: hidden;
	padding: 8px;
	border-radius: 24px;
	background: var(--lp-white);
	box-shadow: 0 18px 35px rgba(15, 47, 87, .16);
}

.lp-hero__card img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 17px;
	object-fit: contain;
}

/* Médaillon or inspiré du logo. */
.lp-sticker {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	display: grid;
	place-content: center;
	width: 92px;
	height: 92px;
	border: 1px solid var(--lp-gold-dark);
	border-radius: 50%;
	color: var(--lp-navy);
	background: radial-gradient(circle at 36% 26%, #fff6d6 0%, #f0cf7f 52%, var(--lp-gold) 100%);
	box-shadow: 0 10px 18px rgba(15, 47, 87, .18), inset 0 0 0 4px rgba(255, 249, 218, .6);
	font-size: .5rem;
	font-weight: 800;
	letter-spacing: .1em;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
	transform: rotate(7deg);
}

.lp-sticker strong {
	display: block;
	margin: 3px 0;
	font-family: var(--lp-font-heading);
	font-size: 1rem;
	letter-spacing: .02em;
}

.lp-sticker small { font-size: .42rem; }

/* ---------- Bande de réassurance ---------- */

.lp-trust {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: -22px auto 0;
	padding: 0;
	list-style: none;
}

.lp-trust li {
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 8px;
	min-height: 120px;
	padding: 14px 10px;
	border-radius: 16px;
	background: var(--lp-white);
	box-shadow: var(--lp-shadow-card);
	text-align: center;
}

.lp-trust strong {
	display: block;
	font-size: .76rem;
}

.lp-trust span:not(.lp-round-icon) {
	display: block;
	color: var(--lp-muted);
	font-size: .72rem;
}

.lp-round-icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: var(--lp-teal-dark);
	background: var(--lp-teal-pale);
}

.lp-round-icon--gold {
	color: var(--lp-gold-dark);
	background: var(--lp-gold-pale);
}

/* ---------- Bénéfices ---------- */

.lp-benefits {
	display: grid;
	gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-benefit {
	padding: 24px 20px;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-white);
	box-shadow: var(--lp-shadow-card);
	text-align: center;
}

.lp-benefit .lp-round-icon {
	width: 52px;
	height: 52px;
	margin: 0 auto 16px;
}

.lp-benefit p {
	margin: 8px 0 0;
	color: var(--lp-muted);
	font-size: .88rem;
}

/* ---------- Cartes produit (accueil et boutique) ---------- */

.lp-theme ul.products.lp-product-grid,
.lp-theme.woocommerce ul.products,
.lp-theme .woocommerce ul.products {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* WooCommerce ajoute un clearfix en pseudo-éléments qui casse la grille. */
.lp-theme ul.products::before,
.lp-theme ul.products::after { display: none; }

body.lp-theme ul.products li.product.lp-card {
	display: flex;
	flex-direction: column;
	width: auto;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-white);
	box-shadow: var(--lp-shadow-card);
	transition: transform .25s ease, box-shadow .25s ease;
}

body.lp-theme ul.products li.product.lp-card:hover {
	box-shadow: 0 14px 30px rgba(15, 47, 87, .12);
	transform: translateY(-4px);
}

.lp-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 250px;
	overflow: hidden;
	background: var(--lp-white);
}

/* Image contenue dans son cadre. En boutique, WooCommerce impose height: auto et une marge
   (.woocommerce ul.products li.product a img) : l'image débordait sur le titre. */
body.lp-theme ul.products li.product .lp-card__media img {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 15px 26px;
	object-fit: contain;
	box-shadow: none;
}

.lp-badge {
	position: absolute;
	z-index: 1;
	top: 13px;
	left: 13px;
	padding: 6px 11px;
	border-radius: 999px;
	color: var(--lp-navy);
	background: var(--lp-gold);
	font-size: .7rem;
	font-weight: 900;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.lp-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 19px 18px 20px;
}

.lp-kicker {
	margin: 0 0 6px;
	color: var(--lp-gold-dark);
	font-size: .74rem;
	font-weight: 800;
}

.lp-theme .lp-card .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	font-size: 1.32rem;
}

.lp-card .woocommerce-loop-product__title a {
	color: var(--lp-navy);
	text-decoration: none;
}

.lp-card .woocommerce-loop-product__title a:hover { color: var(--lp-teal); }

.lp-card__summary {
	margin: 9px 0 16px;
	color: var(--lp-muted);
	font-size: .87rem;
}

.lp-card__summary p { margin: 0; }

.lp-price,
.lp-theme .price {
	color: var(--lp-navy);
	font-family: var(--lp-font-heading);
	font-size: 1.35rem;
	font-weight: 900;
}

.lp-theme .price del {
	color: var(--lp-gold-dark);
	font-size: .8em;
	font-weight: 700;
	opacity: 1;
}

.lp-theme .price ins {
	text-decoration: none;
	background: none;
}

/* Prix des cartes : WooCommerce le réduit à .857em en boutique (.woocommerce ul.products li.product .price). */
body.lp-theme ul.products li.product .lp-card__price {
	margin-top: auto;
}

body.lp-theme ul.products li.product .lp-card__price .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	margin: 0;
	color: var(--lp-navy);
	font-family: var(--lp-font-heading);
	font-size: 1.35rem;
	font-weight: 900;
	line-height: 1.2;
}

body.lp-theme ul.products li.product .lp-card__price .price ins { font-weight: 900; }

body.lp-theme ul.products li.product .lp-card__price .price del {
	color: var(--lp-gold-dark);
	font-size: .8em;
	font-weight: 700;
	opacity: 1;
}

.lp-theme .woocommerce-price-suffix {
	color: var(--lp-muted);
	font-family: var(--lp-font-body);
	font-size: .7rem;
	font-weight: 600;
}

/* Boutons des cartes : même boîte pour le lien « Voir le produit » et le bouton WooCommerce
   (hauteur, bordure de 2 px, typo, sans retour à la ligne). WooCommerce leur ajoute
   margin-top: 1em et display: inline-block : sélecteurs renforcés pour les neutraliser. */
.lp-card__actions {
	display: grid;
	gap: 8px;
	margin-top: 16px;
}

body.lp-theme ul.products li.product .lp-card__actions .lp-btn,
body.lp-theme ul.products li.product .lp-card__actions .button {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 46px;
	min-height: 0;
	margin: 0;
	padding: 0 12px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--lp-font-body);
	font-size: .82rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
	transform: none;
}

body.lp-theme ul.products li.product .lp-card__actions .lp-btn--secondary {
	border-color: var(--lp-teal);
	color: var(--lp-teal);
	background: var(--lp-white);
}

body.lp-theme ul.products li.product .lp-card__actions .lp-btn--secondary:hover {
	color: var(--lp-white);
	background: var(--lp-teal);
}

body.lp-theme ul.products li.product .lp-card__actions .button {
	color: var(--lp-navy);
	background: var(--lp-gold);
}

body.lp-theme ul.products li.product .lp-card__actions .button:hover { background: var(--lp-gold-light); }
body.lp-theme ul.products li.product .lp-card__actions .button.loading { opacity: .65; }

/* Lien « Voir le panier » ajouté après un ajout en AJAX : sous les deux boutons. */
body.lp-theme ul.products li.product .lp-card__actions .added_to_cart {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--lp-teal);
	font-size: .8rem;
	font-weight: 800;
	text-align: center;
}

/* ---------- Collection photos ---------- */

.lp-split {
	display: grid;
	align-items: center;
	gap: 36px;
}

.lp-collection {
	display: grid;
	gap: 12px;
}

.lp-collection__main {
	position: relative;
	min-height: 310px;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: var(--lp-shadow-soft);
}

.lp-collection__main img,
.lp-collection__thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lp-collection__main img { position: absolute; inset: 0; }

.lp-collection__main::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 58%, rgba(15, 47, 87, .36) 100%);
	content: "";
}

.lp-collection__tag {
	position: absolute;
	z-index: 1;
	right: 12px;
	bottom: 12px;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--lp-navy);
	background: rgba(255, 255, 255, .92);
	font-size: .66rem;
	font-weight: 900;
}

.lp-collection__thumbs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 150px;
	gap: 12px;
}

.lp-collection__thumbs img {
	border-radius: 20px;
	box-shadow: var(--lp-shadow-soft);
}

.lp-feature-list {
	display: grid;
	gap: 16px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.lp-feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 13px;
}

.lp-feature-list .lp-num {
	display: grid;
	flex: 0 0 30px;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: var(--lp-white);
	background: var(--lp-teal);
	font-size: .78rem;
	font-weight: 900;
}

.lp-feature-list strong { display: block; font-size: .9rem; }

.lp-feature-list p {
	margin: 2px 0 0;
	color: var(--lp-muted);
	font-size: .85rem;
}

.lp-feature-image {
	overflow: hidden;
	border-radius: 21px;
	box-shadow: var(--lp-shadow-soft);
}

.lp-feature-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

/* ---------- Avis vérifiés ---------- */

.lp-reviews {
	display: grid;
	gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-review {
	display: flex;
	flex-direction: column;
	padding: 23px;
	border: 1px solid var(--lp-line);
	border-radius: 20px;
	background: var(--lp-white);
	box-shadow: var(--lp-shadow-card);
}

.lp-stars {
	color: var(--lp-gold-dark);
	font-size: .95rem;
	letter-spacing: .12em;
}

.lp-review blockquote {
	margin: 12px 0 18px;
	padding: 0;
	border: 0;
	font-size: .9rem;
	font-style: normal;
	line-height: 1.65;
}

.lp-review footer {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--lp-line);
	font-size: .8rem;
}

.lp-review footer span {
	display: block;
	color: var(--lp-muted);
}

.lp-verified {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--lp-teal);
	font-weight: 700;
}

/* ---------- Bande CTA ---------- */

.lp-cta-band {
	padding: 38px 0;
	background: var(--lp-teal);
}

.lp-cta-band__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.lp-theme .lp-cta-band h2 {
	max-width: 660px;
	color: var(--lp-white);
	font-size: clamp(1.6rem, 6vw, 2.5rem);
}

/* ---------- Contenus Gutenberg (pages, accueil) ---------- */

/* Largeur de lecture : pages, articles et contenu éditorial de l'accueil. */
.lp-theme.page .entry-content > *:not(.alignfull):not(.alignwide),
.lp-theme.single-post .entry-content > *:not(.alignfull):not(.alignwide),
.lp-editorial .entry-content > *:not(.alignfull):not(.alignwide) {
	width: min(calc(100% - 2 * var(--lp-gutter)), 800px);
	margin-inline: auto;
}

.lp-theme .entry-content > .alignwide {
	width: min(calc(100% - 2 * var(--lp-gutter)), var(--lp-container));
	margin-inline: auto;
}

.lp-theme.page .entry-content,
.lp-theme.single-post .entry-content {
	margin: 0;
	padding: 44px 0 var(--lp-section);
	color: var(--lp-muted);
}

.lp-theme .entry-content h2 { margin: 36px 0 12px; font-size: 1.7rem; }
.lp-theme .entry-content h3 { margin: 24px 0 8px; font-size: 1.1rem; }
.lp-theme .entry-content strong { color: var(--lp-navy); }
.lp-editorial .entry-content { padding: var(--lp-section) 0; }

/* FAQ : bloc Détails natif. */
.lp-theme .wp-block-details {
	margin-block: 0 10px;
	padding: 0;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius-sm);
	background: var(--lp-white);
}

.lp-theme .wp-block-details summary {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 18px;
	color: var(--lp-navy);
	font-weight: 800;
	list-style: none;
	cursor: pointer;
}

.lp-theme .wp-block-details summary::-webkit-details-marker { display: none; }

.lp-theme .wp-block-details summary::after {
	color: var(--lp-gold-dark);
	font-size: 1.3rem;
	line-height: 1;
	content: "+";
}

.lp-theme .wp-block-details[open] summary::after { content: "–"; }

.lp-theme .wp-block-details > :not(summary) {
	margin: 0 18px 16px;
	font-size: .92rem;
}

/* Cartes d'information (style de bloc Colonnes). */
.lp-theme .is-style-lp-info-cards {
	gap: 14px;
	margin-block: 0 30px;
}

.lp-theme .is-style-lp-info-cards > .wp-block-column {
	padding: 20px;
	border-radius: 17px;
	background: var(--lp-teal-pale);
}

.lp-theme .is-style-lp-info-cards p { margin: 4px 0 0; font-size: .88rem; }

/* ---------- Contact ---------- */

.lp-contact-cards {
	display: grid;
	gap: 12px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.lp-contact-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--lp-line);
	border-radius: 17px;
	background: var(--lp-white);
	color: var(--lp-navy);
	text-decoration: none;
}

.lp-contact-card strong { display: block; }

.lp-contact-card span:not(.lp-round-icon) {
	display: block;
	color: var(--lp-muted);
	font-size: .86rem;
}

.lp-form {
	padding: 24px 20px;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-white);
}

.lp-form__grid { display: grid; gap: 15px; }

.lp-field label {
	display: block;
	margin-bottom: 6px;
	color: var(--lp-navy);
	font-size: .82rem;
	font-weight: 800;
}

.lp-field input,
.lp-field textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid #cfd6dd;
	border-radius: 10px;
	color: var(--lp-navy);
	background: var(--lp-white);
}

.lp-field textarea { min-height: 120px; resize: vertical; }

.lp-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lp-form .lp-btn { margin-top: 20px; }

.lp-theme .entry-content .lp-form h2 { margin: 0 0 16px; }

.lp-notice {
	margin: 0 0 16px;
	padding: 12px 15px;
	border-radius: 12px;
	font-size: .9rem;
	font-weight: 600;
}

.lp-notice--success { color: var(--lp-teal-dark); background: var(--lp-teal-pale); }
.lp-notice--error { color: var(--lp-danger); background: #fbe9e7; }

.lp-legal {
	padding: 0;
	list-style: none;
}

.lp-legal li + li { margin-top: 6px; }

/* ---------- Pied de page ---------- */

.lp-footer {
	padding: 54px 0 24px;
	color: var(--lp-footer-text);
	background: var(--lp-navy);
	font-size: .86rem;
}

.lp-footer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px 20px;
}

.lp-footer__brand { grid-column: 1 / -1; }

.lp-footer__brand img {
	width: 170px;
	margin-bottom: 16px;
}

.lp-footer__brand p { max-width: 260px; margin: 0; }

.lp-theme .lp-footer h2 {
	margin-bottom: 14px;
	color: var(--lp-white);
	font-size: .9rem;
	letter-spacing: 0;
}

.lp-footer ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-theme .lp-footer a {
	color: var(--lp-footer-text);
	text-decoration: none;
}

.lp-theme .lp-footer a:hover { color: var(--lp-gold); }

.lp-footer__contact li {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Mobile : liens du pied de page faciles à toucher (40 px de haut). */
.lp-footer ul.lp-footer__links,
.lp-footer ul.lp-footer__contact { gap: 0; }

.lp-theme .lp-footer__links a,
.lp-theme .lp-footer__contact a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
}

.lp-footer__contact li { min-height: 40px; }

.lp-footer .lp-social {
	display: flex;
	gap: 8px;
	margin-top: 18px;
}

.lp-theme .lp-social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(201, 214, 230, .3);
	border-radius: 50%;
}

.lp-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid rgba(201, 214, 230, .2);
	color: var(--lp-footer-muted);
	font-size: .76rem;
}

/* Lien dans une ligne de texte : souligné pour être identifiable sans la couleur (WCAG 1.4.1). */
.lp-theme .lp-footer .lp-footer__bottom a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------- Blog, commentaires, pagination ---------- */

.lp-posts {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-post-card {
	overflow: hidden;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-white);
	box-shadow: var(--lp-shadow-card);
}

.lp-post-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.lp-post-card__body { padding: 18px 20px 22px; }
.lp-post-card__body h2 { margin: 0 0 8px; font-size: 1.3rem; }
.lp-theme .lp-post-card__body h2 a { color: var(--lp-navy); text-decoration: none; }
.lp-post-card__body p:last-child { margin: 0; color: var(--lp-muted); font-size: .9rem; }

.lp-post-thumbnail img { width: 100%; border-radius: var(--lp-radius); }

.lp-theme .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 30px;
}

.lp-theme .post-navigation .nav-links { justify-content: space-between; }

.lp-theme .pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border-radius: 999px;
	color: var(--lp-navy);
	background: var(--lp-cream);
	font-weight: 800;
	text-decoration: none;
}

.lp-theme .pagination .page-numbers.current { color: var(--lp-white); background: var(--lp-navy); }

.lp-comments { padding-bottom: var(--lp-section); }
.lp-comments h2 { margin-bottom: 18px; font-size: 1.5rem; }
.lp-comment-list { padding: 0; list-style: none; }
.lp-comment-list .comment-body { margin-bottom: 12px; padding: 16px; border-radius: 14px; background: var(--lp-cream); }
.lp-comment-list .children { list-style: none; }
.lp-comment-list .avatar { float: left; margin-right: 10px; border-radius: 50%; }
.lp-theme .comment-form textarea { width: 100%; }

.lp-empty__actions { justify-content: center; }

@media (min-width: 660px) {
	.lp-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 940px) {
	.lp-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Divers ---------- */

.lp-empty {
	padding: 56px 22px;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	text-align: center;
}

.lp-empty .lp-round-icon { margin: 0 auto 16px; }
.lp-empty p { color: var(--lp-muted); }

.screen-reader-text:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* ---------- ≥ 660 px ---------- */

@media (min-width: 660px) {
	:root {
		--lp-gutter: 20px;
		--lp-section: 84px;
	}

	.lp-announcement { font-size: .76rem; }
	.lp-brand img { width: 166px; }
	.lp-cart-link { padding: 0 14px; }
	.lp-cart-link__label { display: inline; }

	.lp-section-heading {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 25px;
	}

	.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
	.lp-micro-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; }
	.lp-sticker { width: 112px; height: 112px; font-size: .58rem; }
	.lp-sticker strong { font-size: 1.25rem; }
	.lp-sticker small { font-size: .46rem; }

	.lp-trust { gap: 14px; }
	.lp-trust strong { font-size: .8rem; }

	.lp-theme ul.products.lp-product-grid,
	.lp-theme.woocommerce ul.products,
	.lp-theme .woocommerce ul.products,
	.lp-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }

	.lp-card__media { height: 276px; }
	/* Deux boutons égaux côte à côte s’il y a la place (2 × 140 px), sinon empilés. */
	.lp-card__actions { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

	/* Un seul produit dans la liste : carte horizontale sur toute la largeur. */
	.lp-theme.woocommerce ul.products:has(> li.product:only-child) { grid-template-columns: minmax(0, 1fr); }
	body.lp-theme ul.products:has(> li.product:only-child) li.product.lp-card { flex-direction: row; }
	body.lp-theme ul.products:has(> li.product:only-child) .lp-card__media { flex: 0 0 42%; height: auto; min-height: 300px; }
	body.lp-theme ul.products:has(> li.product:only-child) .lp-card__body { justify-content: center; padding: 28px; }
	body.lp-theme ul.products:has(> li.product:only-child) li.product .lp-card__price { margin-top: 0; }

	.lp-collection {
		grid-template-columns: minmax(0, 1.18fr) minmax(150px, .62fr);
		min-height: 455px;
	}

	.lp-collection__main { min-height: 390px; border-radius: 26px; }
	.lp-collection__thumbs { grid-template-columns: 1fr; grid-auto-rows: 1fr; }
	.lp-collection__thumbs img { border-radius: 26px; }

	.lp-cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }

	.lp-contact-cards { margin: 0; }
	.lp-form { padding: 28px; }
	.lp-form__grid { grid-template-columns: 1fr 1fr; }
	.lp-field--full { grid-column: 1 / -1; }

	.lp-footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- ≥ 940 px ---------- */

@media (min-width: 940px) {
	.lp-navbar { flex-wrap: nowrap; gap: 24px; min-height: 78px; }
	.lp-brand { margin-right: 0; }
	.lp-menu-toggle { display: none; }

	.lp-nav,
	.lp-js .lp-nav,
	.lp-js .lp-header.is-open .lp-nav {
		display: block;
		order: 0;
		width: auto;
		margin-left: auto;
		padding: 0;
	}

	.lp-nav > ul { display: flex; gap: 26px; }
	.lp-nav a { padding: 6px 0; border: 0; font-size: .82rem; }

	.lp-nav .current-menu-item > a {
		position: relative;
	}

	.lp-nav .current-menu-item > a::after {
		position: absolute;
		right: 0;
		bottom: -6px;
		left: 0;
		height: 3px;
		border-radius: 3px;
		background: var(--lp-gold);
		content: "";
	}

	.lp-nav .sub-menu { display: none; }

	.lp-hero { padding: 61px 0 80px; }

	.lp-hero__grid {
		grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
		grid-template-areas: "intro visual" "support visual";
		align-items: center;
		column-gap: 44px;
		row-gap: 0;
	}

	.lp-hero__intro { align-self: end; }
	.lp-hero__support { align-self: start; }
	.lp-hero__visual { width: min(100%, 500px); margin: 0 0 0 auto; }

	/* Hauteurs fixes : selon l'appareil, la police de repli prend plus ou moins de lignes que
	   Nunito / Inter. Le hero garde ainsi la même hauteur à leur chargement (CLS). */
	.lp-hero h1 { height: 4em; }
	.lp-hero .lp-lead { height: 5.355rem; overflow: hidden; }
	.lp-hero__actions { align-content: flex-start; height: 48px; }
	.lp-micro-trust { align-content: flex-start; height: 3.35rem; }

	.lp-trust { grid-template-columns: repeat(4, 1fr); margin-top: -30px; }
	.lp-trust li { min-height: 130px; border-radius: 21px; }

	.lp-benefits { grid-template-columns: repeat(3, 1fr); gap: 17px; }
	.lp-benefit { padding: 28px 24px; }

	.lp-theme.woocommerce ul.products.columns-3,
	.lp-theme ul.products.lp-product-grid.lp-cols-3,
	.lp-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.lp-theme.woocommerce ul.products.columns-4,
	.lp-theme ul.products.lp-product-grid.lp-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	/* Deux produits : ils occupent toute la largeur au lieu de laisser une colonne vide. */
	.lp-theme.woocommerce ul.products.columns-3:has(> li.product:nth-child(2):last-child),
	.lp-theme.woocommerce ul.products.columns-4:has(> li.product:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.lp-theme.woocommerce ul.products.columns-3:has(> li.product:only-child),
	.lp-theme.woocommerce ul.products.columns-4:has(> li.product:only-child) { grid-template-columns: minmax(0, 1fr); }

	.lp-split { grid-template-columns: .92fr 1.08fr; gap: 64px; }
	.lp-split--reverse { grid-template-columns: 1.08fr .92fr; }

	.lp-contact-layout {
		display: grid;
		grid-template-columns: .8fr 1.2fr;
		gap: 28px;
		align-items: start;
	}

	/* Les deux colonnes démarrent à la même hauteur (WordPress ajoute une marge au 2e bloc). */
	.lp-theme .lp-contact-layout > * { margin-block: 0; }

	.lp-footer__grid { grid-template-columns: 1.3fr .8fr .9fr 1fr; gap: 35px; }
	.lp-footer__brand { grid-column: auto; }

	.lp-footer ul.lp-footer__links,
	.lp-footer ul.lp-footer__contact { gap: 8px; }

	.lp-theme .lp-footer__links a,
	.lp-theme .lp-footer__contact a,
	.lp-footer__contact li { min-height: 0; }
}

/* Colonne du hero plus étroite : titre sur 5 lignes et boutons empilés. */
@media (min-width: 940px) and (max-width: 1099.98px) {
	.lp-hero h1 { height: 5em; }
	.lp-hero__actions { height: 108px; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto;
		transition-duration: .01ms;
		animation-duration: .01ms;
		animation-iteration-count: 1;
	}

	.lp-btn:hover,
	body.lp-theme ul.products li.product.lp-card:hover { transform: none; }
}
