/** Shopify CDN: Minification failed

Line 209:7 Cannot use type selector "-item" directly after nesting selector "&"
Line 403:0 Unexpected "}"

**/
header {

  .header-inner {
    .header-menu {
      display: flex;
      gap: 40px;
      cursor: pointer;

      @media(max-width:1280px) {
        gap: 8px;

      }

      @media(max-width:1280px) {
        display: none;
      }


      .item-wrapper {
        padding: 14px 0;

        &.has-children {
          &.active {
            color: #840000;

            .item-toggle {
              transform: rotate(180deg);

              &:before {
                background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuNDAwMzkgOC4wOTk5MUwxMC44MDA0IDEzLjQ5OTlMMTYuMjAwNCA4LjA5OTkxIiBzdHJva2U9IiM4NDAwMDAiIHN0cm9rZS13aWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==");
              }
            }

            .submenu {
              transform: scaleY(1);
              opacity: 1;
              pointer-events: auto;

              &.submenu-the-science {
                justify-content:center;
                
                .submenu-inner {
                  flex-direction: row;
                  gap: 20px;

                  .submenu-item {
                    width: 291px;
                    height: 368px;
                    font-weight: 400;
                    font-size: 25px;
                    line-height: 1.1;
                    letter-spacing: 0%;
                    color: #fff;
                    padding: 26px 20px;
                    display: flex;
                    align-items: flex-end;
                    background-size:cover;
                    background-position:center;
                    &:hover {
                      color: #fff;
                      font-weight: 400;
                    }
                  }
                }
              }

              .submenu-preview {
                transform: translateX(0);
                opacity: 1;
                pointer-events: auto;
              }
            }
          }
        }
      }

      .item {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
        font-size: 16px;
        line-height: 1.5;
        gap: 10px;
        color: #9E9E9E;

        @media(max-width:1280px) {
          gap: 4px;
          font-size: 14px;
        }


      }

      .item-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;

        &:before {
          content: '';
          display: block;
          width: 21px;
          height: 21px;
          background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuNDAwMzkgOC4wOTk5MUwxMC44MDA0IDEzLjQ5OTlMMTYuMjAwNCA4LjA5OTkxIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
          background-size: contain;
          background-repeat: no-repeat;
          background-position: center;
        }
      }


    }

    .submenu {
      z-index: 10;
      padding: 50px 300px;
      width: 100vw;
      position: absolute;
      display: flex;
      left: 0;
      background: #fff;
      box-shadow: 0 10px 100px rgba(0, 0, 0, 0.15);
      top: 100%;
      min-width: 1320px;
      transform-origin: top;
      transform: scaleY(0);
      opacity: 0;
      pointer-events: none;
      transition: transform 200ms ease, opacity 200ms ease;
      will-change: transform, opacity;

      @media(max-width:1680px) {
        padding: 50px 32px;
      }

      .submenu-preview {
        transform: translateX(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 200ms ease, opacity 200ms ease;
        will-change: transform, opacity;
      }

      .submenu-inner {
        display: flex;
        flex-direction: column;
        gap: 12px;
        min-width: fit-content;
        max-width: 320px;

        .submenu-item-wrapper {
          &.active {
            .submenu-item {
              font-weight: 700 !important;
            }
          }
        }

        .submenu-item {
          font-weight: 300;
          font-size: 20px;
          line-height: 1.5;
          letter-spacing: 0%;
          text-decoration: none;
          color: #000000CC;

          &.new {
            gap: 8px;

            &:after {
              content: 'NEW!';
              background: linear-gradient(92.52deg, #C71313 4.8%, #FFC260 132.09%);
              color: #fff;
              padding: 2px 6px;
              border-radius: 5px;
              position: relative;
              font-size: 14px;
              max-height: fit-content;
              display: flex;
              align-items: center;
            }
          }
        }

        &:hover {
          color: #840000;
          font-weight: 600;
        }

        .submenu-item-wrapper {
          position: relative;


        }

      }



      &-item {
        display: block;
        padding: 12px 20px;
        text-decoration: none;
        color: inherit;
        white-space: nowrap;
        transition: background 0.2s ease;

        &:hover {
          background: #f5f5f5;
        }
      }
    }

    .submenu-preview {
      display: flex;
      width: 100%;
      justify-content: space-between;
      margin-left: 50px;
      transform: translateX(-100%);
      opacity: 0;
      pointer-events: none;
      transition: transform 200ms ease, opacity 200ms ease;
      will-change: transform, opacity;
      &:has(.preview-image-tag[src]:not([src=""])) {
    .trending-products {
      display: none;
    }
  }

      @media(max-width:1680px) {
        justify-content: center;
      }

      .preview-image {
        width: 347px;
        display: flex;
        justify-content: center;
        align-items: center;

        .preview-image-tag {
          height: 100%;
          max-height: 347px;
        }
      }

      .trending-products,
      .improve-products {
        display: flex;
        gap: 16px;
        flex-direction: column;

        .trending-title,
        .improve-title {
          h3 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 16px;
            line-height: 1;
            letter-spacing: 0%;
            color: #840000;
          }
        }

        .trending-products-inner,
        .improve-products-inner {
          display: flex;
          gap: 12px;


          .trending-product,
          .improve-product {
            background: #F6F6F6;
            display: flex;
            flex-direction: column;
            gap: 16px;
            border-bottom-left-radius: 5px;
            border-bottom-right-radius: 5px;

            .treding-product-image,
            .improve-product-image {
              min-width: 253px;
              min-height: 249px;
              border-top-left-radius: 5px;
              border-top-right-radius: 5px;
              padding: 5px;

              p {
                margin: 0;
                padding: 4px 24px;
                border: 1px solid #BA090D;
                width: fit-content;
                background: #ffffff33;
                border-radius: 100px;
                color: white;
                font-size: 14px;
                line-height: 1.5;
                letter-spacing: 0%;
              }
            }

            .trending-product-info,
            .improve-product-info {
              display: flex;
              flex-direction: column;
              gap: 8px;
              padding-bottom: 16px;
              align-items: center;

              p {
                margin: 0;
                font-weight: 400;
                font-size: 16px;
                line-height: 1.3;
                letter-spacing: 0%;
                color: #000000CC;
              }

              .trending-product-button,
              .improve-product-button {
                padding: 8px 30px;
                border-radius: 100px;
                background: linear-gradient(90deg, #1F0004 -24.07%, #8E0010 74.91%);
                color: white;
                text-decoration: none;
                font-family: Helvetica Neue;
                font-weight: 500;
                font-size: 14px;
                line-height: 1;
                letter-spacing: 4%;
              }
            }
          }
        }
      }
    }

    .submenu-level-2-container {
      position: absolute;
      display: flex;
      background: #fff;
      border-left: 1px solid #e5e5e5;
      min-width: 200px;
      padding: 10px 0;
      width: 100%;
      padding-left: 20px;
      gap: 70px;
      opacity: 0;
      pointer-events: none;

      &.active {
        position: relative;
        opacity: 1;
        pointer-events: auto;
      }

      .submenu-level-2-inner {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 40px 0 20px;

        .submenu-level-2-item {
          font-weight: 400;
          font-size: 16px;
          line-height: 1.3;
          letter-spacing: 0%;
          padding: 0;
          color: #000000CC;
          border-bottom: 1px solid transparent;
          padding-bottom: 4px;
          text-decoration: none;

          &:hover {
            color: #840000;
            border-bottom: 1px solid #840000;
            max-width: fit-content;
          }
        }
      }

      .submenu-level-2-preview {
        .level-2-preview-image {
          .level-2-preview-tag {
            max-height: 320px;
          }

        }
      }
    }

  }

}
}