/**
 * Design WooCommerce – boutique, catégories, produits, panier
 * Fond crème, titres Cormorant, or/brun, cards hover doré, boutons btn-primary
 */

:root {
	--cream: #FAF6F0;
	--cream-dark: #F0E9DF;
	--gold: #C4A35A;
	--gold-light: #DFC080;
	--gold-pale: #F5ECD7;
	--brown: #3A2B1A;
	--brown-mid: #6B4F35;
	--text: #2C1F0E;
	--text-light: #7A6550;
	--white: #FFFFFF;
}

/* Fond global pages WooCommerce */
body.woocommerce,
body.woocommerce-page,
body.post-type-archive-product {
	background: var(--cream) !important;
	color: var(--text);
}
#main-container,
.woocommerce {
	background: var(--cream);
}

/* Titres */
.woocommerce .page_title,
.woocommerce h1.page-title,
.woocommerce h2,
.woocommerce-loop-category__title,
.woocommerce .product_title,
.woocommerce .related.products h2,
.woocommerce .upsells.products h2,
.woocommerce .cross-sells h2 {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	font-weight: 500 !important;
	color: var(--brown) !important;
}
.woocommerce .page_title,
.woocommerce h1.page-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

/* Liens */
.woocommerce a:not(.button):not(.oml-cart-btn):not(.oml-logo) {
	color: var(--brown);
	transition: color 0.2s;
}
.woocommerce a:not(.button):not(.oml-cart-btn):not(.oml-logo):hover {
	color: var(--gold);
}

/* Grille : pas d’étirement vertical des cartes */
.woocommerce ul.products,
.woocommerce-page ul.products {
	align-items: start !important;
}

/* Cartes produits / catégories – hauteur au contenu, plus de bandes vides */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product_cat,
.woocommerce-page ul.products li.product,
.woocommerce-page ul.products li.product_cat {
	background: var(--white) !important;
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(58, 43, 26, 0.06);
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.2s ease;
	display: flex !important;
	flex-direction: column !important;
	height: auto !important;
}
.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product_cat:hover {
	box-shadow: 0 12px 36px rgba(58, 43, 26, 0.12);
}

/* Zone image : ratio fixe 4/5 pour cartes compactes (Blocksy .ct-media-container / figure) */
.woocommerce ul.products li figure,
.woocommerce ul.products li .ct-media-container {
	flex-shrink: 0 !important;
	aspect-ratio: 4 / 5 !important;
	width: 100% !important;
	overflow: hidden;
	position: relative;
}
.woocommerce ul.products li figure .ct-media-container,
.woocommerce ul.products li .ct-media-container {
	height: 100% !important;
	min-height: 0;
}
.woocommerce ul.products li figure img,
.woocommerce ul.products li .ct-media-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: opacity 0.3s;
	display: block;
}
.woocommerce ul.products li.product:hover .ct-media-container img,
.woocommerce ul.products li.product_cat:hover .ct-media-container img {
	opacity: 0.92;
}

/* Overlay doré léger au hover sur l’image */
.woocommerce ul.products li figure::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(196, 163, 90, 0.08) 100%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
}
.woocommerce ul.products li.product:hover figure::after,
.woocommerce ul.products li.product_cat:hover figure::after {
	opacity: 1;
}

/*
 * Archives catégorie produit — même rendu partout (ex. Peignoirs vs Sacs) :
 * grille responsive avec 6 colonnes sur grand écran → cartes plus étroites, images plus basses (ratio 4/5 inchangé).
 */
body.tax-product_cat ul.products {
	display: grid !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 1rem !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	align-items: start !important;
}
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after {
	display: none !important;
	content: none !important;
}
body.tax-product_cat ul.products li.product {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
@media (min-width: 768px) {
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (min-width: 992px) {
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}
@media (min-width: 1280px) {
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
		gap: 1.25rem !important;
	}
}

/* Prix */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	font-weight: 500;
	color: var(--gold) !important;
}
.woocommerce ul.products li.product .price del {
	color: var(--text-light);
}

/* Tous les boutons WooCommerce – "Personnalisez-le" */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--gold, #C4A35A) !important;
	color: #FFFFFF !important;
	font-family: 'Jost', sans-serif !important;
	font-size: 0.72rem !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	padding: 0.9rem 1.8rem !important;
	border: 1px solid #C4A35A !important;
	border-radius: 0 !important;
	transition: all 0.25s ease !important;
	width: 100% !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: #3A2B1A !important;
	border-color: #3A2B1A !important;
	color: #FFFFFF !important;
}

/* Bouton "Personnalisez-le" sur les cartes produits – une seule ligne */
.woocommerce ul.products li.product .button {
	font-size: 0.62rem !important;
	letter-spacing: 0.12em !important;
	padding: 0.85rem 1rem !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	line-height: 1 !important;
}

/* Forcer "Personnalisez-le" sur tous les boutons (y compris variable = Choix des options) */
.woocommerce a.button.product_type_variable,
.woocommerce a.add_to_cart_button.product_type_variable,
.woocommerce ul.products li a.button.product_type_variable {
	font-size: 0 !important;
	line-height: 1;
}
.woocommerce a.button.product_type_variable::after,
.woocommerce a.add_to_cart_button.product_type_variable::after,
.woocommerce ul.products li a.button.product_type_variable::after {
	content: 'Personnalisez-le';
	display: inline-block;
	font-size: 0.72rem !important;
	letter-spacing: 0.18em;
	font-family: 'Jost', sans-serif;
	visibility: visible;
}

/* Badge promo / soldes */
.woocommerce span.onsale {
	background: var(--gold) !important;
	color: var(--white) !important;
	border-radius: 0;
	font-weight: 500;
	letter-spacing: 0.05em;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	color: var(--brown);
	border-color: rgba(196, 163, 90, 0.3);
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--gold);
	color: var(--white);
	border-color: var(--gold);
}

/* Filtres / tri */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select {
	color: var(--text-light);
}
.woocommerce .woocommerce-ordering select {
	border-color: var(--cream-dark);
	border-radius: 2px;
}

/* Page produit single */
.woocommerce div.product .summary {
	color: var(--text);
}
.woocommerce div.product .summary .product_title {
	font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

/* Récap commande personnalisée (au-dessus du bouton Personnalisez-le) */
#oml-recap {
	margin-bottom: 1rem;
	border: 1px solid #DFC080;
	border-radius: 2px;
	background: #FAF6F0;
	padding: 1rem 1.2rem;
	font-family: 'Jost', sans-serif;
}
#oml-recap .oml-recap-title {
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #C4A35A;
	margin-bottom: 0.8rem;
	font-weight: 500;
}
#oml-recap .oml-recap-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.82rem;
	color: #3A2B1A;
	padding: 0.2rem 0;
	border-bottom: 1px solid #F0E9DF;
}
#oml-recap .oml-recap-row:last-child {
	border-bottom: none;
}
#oml-recap .oml-recap-row span:first-child {
	color: #7A6550;
	font-weight: 300;
}
#oml-recap .oml-recap-row span:last-child {
	font-weight: 400;
}
#oml-recap .oml-recap-total {
	margin-top: 0.8rem;
	padding-top: 0.8rem;
	border-top: 1px solid #DFC080;
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	color: #3A2B1A;
	font-weight: 500;
}

/* Panier & checkout – fond cohérent */
.woocommerce-cart #main-container,
.woocommerce-checkout #main-container {
	background: var(--cream);
}
.woocommerce table.shop_table {
	border-color: var(--cream-dark);
}
.woocommerce table.shop_table th {
	color: var(--brown);
	font-family: 'Cormorant Garamond', Georgia, serif;
}
.woocommerce .cart_totals .order-total .amount,
.woocommerce .order-details .order-total .amount {
	color: var(--gold);
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 500;
}

/* Masquer les autres méthodes quand livraison gratuite est présente */
.woocommerce-shipping-methods li:has(input[id*="free_shipping"]) ~ li {
	display: none;
}

/* ─── Formulaire produit en 3 étapes (product-steps) ─── */
body.oml-steps-active .wapf-field-group,
body.oml-steps-active table.variations {
	display: none !important;
}

.oml-progress {
	display: flex;
	align-items: center;
	margin-bottom: 2rem;
}
.oml-progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
}
.oml-step-num {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid #DFC080;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	color: #7A6550;
	font-family: 'Jost', sans-serif;
	transition: all 0.3s ease;
}
.oml-progress-step.active .oml-step-num {
	background: #C4A35A;
	border-color: #C4A35A;
	color: white;
}
.oml-progress-step.done .oml-step-num {
	background: #3A2B1A;
	border-color: #3A2B1A;
	color: white;
}
.oml-step-label {
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #7A6550;
	font-family: 'Jost', sans-serif;
}
.oml-progress-line {
	flex: 1;
	height: 1px;
	background: #DFC080;
	margin: 0 0.5rem;
	margin-bottom: 1.2rem;
}

.oml-options-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}
.oml-option-btn {
	padding: 0.5rem 1rem;
	border: 1px solid #DFC080;
	background: white;
	color: #3A2B1A;
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	cursor: pointer;
	transition: all 0.2s ease;
	border-radius: 0;
}
.oml-option-btn:hover {
	border-color: #C4A35A;
	background: #FAF6F0;
}
.oml-option-btn.selected {
	background: #C4A35A;
	border-color: #C4A35A;
	color: white;
}

.oml-field {
	margin-bottom: 1.2rem;
}
.oml-field label {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #3A2B1A;
	font-family: 'Jost', sans-serif;
	margin-bottom: 0.5rem;
}
.oml-optional {
	color: #7A6550;
	font-size: 0.65rem;
	text-transform: none;
	letter-spacing: 0;
}
.oml-field input[type="text"] {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #DFC080;
	background: #FAF6F0;
	font-family: 'Jost', sans-serif;
	font-size: 0.85rem;
	color: #3A2B1A;
	outline: none;
}
.oml-field input[type="text"]:focus {
	border-color: #C4A35A;
}

.oml-next-btn {
	width: 100%;
	padding: 1rem;
	background: #C4A35A;
	color: white;
	border: none;
	font-family: 'Jost', sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	margin-top: 1rem;
	transition: background 0.2s ease;
}
.oml-next-btn:hover {
	background: #3A2B1A;
}
.oml-back-btn {
	background: none;
	border: 1px solid #DFC080;
	color: #7A6550;
	padding: 0.6rem 1.2rem;
	font-family: 'Jost', sans-serif;
	font-size: 0.72rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
.oml-back-btn:hover {
	border-color: #3A2B1A;
	color: #3A2B1A;
}
.oml-step-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 1rem;
	gap: 1rem;
}
.oml-step-nav .oml-next-btn {
	flex: 1;
	margin-top: 0;
}

/* ─── Formulaire Peignoir de bain (6 étapes) — peignoir-form.php ─── */
.oml-progress {
	display: flex;
	align-items: center;
	margin-bottom: 1.5rem;
	padding: 1rem 0;
}
.oml-prog-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	min-width: 40px;
}
.oml-prog-num {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid #DFC080;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	color: #7A6550;
	font-family: 'Jost', sans-serif;
	transition: all 0.3s ease;
}
.oml-prog-step.active .oml-prog-num {
	background: #C4A35A;
	border-color: #C4A35A;
	color: white;
}
.oml-prog-step.done .oml-prog-num {
	background: #3A2B1A;
	border-color: #3A2B1A;
	color: white;
}
.oml-prog-label {
	font-size: 0.58rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7A6550;
	font-family: 'Jost', sans-serif;
}
.oml-prog-line {
	flex: 1;
	height: 1px;
	background: #DFC080;
	margin: 0 0.3rem 1.2rem;
}
#oml-peignoir-form .oml-step {
	padding: 1rem 0;
}
#oml-peignoir-form .oml-step:not(.active) {
	display: none;
}
#oml-peignoir-form .oml-step-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.1rem;
	font-weight: 400;
	color: #3A2B1A;
	margin-bottom: 0.3rem;
}
#oml-peignoir-form .oml-step-hint {
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	color: #7A6550;
	margin-bottom: 1rem;
}
#oml-peignoir-form .oml-model-img {
	width: 100%;
	max-width: 400px;
	border: 1px solid #F0E9DF;
	margin-bottom: 1rem;
	display: block;
}
#oml-peignoir-form .oml-options-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}
#oml-peignoir-form .oml-opt {
	padding: 0.6rem 1.2rem;
	border: 1px solid #DFC080;
	background: white;
	color: #3A2B1A;
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
#oml-peignoir-form .oml-opt:hover {
	border-color: #C4A35A;
	background: #FAF6F0;
}
#oml-peignoir-form .oml-opt.selected {
	background: #C4A35A;
	border-color: #C4A35A;
	color: white;
}
#oml-peignoir-form .oml-text-input {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #DFC080;
	background: #FAF6F0;
	font-family: 'Jost', sans-serif;
	font-size: 0.85rem;
	color: #3A2B1A;
	outline: none;
	margin-bottom: 0.5rem;
}
#oml-peignoir-form .oml-text-input:focus {
	border-color: #C4A35A;
}
#oml-peignoir-form .oml-field {
	margin-bottom: 1rem;
}
#oml-peignoir-form .oml-field label {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #3A2B1A;
	font-family: 'Jost', sans-serif;
	margin-bottom: 0.4rem;
}
#oml-peignoir-form .oml-required { color: #C4A35A; }
#oml-peignoir-form .oml-optional {
	color: #7A6550;
	font-size: 0.65rem;
	text-transform: none;
	letter-spacing: 0;
}
#oml-peignoir-form .oml-next {
	width: 100%;
	padding: 0.9rem;
	background: #C4A35A;
	color: white;
	border: none;
	font-family: 'Jost', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}
#oml-peignoir-form .oml-next:hover:not(:disabled) {
	background: #3A2B1A;
}
#oml-peignoir-form .oml-next:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
#oml-peignoir-form .oml-back {
	background: none;
	border: 1px solid #DFC080;
	color: #7A6550;
	padding: 0.6rem 1.2rem;
	font-family: 'Jost', sans-serif;
	font-size: 0.7rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
#oml-peignoir-form .oml-back:hover {
	border-color: #3A2B1A;
	color: #3A2B1A;
}
#oml-peignoir-form .oml-step-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: 0.5rem;
}
#oml-peignoir-form .oml-step-nav .oml-next {
	flex: 1;
}
#oml-peignoir-form #oml-recap-box {
	border: 1px solid #DFC080;
	background: #FAF6F0;
	padding: 1rem 1.2rem;
	margin-bottom: 1rem;
}
#oml-peignoir-form .oml-recap-title {
	font-size: 0.68rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #C4A35A;
	font-family: 'Jost', sans-serif;
	margin-bottom: 0.8rem;
}
#oml-peignoir-form .oml-recap-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.8rem;
	color: #3A2B1A;
	padding: 0.25rem 0;
	border-bottom: 1px solid #F0E9DF;
	font-family: 'Jost', sans-serif;
}
#oml-peignoir-form .oml-recap-row span:first-child {
	color: #7A6550;
}

/* ─── Formulaire simple 4 étapes (Grand Drap, Serviette, Slippers) — simple-product-form.php ─── */
#oml-simple-product-form .oml-step {
	padding: 1rem 0;
}
#oml-simple-product-form .oml-step:not(.active) {
	display: none;
}
#oml-simple-product-form .oml-step-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.1rem;
	font-weight: 400;
	color: #3A2B1A;
	margin-bottom: 0.3rem;
}
#oml-simple-product-form .oml-step-hint {
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	color: #7A6550;
	margin-bottom: 1rem;
}
#oml-simple-product-form .oml-model-img {
	width: 100%;
	max-width: 400px;
	border: 1px solid #F0E9DF;
	margin-bottom: 1rem;
	display: block;
}
#oml-simple-product-form .oml-options-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}
#oml-simple-product-form .oml-opt {
	padding: 0.6rem 1.2rem;
	border: 1px solid #DFC080;
	background: white;
	color: #3A2B1A;
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
#oml-simple-product-form .oml-opt:hover {
	border-color: #C4A35A;
	background: #FAF6F0;
}
#oml-simple-product-form .oml-opt.selected {
	background: #C4A35A;
	border-color: #C4A35A;
	color: white;
}
#oml-simple-product-form .oml-text-input {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #DFC080;
	background: #FAF6F0;
	font-family: 'Jost', sans-serif;
	font-size: 0.85rem;
	color: #3A2B1A;
	outline: none;
	margin-bottom: 0.5rem;
}
#oml-simple-product-form .oml-text-input:focus {
	border-color: #C4A35A;
}
#oml-simple-product-form .oml-field {
	margin-bottom: 1rem;
}
#oml-simple-product-form .oml-field label {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #3A2B1A;
	font-family: 'Jost', sans-serif;
	margin-bottom: 0.4rem;
}
#oml-simple-product-form .oml-required { color: #C4A35A; }
#oml-simple-product-form .oml-next {
	width: 100%;
	padding: 0.9rem;
	background: #C4A35A;
	color: white;
	border: none;
	font-family: 'Jost', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}
#oml-simple-product-form .oml-next:hover:not(:disabled) {
	background: #3A2B1A;
}
#oml-simple-product-form .oml-next:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
#oml-simple-product-form .oml-back {
	background: none;
	border: 1px solid #DFC080;
	color: #7A6550;
	padding: 0.6rem 1.2rem;
	font-family: 'Jost', sans-serif;
	font-size: 0.7rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
#oml-simple-product-form .oml-back:hover {
	border-color: #3A2B1A;
	color: #3A2B1A;
}
#oml-simple-product-form .oml-step-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: 0.5rem;
}
#oml-simple-product-form .oml-step-nav .oml-next {
	flex: 1;
}
#oml-simple-product-form #oml-simple-recap-box {
	border: 1px solid #DFC080;
	background: #FAF6F0;
	padding: 1rem 1.2rem;
	margin-bottom: 1rem;
}
#oml-simple-product-form .oml-recap-title {
	font-size: 0.68rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #C4A35A;
	font-family: 'Jost', sans-serif;
	margin-bottom: 0.8rem;
}
#oml-simple-product-form .oml-recap-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.8rem;
	color: #3A2B1A;
	padding: 0.25rem 0;
	border-bottom: 1px solid #F0E9DF;
	font-family: 'Jost', sans-serif;
}
#oml-simple-product-form .oml-recap-row span:first-child {
	color: #7A6550;
}

/* ─── Formulaire enfant (Peignoir Enfant, Cape bébé, Serviette enfant) — enfant-form.php ─── */
#oml-enfant-form .oml-step {
	padding: 1rem 0;
}
#oml-enfant-form .oml-step:not(.active) {
	display: none;
}
#oml-enfant-form .oml-step-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.1rem;
	font-weight: 400;
	color: #3A2B1A;
	margin-bottom: 0.3rem;
}
#oml-enfant-form .oml-step-hint {
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	color: #7A6550;
	margin-bottom: 1rem;
}
#oml-enfant-form .oml-model-img {
	width: 100%;
	max-width: 400px;
	border: 1px solid #F0E9DF;
	margin-bottom: 1rem;
	display: block;
}
#oml-enfant-form .oml-options-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}
#oml-enfant-form .oml-opt {
	padding: 0.6rem 1.2rem;
	border: 1px solid #DFC080;
	background: white;
	color: #3A2B1A;
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
#oml-enfant-form .oml-opt:hover {
	border-color: #C4A35A;
	background: #FAF6F0;
}
#oml-enfant-form .oml-opt.selected {
	background: #C4A35A;
	border-color: #C4A35A;
	color: white;
}
#oml-enfant-form .oml-text-input {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #DFC080;
	background: #FAF6F0;
	font-family: 'Jost', sans-serif;
	font-size: 0.85rem;
	color: #3A2B1A;
	outline: none;
	margin-bottom: 0.5rem;
}
#oml-enfant-form .oml-text-input:focus {
	border-color: #C4A35A;
}
#oml-enfant-form .oml-field {
	margin-bottom: 1rem;
}
#oml-enfant-form .oml-field label {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #3A2B1A;
	font-family: 'Jost', sans-serif;
	margin-bottom: 0.4rem;
}
#oml-enfant-form .oml-required { color: #C4A35A; }
#oml-enfant-form .oml-next {
	width: 100%;
	padding: 0.9rem;
	background: #C4A35A;
	color: white;
	border: none;
	font-family: 'Jost', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}
#oml-enfant-form .oml-next:hover:not(:disabled) {
	background: #3A2B1A;
}
#oml-enfant-form .oml-next:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
#oml-enfant-form .oml-back {
	background: none;
	border: 1px solid #DFC080;
	color: #7A6550;
	padding: 0.6rem 1.2rem;
	font-family: 'Jost', sans-serif;
	font-size: 0.7rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
#oml-enfant-form .oml-back:hover {
	border-color: #3A2B1A;
	color: #3A2B1A;
}
#oml-enfant-form .oml-step-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: 0.5rem;
}
#oml-enfant-form .oml-step-nav .oml-next {
	flex: 1;
}
#oml-enfant-form #oml-enfant-recap-box {
	border: 1px solid #DFC080;
	background: #FAF6F0;
	padding: 1rem 1.2rem;
	margin-bottom: 1rem;
}
#oml-enfant-form .oml-recap-title {
	font-size: 0.68rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #C4A35A;
	font-family: 'Jost', sans-serif;
	margin-bottom: 0.8rem;
}
#oml-enfant-form .oml-recap-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.8rem;
	color: #3A2B1A;
	padding: 0.25rem 0;
	border-bottom: 1px solid #F0E9DF;
	font-family: 'Jost', sans-serif;
}
#oml-enfant-form .oml-recap-row span:first-child {
	color: #7A6550;
}

/* ─── Pack upsell (panier) — pack-upsell.php ─── */
.oml-pack-upsell {
	background: #FAF6F0;
	border: 1px solid #DFC080;
	padding: 1.5rem;
	margin-top: 1.5rem;
}
.oml-pack-upsell-title {
	font-size: 0.68rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #C4A35A;
	font-family: 'Jost', sans-serif;
	margin-bottom: 0.8rem;
}
.oml-pack-upsell-name {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.2rem;
	color: #3A2B1A;
	margin-bottom: 0.5rem;
}
.oml-economy {
	color: #C4A35A;
}
.oml-pack-upsell-missing {
	font-family: 'Jost', sans-serif;
	font-size: 0.82rem;
	color: #7A6550;
	margin-bottom: 1rem;
}
.oml-pack-upsell-missing p {
	margin-bottom: 0.3rem;
	color: #3A2B1A;
	font-weight: 500;
}
.oml-pack-upsell-btn {
	width: 100%;
	padding: 0.9rem;
	background: #C4A35A;
	color: white;
	border: none;
	font-family: 'Jost', sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
}
.oml-pack-upsell-btn span {
	font-size: 0.65rem;
	opacity: 0.8;
	text-decoration: line-through;
	letter-spacing: 0;
	text-transform: none;
}
.oml-pack-upsell-btn:hover {
	background: #3A2B1A;
}

.oml-upsell-overlay {
	position: fixed;
	inset: 0;
	background: rgba(58,43,26,0.5);
	z-index: 9998;
}
#oml-upsell-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}
.oml-upsell-modal {
	background: white;
	padding: 2.5rem 2rem;
	max-width: 420px;
	width: 90%;
	position: relative;
	text-align: center;
	border-top: 3px solid #C4A35A;
}
.oml-upsell-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	font-size: 1rem;
	color: #7A6550;
	cursor: pointer;
}
.oml-upsell-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}
.oml-upsell-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.4rem;
	font-weight: 400;
	color: #3A2B1A;
	margin-bottom: 0.8rem;
}
.oml-upsell-text {
	font-family: 'Jost', sans-serif;
	font-size: 0.82rem;
	color: #7A6550;
	margin-bottom: 1.2rem;
}
.oml-upsell-price-block {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}
.oml-upsell-normal {
	font-family: 'Jost', sans-serif;
	font-size: 0.9rem;
	color: #7A6550;
	text-decoration: line-through;
}
.oml-upsell-arrow {
	color: #C4A35A;
}
.oml-upsell-pack {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.4rem;
	color: #3A2B1A;
	font-weight: 500;
}
.oml-upsell-save {
	background: #C4A35A;
	color: white;
	padding: 0.2rem 0.6rem;
	font-family: 'Jost', sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
}
.oml-upsell-confirm {
	width: 100%;
	padding: 0.9rem;
	background: #C4A35A;
	color: white;
	border: none;
	font-family: 'Jost', sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	margin-bottom: 0.8rem;
	transition: background 0.2s ease;
}
.oml-upsell-confirm:hover {
	background: #3A2B1A;
}
.oml-upsell-decline {
	background: none;
	border: none;
	color: #7A6550;
	font-family: 'Jost', sans-serif;
	font-size: 0.75rem;
	cursor: pointer;
	text-decoration: underline;
}

/* ─── Hero mascotte bébé — catégorie literie-bebe (baby-mascot.php) ─── */
.oml-baby-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 2rem 0 3rem;
	gap: 2rem;
}
.oml-baby-text {
	flex: 1;
}
.oml-baby-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 3rem;
	font-weight: 300;
	color: #3A2B1A;
	margin-bottom: 0.5rem;
}
.oml-baby-subtitle {
	font-family: 'Jost', sans-serif;
	font-size: 0.9rem;
	color: #7A6550;
	font-weight: 300;
	letter-spacing: 0.05em;
}
.oml-baby-mascot {
	width: 150px;
	flex-shrink: 0;
	cursor: pointer;
	position: relative;
	transition: transform 0.2s ease;
	user-select: none;
}
.oml-baby-mascot:hover {
	transform: scale(1.05);
}
.oml-baby-mascot:active {
	transform: scale(0.95);
}
.oml-baby-mascot svg {
	width: 100%;
	filter: drop-shadow(0 4px 12px rgba(196,163,90,0.2));
}
.oml-bubble {
	position: absolute;
	top: -45px;
	left: 50%;
	transform: translateX(-50%);
	background: white;
	border: 1px solid #DFC080;
	padding: 0.4rem 0.8rem;
	border-radius: 20px;
	font-family: 'Jost', sans-serif;
	font-size: 0.72rem;
	color: #3A2B1A;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}
.oml-bubble::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 10px;
	height: 10px;
	background: white;
	border-right: 1px solid #DFC080;
	border-bottom: 1px solid #DFC080;
}
.oml-bubble.visible {
	opacity: 1;
}
@media (max-width: 600px) {
	.oml-baby-hero {
		flex-direction: column;
		text-align: center;
	}
	.oml-baby-title {
		font-size: 2rem;
	}
}

/* ─── Packs cadeaux — catégorie cadeaux (packs-display.php) ─── */
.oml-packs-section {
	margin: 0 0 4rem;
	padding: 3rem 0;
	border-bottom: 1px solid #F0E9DF;
}
.oml-packs-header {
	text-align: center;
	margin-bottom: 2.5rem;
}
.oml-packs-label {
	font-family: 'Jost', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	color: #C4A35A;
	text-transform: uppercase;
}
.oml-packs-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 2.5rem;
	font-weight: 300;
	color: #3A2B1A;
	margin: 0.5rem 0;
}
.oml-packs-subtitle {
	font-family: 'Jost', sans-serif;
	font-size: 0.85rem;
	color: #7A6550;
	font-weight: 300;
}
.oml-packs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}
.oml-pack-card {
	background: white;
	border: 1px solid #F0E9DF;
	border-radius: 4px;
	padding: 2rem 1.5rem;
	position: relative;
	text-align: center;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.oml-pack-card:hover {
	box-shadow: 0 8px 30px rgba(196,163,90,0.15);
	transform: translateY(-3px);
}
.oml-pack-badge {
	position: absolute;
	top: -12px;
	right: 20px;
	background: #C4A35A;
	color: white;
	font-family: 'Jost', sans-serif;
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0.3rem 0.7rem;
	border-radius: 20px;
	letter-spacing: 0.05em;
}
.oml-pack-icon {
	font-size: 2rem;
	margin-bottom: 0.8rem;
}
.oml-pack-name {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.3rem;
	font-weight: 400;
	color: #3A2B1A;
	margin-bottom: 1rem;
}
.oml-pack-items {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	text-align: left;
}
.oml-pack-items li {
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	color: #7A6550;
	padding: 0.25rem 0;
	border-bottom: 1px solid #FAF6F0;
}
.oml-pack-pricing {
	margin-bottom: 1.5rem;
}
.oml-pack-price-old {
	display: block;
	font-family: 'Jost', sans-serif;
	font-size: 0.85rem;
	color: #B0A090;
	text-decoration: line-through;
}
.oml-pack-price-new {
	display: block;
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.8rem;
	color: #3A2B1A;
	font-weight: 400;
}
.oml-pack-economy {
	display: inline-block;
	font-family: 'Jost', sans-serif;
	font-size: 0.72rem;
	color: #C4A35A;
	background: #FAF6F0;
	padding: 0.2rem 0.6rem;
	border-radius: 20px;
	margin-top: 0.3rem;
}
.oml-pack-btn {
	display: block;
	width: 100%;
	padding: 0.85rem;
	background: #C4A35A;
	color: white;
	border: none;
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
	border-radius: 2px;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}
.oml-pack-btn:hover {
	background: #3A2B1A;
	color: white;
}
.oml-pack-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
@media (max-width: 600px) {
	.oml-packs-grid {
		grid-template-columns: 1fr;
	}
	.oml-packs-title {
		font-size: 1.8rem;
	}
}

/* ─── Tunnel personnalisation pack (pack-customize.php) ─── */
.ct-container .oml-tunnel,
.oml-tunnel {
	max-width: 800px;
	margin: 0 auto;
	padding: 3rem 1.5rem;
}
.oml-tunnel .oml-progress {
	display: none;
}
.oml-tunnel .oml-progress-bar-container,
.oml-tunnel form.cart,
.oml-tunnel .single_add_to_cart_button {
	display: none !important;
}
.oml-tunnel .oml-nav-buttons,
.oml-tunnel .oml-form-navigation,
.oml-tunnel button[type="submit"],
.oml-tunnel .oml-next-step,
.oml-tunnel .oml-prev-step,
.oml-tunnel .oml-btn-continuer,
.oml-tunnel .oml-btn-retour,
.oml-tunnel .oml-step-nav .oml-next,
.oml-tunnel .oml-step-nav .oml-back,
.oml-tunnel .oml-next,
.oml-tunnel .oml-back,
.oml-tunnel .oml-step-buttons,
.oml-tunnel .oml-form-buttons,
.oml-tunnel .oml-step button[data-action],
.oml-tunnel .oml-step .oml-next-btn,
.oml-tunnel .oml-step .oml-prev-btn,
.oml-tunnel .oml-form-step button[data-action],
.oml-tunnel .oml-form-step .oml-next-btn,
.oml-tunnel .oml-form-step .oml-prev-btn {
	display: none !important;
}
.oml-tunnel .oml-form-step {
	display: block !important;
}
.oml-tunnel .oml-step-prenom,
.oml-tunnel [data-field="prenom_broderie"],
.oml-tunnel .oml-field-prenom {
	display: none !important;
}
.oml-tunnel-header {
	text-align: center;
	margin-bottom: 3rem;
}
.oml-tunnel-pack-name {
	font-family: 'Jost', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	color: #C4A35A;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}
.oml-tunnel-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 2.5rem;
	font-weight: 300;
	color: #3A2B1A;
	margin-bottom: 2rem;
}
.oml-tunnel-progress {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
	margin-bottom: 1rem;
}
.oml-prenom-global {
	margin-bottom: 2rem;
	padding: 1rem 0;
	border-bottom: 1px solid #F0E9DF;
}
.oml-prenom-global label {
	display: block;
	font-family: 'Jost', sans-serif;
	font-size: 0.82rem;
	color: #3A2B1A;
	margin-bottom: 0.5rem;
	font-weight: 500;
}
.oml-prenom-global .oml-input-prenom {
	width: 100%;
	max-width: 320px;
	padding: 0.6rem 0.8rem;
	font-family: 'Jost', sans-serif;
	font-size: 0.9rem;
	border: 1px solid #F0E9DF;
	background: #FAF6F0;
	color: #3A2B1A;
}
.oml-prenom-global .oml-input-prenom::placeholder {
	color: #B0A090;
}
.oml-auto-match {
	text-align: center;
	padding: 2rem;
	background: #FAF6F0;
	border: 1px solid #F0E9DF;
	border-radius: 4px;
	margin: 2rem 0;
}
.oml-auto-match-icon {
	color: #C4A35A;
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}
.oml-auto-match-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.5rem;
	color: #3A2B1A;
	margin-bottom: 0.5rem;
}
.oml-auto-match-text {
	font-family: 'Jost', sans-serif;
	font-size: 0.85rem;
	color: #7A6550;
	max-width: 500px;
	margin: 0 auto 1.5rem;
	line-height: 1.7;
}
.oml-auto-match-items {
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
}
.oml-auto-match-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}
.oml-auto-match-item img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
}
.oml-auto-match-item span {
	font-family: 'Jost', sans-serif;
	font-size: 0.75rem;
	color: #3A2B1A;
}
.oml-auto-match-badge {
	color: #C4A35A !important;
	font-size: 0.7rem !important;
	background: white;
	padding: 0.2rem 0.6rem;
	border-radius: 20px;
	border: 1px solid #C4A35A;
}
.oml-progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	flex: 1;
	max-width: 140px;
}
.oml-progress-step:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 10px;
	left: 60%;
	width: 80%;
	height: 1px;
	background: #F0E9DF;
	z-index: 0;
}
.oml-progress-dot {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #F0E9DF;
	border: 2px solid #F0E9DF;
	margin-bottom: 0.4rem;
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
}
.oml-progress-step.active .oml-progress-dot {
	background: #C4A35A;
	border-color: #C4A35A;
}
.oml-progress-step.done .oml-progress-dot {
	background: #3A2B1A;
	border-color: #3A2B1A;
}
.oml-progress-step span {
	font-family: 'Jost', sans-serif;
	font-size: 0.65rem;
	color: #B0A090;
	text-align: center;
	letter-spacing: 0.05em;
}
.oml-progress-step.active span {
	color: #C4A35A;
	font-weight: 500;
}
.oml-progress-step.done span {
	color: #3A2B1A;
}
.oml-step-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.8rem;
	font-weight: 300;
	color: #3A2B1A;
	margin-bottom: 2rem;
	text-align: center;
}
.oml-step-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #F0E9DF;
}
.oml-btn-prev {
	background: none;
	border: 1px solid #F0E9DF;
	padding: 0.7rem 1.5rem;
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	color: #7A6550;
	cursor: pointer;
	letter-spacing: 0.05em;
}
.oml-btn-gold {
	background: #C4A35A;
	color: white;
	border: none;
	padding: 0.85rem 2rem;
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}
.oml-btn-gold:hover {
	background: #3A2B1A;
}
.oml-recap-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}
.oml-recap-item {
	background: #FAF6F0;
	border: 1px solid #F0E9DF;
	padding: 1.5rem;
	border-radius: 4px;
}
.oml-recap-item h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.2rem;
	color: #3A2B1A;
	margin-bottom: 0.8rem;
}
.oml-recap-item ul {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
}
.oml-recap-item li {
	font-family: 'Jost', sans-serif;
	font-size: 0.78rem;
	color: #7A6550;
	padding: 0.2rem 0;
}
.oml-btn-edit {
	background: none;
	border: 1px solid #C4A35A;
	color: #C4A35A;
	padding: 0.4rem 1rem;
	font-size: 0.72rem;
	cursor: pointer;
	font-family: 'Jost', sans-serif;
}
.oml-recap-price {
	text-align: center;
	padding: 1.5rem;
	background: white;
	border: 1px solid #F0E9DF;
	margin-bottom: 1.5rem;
}
.oml-recap-total {
	display: block;
	font-family: 'Cormorant Garamond', serif;
	font-size: 2rem;
	color: #3A2B1A;
}
.oml-recap-eco {
	font-family: 'Jost', sans-serif;
	font-size: 0.8rem;
	color: #C4A35A;
}
@media (max-width: 600px) {
	.oml-tunnel-title {
		font-size: 1.8rem;
	}
	.oml-tunnel-progress {
		gap: 0;
	}
	.oml-progress-step span {
		font-size: 0.55rem;
	}
}

/* ========== LOGO IMAGE ========== */
.oml-logo-img,
.custom-logo {
	height: 55px !important;
	width: auto !important;
	max-width: none !important;
	max-height: none !important;
}
.oml-logo-img {
	display: block !important;
}
.oml-logo-link,
.custom-logo-link {
	display: flex !important;
	align-items: center !important;
	height: 100% !important;
}
.ct-header,
#masthead,
.site-header,
.oml-site-header {
	min-height: 70px !important;
}

/* Cacher texte OMALAMISE et Collection textile sous le logo */
.site-title,
.site-description,
.ct-site-title,
.ct-site-description,
[class*="ct-site-title"],
[class*="ct-site-description"],
.site-branding .site-title,
.site-branding .site-description,
.ct-header .site-title,
.ct-header .site-description,
.header-logo .site-title,
.header-logo .site-description,
span.site-title,
p.site-description,
.site-branding p.site-title,
.ct-header .site-branding p,
.site-branding .site-title-container,
#masthead .site-title,
#masthead .site-description,
.site-header .site-title,
.site-header .site-description,
.oml-site-header .site-title,
.oml-site-header .site-description,
[class*="site-branding"] .site-title,
[class*="site-branding"] .site-description {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	position: absolute !important;
	pointer-events: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.oml-logo-link + span,
.oml-logo-link ~ span,
.oml-site-header .site-branding span,
.oml-site-header .site-title span,
.ct-header .site-branding span,
.ct-header .site-title span,
#masthead .site-branding span,
#masthead .site-title span,
.site-header .site-branding span,
.site-header .site-title span {
	display: none !important;
}

@media (max-width: 768px) {
	.oml-logo-img,
	.custom-logo {
		height: 38px !important;
	}
}

/* ========== MOBILE : Cacher nav desktop ========== */
@media (max-width: 768px) {
	.header-middle .nav,
	.header-middle nav,
	.ct-header nav,
	[class*="menu-desktop"],
	.header-menu,
	.oml-site-header nav {
		display: none !important;
	}
}

/* ========== HAMBURGER ========== */
.oml-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 1000;
}
.oml-hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	background: #3A2B1A;
	transition: all 0.3s ease;
}
@media (max-width: 768px) {
	.oml-hamburger {
		display: flex;
	}
}

/* ========== MENU MOBILE OVERLAY ========== */
.oml-mobile-menu {
	position: fixed;
	top: 0;
	left: -100%;
	width: 80%;
	max-width: 320px;
	height: 100vh;
	background: #FAF6F0;
	z-index: 9999;
	padding: 5rem 2rem 2rem;
	transition: left 0.3s ease;
	box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}
.oml-mobile-menu.open {
	left: 0;
}
.oml-mobile-close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	color: #3A2B1A;
}
.oml-mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.oml-mobile-nav a {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.6rem;
	font-weight: 300;
	color: #3A2B1A;
	text-decoration: none;
	padding: 1rem 0;
	border-bottom: 1px solid #F0E9DF;
	letter-spacing: 0.05em;
	transition: color 0.2s ease;
}
.oml-mobile-nav a:hover {
	color: #C4A35A;
}
.oml-mobile-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 9998;
}
.oml-mobile-overlay.open {
	display: block;
}

/* ========== MOBILE : Espace barre / hero ========== */
@media (max-width: 768px) {
	.ct-header + *,
	#masthead + *,
	header + *,
	.site-header + * {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
	.oml-hero,
	.oml-homepage-hero,
	.front-page-hero,
	.hero,
	section:first-of-type {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
	.ct-container {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
	body.home .oml-hero-section,
	body.home section:first-of-type,
	body.home .oml-homepage-hero,
	body.home > div:first-child,
	.front-page-content > *:first-child {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
}
body.home .entry-content > *:first-child,
body.home .ct-container > *:first-child {
	margin-top: 0 !important;
}

/* ========== MOBILE : Corrections générales ========== */
@media (max-width: 768px) {
	.products.columns-3,
	.products.columns-4,
	.products.columns-6 {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 0.8rem !important;
	}
	.woocommerce-loop-product__title {
		font-size: 0.85rem !important;
	}
	.woocommerce ul.products .price {
		font-size: 0.85rem !important;
	}
	.add_to_cart_button,
	.oml-cta-btn {
		width: 100% !important;
		font-size: 0.7rem !important;
		padding: 0.7rem !important;
	}
	.oml-options-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.oml-option-btn {
		font-size: 0.75rem !important;
		padding: 0.6rem !important;
	}
	.woocommerce-cart-form table {
		display: block !important;
		overflow-x: auto !important;
	}
	.oml-pack-upsell,
	.oml-pack-upsell-section {
		margin: 1rem 0 !important;
		padding: 1rem !important;
	}
	.oml-tunnel {
		padding: 1.5rem 1rem !important;
	}
	.oml-tunnel .oml-tunnel-title,
	.oml-tunnel-title {
		font-size: 1.6rem !important;
	}
	.oml-tunnel .oml-progress-step span,
	.oml-progress-step span {
		font-size: 0.5rem !important;
	}
	.oml-step-nav {
		flex-direction: column !important;
		gap: 0.8rem !important;
	}
	.oml-btn-gold,
	.oml-btn-prev {
		width: 100% !important;
		text-align: center !important;
	}
	.oml-packs-grid {
		grid-template-columns: 1fr !important;
	}
	.oml-baby-hero {
		flex-direction: column !important;
		text-align: center !important;
	}
	.oml-baby-mascot {
		width: 100px !important;
	}
}

/* Notre header personnalisé reste visible */
header.oml-site-header {
	display: flex !important;
}

/* Supprimer l'espace blanc entre notre header et la barre promo */
body.home .oml-announcement-bar,
body.home .oml-promo-bar,
.oml-site-header + * {
	margin-top: 0 !important;
}

/* Supprimer padding/margin du wrapper de contenu Elementor sur homepage */
body.home .ct-container,
body.home #page,
body.home .site-content,
body.home main,
body.home #main,
body.home .entry-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* L'espace vient probablement du header Blocksy caché qui garde sa hauteur — forcer à 0 */
body.home .ct-header {
	height: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
}

/* ========== GRILLE 3 PRODUITS FEATURED (HOME) ========== */
.products-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 2rem !important;
	align-items: start !important;
	width: 100% !important;
}
.product-card {
	display: flex !important;
	flex-direction: column !important;
	background: #FAF6F0 !important;
	border-radius: 4px !important;
	overflow: hidden !important;
	text-decoration: none !important;
	color: #3A2B1A !important;
	position: relative !important;
	break-inside: avoid !important;
}
.product-card .product-img {
	width: 100% !important;
	height: 280px !important;
	overflow: hidden !important;
	flex-shrink: 0 !important;
}
.product-card .product-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}
.product-card .product-info {
	padding: 1.5rem !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 0.5rem !important;
	flex: 1 !important;
}
.product-badge {
	position: absolute !important;
	top: 1rem !important;
	left: 1rem !important;
	z-index: 2 !important;
	background: #3A2B1A !important;
	color: #fff !important;
	padding: 4px 10px !important;
	font-size: 11px !important;
	letter-spacing: 1px !important;
}
@media (max-width: 768px) {
	.products-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Sacs weekender : filtres + cartes produit dédiées */
body.tax-product_cat.term-sacs-et-trousses-olynn .oml-weekender-filters {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
}
body.tax-product_cat.term-sacs-et-trousses-olynn .oml-filter-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
body.tax-product_cat.term-sacs-et-trousses-olynn .oml-filter-count {
	font-family: 'Jost', sans-serif;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7A6550;
	margin-top: 0.1rem;
}
body.tax-product_cat.term-sacs-et-trousses-olynn .oml-filter-btn {
	background: transparent;
	border: 1px solid #C4A35A;
	color: #3A2B1A;
	font-family: 'Jost', sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.45rem 0.9rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
body.tax-product_cat.term-sacs-et-trousses-olynn .oml-filter-btn:hover,
body.tax-product_cat.term-sacs-et-trousses-olynn .oml-filter-btn.is-active {
	background: #C4A35A;
	color: #fff;
}

body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product {
	background: #FAF6F0 !important;
}
body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product:hover {
	box-shadow: 0 10px 28px rgba(58, 43, 26, 0.12) !important;
}
body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product .ct-media-container,
body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product figure {
	aspect-ratio: 1 / 1 !important;
	height: 280px !important;
	max-height: 280px !important;
}
body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product .ct-media-container img,
body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product figure img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}
body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product .woocommerce-loop-product__title {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	font-size: 1.15rem !important;
	font-weight: 500 !important;
	color: #3A2B1A !important;
}
body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product .price {
	color: #C4A35A !important;
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	font-size: 1.05rem !important;
}
body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product .button {
	background: transparent !important;
	color: #3A2B1A !important;
	border: 1px solid #C4A35A !important;
	letter-spacing: 0.12em !important;
}
body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product .button:hover {
	background: #C4A35A !important;
	color: #fff !important;
	border-color: #C4A35A !important;
}

li.product.oml-hidden {
	display: none !important;
}
body.tax-product_cat.term-sacs-et-trousses-olynn ul.products .oml-hidden {
	display: none !important;
}

.tax-product_cat .woocommerce-result-count {
	display: none !important;
}

/* Images WooCommerce : netteté mobile / dimensions cohérentes */
.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img,
.woocommerce div.product div.images img,
.woocommerce img {
	image-rendering: auto;
	max-width: 100%;
	height: auto;
}

/* Grille catégories : mobile 1 col, tablette 2, desktop 3+ */
@media (max-width: 768px) {
	body.tax-product_cat ul.products {
		grid-template-columns: 1fr !important;
	}
	body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product .ct-media-container,
	body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product figure {
		height: 280px !important;
		max-height: 280px !important;
	}
	body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product .woocommerce-loop-product__title {
		font-size: 1.05rem !important;
	}
	body.tax-product_cat.term-sacs-et-trousses-olynn ul.products li.product .button {
		width: 100% !important;
	}
	/* Filtres Sacs : scroll horizontal sans retour ligne */
	body.tax-product_cat.term-sacs-et-trousses-olynn .oml-filter-group {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.15rem;
	}
	body.tax-product_cat.term-sacs-et-trousses-olynn .oml-filter-group .oml-filter-btn {
		white-space: nowrap;
		flex: 0 0 auto;
	}
}
@media (min-width: 769px) and (max-width: 1024px) {
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (min-width: 1025px) and (max-width: 1439px) {
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (min-width: 1440px) {
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

/* Pages produit mobile : éléments tactiles confortables */
@media (max-width: 768px) {
	#oml-simple-product-form .oml-opt,
	#oml-peignoir-form .oml-opt,
	#oml-enfant-form .oml-opt,
	#oml-simple-product-form .oml-next,
	#oml-simple-product-form .oml-back,
	#oml-peignoir-form .oml-next,
	#oml-peignoir-form .oml-back,
	#oml-enfant-form .oml-next,
	#oml-enfant-form .oml-back {
		min-height: 44px;
	}
}
