.logo {
  max-height: 64px !important;
  width: auto;
  margin-left: 15px;
}

@media all {
  #_desktop_logo {
    margin: 0;
    padding: 0;
    width: auto;
    text-align: left;
  }

  .carousel-item a figure {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .carousel-item,
  .carousel-item a,
  .carousel-item a figure,
  .carousel-item a figure img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
  }

  .carousel-item {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
  }

  .carousel-item .caption {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: initial !important;
    color: white;
    text-align: left;
  }
}

.header-top-right {
  display: flex;
  flex: 1;
  justify-content: space-between;
}

@media only screen and (max-width: 992px) {
  #search_widget,
  #search_widget form {
    display: flex;
    flex: 1;
    justify-content: stretch;
    max-width: none;
  }
}

#_mobile_logo img {
  max-height: 32px !important;
}

@media (max-width: 992px) {
  .carousel .carousel-item .caption {
    position: absolute !important;
    margin: 0;
    text-align: left;
    color: white;
  }

  .carousel .carousel-item .caption .display-1 {
    color: white;
  }

  .carousel .carousel-item .caption .caption-description h3,
  .carousel .carousel-item .caption .caption-description p,
  .carousel
    .carousel-item
    .caption
    .caption-description
    .page-content.page-cms
    ul,
  .page-content.page-cms
    .carousel
    .carousel-item
    .caption
    .caption-description
    ul {
    color: white;
  }
}

@media (max-width: 768px) {
  .carousel .carousel-item .caption {
    /* text-align: center; */
    left: 15%;
  }

  .carousel .carousel-item .caption {
    /* background-color: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 15px; */
    padding: 30px 30px 30px 0;
  }

  .dropdown-item {
    flex-direction: row-reverse !important;
  }

  .dropdown-item span {
    width: 100% !important;
  }

  ul.top-menu > li.category * {
    display: inline;
    /* width: fit-content; */
  }
}

.carousel img {
  min-height: 230px;
  /* max-height: 400px; */
}

@media (min-width: 992px) {
  .carousel .carousel-item .caption {
    padding: 30px 100px;
    max-width: 50%;
  }
}

.carousel-item figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent);
  pointer-events: none; /* Ensures it doesn't interfere with clicks */
}

.top-menu .sub-menu {
  min-width: initial;
  width: initial;
  padding: 0;
  margin: 0;
}

.top-menu[data-depth="1"] {
  display: flex !important;
  flex-direction: column;
}

.category {
  position: relative;
}

.top-menu[data-depth="1"] li.category {
  padding: 10px 0;
}

.js-top-menu .mobile .category {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile .category .float-xs-right {
  float: none !important;
}

.category .dropdown-item {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.is-open .carousel {
  display: none;
}

.is-open .header-top {
  height: 100svh;
}

.dropdown-submenu {
  flex-direction: row !important;
}

#content .featured-products:first-of-type {
  background-color: #0b213f;
  padding: 0.5em 1em 0;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.25);
  margin-top: 0 !important;
}

#content .featured-products:first-of-type .products-section-title,
#content .featured-products:first-of-type .all-product-link {
  color: white;
}

#content .featured-products:first-of-type .products-section-title {
  font-size: 2em;
  font-weight: bold;
}

html,
body,
main {
  overflow-y: auto;
}
