/*
Theme Name: Taaru Factory
Theme URI: https://taarufactory.com/
Author: Zalitech3s
Author URI: https://zalitech3s.com/
Description: Thème sur mesure pour Taaru Factory : parfumerie, boutique WooCommerce, formation et accompagnement business. Conçu pour Elementor (toutes les pages sont modifiables) avec un importateur de pages en un clic (Apparence › Taaru Factory).
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: taaru-factory
Tags: e-commerce, woocommerce, elementor, custom-logo, custom-menu, one-column, full-width-template
*/

/* ==========================================================================
   1. Variables (modifiables dans Apparence › Personnaliser › Couleurs Taaru)
   ========================================================================== */
:root {
	--tf-gold: #B8893A;
	--tf-gold-light: #D9B46A;
	--tf-dark: #3A2716;
	--tf-text: #5E4A36;
	--tf-cream: #F7EEE1;
	--tf-sand: #EFE1CB;
	--tf-green: #2E3B2B;
	--tf-white: #FFFDF9;
	--tf-line: rgba(58, 39, 22, .12);
	--tf-font-title: "Cormorant Garamond", Georgia, serif;
	--tf-font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
	--tf-font-script: "Great Vibes", cursive;
	--tf-radius: 18px;
	--tf-shadow: 0 18px 40px -18px rgba(58, 39, 22, .25);
	--tf-container: 1200px;
	--tf-header-h: 84px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--tf-font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--tf-text);
	background: var(--tf-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--tf-gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--tf-dark); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--tf-font-title);
	color: var(--tf-dark);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.2em; }
::selection { background: var(--tf-gold); color: #fff; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: #fff; clip: auto !important; clip-path: none; color: var(--tf-dark); display: block;
	height: auto; left: 8px; top: 8px; padding: 12px 20px; width: auto; z-index: 100000;
}

.tf-container { width: 100%; max-width: var(--tf-container); margin: 0 auto; padding: 0 20px; }

/* Boutons du thème (hors Elementor) */
.tf-btn, button, input[type="submit"], input[type="button"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--tf-font-body); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
	padding: 14px 28px; border-radius: 50px; border: 1px solid var(--tf-dark);
	background: var(--tf-dark); color: #fff; cursor: pointer; line-height: 1.2;
	transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.tf-btn:hover, button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	background: var(--tf-gold); border-color: var(--tf-gold); color: #fff; transform: translateY(-2px);
}
.tf-btn--gold { background: var(--tf-gold); border-color: var(--tf-gold); }
.tf-btn--gold:hover { background: var(--tf-dark); border-color: var(--tf-dark); }
.tf-btn--ghost { background: transparent; color: var(--tf-dark); }
.tf-btn svg { width: 18px; height: 18px; fill: currentColor; }

input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], select, textarea,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	width: 100%; font-family: var(--tf-font-body); font-size: 15px; color: var(--tf-dark);
	padding: 13px 16px; border: 1px solid var(--tf-line); border-radius: 12px; background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--tf-gold); box-shadow: 0 0 0 3px rgba(184, 137, 58, .15); }

/* ==========================================================================
   3. Barre supérieure
   ========================================================================== */
.tf-topbar { background: var(--tf-dark); color: rgba(255, 255, 255, .85); font-size: 13px; letter-spacing: .03em; }
.tf-topbar .tf-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.tf-topbar a { color: rgba(255, 255, 255, .9); }
.tf-topbar a:hover { color: var(--tf-gold-light); }
.tf-topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.tf-topbar__info span { display: inline-flex; align-items: center; gap: 7px; }
.tf-topbar svg { width: 14px; height: 14px; fill: var(--tf-gold-light); flex: none; }
.tf-topbar .tf-social a svg { fill: currentColor; }

/* ==========================================================================
   4. En-tête
   ========================================================================== */
.tf-header {
	position: sticky; top: 0; z-index: 999;
	background: rgba(255, 253, 249, .96);
	backdrop-filter: saturate(150%) blur(10px); -webkit-backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid var(--tf-line);
	transition: box-shadow .3s ease;
}
.admin-bar .tf-header { top: 32px; }
.tf-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(58, 39, 22, .35); }
.tf-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--tf-header-h); }
.tf-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.tf-logo img, .tf-logo .custom-logo { max-height: 62px; width: auto; display: block; border-radius: 6px; }
.tf-logo__text { font-family: var(--tf-font-title); font-size: 26px; font-weight: 700; color: var(--tf-dark); letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.tf-logo__text small { display: block; font-family: var(--tf-font-body); font-size: 10px; letter-spacing: .32em; color: var(--tf-gold); font-weight: 500; margin-top: 4px; }

.tf-nav ul { list-style: none; margin: 0; padding: 0; }
.tf-nav > ul { display: flex; align-items: center; gap: 6px; }
.tf-nav li { position: relative; }
.tf-nav a {
	display: block; padding: 10px 16px; color: var(--tf-dark); font-size: 14px; font-weight: 500;
	letter-spacing: .1em; text-transform: uppercase; position: relative;
}
.tf-nav > ul > li > a::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px;
	background: var(--tf-gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.tf-nav > ul > li:hover > a::after,
.tf-nav > ul > li.current-menu-item > a::after,
.tf-nav > ul > li.current_page_item > a::after { transform: scaleX(1); }
.tf-nav li.current-menu-item > a, .tf-nav a:hover { color: var(--tf-gold); }
.tf-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; padding: 10px 0;
	border-radius: 12px; box-shadow: var(--tf-shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .25s ease; z-index: 10;
}
.tf-nav li:hover > .sub-menu, .tf-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tf-nav .sub-menu a { text-transform: none; letter-spacing: 0; padding: 8px 20px; }

.tf-actions { display: flex; align-items: center; gap: 6px; }
.tf-icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%; color: var(--tf-dark); background: transparent; border: 0; padding: 0;
	transition: background .2s, color .2s;
}
.tf-icon-btn:hover { background: var(--tf-sand); color: var(--tf-dark); transform: none; }
.tf-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tf-cart-count {
	position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--tf-gold); color: #fff; font-size: 10px; font-weight: 600; line-height: 18px; text-align: center;
}
.tf-header__cta { margin-left: 10px; padding: 11px 22px; font-size: 12px; }
.tf-burger { display: none; }

/* Recherche */
.tf-search-panel { display: none; border-top: 1px solid var(--tf-line); background: var(--tf-cream); padding: 18px 0; }
.tf-search-panel.is-open { display: block; }
.tf-search-panel form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }

/* Menu mobile */
.tf-mobile {
	position: fixed; inset: 0; z-index: 10000; visibility: hidden; pointer-events: none;
}
.tf-mobile__overlay { position: absolute; inset: 0; background: rgba(30, 20, 10, .5); opacity: 0; transition: opacity .3s; }
.tf-mobile__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--tf-cream);
	padding: 24px; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; display: flex; flex-direction: column;
}
.tf-mobile.is-open { visibility: visible; pointer-events: auto; }
.tf-mobile.is-open .tf-mobile__overlay { opacity: 1; }
.tf-mobile.is-open .tf-mobile__panel { transform: none; }
.tf-mobile__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.tf-mobile ul { list-style: none; margin: 0; padding: 0; }
.tf-mobile li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--tf-line); font-family: var(--tf-font-title); font-size: 22px; font-weight: 600; color: var(--tf-dark); }
.tf-mobile .sub-menu a { font-family: var(--tf-font-body); font-size: 15px; padding-left: 14px; }
.tf-mobile__contact { margin-top: auto; padding-top: 24px; font-size: 14px; }
.tf-mobile__contact .tf-btn { width: 100%; margin-top: 12px; }

/* ==========================================================================
   5. Bandeau de page (pages non Elementor, boutique, articles)
   ========================================================================== */
.tf-page-hero {
	background: radial-gradient(1000px 300px at 85% 0%, rgba(217, 180, 106, .25), transparent 60%), var(--tf-cream);
	padding: 64px 0 56px; text-align: center; border-bottom: 1px solid var(--tf-line);
}
.tf-page-hero h1 { margin: 0 0 8px; }
.tf-page-hero .tf-eyebrow { margin-bottom: 8px; }
.tf-breadcrumb, .woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--tf-text); letter-spacing: .04em; margin: 0; }
.tf-breadcrumb a, .woocommerce .woocommerce-breadcrumb a { color: var(--tf-gold); }
.tf-eyebrow { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--tf-gold); }
.tf-main { padding: 64px 0 90px; }
.tf-entry-content > *:first-child { margin-top: 0; }
.tf-entry-content { max-width: 820px; margin: 0 auto; }
.tf-entry-content blockquote { border-left: 3px solid var(--tf-gold); margin: 1.5em 0; padding: .5em 1.4em; font-family: var(--tf-font-title); font-size: 1.4rem; color: var(--tf-dark); }

/* Liste d'articles */
.tf-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.tf-post-card { background: #fff; border-radius: var(--tf-radius); overflow: hidden; box-shadow: var(--tf-shadow); transition: transform .3s; }
.tf-post-card:hover { transform: translateY(-4px); }
.tf-post-card__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.tf-post-card__body { padding: 24px; }
.tf-post-card__body h2 { font-size: 1.5rem; margin-bottom: .4em; }
.tf-post-card__body h2 a { color: var(--tf-dark); }
.tf-meta { font-size: 13px; color: var(--tf-gold); letter-spacing: .06em; text-transform: uppercase; }
.tf-pagination { margin-top: 48px; text-align: center; }
.tf-pagination .page-numbers { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--tf-line); margin: 0 3px; color: var(--tf-dark); }
.tf-pagination .page-numbers.current, .tf-pagination .page-numbers:hover { background: var(--tf-dark); color: #fff; border-color: var(--tf-dark); }

/* 404 */
.tf-404 { text-align: center; padding: 100px 0; }
.tf-404 .tf-script { font-size: 120px; color: var(--tf-gold); line-height: 1; }

/* ==========================================================================
   6. Pied de page
   ========================================================================== */
.tf-footer { background: var(--tf-dark); color: rgba(255, 255, 255, .72); font-size: 15px; position: relative; overflow: hidden; }
.tf-footer::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(700px 300px at 100% 0%, rgba(217, 180, 106, .14), transparent 60%);
}
.tf-footer__top { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding: 80px 20px 56px; }
.tf-footer h4 { color: #fff; font-size: 22px; margin-bottom: 20px; }
.tf-footer h4::after { content: ""; display: block; width: 36px; height: 1px; background: var(--tf-gold); margin-top: 12px; }
.tf-footer ul { list-style: none; margin: 0; padding: 0; }
.tf-footer li { margin-bottom: 10px; }
.tf-footer a { color: rgba(255, 255, 255, .75); }
.tf-footer a:hover { color: var(--tf-gold-light); }
.tf-footer__brand .tf-logo__text { color: #fff; }
.tf-footer__brand img { max-height: 70px; width: auto; border-radius: 8px; margin-bottom: 18px; }
.tf-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.tf-footer__contact svg { width: 18px; height: 18px; fill: var(--tf-gold-light); flex: none; margin-top: 4px; }
.tf-footer__bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 13px; }
.tf-footer__bottom .tf-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.tf-social { display: flex; gap: 10px; margin-top: 20px; }
.tf-social a {
	width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: all .25s;
}
.tf-social a:hover { background: var(--tf-gold); border-color: var(--tf-gold); color: #fff; }
.tf-social svg { width: 16px; height: 16px; fill: currentColor; }
.tf-topbar .tf-social { margin: 0; gap: 4px; }
.tf-topbar .tf-social a { width: 28px; height: 28px; border: 0; }

/* Bouton WhatsApp flottant */
.tf-whatsapp-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 998; width: 58px; height: 58px; border-radius: 50%;
	background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s;
}
.tf-whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.tf-whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }
.tf-whatsapp-float::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: tf-pulse 2.2s infinite;
}
@keyframes tf-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ==========================================================================
   7. Compléments pour les pages Elementor
   (classes ajoutées dans Avancé › Classes CSS — tout reste modifiable)
   ========================================================================== */
.elementor-page .tf-main, .tf-main--elementor { padding: 0; }

/* Texte manuscrit doré « Parfumerie » */
.tf-script .elementor-heading-title, .tf-script { font-family: var(--tf-font-script); font-weight: 400; line-height: 1; }

/* Sur-titre avec traits */
.tf-eyebrow-lines .elementor-heading-title { display: inline-flex; align-items: center; gap: 14px; }
.tf-eyebrow-lines .elementor-heading-title::before,
.tf-eyebrow-lines .elementor-heading-title::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.tf-eyebrow-left .elementor-heading-title { display: inline-flex; align-items: center; gap: 14px; }
.tf-eyebrow-left .elementor-heading-title::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

/* Pastille « Créez. Comprenez. Excellez. » */
.tf-pill .elementor-heading-title { display: inline-block; padding: 9px 22px; border-radius: 8px; }

/* Image en arche */
.tf-arch img { border-radius: 400px 400px var(--tf-radius) var(--tf-radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.tf-rounded img { border-radius: var(--tf-radius); }
.tf-frame { position: relative; }
.tf-frame::before {
	content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--tf-gold);
	border-radius: 400px 400px var(--tf-radius) var(--tf-radius); pointer-events: none; z-index: 0;
}
.tf-frame img { position: relative; z-index: 1; }

/* Badge rond « 100% pratique » posé sur l'image */
.tf-badge {
	position: absolute !important; width: 150px !important; height: 150px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; text-align: center; z-index: 3;
	box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .45); border: 3px solid rgba(255, 255, 255, .35);
}
.tf-badge .elementor-widget-container { padding: 0 !important; }
.tf-badge strong { display: block; font-family: var(--tf-font-title); font-size: 38px; line-height: 1; margin-bottom: 4px; }
.tf-badge--br { right: 10px; bottom: 30px; }
.tf-badge--bl { left: -10px; bottom: 40px; }

/* Cartes (colonnes) */
.tf-card > .elementor-widget-wrap, .tf-card > .elementor-column-wrap { transition: transform .35s ease, box-shadow .35s ease, background .35s ease; }
.tf-card:hover > .elementor-widget-wrap, .tf-card:hover > .elementor-column-wrap { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(58, 39, 22, .4); }

/* Étapes de la procédure */
.tf-step > .elementor-widget-wrap, .tf-step > .elementor-column-wrap { position: relative; overflow: hidden; }
.tf-step-num .elementor-heading-title { font-variant-numeric: lining-nums; }
.tf-step-num { pointer-events: none; }
.tf-step:hover .tf-step-num .elementor-heading-title { color: var(--tf-gold-light) !important; opacity: .55; transition: color .35s, opacity .35s; }
.tf-step .elementor-icon { transition: transform .35s ease; }
.tf-step:hover .elementor-icon { transform: rotate(-8deg) scale(1.06); }

/* Citation verte */
.tf-quote { position: relative; }
.tf-quote::before {
	content: "\201C"; position: absolute; top: -22px; left: 34px; z-index: 2; font-family: var(--tf-font-title);
	font-size: 120px; font-style: normal; line-height: 1; color: var(--tf-gold-light);
}

/* Texte centré à largeur de lecture */
.tf-narrow p { max-width: 680px; margin-left: auto; margin-right: auto; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Petites listes d'atouts en ligne */
.tf-trust .elementor-icon-list-items { gap: 6px 22px; }

/* Grilles de produits WooCommerce dans Elementor */
.tf-products .woocommerce ul.products { margin-bottom: 0; }

/* Décor : feuilles en filigrane */
.tf-leaves { position: relative; }
.tf-leaves::after {
	content: ""; position: absolute; top: 0; right: 0; width: 340px; height: 340px; pointer-events: none; opacity: .12;
	background: url("assets/img/leaves.svg") no-repeat top right / contain; z-index: 0;
}
.tf-leaves > .elementor-container { position: relative; z-index: 1; }

/* Apparition douce */
.tf-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.tf-reveal.is-visible { opacity: 1; transform: none; }
.elementor-editor-active .tf-reveal { opacity: 1; transform: none; }

/* ==========================================================================
   8. WooCommerce
   ========================================================================== */
.woocommerce .woocommerce-ordering select { width: auto; border-radius: 50px; padding: 10px 40px 10px 18px; }
.woocommerce .woocommerce-result-count { font-size: 14px; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0 0 2em; padding: 0; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; text-align: center;
	background: #fff; border-radius: var(--tf-radius); padding: 12px 12px 22px; position: relative;
	border: 1px solid var(--tf-line); transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
	display: flex; flex-direction: column;
}
.woocommerce ul.products li.product:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(58, 39, 22, .35); border-color: transparent; }
.woocommerce ul.products li.product a img {
	border-radius: calc(var(--tf-radius) - 6px); margin: 0 0 16px !important; aspect-ratio: 3/4; object-fit: cover;
	background: var(--tf-cream); transition: transform .6s ease;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link { display: block; overflow: hidden; border-radius: calc(var(--tf-radius) - 6px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--tf-font-title); font-size: 1.3rem !important; font-weight: 600; color: var(--tf-dark); padding: 0 6px !important; margin-bottom: 6px;
}
.woocommerce ul.products li.product .price { color: var(--tf-gold) !important; font-weight: 500; font-size: 16px !important; margin-bottom: 14px !important; }
.woocommerce ul.products li.product .price del { color: #a39380; opacity: .8; font-size: 14px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin: auto auto 0 !important; padding: 11px 20px; font-size: 12px; background: transparent; color: var(--tf-dark); }
.woocommerce ul.products li.product .button:hover { background: var(--tf-dark); color: #fff; }
.woocommerce ul.products li.product .onsale { position: absolute; z-index: 2; }
.woocommerce ul.products li.product .added_to_cart { display: block; margin-top: 8px; font-size: 13px; }
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
	background: var(--tf-gold); color: #fff; border-radius: 50px; min-height: 0; min-width: 0; line-height: 1;
	padding: 8px 12px; font-size: 12px; font-weight: 500; top: 22px; left: 22px; right: auto; margin: 0;
}
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--tf-gold); }

.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--tf-radius); background: var(--tf-cream); }
.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 2.8rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--tf-gold); font-size: 1.6rem; font-weight: 500; }
.woocommerce div.product form.cart { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 28px 0; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty { width: 80px; border-radius: 50px; padding: 13px 10px; text-align: center; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--tf-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; margin: 0 24px 0 0; padding: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-family: var(--tf-font-title); font-size: 20px; color: var(--tf-text); padding: 10px 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--tf-dark); box-shadow: inset 0 -2px 0 var(--tf-gold); }
.woocommerce .related > h2, .woocommerce .upsells > h2 { text-align: center; margin: 40px 0 30px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--tf-gold); background: var(--tf-cream); border-radius: 12px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--tf-gold); }
.woocommerce table.shop_table { border-radius: var(--tf-radius); border-color: var(--tf-line); background: #fff; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: var(--tf-cream); padding: 28px; border-radius: var(--tf-radius); }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 3px; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { width: 42px; height: 42px; line-height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--tf-line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--tf-dark); color: #fff; }
.tf-shop-cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; padding: 0; list-style: none; }
.tf-shop-cats a { display: inline-block; padding: 9px 20px; border-radius: 50px; border: 1px solid var(--tf-line); color: var(--tf-dark); font-size: 14px; }
.tf-shop-cats a:hover, .tf-shop-cats .is-active a { background: var(--tf-dark); color: #fff; border-color: var(--tf-dark); }

/* ==========================================================================
   9. Formulaire de contact [taaru_contact]
   ========================================================================== */
.tf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tf-form__full { grid-column: 1 / -1; }
.tf-form label { display: block; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--tf-dark); margin-bottom: 6px; }
.tf-form textarea { min-height: 140px; resize: vertical; }
.tf-form .tf-hp { position: absolute; left: -9999px; }
.tf-form-notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 15px; }
.tf-form-notice--ok { background: #E8F0E3; color: #2E4A23; }
.tf-form-notice--error { background: #F6E3DE; color: #7A2E1D; }

/* ==========================================================================
   9b. Inscription aux formations [taaru_inscription]
   ========================================================================== */
.tf-insc { scroll-margin-top: 110px; }
.tf-insc__form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; text-align: left; }
.tf-insc__main { display: grid; gap: 28px; min-width: 0; }
.tf-insc__step { border: 1px solid var(--tf-line); border-radius: var(--tf-radius); padding: 28px; margin: 0; background: #fff; min-width: 0; }
.tf-insc__step[hidden] { display: none; }
.tf-insc__step legend { display: flex; align-items: center; gap: 12px; padding: 0 10px; margin-left: -10px; font-family: var(--tf-font-title); font-size: 26px; font-weight: 600; color: var(--tf-dark); }
.tf-insc__num { width: 34px; height: 34px; border-radius: 50%; background: var(--tf-gold); color: #fff; font-family: var(--tf-font-body); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tf-sessions { display: grid; gap: 12px; }
.tf-session { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--tf-line); border-radius: 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.tf-session:hover { border-color: var(--tf-gold); }
.tf-session input { position: absolute; opacity: 0; pointer-events: none; }
.tf-session:has(input:checked) { border-color: var(--tf-gold); background: var(--tf-cream); box-shadow: 0 0 0 2px var(--tf-gold) inset; }
.tf-session:has(input:focus-visible) { outline: 2px solid var(--tf-gold); outline-offset: 2px; }
.tf-session.is-full { opacity: .55; cursor: not-allowed; }
.tf-session__date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 74px; border-radius: 12px; background: var(--tf-dark); color: #fff; line-height: 1; }
.tf-session__date b { font-family: var(--tf-font-title); font-size: 34px; font-weight: 700; }
.tf-session__date small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-top: 5px; color: var(--tf-gold-light); }
.tf-session__date small + small { margin-top: 2px; font-size: 10px; opacity: .8; }
.tf-session:has(input:checked) .tf-session__date { background: var(--tf-gold); }
.tf-session:has(input:checked) .tf-session__date small { color: #fff; }
.tf-session__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tf-session__body strong { font-family: var(--tf-font-title); font-size: 21px; color: var(--tf-dark); line-height: 1.2; }
.tf-session__body span { font-size: 14.5px; color: var(--tf-text); }
.tf-session__muted { font-size: 13.5px !important; opacity: .8; }
.tf-session__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.tf-session__price { font-weight: 600; color: var(--tf-dark); white-space: nowrap; }
.tf-session__seats { font-size: 12px; padding: 4px 10px; border-radius: 50px; background: #E8F0E3; color: #2E4A23; white-space: nowrap; }
.tf-session.is-full .tf-session__seats { background: #F6E3DE; color: #7A2E1D; }
.tf-pay-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tf-pay-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--tf-line); border-radius: 14px; cursor: pointer; }
.tf-pay-option:has(input:checked) { border-color: var(--tf-gold); background: var(--tf-cream); }
.tf-pay-option input { width: auto; margin-top: 5px; accent-color: var(--tf-gold); }
.tf-pay-option > span { display: flex; flex-direction: column; gap: 2px; }
.tf-pay-option em { font-style: normal; color: var(--tf-gold); font-weight: 600; }
.tf-pay-option small { font-size: 12.5px; opacity: .8; }
.tf-insc__summary { position: sticky; top: calc(var(--tf-header-h) + 20px); background: var(--tf-dark); color: rgba(255, 255, 255, .8); border-radius: var(--tf-radius); padding: 28px; }
.tf-insc__summary h3 { color: #fff; font-size: 26px; margin: 0 0 16px; }
.tf-insc__summary dl { margin: 0 0 16px; display: grid; gap: 4px; }
.tf-insc__summary dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tf-gold-light); margin-top: 10px; }
.tf-insc__summary dd { margin: 0; color: #fff; font-size: 16px; }
.tf-insc__total { font-family: var(--tf-font-title); font-size: 32px !important; font-weight: 700; }
.tf-insc__rest { font-size: 14px; margin: 0 0 14px; }
.tf-insc__rest[hidden] { display: none; }
.tf-insc__terms { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin-bottom: 18px; cursor: pointer; }
.tf-insc__terms a { color: var(--tf-gold-light); text-decoration: underline; }
.tf-insc__terms input { width: auto; margin-top: 4px; accent-color: var(--tf-gold); }
.tf-insc__submit { width: 100%; }
.tf-insc__note { font-size: 12.5px; margin: 14px 0 0; text-align: center; opacity: .75; }
.tf-insc__empty { text-align: center; padding: 40px 24px; border: 1px dashed var(--tf-gold); border-radius: var(--tf-radius); background: #fff; }
.tf-insc__admin { font-size: 13px; margin-top: 16px; opacity: .8; }
.tf-insc-thanks { background: var(--tf-cream); border-left: 3px solid var(--tf-gold); border-radius: 12px; padding: 22px 26px; margin-bottom: 32px; }
.tf-insc-thanks h2 { font-size: 28px; margin-bottom: 8px; }
@media (max-width: 1024px) {
	.tf-insc__form { grid-template-columns: 1fr; }
	.tf-insc__summary { position: static; }
}
@media (max-width: 600px) {
	.tf-insc__step { padding: 20px 16px; }
	.tf-insc__step legend { font-size: 22px; }
	.tf-session { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 14px; }
	.tf-session__date { height: 62px; }
	.tf-session__body strong { font-size: 18px; }
	.tf-session__date { align-self: start; }
	.tf-session__date b { font-size: 28px; }
	.tf-session__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
	.tf-pay-choice { grid-template-columns: 1fr; }
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.tf-nav, .tf-header__cta { display: none; }
	.tf-burger { display: inline-flex; }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.tf-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .tf-header { top: 0; }
	.tf-topbar__hours, .tf-topbar .tf-social { display: none !important; }
	.tf-topbar .tf-container { justify-content: center; }
	.woocommerce ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 28px; }
	.tf-form { grid-template-columns: 1fr; }
	.tf-badge { width: 120px !important; height: 120px; }
	.tf-badge strong { font-size: 30px; }
	.tf-frame::before { inset: -8px 8px 8px -8px; }
}
@media (max-width: 600px) {
	:root { --tf-header-h: 70px; }
	.tf-logo img, .tf-logo .custom-logo { max-height: 48px; }
	.tf-logo__text { font-size: 19px; }
	.tf-header__inner { gap: 10px; }
	.tf-actions { gap: 0; }
	.tf-icon-btn { width: 38px; height: 38px; }
	.tf-actions .tf-account { display: none; }
	.tf-footer__top { grid-template-columns: 1fr; gap: 36px; padding: 60px 20px 40px; }
	.tf-footer__bottom .tf-container { justify-content: center; text-align: center; }
	.woocommerce ul.products li.product { padding: 8px 8px 16px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.1rem !important; }
	.woocommerce ul.products li.product .button { padding: 10px 14px; font-size: 11px; letter-spacing: .04em; }
	.tf-whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.tf-reveal { opacity: 1; transform: none; }
}
