/*
Theme Name:   Ruhlmann Hello
Theme URI:    https://vinruhlmann.fr
Description:  Thème enfant léger de Hello Elementor pour Gilbert Ruhlmann Fils. Tout le design est géré par Elementor (variables, classes et styles globaux V4).
Author:       Gilbert Ruhlmann Fils
Template:     hello-elementor
Version:      1.10.2
Text Domain:  ruhlmann-hello
*/

/* Base du site : fond et texte. Les valeurs viennent des variables globales Elementor
   (--creme, --encre, --police-texte…) avec des valeurs de secours si elles ne sont pas chargées. */
body {
	background-color: var(--creme, #FDF9F3);
	color: var(--encre, #2B2320);
	font-family: var(--police-texte, "Fira Sans"), Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

::selection {
	background-color: var(--bordeaux, #A30046);
	color: #FFFFFF;
}

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

/* =====================================================================
   Header : menu principal maison (shortcode [ruhlmann_menu], inc/menu.php)
   Pensé d'abord pour le téléphone ; le menu horizontal n'apparaît qu'à partir de 1025 px.
   ===================================================================== */
.elementor-location-header .elementor-widget-shortcode { width: auto; }
.rh-nav { font-family: var(--police-texte, "Fira Sans"), Arial, sans-serif; }
.rh-nav button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rh-nav button:hover,
.rh-nav button:focus,
.rh-nav button:active { background: none !important; color: inherit; }
.rh-nav button:focus-visible,
.rh-nav a:focus-visible { outline: 2px solid var(--or, #B08D57); outline-offset: 2px; }
.rh-nav ul { list-style: none; margin: 0; padding: 0; }
.rh-nav a { text-decoration: none; }
.rh-chevron {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	transition: transform 0.2s;
}

/* --- Téléphone et tablette : bouton « Menu » + panneau plein écran --- */
.rh-nav-ouvrir {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 2px !important;
	color: #FDF9F3 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase;
}
.rh-nav .rh-burger { position: relative; display: inline-flex; flex-direction: column; justify-content: space-between; width: 24px; height: 16px; }
.rh-nav .rh-burger span { display: block; height: 2px; border-radius: 2px; background: #FDF9F3; }
.rh-nav-panneau {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	background: var(--creme, #FDF9F3);
	overflow-y: auto;
	overscroll-behavior: contain;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.2s, visibility 0s linear 0.2s;
}
.rh-nav.est-ouvert .rh-nav-panneau { visibility: visible; opacity: 1; transition: opacity 0.2s; }
html.rh-menu-ouvert, html.rh-menu-ouvert body { overflow: hidden; }
.rh-nav-entete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	padding: 0 16px;
	background: var(--bordeaux, #A30046);
	color: #FDF9F3;
}
.rh-nav-titre { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.rh-nav-fermer { position: relative; width: 44px; height: 44px; }
.rh-nav-fermer span::before,
.rh-nav-fermer span::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 11px;
	width: 22px;
	height: 2px;
	background: #FDF9F3;
	border-radius: 2px;
}
.rh-nav-fermer span::before { transform: rotate(45deg); }
.rh-nav-fermer span::after { transform: rotate(-45deg); }
.rh-nav .rh-menu { padding: 8px 0 !important; }
.rh-nav .rh-menu-item { position: relative; border-bottom: 1px solid var(--ligne, #E8DCCB); }
.rh-nav .rh-menu-lien {
	display: flex;
	align-items: center;
	min-height: 60px;
	padding: 0 64px 0 20px;
	color: var(--encre, #2B2320);
	font-family: var(--police-titre, "Cormorant Garamond"), Georgia, serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
}
.rh-nav .rh-menu-lien .rh-chevron { display: none; }
.rh-nav .rh-menu-item.est-courant > .rh-menu-lien { color: var(--bordeaux, #A30046); }
.rh-nav .rh-sous-ouvrir {
	position: absolute !important;
	top: 0;
	right: 0;
	width: 60px;
	height: 60px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: var(--bordeaux, #A30046) !important;
}
.rh-nav .rh-a-sous-menu.est-deplie > .rh-sous-ouvrir .rh-chevron { transform: translateY(2px) rotate(-135deg); }
.rh-nav .rh-sous-menu { display: none; padding: 0 0 12px !important; }
.rh-nav .rh-a-sous-menu.est-deplie > .rh-sous-menu { display: block; }
.rh-nav .rh-sous-menu a {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 20px 0 36px;
	color: var(--encre, #2B2320);
	font-size: 17px;
}
.rh-nav .rh-sous-menu a[aria-current="page"] { color: var(--bordeaux, #A30046); font-weight: 600; }
.rh-nav-pied { display: flex; flex-direction: column; gap: 12px; padding: 24px 20px 40px; margin-top: auto; }
.rh-nav .rh-nav-boutique {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	background: var(--bordeaux, #A30046);
	color: #FFFFFF !important;
	border-radius: var(--rayon, 2px);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.rh-nav .rh-nav-tel { text-align: center; color: var(--bordeaux, #A30046) !important; font-weight: 600; font-size: 16px; padding: 8px; }
/* Sélecteur de langue : dans le panneau (mobile) et en bout de menu (ordinateur) */
.rh-langues { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; align-items: center; }
.rh-langues a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	font-family: var(--police-texte, "Fira Sans"), Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-decoration: none;
}
.rh-langues-mobile { justify-content: center; gap: 8px; }
.rh-langues-mobile a { border: 1px solid var(--ligne, #E8DCCB); border-radius: var(--rayon, 2px); color: var(--encre, #2B2320) !important; }
.rh-langues-mobile a[aria-current] { background: var(--beige, #F9EFE0); border-color: var(--bordeaux, #A30046); color: var(--bordeaux, #A30046) !important; }
.rh-nav .rh-langues-item { display: none; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* --- Ordinateur : menu horizontal, sous-menus au survol ou au clavier --- */
@media (min-width: 1025px) {
	.rh-nav-ouvrir, .rh-nav-entete, .rh-nav-pied, .rh-sous-ouvrir { display: none !important; }
	.rh-nav-panneau {
		position: static;
		inset: auto;
		z-index: auto;
		display: block;
		background: none;
		overflow: visible;
		visibility: visible;
		opacity: 1;
		transition: none;
	}
	.rh-nav .rh-menu { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 4px; padding: 0 !important; }
	.rh-nav .rh-menu-item { border: 0; }
	.rh-nav .rh-menu-lien {
		display: inline-flex;
		gap: 8px;
		min-height: 48px;
		padding: 0 12px;
		color: #FDF9F3;
		font-family: var(--police-texte, "Fira Sans"), Arial, sans-serif;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		white-space: nowrap;
		position: relative;
	}
	.rh-nav .rh-menu-lien .rh-chevron { display: inline-block; width: 6px; height: 6px; color: #FDF9F3; }
	.rh-nav .rh-menu-lien::after {
		content: "";
		position: absolute;
		left: 12px;
		right: 12px;
		bottom: 10px;
		height: 1px;
		background: var(--or, #B08D57);
		opacity: 0;
		transition: opacity 0.2s;
	}
	.rh-nav .rh-menu-item:hover > .rh-menu-lien,
	.rh-nav .rh-menu-item:focus-within > .rh-menu-lien,
	.rh-nav .rh-menu-item.est-courant > .rh-menu-lien { color: #FFFFFF; }
	.rh-nav .rh-menu-item:hover > .rh-menu-lien::after,
	.rh-nav .rh-menu-item.est-courant > .rh-menu-lien::after { opacity: 1; }
	.rh-nav .rh-sous-menu {
		display: block;
		position: absolute;
		top: 100%;
		left: 50%;
		min-width: 270px;
		margin-left: -135px;
		padding: 8px 0 !important;
		background: var(--creme, #FDF9F3);
		border-top: 2px solid var(--or, #B08D57);
		box-shadow: 0 24px 48px -28px rgba(43, 35, 32, 0.45);
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.15s, visibility 0s linear 0.15s;
		z-index: 100;
	}
	.rh-nav .rh-menu-item:hover > .rh-sous-menu,
	.rh-nav .rh-menu-item:focus-within > .rh-sous-menu { visibility: visible; opacity: 1; transition: opacity 0.15s; }
	.rh-nav .rh-sous-menu a { min-height: 0; padding: 11px 22px; font-size: 15px; white-space: nowrap; }
	.rh-nav .rh-sous-menu a:hover { background: var(--beige, #F9EFE0); color: var(--bordeaux, #A30046); }
	.rh-nav .rh-langues-item { display: block; margin-left: 6px; padding-left: 6px; border-left: 1px solid rgba(253, 249, 243, 0.3); }
	.rh-langues-bureau a { min-width: 32px; font-size: 12px; color: rgba(253, 249, 243, 0.7) !important; }
	.rh-langues-bureau a:hover, .rh-langues-bureau a:focus-visible { color: #FFFFFF !important; }
	.rh-langues-bureau a[aria-current] { color: #FFFFFF !important; text-decoration: underline; text-decoration-color: var(--or, #B08D57); text-underline-offset: 6px; }
}
@media (min-width: 1025px) and (max-width: 1240px) {
	.rh-nav .rh-menu-lien { padding: 0 9px; letter-spacing: 0.08em; }
}

/* --- Footer : menus de navigation et légal --- */
.elementor-location-footer .elementor-widget-nav-menu { width: 100%; }
.elementor-location-footer .elementor-nav-menu--main .elementor-item {
	color: var(--beige, #F9EFE0);
	font-family: var(--police-texte, "Fira Sans"), Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	padding: 5px 0;
	opacity: 0.85;
}
.elementor-location-footer .elementor-nav-menu--main .elementor-item:hover { color: #FFFFFF; opacity: 1; }

/* =====================================================================
   Contenu éditorial (articles, guides « Comprendre le vin », pages légales)
   Rendu par le widget « Contenu de l'article » dans les modèles single.
   ===================================================================== */
body:not(.woocommerce-page) .elementor-widget-theme-post-content { width: 100%; color: var(--encre, #2B2320); font-size: 18px; line-height: 1.8; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content > * > p:first-child,
body:not(.woocommerce-page) .elementor-widget-theme-post-content > p:first-child {
	font-size: 21px;
	line-height: 1.65;
	color: var(--encre, #2B2320);
	margin-bottom: 1.6em;
}
body:not(.woocommerce-page) .elementor-widget-theme-post-content p { margin: 0 0 1.15em; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content h2,
body:not(.woocommerce-page) .elementor-widget-theme-post-content h3,
body:not(.woocommerce-page) .elementor-widget-theme-post-content h4 {
	font-family: var(--police-titre, "Cormorant Garamond"), Georgia, serif;
	color: var(--encre, #2B2320);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
}
body:not(.woocommerce-page) .elementor-widget-theme-post-content h2 {
	font-size: clamp(1.75rem, 3vw, 2.3rem);
	margin: 2.2em 0 0.7em;
	padding-top: 0.9em;
	border-top: 1px solid var(--ligne, #E8DCCB);
}
body:not(.woocommerce-page) .elementor-widget-theme-post-content h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); margin: 1.8em 0 0.5em; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content h4 { font-size: 1.2rem; margin: 1.5em 0 0.4em; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content a {
	color: var(--bordeaux, #A30046);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: rgba(163, 0, 70, 0.35);
	transition: text-decoration-color 0.2s, color 0.2s;
}
body:not(.woocommerce-page) .elementor-widget-theme-post-content a:hover { color: var(--bordeaux-fonce, #7A0034); text-decoration-color: currentColor; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content strong { font-weight: 600; color: var(--encre, #2B2320); }
body:not(.woocommerce-page) .elementor-widget-theme-post-content ul,
body:not(.woocommerce-page) .elementor-widget-theme-post-content ol { margin: 0 0 1.3em; padding-left: 1.4em; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content li { margin: 0 0 0.5em; padding-left: 0.2em; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content li > p { margin: 0; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content ul li::marker { color: var(--or, #B08D57); }
body:not(.woocommerce-page) .elementor-widget-theme-post-content ol li::marker { color: var(--bordeaux, #A30046); font-weight: 600; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content figure { margin: 2.2em 0; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: var(--rayon, 4px); }
body:not(.woocommerce-page) .elementor-widget-theme-post-content blockquote {
	margin: 2em 0;
	padding: 0.4em 0 0.4em 1.4em;
	border-left: 3px solid var(--or, #B08D57);
	font-family: var(--police-titre, "Cormorant Garamond"), Georgia, serif;
	font-size: 1.45rem;
	line-height: 1.45;
	font-style: italic;
}
body:not(.woocommerce-page) .elementor-widget-theme-post-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.55; background: #FFFFFF; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content th {
	text-align: left;
	background: var(--beige, #F9EFE0);
	color: var(--encre, #2B2320);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 12px 14px;
	border-bottom: 2px solid var(--or, #B08D57);
}
body:not(.woocommerce-page) .elementor-widget-theme-post-content td { padding: 12px 14px; border-bottom: 1px solid var(--ligne, #E8DCCB); vertical-align: top; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content .vins-lies {
	margin: 2em 0;
	padding: 18px 22px;
	background: var(--beige, #F9EFE0);
	border-left: 3px solid var(--bordeaux, #A30046);
	border-radius: 0 var(--rayon, 4px) var(--rayon, 4px) 0;
	font-size: 16px;
	line-height: 1.7;
}
body:not(.woocommerce-page) .elementor-widget-theme-post-content .vins-lies strong { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bordeaux, #A30046); margin-bottom: 4px; }
@media (max-width: 767px) {
	body:not(.woocommerce-page) .elementor-widget-theme-post-content { font-size: 17px; }
	body:not(.woocommerce-page) .elementor-widget-theme-post-content > * > p:first-child,
	body:not(.woocommerce-page) .elementor-widget-theme-post-content > p:first-child { font-size: 19px; }
}

/* Liens portés par un texte clair (fil d'Ariane des héros, bandeaux bordeaux) */
.texte-clair a.e-paragraph-link-base,
.titre-clair a.e-heading-link-base { color: inherit; }
.texte-clair a.e-paragraph-link-base:hover,
.titre-clair a.e-heading-link-base:hover { color: #FFFFFF; }

/* =====================================================================
   Confort tactile (mobile d'abord) : zones de toucher d'au moins 44 px
   sans changer l'apparence (pseudo-élément invisible)
   ===================================================================== */
a.e-svg-base,
.elementor .lien-fleche { position: relative; }
a.e-svg-base::after {
	content: "";
	position: absolute;
	inset: -11px;
}
.elementor .lien-fleche::after {
	content: "";
	position: absolute;
	inset: -12px -6px;
}
@media (max-width: 767px) {
	.elementor .lien-fleche { font-size: 13px; }
}

/* Champ piège anti-robot (inc/securite-comptes.php) : hors écran, ignoré des lecteurs d'écran */
.rh-piege { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* =====================================================================
   Elementor V4 : le padding par défaut (10 px) des conteneurs s'empile
   (section > boucle > grille > carte) et mange la largeur sur téléphone.
   ===================================================================== */
.elementor .e-con.e-collection-loop-base,
.elementor .e-con.e-collection-loop-layout-base,
.elementor .e-con[data-element_type="e-collection-loop-item"] { padding: 0; }
.elementor .e-con.section:has(> .conteneur) { padding-inline: 0; }

/* =====================================================================
   Carrousels (classe globale « carrousel » + assets/carrousel.js)
   ===================================================================== */
.rh-carrousel { position: relative; width: 100%; }
.carrousel { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carrousel::-webkit-scrollbar { display: none; }
.carrousel > * { flex: 0 0 calc((100% - 3 * 24px) / 4); min-width: 0; scroll-snap-align: start; }
@media (max-width: 1024px) { .carrousel > * { flex-basis: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 767px) { .carrousel > * { flex-basis: 68%; } }
.rh-carrousel-fleche {
	position: absolute;
	top: 42%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--ligne, #E8DCCB) !important;
	border-radius: 50%;
	background: #FFFFFF !important;
	color: var(--bordeaux, #A30046) !important;
	box-shadow: 0 10px 24px -14px rgba(43, 35, 32, 0.45);
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity 0.2s, background-color 0.2s;
}
.rh-carrousel-fleche:hover { background: var(--beige, #F9EFE0) !important; }
.rh-carrousel-fleche:disabled { opacity: 0.35; cursor: default; }
.rh-carrousel-fleche span { display: block; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.rh-carrousel-precedent { left: -22px; }
.rh-carrousel-precedent span { transform: rotate(135deg); margin-left: 4px; }
.rh-carrousel-suivant { right: -22px; }
.rh-carrousel-suivant span { transform: rotate(-45deg); margin-right: 4px; }
@media (max-width: 1280px) { .rh-carrousel-precedent { left: 4px; } .rh-carrousel-suivant { right: 4px; } }
@media (max-width: 767px) { .rh-carrousel-fleche { display: none; } }

/* Menus du pied de page (shortcode [ruhlmann_menu_simple]) */
.elementor-location-footer .elementor-widget-shortcode { width: 100%; }
.rh-menu-pied { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rh-menu-pied a {
	display: inline-block;
	padding: 6px 0;
	color: var(--beige, #F9EFE0);
	font-family: var(--police-texte, "Fira Sans"), Arial, sans-serif;
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 0.2s, color 0.2s;
}
.rh-menu-pied a:hover,
.rh-menu-pied .current-menu-item > a { color: #FFFFFF; opacity: 1; }

/* Bandeau cookies (inc/cookies.php) : carte en bas d'écran, refuser aussi simple qu'accepter */
.rh-cookies {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 99990;
	padding: 18px 18px 16px;
	background: var(--creme, #FDF9F3);
	color: var(--encre, #2B2320);
	border: 1px solid var(--ligne, #E8DCCB);
	border-radius: 6px;
	box-shadow: 0 18px 50px -12px rgba(43, 35, 32, 0.4);
	font-family: var(--police-texte, "Fira Sans"), Arial, sans-serif;
}
.rh-cookies[hidden] { display: none; }
.rh-cookies p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; }
.rh-cookies .rh-cookies-titre {
	margin-bottom: 6px;
	font-family: var(--police-titre, "Cormorant Garamond"), Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
}
.rh-cookies a { color: var(--bordeaux, #A30046); text-decoration: underline; }
.rh-cookies .rh-cookies-etat { font-weight: 500; color: var(--bordeaux, #A30046); }
.rh-cookies-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rh-cookies-boutons button {
	min-height: 46px;
	padding: 10px 14px;
	border: 2px solid var(--bordeaux, #A30046) !important;
	border-radius: 3px;
	background: var(--bordeaux, #A30046) !important;
	color: #FFFFFF !important;
	font: 600 15px/1.2 var(--police-texte, "Fira Sans"), Arial, sans-serif;
	cursor: pointer;
}
.rh-cookies-boutons button:hover { background: #86003A !important; border-color: #86003A !important; }
/* « Personnaliser » : choix par catégorie (mesure d'audience, publicité) */
.rh-cookies .rh-cookies-lien {
	display: block;
	width: 100%;
	min-height: 44px;
	margin-top: 6px;
	padding: 8px;
	border: 0 !important;
	background: none !important;
	color: var(--encre, #2B2320) !important;
	font: 500 14.5px/1.3 var(--police-texte, "Fira Sans"), Arial, sans-serif;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.rh-cookies-perso { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--ligne, #E8DCCB); }
.rh-cookies-perso[hidden] { display: none; }
.rh-cookies-choix { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.rh-cookies-choix input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--bordeaux, #A30046); }
.rh-cookies-choix strong { display: block; font-weight: 600; }
.rh-cookies .rh-cookies-enregistrer {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 2px solid var(--bordeaux, #A30046) !important;
	border-radius: 3px;
	background: #FFFFFF !important;
	color: var(--bordeaux, #A30046) !important;
	font: 600 15px/1.2 var(--police-texte, "Fira Sans"), Arial, sans-serif;
	cursor: pointer;
}
@media (max-width: 767px) {
	.rh-cookies { max-height: calc(100vh - 24px); overflow-y: auto; }
}
@media (min-width: 768px) {
	.rh-cookies { left: 24px; right: auto; bottom: 24px; width: 440px; padding: 22px 24px 20px; }
}

/* Vidéos YouTube : affiche locale, lecteur chargé au clic */
.rh-video {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: #1C1715 !important;
	cursor: pointer;
	overflow: hidden;
}
.rh-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s, opacity 0.3s; opacity: 0.88; }
.rh-video:hover img { transform: scale(1.02); opacity: 1; }
.rh-video-lecture {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-radius: 50%;
	background: var(--bordeaux, #A30046);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s;
}
.rh-video-lecture::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -12px 0 0 -7px;
	border-style: solid;
	border-width: 12px 0 12px 20px;
	border-color: transparent transparent transparent #FFFFFF;
}
.rh-video:hover .rh-video-lecture,
.rh-video:focus-visible .rh-video-lecture { transform: scale(1.08); }
.rh-video-note {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.55);
	color: #FFFFFF;
	font: 400 12.5px/1.3 var(--police-texte, "Fira Sans"), Arial, sans-serif;
	text-align: left;
}

/* Liste des cookies (politique cookies) : tableau sur ordinateur, cartes empilées sur téléphone */
body:not(.woocommerce-page) .elementor-widget-theme-post-content table.rh-tableau-cookies { min-width: 0; margin: 0 0 28px; }
.rh-tableau-cookies th, .rh-tableau-cookies td { padding: 10px 12px; border: 1px solid var(--ligne, #E8DCCB); text-align: left; vertical-align: top; }
.rh-tableau-cookies td:first-child { font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; overflow-wrap: anywhere; }
@media (max-width: 639px) {
	.rh-tableau-cookies thead { display: none; }
	.rh-tableau-cookies, .rh-tableau-cookies tbody, .rh-tableau-cookies tr, .rh-tableau-cookies td { display: block; width: 100%; }
	.rh-tableau-cookies tr { margin-bottom: 12px; border: 1px solid var(--ligne, #E8DCCB); border-radius: 4px; background: #FFFFFF; }
	.rh-tableau-cookies td { border: 0; border-bottom: 1px solid var(--ligne, #E8DCCB); padding: 8px 12px; }
	.rh-tableau-cookies td:last-child { border-bottom: 0; }
	.rh-tableau-cookies td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		font-family: var(--police-texte, "Fira Sans"), Arial, sans-serif;
		font-size: 11.5px;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		color: var(--bordeaux, #A30046);
	}
}

/* Pied de page : titres des listes rendus cliquables par menu.js (repliables sur téléphone seulement) */
.rh-pied-bouton {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: inherit !important;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-align: left;
	cursor: default;
	pointer-events: none;
}
.rh-pied-chevron { display: none; }
.elementor-location-footer [data-id="66270d72"] a { color: var(--beige, #F9EFE0) !important; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 6px 0; }
@media (max-width: 767px) {
	.elementor-location-footer > .e-con:first-child { padding-top: 40px !important; padding-bottom: 16px !important; }
	.elementor-location-footer .grille-4 { gap: 0 !important; }
	.elementor-location-footer .grille-4 > .e-con { padding-inline: 0 !important; }
	.elementor-location-footer .grille-4 > .e-con:first-child { padding-bottom: 24px !important; }
	/* Colonnes suivantes : séparées par un filet, comme une liste */
	.elementor-location-footer .grille-4 > .e-con:not(:first-child) { border-top: 1px solid rgba(249, 239, 224, 0.14); padding-block: 0 !important; gap: 0 !important; }
	.elementor-location-footer .grille-4 > .e-con:not(:first-child):not(.rh-pied-repliable) { padding-block: 16px 18px !important; gap: 6px !important; }
	.elementor-location-footer .grille-4 > .e-con:last-child { border-bottom: 1px solid rgba(249, 239, 224, 0.14); }
	.rh-pied-repliable h2, .rh-pied-repliable h3, .rh-pied-repliable h4 { margin: 0 !important; }
	.rh-pied-bouton { display: flex; width: 100%; min-height: 54px; justify-content: space-between; cursor: pointer; pointer-events: auto; }
	.rh-pied-chevron {
		display: block;
		width: 9px;
		height: 9px;
		margin-right: 6px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-3px) rotate(45deg);
		transition: transform 0.2s;
	}
	.rh-pied-repliable.est-ouvert .rh-pied-chevron { transform: translateY(2px) rotate(-135deg); }
	.rh-js .rh-pied-repliable:not(.est-ouvert) .rh-menu-pied { display: none; }
	.rh-pied-repliable .rh-menu-pied { padding-bottom: 14px; }
	.rh-pied-repliable .rh-menu-pied a { padding: 8px 0; }
}

/* Page 404 (404.php) */
.rh-404 { max-width: 1180px; margin: 0 auto; padding: 56px 16px 72px; }
.rh-404-entete { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.rh-404-sur { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bordeaux, #A30046); }
.rh-404-titre {
	margin: 0 0 16px;
	font-family: var(--police-titre, "Cormorant Garamond"), Georgia, serif;
	font-size: clamp(2.2rem, 7vw, 3.4rem);
	font-weight: 600;
	line-height: 1.1;
	color: var(--encre, #2B2320);
}
.rh-404-texte { margin: 0 0 24px; font-size: 17px; line-height: 1.65; color: var(--texte-doux, #5E5450); }
.rh-404-recherche { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 22px; }
.rh-404-recherche input {
	flex: 1;
	min-width: 0;
	min-height: 50px;
	padding: 0 16px;
	border: 1px solid var(--ligne, #E8DCCB);
	border-radius: var(--rayon, 2px);
	background: #FFFFFF;
	font-size: 16px;
}
.rh-404-recherche button {
	min-height: 50px;
	padding: 0 20px;
	border: 0 !important;
	border-radius: var(--rayon, 2px);
	background: var(--bordeaux, #A30046) !important;
	color: #FFFFFF !important;
	font-weight: 600;
	cursor: pointer;
}
.rh-404-raccourcis { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rh-404-raccourcis a {
	display: inline-block;
	padding: 10px 16px;
	border: 1px solid var(--bordeaux, #A30046);
	border-radius: var(--rayon, 2px);
	color: var(--bordeaux, #A30046);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}
.rh-404-raccourcis a:hover { background: var(--bordeaux, #A30046); color: #FFFFFF; }
.rh-404-vins h2 {
	margin: 0 0 24px;
	text-align: center;
	font-family: var(--police-titre, "Cormorant Garamond"), Georgia, serif;
	font-size: clamp(1.8rem, 5vw, 2.4rem);
	font-weight: 600;
}
.rh-404-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rh-404-grille a {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 18px 12px;
	background: #FFFFFF;
	border: 1px solid var(--ligne, #E8DCCB);
	border-radius: var(--rayon, 2px);
	text-align: center;
	text-decoration: none;
	color: var(--encre, #2B2320);
}
.rh-404-grille img { width: auto; max-width: 100%; height: 200px; object-fit: contain; margin-bottom: 12px; }
.rh-404-nom { font-family: var(--police-titre, "Cormorant Garamond"), Georgia, serif; font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.rh-404-prix { margin-top: 4px; color: var(--bordeaux, #A30046); font-weight: 600; }
@media (min-width: 768px) {
	.rh-404 { padding-top: 88px; }
	.rh-404-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
	.rh-404-grille img { height: 260px; }
}

/* Recherche (search.php) : mêmes bases que la 404 */
.rh-recherche .rh-404-entete { margin-bottom: 40px; }
.rh-recherche .rh-404-vins { margin-bottom: 48px; }
.rh-recherche-pages { max-width: 780px; margin: 0 auto; }
.rh-recherche-pages h2 {
	margin: 0 0 16px;
	font-family: var(--police-titre, "Cormorant Garamond"), Georgia, serif;
	font-size: clamp(1.8rem, 5vw, 2.4rem);
	font-weight: 600;
	text-align: center;
}
.rh-recherche-pages ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne, #E8DCCB); }
.rh-recherche-pages li { border-bottom: 1px solid var(--ligne, #E8DCCB); }
.rh-recherche-pages a { display: grid; gap: 4px; padding: 18px 4px; color: var(--encre, #2B2320); text-decoration: none; }
.rh-recherche-type { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bordeaux, #A30046); }
.rh-recherche-titre { font-family: var(--police-titre, "Cormorant Garamond"), Georgia, serif; font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.rh-recherche-extrait { font-size: 15px; line-height: 1.55; color: var(--texte-doux, #5E5450); }
.rh-recherche-pages a:hover .rh-recherche-titre { color: var(--bordeaux, #A30046); }
.rh-recherche .navigation.pagination { margin-top: 32px; text-align: center; }

/* Bandes de photos (grille de 3 cases ne contenant que des images) : sur téléphone et tablette, mosaïque sur une
   ligne plutôt que trois photos empilées */
@media (max-width: 1024px) {
	.elementor .e-con.grille-3:not(:has(> .e-con > :not(img))) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; }
	.elementor .e-con.grille-3:not(:has(> .e-con > :not(img))) > .e-con { padding: 0 !important; min-width: 0; }
	.elementor .e-con.grille-3:not(:has(> .e-con > :not(img))) img { width: 100%; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; }
}

/* Lettre d'information (inc/lettre.php) : pied de page (fond sombre) et page dédiée */
.rh-lettre { width: 100%; max-width: 420px; }
.rh-lettre-titre { margin: 0 0 6px; font-family: var(--police-titre, "Cormorant Garamond"), Georgia, serif; font-size: 1.35rem; font-weight: 600; }
.rh-lettre-texte { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; }
.rh-lettre-form { display: flex; gap: 8px; margin: 0 0 8px; }
.rh-lettre-form input[type="email"] {
	flex: 1;
	min-width: 0;
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid var(--ligne, #E8DCCB);
	border-radius: var(--rayon, 2px);
	background: #FFFFFF;
	color: var(--encre, #2B2320);
	font-size: 16px;
}
.rh-lettre-form button {
	min-height: 46px;
	padding: 0 16px;
	border: 0 !important;
	border-radius: var(--rayon, 2px);
	background: var(--bordeaux, #A30046) !important;
	color: #FFFFFF !important;
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	cursor: pointer;
}
.rh-lettre-mention { margin: 0; font-size: 12.5px; line-height: 1.5; opacity: 0.8; }
.rh-lettre-mention a { color: inherit; text-decoration: underline; }
.rh-lettre-message { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--rayon, 2px); font-size: 14.5px; line-height: 1.5; }
.rh-lettre-ok { background: #EEF5EC; color: #2F5A2B; }
.rh-lettre-erreur { background: #FBEDEF; color: var(--bordeaux, #A30046); }
.elementor-location-footer .rh-lettre { color: var(--beige, #F9EFE0); }
.elementor-location-footer .rh-lettre-titre { color: #FFFFFF; }
.elementor-location-footer .rh-lettre-form button { background: var(--beige, #F9EFE0) !important; color: var(--bordeaux, #A30046) !important; }
.elementor-location-footer .rh-lettre-form input[type="email"] { border-color: transparent; }
.rh-lettre-page { max-width: 640px; }
.rh-lettre-page > p { font-size: 17px; line-height: 1.65; }
.rh-lettre-page .rh-lettre { max-width: 520px; margin-top: 20px; }

/* Plan du site (inc/plan-du-site.php) : rubriques, puis sous-listes (vins, articles, événements) */
.rh-plan { display: grid; gap: 36px; }
.rh-plan-bloc h2 {
	margin: 0 0 10px !important;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--ligne, #E8DCCB);
	font-family: var(--police-titre, "Cormorant Garamond"), Georgia, serif;
	font-size: 1.75rem;
	color: var(--encre, #2B2320);
}
.rh-plan ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.rh-plan li { margin: 0 !important; padding: 0 !important; }
.rh-plan li::before, .rh-plan li::marker { content: none !important; }
.rh-plan-bloc > ul > li { padding: 7px 0 !important; }
.rh-plan-bloc > ul > li > a { font-weight: 600; color: var(--encre, #2B2320); text-decoration: none; }
.rh-plan a:hover, .rh-plan a:focus-visible { color: var(--bordeaux, #A30046) !important; text-decoration: underline; }
.rh-plan li ul {
	margin: 8px 0 4px !important;
	padding-left: 16px !important;
	border-left: 2px solid var(--beige, #F9EFE0);
	columns: 2;
	column-gap: 28px;
}
.rh-plan li ul li { padding: 3px 0 !important; break-inside: avoid; font-size: 15px; line-height: 1.45; }
.rh-plan li ul a { color: var(--texte-doux, #6B5F59); text-decoration: none; }
@media (max-width: 600px) { .rh-plan li ul { columns: 1; } }
