/*!
Theme Name: Ciciou Theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ciciou-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Ciciou Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	font-family: 'Montserrat', sans-serif; /* Police par défaut pour tout le site */
	color: #333;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	/* float: left; */
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	/* float: left; */

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	/* float: right; */

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* =========================================
   HEADER CUSTOM (MOBILE FIRST)
   ========================================= */

.site-header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 1rem;
}

.header-inner {
    background-color: #3A373155;
    backdrop-filter: blur(5px);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    
    /* GRILLE MOBILE : Burger | Logo | Panier */
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    gap: 1rem;
}

/* --- 1. Partie GAUCHE (Mobile) --- */
.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-right: 10px;
}

.menu-btn-style {
    background: transparent; /* Pas de fond */
    border: none;            /* Pas de bordure */
    padding: 0;              /* Pas de marge interne par défaut */
    cursor: pointer;         /* Curseur main au survol */
    
    display: flex;
    align-items: center;     /* Aligne le trèfle et le texte */
    gap: 12px;               /* Espace entre l'icône et le mot "Menu" */
    
    color: white;            /* Texte Blanc */
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
}

@media (min-width: 992px) {
    .menu-btn-style {
        font-size: 1rem;
    }
    
    .clover-icon {
        width: 20px;
        height: 20px;
    }
}

/* Sur mobile, on cache la liste des liens par défaut */
.main-navigation ul {
    display: none; 
    /* Nous gérerons l'ouverture du menu en JS juste après */
}

/* --- 2. Partie CENTRE (Logo) --- */
.header-center {
    text-align: center;
    /* Le logo prend toute la place dispo pour se centrer visuellement */
    display: flex;
    justify-content: center;
}

.custom-logo {
    max-height: 40px; /* Plus petit sur mobile */
    width: auto;
}

/* --- STYLE DE LA PARTIE DROITE (Panier) --- */

.header-right {
    display: flex;
    align-items: center;     /* Aligne verticalement au centre */
    justify-content: flex-end;
    gap: 0;
    color: white;            /* Texte en blanc */
    font-family: 'Montserrat', sans-serif;
}

/* Le lien Panier */
.header-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: white;
}

.header-cart-link:hover {
    opacity: 0.8;
}

/* Les états globaux des liens du thème ne doivent jamais recolorer le panier. */
.site-header:not(.scrolled) .header-cart-link,
.site-header:not(.scrolled) .header-cart-link:visited,
.site-header:not(.scrolled) .header-cart-link:hover,
.site-header:not(.scrolled) .header-cart-link:focus,
.site-header:not(.scrolled) .header-cart-link:active {
    color: #ffffff;
}

.header-cart-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.header-cart-count {
    position: absolute;
    top: -0.55rem;
    right: -0.65rem;
    display: inline-grid;
    place-items: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border: 1px solid rgba(58, 55, 49, 0.18);
    border-radius: 999px;
    background: #FDFBF7;
    color: #3A3731;
    box-shadow: 0 2px 8px rgba(34, 31, 28, 0.16);
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

.header-cart-count[data-count="0"] {
    display: none;
}

/* 2. Le bouton "FR" */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px; /* Espace entre FR et la flèche */
    font-size: 0.9rem;
    cursor: pointer;
}

.lang-arrow {
    display: block;
    width: 10px;
    height: auto;
}

/* --- MENU MOBILE OUVERT (Overlay) --- */
/* On ajoutera la classe .toggled via JS sur le body ou le header */

.mobile-menu-open .main-navigation ul {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 100%; /* Juste en dessous du header */
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(5px);
	border-radius: 0 0 4px 4px;
	padding: 2rem;
	gap: 1.5rem;
	text-align: center;
	z-index: 99;
}

/* Couleur des liens du menu mobile */
.mobile-menu-open .main-navigation a {
    color: #ffffff;
    font-size: 1.2rem; /* On peut en profiter pour les grossir un peu */
    text-decoration: none; /* Enlève le soulignement si présent */
    display: block; /* Rend toute la largeur cliquable */
}

/* Optionnel : Changement de couleur au survol */
.mobile-menu-open .main-navigation a:hover {
    color: #d4af37; /* Exemple : couleur "Or" au survol */
}

/* =========================================
   VERSION DESKTOP (Grand Écran)
   ========================================= */
@media (min-width: 992px) {

    .site-header {
		padding: 2rem;
    }

    .header-inner {
        /* On repasse à notre grille 3 colonnes équilibrée */
        grid-template-columns: 1fr auto 1fr; 
        padding: 1rem 2rem;
    }

    /* GAUCHE : On cache le burger, on montre le menu */
    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex; /* On réaffiche les liens en ligne */
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 2rem;
    }

    /* --- HEADER LEFT : Bouton Menu --- */

    .header-left {
        display: flex;
        align-items: center; /* Centre verticalement dans la barre */
        justify-content: flex-start; /* Aligne à gauche */
    }

    /* Style de l'icône Trèfle */
    .clover-icon {
        width: 18px;   /* Taille ajustée de l'icône */
        height: 18px;
        display: block;
        opacity: 1;
        transition: transform 0.3s ease;
    }

    /* Effet au survol (Optionnel : petite rotation du trèfle) */
    .menu-btn-style:hover {
        opacity: 0.8;
    }

    .menu-btn-style:hover .clover-icon {
        transform: rotate(15deg); /* Petit effet sympa au survol */
    }

    /* CENTRE : Logo plus grand */
    .custom-logo {
        max-height: 60px;
    }
}

/* --- MENU DÉROULANT (DROPDOWN BOX) --- */

/* Important : permet de positionner la boîte par rapport à ce bloc */
.header-left {
    position: relative; 
}

.menu-dropdown-box {
    position: absolute;
    top: 60px; /* Ajusté pour tomber juste sous la barre (hauteur header 60px) */
    left: 0;
    width: 280px; /* Largeur confortable */
    
    /* --- LE STYLE IDENTIQUE AU HEADER --- */
    background-color: #3A373169; /* Gris chaud semi-transparent */
    backdrop-filter: blur(5px);   /* Flou d'arrière-plan */
    border-radius: 4px;           /* Coins arrondis demandés */
    
    padding: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Ombre douce pour la lisibilité */
    
    /* Animation d'apparition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2000;
}

/* État ouvert */
.menu-dropdown-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- STYLE DE LA LISTE --- */
.dropdown-list {
    list-style: none;
    margin: 0;
    padding: 20px; /* Marge interne autour du texte */
}

.dropdown-list li {
    display: block;
    /* La ligne de séparation */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); 
    margin-bottom: 15px; /* Espace sous la ligne */
    padding-bottom: 15px; /* Espace entre texte et ligne */
}

/* On enlève la bordure du dernier élément pour faire propre */
.dropdown-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dropdown-list a {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem; /* Taille standard */
    font-weight: 400;
    text-decoration: none;
    display: block;
    transition: opacity 0.2s;
}

.dropdown-list a:hover {
    opacity: 0.7; /* Petit effet au survol */
}

/* --- COULEUR DES LIENS DU MENU DÉROULANT --- */

/* On cible les liens et leur état "visité" pour éviter le violet du navigateur */
.dropdown-list li a, 
.dropdown-list li a:visited {
    color: #ffffff !important; /* Force le blanc pur */
    text-decoration: none;
    transition: opacity 0.3s ease;
}

/* Optionnel : un léger effet au survol pour l'élégance */
.dropdown-list li a:hover {
    opacity: 0.7;
    color: #ffffff !important;
}

/* Si vous voulez aussi que la petite barre de séparation soit blanche et discrète */
.dropdown-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Blanc très transparent */
}

/* =========================================
   STICKY HEADER (ANIMATION SCROLL)
   ========================================= */

/* 1. État initial (Modification de votre base) */
.site-header {
    /* On ajoute une transition pour que le changement de couleur/taille soit fluide */
    transition: all 0.4s ease; 
}

.clover-icon circle {
    transition: fill 0.4s ease;
}

/* 2. État "Scrollé" (Quand la classe .scrolled est ajoutée par le JS) */
.site-header.scrolled {
    position: fixed; /* Le header reste collé en haut */
    top: 0;
    left: 0;
    width: 100%;
    margin: 0; /* On annule les marges (6vh/30px) */
    padding: 0; /* On colle les bords */
    background-color: #ffffff; /* Fond blanc */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Petite ombre pour détacher du fond */
}

/* 3. Modification du conteneur intérieur quand scrollé */
.site-header.scrolled .header-inner {
    background-color: transparent; /* On enlève le fond flou semi-transparent */
    backdrop-filter: none;
    width: 100%;
    border-radius: 0;
    padding: 0.8rem 2rem; /* On ajuste le padding interne */
}

/* 4. Changement de couleur des TEXTES (Blanc -> Noir) */
/* Car sur fond blanc, on ne verra plus le texte blanc ! */
.site-header.scrolled .menu-toggle,
.site-header.scrolled .header-left a,
.site-header.scrolled .header-right,
.site-header.scrolled .menu-text,
.site-header.scrolled .header-cart-link {
    color: #333333 !important; /* Gris foncé / Noir */
}

.site-header.scrolled .header-cart-link:visited,
.site-header.scrolled .header-cart-link:hover,
.site-header.scrolled .header-cart-link:focus,
.site-header.scrolled .header-cart-link:active {
    color: #333333 !important;
}

.site-header.scrolled .clover-icon circle {
    fill: #000000;
}

/* 5. Changement du LOGO (Blanc -> Noir) */
/* Astuce : Plutôt que de charger une autre image, on inverse les couleurs du logo blanc via CSS */
.site-header.scrolled .custom-logo {
    filter: invert(1) brightness(0.2); /* Transforme le blanc en noir */
}

/* Optionnel : Ajustement de la taille du logo au scroll pour gagner de la place */
.site-header.scrolled .custom-logo {
    max-height: 40px; 
}

@media (min-width: 992px) {
    .site-header.scrolled .custom-logo {
        max-height: 80px; 
    }
}

/* =========================================
   FOOTER (CARD STYLE V2 - WIDE)
   ========================================= */

/* 1. Le cadre gris foncé (plus épais) */
.site-footer {
    background-color: #2c2c2c; /* Gris foncé */
    /* Padding en % ou VW pour être proportionnel à l'écran */
    padding: 4vw; 
    display: flex;
    justify-content: center;
}

/* 2. La Carte Crème (prend tout l'espace restant) */
.footer-card {
    background-color: #FDFBF7;
    width: 100%; /* Prend toute la largeur disponible dans le padding */
    max-width: 1600px; /* Sécurité pour les écrans géants */
    padding: 3rem 2rem; /* Espace INTERNE de la carte */
    border-radius: 4px;
    position: relative;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box; /* Important pour les paddings */
}

/* L'icône fleur en haut à droite */
.footer-icon-top {
    position: absolute;
    top: 30px;
    right: 40px;
    opacity: 1;
}

/* Titres */
.footer-title {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #111;
}

/* --- FORMULAIRE (Aligné sur une ligne même sur mobile) --- */
.footer-top-section {
    margin-bottom: 3rem;
}

.newsletter-form {
    display: flex;
    flex-direction: row; /* FORCE la ligne horizontale tout le temps */
    align-items: stretch; /* Hauteur identique pour input et bouton */
    gap: 10px; /* Petit espace entre les deux */
    width: 100%;
    max-width: 100%; /* Prend toute la largeur dispo sur mobile */
}

.newsletter-input {
    flex: 1; /* MAGIQUE : Prend tout l'espace restant disponible */
    min-width: 0; /* Sécurité pour éviter que l'input ne force le dépassement */
    
    padding: 10px; /* Un peu moins de padding sur mobile pour gagner de la place */
    border: 1px solid #999;
    background: transparent;
    border-radius: 0;
    font-family: inherit;
    box-sizing: border-box;
}

/* Ajustement du bouton dans le formulaire */
.newsletter-form .btn-dark {
    width: auto; /* Ne prend que la largeur du texte "Envoyer" */
    flex-shrink: 0; /* Interdit au bouton de se faire écraser */
    padding: 0 20px; /* Ajustez si le bouton est trop large */
    
    /* Centrage du texte */
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 0.85rem;
    border-radius: 4px;
}

/* --- GRILLE DES COLONNES --- */
.footer-links-grid {
    display: grid;
    /* Sur mobile : 1 colonne */
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Listes de liens */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.8rem;
}

.footer-list a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Pour mettre "Gestion cookies" et "FAQ" côte à côte si désiré */
.horizontal-list {
    display: flex;
    gap: 2rem; /* Espace entre les deux liens */
    margin-bottom: 2rem;
}

/* Réseaux Sociaux (dans la col 1) */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* --- BAS DE PAGE --- */
.footer-bottom {
    margin-top: 3rem;
}

.footer-divider {
    border: 0;
    border-top: 1px solid #ccc;
    margin-bottom: 2rem;
    width: 100%;
}

.site-info {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    line-height: 1.4;
    color: #555;
}

/* =========================================
   RESPONSIVE DESKTOP (Grands Écrans)
   ========================================= */
@media (min-width: 992px) {
    
    .site-footer {
        padding: 2vw; /* Bordure grise bien visible */
    }

    .footer-links-grid {
        /* LA GRILLE MAGIQUE : 3 Colonnes alignées */
        /* Col 1 (Large) | Col 2 (Ciciou) | Col 3 (Contact) */
        grid-template-columns: 2fr 1fr 1fr; 
        gap: 2rem;
        align-items: start;
    }
    
    /* On décale un peu les colonnes pour matcher la maquette */
    .col-menu {
        padding-left: 2rem; /* Décale "Ciciou" vers la droite */
    }

    .newsletter-form {
        max-width: 450px; /* On remet la limite de largeur */
    }

    .newsletter-input {
        padding: 12px; /* On remet un padding confortable */
    }

    .newsletter-form .btn-dark {
        padding: 12px 12px;
    }
}

/* =========================================
   SECTION HERO (ACCUEIL)
   ========================================= */

.hero-section {
    position: relative;
    overflow: hidden; /* Important pour que la vidéo ne dépasse pas */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1; /* Derrière le contenu */
    transform: translate(-50%, -50%);
    object-fit: cover; /* La vidéo remplit tout l'espace comme un background-size: cover */
}

.hero-content {
    position: relative;
    z-index: 2; /* Devant la vidéo ou l'image */
    text-align: center;
    color: #fff;
}

/* =========================================
   SECTION APERÇU (INTRO)
   ========================================= */

.intro-section {
    /* Couleur crème inspirée de la maquette */
    background-color: #FDFBF7; 
    
    /* Espacement interne (Haut/Bas | Gauche/Droite) */
    padding: 2rem 2rem; 
    
    /* Contrainte Grid : On centre tout le bloc dans la section */
    display: grid;
    place-items: center;
}

.intro-container {
    /* On limite la largeur pour que le texte ne soit pas trop long sur ordi */
    max-width: 600px;
    text-align: center;
    
    /* Grid interne pour espacer les textes proprement */
    display: grid;
}

/* 1. Le sous-titre "APERÇU" */
.intro-subtitle {
    font-size: 11px;
	font-family: 'Montserrat', sans-serif; /* Sans-serif propre */
    font-weight: 400; /* Regular */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333; /* Noir/Gris foncé */
	margin-bottom: 0.2rem;
}

/* 2. Le titre principal */
.intro-title {
    font-family: 'Montserrat', sans-serif;; /* Utilise une police avec empattement comme sur la maquette */
    font-size: 20px;
    font-weight: 300; /* Assez fin */
    margin: 0;
    color: #000;
	margin-bottom: 0.8rem;
}

/* 3. Le paragraphe de description */
.intro-desc {
    font-family: 'Montserrat', sans-serif;
	font-weight: 300;
    font-size: 15px;
    line-height: 1.6; /* Bonne hauteur de ligne pour la lisibilité */
    color: #333;
    margin: 0;
}

/* =========================================
   VERSION DESKTOP (Grands Écrans)
   ========================================= */
@media (min-width: 992px) {

    /* 1. Hero : Pleine hauteur sur Desktop */
    .hero-section {
        height: 100vh; /* Prend tout l'écran */
        /* Optionnel : On peut fixer l'image pour un effet de parallaxe sympa */
        /* background-attachment: fixed;  */
    }

    /* 2. Section Aperçu : Textes plus grands */
    .intro-section {
        padding: 6rem 2rem; /* Plus d'espace autour du texte */
    }

    .intro-subtitle {
        font-size: 18px; /* Un peu plus grand que sur mobile */
    }

    .intro-title {
        font-size: 36px; /* Beaucoup plus grand pour impacter */
        margin-bottom: 1.5rem;
    }

    .intro-desc {
        font-size: 15px; /* Texte plus lisible */
        max-width: 800px; /* On autorise le texte à être plus large */
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================
   SECTION PRODUITS (Vignette)
   ========================================= */

.products-section {
    padding: 2rem;
    background-color: #FDFBF7; /* Même fond crème que l'intro */
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center; /* Centre la carte pour l'instant */
}

/* --- LE CONTENEUR DE LA CARTE --- */
.product-card {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* --- 1. PARTIE VISUELLE (Image + Overlay) --- */
.card-visual {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bag-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 80px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    display: grid;
    place-items: center;
    padding: 5px;
}

.bag-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-visual-link {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 8px;
}

.card-visual-link:focus-visible {
    outline: 2px solid #3A3731;
    outline-offset: 4px;
}

.card-visual-link .main-img {
    transition: transform 0.35s ease;
}

.card-visual-link:hover .main-img {
    transform: scale(1.015);
}

.card-visual-cta {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.7rem 1.35rem;
    background-color: #3A3731;
    color: #fff;
    border: 1px solid #3A3731;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card-visual-link:hover .card-visual-cta {
    background-color: #FDFBF7;
    color: #3A3731;
}

/* --- 2. PARTIE INFOS (GRID LAYOUT STRICT) --- */
.card-info {
    display: grid;
    /* Icone | Texte Central | Lien à droite */
    grid-template-columns: auto 1fr auto; 
    align-items: start;
    gap: 12px;
    padding: 12px 0.5rem; /* Un peu plus d'espace vertical */
    font-family: 'Montserrat', sans-serif;
}

/* Colonne 1 : Icone */
.info-icon svg {
    width: 12px; /* On réduit aussi un peu la goutte pour qu'elle soit proportionnelle */
    height: 12px;
    margin-top: 3px; /* Calé sur le haut du titre */
    fill: #6B7280;
}

/* Colonne 2 : Titre et Prix */
.info-text {
    display: flex;
    flex-direction: column;
    gap: 2px; /* Titre et prix très proches l'un de l'autre */
}

.product-price {
    font-size: 0.75rem; /* Le prix encore plus petit et discret */
    font-weight: 300;   /* Très fin */
    color: #888;
    margin: 0;
}

/* Colonne 3 : L'action (En savoir plus) */
.info-action {
    justify-self: end;
    padding-top: 1px; /* Micro-ajustement pour s'aligner avec le titre */
}

.link-savoir-plus {
    text-decoration: none;
    font-size: 0.7rem; /* Lien très fin */
    color: #888; /* Gris discret */
    display: flex;
    align-items: center;
    gap: 5px; 
    transition: color 0.3s;
    text-transform: lowercase; /* Optionnel : si vous voulez "en savoir plus" en minuscule comme parfois dans le luxe */
    /* Sinon retirez la ligne du dessus */
}

.link-savoir-plus .text-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: black;
}

.link-savoir-plus .plus-symbol {
    font-size: 1rem; 
    font-weight: 300;
    line-height: 1;
    color: black;
}

.link-savoir-plus:hover {
    color: #000;
}

/* =========================================
   CARROUSEL (SCROLL HORIZONTAL)
   ========================================= */

.carousel-wrapper {
    --carousel-gap: clamp(0.75rem, 2vw, 2rem);
    --carousel-arrow-top: 50%;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding-inline: clamp(2.75rem, 5vw, 4rem);
}

.carousel-track {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: var(--carousel-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    padding: 1rem 0;
    
    /* Cache la barre de défilement (Scrollbar) pour faire propre */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}
.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Modification de la carte pour qu'elle ne s'écrase pas */
.product-card {
    flex: 0 0 calc((100% - var(--carousel-gap)) / 2);
    min-width: 0;
    scroll-snap-align: start;
}

/* Style des boutons flèches */
.carousel-btn {
    position: absolute;
    top: var(--carousel-arrow-top);
    z-index: 4;
    flex: 0 0 auto;
    transform: translateY(-50%);
    background-color: rgba(253, 251, 247, 0.92);
    border: 1px solid #3A3731;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #3A3731;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.carousel-btn.prev-btn {
    left: 0.25rem;
}

.carousel-btn.next-btn {
    right: 0.25rem;
}

.carousel-btn:hover {
    background-color: #3A3731;
    color: white;
    border-color: #3A3731;
}

@media (max-width: 768px) {
    .products-section {
        padding: 1.5rem 0;
        overflow: hidden;
    }

    .carousel-wrapper {
        --carousel-gap: 0.75rem;
        max-width: 100%;
        padding-inline: 2.25rem;
    }

    .carousel-btn {
        display: flex;
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .carousel-btn.prev-btn {
        left: 0.15rem;
    }

    .carousel-btn.next-btn {
        right: 0.15rem;
    }

    .product-card {
        gap: 0.6rem;
    }

    .card-info {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 5px;
        padding: 0.5rem 0;
    }

    .info-action {
        grid-column: 2;
        justify-self: start;
        padding-top: 0.25rem;
    }

    .products-section .product-title {
        font-size: 0.68rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .product-price {
        font-size: 0.65rem;
    }

    .link-savoir-plus {
        font-size: 0.6rem;
    }

    .card-visual-cta {
        display: none;
    }
}

/* =========================================
   SECTION QUI SOMMES-NOUS (MOBILE)
   ========================================= */

.about-section {
    background-color: #FDFBF7; /* Toujours ce fond crème */
    padding: 4rem 2rem;
}

.about-wrapper {
    /* Sur mobile : Une seule colonne, tout s'empile */
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center; /* Textes centrés sur mobile */
    max-width: 1200px;
    margin: 0 auto;
}

/* Réutilisation de vos classes de police existantes */
.about-text .intro-title {
    font-size: 1.8rem; /* Un peu plus petit sur mobile */
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-text .intro-desc {
    font-size: 1rem;
    max-width: 100%;
}

/* Gestion de l'image */
.about-visual {
    width: 100%;
    /* On s'assure que l'image ne dépasse pas */
    overflow: hidden; 
    border-radius: 4px;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Le Bouton sombre */
.btn-dark, .btn-dark:visited {
    display: inline-block;
    background-color: #3A3731; /* Gris très foncé/Noir de la maquette */
    color: #fff;
    padding: 1rem 2rem;
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
	border-radius: 4px;
}

.btn-dark:hover {
    background-color: #24231f;
}

/* =========================================
   VERSION DESKTOP (QUI SOMMES-NOUS)
   ========================================= */
@media (min-width: 992px) {

    .about-wrapper {
        /* On passe à 2 colonnes : Image (50%) | Texte (50%) */
        grid-template-columns: 1fr 1fr; 
        
        /* On aligne le contenu verticalement au centre */
        align-items: center; 
        gap: 4rem; /* Grand espace entre l'image et le texte */
        text-align: left; /* On remet le texte aligné à gauche */
        padding: 0 2rem;
    }

    /* RE-ORDONNANCEMENT MAGIQUE */
    
    /* 1. L'image passe à GAUCHE (Colonne 1) */
    /* On lui dit de commencer ligne 1 et de s'étendre sur 2 lignes (pour couvrir texte + bouton) */
    .about-visual {
        grid-column: 1; 
        grid-row: 1 / span 2; 
        height: 100%; /* Pour remplir la hauteur */
    }
    
    .about-img {
        height: 100%; /* L'image remplit le bloc */
        min-height: 400px; /* Hauteur min pour que ce soit joli */
    }

    /* 2. Le Texte passe à DROITE (Colonne 2) */
    .about-text {
        grid-column: 2;
        grid-row: 1; /* Ligne du haut */
        align-self: end; /* On le colle vers le bas de sa cellule pour le rapprocher du bouton */
        margin-bottom: 1rem;
    }

    /* 3. Le Bouton passe à DROITE (Colonne 2) */
    .about-cta {
        grid-column: 2;
        grid-row: 2; /* Ligne du bas */
        align-self: start; /* On le colle vers le haut */
    }

    /* Ajustement des typos desktop */
    .about-text .intro-title {
        font-size: 2.5rem;
    }
}

/* =========================================
   SECTION COLLECTION (INFINITE SCROLL)
   ========================================= */

.collection-section {
    background-color: #FDFBF7; /* Toujours le fond crème */
    padding: 4rem 0; /* Pas de padding latéral pour que le scroll touche les bords */
    overflow: hidden; /* Important : Cache ce qui dépasse de l'écran */
}

/* --- 1. L'EN-TÊTE (GRID) --- */
.collection-header {
    max-width: 1200px;
    margin: 0 auto 3rem auto; /* Centré + marge bas */
    padding: 0 2rem;
    
    /* Mobile First : Stacked */
    display: grid;
    gap: 1.5rem;
    text-align: center; /* Centré sur mobile */
}

/* Sur Desktop : Texte à gauche, Bouton à droite */
@media (min-width: 992px) {
    .collection-header {
        grid-template-columns: 1fr auto; /* Texte prend la place | Bouton prend sa taille */
        align-items: end; /* Aligné en bas (le bouton s'aligne avec le bas du texte) */
        text-align: left;
    }

    .collection-header .intro-desc {
        margin-left: 0;  /* Annule l'effet centré "auto" */
        margin-right: 0; /* Annule l'effet centré "auto" */
        text-align: left; /* Force l'alignement à gauche */
        max-width: 600px; /* Optionnel : pour éviter que les lignes soient trop longues à lire */
    }
}

/* --- 2. L'ANIMATION MARQUEE --- */

.marquee-wrapper {
    width: 100%;
    overflow: hidden; /* Coupe ce qui dépasse */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); /* Optionnel : Petit fondu sur les bords gauche/droite */
}

.marquee-track {
    display: flex;
    gap: 4rem; /* Espace entre les deux groupes */
    width: max-content; /* Force la largeur à s'adapter au contenu total */
    /* L'animation : nom | durée | linéaire (vitesse constante) | infini */
    animation: scrollLoop 30s linear infinite; 
}

/* On met le curseur en pause si on survole les sacs */
.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex; /* Les images s'alignent horizontalement */
    gap: 4rem; /* Espace entre chaque sac */
    align-items: center;
}

.marquee-group img {
    height: 300px; /* Force une hauteur identique */
    width: auto; /* Largeur auto pour garder les proportions */
    object-fit: contain;
    /* Petit effet hover sympa */
    transition: transform 0.3s;
}

.marquee-group img:hover {
    transform: scale(1.1); /* Grossit légèrement au survol */
}

/* --- DÉFINITION DE L'ANIMATION --- */
@keyframes scrollLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        /* On déplace de -50% car la piste contient 2 groupes identiques.
           Une fois arrivé à la moitié, on est visuellement revenu au point de départ.
           C'est ça qui crée la boucle parfaite. */
        transform: translateX(-50%); 
    }
}

/* Ajustement Mobile : On accélère un peu ou on réduit les images */
@media (max-width: 768px) {
    .marquee-group img {
        height: 200px; /* Plus petits sacs sur mobile */
        gap: 2rem;
    }
    .marquee-track {
        gap: 2rem;
    }
}

/* =========================================
   SECTION BIJOUX (MOBILE FIRST)
   ========================================= */

.bijoux-section {
    background-color: #F6F1DF; /* Fond crème */
    padding: 4rem 2rem;
    overflow: hidden;
}

.bijoux-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    
    /* Mobile : Texte au dessus, Images en dessous */
    display: grid;
    grid-template-columns: 1fr; 
    gap: 3rem;
    text-align: center;
}

/* Gestion du texte */
.bijoux-text .intro-desc {
    margin-bottom: 2rem; /* Espace avant le bouton */
    max-width: 100%; 
}

/* --- LES IMAGES (Quinconce Mobile & Desktop) --- */
.bijoux-visual {
    /* On place les 2 images côte à côte */
    display: flex;
    justify-content: center; /* Centré horizontalement */
    align-items: center;     /* Centré verticalement par défaut */
    gap: 1.5rem;             /* Espace entre les deux */
}

.bijou-img {
    width: 48%; /* Sur mobile, elles prennent presque moitié-moitié */
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 3/4;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Image de Gauche : Descend un peu */
.img-left {
    transform: translateY(20px); 
}
/* Image de Droite : Monte un peu */
.img-right {
    transform: translateY(-20px);
}

/* =========================================
   VERSION DESKTOP (Grands Écrans)
   ========================================= */
@media (min-width: 992px) {

    .bijoux-wrapper {
        /* On force 2 colonnes strictes : Texte (50%) | Images (50%) */
        grid-template-columns: 1fr 1fr; 
        align-items: center; /* Aligne le texte au milieu des images verticalement */
        text-align: left;
        gap: 2rem; /* Espace entre le bloc texte et le bloc image */
    }

    .bijoux-text .intro-desc {
        margin-left: 0;
        margin-right: 0;
        max-width: 90%;
    }

    /* --- CORRECTION TAILLE IMAGES DESKTOP --- */
    .bijoux-visual {
        /* On s'assure que le conteneur reste dans sa colonne de droite */
        justify-content: flex-end; /* Colle les images vers la droite (optionnel, ou center) */
        padding-right: 2rem; /* Petite marge de sécurité */
    }

    .bijou-img {
        /* ICI on réduit la taille pour éviter l'effet "très grosses" */
        width: 100%; 
        max-width: 220px; /* On impose une largeur maximale raisonnable */
    }

    /* On accentue un peu le quinconce sur grand écran car on a plus de place */
    .img-left {
        transform: translateY(30px);
    }
    .img-right {
        transform: translateY(-30px);
    }
}

/* =========================================
   SECTION FAQ
   ========================================= */

.faq-section {
    background-color: #FDFBF7; /* Fond beige continu */
    padding: 4rem 2rem;
}

.faq-container {
    max-width: 800px; /* Plus étroit que le reste pour la lisibilité */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* En-tête */
.faq-header-text {
    text-align: center;
}

.faq-title {
    font-family: 'Montserrat', sans-serif; /* Style "FAQ" fin comme sur la maquette */
    font-weight: 300;
    font-size: 27px;
    margin: 0.5rem 0;
    text-transform: uppercase;
}

/* Liste des questions */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0; /* Les bordures feront la séparation */
}

.faq-item {
    border-bottom: 1px solid #ccc; /* La ligne grise de séparation */
}
/* La ligne au dessus du tout premier élément */
.faq-item:first-child {
    border-top: 1px solid #ccc;
}

/* Le Bouton Question (Partie visible) */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pousse le + à droite */
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    color: #333;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #000;
}

.faq-icon svg {
    display: block; /* Évite les décalages bizarres */
}

.faq-label {
    flex: 1; /* Le texte prend toute la place dispo */
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
}

/* La Réponse (Cachée par défaut) */
.faq-answer {
    max-height: 0; /* Hauteur 0 = caché */
    overflow: hidden; /* Cache ce qui dépasse */
    transition: max-height 0.4s ease-out; /* Animation fluide */
}

.faq-answer-inner {
    padding-bottom: 1.5rem; /* Espace en bas du texte */
    padding-left: 3rem; /* Pour aligner le texte sous le titre (décalé de l'icone) */
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Classe active (ajoutée par JS) */
.faq-item.active .faq-toggle {
    transform: rotate(45deg); /* Le + devient une croix x */
    display: inline-block;
    transition: transform 0.3s;
}

/* Footer FAQ (Bouton) */
.faq-footer {
    text-align: center;
    margin-top: 1rem;
}

/* =========================================
   PAGE PRODUIT
   ========================================= */

/* =========================================
   HERO RESPONSIVE
   ========================================= */

/* 1. Configuration de base (MOBILE) */
.product-hero-section {
    width: 100%;
    height: 60vh; 
    overflow: hidden;
    position: relative;
}

/* 2. Configuration DESKTOP (Grands écrans) */
@media (min-width: 992px) {
    .product-hero-section {
        /* On rétablit la grande hauteur fixe pour l'ordinateur */
        height: 80vh; 
    }
}

.product-hero-img {
    width: 100%;       /* Prend toute la largeur du conteneur */
    height: 100%;      /* Prend toute la hauteur du conteneur (60vh ou 80vh) */
    
    /* La propriété magique : */
    object-fit: cover;  /* L'image remplit le cadre sans être distordue */
    
    /* Optionnel : centre l'image si elle est rognée */
    object-position: center; 
    
    display: block;
}

/* =========================================
   GALERIE PRODUIT (CAROUSEL 3 VUES)
   ========================================= */

.product-gallery-section {
    padding: 2rem 0;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- 1. NAVIGATION (HEADER) --- */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.gallery-title-block {
    display: flex;
    flex-direction: column; /* Icone au dessus, titre en dessous ? ou côte à côte */
    align-items: center;
    gap: 10px;
}

.product-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s;
}
.gallery-arrow:hover {
    transform: scale(1.2);
}

/* --- 2. AFFICHAGE IMAGES (SLOTS) --- */
.gallery-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem; /* Espace entre les sacs */
    margin-bottom: 2rem;
    height: 400px; /* Hauteur fixe pour éviter les sauts */
    overflow-x: auto;
}

.gallery-slot {
    transition: all 0.5s ease; /* Animation fluide lors du changement */
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-slot img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* STYLE DU SLOT CENTRAL (Actif) */
.slot-center {
    width: 40%; /* Prend plus de place */
    height: 350px;
    opacity: 1;
    transform: scale(1); /* Taille normale */
    z-index: 2; /* Au dessus des autres */
}

/* STYLE DES SLOTS COTÉS (Inactifs) */
.slot-left, .slot-right {
    width: 40%; /* Plus petits */
    height: 400px;
    transform: scale(0.9); /* Un peu réduits */
    z-index: 1;
}

/* Responsive Mobile : On cache les côtés ou on réduit drastiquement */
@media (max-width: 768px) {
    .gallery-display {
        gap: 0.5rem;
        height: 300px;
        overflow-x: auto;
    }
    .slot-center {
        height: 250px;
        width: 40%;
    }
    .slot-left, .slot-right {
        height: 150px;
        width: 30%;
    }
    .product-title {
        font-size: 1.1rem;
    }
}

/* --- 3. PRIX --- */
.product-price-display {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #666;
    margin-top: 1rem;
}

/* =========================================
   ONGLETS PRODUIT (TABS)
   ========================================= */

.product-tabs-section {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    color: #444;
}

/* --- Navigation --- */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 3rem; /* Espace entre les mots */
    border-bottom: 1px solid #ccc; /* La ligne grise sous les titres */
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #888; /* Gris par défaut */
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: color 0.3s;
}

.tab-btn:hover {
    color: #333;
}

/* Style de l'onglet ACTIF */
.tab-btn.active {
    color: #333;
    font-weight: 500;
    /* Soulignement */
    text-decoration: underline;
    text-underline-offset: 6px; /* Écarte le trait du texte */
    text-decoration-thickness: 1px;
}

/* --- Contenu --- */
.tab-content {
    display: none; /* Caché par défaut */
    line-height: 1.6;
    font-size: 0.95rem;
    color: #555;
    animation: fadeIn 0.4s ease; /* Petite animation d'apparition */
}

/* Le contenu ACTIF devient visible */
.tab-content.active {
    display: block;
}

.tab-content p {
    margin-bottom: 1rem;
}

/* Animation douce */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Mobile */
@media (max-width: 600px) {
    .tabs-nav {
        gap: 1.5rem; /* On rapproche les titres sur petit écran */
    }
    .tab-btn {
        font-size: 0.9rem;
    }
}

/* =========================================
   PAGE BIJOUX DE SAC (GLOBAL SLIDER)
   ========================================= */

/* 1. HERO */
.jewelry-hero-section {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    margin-bottom: 3rem;
}
.jewelry-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease; /* Transition douce */
}

/* 2. SHOWCASE (Flèches + Produit) */
.jewelry-showcase {
    display: flex;
    justify-content: center;
    align-items: center; /* Aligné verticalement */
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.jewel-center-block {
    text-align: center;
    max-width: 500px;
}

.jewel-icon {
    width: 24px;
    margin-bottom: 1rem;
}

.jewel-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.jewel-img-wrapper {
    height: 300px; /* Hauteur fixe pour éviter que la page saute */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.jewel-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.jewel-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #666;
}

.nav-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.nav-arrow:hover { opacity: 1; }

/* 3. TABS SPECIFIQUES */
.jewelry-tabs-section {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

/* 4. GALERIE BASSE (3 Images) */
.inspiration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 colonnes */
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    padding: 0 1rem;
}

.inspiration-grid img {
    width: 100%;
    aspect-ratio: 1/1; /* Carré */
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .inspiration-grid {
        /* On force 3 colonnes égales, comme sur l'ordinateur */
        grid-template-columns: 1fr 1fr 1fr; 
        
        /* On réduit l'écart entre les images pour gagner de la place */
        gap: 0.5rem; 
    }
}

/* =========================================
   PAGE LA MARQUE (FONDATRICE)
   ========================================= */

.brand-page {
    background-color: #FDFBF7;
}

.product-hero-img {
    width: 100vw;
    height: 60vh;
}

.founder-section {
    padding: 0;
    overflow: hidden;
}

.founder-container {
    /* 1. MARGES AUTOUR : On limite la largeur globale */
    max-width: 1100px; 
    margin: 4rem auto; /* Marge en haut/bas + Centrage horizontal */
    padding: 0 1rem; /* Petite sécurité sur mobile */
    
    display: flex;
    flex-direction: column; /* Mobile : Empilé */
    align-items: center;
    gap: 2rem; /* Espace vertical sur mobile */
}

/* --- COLONNE TEXTE --- */
.founder-text-col {
    padding: 0 1rem;
    text-align: center;
    max-width: 500px;
}

.founder-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 1rem;
}

.founder-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 2rem;
    line-height: 1.3;
    color: #222;
    margin-bottom: 2rem;
}

.founder-role {
    display: block;
    font-size: 1.6rem; /* Un peu plus petit */
    margin-top: 0.5rem;
}

.founder-bio p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* --- COLONNE IMAGE --- */
.founder-img-col {
    width: 100%;
    /* On peut ajouter un border-radius si vous voulez adoucir l'image */
    /* border-radius: 4px; */ 
}

.founder-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* =========================================
   VERSION DESKTOP (Grands Écrans)
   ========================================= */
@media (min-width: 992px) {
    
    .founder-container {
        flex-direction: row; /* Côte à côte */
        align-items: center; /* Centrage vertical */
        
        /* 2. ESPACEMENT TEXTE <-> IMAGE */
        gap: 3rem; /* C'est ici qu'on contrôle l'écart entre les deux */
    }

    .founder-text-col {
        /* On enlève le gros padding d'avant pour rapprocher le texte */
        padding: 0; 
        text-align: left; /* Souvent plus joli aligné à gauche face à une image, mais 'center' marche aussi */
        
        /* 3. TAILLE DE L'IMAGE (Via la proportion des colonnes) */
        width: 55%; /* Le texte prend plus de place */
    }

    .founder-img-col {
        width: 45%; /* L'image est donc plus petite (45% de la largeur dispo) */
    }

    .founder-img {
        /* On enlève la hauteur forcée (80vh) pour laisser l'image naturelle et moins haute */
        min-height: auto; 
        max-height: 600px; /* On limite la hauteur pour qu'elle ne soit pas géante */
    }
}

/* =========================================
   PAGE LA MARQUE (INSPIRATION)
   ========================================= */

.inspiration-section {
    padding: 0;
    overflow: hidden;
    margin-bottom: 4rem; /* Marge en bas de page */
}

.inspiration-container {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
    
    display: flex;
    flex-direction: column; /* Mobile : Image au dessus, Texte en dessous */
    align-items: center;
    gap: 3rem;
}

/* --- COLONNES --- */
.inspiration-text-col {
    padding: 0 1rem;
    text-align: center;
    max-width: 600px;
}

.inspiration-img-col {
    width: 100%;
}

.inspiration-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Optionnel : border-radius pour adoucir */
    /* border-radius: 4px; */
}

/* =========================================
   VERSION DESKTOP (Inversion)
   ========================================= */
@media (min-width: 992px) {
    
    .inspiration-container {
        flex-direction: row; /* Côte à côte */
        align-items: center; 
        gap: 4rem; /* Espace un peu plus grand entre image et texte */
    }

    /* Gestion des proportions */
    .inspiration-img-col {
        width: 45%; /* Image à Gauche */
    }

    .inspiration-text-col {
        width: 55%; /* Texte à Droite */
        padding: 0;
        text-align: left; /* Texte aligné à gauche face à l'image */
        
        /* Petit ajustement pour centrer le titre/sous-titre si voulu, 
           sinon laissez tel quel pour alignement gauche strict */
    }
    
    /* Si vous voulez que le titre "Les Voyages" reste centré par rapport au texte : */
    .inspiration-text-col .founder-title,
    .inspiration-text-col .founder-subtitle {
        text-align: center; 
    }
    
    /* Ajustement hauteur image */
    .inspiration-img {
        max-height: 600px;
        width: 100%;
    }
}

/* =========================================
   PAGE LA MARQUE (THAÏLANDE)
   ========================================= */

.thailand-section {
    padding: 0 0 6rem 0; /* Espace en bas de page */
}

.thailand-container {
    max-width: 1100px; /* Même largeur que les autres sections */
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre tout le contenu */
}

/* --- LE TEXTE --- */
.thailand-text-block {
    text-align: center;
    max-width: 700px; /* On limite la largeur pour que le texte soit lisible */
    margin-bottom: 3rem; /* Espace avant l'image */
}

/* On stylise le paragraphe spécifique à cette section */
.thailand-text-block p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-top: 1rem;
}

/* --- L'IMAGE --- */
.thailand-img-wrapper {
    width: 100%;
}

.thailand-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Optionnel : petite ombre pour détacher l'image du fond */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
}

/* Responsive : Pas grand chose à faire, ça s'adapte naturellement ! */
/* On peut juste ajuster la hauteur de l'image sur grand écran si elle est trop haute */
@media (min-width: 992px) {
    .thailand-img {
        max-height: 600px; /* Évite que l'image prenne tout l'écran verticalement */
    }
}

/* =========================================
   PAGE LA MARQUE (DESTINATIONS ZIG-ZAG)
   ========================================= */

.destinations-section {
    padding: 0 1rem 6rem 1rem;
    overflow: hidden;
}

.destinations-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem; /* Espace entre les rangées sur mobile */
}

.dest-row {
    display: flex;
    flex-direction: column; /* Mobile : Empilé */
    gap: 1.5rem;
    align-items: center;
}

/* Images */
.dest-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Légère ombre */
}

/* Textes */
.dest-col-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
    max-width: 400px; /* Limite la largeur du texte pour faire "bloc" */
    margin: 0 auto; /* Centré sur mobile */
}

/* =========================================
   PAGE LA MARQUE (DESTINATIONS ZIG-ZAG COMPACT)
   ========================================= */

.destinations-section {
    padding: 0 1rem 4rem 1rem; /* Moins de marge en bas */
    overflow: hidden;
}

.destinations-container {
    max-width: 900px; /* On resserre un peu le conteneur global */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem; /* Mobile : Espace réduit entre les blocs */
}

.dest-row {
    display: flex;
    flex-direction: column; 
    gap: 1rem; /* Mobile : Image et texte plus proches */
    align-items: center;
}

/* Images */
.dest-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Textes */
.dest-col-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6; /* Interligne un peu plus serré */
    color: #666;
    max-width: 380px; 
    margin: 0 auto; 
}

/* =========================================
   VERSION DESKTOP (Compacte)
   ========================================= */
@media (min-width: 992px) {

    .destinations-container {
        /* ICI on réduit drastiquement l'espace entre chaque destination */
        gap: 2rem; 
    }

    .dest-row {
        flex-direction: row; 
        /* ICI on rapproche le texte de l'image */
        gap: 2rem; 
        align-items: center; 
    }

    .row-reverse {
        flex-direction: row-reverse;
    }

    .dest-col-img {
        width: 50%;
        display: flex;
        justify-content: center; 
    }
    
    .dest-col-text {
        width: 50%;
    }

    .dest-col-text p {
        margin: 0; 
        text-align: left;
    }
    
    .text-right-align p {
        text-align: right;
        margin-left: auto; 
    }

    /* --- TAILLES D'IMAGES RÉDUITES --- */
    
    /* Images verticales (Portrait) - Beaucoup plus petites */
    .img-vertical {
        width: 50%; /* Était à 70% */
    }

    /* Images carrées/horizontales */
    .img-square {
        width: 65%; /* Était à 85% */
    }

    /* --- DÉCALAGES PLUS SUBTILS --- */
    .offset-up {
        transform: translateY(-15px); /* Décalage réduit de moitié */
    }
    
    .row-reverse .dest-col-text {
        padding-top: 20px; 
    }
}

/* --- TEXTE CONCLUSION DESTINATIONS --- */

.dest-footer-row {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* On pousse le bloc vers la droite */
    margin-top: 4rem; /* Espace important au-dessus */
    padding-bottom: 2rem;
}

.dest-footer-text {
    font-size: 0.9rem; /* Un peu plus grand que le texte standard */
    line-height: 1.6;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    
    /* On limite la largeur pour faire un joli bloc compact */
    max-width: 600px; 
    
    /* Si vous voulez l'aligner à gauche DANS son bloc, laissez tel quel. 
       Si vous le voulez centré ou aligné à droite, changez text-align ici. */
    text-align: left; 
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .dest-footer-row {
        justify-content: center; /* Centré sur mobile */
        margin-top: 3rem;
    }
    .dest-footer-text {
        text-align: center; /* Texte centré */
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* --- BARRE D'ACTION PRODUIT (PRIX / TAILLE / QTE) --- */

.product-actions-bar {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem 0 1rem;
    
    /* On passe en Grid pour gérer l'empilement */
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes égales */
    gap: 30px; /* Espace entre les blocs et le bouton du bas */
    
    align-items: end;
    border-top: 1px solid #eee;
    font-family: 'Montserrat', sans-serif;
}

/* --- Bloc Gauche : Stock + Prix + Taille --- */
.action-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stock-status {
    font-size: 0.9rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #5d6d58; /* Vert olive/gris comme la maquette */
    border-radius: 50%;
    display: inline-block;
}

.price-size-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem; /* Espace entre le prix et les boutons taille */
}

.product-price-val {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

/* Boutons Taille */
.size-selector {
    display: flex;
    gap: 10px;
}

.size-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px; /* Coins légèrement arrondis */
    padding: 5px 15px;
    font-size: 0.85rem;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.size-btn:hover {
    border-color: #999;
    color: #666;
}

.size-btn.active {
    border-color: #ddd;
    color: #333; /* Texte plus foncé pour la sélection active */
    background-color: #f9f9f9;
}

/* --- Bloc Droite : Quantité + Réserver --- */
.action-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: flex-end;
}

/* Sélecteur Quantité */
.qty-selector {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid #333; /* Bordure noire fine */
    border-radius: 2px;
}

.qty-btn {
    background: transparent;
    border: none;
    width: 30px;
    height: 35px;
    font-size: 1rem;
    cursor: pointer;
    color: #333;
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.qty-btn:disabled {
    cursor: not-allowed;
    opacity: 0.35;
}

.qty-input {
    width: 30px;
    height: 35px;
    border: none;
    border-left: 1px solid #ddd; /* Séparateurs internes légers */
    border-right: 1px solid #ddd;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #333;
    background: transparent;
    flex: 0 0 30px;
    padding: 0;
}

/* Bouton Réserver / Acheter */
.btn-reserve,
.btn-buy {
    background-color: #3A3731; /* Gris très foncé / Noir chaud */
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0 2rem;
    height: 37px; /* Même hauteur visuelle que la quantité */
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-reserve:hover,
.btn-buy:hover:not(:disabled) {
    background-color: #222;
}

.btn-buy:disabled {
    background-color: #ccc;
    color: #888;
    cursor: not-allowed;
}

/* Boutons d'achat : même langage visuel que les CTA principaux du thème. */
.btn-buy {
    min-height: 48px;
    height: auto;
    padding: 0.85rem 2.25rem;
    border: 1px solid #3A3731;
    border-radius: 4px;
    background-color: #3A3731;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-buy:hover:not(:disabled) {
    background-color: #FDFBF7;
    color: #3A3731;
}

.btn-buy:focus-visible {
    outline: 2px solid #3A3731;
    outline-offset: 3px;
}

.btn-buy:disabled {
    min-height: 48px;
    border-color: #ccc;
    background-color: #ccc;
    color: #888;
}

/* État "indisponible" (badge stock, tailles en rupture) */
.stock-status.unavailable .status-dot {
    background-color: #b23b3b;
}

.size-btn.unavailable,
.size-btn:disabled {
    color: #ccc;
    border-color: #eee;
    text-decoration: line-through;
    cursor: not-allowed;
}

.size-btn.unavailable:hover,
.size-btn:disabled:hover {
    border-color: #eee;
    color: #ccc;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .product-actions-bar {
        grid-template-columns: 1fr;
        align-items: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .price-size-wrapper {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .action-left, .action-right {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .action-right {
        /* On recentre tout sur mobile pour que ce soit plus esthétique */
        justify-content: center;
        width: 100%;
    }
    
    .stock-status {
        justify-content: center;
    }
    
    .btn-ciciou-boutique-externe {
        width: 100%; /* Pleine largeur sur mobile */
    }
}

/* --- MODAL RÉSERVATION --- */
.reservation-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 9999;
    display: flex; justify-content: center; align-items: center;
}
.modal-content {
    background: #FDFBF7; padding: 2rem; border-radius: 4px;
    width: 90%; max-width: 500px; position: relative; text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.close-modal {
    position: absolute; top: 10px; right: 20px; font-size: 2rem; cursor: pointer;
}
.modal-content input {
    width: 100%; margin-bottom: 1rem; padding: 10px; border: 1px solid #ccc;
}

/* =========================================
   PAGE LIFESTYLE
   ========================================= */

/* --- HERO SECTION --- */
.lifestyle-hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* On définit une hauteur. 
       Sur la maquette mobile, ça a l'air de prendre une bonne partie de l'écran.
       On part sur 60% de la hauteur de l'écran (60vh) ou auto. */
    height: 60vh; 
    margin-bottom: 0; /* Pas de marge en bas pour coller à la suite */
}

.lifestyle-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* L'image remplit la zone sans être déformée */
    object-position: center; /* On centre l'image */
    display: block;
}

/* RESPONSIVE DESKTOP */
@media (min-width: 992px) {
    .lifestyle-hero-section {
        height: 80vh; /* Plus grand sur ordinateur */
    }
}

/* --- INTRO TEXTE --- */
.lifestyle-intro-section {
    padding: 4rem 2rem;
    background-color: #FDFBF7; /* Fond crème habituel */
    text-align: center;
}

.lifestyle-intro-container {
    max-width: 800px;
    margin: 0 auto;
}

.lifestyle-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.lifestyle-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 2rem;
    color: #222;
    margin-bottom: 2rem;
}

.lifestyle-desc p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* --- GALERIE --- */
.lifestyle-gallery-section {
    padding: 0 2rem 6rem 2rem; /* Marge en bas */
    background-color: #FDFBF7;
}

.lifestyle-gallery-grid {
    max-width: 1000px;
    margin: 0 auto;
    
    /* GRILLE MOBILE (1 colonne par défaut) */
    display: grid;
    grid-template-columns: 1fr; 
    gap: 3rem; /* Espace vertical entre les items */
}

/* Item individuel */
.life-gallery-item {
    text-align: center;
}

.life-img-wrapper {
    width: 100%;
    margin-bottom: 1rem;
    aspect-ratio: 4 / 5; 
    position: relative;
    overflow: hidden; /* Important : cache ce qui dépasse du cadre */
    margin-bottom: 1rem;
    background-color: #f0f0f0; /* Une petite couleur de fond pendant le chargement */
    border-radius: 4px;
}

.life-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 4px;
}

.life-caption {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-style: italic; /* Style légende */
    color: #777;
    margin: 0;
}

/* RESPONSIVE DESKTOP (2 Colonnes) */
@media (min-width: 992px) {
    .lifestyle-gallery-grid {
        grid-template-columns: 1fr 1fr; /* 2 colonnes égales */
        column-gap: 4rem; /* Espace horizontal */
        row-gap: 5rem;    /* Espace vertical */
    }
    
    .lifestyle-title {
        font-size: 2.5rem;
    }
}

/* --- PAGE SAVOIR-FAIRE : SECTION FABRICATION --- */

.sf-fabrication-section {
    padding: 4rem 2rem 6rem 2rem;
    background-color: #FDFBF7;
}

.sf-fabrication-section .life-img-wrapper {
    /* On écrase le ratio vertical (4/5) défini précédemment. */
    /* Ratios horizontaux courants : 
       4 / 3 (Paysage classique)
       3 / 2 (Format photo standard)
       16 / 9 (Format écran large)
    */
    aspect-ratio: 4 / 3; /* J'ai choisi 4/3 pour un rendu paysage équilibré */
}

.sf-container {
    max-width: 1000px; /* Même largeur que la grille d'images */
    margin: 0 auto;
}

/* Texte aligné à gauche */
.sf-text-block {
    text-align: left;
    margin-bottom: 3rem;
    max-width: 800px; /* On limite un peu la largeur du texte pour la lecture */
}

/* Surcharge spécifique pour aligner le texte WYSIWYG à gauche */
.sf-desc-left p {
    text-align: left; 
    margin-bottom: 1rem;
}

/* Ajustement de la grille d'images pour cette section */
.sf-images-grid {
    padding: 0; /* On retire le padding de base de la classe lifestyle car on est déjà dans un container */
    margin-top: 2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sf-text-block {
        text-align: left; /* On garde l'alignement gauche même sur mobile selon la maquette ? */
        /* Sinon mettez 'center' ici si vous préférez centrer sur mobile */
    }
}

/* --- SECTION TANNERIE --- */

.sf-tannerie-section {
    padding: 0 2rem 6rem 2rem;
    background-color: #FDFBF7;
}

/* Centrage du texte introductif */
.text-center {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* La Grille Principale */
.sf-tannerie-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    /* Mobile : 1 colonne */
    grid-template-columns: 1fr; 
    gap: 1.5rem;
}

/* Styles des images */
.tan-img-wrapper {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

/* Par défaut (Mobile), on donne une hauteur fixe pour que ce soit joli */
.tan-img-wrapper {
    height: 300px; 
}

.tan-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit le cadre parfaitement */
    object-position: center;
    display: block;
}

/* RESPONSIVE DESKTOP (Tannerie) */
@media (min-width: 768px) {
    .sf-tannerie-grid {
        display: grid;
        grid-template-columns: 1fr 1.4fr; 
        gap: 2rem;
        /* Grid va s'assurer que les deux colonnes (les boîtes) ont la même hauteur visuelle */
        position: relative;
    }

    /* --- COLONNE GAUCHE (Le "Maître") --- */
    /* C'est cette colonne qui va définir la hauteur totale de la section */
    .tan-col-left {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .tan-col-left .tan-img-wrapper {
        height: 300px; /* On garde une hauteur fixe pour les petits blocs */
        width: 100%;
    }

    /* --- COLONNE DROITE (L'"Esclave") --- */
    .tan-col-right {
        /* Important : position relative pour servir de repère */
        position: relative;
        width: 100%;
        /* On ne met pas de hauteur ici, elle va suivre la grille */
    }

    /* LE WRAPPER DE L'IMAGE DROITE */
    /* C'est ici que la magie opère : on le sort du flux normal */
    .tan-col-right .tan-img-wrapper {
        position: absolute; /* Force l'élément à ignorer sa propre taille */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; /* Prend 100% de la hauteur de la colonne (définie par la gauche) */
    }
    
    /* L'IMAGE DROITE */
    .tan-col-right .tan-img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Coupe ce qui dépasse sans déformer */
        object-position: center;
    }
}

/* =========================================
   PAGE CONTACT
   ========================================= */

/* Le fond coupé (Beige haut / Blanc bas) */
.contact-page-wrapper {
    width: 100%;
    min-height: 100vh;
    /* Le dégradé crée la séparation : Beige jusqu'à 60%, puis Blanc */
    background: linear-gradient(to bottom, #F6F1DF 50%, #FFFFFF 50%);
    padding-top: 150px; /* Espace pour le header */
    padding-bottom: 4rem;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 2rem;
    gap: 4rem;
}

/* COLONNE GAUCHE (Texte) */
.contact-info-col {
    flex: 1;
    padding-top: 2rem;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #222;
}

.contact-desc p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
    max-width: 450px;
}

/* COLONNE DROITE (Formulaire) */
.contact-form-col {
    flex: 1;
}

.contact-card {
    background: #fff;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Ombre douce */
    border-radius: 2px;
}

/* Styles du formulaire */
.form-row {
    display: flex;
    gap: 1.5rem;
}
.form-group {
    margin-bottom: 1.2rem;
    width: 100%;
}
.form-group.half {
    width: 50%;
}

.contact-card label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 5px;
}

.contact-card input, 
.contact-card textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd; /* Bordure très fine gris clair */
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #333;
    background: #FFFEFC; /* Fond très légèrement cassé ou blanc */
}

.contact-card textarea {
    height: 120px;
    resize: none;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
    color: #ccc;
}

/* Checkbox Consentement */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1.5rem;
}
.form-consent input {
    width: auto;
    margin-top: 5px;
}
.form-consent label {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #777;
}

/* Bouton Avion */
.form-submit-wrapper {
    display: flex;
    justify-content: flex-end; /* Aligné à droite */
}

.btn-submit-icon {
    background-color: #3A3731; /* Gris foncé */
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-submit-icon:hover {
    background-color: #222;
}

/* RESPONSIVE MOBILE */
@media (max-width: 992px) {
    .contact-page-wrapper {
        background: #F6F1DF; /* Fond beige simple ou ajusté */
        padding-top: 100px;
    }

    .contact-container {
        flex-direction: column; /* Colonnes l'une sous l'autre */
        padding: 0 1.5rem;
        gap: 3rem;
    }
    
    .contact-info-col {
        text-align: center;
    }
    .contact-desc p {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-card {
        padding: 1.5rem;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-group.half {
        width: 100%;
    }
}

/* --- MESSAGES DE CONFIRMATION (CONTACT & RÉSERVATION) --- */

/* La bande verte de succès */
.ciciou-msg-success {
    background-color: #d4edda; /* Fond vert clair */
    color: #155724;            /* Texte vert foncé */
    border: 1px solid #c3e6cb; /* Bordure verte subtile */
    padding: 15px;             /* Espace intérieur */
    margin-top: 20px;          /* Espace au-dessus */
    border-radius: 4px;        /* Coins arrondis */
    text-align: center;        /* Texte centré */
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

/* La bande rouge d'erreur (au cas où) */
.ciciou-msg-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

/* --- STYLE DE LA PAGE 404 --- */

.container-404 {
    display: grid;
    place-items: center; /* Centre verticalement et horizontalement */
    min-height: 60vh;
    text-align: center;
    padding: 50px 20px;
}

.container-404 h1 {
    font-size: 8rem;
    margin: 0;
    color: #eee; /* Un gris très clair pour le numéro */
}

.container-404 h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.btn-retour {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-retour:hover {
    background-color: #333;
}

.btn-retour:visited {
    color: #fff;
}

/* --- ISOLATION CSS POUR PAGES JURIDIQUES --- */

/* Utilisation de notre classe de conteneur spécifique */
.legal-page-container {
    display: grid; /* Respect de la contrainte Grid */
    grid-template-columns: 1fr min(800px, 90%) 1fr;
    padding-top: 180px; /* Décalage sous le masthead */
    padding-bottom: 100px;
    background-color: #fff;
}

.legal-page-container article {
    grid-column: 2;
}

/* On ne stylise .entry-content QUE lorsqu'il est dans .legal-page-container */
.legal-page-container .entry-content {
    line-height: 1.8;
    color: #444;
    font-size: 1.1rem;
}

/* Stylisation des titres de blocs vus dans l'inspecteur */
.legal-page-container .wp-block-heading {
    margin-top: 2em;
    margin-bottom: 0.8em;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-page-container p {
    margin-bottom: 1.6em;
}

/* On force le bouton boutique à prendre toute la largeur (2 colonnes) */
.btn-ciciou-boutique-externe,
.btn-ciciou-boutique-externe:visited {
    grid-column: 1 / -1; /* S'étend de la première à la dernière colonne */
    justify-self: center; /* Centre le bouton horizontalement dans la grille */
    
    display: inline-block;
    min-width: 300px; /* Largeur pour un aspect haut de gamme */
    padding: 12px 30px;
    
    /* Style "Outline" pour la dissociation visuelle */
    background-color: transparent;
    color: #3A3731;
    border: 1px solid #3A3731;
    border-radius: 4px;
    
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-ciciou-boutique-externe:hover {
    background-color: #3A3731;
    color: #fff;
}	
@media screen and (max-width: 768px) {
  .slick-slide img,
  .slick-active img,
  .slick-center img,
  .swiper-slide img,
  .swiper-slide-prev img,
  .swiper-slide-next img {
    opacity: 1 !important;
    filter: none !important;
  }
}
@media screen and (max-width: 768px) {
  .slick-slide,
  .slick-active,
  .slick-current,
  .slick-center,
  .swiper-slide,
  .swiper-slide-prev,
  .swiper-slide-next,
  .owl-item,
  .owl-item.active {
    opacity: 1 !important;
    filter: none !important;
  }

  .slick-slide img,
  .slick-active img,
  .slick-current img,
  .slick-center img,
  .swiper-slide img,
  .swiper-slide-prev img,
  .swiper-slide-next img,
  .owl-item img,
  .owl-item.active img {
    opacity: 1 !important;
    filter: none !important;
  }
}
@media screen and (max-width: 768px) {

.sac-slider .slide,
.sac-slider .slide img,
.product-slider .slide,
.product-slider img {
    opacity: 1 !important;
    filter: none !important;
}

}
@media screen and (max-width: 768px) {

.product-gallery img,
.product-images img,
.sac-images img,
.sac-gallery img {
    opacity: 1 !important;
    filter: none !important;
}

}
/* L'ancien sélecteur `[class*="overlay/thumb"]` masquait aussi des éléments
   potentiels de WooCommerce et des extensions. Seul le visuel superposé propre
   aux cartes Ciciou doit rester masqué. */
.bag-overlay {
    display: none !important;
}

/* =========================================
   PANIER ET CHECKOUT WOOCOMMERCE
   ========================================= */

body.woocommerce-cart #primary,
body.woocommerce-checkout #primary {
    box-sizing: border-box;
    width: 100%;
    padding: 11rem clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem);
}

body.woocommerce-cart #primary > article,
body.woocommerce-checkout #primary > article {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
    width: 100%;
    margin-top: 1.5rem;
}

body.woocommerce-cart .wc-block-cart__submit-button {
	min-height: 52px !important;
	box-sizing: border-box;
	padding: 0.9rem 1.5rem !important;
    border: 1px solid #3A3731 !important;
    border-radius: 4px;
    background-color: #3A3731 !important;
    color: #FDFBF7 !important;
    box-shadow: none !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover {
    background-color: #FDFBF7 !important;
    color: #3A3731 !important;
}

body.woocommerce-cart .wc-block-cart__submit-button:focus-visible {
    outline: 2px solid #3A3731;
    outline-offset: 3px;
}

@media screen and (max-width: 768px) {
    body.woocommerce-cart #primary,
    body.woocommerce-checkout #primary {
        padding: 7rem 1rem 3rem;
    }
}

/* Notifications WooCommerce transformées en toasts accessibles. */
.ciciou-toast-region {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 10000;
    display: grid;
    width: min(420px, calc(100vw - 2rem));
    gap: 0.75rem;
    pointer-events: none;
}

.ciciou-toast {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    box-sizing: border-box;
    width: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(253, 251, 247, 0.28);
    border-radius: 4px;
    background: #3A3731;
    color: #FDFBF7;
    box-shadow: 0 12px 32px rgba(34, 31, 28, 0.24);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    line-height: 1.55;
    pointer-events: auto;
    animation: ciciou-toast-in 0.25s ease-out both;
}

.ciciou-toast__message {
    min-width: 0;
}

.ciciou-toast--success {
    border-left: 4px solid #9CB27C;
    background: #343B32;
}

.ciciou-toast--error {
    border-left: 4px solid #C78979;
}

.ciciou-toast__action {
    color: inherit;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.ciciou-toast__action:visited,
.ciciou-toast__action:hover,
.ciciou-toast__action:focus {
    color: inherit;
}

.ciciou-toast__close {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: -0.3rem -0.35rem 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.ciciou-toast__close:hover,
.ciciou-toast__close:focus-visible {
    opacity: 0.72;
}

.ciciou-toast__close:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 2px;
}

.ciciou-toast.is-leaving {
    animation: ciciou-toast-out 0.2s ease-in both;
}

@keyframes ciciou-toast-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ciciou-toast-out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(8px); }
}

@media screen and (max-width: 768px) {
    .ciciou-toast-region {
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ciciou-toast,
    .ciciou-toast.is-leaving {
        animation: none;
    }
}


/* CICIOU PARIS - Zoom des photos de sacs */
.product-gallery-section .gallery-slot {
    overflow: hidden;
}

.product-gallery-section .gallery-slot img {
    transition: transform 0.4s ease;
    cursor: zoom-in;
}

@media (hover: hover) {
    .product-gallery-section .gallery-slot:hover img {
        transform: scale(1.15);
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-gallery-section .gallery-slot img {
        transition: none;
    }
}