.elementor-1035 .elementor-element.elementor-element-3a34636{--display:flex;--flex-direction:row-reverse;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap-reverse;--align-items:flex-end;overflow:visible;}/* Start custom CSS *//* ===============================
   MEGA MENU PRODUITS KANOPÉE
================================ */

.menu-item-has-children {
  position: static !important;
}

header,
.elementor-location-header,
.elementor-nav-menu--main {
  position: relative;
}

.kanopee-mega-menu {
  --mega-right: 0px;

  position: absolute;
  right: var(--mega-right);
  top: 100%;
  left: auto;
  transform: none;

  display: flex;
  align-items: stretch;
  gap: 34px;

  width: min(920px, calc(100vw - 120px));
  padding: 38px 42px;

  background: rgba(244, 241, 236, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 0 0 28px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.16);
  z-index: 9999;
}

/* LIENS */

.kanopee-mega-links {
  width: 52%;
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 120px);
gap: 22px 12px;
  align-content: start;
}

.kanopee-mega-link {
  position: relative;
  display: block;
  max-width: 120px;

  color: #1f3d2b !important;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 500;
  text-decoration: none !important;

  transition: color 0.3s ease, transform 0.3s ease;
}

.kanopee-mega-link::after {
  content: "→";
  display: inline-block;
  margin-left: 7px;
  color: #c6a87d;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.kanopee-mega-link:hover,
.kanopee-mega-link.active {
  color: #5f7f6b !important;
  transform: translateX(4px);
}

.kanopee-mega-link:hover::after,
.kanopee-mega-link.active::after {
  opacity: 1;
  transform: translateX(0);
}

/* IMAGE */

.kanopee-mega-images {
  position: relative;
  width: 48%;
  height: 250px;
  border-radius: 22px;
  overflow: hidden;
  background: transparent !important;
}

.kanopee-mega-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  background: transparent !important;
}

.kanopee-mega-image.active {
  opacity: 1;
  transform: scale(1);
  transition: transform .6s ease;
}

.kanopee-mega-image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 22px;
}

/* overlay image */
.kanopee-mega-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.02) 0%,
    rgba(0,0,0,0.18) 45%,
    rgba(0,0,0,0.58) 100%
  );
  border-radius: 22px;
  z-index: 1;
}

/* sécurité : ne touche pas au menu principal */
.elementor-nav-menu .menu-item::after {
  content: none !important;
}

.elementor-nav-menu .menu-item:hover,
.elementor-nav-menu .menu-item:focus {
  transform: none !important;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .kanopee-mega-menu {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    flex-direction: column;
    gap: 30px;
    padding: 34px 24px;
  }

  .kanopee-mega-links {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .kanopee-mega-link {
    max-width: none;
  }

  .kanopee-mega-images {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 767px) {
  .kanopee-mega-links {
    grid-template-columns: 1fr;
  }

  .kanopee-mega-link {
    font-size: 15px;
  }

  .kanopee-mega-images {
    height: 220px;
  }
}/* End custom CSS */