/*
Theme Name:   Cogeco
Theme URI:    https://www.cogecocontainers.com
Description:  Thème sur-mesure pour Cogeco (Compagnie Générale des Containers) — catalogue e-commerce + devis de conteneurs maritimes. Léger, sombre, sans dépendance.
Author:       Cogeco
Version:      1.9.0
Text Domain:  cogeco
*/

/* ============================================================
   Fondation — reset, typographie, layout (thème autonome)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: #c3d2df;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--cogeco-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; margin: 0 0 0.6em; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Conteneurs */
.site-content { width: 100%; overflow-x: hidden; } /* garde-fou anti-débordement horizontal (le header sticky est en dehors) */
.site-main { width: 100%; }
table { max-width: 100%; }

/* Contenu « texte » (pages internes) : lisible et centré ;
   les <section> plein cadre gèrent leur propre largeur. */
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > h2,
.entry-content > h3,
.entry-content > blockquote,
.entry-content > figure,
.entry-content > table {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
.cogeco-page-title {
	max-width: 1100px;
	margin: 2rem auto 1rem;
	padding: 0 1.5rem;
}
.cogeco-page-title .entry-title { color: #fff; }
.cogeco-list { max-width: 1100px; margin: 2rem auto; padding: 0 1.5rem; }

/* --- En-tête / logo --- */
.site-header {
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}
.site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.5rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
.site-branding .custom-logo-link { display: inline-flex; }
.site-title { color: var(--cogeco-primary); font-weight: 800; font-size: 1.4rem; }

/* --- Actions header (menu + panier) --- */
.site-header__actions {
	display: flex;
	align-items: center;
	gap: 1.1rem;
}

/* --- Panier du header --- */
.cogeco-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: var(--cogeco-primary);
	padding: 0.3rem;
	flex: 0 0 auto;
}
.cogeco-cart:hover { color: var(--cogeco-accent-hover); text-decoration: none; }
.cogeco-cart svg { width: 26px; height: 26px; }
.cogeco-cart__count {
	position: absolute;
	top: -5px;
	right: -7px;
	min-width: 19px;
	height: 19px;
	padding: 0 4px;
	border-radius: 10px;
	background: var(--cogeco-accent);
	color: var(--cogeco-primary);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cogeco-cart__count[data-count="0"] { display: none; }

/* --- Menu principal --- */
.main-navigation { display: flex; align-items: center; }
.main-header-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}
.main-header-menu li { position: relative; }
.main-header-menu a {
	display: block;
	padding: 0.5em 0.85em;
	color: var(--cogeco-primary);
	font-weight: 600;
	border-radius: 6px;
	text-decoration: none;
}
.main-header-menu a:hover { color: var(--cogeco-accent-hover); text-decoration: none; }
/* Sous-menu déroulant */
.main-header-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	list-style: none;
	margin: 0;
	padding: 0.4rem 0;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.15s ease;
	z-index: 20;
}
.main-header-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-header-menu .sub-menu a { border-radius: 0; }
.menu-item-has-children > a::after { content: " ▾"; font-size: 0.8em; }

/* --- Burger mobile --- */
.menu-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0.4rem;
	flex-direction: column;
	gap: 5px;
}
.menu-toggle span {
	display: block;
	width: 26px;
	height: 3px;
	background: var(--cogeco-primary);
	border-radius: 2px;
}
@media (max-width: 900px) {
	.menu-toggle { display: inline-flex; }
	/* L'en-tête sert d'ancre au menu déroulant (évite qu'il s'affiche au milieu de la page). */
	.site-header { position: relative; z-index: 100; }
	.main-navigation { position: static; }
	.main-navigation .main-header-menu {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		z-index: 200;
		flex-direction: column;
		align-items: stretch;
		background: #fff;
		padding: 0.5rem 1rem 1rem;
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
	}
	.main-navigation.is-open .main-header-menu { display: flex; }
	.main-header-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		padding-left: 1rem;
	}
}

/* ============================================================
   Phase 2 — Boutique
   ============================================================ */

:root {
	--cogeco-primary: #0e4a6e;
	--cogeco-accent: #f3c500;        /* jaune du logo */
	--cogeco-accent-hover: #d9ac00;
	--cogeco-muted: #5b6b78;
	--cogeco-border: #e2e8ee;
}

/* Logo du site (header) */
.custom-logo {
	max-height: 82px;
	width: auto;
}
@media (max-width: 768px) {
	.custom-logo { max-height: 60px; }
}
/* Le logo contient déjà le nom : on masque le titre/slogan texte en doublon. */
.ast-site-title-wrap .site-title,
.ast-site-title-wrap .site-description,
.site-header .site-title {
	display: none;
}

/* --- Badges surface/volume sur les cartes produit --- */
.cogeco-loop-specs {
	list-style: none;
	margin: 0.35em 0 0.5em;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em 0.9em;
	font-size: 0.85em;
	color: var(--cogeco-muted);
}
.cogeco-loop-specs li {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
}
.cogeco-ico {
	color: var(--cogeco-primary);
	font-size: 1.05em;
	line-height: 1;
}

/* --- Résumé des caractéristiques sur la fiche produit --- */
.cogeco-single-specs {
	list-style: none;
	margin: 0.75em 0 1em;
	padding: 0.75em 0;
	border-top: 1px solid var(--cogeco-border);
	border-bottom: 1px solid var(--cogeco-border);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.4em 1.5em;
}
.cogeco-single-specs li {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	font-size: 0.92em;
}
.cogeco-spec-label {
	color: var(--cogeco-muted);
}
.cogeco-spec-value {
	font-weight: 600;
	color: var(--cogeco-primary);
}

/* --- Bouton « Demander un devis » (secondaire) --- */
.cogeco-devis-btn.button {
	background: transparent !important;
	color: var(--cogeco-primary) !important;
	border: 2px solid var(--cogeco-primary) !important;
	margin-left: 0.6em;
}
.cogeco-devis-btn.button:hover {
	background: var(--cogeco-primary) !important;
	color: #fff !important;
}

/* --- Bloc réassurance --- */
.cogeco-reassurance {
	list-style: none;
	margin: 1.25em 0 0;
	padding: 0;
	display: grid;
	gap: 0.4em;
}
.cogeco-reassurance li {
	position: relative;
	padding-left: 1.6em;
	font-size: 0.9em;
	color: var(--cogeco-muted);
}
.cogeco-reassurance li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--cogeco-primary);
	font-weight: 700;
}

/* --- Tableau des caractéristiques (onglet) --- */
.cogeco-specs-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1em;
}
.cogeco-specs-table th,
.cogeco-specs-table td {
	text-align: left;
	padding: 0.55em 0.9em;
	border: 1px solid var(--cogeco-border);
}
.cogeco-specs-table th {
	width: 40%;
	background: #f6f9fb;
	color: var(--cogeco-primary);
	font-weight: 600;
}
.cogeco-dispo-note {
	font-style: italic;
	color: var(--cogeco-muted);
}

/* ============================================================
   Phase 3 — Formulaires
   ============================================================ */

/* Titres de section dans le formulaire d'estimation */
.cogeco-form-section {
	margin: 1.4em 0 0.6em;
	padding-bottom: 0.35em;
	border-bottom: 2px solid var(--cogeco-accent);
	color: var(--cogeco-primary);
	font-size: 1.15em;
}
.cogeco-form-section:first-child {
	margin-top: 0;
}

/* Bandeau « votre devis concerne … » */
.cogeco-devis-notice {
	margin: 0 0 1.5em;
	padding: 0.9em 1.2em;
	background: #f6f9fb;
	border-left: 4px solid var(--cogeco-accent);
	border-radius: 4px;
	color: var(--cogeco-primary);
}

/* ============================================================
   Phase 4 — Pages & design (charte Cogeco)
   ============================================================ */

/* Boutons */
.cogeco-btn {
	display: inline-block;
	padding: 0.85em 1.8em;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s ease;
	border: 2px solid transparent;
}
.cogeco-btn--accent {
	background: var(--cogeco-accent);
	color: var(--cogeco-primary);
}
.cogeco-btn--accent:hover {
	background: var(--cogeco-accent-hover);
	color: var(--cogeco-primary);
}
.cogeco-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.7);
}
.cogeco-btn--ghost:hover {
	background: #fff;
	color: var(--cogeco-primary);
}

/* Hero page d'accueil */
.cogeco-hero {
	margin: 0 0 3rem;
	padding: 5rem 1.5rem;
	background: linear-gradient(135deg, #0e4a6e 0%, #072d45 100%);
	color: #fff;
	text-align: center;
}
.cogeco-hero__inner {
	max-width: 780px;
	margin: 0 auto;
}
.cogeco-hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.8rem;
	color: var(--cogeco-accent);
	margin: 0 0 0.6rem;
	font-weight: 700;
}
.cogeco-hero__title {
	color: #fff;
	font-size: clamp(1.9rem, 4vw, 3rem);
	line-height: 1.1;
	margin: 0 0 1rem;
}
.cogeco-hero__sub {
	font-size: 1.1rem;
	opacity: 0.92;
	margin: 0 0 2rem;
}
.cogeco-hero__cta {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Sections */
.cogeco-section {
	max-width: 1100px;
	margin: 0 auto 3rem;
	padding: 0 1.5rem;
}
.cogeco-section--muted {
	max-width: none;
	background: #f6f9fb;
	padding: 2.5rem 1.5rem 0.5rem;
	text-align: center;
}
.cogeco-section__title {
	color: var(--cogeco-primary);
	text-align: center;
	font-size: 1.9rem;
	margin: 0 0 0.4rem;
}
.cogeco-section__lead {
	text-align: center;
	color: var(--cogeco-muted);
	margin: 0 auto 1.5rem;
	max-width: 620px;
}

/* Cartes solutions */
.cogeco-cards2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}
.cogeco-card {
	background: #fff;
	border: 1px solid var(--cogeco-border);
	border-radius: 10px;
	padding: 1.8rem;
	box-shadow: 0 2px 10px rgba(14, 74, 110, 0.05);
}
.cogeco-card h3 {
	color: var(--cogeco-primary);
	margin-top: 0;
}
.cogeco-link {
	color: var(--cogeco-primary);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid var(--cogeco-accent);
	padding-bottom: 1px;
}
.cogeco-link:hover {
	color: var(--cogeco-accent-hover);
}

/* Bande réassurance */
.cogeco-reassurance-band {
	max-width: none;
	background: var(--cogeco-primary);
	color: #fff;
	padding: 2.5rem 1.5rem;
}
.cogeco-reassure {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}
.cogeco-reassure__item {
	text-align: center;
}
.cogeco-reassure__item strong {
	display: block;
	color: var(--cogeco-accent);
	font-size: 1.15rem;
	margin-bottom: 0.3rem;
}
.cogeco-reassure__item span {
	font-size: 0.9rem;
	opacity: 0.9;
}

/* Bande CTA finale */
.cogeco-cta-band {
	text-align: center;
	padding: 3rem 1.5rem;
	background: #f6f9fb;
	margin-bottom: 0;
}
.cogeco-cta-band h2 {
	color: var(--cogeco-primary);
	margin: 0 0 0.4rem;
}
.cogeco-cta-band p {
	color: var(--cogeco-muted);
	margin: 0 0 1.5rem;
}

/* Hero pages internes */
.cogeco-page-hero {
	background: #f6f9fb;
	border-left: 5px solid var(--cogeco-accent);
	padding: 1.8rem 2rem;
	margin-bottom: 1.8rem;
	border-radius: 6px;
}
.cogeco-page-hero h1 {
	color: var(--cogeco-primary);
	margin: 0 0 0.3rem;
}
.cogeco-page-hero p {
	color: var(--cogeco-muted);
	margin: 0;
}

/* Tableau tarifs */
.cogeco-tarifs {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
}
.cogeco-tarifs th,
.cogeco-tarifs td {
	border: 1px solid var(--cogeco-border);
	padding: 0.7em 1em;
	text-align: left;
}
.cogeco-tarifs th {
	background: var(--cogeco-primary);
	color: #fff;
}
.cogeco-note {
	font-style: italic;
	color: var(--cogeco-muted);
	font-size: 0.9em;
}

/* Bandeau cookies RGPD */
.cogeco-cookie {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 9999;
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 1.2rem;
	padding: 1rem 1.4rem;
	background: var(--cogeco-primary);
	color: #fff;
	border-radius: 10px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.cogeco-cookie p {
	margin: 0;
	font-size: 0.9rem;
	flex: 1;
}
.cogeco-cookie a {
	color: var(--cogeco-accent);
	text-decoration: underline;
}
.cogeco-cookie .cogeco-btn {
	padding: 0.6em 1.3em;
	white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
	.cogeco-cards2 { grid-template-columns: 1fr; }
	.cogeco-reassure { grid-template-columns: repeat(2, 1fr); }
	.cogeco-hero { padding: 3.5rem 1.2rem; }
	.cogeco-cookie { flex-direction: column; text-align: center; gap: 0.8rem; }
}

/* ============================================================
   Refonte design v1 — proche de containerland.fr
   ============================================================ */

/* --- Barre supérieure (téléphone / email) --- */
.cogeco-topbar {
	background: #072d45;
	color: #dbe6ef;
	font-size: 0.82rem;
}
.cogeco-topbar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.45rem 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}
.cogeco-topbar__left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.cogeco-topbar a { color: #dbe6ef; text-decoration: none; }
.cogeco-topbar a:hover { color: var(--cogeco-accent); }
.cogeco-topbar__right { opacity: 0.85; }

/* --- Header : CTA « Estimation en ligne » en bouton --- */
.main-header-menu a[href*="estimation-en-ligne"],
.ast-header-navigation-wrap a[href*="estimation-en-ligne"] {
	background: var(--cogeco-accent);
	color: var(--cogeco-primary) !important;
	border-radius: 6px;
	font-weight: 700;
	padding: 0.4em 1.1em !important;
	margin: 0 0.3em;
}
.main-header-menu a[href*="estimation-en-ligne"]:hover {
	background: var(--cogeco-accent-hover);
}

/* --- Hero sur image --- */
.cogeco-hero--photo {
	position: relative;
	padding: 7rem 1.5rem;
	overflow: hidden;
	background:
		linear-gradient(120deg, rgba(7, 45, 69, 0.86) 30%, rgba(7, 45, 69, 0.55) 100%),
		url("assets/hero.jpg");
	background-size: cover;
	background-position: center 40%;
}
.cogeco-hero__overlay { display: none; }
.cogeco-hero--photo .cogeco-hero__inner { position: relative; z-index: 2; }
.cogeco-hero__title { letter-spacing: -0.5px; }

/* --- Rangée d'atouts --- */
.cogeco-atouts {
	background: #fff;
	border-bottom: 1px solid var(--cogeco-border);
	margin-bottom: 3rem;
}
.cogeco-atouts__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}
.cogeco-atout { text-align: center; padding: 0 0.5rem; }
.cogeco-atout__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: #f6f9fb;
	color: var(--cogeco-primary);
	font-size: 1.7rem;
	margin-bottom: 0.8rem;
}
.cogeco-atout h3 { color: var(--cogeco-primary); margin: 0 0 0.3rem; font-size: 1.1rem; }
.cogeco-atout p { color: var(--cogeco-muted); font-size: 0.9rem; margin: 0; }

/* Masque le titre de page « Accueil » (le hero fait office de titre) */
.home .entry-header,
.home .entry-title,
.home .ast-archive-description {
	display: none;
}

/* --- Cartes catégories (boutique sur l'accueil) --- */
.home .woocommerce ul.products {
	max-width: 1100px;
	margin: 0 auto 3rem;
	padding: 0 1.5rem;
}
/* Masque le compteur « 1 PRODUCT » sur les cartes catégories */
.woocommerce ul.products li.product-category mark.count,
.woocommerce ul.products li.product-category .count {
	display: none;
}
.woocommerce ul.products li.product-category {
	background: #fff;
	border: 1px solid var(--cogeco-border);
	border-radius: 10px;
	padding: 1rem 1rem 1.4rem;
	box-shadow: 0 2px 12px rgba(14, 74, 110, 0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	text-align: center;
}
.woocommerce ul.products li.product-category:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(14, 74, 110, 0.12);
}
.woocommerce ul.products li.product-category h2,
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	color: var(--cogeco-primary) !important;
	font-size: 1.05rem !important;
}

/* --- Footer sur-mesure --- */
.site-footer { display: none; }  /* footer Astra par défaut masqué */

.cogeco-footer {
	background: #072d45;
	color: #c8d6e2;
	padding: 3rem 1.5rem 0;
}
.cogeco-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1.3fr 1.4fr;
	gap: 2rem;
}
.cogeco-footer__brand strong {
	color: #fff;
	font-size: 1.2rem;
	line-height: 1.3;
	display: block;
}
.cogeco-footer__brand p { margin: 0.7rem 0 0; font-size: 0.9rem; line-height: 1.6; }

/* Coordonnées + horaires */
.cogeco-footer__contact p { margin: 0 0 0.8rem; font-size: 0.9rem; line-height: 1.6; }
.cogeco-footer__h4b { margin-top: 1.4rem !important; }
.cogeco-footer__hours { list-style: none; margin: 0; padding: 0; }
.cogeco-footer__hours li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.88rem;
	padding: 0.35rem 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
.cogeco-footer__hours li:last-child { border-bottom: 0; }
.cogeco-footer__hour { color: #fff; font-weight: 600; white-space: nowrap; }

/* Bande zone de livraison */
.cogeco-footer__delivery {
	max-width: 1200px;
	margin: 2.5rem auto 0;
	padding: 1.6rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
}
.cogeco-footer__delivery strong { color: var(--cogeco-accent); display: block; margin-bottom: 0.4rem; }
.cogeco-footer__delivery p { max-width: 820px; margin: 0 auto; font-size: 0.9rem; line-height: 1.6; }
.cogeco-footer__col h4 {
	color: #fff;
	font-size: 1rem;
	margin: 0 0 0.9rem;
	position: relative;
	padding-bottom: 0.5rem;
}
.cogeco-footer__col h4::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 34px; height: 3px;
	background: var(--cogeco-accent);
}
.cogeco-footer__col ul { list-style: none; margin: 0; padding: 0; }
.cogeco-footer__col li { margin-bottom: 0.5rem; }
.cogeco-footer a { color: #c8d6e2; text-decoration: none; font-size: 0.9rem; }
.cogeco-footer a:hover { color: var(--cogeco-accent); }
.cogeco-footer__bottom {
	max-width: 1200px;
	margin: 1.8rem auto 0;
	padding: 1.2rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.82rem;
	text-align: center;
	opacity: 0.85;
}
.cogeco-footer__legal { display: block; margin-top: 0.4rem; font-size: 0.76rem; opacity: 0.8; }

@media (max-width: 900px) {
	.cogeco-atouts__inner { grid-template-columns: repeat(2, 1fr); }
	.cogeco-footer__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.cogeco-topbar__right { display: none; }
	.cogeco-footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   Refonte design v3 — séquence containerland.fr
   ============================================================ */

/* --- Rangées produits par catégorie --- */
.cogeco-prod-section {
	padding: 3rem 1.5rem 0.5rem;
}
.cogeco-prod-section--muted {
	background: #f6f9fb;
	padding-bottom: 2rem;
	margin-bottom: -1rem;
}
.cogeco-prod-head {
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
}
.cogeco-prod-head h2 {
	color: var(--cogeco-primary);
	font-size: 1.9rem;
	margin: 0 0 0.3rem;
	position: relative;
	display: inline-block;
	padding-bottom: 0.6rem;
}
.cogeco-prod-head h2::after {
	content: "";
	position: absolute;
	left: 50%; bottom: 0; transform: translateX(-50%);
	width: 60px; height: 3px;
	background: var(--cogeco-accent);
}
.cogeco-prod-head p { color: var(--cogeco-muted); margin: 0.4rem 0 0; }

/* Grille produits (shortcode [products]) sur l'accueil — centrée */
.home .woocommerce {
	max-width: 1100px;
	margin: 1.5rem auto 0;
	padding: 0 1.5rem 1rem;
}
.home .woocommerce ul.products {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.6rem;
}
.home .woocommerce ul.products li.product {
	float: none !important;
	width: 244px !important;
	max-width: 100%;
	margin: 0 !important;
	clear: none !important;
}

/* Carte produit soignée */
.woocommerce ul.products li.product {
	background: #fff;
	border: 1px solid var(--cogeco-border);
	border-radius: 12px;
	padding: 1rem 1rem 1.4rem;
	box-shadow: 0 2px 12px rgba(14, 74, 110, 0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	text-align: center;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 26px rgba(14, 74, 110, 0.13);
}
.woocommerce ul.products li.product img {
	border-radius: 8px;
	margin-bottom: 0.8rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--cogeco-primary);
	font-weight: 700;
	font-size: 1.05rem;
	padding-bottom: 0.3rem;
}
.woocommerce ul.products li.product .price {
	color: var(--cogeco-primary);
	font-weight: 600;
}
.woocommerce ul.products li.product .button {
	background: var(--cogeco-primary);
	color: #fff;
	border-radius: 6px;
	margin-top: 0.6rem;
}
.woocommerce ul.products li.product .button:hover {
	background: #072d45;
}
/* Badges surface/volume centrés sur les cartes */
.woocommerce ul.products li.product .cogeco-loop-specs {
	justify-content: center;
}

/* --- Bloc « Neufs ou d'occasion » (texte + média) --- */
.cogeco-split {
	background: #fff;
	padding: 3.5rem 1.5rem;
}
.cogeco-split__inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: center;
}
.cogeco-split__media {
	aspect-ratio: 4 / 3;
	background: url("assets/neuf-occasion.jpg") center/cover no-repeat;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(14, 74, 110, 0.15);
}
.cogeco-split__media span { display: none; }
.cogeco-split__text h2 {
	color: var(--cogeco-primary);
	font-size: 1.9rem;
	margin: 0 0 0.8rem;
}
.cogeco-split__text p {
	color: var(--cogeco-muted);
	margin: 0 0 1.4rem;
	line-height: 1.7;
}

/* --- Ils nous font confiance --- */
.cogeco-clients {
	background: #f6f9fb;
	padding: 3.5rem 1.5rem;
	text-align: center;
}
.cogeco-clients__grid {
	max-width: 1000px;
	margin: 1.8rem auto 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.2rem;
}
.cogeco-client-logo {
	height: 90px;
	background: #fff;
	border: 1px solid var(--cogeco-border);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #b6c4d0;
	font-size: 0.85rem;
}

@media (max-width: 768px) {
	.cogeco-split__inner { grid-template-columns: 1fr; }
	.cogeco-clients__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Thème SOMBRE de la page d'accueil (identité containerland.fr)
   Fond navy + motif technique + texte clair, accents jaunes.
   ============================================================ */

body.home {
	background-color: #0a2942;
	/* Filigrane technique isométrique (façon blueprint) */
	background-image:
		repeating-linear-gradient(30deg, rgba(120, 170, 210, 0.05) 0 1px, transparent 1px 58px),
		repeating-linear-gradient(-30deg, rgba(120, 170, 210, 0.05) 0 1px, transparent 1px 58px),
		radial-gradient(circle at 82% 2%, rgba(243, 197, 0, 0.08), transparent 42%);
	color: #c3d2df;
}
body.home #content,
body.home .site-content,
body.home .ast-container,
body.home .entry-content {
	background: transparent;
}

/* Titres et textes clairs */
body.home h1,
body.home h2,
body.home h3,
body.home .cogeco-prod-head h2,
body.home .cogeco-split__text h2,
body.home .cogeco-section__title {
	color: #ffffff;
}
body.home .cogeco-prod-head p,
body.home .cogeco-section__lead,
body.home .cogeco-split__text p,
body.home .cogeco-atout p {
	color: #9db3c6;
}

/* Sections : on retire les fonds blancs/gris clairs */
body.home .cogeco-atouts,
body.home .cogeco-prod-section--muted,
body.home .cogeco-split,
body.home .cogeco-clients,
body.home .cogeco-cta-band {
	background: transparent;
}
body.home .cogeco-atouts { border-bottom-color: rgba(255, 255, 255, 0.08); }
body.home .cogeco-prod-section--muted { background: rgba(255, 255, 255, 0.02); }
body.home .cogeco-clients { background: rgba(0, 0, 0, 0.15); }
/* Section clients masquée tant que les vrais logos ne sont pas fournis */
body.home .cogeco-clients { display: none; }

/* Pastilles d'atouts */
body.home .cogeco-atout__ico {
	background: rgba(243, 197, 0, 0.12);
	color: var(--cogeco-accent);
}
body.home .cogeco-atout h3 { color: #fff; }

/* Cartes produit en panneaux sombres */
body.home .woocommerce ul.products li.product {
	background: #0f3355;
	border: 1px solid #1e4a72;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}
body.home .woocommerce ul.products li.product:hover {
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}
body.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.home .woocommerce ul.products li.product .price,
body.home .woocommerce ul.products li.product .price .amount {
	color: #ffffff !important;
}
body.home .cogeco-loop-specs { color: #9db3c6; }
body.home .cogeco-ico { color: var(--cogeco-accent); }
body.home .woocommerce ul.products li.product .button {
	background: var(--cogeco-accent);
	color: var(--cogeco-primary);
}
body.home .woocommerce ul.products li.product .button:hover {
	background: var(--cogeco-accent-hover);
}

/* Titres de section : icône container jaune (motif récurrent) */
body.home .cogeco-section__title::before,
body.home .cogeco-prod-head h2::before,
body.home .cogeco-frigo h2::before,
body.home .cogeco-cta-band h2::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 21px;
	margin-right: 12px;
	vertical-align: -3px;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 24" fill="none" stroke="%23f3c500" stroke-width="2"><rect x="2" y="5" width="28" height="15" rx="1"/><path d="M9 5v15M16 5v15M23 5v15"/></svg>') no-repeat center/contain;
}
body.home .cogeco-split__text h2::before { vertical-align: -3px; }

/* CTA final sur fond sombre */
body.home .cogeco-cta-band h2 { color: #fff; }
body.home .cogeco-cta-band p { color: #9db3c6; }

/* ============================================================
   Illustrations filaires isométriques des conteneurs
   ============================================================ */
.cogeco-illus {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 180px;
	margin-bottom: 0.9rem;
}
.cogeco-iso {
	width: 100%;
	height: 100%;
}
.cogeco-iso polygon,
.cogeco-iso line {
	fill: none;
	stroke: #0e4a6e;
	stroke-width: 2.2;
	stroke-linejoin: round;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
}
.cogeco-iso .face-top { fill: rgba(14, 74, 110, 0.06); }
.cogeco-iso .face-long { fill: rgba(14, 74, 110, 0.03); }
.cogeco-iso .face-end,
.cogeco-iso .face-open { fill: rgba(14, 74, 110, 0.10); }
.cogeco-iso .face-frame { fill: rgba(14, 74, 110, 0.05); }
.cogeco-iso .corr { stroke-width: 1; opacity: 0.5; }
.cogeco-iso .corr-back { stroke-width: 1; opacity: 0.3; }
.cogeco-iso .rod { stroke-width: 1.3; }
.cogeco-iso .edge { stroke-width: 2; }
.cogeco-iso .bow { stroke-width: 1.5; opacity: 0.7; }
.cogeco-iso .face-rim { fill: none; stroke-dasharray: 4 3; opacity: 0.7; }

/* Variante claire sur fond sombre (accueil) — faces solides pour un rendu net */
body.home .cogeco-iso polygon,
body.home .cogeco-iso line { stroke: #d6e7f8; }
body.home .cogeco-iso .face-top { fill: #33689e; }
body.home .cogeco-iso .face-long { fill: #1f4f7a; }
body.home .cogeco-iso .face-end,
body.home .cogeco-iso .face-open { fill: #0a2740; }
body.home .cogeco-iso .face-frame { fill: #1f4f7a; }
body.home .cogeco-iso .corr { stroke: #86aed3; opacity: 0.7; }
body.home .cogeco-iso .corr-back { stroke: #5f86ab; opacity: 0.5; }

/* ============================================================
   Nouvelles sections : frigo, étapes, contact
   ============================================================ */

/* Bande frigorifiques (photo reefer + CTA) */
.cogeco-frigo {
	margin: 3rem 0;
	padding: 4.5rem 1.5rem;
	background:
		linear-gradient(90deg, rgba(7, 45, 69, 0.94) 0%, rgba(7, 45, 69, 0.55) 60%, rgba(7, 45, 69, 0.35) 100%),
		url("assets/frigo.jpg") center/cover no-repeat;
}
.cogeco-frigo__inner { max-width: 1100px; margin: 0 auto; }
.cogeco-frigo__text { max-width: 560px; }
.cogeco-frigo__eyebrow {
	color: var(--cogeco-accent);
	text-transform: uppercase;
	letter-spacing: 0.13em;
	font-weight: 700;
	font-size: 0.8rem;
	margin: 0 0 0.5rem;
}
.cogeco-frigo h2 { color: #fff; font-size: 2rem; margin: 0 0 0.8rem; }
.cogeco-frigo p { color: #dbe6ef; margin: 0 0 1.5rem; }

/* Comment ça marche */
.cogeco-steps {
	max-width: 1100px;
	margin: 0 auto;
	padding: 3.5rem 1.5rem;
	text-align: center;
}
.cogeco-steps__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.8rem;
	margin-top: 2.2rem;
}
.cogeco-step { padding: 1rem; }
.cogeco-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--cogeco-accent);
	color: var(--cogeco-primary);
	font-weight: 800;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}
.cogeco-step h3 { color: var(--cogeco-primary); margin: 0 0 0.4rem; }
.cogeco-step p { color: var(--cogeco-muted); margin: 0; font-size: 0.95rem; }
body.home .cogeco-step h3 { color: #fff; }
body.home .cogeco-step p { color: #9db3c6; }

/* Contact sur l'accueil */
.cogeco-contact-home {
	max-width: 760px;
	margin: 0 auto;
	padding: 3rem 1.5rem 0;
	text-align: center;
}
.home .fluentform {
	max-width: 760px;
	margin: 1.5rem auto 3.5rem;
	background: #fff;
	border-radius: 14px;
	padding: 2rem 2rem 1.4rem;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
}

@media (max-width: 768px) {
	.cogeco-steps__grid { grid-template-columns: 1fr; }
	.cogeco-frigo__text { max-width: none; }
}

/* Intro « Nos conteneurs maritimes bruts » */
.cogeco-intro {
	max-width: 900px;
	margin: 0 auto;
	padding: 3.5rem 1.5rem 1rem;
	text-align: center;
}
.cogeco-intro p { color: var(--cogeco-muted); line-height: 1.8; margin: 0 0 1rem; }
.cogeco-intro__accent { font-weight: 600; color: var(--cogeco-primary); }
body.home .cogeco-intro p { color: #b3c6d6; }
body.home .cogeco-intro__accent { color: #fff; }

/* « Des conteneurs neufs ou d'occasion » (texte centré) */
.cogeco-neuf { padding: 3.5rem 1.5rem; text-align: center; }
.cogeco-neuf__inner { max-width: 860px; margin: 0 auto; }
.cogeco-neuf p { color: var(--cogeco-muted); line-height: 1.8; margin: 0 0 1.2rem; }
.cogeco-neuf .cogeco-btn { margin-top: 0.6rem; }
body.home .cogeco-neuf p { color: #b3c6d6; }

/* Chiffres clés */
.cogeco-stats {
	padding: 3rem 1.5rem;
	background: rgba(243, 197, 0, 0.06);
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.cogeco-stats__grid {
	max-width: 1000px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	text-align: center;
}
.cogeco-stat__num {
	display: block;
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--cogeco-accent);
	line-height: 1;
}
.cogeco-stat__label {
	display: block;
	margin-top: 0.5rem;
	color: var(--cogeco-muted);
	font-size: 0.95rem;
}
body.home .cogeco-stat__label { color: #b3c6d6; }

/* Avis clients */
.cogeco-avis { padding: 3.5rem 1.5rem; text-align: center; }
.cogeco-avis__grid {
	max-width: 1100px;
	margin: 2rem auto 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.cogeco-avis-card {
	margin: 0;
	background: #fff;
	border-radius: 12px;
	padding: 1.8rem;
	text-align: left;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}
.cogeco-avis-stars {
	color: var(--cogeco-accent);
	letter-spacing: 3px;
	margin-bottom: 0.7rem;
}
.cogeco-avis-card p {
	color: #33475a;
	font-style: italic;
	line-height: 1.6;
	margin: 0 0 1rem;
}
.cogeco-avis-card footer strong { display: block; color: var(--cogeco-primary); }
.cogeco-avis-card footer span { color: var(--cogeco-muted); font-size: 0.88rem; }

@media (max-width: 768px) {
	.cogeco-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.cogeco-avis__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Thème sombre — TOUTES les pages (hors transactionnel)
   (html body = spécificité > CSS dynamique Astra ; conteneur Astra
   #F0F5FA forcé transparent pour révéler le fond navy)
   ============================================================ */

html body {
	background-color: #0a2942 !important;
	background-image:
		repeating-linear-gradient(30deg, rgba(120, 170, 210, 0.05) 0 1px, transparent 1px 58px),
		repeating-linear-gradient(-30deg, rgba(120, 170, 210, 0.05) 0 1px, transparent 1px 58px),
		radial-gradient(circle at 82% 2%, rgba(243, 197, 0, 0.08), transparent 42%);
	background-attachment: fixed;
	color: #c3d2df;
}

/* Conteneurs de contenu Astra transparents (sauf pages transactionnelles) */
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .ast-separate-container,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .ast-separate-container .ast-article-single,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .ast-separate-container .ast-article-inner,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .ast-woocommerce-container,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #content,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #primary,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .site-main {
	background-color: transparent !important;
}

/* Header conservé clair (le logo a un fond clair) */
.site-header, .ast-primary-header-bar, .main-header-bar { background-color: #fff; }

/* Contenu : titres clairs, texte clair, liens accent (hors transactionnel) */
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .site-content h1,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .site-content h2,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .site-content h3,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .site-content h4,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-title,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .page-title {
	color: #ffffff;
}
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .site-content p,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .site-content li,
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .site-content .entry-content {
	color: #c3d2df;
}
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .site-content .entry-content a:not(.button):not(.cogeco-btn):not(.cogeco-link) {
	color: var(--cogeco-accent);
}

/* Hero pages internes (Location, Achat) */
.cogeco-page-hero { background: rgba(255, 255, 255, 0.04); }
.cogeco-page-hero h1 { color: #fff; }
.cogeco-page-hero p { color: #b3c6d6; }

/* Tableau tarifs sur fond sombre */
.cogeco-tarifs td { color: #c3d2df; border-color: rgba(255, 255, 255, 0.12); }
.cogeco-tarifs th { border-color: rgba(255, 255, 255, 0.12); }
.cogeco-note { color: #8ea3b5; }

/* Formulaires Fluent Forms : carte blanche lisible partout */
.fluentform {
	background: #fff;
	border-radius: 14px;
	padding: 2rem 2rem 1.4rem;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
	max-width: 820px;
	margin: 1.5rem auto 3rem;
}

/* Cartes produit (boutique) sombres */
.woocommerce ul.products li.product {
	background: #0f3355;
	border: 1px solid #1e4a72;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount { color: #fff !important; }
.woocommerce ul.products li.product .button {
	background: var(--cogeco-accent); color: var(--cogeco-primary);
}
.woocommerce .cogeco-loop-specs { color: #9db3c6; justify-content: center; }
.woocommerce-result-count, .woocommerce-ordering { color: #c3d2df; }
.woocommerce-ordering select { background: #0f3355; border: 1px solid #1e4a72; color: #fff; }

/* Illustrations claires (dans les cartes sombres) partout */
.cogeco-iso polygon, .cogeco-iso line { stroke: #d6e7f8; }
.cogeco-iso .face-top { fill: #33689e; }
.cogeco-iso .face-long { fill: #1f4f7a; }
.cogeco-iso .face-end, .cogeco-iso .face-open { fill: #0a2740; }
.cogeco-iso .face-frame { fill: #1f4f7a; }

/* ---- Compte client : CLAIR (lisibilité) ---- */
html body.woocommerce-account {
	background-color: #eef2f6 !important;
	background-image: none !important;
	color: #33475a;
}

/* ---- Panier & Commande : fond navy (comme les autres pages) + contenu sur carte claire ---- */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
	max-width: 1140px;
	margin: 0 auto 3rem;
	padding: 0 1.5rem;
}
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
	background: #fff;
	color: #33475a;
	border-radius: 16px;
	padding: 2.2rem;
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.38);
}
/* Titres & liens sur la carte claire */
.woocommerce-cart .woocommerce h1,
.woocommerce-cart .woocommerce h2,
.woocommerce-cart .woocommerce h3,
.woocommerce-checkout .woocommerce h1,
.woocommerce-checkout .woocommerce h2,
.woocommerce-checkout .woocommerce h3,
.woocommerce-checkout #order_review_heading {
	color: var(--cogeco-primary);
}
.woocommerce-cart .woocommerce a:not(.button),
.woocommerce-checkout .woocommerce a:not(.button) {
	color: var(--cogeco-primary);
}
/* Tableaux (panier + récapitulatif commande) */
.woocommerce-cart table.cart,
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
	border-color: var(--cogeco-border);
	color: #33475a;
}
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
	border-color: var(--cogeco-border);
	color: #33475a;
}
.woocommerce-cart table.shop_table thead th,
.woocommerce-checkout table.shop_table thead th,
.woocommerce-checkout table.shop_table tfoot th {
	background: #f6f9fb;
	color: var(--cogeco-primary);
}
/* Champs de formulaire (commande) */
.woocommerce-checkout form .form-row label,
.woocommerce-cart form .form-row label {
	color: #33475a;
}
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select,
.woocommerce-cart form .form-row input.input-text,
.woocommerce .select2-container .select2-selection {
	border: 1px solid var(--cogeco-border);
	border-radius: 6px;
	padding: 0.6em 0.7em;
	background: #fff;
	color: #33475a;
	min-height: 42px;
}
/* Encadré « totaux » / récapitulatif de commande */
.woocommerce-checkout #order_review,
.woocommerce-cart .cart_totals {
	background: #f6f9fb;
	border: 1px solid var(--cogeco-border);
	border-radius: 12px;
	padding: 1.4rem;
}
/* Notices WooCommerce lisibles sur la carte claire */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error {
	color: #33475a;
	background: #f6f9fb;
	border-top-color: var(--cogeco-accent);
}
/* Ligne « total à payer » mise en avant */
.woocommerce-cart .cart_totals .order-total .amount,
.woocommerce-checkout #order_review .order-total .amount {
	color: var(--cogeco-primary);
	font-size: 1.15em;
}

/* ============================================================
   Boutique + Fiche produit
   ============================================================ */

/* Grille produits responsive (boutique + accueil) */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 1.6rem;
	margin: 1.5rem auto;
	padding: 0;
	list-style: none;
	max-width: 1100px;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
.woocommerce .woocommerce-result-count { margin-bottom: 0.5rem; }
.woocommerce .woocommerce-ordering { margin-bottom: 1rem; }
/* Boutique : entête et largeur */
.post-type-archive-product .site-main,
.tax-product_cat .site-main { padding: 0 1.5rem; }

/* ============================================================
   Boutique — mise en page 2 colonnes (filtres + grille)
   ============================================================ */
.cogeco-shop {
	max-width: 1240px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 2rem;
}
.cogeco-shop__filters { flex: 0 0 250px; }
.cogeco-shop__main { flex: 1 1 auto; min-width: 0; }
/* La grille remplit la colonne principale (on lève le centrage 1100px). */
.cogeco-shop__main .woocommerce ul.products,
.cogeco-shop__main ul.products {
	max-width: none;
	margin: 1.5rem 0;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

/* Blocs de filtres */
.cogeco-shop__filters .cogeco-filter {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 12px;
	padding: 1.1rem 1.2rem;
	margin-bottom: 1.2rem;
}
.cogeco-filter__title,
.cogeco-shop__filters .widgettitle,
.cogeco-shop__filters .widget-title {
	color: #fff;
	font-size: 1rem;
	margin: 0 0 0.8rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--cogeco-accent);
}
.cogeco-shop__filters ul { list-style: none; margin: 0; padding: 0; }
.cogeco-shop__filters li { margin-bottom: 0.45rem; line-height: 1.4; }
.cogeco-shop__filters .children { margin: 0.4rem 0 0 0.9rem; }
.cogeco-shop__filters a { color: #c3d2df; font-size: 0.92rem; text-decoration: none; }
.cogeco-shop__filters a:hover { color: var(--cogeco-accent); }
.cogeco-shop__filters .count { color: #8ea3b5; font-size: 0.82rem; }
.cogeco-shop__filters .chosen,
.cogeco-shop__filters .current-cat > a { color: var(--cogeco-accent); font-weight: 700; }
.cogeco-filter-reset {
	display: inline-block;
	margin-top: 0.4rem;
	color: var(--cogeco-accent);
	font-size: 0.9rem;
	font-weight: 600;
}

/* Curseur « Filtrer par prix » */
.cogeco-shop__filters .price_slider_wrapper .price_slider_amount { color: #c3d2df; font-size: 0.88rem; margin-top: 0.6rem; }
.cogeco-shop__filters .ui-slider {
	position: relative;
	background: #1e4a72;
	border-radius: 4px;
	height: 6px;
	margin: 0.6rem 0 0.9rem;
}
.cogeco-shop__filters .ui-slider .ui-slider-range { background: var(--cogeco-accent); height: 100%; position: absolute; }
.cogeco-shop__filters .ui-slider .ui-slider-handle {
	width: 16px; height: 16px;
	top: -5px;
	background: #fff;
	border: 2px solid var(--cogeco-accent);
	border-radius: 50%;
	cursor: pointer;
}
.cogeco-shop__filters .price_slider_amount .button { margin-top: 0.6rem; padding: 0.5em 1.1em !important; font-size: 0.85rem; }

/* Bouton « Filtrer les produits » (mobile) */
.cogeco-filters-toggle {
	display: none;
	width: 100%;
	background: var(--cogeco-primary);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	font-weight: 700;
	cursor: pointer;
	margin-bottom: 1rem;
}

@media (max-width: 900px) {
	.cogeco-shop { flex-direction: column; }
	.cogeco-shop__filters { flex: 1 1 auto; width: 100%; }
	.cogeco-filters-toggle { display: block; }
	.cogeco-filters-body { display: none; }
	.cogeco-shop__filters.is-open .cogeco-filters-body { display: block; }
}
.woocommerce-products-header {
	max-width: 1100px;
	margin: 2rem auto 0;
	padding: 0 1.5rem;
	text-align: center;
}
.woocommerce-products-header__title { color: #fff; font-size: 2rem; }

/* --- Fiche produit : fond sombre + produit sur carte claire --- */
.single-product .cogeco-page-title { display: none; }
.single-product div.product {
	background: #fff;
	color: #33475a;
	max-width: 1140px;
	margin: 2.5rem auto;
	padding: 2.2rem;
	border-radius: 16px;
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.38);
	/* Mise en page 2 colonnes : média à gauche, résumé à droite, onglets dessous */
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas: "media summary" "tabs tabs";
	gap: 0.5rem 2.6rem;
	align-items: start;
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .cogeco-single-illus {
	grid-area: media;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}
/* Image produit maîtrisée (galerie simple) : centrée, hauteur plafonnée, arrondie. */
.single-product .woocommerce-product-gallery { float: none !important; width: auto !important; text-align: center; }
.single-product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product .woocommerce-product-gallery__image { text-align: center; margin: 0; }
.single-product .woocommerce-product-gallery__image a { display: inline-block; max-width: 100%; }
.single-product .woocommerce-product-gallery__image img {
	display: inline-block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 480px;
	margin: 0 auto;
	border-radius: 10px;
}
.single-product div.product .summary {
	grid-area: summary;
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
}
.single-product div.product .woocommerce-tabs { grid-area: tabs; }
@media (max-width: 768px) {
	.single-product div.product {
		grid-template-columns: 1fr;
		grid-template-areas: "media" "summary" "tabs";
	}
	/* Image produit : hauteur limitée pour voir aussi titre + prix + bouton. */
	.single-product div.product .woocommerce-product-gallery {
		max-width: 460px;
		margin: 0 auto 0.5rem !important;
	}
	.single-product .woocommerce-product-gallery__image img {
		max-height: 46vh;
	}
	/* Onglets : passent à la ligne au lieu de déborder. */
	.single-product .woocommerce-tabs ul.tabs {
		display: flex;
		flex-wrap: wrap;
		gap: 0.3rem 0.4rem;
	}
	.single-product .woocommerce-tabs ul.tabs li { margin: 0 0 -2px; }
	/* Produits liés : 2 colonnes qui tiennent l'écran (min 0 = pas de débordement). */
	.single-product .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}
@media (max-width: 420px) {
	.single-product .related.products ul.products { grid-template-columns: 1fr; }
}
.single-product div.product .product_title { color: var(--cogeco-primary); }
.single-product div.product .price,
.single-product div.product .price .amount { color: var(--cogeco-primary); }
.single-product div.product .cogeco-single-specs { border-color: var(--cogeco-border); }
.single-product .woocommerce-tabs { margin-top: 1.5rem; }
.single-product .related.products {
	max-width: 1140px;
	margin: 2rem auto 3rem;
	padding: 0 1.5rem;
}
.single-product .related.products > h2 {
	color: #fff;
	text-align: center;
	font-size: 1.6rem;
}
/* Le bouton devis (secondaire) reste lisible sur la carte claire */
.single-product .cogeco-devis-btn.button { margin-top: 0.6em; }

/* ============================================================
   En-tête de page uniforme (bannière)
   ============================================================ */
.cogeco-pagehead {
	background: rgba(255, 255, 255, 0.03);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 2.6rem 1.5rem;
	margin-bottom: 2.5rem;
	text-align: center;
}
.cogeco-pagehead__inner { max-width: 1100px; margin: 0 auto; }
.cogeco-breadcrumb { font-size: 0.85rem; color: #8ea3b5; margin-bottom: 0.6rem; }
.cogeco-breadcrumb a { color: #8ea3b5; text-decoration: none; }
.cogeco-breadcrumb a:hover { color: var(--cogeco-accent); text-decoration: none; }
.cogeco-breadcrumb__sep { margin: 0 0.45em; opacity: 0.6; }
.cogeco-breadcrumb__current { color: #c3d2df; }
.cogeco-pagehead__title {
	color: #fff;
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	margin: 0;
	display: inline-block;
	position: relative;
	padding-bottom: 0.55rem;
}
.cogeco-pagehead__title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: var(--cogeco-accent);
}
.cogeco-pagehead__sub {
	color: #9db3c6;
	margin: 0.9rem auto 0;
	max-width: 640px;
}
/* WooCommerce : on masque l'ancien entête produits par défaut */
.woocommerce-products-header { display: none; }

/* ============================================================
   Fiche produit — optimisation
   ============================================================ */

/* Boutons WooCommerce aux couleurs Cogeco (panier = jaune) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button {
	background: var(--cogeco-accent) !important;
	color: var(--cogeco-primary) !important;
	border: 2px solid transparent !important;
	border-radius: 6px !important;
	font-weight: 700 !important;
	padding: 0.7em 1.4em !important;
	text-shadow: none !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .single_add_to_cart_button:hover {
	background: var(--cogeco-accent-hover) !important;
}
/* Bouton panier désactivé (option non choisie sur un produit variable) :
   gris lisible plutôt qu'un jaune délavé — se lit clairement comme « inactif ». */
.woocommerce .single_add_to_cart_button.disabled,
.woocommerce .single_add_to_cart_button.wc-variation-selection-needed,
.woocommerce .single_add_to_cart_button:disabled,
.woocommerce button.button:disabled {
	background: #e3e9ef !important;
	color: var(--cogeco-muted) !important;
	border-color: transparent !important;
	opacity: 1 !important;
	cursor: not-allowed;
	box-shadow: none !important;
}

/* Le « Demander un devis » garde son contour navy (secondaire) */
.single-product .cogeco-devis-btn.button,
.woocommerce .cogeco-devis-btn.button {
	background: transparent !important;
	color: var(--cogeco-primary) !important;
	border: 2px solid var(--cogeco-primary) !important;
}
.single-product .cogeco-devis-btn.button:hover,
.woocommerce .cogeco-devis-btn.button:hover {
	background: var(--cogeco-primary) !important;
	color: #fff !important;
}

/* « Demander un devis » sur sa propre ligne, SOUS « Ajouter au panier ».
   Couvre le produit simple (bouton dans form.cart, en flex) ET le produit
   variable (bouton dans .woocommerce-variation-add-to-cart, en inline-block). */
.single-product form.cart .cogeco-devis-btn.button,
.woocommerce div.product form.cart .cogeco-devis-btn.button {
	display: block;
	width: 100%;
	flex: 0 0 100%;
	box-sizing: border-box;
	margin: 0.7rem 0 0;
	text-align: center;
}

/* Illustration produit (fiche) sur fond clair de la carte */
.cogeco-single-illus {
	background: #f6f9fb;
	border: 1px solid var(--cogeco-border);
	border-radius: 12px;
	padding: 2.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 340px;
}
.cogeco-single-illus .cogeco-iso { max-width: 440px; width: 100%; }
.single-product .cogeco-single-illus .cogeco-iso polygon,
.single-product .cogeco-single-illus .cogeco-iso line { stroke: #0e4a6e; }
.single-product .cogeco-single-illus .cogeco-iso .face-top { fill: #dbe8f3; }
.single-product .cogeco-single-illus .cogeco-iso .face-long { fill: #c7dbec; }
.single-product .cogeco-single-illus .cogeco-iso .face-end,
.single-product .cogeco-single-illus .cogeco-iso .face-open { fill: #a9c6de; }
.single-product .cogeco-single-illus .cogeco-iso .face-frame { fill: #c7dbec; }

/* Résumé produit : espacements, prix, variations, quantité */
.single-product div.product .summary { padding: 0.5rem 0 0 1rem; }
.single-product .price { font-size: 1.7rem; font-weight: 700; margin: 0.4rem 0 1.1rem; }
.single-product .woocommerce-variation-price .price { font-size: 1.4rem; }
.single-product table.variations { margin: 0 0 1rem; border: 0; }
.single-product table.variations th.label { text-align: left; padding: 0 1rem 0.5rem 0; vertical-align: middle; color: var(--cogeco-primary); }
.single-product table.variations td { padding-bottom: 0.5rem; }
.single-product table.variations select {
	padding: 0.55em 0.7em;
	border: 1px solid var(--cogeco-border);
	border-radius: 6px;
	min-width: 240px;
	background: #fff;
}
.single-product .reset_variations { font-size: 0.85em; color: var(--cogeco-muted); }
.single-product .quantity input.qty {
	padding: 0.55em;
	border: 1px solid var(--cogeco-border);
	border-radius: 6px;
	width: 66px;
	text-align: center;
}
.single-product form.cart { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.single-product .product_meta { font-size: 0.88em; color: var(--cogeco-muted); margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--cogeco-border); }
.single-product .product_meta a { color: var(--cogeco-primary); }

/* Onglets caractéristiques */
.single-product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 1rem; list-style: none; border-bottom: 2px solid var(--cogeco-border); }
.single-product .woocommerce-tabs ul.tabs li { display: inline-block; margin: 0 0.4rem -2px 0; }
.single-product .woocommerce-tabs ul.tabs li a { display: inline-block; padding: 0.6em 1em; color: var(--cogeco-muted); font-weight: 600; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--cogeco-primary); border-bottom: 2px solid var(--cogeco-accent); }

@media (max-width: 768px) {
	.single-product div.product { padding: 1.4rem; }
	.single-product div.product .summary { padding-left: 0; }
}
