/* =========================================================================
   Les Tontons Afro — design « boutique » (direction 3)
   Couleurs du logo : vert, orange, noir. Tout passe par les variables ci-dessous.
   ========================================================================= */
:root {
	--lta-green: #1f7a4d;
	--lta-green-dark: #145236;
	--lta-orange: #f28c28;
	--lta-black: #0e0e0c;
	--lta-ink-2: #3a3a36;
	--lta-muted: #55554f;
	--lta-line: #ecece7;
	--lta-bg: #f6f6f3;
	--lta-tint-green: #eef6f1;
	--lta-tint-orange: #fff1e2;
	--lta-radius: 16px;

	/* Variables de l'extension HKG WooCommerce Amazon Bridge */
	--hkgwb-accent: var(--lta-orange);
	--hkgwb-accent-text: var(--lta-black);
	--hkgwb-ink: var(--lta-black);
	--hkgwb-good: var(--lta-green);
	--hkgac-accent: var(--lta-orange);
}

body,
body .et_pb_module,
body .et_pb_text_inner {
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { color: var(--lta-black); }
a { color: var(--lta-green); }
a:hover { color: var(--lta-green-dark); }

.lta-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ---------- Bandeau de réassurance ---------- */
.lta-reassurance { background: var(--lta-black); color: #fff; font-size: 13px; position: relative; z-index: 100000; }
.lta-reassurance .lta-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 32px; padding-top: 8px; padding-bottom: 8px; }
.lta-reassurance span::before { content: "✓"; color: var(--lta-orange); font-weight: 800; margin-right: 6px; }

/* ---------- En-tête Divi : barre des rayons verte ---------- */
/* À appliquer au module Menu du Theme Builder : classe CSS « lta-rayons » */
.lta-rayons,
.lta-rayons .et_pb_menu__wrap { background: var(--lta-green); }
.lta-rayons .et-menu > li > a,
.lta-rayons .et_pb_menu__menu > nav > ul > li > a {
	color: #fff !important;
	font-weight: 600;
	font-size: 15px;
	padding: 16px 18px !important;
}
.lta-rayons .et-menu > li:hover > a,
.lta-rayons .et-menu > li.current-menu-item > a,
.lta-rayons .et-menu > li.current-menu-ancestor > a {
	background: #fff;
	color: var(--lta-green) !important;
}

/* Méga-menu Divi (classe « mega-menu » sur les rayons) */
#top-menu li.mega-menu > ul,
.et-menu li.mega-menu > ul {
	border-top: 3px solid var(--lta-green);
	border-radius: 0 0 var(--lta-radius) var(--lta-radius);
	box-shadow: 0 18px 40px rgba(14, 14, 12, .12);
	padding: 24px !important;
}
#top-menu li.mega-menu > ul > li > a,
.et-menu li.mega-menu > ul > li > a {
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--lta-green) !important;
	border-bottom: 0 !important;
}
#top-menu li.mega-menu li li a,
.et-menu li.mega-menu li li a {
	font-size: 15px;
	color: var(--lta-black) !important;
	padding: 6px 0 !important;
}
#top-menu li.mega-menu li li a:hover,
.et-menu li.mega-menu li li a:hover { color: var(--lta-green) !important; }

/* Barre de recherche (module Recherche Divi, classe « lta-search ») */
.lta-search input.et_pb_s {
	border: 2px solid var(--lta-green) !important;
	border-radius: 12px !important;
	height: 48px;
	padding: 0 16px !important;
	font-size: 15px;
}

/* ---------- Boutons ---------- */
.lta-btn,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--lta-orange) !important;
	color: var(--lta-black) !important;
	border: 0 !important;
	border-radius: 12px !important;
	font-weight: 800 !important;
	padding: 12px 22px !important;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.lta-btn::after,
.woocommerce a.button::after { display: none !important; }
.lta-btn--dark { background: var(--lta-black) !important; color: #fff !important; }

/* ---------- Grilles de produits (boutique, catégories, [products]) ---------- */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.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;
	background: #fff;
	border: 1px solid var(--lta-line);
	border-radius: var(--lta-radius);
	padding: 14px !important;
	display: flex;
	flex-direction: column;
}
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .hkgwb-img {
	background: var(--lta-bg);
	border-radius: 12px;
	padding: 12px;
	margin-bottom: 10px !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.3;
	min-height: 39px;
	color: var(--lta-black);
	padding: 0 !important;
}
.woocommerce ul.products li.product .price {
	font-size: 20px !important;
	font-weight: 800;
	color: var(--lta-black) !important;
	margin: 4px 0 10px !important;
}
.woocommerce ul.products li.product .button {
	margin-top: auto !important;
	width: 100%;
	justify-content: center;
	background: var(--lta-orange) !important;
	color: var(--lta-black) !important;
	border: 0 !important;
	border-radius: 10px !important;
	font-weight: 800 !important;
}

/* Fil d'Ariane, titres de catégorie */
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--lta-muted); }
.woocommerce-products-header__title { font-size: 34px !important; font-weight: 800 !important; letter-spacing: -.02em; }
.woocommerce-ordering select { border-radius: 10px; border: 1px solid #cfcfc8; height: 40px; padding: 0 12px; }

/* Fiche produit */
.single-product .product .summary .product_title { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.single-product .product .summary .price { font-size: 26px !important; color: var(--lta-black) !important; }
.single-product .hkgwb-gallery-main { background: var(--lta-bg); border-radius: 20px; padding: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--lta-tint-green); }

/* ---------- Blocs d'accueil (modules Divi « Texte » ou « Code ») ---------- */
.lta-hero {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
	background: var(--lta-green); color: #fff; border-radius: 20px; padding: 40px; min-height: 280px;
}
.lta-hero h2 { color: #fff; font-size: 40px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.lta-hero p { color: #dcebe2; }
.lta-kicker { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ffd9b0; }
.lta-banner { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; border-radius: 20px; padding: 24px; min-height: 130px; text-decoration: none !important; }
.lta-banner--dark { background: var(--lta-black); color: #fff !important; }
.lta-banner--orange { background: var(--lta-tint-orange); color: var(--lta-black) !important; }
.lta-banner strong { font-size: 22px; line-height: 1.15; }
.lta-section { background: #fff; border-radius: 20px; padding: 24px; }
.lta-section h2 { font-size: 22px; font-weight: 800; }

/* Rayons en vignettes rondes (module Code : liste <ul class="lta-tiles">) */
.lta-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0 !important; }
.lta-tiles a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--lta-black); font-weight: 700; font-size: 14px; text-align: center; }
.lta-tiles img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--lta-tint-green); }

/* Garanties */
.lta-garanties { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.lta-garanties > div { background: #fff; border-radius: var(--lta-radius); padding: 18px; }
.lta-garanties strong { display: block; margin-bottom: 4px; }

@media (max-width: 980px) {
	.lta-hero { padding: 28px; }
	.lta-hero h2 { font-size: 30px; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
