@media (min-width: 768px) {

  /* Styles appliqués à partir de 768px de largeur */
  html body {
    font-size: 14px;
  }

  body.guest {
    margin-top: 470px !important;
  }

  body.user-auth {
    margin-top: 470px !important
  }

  .main-nav {
    margin-left: 0px !important;
  }

  .main-nav-item {
    width: auto;
    border-radius: 6px;
    position: relative;
  }

  .header.hidden .main-nav-list {
    display: none;
  }

  .header.hidden .search-container {
    top: 95px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: var(--background-color-1);
    transition: opacity 0.3s ease-in-out;
  }

  .search-result-item a {
    color: var(--primary-color);
  }

  .header.hidden::after {
    display: none;
  }

  .guest.tablet-style {
    margin-top: 260px !important;
  }


  .main-nav-item.login-icon {
    width: 100% !important;
    border-radius: 6px;
  }

  .main-nav-item.logout-icon,
  .main-nav-item.profil-icon {
    border: none;
  }

  .main-nav-item a {
    padding: 0;
  }

  .main-nav-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    padding: 10px 20px;
    background-color: inherit !important;
  }

  .main-nav-item.profil-icon,
  .main-nav-item.logout-icon {
    list-style: none;
  }

  .main-nav-list li h3 {
    display: none;
  }

  .sort-form select {
    width: 30% !important;
    margin: 0 !important;
  }

  .hamburger {
    display: none;
  }

  .hamburger-close {
    display: none;
  }

  .tablet-login {
    display: flex;
    width: 35%;
    align-items: center;
  }

  .mobil-login {
    display: none;
  }

  .header-cart-icon {
    margin-right: 25px;
  }

  .profil-icon a {
    justify-content: center;
  }

  .search-container {
    position: absolute;
    top: 420px;
    width: 100%;
  }

  #globalModalCoupons .modal-content {
    max-width: 100% !important;
  }

  .index-product-carousel-item {
    flex: 0 0 calc(35% - 7.5px) !important;

  }

  .index-product-best-seller-item {
    flex: 0 0 25% !important;
  }

  .user-welcome-container {
    position: absolute !important;
    top: 60px;
    right: 40px;
  }

  .subcategory-toggle-list {
    position: absolute !important;
    background: black;
    margin: 0;
    z-index: 1000;
  }

  .pack-detail {
    width: 80%;
    margin: 0 auto;
  }

  #default-address-form.address-form-grid {
    grid-template-columns: 1fr;
  }

  .delivery-content {
    flex-direction: row !important;
    justify-content: center !important;

  }

  .delivery-info {
    justify-content: center !important;
  }

  .validate-cart .cart-container {
    width: 60% !important;
    margin: 0 auto !important;
  }

  .payment-container {
    width: 50% !important;
    margin: 0 auto !important;
  }

}


@media (min-width: 1024px) {
  .index-product-carousel-item.pack-item {
    flex: 0 0 calc(35% - 7.5px) !important;
  }

  .index-product-carousel-item {
    flex: 0 0 calc(20% - 7.5px) !important;
  }

  .index-product-carousel-content-wrapper,
  .product-best-seller-content-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px;
  }

  #globalModalCoupons .modal-content {
    max-width: 80% !important;
  }

  /* Styles pour les appareils en mode paysage */
  .search-container {
    top: 360px;
  }

  body.guest {
    margin-top: 410px !important;
  }

  body.user-auth {
    margin-top: 410px !important
  }

  .product-store-content-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 2fr) !important;
    gap: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .sort-form select {
    width: 25% !important;
  }

  .pack-detail {
    width: 70%;
    margin: 0 auto;
  }

  .validate-cart .cart-container {
    width: 50% !important;
  }

  .payment-container {
    width: 40% !important;
    margin: 0 auto !important;
  }

  .personal-address {
    width: 70%;
    margin: 0 auto;
  }

  .shipping-address-list {
    width: 70%;
    margin: 0 auto;
  }

  #default-address-form.address-form-grid {
    width: 60%;
    margin: 0 auto;
  }

}

@media (min-width: 1440px) {
  body.guest {
    margin-top: 345px !important;
  }

  body.user-auth {
    margin-top: 345px !important
  }

  .search-container {
    top: 295px;
  }

  #globalModalCoupons .modal-content {
    max-width: 55% !important;
  }

  .index-product-carousel-item {
    flex: 0 0 calc(15% - 7.5px) !important;
  }

  .index-product-carousel-item.pack-item {
    max-width: 25% !important;
  }

  .index-product-carousel-content-wrapper,
  .product-best-seller-content-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 12px;
  }

  .product-store-content-wrapper {
    grid-template-columns: repeat(5, 2fr) !important;
  }

  .sort-form select {
    width: 20% !important;
  }

  .pack-detail {
    width: 30%;
    margin: 0 auto;
  }

  .validate-cart .cart-container {
    width: 40% !important;
    margin: 0 auto;
  }

  .payment-container {
    width: 30% !important;
    margin: 0 auto !important;
  }

  .personal-address {
    width: 60%;
    margin: 0 auto;
  }

  .shipping-address-list {
    width: 60%;
    margin: 0 auto;
  }

  #default-address-form.address-form-grid {
    width: 40%;
    margin: 0 auto;
  }
}



@media (min-width: 1600px) {
  .index-product-carousel-item.pack-item {
    max-width: 20% !important;
  }

  .index-product-carousel-item.best-seller {
    max-width: 100% !important;
  }

  .index-product-carousel-item.new-product {
    max-width: 100% !important;

  }

  .index-product-carousel-content-wrapper.new-product {
    grid-template-columns: repeat(10, 2fr) !important;
  }

  .product-best-seller-content-wrapper {
    grid-template-columns: repeat(10, 2fr) !important;
  }

  .product-store-content-wrapper {
    grid-template-columns: repeat(10, 2fr) !important;
  }


  .index-product-best-seller-item {
    max-width: 15% !important;
  }

  .sort-form select {
    width: 10% !important;
  }

  .pack-detail {
    width: 25%;
  }

  .shipping-list {
    max-width: 100% !important;
    flex-direction: row !important;
    justify-content: center;
  }

  .payment-container {
    width: 20% !important;
    margin: 0 auto !important;
  }

  .personal-address {
    width: 50%;
    margin: 0 auto;
  }

  .shipping-address-list {
    width: 50% !important;
  }

  #default-address-form.address-form-grid {
    width: 25% !important;
    margin: 0 auto !important;
  }
}

@media (min-width: 2500px) {
  .search-container {
    top: 230px;
  }

  body.guest {
    margin-top: 280px !important;
  }

  body.user-auth {
    margin-top: 280px !important
  }

  .pack-detail {
    width: 20%;
  }
}