/* ============================================================
   AUBACH — DESIGN SYSTEM
   Child theme Kadence · aubach.fr
   v1.4.8 — cards + footer + cross-sells
   ------------------------------------------------------------
   Structure :
     0. Tokens
     1. Palette (has-X-color / has-X-background-color)
     2. Layout fullwidth (home)
     3. Base typography (mobile)
     4. Eyebrows, liens, boutons
     5. Sections & composants (mobile)
     6. Kadence header / footer / menu
     7. @media (min-width: 640px)  — tablette basse
     8. @media (min-width: 1024px) — desktop
============================================================ */


/* ------------------------------------------------------------
   0. TOKENS
------------------------------------------------------------ */
:root {
	/* Palette */
	--aubach-navy:          #1B3A6B;
	--aubach-navy-2:        #2E5490;
	--aubach-sky:           #8AAED4;
	--aubach-gold:          #C4A265;
	--aubach-gold-h:        #A88851;
	--aubach-offwhite:      #F4F1EC;
	--aubach-anthracite:    #3D3D3D;
	--aubach-gray:          #6B7280;
	--aubach-white:         #FFFFFF;

	/* Sémantique */
	--aubach-text:          var(--aubach-anthracite);
	--aubach-text-muted:    var(--aubach-gray);
	--aubach-text-on-navy:  rgba(244,241,236,0.92);
	--aubach-border:        rgba(27,58,107,0.12);

	/* Typo */
	--aubach-font-serif:    "Playfair Display", Georgia, serif;
	--aubach-font-sans:     "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--aubach-ls-eyebrow:    0.22em;
	--aubach-ls-cta:        0.14em;

	/* Layout */
	--aubach-container:     1280px;

	/* Motion */
	--aubach-ease:          cubic-bezier(.2,.6,.2,1);
	--aubach-t:             250ms;

	/* Header Kadence (pour scroll-margin-top des ancres) */
	--aubach-header-h:      64px;
}


/* ------------------------------------------------------------
   1. PALETTE — classes générées manuellement
   (WP ne les crée pas pour les palettes custom)
------------------------------------------------------------ */
body .has-aubach-navy-color        { color: var(--aubach-navy) !important; }
body .has-aubach-navy-2-color      { color: var(--aubach-navy-2) !important; }
body .has-aubach-sky-color         { color: var(--aubach-sky) !important; }
body .has-aubach-gold-color        { color: var(--aubach-gold) !important; }
body .has-aubach-offwhite-color    { color: var(--aubach-offwhite) !important; }
body .has-aubach-anthracite-color  { color: var(--aubach-anthracite) !important; }
body .has-aubach-gray-color        { color: var(--aubach-gray) !important; }
body .has-aubach-white-color       { color: var(--aubach-white) !important; }

body .has-aubach-navy-background-color       { background-color: var(--aubach-navy) !important; }
body .has-aubach-navy-2-background-color     { background-color: var(--aubach-navy-2) !important; }
body .has-aubach-sky-background-color        { background-color: var(--aubach-sky) !important; }
body .has-aubach-gold-background-color       { background-color: var(--aubach-gold) !important; }
body .has-aubach-offwhite-background-color   { background-color: var(--aubach-offwhite) !important; }
body .has-aubach-anthracite-background-color { background-color: var(--aubach-anthracite) !important; }
body .has-aubach-gray-background-color       { background-color: var(--aubach-gray) !important; }
body .has-aubach-white-background-color      { background-color: var(--aubach-white) !important; }

body .has-aubach-eyebrow-font-size  { font-size: 0.75rem !important; }
body .has-aubach-caption-font-size  { font-size: 0.8125rem !important; }
body .has-aubach-small-font-size    { font-size: 0.875rem !important; }
body .has-aubach-body-font-size     { font-size: 1rem !important; }
body .has-aubach-h3-font-size       { font-size: 1.375rem !important; }
body .has-aubach-h2-font-size       { font-size: 1.875rem !important; }
body .has-aubach-h1-font-size       { font-size: 2.5rem !important; }


/* ------------------------------------------------------------
   2. LAYOUT FULLWIDTH — casser le conteneur Kadence sur la home
------------------------------------------------------------ */
/* Template "Aubach — Pleine largeur" : pas de wrappers Kadence */
html, body.aubach-template-fullwidth { overflow-x: clip; }

body.aubach-template-fullwidth main.aubach-main,
body.aubach-template-fullwidth .aubach-article {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: var(--aubach-offwhite);
}

/* Sur ce template, les alignfull sont simplement à 100% du viewport */
body.aubach-template-fullwidth .wp-block-group.alignfull,
body.aubach-template-fullwidth .wp-block-cover.alignfull,
body.aubach-template-fullwidth section.alignfull {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* Exception : ne pas casser le header/footer (ils ont aussi .site-container) */
body .site-header .site-container,
body .site-footer .site-container {
	max-width: var(--aubach-container) !important;
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
}

/* Sur la home, une fois que les parents sont tous à 100%,
   les alignfull ont juste besoin d'être 100% de leur parent */
body.home .wp-block-group.alignfull,
body.home .wp-block-cover.alignfull,
body.home section.alignfull,
body.page-id-25 .wp-block-group.alignfull,
body.page-id-25 .wp-block-cover.alignfull,
body.page-id-25 section.alignfull {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box;
}

body.home .wp-block-group.alignfull,
body.home .wp-block-cover.alignfull,
body.page-id-25 .wp-block-group.alignfull,
body.page-id-25 .wp-block-cover.alignfull {
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

/* Ancres : scroll tient compte du header fixe Kadence */
html { scroll-behavior: smooth; }
:target, [id] { scroll-margin-top: calc(var(--aubach-header-h) + 1rem); }


/* ------------------------------------------------------------
   3. BASE — mobile-first
------------------------------------------------------------ */
html body {
	background: var(--aubach-offwhite);
	color: var(--aubach-text);
	font-family: var(--aubach-font-sans);
	font-size: 16px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body p {
	font-size: 1rem;
	line-height: 1.7;
	margin: 0 0 1em;
}

body p:last-child { margin-bottom: 0; }

body a {
	color: var(--aubach-navy);
	text-decoration: none;
	transition: color var(--aubach-t) var(--aubach-ease);
}

body a:hover,
body a:focus { color: var(--aubach-gold); }

body ::selection {
	background: var(--aubach-gold);
	color: var(--aubach-offwhite);
}

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


/* ------------------------------------------------------------
   4. TITRES — mobile
------------------------------------------------------------ */
body h1, body h2, body h3, body h4, body h5, body h6,
body .wp-block-heading {
	font-family: var(--aubach-font-serif) !important;
	font-weight: 400 !important;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: inherit;
	margin: 0 0 0.75em;
}

body h1, body h1.wp-block-heading { font-size: 2.25rem !important; line-height: 1.15; } /* 36 */
body h2, body h2.wp-block-heading { font-size: 1.875rem !important; }                   /* 30 */
body h3, body h3.wp-block-heading { font-size: 1.375rem !important; line-height: 1.3; } /* 22 */
body h4, body h4.wp-block-heading { font-size: 1.125rem !important; }
body h5, body h5.wp-block-heading { font-size: 1rem !important; }
body h6, body h6.wp-block-heading { font-size: 0.9375rem !important; }

/* Filet or sous H2 */
body h2.wp-block-heading::after {
	content: "";
	display: block;
	width: 48px;
	height: 1px;
	background: var(--aubach-gold);
	margin-top: 1.25rem;
}

body h2.wp-block-heading.has-text-align-center::after {
	margin-left: auto;
	margin-right: auto;
}


/* ------------------------------------------------------------
   5. EYEBROWS
------------------------------------------------------------ */
body .is-style-aubach-eyebrow {
	display: inline-flex !important;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--aubach-font-sans) !important;
	font-size: 0.6875rem !important;
	font-weight: 500 !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-eyebrow);
	color: var(--aubach-gold) !important;
	line-height: 1;
	margin: 0 0 1.25rem !important;
}

body .is-style-aubach-eyebrow::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 1px;
	background: var(--aubach-gold);
	flex-shrink: 0;
}

body .is-style-aubach-eyebrow.has-text-align-center {
	display: flex !important;
	justify-content: center;
	align-items: center;
}

body .is-style-aubach-eyebrow.has-text-align-center::before,
body .is-style-aubach-eyebrow.has-text-align-center::after {
	content: "";
	width: 24px;
	height: 1px;
	background: var(--aubach-gold);
	display: inline-block;
}


/* ------------------------------------------------------------
   6. BOUTONS — touch-friendly (44px min)
------------------------------------------------------------ */
body .wp-block-button__link,
body .wp-block-button .wp-element-button {
	border-radius: 0 !important;
	font-family: var(--aubach-font-sans) !important;
	font-size: 0.75rem !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-cta);
	font-weight: 500 !important;
	padding: 16px 28px !important; /* 44px mini vertical */
	line-height: 1.2;
	min-height: 44px;
	transition: background-color var(--aubach-t) var(--aubach-ease),
	            color var(--aubach-t) var(--aubach-ease),
	            border-color var(--aubach-t) var(--aubach-ease);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Primaire outline or (par défaut) */
body .wp-block-button:not(.is-style-aubach-filled):not(.is-style-aubach-text) .wp-block-button__link {
	background: transparent !important;
	color: var(--aubach-gold) !important;
	border: 1px solid var(--aubach-gold) !important;
}

body .wp-block-button:not(.is-style-aubach-filled):not(.is-style-aubach-text) .wp-block-button__link:hover,
body .wp-block-button:not(.is-style-aubach-filled):not(.is-style-aubach-text) .wp-block-button__link:focus {
	background: var(--aubach-gold) !important;
	color: var(--aubach-navy) !important;
}

/* Plein navy */
body .wp-block-button.is-style-aubach-filled .wp-block-button__link {
	background: var(--aubach-navy) !important;
	color: var(--aubach-offwhite) !important;
	border: 1px solid var(--aubach-navy) !important;
}

body .wp-block-button.is-style-aubach-filled .wp-block-button__link:hover {
	background: var(--aubach-navy-2) !important;
	border-color: var(--aubach-navy-2) !important;
}

/* Lien texte avec filet */
body .wp-block-button.is-style-aubach-text .wp-block-button__link {
	background: transparent !important;
	color: var(--aubach-navy) !important;
	border: 0 !important;
	padding: 10px 0 !important;
	min-height: auto;
	position: relative;
}

body .wp-block-button.is-style-aubach-text .wp-block-button__link::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 2px;
	height: 1px;
	background: currentColor;
}

body .wp-block-button.is-style-aubach-text .wp-block-button__link:hover { color: var(--aubach-gold) !important; }

/* Lien texte sur fond sombre */
body .wp-block-cover .wp-block-button.is-style-aubach-text .wp-block-button__link,
body .aubach-section-navy .wp-block-button.is-style-aubach-text .wp-block-button__link {
	color: var(--aubach-offwhite) !important;
}


/* ------------------------------------------------------------
   7. SECTIONS — padding mobile généreux mais mesuré
------------------------------------------------------------ */
body .wp-block-group.alignfull,
body .wp-block-cover.alignfull {
	padding: 4rem 0;
}

body .wp-block-group.alignfull > *:not(.wp-block-cover__background):not(.wp-block-cover__image-background),
body .wp-block-cover.alignfull .wp-block-cover__inner-container {
	max-width: var(--aubach-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	box-sizing: border-box;
}

/* Colonnes mobile = stack vertical avec gap */
body .wp-block-columns { gap: 2.5rem; }
body .wp-block-columns.is-not-stacked-on-mobile,
body .wp-block-column { flex-basis: 100% !important; }

/* Fond navy */
body .aubach-section-navy {
	background: var(--aubach-navy) !important;
	color: var(--aubach-text-on-navy);
}

body .aubach-section-navy h1,
body .aubach-section-navy h2,
body .aubach-section-navy h3,
body .aubach-section-navy .wp-block-heading { color: var(--aubach-offwhite) !important; }

body .aubach-section-navy p { color: var(--aubach-text-on-navy); }


/* ------------------------------------------------------------
   8. HERO COVER
------------------------------------------------------------ */
body .wp-block-cover.aubach-hero {
	min-height: 80vh !important;
	padding: 0 !important;
}

body .wp-block-cover.aubach-hero .wp-block-cover__inner-container {
	padding: 3rem 1.25rem;
	max-width: var(--aubach-container);
	margin: 0 auto;
}

body .wp-block-cover.aubach-hero h1.wp-block-heading {
	font-size: 2.5rem !important;
	color: var(--aubach-offwhite) !important;
	margin-bottom: 1.25rem;
	max-width: 14ch;
	margin-left: auto;
	margin-right: auto;
}

body .wp-block-cover.aubach-hero h1.wp-block-heading::after { display: none; }

body .wp-block-cover.aubach-hero p:not(.is-style-aubach-eyebrow) {
	font-size: 1.0625rem !important;
	color: var(--aubach-text-on-navy) !important;
	max-width: 46ch;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2rem;
}

body .wp-block-cover.aubach-hero .wp-block-buttons { margin-top: 2rem !important; }


/* ------------------------------------------------------------
   9. SPLIT SECTIONS 50/50 (image bleed + texte)
------------------------------------------------------------ */
body .aubach-split {
	padding: 0 !important;
	overflow: hidden;
}

/* WP Gutenberg insère automatiquement un .wp-block-group__inner-container
   avec la classe .is-layout-flow, qui applique max-width à tous ses enfants.
   On neutralise pour les sections split. */
body .aubach-split > .wp-block-group__inner-container,
body .aubach-split .wp-block-group__inner-container,
body .aubach-split .is-layout-flow {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

body .aubach-split .wp-block-group__inner-container > *,
body .aubach-split .is-layout-flow > * {
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body .aubach-split > .wp-block-columns,
body .aubach-split > .wp-block-columns.are-vertically-aligned-stretch,
body .aubach-split .wp-block-columns {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	gap: 0 !important;
	flex-wrap: wrap;
}

body .aubach-split .wp-block-column {
	padding: 0 !important;
	margin: 0 !important;
	flex-basis: 100% !important;
}

@media (min-width: 768px) {
	body .aubach-split .wp-block-column { flex-basis: 50% !important; flex-grow: 0; }
}

body .aubach-split .aubach-split-image {
	padding: 0 !important;
	display: flex;
	overflow: hidden;
}

body .aubach-split .aubach-split-image .wp-block-image,
body .aubach-split .aubach-split-image figure {
	margin: 0 !important;
	width: 100%;
}

body .aubach-split .aubach-split-image img {
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
	display: block;
}

body .aubach-split .aubach-split-text {
	padding: 3rem 1.5rem !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
}


/* ------------------------------------------------------------
   10. CARTES PRODUIT (legacy — conservé pour futures pages)
------------------------------------------------------------ */
body .aubach-product-card {
	background: var(--aubach-white);
	border: 1px solid var(--aubach-border);
	display: flex;
	flex-direction: column;
	transition: border-color var(--aubach-t) var(--aubach-ease);
}

body .aubach-product-card__header {
	padding: 2.5rem 1.5rem !important;
	min-height: 140px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: var(--aubach-offwhite) !important;
}

body .aubach-product-card__header::before {
	content: "";
	position: absolute;
	top: 0; left: 1.5rem;
	width: 28px; height: 1px;
	background: var(--aubach-gold);
}

body .aubach-product-card__badge {
	font-size: 0.6875rem !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-eyebrow);
	font-weight: 500;
	color: var(--aubach-gold) !important;
	margin: 0 0 0.75rem !important;
}

body .aubach-product-card h3.aubach-product-card__name,
body .aubach-product-card__name {
	font-family: var(--aubach-font-serif) !important;
	font-size: 1.625rem !important;
	color: var(--aubach-offwhite) !important;
	margin: 0 !important;
	line-height: 1.2;
}

body .aubach-product-card h3.wp-block-heading::after { display: none !important; }

body .aubach-product-card__body {
	padding: 1.75rem 1.5rem !important;
	flex: 1;
	display: flex;
	flex-direction: column;
}

body .aubach-product-card__body p { font-size: 0.9375rem; line-height: 1.65; }

body .aubach-product-card__body .has-aubach-caption-font-size {
	color: var(--aubach-text-muted) !important;
	letter-spacing: 0.04em;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--aubach-border);
	margin-bottom: 1rem !important;
}


/* ------------------------------------------------------------
   10. FIGURES / IMAGES
------------------------------------------------------------ */
body figure.wp-block-image,
body .wp-block-image img { border-radius: 0 !important; }

body figcaption,
body .wp-block-image figcaption {
	font-size: 0.8125rem;
	color: var(--aubach-text-muted);
	margin-top: 0.625rem;
	text-align: center;
	font-style: italic;
}


/* ------------------------------------------------------------
   11. HEADER KADENCE
------------------------------------------------------------ */
body .site-header-wrap,
body .site-header-main-inner-wrap,
body .site-header-main-section {
	background: var(--aubach-navy) !important;
}

body .site-branding .site-title,
body .site-branding a.brand .site-title {
	font-family: var(--aubach-font-serif) !important;
	font-weight: 400 !important;
	color: var(--aubach-gold) !important;
	font-size: 1.125rem;
	letter-spacing: 0.02em;
}

body .header-navigation .menu > .menu-item > a,
body .site-header-item .header-navigation ul li a {
	font-family: var(--aubach-font-sans) !important;
	font-size: 0.75rem !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-cta);
	font-weight: 500 !important;
	color: var(--aubach-offwhite) !important;
	opacity: 0.9;
	transition: opacity var(--aubach-t), color var(--aubach-t);
	padding: 0.875rem 1rem !important;
}

body .header-navigation .menu > .menu-item > a:hover,
body .header-navigation .menu > .menu-item.current-menu-item > a {
	color: var(--aubach-gold) !important;
	opacity: 1;
}

/* Sous-menus : Kadence applique par défaut fond navy + texte blanc,
   on force le fond clair Aubach avec texte anthracite bien lisible.
   Sélecteurs plus forts que Kadence pour gagner en spécificité. */
body .header-navigation .header-menu-container ul ul.sub-menu,
body .header-navigation .header-menu-container ul ul.submenu,
body .header-navigation .sub-menu,
body #masthead .sub-menu {
	background: var(--aubach-offwhite) !important;
	border: 1px solid var(--aubach-border) !important;
	box-shadow: 0 6px 24px rgba(27,58,107,0.08) !important;
	padding: 0.5rem 0 !important;
	border-radius: 0 !important;
}

body .header-navigation .header-menu-container ul ul li.menu-item,
body .header-navigation .sub-menu li.menu-item {
	border-bottom: 0 !important;
	background: transparent !important;
}

body .header-navigation .header-menu-container ul ul li.menu-item > a,
body .header-navigation .sub-menu li a,
body #masthead .sub-menu li a {
	color: var(--aubach-text) !important;
	font-size: 0.8125rem !important;
	background: transparent !important;
	padding: 0.75rem 1.25rem !important;
	width: 220px !important;
	letter-spacing: 0.08em;
	opacity: 1 !important;
	text-transform: uppercase;
	font-weight: 500;
}

body .header-navigation .header-menu-container ul ul li.menu-item > a:hover,
body .header-navigation .header-menu-container ul ul li.menu-item.current-menu-item > a,
body .header-navigation .sub-menu li a:hover,
body #masthead .sub-menu li a:hover {
	color: var(--aubach-gold) !important;
	background: rgba(196,162,101,0.08) !important;
}


/* ------------------------------------------------------------
   12. FOOTER KADENCE
------------------------------------------------------------ */
body .site-footer,
body .site-footer-wrap,
body #colophon {
	background: var(--aubach-anthracite) !important;
	color: var(--aubach-text-on-navy);
}

/* Masque le crédit "Thème WordPress par Kadence WP" */
body .site-footer .site-info .powered-by-kadence-theme,
body .site-footer .site-info a[href*="kadencewp"] {
	display: none !important;
}

body .site-footer .site-info {
	font-size: 0.75rem !important;
	color: rgba(244,241,236,0.4) !important;
	text-align: center;
	padding: 2rem 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
	border-top: 1px solid rgba(244,241,236,0.08);
	letter-spacing: 0.04em;
}

/* Cache le texte "- Thème WordPress par" via une astuce :
   on met le texte du footer_html_content en display:none et on affiche
   notre propre copyright via ::before */
body .site-footer .site-info {
	font-size: 0 !important;
}
body .site-footer .site-info a { font-size: 0 !important; }
body .site-footer .site-info::before {
	content: "© 2026 Aubach — Domaine viticole, Scherwiller, Alsace";
	font-size: 0.75rem;
	color: rgba(244,241,236,0.4);
	display: block;
}

/* Footer menu : afficher le menu 20 comme rangée de liens en pied de page */
body .site-footer-wrap {
	padding-top: 3rem !important;
}

/* Injection visuelle du menu footer via ses items (s'ils sont rendus par Kadence) */
body .site-footer .footer-navigation,
body .site-footer nav.footer-navigation-wrap {
	padding: 2rem 1.5rem;
	text-align: center;
	max-width: 1200px;
	margin: 0 auto;
}

body .site-footer .footer-navigation ul,
body .site-footer nav.footer-navigation-wrap ul {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 2rem;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body .site-footer .footer-navigation ul li,
body .site-footer nav.footer-navigation-wrap ul li {
	margin: 0 !important;
}

body .site-footer .footer-navigation ul li a,
body .site-footer nav.footer-navigation-wrap ul li a {
	font-family: var(--aubach-font-sans) !important;
	font-size: 0.75rem !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-cta);
	color: rgba(244,241,236,0.65) !important;
	text-decoration: none;
	transition: color var(--aubach-t) var(--aubach-ease);
}

body .site-footer .footer-navigation ul li a:hover,
body .site-footer nav.footer-navigation-wrap ul li a:hover {
	color: var(--aubach-gold) !important;
}

body .site-footer a {
	color: rgba(244,241,236,0.55) !important;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-cta);
}

body .site-footer a:hover { color: var(--aubach-gold) !important; }

body .site-footer .site-info {
	font-size: 0.75rem;
	color: rgba(244,241,236,0.4) !important;
}


/* ------------------------------------------------------------
   13. FORMULAIRES
------------------------------------------------------------ */
body input[type="text"],
body input[type="email"],
body input[type="tel"],
body input[type="url"],
body input[type="search"],
body input[type="number"],
body input[type="password"],
body textarea,
body select {
	background: var(--aubach-white) !important;
	border: 1px solid var(--aubach-border) !important;
	border-radius: 0 !important;
	color: var(--aubach-text) !important;
	font-family: var(--aubach-font-sans) !important;
	font-size: 1rem !important;
	padding: 14px 16px !important;
	width: 100%;
	box-shadow: none !important;
	transition: border-color var(--aubach-t) var(--aubach-ease);
}

body input:focus,
body textarea:focus,
body select:focus {
	border-color: var(--aubach-gold) !important;
	outline: 0 !important;
}


/* ------------------------------------------------------------
   14.0 HEADER — icones Mon Compte + Panier via classes menu
   Classes a ajouter dans l'item de menu (Apparence > Menus > Options
   d'ecran > CSS Classes) : "menu-icon-account" ou "menu-icon-cart".
------------------------------------------------------------ */
body .menu-icon-account > a,
body .menu-icon-cart > a,
body li.menu-icon-account > a,
body li.menu-icon-cart > a {
	display: inline-flex !important;
	align-items: center;
	gap: 0 !important;
	font-size: 0 !important; /* masque le texte, on ne garde que l'icone */
	color: transparent !important;
	text-indent: -9999px;
	width: 44px;
	height: 44px;
	justify-content: center;
	padding: 0 !important;
	overflow: hidden;
}

body .menu-icon-account > a span,
body .menu-icon-cart > a span,
body li.menu-icon-account > a *,
body li.menu-icon-cart > a * {
	font-size: 0 !important;
	color: transparent !important;
}

body .menu-icon-account > a::before,
body .menu-icon-cart > a::before {
	content: "";
	display: block !important;
	width: 22px;
	height: 22px;
	background-color: var(--aubach-offwhite); /* couleur fixe, pas currentColor (qui vaut transparent ici) */
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	text-indent: 0;
	transition: background-color var(--aubach-t) var(--aubach-ease);
	opacity: 0.9;
}

body .menu-icon-account > a:hover::before,
body .menu-icon-cart > a:hover::before,
body .menu-icon-account.current-menu-item > a::before,
body .menu-icon-cart.current-menu-item > a::before {
	background-color: var(--aubach-gold);
	opacity: 1;
}

body .menu-icon-account > a::before {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
}

body .menu-icon-cart > a::before {
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/><path d='M3 6h18'/><path d='M16 10a4 4 0 0 1-8 0'/></svg>");
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/><path d='M3 6h18'/><path d='M16 10a4 4 0 0 1-8 0'/></svg>");
}


/* ------------------------------------------------------------
   14.a WOOCOMMERCE — quick-info + boutons qty +/- + add-to-cart
------------------------------------------------------------ */
/* Form cart : quantité + bouton Ajouter au panier sur la MÊME LIGNE */
body .woocommerce div.product form.cart {
	display: flex !important;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
	margin: 1.5rem 0 2rem !important;
}

body .woocommerce div.product form.cart .button,
body .woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 200px;
	font-family: var(--aubach-font-sans) !important;
	font-size: 0.75rem !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-cta);
	padding: 14px 28px !important;
	border-radius: 0 !important;
	background: var(--aubach-navy) !important;
	color: var(--aubach-offwhite) !important;
	border: 1px solid var(--aubach-navy) !important;
	font-weight: 500 !important;
	transition: background var(--aubach-t) var(--aubach-ease) !important;
}

body .woocommerce div.product form.cart .single_add_to_cart_button:hover {
	background: var(--aubach-navy-2) !important;
	border-color: var(--aubach-navy-2) !important;
}

body .woocommerce div.product form.cart div.quantity,
body .woocommerce .quantity {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--aubach-border);
	margin: 0 !important;
	overflow: hidden;
	flex: 0 0 auto;
}

body .woocommerce div.product form.cart .quantity input.qty,
body .woocommerce .quantity input.qty {
	width: 56px !important;
	min-height: 48px;
	padding: 12px 0 !important;
	border: 0 !important;
	text-align: center;
	font-family: var(--aubach-font-sans) !important;
	font-size: 1rem !important;
	-moz-appearance: textfield;
	background: var(--aubach-white);
}
body .woocommerce .quantity input.qty::-webkit-outer-spin-button,
body .woocommerce .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

body .aubach-qty-btn {
	width: 48px;
	height: 48px;
	border: 0 !important;
	background: transparent !important;
	color: var(--aubach-navy) !important;
	font-family: var(--aubach-font-sans);
	font-size: 1.125rem;
	line-height: 1;
	cursor: pointer;
	font-weight: 400;
	transition: background var(--aubach-t), color var(--aubach-t);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	box-shadow: none !important;
}

body .aubach-qty-btn:hover,
body .aubach-qty-btn:focus {
	background: var(--aubach-navy) !important;
	color: var(--aubach-offwhite) !important;
	outline: 0;
}

body .aubach-qty-minus { border-right: 1px solid var(--aubach-border) !important; }
body .aubach-qty-plus  { border-left:  1px solid var(--aubach-border) !important; }


/* Quick-info panel (après Ajouter au panier) : 2 colonnes T°service / Garde */
body .aubach-quick-info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border-top: 1px solid var(--aubach-border);
	border-bottom: 1px solid var(--aubach-border);
	margin: 1.5rem 0;
	padding: 0;
}

body .aubach-quick-info__item {
	padding: 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

body .aubach-quick-info__item:first-child {
	border-right: 1px solid var(--aubach-border);
}

body .aubach-quick-info__label {
	font-family: var(--aubach-font-sans);
	font-size: 0.6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-eyebrow);
	color: var(--aubach-gold);
	line-height: 1;
}

body .aubach-quick-info__value {
	font-family: var(--aubach-font-serif);
	font-size: 1.0625rem;
	color: var(--aubach-navy);
	line-height: 1.3;
}

/* Accords mets-vins */
body .aubach-accords {
	margin: 1.5rem 0;
	padding: 1.25rem 1.5rem;
	background: var(--aubach-offwhite);
	border-left: 2px solid var(--aubach-gold);
}

body .aubach-accords__label {
	display: block;
	font-family: var(--aubach-font-sans);
	font-size: 0.6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-eyebrow);
	color: var(--aubach-gold);
	margin-bottom: 0.5rem;
}

body .aubach-accords__text {
	font-family: var(--aubach-font-serif);
	font-size: 1.0625rem;
	color: var(--aubach-text);
	margin: 0 !important;
	line-height: 1.55;
}


/* Produits liés / Upsells / Cross-sells : style Aubach */
body .related.products,
body .upsells.products,
body .cross-sells {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid var(--aubach-border);
}

body .related.products > h2,
body .upsells.products > h2,
body .cross-sells > h2 {
	font-family: var(--aubach-font-serif) !important;
	font-size: 1.75rem !important;
	font-weight: 400 !important;
	text-align: center;
	margin: 0 0 2.5rem !important;
	color: var(--aubach-navy);
}

body .related.products > h2::after,
body .upsells.products > h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 1px;
	background: var(--aubach-gold);
	margin: 1rem auto 0;
}

body .woocommerce ul.products {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding: 0 !important;
	list-style: none;
	margin: 0 !important;
}

@media (min-width: 640px) {
	body .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	body .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); }
}

body .woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	background: var(--aubach-white);
	border: 1px solid var(--aubach-border);
	transition: border-color var(--aubach-t) var(--aubach-ease);
}

body .woocommerce ul.products li.product:hover { border-color: var(--aubach-gold); }

body .woocommerce ul.products li.product a { text-decoration: none; }

body .woocommerce ul.products li.product img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	margin: 0 !important;
}

body .woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 1.25rem 1.25rem 0 !important;
	font-family: var(--aubach-font-serif) !important;
	font-size: 1.125rem !important;
	font-weight: 400 !important;
	color: var(--aubach-navy);
	line-height: 1.3;
}

body .woocommerce ul.products li.product .price {
	padding: 0 1.25rem 1.25rem !important;
	color: var(--aubach-navy) !important;
	font-family: var(--aubach-font-sans);
	font-size: 0.9375rem !important;
	font-weight: 500;
}

body .woocommerce ul.products li.product .button {
	margin: 0 1.25rem 1.25rem !important;
	width: calc(100% - 2.5rem);
}


/* ------------------------------------------------------------
   13.b ARTICLES BLOG — mise en forme \u00e9ditoriale
------------------------------------------------------------ */

/* Masque la navigation prev/next (lien tout seul moche) */
body.single-post .post-navigation,
body.single-post .navigation.post-navigation {
	display: none !important;
}

/* Masque la zone commentaires (pas actif pour l'instant) */
body.single-post #comments,
body.single-post .comments-area,
body.single-post #respond {
	display: none !important;
}

/* Related posts : style carte Aubach */
body.single-post .entry-related {
	background: var(--aubach-offwhite);
	padding: 5rem 1.5rem 4rem;
	margin-top: 4rem;
	border-top: 1px solid var(--aubach-border);
}

body.single-post .entry-related h2,
body.single-post .entry-related .related-title,
body.single-post .entry-related > h2:first-child {
	text-align: center !important;
	font-family: var(--aubach-font-serif) !important;
	font-weight: 400 !important;
	font-size: 1.75rem !important;
	color: var(--aubach-navy) !important;
	margin: 0 0 3rem !important;
	position: relative;
}

body.single-post .entry-related > h2:first-child::after {
	content: "";
	display: block;
	width: 48px;
	height: 1px;
	background: var(--aubach-gold);
	margin: 1rem auto 0;
}

/* Grille des cartes related */
body.single-post .entry-related .related-posts-items,
body.single-post .entry-related > .loop-entry {
	max-width: 1100px;
	margin: 0 auto;
}

body.single-post .entry-related:not(.related-posts-items) {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	body.single-post .entry-related {
		grid-template-columns: repeat(3, 1fr);
	}
}

body.single-post .entry-related .loop-entry {
	background: var(--aubach-white) !important;
	border: 1px solid var(--aubach-border) !important;
	box-shadow: none !important;
	transition: border-color var(--aubach-t) var(--aubach-ease);
	margin: 0 !important;
}

body.single-post .entry-related .loop-entry:hover {
	border-color: var(--aubach-gold) !important;
}

body.single-post .entry-related .loop-entry .entry-content-wrap {
	padding: 1.5rem !important;
}

body.single-post .entry-related .loop-entry h2 {
	font-family: var(--aubach-font-serif) !important;
	font-size: 1.125rem !important;
	font-weight: 400 !important;
	margin: 0 0 0.5rem !important;
	line-height: 1.3 !important;
}

body.single-post .entry-related .loop-entry h2::after { display: none !important; }

body.single-post .entry-related .entry-meta,
body.single-post .entry-related .entry-summary {
	font-size: 0.8125rem;
	color: var(--aubach-text-muted);
}

/* --- Mise en forme \u00e9ditoriale : lead paragraph + callouts --- */

/* Lead paragraph : premier p apr\u00e8s le hero dans un article */
body.single-post .entry-content > .wp-block-cover + .wp-block-group p:first-of-type,
body .aubach-lead {
	font-family: var(--aubach-font-serif);
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--aubach-navy);
	font-weight: 400;
	margin-bottom: 2.5rem !important;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--aubach-border);
}

/* Callout "\u00c0 retenir" - fond or transparent + filet or gauche */
body .aubach-callout,
body .wp-block-group.aubach-callout {
	background: rgba(196, 162, 101, 0.08) !important;
	border-left: 3px solid var(--aubach-gold) !important;
	padding: 2rem 2.5rem !important;
	margin: 3rem 0 !important;
}

body .aubach-callout > *:first-child {
	margin-top: 0 !important;
}

body .aubach-callout > *:last-child {
	margin-bottom: 0 !important;
}

body .aubach-callout .aubach-callout__label,
body .aubach-callout p:first-child strong:first-child {
	display: block;
	font-family: var(--aubach-font-sans);
	font-size: 0.6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-eyebrow);
	color: var(--aubach-gold);
	margin-bottom: 0.75rem;
}

/* Info box navy fond sombre */
body .aubach-info-box,
body .wp-block-group.aubach-info-box {
	background: var(--aubach-navy) !important;
	color: var(--aubach-text-on-navy) !important;
	padding: 2.5rem !important;
	margin: 3rem 0 !important;
}

body .aubach-info-box h3,
body .aubach-info-box .wp-block-heading {
	color: var(--aubach-gold) !important;
	font-family: var(--aubach-font-sans) !important;
	font-size: 0.75rem !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-eyebrow);
	font-weight: 500 !important;
	margin: 0 0 1rem !important;
}

body .aubach-info-box h3::after { display: none !important; }

body .aubach-info-box p {
	color: var(--aubach-text-on-navy) !important;
	margin-bottom: 1em !important;
}

body .aubach-info-box p:last-child { margin-bottom: 0 !important; }

/* Key fact : grand chiffre encadr\u00e9 */
body .aubach-key-fact {
	background: var(--aubach-white) !important;
	border: 1px solid var(--aubach-border) !important;
	padding: 2rem !important;
	text-align: center;
	margin: 3rem 0 !important;
}

body .aubach-key-fact h3,
body .aubach-key-fact .wp-block-heading {
	font-family: var(--aubach-font-serif) !important;
	font-size: 2.75rem !important;
	color: var(--aubach-navy) !important;
	line-height: 1 !important;
	margin: 0 0 0.75rem !important;
	font-weight: 400 !important;
}

body .aubach-key-fact h3::after { display: none !important; }

body .aubach-key-fact p {
	font-family: var(--aubach-font-sans) !important;
	font-size: 0.75rem !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-eyebrow);
	color: var(--aubach-text-muted) !important;
	margin: 0 !important;
}

/* Listes num\u00e9rot\u00e9es stylis\u00e9es (pour articles "8 idees simples" etc.) */
body .aubach-steps {
	counter-reset: aubach-step;
	margin: 2rem 0;
}

body .aubach-steps > .wp-block-group {
	position: relative;
	padding: 1.5rem 1.5rem 1.5rem 5rem;
	margin: 1.5rem 0 !important;
	background: var(--aubach-white);
	border: 1px solid var(--aubach-border);
	counter-increment: aubach-step;
}

body .aubach-steps > .wp-block-group::before {
	content: counter(aubach-step, decimal-leading-zero);
	position: absolute;
	left: 1.5rem;
	top: 1.5rem;
	font-family: var(--aubach-font-serif);
	font-size: 1.5rem;
	color: var(--aubach-gold);
	line-height: 1;
}

body .aubach-steps > .wp-block-group h3 {
	margin: 0 0 0.5rem !important;
	font-size: 1.25rem !important;
}

body .aubach-steps > .wp-block-group h3::after { display: none !important; }

body .aubach-steps > .wp-block-group p:last-child {
	margin-bottom: 0 !important;
}

/* Article footer : tags + partage */
body.single-post .entry-taxonomies,
body.single-post .entry-meta {
	max-width: 760px;
	margin: 3rem auto 0;
	padding: 2rem 1.5rem 0;
	border-top: 1px solid var(--aubach-border);
}

body.single-post .entry-meta .entry-meta-divider { display: none; }

body.single-post .entry-taxonomies a,
body.single-post .entry-meta a {
	font-family: var(--aubach-font-sans);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-cta);
	color: var(--aubach-gold) !important;
	padding: 4px 12px;
	border: 1px solid var(--aubach-gold);
	margin-right: 0.5rem;
	transition: all var(--aubach-t) var(--aubach-ease);
}

body.single-post .entry-taxonomies a:hover,
body.single-post .entry-meta a:hover {
	background: var(--aubach-gold);
	color: var(--aubach-navy) !important;
}


/* ------------------------------------------------------------
   14.c WOOCOMMERCE — Pages Mon compte / Panier / Boutique / Login
   CSS uniquement, pas de template override.
------------------------------------------------------------ */

/* Wrapper WC global : padding aéré sur ces pages */
body.woocommerce-account .woocommerce,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-page .woocommerce {
	max-width: 1280px;
	margin: 4rem auto;
	padding: 0 1.5rem;
}

/* --- MON COMPTE — Layout propre : header + tabs + content unifiés --- */

/* Kill grid/columns de Kadence/WC pour empiler en vertical */
body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce > .u-columns,
body.woocommerce-account .woocommerce-MyAccount-wrapper,
body.woocommerce-account #primary .u-columns {
	display: block !important;
	grid-template-columns: none !important;
	max-width: 1100px !important;
	margin: 3rem auto !important;
	padding: 0 1.5rem !important;
	gap: 0 !important;
}

/* Greeting header (première ligne "Bonjour Valentin...") dans content */
body.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
	font-family: var(--aubach-font-serif);
	font-size: 1.375rem;
	color: var(--aubach-navy);
	line-height: 1.4;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--aubach-border);
	margin-bottom: 1.75rem !important;
}

/* Navigation : vraie ligne horizontale, nowrap forcé, scroll si besoin */
body.woocommerce-account .woocommerce-MyAccount-navigation {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--aubach-offwhite) !important;
	border: 1px solid var(--aubach-border) !important;
	border-bottom: none !important;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	gap: 0 !important;
	width: max-content !important;
	min-width: 100% !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 auto !important;
	background: transparent !important;
	border: none !important;
	border-right: 1px solid var(--aubach-border) !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
	border-right: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block !important;
	padding: 1.125rem 1.75rem !important;
	font-family: var(--aubach-font-sans) !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-cta);
	color: var(--aubach-text) !important;
	background: transparent !important;
	white-space: nowrap !important;
	border: 0 !important;
	border-bottom: 3px solid transparent !important;
	transition: all var(--aubach-t) var(--aubach-ease);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	color: var(--aubach-navy) !important;
	background: rgba(27,58,107,0.04) !important;
	padding-left: 1.75rem !important; /* annule anim padding de versions precedentes */
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	color: var(--aubach-navy) !important;
	background: var(--aubach-white) !important;
	border-bottom-color: var(--aubach-gold) !important;
	font-weight: 600 !important;
}

/* Content area : carte blanche bordurée, continue avec la nav */
body.woocommerce-account .woocommerce-MyAccount-content {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	background: var(--aubach-white) !important;
	border: 1px solid var(--aubach-border) !important;
	padding: 2.5rem !important;
	margin: 0 !important;
}

/* Headings dans le content */
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
	font-family: var(--aubach-font-serif) !important;
	font-weight: 400 !important;
	color: var(--aubach-navy) !important;
	margin-top: 0 !important;
}

/* Form fields labels */
body.woocommerce-account .woocommerce-MyAccount-content label {
	font-family: var(--aubach-font-sans) !important;
	font-size: 0.6875rem !important;
	font-weight: 500 !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-eyebrow);
	color: var(--aubach-navy) !important;
	margin-bottom: 0.5rem !important;
	display: block !important;
}

/* Inputs */
body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content select {
	background: var(--aubach-white) !important;
	border: 1px solid var(--aubach-border) !important;
	border-radius: 0 !important;
	padding: 12px 14px !important;
	font-size: 1rem !important;
	width: 100% !important;
	transition: border-color var(--aubach-t);
}

body.woocommerce-account .woocommerce-MyAccount-content input:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus {
	border-color: var(--aubach-gold) !important;
	outline: 0 !important;
}

/* Bouton principal Enregistrer */
body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-MyAccount-content .button {
	background: var(--aubach-navy) !important;
	color: var(--aubach-offwhite) !important;
	border: 1px solid var(--aubach-navy) !important;
	border-radius: 0 !important;
	padding: 14px 32px !important;
	font-family: var(--aubach-font-sans) !important;
	font-size: 0.75rem !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-cta);
	font-weight: 500 !important;
	transition: background var(--aubach-t);
}

body.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .button:hover {
	background: var(--aubach-navy-2) !important;
}

/* Nom d'utilisateur + avatar en haut (si Kadence les affiche) */
body.woocommerce-account .user-info,
body.woocommerce-account .woocommerce-MyAccount-user {
	display: flex !important;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 1.5rem !important;
	background: var(--aubach-navy) !important;
	border: 1px solid var(--aubach-navy);
	color: var(--aubach-offwhite) !important;
	margin: 0 !important;
}

body.woocommerce-account .user-info img,
body.woocommerce-account .woocommerce-MyAccount-user img,
body.woocommerce-account .user-info .avatar {
	width: 36px !important;
	height: 36px !important;
	border-radius: 50% !important;
	border: 1px solid var(--aubach-gold);
}

body.woocommerce-account .user-info .user-display-name,
body.woocommerce-account .user-info > *:not(img) {
	font-family: var(--aubach-font-serif);
	font-size: 1.125rem;
	color: var(--aubach-offwhite);
}

/* Dashboard : boutons d'action en bas */
body.woocommerce-account .woocommerce-MyAccount-content .button {
	background: transparent !important;
	color: var(--aubach-gold) !important;
	border: 1px solid var(--aubach-gold) !important;
	padding: 12px 24px !important;
	margin-right: 0.75rem;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover {
	background: var(--aubach-gold) !important;
	color: var(--aubach-navy) !important;
}

/* Addresses : 2 cards cote a cote */
body.woocommerce-account .woocommerce-Addresses {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 2rem;
}

@media (min-width: 768px) {
	body.woocommerce-account .woocommerce-Addresses {
		grid-template-columns: 1fr 1fr;
	}
}

body.woocommerce-account .woocommerce-Address {
	background: var(--aubach-offwhite);
	border: 1px solid var(--aubach-border);
	padding: 2rem;
	width: 100% !important;
}

body.woocommerce-account .woocommerce-Address-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--aubach-border);
}

body.woocommerce-account .woocommerce-Address-title h3 {
	margin: 0 !important;
	font-family: var(--aubach-font-serif) !important;
	font-size: 1.25rem !important;
	color: var(--aubach-navy);
}

body.woocommerce-account .woocommerce-Address-title .edit {
	font-size: 0.6875rem !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-cta);
	color: var(--aubach-gold) !important;
	border-bottom: 1px solid var(--aubach-gold);
	padding-bottom: 2px;
}

body.woocommerce-account address {
	font-family: var(--aubach-font-sans);
	font-style: normal;
	line-height: 1.8;
	color: var(--aubach-text);
}

body .woocommerce-MyAccount-content h2,
body .woocommerce-MyAccount-content h3 {
	font-family: var(--aubach-font-serif) !important;
	font-weight: 400 !important;
	color: var(--aubach-navy) !important;
	margin-top: 0 !important;
}

body .woocommerce-MyAccount-content p {
	color: var(--aubach-text);
}

body .woocommerce-MyAccount-content strong,
body .woocommerce-MyAccount-content mark {
	background: transparent !important;
	color: var(--aubach-gold) !important;
	font-weight: 500;
}

/* Tables commandes, addresses */
body .woocommerce table.shop_table,
body .woocommerce table.my_account_orders {
	border-collapse: collapse !important;
	border-radius: 0 !important;
	border: 1px solid var(--aubach-border) !important;
	width: 100%;
}

body .woocommerce table.shop_table th,
body .woocommerce table.my_account_orders th {
	background: var(--aubach-offwhite) !important;
	color: var(--aubach-navy);
	font-family: var(--aubach-font-sans) !important;
	font-size: 0.6875rem !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-eyebrow);
	font-weight: 500 !important;
	padding: 1rem !important;
	text-align: left;
	border-bottom: 1px solid var(--aubach-border) !important;
}

body .woocommerce table.shop_table td,
body .woocommerce table.my_account_orders td {
	padding: 1rem !important;
	border-top: 1px solid var(--aubach-border) !important;
	font-size: 0.9375rem;
}

/* --- FORMULAIRE LOGIN / REGISTER --- */
body .woocommerce form.woocommerce-form-login,
body .woocommerce form.woocommerce-form-register,
body .woocommerce-account .u-columns .col-1,
body .woocommerce-account .u-columns .col-2 {
	background: var(--aubach-white);
	border: 1px solid var(--aubach-border);
	padding: 2.5rem !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body .woocommerce form h2 {
	font-family: var(--aubach-font-serif) !important;
	font-weight: 400 !important;
	color: var(--aubach-navy) !important;
	margin-top: 0 !important;
	font-size: 1.75rem !important;
}

body .woocommerce form .form-row label {
	font-family: var(--aubach-font-sans);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-eyebrow);
	color: var(--aubach-navy);
	font-weight: 500;
	margin-bottom: 0.5rem;
	display: block;
}

body .woocommerce form .form-row input.input-text,
body .woocommerce form .form-row textarea {
	background: var(--aubach-white) !important;
	border: 1px solid var(--aubach-border) !important;
	border-radius: 0 !important;
	padding: 12px 14px !important;
	font-size: 1rem !important;
	width: 100% !important;
	box-shadow: none !important;
}

body .woocommerce form .form-row input:focus {
	border-color: var(--aubach-gold) !important;
	outline: 0 !important;
}

body .woocommerce form.login .button,
body .woocommerce form.register .button {
	background: var(--aubach-navy) !important;
	color: var(--aubach-offwhite) !important;
	border: 1px solid var(--aubach-navy) !important;
	border-radius: 0 !important;
	padding: 14px 32px !important;
	font-size: 0.75rem !important;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-cta);
	font-weight: 500 !important;
}

body .woocommerce form.login .button:hover,
body .woocommerce form.register .button:hover {
	background: var(--aubach-navy-2) !important;
	border-color: var(--aubach-navy-2) !important;
}

body .woocommerce form.lost_reset_password {
	max-width: 460px;
	margin: 4rem auto;
	background: var(--aubach-white);
	border: 1px solid var(--aubach-border);
	padding: 2.5rem !important;
}

/* --- PANIER --- */
body .woocommerce-cart table.cart img {
	width: 60px;
	height: auto;
}

body .woocommerce-cart .cart_totals h2 {
	font-family: var(--aubach-font-serif) !important;
	font-weight: 400 !important;
	font-size: 1.75rem !important;
	color: var(--aubach-navy);
	margin-top: 0 !important;
}

body .woocommerce-cart table.cart .product-remove a.remove {
	color: var(--aubach-gray) !important;
	background: transparent !important;
	font-size: 1.5rem !important;
	width: 24px;
	height: 24px;
	line-height: 24px;
}

body .woocommerce-cart table.cart .product-remove a.remove:hover {
	color: var(--aubach-gold) !important;
}

body .woocommerce-cart-form .actions .coupon {
	display: flex;
	gap: 0.5rem;
	align-items: stretch;
}

body .woocommerce-cart-form .actions .coupon input {
	border: 1px solid var(--aubach-border) !important;
	padding: 12px 14px !important;
}

/* --- CHECKOUT --- */
body .woocommerce-checkout #customer_details .col-1,
body .woocommerce-checkout #customer_details .col-2,
body .woocommerce-checkout #order_review,
body .woocommerce-checkout h3 + * {
	background: var(--aubach-white);
}

body .woocommerce-checkout .woocommerce-billing-fields,
body .woocommerce-checkout .woocommerce-shipping-fields {
	background: var(--aubach-offwhite);
	padding: 2rem;
	border: 1px solid var(--aubach-border);
	margin-bottom: 2rem;
}

body .woocommerce-checkout #order_review_heading,
body .woocommerce-checkout h3 {
	font-family: var(--aubach-font-serif) !important;
	font-weight: 400 !important;
	color: var(--aubach-navy);
	font-size: 1.375rem !important;
	margin: 0 0 1.5rem !important;
}

/* --- BOUTIQUE --- */
body.woocommerce .woocommerce-products-header {
	margin-bottom: 3rem;
	text-align: center;
}

body.woocommerce .woocommerce-products-header h1 {
	font-family: var(--aubach-font-serif) !important;
	font-weight: 400 !important;
	font-size: 3rem !important;
	color: var(--aubach-navy);
	letter-spacing: -0.01em;
}

body.woocommerce .woocommerce-products-header h1::after {
	content: "";
	display: block;
	width: 56px;
	height: 1px;
	background: var(--aubach-gold);
	margin: 1.5rem auto 0;
}

body.woocommerce .woocommerce-result-count,
body.woocommerce .woocommerce-ordering {
	font-family: var(--aubach-font-sans);
	font-size: 0.8125rem;
	color: var(--aubach-text-muted);
}

/* --- NOTICES WC --- */
body .woocommerce-notices-wrapper .woocommerce-message,
body .woocommerce-notices-wrapper .woocommerce-info,
body .woocommerce-notices-wrapper .woocommerce-error {
	border-radius: 0 !important;
	border-top: 3px solid var(--aubach-gold) !important;
	background: var(--aubach-offwhite) !important;
	color: var(--aubach-text) !important;
	padding: 1rem 1.25rem !important;
	font-family: var(--aubach-font-sans);
}

body .woocommerce-notices-wrapper .woocommerce-error {
	border-top-color: #b82105 !important;
}


/* ------------------------------------------------------------
   14.b WOOCOMMERCE (minimal)
------------------------------------------------------------ */
body .woocommerce a.button,
body .woocommerce button.button {
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--aubach-gold) !important;
	border: 1px solid var(--aubach-gold) !important;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: var(--aubach-ls-cta);
	padding: 12px 24px !important;
}

body .woocommerce a.button:hover {
	background: var(--aubach-gold) !important;
	color: var(--aubach-navy) !important;
}


/* ============================================================
   RESPONSIVE — progression mobile → desktop
============================================================ */

/* ---------- ≥ 640px : plus d'espace ---------- */
@media (min-width: 640px) {
	body h1, body h1.wp-block-heading { font-size: 2.75rem !important; }
	body h2, body h2.wp-block-heading { font-size: 2.25rem !important; }

	body .wp-block-group.alignfull,
	body .wp-block-cover.alignfull { padding: 5rem 0; }

	body .wp-block-cover.aubach-hero h1.wp-block-heading { font-size: 3.25rem !important; }
}

/* ---------- ≥ 768px : colonnes côte-à-côte ---------- */
@media (min-width: 768px) {
	body .wp-block-columns {
		flex-wrap: nowrap;
		gap: 3rem;
	}

	body .wp-block-columns .wp-block-column { flex-basis: 0 !important; flex-grow: 1; }

	/* Columns avec flex-basis explicite respectent leur valeur */
	body .wp-block-columns .wp-block-column[style*="flex-basis:50%"] { flex-basis: 50% !important; flex-grow: 0; }
	body .wp-block-columns .wp-block-column[style*="flex-basis:55%"] { flex-basis: 55% !important; flex-grow: 0; }
	body .wp-block-columns .wp-block-column[style*="flex-basis:45%"] { flex-basis: 45% !important; flex-grow: 0; }

	body .wp-block-cover.aubach-hero { min-height: 85vh !important; }

	body .wp-block-cover.aubach-hero .wp-block-cover__inner-container { padding: 4rem 2rem; }

	/* Split : image plus grande, texte mieux paddé */
	body .aubach-split .aubach-split-image img { min-height: 480px; }
	body .aubach-split .aubach-split-text { padding: 4rem 2.5rem !important; }
}

/* ---------- ≥ 1024px : desktop complet ---------- */
@media (min-width: 1024px) {
	html body { font-size: 17px; }

	body h1, body h1.wp-block-heading { font-size: 3.5rem !important; }
	body h2, body h2.wp-block-heading { font-size: 2.75rem !important; }
	body h3, body h3.wp-block-heading { font-size: 1.625rem !important; }

	body .wp-block-group.alignfull,
	body .wp-block-cover.alignfull { padding: 7rem 0; }

	body .wp-block-columns { gap: 4rem; }

	body .wp-block-cover.aubach-hero { min-height: 88vh !important; }
	body .wp-block-cover.aubach-hero h1.wp-block-heading { font-size: 4.25rem !important; line-height: 1.1; }
	body .wp-block-cover.aubach-hero p:not(.is-style-aubach-eyebrow) { font-size: 1.1875rem !important; }

	body h2.wp-block-heading::after { width: 56px; margin-top: 1.5rem; }

	/* Split : image généreuse en desktop */
	body .aubach-split .aubach-split-image img { min-height: 620px; }
	body .aubach-split .aubach-split-text { padding: 6rem 4rem !important; }

	/* Effets hover uniquement sur devices à pointeur */
	body .aubach-product-card:hover { border-color: var(--aubach-gold); }
}

/* ---------- ≥ 1280px : large desktop ---------- */
@media (min-width: 1280px) {
	body .wp-block-cover.aubach-hero h1.wp-block-heading { font-size: 4.75rem !important; }
}


/* ============================================================
   v1.4.8 ADDITIONS — Cards (article + product), Footer enrichi
============================================================ */

/* ---------- Cards rows (responsive grid) ---------- */
body .aubach-cards-row.wp-block-columns {
	display: grid !important;
	gap: 2rem !important;
	grid-template-columns: 1fr;
	margin: 2.5rem 0 !important;
	align-items: stretch;
}
@media (min-width: 768px) {
	body .aubach-cards-row.wp-block-columns {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	body .aubach-cards-row.wp-block-columns {
		grid-template-columns: repeat(3, 1fr);
		gap: 2.5rem !important;
	}
}
body .aubach-cards-row .wp-block-column {
	flex-basis: auto !important;
	margin: 0 !important;
}

/* ---------- Article card ---------- */
body .aubach-article-card {
	background: var(--aubach-white);
	border: 0.5px solid var(--aubach-border);
	padding: 1.5rem !important;
	transition: border-color var(--aubach-t) var(--aubach-ease), transform var(--aubach-t) var(--aubach-ease);
	display: flex !important;
	flex-direction: column;
	height: 100%;
}
body .aubach-article-card:hover {
	border-color: var(--aubach-gold);
}
body .aubach-article-card .wp-block-image {
	margin: -1.5rem -1.5rem 1.5rem !important;
	overflow: hidden;
}
body .aubach-article-card .wp-block-image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}
body .aubach-article-card h3.wp-block-heading {
	font-family: var(--aubach-font-serif);
	font-size: 1.25rem !important;
	font-weight: 400;
	line-height: 1.3;
	margin: 0.5rem 0 0.75rem !important;
	color: var(--aubach-navy);
}
body .aubach-article-card h3 a {
	color: inherit;
	text-decoration: none;
	border: none;
}
body .aubach-article-card h3 a:hover {
	color: var(--aubach-gold);
}
body .aubach-article-card p {
	font-size: 0.95rem !important;
	line-height: 1.6 !important;
	color: var(--aubach-text-muted);
	margin: 0 0 1rem !important;
	flex-grow: 1;
}
body .aubach-article-card .is-style-aubach-eyebrow {
	font-family: var(--aubach-font-sans);
	font-size: 0.7rem !important;
	letter-spacing: var(--aubach-ls-eyebrow);
	text-transform: uppercase;
	color: var(--aubach-gold);
	margin-bottom: 0.4rem !important;
}
body .aubach-card-link {
	margin-top: auto !important;
	margin-bottom: 0 !important;
	font-family: var(--aubach-font-sans);
	font-size: 0.8rem !important;
	letter-spacing: var(--aubach-ls-cta);
	text-transform: uppercase;
}
body .aubach-card-link a {
	color: var(--aubach-navy);
	border-bottom: 1px solid var(--aubach-gold);
	padding-bottom: 2px;
	text-decoration: none;
	transition: color var(--aubach-t) var(--aubach-ease);
}
body .aubach-card-link a:hover {
	color: var(--aubach-gold);
}

/* ---------- Product card (page /nos-vins/) ---------- */
body .aubach-product-card {
	background: var(--aubach-white);
	border: 0.5px solid var(--aubach-border);
	padding: 1.5rem !important;
	transition: border-color var(--aubach-t) var(--aubach-ease);
	display: flex !important;
	flex-direction: column;
	height: 100%;
}
body .aubach-product-card:hover {
	border-color: var(--aubach-gold);
}
body .aubach-product-card .wp-block-image {
	margin: -1.5rem -1.5rem 1.5rem !important;
	overflow: hidden;
}
body .aubach-product-card .wp-block-image img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
}
body .aubach-product-card h3.wp-block-heading {
	font-family: var(--aubach-font-serif);
	font-size: 1.5rem !important;
	font-weight: 400;
	line-height: 1.2;
	margin: 0.5rem 0 0.75rem !important;
	color: var(--aubach-navy);
}
body .aubach-product-card h3 a {
	color: inherit;
	text-decoration: none;
	border: none;
}
body .aubach-product-card h3 a:hover {
	color: var(--aubach-gold);
}
body .aubach-product-card p {
	font-size: 0.95rem !important;
	line-height: 1.55 !important;
	color: var(--aubach-text);
	margin: 0 0 0.75rem !important;
}
body .aubach-product-card .aubach-price-line {
	font-family: var(--aubach-font-sans);
	font-size: 1rem !important;
	color: var(--aubach-navy);
	margin: 0.5rem 0 1rem !important;
	letter-spacing: 0.02em;
}
body .aubach-product-card .aubach-price-line strong {
	font-weight: 500;
}

/* ---------- Footer enrichi (Évin / copyright / HVE) ---------- */
.aubach-footer-bottom {
	background: var(--aubach-anthracite);
	color: rgba(244,241,236,0.65);
	padding: 1.5rem 1.5rem 1.75rem;
	font-family: var(--aubach-font-sans);
	font-size: 0.78rem;
	line-height: 1.6;
	border-top: 0.5px solid rgba(196,162,101,0.15);
}
.aubach-footer-bottom__inner {
	max-width: var(--aubach-container);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-align: center;
}
@media (min-width: 768px) {
	.aubach-footer-bottom__inner {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		text-align: left;
		gap: 1.5rem;
	}
}
.aubach-footer-bottom__evin {
	color: rgba(244,241,236,0.55);
	font-size: 0.72rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
.aubach-footer-bottom__copyright {
	color: rgba(244,241,236,0.5);
	font-size: 0.72rem;
}
.aubach-footer-bottom__certif {
	display: inline-block;
	border: 0.5px solid var(--aubach-gold);
	color: var(--aubach-gold);
	padding: 4px 10px;
	font-size: 0.7rem;
	letter-spacing: var(--aubach-ls-cta);
	text-transform: uppercase;
	font-weight: 500;
}

/* ---------- Cross-sells / Upsells WooCommerce styling ---------- */
body .cross-sells > h2,
body .upsells > h2,
body .related > h2 {
	font-family: var(--aubach-font-serif);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--aubach-navy);
	margin: 3rem 0 1.5rem;
	padding-top: 2rem;
	border-top: 0.5px solid var(--aubach-border);
}
body .upsells .product .price,
body .cross-sells .product .price,
body .related .product .price {
	font-family: var(--aubach-font-sans);
	color: var(--aubach-navy);
}
body .upsells .product h2,
body .upsells .product h3,
body .cross-sells .product h2,
body .cross-sells .product h3,
body .related .product h2,
body .related .product h3 {
	font-family: var(--aubach-font-serif);
	font-size: 1.05rem;
	font-weight: 400;
}


/* ============================================================
   Fin — aubach.css v1.4.8
============================================================ */
