/* v 1.5.0 */
/* aliges les elements du header */
#header .navbar.navbar-expand-lg.navbar-light{
    padding: 5px  !important;
  }
  #trigger_search_mobile{
    border: 0;
    background: none;
  }
  /* fix cartzilla */
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .row .col {
    padding-left: 0;
    padding-right: 0;
  }
  
  
  html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
  }
  
  
  .account-sidebar a{
    color: var(--body-color);
  }
  .account-sidebar a:hover{
    color: var(--primary);
  }
  
  #my-account .card-body a,
  #my-account .card-body i{
    color: var(--body-color) !important;
  }
  #my-account .card-body:hover a,
  #my-account .card-body:hover a p,
  #my-account .card-body:hover .nav-link-style,
  #my-account .card-body:hover i{
    color: var(--primary) !important;
  }
  .scroll_text p{
      margin-bottom: 0;
  }
  @media (max-width: 768px) {
    #_mobile_search{
      width: 100% !important;
    }
  }
  
  #product .product-tab-details{
    display: none;
  }
  #product .product-tab-details.show{
    display: block;
  }
  
  .comments-nb,
  .comments-note {
    display: none !important;
  }
  
  
  
  .product-comment-list-item .comment-content .comment-buttons a{
    color: var(--primary) !important;
  }
  .product-comment-list-item .comment-content .comment-buttons a:hover{
    color: var(--primary) !important;
  }
  #product-comments-list-header, 
  #product-comments-list, 
  .comment-content {
    margin: 0 auto;
    text-align: center;
  }
  
  /* .product-comment-list-item{
    min-width: 500px;
    max-width: 100%;
  } */
  .burger-menu{
    font-size: 20px;
    color: #4b566b;
  }
  

  .footer-copyright > p{
    color: #2C3E50 !important;
  }
  .footer-copyright > p > a{
    color: #2C3E50 !important;
    text-decoration: underline !important;
  }


  /* menu  */

  .kl-navbar-pretty-menu i{
    transition: all ease 0.3s;
}
@media (min-width: 992px) {
    .kl-navbar-pretty-menu{
        background-color: #EB6300;
    }
    .kl-navbar-pretty-menu i {
        color: #FFF !important;
    }
}

.kl-navbar-pretty-menu .kl-main-menu-list-item > a{
    color: #FFF !important;
}
.kl-navbar-pretty-menu a:hover{
    color: #EB6300 !important;
}
.kl-navbar-pretty-menu a:hover i,
.kl-navbar-pretty-menu a:hover + i{
    color: #EB6300;
} 

.kl-main-menu-list-item{
    transition: all .3s ease;
}
.kl-main-menu-list-item:hover{
    background-color: #FFF;
}
.kl-main-menu-list-item:hover > a{
    color: #EB6300 !important;
}
.kl-main-menu-list-item:hover i,
.kl-main-menu-list-item:hover + i{
    color: #EB6300 !important;
}

/* container xl in prettymenu */
.container-xl{
    max-width: 1500px !important;
}

#prettyMenuBlock .container-xl,
#prettyMenuBlock .kl-main-menu-list{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

li.kl-main-menu-list-item.signapur .kl-li-have-tree-item a{
  color: #78a725 !important;
}

.kl-main-menu-list-item.etiquette:hover{
  background-color: #EB6300 !important;
}
.kl-main-menu-list-item.etiquette > a {
    display: inline-block;
    background-color: transparent !important;
    color: #EB6300 !important; /* couleur primary */
    border-radius: 999px;
    padding: 0.5em 1.5em;
    font-weight: bold;
    border: 2px solid #EB6300;
    transition: background 0.3s, color 0.3s, border 0.3s, border-radius 0.3s;
    box-shadow: 0 2px 8px rgba(235,99,0,0.08);
    position: relative;
    z-index: 1;
}

.kl-main-menu-list-item.etiquette > a::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: #fff;
    border-radius: 999px;
    z-index: -1;
}

.kl-main-menu-list-item.etiquette > a:hover,
.kl-main-menu-list-item.etiquette > a:focus {
    background-color: #EB6300 !important;
    color: #EB6300 !important;
    border-color: white;
    border-radius: 999px;
    text-decoration: none;
}

.kl-main-menu-list-item.etiquette > a:hover::before,
.kl-main-menu-list-item.etiquette > a:focus::before {
    background: white;
}


/* image arrondis homepage  */
#index ._section-block-5._section-block ._w-full,
#index ._section-block-2._section-block ._section-block-element ._h-full,
#index ._section-block-13._section-block img  {
  border-radius: .5rem;
}


/* logo desktop */
@media (min-width: 768px) {
  #header .navbar-brand img {
    width: 220px;
    height: auto;
  }
}

/* logo mobile */
@media (max-width: 767px) {
  #header .navbar-brand img {
    width: 149px;
    height: auto;
  }
}

#contact #content{
  padding-top: 1rem !important;
}

/* Styles pour le bouton displayZoom */
#displayZoom.cz-thumblist-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #e3e6ea;
  border-radius: 0.375rem;
  padding: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #4b566b;
  min-width: 80px;
  min-height: 80px;
  width: 80px;
  height: 80px;
  backdrop-filter: blur(4px);
}

#displayZoom.cz-thumblist-item:hover {
  background-color: #EB6300;
  border-color: #EB6300;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(235, 99, 0, 0.3);
}

#displayZoom .cz-thumblist-item-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
}

#displayZoom .cz-thumblist-item-text i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

#displayZoom:hover .cz-thumblist-item-text i,
#displayZoom:hover > * {
  color: #fff;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  #displayZoom.cz-thumblist-item {
    min-height: 50px;
    padding: 0.375rem;
  }
  
  #displayZoom .cz-thumblist-item-text {
    font-size: 0.75rem;
  }
  
  #displayZoom .cz-thumblist-item-text i {
    font-size: 1rem;
  }
}

:root {
  --text-orange: #EB6300;
}

.text-orange {
  color: var(--text-orange) !important;
}

#prettyMenuBlock .kl-dropdown-pretty-menu-desktop:hover .kl-dropdown-pretty-submenu, #prettyMenuBlock .kl-dropdown-pretty-menu-desktop.active-menu .kl-dropdown-pretty-submenu
{
  border-left: 1px solid var(--header-category-background);
  border-right: 1px solid var(--header-category-background);
  border-bottom: 1px solid var(--header-category-background);
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

/* Styles améliorés pour les sous-menus desktop */
@media (min-width: 992px) {
  /* Container principal du sous-menu */
  /* .kl-block-column-submenu {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 0.375rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(235, 99, 0, 0.1);
    padding: 0.75rem 0;
    overflow: hidden;
    backdrop-filter: blur(10px);
    position: relative;
  }

  .kl-block-column-submenu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #EB6300, #ff8533);
    border-radius: 0.375rem 0.375rem 0 0;
  } */

  /* Items du sous-menu */
  .kl-block-column-submenu li {
    margin: 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .kl-block-column-submenu li:hover {
    transform: translateX(4px);
  }

  /* Liens du sous-menu */
  .kl-nav-link-sub-item {
    padding: 0.75rem 1.25rem;
    margin: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    color: #4b566b !important;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
  }

  /* .kl-nav-link-sub-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #EB6300, #ff8533);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
  } */

  .kl-nav-link-sub-item:hover {
    transform: translateY(-1px);  
  }

  .kl-nav-link-sub-item:hover::before {
    height: 60%;
  }

  /* Icônes chevron */
  .kl-nav-link-sub-item .kl-icon-toggle {
    color: #94a3b8 !important;
    transition: all 0.3s ease;
    transform: translateX(0);
  }

  .kl-nav-link-sub-item:hover .kl-icon-toggle {
    color: #EB6300 !important;
    transform: translateX(4px);
  }

  /* Items avec exergue (mis en avant) */
  .kl-nav-link-sub-item.font-weight-bold.text-orange {
    /* background: linear-gradient(135deg, rgba(235, 99, 0, 0.1) 0%, rgba(235, 99, 0, 0.15) 100%); */
    /* border: 1px solid rgba(235, 99, 0, 0.3); */
    font-weight: 600;
    position: relative;
  }

  /* before pour le fond de l'item */
  .kl-nav-link-sub-item.font-weight-bold.text-orange:before,
  .kl-nav-link-sub-item:hover::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 33px;
    background: linear-gradient(180deg, #EB6300, #ff8533);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
  }

  .kl-nav-link-sub-item.font-weight-bold.text-orange::after {
    position: absolute;
    right: 1rem;
    color: #EB6300;
    font-size: 0.875rem;
    opacity: 0.7;
  }

  /* Sous-sous-menus (arbre) - Fix pour qu'ils fonctionnent */
  .kl-sub-menu-tree {
    margin-top: 0.5rem !important;
    margin-left: 1rem !important;
    border: 1px solid rgba(235, 99, 0, 0.15) !important;
    border-radius: 0.25rem !important;
    box-shadow: 0 4px 16px rgba(235, 99, 0, 0.1) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
  }

  /* Images dans le menu */
  .kl-nav-link-sub-item img {
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .kl-nav-link-sub-item:hover img {
    transform: scale(1.02);
  }

  /* Zones PrettyBlocks */
  div[data-zone-prettymenu] {
    padding: 0.5rem;
    border-radius: 0.25rem;
    background: rgba(248, 249, 250, 0.5);
    margin: 0.25rem 0.5rem;
    transition: background 0.3s ease;
  }

  div[data-zone-prettymenu]:hover {
    background: rgba(235, 99, 0, 0.05);
  }
}

/* Fix pour les classes Tailwind manquantes ptm-w-X/12 */
.ptm-w-1\/12 {
  width: 8.333333% !important;
}

.ptm-w-2\/12 {
  width: 16.666667% !important;
}

.ptm-w-3\/12 {
  width: 25% !important;
}

.ptm-w-4\/12 {
  width: 33.333333% !important;
}

.ptm-w-5\/12 {
  width: 41.666667% !important;
}

.ptm-w-6\/12 {
  width: 50% !important;
}

.ptm-w-7\/12 {
  width: 58.333333% !important;
}

.ptm-w-8\/12 {
  width: 66.666667% !important;
}

.ptm-w-9\/12 {
  width: 75% !important;
}

.ptm-w-10\/12 {
  width: 83.333333% !important;
}

.ptm-w-11\/12 {
  width: 91.666667% !important;
}

.ptm-w-12\/12 {
  width: 100% !important;
}

.signapur .kl-nav-link-sub-item.font-weight-bold.text-orange:before,
.signapur .kl-nav-link-sub-item:hover::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 33px;
  background: linear-gradient(180deg, #78a725, #78a725);
  border-radius: 0 2px 2px 0;
  transition: height 0.3s ease;
}


/* customer button */


.btn-orange {
  color: white;
  background-color: var(--text-orange) !important;
  border-color: var(--text-orange);
  box-shadow: none;
  display: inline-block;
  font-weight: normal;

  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid ;
  padding: 0.625rem 1.375rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  border-radius: 0.3125rem;
  transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, border-color 0.25s ease-in-out, box-shadow 0.2s ease-in-out;
}
.bg-orange {
  background-color: var(--text-orange) !important;
}
.text-orange {
  color: var(--text-orange) !important;
}

#module-opartdevis-createquotation #content {
  padding: 2rem;
}
#module-ambjolisearch-jolisearch #not-found {
  padding: 2rem;
}
#_prestablog_index a,
div[data-prettyblocks-zone="displayNavMiddle"] i,
#header .topbar-left i{ color: white !important;}

#checkout-steps .text-dark{ color: #656565 !important;}