.needsclick {
  z-index: 1 !important;
}

[data-template="search"] .template-search {
  .search__button {
    right: 0;
    height: 44px;
  }

  .reset__button {
    right: 0;
    height: 44px;
    display: none;
  }
  .search:has(.search__input:placeholder-shown) {
    .search__button {
      display: none;
    }
  }

  .field__label {
    display: none;
  }
}

.section-header.shopify-section-group-header-group {
  z-index: 4;
}

.header-wrapper--border-bottom {
  border-bottom: 1px solid #000;
}

/* ===== HEADER ===== */
header.header {
  padding-top: 9px;
  padding-bottom: 9px;
}

header.header:not(.drawer-menu).page-width {
  padding-left: 20px;
  padding-right: 20px;
}

header.header .header__inline-menu {
  margin-left: 0;
}

header.header .header__icons {
  padding-right: 0;
  gap: 30px;
}

header.header .header__icons .cart-count-bubble {
  left: 10px;
  bottom: 10px;
  width: 22px;
  height: 22px;
}

header.header .header__icons .svg-wrapper,
header.header .header__icons .header__icon {
  width: 20px;
  height: 20px;
}

header.header .header__icons svg {
  width: 20px;
  height: 20px;
}

/* ===== MENU DRAWER ===== */
header.header #menu-drawer .drawer_polices {
  border-top: 1px solid #000;
  padding: 30px 0;
  margin: 0 16px;
  z-index: 2;
}

header.header #menu-drawer .drawer_polices .policy-links {
  padding: 0 11px;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

header.header #menu-drawer .drawer_polices .policy-links a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  text-transform: capitalize;
}

header.header #menu-drawer .menu-drawer__navigation {
  padding: 30px 16px;
}

header.header #menu-drawer .menu-drawer__navigation > .menu-drawer__menu:not(.first_links):not(.second_links) {
  padding-bottom: 7px;
  border-bottom: 1px solid #000;
}

header.header #menu-drawer .menu-drawer__menu.first_links li {
  margin-bottom: 20px;
}

header.header #menu-drawer .menu-drawer__menu.first_links .link {
  text-transform: capitalize;
}

header.header #menu-drawer .menu-drawer__menu.first_links .menu-drawer__menu-item {
  font-weight: 500;
}

header.header #menu-drawer .menu-drawer__menu.first_links .menu-drawer__menu-item .svg-wrapper {
  right: 0;
}

header.header #menu-drawer .menu-drawer__menu.second_links .menu-drawer__menu > li {
  margin-bottom: 20px;
}

header.header #menu-drawer .menu-drawer__menu.second_links .menu-drawer__menu > li summary {
  font-weight: 400;
}

header.header #menu-drawer .menu-drawer__menu .menu-drawer__submenu .svg-wrapper svg {
  transform: rotate(360deg);
}

header.header #menu-drawer .menu-drawer__menu .menu-drawer__close-button {
  padding: 0;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

header.header #menu-drawer .menu-drawer__menu .menu-drawer__close-button:focus,
header.header #menu-drawer .menu-drawer__menu .menu-drawer__close-button:hover {
  background-color: transparent;
}

header.header #menu-drawer .menu-drawer__menu .menu-drawer__menu a.link {
  text-transform: capitalize;
}

header.header #menu-drawer .menu-drawer__menu .svg-wrapper {
  width: 16px;
  height: 16px;
}

header.header #menu-drawer .menu-drawer__menu .svg-wrapper svg {
  margin: 0;
}

header.header #menu-drawer .menu-drawer__menu > li {
  margin-bottom: 20px;
}

header.header #menu-drawer .menu-drawer__menu > li summary,
header.header #menu-drawer .menu-drawer__menu > li .menu-drawer__menu-item {
  font-weight: 400;
}

header.header #menu-drawer .menu-drawer__menu > li summary:focus,
header.header #menu-drawer .menu-drawer__menu > li summary:hover,
header.header #menu-drawer .menu-drawer__menu > li .menu-drawer__menu-item:focus,
header.header #menu-drawer .menu-drawer__menu > li .menu-drawer__menu-item:hover {
  background-color: transparent;
}

header.header #menu-drawer .menu-drawer__utility-links {
  padding: 0;
  margin-top: 30px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

header.header #menu-drawer .menu-drawer__utility-links .menu-drawer__account {
  font-size: 16px;
  line-height: 100%;
  padding: 0;
}

header.header #menu-drawer .menu-drawer__utility-links .menu-drawer__account .svg-wrapper {
  margin-right: 10px;
  width: 16px;
  height: 16px;
}

/* ===== IMAGE BOXES ===== */
header.header #menu-drawer .image-boxes {
  min-width: 100%;
  overflow-x: auto;
  margin-right: -16px;
  padding-right: 16px;
}

header.header #menu-drawer .image-boxes .box {
  min-width: 200px;
  max-width: 200px;
}

header.header #menu-drawer .image-boxes .box .link {
  font-size: 16px;
  left: 10px;
  bottom: 10px;
}

header.header #menu-drawer .image-boxes .box .link span {
  text-transform: lowercase;
}

/* ===== CART, ICONS ===== */
header.header .header__icon--cart {
  margin-right: 0;
}

header.header .header__icon,
header.header .icon-hamburger {
  width: 20px;
  height: 20px;
}

header.header .header__icon--cart svg,
header.header .header__icon--search svg {
  width: 20px;
  height: 20px;
}

header.header header-drawer {
  margin-left: 0;
}

header.header:has([open]):after {
  content: "";
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #0000004d;
  inset: 0;
  z-index: -2;
}

/* ===== IMAGE BOXES (HEADER) ===== */
header.header .image-boxes {
  position: relative;
  display: flex;
  gap: 10px;
  margin-left: auto;
}

header.header .image-boxes .box {
  position: relative;
  overflow: hidden;
}

header.header .image-boxes .box:hover img {
  transform: scale(1.2);
}

header.header .image-boxes img {
  max-width: 360px;
  max-height: 360px;
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 1/1;
  transition: transform 0.6s;
}

header.header .image-boxes .link {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: #fff;
  text-transform: lowercase;
  display: flex;
  align-items: center;
  font-size: 20px;
  line-height: 100%;
  font-weight: 400;
  text-decoration: none;
}

header.header .image-boxes .link:after {
  content: "";
  width: 40px;
  height: 40px;
  display: block;
  background-image: url(/cdn/shop/files/arrow_right.svg?v=1762544185);
  background-repeat: no-repeat;
  background-size: contain;
}

/* ===== MEGA MENU ===== */
header.header .mega-menu__list {
  display: flex;
  gap: clamp(20px, 4vw, 60px);
  padding: 0;
  width: 100%;
  max-width: 100%;
  justify-content: space-between;
}

header.header .mega-menu__list > li:first-child > a {
  text-transform: capitalize;
  font-weight: 500;
  margin-bottom: 20px;
}

header.header .mega-menu__list > li:first-child .list-unstyled li a {
  font-weight: 500;
  text-transform: capitalize;
}

header.header .mega-menu__list > li > a {
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 20px;
}

header.header .mega-menu__list > li .list-unstyled {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

header.header .mega-menu__list > li .list-unstyled li a {
  text-transform: capitalize;
}

header.header .mega-menu__list > li > ul > li a {
  font-weight: 400;
}

header.header .mega-menu__content {
  border-top: none;
  border-bottom: 1px solid #000;
  overflow: inherit;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 60px);
}

/* ===== LIST MENU ===== */
header.header .list-menu {
  gap: 20px;
}

header.header .list-menu details svg {
  margin-left: 10px;
}

.header__search details[open] {
  .header__icon {
    opacity: 0;
    pointer-events: none;
  }
}

header.header .list-menu details[open] summary,
header.header .list-menu details[open] a {
  text-decoration: none;
}

header.header .list-menu details[open] svg {
  transform: rotate(180deg);
}

header.header .list-menu summary,
header.header .list-menu a {
  padding: 0;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
}

/* ===== SEARCH MODAL ===== */
.search-modal__content {
  padding: 0;
}

.header .search-modal__content .search-modal__close-button {
  position: absolute;
  width: 30px;
  height: 30px;

  .svg-wrapper, svg {
    width: 30px;
    height: 30px;
  }

  &:hover {
    svg {
      fill: #000;

      path {
        fill: #fff;
        stroke: #fff;
      }
    }
  }
}

.search-modal__content .predictive-search {
  display: block;
  border: none;
}

.predictive-search__result-group {
  max-width: 100%;
  overflow: hidden;

  .predictive-search__heading {
    border: none;
    margin: 0 0 20px 0;
    padding: 0;
    letter-spacing: normal;
    text-transform: capitalize;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Outfit', sans-serif;
  }

  .predictive-search__item.link {
    padding: 0;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 16px;
    display: block;

    &:hover {
      background-color: transparent;
    }
  }

  .collection-item-image__wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;

    .collection-item-image__wrapper__link {
      aspect-ratio: 1 / 1;
    }
  }

  .predictive-search__list-item {
    &:hover {
      .swiper-slide {
        background-color: #fff !important;
      }
    }
  }

  .swiper-button-disabled {
    display: none !important;
  }

  .swiper-button-prev, .swiper-button-next {
    top: 35%;
    width: 40px;
    height: 40px;
    z-index: 1 !important;

    svg {
      width: 40px !important;
      height: 40px !important;
    }

    &:hover {
      svg {
        fill: #000 !important;
      }

      path {
        fill: #fff !important;
      }
    }
  }

  .swiper-button-next {
    right: 30px;

    svg {
      transform: rotate(180deg);
    }
  }

  .swiper-button-prev {
    left: calc(50% - 410px);
  }
}

@media(max-width: 1024px) {
  .header {
    .reset__button, .field__label {
      display: none;
    }

    .search-modal__content .search-modal__close-button {
      right: 16px;
    }

    .search-modal__content .predictive-search {
      overflow-y: auto;
    }
  }
  .predictive-search__result-group {
    &:last-child {
      .predictive-search__results-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 9px;
        grid-row-gap: 16px;

        .predictive-search__list-item {
          min-width: 100% !important;
        }
      }
    }

    .swiper-button-prev, .swiper-button-next {
      display: none;
    }
  }
}

.search-modal__content .predictive_collection_box, #predictive-search-results-groups-wrapper {
  padding: 50px 30px 40px;
  height: 100%;
  display: grid;
  grid-template-columns: calc(50% - 410px) 5fr;
  line-height: normal;
}



.search-modal__content .predictive_collection_box {
  .block_menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .block_menu_item {
    font-size: 16px;

    &.main h3 {
      font-family: 'Outfit', sans-serif;
      font-size: 20px;
      font-weight: 400;
      line-height: 120%;
      margin: 0;
      padding: 0;
    }

    a {
      font-family: 'Outfit', sans-serif;
      font-size: 16px;
      text-decoration: none;
      font-weight: 400;
      color: #000;
    }
  }
}

@media(max-width: 1024px) {
  .search-modal__content .predictive_collection_box, #predictive-search-results-groups-wrapper {
    grid-template-columns: 1fr;
    grid-row-gap: 30px;
    padding: 16px;
  }

  #predictive-search-results-groups-wrapper {
    overflow-y: auto;
  }

  .search-modal__content .predictive_collection_box, .predictive-search__results-groups-wrapper {
    border-top: 1px solid #000;
  }

  .search-modal {
    max-height: 50px;
  }

  .search-modal__content .predictive_collection_box {
    max-height: calc(100vh - 50px);
  }
}

.search-modal__content .predictive_collection_box .block_collection {
  max-width: 100%;
  overflow: hidden;

  .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;

    .link {
      font-size: 20px;
      line-height: 120%;
      font-weight: 400;
    }
  }

  .predictive-search__heading {
    margin: 0;
    padding: 0;
    color: #000;
    font-size: 20px;
    line-height: 120%;
    font-family: 'Outfit', sans-serif;
    letter-spacing: normal;
    border: none;
    text-transform: capitalize;
  }

  .search-slider {
    .collcection-item-image {
      max-height: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
    }

    .swiper-button-next, .swiper-button-prev {
      top: calc(100% / 4 + 40px);
      transform: translateY(-50%);
      z-index: 2;
      width: 40px;
      height: 40px;
      
      &:hover {
        svg {
          fill: #000;
        }

        path {
          fill: #fff;
        }
      }

      svg {
        width: 40px;
        height: 40px;
      }
    }

    .swiper-button-disabled {
      opacity: 0;
    }

    .swiper-button-prev {
      left: 0;
    }

    .swiper-button-next {
      right: 0;

      svg {
        transform: rotate(180deg);
      }
    }
  }

  @media(max-width: 1024px) {
    .predictive-search {
      overflow: hidden;
    }

    .search-slider {
      padding-bottom: 150px;
      .swiper-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 16px;
        column-gap: 9px;

        .swiper-slide {
          min-width: 100% !important;
        }
      }

      .swiper-wrapper::-webkit-scrollbar {
        display: none;
      }

      .swiper-button-next, .swiper-button-prev {
        display: none;
      }
    }
  }
}

.search-modal__content .predictive_collection_box .swiper-wrapper {
  min-height: 0;
}

.search-modal__content .predictive_collection_box .swiper-wrapper .swiper-slide {
  max-width: 100%;
}

.search-modal__content .search-modal__form .search__button {
  display: none;
}



.search-modal__content .search-modal__form .search {
  margin: 0 auto;
  max-width: 810px;
}

.search-modal__content .search-modal__form .reset__button {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 30px;
  width: auto;
  font-family: Outfit, sans-serif;
  font-size: 16px;
}

.search-modal__content .search-modal__form .reset__button .svg-wrapper {
  width: auto;
}

.search-modal__content .search-modal__form .search__input {
  border: 0;
  padding-right: 50px;
  padding-left: 0;
  border-bottom: 1px solid #000;
  font-size: 16px;
  max-height: 30px;
  font-family: Outfit, sans-serif;
  appearance: none;
  background-color: #fff;
}

@media(max-width: 1024px) {
  .search-modal__content .search-modal__form .search__input {
    padding-left: 16px;
    padding-bottom: 16px;
    padding-top: 16px;
    border: none;
  }
}
.search-modal__content .search-modal__form .search__input:placeholder-shown {
  text-transform: none;
  font-weight: 700;
}

.search-modal__content .search-modal__form .search__input:not(:placeholder-shown) + .field__label {
  display: none;
}

.search-modal__content .search-modal__form .field__label {
  right: 0;
  font-size: 16px;
  top: 50%;
  transform: translateY(-50%);
  letter-spacing: normal;
}

/* ===== MEDIA QUERIES ===== */
@media (min-width: 990px) {
  header.header .header__inline-menu {
    display: flex;
  }

  .search-modal__content .search-modal__form {
    max-width: 100%;
  }
}

@media (max-width: 989px) {
  header.header {
    padding-left: 16px;
    padding-right: 16px;
  }

  header.header .header__heading .header__heading-link {
    padding-top: 6.5px;
    padding-bottom: 6.5px;
  }

  header.header .header__icons .cart-count-bubble {
    width: 1.3rem;
    height: 1.3rem;
  }

  header.header .header__icons {
    gap: 20px;
  }

  header.header #menu-drawer {
    border-top: none;
    border-left: none;
    margin-top: 1px;
  }
}

@media (max-width: 989px) {
  header.header #menu-drawer .menu-drawer__menu .menu-drawer__submenu {
    padding: 0 16px;
  }
}

.header {
  @media(max-width: 425px) {
    .collcetion-product-add {
      font-size: 11px;
    }
  }
}
