/*
Theme Name:   CESFO Prestations Annexes
Theme URI:    https://prestations-annexes.cesfo.fr
Description:  Thème enfant de Twenty Twenty-Five pour le site CESFO Prestations Annexes. Personnalisations DSI Global Services.
Author:       DSI Global Services
Author URI:   https://dsi-luxembourg.lu
Template:     twentytwentyfive
Version:      1.5.11
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  cesfo-child
Tags:         woocommerce, cesfo, child-theme
*/

/* =============================================================================
   1. VARIABLES — Palette CESFO
   ============================================================================= */

:root {
	/* Couleurs principales */
	--cesfo-teal:          #4BBDAD;
	--cesfo-teal-dark:     #38A898;
	--cesfo-teal-light:    #E8F8F6;
	--cesfo-coral:         #E8667A;
	--cesfo-coral-light:   #FDF0F2;
	--cesfo-lavender:      #7B7BB8;
	--cesfo-lavender-light:#F0F0F8;
	--cesfo-navy:          #2D3A4E;
	--cesfo-navy-light:    #3D4D62;

	/* Neutres */
	--cesfo-white:         #FFFFFF;
	--cesfo-light:         #F5F8F8;
	--cesfo-border:        #DDE8E7;
	--cesfo-gray:          #5F6B7A;
	--cesfo-gray-light:    #8FA0AE;

	/* Sémantiques */
	--cesfo-primary:       var(--cesfo-teal);
	--cesfo-primary-hover: var(--cesfo-teal-dark);
	--cesfo-text:          var(--cesfo-navy);
	--cesfo-text-muted:    var(--cesfo-gray);
	--cesfo-bg:            var(--cesfo-white);
	--cesfo-bg-alt:        var(--cesfo-light);

	/* Espacement */
	--cesfo-radius:        8px;
	--cesfo-radius-lg:     12px;
	--cesfo-shadow:        0 2px 8px rgba(45, 58, 78, 0.10);
	--cesfo-shadow-md:     0 4px 16px rgba(45, 58, 78, 0.14);
}

/* =============================================================================
   2. RESET & BASE
   ============================================================================= */

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

body {
	font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
	color: var(--cesfo-text);
	background-color: var(--cesfo-bg);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--cesfo-teal);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--cesfo-teal-dark);
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* =============================================================================
   3. TYPOGRAPHIE
   ============================================================================= */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
	color: var(--cesfo-navy);
	line-height: 1.25;
	font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem;  font-weight: 600; }

p { margin-bottom: 1rem; }

/* Paragraphe lead (intro de section) */
.cesfo-lead,
p.cesfo-lead {
	font-size: 1.1rem;
	color: var(--cesfo-gray);
	line-height: 1.75;
	max-width: 68ch;
}

/* ---- Pattern Shrimpy — ligne teal + ornement ✦ sous les h2 ---- */

/* Base : left-aligned — courte ligne + diamant collé
   Cible : blocs Gutenberg ET h2 dans les templates PHP custom */
h2.wp-block-heading,
.entry-content h2,
.wp-block-post-content h2 {
	position: relative;
	padding-bottom: 2rem;
	margin-bottom: 1.75rem;
}

/* Ligne courte (left) */
h2.wp-block-heading::before,
.entry-content h2::before,
.wp-block-post-content h2::before {
	content: '';
	position: absolute;
	bottom: 0.7rem;
	left: 0;
	width: 44px;
	height: 1px;
	background: var(--cesfo-teal);
}

/* Ornement ✦ juste après la ligne */
h2.wp-block-heading::after,
.entry-content h2::after,
.wp-block-post-content h2::after {
	content: '✦';
	position: absolute;
	bottom: 0.4rem;
	left: 44px;
	color: var(--cesfo-teal);
	font-size: 0.55rem;
	line-height: 1;
	padding-left: 6px;
}

/* ---- Centré — pleine largeur + ✦ coupant la ligne (Shrimpy exact) ---- */
h2.wp-block-heading.has-text-align-center {
	padding-bottom: 2.5rem;
	margin-bottom: 2rem;
}

/* Ligne pleine largeur */
h2.wp-block-heading.has-text-align-center::before {
	left: 0;
	right: 0;
	width: auto;
	bottom: 0.9rem;
	height: 1px;
	opacity: 0.4;
}

/* ✦ centré, fond blanc qui "coupe" la ligne */
h2.wp-block-heading.has-text-align-center::after {
	left: 50%;
	transform: translateX(-50%);
	bottom: 0.5rem;
	padding: 0 0.8rem;
	background: #fff;
	font-size: 0.65rem;
}

/* ---- Aligné droite — miroir ---- */
h2.wp-block-heading.has-text-align-right::before {
	left: auto;
	right: 0;
}
h2.wp-block-heading.has-text-align-right::after {
	left: auto;
	right: 44px;
	padding-left: 0;
	padding-right: 6px;
}

/* Pas de séparateur dans le footer, les sous-menus, les widgets */
footer h2::before,
footer h2::after,
.wp-block-navigation h2::before,
.wp-block-navigation h2::after,
.widget h2::before,
.widget h2::after,
.wc-block-mini-cart h2::before,
.wc-block-mini-cart h2::after {
	display: none !important;
}

/* Sections à fond navy — ornement ✦ sur fond navy */
.has-cesfo-navy-background-color h2.wp-block-heading.has-text-align-center::after {
	background: var(--cesfo-navy);
}

/* Sections à fond teal — ornement ✦ sur fond teal */
.has-cesfo-teal-background-color h2.wp-block-heading.has-text-align-center::after {
	background: var(--cesfo-teal);
}

/* ---- Rythme vertical entre blocs ---- */
.wp-block-group.alignfull + .wp-block-group.alignfull {
	margin-top: 0;
}

/* Espacement généreux pour les sections de page */
.wp-block-group:not(.alignfull):not(.alignwide) {
	margin-top: 0;
	margin-bottom: 0;
}

/* =============================================================================
   4. BOUTONS
   ============================================================================= */

/* ---- Base commune ---- */
.wp-element-button,
.wp-block-button__link,
.button,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	background-color: var(--cesfo-teal);
	color: var(--cesfo-white) !important;
	border: 2px solid transparent;
	border-radius: var(--cesfo-radius);
	padding: 0.75rem 1.75rem;
	font-family: 'Nunito', sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	cursor: pointer;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.18s ease,
	            box-shadow 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
	-webkit-font-smoothing: antialiased;
}

/* ---- Hover ---- */
.wp-element-button:hover,
.wp-block-button__link:hover,
.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background-color: var(--cesfo-teal-dark);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(75, 189, 173, 0.35);
}

/* ---- Focus accessible ---- */
.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible,
.button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible {
	outline: 3px solid var(--cesfo-teal);
	outline-offset: 3px;
	box-shadow: none;
}

/* ---- Disabled ---- */
.wp-element-button:disabled,
.button:disabled,
button:disabled,
input[type="submit"]:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
}

/* ---- Variante Large (CTA hero, bannières) ---- */
.wp-block-button.is-style-large .wp-block-button__link,
.button.large {
	padding: 1rem 2.5rem;
	font-size: 1.05rem;
	border-radius: var(--cesfo-radius-lg);
}

/* ---- Variante Small ---- */
.button.small,
.wp-block-button.is-style-small .wp-block-button__link {
	padding: 0.5rem 1.1rem;
	font-size: 0.85rem;
}

/* ---- Outline / Fantôme ---- */
.button.outline,
.wp-block-button.is-style-outline .wp-block-button__link,
.woocommerce a.button.alt {
	background-color: transparent;
	border-color: var(--cesfo-teal);
	color: var(--cesfo-teal) !important;
	box-shadow: none;
}

.button.outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.woocommerce a.button.alt:hover {
	background-color: var(--cesfo-teal);
	color: var(--cesfo-white) !important;
	box-shadow: 0 6px 18px rgba(75, 189, 173, 0.35);
}

/* ---- Outline blanc (sur fond coloré/sombre) ---- */
.button.outline-white {
	background-color: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--cesfo-white) !important;
}

.button.outline-white:hover {
	background-color: var(--cesfo-white);
	color: var(--cesfo-navy) !important;
	border-color: var(--cesfo-white);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* ---- Corail (actions secondaires, factures) ---- */
.button.cesfo-coral,
.cesfo-btn-email-facture {
	background-color: var(--cesfo-coral);
	color: var(--cesfo-white) !important;
}

.button.cesfo-coral:hover,
.cesfo-btn-email-facture:hover {
	background-color: #d4556a;
	box-shadow: 0 6px 18px rgba(232, 102, 122, 0.35);
}

/* =============================================================================
   5. HEADER & NAVIGATION
   ============================================================================= */

/* ---- Header sticky ---- */
.cesfo-site-header,
.wp-block-template-part[data-area="header"],
header.wp-block-template-part {
	background-color: var(--cesfo-white);
	position: sticky;
	top: 0;
	z-index: 200;
	transition: box-shadow 0.25s ease;
}

/* Ombre renforcée quand on a scrollé (classe ajoutée par JS) */
.cesfo-site-header.is-scrolled {
	box-shadow: 0 2px 20px rgba(45, 58, 78, 0.13);
}

/* ---- Ligne 1 : logo + icônes ---- */
.cesfo-header-top {
	border-bottom: 1px solid var(--cesfo-border);
}

/* ---- Ligne 2 : barre nav Shrimpy (valeurs exactes thème acheté) ---- */
.cesfo-nav-bar {
	background-color: #f0f3f5;
	height: 80px;
	width: 100%;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cesfo-nav-bar .wp-block-navigation__container {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	margin: 0;
	padding: 0;
}

/* ---- Logo CESFO ---- */
.wp-block-site-logo {
	flex-shrink: 0;
}
.wp-block-site-logo img,
.wp-block-site-logo a img,
.custom-logo {
	max-height: none !important;
	height: auto !important;
	width: auto !important;
}

/* Logo footer : WooCommerce force width:100% sur les pages archives/catégories */
.has-cesfo-navy-background-color .wp-block-site-logo {
	width: auto !important;
	max-width: 120px !important;
}
.has-cesfo-navy-background-color .wp-block-site-logo img {
	width: 120px !important;
	max-width: 120px !important;
	height: auto !important;
}

/* ---- Titre du site (fallback sans logo) ---- */
.wp-block-site-title a {
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 1.35rem;
	color: var(--cesfo-navy) !important;
	text-decoration: none !important;
}
.wp-block-site-title a:hover {
	color: var(--cesfo-teal) !important;
}

/* ---- Liens de navigation — Open Sans 21px / 80px hauteur (Shrimpy exact) ---- */
.cesfo-nav-bar .wp-block-navigation a {
	font-family: 'Open Sans', sans-serif;
	font-size: 21px;
	color: #888d8f;
	text-decoration: none !important;
	height: 80px;
	line-height: 80px;
	padding: 0 20px;
	display: block;
	white-space: nowrap;
	background-color: #f0f3f5;
	transition: background-color 0.2s ease;
}

/* Premier mot — extrabold foncé (Shrimpy : font-weight:800 sur span) */
.cesfo-nav-bar .cesfo-nav-first {
	font-weight: 800;
	color: #3d4144;
}

/* Mots suivants — regular gris */
.cesfo-nav-bar .cesfo-nav-rest {
	font-weight: 400;
	color: #888d8f;
}

/* Hover : tab blanc */
.cesfo-nav-bar .wp-block-navigation a:hover,
.cesfo-nav-bar .wp-block-navigation-item:hover > a {
	background-color: #fff !important;
	color: #3d4144;
	text-decoration: none !important;
}

/* Page active — tab blanc + bordure teal en bas */
.cesfo-nav-bar .wp-block-navigation .current-menu-item > a,
.cesfo-nav-bar .wp-block-navigation .current-menu-ancestor > a,
.cesfo-nav-bar .cesfo-nav-active > a {
	background-color: #fff !important;
	border-bottom: 3px solid var(--cesfo-teal) !important;
}
.cesfo-nav-bar .cesfo-nav-active .cesfo-nav-first {
	color: var(--cesfo-teal) !important;
}

/* Masquer les titres de page redondants */
.wp-block-post-title,
.entry-title,
h1.page-title,
.wp-block-query-title {
	display: none !important;
}

/* Pas d'underline ::after sur les liens nav barre */
.cesfo-nav-bar .wp-block-navigation a::after {
	display: none !important;
}

/* Item de nav — li — pour que le hover couvre toute la hauteur */
.cesfo-nav-bar .wp-block-navigation-item {
	display: flex;
	align-items: stretch;
}

/* ---- Sous-menus ---- */
.wp-block-navigation .wp-block-navigation__submenu-container {
	background: var(--cesfo-white);
	border: 1px solid var(--cesfo-border);
	border-radius: var(--cesfo-radius);
	box-shadow: 0 8px 24px rgba(45, 58, 78, 0.13);
	padding: 0.4rem 0;
	min-width: 200px;
	margin-top: 6px;
}

.wp-block-navigation .wp-block-navigation__submenu-container a {
	font-size: 0.92rem;
	font-weight: 600;
	padding: 0.6rem 1.25rem;
	display: block;
	border-bottom: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

/* Pas d'underline animé dans les sous-menus */
.wp-block-navigation .wp-block-navigation__submenu-container a::after {
	display: none !important;
}

.wp-block-navigation .wp-block-navigation__submenu-container a:hover {
	background-color: var(--cesfo-teal-light);
	color: var(--cesfo-teal) !important;
}

/* ---- Hamburger mobile ---- */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	color: var(--cesfo-navy) !important;
	border: 2px solid var(--cesfo-border) !important;
	border-radius: var(--cesfo-radius) !important;
	padding: 0.35rem 0.5rem !important;
	background: transparent !important;
	transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-close:hover {
	border-color: var(--cesfo-teal) !important;
	background-color: var(--cesfo-teal-light) !important;
	color: var(--cesfo-teal) !important;
}

/* ---- Menu mobile ouvert (overlay) ---- */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--cesfo-navy) !important;
	padding: 2rem 1.5rem !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation a {
	color: var(--cesfo-white) !important;
	font-size: 1.1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation a:hover {
	color: var(--cesfo-teal) !important;
}

/* Pas d'underline animé dans l'overlay mobile */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation a::after {
	display: none !important;
}

/* ---- Icônes Mon espace client + Panier ---- */
.cesfo-header-icons {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Compte client */
.cesfo-header-icons .wp-block-woocommerce-customer-account {
	display: flex;
	align-items: center;
}

.cesfo-header-icons .wc-block-customer-account__link {
	color: var(--cesfo-navy);
	transition: color 0.2s ease, background-color 0.2s ease;
	display: flex;
	align-items: center;
	padding: 0.25rem;
	border-radius: var(--cesfo-radius);
	text-decoration: none !important;
}

.cesfo-header-icons .wc-block-customer-account__link:hover {
	color: var(--cesfo-teal);
	background-color: var(--cesfo-teal-light);
}

.cesfo-header-icons .wc-block-customer-account__link .icon {
	width: 1.5rem;
	height: 1.5rem;
	display: block;
}

/* Pas d'underline animé sur l'icône compte */
.cesfo-header-icons .wc-block-customer-account__link::after {
	display: none !important;
}

/* Mini-cart */
.cesfo-header-icons .wc-block-mini-cart__button {
	color: var(--cesfo-navy);
	background: none;
	border: none;
	padding: 0.25rem;
	border-radius: var(--cesfo-radius);
	transition: color 0.2s ease, background-color 0.2s ease;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.cesfo-header-icons .wc-block-mini-cart__button:hover {
	color: var(--cesfo-teal);
	background-color: var(--cesfo-teal-light);
}

/* Badge compteur panier */
.cesfo-header-icons .wc-block-mini-cart__badge {
	background-color: var(--cesfo-teal);
	color: var(--cesfo-white);
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 0.7rem;
	border-radius: 50%;
	min-width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Ancien fallback SVG — supprimé (bloc WC natif utilisé) */

/* =============================================================================
   6. LAYOUT & SECTIONS
   ============================================================================= */

.wp-site-blocks {
	padding-top: 0;
}

/* Supprime TOUS les espaces verticaux FSE entre header, slider et nav */
.wp-site-blocks > * {
	margin-block-start: 0 !important;
}

/* Zéro padding/margin sur tous les template parts de la page d'accueil */
.wp-block-template-part[data-area="header"],
header.wp-block-template-part,
.wp-block-template-part .cesfo-nav-bar {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Règle spécifique : WordPress ajoute padding aux template parts sans data-area */
.wp-block-template-part:not([data-area="footer"]) {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Nav items — pas de margin parasite */
.cesfo-nav-bar .wp-block-navigation-item {
	margin: 0 !important;
	padding: 0 !important;
	height: 80px;
}

.cesfo-hero-nav-wrapper {
	width: 100vw !important;
	max-width: 100vw !important;
	position: relative !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	margin-top: 1px !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
}

.cesfo-hero-slider {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Barre de navigation sticky — page d'accueil uniquement
   Colle sous le logo une fois le hero scrollé.
   top est calculé dynamiquement via JS (--cesfo-logo-h). */
.cesfo-sticky-nav-wrap {
	position: sticky;
	top: var(--cesfo-logo-h, 100px);
	z-index: 150;
	/* Full-width sans transform (left: 50% a un sens différent en sticky) */
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(45, 58, 78, 0.10);
}

/* Section alternée */
.cesfo-section-alt,
.wp-block-group.has-cesfo-light-background-color {
	background-color: var(--cesfo-light);
}

/* Container standard */
.wp-block-group.alignfull {
	padding-left: max(1.5rem, 5vw);
	padding-right: max(1.5rem, 5vw);
}

/* Le header ne doit pas avoir de padding latéral — chaque sous-bloc gère le sien */
.cesfo-site-header.wp-block-group.alignfull,
.cesfo-site-header {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* ---- Sections de contenu : espacement généreux (inspiré Shrimpy 80/60px) ---- */
.wp-block-group.alignfull:not(.cesfo-site-header):not([data-area="header"]):not([data-area="footer"]) {
	padding-top: max(4rem, 5vw);
	padding-bottom: max(3.5rem, 4.5vw);
}

/* Override pour sections qui gèrent leur propre padding via l'éditeur */
.wp-block-group.alignfull[style*="padding-top"] {
	/* Respecter le padding défini dans l'éditeur */
}

/* ---- En-tête de section centré (réutilisable) ---- */
.cesfo-section-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 3rem;
}

.cesfo-section-header h2,
.cesfo-section-header .wp-block-heading {
	margin-bottom: 0.75rem;
}

.cesfo-section-header p {
	color: var(--cesfo-gray);
	font-size: 1.05rem;
	line-height: 1.7;
}

/* ---- Séparateur court teal (décoratif) ---- */
.wp-block-separator {
	border-color: var(--cesfo-teal);
	border-width: 3px;
	opacity: 1;
	max-width: 60px;
	margin-left: 0;
	border-radius: 2px;
}

.wp-block-separator.is-style-wide {
	max-width: 100%;
	border-width: 1px;
	border-color: var(--cesfo-border);
	opacity: 1;
}

/* Séparateur centré */
.has-text-align-center + .wp-block-separator,
.wp-block-separator.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

/* ---- Readability max-width pour les paragraphes de contenu ---- */
.entry-content > p,
.wp-block-post-content > .wp-block-paragraph {
	max-width: 72ch;
}

/* =============================================================================
   7. WOOCOMMERCE — Boutique & Produits
   ============================================================================= */

/* ---- Grille 3 colonnes fixes ---- */
ul.products,
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* ---- Carte produit ---- */
ul.products li.product,
.woocommerce ul.products li.product {
	position: relative;
	background: var(--cesfo-white);
	border: 1px solid var(--cesfo-border);
	border-radius: var(--cesfo-radius-lg);
	overflow: hidden;
	padding: 0;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

ul.products li.product:hover,
.woocommerce ul.products li.product:hover {
	box-shadow: 0 12px 32px rgba(45, 58, 78, 0.15);
	transform: translateY(-4px);
}

/* ---- Overlay hover sur l'image ---- */
ul.products li.product::after,
.woocommerce ul.products li.product::after {
	content: 'Voir le produit';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(45, 58, 78, 0.68);
	color: var(--cesfo-white);
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
	z-index: 5;
}

ul.products li.product:hover::after,
.woocommerce ul.products li.product:hover::after {
	opacity: 1;
}

/* ---- Lien produit (conteneur image + titre + prix) ---- */
ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none !important;
}

/* ---- Image edge-to-edge, zoom au hover ---- */
ul.products li.product a img,
.woocommerce ul.products li.product a img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
	margin: 0;
	transition: transform 0.5s ease;
}

ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover a img {
	transform: scale(1.06);
}

/* ---- Titre produit ---- */
ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: 'Nunito', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--cesfo-navy);
	line-height: 1.35;
	padding: 1rem 1.25rem 0.3rem;
	margin: 0;
}

/* ---- Prix ---- */
ul.products li.product .price,
.woocommerce ul.products li.product .price {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4rem;
	margin: 0 1.25rem 0.75rem;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--cesfo-teal);
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
}

.woocommerce ul.products li.product .price del {
	color: var(--cesfo-gray-light);
	font-size: 0.85rem;
	font-weight: 400;
}

/* ---- Bouton Ajouter au panier ---- */
ul.products li.product .button,
.woocommerce ul.products li.product .button {
	margin: auto 1.25rem 1.25rem;
	width: calc(100% - 2.5rem);
	justify-content: center;
	font-size: 0.9rem;
	padding: 0.6rem 1rem;
	opacity: 0.82;
	transform: translateY(4px);
	transition: background-color 0.2s ease, opacity 0.25s ease, transform 0.25s ease;
}

ul.products li.product:hover .button,
.woocommerce ul.products li.product:hover .button {
	opacity: 1;
	transform: translateY(0);
}

/* ---- Badge solde / promo ---- */
ul.products li.product .onsale,
.woocommerce ul.products li.product .onsale {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	background: var(--cesfo-coral);
	color: var(--cesfo-white);
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.2rem 0.65rem;
	border-radius: 100px;
	z-index: 10;
}

/* ---- Page produit unique ---- */
.woocommerce div.product .product_title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--cesfo-navy);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--cesfo-teal);
	font-weight: 700;
	font-size: 1.25rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-family: 'Nunito', sans-serif;
	font-weight: 600;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--cesfo-teal);
}

/* =============================================================================
   8. WOOCOMMERCE — Panier & Checkout
   ============================================================================= */

.woocommerce .cart_totals,
.woocommerce-cart table.cart,
.woocommerce-checkout #payment {
	border-radius: var(--cesfo-radius-lg);
	overflow: hidden;
}

.woocommerce table.shop_table {
	border-collapse: collapse;
	width: 100%;
}

.woocommerce table.shop_table th {
	background-color: var(--cesfo-light);
	color: var(--cesfo-navy);
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	padding: 0.75rem 1rem;
	border-bottom: 2px solid var(--cesfo-teal);
	text-align: left;
}

.woocommerce table.shop_table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--cesfo-border);
	color: var(--cesfo-text);
}

.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3 {
	font-size: 1.15rem;
	color: var(--cesfo-navy);
	border-bottom: 2px solid var(--cesfo-teal);
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
}

/* Champs de formulaire */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
	border: 1px solid var(--cesfo-border);
	border-radius: var(--cesfo-radius);
	padding: 0.65rem 0.9rem;
	font-family: 'Nunito', sans-serif;
	font-size: 0.95rem;
	color: var(--cesfo-text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
	outline: none;
	border-color: var(--cesfo-teal);
	box-shadow: 0 0 0 3px rgba(75, 189, 173, 0.18);
}

.woocommerce form .form-row label {
	font-family: 'Nunito', sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--cesfo-navy);
	margin-bottom: 0.3rem;
	display: block;
}

/* =============================================================================
   9. WOOCOMMERCE — Messages & Notices
   ============================================================================= */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: var(--cesfo-radius);
	padding: 1rem 1.25rem 1rem 3.5rem;
	font-family: 'Nunito', sans-serif;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.woocommerce-message {
	background-color: var(--cesfo-teal-light);
	border-left: 4px solid var(--cesfo-teal);
	color: var(--cesfo-navy);
}

.woocommerce-info {
	background-color: var(--cesfo-lavender-light);
	border-left: 4px solid var(--cesfo-lavender);
	color: var(--cesfo-navy);
}

.woocommerce-error {
	background-color: var(--cesfo-coral-light);
	border-left: 4px solid var(--cesfo-coral);
	color: var(--cesfo-navy);
}

/* =============================================================================
   10. WOOCOMMERCE — Catégories
   ============================================================================= */

.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--cesfo-navy);
}

.woocommerce ul.products li.product-category:hover .woocommerce-loop-category__title {
	color: var(--cesfo-teal);
}

/* =============================================================================
   11. BREADCRUMB & PAGINATION
   ============================================================================= */

.woocommerce-breadcrumb {
	font-size: 0.85rem;
	color: var(--cesfo-gray);
	margin-bottom: 1.5rem;
}

.woocommerce-breadcrumb a {
	color: var(--cesfo-teal);
	font-weight: 600;
}

.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	gap: 0.4rem;
	list-style: none;
	padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--cesfo-radius);
	border: 1px solid var(--cesfo-border);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--cesfo-navy);
	transition: all 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background-color: var(--cesfo-teal);
	border-color: var(--cesfo-teal);
	color: var(--cesfo-white);
}

/* =============================================================================
   12. FORMULAIRES GLOBAUX
   ============================================================================= */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
select,
textarea {
	border: 1px solid var(--cesfo-border);
	border-radius: var(--cesfo-radius);
	padding: 0.65rem 0.9rem;
	font-family: 'Nunito', sans-serif;
	font-size: 0.95rem;
	color: var(--cesfo-text);
	background-color: var(--cesfo-white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--cesfo-teal);
	box-shadow: 0 0 0 3px rgba(75, 189, 173, 0.18);
}

/* =============================================================================
   13. CARDS & BLOCS CONTENU
   ============================================================================= */

.wp-block-group.cesfo-card,
.cesfo-card {
	background: var(--cesfo-white);
	border: 1px solid var(--cesfo-border);
	border-radius: var(--cesfo-radius-lg);
	padding: 1.5rem;
	box-shadow: var(--cesfo-shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cesfo-card:hover {
	box-shadow: var(--cesfo-shadow-md);
	transform: translateY(-2px);
}

/* Accent couleur en haut de card */
.cesfo-card.teal    { border-top: 4px solid var(--cesfo-teal); }
.cesfo-card.coral   { border-top: 4px solid var(--cesfo-coral); }
.cesfo-card.lavender{ border-top: 4px solid var(--cesfo-lavender); }

/* =============================================================================
   14. HERO / BANNIÈRE
   ============================================================================= */

/* ---- Hero slider Swiper — pleine largeur de la page ---- */
.cesfo-hero-slider {
	width: 100%;
	max-width: 100% !important;
	height: 450px;
	overflow: hidden;
	display: block;
	margin-bottom: 0 !important;
}

@media (max-width: 768px) {
	.cesfo-hero-slider { height: 240px; }
}

.cesfo-hero-slider .swiper-slide {
	position: relative;
	overflow: hidden;
}

/* Image de fond pleine hauteur */
.cesfo-hero-slider .cesfo-slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.05);
	transition: transform 6s ease;
}

.cesfo-hero-slider .swiper-slide-active .cesfo-slide-bg {
	transform: scale(1);
}

/* Overlay foncé */
.cesfo-hero-slider .cesfo-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(30,45,60,0.55) 0%, rgba(30,45,60,0.75) 100%);
}

/* Contenu textuel centré */
.cesfo-hero-slider .cesfo-slide-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 2rem 1.5rem;
	text-align: center;
	color: #fff;
}

.cesfo-hero-slider .cesfo-slide-content h1,
.cesfo-hero-slider .cesfo-slide-content h2 {
	color: #fff !important;
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 0.75rem;
	text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Neutralise le décorateur ::before/::after sur les h2 dans le slider */
.cesfo-hero-slider h2::before,
.cesfo-hero-slider h2::after { display: none !important; }

.cesfo-hero-slider .cesfo-slide-content p {
	color: rgba(255,255,255,0.88);
	font-size: clamp(0.95rem, 2vw, 1.2rem);
	max-width: 600px;
	margin: 0 auto 1.5rem;
}

/* Image décorative (chef / kebab) */
.cesfo-hero-slider .cesfo-slide-deco {
	position: absolute;
	bottom: 0;
	right: 4%;
	height: 75%;
	max-height: 280px;
	object-fit: contain;
	z-index: 3;
	filter: drop-shadow(4px 0 16px rgba(0,0,0,0.3));
}

@media (max-width: 768px) {
	.cesfo-hero-slider .cesfo-slide-deco { display: none; }
}

/* Navigation Swiper — couleur CESFO */
.cesfo-hero-slider .swiper-button-next,
.cesfo-hero-slider .swiper-button-prev {
	color: var(--cesfo-teal);
}

.cesfo-hero-slider .swiper-pagination-bullet-active {
	background: var(--cesfo-teal);
}

/* ---- Héritage : ancien .cesfo-hero (fallback) ---- */
.cesfo-hero {
	background: linear-gradient(135deg, var(--cesfo-navy) 0%, var(--cesfo-teal-dark) 100%);
	color: var(--cesfo-white);
	padding: 4rem max(1.5rem, 5vw);
	text-align: center;
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

/* Sections contenu — plus larges (wide au lieu de content) */
.entry-content > .cesfo-section,
.wp-block-post-content > .cesfo-section {
	max-width: var(--wp--style--global--wide-size, 1400px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.cesfo-hero h1,
.cesfo-hero h2 {
	color: var(--cesfo-white);
}

.cesfo-hero p {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.1rem;
}

/* =============================================================================
   15. FOOTER
   ============================================================================= */

.wp-block-template-part[data-area="footer"],
footer.wp-block-template-part {
	background-color: var(--cesfo-navy);
	color: rgba(255, 255, 255, 0.8);
	padding: 0;
}

.wp-block-template-part[data-area="footer"] a {
	color: var(--cesfo-teal);
}

.wp-block-template-part[data-area="footer"] a:hover {
	color: var(--cesfo-white);
}

.wp-block-template-part[data-area="footer"] h3,
.wp-block-template-part[data-area="footer"] h4 {
	color: var(--cesfo-white);
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
}

/* =============================================================================
   16. PAGES CONTENU — Layout de base (sections, colonnes, boutons CTA)
   ============================================================================= */

/* Section de contenu générique */
.cesfo-section {
	padding: 2rem 0;
}

/* Ligne flex multi-colonnes */
.cesfo-row {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	align-items: flex-start;
	margin: 1.5rem 0;
}

/* Colonne flex */
.cesfo-col {
	flex: 1 1 200px;
	min-width: 0;
}

/* Bloc texte */
.cesfo-text {
	margin-bottom: 1rem;
}

/* Bouton CTA */
.cesfo-cta-btn {
	display: inline-block;
	padding: .6rem 1.4rem;
	background: var(--cesfo-teal, #127c8b);
	color: #fff !important;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	margin-top: .5rem;
	transition: background .2s;
}
.cesfo-cta-btn:hover { background: #0d6272; }

/* Accordéon toggle */
.cesfo-toggle {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	margin-bottom: .75rem;
	overflow: hidden;
}
.cesfo-toggle summary {
	padding: .75rem 1rem;
	font-weight: 700;
	cursor: pointer;
	color: #9E8277;
	background: #fff;
	list-style: none;
}
.cesfo-toggle summary::marker,
.cesfo-toggle summary::-webkit-details-marker { display: none; }
.cesfo-toggle summary::before { content: '+ '; color: var(--cesfo-teal, #127c8b); font-weight: 900; }
details[open] .cesfo-toggle summary::before { content: '− '; }
.cesfo-toggle .toggle-body { padding: 1rem; background: #fafafa; }

/* Images cesfo-img — Images standalone : taille raisonnable, centrée */

/* Images dans les colonnes de contenu */
.cesfo-col img.cesfo-img,
.cesfo-col img,
img.cesfo-img {
	max-width: 480px;
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
	margin-top: 8rem;
	margin-left: auto;
	margin-right: 0;
}

/* Images hors colonne (carte, illustrations pleine section) */
.cesfo-section > p > img.cesfo-img {
	max-width: 800px !important;
	width: auto !important;
	height: auto !important;
	display: block;
}

/* =============================================================================
   17. SECTION "VOTRE PRESTATION" — Style Daily Specialties (Shrimpy)
   ============================================================================= */

.cesfo-section-specialties {
	text-align: center !important;
	padding: 4rem 2rem !important;
	background: #fff;
}

/* Titre deux tons — annuler décoration h2 générique */
.cesfo-section-specialties h2 {
	font-size: 1.6rem !important;
	font-weight: 300 !important;
	color: var(--cesfo-gray) !important;
	margin-bottom: 0 !important;
	line-height: 1.2 !important;
	padding-bottom: 0 !important;
}

.cesfo-section-specialties h2::before,
.cesfo-section-specialties h2::after {
	display: none !important;
}

.cesfo-spec-bold {
	font-weight: 800;
	color: var(--cesfo-navy);
}

.cesfo-spec-light {
	font-weight: 300;
	color: var(--cesfo-gray);
}

/* Séparateur cloche */
.cesfo-spec-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
	margin: 1.2rem auto 2rem;
	max-width: 480px;
}

.cesfo-spec-line {
	flex: 1;
	height: 1px;
	background: var(--cesfo-border);
	display: block;
}

.cesfo-spec-icon {
	display: flex;
	align-items: center;
	line-height: 1;
}

/* Textes centrés dans la section */
.cesfo-section-specialties .cesfo-text {
	max-width: 760px;
	margin: 0 auto 1.2rem;
}

/* Cibler uniquement le contenu (pas les spans du titre h2) */
.cesfo-section-specialties .cesfo-text p,
.cesfo-section-specialties .cesfo-text > span,
.cesfo-section-specialties > p {
	color: var(--cesfo-gray) !important;
	font-size: 1.05rem !important;
	line-height: 1.75 !important;
	text-align: center !important;
}

.cesfo-section-specialties .cesfo-text strong {
	color: var(--cesfo-teal) !important;
	font-style: italic;
}

/* =============================================================================
   18. SECTION "GALERIE PHOTOS" — Style Seafood Dishes (Shrimpy)
   ============================================================================= */

.cesfo-section-galerie {
	background: #f0f3f5 !important;
	padding: 4rem 2rem !important;
	text-align: center !important;
}

/* Grille 3 colonnes */
.cesfo-galerie-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	max-width: 1140px;
	margin: 2.5rem auto 0;
	text-align: left;
}

/* Carte photo — fond blanc visible = cadre mat board Shrimpy */
.cesfo-galerie-card {
	background: #fff;
	padding: 8px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

/* Wrapper image avec overlay hover (style .special-gallery-flow-effect) */
.cesfo-galerie-flow {
	position: relative;
	display: block;
	overflow: hidden;
}

.cesfo-galerie-flow img {
	display: block;
	width: 100% !important;
	height: 220px !important;
	object-fit: cover !important;
	margin: 0 !important;
	transition: transform 0.4s ease;
}

.cesfo-galerie-flow:hover img {
	transform: scale(1.05);
}

/* Overlay teal scale(0→1) au hover — fidèle à Shrimpy */
.cesfo-galerie-overlay {
	position: absolute;
	inset: 0;
	background: rgba(75, 189, 173, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(0);
	transition: opacity 0.4s ease, transform 0.4s ease;
	z-index: 2;
}

.cesfo-galerie-flow:hover .cesfo-galerie-overlay {
	opacity: 1;
	transform: scale(1);
}

/* Caption sous la photo — style Shrimpy : texte normal, police bold+light */
.cesfo-galerie-caption {
	padding: 0.7rem 0.5rem 0.5rem;
	font-size: 0.9rem;
	color: var(--cesfo-navy);
	font-weight: 600;
	margin: 0;
}

/* ── Lightbox / Modal natif ─────────────────────────────────────────── */
.cesfo-lb-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.88);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.cesfo-lb-backdrop.cesfo-lb-open {
	opacity: 1;
}

.cesfo-lb-box {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cesfo-lb-img {
	max-width: 85vw;
	max-height: 78vh;
	object-fit: contain;
	display: block;
	box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.cesfo-lb-cap {
	color: #fff;
	font-size: 1rem;
	margin-top: 0.8rem;
	text-align: center;
}

.cesfo-lb-close,
.cesfo-lb-prev,
.cesfo-lb-next {
	position: absolute;
	background: rgba(75,189,173,0.85);
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 2rem;
	line-height: 1;
	padding: 0.2rem 0.7rem;
	border-radius: 4px;
	transition: background 0.2s;
}

.cesfo-lb-close:hover,
.cesfo-lb-prev:hover,
.cesfo-lb-next:hover {
	background: var(--cesfo-teal-dark);
}

.cesfo-lb-close {
	top: -2.5rem;
	right: 0;
	font-size: 1.6rem;
}

.cesfo-lb-prev {
	left: -3.5rem;
	top: 50%;
	transform: translateY(-50%);
}

.cesfo-lb-next {
	right: -3.5rem;
	top: 50%;
	transform: translateY(-50%);
}

/* Responsive */
@media (max-width: 768px) {
	.cesfo-galerie-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.cesfo-lb-prev { left: -2.5rem; }
	.cesfo-lb-next { right: -2.5rem; }
}
@media (max-width: 480px) {
	.cesfo-galerie-grid {
		grid-template-columns: 1fr;
	}
}

/* =============================================================================
   19. CORRECTIONS PAR PAGE
   ============================================================================= */

/* Page Contact — masquer le bandeau dégradé navy→teal */
.page-id-1174 .cesfo-hero {
	display: none !important;
}

/* =============================================================================
   20. PLUGIN CESFO — Bons de commande & Factures
   ============================================================================= */

/* Notice confirmation bon de commande */
.cesfo-notice-bc,
.cesfo-notice-facture {
	background-color: var(--cesfo-teal-light);
	border: 1px solid var(--cesfo-teal);
	border-radius: var(--cesfo-radius);
	padding: 1rem 1.25rem;
	margin: 1.25rem 0;
	font-family: 'Nunito', sans-serif;
	font-size: 0.95rem;
	color: var(--cesfo-navy);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

/* Bouton email facture */
.cesfo-btn-email-facture {
	background-color: var(--cesfo-coral);
	color: var(--cesfo-white) !important;
}

.cesfo-btn-email-facture:hover {
	background-color: #d4556a;
}

/* Tableau des tarifs volume */
.cesfo-tarifs-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
	font-family: 'Nunito', sans-serif;
	font-size: 0.9rem;
}

.cesfo-tarifs-table th {
	background-color: var(--cesfo-teal);
	color: var(--cesfo-white);
	padding: 0.6rem 1rem;
	text-align: left;
	font-weight: 700;
}

.cesfo-tarifs-table td {
	padding: 0.55rem 1rem;
	border-bottom: 1px solid var(--cesfo-border);
}

.cesfo-tarifs-table tr:nth-child(even) td {
	background-color: var(--cesfo-teal-light);
}

/* Badge organisme */
.cesfo-badge-organisme {
	display: inline-block;
	background-color: var(--cesfo-lavender-light);
	color: var(--cesfo-lavender);
	border: 1px solid var(--cesfo-lavender);
	border-radius: 100px;
	padding: 0.2rem 0.7rem;
	font-size: 0.8rem;
	font-weight: 700;
}

/* =============================================================================
   17. ADMIN — Colonne marché dans liste commandes
   ============================================================================= */

.column-cesfo_marche {
	width: 120px;
}

/* =============================================================================
   18. RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
	ul.products,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

@media (max-width: 768px) {
	.cesfo-hero {
		padding: 2.5rem 1.25rem;
	}

	.wp-block-template-part[data-area="footer"] {
		padding: 0;
	}
}

@media (max-width: 640px) {
	ul.products,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	h1 { font-size: 1.6rem; }
	h2 { font-size: 1.3rem; }
}

/* =============================================================================
   19. ACCESSIBILITÉ
   ============================================================================= */

:focus-visible {
	outline: 3px solid var(--cesfo-teal);
	outline-offset: 3px;
	border-radius: 3px;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* =============================================================================
   20. UTILITAIRES
   ============================================================================= */

.text-teal     { color: var(--cesfo-teal); }
.text-coral    { color: var(--cesfo-coral); }
.text-lavender { color: var(--cesfo-lavender); }
.text-navy     { color: var(--cesfo-navy); }
.text-muted    { color: var(--cesfo-gray); }

.bg-teal       { background-color: var(--cesfo-teal); color: var(--cesfo-white); }
.bg-light      { background-color: var(--cesfo-light); }
.bg-navy       { background-color: var(--cesfo-navy); color: var(--cesfo-white); }

/* =============================================================================
   21. MICRO-DÉTAILS — Finitions visuelles
   ============================================================================= */

/* ---- Couleur de sélection de texte ---- */
::selection {
	background-color: rgba(75, 189, 173, 0.22);
	color: var(--cesfo-navy);
}

/* ---- Transitions douces sur les images ---- */
img {
	transition: opacity 0.2s ease;
}

/* ---- WooCommerce : étoiles d'évaluation ---- */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
	color: var(--cesfo-teal);
}

.woocommerce p.stars a {
	color: var(--cesfo-teal);
}

.woocommerce p.stars a:hover {
	color: var(--cesfo-teal-dark);
}

/* ---- WooCommerce : input quantité ---- */
.woocommerce .quantity .qty {
	border: 2px solid var(--cesfo-border);
	border-radius: var(--cesfo-radius);
	padding: 0.5rem 0.75rem;
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	color: var(--cesfo-navy);
	width: 72px;
	text-align: center;
	transition: border-color 0.2s ease;
}

.woocommerce .quantity .qty:focus {
	border-color: var(--cesfo-teal);
	outline: none;
}

/* ---- WooCommerce : hover ligne tableau panier ---- */
.woocommerce table.shop_table tbody tr {
	transition: background-color 0.15s ease;
}

.woocommerce table.shop_table tbody tr:hover td {
	background-color: var(--cesfo-teal-light);
}

/* ---- WooCommerce : confirmation commande (order-received) ---- */
/* Espace entre les adresses et le footer */
.woocommerce-order-received .woocommerce-order,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .woocommerce {
	padding-bottom: 4rem;
}

.woocommerce-order-received .woocommerce-columns--addresses {
	margin-bottom: 3rem;
}

/* Pages WooCommerce génériques — espace avant footer */
.woocommerce-page:not(.home) main,
.woocommerce-checkout main,
.woocommerce-order-received main {
	padding-bottom: 4rem !important;
}

/* ---- WooCommerce : badges "Nouveau" / "Promo" ---- */
.woocommerce span.new-badge {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: var(--cesfo-teal);
	color: var(--cesfo-white);
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.2rem 0.65rem;
	border-radius: 100px;
	z-index: 10;
}

/* ---- Liens dans le contenu : soulignement discret ---- */
.wp-block-post-content a:not(.button):not(.wp-element-button),
.entry-content a:not(.button) {
	color: var(--cesfo-teal);
	text-decoration: underline;
	text-decoration-color: rgba(75, 189, 173, 0.4);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.wp-block-post-content a:not(.button):hover,
.entry-content a:not(.button):hover {
	color: var(--cesfo-teal-dark);
	text-decoration-color: var(--cesfo-teal-dark);
}

/* ---- Listes de contenu ---- */
.wp-block-post-content ul:not([class]),
.entry-content ul:not([class]) {
	padding-left: 1.5rem;
}

.wp-block-post-content ul:not([class]) li,
.entry-content ul:not([class]) li {
	margin-bottom: 0.4rem;
	line-height: 1.6;
}

.wp-block-post-content ul:not([class]) li::marker,
.entry-content ul:not([class]) li::marker {
	color: var(--cesfo-teal);
}

/* ---- Skip link accessibilité ---- */
.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	z-index: 9999;
	background: var(--cesfo-teal);
	color: var(--cesfo-white) !important;
	padding: 0.6rem 1.2rem;
	border-radius: 0 0 var(--cesfo-radius) var(--cesfo-radius);
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none !important;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 0;
}

/* ---- Tooltip simple (via title) ---- */
[title] {
	cursor: help;
}

/* ---- Scrollbar (navigateurs webkit) ---- */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--cesfo-light);
}

::-webkit-scrollbar-thumb {
	background: var(--cesfo-border);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--cesfo-gray-light);
}

/* ---- Transitions entrée de page ---- */
.wp-site-blocks {
	animation: cesfo-fadein 0.3s ease forwards;
}

@keyframes cesfo-fadein {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================================
   PAGE CONTACT — Cards colorées + formulaire amélioré
   Couleurs logo CESFO : Teal #4BBDAD | Coral #E8637A | Lavender #8B7EC8
   ============================================================================= */

/* Base card améliorée */
.cesfo-contact-card {
	border: none !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
	padding: 2rem 1.75rem !important;
	transition: transform 0.2s, box-shadow 0.2s;
	position: relative;
	overflow: hidden;
}
.cesfo-contact-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(0,0,0,0.13) !important;
}

/* Icône en haut de chaque card via ::before */
.cesfo-contact-card::before {
	display: block;
	font-size: 2rem;
	margin-bottom: 0.75rem;
	line-height: 1;
}

/* Card 1 — Secrétariat → Teal */
.cesfo-contact-card:nth-child(1) {
	border-top: 5px solid #4BBDAD !important;
	background: linear-gradient(160deg, #edfaf8 0%, #fff 55%) !important;
}
.cesfo-contact-card:nth-child(1)::before { content: '📞'; }
.cesfo-contact-card:nth-child(1) h3 { color: #4BBDAD !important; font-weight: 700 !important; }

/* Card 2 — E-mail → Coral */
.cesfo-contact-card:nth-child(2) {
	border-top: 5px solid #E8637A !important;
	background: linear-gradient(160deg, #fef2f4 0%, #fff 55%) !important;
}
.cesfo-contact-card:nth-child(2)::before { content: '✉️'; }
.cesfo-contact-card:nth-child(2) h3 { color: #E8637A !important; font-weight: 700 !important; }
.cesfo-contact-card:nth-child(2) a { color: #E8637A !important; }
.cesfo-contact-card:nth-child(2) a:hover { color: #c94560 !important; }

/* Card 3 — Restaurant → Lavender */
.cesfo-contact-card:nth-child(3) {
	border-top: 5px solid #8B7EC8 !important;
	background: linear-gradient(160deg, #f4f2fc 0%, #fff 55%) !important;
}
.cesfo-contact-card:nth-child(3)::before { content: '📍'; }
.cesfo-contact-card:nth-child(3) h3 { color: #8B7EC8 !important; font-weight: 700 !important; }

/* Formulaire — zone améliorée, même largeur que les cards (900px) */
.cesfo-contact-form-wrap {
	border: none !important;
	border-radius: 14px !important;
	box-shadow: 0 6px 32px rgba(0,0,0,0.09) !important;
	padding: 2.5rem !important;
	background: #fff !important;
	max-width: 900px !important;
}
.cesfo-contact-form-wrap h2 {
	color: var(--cesfo-navy) !important;
	font-size: 1.6rem !important;
}
.cesfo-form-notice {
	border-left: 4px solid #4BBDAD !important;
	background: #edfaf8 !important;
	border-radius: 0 8px 8px 0 !important;
}
.cesfo-form-row .cesfo-field input:focus,
.cesfo-form-field input:focus,
.cesfo-form-field textarea:focus {
	outline: none;
	border-color: #4BBDAD !important;
	box-shadow: 0 0 0 3px rgba(75,189,173,0.15);
}
.cesfo-form-field textarea { min-height: 150px !important; }

/* Bouton Envoyer — agrandi + couleur teal */
.cesfo-submit-btn {
	padding: .85rem 3.5rem !important;
	font-size: 1.05rem !important;
	background: #4BBDAD !important;
	border-radius: 8px !important;
	min-width: 200px;
	width: auto;
	letter-spacing: 0.03em;
}
.cesfo-submit-btn:hover { background: #3aa898 !important; }

/* Espace entre produits similaires et footer (FSE block) */
.related.products,
.wp-block-woocommerce-product-collection {
	padding-bottom: 4rem;
}

/* =============================================================================
   NOS ENGAGEMENTS — Page redesign style Shrimpy About Us
   ============================================================================= */

/* ── Hero banner ── */
.cesfo-eng-hero {
	position: relative;
	width: 100%;
	height: 340px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.cesfo-eng-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(18,124,139,0.72) 0%, rgba(13,40,66,0.80) 100%);
}
.cesfo-eng-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	padding: 0 2rem;
}
.cesfo-eng-hero-content h1 {
	font-size: 2.8rem;
	font-weight: 300;
	color: #fff;
	margin: 0 0 0.75rem;
	letter-spacing: 0.04em;
}
.cesfo-eng-hero-content p {
	font-size: 1.1rem;
	color: rgba(255,255,255,0.88);
	margin: 0;
}

/* ── Section wrapper ── */
.cesfo-eng-section {
	padding: 4rem 2rem;
	max-width: 1100px;
	margin: 0 auto;
}
.cesfo-eng-section--light {
	background: #f7f9fa;
	max-width: 100%;
	padding: 4rem 2rem;
}
.cesfo-eng-section--light > * {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}
.cesfo-eng-section--dark {
	background: var(--cesfo-navy);
	max-width: 100%;
	padding: 4rem 2rem;
	color: rgba(255,255,255,0.9);
}
.cesfo-eng-section--dark > * {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}
.cesfo-eng-section--teal {
	background: linear-gradient(135deg, #e8f7f8 0%, #d0f0f3 100%);
	max-width: 100%;
	padding: 4rem 2rem;
}
.cesfo-eng-section--teal > * {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Titre de section (style Shrimpy) ── */
.cesfo-eng-title {
	text-align: center;
	margin-bottom: 3rem;
}
.cesfo-eng-title h2 {
	font-size: 2rem !important;
	font-weight: 300 !important;
	color: var(--cesfo-navy) !important;
	margin-bottom: 1rem !important;
}
.cesfo-eng-section--dark .cesfo-eng-title h2 {
	color: #fff !important;
}
.cesfo-eng-title h2::before,
.cesfo-eng-title h2::after {
	display: none !important;
}
.cesfo-eng-title-bar {
	width: 48px;
	height: 3px;
	background: var(--cesfo-teal);
	margin: 0 auto 1rem;
	border-radius: 2px;
}
.cesfo-eng-title p {
	font-size: 1.05rem;
	color: var(--cesfo-gray);
	max-width: 680px;
	margin: 0 auto;
	line-height: 1.7;
}
.cesfo-eng-section--dark .cesfo-eng-title p {
	color: rgba(255,255,255,0.75);
}

/* ── Cards valeurs ── */
.cesfo-eng-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}
.cesfo-eng-card {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.07);
	padding: 2rem 1.5rem;
	flex: 1 1 240px;
	max-width: 300px;
	text-align: center;
	border-top: 4px solid var(--cesfo-teal);
	transition: transform 0.2s, box-shadow 0.2s;
}
.cesfo-eng-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.cesfo-eng-card img {
	height: 72px;
	width: auto;
	margin: 0 auto 1.25rem;
	display: block;
}
.cesfo-eng-card h3 {
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: var(--cesfo-navy) !important;
	margin-bottom: 0.6rem !important;
}
.cesfo-eng-card h3::before,
.cesfo-eng-card h3::after { display: none !important; }
.cesfo-eng-card p {
	font-size: 0.9rem;
	color: var(--cesfo-gray);
	line-height: 1.6;
	margin: 0;
}

/* ── Layout alterné image / texte ── */
.cesfo-eng-split {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	align-items: center;
	margin-bottom: 3.5rem;
}
.cesfo-eng-split:last-child { margin-bottom: 0; }
.cesfo-eng-split--reverse { flex-direction: row-reverse; }
.cesfo-eng-split-img {
	flex: 1 1 320px;
}
.cesfo-eng-split-img img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 6px 24px rgba(0,0,0,0.10);
	display: block;
}
.cesfo-eng-split-text {
	flex: 1 1 320px;
}
.cesfo-eng-split-text h3 {
	font-size: 1.4rem !important;
	font-weight: 600 !important;
	color: var(--cesfo-navy) !important;
	margin-bottom: 1rem !important;
}
.cesfo-eng-section--dark .cesfo-eng-split-text h3 {
	color: #fff !important;
}
.cesfo-eng-split-text h3::before,
.cesfo-eng-split-text h3::after { display: none !important; }
.cesfo-eng-split-text p,
.cesfo-eng-split-text li {
	font-size: 0.97rem;
	line-height: 1.75;
	color: var(--cesfo-gray);
	margin-bottom: 0.6rem;
}
.cesfo-eng-section--dark .cesfo-eng-split-text p,
.cesfo-eng-section--dark .cesfo-eng-split-text li {
	color: rgba(255,255,255,0.82);
}
.cesfo-eng-split-text ul {
	padding-left: 1.2rem;
	margin-bottom: 1.25rem;
}
.cesfo-eng-split-text ul li {
	list-style: disc;
}

/* ── Carte (carte-1.png) ── */
.cesfo-eng-map {
	text-align: center;
	padding: 1rem 2rem 3rem;
}
.cesfo-eng-map img {
	max-width: 700px;
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	margin: 0 auto;
	display: block;
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.cesfo-eng-hero { height: 220px; }
	.cesfo-eng-hero-content h1 { font-size: 1.8rem; }
	.cesfo-eng-split--reverse { flex-direction: row; }
	.cesfo-eng-split-img img { height: 200px; }
}

/* ── Recherche rapide produits — Boutique ── */
.cesfo-product-search-wrap {
	max-width: 560px;
	margin: 0 auto 2rem;
	text-align: center;
}
.cesfo-product-search-inner {
	display: flex;
	align-items: center;
	gap: .5rem;
	border: 2px solid #4BBDAD;
	border-radius: 50px;
	padding: .6rem 1.2rem;
	background: #fff;
	box-shadow: 0 2px 14px rgba(75,189,173,.12);
	transition: box-shadow .2s;
}
.cesfo-product-search-inner:focus-within {
	box-shadow: 0 4px 20px rgba(75,189,173,.25);
}
.cesfo-product-search-inner svg {
	color: #4BBDAD;
	flex-shrink: 0;
}
.cesfo-product-filter {
	flex: 1;
	border: none;
	outline: none;
	font-size: 1rem;
	background: transparent;
	font-family: inherit;
	color: #2D3561;
}
.cesfo-product-filter::placeholder {
	color: #aab;
}
.cesfo-product-filter-clear {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.4rem;
	color: #aaa;
	padding: 0;
	line-height: 1;
	transition: color .15s;
}
.cesfo-product-filter-clear:hover {
	color: #E8637A;
}
.cesfo-product-search-count {
	margin: .5rem 0 0;
	font-size: .85rem;
	color: #4BBDAD;
	font-style: italic;
	min-height: 1.2em;
}
.cesfo-search-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid #d0f0ec;
	border-top-color: #4BBDAD;
	border-radius: 50%;
	animation: cesfo-spin .6s linear infinite;
	flex-shrink: 0;
}
@keyframes cesfo-spin {
	to { transform: rotate(360deg); }
}

/* ── Pages internes : section titre masquée — supprimer l'espace vide ── */
.cesfo-section:has(> .cesfo-text > h1[style*="display: none"]) {
	padding: 0 !important;
	margin: 0 !important;
	min-height: 0 !important;
}

/* ── Pages internes : réduire l'espace entre le menu et le premier titre ── */
body:not(.home) .entry-content.wp-block-post-content {
	margin-top: 0 !important;
}
.cesfo-section:has(> .cesfo-text > h1[style*="display: none"]) + .cesfo-section {
	margin-top: 8px !important;
	padding-top: 8px !important;
}
