/* Spécifique erbe */
/* page article */
.featured-item { flex-wrap : nowrap !important;}
.products.prod-grid {
    display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
@media (min-width: 860px) {
   .pcard {
        padding: 15px;
        width: 20%;
    }
}
.pcard {
    padding: 15px;
}

/* page article */
.hero-scrim {
    background: linear-gradient(to top, oklch(0.15 0.01 65.08 / 0.72) 2%, oklch(0.15 0.01 65.08 / 0.24) 42%, #00000075 70%);
}
.cat-uniform { grid-auto-rows: clamp(340px, 50vw, 1000px);}
@media (max-width: 860px) {
    .cat-grid, .cat-uniform {
        grid-template-columns: 1fr !important;
    }
}
.cat-head {display:none;}
.mrd-search-close svg { stroke: var(--ink); }
.product-container { width:100%; }
.mega-col-title { 
    color: var(--accent);
    transition: all ease-out 0.3s;
}
.mega-col-title:hover { color: var(--ink);}
.mega-columns { grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); }

.trust-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.brand-row {
    height: 120px;
}
.brand-item img {
    max-height: 150px !important;
}

/* Cache uniquement le bloc magasins sur la page produit */
.product-additional-info .prestaconnector-stores-stocks {
  display: none !important;
}

#category #search_filters .custom-chech2kbox {
    display: none;
}

/* about */
.rentree-content {
    display: flex;
    align-items: center;
}
.rentree-text {
    flex: 1;
    line-height: 30px;
}
.rentree-text h2 {
    margin: 0 0 20px;
    font-size: 32px;
    font-weight: 700;
}

.rentree-text p {
    margin: 0 0 15px;
    font-size: 17px;
    line-height: 1.7;
}
.rentree-image {
    flex: 1;
    display: flex;
    justify-content: center;
}
.rentree-image img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .rentree-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* about */



/* Spécifique erbe */

/* marque dans le menu */
.mrd-nav-item:has(a[href*="marques"]) .mrd-container {
    max-height: 700px;
    overflow-y: scroll;
    scrollbar-width: thin;
}
/* marque dans le menu */
.mrd-header svg:hover,
.header svg:hover {
    color: var(--ink) !important;
    stroke: var(--ink) !important;
}
.header svg path {
    stroke: inherit !important;
}
.mrd-header svg,
.header svg {
    fill: none !important;
    transition: all ease-out 0.3s;
}

/* CSS TEST MAG DISPO ART */
/* Cache uniquement le bloc magasins sur la page produit */
.product-additional-info .store-stock-hidden-source .prestaconnector-stores-stocks {
  display: none !important;
}
/* =========================
   WRAPPER
========================= */
.product-additional-info.js-product-additional-info {
  margin-top: 20px;
}

/* =========================
   BOUTON
========================= */
.store-stock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin-bottom: 15px;
}

.store-stock-btn:hover {
  background: #1f1f1f;
  transform: translateY(-2px);
}

.store-stock-btn-icon {
  font-size: 18px;
}

/* =========================
   OVERLAY
========================= */
.store-stock-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9998;
}

.store-stock-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================
   DRAWER
========================= */
.store-stock-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 480px;
  max-width: 95%;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  transition: right 0.35s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.store-stock-drawer.active {
  right: 0;
}

/* =========================
   HEADER
========================= */
.store-stock-header {
  background: var(--accent);
  color: #fff;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
}

.store-stock-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.store-stock-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-stock-close:hover {
  transform: rotate(90deg);
  opacity: 0.8;
}

/* =========================
   BODY
========================= */
.store-stock-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #f8f8f8;
}

/* Scroll */
.store-stock-body::-webkit-scrollbar {
  width: 8px;
}
.store-stock-body::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.store-stock-body::-webkit-scrollbar-track {
  background: transparent;
}

/* =========================
   TITRE MODULE
========================= */
.store-stock-body .prestaconnector-stores-stocks-title {
  display: none !important;
}

/* =========================
   LISTE MAGASINS
========================= */

/* Mag en stock page article */
.prestaconnector-stores-stocks .details {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: row;
}
.prestaconnector-stores-stocks .details .store {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 3px;
}

.store-stock-body .prestaconnector-stores-stocks .store {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.store-stock-body .prestaconnector-stores-stocks .store:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: #ddd;
}

.store-stock-body .prestaconnector-stores-stocks .store .name {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  flex: 1;
}

/* Badge stock */
.store-stock-body .prestaconnector-stores-stocks .store .qty {
  position: relative;
  font-size: 0;
  min-width: 160px;
  width: fit-content !important;
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.store-stock-body .prestaconnector-stores-stocks .store .qty::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.store-stock-body .prestaconnector-stores-stocks .store .qty::after {
  content: attr(title);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* États */
.store-stock-body .prestaconnector-stores-stocks .store .qty.outofstock {
  background: #fdecec;
  color: #b42318;
  border: 1px solid #f3b7b7;
}

.store-stock-body .prestaconnector-stores-stocks .store .qty.outofstock::before {
  background: #d92d20;
}

.store-stock-body .prestaconnector-stores-stocks .store .qty.lowstock {
  background: #fff6e8;
  color: #b46b00;
  border: 1px solid #f1d7a8;
}

.store-stock-body .prestaconnector-stores-stocks .store .qty.lowstock::before {
  background: #d97706;
}

.store-stock-body .prestaconnector-stores-stocks .store .qty.instock {
  background: #eaf8ef;
  color: #1d7a35;
  border: 1px solid #bfe3ca;
}

.store-stock-body .prestaconnector-stores-stocks .store .qty.instock::before {
  background: #16a34a;
}

/* =========================
   BODY LOCK
========================= */
body.store-stock-open {
  overflow: hidden;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .store-stock-drawer {
    width: 100%;
    max-width: 100%;
    right: -100%;
  }

.brand-item{
height:100px;
}
.brand-row {
height:unset;
}

  .store-stock-header {
    padding: 18px 20px;
    min-height: 80px;
  }

  .store-stock-header h3 {
    font-size: 18px;
  }

  .store-stock-body {
    padding: 18px;
  }

  .store-stock-body .prestaconnector-stores-stocks .store {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-stock-body .prestaconnector-stores-stocks .store .qty {
    width: 100%;
    min-width: auto;
    text-align: center;
  }
}

/* Affichage prestacheckout */
.product-add-to-cart {    flex-direction: column;}

@media (max-width: 768px) {
    .About .about-text-mob { overflow: scroll; }
    .About .about-text {
         transform: translateY(45px);
    }
}

/* ===== Slider bannière - Fond rouge PROPRE ===== */
.text-slider-left .text-content h1 {
    display: table !important;
    width: min-content !important;   /* ← force le passage à la ligne au mot le plus long */
    background-color: rgba(200, 30, 30, 0.85) !important;
    color: #fff !important;
    padding: 20px 30px !important;
    border-radius: 8px !important;
}

.text-slider-left .text-content a.btn {
    background-color: rgba(198, 40, 40, 0.85);
    color: #fff !important;
    padding: 14px 40px !important;
    border-radius: 30px !important;
    font-weight: bold;
    margin-top: 20px !important;
    transition: all 0.3s ease;
}
.text-slider-left .text-content a.btn:hover {
    background-color: #c00000 !important;
    transform: translateY(-2px);
}

/* ========== GRANDE TABLETTE (≤ 1024px) ========== */
@media (max-width: 1024px) {
    .text-slider-left .text-content h1 {
        font-size: 40px !important;   /* réduit */
    }
}

/* ========== TABLETTE (≤ 992px) ========== */
@media (max-width: 992px) {
    .text-slider-left .text-content h1 {
        font-size: 35px !important;   /* réduit */
        padding: 20px 30px !important;
    }
    .text-slider-left .text-content a.btn {
        font-size: 15px !important;
        padding: 12px 28px !important;
    }
}

/* ========== MOBILE (≤ 768px) ========== */
@media (max-width: 768px) {
    .text-slider-left .text-content h1 {
        font-size: 30px !important;   /* réduit */
        padding: 16px 22px !important;
    }
    .text-slider-left .text-content a.btn {
        font-size: 14px !important;
        padding: 11px 24px !important;
        margin-top: 15px !important;
    }
}

/* ========== PETIT MOBILE (≤ 480px) ========== */
@media (max-width: 480px) {
    .text-slider-left .text-content h1 {
        font-size: 20px !important;   /* réduit */
        padding: 14px 18px !important;
    }
    .text-slider-left .text-content a.btn {
        font-size: 13px !important;
        padding: 10px 20px !important;
    }
}

/* ===== FIX : décaler le bloc sous le header entre 769px et 1023px ===== */
@media (max-width: 1023px) and (min-width: 769px) {
    .text-slider-left .text-content {
        padding-top: 120px !important;   /* ← descend le bloc sous le menu */
    }
}

header.page-header {
    display: none;
}
#content .container {
    padding: 0 0 15px 0 !important;
}

#content .container p,
#content .q-block p {
    color: #000;
}

/* ==========================
   FAQ - PrestaShop CMS
========================== */

.page-cms .container {
    max-width: 1100px;
    margin: 50px auto;
}

/* Titre */

.page-cms h1 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin-bottom: 50px;
}

/* Bloc FAQ */

.page-cms .q-block {
    background: #fff;
    border: 1px solid var(--ink);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    transition: all .3s ease;
}

.page-cms .q-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* Question */

.page-cms .q-block h2 {
    margin: 0;
    padding: 22px 70px 22px 25px;
    background: #fafafa;
    color: #222;
    font-size: 20px;
    font-weight: 600;
    border-left: 5px solid var(--ink);
    position: relative;
    transition: .3s;
}

/* Icône */

.page-cms .q-block h2::after {
    content: "+";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: var(--ink);
    font-weight: 300;
}

/* Réponse */

.page-cms .q-block > div {
    padding: 25px;
    background: #fff;
}

.page-cms .q-block p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--ink);
    font-size: 16px;
}

.page-cms .q-block p:last-child {
    margin-bottom: 0;
}

/* Liens */

.page-cms .q-block a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.page-cms .q-block a:hover {
    text-decoration: underline;
}

/* Listes */

.page-cms .q-block ul,
.page-cms .q-block ol {
    padding-left: 20px;
}

.page-cms .q-block li {
    margin-bottom: 8px;
}

/* Responsive */

@media (max-width:768px){

    .page-cms h1{
        font-size:32px;
    }

    .page-cms .q-block h2{
        font-size:17px;
        padding:18px 55px 18px 18px;
    }

    .page-cms .q-block > div{
        padding:18px;
    }

    .page-cms .q-block h2::after{
        right:18px;
        font-size:28px;
    }

}
/* Réponse fermée par défaut */
.page-cms .q-block > div {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: all .35s ease;
}

/* Réponse ouverte */
.page-cms .q-block.active > div {
    max-height: 1000px;
    padding: 0 25px 25px;
}

/* Curseur */
.page-cms .q-block h2 {
    cursor: pointer;
    user-select: none;
}

/* Icône + */
.page-cms .q-block h2::after {
    content: "+";
    transition: transform .3s ease;
}

/* Icône - */
.page-cms .q-block.active h2::after {
    content: "−";
}




















/* =========================
   HERO — Titre + CTA
========================= */

/* Titre "NOUVELLES DÉMARQUES" */
#wrapper .hero .hero-content h1.display {
  color: #ffffff;                          /* ← ta couleur */
}

/* Bouton "VOIR LES OFFRES" */
#wrapper .hero .hero-ctas a.mrd-btn.mrd-btn-solid {
  color: #ffffff;             /* texte */
  background-color: #b23737;  /* fond */
  transition: background-color .3s ease-out, color .3s ease-out, transform .3s ease-out;
}

#wrapper .hero .hero-ctas a.mrd-btn.mrd-btn-solid:hover,
#wrapper .hero .hero-ctas a.mrd-btn.mrd-btn-solid:focus-visible {
  color: #ffffff;
  background-color: #ff0000;
  transform: translateY(-2px);
}

/* Hero — titre confiné à la moitié droite */
.hero-content h1.display {
  font-size: 6rem;
  max-width: 50%;
  margin-left: auto;   /* pousse le bloc à droite */
  text-align: right;
}
.hero-content h2.display {
  font-size: 6rem;
  max-width: 50%;
  margin-left: auto;   /* pousse le bloc à droite */
  text-align: right;
}

@media (max-width: 768px) {
  .hero-content h1.display {
    max-width: 100%;
    font-size: 3rem;
  }
.hero-content h2.display {
  font-size: 3rem;
  max-width: 100%;
}
}

/* ===== Alignement image rentrée à droite ===== */
.rentree-image {
    justify-content: flex-end;
}

/* Sur mobile, on recentre */
@media (max-width: 768px) {
    .rentree-image {
        justify-content: center;
    }
}

/* =========================================================
   CAROUSEL - PRODUITS "DÉJÀ VUS"
   ========================================================= */

.featured-products {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.featured-products h2 {
    margin-bottom: 30px;
}

/* Zone du carousel */
.featured-products .slider-products {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Ligne contenant les produits */
.featured-products .featured-item {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    gap: 20px;

    transform: translate3d(0, 0, 0);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
}

/* Chaque produit */
.featured-products .featured-item > .pcard {
    flex: 0 0 calc((100% - 60px) / 4);
    width: calc((100% - 60px) / 4);
    min-width: 0;

    margin: 0 !important;
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   BOUTONS
   --------------------------------------------------------- */

.featured-products .featured-button {
    position: absolute;
    top: 42%;

    z-index: 20;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.96);
    color: #111;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

.featured-products .featured-button svg {
    width: 20px;
    height: 20px;
    fill: #111;
}

.featured-products .featured-button:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.20);
}

.featured-products .featured-button:active {
    transform: translateY(-50%) scale(0.96);
}

.featured-products .featured-button.prev {
    left: 8px;
    transform: translateY(-50%);
}

.featured-products .featured-button.next {
    right: 8px;
    transform: translateY(-50%);
}

.featured-products .featured-button.prev:hover,
.featured-products .featured-button.next:hover {
    transform: translateY(-50%) scale(1.08);
}

.featured-products .featured-button:disabled {
    opacity: 0.25;
    pointer-events: none;
    cursor: default;
}

/* ---------------------------------------------------------
   PAGINATION
   --------------------------------------------------------- */

.featured-products .pagination-indicators-featured {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    margin-top: 28px;
}

.featured-products .indicator-featured {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #d2d2d2;

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.featured-products .indicator-featured:hover {
    transform: scale(1.2);
}

.featured-products .indicator-featured.active {
    width: 24px;
    border-radius: 10px;
    background: #111;
}

/* ---------------------------------------------------------
   ANIMATION PRODUIT
   --------------------------------------------------------- */

.featured-products .pcard {
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.featured-products .pcard:hover {
    transform: translateY(-4px);
}

/* ---------------------------------------------------------
   TABLETTE
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .featured-products .featured-item {
        gap: 16px;
    }

    .featured-products .featured-item > .pcard {
        flex: 0 0 calc((100% - 32px) / 3);
        width: calc((100% - 32px) / 3);
    }

    .featured-products .featured-button {
        width: 42px;
        height: 42px;
    }

}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .featured-products h2 {
        margin-bottom: 20px;
    }

    .featured-products .featured-item {
        gap: 12px;
    }

    .featured-products .featured-item > .pcard {
        flex: 0 0 calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2);
    }

    .featured-products .featured-button {
        width: 38px;
        height: 38px;
    }

    .featured-products .featured-button svg {
        width: 17px;
        height: 17px;
    }

    .featured-products .featured-button.prev {
        left: 4px;
    }

    .featured-products .featured-button.next {
        right: 4px;
    }

    .featured-products .pagination-indicators-featured {
        margin-top: 20px;
    }

}

/* ---------------------------------------------------------
   TRÈS PETIT MOBILE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .featured-products .featured-item > .pcard {
        flex: 0 0 100%;
        width: 100%;
    }

}