@media (max-width: 991px) {

  /* Header plus propre sur mobile */
  #header {
    padding-bottom: 0;
  }

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

  #header .logo {
    max-width: 120px;
    height: auto;
  }

  /* Recherche mobile */
  #search_widget {
    width: 100%;
    margin-top: 10px;
  }

  #search_widget form input {
    width: 100%;
    border-radius: 8px;
    padding: 12px;
  }

  /* Menu mobile */
  #mobile_top_menu_wrapper {
    padding: 10px 15px;
  }

  /* Page produit */
  .product-container,
  .product-information,
  .product-actions {
    padding-left: 12px;
    padding-right: 12px;
  }

  .product-prices .current-price {
    font-size: 24px;
    font-weight: 700;
  }

  .product-add-to-cart {
    margin-top: 15px;
  }

  .product-add-to-cart .btn-primary {
    width: 100%;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
  }

  /* Images produit */
  .product-cover img {
    max-width: 100%;
    height: auto;
  }

  .images-container {
    margin-bottom: 20px;
  }

  /* Blocs homepage */
  .featured-products,
  .product-miniature {
    margin-bottom: 20px;
  }

  .product-miniature .thumbnail-container {
    border-radius: 12px;
    overflow: hidden;
  }

  /* Footer */
  #footer {
    text-align: center;
    padding: 20px 10px;
  }

  #footer .links {
    margin-bottom: 15px;
  }
/* ============================= */
/* ViteVape - Carousel mobile FIX */
/* ============================= */

.ps-imageslider,
#ps_imageslider,
#ps_imageslider .carousel-inner,
#ps_imageslider .carousel-item,
#ps_imageslider .ps-imageslider__figure {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

#ps_imageslider .ps-imageslider__figure {
  margin: 0;
}

#ps_imageslider picture,
#ps_imageslider picture img,
#ps_imageslider .carousel-item img,
#ps_imageslider img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Mobile */
@media (max-width: 767px) {
  .ps-imageslider {
    margin-bottom: 1rem;
  }

  #ps_imageslider,
  #ps_imageslider .carousel-inner,
  #ps_imageslider .carousel-item,
  #ps_imageslider .ps-imageslider__figure {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #ps_imageslider picture,
  #ps_imageslider img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  /* Boutons du carrousel plus petits sur mobile */
  #ps_imageslider .carousel-control-prev,
  #ps_imageslider .carousel-control-next {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
  }

  #ps_imageslider .carousel-indicators {
    bottom: 8px;
  }
}
}
