.website-wrapper .whb-general-header {
  border-radius: 999px;
}
.website-wrapper .whb-sticky-prepared .whb-main-header {
  margin-inline: auto;
  width: 95%;
  max-width: calc(var(--wd-container-w) - 30px);
}

.website-wrapper .whb-sticky-shadow.whb-sticked .whb-main-header {
  box-shadow: none;
}

@media (min-width: 1025px) {
  .website-wrapper header.whb-boxed .whb-main-header .whb-row > .container {
    padding-inline: 30px;
  }

  .website-wrapper header.whb-boxed .whb-main-header:before {
    content: "";
    display: block;
    height: var(--wd-header-boxed-sp);
  }
}

@media (width <= 1025px) {
  .website-wrapper .whb-general-header .whb-general-header-inner {
    padding: 0 20px;
    margin-top: 12px;
  }
}

@media (width <= 567px) {
  .wd-logo img[src$=".svg"] {
    width: 120px !important;
  }
}

.website-wrapper header.whb-boxed .whb-column.whb-col-center {
  flex: initial;
}

header #menu-main-menu .menu-item {
  outline: 1px solid white;
  outline-offset: -1px;
  border-radius: 99px;
  padding: 0;
  transition: all 0.3s ease;

  a {
    height: initial;
    padding: 12px 16px;
    line-height: 1;
    &:before {
      display: none;
    }
  }

  &:hover {
    background-color: #b4e100;
    color: black;
    outline: none;

    a {
      color: black;
    }
  }
}

header #menu-main-menu-right {
  .menu-item {
    position: relative;
    a {
      height: initial;
      padding: 0;
      &:before {
        content: "";
        display: block;
        position: absolute;
        pointer-events: none;
        background: white;
        transform-origin: 100% 50%;
        transform: scale3d(0, 1, 1);
        transition: transform 0.3s;
        width: 100%;
        height: 1px;
        top: 100%;
        left: 0;
      }
    }
    &:hover {
      a {
        &:before {
          transform-origin: 0% 50%;
          transform: scale3d(1, 1, 1);
        }
      }
    }
  }
}

header .whb-col-right {
  gap: 8px;

  .wd-header-search,
  .wd-header-my-account,
  .wd-header-cart {
    a {
      width: 40px;
      height: 40px;
      border-radius: 99px;
      &:hover {
        background-color: #b4e100;
        .wd-tools-icon img {
          filter: brightness(0);
          opacity: 1;
        }
      }
    }
  }
}

/* MEGA MENU */

header.whb-header #menu-main-menu .e-vape-menu .je-debute {
  .custom-btn {
    a {
      width: 100%;
      padding: 20px;
      border-radius: 15px;
      & > span {
        justify-content: flex-start;
      }
      & > span:after {
        content: "";
        display: block;
        position: absolute;
        pointer-events: none;
        background-image: url(https://vapstation.beekom.fr/wp-content/uploads/2025/10/pack.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 80px;
        height: 80px;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
      }
      &:hover > span:after {
        opacity: 1;
        transform: translateY(-50%) rotate(5deg);
      }
    }
    &.e-cig{
      a > span:after{
        background-image: url(https://vapstation.beekom.fr/wp-content/uploads/2025/10/e-cig.svg);
      }
    }
    &.e-liq{
      a > span:after{
        background-image: url(https://vapstation.beekom.fr/wp-content/uploads/2025/10/liquide.svg);
      }
    
    }
  }
}

header.whb-header #menu-main-menu .e-vape-menu {
  .custom-btn {
    a {
      width: 100%;
      padding: 20px;
      border-radius: 15px;
    }
  }

  .e-liquide-menu-item {
    .img-invert {
      height: 100%;
    }
    figure {
      height: 100%;
      a {
        padding: 12px;
        width: 100%;
        height: 100%;
        display: flex;
      }
      img {
        transition: filter 0.3s ease;
      }
      figcaption {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 12px;
        pointer-events: none;
        width: 100%;
        line-height: 1;
        font-size: 14px;
      }
    }
  }

  .select-link {
    margin-top: auto;
  }

  .e-liquide-menu-item:hover figure {
    img {
      filter: brightness(0) invert(0);
    }
  }

  .wd-brand-item {
    padding: 0px;
    align-items: center;
    justify-content: center;
  }
}

header.whb-header #menu-main-menu .e-liquide-menu {
  .wd-dropdown-menu {
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    width: max-content;
    left: -10vw;
  }

  .wd-grid-g {
    gap: 12px;
    width: fit-content;
    img {
      background-color: white;
      border-radius: 14px;
      padding: 8px;
      filter: grayscale(1);
    }
  }
}

header.whb-header #menu-main-menu .e-cigarette-menu {
  .wd-dropdown-menu {
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    width: auto;
    left: -5vw;
  }
}

header.whb-header #menu-main-menu .e-diy-menu {
  .wd-dropdown-menu {
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    width: auto;
    left: -3vw;
  }
}

header.whb-header #menu-main-menu .e-debute-menu {
  .wd-dropdown-menu {
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    width: clamp(200px, 18vw, 500px);
    left: 0vw;
  }
}
