/*
Theme Name: L'Atelier des Farigoules
Theme URI: https://example.com/
Author: L'Atelier des Farigoules
Description: Thème sur mesure de la biscuiterie artisanale L'Atelier des Farigoules : kraft, ruban bordeaux, écriture à la main. Compatible WooCommerce.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: farigoules
*/

/* ==========================================================================
   1. Couleurs, base
   ========================================================================== */

:root {
	--fg-lin: #F6F0E6;
	--fg-kraft-clair: #E8D9C2;
	--fg-kraft: #C9A77C;
	--fg-noyer: #3B2A20;
	--fg-ruban: #7A2333;
	--fg-thym: #5E6645;
	--fg-muted: #6E5A4A;
	--fg-muted2: #5C4A3C;
	--fg-line: #E0D2BC;
	--fg-white: #FFFFFF;
	--fg-body: Karla, system-ui, -apple-system, "Segoe UI", sans-serif;
	--fg-display: "Cormorant Garamond", Georgia, serif;
	--fg-script: Caveat, "Segoe Print", cursive;
	--fg-container: 1240px;
	--fg-gutter: clamp(16px, 4vw, 40px);
	--fg-hatch: repeating-linear-gradient(135deg, rgba(59, 42, 32, 0.08) 0, rgba(59, 42, 32, 0.08) 1px, transparent 1px, transparent 14px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
	margin: 0;
	background: var(--fg-lin);
	color: var(--fg-noyer);
	font-family: var(--fg-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.fg-lock { overflow: hidden; }

img { max-width: 100%; height: auto; }
a { color: var(--fg-ruban); }
a:hover { color: var(--fg-noyer); }
h1, h2, h3, h4 { font-family: var(--fg-display); font-weight: 500; line-height: 1.1; color: inherit; }
:focus-visible { outline: 2px solid var(--fg-ruban); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--fg-white); color: var(--fg-noyer); padding: 12px 16px; border-radius: 4px;
}

.fg-container { max-width: var(--fg-container); margin-inline: auto; padding-inline: var(--fg-gutter); }
.fg-narrow { max-width: 760px; }
.fg-center { text-align: center; }
.fg-show-sm { display: none; }
@media (max-width: 720px) {
	.fg-hide-sm { display: none !important; }
	.fg-show-sm { display: inline; }
}

/* ==========================================================================
   2. Textes et boutons
   ========================================================================== */

.fg-eyebrow { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-thym); font-weight: 700; }
.fg-eyebrow--dark { color: var(--fg-noyer); }
.fg-section-title { margin: 0; font-family: var(--fg-display); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.fg-script { margin: 0; font-family: var(--fg-script); font-size: clamp(28px, 3vw, 36px); line-height: 1; color: var(--fg-ruban); }
.fg-script--big { font-size: clamp(40px, 5vw, 56px); font-weight: 700; color: var(--fg-noyer); }
.fg-lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--fg-muted); }
.fg-link { font-weight: 700; font-size: 15px; color: var(--fg-noyer); text-decoration: underline; text-underline-offset: 4px; }
.fg-link:hover { color: var(--fg-ruban); }
.fg-with-icon { display: inline-flex; align-items: center; gap: 8px; }

.fg-btn,
.wp-block-button__link,
.fg-sections .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 26px; border: 1.5px solid var(--fg-ruban); border-radius: 4px;
	background: var(--fg-ruban); color: var(--fg-white); text-decoration: none;
	font-family: var(--fg-body); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; line-height: 1.2;
	cursor: pointer; transition: background-color .15s, color .15s;
}
.fg-btn:hover, .wp-block-button__link:hover { background: var(--fg-noyer); border-color: var(--fg-noyer); color: var(--fg-white); }
.fg-btn--outline,
.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--fg-noyer); border-color: var(--fg-noyer); }
.fg-btn--outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--fg-noyer); color: var(--fg-lin); }
.wp-block-button.is-style-clair .wp-block-button__link { background: transparent; color: var(--fg-lin); border-color: var(--fg-lin); }
.wp-block-button.is-style-clair .wp-block-button__link:hover { background: var(--fg-lin); color: var(--fg-noyer); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.fg-center-buttons, .fg-center .wp-block-buttons { justify-content: center; }

.fg-round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--fg-noyer); background: transparent; color: var(--fg-noyer); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fg-round-btn--dark { background: var(--fg-noyer); color: var(--fg-lin); }
.fg-square-btn { width: 50px; height: 50px; border: 1.5px solid var(--fg-noyer); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; color: var(--fg-noyer); }

/* ==========================================================================
   3. Bandeau et en-tête
   ========================================================================== */

.fg-announce { background: var(--fg-noyer); color: var(--fg-lin); font-size: 13px; letter-spacing: 0.04em; text-align: center; padding: 10px 16px; }

.fg-header { position: sticky; top: 0; z-index: 50; background: var(--fg-lin); border-bottom: 1px solid var(--fg-line); }
.admin-bar .fg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fg-header { top: 0; } }
.fg-header__inner { max-width: 1320px; margin: 0 auto; padding: 8px clamp(8px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.fg-header__left { display: flex; align-items: center; gap: 4px; }
.fg-header__right { display: flex; justify-content: flex-end; gap: 2px; }
.fg-burger, .fg-header__link {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 10px;
	background: none; border: 0; color: var(--fg-noyer); text-decoration: none; cursor: pointer;
	font: 700 13px/1 var(--fg-body); letter-spacing: 0.14em; text-transform: uppercase;
}
.fg-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg-noyer); }
.fg-brand:hover { color: var(--fg-noyer); }
.fg-brand__logo { width: 68px; height: 68px; border-radius: 50%; display: block; flex-shrink: 0; }
.fg-brand__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.fg-brand__name { font-family: var(--fg-display); font-size: 22px; font-weight: 600; }
.fg-brand__tag { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-muted); }
.fg-icon-btn { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 50%; color: var(--fg-noyer); cursor: pointer; text-decoration: none; }
.fg-icon-btn:hover { background: var(--fg-kraft-clair); color: var(--fg-noyer); }
.fg-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--fg-ruban); color: var(--fg-white); font-size: 11px; font-weight: 700; line-height: 1; display: flex; align-items: center; justify-content: center; }
.fg-cart-count.is-empty { display: none; }

.fg-search { border-top: 1px solid var(--fg-line); padding: 16px 0; background: var(--fg-lin); }
.fg-search form { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.fg-search input[type="search"] { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--fg-noyer); border-radius: 4px; background: var(--fg-white); font: inherit; color: var(--fg-noyer); }
.fg-search button, .fg-search input[type="submit"] { min-height: 48px; padding: 0 18px; border: 0; border-radius: 4px; background: var(--fg-ruban); color: var(--fg-white); font: 700 15px var(--fg-body); cursor: pointer; }

@media (max-width: 720px) {
	.fg-brand__text { display: none; }
	.fg-brand__logo { width: 58px; height: 58px; }
	.fg-header__inner { padding: 6px 8px; }
}

/* ---------- Menu burger ---------- */

.fg-drawer { position: fixed; inset: 0; z-index: 100; }
.fg-drawer__backdrop { position: absolute; inset: 0; background: rgba(59, 42, 32, 0.6); opacity: 0; transition: opacity .2s; }
.fg-drawer__panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: min(460px, 92vw); overflow-y: auto;
	background: var(--fg-lin); padding: 20px 32px 28px; display: flex; flex-direction: column; gap: 20px;
	box-shadow: 8px 0 32px rgba(59, 42, 32, 0.25); transform: translateX(-100%); transition: transform .22s ease;
}
.fg-drawer.is-open .fg-drawer__backdrop { opacity: 1; }
.fg-drawer.is-open .fg-drawer__panel { transform: none; }
.fg-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.fg-drawer__top img { width: 60px; height: 60px; border-radius: 50%; }
.fg-drawer__close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--fg-noyer); font: 700 13px var(--fg-body); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.fg-drawer__shop { display: flex; align-items: center; justify-content: space-between; min-height: 48px; color: var(--fg-noyer); text-decoration: none; font-family: var(--fg-display); font-size: 40px; line-height: 1; }
.fg-drawer__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fg-drawer__chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--fg-noyer); border-radius: 999px; color: var(--fg-noyer); text-decoration: none; font-weight: 700; font-size: 14px; }
.fg-drawer__chips a:hover { background: var(--fg-noyer); color: var(--fg-lin); }
.fg-drawer__menu { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--fg-line); }
.fg-drawer__menu a { display: flex; align-items: center; min-height: 46px; color: var(--fg-noyer); text-decoration: none; font-family: var(--fg-display); font-size: 28px; }
.fg-drawer__menu a:hover { color: var(--fg-ruban); }
.fg-drawer__gift { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 6px; background: var(--fg-kraft); color: var(--fg-noyer); text-decoration: none; }
.fg-drawer__gift:hover { color: var(--fg-noyer); }
.fg-drawer__gift img { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.fg-drawer__gift > span { display: flex; flex-direction: column; gap: 4px; }
.fg-drawer__gift-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; }
.fg-drawer__gift-title { font-family: var(--fg-script); font-size: 30px; font-weight: 700; line-height: 1; }
.fg-drawer__gift-link { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fg-drawer__bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--fg-line); }
.fg-drawer__account { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--fg-noyer); text-decoration: none; font-weight: 700; }

.fg-socials { display: flex; gap: 8px; }
.fg-socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.fg-socials--dark { color: var(--fg-noyer); }

@media (prefers-reduced-motion: reduce) {
	.fg-drawer__panel, .fg-drawer__backdrop { transition: none; }
}

/* ==========================================================================
   4. Sections de pages (accueil, Qui sommes-nous)
   ========================================================================== */

.fg-sections > * { margin-top: 0; margin-bottom: 0; }
.fg-section { padding-block: clamp(48px, 7vw, 96px); }
.fg-section--tight-bottom { padding-bottom: 24px; }
/* Produits phares juste après « Sucré, salé ou à offrir ? » : un seul écart, pas trois cumulés */
.fg-section--tight-bottom + .fg-featured { padding-top: 32px; margin-block-start: 0; }
.fg-section--first { padding-top: 16px; }
.fg-band { padding-block: 28px; }
.fg-band--kraft { background: var(--fg-kraft-clair); }
.fg-band--kraft-fonce { background: var(--fg-kraft); }
.fg-dark { background: var(--fg-noyer); color: var(--fg-lin); }
.fg-dark .fg-eyebrow { color: var(--fg-kraft); }
.fg-dark p, .fg-dark li { color: var(--fg-kraft-clair); }
.fg-dark strong { color: var(--fg-lin); }
.fg-dark h2, .fg-dark h3 { color: var(--fg-lin); }

.fg-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.fg-section-head__extra { display: flex; align-items: center; gap: 10px; }
.fg-section-head__extra .fg-link { margin-right: 8px; }

/* Icônes en masque, couleur pilotée par la section. */
[class*="fg-ico-"] { --fg-ico-color: var(--fg-noyer); }
.fg-ico-heart { --fg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.5-7-10a4 4 0 0 1 7-2.5A4 4 0 0 1 19 10c0 5.5-7 10-7 10z'/%3E%3C/svg%3E"); }
.fg-ico-truck { --fg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3z'/%3E%3Cpath d='M14 10h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='18' r='1.8'/%3E%3Ccircle cx='17' cy='18' r='1.8'/%3E%3C/svg%3E"); }
.fg-ico-shield { --fg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-3-7-10V5l7-2 7 2v6c0 7-7 10-7 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.fg-ico-chat { --fg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H8l-4 4z'/%3E%3C/svg%3E"); }
.fg-ico-leaf { --fg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V9'/%3E%3Cpath d='M12 14c-3 0-5-2-5-5 3 0 5 2 5 5z'/%3E%3Cpath d='M12 11c3 0 5-2 5-5-3 0-5 2-5 5z'/%3E%3C/svg%3E"); }
.fg-ico-clock { --fg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E"); }
.fg-ico-gift { --fg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4'/%3E%3Cpath d='M5 12v8h14v-8'/%3E%3Cpath d='M12 8v12'/%3E%3Cpath d='M12 8c-2-4-6-3-5-1s5 1 5 1z'/%3E%3Cpath d='M12 8c2-4 6-3 5-1s-5 1-5 1z'/%3E%3C/svg%3E"); }
.fg-ico-mail { --fg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.fg-ico-pin { --fg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.5-6-11a6 6 0 0 1 12 0c0 5.5-6 11-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3C/svg%3E"); }
[class*="fg-ico-"]::after {
	content: ""; position: absolute; width: 22px; height: 22px; background: var(--fg-ico-color);
	-webkit-mask: var(--fg-ico) center / contain no-repeat; mask: var(--fg-ico) center / contain no-repeat;
}

/* ---------- Grande photo d'accueil ---------- */

.fg-hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; padding: 48px var(--fg-gutter); margin: 0; }
.fg-hero > * { margin: 0; }
.fg-hero > .fg-hero__img { position: absolute; inset: 0; }
.fg-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; display: block; }
.fg-hero__card {
	position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px;
	max-width: 600px; padding: clamp(24px, 3vw, 44px); border-radius: 4px; background: var(--fg-lin);
	margin-left: max(0px, calc((100% - 1160px) / 2)) !important;
}
.fg-hero__card > * { margin: 0; }
.fg-hero__title { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.03; letter-spacing: -0.01em; }
.fg-hero__card .fg-lead { margin: 0; }

/* ---------- Réassurance ---------- */

.fg-reassure { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.fg-reassure > * { margin: 0; }
.fg-reassure__item { position: relative; flex: 1 1 220px; min-height: 46px; padding: 2px 0 0 60px; font-size: 13px; line-height: 1.45; color: var(--fg-muted2); }
.fg-reassure__item strong { font-size: 15px; color: var(--fg-noyer); }
.fg-reassure__item::before { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--fg-noyer); }
.fg-reassure__item::after { left: 12px; top: 12px; }

/* ---------- Catégories ---------- */

.fg-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.fg-cats > *, .fg-cat > * { margin: 0; }
.fg-cat { display: flex; flex-direction: column; gap: 12px; }
.fg-cat__img img { width: 100%; height: 240px; object-fit: cover; border-radius: 8px; display: block; transition: transform .3s; }
.fg-cat__img a { display: block; overflow: hidden; border-radius: 8px; }
.fg-cat__img a:hover img { transform: scale(1.03); }
.fg-cat__label a { font-family: var(--fg-script); font-size: 36px; font-weight: 700; line-height: 1; color: var(--fg-noyer); text-decoration: none; }

/* ---------- Carrousel ---------- */

.fg-featured .products.fg-slider__track {
	display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	list-style: none; margin: 0; padding: 0 0 6px; scrollbar-width: none;
}
.fg-featured .products.fg-slider__track::-webkit-scrollbar { display: none; }
.fg-featured .products.fg-slider__track > li.product { flex: 0 0 calc((100% - 72px) / 4); min-width: 240px; scroll-snap-align: start; }
.fg-dots { display: flex; justify-content: center; margin-top: 20px; }
.fg-dots button { width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.fg-dots button::before { content: ""; width: 10px; height: 6px; border-radius: 3px; background: var(--fg-kraft); transition: width .2s; }
.fg-dots button[aria-pressed="true"]::before { width: 28px; background: var(--fg-noyer); }

/* ---------- Savoir-faire, coffret, blocs en deux colonnes ---------- */

.fg-craft { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.fg-craft > *, .fg-craft__text > *, .fg-split > *, .fg-split__text > * { margin: 0; }
.fg-craft__text, .fg-split__text { display: flex; flex-direction: column; gap: 20px; }
.fg-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.fg-mosaic > * { margin: 0; }
.fg-mosaic > figure:first-child { grid-row: span 2; }
.fg-mosaic > figure:last-child { grid-column: span 2; }
.fg-mosaic img, .fg-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }

.fg-steps { list-style: none; margin: 0; padding: 0; counter-reset: fg-step; display: flex; flex-direction: column; gap: 16px; }
.fg-steps li { position: relative; margin: 0; padding-left: 44px; counter-increment: fg-step; font-size: 16px; line-height: 1.5; }
.fg-steps li::before { content: counter(fg-step); position: absolute; left: 0; top: -6px; font-family: var(--fg-script); font-size: 38px; font-weight: 700; line-height: 1; color: var(--fg-kraft); }
.fg-steps--dark li::before { color: var(--fg-noyer); }

.fg-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.fg-split__img img { width: 100%; height: 440px; object-fit: cover; border-radius: 8px; display: block; }
.fg-split__img--tall img { height: 560px; }
.fg-band--kraft-fonce .fg-split__text p, .fg-band--kraft-fonce li { color: var(--fg-noyer); }

/* ---------- Chiffres, frise, engagements, galerie, carte ---------- */

.fg-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; padding-block: 16px; }
.fg-figures > * { margin: 0; }
.fg-figure { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--fg-muted2); }
.fg-figure strong { font-family: var(--fg-display); font-size: 52px; font-weight: 600; line-height: 1; color: var(--fg-noyer); }

.fg-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.fg-timeline > * { margin: 0; }
.fg-timeline__step { position: relative; display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 2px solid var(--fg-kraft); }
.fg-timeline__step > * { margin: 0; }
.fg-timeline__step::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--fg-ruban); }
.fg-timeline__year { font-family: var(--fg-script); font-size: 34px; font-weight: 700; line-height: 1; }
.fg-timeline__step img { width: 100%; height: 170px; object-fit: cover; border-radius: 6px; display: block; }
.fg-timeline__step h3 { font-size: 24px; font-weight: 600; }
.fg-timeline__step p:last-child { font-size: 15px; color: var(--fg-muted); }

.fg-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.fg-pillars > * { margin: 0; }
.fg-pillar { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 72px 26px 26px; border: 1px solid #5C4A3C; border-radius: 6px; --fg-ico-color: var(--fg-kraft); }
.fg-pillar > * { margin: 0; }
.fg-pillar::after { top: 26px; left: 26px; width: 30px; height: 30px; }
.fg-pillar h3 { font-family: var(--fg-body); font-size: 18px; font-weight: 700; }
.fg-pillar p { font-size: 15px; }

.fg-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 14px; margin-top: 32px; }
.fg-gallery > * { margin: 0; }
.fg-gallery > figure:first-child { grid-column: span 2; grid-row: span 2; }

.fg-map { min-height: 440px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; background-color: var(--fg-lin); background-image: var(--fg-hatch); }
.fg-map p { margin: 0; max-width: 320px; padding: 14px 18px; border-radius: 6px; background: var(--fg-lin); font-size: 14px; color: var(--fg-muted); }
.fg-markets { list-style: none; margin: 0; padding: 0; }
.fg-markets li { padding: 6px 0; border-bottom: 1px solid #D6C4A8; font-size: 15px; }
.fg-split__text h3 { font-family: var(--fg-body); font-size: 17px; font-weight: 700; margin-bottom: -12px; }

.fg-contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 32px; }
.fg-contact-cards > * { margin: 0; }
.fg-contact-card { position: relative; padding: 76px 22px 22px; border-radius: 6px; background: var(--fg-white); border: 1px solid var(--fg-line); font-size: 15px; }
.fg-contact-card::before { content: ""; position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--fg-noyer); }
.fg-contact-card::after { left: 31px; top: 31px; }

.fg-ph { background-color: var(--fg-kraft-clair); background-image: var(--fg-hatch); }

/* ---------- Avis, actualités, Instagram, newsletter ---------- */

.fg-reviews { background: var(--fg-kraft-clair); }
.fg-reviews .fg-section-title { margin-bottom: 32px; }
.fg-reviews__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fg-review { margin: 0; padding: 28px; border-radius: 6px; background: var(--fg-lin); display: flex; flex-direction: column; gap: 14px; }
.fg-review blockquote { margin: 0; font-family: var(--fg-display); font-style: italic; font-size: 22px; line-height: 1.35; }
.fg-review figcaption { font-size: 14px; color: var(--fg-muted2); }
.fg-stars { display: flex; gap: 3px; color: var(--fg-ruban); }

.fg-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.fg-news { display: flex; flex-direction: column; gap: 14px; }
.fg-news__media { display: block; border-radius: 6px; overflow: hidden; }
.fg-news__img { width: 100%; height: 220px; object-fit: cover; display: block; }
.fg-news__body { display: flex; flex-direction: column; gap: 10px; }
.fg-news__meta { margin: 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--fg-thym); }
.fg-news__meta a { color: inherit; text-decoration: none; }
.fg-news__meta time { letter-spacing: 0; text-transform: none; font-weight: 400; font-size: 13px; color: var(--fg-muted); }
.fg-news__title { margin: 0; font-family: var(--fg-display); font-weight: 600; font-size: 25px; line-height: 1.2; }
.fg-news__title a { color: var(--fg-noyer); text-decoration: none; }
.fg-news__title a:hover { color: var(--fg-ruban); }
.fg-news__excerpt { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-muted); }
.fg-news--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.fg-news--featured .fg-news__img { height: 420px; }
.fg-news--featured .fg-news__title { font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; }
.fg-news--featured .fg-news__excerpt { font-size: 17px; }

.fg-ribbon { display: flex; align-items: center; margin-bottom: 48px; color: var(--fg-ruban); }
.fg-ribbon span { flex: 1; height: 3px; background: currentColor; }
.fg-ribbon svg { flex-shrink: 0; }
.fg-insta { padding-top: 24px; }
.fg-insta__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.fg-insta__id { display: flex; align-items: center; gap: 16px; }
.fg-insta__id img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--fg-lin); box-shadow: 0 0 0 2px var(--fg-ruban); }
.fg-insta__title { margin: 0; font-family: var(--fg-display); font-size: 30px; line-height: 1.1; }
.fg-insta__handle { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--fg-muted); }
.fg-insta__actions { display: flex; gap: 8px; }
.fg-insta__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.fg-insta__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }

.fg-newsletter { background: var(--fg-kraft-clair); text-align: center; }
.fg-newsletter__title { margin: 0 0 10px; font-family: var(--fg-script); font-size: 46px; font-weight: 700; line-height: 1; }

/* ==========================================================================
   5. Pages, actualités, articles
   ========================================================================== */

.fg-breadcrumb { margin: 0 0 24px; padding-top: 24px; font-size: 14px; color: var(--fg-muted); }
.fg-breadcrumb a { color: var(--fg-muted); }
.fg-page { padding-bottom: 88px; }
.fg-page__title { margin: 0 0 12px; font-family: var(--fg-display); font-weight: 500; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.04; }
.fg-prose { max-width: 760px; font-size: 17px; line-height: 1.7; }
.fg-page--shop .fg-prose { max-width: none; }
.fg-prose h2 { font-size: 32px; margin: 1.6em 0 .5em; }
.fg-prose h3 { font-size: 24px; margin: 1.4em 0 .4em; }
.fg-prose img { border-radius: 6px; }
.fg-404 { text-align: center; padding-top: 64px; }

.fg-blog { padding-bottom: 88px; }
.fg-blog__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.fg-blog__head .fg-lead { margin: 0; max-width: 640px; }
.fg-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0; margin-bottom: 40px; border-top: 1px solid var(--fg-line); border-bottom: 1px solid var(--fg-line); }
.fg-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--fg-noyer); border-radius: 999px; color: var(--fg-noyer); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
.fg-chips a.is-active, .fg-chips a:hover { background: var(--fg-noyer); color: var(--fg-lin); }

.fg-pagination .nav-links, .woocommerce nav.woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; margin-top: 48px; border: 0; }
.fg-pagination .page-numbers,
.woocommerce nav.woocommerce-pagination ul li .page-numbers {
	min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--fg-noyer); border-radius: 4px; color: var(--fg-noyer); text-decoration: none; font-weight: 700;
}
.fg-pagination .page-numbers.current, .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--fg-noyer); color: var(--fg-lin); }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }

.fg-article { max-width: 860px; padding-bottom: 88px; }
.fg-article__head { margin-bottom: 24px; }
.fg-article__media { margin: 0 0 32px; }
.fg-article__media img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 8px; display: block; }
.fg-article__back { margin-top: 48px; }
.fg-search-results { list-style: none; padding: 0; }
.fg-search-results li { padding: 16px 0; border-bottom: 1px solid var(--fg-line); }
.fg-empty { margin: 0; padding: 48px 24px; border: 1.5px dashed var(--fg-kraft); border-radius: 8px; text-align: center; }
.fg-empty .fg-script { color: var(--fg-noyer); font-weight: 700; margin-bottom: 8px; }

/* ==========================================================================
   6. Boutique (WooCommerce)
   ========================================================================== */

.fg-shop__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 24px; }
.fg-shop__intro { max-width: 680px; }
.fg-shop__intro .page-description, .fg-shop__intro .term-description { font-size: 17px; color: var(--fg-muted); }
.fg-shop__intro .page-description p, .fg-shop__intro .term-description p { margin: 0; }
.fg-shop__note { transform: rotate(-3deg); font-size: 30px; }

.fg-gout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 32px; padding: 18px 24px; border-radius: 8px; background: var(--fg-kraft-clair); }
.fg-gout__label { font-family: var(--fg-script); font-size: 30px; font-weight: 700; line-height: 1; }
.fg-seg { display: flex; gap: 4px; padding: 4px; border: 1.5px solid var(--fg-noyer); border-radius: 999px; background: var(--fg-lin); }
.fg-seg a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; color: var(--fg-noyer); text-decoration: none; font-weight: 700; font-size: 16px; }
.fg-seg a.is-active { background: var(--fg-noyer); color: var(--fg-lin); }

.fg-shop__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.fg-filters > summary { list-style: none; }
.fg-filters > summary::-webkit-details-marker { display: none; }
.fg-filters__toggle { display: none; }
.fg-filters__body { display: flex; flex-direction: column; gap: 22px; }
.fg-filters__group { padding-bottom: 20px; border-bottom: 1px solid var(--fg-line); }
.fg-filters__title { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; }
.fg-filters ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.fg-check { display: flex; align-items: center; gap: 10px; min-height: 38px; color: var(--fg-noyer); text-decoration: none; font-size: 15px; }
.fg-check:hover { color: var(--fg-ruban); }
.fg-check__box { position: relative; width: 18px; height: 18px; flex-shrink: 0; border: 1.5px solid var(--fg-noyer); border-radius: 3px; background: var(--fg-white); }
.fg-check.is-checked .fg-check__box { background: var(--fg-noyer); }
.fg-check.is-checked .fg-check__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--fg-lin); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fg-filters__gift { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 6px; background: var(--fg-kraft); color: var(--fg-noyer); text-decoration: none; font-size: 14px; }
.fg-filters__gift:hover { color: var(--fg-noyer); }
.fg-filters__gift .fg-script { color: var(--fg-noyer); font-size: 28px; font-weight: 700; }
.fg-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.fg-chip-remove { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 14px; border-radius: 999px; background: var(--fg-noyer); color: var(--fg-lin); text-decoration: none; font-size: 14px; font-weight: 700; }
.fg-chip-remove:hover { background: var(--fg-ruban); color: var(--fg-white); }

.fg-shop .woocommerce-result-count { float: left; margin: 12px 0 20px; font-size: 15px; color: var(--fg-muted); }
.fg-shop .woocommerce-ordering { float: right; margin: 0 0 20px; }
.fg-shop .woocommerce-ordering select { min-height: 44px; padding: 0 12px; border: 1.5px solid var(--fg-noyer); border-radius: 4px; background: var(--fg-lin); font: 14px var(--fg-body); color: var(--fg-noyer); }
.fg-shop ul.products { clear: both; }
.fg-reassure-band { margin-top: 72px; background: var(--fg-kraft-clair); }
.fg-reassure-band .fg-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-block: 28px; font-size: 15px; }

/* ---------- Grille et carte produit ---------- */

ul.products::before, ul.products::after { display: none !important; }
.fg-shop ul.products,
.related ul.products,
.upsells ul.products,
.cross-sells ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 28px; }
.related ul.products, .upsells ul.products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

body ul.products li.product.fg-card { position: relative; display: flex; flex-direction: column; gap: 12px; width: auto; margin: 0; padding: 0; float: none; text-align: left; }
body ul.products li.product.fg-card > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; gap: 6px; flex: 1; color: var(--fg-noyer); text-decoration: none; }
.fg-frame { position: relative; display: block; margin-bottom: 8px; padding: 12px; border-radius: 6px; background: var(--fg-kraft); }
body ul.products li.product.fg-card .fg-frame img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; margin: 0; display: block; box-shadow: none; }
body ul.products li.product.fg-card .fg-frame img.fg-sticker { position: absolute; right: 20px; bottom: 20px; width: 56px; height: 56px; aspect-ratio: auto; border-radius: 50%; box-shadow: 0 1px 3px rgba(59, 42, 32, 0.25); }
.fg-badge { position: absolute; z-index: 1; top: 22px; left: 22px; padding: 2px 12px; background: var(--fg-white); color: var(--fg-noyer); font-family: var(--fg-display); font-style: italic; font-size: 18px; line-height: 1.4; }
body .woocommerce span.onsale.fg-badge, body span.onsale.fg-badge--sale {
	min-width: 0; min-height: 0; top: 22px; right: 22px; left: auto; margin: 0; padding: 2px 10px; border-radius: 0;
	background: var(--fg-ruban); color: var(--fg-white); font: 700 13px/1.6 var(--fg-body);
}
.fg-kind { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-thym); font-weight: 700; }
body ul.products li.product.fg-card .woocommerce-loop-product__title { margin: 0; padding: 0; font-family: var(--fg-script); font-size: 32px; font-weight: 700; line-height: 1.05; color: var(--fg-noyer); }
.fg-desc { font-size: 14px; line-height: 1.45; color: var(--fg-muted); }
body ul.products li.product.fg-card .star-rating { margin: 2px 0 0; font-size: 13px; color: var(--fg-ruban); }
.fg-prow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
body ul.products li.product.fg-card .price { display: block; margin: 0; color: var(--fg-noyer); font-weight: 700; font-size: 17px; }
body ul.products li.product.fg-card .price del { opacity: .6; font-weight: 400; }
body ul.products li.product.fg-card .price ins { text-decoration: none; }
body ul.products li.product.fg-card .button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0 0 0 auto; padding: 0 16px;
	border: 1.5px solid var(--fg-ruban); border-radius: 4px; background: transparent; color: var(--fg-ruban);
	font: 700 14px/1.2 var(--fg-body); text-decoration: none; text-align: center;
}
body ul.products li.product.fg-card .button:hover, body ul.products li.product.fg-card .button.added { background: var(--fg-ruban); color: var(--fg-white); }
body ul.products li.product.fg-card .added_to_cart { display: none; }

/* ---------- Fiche produit ---------- */

.fg-product-page { padding-bottom: 72px; }
body.woocommerce div.product.fg-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 56px; align-items: start; position: relative; }
body.woocommerce div.product.fg-card > .woocommerce-tabs,
body.woocommerce div.product.fg-card > .related,
body.woocommerce div.product.fg-card > .upsells,
body.woocommerce div.product.fg-card > .fg-sticky-buy { grid-column: 1 / -1; }
body.woocommerce div.product.fg-card div.images { position: relative; width: auto; float: none; margin: 0; padding: 20px; border-radius: 8px; background: var(--fg-kraft); }
body.woocommerce div.product.fg-card div.images::after { content: ""; position: absolute; z-index: 2; top: 34px; left: 34px; width: 92px; height: 92px; border-radius: 50%; background: url("assets/img/logo-farigoules.png") center / cover; box-shadow: 0 2px 6px rgba(59, 42, 32, 0.25); pointer-events: none; }
body.woocommerce div.product.fg-card div.images img { border-radius: 24px; }
body.woocommerce div.product.fg-card div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; }
body.woocommerce div.product.fg-card div.images .flex-control-thumbs li { width: auto; margin: 0; float: none; list-style: none; }
body.woocommerce div.product.fg-card div.images .flex-control-thumbs img { border-radius: 8px; }
body.woocommerce div.product.fg-card div.summary { width: auto; float: none; margin: 0; display: flex; flex-direction: column; }
.fg-single-tags { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fg-chip { display: inline-block; padding: 6px 12px; border: 1px solid var(--fg-thym); border-radius: 999px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-thym); font-weight: 700; }
.fg-badge--inline { position: static; border: 1px solid var(--fg-line); }
body.woocommerce div.product.fg-card .product_title { margin: 0 0 8px; font-family: var(--fg-script); font-weight: 700; font-size: clamp(54px, 6vw, 76px); line-height: .95; }
body.woocommerce div.product.fg-card .summary .price { margin: 8px 0 12px; color: var(--fg-noyer); font-size: 30px; font-weight: 700; }
body.woocommerce div.product.fg-card .woocommerce-product-details__short-description { font-size: 16px; line-height: 1.65; color: var(--fg-muted); }
body.woocommerce div.product.fg-card .woocommerce-product-rating { margin: 0 0 8px; }
body.woocommerce div.product.fg-card form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 20px 0 0; }
body.woocommerce div.product.fg-card form.cart::before, body.woocommerce div.product.fg-card form.cart::after { display: none; }
body.woocommerce div.product.fg-card form.cart div.quantity { float: none; margin: 0; }
body.woocommerce .quantity .qty { width: 84px; min-height: 54px; border: 1.5px solid var(--fg-noyer); border-radius: 4px; background: var(--fg-white); text-align: center; font: 700 17px var(--fg-body); color: var(--fg-noyer); }
body.woocommerce div.product.fg-card form.cart .single_add_to_cart_button { flex: 1 1 200px; float: none; min-height: 54px; }
body.woocommerce a.button, body.woocommerce button.button, body.woocommerce input.button, body.woocommerce #respond input#submit,
body.woocommerce a.button.alt, body.woocommerce button.button.alt, body.woocommerce input.button.alt {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
	border: 1.5px solid var(--fg-ruban); border-radius: 4px; background: var(--fg-ruban); color: var(--fg-white);
	font: 700 15px/1.2 var(--fg-body); letter-spacing: 0.02em;
}
body.woocommerce a.button:hover, body.woocommerce button.button:hover, body.woocommerce a.button.alt:hover, body.woocommerce button.button.alt:hover { background: var(--fg-noyer); border-color: var(--fg-noyer); color: var(--fg-white); }
.fg-assurances { list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--fg-line); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--fg-muted2); }
.fg-assurances li { display: flex; align-items: center; gap: 10px; }
.fg-assurances .fg-icon { flex-shrink: 0; color: var(--fg-noyer); }
body.woocommerce div.product.fg-card .product_meta { margin-top: 18px; font-size: 13px; color: var(--fg-muted); }
body.woocommerce div.product.fg-card .product_meta a { color: var(--fg-muted); }

body.woocommerce div.product .woocommerce-tabs { margin-top: 48px; }
body.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 28px; margin: 0 0 24px !important; padding: 0 !important; border-bottom: 1px solid var(--fg-line); overflow-x: auto; }
body.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
body.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
body.woocommerce div.product .woocommerce-tabs ul.tabs li::before, body.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 0 !important; border-bottom: 3px solid transparent; font-weight: 700 !important; font-size: 16px; color: var(--fg-muted) !important; white-space: nowrap; }
body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--fg-noyer) !important; border-bottom-color: var(--fg-ruban); }
body.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; font-size: 16px; line-height: 1.7; }
body.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 32px; margin: 0 0 14px; }
body.woocommerce div.product .woocommerce-tabs #tab-description > h2:first-child { display: none; }
body.woocommerce div.product .woocommerce-tabs .panel h3 { font-family: var(--fg-body); font-size: 17px; font-weight: 700; margin: 1.4em 0 .3em; }
.related > h2, .upsells > h2, .cross-sells > h2 { margin: 0 0 28px; font-family: var(--fg-display); font-size: clamp(30px, 3vw, 40px); font-weight: 500; }
body.woocommerce div.product .related { margin-top: 32px; }

.fg-sticky-buy { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--fg-lin); border-top: 1px solid var(--fg-line); box-shadow: 0 -6px 20px rgba(59, 42, 32, 0.1); }
.fg-sticky-buy__info { display: flex; flex-direction: column; min-width: 0; }
.fg-sticky-buy__name { font-family: var(--fg-script); font-size: 26px; font-weight: 700; line-height: 1; }
.fg-sticky-buy__price { font-size: 14px; color: var(--fg-muted2); }
.fg-sticky-buy .fg-btn { min-height: 48px; padding: 0 18px; flex-shrink: 0; }
@media (min-width: 900px) { .fg-sticky-buy { display: none !important; } }

/* ---------- Avis, notices, panier et commande ---------- */

body .woocommerce-message, body .woocommerce-info, body .woocommerce-error { border-top-color: var(--fg-thym); background: var(--fg-white); color: var(--fg-noyer); }
body .woocommerce-message::before, body .woocommerce-info::before { color: var(--fg-thym); }
body .woocommerce-error { border-top-color: var(--fg-ruban); }
body .woocommerce-error::before { color: var(--fg-ruban); }
.star-rating { color: var(--fg-ruban); }
.wc-block-components-button:not(.is-link) { border-radius: 4px; }

/* ==========================================================================
   7. Pied de page
   ========================================================================== */

.fg-footer { padding: 64px 0 28px; background: var(--fg-noyer); color: var(--fg-lin); }
.fg-footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.fg-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.fg-footer__brand img { width: 112px; height: 112px; border-radius: 50%; display: block; }
.fg-footer__brand p { margin: 0; max-width: 300px; font-size: 14px; color: var(--fg-kraft-clair); }
.fg-footer .fg-socials { color: var(--fg-lin); }
.fg-footer__title { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-kraft); font-weight: 700; }
.fg-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.fg-footer__list a { color: var(--fg-lin); text-decoration: none; }
.fg-footer__list a:hover { color: var(--fg-lin); text-decoration: underline; }
.fg-footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #5C4A3C; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--fg-kraft-clair); }

/* ==========================================================================
   8. Tablette et téléphone
   ========================================================================== */

@media (max-width: 899px) {
	.fg-shop__layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.fg-filters__toggle { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border: 1.5px solid var(--fg-noyer); border-radius: 4px; font-weight: 700; cursor: pointer; }
	.fg-filters[open] .fg-filters__body { margin-top: 20px; }
	.fg-filters__gift { display: none; }
	body.woocommerce div.product.fg-card { grid-template-columns: minmax(0, 1fr); }
	.fg-craft, .fg-split, .fg-news--featured { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.fg-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fg-footer__brand { grid-column: 1 / -1; }
	.fg-timeline, .fg-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fg-contact-cards { grid-template-columns: minmax(0, 1fr); }
	.fg-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
	body { font-size: 16px; }
	.fg-section { padding-block: 48px; }
	.fg-section.fg-section--tight-bottom { padding-bottom: 16px; }
	.fg-section--tight-bottom + .fg-featured { padding-top: 32px; }

	.fg-hero { min-height: 0; padding: 260px 0 0; }
	.fg-hero > .fg-hero__img { bottom: auto; height: 260px; }
	.fg-hero__img img { object-position: center 62%; }
	.fg-hero__card { max-width: none; padding: 24px 16px 28px; border-radius: 0; margin-left: 0 !important; }

	.fg-reassure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	.fg-reassure__item { padding-left: 46px; }
	.fg-reassure__item::before { width: 36px; height: 36px; }
	.fg-reassure__item::after { left: 7px; top: 7px; }

	.fg-cats { gap: 8px; }
	.fg-cat__img img { height: 110px; }
	.fg-cat__label a { font-size: 22px; }

	.fg-featured .products.fg-slider__track { gap: 14px; }
	.fg-featured .products.fg-slider__track > li.product { min-width: 72%; }

	.fg-mosaic { grid-auto-rows: 130px; gap: 8px; }
	.fg-split__img img { height: 240px; }
	.fg-split__img--tall img { height: 340px; }
	.fg-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fg-figure strong { font-size: 40px; }
	.fg-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 8px; }
	.fg-map { min-height: 280px; }

	.fg-hscroll { display: flex !important; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; scrollbar-width: none; }
	.fg-hscroll::-webkit-scrollbar { display: none; }
	.fg-hscroll > * { flex: 0 0 82%; min-width: 0; scroll-snap-align: start; }

	.fg-news-grid { grid-template-columns: minmax(0, 1fr); }
	.fg-news__img, .fg-news--featured .fg-news__img { height: 200px; }
	.fg-insta__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.fg-scroll-x { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.fg-scroll-x::-webkit-scrollbar { display: none; }

	.fg-shop .woocommerce-result-count, .fg-shop .woocommerce-ordering { float: none; margin: 0 0 12px; }
	.fg-shop .woocommerce-ordering select { width: 100%; }
	.fg-gout { padding: 16px; }
	.fg-gout__label { font-size: 26px; }
	.fg-seg a { padding: 0 14px; font-size: 15px; }
	.fg-shop ul.products, .related ul.products, .upsells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.fg-frame { padding: 8px; }
	body ul.products li.product.fg-card .fg-frame img { border-radius: 14px; }
	body ul.products li.product.fg-card .fg-frame img.fg-sticker { display: none; }
	.fg-shop .fg-desc, .related .fg-desc { display: none; }
	.fg-badge { top: 14px; left: 14px; font-size: 15px; }
	body ul.products li.product.fg-card .woocommerce-loop-product__title { font-size: 26px; }
	.fg-shop .fg-prow, .related .fg-prow { flex-direction: column; align-items: stretch; gap: 8px; }
	body ul.products li.product.fg-card .fg-prow .button { margin: 0; width: 100%; }

	body.woocommerce div.product.fg-card div.images { padding: 12px; }
	body.woocommerce div.product.fg-card div.images::after { top: 22px; left: 22px; width: 64px; height: 64px; }
	body.woocommerce div.product.fg-card .product_title { font-size: 58px; }
	.fg-product-page { padding-bottom: 96px; }

	.fg-footer__cols { gap: 28px 16px; }
}
