/* =========================================================================
   Les Tontons Afro — en-tête, méga-menu, pied de page et accueil (direction 3)
   ========================================================================= */

/* L'en-tête et le pied de page de Divi sont remplacés */
#top-header,
#main-header,
#et-top-navigation,
#main-footer { display: none !important; }
#page-container { padding-top: 0 !important; margin-top: 0 !important; }
body { background: var(--lta-bg); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */
.lta-header { background: #fff; border-bottom: 1px solid #e6e6e1; position: relative; z-index: 9999; }
.lta-header__top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 14px; padding-bottom: 14px; }
.lta-logo { display: flex; align-items: center; text-decoration: none; font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--lta-black) !important; }
.lta-logo span { color: var(--lta-orange); }
.lta-logo img { height: 54px; width: auto; display: block; }
.lta-searchbar { flex: 1 1 460px; display: flex; height: 48px; border: 2px solid var(--lta-green); border-radius: 12px; overflow: hidden; background: #fff; margin: 0; }
.lta-searchbar select { border: 0; border-right: 1px solid #e6e6e1; background: var(--lta-bg); padding: 0 10px; font: inherit; font-size: 14px; color: var(--lta-black); max-width: 150px; }
.lta-searchbar input[type="search"] { flex: 1; min-width: 0; border: 0; padding: 0 16px; font: inherit; font-size: 15px; color: var(--lta-black); background: #fff; }
.lta-searchbar input[type="search"]:focus { outline: none; }
.lta-searchbar:focus-within { box-shadow: 0 0 0 3px rgba(31, 122, 77, .25); }
.lta-searchbar button { border: 0; background: var(--lta-green); color: #fff; padding: 0 22px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.lta-searchbar button:hover { background: var(--lta-green-dark); }
.lta-shortcuts { display: flex; gap: 18px; font-size: 13px; font-weight: 600; }
.lta-shortcuts a { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 44px; text-decoration: none; color: var(--lta-black) !important; }
.lta-shortcuts a:hover { color: var(--lta-green) !important; }

/* ---------- Barre des rayons + méga-menu ---------- */
.lta-nav { background: var(--lta-green); position: relative; }
.lta-nav__list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0 !important; }
.lta-nav__item { list-style: none; }
.lta-nav__link { display: flex; align-items: center; height: 48px; padding: 0 18px; color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; }
.lta-nav__item:hover > .lta-nav__link,
.lta-nav__item:focus-within > .lta-nav__link,
.lta-nav__item.is-current > .lta-nav__link { background: #fff; color: var(--lta-green) !important; }
.lta-nav__item--accent { margin-left: auto; }
.lta-nav__item--accent > .lta-nav__link { background: var(--lta-orange); color: var(--lta-black) !important; font-weight: 700; }
.lta-nav__item--accent:hover > .lta-nav__link { background: #ffa64d; color: var(--lta-black) !important; }

.lta-mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--lta-green); box-shadow: 0 18px 30px rgba(14, 14, 12, .12); }
.lta-nav__item:hover > .lta-mega,
.lta-nav__item:focus-within > .lta-mega { display: block; }
.lta-mega__inner { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 24px; padding-bottom: 24px; }
.lta-mega__col { flex: 1 1 220px; }
.lta-mega__col ul { list-style: none; margin: 0; padding: 0 !important; }
.lta-mega__col li { list-style: none; }
.lta-mega__col a { display: block; padding: 6px 0; font-size: 15px; color: var(--lta-black) !important; text-decoration: none; }
.lta-mega__col a:hover { color: var(--lta-green) !important; }
.lta-mega__col li.is-sub a { padding-left: 14px; font-size: 14px; color: var(--lta-muted) !important; }
.lta-mega__all { font-weight: 700; color: var(--lta-green) !important; }
.lta-mega__title { margin: 0 0 8px !important; padding: 0 !important; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lta-green); }
.lta-note { display: inline-block; background: var(--lta-orange); color: var(--lta-black); font-weight: 800; font-size: 12px; padding: 1px 6px; border-radius: 6px; margin-right: 4px; }
.lta-mega__card { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: var(--lta-bg); text-decoration: none; color: var(--lta-black) !important; }
.lta-mega__card img { width: 100%; height: 130px; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.lta-mega__kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lta-green); }
.lta-mega__featured { font-size: 18px; font-weight: 800; line-height: 1.25; }
.lta-mega__more { font-size: 14px; font-weight: 700; color: var(--lta-green); }

@media (max-width: 980px) {
	.lta-logo img { height: 44px; }
	.lta-shortcuts { order: 2; margin-left: auto; gap: 10px; }
	.lta-searchbar { order: 3; flex-basis: 100%; }
	.lta-searchbar select { display: none; }
	.lta-nav__list { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.lta-nav__link { white-space: nowrap; padding: 0 14px; }
	.lta-nav__item--accent { margin-left: 0; }
	.lta-nav__item:hover > .lta-mega,
	.lta-nav__item:focus-within > .lta-mega { display: none; }
}


/* Boutique : pleine largeur, sans barre latérale Divi */
.woocommerce-page #sidebar, .woocommerce #sidebar { display: none !important; }
.woocommerce-page #left-area, .woocommerce #left-area { width: 100% !important; padding-right: 0 !important; float: none !important; }
.woocommerce-page #main-content .container::before, .woocommerce #main-content .container::before { display: none !important; }
.woocommerce-page #main-content .container, .woocommerce #main-content .container { max-width: 1320px; width: calc(100% - 48px); }
.woocommerce-page #main-content, .woocommerce #main-content { background: transparent; }
a.hkgwb-buy { outline: none !important; border: 0 !important; }
a.hkgwb-buy:focus-visible { outline: 3px solid var(--lta-green) !important; }

/* ---------- Pied de page ---------- */
.lta-footer { background: var(--lta-black); color: #cfcfc8; margin-top: 48px; }
.lta-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.lta-footer__title { margin: 0 0 10px !important; padding: 0 !important; color: #fff; font-weight: 800; font-size: 14px; }
.lta-footer ul { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.lta-footer li { list-style: none; }
.lta-footer a { color: #cfcfc8 !important; text-decoration: none; }
.lta-footer a:hover { color: #fff !important; text-decoration: underline; }
.lta-footer__bottom { border-top: 1px solid #2c2c28; }
.lta-footer__bottom p { margin: 0 !important; padding: 12px 0 0 !important; font-size: 12px; color: #a8a8a0; }
.lta-footer__bottom .lta-wrap { padding-bottom: 16px; }

/* ---------- Accueil ---------- */
.lta-home { padding: 24px 0 0; }
.lta-home .lta-wrap > * + * { margin-top: 28px; }
.lta-home__intro h1 { font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--lta-black); padding: 0; margin: 0 0 6px; }
.lta-home__intro p { margin: 0; color: var(--lta-muted); font-size: 16px; max-width: 820px; }
.lta-heroes { display: flex; flex-wrap: wrap; gap: 16px; }
.lta-hero { flex: 2 1 560px; display: flex; align-items: stretch; justify-content: space-between; gap: 24px; min-height: 300px; padding: 40px; border-radius: 20px; background: var(--lta-green); color: #fff !important; text-decoration: none !important; overflow: hidden; }
.lta-hero__text { max-width: 460px; display: flex; flex-direction: column; justify-content: center; }
.lta-hero__title { margin: 0 !important; padding: 0 !important; font-size: 40px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.lta-hero__sub { margin: 12px 0 22px !important; padding: 0 !important; font-size: 16px; color: #dcebe2; }
.lta-hero .lta-btn { align-self: flex-start; display: inline-flex; align-items: center; height: 48px; padding: 0 22px !important; border-radius: 12px; background: var(--lta-orange) !important; color: var(--lta-black) !important; font-weight: 800; }
.lta-hero__img { flex: 0 1 260px; margin: -40px -40px -40px 0; }
.lta-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lta-heroes__side { flex: 1 1 280px; display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.lta-kicker { margin: 0 0 10px !important; padding: 0 !important; display: block; }
.lta-kicker--orange { color: var(--lta-orange); }
.lta-kicker--brown { color: #9a4f0a; }
.lta-banner:hover strong { text-decoration: underline; }
.lta-tiles { grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)) !important; }
.lta-tiles li { list-style: none; }
.lta-home .woocommerce ul.products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.lta-tiles__ph { width: 96px; height: 96px; border-radius: 50%; background: var(--lta-tint-green); display: block; }
.lta-block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.lta-block__head h2 { margin: 0; padding: 0; font-size: 22px; font-weight: 800; }
.lta-block__head a { font-weight: 700; font-size: 14px; }
.lta-garanties a { display: block; margin-top: 6px; font-weight: 700; font-size: 14px; }
.lta-garanties > div { font-size: 14px; color: var(--lta-muted); }
.lta-garanties strong { color: var(--lta-black); font-size: 16px; }
.lta-about p { color: var(--lta-ink-2); font-size: 15px; line-height: 1.7; max-width: 900px; }
@media (max-width: 760px) {
	.lta-hero { padding: 28px; }
	.lta-hero__img { display: none; }
	.lta-hero__title { font-size: 30px; }
	.lta-home__intro h1 { font-size: 24px; }
}
