.tvfooter-storelogo-imformation {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: nowrap;
}

.tvfooter-storelogo-imformation>div {
  width: 250px;
  flex-shrink: 0;
  overflow: hidden;
  word-wrap: break-word;
}

.tvfooter-storelogo-imformation * {
  box-sizing: border-box;
}

/* Agrandissement du menu sur la droite */
.tvcmsright-sticky .tvright-sticky-account {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: normal;
  padding: 5px 15px;
  width: auto;
  height: 50px;
}

/* Agrandissement du menu sur la droite */
.tvcmsright-sticky .tvright-sticky-account>a {
  display: flex;
  align-items: center;
  font-size: 16px;
}

/* Agrandissement du menu sur la droite */
.tvcmsright-sticky .tvright-sticky-account a i {
  font-size: 18px;
}

/* Agrandissement du menu sur la droite */
.tvcmsright-sticky .tvright-sticky-account a span {
  font-size: 14px;
}

/* Replacer le logo en format mobile */
@media (max-width: 990px) {
  .logo.img-responsive {
    max-height: 50px;
  }

  div>.tv-header-logo {
    justify-content: start;
  }
}

/* Le code ci dessous est une refonte visuelle de l'affichage des catégories et sous catégories du megamenu */
@media (min-width: 768px) {

  /* Nouvelle structure Garcia */
  li.level-1.parent>ul.menu-dropdown.cat-drop-menu:has(> li:nth-child(15)) {
    column-count: 2;
    padding: 0;
    overflow: visible;
    height: auto;
  }

  .menu-dropdown.cat-drop-menu .level-2.parent>ul:has(> li:nth-child(10)) {
    column-count: 3;
    padding: 0;
  }

  .menu-dropdown.cat-drop-menu .level-2.parent>ul>li {
    background-color: rgb(255, 255, 255);
  }

  .menu-dropdown.cat-drop-menu {
    max-width: unset;
    width: fit-content;
    column-gap: normal;
  }

  .tv-menu-horizontal.menu-dropdown {
    border-bottom: 4px solid #90d123;
  }

  .level-1.parent>a[href*="garcia-de-pou"]+.icon-drop-mobile+.menu-dropdown.cat-drop-menu .level-3.parent>ul {
    display: none;
  }

  .level-1.parent>a[href*="garcia-de-pou"]+.icon-drop-mobile+.menu-dropdown.cat-drop-menu .level-3.parent>a::after {
    display: none;
  }

  /* Code pour Solia qui a une structure différente */
  .level-1.parent:has(> a img[src*="solia"])>.menu-dropdown.cat-drop-menu:has(> .level-2:nth-child(10)) {
    column-count: 3;
    padding: 0;
  }

  /* Ne pas afficher les '>' s'il n'y a pas de sous catégories */
  .level-2:not(.parent)>a::after {
    display: none;
  }

  .level-1.parent:has(> a img[src*="solia"]) .level-2.parent:nth-child(n+29)>.menu-dropdown.cat-drop-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
  }
}

/* Le code ci dessous est une refonte visuelle de la version mobile du module ets_cookie_banner qui n'est pas responsive */
@media (max-width: 850px) {
  .ets_cookie_banber_block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ets_cookie_banner_footer {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .ets_cookie_banner_footer .btn {
    width: 90%;
  }
}

/* Le code ci dessous est une refonte visuelle du module ets_cookie_banner, en fonction des réglages les boutons débordaient */
.ets_cookie_banner_footer {
  text-align: center;
  overflow: hidden;
}

.ets_cookie_banner_footer .btn {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  height: auto;
  padding: 10px 15px;
  line-height: 1.4;
}

/* Image pour le panier vide et eviter le texte en anglais "No product add in cart" */
.ttvcmscart-show-dropdown-right.open>.ttvcart-no-product,
.ttvcmscart-show-dropdown-right>.ttvcart-no-product {
  background-image: url(../img/themevolty/empty_cart_olma.png);
  background-position: center;
  min-height: 100%;
  background-repeat: no-repeat;
}

/* Force l'affichage d'une flèche à droite pour les parents de niveau 2 (desktop)
   Certaines règles/theme ou l'élément .icon-drop-mobile peuvent masquer le pseudo-élément ::after.
   Cette règle ajoute un ::after explicite pour garantir la flèche quand un li.level-2 a des enfants. */

@media (min-width: 768px) {
  .tv-menu-horizontal ul li.level-2>a::after {
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    right: 18px;
    top: 5px;
    font-size: 18px;
    color: #666;
    font-family: 'Material Icons';
    content: '\e315';
  }
}

/* Bouton "Modifier mon panier" dans le tunnel de commande (cart-summary.tpl) */
.cart-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-summary-header .edit-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-right: .125rem;
  margin-bottom: 1rem;
  color: #7a7a7a;
}

.cart-summary-header .edit-link i {
  font-size: 1rem;
}

/* Couleur pour le lien des CGV */
#cta-terms-and-conditions-0 {
  color: #90d123;
}

/* Changement : #footer_sub_menu_link en #footer_sub_menu_nav pour l'obfuscation. */
[id^="footer_sub_menu_nav"] {
  display: block;
  overflow: hidden;
}

[id^="footer_sub_menu_nav"] li {
  padding-bottom: 7px;
}

@media (max-width: 991px) {
  [id^="footer_sub_menu_nav"] li {
    padding-left: 15px;
  }

  .tvfooter-nav-wrapper.collapse:not(.in):not(.show) {
    display: none;
  }

}

  /* Traduire le mot "clear" en dur sur la modale qui s'ouvre quand on veut écrire un avis sur un produit, je me permet le !important sur un point si mineur */
  #criterions_list li .cancel a::after {
    content: 'Effacer' !important;
  }

/* titre produit page catégorie */
.tvproduct-name h2 {
font-size: 1rem;
}

/* titre produit tvcmsproductcomments */
.product-title h2 {
  font-size: 1rem;
}

.ttvcart-top-title h2 {
    font-size: 1rem;
}

.category-header {
  padding: 15px 20px;
  background: #f5f5f5;
  border-left: 5px solid #8CC63F;
  margin-bottom: 15px;
}

.category-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-transform: uppercase;
}

/* Style global pour les contenus CMS optimisés */
.cms-optimized-content h1 {
    font-size: 28px !important;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.cms-optimized-content h2 {
    font-size: 22px !important;
    color: #444;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee; /* Optionnel : petite ligne de séparation */
    padding-bottom: 5px;
}

.cms-optimized-content h3 {
    font-size: 18px;
    color: #555;
    margin-top: 20px;
}

.cms-optimized-content h1, .cms-optimized-content h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hi-faq-main-title {
    font-size: 15px;
    font-weight: 400;
    color: #888;
    margin: 0 0 25px 15px;
}

/* Bouton d'ajout au panier sur les pages grid-view */
button.add-to-cart svg.hide {
    display: none;
}

.tvquick-view-popup-wishlist,
.wishlist_button_extra {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50px;
    background-color: #a0481e !important;
}

#wishlist_button .wishlist_button_extra {
    display: flex;
}

.tvproduct-wishlist-icon span {
    display: none;
}

.tvproduct-wishlist-icon span {
    margin-left: 5px;
}

.breadcrumb ol li:first-child span {
    display: none;
}