/* Général */

@font-face {
   font-family: 'Eurofurence';
   src: url('/fonts/eurof35.ttf') format('truetype');
   font-weight: 300;
   font-style: normal;
 }
 
 @font-face {
   font-family: 'Eurofurence';
   src: url('/fonts/eurof36.ttf') format('truetype');
   font-weight: 300;
   font-style: italic;
 }
 
 @font-face {
   font-family: 'Eurofurence';
   src: url('/fonts/eurof55.ttf') format('truetype');
   font-weight: 400;
   font-style: normal;
 }
 
 @font-face {
   font-family: 'Eurofurence';
   src: url('/fonts/eurof56.ttf') format('truetype');
   font-weight: 400;
   font-style: italic;
 }
 
 @font-face {
   font-family: 'Eurofurence';
   src: url('/fonts/eurof75.ttf') format('truetype');
   font-weight: 700;
   font-style: normal;
 }
 
 @font-face {
   font-family: 'Eurofurence';
   src: url('/fonts/eurof76.ttf') format('truetype');
   font-weight: 700;
   font-style: italic;
 }
 
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wdth,wght@0,75..100,100..900;1,75..100,100..900&display=swap');

/* =========================
   TT Fors — Variable first
   ========================= */
@font-face {
     font-family: "TTfors";
     src: url("/fonts/TTFors.ttf") format("truetype");
     font-weight: 300;
     font-style: normal;
   }
   @font-face {
     font-family: "TTforsBold";
     src: url("/fonts/TTForsBold.ttf") format("truetype");
     font-weight: 600;
     font-style: normal;
   }


@media (min-width: 1200px)
{
    .container
    {
        width: 1450px;
    }
}

html, body, .h1, .h2, .h3, .h4, .h5, .h6
{
    color: #000000;
}
h1
{
  text-transform: none !important;
}

body {
  overflow-x: hidden;
}

nav.breadcrumb
{
    background: #EBEBEB !important;
    padding: 10px 20px !important;
    border-radius: 50px;
}

#wrapper
{
   background: #FFFFFF;
}


/* Header */

#header .header-nav
{
    color: #000000; 
}
#header .header-nav a
{
    color: #000000; 
}
#header .header-nav .blockcart
{
    //background: #F087B6;
}
#header .header-nav .cart-preview .shopping-cart
{
    color: #000000;
}

#_desktop_logo
{
    text-align: center;
}
#_desktop_logo img.logo
{
    width: 250px;
}

#header .header-top
{
  padding-bottom: 10px;
}

#header .header-top .menu
{
    padding: 0px;
}
#header ul#top-menu > li > a
{
    color: #000000;
    font-family: 'TTForsBold', sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-top: 20px;
    margin-right: 20px;
}


#_desktop_cart
{
  display: inline-block;
}

#_desktop_cart .bi {
  color: #000;
  margin-left: 15px;
}

#_desktop_cart .badge {
  border-radius: 50%;
  padding: 3px 7px;
  font-weight: bold;
  font-size: 10px;
}
.d-none {
  display: none !important;
}

/* Formulaire flottant */
.search-bar {
  position: absolute;
  top: 45px;
  right: 0;
  background-color: white;
  border-radius: 25px;
  padding: 6px 12px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.1);
  z-index: 999;
  transition: all 0.3s ease;
}

/* Champ de texte */
.search-bar input[type="text"] {
  border: none;
  outline: none;
  font-size: 14px;
  width: 180px;
  padding: 6px 10px;
  border-radius: 25px;
  background-color: #f5f5f5;
}

/* Animation */
.search-bar.show {
  opacity: 1;
  visibility: visible;
}

.search-bar.d-none {
  opacity: 0;
  visibility: hidden;
}

.fs-7
{
  font-size: 14px !important;
}
.fs-8
{
  font-size: 12px !important;
}


/* Catégories */

#category #js-product-list-header .block-category
{
    min-height: 0;
}

#category #js-product-list-header .card-block, #category #js-product-list-header .card
{
    padding: 0px;
    background: none;
}

#product h1.h1
{
  font-size: 28px;
}
#product .current-price-value
{
  font-size: 24px;
}

#_desktop_cart:hover .cart-dropdown {
  display: block !important;
}

#category #products .products
{
    padding-left: 14px !important;
    padding-right: 14px !important;
}

#category #products .products .product
{
    padding-left: 5px !important;
    padding-right: 5px !important;
}

#category #products .product-miniature .thumbnail-container
{
    margin-bottom: 10px !important;
}

#category #products .products .product picture img
{
    /* padding: 40px 40px 0px 40px; */
    transition: padding 0.3s ease;
}
#category #products .products .product:hover picture img
{
    padding: 0px 20px 0px 20px;
}

#category #products .product-miniature .product-title
{
    margin-top: 0px;
}

#category #products .product-miniature .product-title a, #index .product-miniature .product-title a
{
    color: #000000;
    font-family: 'Eurofurence', sans-serif;
    font-size: 22px;
    font-weight: 300;
    text-transform: none;
}

#category #products .product-miniature .product-price-and-shipping
{
    color: #000000;
}

#category #products .product-miniature .thumbnail-container:focus .product-description::after,
#category #products .product-miniature .thumbnail-container:hover .product-description::after
{
    display: none !important;
}

#category #products .wishlist-button-add
{
    background: #FFFFFF;
    box-shadow: none;
}

#category #products .wishlist-button-add i
{
    color: #E30613;
}

#category #products .product-flags li.product-flag, #index .product-miniature .product-flags li.product-flag, .product-miniature .product-flags li.product-flag
{
    background: #E30613;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 50px;
    min-height: 0;
    right: .635rem;
    position: absolute;
    text-transform: none;
    font-family: 'TTForsBold';
}

.products article .wishlist-button-add
{
  left: .635rem;
  right: initial;
}

#js-product-list-top
{
  display: none;
}

.product-prices .tax-shipping-delivery-label
{
  color: #000000;
  font-size: 20px;
}

#category .category-tree
{
    border-radius: 10px;
    background: #FFFFFF;
    padding: 30px;
}

#category .category-tree ul
{
    margin: 0px;
}

#category .category-tree > ul > li:first-child
{
    display: none;
}

#category .category-tree > ul > li > ul > li
{
   font-size: 18px;
   padding-bottom: 10px;
   text-transform: uppercase;
}
#category .category-tree > ul > li > ul > li > a
{
   color: #E41E25;
}

#category .category-tree > ul > li > ul > li ul
{
   margin: 10px;
}
#category .category-tree > ul li ul li ul li
{
   font-size: 14px;
   font-weight: 600;
   text-transform: none;
}

#category .category-tree li
{
    margin: 5px 0;
}

#category .category-tree ul li ul li ul li ul li
{
    margin-left: 10px;
    font-size: 14px;
    font-weight: 400;
    margin: 0px;
    text-transform: none;
}
#category .category-tree ul li ul li ul li ul li a
{
    color: #555;
}

#category .category-tree ul li ul li ul li ul li::before
{
    content: "• ";
    margin-right: 5px;
}

#category .category-tree a
{
    color: #000000;
}

/* MENU */

.top-menu .sub-menu
{
  width: auto;
  min-width: 0;
}
.top-menu .sub-menu ul[data-depth="1"]>li
{
  float: none;
}
.top-menu .popover
{
  left: initial;
  margin-left: -5px;
}
/* Tiret par défaut */
.top-menu .sub-menu ul[data-depth="2"] li a::before {
  content: "–";
  margin-right: 6px;
  color: #333;
  display: inline-block;
}

/* Pas de tiret après les titres */
.top-menu .sub-menu ul[data-depth="2"] li strong + li a::before {
  content: none;
}

#search_widget {
  display: none !important;
}

#custom-header-icons a {
  color: #000;
  font-size: 20px;
  margin-left: 15px;
  text-decoration: none;
}

#custom-header-icons a:first-child {
  margin-left: 0;
}

#custom-header-icons a:hover {
  color: #e4002b;
}
/* SLIDER */

.carousel
{
   margin-left: calc((100% - 100vw) / 2);
   margin-right: calc((100% - 100vw) / 2);
}

.carousel .carousel-inner
{
   height: initial;
}

#index #wrapper
{
   padding-top: 0px;
}

.carousel .carousel-item figure
{
   width: 100%;
}

/* BLOC TEXTE */

#custom-text
{
   text-align: initial;
   padding: 0px;
   margin-left: calc((100% - 100vw) / 2);
   margin-right: calc((100% - 100vw) / 2);
}

/*
#custom-text .giftcard-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Roboto", sans-serif;
  padding: 60px 80px;
  margin-left: calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
  width: 100vw;
  background: #ef7d21;
}

#custom-text .giftcard-text {
  flex: 1;
  max-width: 50%;
}

#custom-text .giftcard-text, #custom-text .giftcard-text p {
  color: #FFFFFF !important;
  text-align: center;
  font-size: 24px !important;
}

#custom-text .giftcard-text h1 {
  font-size: 48px;
  font-weight: bold;
  line-height: 24px;
  margin-bottom: 20px;
}

#custom-text .giftcard-text h1 span {
  display: block;
}

#custom-text .giftcard-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

#custom-text .btn {
  background-color: transparent;
  color: white;
  padding: 15px 40px;
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  border: solid 2px;
}

#custom-text .giftcard-image {
  flex: 1;
  text-align: right;
  padding-right: 80px;
}

#custom-text .giftcard-image img {
  max-width: 100%;
  height: auto;
}
*/



#product-modal .modal-content .modal-body .product-cover-modal, .product-cover img
{
  max-width: 100%;
  height: auto;
}
#product-modal .modal-content .modal-body .product-images img
{
  height: auto;
}
#product #content
{
  max-width: 100%;
}




#index .category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
  padding: 0;
  gap: 0;
}

#index .category-card {
  width: 100%;
  height: 33vw; /* 3 colonnes → chaque bloc = 1/3 hauteur viewport en largeur */
  overflow: hidden;
  position: relative; /* Ajouté pour le positionnement absolu de l'overlay */
}

#index .category-card a {
  display: block;
  height: 100%;
  position: relative;
}

#index .category-img {
  width: 100%;
  height: 100%;
  background-size: cover !important; /* Force le mode cover */
  background-position: center center !important; /* Centre l'image */
  background-repeat: no-repeat !important;
  background-attachment: scroll; /* Assure une bonne performance */
  /* Ajout d'un dégradé de fallback si l'image ne charge pas */
  background-color: #f0f0f0;
  position: relative;
}

/* Alternative avec pseudo-élément pour plus de contrôle */
#index .category-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

#index .category-overlay {
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  position: absolute; /* Positionnement absolu pour être au-dessus de l'image */
  top: 0;
  left: 0;
  z-index: 2; /* Au-dessus de l'image */
  transition: background-color 0.3s ease;
}

#index .category-card:hover .category-overlay {
  background: rgba(0, 0, 0, 0); /* Assombrit au survol */
}

/*
#index .category-overlay {
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transition: background-color 0.3s ease;
}

#index .category-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
*/

#index .category-title {
  font-size: 28px;
  font-family: 'TTForsBold';
  width: 80%;
  margin-top: 50%;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: none;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}

#index .category-button {
  background-color: white;
  color: black;
  padding: 10px 20px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#index .category-button:hover {
  background-color: #f2f2f2;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  #index .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #index .category-card {
    height: 50vw;
  }
  #index .category-title {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  #index .category-grid {
    grid-template-columns: 1fr;
  }
  #index .category-card {
    height: 100vw;
  }
  #index .category-title {
    font-size: 16px;
  }
  #index .category-button {
    padding: 8px 16px;
    font-size: 12px;
  }
  .carousel
  {
    left: initial;
    max-height: 200px;
  }
  #header .top-logo img
  {
    width: 130px;
  }
  .mobile-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 100;
    position: relative;
  }

  #mobile-icons i {
    font-size: 22px;
    color: #222;
  }

  #mobile-icons {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  #_mobile_logo img {
    max-height: 36px;
    width: auto;
  }
  div.header-top > div > div:nth-child(2) > div
  {
    display: none;
  }
  #header .header-nav #menu-icon .material-icons
  {
    line-height: initial;
  }
  #header .header-top
  {
    padding: 0px;
  }
  header#header
  {
    position: fixed;
    width: 100%;
    top: 0;
  }
  body
  {
    padding-top: 77px;
  }
}

.featured-products .swiper {
  padding: 20px 0;
}
.featured-products .swiper-slide {
  margin: 0;
}

.new-products .swiper {
  padding: 20px 0;
}
.new-products .swiper-slide {
  margin: 0;
}


#index .banner .img-fluid
{
   width: 100%;
}


#category .block-category-inner, #category #subcategories
{
   display: none;
}


.carousel .carousel-item .caption
{
  top: 0;
  left: 0;
  max-width: 100%;
  width: 100%;
}

#index h2.h2
{
  font-family: 'TTforsBold';
  text-transform: none !important;
  text-align: left !important;
  font-weight: 900 !important;
  margin-bottom: 40px !important;
  font-size: 28px;
}

.swiper-button-next, .swiper-button-prev
{
  color: #000000;
}

.block_newsletter
{
  max-width: 100%;
}

.btn-primary, .btn-primary:hover
{
  background-color: #F087B7;
}

.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.btn-primary.dropdown-toggle.focus, .open>.btn-primary.dropdown-toggle:focus, .open>.btn-primary.dropdown-toggle:hover, .btn-primary.focus, .btn-primary:focus
{
  background-color: #b4497a;
}

#index .wishlist-button-add
{
  position: absolute;
  top: 10px;
  right: 10px;
}

.cart-products-count {
  display: inline-block;
  background: #ff3b3b;        
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-products-count.animate {
  transform: scale(1.4); 
  box-shadow: 0 0 12px rgba(255, 59, 59, 0.6);
}

.cart-products-count.animate-back {
  transform: scale(1);
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-container
{
  background: #E30613;
}

.footer-container .h2, .footer-container .h3, .footer-container .h4, #index .footer-container h2.h2
{
  font-family: 'TTforsBold';
  text-transform: none !important;
  text-align: left !important;
  font-weight: 900 !important;
  margin-bottom: 30px !important;
  font-size: 28px;
  color: #FFFFFF;
}

.footer-container li a, .footer-container #contact-infos, .footer-container #contact-infos a
{
  color: #FFFFFF;
  font-size: 14px;
  line-height: 20px;
}

.footer-container .block_newsletter
{
  background: transparent;
  margin: initial;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 20px;
}

.footer-container .block_newsletter .petit
{
  font-size: 12px;
  line-height: 16px;
}

.footer-container .block_newsletter form input[type=email]
{
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
  font-size: 14px;
  padding: 30px;
}
.footer-container .block_newsletter form input[type=email]::placeholder
{
  color: #FFFFFF;
}

.footer-container .block_newsletter .btn-primary
{
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
  border-left: none;
  height: 62px;
}

.product-miniature .product-title
{
  font-family: 'TTfors';
  padding-top: 10px;
  padding-bottom: 5px;
  font-size: 14px;
  text-align: left;
}

#category #products .product-miniature .product-title a, #index .product-miniature .product-title a
{
  font-family: 'TTfors';
  font-size: 18px;
}

.product-miniature .product-price-and-shipping
{
  font-family: 'TTforsBold';
  font-size: 18px;
  text-align: left;
}

#index .wishlist-button-add
{
  left: 10px;
  right: initial;
  background: #FFFFFF;
      box-shadow: none;
      color: #E30613;
}
.wishlist-button-add i
{
  color: #E30613 !important;
}


#cms .breadcrumb, #cms .page-header
{
  display: none;
}
#cms .header-h1
{
  margin-left: calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
  background-image: url('/img/fond-bantitre.png');
  background-size: cover;
  background-position: center -100px;
}
#cms .header-h1 h1
{
  font-family: 'TTforsBold';
  font-size: 28px;
  text-align: center;
  color: #FFFFFF;
  padding: 180px 0;
  margin-bottom: 50px;
}
#cms .page-content.page-cms, #cms #wrapper
{
  padding-top: 0px;
}
#cms #content
{
  padding: 0 250px;
}
#cms #content p, #cms #content li
{
  font-family: 'TTfors';
  font-size: 16px;
  line-height: 24px;
  color: #000000;
}

#cms #content h2
{
  font-family: 'TTforsBold';
  font-size: 28px;
  margin-bottom: 28px;
}
#cms #content h3
{
  font-family: 'TTforsBold';
  font-size: 18px;
  margin-bottom: 10px;
}
#cms #content h4
{
  font-family: 'TTfors';
  font-size: 28px;
  margin-bottom: 10px;
}
#cms #content h5
{
  font-family: 'TTforsBold';
  font-size: 24px;
  margin-bottom: 10px;
}