/* Header Pakowy Elementor */

.hkpe-header {
  width: 100%;
  background: #ffffff;
  color: #111111;
  font-family: inherit;
  position: relative;
  z-index: 20;
}

.hkpe-header,
.hkpe-header * {
  box-sizing: border-box;
}

.hkpe-full-width-yes .hkpe-header {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hkpe-inner {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.hkpe-top {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #e8e8e8;
}

.hkpe-logo-wrap {
  flex: 0 0 250px;
  min-width: 0;
}

.hkpe-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111111;
  text-decoration: none;
}

.hkpe-logo:hover {
  text-decoration: none;
  color: #111111;
}

.hkpe-logo-img {
  display: block;
  width: 215px;
  max-width: 100%;
  height: auto;
}

.hkpe-logo-mark {
  width: 38px;
  height: 38px;
  border: 2px solid #111111;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8cc600;
  font-weight: 800;
  line-height: 1;
}

.hkpe-logo-mark::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 7px;
  width: 22px;
  height: 22px;
  border: 2px solid #8cc600;
}

.hkpe-logo-text {
  display: inline-block;
  color: #111111;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hkpe-logo-text span {
  color: #8cc600;
}

.hkpe-search-wrap {
  flex: 1 1 auto;
  max-width: 600px;
  min-width: 180px;
}

.hkpe-search-form {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #ffffff;
  overflow: hidden;
}

.hkpe-search-input {
  flex: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #555555;
  padding: 0 16px;
  font-size: 13px;
  box-shadow: none !important;
}

.hkpe-search-input::placeholder {
  color: #555555;
  opacity: .9;
}

.hkpe-search-button {
  width: 48px;
  height: 100%;
  border: 0 !important;
  background: transparent !important;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
}

.hkpe-search-button svg,
.hkpe-search-button i {
  width: 18px;
  height: 18px;
  font-size: 18px;
  color: inherit;
  fill: currentColor;
}

.hkpe-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 0 0 auto;
}

.hkpe-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111111;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.hkpe-action:hover {
  color: #111111;
  text-decoration: none;
}

.hkpe-action-icon-wrap {
  position: relative;
  display: inline-flex;
}

.hkpe-action-icon {
  width: 28px;
  height: 28px;
  font-size: 28px;
  color: #1c1c1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hkpe-action-icon svg,
.hkpe-action-icon i {
  width: 28px;
  height: 28px;
  font-size: 28px;
  color: inherit;
  fill: currentColor;
}

.hkpe-cart-count {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: #8cc600;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hkpe-action-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hkpe-action-title {
  color: #111111;
  font-size: 13px;
  font-weight: 800;
}

.hkpe-action-subtitle {
  color: #555555;
  font-size: 11px;
  font-weight: 500;
}

.hkpe-nav-row {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid #eeeeee;
}

.hkpe-category-btn {
  flex: 0 0 auto;
  width: 220px;
  height: 30px;
  border-radius: 5px;
  background: #8cc600;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 0 14px;
}

.hkpe-category-btn:hover {
  color: #ffffff;
  text-decoration: none;
  filter: brightness(.96);
}

.hkpe-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hkpe-category-icon svg,
.hkpe-category-icon i {
  width: 15px;
  height: 15px;
  font-size: 15px;
  color: inherit;
  fill: currentColor;
}

.hkpe-nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.hkpe-nav::-webkit-scrollbar {
  display: none;
}

.hkpe-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 38px;
  min-width: max-content;
}

.hkpe-nav-item {
  position: relative;
}

.hkpe-nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -19px;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: #e5e5e5;
}

.hkpe-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.hkpe-nav-link:hover {
  color: #8cc600;
  text-decoration: none;
}

.hkpe-nav-icon {
  width: 22px;
  height: 22px;
  font-size: 22px;
  color: #1c1c1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hkpe-nav-icon svg,
.hkpe-nav-icon i {
  width: 22px;
  height: 22px;
  font-size: 22px;
  color: inherit;
  fill: currentColor;
}

.hkpe-nav-link:hover .hkpe-nav-icon {
  color: #8cc600;
}

@media (max-width: 1024px) {
  .hkpe-top {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hkpe-logo-wrap {
    flex-basis: auto;
  }

  .hkpe-search-wrap {
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
  }

  .hkpe-actions {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .hkpe-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hkpe-top {
    gap: 14px;
  }

  .hkpe-logo-text {
    font-size: 26px;
  }

  .hkpe-logo-mark {
    width: 32px;
    height: 32px;
  }

  .hkpe-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hkpe-action-title {
    font-size: 12px;
  }

  .hkpe-action-subtitle {
    font-size: 10px;
  }

  .hkpe-nav-row {
    gap: 12px;
    overflow: hidden;
  }

  .hkpe-category-btn {
    width: auto;
    min-width: 170px;
  }
}
