/* Teranga Boutique : composants. Les couleurs viennent des variables du thème Teranga
   (avec des valeurs de secours si un autre thème est utilisé). */
.teranga-express, .teranga-rayons, .teranga-tabs, .teranga-reas, .teranga-lot, .teranga-fcard, .teranga-chips, .teranga-fs, .teranga-diag, .teranga-band-diag, .teranga-conseils, .teranga-pack, .teranga-wl, .teranga-wa-btn, .teranga-ship {
	--tg-g: var(--teranga-green, #088546);
	--tg-mint: var(--teranga-mint, #F3EFE6);
	--tg-acc: var(--teranga-accent, #BF3F27);
	--tg-ink: var(--teranga-ink, #1E1D1A);
	--tg-line: var(--teranga-line, #E2DCCF);
	--tg-mute: var(--teranga-mute, #5E5A52);
}

/* Express */
.teranga-express { background: var(--tg-g); color: #fff; border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 1.5em; }
.teranga-express.has-img { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: stretch; }
.teranga-express-txt { padding: clamp(22px, 3vw, 40px); display: grid; gap: 12px; justify-items: start; align-content: center; }
.teranga-express h2 { color: #fff; margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.teranga-express p { margin: 0; color: #fff; }
.teranga-pill { background: var(--tg-acc); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 6px; }
.teranga-clock { font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.teranga-express .button { margin: 4px 6px 0 0; }
.teranga-express .teranga-btn-acc { background: var(--tg-acc); border-color: var(--tg-acc); color: #fff; }
.teranga-express .teranga-btn-ghost { background: transparent; border: 1px solid #fff; color: #fff; }
.teranga-express-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .teranga-express.has-img { grid-template-columns: minmax(0, 1fr); } }

/* Rayons */
.teranga-rayons { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; margin: 0 0 2em; }
.teranga-ray { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--tg-line); border-radius: 14px; text-decoration: none; color: var(--tg-ink); background: #fff; }
.teranga-ray:hover { border-color: var(--tg-g); color: var(--tg-ink); }
.teranga-ray img, .teranga-ray-ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--tg-mint); display: block; }
.teranga-ray b { display: block; font-size: 15px; line-height: 1.25; }
.teranga-ray small { color: var(--tg-mute); }

/* Onglets */
.teranga-tabs { margin: 0 0 2em; }
.teranga-tabs-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.teranga-tabs-head h2 { margin: 0; }
.teranga-tabs [role="tablist"] { display: flex; gap: 6px; flex-wrap: wrap; }
.teranga-tabs [role="tab"] { min-height: 42px; padding: 0 16px; border-radius: 21px; border: 1px solid var(--tg-line); background: none; color: var(--tg-ink); font-weight: 600; cursor: pointer; }
.teranga-tabs [role="tab"][aria-selected="true"] { background: var(--tg-ink); color: #fff; border-color: var(--tg-ink); }

/* Réassurance */
.teranga-reas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 0 2em; }
.teranga-reas > div { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; }
.teranga-reas svg { width: 48px; height: 48px; }
.teranga-reas svg .bg { fill: var(--tg-mint); }
.teranga-reas svg path { stroke: var(--tg-g); }
.teranga-reas b { display: block; font-size: 15px; }
.teranga-reas small { color: var(--tg-mute); font-size: 14px; }
@media (max-width: 900px) { .teranga-reas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .teranga-reas { grid-template-columns: minmax(0, 1fr); } }

/* Badges, marque, économies */
.onsale.teranga-ag { background: var(--teranga-accent, #BF3F27); color: #fff; }
.onsale.teranga-new { background: var(--teranga-green, #088546); color: #fff; }
.teranga-brand { display: block; font-size: 13px; font-weight: 500; color: var(--teranga-mute, #5E5A52); margin-bottom: 2px; }
.teranga-dlu { display: block; font-size: 13px; font-weight: 600; color: var(--teranga-accent, #BF3F27); }
.teranga-save { display: block; font-size: 13px; font-weight: 600; color: var(--teranga-green, #088546); margin: -4px 0 8px; }
.teranga-meta { display: block; }
.teranga-meta.is-ag strong { color: var(--teranga-accent, #BF3F27); }

/* Vérification de lot */
.teranga-lot { display: grid; gap: 6px; max-width: 520px; margin-bottom: 1em; }
.teranga-lot div { display: flex; gap: 8px; flex-wrap: wrap; }
.teranga-lot input { flex: 1 1 200px; text-transform: uppercase; }
.teranga-res { border-radius: 12px; padding: 14px 16px; max-width: 520px; }
.teranga-res.ok { background: var(--teranga-mint, #F3EFE6); }
.teranga-res.no { background: #FBE3DC; }

/* Cagnotte */
.teranga-fcard { background: linear-gradient(135deg, #088546, #0D5238); color: #fff; border-radius: 16px; padding: 20px; display: grid; gap: 8px; max-width: 380px; aspect-ratio: 1.6 / 1; align-content: space-between; margin: 0 0 1.5em; }
.teranga-fcard b { display: block; font-size: 30px; line-height: 1.1; color: #fff; }
.teranga-fcard a { color: #fff; }
.teranga-pts, .teranga-pts-hint { background: var(--teranga-mint, #F3EFE6); border-radius: 10px; padding: 12px 14px; margin: 0 0 1em; }

/* Sous-rayons et marques */
.teranga-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; clear: both; }
.teranga-chips span { font-size: 14px; color: var(--tg-mute); margin-right: 4px; }
.teranga-chips a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 19px; border: 1px solid var(--tg-line); font-size: 14px; text-decoration: none !important; color: var(--tg-ink); background: #fff; }
.teranga-chips a:hover { border-color: var(--tg-g); }
.teranga-chips a[aria-current] { background: var(--tg-mint); border-color: var(--tg-g); color: var(--tg-g); font-weight: 600; }
.teranga-chips.is-brands { margin-bottom: 20px; }

/* Livraison offerte */
.teranga-fs { background: var(--tg-mint); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; }
.teranga-fs p { margin: 0 0 8px; font-size: 15px; }
.teranga-fs-bar { display: block; height: 8px; border-radius: 4px; background: rgba(11, 122, 83, .15); overflow: hidden; }
.teranga-fs-bar span { display: block; height: 100%; background: var(--tg-g); border-radius: 4px; transition: width .4s; }
.teranga-fs-row td { padding: 8px 0 !important; border: 0 !important; }
.widget_shopping_cart .teranga-fs { margin: 10px 0; }

/* WhatsApp */
.teranga-wa-btn { background: #25d366 !important; border-color: #1E1D1A !important; color: #1E1D1A !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; }
.teranga-wa-btn:hover { background: #3be07a !important; }
.wc-proceed-to-checkout .teranga-wa-btn { width: 100%; margin-top: 10px; }
.teranga-wa-order { margin: 0 0 1.2em; }

/* Retour en stock */
.teranga-wl { background: var(--tg-mint); border-radius: 12px; padding: 14px 16px; margin: 0 0 1.2em; display: grid; gap: 8px; }
.teranga-wl label { font-weight: 600; }
.teranga-wl div { display: flex; gap: 8px; flex-wrap: wrap; }
.teranga-wl input { flex: 1 1 200px; }
.teranga-wl-ok { background: var(--teranga-mint, #F3EFE6); border-radius: 12px; padding: 12px 14px; }
.teranga-blocked { background: #FBE3DC; border-radius: 12px; padding: 12px 14px; color: #B3361D; }

/* Pack */
.teranga-pack { border: 1px solid var(--tg-line); border-radius: 14px; padding: 14px 16px; margin: 0 0 1.2em; }
.teranga-pack h3 { margin: 0 0 8px; font-size: 16px; }
.teranga-pack ul { margin: 0 0 8px; padding: 0; list-style: none; }
.teranga-pack li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--tg-line); font-size: 15px; }
.teranga-pack li span { white-space: nowrap; }
.teranga-pack p { margin: 0; font-size: 15px; }

/* Bandeau diagnostic */
.teranga-band-diag { background: var(--tg-mint); border-radius: 20px; padding: clamp(20px, 3vw, 32px); display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; margin: 0 0 2em; }
.teranga-band-diag h2 { margin: 0 0 6px; }
.teranga-band-diag p { margin: 0; color: var(--tg-mute); }
.teranga-band-diag .button { background: var(--tg-g); border-color: var(--tg-g); color: #fff; }

/* Derniers conseils */
.teranga-conseils { margin: 0 0 2em; }
.teranga-conseils-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.teranga-art { border: 1px solid var(--tg-line); border-radius: 16px; overflow: hidden; text-decoration: none !important; color: var(--tg-ink); background: #fff; display: flex; flex-direction: column; }
.teranga-art:hover { border-color: var(--tg-g); color: var(--tg-ink); }
.teranga-art img, .teranga-art-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--tg-mint); display: block; }
.teranga-art > span { padding: 14px 16px 18px; display: grid; gap: 6px; }
.teranga-art b { font-size: 17px; line-height: 1.25; }
.teranga-art small { color: var(--tg-mute); font-size: 13px; }

/* Tableau de livraison */
.teranga-scroll { overflow-x: auto; }
.teranga-ship { width: 100%; border-collapse: collapse; }
.teranga-ship th, .teranga-ship td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--tg-line); }
.teranga-ship .n { text-align: right; white-space: nowrap; }

/* Diagnostic */
.teranga-diag { display: grid; gap: 20px; }
.teranga-diag-q { display: grid; gap: 18px; }
.teranga-q { border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; }
.teranga-q legend { font-weight: 700; font-size: 18px; margin: 0 0 10px !important; padding: 0 !important; background: none !important; }
.teranga-q div { display: flex; flex-wrap: wrap; gap: 8px; }
.teranga-q label { cursor: pointer; }
.teranga-q input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.teranga-q span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--tg-line); background: #fff; font-size: 15px; }
.teranga-q input:checked + span { background: var(--tg-g); border-color: var(--tg-g); color: #fff; font-weight: 600; }
.teranga-q input:focus-visible + span { outline: 3px solid var(--tg-acc); outline-offset: 2px; }
.teranga-diag-res h2 { margin: 0 0 14px; }
.teranga-diag-wait { color: var(--tg-mute); }
.teranga-routine { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.teranga-routine li { border: 1px solid var(--tg-line); border-radius: 16px; padding: 12px; display: grid; gap: 6px; align-content: start; background: #fff; }
.teranga-routine a { text-decoration: none !important; color: var(--tg-ink); display: grid; gap: 4px; }
.teranga-routine img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--tg-mint); }
.teranga-routine small { color: var(--tg-mute); font-size: 13px; }
.teranga-routine b { font-size: 15px; line-height: 1.3; }
.teranga-step { font-weight: 700; color: var(--tg-g); font-size: 14px; }
.teranga-routine-cta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 16px; }
.teranga-routine-cta p { margin: 0; font-size: 17px; }
.teranga-diag-note { font-size: 13px; color: var(--tg-mute); margin: 0; }
@media (prefers-reduced-motion: reduce) { .teranga-fs-bar span { transition: none; } }

/* Prix jamais coupés en fin de ligne */
.woocommerce-Price-amount { white-space: nowrap; }

@media (max-width: 600px) {
	.teranga-rayons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.teranga-ray { grid-template-columns: 40px minmax(0, 1fr); padding: 8px; gap: 8px; }
	.teranga-ray img, .teranga-ray-ph { width: 40px; height: 40px; }
	.teranga-ray b { font-size: 14px; line-height: 1.25; }
}

/* ================= Expérience d'achat ================= */

/* Recherche instantanée */
.teranga-search-form { position: relative; }
.teranga-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1000; background: #fff; border: 1px solid #E2DCCF; border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0, 40, 30, .35); max-height: min(70vh, 560px); overflow-y: auto; padding: 6px; min-width: min(420px, 92vw); text-align: left; }
.teranga-sugg a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: #1E1D1A; text-decoration: none !important; font-size: 14px; }
.teranga-sugg a:hover, .teranga-sugg a.is-active { background: #F3EFE6; }
.teranga-sugg-terms { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 4px 6px; border-bottom: 1px solid #EEEAE0; margin-bottom: 4px; }
.teranga-sugg-terms a { padding: 6px 10px; border: 1px solid #E2DCCF; border-radius: 16px; }
.teranga-sugg-terms small { color: #5E5A52; }
.teranga-sugg-p img, .teranga-sugg-ph { width: 48px; height: 48px; border-radius: 8px; background: #F3EFE6; flex: none; object-fit: cover; display: block; margin: 0 !important; }
.teranga-sugg-p > span:not(.price) { flex: 1; min-width: 0; display: grid; }
.teranga-sugg-p small { color: #5E5A52; font-size: 12px; }
.teranga-sugg-p small.is-out { color: #B3361D; }
.teranga-sugg-p b { font-weight: 600; line-height: 1.3; }
.teranga-sugg-p .price { white-space: nowrap; font-weight: 700; font-size: 14px; }
.teranga-sugg-p .price del { font-weight: 400; font-size: 12px; opacity: .6; display: block; }
.teranga-sugg-p .price ins { text-decoration: none; }
.teranga-sugg-all { justify-content: center; font-weight: 600; color: #088546 !important; border-top: 1px solid #EEEAE0; border-radius: 0 0 10px 10px !important; margin-top: 4px; }
.teranga-sugg-empty { margin: 0; padding: 12px; font-size: 14px; color: #5E5A52; }

/* Favoris */
.teranga-fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; min-height: 0 !important; padding: 0 !important; border-radius: 20px !important; border: 0 !important; background: rgba(255, 255, 255, .92) !important; color: #1E1D1A !important; display: grid; place-items: center; box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .2); cursor: pointer; transition: transform .15s; }
.teranga-fav:hover { transform: scale(1.08); }
.teranga-fav[aria-pressed="true"] { color: #BF3F27 !important; }
.teranga-fav[aria-pressed="true"] path { fill: currentColor; }
.teranga-fav.is-single { position: static; float: right; margin: 0 0 8px 12px; border: 1px solid #E2DCCF !important; box-shadow: none; }
.teranga-note { background: #F3EFE6; border-radius: 10px; padding: 10px 14px; }

/* Vus récemment */
.teranga-rv { clear: both; margin: 2em 0; }
.teranga-rv h2 { font-size: 22px; margin-bottom: 14px; }

/* Panier latéral */
html.teranga-lock { overflow: hidden; }
.teranga-drawer { position: fixed; inset: 0; z-index: 99999; }
.teranga-drawer-overlay { position: absolute; inset: 0; background: rgba(5, 20, 15, .45); opacity: 0; transition: opacity .25s; }
.teranga-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s; outline: 0; box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .3); }
.teranga-drawer.is-open .teranga-drawer-overlay { opacity: 1; }
.teranga-drawer.is-open .teranga-drawer-panel { transform: none; }
.teranga-drawer-panel header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #E2DCCF; }
.teranga-drawer-panel h2 { margin: 0; font-size: 20px; }
.teranga-drawer-close { width: 44px; height: 44px; min-height: 0 !important; padding: 0 !important; border-radius: 22px !important; background: #F3EFE6 !important; color: #1E1D1A !important; font-size: 24px; line-height: 1; border: 0 !important; }
.teranga-drawer-content { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.teranga-drawer-items { list-style: none; margin: 0; padding: 0; }
.teranga-drawer-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #EEEAE0; }
.teranga-drawer-items img { width: 56px; height: 56px; border-radius: 10px; background: #F3EFE6; object-fit: cover; margin: 0 !important; }
.teranga-drawer-items li > span { display: grid; gap: 2px; font-size: 14px; }
.teranga-drawer-items span a { color: #1E1D1A; text-decoration: none; font-weight: 600; line-height: 1.3; }
.teranga-drawer-items small { color: #5E5A52; }
.teranga-drawer-total { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 16px; }
.teranga-drawer-actions { display: grid; gap: 8px; margin: 0; }
.teranga-drawer-actions .button { text-align: center; width: 100%; }
.teranga-drawer-ghost { background: transparent !important; border: 1px solid #1E1D1A !important; color: #1E1D1A !important; }
@media (prefers-reduced-motion: reduce) { .teranga-drawer-overlay, .teranga-drawer-panel, .teranga-fav { transition: none; } }

/* Fiche produit : livraison, réassurance */
.teranga-delivery { list-style: none; margin: 0 0 1.2em; padding: 12px 14px; border: 1px solid #E2DCCF; border-radius: 14px; display: grid; gap: 8px; font-size: 15px; }
.teranga-delivery li { padding-left: 28px; position: relative; line-height: 1.4; }
.teranga-delivery li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: #F3EFE6 center / 14px no-repeat; }
.teranga-delivery li.is-express::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z' fill='%230b7a53'/%3E%3C/svg%3E"); }
.teranga-delivery li.is-pickup::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 10h16v10H4zM3 6h18l-1 4H4z' fill='none' stroke='%230b7a53' stroke-width='2'/%3E%3C/svg%3E"); }
.teranga-delivery li.is-home::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11 12 4l9 7v9H3z' fill='none' stroke='%230b7a53' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.teranga-delivery .teranga-left { font-weight: 700; color: #088546; white-space: nowrap; }
.teranga-trust { list-style: none; margin: 0 0 1.2em; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #5E5A52; }
.teranga-trust li { padding-left: 18px; position: relative; }
.teranga-trust li::before { content: "✓"; position: absolute; left: 0; color: #088546; font-weight: 700; }

/* Souvent achetés ensemble */
.teranga-fbt { clear: both; border: 1px solid #E2DCCF; border-radius: 18px; padding: 20px; margin: 0 0 2.5em; }
.teranga-fbt h2 { font-size: 22px; margin: 0 0 14px; }
.teranga-fbt-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.teranga-fbt-imgs { display: flex; align-items: center; gap: 8px; }
.teranga-fbt-img { flex: 1; min-width: 0; }
.teranga-fbt-img img { width: 100%; border-radius: 12px; background: #F3EFE6; margin: 0 !important; }
.teranga-fbt-plus { font-size: 24px; color: #5E5A52; flex: none; }
.teranga-fbt ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.teranga-fbt li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.teranga-fbt li label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.teranga-fbt li input { margin-top: 4px; accent-color: #088546; width: 18px; height: 18px; flex: none; }
.teranga-fbt li em { font-style: normal; font-weight: 600; }
.teranga-fbt li b { white-space: nowrap; }
.teranga-fbt-total { font-size: 17px; margin: 0 0 10px; }
@media (max-width: 760px) { .teranga-fbt-in { grid-template-columns: minmax(0, 1fr); } }

/* Barre d'achat fixe (mobile) */
.teranga-sticky { display: none; }
@media (max-width: 767px) {
	.teranga-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 4.24em; z-index: 9998; background: #fff; border-top: 1px solid #E2DCCF; padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; transform: translateY(150%); transition: transform .2s; box-shadow: 0 -8px 20px -12px rgba(0, 0, 0, .25); }
	.teranga-sticky.is-visible { transform: none; }
	.teranga-sticky > span { min-width: 0; display: grid; font-size: 13px; }
	.teranga-sticky b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.teranga-sticky .price { font-weight: 700; }
	.teranga-sticky .button { flex: none; white-space: nowrap; }
	.teranga-sticky .price del { display: none; }
}
@media (max-width: 767px) { .single-product .teranga-wa { bottom: 150px; } }

/* =====================================================================
   Style « fait main » : traits d'encre, ombres décalées, notes manuscrites
   ===================================================================== */
.teranga-hand { font-family: Caveat, cursive; font-weight: 700; font-size: 22px; line-height: 1.1; color: #088546; }

/* Bannière d'accueil */
.teranga-express { background: #F3EFE6; color: #1E1D1A; border: 1.5px solid #1E1D1A; border-radius: 18px; display: grid; grid-template-columns: minmax(0, 5.3fr) minmax(0, 6.7fr); align-items: end; gap: 12px; overflow: hidden; margin: 0 0 2.2em; }
.teranga-express-txt { padding: clamp(22px, 3.4vw, 48px); padding-right: 0; display: grid; gap: 10px; justify-items: start; align-self: center; }
.teranga-express h1 { margin: 0; font-size: clamp(30px, 3.7vw, 50px); line-height: 1.04; color: #1E1D1A; }
.teranga-express p { margin: 0; color: #5E5A52; font-size: 17px; max-width: 44ch; }
.teranga-express .teranga-express-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.teranga-express .button { margin: 0; }
.teranga-stamp { display: inline-grid; gap: 2px; border: 2px solid #1E1D1A; border-radius: 12px; background: #fff; padding: 10px 16px; transform: rotate(-2deg); box-shadow: 3px 3px 0 #1E1D1A; }
.teranga-stamp .teranga-ex-msg { font-size: 13px; color: #5E5A52; }
.teranga-stamp .teranga-clock { font: 700 clamp(19px, 2vw, 25px)/1.15 "Familjen Grotesk", Inter, sans-serif; font-variant-numeric: tabular-nums; white-space: normal; }
.teranga-express-pic { margin: 0; align-self: end; }
.teranga-express-pic img { width: 100%; height: auto; display: block; margin: 0; }
@media (max-width: 760px) { .teranga-express { grid-template-columns: minmax(0, 1fr); } .teranga-express-txt { padding-right: clamp(22px, 3.4vw, 48px); } }

/* Rayons : vignettes rondes */
.teranga-rayons { grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 18px 8px; }
.teranga-ray { grid-template-columns: 1fr; justify-items: center; align-content: start; text-align: center; border: 0; background: none; padding: 0; gap: 8px; }
.teranga-ray:hover { border: 0; }
.teranga-ray img, .teranga-ray-ph { width: 84px !important; height: 84px !important; border-radius: 50% !important; border: 1.5px solid #1E1D1A; transition: transform .15s; }
.teranga-ray:hover img { transform: rotate(-4deg) scale(1.04); }
.teranga-ray b { font-size: 14px; line-height: 1.25; }
@media (max-width: 600px) { .teranga-rayons { grid-template-columns: repeat(4, minmax(0, 1fr)); } .teranga-ray img, .teranga-ray-ph { width: 68px !important; height: 68px !important; } .teranga-ray b { font-size: 13px; } .teranga-ray small { display: none; } }

/* Onglets, pastilles, réassurance */
.teranga-tabs [role="tab"], .teranga-chips a, .teranga-q span { border: 1.5px solid #1E1D1A !important; box-shadow: none !important; transform: none !important; min-height: 40px; }
.teranga-chips a[aria-current] { background: #1E1D1A; color: #fff; }
.teranga-reas { border-top: 1.5px solid #1E1D1A; border-bottom: 1.5px solid #1E1D1A; padding: 20px 0; }
.teranga-reas svg .bg { fill: #F3EFE6; stroke: #1E1D1A; stroke-width: 1.5; }
.teranga-reas svg path { stroke: #1E1D1A; }

/* Encadrés : trait d'encre */
.teranga-delivery, .teranga-fbt, .teranga-pack, .teranga-wl, .teranga-lot, .teranga-res, .teranga-fs, .teranga-pts, .teranga-pts-hint, .teranga-note, .teranga-blocked, .teranga-wl-ok { border: 1.5px solid #1E1D1A; }
.teranga-delivery { background: #F3EFE6; }
.teranga-delivery li::before { background-color: #fff; border: 1px solid #1E1D1A; }
.teranga-fbt-img img, .teranga-drawer-items img, .teranga-sugg-p img { border: 1.5px solid #1E1D1A; }
.teranga-fs-bar { border: 1.5px solid #1E1D1A; background: #fff; height: 10px; }
.teranga-fav { border: 1.5px solid #1E1D1A !important; box-shadow: none !important; }
.teranga-fav[aria-pressed="true"] { background: #BF3F27 !important; color: #fff !important; }

/* Bandeau diagnostic */
.teranga-band-diag { position: relative; background: #DCEBF5; border: 1.5px solid #1E1D1A; }
.teranga-band-note { position: absolute; top: -16px; right: clamp(140px, 18vw, 240px); background: #fff; border: 1.5px solid #1E1D1A; border-radius: 8px; padding: 2px 10px; transform: rotate(-5deg); }
.teranga-band-diag .button { background: #088546 !important; color: #fff !important; }
@media (max-width: 700px) { .teranga-band-note { display: none; } }

/* Conseils, diagnostic */
.teranga-art, .teranga-routine li { border: 1.5px solid #1E1D1A; border-radius: 12px; transition: transform .15s, box-shadow .15s; }
.teranga-art:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #1E1D1A; border-color: #1E1D1A; }
.teranga-art img { object-fit: cover !important; border-bottom: 1.5px solid #1E1D1A; }
.teranga-q input:checked + span { background: #1E1D1A !important; border-color: #1E1D1A !important; }
.teranga-step { font-family: Caveat, cursive; font-size: 22px; color: #088546; }

/* Panier latéral et recherche */
.teranga-drawer-panel { border-left: 2px solid #1E1D1A; }
.teranga-drawer-panel header { border-bottom: 1.5px solid #1E1D1A; }
.teranga-drawer-close { border: 1.5px solid #1E1D1A !important; background: #fff !important; }
.teranga-sugg { border: 1.5px solid #1E1D1A; box-shadow: 4px 4px 0 #1E1D1A; }
.teranga-sugg-terms a { border: 1.5px solid #1E1D1A; }
.teranga-fcard { border: 2px solid #1E1D1A; box-shadow: 4px 4px 0 #1E1D1A; background: #088546; }

/* Marques : une seule ligne qui défile */
.teranga-chips.is-brands { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; -webkit-mask: linear-gradient(90deg, #000 92%, transparent); mask: linear-gradient(90deg, #000 92%, transparent); }
.teranga-chips.is-brands a, .teranga-chips.is-brands span { flex: none; }
@media (max-width: 600px) {
	.teranga-tabs [role="tablist"] { max-width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
	.teranga-tabs [role="tab"] { flex: none; font-size: 14px; padding: 0 12px; }
}

/* Contenus : guide du rayon, présentation de marque, lexique, FAQ, fiche détaillée */
.teranga-guide { margin: 2.6em 0 1em; padding-top: 1.6em; border-top: 1.5px solid #1E1D1A; clear: both; }
.teranga-guide .teranga-hand { display: block; }
.teranga-guide h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 16px; }
.teranga-guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 24px; }
.teranga-guide-list b { display: flex; gap: 10px; align-items: baseline; font-size: 17px; color: #1E1D1A; }
.teranga-guide-list p { margin: 6px 0 0; color: #5E5A52; }
.teranga-gn { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid #1E1D1A; border-radius: 50%; background: #F0B13C; font-size: 14px; font-weight: 700; transform: rotate(-6deg); }
.teranga-guide-more { font-size: 14px; color: #5E5A52; margin-top: 16px; }
.teranga-brand-intro { border: 1.5px solid #1E1D1A; border-radius: 12px; background: #F3EFE6; padding: 16px 20px; margin: 0 0 18px; }
.teranga-brand-intro h2 { margin: 0 0 4px; font-size: 22px; }
.teranga-brand-intro p { margin: 0; color: #5E5A52; }
.term-description { color: #5E5A52; max-width: 70ch; font-size: 16px; }
.teranga-lex-link { margin-top: 1em; font-weight: 600; }
.woocommerce-Tabs-panel--description h3 { font-size: 18px; margin: 1.4em 0 .4em; }
.woocommerce-Tabs-panel--description h3:first-child { margin-top: 0; }
.woocommerce-product-details__short-description ul { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 6px; }
.woocommerce-product-details__short-description li { padding-left: 26px; position: relative; }
.woocommerce-product-details__short-description li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 14px; height: 8px; border-left: 2.5px solid #088546; border-bottom: 2.5px solid #088546; transform: rotate(-45deg); }
.wp-block-details { border-bottom: 1px solid #E2DCCF; padding: 12px 0; }
.wp-block-details summary { font-weight: 600; cursor: pointer; }
.wp-block-details p { margin: 8px 0 0; color: #5E5A52; }
.entry-content h3.wp-block-heading[id^="actif-"] { margin: 1.4em 0 .3em; font-size: 19px; scroll-margin-top: 80px; }
.entry-content h3.wp-block-heading[id^="actif-"]:target { background: #F3EFE6; box-shadow: -8px 0 0 #F3EFE6, 8px 0 0 #F3EFE6; }

.teranga-delivery a, .teranga-fbt a:not(.button), .teranga-pts a, .teranga-note a { text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================================
   Version colorée : bannière en vert profond avec de vrais produits,
   rayons en pastilles de couleur, marques qui défilent, vitrines,
   photos produit posées sur des fonds pastel (le blanc des photos s'y fond).
   ===================================================================== */
:root {
	--v-peach: #FFE4D6; --v-mint: #DDF2E6; --v-sky: #DCE9FB; --v-sun: #FFECB3; --v-rose: #F9DCEA; --v-lilac: #E6E0FB; --v-aqua: #D5F0EE;
	--v-peach-l: #FFF0E8; --v-mint-l: #EAF7EF; --v-sky-l: #EAF1FC; --v-sun-l: #FFF5D6; --v-rose-l: #FCEBF3; --v-lilac-l: #F0ECFD;
	--v-deep: #0C5235;
}

/* Bannière d'accueil */
.teranga-express.is-vivid { position: relative; background: radial-gradient(120% 140% at 0% 0%, #1E8C5F 0%, #088546 48%, #0C5235 100%); border-color: #0C5235; align-items: center; isolation: isolate; }
.teranga-express.is-vivid h1 { color: #fff; }
.teranga-express.is-vivid p { color: rgba(255, 255, 255, .9); }
.teranga-express.is-vivid .teranga-hand { color: #FFD66B; }
.teranga-express.is-vivid .button.alt { background: #FFD66B !important; color: #1E1D1A !important; border-color: #1E1D1A; }
.teranga-express.is-vivid .button.alt:hover { background: #FFE38F !important; }
.teranga-express.is-vivid .teranga-express-ctas .button:not(.alt) { background: transparent; color: #fff; border-color: #fff; box-shadow: 3px 3px 0 rgba(0, 0, 0, .3); }
.teranga-express.is-vivid .teranga-express-ctas .button:not(.alt):hover { background: rgba(255, 255, 255, .12); }
.teranga-express.is-vivid .teranga-stamp { color: #1E1D1A; }
.teranga-express.is-vivid .teranga-express-pic { align-self: stretch; display: grid; align-items: center; padding: clamp(18px, 2.6vw, 34px) clamp(18px, 2.6vw, 34px) clamp(18px, 2.6vw, 34px) 0; }
.tg-hero-prods { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); max-width: 460px; width: 100%; justify-self: center; }
.tg-hero-blob { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.tg-hb1 { width: 62%; aspect-ratio: 1; background: #FFD66B; top: -12%; right: -10%; }
.tg-hb2 { width: 38%; aspect-ratio: 1; background: #F0805F; bottom: -14%; left: -8%; }
.tg-hp { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; background: #fff; color: #1E1D1A !important; border: 1.5px solid #1E1D1A; border-radius: 16px; padding: 10px 10px 12px; box-shadow: 5px 5px 0 rgba(0, 0, 0, .3); text-decoration: none !important; transition: transform .2s ease; }
.tg-hp img { width: 100%; max-width: 124px; aspect-ratio: 1; object-fit: contain; margin: 0 !important; }
.tg-hp-1 { transform: rotate(-4deg); }
.tg-hp-2 { transform: rotate(3deg) translateY(16px); }
.tg-hp-3 { transform: rotate(2.5deg) translateY(-4px); }
.tg-hp-4 { transform: rotate(-3deg) translateY(12px); }
.tg-hp:hover, .tg-hp:focus-visible { transform: rotate(0) translateY(-4px) scale(1.03); z-index: 2; }
.tg-hp-name { font-size: 13px; line-height: 1.25; text-align: center; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.tg-hp-price { background: #BF3F27; color: #fff; font: 700 14px/1 "Familjen Grotesk", Inter, sans-serif; border-radius: 999px; padding: 6px 11px; }
.tg-hp-price .woocommerce-Price-amount, .tg-hp-price bdi { color: #fff; }
@media (max-width: 760px) {
	.teranga-express.is-vivid .teranga-express-pic { padding: 0 18px 26px; }
	.tg-hero-prods { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; gap: 8px; }
	.tg-hp { padding: 6px 6px 8px; border-radius: 12px; box-shadow: 3px 3px 0 rgba(0, 0, 0, .3); }
	.tg-hp-name { display: none; }
	.tg-hp-price { font-size: 12px; padding: 4px 7px; }
	.tg-hp-2, .tg-hp-4 { transform: rotate(3deg) translateY(6px); }
	.tg-hb1 { width: 40%; top: -30%; }
}

/* Rayons : pastilles de couleur avec la photo d'une meilleure vente */
.teranga-rayons { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 22px 10px; }
.teranga-ray-pic { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; border: 1.5px solid #1E1D1A; background: var(--v-peach); isolation: isolate; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.teranga-ray .teranga-ray-pic img { width: 74% !important; height: 74% !important; border: 0 !important; border-radius: 0 !important; object-fit: contain; background: transparent !important; mix-blend-mode: multiply; transform: none !important; }
.teranga-ray:nth-child(7n+2) .teranga-ray-pic, .teranga-ray:nth-child(7n+2) .teranga-ray-ph { background: var(--v-mint); }
.teranga-ray:nth-child(7n+3) .teranga-ray-pic, .teranga-ray:nth-child(7n+3) .teranga-ray-ph { background: var(--v-sky); }
.teranga-ray:nth-child(7n+4) .teranga-ray-pic, .teranga-ray:nth-child(7n+4) .teranga-ray-ph { background: var(--v-sun); }
.teranga-ray:nth-child(7n+5) .teranga-ray-pic, .teranga-ray:nth-child(7n+5) .teranga-ray-ph { background: var(--v-rose); }
.teranga-ray:nth-child(7n+6) .teranga-ray-pic, .teranga-ray:nth-child(7n+6) .teranga-ray-ph { background: var(--v-lilac); }
.teranga-ray:nth-child(7n) .teranga-ray-pic, .teranga-ray:nth-child(7n) .teranga-ray-ph { background: var(--v-aqua); }
.teranga-ray:hover .teranga-ray-pic, .teranga-ray:focus-visible .teranga-ray-pic { transform: translateY(-3px) rotate(-4deg); box-shadow: 4px 4px 0 #1E1D1A; }
@media (max-width: 1000px) { .teranga-rayons { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 600px) { .teranga-rayons { grid-template-columns: repeat(4, minmax(0, 1fr)); } .teranga-ray-pic { width: 68px; height: 68px; } }

/* Marques qui défilent */
.teranga-marques { margin: 0 0 2.4em; }
.teranga-marques h2 { font-size: clamp(20px, 2vw, 24px); margin: 0 0 12px; }
.teranga-marques-track { display: flex; gap: 10px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.teranga-marques-row { display: flex; gap: 10px; flex-shrink: 0; padding: 4px 0 8px; animation: tg-defile 60s linear infinite; }
.teranga-marques-track:hover .teranga-marques-row, .teranga-marques-track:focus-within .teranga-marques-row { animation-play-state: paused; }
.teranga-marques a { white-space: nowrap; border: 1.5px solid #1E1D1A; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 15px; color: #1E1D1A; text-decoration: none !important; background: var(--v-peach); transition: transform .15s, box-shadow .15s; }
.teranga-marques a:nth-child(6n+2) { background: var(--v-mint); }
.teranga-marques a:nth-child(6n+3) { background: var(--v-sky); }
.teranga-marques a:nth-child(6n+4) { background: var(--v-sun); }
.teranga-marques a:nth-child(6n+5) { background: var(--v-rose); }
.teranga-marques a:nth-child(6n) { background: var(--v-lilac); }
.teranga-marques a:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 #1E1D1A; }
@keyframes tg-defile { to { transform: translateX(calc(-100% - 10px)); } }
@media (prefers-reduced-motion: reduce) {
	.teranga-marques-row { animation: none; flex-wrap: wrap; flex-shrink: 1; }
	.teranga-marques-row[aria-hidden="true"] { display: none; }
	.teranga-marques-track { -webkit-mask-image: none; mask-image: none; }
}

/* Vitrines de rayons */
.teranga-vitrines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 2.4em; }
.tg-vit { display: grid; grid-template-rows: auto 1fr; border: 1.5px solid #1E1D1A; border-radius: 18px; overflow: hidden; text-decoration: none !important; color: #1E1D1A !important; min-height: 280px; background: var(--v-sun); isolation: isolate; transition: transform .15s, box-shadow .15s; }
.tg-vit-2 { background: var(--v-rose); }
.tg-vit-3 { background: var(--v-mint); }
.tg-vit:hover, .tg-vit:focus-visible { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #1E1D1A; }
.tg-vit-txt { padding: 20px 22px 0; display: grid; gap: 6px; align-content: start; }
.tg-vit-txt b { font: 700 clamp(22px, 2.2vw, 28px)/1.05 "Familjen Grotesk", Inter, sans-serif; letter-spacing: -.02em; }
.tg-vit-txt small { color: #3E3B35; font-size: 14px; line-height: 1.4; }
.tg-vit-cta { font-weight: 700; color: #0D5238; margin-top: 2px; }
.tg-vit-pics { display: flex; align-items: flex-end; justify-content: center; padding: 12px 10px 0; }
.tg-vit-pics img { width: 36%; max-width: 150px; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin: 0 -3% !important; }
.tg-vit-pics img:nth-child(2) { transform: translateY(-16px) scale(1.14); position: relative; z-index: 1; }
@media (max-width: 860px) {
	.teranga-vitrines { grid-template-columns: minmax(0, 1fr); }
	.tg-vit { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; align-items: center; }
	.tg-vit-txt { padding: 16px 0 16px 18px; }
	.tg-vit-pics { padding: 10px 6px; }
}

/* Onglets de la sélection */
.teranga-tabs [role="tab"][aria-selected="true"] { background: #088546 !important; color: #fff !important; border-color: #088546 !important; }

/* Vignettes produit : photo sur fond pastel, bouton plein */
ul.products li.product .tg-thumb { display: block; margin: 0 0 12px; border-bottom: 1.5px solid #1E1D1A; background: var(--v-peach-l); isolation: isolate; }
ul.products li.product .tg-thumb img { margin: 0 !important; border: 0 !important; background: transparent !important; mix-blend-mode: multiply; display: block; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6%; box-sizing: border-box; }
ul.products li.product:nth-child(6n+2) .tg-thumb { background: var(--v-mint-l); }
ul.products li.product:nth-child(6n+3) .tg-thumb { background: var(--v-sky-l); }
ul.products li.product:nth-child(6n+4) .tg-thumb { background: var(--v-sun-l); }
ul.products li.product:nth-child(6n+5) .tg-thumb { background: var(--v-rose-l); }
ul.products li.product:nth-child(6n) .tg-thumb { background: var(--v-lilac-l); }
ul.products li.product:hover .tg-thumb img { transform: scale(1.04); transition: transform .25s; }
ul.products li.product .button.add_to_cart_button, ul.products li.product .button.product_type_simple, ul.products li.product .button.product_type_variable { background: #088546 !important; color: #fff !important; border-color: #1E1D1A !important; }
ul.products li.product .button.add_to_cart_button:hover, ul.products li.product .button.product_type_simple:hover, ul.products li.product .button.product_type_variable:hover { background: #0D5238 !important; }
ul.products li.product.outofstock .button { background: #fff !important; color: #5E5A52 !important; }
ul.products li.product.outofstock .tg-thumb img { opacity: .55; }
ul.products li.product .price ins, ul.products li.product .price ins .amount { color: #BF3F27; }
@media (prefers-reduced-motion: reduce) { ul.products li.product:hover .tg-thumb img { transform: none; } }

/* Fiche produit : photo sur fond pastel */
.single-product div.product .woocommerce-product-gallery__image { background: var(--v-peach-l); isolation: isolate; border-radius: 14px; }
.single-product div.product .woocommerce-product-gallery__image img { mix-blend-mode: multiply; }

/* Bandeau diagnostic et réassurance en couleur */
.teranga-band-diag { background: linear-gradient(115deg, #FFE4D6 0%, #FFECB3 100%); }
.teranga-reas { background: #088546; border: 1.5px solid #1E1D1A; border-radius: 18px; padding: 22px 26px; }
.teranga-reas b { color: #fff; }
.teranga-reas small { color: rgba(255, 255, 255, .86); }
.teranga-reas svg .bg { fill: #0C5235; stroke: #FFD66B; }
.teranga-reas svg path { stroke: #FFD66B; }

/* Conseils : cartes de couleur */
.teranga-art { background: var(--v-sky-l); }
.teranga-art:nth-child(3n+2) { background: var(--v-sun-l); }
.teranga-art:nth-child(3n) { background: var(--v-rose-l); }

/* Anti-gaspi sur l'accueil : titre comme les autres sections */
.teranga-ag-sec > h2, .teranga-marques h2 { display: inline-block; padding-bottom: 10px; margin: 0 0 .4em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C40 3 80 10 120 5 S180 4 198 7' fill='none' stroke='%23F0B13C' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 12px no-repeat; }
.teranga-ag-sec > h2 { font-size: clamp(24px, 2.8vw, 32px); }
.teranga-ag-sec > p { margin: 0 0 1em; }

/* =====================================================================
   Version sable (4.4) : fond sable partout, une seule couleur d'accent
   (le vert pharmacie), corail réservé aux promos. Remplace les pastels.
   ===================================================================== */
:root { --s-sand: #F5ECDD; --s-card: #FFFBF4; --s-deep: #EADBC3; --s-line: #D9C7A8; --s-green: #088546; --s-ink: #1E1D1A; }
html body, html body.custom-background { background-color: var(--s-sand) !important; }
html body .site-header { background-color: var(--s-sand) !important; }
.teranga-strip { background: var(--s-deep); border-bottom-color: var(--s-line); color: #4A463F; }
.teranga-promobar a { color: var(--s-sand); }
.main-navigation ul.menu > li > a:hover, .teranga-account:hover { background: var(--s-deep) !important; }
.main-navigation ul.menu > li > ul.sub-menu { background: var(--s-card) !important; }
.site-header .site-search input[type="search"] { background: var(--s-card); }
.site-header-cart .widget_shopping_cart { background: var(--s-card) !important; }
.storefront-handheld-footer-bar, .storefront-handheld-footer-bar ul li > a, .storefront-handheld-footer-bar ul li.search .site-search { background: var(--s-card) !important; }

/* Logo à côté de « Teranga » */
.site-header .site-branding { display: grid !important; grid-template-columns: auto minmax(0, auto); grid-template-rows: auto auto; column-gap: 12px; align-items: center; justify-content: start; }
.site-header .site-branding::before { content: "" !important; display: block !important; grid-row: 1 / span 2; grid-column: 1; width: 50px; height: 50px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='13' fill='%23088546'/%3E%3Crect x='18.5' y='9' width='11' height='30' rx='3.5' fill='%23F5ECDD'/%3E%3Crect x='9' y='18.5' width='30' height='11' rx='3.5' fill='%23F5ECDD'/%3E%3Cpath d='M24 28.6s-4.2-2.6-4.2-5.8a2.2 2.2 0 0 1 4.2-1.2 2.2 2.2 0 0 1 4.2 1.2c0 3.2-4.2 5.8-4.2 5.8z' fill='%23088546'/%3E%3C/svg%3E") center / contain no-repeat; }
.site-header .site-branding::after { display: none !important; }
.site-header .site-branding .site-title, .site-header .site-branding .site-description { grid-column: 2; margin: 0; }
.site-header .site-branding .site-title { line-height: 1.05; }
@media (max-width: 767px) { .site-header .site-branding::before { width: 40px; height: 40px; } .site-header .site-branding { column-gap: 9px; } }

/* Titres : trait de feutre vert au lieu du jaune */
html body.home .entry-content > h2, html body .teranga-tabs-head h2, html body .teranga-conseils > h2, html body .teranga-rv > h2, html body .related > h2, html body .upsells > h2, html body .teranga-guide > h2,
html body .woocommerce-products-header__title.page-title, html body.woocommerce-page .entry-header .entry-title, html body.page .entry-header .entry-title, html body .teranga-ag-sec > h2, html body .teranga-marques h2 {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C40 3 80 10 120 5 S180 4 198 7' fill='none' stroke='%23088546' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Bannière : vert uni, sans pastilles jaune et corail */
.teranga-express.is-vivid { background: var(--s-green); border-color: var(--s-ink); }
.teranga-express.is-vivid h1 { font-size: clamp(28px, 3.3vw, 46px); }
@media (min-width: 761px) { .teranga-express.is-vivid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tg-hero-blob.tg-hb1 { background: rgba(245, 236, 221, .13); }
.tg-hero-blob.tg-hb2 { display: none; }
.tg-hp { background: var(--s-card); }
.tg-hp-price { background: var(--s-ink); }
.teranga-express.is-vivid .button.alt { background: var(--s-sand) !important; color: var(--s-ink) !important; }
.teranga-express.is-vivid .button.alt:hover { background: var(--s-card) !important; }

/* Teranga Express : grand encart (nom, promesse 4 h, compte à rebours) */
.tg-xp { display: flex; align-items: center; gap: 18px; background: var(--s-sand); color: var(--s-ink); border: 2px solid var(--s-ink); border-radius: 18px; padding: 16px 26px 16px 16px; box-shadow: 4px 4px 0 rgba(0, 0, 0, .35); margin: 0 0 10px; max-width: 100%; box-sizing: border-box; }
.tg-xp-ico { flex: none; width: 76px; height: 76px; border-radius: 15px; background: var(--s-green); color: var(--s-sand); display: grid; place-items: center; }
.tg-xp-ico svg { width: 48px; height: 48px; }
.tg-xp-body { display: grid; gap: 3px; min-width: 0; }
.tg-xp-name { font: 700 14px/1.2 Inter, sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--s-green); }
.tg-xp-promise { font: 700 clamp(26px, 2.65vw, 38px)/1.05 "Familjen Grotesk", Inter, sans-serif; letter-spacing: -.02em; color: var(--s-ink); }
.tg-xp-clock { font-size: 15px; line-height: 1.35; color: #3E3B35; }
.tg-xp-clock .teranga-clock { font: 700 15px/1.35 Inter, sans-serif; color: var(--s-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.teranga-express:not(.is-vivid) .tg-xp { box-shadow: 3px 3px 0 var(--s-ink); background: var(--s-card); }
@media (max-width: 760px) { .tg-xp { padding: 12px 16px 12px 12px; gap: 12px; } .tg-xp-ico { width: 54px; height: 54px; } .tg-xp-ico svg { width: 34px; height: 34px; } }

/* Rayons, marques, vitrines, conseils : une seule teinte claire */
.teranga-ray:nth-child(n) .teranga-ray-pic, .teranga-ray:nth-child(n) .teranga-ray-ph { background: var(--s-card); }
.teranga-marques a:nth-child(n) { background: var(--s-card); }
.tg-vit, .tg-vit.tg-vit-2, .tg-vit.tg-vit-3 { background: var(--s-card); }
.teranga-art:nth-child(n) { background: var(--s-card); }
.teranga-art img, .teranga-art-ph { background: var(--s-deep); }
.teranga-tabs [role="tab"][aria-selected="false"] { background: var(--s-card); }

/* Cartes produit : fond clair uni, photo fondue dedans */
ul.products li.product { background: var(--s-card); }
ul.products li.product:nth-child(n) .tg-thumb { background: var(--s-card); }
ul.products li.product .button { background: var(--s-card) !important; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--s-card); }
.onsale.teranga-new { background: var(--s-green); color: #fff; }
.onsale.teranga-ag { background: var(--s-card); }

/* Bandeaux */
.teranga-band-diag { background: var(--s-deep); }
.teranga-reas svg .bg { stroke: var(--s-sand); }
.teranga-reas svg path { stroke: var(--s-sand); }
.woocommerce-info, .woocommerce-noreviews, p.no-comments { background: var(--s-card) !important; }
.teranga-tip { background: var(--s-card); }
.woocommerce-checkout #payment, .cart_totals { background: var(--s-card); }

/* Rangées de produits par rayon (défilement horizontal) */
.tg-shelf { margin: 0 0 2.8em; }
.tg-shelf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin: 0 0 14px; }
html body .tg-shelf-head h2 { display: inline-block; margin: 0 0 6px; padding-bottom: 10px; font-size: clamp(24px, 2.8vw, 32px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C40 3 80 10 120 5 S180 4 198 7' fill='none' stroke='%23088546' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 12px no-repeat; }
.tg-shelf-head p { margin: 0; color: #5E5A52; font-size: 16px; }
.tg-shelf-nav { display: flex; align-items: center; gap: 8px; }
.tg-shelf-all { font-weight: 700; color: var(--s-green); text-decoration: underline; text-underline-offset: 3px; margin-right: 6px; white-space: nowrap; }
html body .tg-shelf-nav button { width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; background: var(--s-card); color: var(--s-ink); border: 1.5px solid var(--s-ink) !important; box-shadow: none; transform: none; }
html body .tg-shelf-nav button:hover { background: var(--s-ink); color: var(--s-sand); }
.tg-shelf .woocommerce { margin: 0; }
html body .tg-shelf ul.products.products { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 4px 8px 14px 2px; margin: 0; scrollbar-width: thin; scrollbar-color: var(--s-line) transparent; }
.tg-shelf ul.products li.product { scroll-snap-align: start; }
@media (max-width: 1000px) { html body .tg-shelf ul.products.products { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } }
@media (max-width: 600px) { html body .tg-shelf ul.products.products { grid-auto-columns: 46%; gap: 12px; } .tg-shelf-nav button { display: none !important; } }

/* Bandeau des promotions (vraies remises) */
.tg-promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(16px, 2.4vw, 32px); align-items: center; background: var(--s-deep); border: 1.5px solid var(--s-ink); border-radius: 18px; padding: clamp(20px, 3vw, 36px); margin: 0 0 2.6em; }
.tg-promo-txt { display: grid; gap: 10px; justify-items: start; }
.tg-promo-kicker { font: 700 14px/1.2 Inter, sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #A3351F; }
.tg-promo h2 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; }
.tg-promo h2 em { font-style: normal; color: #A3351F; white-space: nowrap; }
.tg-promo p { margin: 0; color: #4A463F; font-size: 16px; }
.tg-promo .button.alt { margin-top: 6px; }
.tg-promo-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tg-pr { position: relative; display: grid; gap: 6px; align-content: start; background: var(--s-card); border: 1.5px solid var(--s-ink); border-radius: 14px; padding: 10px 10px 12px; color: var(--s-ink) !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.tg-pr:hover, .tg-pr:focus-visible { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--s-ink); }
.tg-pr img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin: 0 !important; }
.tg-pr-off { position: absolute; top: 8px; left: 8px; z-index: 1; background: #BF3F27; color: #fff; font: 700 14px/1 "Familjen Grotesk", Inter, sans-serif; border: 1.5px solid var(--s-ink); border-radius: 7px; padding: 5px 8px; transform: rotate(-4deg); }
.tg-pr-name { font-size: 13.5px; line-height: 1.3; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.tg-pr-price { font: 700 15px/1.3 "Familjen Grotesk", Inter, sans-serif; }
.tg-pr-price del { font: 400 12.5px/1.3 Inter, sans-serif; color: #5E5A52; margin-right: 4px; }
.tg-pr-price ins { text-decoration: none; color: #A3351F; }
@media (max-width: 900px) { .tg-promo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .tg-promo-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Menu : « Promos » en pastille */
@media (min-width: 768px) {
	html body .main-navigation ul.menu > li.menu-promo > a { background: #BF3F27 !important; color: #fff !important; border-radius: 999px; padding: .5em 1em; margin: .35em .25em; }
	html body .main-navigation ul.menu > li.menu-promo > a:hover { background: #A3351F !important; color: #fff !important; }
}

/* =====================================================================
   4.6 : des personnes, plus de chaleur (photos Pexels, usage commercial libre)
   ===================================================================== */
/* Bannière : photo d'une personne + 2 vrais produits posés dessus */
.tg-hero-photo { position: relative; width: 100%; max-width: 560px; justify-self: center; }
.teranga-express-pic .tg-hero-photo .tg-hero-person { width: 100%; height: clamp(330px, 34vw, 480px); object-fit: cover; object-position: center 28%; border-radius: 22px; border: 2px solid var(--s-ink); box-shadow: 6px 6px 0 rgba(0, 0, 0, .3); display: block; }
.tg-hero-photo .tg-hpm { position: absolute; z-index: 2; width: clamp(122px, 11vw, 152px); }
.tg-hero-photo .tg-hpm img { max-width: 96px; }
.tg-hero-photo .tg-hpm-1 { left: 14px; bottom: 24px; transform: rotate(-5deg); }
.tg-hero-photo .tg-hpm-2 { right: -18px; top: 28px; transform: rotate(4deg); }
.tg-hero-photo .tg-hpm:hover, .tg-hero-photo .tg-hpm:focus-visible { transform: rotate(0) translateY(-4px) scale(1.03); }
@media (max-width: 760px) {
	.teranga-express-pic .tg-hero-photo .tg-hero-person { height: 300px; }
	.tg-hero-photo .tg-hpm { width: 112px; }
	.tg-hero-photo .tg-hpm-1 { left: 10px; bottom: -16px; }
	.tg-hero-photo .tg-hpm-2 { right: 10px; top: auto; bottom: -16px; }
	.teranga-express.is-vivid .teranga-express-pic { padding-bottom: 34px; }
}

/* Grandes vignettes photo des rayons */
.tg-univers { margin: 0 0 2.8em; }
.tg-univers-head { margin: 0 0 16px; }
html body .tg-univers-head h2 { display: inline-block; margin: 0 0 6px; padding-bottom: 10px; font-size: clamp(26px, 3vw, 36px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C40 3 80 10 120 5 S180 4 198 7' fill='none' stroke='%23088546' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 12px no-repeat; }
.tg-univers-head p { margin: 0; color: #5E5A52; font-size: 16px; }
.tg-univers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tg-uv { position: relative; display: block; overflow: hidden; aspect-ratio: 5 / 4; border: 1.5px solid var(--s-ink); border-radius: 18px; background: var(--s-deep); text-decoration: none !important; }
.tg-uv img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; margin: 0 !important; transition: transform .5s ease; }
.tg-uv:hover img, .tg-uv:focus-visible img { transform: scale(1.05); }
.tg-uv-solaire img { object-position: center 78%; }
.tg-uv-bouche-et-dents img { object-position: 60% 40%; }
.tg-uv-lab { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; background: var(--s-card); color: var(--s-ink); border: 1.5px solid var(--s-ink); border-radius: 12px; padding: 10px 14px; box-shadow: 3px 3px 0 rgba(0, 0, 0, .25); }
.tg-uv-lab b { flex: 1; font: 700 clamp(18px, 1.7vw, 22px)/1.1 "Familjen Grotesk", Inter, sans-serif; }
.tg-uv-lab small { font-size: 13px; color: #5E5A52; white-space: nowrap; }
.tg-uv-lab::after { content: "→"; font-weight: 700; color: var(--s-green); }
@media (prefers-reduced-motion: reduce) { .tg-uv img { transition: none; } }
@media (max-width: 1000px) { .tg-univers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 600px) {
	.tg-univers-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.tg-uv { aspect-ratio: 4 / 5; scroll-snap-align: start; }
}

/* Bandeau diagnostic avec photo */
.teranga-band-pic { flex: none; width: clamp(120px, 15vw, 190px); aspect-ratio: 1; overflow: hidden; border: 2px solid var(--s-ink); border-radius: 50%; margin: -6px 0; }
.teranga-band-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; margin: 0 !important; }
.teranga-band-diag.has-pic > div { flex: 1 1 320px; }
@media (max-width: 700px) { .teranga-band-pic { width: 110px; margin: 0; } }

/* =====================================================================
   4.7 : couleurs vives (émeraude + jaune soleil) et images agrandies
   ===================================================================== */
html:root { --teranga-green: #088546; --teranga-green-dark: #066B38; --b-green: #088546; --b-green-d: #066B38; --b-green-dd: #04502A; --b-sun: #FFC814; --b-red: #D23F24; --b-bg: #FFFAF0; --s-green: #088546; --s-card: #FFFFFF; }
html{overflow-x:clip}
html body, html body.custom-background { background-color: var(--b-bg) !important; }

/* En-tête émeraude */
.teranga-promobar { background: var(--b-green-dd) !important; }
.teranga-promobar a { color: var(--b-sun) !important; }
.teranga-strip { background: var(--b-green-d) !important; color: #E6F6EC !important; border: 0 !important; }
html body #masthead.site-header { background: var(--b-green) !important; border-bottom: 0 !important; }
html body.home #masthead.site-header { margin-bottom: 0 !important; }
.site-header .site-branding::before { box-shadow: 0 0 0 3px #fff; border-radius: 13px; }
.site-header .site-title a, .site-header .teranga-account, .site-header .teranga-account * { color: #fff !important; }
.site-header .site-description { color: var(--b-sun) !important; }
.site-header .site-search input[type="search"] { background: #fff !important; border-color: var(--b-green-dd) !important; }
.site-header-cart .cart-contents { background: var(--b-sun) !important; border-color: var(--b-green-dd) !important; }
.site-header-cart .cart-contents, .site-header-cart .cart-contents * { color: #1E1D1A !important; }
.storefront-primary-navigation { background: var(--b-green-d) !important; border: 0 !important; }
html body .main-navigation ul.menu > li > a { color: #fff !important; }
html body .main-navigation ul.menu > li > a:hover { background: var(--b-green) !important; }
@media (min-width: 768px) { html body .main-navigation ul.menu > li.menu-promo > a { background: var(--b-sun) !important; color: #1E1D1A !important; } html body .main-navigation ul.menu > li.menu-promo > a:hover { background: #fff !important; color: #1E1D1A !important; } }
.site-footer { background: var(--b-green-dd) !important; }

/* Bannière émeraude sur toute la largeur, photo agrandie */
.home .site-content { padding-top: 0 !important; }
.home .entry-content > .teranga-express.is-vivid { margin: 0 calc(50% - 50vw) 2.6em !important; padding-left: calc(50vw - 50%) !important; padding-right: calc(50vw - 50%) !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.teranga-express.is-vivid { background: var(--b-green) !important; }
@media (min-width: 761px) { .teranga-express.is-vivid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; } }
.teranga-express.is-vivid .teranga-express-pic { padding-right: 0 !important; }
.tg-hero-photo { max-width: 640px; }
.teranga-express-pic .tg-hero-photo .tg-hero-person { height: clamp(380px, 40vw, 580px); }
.tg-hero-photo .tg-hpm { width: clamp(140px, 12vw, 176px); }
.tg-hero-photo .tg-hpm img { max-width: 118px; }
.teranga-express.is-vivid .button.alt { background: var(--b-sun) !important; color: #1E1D1A !important; }
.teranga-express.is-vivid .button.alt:hover { background: #fff !important; }
.tg-xp { background: #fff; }
.tg-xp-ico { background: var(--b-green); }

/* Vignettes photo : carrées et plus grandes, étiquettes jaune soleil */
.tg-univers-grid { gap: 16px; }
.tg-uv { aspect-ratio: 1 / 1; }
.tg-uv-lab { background: var(--b-sun) !important; border-color: #1E1D1A !important; padding: 12px 14px; }
.tg-uv-lab b { font-size: clamp(17px, 1.6vw, 21px); white-space: nowrap; }
.tg-uv-lab small { color: #3A372F !important; }
.tg-uv-lab::after { color: #1E1D1A !important; }

/* Rayons : ronds plus grands */
.teranga-ray-pic { width: 124px !important; height: 124px !important; }
.teranga-ray:nth-child(n) .teranga-ray-pic, .teranga-ray:nth-child(n) .teranga-ray-ph { background: #fff; }
.teranga-ray .teranga-ray-pic img { width: 82% !important; height: 82% !important; }
.teranga-ray b { font-size: 15px; }
@media (max-width: 600px) { .teranga-ray-pic { width: 84px !important; height: 84px !important; } }

/* Bandeau promos jaune soleil sur toute la largeur, produits plus grands */
.home .entry-content > .tg-promo, .home .entry-content > .teranga-reas, .home .entry-content > .teranga-band-diag { margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; padding-left: calc(50vw - 50% + 0px) !important; padding-right: calc(50vw - 50% + 0px) !important; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; }
.tg-promo { background: var(--b-sun) !important; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); padding-top: 40px !important; padding-bottom: 40px !important; }
.tg-promo-kicker, .tg-promo h2 em { color: #B4301A; }
.tg-pr img { padding: 2%; }
.tg-pr-name { font-size: 14.5px; }
.tg-pr-price { font-size: 17px; }
.teranga-band-diag { background: #CFF5DD !important; padding-top: 34px !important; padding-bottom: 34px !important; }
.teranga-band-pic { width: clamp(150px, 17vw, 220px); }
.teranga-reas svg .bg, .teranga-reas svg path { stroke: var(--b-sun) !important; }

/* Cartes produits : blanches, images plus grandes, 4 par rangée */
ul.products li.product, ul.products li.product:nth-child(n) .tg-thumb { background: #fff !important; }
ul.products li.product { box-shadow: 0 8px 22px rgba(0, 0, 0, .08); }
ul.products li.product .tg-thumb img { padding: 2%; }
html body .tg-shelf ul.products.products { grid-auto-columns: calc((100% - 3 * 20px) / 4); }
@media (max-width: 1000px) { html body .tg-shelf ul.products.products { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { html body .tg-shelf ul.products.products { grid-auto-columns: 62%; } }
.teranga-tabs [role="tab"][aria-selected="true"] { background: var(--b-green) !important; border-color: var(--b-green) !important; }
.tg-shelf-all { color: var(--b-green); }
.home .entry-content > .teranga-band-diag .teranga-band-note { right: calc(50vw - 50% + 220px); }

.teranga-express.is-vivid .tg-xp-promise { white-space: nowrap; font-size: clamp(24px, 2.4vw, 36px); }
@media (max-width: 1100px) { .teranga-express.is-vivid .tg-xp-promise { white-space: normal; } .tg-uv-lab small { display: none; } }
.teranga-express-pic .tg-hero-photo .tg-hero-person { object-position: center top; }

/* 4.8 : menu façon grande parapharmacie (Promos, rayons, Sexualité) tenant sur une ligne */
@media (min-width: 768px) {
	html body .main-navigation ul.menu > li > a { padding-left: .58em !important; padding-right: .58em !important; font-size: 14.5px; letter-spacing: -.005em; }
	html body .main-navigation ul.menu > li.menu-promo > a { margin-left: 0; }
	.main-navigation ul.menu ul.sub-menu { min-width: 250px; }
	html body .main-navigation ul.menu ul.sub-menu a { color: #1E1D1A !important; }
}
.tg-uv-bouche-et-dents .tg-uv-lab b { white-space: normal; }
@media (min-width: 768px) {
	html body .storefront-primary-navigation .main-navigation { width: 100% !important; margin-right: 0 !important; float: none !important; }
	html body .main-navigation ul.menu > li.menu-item-has-children > a::after { display: none !important; }
	html body .main-navigation ul.menu { display: flex !important; flex-wrap: wrap; justify-content: space-between; }
	html body .main-navigation ul.menu > li > a { padding-left: .55em !important; padding-right: .55em !important; }
}
@media (min-width: 768px) and (max-width: 1220px) { html body .main-navigation ul.menu > li > a { font-size: 13.5px; padding-left: .4em !important; padding-right: .4em !important; } }

/* 4.9 : bandeau de photos qui défilent en bas de l'accueil */
.home .entry-content > .tg-defile { margin: 3em calc(50% - 50vw) calc(-4.236em - 16px) !important; }
.tg-defile { background: var(--b-sun, #FFC814); border-top: 1.5px solid #1E1D1A; padding: 40px 0 26px; overflow: hidden; }
.tg-defile-head { max-width: 1148px; margin: 0 auto 22px; padding: 0 24px; text-align: center; }
html body .tg-defile-head h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 38px); background: none; padding: 0; }
.tg-defile-head p { margin: 0; color: #2E2B25; font-size: 16px; font-weight: 600; }
.tg-defile-viewport { overflow: hidden; padding: 4px 0 22px; }
.tg-defile-track { display: flex; width: max-content; animation: tg-defile-img 70s linear infinite; }
.tg-defile-set { display: flex; gap: 16px; padding-right: 16px; }
.tg-defile:hover .tg-defile-track, .tg-defile:focus-within .tg-defile-track { animation-play-state: paused; }
@keyframes tg-defile-img { to { transform: translateX(-50%); } }
.tg-df { display: block; flex: none; width: 230px; height: 300px; border-radius: 18px; overflow: hidden; border: 2px solid #1E1D1A; box-shadow: 4px 4px 0 rgba(0, 0, 0, .25); background: #fff; }
.tg-df:nth-child(even) { transform: translateY(14px); }
.tg-df img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; margin: 0 !important; transition: transform .4s ease; }
.tg-df:hover img, .tg-df:focus-visible img { transform: scale(1.06); }
@media (max-width: 600px) { .tg-df { width: 170px; height: 224px; } .tg-defile { padding: 30px 0 36px; } }
@media (prefers-reduced-motion: reduce) {
	.tg-defile-track { animation: none; }
	.tg-defile-viewport { overflow-x: auto; }
	.tg-defile-set[aria-hidden="true"] { display: none; }
}
.teranga-art img { object-position: center 25%; }
/* Pages Conseils et articles : photos recadrées en bandeau (les photos en portrait étaient affichées en entier) */
.blog .hentry img.wp-post-image, .archive .hentry img.wp-post-image, .search .hentry img.wp-post-image { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center 25%; border-radius: 16px; border: 1.5px solid #1E1D1A; }
.single-post .hentry img.wp-post-image { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 520px; object-fit: cover; object-position: center 25%; border-radius: 18px; border: 1.5px solid #1E1D1A; }
