/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
 /*Typography*/
 .h1, .h2, .h3 {
    color: #272c52;
}

/* 06.07.22 - Webbax | TUTO 151 */
#category .block-category{min-height: inherit;}

/* Webbax - tuto 25 */
.subcategory-heading {
    font-weight: bold;
    text-align:center;
    padding-top:10px;
}
#subcategories{
    background-color:#FFFFF !important;
}
#subcategories h5{
    margin-bottom: 25px
}  
#subcategories ul li{
    float: left;
    width: 25%;
    text-align: center;
}
#subcategories ul li img {
    margin-bottom: 10px;
    width:100%;
}
#subcategories ul li img:hover{
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}

/* mobile */
@media screen and (max-width:600px){
    #subcategories ul li{
        width: 50%;
    }
}
 /*Menu*/
#header .top-menu a[data-depth="0"]:hover{
    color: #272c52;
}
#header .top-menu a {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}
#header .top-menu a:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 51%;
  right: 51%;
  bottom: 0;
  background: #ff62b1;
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
#header .top-menu a:hover:before, #header .top-menu a:focus:before, #header .top-menu a:active:before {
  left: 0;
  right: 0;
}
/*Categories*/
#products .highlighted-informations .quick-view:hover, .featured-products .highlighted-informations .quick-view:hover, .product-accessories .highlighted-informations .quick-view:hover, .product-miniature .highlighted-informations .quick-view:hover{
    color: #ff62b1;
}
/*Product page tabs*/
.tabs .nav-tabs .nav-link.active, .tabs .nav-tabs .nav-link:hover {
    border: none;
    border-bottom: 3px solid #272c52;
}
.tabs .nav-tabs .nav-link.active {
    color: #272c52;
}
/*Product img thumbnails*/
.product-images>li.thumb-container>.thumb.selected, .product-images>li.thumb-container>.thumb:hover{
    border: 3px solid #ff62b1;
}
/*Product buttons*/
@-webkit-keyframes btn-primary {
  100% {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
  }
}
@keyframes btn-primary {
  100% {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
  }
}
.btn-primary {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
}
.btn-primary:before {
  content: '';
  position: absolute;
  border: #e1e1e1 solid 4px;
  top: -12px;
  right: -12px;
  bottom: -12px;
  left: -12px;
  opacity: 0;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}
.btn-primary:hover:before, .btn-primary:focus:before, .btn-primary:active:before {
  -webkit-animation-name: btn-primary;
  animation-name: btn-primary;
}


/* 03.04.19 - Webbax - TUTO 73 */
.products .thumbnail-container{background:none!important;box-shadow:none!important;}
.products .product-miniature img{border-radius:8px;border:2px solid #222;}
.products .product-miniature img:hover{/* transform:skewY(20deg);*/transform:rotate(15deg);transition:all 0.3s ease;box-shadow:5px 5px 5px #aaa; }
#product .js-qv-product-cover{border-radius:8px;border:2px solid #222;}
#product .product-cover .layer:hover{border-radius:8px;border:2px solid #222;}

/* 24.02.22 - Webbax | TUTO 142 modif bouton*/

.btn{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}

#product .add-to-cart{text-transform:none;padding-top:7px;}
#product .add-to-cart i{display:none!important;}

#blockcart-modal .btn-primary i{display:none!important;}
#blockcart-modal .btn-secondary{background-color:#fff;border:1px solid #333;}

#header .header-nav .cart-preview.active{background-color:#333;}
#cart .cart-grid-body a.label{display:none;}



/* 09.12.20 - Webbax | TUTO 114 */
@media (max-width:650px) {
    #blockcart-modal .divide-right{display:none!important;}
    #blockcart-modal .cart-products-count{display:none!important;}
    #blockcart-modal .cart-content p{display:none!important;}
    #blockcart-modal .cart-content-btn button, #blockcart-modal .cart-content-btn a{font-size:12px;}
    #blockcart-modal .cart-content-btn a:after{content:" →";line-height:5px;font-size:50px;}
    #blockcart-modal .cart-content-btn .material-icons{display:none!important;}
}
/* 19.05.21 - Webbax | TUTO SEO 73 */
.obfseolink{cursor: pointer;}

/* TUTO 111 */
/* fond */
#wrapper{background:#F8F8FF!important;}

/* Webbax - Tuto SEO 17 */
#category #category-description{background-color:#fff;font-size:12px;padding:20px;margin-bottom:30px;}

/* Webbax - Tuto 37 - microbanner */
#header-microbanner{background-color:#3026d9;color:#fff;font-size:13px;text-align:center;}
#header-microbanner span{margin-right:20px;margin-left:20px;}

#header-microbanner-v2{background-color:red;color:#fff;font-size:10px;text-align:center;padding-left:5px;padding-right:5px;}

/* 24.11.21 - Webbax | TUTO 137 */

/* tablet and desktop */
@media(min-width:768px){
    #left-column{display:none;}
    #category #content-wrapper{width:100%!important;}
    #category #search_filters_wrapper #_desktop_search_filters_clear_all{display:none;}
    #category #search_filters_wrapper #search_filters{display:flex;flex-wrap:wrap;}
    #category #search_filters_wrapper #search_filters .text-uppercase{display:none;}
    #category #search_filters_wrapper #search_filters .facet{width:20%;float:left;padding-right:5px;}
    #category #search_filters_wrapper #search_filters .facet-dropdown{border:1px solid #333;}
    #category #search_filters_wrapper #search_filters .facet-dropdown .select-title{background:#fff;}
}

#mobile_top_menu_wrapper{
    position: absolute;
    top: 0px;
}

/* mobile */
@media(max-width:767px){
    #header .header-nav #menu-icon{
        margin: 2px !important;
        padding: 10px !important;
    
    }
    #left-column{display:block;}
}

/* Webbax - tuto 18 */ 

/* tous les supports */
#cms .page-content h1{font-size:30px;margin-bottom:20px;}
#cms #banner-cms img{max-width:100%}
#cms #banner-cms{margin-bottom:20px;}  

/* desktop */
@media(min-width:1024px){ 
    #cms .page-content.page-cms{margin-left:10%;margin-right:10%;}
}

/* tablette vert. - small */
@media(max-width:768px) AND (min-width:600px){ 
    #cms .page-content.page-cms{margin-left:10%;margin-right:10%;}
}
/* Tableaux des pages CMS */
#cms .page-content.page-cms table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

#cms .page-content.page-cms table th {
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
    background: #f2f2f2;
    border: 1px solid #d8d8d8;
    font-weight: 700;
}

#cms .page-content.page-cms table td {
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #d8d8d8;
    line-height: 1.45;
}
.cms-promo-button {
  background-color: #ffff00;
  color: #000000;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 16px;
  display: inline-block;
  border-radius: 8px;
}
.text-center {
  text-align: center;
}

/* 05.06.25 modif couleurs boutons ajouter au panier */

/* État normal du bouton "Ajouter au panier" */
.btn-primary {
    background-color: #3026d9; /* bleu pour le fond */
    color: #ffffff; /* Texte blanc */
    border: 1px solid #3026d9; /* Bordure assortie */
}

/* État hover (quand la souris passe dessus) */
.btn-primary.focus,.btn-primary:focus,.btn-primary:hover {
    background-color: #2820B3; /* bleu plus foncé pour le hover */
    color: #ffffff; /* Texte reste blanc */
    border: 1px solid #2820B3; /* Bordure assortie */
}

/* Flag "Nouveau" */
.product-flag.new {
    background-color: #FFFF00 !important; /* Bleu moyen, assorti au bouton */
    color: #000000 !important; /* Texte blanc pour lisibilité */
    padding: 5px 10px !important; /* Espacement interne */
    font-size: 12px !important; /* Taille de police */
    font-weight: bold !important; /* Police en gras */
    text-transform: uppercase !important; /* Texte en majuscules */
    position: absolute !important; /* Positionnement sur l’image */
    top: 10px !important; /* Distance du haut */
    left: 10px !important; /* Distance de la gauche */
    border-radius: 3px !important; /* Coins arrondis */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important; /* Ombre légère pour effet 3D */
}

 /* ════════════════════════════════
     BLOC CSS → custom.css image destockage animée
     ════════════════════════════════ */

  .promo-img-wrapper {
  position: relative;
  display: block;        /* ← change inline-block en block */
  width: fit-content;    /* ← prend uniquement la largeur de l'image */
  margin: 0 auto 30px;   /* ← centre + garde l'espace en bas */
  cursor: pointer;
}

  .promo-img {
    display: block;
    width: 380px;
    height: auto;
    border-radius: 6px;
    animation:
      promo-breathe  2.2s ease-in-out infinite,
      promo-glow-img 2.2s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform, filter;
  }

  /* Halo jaune doré double couche */
  .promo-img-wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 12px;
    pointer-events: none;
    z-index: -1;
    animation: promo-halo 2.2s ease-in-out infinite;
  }

  /* Étoile dorée coin haut-droit */
  .promo-img-wrapper::after {
    content: '✦';
    position: absolute;
    top: -16px;
    right: -16px;
    font-size: 24px;
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255,215,0,.9);
    animation: promo-star 2.2s ease-in-out infinite;
    pointer-events: none;
    line-height: 1;
  }

  /* ── Animations ── */

  @keyframes promo-breathe {
    0%    { transform: scale(1)    rotate(0deg); }
    25%   { transform: scale(1.04) rotate(-0.5deg); }
    50%   { transform: scale(1.07) rotate(0deg); }
    75%   { transform: scale(1.04) rotate(0.5deg); }
    100%  { transform: scale(1)    rotate(0deg); }
  }

  /* Drop-shadow : jaune chaud → jaune vif */
  @keyframes promo-glow-img {
    0%    { filter: drop-shadow(0 0  0px rgba(255,215,0,0)); }
    40%   { filter: drop-shadow(0 0 22px rgba(255,215,0,1))
                    drop-shadow(0 0 45px rgba(255,180,0,.6)); }
    60%   { filter: drop-shadow(0 0 22px rgba(255,215,0,1))
                    drop-shadow(0 0 45px rgba(255,180,0,.6)); }
    100%  { filter: drop-shadow(0 0  0px rgba(255,215,0,0)); }
  }

  /* Box-shadow : anneau or intérieur + halo or large */
  @keyframes promo-halo {
    0%    { box-shadow:
              0 0  0px  0px rgba(255,215,0,0),
              0 0  0px  0px rgba(255,180,0,0); }
    40%   { box-shadow:
              0 0 20px 10px rgba(255,215,0,.65),
              0 0 40px 22px rgba(255,180,0,.35); }
    60%   { box-shadow:
              0 0 20px 10px rgba(255,215,0,.65),
              0 0 40px 22px rgba(255,180,0,.35); }
    100%  { box-shadow:
              0 0  0px  0px rgba(255,215,0,0),
              0 0  0px  0px rgba(255,180,0,0); }
  }

  /* Étoile : tourne + pulse */
  @keyframes promo-star {
    0%,100% { transform: scale(1)   rotate(0deg);   opacity: .85; }
    50%     { transform: scale(1.5) rotate(180deg); opacity: 1; }
  }

  /* Pause au survol */
  .promo-img-wrapper:hover .promo-img,
  .promo-img-wrapper:hover::before,
  .promo-img-wrapper:hover::after {
    animation-play-state: paused;
  }

  /* ════════════════════════════════
     FIN BLOC CSS
     ════════════════════════════════ */

/* css pour bouton panier sous miniature produit*/
#products article.product-miniature div.thumbnail-container,
article.product-miniature div.thumbnail-container {
    min-height: 470px !important;
    height: auto !important;
}

#products article.product-miniature div.product-description,
article.product-miniature div.product-description {
    min-height: 220px !important;
    height: auto !important;
    text-align: center;
}

#products .thumbnail-container .product-thumbnail img,
.featured-products .thumbnail-container .product-thumbnail img,
.product-accessories .thumbnail-container .product-thumbnail img,
.product-miniature .thumbnail-container .product-thumbnail img {
    bottom: inherit;
}

#products .product-price-and-shipping,
.featured-products .product-price-and-shipping,
.product-accessories .product-price-and-shipping,
.product-miniature .product-price-and-shipping {
    margin-top: 5px;
}

.tpz-mini-cart {
    text-align: center;
    margin-top: 10px;
    width: 100%;
}

.tpz-mini-qty-wrap {
    margin: 8px 0;
}

.tpz-mini-qty {
    width: 60px !important;
    margin: 5px auto 10px auto !important;
    text-align: center;
    display: block;
}

.tpz-mini-add-btn {
    background: #3026D9 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.tpz-mini-add-btn:hover {
    opacity: 0.9;
}

.tpz-out-of-stock {
    background: #999999 !important;
    cursor: not-allowed !important;
}

.tpz-stock-info {
    font-size: 12px;
    color: #c0392b;
    margin-bottom: 6px;
    font-weight: 600;
}
/*fin css bouton panier miniature produit */

/* Carrousel sous les photos - fiches produit uniquement */
body#product #carousel,
body#product #carousel .carousel-inner,
body#product #carousel .carousel-item {
    height: auto !important;
    min-height: 0 !important;
}

/* Repositionnement des flèches des miniatures produit */
body#product .scroll-box-arrows i {
    bottom: auto !important;
    top: 490px;
}

.product-information .tpz-sur-commande {
    background: #f5f4ff !important;
    border: 2px solid #3026D9 !important;
    border-radius: 12px !important;
    -webkit-border-radius: 12px !important;
    overflow: hidden !important;
    padding: 16px 20px !important;
    margin: 18px 0 !important;
    color: #222;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(48, 38, 217, 0.12);
}

.product-information .tpz-sur-commande-titre {
    text-align: center;
    color: #3026D9;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-information .tpz-sur-commande strong {
    color: #3026D9;
    font-weight: 700;
}


/* =========================================================
   TPZ - ACCORDEONS FICHE PRODUIT
   ========================================================= */

.tpz-product-accordions {
    margin-top: 18px;
    border-top: 1px solid #d9d9d9;
}

.tpz-product-accordion {
    border-bottom: 1px solid #d9d9d9;
}

/* Ligne cliquable */
.tpz-product-accordion > summary {
    position: relative;
    padding: 18px 48px 18px 0;
    cursor: pointer;
    list-style: none;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    color: #222;

    transition: color .2s ease;
}

/* Supprime le triangle natif */
.tpz-product-accordion > summary::-webkit-details-marker {
    display: none;
}

.tpz-product-accordion > summary::marker {
    display: none;
}

/* + à droite */
.tpz-product-accordion > summary::after {
    content: "+";
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);

    color: #3026D9;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}

/* Au survol */
.tpz-product-accordion > summary:hover {
    color: #3026D9;
}

/* Accordéon ouvert */
.tpz-product-accordion[open] > summary::after {
    content: "−";
}

/* Contenu */
.tpz-product-accordion-content {
    padding: 4px 0 22px;
}

/* Évite un espace inutile à la fin */
.tpz-product-accordion-content > :last-child {
    margin-bottom: 0;
}