/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
 /*
 #header{ background: white !important; }

 .header-top{
    background: #07364C;
 }

 #_desktop_top_menu {
    background: #07364C;
    display: flex;
    flex-direction: row;
    justify-content: center; /* Aligne les éléments horizontalement au centre 
    list-style: none; /* Supprime les puces de la liste 
    padding: 0; /* Supprime les marges et les paddings par défaut 
    margin: 0;
    
}

#_desktop_top_menu .top-menu .category .category{
    background: #fff;
}

#_desktop_top_menu .top-menu #category-2 {
    background: #F04358;
}

#_desktop_top_menu .top-menu #category-3 {
    background: #FFD262;
}

#_desktop_top_menu .top-menu #lnk-nouveautes {
    background: #05D5AA;
}

.top-menu a.dropdown-item{
    color: #000;
}
#_desktop_top_menu .top-menu #lnk-promotions {
    background: #18bcea;
}

#_desktop_top_menu .top-menu .cms-page {
    background: #b778c2;
}

#_desktop_top_menu .top-menu #category-2 .category {
    background: #fff;
}

#wrapper {
    background: #CAEBFF;
}
#custom-text{
    background: #07364C;
}

#left-column .block-categories{
    background: #CAEBFF;
}

#left-column #search_filters{
    background: #CAEBFF;
}

.block-category.card.card-block{
    background: #CAEBFF
}
.block-category-inner{
    background: #CAEBFF
}

#header .header-top a[data-depth="0"] {
    color: #000;
    text-transform: uppercase;
}

#products article.product-miniature div.thumbnail-container, article.product-miniature div.thumbnail-container {height: 422px;}
#products article.product-miniature div.product-description, article.product-miniature div.product-description{height: 172px;text-align: center;}
#products article.product-miniature div.product-description input.input-group.form-control, article.product-miniature div.product-description input.input-group.form-control{width: 30%;margin-left: auto;margin-right: auto;margin-bottom: 12px;margin-top: 10px;}
#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}
*/

#header{ background: #f8f4e7 !important; }

.row {
    margin-right: 0px !important;
    margin-left: 0px !important; 
}

#content-wrapper{
    padding-left: 0;
    padding-right: 0;
}
#custom-text{
    justify-content: center;
    align-items: center;
}

#logo h1{
    max-width: 110px;
    margin-bottom: 0;
}

#logo img{
    max-width: 110px !important;
    margin-bottom: 0;
}

.header-top{
   background: #0f3cc1;
}

#header .container-fluid .row {
    width: 100%;
    padding: 0;
    margin: 0;
    justify-content: space-evenly;
}

#toyscolor {
    justify-self: start;
    width: auto;
    margin-left: auto;
    margin-right: auto; /* Ensure ToysColor logo stays left */
}

#logo {
    justify-self: center;
    justify-content: center;
}

.header-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around; /* Ensures left, center, and right alignment */
    height: 100px;
    margin: 0;
    padding: 0;
}

.header-nav .container-fluid {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}
.header-nav .container-fluid .row {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-evenly; /* Cela permet de répartir les éléments */
}

#toyscolor img {
    max-width: 100%;
    max-height: 50px; /* Keeps the ToysColor logo size under control */
    height: auto;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

#nav1{
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
#nav1{
    padding-left: 2rem !important;
}

#nav2{
    display: flex;
    align-items: center;
    padding-right: 2rem !important;
}
#header .header-nav .language-selector, #header .header-nav .user-info {
    margin-top: 0;
}
#_desktop_top_menu {
   background: #f8f4e7;
   display: flex;
   flex-direction: row;
   justify-content: center; /* Aligne les éléments horizontalement au centre */
   list-style: none; /* Supprime les puces de la liste */
   padding: 0; /* Supprime les marges et les paddings par défaut */
   margin: 0;
   
}


.header-custom-top {
    width: 100%;
    margin: 0 auto;
}

.header-custom-top .menu-container {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}
.header-top-center{
    justify-content: center;
    align-items: center;
}

.header-custom-top ul {
    display: flex; /* Active Flexbox pour une mise en page flexible */
    justify-content: space-between; /* Répartit les items uniformément */
    margin: 0;
    padding: 0;
    list-style-type: none; /* Supprime les puces de la liste */
    width:100%;
}

.footer-container{
    display: flex;
}

.footer-container .links .row{
    margin-left: 50px;
}
.header-custom-top li {
    display: flex;
    width: 100%;
    text-align: center; /* Centrer le texte dans chaque item */
    margin: 0; /* Supprime les marges internes/externes */
    padding: 0;
    height: 100%; /* Assure que les items prennent toute la hauteur du menu */
}

.header-custom-top a {
    text-decoration: none; /* Supprime le soulignement */
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    line-height: 50px; /* Centrer le texte verticalement */
    text-align: center; /* Centrer le texte horizontalement */
    color: #000; /* Couleur du texte */
}

.top-menu[data-depth="1"] {
    margin: 0;
}

.popover{
    background: #f8f4e7;
}

.popover .top-menu ul{
    max-width: 100vw;
    
}

.nav-top-wrapperr{
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: space-between;
   gap: 1rem; 
}


.top-menu{
    color : #f8f4e7;
}

.top-menu[data-depth="0"]{
    display: flex;                                                                                                  
    flex-direction: row;
    margin-bottom: 15px;
    padding-left: 50px;
    padding-right: 50px;
    gap: 20px;
    margin-top: 15px;
}

.link{
    border-radius: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

#cms-page-6{
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.link:hover{
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

#cms-page-6:hover{
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.top-menu #lnk-accueil {
    background: #EFA8B8 ;
 }
 
 .top-menu[data-depth="0"] #category-4 {
     background: #F4B393 ;
     border-radius:0.5rem;
  }
 
  .top-menu #lnk-contact {
    background: #BFD8B8;
 }
 
 
 .top-menu #cms-page-6 {
    background: #A3C4F3;
    border-radius:0.5rem;
 }
 
 .top-menu #lnk-infos {
    background: #C3B4E3;
 }

.top-menu[data-depth="1"] .category{
    background: #f8f4e7 !important;
}
#wrapper {
    position: relative; /* Nécessaire pour le positionnement du pseudo-élément */
    background: #f8f4e7;
    width: 100%;
    height: 100%;
 }
 
 #wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/fond.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: blur(3px); /* Appliquez vos filtres ici */
    z-index: -1; /* Place le pseudo-élément derrière le contenu */
 }

 .home-categories {
    padding: 20px 60px;
    background-image: url('../image/fond.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    max-width: 100% !important;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Afficher 2 colonnes */
    gap: 90px !important; /* Espacement entre les cartes */
}
.category-miniature {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}
.category-miniature:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.category-miniature img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}
.category-name {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}
.category-description {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}

#wrapper .container{
    background: transparent;
}

#custom-text{
   background: transparent !important;
}

#left-column .block-categories{
   background: transparent;
}

#left-column #search_filters{
   background: transparent;
}

.block-category.card.card-block{
    padding: 0;
}

#subcategories ul li {
    background : white;
    border: 1px groove #f3f3f3;
    border-radius: 5px;
}

#subcategories ul li .subcategory-image a {
    border: none;
}

#subcategories {
    margin-bottom: 20px;
    border-top: 1px solid black;
}

#header .header-top a[data-depth="0"] {
   color: #000;
   text-transform: uppercase;
}

.product-miniature .thumbnail-container .product-description {
    background : #01b4ec;
}

.product-miniature .thumbnail-container .product-description .form-control{
    background : #f8f4e7;
}

.btn-primary{
    background-color: #0f3cc1 ;
    color : #f8f4e7  ;
    border-color: transparent;
}
.btn-primary:hover {
    background-color: #0E2C62 ;
}
.btn-primary.disabled.focus,
.btn-primary.disabled:focus,
.btn-primary:disabled.focus,
.btn-primary:disabled:focus {
    background-color: #01b4ec;
    border-color: transparent;
}

.btn-primary.disabled:hover,
.btn-primary:disabled:hover {
    background-color: #01b4ec;
    border-color: transparent;
}

#header .header-nav .cart-preview.active {
    background: #f2a243;
}

#header .header-nav .blockcart {
    height: 3rem;
    padding: 0.75rem;
    margin-left: 0.9375rem;
    text-align: center;
    white-space: nowrap;
    background: #f8f4e7;
}

#header .header-nav .blockcart.active a:hover,
#header .header-nav .cart-preview.active a,
#header .header-nav .cart-preview.active i {
    color: #f8f4e7;
}

#header .header-nav .blockcart a:hover {
    color: #ec6707;
}
#header .header-nav .blockcart .header {
    margin-top: 0.125rem;
}

#header .header-nav .cart-preview .shopping-cart {
    color: #7a7a7a;
    vertical-align: middle;
}

.card {
    background-color: #f8f4e7;
}

.brands-sort .select-title,
.products-sort-order .select-title,
.suppliers-sort .select-title {
    display: inline-block;
    width: 100%;
    padding: 0.625rem;
    color: #232323;
    cursor: pointer;
    background: #f8f4e7;
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.brands-sort .dropdown-menu,
.products-sort-order .dropdown-menu,
.suppliers-sort .dropdown-menu {
    left: auto;
    width: 16.88rem;
    margin: 0;
    background: #f8f4e7;
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);
}

#footer{
    background: #f8f4e7;
}

.img-responsive{width:100%;}
.block_gallery a{height:180px!important;display:inline-block;overflow:hidden;margin-bottom:25px;}

/* tablette hori.  */
@media(max-width:1024px) and (min-width:769px){
    .block_gallery a{height:150px!important;margin-bottom:20px;}    
}

/* tablette vert.  */
@media(max-width:768px) and (min-width:601px){
    .block_gallery a{height:110px!important;margin-bottom:15px;}
}

/* mobiles */
@media(max-width:768px) and (max-width:600px){
    .block_gallery a{height:140px!important;margin-bottom:15px;} 
}

.container{
    width: 100% !important;
    padding: 0;
}

.gallery-item img {
    max-width: 400px;
}

@media (max-width: 767px) {
    .toyscolor-logo, 
    .bmh-logo,
    .nav2-bigscreen {
      display: none !important;
    }

  }
  @media (min-width: 576px) {
    .text-sm-center {
        text-align: center !important;
        width: 100%;
    }
    .header-nav .search-widgets {
        max-width: 7rem;
    }
}
@media only screen and (min-width: 768px) {
    #search_widget {
        min-width: 11rem !important;
        display: flex;
        float: right;
        margin-bottom: 0;
        align-items: center;
    }
    #toyscolor{
        padding-right: 1rem;
    }
}
@media only screen and (min-width: 992px) {
    #search_widget {
        min-width: 13rem !important;
    }
}

  /* Centrage du logo en desktop */
.bmh-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  /* S'assurer que le logo reste centré en mobile aussi */
  #_mobile_logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Pour être sûr que le renderLogo lui-même est centré */
  .bmh-logo h1, 
  .bmh-logo a {
    margin: 0 auto;
    display: block;
    text-align: center;
  }

  #mobile_top_menu_wrapper {
    padding: 15px;
    background: none;
}

#products article.product-miniature div.thumbnail-container, article.product-miniature div.thumbnail-container {height: 422px;}
#products article.product-miniature div.product-description, article.product-miniature div.product-description{height: 172px;text-align: center;}
#products article.product-miniature div.product-description input.input-group.form-control, article.product-miniature div.product-description input.input-group.form-control{width: 30%;margin-left: auto;margin-right: auto;margin-bottom: 12px;margin-top: 10px;}
#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}


.product-horizontal {
  display: flex;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
  gap: 1rem;
  width: 90%;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  will-change:transform;
}

.product-horizontal:hover{
  transform: scale(1.01);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 2;
}

.product-horizontal .product-miniature {
  display: flex;
  width: 100%;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.product-horizontal .product-col {
  flex-grow: 1;
  flex-basis: 0;
}

.product-horizontal .product-col p {
  white-space: pre-line;
  margin-top:2%;
  margin-bottom:8%;
}


.product-col--image {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-col--image img {
  max-width: 100%;
  border-radius: 6px;
}

.product-col--infos {
  flex: 1;
}

.product-horizontal .product-col--infos .product-title {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.product-col--infos .product-short-desc {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.5;
}

.product-col--actions {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.product-col--actions .price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #111;
}

.product-col--actions form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .product-horizontal .product-miniature {
    flex-direction: column;
    align-items: center;
  }

  .product-col--actions {
    align-items: center;
  }

  .product-col--image,
  .product-col--actions {
    flex: 1 1 100%;
  }
}

.product-featured {
  min-height: 600px;
  background-color: #f8f8ff; /* exemple */
  border: 2px solid #eee;
}
.product-featured .product-col--image img {
  max-height: 100%;
  width: auto;
}

.width-max{
  max-width: 400px;
}





.mobile-slide-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.3);
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-slide-menu.open {
  left: 0;
}

.mobile-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 999;
  position: relative;
}



#wrapper #products {
  margin-left: 14px;
}

nav{
  margin-left: 14px;
}

#wrapper #js-product-list-header {
  margin-left: 14px;
}

#wrapper .page-header {
  margin-left: 14px;
}




.block_gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.block_gallery > div {
  width: 30%;
}

.block_gallery img {
  height: 300px;
  width: 100%;
  background: #fff;
  object-fit: contain;
  border: 1px solid #ddd;
  padding: 4px; 
}



@media screen and (min-width: 992px) {
  .custom-desktop-style {
    margin-top: 3%;
    margin-right: 0%;
    margin-left: 28%;
  }
  .custom-desktop-size{
   min-width: 160px; 
  }
}


.top-menu #lnk-home{
  background: #EFA8B8;
}



#main .page-content {
  max-width: 1184px;
  margin: auto;
  margin-left: 0px;
}

.margin {
  margin-left: 9%;
}
.center-footer{
  margin-left: 9%;
}

@media (max-width: 767px) {
  .margin {
    margin-left: 0 !important;
  }
  .center-footer{
    margin-left: 0px;
  }
}

.center-footer .col-md-6.links {
  padding: 0 !important;
}

.promotion{
  position: absolute;
  width: 17%;
}


@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

