/* ==========================================================================
   Couche "moderne" : effets de survol, animations d'apparition, cartes.
   Chargée après custom.css (voir functions.php). Mêmes couleurs que la charte
   (vert nature, vert clair, rose, fond crème). Pour tout désactiver, il suffit
   de retirer son chargement dans functions.php.
   ========================================================================== */

:root {
	--zs-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--zs-shadow-sm: 0 2px 8px rgba(43, 43, 38, 0.06);
	--zs-shadow-md: 0 10px 30px rgba(63, 86, 65, 0.12);
	--zs-shadow-lg: 0 22px 48px rgba(63, 86, 65, 0.2);
	--zs-radius: 18px;
}

html {
	scroll-behavior: smooth;
}
::selection {
	background: var(--wp--preset--color--accent);
	color: #fff;
}
:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
	border-radius: 6px;
}

/* --------------------------------------------------------------------------
   En-tête collant, effet verre dépoli, ombre quand on fait défiler
   -------------------------------------------------------------------------- */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar header.wp-block-template-part {
	top: 32px;
}
header.wp-block-template-part > header.wp-block-group {
	background-color: rgba(255, 255, 255, 0.82) !important;
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	transition: box-shadow 0.35s ease, padding 0.35s var(--zs-ease);
}
.zs-scrolled header.wp-block-template-part > header.wp-block-group {
	box-shadow: 0 6px 24px rgba(43, 43, 38, 0.08);
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}
/* En-tête compact au défilement (ordinateur) : sur les écrans de portable il tenait sur deux
   lignes et mangeait un quart de la hauteur. On masque les icônes sociales et on rétrécit la
   recherche pour tout faire tenir sur une ligne. */
@media (min-width: 1100px) {
	.zs-scrolled .zs-header-social {
		display: none !important;
	}
	.zs-scrolled .zs-header-actions .wp-block-search__input {
		width: 150px !important;
		min-width: 0;
	}
}

/* Menu : soulignement rose qui glisse depuis la gauche au survol */
@media (min-width: 681px) {
	.wp-block-navigation .wp-block-navigation-item__content {
		position: relative;
	}
	.wp-block-navigation .wp-block-navigation-item__content::after {
		content: "";
		position: absolute;
		left: 2px;
		right: 2px;
		bottom: -6px;
		height: 2px;
		border-radius: 2px;
		background: var(--wp--preset--color--accent);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.35s var(--zs-ease);
	}
	.wp-block-navigation .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
	.wp-block-navigation .zs-nav-current > .wp-block-navigation-item__content::after {
		transform: scaleX(1);
	}
}

/* Panier : petit rebond au survol */
.wc-block-mini-cart__button {
	border-radius: 999px;
	transition: background 0.25s ease, transform 0.25s var(--zs-ease);
}
.wc-block-mini-cart__button:hover {
	background: var(--wp--preset--color--background);
	transform: translateY(-2px);
}

/* Recherche : halo rose au focus */
.zs-header-actions {
	transition: box-shadow 0.25s ease;
}
.zs-header-actions:focus-within {
	box-shadow: 0 0 0 3px rgba(194, 123, 160, 0.25);
}

/* --------------------------------------------------------------------------
   Boutons : relief au survol + reflet lumineux qui traverse
   -------------------------------------------------------------------------- */
.wp-element-button,
.wp-block-button__link,
.wc-block-components-product-button__button,
.woocommerce a.button,
.woocommerce button.button,
ul.products li.product a.button,
.single_add_to_cart_button,
.zs-btn-ghost {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--zs-ease), box-shadow 0.3s ease !important;
}
.wp-element-button::after,
.wp-block-button__link::after,
.wc-block-components-product-button__button::after,
.woocommerce a.button::after,
.woocommerce button.button::after,
ul.products li.product a.button::after,
.single_add_to_cart_button::after,
.zs-btn-ghost::after {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	transform: skewX(-20deg);
	pointer-events: none;
	z-index: -1;
}
.wp-element-button:hover::after,
.wp-block-button__link:hover::after,
.wc-block-components-product-button__button:hover::after,
.woocommerce a.button:hover::after,
.woocommerce button.button:hover::after,
ul.products li.product a.button:hover::after,
.single_add_to_cart_button:hover::after,
.zs-btn-ghost:hover::after {
	animation: zs-shine 0.8s ease;
}
@keyframes zs-shine {
	to { left: 125%; }
}
.wp-element-button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
ul.products li.product a.button:hover,
.single_add_to_cart_button:hover {
	background-color: var(--wp--preset--color--accent) !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(194, 123, 160, 0.35);
}

/* Hero : le premier bouton devient le bouton principal (plein, blanc) */
.zs-hero .wp-block-buttons .zs-btn-ghost:first-child {
	background: #fff;
	color: var(--wp--preset--color--primary);
	border-color: #fff;
	font-weight: 600;
}
.zs-hero .wp-block-buttons .zs-btn-ghost:first-child:hover {
	background: var(--wp--preset--color--accent);
	color: #fff;
	border-color: var(--wp--preset--color--accent);
}
.zs-btn-ghost {
	gap: 8px;
}
.zs-hero .wp-block-buttons .zs-btn-ghost:first-child::before {
	content: "→";
	order: 2;
	transition: transform 0.3s var(--zs-ease);
}
.zs-hero .wp-block-buttons .zs-btn-ghost:first-child:hover::before {
	transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Hero : taches de couleur qui flottent, photo qui respire, entrée en douceur
   -------------------------------------------------------------------------- */
.zs-hero-blob.b1 {
	animation: zs-float-a 14s ease-in-out infinite alternate;
}
.zs-hero-blob.b2 {
	animation: zs-float-b 18s ease-in-out infinite alternate;
}
@keyframes zs-float-a {
	to { transform: translate(-60px, 50px) scale(1.15); }
}
@keyframes zs-float-b {
	to { transform: translate(70px, -40px) scale(1.1); }
}
.zs-photo {
	box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12), 0 0 0 22px rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.28);
	animation: zs-breathe 7s ease-in-out infinite;
	transition: box-shadow 0.4s ease;
}
.zs-photo:hover {
	box-shadow: 0 0 0 10px rgba(194, 123, 160, 0.35), 0 0 0 22px rgba(194, 123, 160, 0.12), 0 24px 60px rgba(0, 0, 0, 0.3);
}
@keyframes zs-breathe {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}
.zs-hero .zs-eyebrow,
.zs-hero .zs-hero-title,
.zs-hero .has-surface-color,
.zs-hero .wp-block-buttons,
.zs-hero .zs-chip-row {
	animation: zs-rise 0.9s var(--zs-ease) both;
}
.zs-hero .zs-hero-title { animation-delay: 0.08s; }
.zs-hero .has-surface-color { animation-delay: 0.16s; }
.zs-hero .wp-block-buttons { animation-delay: 0.24s; }
.zs-hero .zs-chip-row { animation-delay: 0.32s; }
@keyframes zs-rise {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}
.zs-chip {
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	transition: background 0.25s ease, transform 0.25s var(--zs-ease);
}
.zs-chip:hover {
	background: rgba(255, 255, 255, 0.26);
	transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Titres de section : petit trait rose décoratif
   -------------------------------------------------------------------------- */
main h2.has-text-align-center,
.wp-site-blocks > .wp-block-group h2.has-text-align-center {
	position: relative;
	padding-bottom: 18px;
}
main h2.has-text-align-center::after,
.wp-site-blocks > .wp-block-group h2.has-text-align-center::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 56px;
	height: 3px;
	border-radius: 3px;
	transform: translateX(-50%);
	background: linear-gradient(90deg, var(--wp--preset--color--primary-light), var(--wp--preset--color--accent));
}

/* --------------------------------------------------------------------------
   Cartes "atouts" de l'accueil
   -------------------------------------------------------------------------- */
.zs-badge-card,
.zs-about-card,
.zs-buy-card,
.zs-price-item {
	position: relative;
	overflow: hidden;
	border-radius: var(--zs-radius);
	transition: transform 0.4s var(--zs-ease), box-shadow 0.4s ease;
}
.zs-badge-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--zs-ease);
}
.zs-badge-card:hover,
.zs-about-card:hover,
.zs-buy-card:hover,
.zs-price-item:hover {
	transform: translateY(-8px);
	box-shadow: var(--zs-shadow-lg);
}
.zs-badge-card:hover::before {
	transform: scaleX(1);
}
.zs-badge-card .zs-badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	margin-bottom: 16px;
	font-size: 1.6rem;
	background: linear-gradient(135deg, rgba(124, 148, 115, 0.18), rgba(194, 123, 160, 0.18));
	transition: transform 0.5s var(--zs-ease), background 0.4s ease;
}
.zs-badge-card:hover .zs-badge-icon {
	transform: rotate(-8deg) scale(1.12);
	background: linear-gradient(135deg, rgba(124, 148, 115, 0.32), rgba(194, 123, 160, 0.32));
}
.zs-badge-card h3 {
	transition: color 0.3s ease;
}
.zs-badge-card:hover h3 {
	color: var(--wp--preset--color--accent);
}

/* --------------------------------------------------------------------------
   Cartes produits (boutique + "produits phares" de l'accueil)
   -------------------------------------------------------------------------- */
ul.products li.product,
.wc-block-product-template .wc-block-product {
	display: flex !important;
	flex-direction: column;
	background: var(--wp--preset--color--surface);
	border-radius: var(--zs-radius);
	padding: 14px 14px 20px !important;
	box-shadow: var(--zs-shadow-sm);
	transition: transform 0.45s var(--zs-ease), box-shadow 0.45s ease;
}
ul.products li.product:hover,
.wc-block-product-template .wc-block-product:hover {
	transform: translateY(-8px);
	box-shadow: var(--zs-shadow-lg);
}
ul.products li.product a.woocommerce-loop-product__link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
	color: inherit;
}
ul.products li.product a.woocommerce-loop-product__link,
ul.products li.product img,
.wc-block-product-template .wc-block-product .wc-block-components-product-image {
	border-radius: 12px;
}
ul.products li.product img,
.wc-block-product-template .wc-block-product .wc-block-components-product-image img {
	transition: transform 0.7s var(--zs-ease) !important;
}
ul.products li.product .price {
	margin-top: auto;
	font-weight: 600;
}
ul.products li.product a.button,
.wc-block-product-template .wc-block-product .wp-block-woocommerce-product-button {
	align-self: center;
}
.wc-block-product-template .wc-block-product .wp-block-woocommerce-product-price {
	margin-top: auto;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
}
ul.products li.product .woocommerce-loop-product__title,
.wc-block-product-template .wc-block-product .wp-block-post-title {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
}
.wc-block-product-template .wc-block-product .wp-block-post-title a {
	text-decoration: none;
}
/* Étiquette "Promo" plus élégante */
.woocommerce span.onsale,
.wc-block-components-product-sale-badge {
	background: var(--wp--preset--color--accent) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 4px 12px !important;
	font-size: 0.75rem !important;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 6px 14px rgba(194, 123, 160, 0.35);
}

/* Filtre de la boutique */
.zs-shop-filters {
	border-radius: var(--zs-radius);
}
/* Ordinateur : le filtre suit le défilement, sans jamais dépasser la hauteur de l'écran
   (au-delà, il défile à l'intérieur de son cadre). */
@media (min-width: 900px) {
	.zs-shop-filters {
		--zs-sticky-top: calc(var(--zs-header-h, 150px) + 16px);
		position: sticky;
		top: var(--zs-sticky-top);
		max-height: calc(100vh - var(--zs-sticky-top) - 16px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		scrollbar-color: rgba(63, 86, 65, 0.25) transparent;
		transition: top 0.35s ease;
	}
	.admin-bar .zs-shop-filters {
		--zs-sticky-top: calc(var(--zs-header-h, 150px) + 48px);
	}
}
@media (max-width: 560px) {
	ul.products li.product,
	.wc-block-product-template .wc-block-product {
		padding: 8px 8px 14px !important;
		border-radius: 14px;
	}
}
.zs-shop-filters a {
	transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s var(--zs-ease);
}
.zs-shop-filters a:hover {
	padding-left: 16px;
}

/* Pagination */
.zs-shop-pagination .page-numbers {
	transition: transform 0.25s var(--zs-ease), background 0.25s ease, color 0.25s ease;
}
.zs-shop-pagination .page-numbers:hover:not(.current) {
	transform: translateY(-2px);
	background: var(--wp--preset--color--accent);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Fiche produit
   -------------------------------------------------------------------------- */
.single-product .wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery {
	background: var(--wp--preset--color--surface);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--zs-shadow-md);
}
.single-product .woocommerce-product-gallery__image img {
	transition: transform 0.8s var(--zs-ease);
}
.single-product .woocommerce-product-gallery__image:hover img {
	transform: scale(1.04);
}
.single-product .flex-control-thumbs img {
	border-radius: 10px;
	opacity: 0.6;
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.single-product .flex-control-thumbs img:hover,
.single-product .flex-control-thumbs img.flex-active {
	opacity: 1;
	transform: translateY(-2px);
}
.single-product .wp-block-woocommerce-product-price {
	color: var(--wp--preset--color--accent);
	font-weight: 700;
}
.single-product form.cart .quantity input.qty {
	border: 1px solid rgba(63, 86, 65, 0.2);
	border-radius: 999px;
	padding: 12px 10px;
	text-align: center;
	background: var(--wp--preset--color--surface);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.single-product form.cart .quantity input.qty:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px rgba(194, 123, 160, 0.2);
}
/* Onglets Description / Infos */
.woocommerce-tabs ul.tabs li a {
	position: relative;
	transition: color 0.25s ease;
}
.woocommerce-tabs ul.tabs li a:hover {
	color: var(--wp--preset--color--accent) !important;
}

/* --------------------------------------------------------------------------
   Pied de page : liens des réseaux et textes qui s'illuminent
   -------------------------------------------------------------------------- */
footer.wp-block-template-part a {
	transition: color 0.25s ease, opacity 0.25s ease;
}

/* --------------------------------------------------------------------------
   Apparition au défilement (activée par modern.js ; sans JS tout reste visible)
   -------------------------------------------------------------------------- */
.zs-js .zs-reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.9s var(--zs-ease), transform 0.9s var(--zs-ease);
	transition-delay: var(--zs-delay, 0s);
}
.zs-js .zs-reveal.is-visible {
	opacity: 1;
	transform: none;
}
/* Les cartes produits gardent leur effet de survol une fois apparues */
.zs-js .zs-reveal.is-visible:is(li.product, .wc-block-product, .zs-badge-card) {
	transition: opacity 0.9s var(--zs-ease), transform 0.45s var(--zs-ease), box-shadow 0.45s ease;
	transition-delay: 0s;
}
.zs-js .zs-reveal.is-visible:is(li.product, .wc-block-product, .zs-badge-card):hover {
	transform: translateY(-8px);
}

/* Page "À propos" : section ciblée par un lien (#ingredients…) — placée sous l'en-tête
   collant, puis mise en valeur par un halo rose qui s'estompe. */
.zs-about-card[id],
.zs-ab-pillar[id],
.page h2[id] {
	scroll-margin-top: calc(var(--zs-header-h, 150px) + 24px);
}
.zs-about-card:target,
.zs-ab-pillar:target,
.page h2[id]:target {
	animation: zs-target-glow 2.4s ease-out 0.3s;
}
@keyframes zs-target-glow {
	0%, 35% { box-shadow: 0 0 0 4px rgba(194, 123, 160, 0.55), 0 18px 40px rgba(194, 123, 160, 0.3); }
	100% { box-shadow: 0 0 0 0 rgba(194, 123, 160, 0), 0 4px 14px rgba(43, 43, 38, 0.08); }
}
.page h2[id]:target {
	border-radius: 10px;
}

/* Bouton "retour en haut" */
.zs-to-top {
	position: fixed;
	left: 20px;
	bottom: 20px;
	width: 46px;
	height: 46px;
	border: none;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	box-shadow: var(--zs-shadow-md);
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s var(--zs-ease), background 0.25s ease;
	z-index: 998;
}
.zs-scrolled-far .zs-to-top {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.zs-to-top:hover {
	background: var(--wp--preset--color--accent);
	transform: translateY(-3px);
}

/* Écrans tactiles : pas d'effet de soulèvement collant après un appui */
@media (hover: none) {
	ul.products li.product:hover,
	.wc-block-product-template .wc-block-product:hover,
	.zs-badge-card:hover {
		transform: none;
	}
}

/* Respect du réglage "réduire les animations" du système */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.zs-js .zs-reveal {
		opacity: 1;
		transform: none;
	}
}

/* Icônes du thème utilisables en CSS (masques) — générées depuis inc/icons.php */
:root {
	--zs-i-bulb: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M176%20232a8%208%200%200%201-8%208H88a8%208%200%200%201%200-16h80a8%208%200%200%201%208%208m40-128a87.55%2087.55%200%200%201-33.64%2069.21A16.24%2016.24%200%200%200%20176%20186v6a16%2016%200%200%201-16%2016H96a16%2016%200%200%201-16-16v-6a16%2016%200%200%200-6.23-12.66A87.59%2087.59%200%200%201%2040%20104.49C39.74%2056.83%2078.26%2017.14%20125.88%2016A88%2088%200%200%201%20216%20104m-16%200a72%2072%200%200%200-73.74-72c-39%20.92-70.47%2033.39-70.26%2072.39a71.65%2071.65%200%200%200%2027.64%2056.3A32%2032%200%200%201%2096%20186v6h64v-6a32.15%2032.15%200%200%201%2012.47-25.35A71.65%2071.65%200%200%200%20200%20104m-16.11-9.34a57.6%2057.6%200%200%200-46.56-46.55a8%208%200%200%200-2.66%2015.78c16.57%202.79%2030.63%2016.85%2033.44%2033.45A8%208%200%200%200%20176%20104a9%209%200%200%200%201.35-.11a8%208%200%200%200%206.54-9.23%22%2F%3E%3C%2Fsvg%3E");
	--zs-i-vet: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M220%20160a12%2012%200%201%201-12-12a12%2012%200%200%201%2012%2012m-4.55%2039.29A48.08%2048.08%200%200%201%20168%20240h-24a48.05%2048.05%200%200%201-48-48v-40.51A64%2064%200%200%201%2040%2088V40a8%208%200%200%201%208-8h24a8%208%200%200%201%200%2016H56v40a48%2048%200%200%200%2048.64%2048c26.11-.34%2047.36-22.25%2047.36-48.83V48h-16a8%208%200%200%201%200-16h24a8%208%200%200%201%208%208v47.17c0%2032.84-24.53%2060.29-56%2064.31V192a32%2032%200%200%200%2032%2032h24a32.06%2032.06%200%200%200%2031.22-25a40%2040%200%201%201%2016.23.27ZM232%20160a24%2024%200%201%200-24%2024a24%2024%200%200%200%2024-24%22%2F%3E%3C%2Fsvg%3E");
	--zs-i-leaf: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M223.45%2040.07a8%208%200%200%200-7.52-7.52C139.8%2028.08%2078.82%2051%2052.82%2094a87.1%2087.1%200%200%200-12.76%2049c.57%2015.92%205.21%2032%2013.79%2047.85l-19.51%2019.5a8%208%200%200%200%2011.32%2011.32l19.5-19.51C81%20210.73%2097.09%20215.37%20113%20215.94q1.67.06%203.33.06A86.93%2086.93%200%200%200%20162%20203.18c43-26%2065.93-86.97%2061.45-163.11m-69.7%20149.43c-22.75%2013.78-49.68%2014-76.71.77l88.63-88.62a8%208%200%200%200-11.32-11.32L65.73%20179c-13.19-27-13-54%20.77-76.71c22.09-36.47%2074.6-56.44%20141.31-54.06c2.39%2066.66-17.59%20119.18-54.06%20141.27%22%2F%3E%3C%2Fsvg%3E");
	--zs-i-info: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M128%2024a104%20104%200%201%200%20104%20104A104.11%20104.11%200%200%200%20128%2024m0%20192a88%2088%200%201%201%2088-88a88.1%2088.1%200%200%201-88%2088m16-40a8%208%200%200%201-8%208a16%2016%200%200%201-16-16v-40a8%208%200%200%201%200-16a16%2016%200%200%201%2016%2016v40a8%208%200%200%201%208%208m-32-92a12%2012%200%201%201%2012%2012a12%2012%200%200%201-12-12%22%2F%3E%3C%2Fsvg%3E");
	--zs-i-shield: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M208%2040H48a16%2016%200%200%200-16%2016v56c0%2052.72%2025.52%2084.67%2046.93%20102.19c23.06%2018.86%2046%2025.26%2047%2025.53a8%208%200%200%200%204.2%200c1-.27%2023.91-6.67%2047-25.53C198.48%20196.67%20224%20164.72%20224%20112V56a16%2016%200%200%200-16-16m0%2072c0%2037.07-13.66%2067.16-40.6%2089.42a129.3%20129.3%200%200%201-39.4%2022.2a128.3%20128.3%200%200%201-38.92-21.81C61.82%20179.51%2048%20149.3%2048%20112V56h160ZM82.34%20141.66a8%208%200%200%201%2011.32-11.32L112%20148.69l50.34-50.35a8%208%200%200%201%2011.32%2011.32l-56%2056a8%208%200%200%201-11.32%200Z%22%2F%3E%3C%2Fsvg%3E");
	--zs-i-truck: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22m255.42%20117l-14-35a15.93%2015.93%200%200%200-14.84-10H192v-8a8%208%200%200%200-8-8H32a16%2016%200%200%200-16%2016v112a16%2016%200%200%200%2016%2016h17a32%2032%200%200%200%2062%200h50a32%2032%200%200%200%2062%200h17a16%2016%200%200%200%2016-16v-64a7.9%207.9%200%200%200-.58-3M192%2088h34.58l9.6%2024H192ZM32%2072h144v64H32Zm48%20136a16%2016%200%201%201%2016-16a16%2016%200%200%201-16%2016m81-24h-50a32%2032%200%200%200-62%200H32v-32h144v12.31A32.1%2032.1%200%200%200%20161%20184m31%2024a16%2016%200%201%201%2016-16a16%2016%200%200%201-16%2016m48-24h-17a32.06%2032.06%200%200%200-31-24v-32h48Z%22%2F%3E%3C%2Fsvg%3E");
	--zs-i-recycle: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M96%20208a8%208%200%200%201-8%208H40a24%2024%200%200%201-20.77-36l34.29-59.25l-14.05%203.75a8%208%200%201%201-4.14-15.5l32.77-8.77a8%208%200%200%201%209.8%205.66l8.79%2032.77A8%208%200%200%201%2081%20148.5a8.4%208.4%200%200%201-2.08.27a8%208%200%200%201-7.72-5.93l-3.8-14.15L33.11%20188A8%208%200%200%200%2040%20200h48a8%208%200%200%201%208%208m140.73-28l-23.14-40a8%208%200%200%200-13.84%208l23.14%2040a8%208%200%200%201-6.89%2012h-68.69l10.34-10.34a8%208%200%200%200-11.31-11.32l-24%2024a8%208%200%200%200%200%2011.32l24%2024a8%208%200%200%200%2011.31-11.32L147.31%20216H216a24%2024%200%200%200%2020.77-36ZM128%2032a7.85%207.85%200%200%201%206.92%204l34.29%2059.25l-14.08-3.78a8%208%200%200%200-4.13%2015.45l32.78%208.79a8.2%208.2%200%200%200%202.07.27a8%208%200%200%200%207.72-5.93l8.79-32.79a8%208%200%201%200-15.45-4.14l-3.8%2014.17L148.77%2028a24%2024%200%200%200-41.54%200L84.07%2068a8%208%200%200%200%2013.85%208l23.16-40a7.85%207.85%200%200%201%206.92-4%22%2F%3E%3C%2Fsvg%3E");
	--zs-i-pin: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M128%2064a40%2040%200%201%200%2040%2040a40%2040%200%200%200-40-40m0%2064a24%2024%200%201%201%2024-24a24%2024%200%200%201-24%2024m0-112a88.1%2088.1%200%200%200-88%2088c0%2031.4%2014.51%2064.68%2042%2096.25a254.2%20254.2%200%200%200%2041.45%2038.3a8%208%200%200%200%209.18%200a254.2%20254.2%200%200%200%2041.37-38.3c27.45-31.57%2042-64.85%2042-96.25a88.1%2088.1%200%200%200-88-88m0%20206c-16.53-13-72-60.75-72-118a72%2072%200%200%201%20144%200c0%2057.23-55.47%20105-72%20118%22%2F%3E%3C%2Fsvg%3E");
	--zs-i-check: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M173.66%2098.34a8%208%200%200%201%200%2011.32l-56%2056a8%208%200%200%201-11.32%200l-24-24a8%208%200%200%201%2011.32-11.32L112%20148.69l50.34-50.35a8%208%200%200%201%2011.32%200M232%20128A104%20104%200%201%201%20128%2024a104.11%20104.11%200%200%201%20104%20104m-16%200a88%2088%200%201%200-88%2088a88.1%2088.1%200%200%200%2088-88%22%2F%3E%3C%2Fsvg%3E");
	--zs-i-star: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M239.18%2097.26A16.38%2016.38%200%200%200%20224.92%2086l-59-4.76l-22.78-55.09a16.36%2016.36%200%200%200-30.27%200L90.11%2081.23L31.08%2086a16.46%2016.46%200%200%200-9.37%2028.86l45%2038.83L53%20211.75a16.38%2016.38%200%200%200%2024.5%2017.82l50.5-31.08l50.53%2031.08A16.4%2016.4%200%200%200%20203%20211.75l-13.76-58.07l45-38.83a16.43%2016.43%200%200%200%204.94-17.59m-15.34%205.47l-48.7%2042a8%208%200%200%200-2.56%207.91l14.88%2062.8a.37.37%200%200%201-.17.48c-.18.14-.23.11-.38%200l-54.72-33.65a8%208%200%200%200-8.38%200l-54.72%2033.67c-.15.09-.19.12-.38%200a.37.37%200%200%201-.17-.48l14.88-62.8a8%208%200%200%200-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16a8%208%200%200%200%206.72-4.94l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153%2091.86a8%208%200%200%200%206.75%204.92l63.92%205.16c.15%200%20.24%200%20.33.29s0%20.4-.16.5%22%2F%3E%3C%2Fsvg%3E");
}
.zs-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	vertical-align: -0.14em;
}
.zs-mask-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: var(--zs-i) center / contain no-repeat;
	mask: var(--zs-i) center / contain no-repeat;
}
.zs-step-dot,
.zs-float-icon,
.zs-animal-icon,
.zs-by-animal-icon,
.zs-v3-tab-icon {
	color: var(--wp--preset--color--primary);
}
.zs-article-author-avatar {
	color: #fff;
}
.zs-eyebrow .zs-icon {
	color: #CFE3C4;
}
.zs-animal-tile[aria-pressed="true"] .zs-animal-icon,
.zs-v3-tab[aria-selected="true"] .zs-v3-tab-icon,
.zs-by-animal-card:hover .zs-by-animal-icon {
	color: #fff;
}

/* Lisibilité : le rose de la charte (#C27BA0) est trop pâle pour les PETITS textes sur fond
   crème (contraste ≈ 3:1). On garde ce rose pour le décor, et on utilise une nuance plus
   soutenue (contraste ≈ 5,3:1, conforme WCAG AA) pour les textes. */
:root {
	--zs-accent-text: #9B4B74;
}
html body :is(
	.zs-section-label,
	.zs-post-cats,
	.zs-post-cats a,
	.zs-finder-label,
	.zs-v3-product-price,
	.zs-step-num,
	.zs-toc-title,
	.zs-ab-more summary,
	.zs-clear-all,
	.zs-legal-doc h3,
	.zs-buy-card h4,
	.zs-form-row label span,
	.zs-zs-accent-text
) {
	color: var(--zs-accent-text);
}
.single-product .wp-block-woocommerce-product-price,
.single-product .wp-block-woocommerce-product-price .amount {
	color: var(--zs-accent-text);
}

/* ==========================================================================
   Pied de page (4 colonnes)
   ========================================================================== */
.zs-footer > * {
	max-width: 1200px !important;
}
.zs-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding-bottom: 36px;
}
/* Logo dans ses vraies couleurs, sur un cartouche crème (le passer en blanc
   transformait la bouteille du logo en tache blanche). */
.zs-footer-logo {
	display: inline-flex;
	padding: 10px 16px;
	border-radius: 14px;
	background: var(--wp--preset--color--background);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.zs-footer-logo:hover {
	transform: translateY(-2px);
}
.zs-footer-logo img {
	display: block;
	height: 38px;
	width: auto;
}
.zs-footer-brand p {
	max-width: 300px;
	margin: 16px 0 18px;
	font-size: 0.92rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.78);
}
.zs-footer-social {
	display: flex;
	gap: 10px;
}
.zs-footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	transition: background 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.zs-footer-social a:hover {
	background: var(--wp--preset--color--accent);
	transform: translateY(-2px);
}
.zs-footer-social .zs-icon {
	width: 20px;
	height: 20px;
}
.zs-footer-title {
	margin: 4px 0 14px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #F2C9DD;
}
.zs-footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.zs-footer-col li + li {
	margin-top: 9px;
}
.zs-footer-col a {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.93rem;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.zs-footer-col nav a:hover,
.zs-footer-col ul a:hover {
	color: #fff;
	padding-left: 4px;
}
.zs-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.93rem;
	color: rgba(255, 255, 255, 0.85);
}
.zs-footer-contact .zs-icon {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: #CFE3C4;
}
.zs-footer-contact small {
	font-size: 0.8rem;
	opacity: 0.75;
}
.zs-footer-secure {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 0;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.85);
}
.zs-footer-secure .zs-icon {
	color: #CFE3C4;
}
.zs-footer-copy {
	margin: 0;
	text-align: center;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 900px) {
	.zs-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px 24px;
	}
	.zs-footer-brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 520px) {
	.zs-footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   En-tête sur une seule ligne : logo · menu · réseaux · compte · loupe · panier.
   La recherche s'ouvre dans un panneau sous l'en-tête (bouton loupe, modern.js).
   ========================================================================== */
header.wp-block-template-part > header.wp-block-group {
	position: relative;
	flex-wrap: nowrap !important;
	gap: 16px;
}
.zs-search-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--primary);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}
.zs-search-toggle .zs-icon {
	width: 19px;
	height: 19px;
}
.zs-search-toggle:hover,
.zs-search-toggle[aria-expanded="true"] {
	background: var(--wp--preset--color--primary);
	color: #fff;
}
header.wp-block-group .zs-header-actions {
	position: absolute;
	top: calc(100% + 8px);
	right: 24px;
	z-index: 50;
	width: min(520px, calc(100vw - 48px));
	padding: 8px 8px 8px 22px !important;
	border-radius: 999px;
	background: var(--wp--preset--color--surface) !important;
	box-shadow: 0 18px 40px rgba(43, 43, 38, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.25s;
}
header.wp-block-group.is-search-open .zs-header-actions {
	opacity: 1;
	visibility: visible;
	transform: none;
}
header.wp-block-group .zs-header-actions .wp-block-search {
	width: 100%;
}
header.wp-block-group .zs-header-actions .wp-block-search__inside-wrapper {
	width: 100%;
}
header.wp-block-group .zs-header-actions .wp-block-search__input {
	flex: 1;
	min-width: 0;
}
/* L'ancienne astuce "masquer les réseaux au défilement" n'est plus utile */
.zs-scrolled .zs-header-social {
	display: flex !important;
}
@media (max-width: 1080px) {
	.zs-header-social,
	.zs-scrolled .zs-header-social {
		display: none !important;
	}
}
@media (max-width: 680px) {
	header.wp-block-template-part > header.wp-block-group {
		gap: 6px;
	}
	header.wp-block-group .zs-header-actions {
		right: 12px;
		width: calc(100vw - 24px);
	}
}
@media (max-width: 680px) {
	header.wp-block-group .zs-header-actions .wp-block-search__button {
		width: auto !important;
		padding: 0 18px !important;
		font-size: 0.9rem !important;
	}
	header.wp-block-group .zs-header-actions .wp-block-search__button::before {
		content: none !important;
	}
}
/* À l'ouverture, le panneau devient visible immédiatement (pour pouvoir y placer le curseur) */
header.wp-block-group.is-search-open .zs-header-actions {
	transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

/* Emojis des animaux dans les pastilles (fiche produit, recherche, 404) */
.zs-suits-pill .zs-emoji,
.zs-suits-pill img.emoji {
	font-size: 1.05em;
	line-height: 1;
}
