/*=============================================================================================
    Start Header Area
==============================================================================================*/
.header.style-4 {
  background-color: #f5f5f5;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0px;
}
.header.style-4 .header-top-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}
.header.style-4 .h-logo img {
  max-width: 180px;
  height: 48px;
  object-fit: contain;
}
.header.style-4 .h-contact {
  border-radius: 6px;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--primary-color);
  padding: 4px 8px;
}
.header.style-4 .h-contact i {
  font-size: 24px;
  color: var(--primary-color);
}
.header.style-4 .h-contact-info span {
  font-size: 12px;
  font-weight: 500;
  line-height: 120%;
  color: var(--primary-color);
  display: block;
}
.header.style-4 .h-contact-info p {
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  margin: 0;
  color: var(--title-color);
}
.header.style-4 .h-contact:hover .h-contact-info p {
  color: var(--primary-color);
}
.header.style-4 .header-wrapper {
  display: flex;
  align-items: center;
  gap: 44px;
}
.header.style-4 .header-wrapper.header-top-right {
  gap: 24px;
}
.header.style-4 .h-search-form {
  position: relative;
}
.header.style-4 .h-search-form input {
  width: 500px;
  height: 48px;
  padding: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.084px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}
.header.style-4 .h-search-form input:focus {
  border: 1px solid var(--primary-color);
}
.header.style-4 .h-search-form button {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 20px;
  color: var(--primary-color);
  padding: 0;
  background: transparent;
  border: none;
  margin: 0;
  cursor: pointer;
}
.header.style-4 .h-search-form button i {
  margin: 0;
  font-size: 20px;
}
.header.style-4 .header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
}
.header.style-4 .track-order-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  color: var(--paragraph-color);
}
.header.style-4 .track-order-btn i {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}
.header.style-4 .track-order-btn:hover {
  color: var(--primary-color);
}
.header.style-4 .h-cart-btn {
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 120%;
  position: relative;
  border: none;
  padding: 0;
  font-family: var(--font-family);
  cursor: pointer;
}
.header.style-4 .h-cart-btn i {
  font-size: 20px;
  color: var(--primary-color);
  margin: 0;
}
.header.style-4 .h-cart-btn .label {
  position: absolute;
  font-size: 12px;
  font-weight: 600;
  line-height: 120%;
  color: var(--white-color);
  padding: 0px 4px;
  border-radius: 8px;
  border: 2px solid var(--white-color);
  background: var(--primary-color);
  top: -5px;
  left: -10px;
}
.header.style-4 .h-cart-btn .text {
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  margin: 0;
  font-family: var(--font-family);
  color: var(--title-color);
  transition: all 0.3s ease;
}
.header.style-4 .h-cart-btn:hover .text {
  color: var(--primary-color);
}
.header.style-4 .h-account-btn.theme-btn {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  border-radius: 6px;
  letter-spacing: -0.32px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.header.style-4 .h-account-btn.theme-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
}
.header.style-4 .header-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.header.style-4 .header-item-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header.style-4 .h-category-btn {
  font-family: var(--font-family);
  background: var(--primary-color);
  color: var(--white-color);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-radius: 4px 4px 0px 0px;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  height: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}
.header.style-4 .h-category-btn i {
  font-size: 16px;
}
.header.style-4 .h-category-btn:hover {
  background: var(--secondary-color);
}

/* Header Category  */
.header.style-4 .category-menu-section {
  position: relative;
}
.header.style-4 .category-menu-section .empty {
  width: 100%;
  height: 100%;
  display: none;
  z-index: 2;
  left: 0;
  top: 0;
}
.header.style-4 .category-menu-section .empty.active {
  display: block;
}
.header.style-4 .category-menu-section .category-dropdown {
  overflow: hidden;
  width: 100%;
  max-height: 0;
  transition: all 0.3s;
  left: 0;
  top: 40px;
  z-index: 999;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 0px 0px 4px 4px;
  position: absolute;
}
.header.style-4 .category-menu-section .category-list {
  position: relative;
}
.header.style-4 .category-menu-section .open-dropdown {
  max-height: 438px;
  overflow: visible;
}
.header.style-4 .category-menu-section .category-list li {
  background: var(--white-color);
  transition: all 0.5s;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  list-style: none;
}
.header.style-4 .category-menu-section .category-list li:last-child {
  margin-bottom: 0;
  border: none;
}
.header.style-4 .category-menu-section .category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
  padding: 12px;
}
.header.style-4 .category-menu-section .category-list li i {
  font-size: 18px;
  position: relative;
  top: 2px;
}
.header.style-4 .category-menu-section .category-list li:hover > a {
  color: var(--primary-color);
}
.header.style-4 .category-menu-section .category-list .category-text {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header.style-4 .category-menu-section .category-list li small {
  font-weight: 400;
  color: var(--hints-color);
}
.header.style-4 .category-menu-section .category-sub-menu-list li i {
  font-size: 14px;
}
.header.style-4 .category-sub-menu-list {
  padding: 0;
}
.header.style-4 .category-sub-menu {
  position: absolute;
  width: 200px;
  top: 0;
  left: 100%;
  padding: 0;
  border: 1px solid #e4eaef;
  background-color: #fff;
  box-shadow: 1px 2px 5px hsla(210, 7%, 56%, 0.12);
  transform: translateX(-0.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.23s cubic-bezier(0.28, 0.12, 0.22, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  z-index: 2;
  overflow-y: visible;
}
.header.style-4 .category-list li:hover .category-sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.header.style-4 .category-child-menu-list {
  max-height: 434px;
  overflow-y: scroll;
  padding-right: 8px;
  padding-left: 0;
}
.header.style-4 .category-child-menu {
  position: absolute;
  width: 200px;
  top: -1px;
  left: 94%;
  padding: 0;
  border: 1px solid #e4eaef;
  background-color: #fff;
  box-shadow: 1px 2px 5px hsla(210, 7%, 56%, 0.12);
  transform: translateX(-0.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.23s cubic-bezier(0.28, 0.12, 0.22, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  z-index: 2;
  overflow-y: auto;
}
.header.style-4 .category-sub-menu li:hover .category-child-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.header.style-4 .header-nav ul {
  margin: 0;
  padding: 0;
}
.header.style-4 .header-nav li {
  display: inline-block;
  margin-right: 24px;
}
.header.style-4 .header-nav li:last-child {
  margin: 0;
}
.header.style-4 .header-nav li a {
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
  color: var(--title-color);
}

.header.style-4 .header-nav li a:hover {
  color: var(--primary-color);
}
.header.style-4 .h-flash-btn {
  border-radius: 4px;
  background: linear-gradient(
    68deg,
    var(--primary-color) 30.63%,
    var(--title-color) 100.37%,
    var(--title-color) 60.37%
  );
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--white-color) !important;
}
.header.style-4 .h-flash-btn i {
  font-size: 24px;
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
  .header.style-4 .h-search-form input {
    width: 480px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1280px) {
  .header.style-4 .h-search-form input {
    width: 364px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .header.style-4 .header-nav,
  .header.style-4 .h-flash-btn,
  .header.style-4 .h-first-banner,
  .header.style-4 .header-wrapper.header-top-right {
    display: none;
  }
  .header.style-4 .header-item-wrapper,
  .header.style-4 .header-wrapper {
    justify-content: space-between;
    width: 100%;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .header.style-4 .header-nav {
    display: block;
  }
}
@media only screen and (max-width: 991px) {
  .header.style-4 .header-bottom-inner {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .header.style-4 .h-logo img {
    max-width: 140px;
  }
  .header.style-4 .header-item-wrapper,
  .header.style-4 .header-wrapper {
    justify-content: space-between;
    width: 100%;
  }
  .header.style-4 .h-category-btn {
    border-radius: 4px;
    gap: 8px;
    display: none;
    padding: 4px 12px;
    height: 38px;
  }
  .header.style-4 .h-category-btn i {
    font-size: 16px;
    position: relative;
    top: 2px;
  }
  .header.style-4 .h-category-btn.phone {
    display: block !important;
  }
  .header.style-4 .h-contact-info {
    font-size: 0;
    display: none;
  }

  .header.style-4 .h-flash-btn,
  .header.style-4 .h-first-banner,
  .header.style-4 .header-wrapper.header-top-right {
    display: none;
  }
}

/*=============================================================================================
    End Header Area
==============================================================================================*/
