/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
.section-temporaire-cache{ display: none;}
.wd-footer{ text-align:center;}
.website-wrapper .wd-prefooter{padding-bottom:0px;  background-color: rgb(238,238,238);
    border-top: 1px solid #e8e2d8;
    padding: 28px 20px;}

.wd-prefooter .trust-prefooter__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.wd-prefooter .trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
}

.wd-prefooter .trust-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d19a35;
}

.wd-prefooter .trust-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wd-prefooter .trust-content h3 {
  margin: 0 0 5px;
  color: #222;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.wd-prefooter .trust-content p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .wd-prefooter .trust-prefooter__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .wd-prefooter .trust-item {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .wd-prefooter .trust-prefooter {
    padding: 24px 16px;
  }

  .wd-prefooter .trust-prefooter__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .wd-prefooter .trust-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .wd-prefooter .trust-icon svg {
    width: 30px;
    height: 30px;
  }
}
.gsl-footer-brand {
    --gsl-bg: #F0EFED;
    --gsl-orange: #A96B35;
    --gsl-navy: #101C3A;
    --gsl-border: #D8D1C7;
    --gsl-white: #FFFFFF;
}
.gsl-footer-brand {
    text-align: center;
    padding: 0 15px 30px;
    border-bottom: 1px solid var(--gsl-border);
}
.gsl-footer-brand p {
    color: var(--gsl-orange);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}
.gsl-footer-logo {
    display: inline-block;
    margin-bottom: 10px;
}

.gsl-footer-logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}
.gsl-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.gsl-decoration span {
    width: 37px;
    height: 1px;
    background: #D99A24;
}

.gsl-decoration i {
    width: 7px;
    height: 7px;
    background: #D99A24;
    transform: rotate(45deg);
}
/* Header sticky : reste toujours en place, sans se masquer au scroll vers le bas ni réapparaître au scroll vers le haut.
   (Neutralise l'option « Hide when scrolling down » du Header Builder et ses classes whb-scroll-down / whb-scroll-up.) */
.whb-header.whb-scroll-down .whb-main-header,
.whb-header.whb-scroll-up .whb-main-header,
.whb-header.whb-hide-on-scroll.whb-sticked .whb-main-header,
.whb-clone.whb-hide-on-scroll,
.whb-clone.whb-scroll-down,
.whb-clone.whb-scroll-up {
    transform: none !important;
}

/* Mega menu catégories + produits (inc/gsl-menu-mega) : catégories en colonne à gauche, produits à droite. */
.gsl-mcp-layout {
    display: grid;
    gap: 40px;
    align-items: start;
}

.gsl-mcp-layout.has-aside.has-main {
    grid-template-columns: 240px minmax(0, 1fr);
}

.wd-sub-menu + .gsl-mcp-layout {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.gsl-mcp-heading {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.6;
}

/* Catégories : simple liste, séparée du reste par un trait vertical. */
.gsl-mcp-aside {
    padding-inline-end: 32px;
    border-inline-end: 1px solid rgba(128, 128, 128, 0.2);
}

.gsl-mcp-cats {
    display: flex;
    flex-direction: column;
}

.gsl-mcp-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    color: inherit;
    text-decoration: none;
}

.gsl-mcp-cat .gsl-mcp-name {
    font-size: 15px;
}

.gsl-mcp-cat:hover,
.gsl-mcp-cat.is-active {
    color: var(--wd-primary-color, inherit);
}

/* Panneaux de produits : un seul visible à la fois (survol d'une sous-catégorie). */
.gsl-mcp-panel {
    display: none;
}

.gsl-mcp-panel.is-active {
    display: block;
}

.gsl-mcp-thumb {
    flex: none;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border-radius: var(--wd-brd-radius, 0);
}

.gsl-mcp-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Catégories seules (aucun produit) : liste sur plusieurs colonnes. */
.gsl-mcp-layout.has-aside:not(.has-main) .gsl-mcp-aside {
    padding-inline-end: 0;
    border-inline-end: 0;
}

.gsl-mcp-layout.has-aside:not(.has-main) .gsl-mcp-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    column-gap: 30px;
}

.gsl-mcp-all {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wd-primary-color, inherit);
}

.gsl-mcp-all:hover {
    text-decoration: underline;
}

/* Produits */
.gsl-mcp-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.gsl-mcp-product {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.gsl-mcp-img {
    display: block;
    overflow: hidden;
    border-radius: var(--wd-brd-radius, 0);
}

.gsl-mcp-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gsl-mcp-product .gsl-mcp-name {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.35;
}

.gsl-mcp-product:hover .gsl-mcp-name {
    color: var(--wd-primary-color, inherit);
}

.gsl-mcp-price {
    font-size: 14px;
}

@media (max-width: 1200px) {
    .gsl-mcp-layout.has-aside.has-main {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 28px;
    }

    .gsl-mcp-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .gsl-mcp-product:nth-child(n + 5) {
        display: none;
    }
}

/* Page d'accueil uniquement */
body.home .wd-content-layout {
    padding-block: 0px;
}

/* Filtres (catégories, prix, couleur…) : sur ordinateur, panneau toujours affiché dans une colonne à gauche
   des produits (template : woocommerce/archive-product.php). Sur mobile / tablette, panneau masqué derrière
   le bouton « Filtres » de Woodmart, qui l'ouvre et le ferme. */
@media (min-width: 1025px) {
    .wd-shop-tools .wd-filter-buttons {
        display: none !important;
    }

    .gsl-shop-filters .filters-area {
        display: block !important;
    }
}

@media (max-width: 1024px) {
    .wd-shop-tools .wd-filter-buttons {
        display: inline-flex !important;
    }

    /* Fermé par défaut ; le bouton l'ouvre (styles en ligne posés par Woodmart). */
    .gsl-shop-filters .filters-area {
        display: none;
        margin-bottom: 20px;
        padding-block: 20px;
    }
}

.gsl-shop-layout.has-filters {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.gsl-shop-filters {
    flex: 0 0 260px;
    max-width: 260px;
}

.gsl-shop-main {
    flex: 1 1 0;
    min-width: 0;
}

@media (min-width: 1025px) {
    .gsl-shop-filters .filters-area {
        margin-bottom: 0;
        padding-block: 0;
        border-block: none;
    }
}

/* Les widgets s'empilent en une seule colonne. */
.gsl-shop-filters .filters-inner-area {
    --wd-col-lg: 1 !important;
    --wd-col-md: 1 !important;
    --wd-col-sm: 1 !important;
    --wd-gap-lg: 25px !important;
}

@media (max-width: 1024px) {
    .gsl-shop-layout.has-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .gsl-shop-filters {
        flex-basis: auto;
        max-width: none;
    }
}

/* Colonne de filtres : liste des catégories (remplace « Trier par »). */
.gsl-filter-cat-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gsl-filter-cat-list li {
    margin: 0 0 10px;
}

.gsl-filter-cat-list .gsl-filter-cat-list {
    margin: 10px 0 0;
    padding-inline-start: 15px;
}

.gsl-filter-cat-list li.wd-active > a {
    color: var(--wd-primary-color);
    font-weight: 600;
}

/* Filtres actifs : espace au-dessus au lieu du -15px de Woodmart. */
.wd-active-filters {
    margin-top: 15px !important;
}

/* Filtre de prix : glisseur à deux poignées rondes, valeurs min / max dans des cases aux extrémités. */
.gsl-shop-filters .widget_price_filter .gsl-price-slider {
    margin: 10px 8px 18px;
}

.gsl-shop-filters .widget_price_filter .ui-slider-horizontal:before {
    height: 8px;
    margin-top: -4px;
    border-radius: 4px;
}

.gsl-shop-filters .widget_price_filter .ui-slider .ui-slider-range {
    height: 8px;
    margin-top: -4px;
    border-radius: 4px;
}

.gsl-shop-filters .widget_price_filter .ui-slider .ui-slider-handle {
    width: 22px;
    height: 22px;
    margin-top: -11px;
    margin-left: -11px;
    border-radius: 50%;
    background-color: var(--wd-primary-color);
}

.gsl-shop-filters .widget_price_filter .ui-slider .ui-slider-handle:after {
    display: none;
}

.gsl-shop-filters .widget_price_filter [class*="price_slider_amount"] {
    justify-content: space-between;
}

/* Min / max saisissables dans des cases aux extrémités (filtre GSL, functions.php). */
.gsl-shop-filters .widget_price_filter .gsl-price-input {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border: 1px solid var(--wd-primary-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--wd-primary-color);
}

.gsl-shop-filters .widget_price_filter .gsl-price-input:last-of-type {
    margin-inline-start: auto;
}

.gsl-shop-filters .widget_price_filter .gsl-price-input input {
    display: inline-block !important; /* WooCommerce et Woodmart masquent ces champs */
    width: 6ch;
    height: auto;
    min-height: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    font-size: inherit;
    color: inherit;
    text-align: end;
    -moz-appearance: textfield;
    appearance: textfield;
}

.gsl-shop-filters .widget_price_filter .gsl-price-input input::-webkit-outer-spin-button,
.gsl-shop-filters .widget_price_filter .gsl-price-input input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.gsl-shop-filters .widget_price_filter .gsl-price-input:focus-within {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--wd-primary-color) 25%, transparent);
}

/* Liste des catégories (pages catégorie) : titre sur une seule ligne et icône bien visible. */
.wd-nav-product-cat {
    --nav-img-height: 34px;
}

.wd-nav-product-cat > li > a {
    white-space: nowrap;
}

.wd-nav-product-cat > li > a .nav-link-text {
    white-space: nowrap;
}

.wd-nav-product-cat > li > a .wd-nav-img {
    margin-inline-end: 10px;
}


.wd-col-start.reset-last-child {
    text-align: center !important;
}
