.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.4s ease;
}

.header .main-content {
  background-color: #000000;
  padding: 14px 0;
}
.header .main-content > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-navigation {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2vw;
}
.header-navigation > li {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-navigation > li > span,
.header-navigation > li > a {
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  cursor: pointer;
  width: 100%;
}
  
.header-navigation .arrow {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.header-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.header .sub-menu {
  padding: 40px 15px;
  border-top: 2px solid #5e5e5e;
  background-color: #000000;
}
.sub-menu__header {
  display: none;
}
.header .sub-menu .container {
  max-width: 1550px;
  margin: auto;
  display: flex;
  align-items: flex-start;
  gap: 5%;
}
.header .item-col {
  /* flex: auto; */
  width: 100%;
  /* max-width: 33; */
}

.header .sub-menu .content {
  display: flex;
  gap: 16px;
  flex: auto;
  flex-direction: column;
  max-height: calc(76vh - 60px);
  overflow: auto;
  padding-bottom: 12px;
}

.header .content-wrap:not(.touch-screen) ::-webkit-scrollbar,
.header .content-wrap:not(.touch-screen)::-webkit-scrollbar {
  width: 5px;
}
.header .sub-menu .sidebar {
  width: 58%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: auto;
  max-height: calc(85vh - 175px);
  padding-bottom: 12px;
}

.header .sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.header .sidebar a {
  position: relative;
  overflow: hidden;
  display: block;
}
.header .sidebar a img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.4s ease;
}
.header .sidebar a:before {
  /* padding-top: 60%; */
  aspect-ratio: 2 / 1;
  content: "";
  display: block;
}
.header .sidebar a:after {
  position: absolute;
  content: "";
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    21.02deg,
    #000000 -16.24%,
    rgba(21, 22, 26, 0) 86.12%
  );
}
.header .sidebar span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  border-bottom: 1px solid #fff;
  padding-bottom: 2px;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 3;
}

.header-options {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-options li {
  font-size: 0;
  position: relative;
}
.header-options li a {
  position: relative;
  display: flex;
  align-items: center;
}
.header-options a img,
.header-options a svg {
  width: 32px;
  height: 32px;
}
.header .content-wrap {
  flex: auto;
  max-height: 70vh;
  overflow: auto;
}
.header .sub-menu ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}
.header-navigation .col-title + ul li {
  margin-bottom: 16px;
}
.header-navigation .content > ul > li {
  margin-bottom: 0;
}

.header-navigation .content a {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
  display: table;
}
.header .dropdown_menu ul,
.header ul.dropdown_menu {
  gap: 0;
}
.header .dropdown_menu a {
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  text-transform: none;
  margin-bottom: 0;
}
.header-navigation .content .col-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.header-navigation .col-title + ul {
  display: none;
  margin-top: 16px;
}
.header-navigation .col-title .btn-toggle {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.header-navigation .col-title .btn-toggle.is-active {
  transform: rotate(-180deg);
}
/* searched-box */
.searched-box {
  padding: 96px 0;
  background-color: var(--background-color-black);
}
.searched-box .h1 {
  color: #fff;
  margin-bottom: 32px;
}
.searched-box ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}
.searched-box li {
  border: 1px solid #ffffff;
}
.searched-box a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
}
.searched-box li span {
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  color: #fff;
}
.searched-box li img {
  width: 24px;
  height: 24px;
}

.lang-currency {
  display: flex;
  gap: 16px;
}
.header-options li.lang-currency {
  width: auto;
}
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: #fff;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  cursor: pointer;
}

.dropdown-toggle img {
  width: 14px;
  height: 14px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #000;
  border: 1px solid #343434;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: 0.25s;
  z-index: 200;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  color: #fff;
  opacity: 0.8;
}

.dropdown-menu li:hover,
.dropdown-menu li.active {
  background: #fff;
  color: #000;
  opacity: 1;
}
.mobile-lang-currency {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid #343434;
  display: none;
}

.mobile-title {
  font-size: 12px;
  opacity: 0.6;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #fff;
}

.mobile-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mobile-list li {
  border: 1px solid #fff;
  padding: 8px 14px;
  font-size: 13px;
  color: #fff;
}

.mobile-list li.active {
  background: #fff;
  color: #000;
}

.search-box {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--background-color-black);
  padding: 24px 0;
  border-top: 1px solid #ccc;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.4s ease;
  z-index: 2;
}
.search-box .box {
  position: relative;
}

.search-box .field-input {
  padding-right: 60px;
}
.search-box button {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  background: none;
  border: 0;
  outline: 0;
  cursor: pointer;
}
.search-box.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.search-box .container {
  position: relative;
}
.search-box .ui-menu {
  position: absolute;
  top: 100%;
  left: 24px;
  right: 24px;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-top: 0;
}
.ui-menu .search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  transition: all 0.4s ease;
}
.ui-menu .search-item-img {
  width: 60px;
  height: 60px;
  overflow: hidden;
  position: relative;
}
.ui-menu .search-item-img img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
}
.ui-menu .search-item-title {
  font-family: "Tektur", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
}

.header .item-col a {
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
  color: #fff;
  text-transform: none;
  margin-bottom: 0;
}
.header .content:not(.touch-screen) ::-webkit-scrollbar,
.header .content:not(.touch-screen)::-webkit-scrollbar,
.header .sidebar:not(.touch-screen) ::-webkit-scrollbar,
.header .sidebar:not(.touch-screen)::-webkit-scrollbar {
  width: 5px;
}

@media (min-width: 1200px) {
  .header-navigation > li:hover > a,
  .header-navigation > li:hover > a + .arrow {
    opacity: 1;
  }
  .header-navigation > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
  }
  .header .main-content > .container {
    padding: 0 24px;
  }
  .search-box .search-item:hover {
    background-color: #eeecec;
  }
  .product-detail__thumbs {
    display: none;
  }
  .variations-list a:hover {
    color: #15161a;
    border-color: #15161a;
  }

  .header .sidebar a:hover img {
    transform: scale(1.05);
  }
  .header .item-col a:hover,
  .header-options a:hover {
    opacity: 0.6;
  }
  .header-navigation > li:hover > span,
  .header-navigation > li:hover > a,
  .header-navigation > li.active > a,
  .header-navigation > li.active > a .arrow {
    opacity: 1;
  }
  .header-navigation > li:hover > a .arrow,
  .header-navigation > li:hover > span .arrow {
    transform: rotate(180deg);
  }
  .header-navigation > li.active .sub-menu {
    opacity: 1;
    visibility: visible;
  }
  .searched-box a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  .header-navigation > li > span:before,
  .header-navigation > li > a:before {
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
  }
}

@media (max-width: 1450px) {
  .header-navigation > li > a {
    font-size: 13px;
  }
  .header-navigation {
    gap: 1.5vw;
  }
  .main-content .logo {
    max-width: 150px;
  }
}

@media (max-width: 1380px) {
  .header-navigation > li > a {
    font-size: 12px;
  }
  .header-navigation {
    gap: 12px;
  }
  .header .main-content {
    padding: 14px 16px;
  }
  .main-content .logo {
    max-width: 110px;
  }
  .header-options {
    gap: 8px;
  }
}
@media (max-width: 1200px) {
  .header .main-content > .container {
    padding: 0;
  }
  .main-content nav {
    display: none;
  }
  .show-mobile {
    display: block !important;
  }
  .header .mobile-button {
    height: 32px;
    width: 32px;
    position: relative;
    z-index: 102;
    cursor: pointer;
  }
  .header .mobile-button:after,
  .header .mobile-button:before {
    content: "";
    width: 24px;
    position: absolute;
    left: 4px;
    height: 2px;
    background-color: var(--primary-color);
    transform: rotate(0);
    transition: all 0.3s;
    top: 5px;
  }
  .header .mobile-button:before {
    bottom: 5px;
    top: auto;
  }
  .header .mobile-button .bar {
    transition: all 0.3s;
    width: 18px;
    position: absolute;
    top: 50%;
    margin-top: -1px;
    left: 4px;
    height: 2px;
    background-color: var(--primary-color);
  }

  .header .mobile-button.active:after {
    transform: rotate(45deg);
    top: 16px;
  }
  .header .mobile-button.active:before {
    top: 16px;
    transform: rotate(-45deg);
    width: 24px;
  }
  .header .mobile-button.active .bar {
    opacity: 0;
    left: 40px;
  }
  .header .main-content {
    position: relative;
  }
  .main-content nav {
    overflow: hidden;
    position: fixed;
    left: 0;
    top: 100%;
    bottom: 0;
    max-height: 100vh;
    right: 0;
    z-index: 101;
    background-size: cover;
    display: flex;
    padding: 40px 20px 20px;
    clip-path: circle(0.3% at 100% 0);
    -webkit-clip-path: circle(0.3% at 100% 0);
    transition:
      clip-path 0.55s,
      opacity 0.5s,
      visibility 1s;
    opacity: 0;
    visibility: hidden;
    background-color: #000;
    flex-direction: column;
    border-top: 1px solid #343434;
    overflow: hidden;
  }
  .main-content nav.active {
    clip-path: circle(143% at 100% 0);
    -webkit-clip-path: circle(143% at 100% 0);
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .header-options > li:not(.lang-currency) {
    width: 48px;
    height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .header-options {
    gap: 0;
  }
  .header .main-content {
    padding: 7px 16px;
  }
  .header-navigation {
    flex-direction: column;
    gap: 32px;
    justify-content: flex-start;
    align-items: flex-start;
    padding-bottom: 24px;
  }
  .header-navigation > li > span,
  .header-navigation > li > a {
    opacity: 1;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    width: 100%;
    position: relative;
    z-index: 2;
    padding-right: 30px;
  }
  .header-navigation > li {
    gap: 4px;
    justify-content: space-between;
    width: 100%;
  }
  .header-navigation .arrow {
    width: 24px;
    height: 24px;
    opacity: 1;
    transform: rotate(-90deg);
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -12px;
    z-index: 1;
  }
  .sub-menu__header {
    display: flex;
    align-items: center;
  }
  .header-navigation li .sub-menu {
    top: 0;
    bottom: 0;
    left: 100%;
    width: 100%;
    border-top-width: 1px;
    padding: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .header-navigation li.active .sub-menu {
    left: 0%;
    opacity: 1;
    visibility: visible;
  }
  .sub-menu__header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    gap: 16px;
    border-bottom: 1px solid #343434;
  }
  .sub-menu__header span {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    text-transform: uppercase;
    color: #fff;
  }
  .sub-menu__header img {
    width: 24px;
    height: 24px;
  }
  .header .sub-menu .container {
    flex-direction: column;
    gap: 20px;
    margin: 0;
    flex: auto;
    padding: 25px 20px 20px;
    overflow: auto;
  }
  .header .item-col ul {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    flex: none;
    max-height: none;
    overflow: visible;
  }
  .header .sub-menu .content {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    flex: none;
    display: flex;
    max-height: none;
    overflow: visible;
  }
  .header .item-col {
    width: 100%;
  }
  .header .content-wrap {
    width: 100%;
    display: block;
    max-height: inherit;
  }

  .header .sub-menu .content a {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    text-transform: uppercase;
  }
  
  .header-navigation .col-title + ul li {
    margin-bottom: 14px;
  }
  .header .sub-menu .sidebar {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: none;
    max-height: none;
  } /* searched-box */
  .searched-box {
    padding: 56px 0;
  }
  .searched-box .h1 {
    margin-bottom: 24px;
    font-size: 50px;
  }
  .searched-box a {
    padding: 12px 8px;
  }
  .searched-box li img {
    width: 16px;
    height: 16px;
  }

  .header .content .dropdown_menu a {
    text-transform: none;
    font-size: 14px;
  }
  .header-navigation .content li:last-child {
    margin-bottom: 0;
  }
  .header nav.overflow-menu {
    overflow: hidden !important;
  }
}

@media (max-width: 767px) {
  .header.scrolled-down {
    transform: translateY(-100%);
  }
  .search-box .field-input {
    min-height: 54px;
  }
  .search-box {
    padding: 16px 0;
  }
  .searched-box li span {
    font-size: 13px;
  }
  .header-options li.lang-currency {
    display: none !important;
  }
  .mobile-lang-currency {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  .mobile-lang-currency .dropdown {
    width: 100%;
  }
  .header .header-options li {
    width: 44px;
    height: 40px;
  }
}
