.thumb-img {
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    object-fit: cover;
  }

  .categorie_stock{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
  }

  label[for="sylius_shop_add_to_cart_cartItem_quantity"] {
    display: none;
  }

  form[name="sylius_shop_add_to_cart"] {
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
  }


  #add-to-cart-button{
    border: var(--Orange, #FF780F);
    float: right;
    display: flex;
    padding: 18px 36px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 6px;
    background: var(--Orange, #FF780F);
    box-shadow: 0px 2px 4px 0px rgba(69, 21, 5, 0.09);
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width:166%;
}

#sylius_shop_add_to_cart_cartItem_quantity{
  width:40%;
  height:58px;
  border-radius: 9px;
}

.single-page .icon-box {
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.infoLabelsingleproduct{
  color: #292929;
    font-size: 14px;
    font-weight: 500;
}
.expedition-single-product{
  color: var(--Smooth-Grey-950, #292929);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding-bottom: 8px;
}
.expedition-info{
  font-weight: 300; 
}
.content-single-product{
  background-color: #FAFAFA;
}

#accordionFlushExample .accordion-item{
  background-color: #FAFAFA;
}
.libelle-produit{
  font-weight: 600; 
}

#offcanvasCart{
  z-index:3000;
}
.slider-home{
  padding-top:120px;
}
.specCaracteristiqueProduit{
  text-align: center;
}

.enstock-single-product{
  border-radius: 10px;
  background:#035D0C;
  width: 10px;
  height: 10px;
}

.btn-sec-single-product{
  color: var(--Smooth-Grey-950, #292929);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  display: flex;
  height: 53px;
  padding: 2px 22px 2px 36px;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border-radius: 6px;
  border: 1px solid var(--Smooth-Grey-950, #292929);
  cursor: pointer;
  max-width: 255px;
  margin: 0 auto;
  text-decoration: none;
}

.content-together-products > .btn-sec-single-product {
  border-radius: 6px;
  border: 1px solid #292929;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 3px 10px 3px 22px;
  background-color: white;
  cursor: pointer;
}

.btn-produit-single{
  padding: 16px 36px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  background: var(--Orange, #FF780F);
  box-shadow: 0px 2px 4px 0px rgba(69, 21, 5, 0.09);
  color: var(--White, #FFF);
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
#selectFPstock{
    text-align: center;
    font-size: 1.05rem;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #292929;
    padding: 18px 11px 18px 3px;
    width: 60px;
    height: 18px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 24px;
}

.btn-produit-content{
  padding: 16px 36px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  background: var(--Orange, #FF780F);
  box-shadow: 0px 2px 4px 0px rgba(69, 21, 5, 0.09);
  color: var(--White, #FFF);
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 55px; font-size: 1.05rem;
}

/* slider for single product*/

     /* Reset spécifique pour éviter les conflits */
     .bestseller-slider-wrapper * {
      box-sizing: border-box;
  }

  .bestseller-slider-wrapper {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background-color: transparent;
      padding: 40px 20px;
      margin: 0;
  }

  .bestseller-main-container {
      max-width: 1105px; /* Réduit de 1120px à 1105px pour éliminer le débordement */
      margin: 0 auto;
      position: relative;
  }

  .bestseller-header-section {
      margin-bottom: 32px;display: flex;align-items: center;gap: 24px;
  }

  .bestseller-main-title {
        color: #292929;
        font-family: Inter;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

  .bestseller-filter-container {
     
      justify-content: center;
      gap: 15px;
      flex-wrap: wrap;
  }

  .bestseller-filter-button {
      padding: 10px 20px;
      border: 1px solid #292929;
      background: white;
      border-radius: 25px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
      transition: all 0.3s ease;
      color: #666;
      text-decoration: none;
      display: inline-block;
      outline: none;
  }

  .bestseller-filter-button.bestseller-active {
      border: 1px solid #292929!important;
      background: #292929!important;
      color: #FFF!important;
  }

  .bestseller-filter-button:not(.bestseller-active):hover {
      background: #DCDCDC !important;
  }

  .bestseller-slider-container {
      position: relative;
      overflow: hidden;
      max-width: 100%;
  }

  .bestseller-slider-track {
      display: flex;
      align-items: stretch;
      transition: transform 0.4s ease;
      gap: 15px;
      margin: 0;
      padding: 0;
      list-style: none;
  }

  .bestseller-product-card {
      min-width: 264px;
      max-width: 264px;
      height: 459px;
      flex-shrink: 0;
      background: white;
      border-radius: 15px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      overflow: hidden;
      position: relative;
      transition: all 0.3s ease;
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      cursor: pointer;
      flex-direction: column;
  }

  .bestseller-product-card.bestseller-hidden {
      display: none !important;
  }

  .bestseller-image-container {
      position: relative;
      overflow: hidden;
      margin: 0;
      padding: 0;
  }

  .bestseller-product-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border: none;
      margin: 0;
      padding: 0;
  }

  .bestseller-heart-button,
  .cubecoeur {
    cursor: pointer;
    top: 16px;
    right: 16px;
    position: absolute;
    z-index: 0;
    overflow: hidden;
  }

  .bestseller-heart-button:hover {
      background: white;
      transform: scale(1.1);
      color: #ff4757;
  }

  .bestseller-heart-button.bestseller-favorited {
      color: #ff4757 !important;
      background: white;
  }

  .bestseller-content-area {
      padding: 24px;
      margin: 0;
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: space-between;
  }

  .bestseller-product-name {
      font-size: 16px;
      font-weight: 600;
      color: #333;
      margin: 0 0 8px 0;
      padding: 0;
      line-height: 1.3;
      text-decoration: none;
  }

  .bestseller-pieces-info {font-size: 12px;font-weight:500;color: #292929;float:left;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;padding-right: 2px;}
  .bestseller-brand-info{font-size: 12px;color: #292929;font-style: italic;font-weight: 400;float:left;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;padding-right: 2px;}

  .bestseller-brand-section {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 0 20px 0;
      padding: 0;
  }

  .bestseller-brand-text {
      font-size: 12px;
      color: #999;
      font-style: italic;
      margin: 0;
      padding: 0;
  }

  .bestseller-france-icon {
      width: 20px;
      height: 15px;
      background: linear-gradient(to right, #002395 33%, white 33%, white 66%, #ED2939 66%);
      border-radius: 2px;
      position: relative;
      flex-shrink: 0;
  }

  .bestseller-france-icon::after {
      content: "🇫🇷";
      position: absolute;
      top: -2px;
      left: -1px;
      font-size: 16px;
  }

  .bestseller-bottom-section {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0;
      padding: 0;
  }

  .bestseller-price-text {
      font-size: 18px;
      font-weight: 700;
      color: #333;
      margin: 0;
      padding: 0;
  }

  .bestseller-cart-button,
  .button-add-cart {
      background: #FF9636;
      border: none;
      border-radius: 50%;
      width: 45px;
      height: 45px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
      outline: none;
      padding: 0;
  }

  .button-add-cart img {
      width: 20px;
      height: 20px;
      filter: brightness(0) invert(1);
  }

  .bestseller-cart-button:hover,
  .button-add-cart:hover {
      background: #e55a2b;
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  }

  .bestseller-cart-button::before {
      content: "🛒";
      font-size: 18px;
      color: white;
  }

  /* Navigation avec conteneur externe */
  .bestseller-navigation-container {
      position: relative;
  }

  .bestseller-nav-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: white;
      border: 1px solid var(--Smooth-Grey-950, #292929);
      width: 32px;
      height: 32px;
      border-radius: 4px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
      transition: all 0.3s ease;
      font-size: 20px;
      font-weight: bold;
      color: #666;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      outline: none;
  }

  .bestseller-nav-arrow:hover {
      background: #f8f9fa;
      border-color: #999;
      transform: translateY(-50%) scale(1.1);
      box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  }

  .bestseller-nav-left {
      left: -50px;
  }

  .bestseller-nav-right {
      right: -50px;
  }

  .bestseller-nav-arrow:disabled {
      opacity: 0.3;
      cursor: not-allowed;
      transform: translateY(-50%);
  }

  .bestseller-nav-arrow:disabled:hover {
      background: white;
      border-color: #e0e0e0;
      transform: translateY(-50%);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .bestseller-product-card {
      min-width: 267px;
      max-width: 267px;
  }

.bestseller-image-wrapper {width: 100%;height: 267px;display: flex;justify-content: center;background-color: #FFF;}
.bestseller-image-wrapper > .bestseller-product-image { max-height: 100%;max-width: 100%;object-fit: contain;}
  /* Media queries avec préfixes spécifiques */
  @media (max-width: 1200px) {
      .bestseller-main-container {
          max-width: 840px; /* 3×264px + 2×15px = 822px + marge */
      }
  }

  @media (max-width: 768px) {
      .bestseller-filter-container {
          gap: 12px;
      }

      .bestseller-nav-arrow {
          width: 40px;
          height: 40px;
          font-size: 16px;
      }

      .bestseller-nav-left {
          left: -20px;
      }

      .bestseller-nav-right {
          right: -20px;
      }
  }

  @media (max-width: 480px) {
      .bestseller-nav-left {
          left: -15px;
      }

      .bestseller-nav-right {
          right: -15px;
      }
  }


  /*fin slider */

  .block-ensemble{
    margin: 0; 
    padding: 0; 
    margin-top: 64px;
  }



  @media (min-width: 0px) and (max-width: 991px) {
    .bloc-other-products {display: block;}
    .bloc-other-products .together-products {width: calc(33.33% - 15px);}
    .bloc-other-products{display: flex;flex-direction: row;flex-wrap: nowrap;justify-content: flex-start;align-items: stretch;align-content: stretch;}
    .content-together{display:block;}
    #selectFPstock {margin-left: 0;width: 40px;text-align: center;}
    .btn-produit-content {font-size: 14px;padding: 0px 36px;}
    .bestseller-main-title {font-size: 18px;}
    .bestseller-slider-wrapper {padding: 40px 0;}
    .bestseller-filter-button {font-size: 10px;}
    .bestseller-filter-container {display: flex;justify-content: flex-start;}
    .bestseller-nav-arrow {display: none;}
    .bestseller-dots-container, .slider1-dots-container, .slider2-dots-container {display: flex;justify-content: center;gap: 8px;margin-top: 20px;}
    .bestseller-dot, .slider1-dot, .slider2-dot {width: 4px;height: 4px;border-radius: 4px;background: #FFD9A7;transition: background 0.3s;}
    .bestseller-dot.active, .slider1-dot.active, .slider2-dot.active {width: 12px;height: 4px;border-radius: 4px;background: #C84406;}
    .bestseller-product-name {font-size: 14px;margin: 0;}
    .bestseller-brand-text {font-size: 12px;}
    .bestseller-product-card {min-width: 160px;max-width: 160px;height: 327px;display: flex;flex-direction: column;justify-content: space-between;height: 327px;}
    .bestseller-content-area {padding: 16px;height: 100%;display: flex;flex-direction: column;justify-content: space-between;width: 100%;box-sizing: border-box;}
    .div-cube-produits-mobile .cubecoeur {height: 24px;border-radius: unset;}
    .bestseller-image-wrapper {height: 160px;}
    .bestseller-header-section {gap: 8px;flex-direction: column;align-items: flex-start;}
  }