/*
 * CSS additionnel du Personnaliser d'Astra (récupéré le 2026-10-02).
 * Ce CSS est lié au thème Astra : il disparaîtrait au changement de thème, d'où cette copie.
 * Chargé partout comme avant ; à redistribuer dans les feuilles par page pendant la migration.
 */
/* =========================================================
TENNISBOX — CSS CATALOGUE PROPRE (réécrit 2026-07-08)
Design system : Inter + navy #004b76 + orange #cb5223 + crème #f8ebe1
Pas de doublons, pas de contradictions, syntaxe validée.
Spécificité : body.woocommerce.archive #secondary → (1,3,x) qui bat tout.
========================================================= */
/* =========================================================
0) VARIABLES + MINI-RESET
========================================================= */
:root {
--tb-navy: #004b76;
--tb-orange: #cb5223;
--tb-cream: #f8ebe1;
--tb-gray: #6b7a85;
--tb-white: #fff;
--tb-shadow-soft: 0 4px 12px rgba(0,75,118,.08), 0 16px 40px rgba(0,75,118,.14);
--tb-shadow-medium: 0 10px 24px rgba(0,75,118,.14), 0 24px 55px rgba(0,75,118,.22);
--tb-shadow-orange: 0 10px 24px rgba(203,82,35,.25);
}
a.button,
a.elementor-button {
text-decoration: none !important;
}
/* Import Inter pour être sûr qu'il est chargé */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
/* =========================================================
1) TYPOGRAPHIE INTER (catalogue uniquement) — forcée sur TOUS les enfants
========================================================= */
body.post-type-archive-product,
body.post-type-archive-product *:not(i):not(svg *) {
font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}
/* =========================================================
1B) FOND DE PAGE catalogue — gris bleuté doux
========================================================= */
body.post-type-archive-product #content,
body.post-type-archive-product .site-content {
background: #f5f7fa !important;
}
body.post-type-archive-product #content > .ast-container {
padding-top: 32px !important;
padding-bottom: 48px !important;
}
/* =========================================================
1C) FIL D'ARIANE — style discret navy/orange
========================================================= */
body.woocommerce.archive .astra-breadcrumbs,
body.woocommerce.archive .ast-breadcrumbs-wrapper,
body.woocommerce.archive .woocommerce-breadcrumb,
body.woocommerce.archive nav.rank-math-breadcrumb,
body.woocommerce.archive .yoast-breadcrumbs,
body.woocommerce.archive [class*="breadcrumb"]:not(li):not(a):not(span) {
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 12px !important;
color: var(--tb-gray) !important;
font-weight: 500 !important;
margin: 0 0 20px !important;
padding: 8px 16px !important;
background: var(--tb-white) !important;
border-radius: 999px !important;
display: inline-flex !important;
align-items: center !important;
gap: 6px !important;
box-shadow: 0 4px 12px rgba(0,75,118,.04) !important;
border: 1px solid rgba(0,75,118,.06) !important;
width: fit-content !important;
text-transform: none !important;
letter-spacing: normal !important;
}
/* Liens du fil d'ariane */
body.woocommerce.archive [class*="breadcrumb"] a {
color: var(--tb-gray) !important;
text-decoration: none !important;
font-weight: 500 !important;
transition: color .15s !important;
}
body.woocommerce.archive [class*="breadcrumb"] a:hover {
color: var(--tb-orange) !important;
}
/* Séparateur (>) */
body.woocommerce.archive [class*="breadcrumb"] .separator,
body.woocommerce.archive [class*="breadcrumb"] .delimiter {
color: rgba(0,75,118,.35) !important;
margin: 0 4px !important;
font-size: 10px !important;
}
/* Élément courant (page active) */
body.woocommerce.archive [class*="breadcrumb"] .current,
body.woocommerce.archive [class*="breadcrumb"] .breadcrumb_last,
body.woocommerce.archive [class*="breadcrumb"] > *:last-child:not(a):not(.separator) {
color: var(--tb-navy) !important;
font-weight: 700 !important;
}
/* =========================================================
1D) QUALITÉ IMAGES — hints anti-flou
========================================================= */
body.woocommerce.archive ul.products li.product img {
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transform: translateZ(0);
}
/* =========================================================
2) GRILLE PRODUITS — 3 colonnes larges
========================================================= */
body.woocommerce.archive ul.products {
display: grid !important;
grid-template-columns: repeat(3, 1fr) !important;
gap: 24px !important;
padding: 0 !important;
margin: 16px 0 !important;
}
body.woocommerce.archive ul.products li.product {
width: auto !important;
margin: 0 !important;
float: none !important;
}
@media (max-width: 1024px) {
body.woocommerce.archive ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
body.woocommerce.archive ul.products { grid-template-columns: 1fr !important; }
}
/* =========================================================
3) CARTES PRODUITS — épurées navy/orange, contenu FORCÉ à gauche
========================================================= */
body.woocommerce.archive ul.products li.product {
background: var(--tb-white) !important;
border: 1px solid rgba(0,75,118,.10) !important;
border-radius: 20px !important;
box-shadow: var(--tb-shadow-soft) !important;
overflow: hidden !important;
display: flex !important;
flex-direction: column !important;
padding: 0 !important;
transition: transform .25s ease, box-shadow .25s ease !important;
text-align: left !important;
align-items: flex-start !important;
}
/* NEUTRALISE les classes Astra "desktop-align-center", etc. */
body.woocommerce.archive ul.products li.product.desktop-align-center,
body.woocommerce.archive ul.products li.product.tablet-align-center,
body.woocommerce.archive ul.products li.product.mobile-align-center,
body.woocommerce.archive ul.products li.product[class*="align-center"],
body.woocommerce.archive ul.products li.product[class*="align-right"] {
text-align: left !important;
}
body.woocommerce.archive ul.products li.product > *,
body.woocommerce.archive ul.products li.product .astra-shop-summary-wrap {
text-align: left !important;
}
body.woocommerce.archive ul.products li.product:hover {
transform: translateY(-4px) !important;
box-shadow: var(--tb-shadow-medium) !important;
}
/* Image — format rectangle 4:3 forcé (crop centré si source carrée) */
body.woocommerce.archive ul.products li.product a.woocommerce-LoopProduct-link {
padding: 14px 14px 0 !important;
display: block !important;
}
body.woocommerce.archive ul.products li.product a.woocommerce-LoopProduct-link img {
border-radius: 14px !important;
display: block !important;
width: 100% !important;
height: auto !important;
aspect-ratio: 4 / 3 !important;
object-fit: cover !important;
object-position: center !important;
transition: transform .3s ease !important;
}
body.woocommerce.archive ul.products li.product:hover a.woocommerce-LoopProduct-link img {
transform: scale(1.02) !important;
}
/* Titre — aligné à gauche */
body.woocommerce.archive ul.products li.product h2.woocommerce-loop-product__title,
body.woocommerce.archive ul.products li.product .woocommerce-loop-product__title {
color: var(--tb-navy) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 1rem !important;
font-weight: 700 !important;
line-height: 1.35 !important;
padding: 14px 18px 6px !important;
margin: 0 !important;
min-height: 2.7em !important;
text-align: left !important;
display: -webkit-box !important;
-webkit-line-clamp: 2 !important;
-webkit-box-orient: vertical !important;
overflow: hidden !important;
}
/* Badge catégorie — crème + navy uniforme, BLOC INDÉPENDANT sur sa propre ligne */
body.woocommerce.archive ul.products li.product .ast-woo-product-category {
display: block !important;
background: var(--tb-cream) !important;
color: var(--tb-navy) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 10px !important;
font-weight: 700 !important;
padding: 5px 10px !important;
border-radius: 999px !important;
text-transform: uppercase !important;
letter-spacing: .08em !important;
margin: 0 18px 8px !important;
width: fit-content !important;
max-width: fit-content !important;
text-align: left !important;
align-self: flex-start !important;
float: none !important;
clear: both !important;
}
body.woocommerce.archive ul.products li.product.product_cat-animation .ast-woo-product-category,
body.woocommerce.archive ul.products li.product.product_cat-communication .ast-woo-product-category,
body.woocommerce.archive ul.products li.product.product_cat-entrainement .ast-woo-product-category,
body.woocommerce.archive ul.products li.product.product_cat-progression .ast-woo-product-category {
background: var(--tb-cream) !important;
color: var(--tb-navy) !important;
}
/* Prix orange — NUCLEAIRE : force text-align left partout dans la card */
html body.woocommerce.archive ul.products li.product,
html body.woocommerce.archive ul.products li.product *,
html body.woocommerce.archive ul.products li.product .astra-shop-summary-wrap,
html body.woocommerce.archive ul.products li.product .ast-loop-product__link-wrap,
html body.woocommerce.archive ul.products li.product .price,
html body.woocommerce.archive ul.products li.product > .price,
html body.woocommerce.archive ul.products li.product span.price,
html body.woocommerce.archive ul.products li.product .woocommerce-Price-amount,
html body.woocommerce.archive ul.products li.product bdi,
html body.woocommerce.archive ul.products li.product .woocommerce-Price-currencySymbol {
text-align: left !important;
}
html body.woocommerce.archive ul.products li.product .price,
html body.woocommerce.archive ul.products li.product > .price,
html body.woocommerce.archive ul.products li.product span.price {
color: var(--tb-orange) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 1.6rem !important;
font-weight: 800 !important;
line-height: 1 !important;
padding: 0 !important;
margin: 0 18px 14px !important;
display: block !important;
width: calc(100% - 36px) !important;
float: none !important;
clear: both !important;
align-self: flex-start !important;
justify-self: flex-start !important;
}
html body.woocommerce.archive ul.products li.product .price .amount,
html body.woocommerce.archive ul.products li.product .price bdi,
html body.woocommerce.archive ul.products li.product .price ins {
color: var(--tb-orange) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: inherit !important;
font-weight: 800 !important;
display: inline !important;
background: transparent !important;
}
/* Astra summary wrap : passe en flex column aligné gauche */
html body.woocommerce.archive ul.products li.product .astra-shop-summary-wrap {
display: flex !important;
flex-direction: column !important;
align-items: flex-start !important;
text-align: left !important;
}
body.woocommerce.archive ul.products li.product .price .woocommerce-Price-currencySymbol {
font-size: .65em !important;
font-weight: 700 !important;
margin-left: 2px !important;
}
/* Bouton VOIR LE DETAIL — ghost outline navy */
body.woocommerce.archive ul.products li.product a.button {
background: transparent !important;
border: 1.5px solid var(--tb-navy) !important;
color: var(--tb-navy) !important;
border-radius: 999px !important;
padding: 12px 16px !important;
margin: 0 18px 18px !important;
align-self: stretch !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 12px !important;
font-weight: 800 !important;
text-transform: uppercase !important;
letter-spacing: .08em !important;
text-align: center !important;
transition: all .2s ease !important;
box-shadow: none !important;
}
body.woocommerce.archive ul.products li.product a.button:hover,
body.woocommerce.archive ul.products li.product a.button:focus {
background: var(--tb-navy) !important;
color: var(--tb-white) !important;
box-shadow: 0 8px 20px rgba(0,75,118,.25) !important;
}
body.woocommerce.archive ul.products li.product a.button:active {
transform: scale(.98) !important;
}
/* Cacher boutons comparaison */
body.woocommerce.archive ul.products li.product a.compare,
body.woocommerce.archive ul.products li.product .compare,
body.woocommerce.archive ul.products li.product .wooscp-btn,
body.woocommerce.archive ul.products li.product .woosc-btn,
body.woocommerce.archive ul.products li.product a[aria-label*="compar"],
body.woocommerce.archive ul.products li.product a[title*="compar"],
body.woocommerce.archive ul.products li.product i[class*="compare"] {
display: none !important;
}
body.woocommerce.archive ul.products li.product .onsale {
z-index: 3 !important;
}
/* =========================================================
4) SIDEBAR FILTRES — carte blanche + ombre douce
========================================================= */
html body.woocommerce.archive #secondary .widget_wpc_filters_widget,
html body.woocommerce.archive #secondary .wpc-filters-widget-main-wrapper {
background: var(--tb-white) !important;
border: 1px solid rgba(0,75,118,.10) !important;
border-radius: 20px !important;
padding: 24px !important;
box-shadow: var(--tb-shadow-soft) !important;
}
/* Titre "FILTRES" — plus de border-bottom (évite le trait supplémentaire) */
html body.woocommerce.archive #secondary .widget_wpc_filters_widget .widget-title,
html body.woocommerce.archive #secondary .wpc-filter-set-widget-title,
html body.woocommerce.archive #secondary .tb-offcanvas-title {
color: var(--tb-navy) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-weight: 800 !important;
font-size: 13px !important;
letter-spacing: .14em !important;
text-transform: uppercase !important;
margin: 0 0 20px !important;
padding-bottom: 0 !important;
border-bottom: none !important;
}
/* Sections — sobres, sans séparateurs multiples */
html body.woocommerce.archive #secondary .wpc-filters-section {
background: transparent !important;
border: none !important;
border-top: 1px solid rgba(0,75,118,.08) !important;
padding: 20px 0 !important;
margin: 0 !important;
border-radius: 0 !important;
}
html body.woocommerce.archive #secondary .wpc-filters-section:first-of-type,
html body.woocommerce.archive #secondary .wpc-filters-section:first-child {
border-top: none !important;
padding-top: 0 !important;
}
/* Masquer sections vides ou wrappers vides du plugin (les traits fantômes) */
html body.woocommerce.archive #secondary .wpc-filters-section:empty,
html body.woocommerce.archive #secondary .wpc-filters-section:not(:has(.wpc-filters-ul-list)):not(:has(.wpc-filter-link)),
html body.woocommerce.archive #secondary .widget_wpc_filters_widget > *:empty {
display: none !important;
}
/* Titres de section — barre orange à gauche */
html body.woocommerce.archive #secondary .wpc-filter-title,
html body.woocommerce.archive #secondary .wpc-filters-section-title {
color: var(--tb-navy) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-weight: 800 !important;
font-size: 11px !important;
letter-spacing: .12em !important;
text-transform: uppercase !important;
margin: 0 0 12px !important;
padding-left: 12px !important;
position: relative !important;
}
html body.woocommerce.archive #secondary .wpc-filter-title::before,
html body.woocommerce.archive #secondary .wpc-filters-section-title::before {
content: "" !important;
position: absolute !important;
left: 0 !important;
top: 50% !important;
transform: translateY(-50%) !important;
width: 3px !important;
height: 14px !important;
border-radius: 999px !important;
background: var(--tb-orange) !important;
}
/* Section verte (n+4) NEUTRALISÉE — même style que les autres */
html body.woocommerce.archive #secondary .wpc-filters-section:nth-of-type(n+4) {
background: transparent !important;
border: none !important;
border-top: 1px solid rgba(0,75,118,.06) !important;
border-radius: 0 !important;
padding: 16px 0 !important;
margin: 0 !important;
}
/* Liste */
html body.woocommerce.archive #secondary .wpc-filters-ul-list {
list-style: none !important;
margin: 0 !important;
padding: 0 !important;
}
html body.woocommerce.archive #secondary .wpc-filters-ul-list > li {
margin: 8px 0 !important;
}
html body.woocommerce.archive #secondary .wpc-term-item-content-wrapper {
display: flex !important;
align-items: center !important;
gap: 10px !important;
}
/* Masquer inutiles */
html body.woocommerce.archive #secondary .wpc-posts-found,
html body.woocommerce.archive #secondary .wpc-edit-filter-set {
display: none !important;
}
html body.woocommerce.archive #secondary .wpc-filters-section:has(.wpc-no-filter-terms) {
display: none !important;
}
/* =========================================================
4B) FLÈCHE ACCORDÉON — juste cachée visuellement (JS ouvre les sections)
========================================================= */
html body.woocommerce.archive #secondary .wpc-collapsible-icon,
html body.woocommerce.archive #secondary .wpc-toggle-icon,
html body.woocommerce.archive #secondary .wpc-filter-collapsible-toggle,
html body.woocommerce.archive #secondary .wpc-collapsible-toggle-icon {
display: none !important;
}
/* =========================================================
5) PILLS "VOUS ÊTES" — couleur par audience (Club/Enseignant/Joueur)
========================================================= */
/* État INACTIF — pastille blanche, police bleue Inter GRAS */
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes a.wpc-filter-link {
background: var(--tb-white) !important;
border: 1.5px solid rgba(0,75,118,.2) !important;
color: var(--tb-navy) !important;
border-radius: 999px !important;
padding: 8px 14px !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 13px !important;
font-weight: 700 !important;
box-shadow: none !important;
transition: all .15s !important;
display: inline-flex !important;
align-items: center !important;
gap: 8px !important;
text-decoration: none !important;
}
/* CLUB — hover + actif = NAVY plein, police blanche Inter GRAS */
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[class*="club"] a.wpc-filter-link:hover,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[class*="club"].wpc-term--selected a.wpc-filter-link,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[data-term_slug="club"] a.wpc-filter-link:hover,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[data-term_slug="club"].wpc-term--selected a.wpc-filter-link,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li:nth-child(1) a.wpc-filter-link:hover,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li:nth-child(1).wpc-term--selected a.wpc-filter-link {
background: var(--tb-navy) !important;
border-color: var(--tb-navy) !important;
color: var(--tb-white) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-weight: 700 !important;
box-shadow: 0 6px 16px rgba(0,75,118,.25) !important;
}
/* ENSEIGNANT — hover + actif = ORANGE plein, police blanche Inter GRAS */
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[class*="enseignant"] a.wpc-filter-link:hover,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[class*="enseignant"].wpc-term--selected a.wpc-filter-link,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[data-term_slug="enseignant"] a.wpc-filter-link:hover,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[data-term_slug="enseignant"].wpc-term--selected a.wpc-filter-link,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li:nth-child(2) a.wpc-filter-link:hover,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li:nth-child(2).wpc-term--selected a.wpc-filter-link {
background: var(--tb-orange) !important;
border-color: var(--tb-orange) !important;
color: var(--tb-white) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-weight: 700 !important;
box-shadow: 0 6px 16px rgba(203,82,35,.25) !important;
}
/* JOUEUR — hover + actif = ROUGE plein, police blanche Inter GRAS */
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[class*="joueur"] a.wpc-filter-link:hover,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[class*="joueur"].wpc-term--selected a.wpc-filter-link,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[data-term_slug="joueur"] a.wpc-filter-link:hover,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li[data-term_slug="joueur"].wpc-term--selected a.wpc-filter-link,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li:nth-child(3) a.wpc-filter-link:hover,
html body.woocommerce.archive #secondary .wpc-filter-pa_vous-etes li:nth-child(3).wpc-term--selected a.wpc-filter-link {
background: #b92121 !important;
border-color: #b92121 !important;
color: var(--tb-white) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-weight: 700 !important;
box-shadow: 0 6px 16px rgba(185,33,33,.25) !important;
}
/* =========================================================
6) CHIPS AUTRES SECTIONS
========================================================= */
html body.woocommerce.archive #secondary a.wpc-filter-link {
background: var(--tb-white) !important;
border: 1px solid rgba(0,75,118,.14) !important;
color: #2b2b2b !important;
border-radius: 999px !important;
box-shadow: none !important;
transition: all .15s !important;
padding: 7px 14px !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 13px !important;
font-weight: 600 !important;
display: inline-flex !important;
align-items: center !important;
gap: 8px !important;
text-decoration: none !important;
}
html body.woocommerce.archive #secondary a.wpc-filter-link:hover {
border-color: var(--tb-orange) !important;
background: rgba(203,82,35,.06) !important;
color: var(--tb-orange) !important;
transform: none !important;
box-shadow: none !important;
}
html body.woocommerce.archive #secondary li.wpc-term--selected a.wpc-filter-link,
html body.woocommerce.archive #secondary a.wpc-filter-link.wpc-filter-selected {
background: var(--tb-orange) !important;
border-color: var(--tb-orange) !important;
color: var(--tb-white) !important;
box-shadow: 0 6px 16px rgba(203,82,35,.2) !important;
}
/* Compteurs */
html body.woocommerce.archive #secondary .wpc-term-count {
font-weight: 500 !important;
color: rgba(0,75,118,.6) !important;
font-size: 11px !important;
}
html body.woocommerce.archive #secondary li.wpc-term--selected .wpc-term-count,
html body.woocommerce.archive #secondary a.wpc-filter-link.wpc-filter-selected .wpc-term-count {
color: var(--tb-white) !important;
opacity: .8 !important;
}
/* =========================================================
7) CHECKBOXES CUSTOM — orange
========================================================= */
html body.woocommerce.archive #secondary .wpc-term-item input[type="checkbox"] {
appearance: none !important;
-webkit-appearance: none !important;
width: 18px !important;
height: 18px !important;
border: 2px solid rgba(0,75,118,.3) !important;
border-radius: 5px !important;
background: var(--tb-white) !important;
cursor: pointer !important;
position: relative !important;
transition: all .15s !important;
flex: none !important;
}
html body.woocommerce.archive #secondary .wpc-term-item input[type="checkbox"]:hover {
border-color: var(--tb-orange) !important;
box-shadow: 0 0 0 3px rgba(203,82,35,.12) !important;
}
html body.woocommerce.archive #secondary .wpc-term-item input[type="checkbox"]:checked {
background: var(--tb-orange) !important;
border-color: var(--tb-orange) !important;
}
html body.woocommerce.archive #secondary .wpc-term-item input[type="checkbox"]:checked::after {
content: "" !important;
position: absolute !important;
left: 4px !important;
top: 1px !important;
width: 5px !important;
height: 10px !important;
border: 2px solid var(--tb-white) !important;
border-top: none !important;
border-left: none !important;
transform: rotate(45deg) !important;
}
/* =========================================================
8) BOUTONS SIDEBAR — Reset (lien) + Apply (orange plein)
========================================================= */
html body.woocommerce.archive #secondary a.tb-apply-sidebar {
background: var(--tb-orange) !important;
border: 0 !important;
color: var(--tb-white) !important;
border-radius: 999px !important;
padding: 14px !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 13px !important;
font-weight: 800 !important;
text-transform: uppercase !important;
letter-spacing: .1em !important;
text-decoration: none !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
width: 100% !important;
margin: 0 0 10px !important;
box-shadow: var(--tb-shadow-orange) !important;
transition: all .2s !important;
}
html body.woocommerce.archive #secondary a.tb-apply-sidebar:hover,
html body.woocommerce.archive #secondary a.tb-apply-sidebar:focus {
background: var(--tb-navy) !important;
color: var(--tb-white) !important;
box-shadow: 0 12px 28px rgba(0,75,118,.3) !important;
}
html body.woocommerce.archive #secondary a.tb-reset-sidebar {
background: none !important;
border: none !important;
color: var(--tb-gray) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 12px !important;
font-weight: 600 !important;
text-decoration: underline !important;
text-transform: none !important;
letter-spacing: normal !important;
padding: 6px !important;
margin: 0 !important;
text-align: center !important;
display: block !important;
width: 100% !important;
}
html body.woocommerce.archive #secondary a.tb-reset-sidebar:hover {
background: none !important;
color: var(--tb-orange) !important;
}
/* =========================================================
9) FIL D'ARIANE = CHIPS FILTRES ACTIFS (au-dessus grille)
Container : carte blanche subtile pour distinguer la zone
========================================================= */
body.woocommerce.archive .wpc-custom-selected-terms {
background: var(--tb-white) !important;
border: 1px solid rgba(0,75,118,.06) !important;
border-radius: 999px !important;
padding: 8px 12px !important;
box-shadow: 0 4px 12px rgba(0,75,118,.04) !important;
margin: 0 0 24px !important;
display: inline-flex !important;
align-items: center !important;
gap: 10px !important;
max-width: 100% !important;
flex-wrap: wrap !important;
position: relative !important;
}
/* Label "Filtres actifs :" via ::before */
body.woocommerce.archive .wpc-custom-selected-terms::before {
content: "Filtres actifs" !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 11px !important;
font-weight: 800 !important;
color: var(--tb-navy) !important;
text-transform: uppercase !important;
letter-spacing: .1em !important;
padding: 0 6px 0 8px !important;
border-right: 1px solid rgba(0,75,118,.15) !important;
margin-right: 4px !important;
line-height: 1.2 !important;
}
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list {
display: flex !important;
flex-wrap: wrap !important;
gap: 8px !important;
align-items: center !important;
margin: 0 !important;
padding: 0 !important;
}
/* Chip par défaut (non-audience) = fond CRÈME + texte NAVY Inter GRAS */
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip {
display: inline-flex !important;
align-items: center !important;
gap: 8px !important;
padding: 6px 12px !important;
border-radius: 999px !important;
border: 1px solid rgba(0,75,118,.15) !important;
background: var(--tb-cream) !important;
color: var(--tb-navy) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-weight: 700 !important;
font-size: 12px !important;
text-transform: uppercase !important;
letter-spacing: .04em !important;
line-height: 1 !important;
white-space: nowrap !important;
box-shadow: none !important;
outline: none !important;
}
/* Chip CLUB — fond navy + texte blanc */
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.tb-chip-club,
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip[class*="club"]:not(.wpc-chip-reset-all) {
background: var(--tb-navy) !important;
border-color: var(--tb-navy) !important;
color: var(--tb-white) !important;
box-shadow: 0 6px 14px rgba(0,75,118,.22) !important;
}
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.tb-chip-club *,
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip[class*="club"]:not(.wpc-chip-reset-all) * {
color: var(--tb-white) !important;
}
/* Chip ENSEIGNANT — fond orange + texte blanc */
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.tb-chip-enseignant,
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip[class*="enseignant"]:not(.wpc-chip-reset-all) {
background: var(--tb-orange) !important;
border-color: var(--tb-orange) !important;
color: var(--tb-white) !important;
box-shadow: 0 6px 14px rgba(203,82,35,.22) !important;
}
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.tb-chip-enseignant *,
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip[class*="enseignant"]:not(.wpc-chip-reset-all) * {
color: var(--tb-white) !important;
}
/* Chip JOUEUR — fond rouge #b92121 + texte blanc */
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.tb-chip-joueur,
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip[class*="joueur"]:not(.wpc-chip-reset-all) {
background: #b92121 !important;
border-color: #b92121 !important;
color: var(--tb-white) !important;
box-shadow: 0 6px 14px rgba(185,33,33,.22) !important;
}
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.tb-chip-joueur *,
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip[class*="joueur"]:not(.wpc-chip-reset-all) * {
color: var(--tb-white) !important;
}
/* Bouton X coloré assorti sur les chips audience */
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip[class*="club"] :is(a,button)[aria-label],
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip[class*="enseignant"] :is(a,button)[aria-label],
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip[class*="joueur"] :is(a,button)[aria-label],
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.tb-chip-club :is(a,button)[aria-label],
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.tb-chip-enseignant :is(a,button)[aria-label],
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.tb-chip-joueur :is(a,button)[aria-label] {
background: rgba(255,255,255,.2) !important;
border-color: rgba(255,255,255,.4) !important;
color: var(--tb-white) !important;
}
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip * {
border: 0 !important;
outline: 0 !important;
box-shadow: none !important;
background: transparent !important;
}
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip a {
color: inherit !important;
text-decoration: none !important;
}
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip :is(a,button)[aria-label],
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip :is(a,button).wpc-remove-filter {
width: 20px !important;
height: 20px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
border-radius: 999px !important;
background: var(--tb-white) !important;
color: var(--tb-navy) !important;
border: 1px solid rgba(0,75,118,.15) !important;
flex: 0 0 auto !important;
}
/* Hover chip → navy plein */
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip:not(.wpc-chip-reset-all):hover {
background: var(--tb-navy) !important;
border-color: var(--tb-navy) !important;
color: var(--tb-white) !important;
}
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip:not(.wpc-chip-reset-all):hover * {
color: var(--tb-white) !important;
}
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip:not(.wpc-chip-reset-all):hover :is(a,button)[aria-label],
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip:not(.wpc-chip-reset-all):hover :is(a,button).wpc-remove-filter {
background: rgba(255,255,255,.15) !important;
border-color: rgba(255,255,255,.35) !important;
color: var(--tb-white) !important;
}
/* Chip RESET ALL — outline orange */
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.wpc-chip-reset-all {
background: var(--tb-white) !important;
border: 1.5px solid var(--tb-orange) !important;
color: var(--tb-orange) !important;
font-weight: 800 !important;
}
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.wpc-chip-reset-all:hover {
background: var(--tb-orange) !important;
color: var(--tb-white) !important;
}
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list > li.wpc-filter-chip.wpc-chip-reset-all:hover a {
color: var(--tb-white) !important;
}
/* =========================================================
10) TOOLBAR (résultats + tri + icônes grid/list) — flex row
========================================================= */
/* Container principal : ligne unique flex — multi-wrappers Astra */
body.woocommerce.archive .woocommerce-before-shop-loop,
body.woocommerce.archive .astra-shop-summary-wrap,
body.woocommerce.archive :has(> .woocommerce-result-count):has(> .woocommerce-ordering) {
display: flex !important;
flex-direction: row !important;
justify-content: space-between !important;
align-items: center !important;
gap: 16px !important;
flex-wrap: wrap !important;
padding: 0 0 20px !important;
border-bottom: 1px solid rgba(0,75,118,.08) !important;
margin: 0 0 24px !important;
}
/* Compteur résultats — à gauche, gris discret */
body.woocommerce.archive .woocommerce-result-count {
color: var(--tb-gray) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-size: 13px !important;
font-weight: 500 !important;
letter-spacing: normal !important;
margin: 0 !important;
order: 1 !important;
flex: 0 0 auto !important;
}
/* Bloc droite : tri + toggle */
body.woocommerce.archive .woocommerce-ordering {
margin: 0 !important;
position: relative !important;
order: 2 !important;
flex: 0 0 auto !important;
}
body.woocommerce.archive .woocommerce-ordering select {
appearance: none !important;
-webkit-appearance: none !important;
border: 1px solid rgba(0,75,118,.15) !important;
background: var(--tb-white) !important;
color: var(--tb-navy) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-weight: 600 !important;
font-size: 13px !important;
padding: 10px 40px 10px 16px !important;
border-radius: 999px !important;
box-shadow: none !important;
cursor: pointer !important;
min-width: 180px !important;
}
body.woocommerce.archive .woocommerce-ordering::after {
content: "▾";
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
color: var(--tb-navy);
font-size: 12px;
pointer-events: none;
}
/* Toggle grid / list — pastilles ROND INDIVIDUELLES (pas de pill commun) */
body.woocommerce.archive .ast-woocommerce-grid-list,
body.woocommerce.archive .ast-shop-grid-list-wrap,
body.woocommerce.archive .astra-shop-filter-grid-list,
body.woocommerce.archive [class*="grid-list"] {
order: 3 !important;
display: inline-flex !important;
gap: 8px !important;
background: transparent !important;
padding: 0 !important;
border: none !important;
border-radius: 0 !important;
margin: 0 !important;
align-items: center !important;
flex: 0 0 auto !important;
box-shadow: none !important;
}
/* Chaque bouton = pastille ronde indépendante */
body.woocommerce.archive .ast-woocommerce-grid-list button,
body.woocommerce.archive .ast-woocommerce-grid-list a,
body.woocommerce.archive .ast-shop-grid-list-wrap button,
body.woocommerce.archive .ast-shop-grid-list-wrap a,
body.woocommerce.archive [class*="grid-list"] > button,
body.woocommerce.archive [class*="grid-list"] > a {
border: 1px solid rgba(0,75,118,.15) !important;
background: var(--tb-white) !important;
width: 40px !important;
height: 40px !important;
min-width: 40px !important;
border-radius: 50% !important;
cursor: pointer !important;
color: var(--tb-gray) !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
padding: 0 !important;
margin: 0 !important;
box-shadow: 0 2px 6px rgba(0,75,118,.05) !important;
transition: all .2s !important;
}
body.woocommerce.archive [class*="grid-list"] button:hover,
body.woocommerce.archive [class*="grid-list"] a:hover {
border-color: var(--tb-navy) !important;
color: var(--tb-navy) !important;
transform: translateY(-1px) !important;
box-shadow: 0 4px 10px rgba(0,75,118,.15) !important;
}
/* Icône SVG à l'intérieur */
body.woocommerce.archive [class*="grid-list"] svg,
body.woocommerce.archive [class*="grid-list"] i {
width: 16px !important;
height: 16px !important;
fill: currentColor !important;
color: inherit !important;
}
/* État actif — fond navy plein, icône blanche */
body.woocommerce.archive .ast-woocommerce-grid-list .active,
body.woocommerce.archive .ast-woocommerce-grid-list button.active,
body.woocommerce.archive .ast-woocommerce-grid-list a.active,
body.woocommerce.archive [class*="grid-list"] .active,
body.woocommerce.archive [class*="grid-list"] .ast-grid-list-active,
body.woocommerce.archive [class*="grid-list"] [aria-pressed="true"] {
background: var(--tb-navy) !important;
border-color: var(--tb-navy) !important;
color: var(--tb-white) !important;
box-shadow: 0 6px 16px rgba(0,75,118,.25) !important;
}
body.woocommerce.archive [class*="grid-list"] .active svg,
body.woocommerce.archive [class*="grid-list"] .active i {
color: var(--tb-navy) !important;
fill: currentColor !important;
}
/* Hover */
body.woocommerce.archive [class*="grid-list"] button:hover,
body.woocommerce.archive [class*="grid-list"] a:hover {
color: var(--tb-navy) !important;
}
/* =========================================================
10B) BADGE COMPTEUR "X actifs" (JS-alimenté)
========================================================= */
html body.woocommerce.archive #secondary .widget_wpc_filters_widget .widget-title,
html body.woocommerce.archive #secondary .wpc-filter-set-widget-title,
html body.woocommerce.archive #secondary .tb-offcanvas-title {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
gap: 10px !important;
}
.tb-active-count {
display: none;
align-items: center;
background: var(--tb-cream);
color: var(--tb-orange);
font-family: 'Inter', system-ui, sans-serif;
font-weight: 700;
font-size: 11px;
letter-spacing: 0;
padding: 3px 10px;
border-radius: 999px;
text-transform: none;
line-height: 1.4;
flex: none;
}
.tb-active-count.is-visible {
display: inline-flex !important;
}
/* =========================================================
11) PAGINATION — navy → orange
========================================================= */
body.woocommerce.archive nav.woocommerce-pagination {
margin-top: 32px !important;
text-align: left !important;
}
body.woocommerce.archive .woocommerce-pagination ul.page-numbers {
display: flex !important;
justify-content: flex-start !important;
gap: 10px !important;
padding: 0 !important;
margin: 0 !important;
border: none !important;
}
body.woocommerce.archive .woocommerce-pagination ul.page-numbers li {
border: none !important;
margin: 0 !important;
}
body.woocommerce.archive .woocommerce-pagination ul.page-numbers li a,
body.woocommerce.archive .woocommerce-pagination ul.page-numbers li span {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
min-width: 42px !important;
height: 42px !important;
padding: 0 14px !important;
border-radius: 999px !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-weight: 700 !important;
font-size: 14px !important;
background: var(--tb-navy) !important;
color: var(--tb-white) !important;
border: none !important;
text-decoration: none !important;
box-shadow: none !important;
transition: background .15s ease !important;
}
body.woocommerce.archive .woocommerce-pagination ul.page-numbers li a:hover {
background: var(--tb-orange) !important;
}
body.woocommerce.archive .woocommerce-pagination ul.page-numbers li span.current {
background: var(--tb-orange) !important;
}
/* =========================================================
12) LAYOUT — sidebar / grille
========================================================= */
body.post-type-archive-product.ast-left-sidebar #primary {
padding-left: 40px !important;
}
@media (max-width: 768px) {
body.post-type-archive-product.ast-left-sidebar #primary {
padding-left: 0 !important;
}
}
body.woocommerce.archive .products {
scroll-margin-top: 80px;
}
/* =========================================================
12B) RESPONSIVE — Tablette 1024px
========================================================= */
@media (max-width: 1024px) {
/* Toolbar : wrap propre */
body.woocommerce.archive .woocommerce-before-shop-loop,
body.woocommerce.archive .astra-shop-summary-wrap {
flex-wrap: wrap !important;
gap: 12px !important;
}
body.woocommerce.archive .woocommerce-result-count {
flex: 1 1 100% !important;
order: 0 !important;
}
body.woocommerce.archive .woocommerce-ordering select {
min-width: 160px !important;
}
/* Cards : padding réduit */
body.woocommerce.archive ul.products li.product a.woocommerce-LoopProduct-link {
padding: 12px 12px 0 !important;
}
html body.woocommerce.archive ul.products li.product h2.woocommerce-loop-product__title,
html body.woocommerce.archive ul.products li.product .woocommerce-loop-product__title {
font-size: .95rem !important;
padding: 12px 14px 6px !important;
}
body.woocommerce.archive ul.products li.product .ast-woo-product-category {
margin: 0 14px 6px !important;
}
html body.woocommerce.archive ul.products li.product .price {
font-size: 1.4rem !important;
margin: 0 14px 12px !important;
width: calc(100% - 28px) !important;
}
body.woocommerce.archive ul.products li.product a.button {
margin: 0 14px 14px !important;
font-size: 11px !important;
padding: 10px 14px !important;
}
}
/* =========================================================
12C) RESPONSIVE — Mobile 768px : cards en 2 cols garde le look
========================================================= */
@media (max-width: 768px) {
/* Fil d'Ariane chips : full width, wrap */
body.woocommerce.archive .wpc-custom-selected-terms {
border-radius: 16px !important;
padding: 10px 12px !important;
max-width: 100% !important;
width: 100% !important;
box-sizing: border-box !important;
}
body.woocommerce.archive .wpc-custom-selected-terms::before {
display: none !important; /* Cache le label sur mobile pour gagner de la place */
}
/* Toolbar : compteur au-dessus, tri + toggle en dessous */
body.woocommerce.archive .woocommerce-before-shop-loop {
padding: 12px !important;
border-radius: 16px !important;
background: var(--tb-white) !important;
box-shadow: 0 4px 12px rgba(0,75,118,.04) !important;
border: 1px solid rgba(0,75,118,.06) !important;
}
body.woocommerce.archive .woocommerce-ordering {
flex: 1 1 auto !important;
}
body.woocommerce.archive .woocommerce-ordering select {
width: 100% !important;
min-width: 0 !important;
}
body.woocommerce.archive [class*="grid-list"] > button,
body.woocommerce.archive [class*="grid-list"] > a {
width: 36px !important;
height: 36px !important;
min-width: 36px !important;
}
/* Prix + titre plus compact */
html body.woocommerce.archive ul.products li.product .price {
font-size: 1.3rem !important;
}
}
/* =========================================================
12D) RESPONSIVE — Petit mobile 480px : cards en 1 col
========================================================= */
@media (max-width: 480px) {
html body.woocommerce.archive ul.products li.product h2.woocommerce-loop-product__title,
html body.woocommerce.archive ul.products li.product .woocommerce-loop-product__title {
font-size: 1rem !important;
min-height: auto !important;
-webkit-line-clamp: unset !important;
}
html body.woocommerce.archive ul.products li.product .price {
font-size: 1.5rem !important;
}
/* Fil d'Ariane : gap réduit */
body.woocommerce.archive .wpc-custom-selected-terms .wpc-filter-chips-list {
gap: 6px !important;
}
}
/* =========================================================
13) MOBILE — Off-canvas filtres + bouton Filtrer
========================================================= */
@media (max-width: 768px) {
/* Panel = sidebar fixed */
body.woocommerce.archive .site-content #secondary {
position: fixed !important;
top: 0 !important;
left: 0 !important;
height: 100vh !important;
height: 100dvh !important;
width: min(85vw, 330px) !important;
z-index: 999999 !important;
padding: 12px !important;
margin: 0 !important;
transform: translateX(-105%) !important;
transition: transform .25s ease !important;
background: var(--tb-white) !important;
display: flex !important;
flex-direction: column !important;
overflow: auto !important;
-webkit-overflow-scrolling: touch !important;
padding-bottom: 92px !important;
}
body.woocommerce.archive .site-content #secondary.tb-offcanvas-open {
transform: translateX(0) !important;
}
body.woocommerce.archive .site-content #secondary :is(.widget_wpc_filters_widget, .wpc-filters-widget-main-wrapper) {
overflow: visible !important;
padding-bottom: 0 !important;
}
/* Overlay */
.tb-offcanvas-overlay {
position: fixed !important;
inset: 0 !important;
background: rgba(0,0,0,.45) !important;
z-index: 999998 !important;
opacity: 0 !important;
pointer-events: none !important;
transition: opacity .2s ease !important;
}
.tb-offcanvas-overlay.is-open {
opacity: 1 !important;
pointer-events: auto !important;
}
body.tb-offcanvas-lock {
overflow: hidden !important;
}
/* Cacher le 2e titre "FILTRES" du plugin */
body.woocommerce.archive .site-content #secondary .widget_wpc_filters_widget > .widget-title,
body.woocommerce.archive .site-content #secondary .wpc-filter-set-widget-title {
display: none !important;
}
/* Bouton FILTRER (barre au-dessus grille) */
body.woocommerce.archive .tb-offcanvas-bar {
display: flex !important;
justify-content: flex-start !important;
margin: 0 0 12px 0 !important;
}
body.woocommerce.archive .tb-filter-btn {
border-radius: 999px !important;
padding: 10px 14px !important;
border: 2px solid var(--tb-orange) !important;
background: var(--tb-white) !important;
color: var(--tb-orange) !important;
font-family: 'Inter', system-ui, sans-serif !important;
font-weight: 700 !important;
cursor: pointer !important;
}
body.woocommerce.archive .tb-filter-btn:hover {
background: var(--tb-orange) !important;
color: var(--tb-white) !important;
}
/* Header off-canvas (titre + close) */
body.woocommerce.archive #secondary .tb-offcanvas-header {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
gap: 10px !important;
padding: 8px 0 12px 0 !important;
}
body.woocommerce.archive #secondary .tb-offcanvas-close {
border: none !important;
background: transparent !important;
font-size: 20px !important;
line-height: 1 !important;
padding: 6px 10px !important;
color: var(--tb-navy) !important;
cursor: pointer !important;
}
/* Cartes : pas de hover transform */
body.woocommerce.archive ul.products li.product:hover {
transform: none !important;
}
}
/* =========================================================
14) MOBILE — Fix overflow horizontal + menu burger
========================================================= */
html, body { overflow-x: visible; }
@media (max-width: 768px) {
html, body {
width: 100%;
max-width: 100%;
overflow-x: hidden !important;
}
#page, #content, .site, .site-content, .content-area, #primary, #main, .ast-container,
.elementor, .elementor-section, .elementor-container, .elementor-column, .e-con, .e-con-inner {
max-width: 100% !important;
overflow-x: hidden !important;
}
img, svg, video, canvas, iframe {
max-width: 100% !important;
height: auto;
}
.elementor-location-header {
position: relative !important;
z-index: 99999 !important;
overflow: visible !important;
}
.elementor-menu-toggle {
position: relative !important;
z-index: 100000 !important;
}
.elementor-nav-menu--dropdown {
position: absolute !important;
top: 100% !important;
left: 0;
width: 100%;
z-index: 99998 !important;
overflow: visible !important;
transition: none !important;
animation: none !important;
}
.elementor-location-header *,
header *,
.site-header * {
overflow: visible !important;
}
.elementor-nav-menu--dropdown,
.elementor-nav-menu--dropdown a {
-webkit-tap-highlight-color: transparent;
backface-visibility: hidden;
transform: translateZ(0);
}
}
/* ↑ Cette accolade était MANQUANTE dans l'ancienne version → tout ce qui suivait était bloqué en @media mobile ↑ */
/* =========================================================
15) SCROLL TOP (Elementor)
========================================================= */
.tb-scroll-top {
background: transparent !important;
box-shadow: none !important;
padding: 0 !important;
}
.tb-scroll-top .elementor-icon {
width: 42px;
height: 42px;
border-radius: 50%;
background: var(--tb-orange);
color: var(--tb-white);
display: flex;
align-items: center;
justify-content: center;
opacity: 0.25;
transition: opacity .25s ease, transform .25s ease, background .25s ease;
}
.tb-scroll-top:hover .elementor-icon {
opacity: 1;
background: var(--tb-navy);
transform: translateY(-2px);
}
@media (max-width: 767px) {
.tb-scroll-top .elementor-icon {
width: 38px;
height: 38px;
opacity: 0.2;
}
}
/* =========================================================
16) HERO GLOBAL TB (checkout / cart / account / global)
Utilisé sur d'autres pages — préservé
========================================================= */
.tb-hero-checkout,
.tb-hero-cart,
.tb-hero-account,
.tb-hero-global {
position: relative !important;
height: 700px !important;
background-color: var(--tb-orange) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
text-align: center !important;
margin-bottom: 50px !important;
margin-top: 0 !important;
overflow: hidden !important;
width: 100vw !important;
max-width: 100vw !important;
margin-left: calc(-50vw + 50%) !important;
margin-right: calc(-50vw + 50%) !important;
box-sizing: border-box !important;
}
.tb-hero-overlay {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(203,82,35,0.5) 100%) !important;
z-index: 1 !important;
pointer-events: none !important;
}
.tb-hero-content {
position: relative !important;
z-index: 2 !important;
padding: 0 40px !important;
width: 100% !important;
max-width: 1000px !important;
box-sizing: border-box !important;
}
.tb-hero-checkout .tb-hero-content h2,
.tb-hero-cart .tb-hero-content h2,
.tb-hero-account .tb-hero-content h2,
.tb-hero-global .tb-hero-content h2 {
font-family: 'Open Sans', sans-serif !important;
font-size: 80px !important;
font-weight: 700 !important;
color: var(--tb-navy) !important;
text-transform: uppercase !important;
letter-spacing: 0.06em !important;
margin: 0 0 16px !important;
line-height: 1.1 !important;
border: none !important;
display: block !important;
padding: 0 !important;
background: none !important;
width: 100% !important;
}
.tb-hero-checkout .tb-hero-content p,
.tb-hero-cart .tb-hero-content p,
.tb-hero-account .tb-hero-content p,
.tb-hero-global .tb-hero-content p {
font-family: 'Open Sans', sans-serif !important;
font-size: 50px !important;
font-weight: 400 !important;
color: var(--tb-white) !important;
margin: 0 0 40px !important;
line-height: 1.2 !important;
}
.tb-hero-pills {
display: flex !important;
justify-content: center !important;
gap: 16px !important;
flex-wrap: wrap !important;
}
.tb-pill {
background: var(--tb-navy) !important;
border: 1px solid rgba(255,255,255,0.15) !important;
border-radius: 12px !important;
padding: 18px 40px !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
gap: 6px !important;
min-width: 160px !important;
}
.tb-pill-num {
color: var(--tb-white) !important;
font-family: 'Open Sans', sans-serif !important;
font-size: 36px !important;
font-weight: 700 !important;
line-height: 1 !important;
display: block !important;
}
.tb-pill-lbl {
color: rgba(255,255,255,0.6) !important;
font-family: 'Open Sans', sans-serif !important;
font-size: 13px !important;
font-weight: 600 !important;
text-transform: uppercase !important;
letter-spacing: 0.1em !important;
display: block !important;
}
@media (max-width: 1024px) {
.tb-hero-checkout, .tb-hero-cart, .tb-hero-account, .tb-hero-global {
height: 560px !important;
margin-bottom: 36px !important;
}
.tb-hero-checkout .tb-hero-content h2,
.tb-hero-cart .tb-hero-content h2,
.tb-hero-account .tb-hero-content h2,
.tb-hero-global .tb-hero-content h2 { font-size: 56px !important; }
.tb-hero-checkout .tb-hero-content p,
.tb-hero-cart .tb-hero-content p,
.tb-hero-account .tb-hero-content p,
.tb-hero-global .tb-hero-content p { font-size: 34px !important; }
}
@media (max-width: 767px) {
.tb-hero-checkout, .tb-hero-cart, .tb-hero-account, .tb-hero-global {
height: 460px !important;
margin-bottom: 28px !important;
}
.tb-hero-content { padding: 0 20px !important; }
.tb-hero-checkout .tb-hero-content h2,
.tb-hero-cart .tb-hero-content h2,
.tb-hero-account .tb-hero-content h2,
.tb-hero-global .tb-hero-content h2 { font-size: 34px !important; }
.tb-hero-checkout .tb-hero-content p,
.tb-hero-cart .tb-hero-content p,
.tb-hero-account .tb-hero-content p,
.tb-hero-global .tb-hero-content p {
font-size: 22px !important;
margin-bottom: 24px !important;
}
.tb-hero-pills { gap: 10px !important; }
.tb-pill { padding: 14px 18px !important; min-width: 120px !important; }
.tb-pill-num { font-size: 24px !important; }
.tb-pill-lbl { font-size: 11px !important; }
}
/* Neutraliser le zoom hover Astra sur vignettes catalogue */
.woocommerce.archive ul.products li.product:hover a.woocommerce-LoopProduct-link img,
.woocommerce.archive ul.products li.product a.woocommerce-LoopProduct-link img:hover,
.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product a img:hover {
transform: none !important;
-webkit-transform: none !important;
scale: 1 !important;
transition: none !important;
}
/* === Catalogue produits : cartes uniformes === */
/* La carte devient un conteneur flex vertical */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
display: flex;
flex-direction: column;
height: 100%;
}
/* Le lien wrapper (image + titre) prend aussi la structure flex */
.woocommerce ul.products li.product > a {
display: flex;
flex-direction: column;
flex: 1;
}
/* ============================================
CATALOGUE PRODUITS : cartes uniformes
- Prix aligné à gauche (simple + "À partir de")
- Bouton "Voir le détail" collé en bas
============================================ */
/* 1. La carte = flex column pleine hauteur */
.woocommerce ul.products li.product {
display: flex !important;
flex-direction: column;
height: 100%;
}
/* 2. Wrap Astra (titre + prix + bouton) = flex column
indispensable pour que margin-top:auto pousse le bouton en bas */
.woocommerce ul.products li.product .astra-shop-summary-wrap {
display: flex !important;
flex-direction: column;
flex: 1 1 auto;
}
/* 3. PRIX : container aligné à gauche (spécificité renforcée pour battre Astra) */
html body.woocommerce.archive ul.products li.product .price {
display: block !important;
text-align: left !important;
width: 100% !important;
justify-content: flex-start !important;
white-space: normal !important;
}
/* 4. Wrapper custom .tb-from-price ("À partir de X €") : inline pour éviter le split */
html body.woocommerce.archive ul.products li.product .price .tb-from-price {
display: inline !important;
width: auto !important;
float: none !important;
flex: none !important;
justify-content: flex-start !important;
text-align: left !important;
}
/* 5. Enfants du prix : inline, sans float ni marges auto */
html body.woocommerce.archive ul.products li.product .price *,
html body.woocommerce.archive ul.products li.product .price span,
html body.woocommerce.archive ul.products li.product .price .from,
html body.woocommerce.archive ul.products li.product .price .woocommerce-Price-amount,
html body.woocommerce.archive ul.products li.product .price .amount,
html body.woocommerce.archive ul.products li.product .price bdi {
display: inline !important;
float: none !important;
text-align: left !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: auto !important;
flex: none !important;
}
/* 6. Petit espace entre "À partir de" et le montant */
html body.woocommerce.archive ul.products li.product .price .tb-from-price .woocommerce-Price-amount {
margin-left: 0.35em !important;
}
/* 7. Bouton "Voir le détail" collé en bas de la carte */
.woocommerce ul.products li.product a.button.tb-view-detail {
margin-top: auto !important;
}
/* Override : reset padding/margin sur TOUS les wrappers du prix */
html body.woocommerce.archive ul.products li.product .price,
html body.woocommerce.archive ul.products li.product .price > *,
html body.woocommerce.archive ul.products li.product .price .woocommerce-Price-amount,
html body.woocommerce.archive ul.products li.product .price bdi,
html body.woocommerce.archive ul.products li.product .astra-shop-summary-wrap > .price {
padding-left: 7px !important;
padding-right: 0 !important;
text-indent: 0 !important;
margin-left: 0 !important;
}
/* Astra summary wrap : forcer align-items à flex-start
au cas où le parent centre ses enfants en flex */
.woocommerce ul.products li.product .astra-shop-summary-wrap {
align-items: flex-start !important;
}
/* Astra summary wrap : forcer align-items à flex-start
au cas où le parent centre ses enfants en flex */
.woocommerce ul.products li.product .astra-shop-summary-wrap {
align-items: flex-start !important;
}
/* === Filtres WPC : masquer l'encoche bleue résiduelle === */
.wpc-checkbox-item input[type="checkbox"],
.wpc-filter input[type="checkbox"],
.wpc-filters-widget-content input[type="checkbox"] {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
accent-color: #cb5223 !important;
outline: none !important;
box-shadow: none !important;
}
/* Neutraliser l'outline bleu au focus/active (Safari surtout) */
.wpc-checkbox-item input[type="checkbox"]:focus,
.wpc-checkbox-item input[type="checkbox"]:focus-visible,
.wpc-checkbox-item input[type="checkbox"]:active {
outline: none !important;
box-shadow: none !important;
border-color: #cb5223 !important;
}
/* S'assurer que la coche blanche reste bien sur fond orange, pas de mix */
.wpc-checkbox-item input[type="checkbox"]:checked {
background-color: #cb5223 !important;
border-color: #cb5223 !important;
}
/* === Coche du filtre : forcer le pseudo ::after en blanc === */
.wpc-checkbox-item input[type="checkbox"]::after,
.wpc-checkbox-item input[type="checkbox"]:checked::after,
.wpc-checkbox-item input[type="checkbox"]::before,
.wpc-checkbox-item input[type="checkbox"]:checked::before {
color: #ffffff !important;
background: transparent !important;
background-color: transparent !important;
border-color: #ffffff !important;
border-top-color: transparent !important;
border-left-color: transparent !important;
}
/* Catalogue : masquer la description Astra par défaut (remplacée par animation_resume) */
.woocommerce ul.products li.product .ast-woo-shop-product-description {
display: none !important;
}
/* Style du résumé animation custom */
.woocommerce ul.products li.product .tb-animation-resume {
padding: 0 20px;
margin-top: 0.8em;
margin-bottom: 1em;
font-size: 14px;
line-height: 1.5;
color: var(--tb-navy, #004b76);
}
/* === Catalogue : espacement compact (VERTICAL uniquement, garde l'alignement gauche) === */
/* Réduire le gap flex du wrap summary */
html body.woocommerce.archive ul.products li.product .astra-shop-summary-wrap {
gap: 0.3em !important;
row-gap: 0.3em !important;
}
/* Titre : reset VERTICAL uniquement */
html body.woocommerce.archive ul.products li.product .woocommerce-loop-product__title {
margin-top: 0 !important;
margin-bottom: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
min-height: 0 !important;
line-height: 1.3 !important;
}
/* Pill catégorie : vertical seulement */
html body.woocommerce.archive ul.products li.product .ast-woo-product-category {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
/* Prix : vertical seulement (le padding-left 20px de l'alignement reste actif) */
html body.woocommerce.archive ul.products li.product .price {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
/* Description : vertical seulement */
html body.woocommerce.archive ul.products li.product .tb-animation-resume {
margin-top: 0 !important;
margin-bottom: 0 !important;
line-height: 1.4 !important;
}
/* Le lien wrapper contient titre + pill + prix : le passer en flex column pour appliquer le gap */
html body.woocommerce.archive ul.products li.product .ast-loop-product__link {
display: flex !important;
flex-direction: column;
gap: 0.2em !important;
row-gap: 0.3em !important;
}
/* === Barre de recherche catalogue === */
.tb-catalog-search {
margin: 0 0 20px 0;
max-width: 400px;
}
.tb-catalog-search__form {
position: relative;
display: flex;
align-items: center;
background: #fff;
border: 1.5px solid #e0d5c9;
border-radius: 999px;
padding: 8px 18px;
transition: border-color 0.2s, box-shadow 0.2s;
}
.tb-catalog-search__form:focus-within {
border-color: #cb5223;
box-shadow: 0 0 0 3px rgba(203, 82, 35, 0.12);
}
.tb-catalog-search__icon {
color: #cb5223;
margin-right: 10px;
display: flex;
align-items: center;
flex-shrink: 0;
}
.tb-catalog-search__input {
flex: 1;
border: none !important;
outline: none !important;
background: transparent !important;
font-family: 'Inter', sans-serif;
font-size: 14px;
color: #004b76;
padding: 0 !important;
box-shadow: none !important;
}
.tb-catalog-search__input::placeholder {
color: #b0a89e;
font-style: italic;
}
/* Retirer le X natif de la search Safari */
.tb-catalog-search__input::-webkit-search-cancel-button {
-webkit-appearance: none;
display: none;
}
/* Espace entre sidebar filtres et grille sur les 4 pages Box
(le catalogue général a déjà ce padding via body.post-type-archive-product) */
body.term-animation.woocommerce.archive.ast-left-sidebar   #primary,
body.term-communication.woocommerce.archive.ast-left-sidebar #primary,
body.term-entrainement.woocommerce.archive.ast-left-sidebar  #primary,
body.term-progression.woocommerce.archive.ast-left-sidebar   #primary {
padding-left: 40px !important;
}
/* Mobile : on annule ce padding pour rester full width */
@media (max-width: 768px) {
body.term-animation.woocommerce.archive.ast-left-sidebar   #primary,
body.term-communication.woocommerce.archive.ast-left-sidebar #primary,
body.term-entrainement.woocommerce.archive.ast-left-sidebar  #primary,
body.term-progression.woocommerce.archive.ast-left-sidebar   #primary {
padding-left: 0 !important;
}
}
