#block-rhythm-sub-skariumtopbarmobile {
	margin-bottom: 0 !important;
}

/* Requête média pour les écrans de 768px et plus */
@media (min-width: 768px) {
  .skarium-top-bar-mobile-only,
  .skarium-top-bar-mobile-only * {
    display: none !important;
  } 
}

/* ========================================== */
/* VERSION MOBILE - BURGER MENU               */
/* ========================================== */

/* Cacher la version desktop sur mobile */
@media (max-width: 767px) {

  /* Ajuster la top bar pour mobile */
  .top-bar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    min-height: 60px;
  }
  .top-bar .bloc-top {
    display: flex;
    align-items: center;
  }
  
  /* Burger menu */
  .burger-toggle {
    display: flex !important;
    align-items: center;
    gap: 10px;
    background: rgba(2, 163, 136);
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
  }
  
  /* Icone burger (3 traits) */
  .burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
  }
  
  .burger-bar {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* User menu mobile simplifié */
  .top-bar .user-menu__toggle {
    justify-content: flex-end;
    gap: 5px;
  }

  .mobile-user-menu .user-menu__toggle .user-menu__greeting {
    font-size: 12px
  }
  
  .top-bar .user-menu__icon {
    font-size: 16px;
  }
  
  .top-bar .user-menu__greeting {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
  }
  
  /* Panier mobile */
  .top-bar .cart {
    justify-content: flex-end;
  }
  
  .top-bar .top-bar__cart {
    gap: 5px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
  }
  
  .top-bar .cart-icon {
    font-size: 16px;
  }
  
  .top-bar .cart-label {
    display: none;
  }
  
  .top-bar .cart-count {
    background: rgba(2, 163, 136);
    color: white;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
  }
  .mobile-main-menu .main-navigation > .clearlist{
    display: block !important;
  }
  .mobile-main-menu .category-icon-link {
    display: block;
    padding: 8px 10px;
    background: no-repeat;
    border: none;
    box-shadow: none;
    border-radius: initial;
    border-bottom: 1px solid #f0f0f0;
  }
  .mobile-main-menu .category-icon-link img{
    margin-right: 3px
  }

}

/* Menu mobile overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  height: 100vh;
  background: white;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu-open .mobile-menu-overlay {
  display: block;
  opacity: 1;
}

.mobile-menu-open .mobile-menu-container {
  transform: translateX(0);
}

/* Header du menu mobile */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: rgba(2, 163, 136);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Contenu du menu mobile */
.mobile-menu-content {
  padding: 20px;
}

/* User menu dans le burger */
.mobile-user-menu {
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.mobile-user-menu .user-menu__dropdown {
  position: static;
  width: 100%;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  display: block !important;
  transform: none;
  margin-top: 10px;
}

.mobile-user-menu .user-menu__dropdown a {
  padding: 8px 15px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
}

.mobile-user-menu .user-menu__dropdown a:last-child {
  border-bottom: none;
}

/* Menu principal dans le burger */
.mobile-main-menu .clearlist {
  flex-direction: column;
  align-items: stretch;
}

.mobile-main-menu .clearlist li {
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-main-menu .clearlist li::before {
  display: none;
}

.mobile-main-menu .clearlist a {
  padding: 15px;
  background: transparent !important;
  color: #333 !important;
  font-weight: 500;
  text-transform: none;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
}

/* Barre de recherche mobile */
.mobile-search {
 /* padding: 20px;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;*/
}

/*logo skarium*/
.mobile-version .logo-adresse .top-bar__logo {
  padding-left: 5px;
}
/* Adresse mobile */
.mobile-address {
  padding: 12px 15px;
  background: #ffffff;
  font-size: 12px;
}

/* Footer du menu mobile */
.mobile-menu-footer {
  padding: 15px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.mobile-orders-link {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(2, 163, 136);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-orders-link:hover {
  background: rgba(2, 147, 122);
}

.mobile-main-menu .main-navigation > .clearlist > li > a {
  color: #000 !important;
  padding: 10px 0px !important;
}

.mobile-main-menu .main-navigation > .clearlist {
  color: #000 !important;
  padding: 0 !important;
}

  /* Résultats de recherche */
  .search-results-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    z-index: 1001;
    max-height: 350px;
    overflow-y: auto;
    display: none;
    border: 1px solid #e0e0e0;
  }

  .search-results-mobile.active {
    display: block;
    animation: fadeInDropdown 0.2s ease;
  }

  @keyframes fadeInDropdown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
  }

  .search-result-item:hover {
    background: #f8f9fa;
    color: rgba(2, 147, 122);
  }

  .search-result-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #888;
  }

  .search-result-content {
    flex: 1;
    min-width: 0;
  }

  .search-result-title {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .search-result-price {
    font-weight: 600;
    color: rgba(2, 163, 136);
    font-size: 13px;
  }

  .search-no-results {
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
  }

  .search-loading {
    padding: 20px;
    text-align: center;
  }

  .search-loading::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3a8abe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* Flèche du dropdown */
  .search-results-mobile::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    transform: rotate(45deg);
    border-left: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
  }