/* Header Pakowy CSS Mobile Elementor */

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

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

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

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

.hpce-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}

.hpce-top {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(160px, 250px) minmax(220px, 1fr) auto;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #e8e8e8;
}

.hpce-logo-wrap {
  min-width: 0;
}

.hpce-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  color: #111111;
  text-decoration: none;
}

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

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

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

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

.hpce-logo-text {
  color: #111111;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hpce-logo-green {
  color: #8cc600;
}

.hpce-search-wrap {
  width: 100%;
  max-width: 600px;
  justify-self: center;
  min-width: 0;
}

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

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

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

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

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

.hpce-actions-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.hpce-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  min-width: 0;
}

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

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

.hpce-action-icon-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

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

.hpce-action-icon svg,
.hpce-action-icon i,
.hpce-nav-icon svg,
.hpce-nav-icon i,
.hpce-category-icon svg,
.hpce-category-icon i,
.hpce-mobile-toggle-icon svg,
.hpce-mobile-toggle-icon i {
  width: 1em;
  height: 1em;
  font-size: inherit;
  color: inherit;
  fill: currentColor;
}

.hpce-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;
}

.hpce-action-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

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

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

.hpce-desktop-nav {
  min-height: 42px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid #eeeeee;
}

.hpce-category-button,
.hpce-mobile-category {
  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;
  white-space: nowrap;
}

.hpce-category-button:hover,
.hpce-mobile-category:hover {
  color: #ffffff;
  text-decoration: none;
  filter: brightness(.96);
}

.hpce-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: inherit;
}

.hpce-nav {
  min-width: 0;
  overflow: hidden;
}

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

.hpce-nav-item {
  position: relative;
  flex: 0 0 auto;
}

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

.hpce-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;
}

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

.hpce-nav-icon {
  width: 22px;
  height: 22px;
  font-size: 22px;
  color: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hpce-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid #e5e5e5;
  background: #ffffff;
  color: #111111;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.hpce-mobile-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: inherit;
}

.hpce-mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  transition: max-height .32s ease, opacity .2s ease, visibility .2s ease;
}

.hpce-mobile-menu-inner {
  padding: 12px 0 16px;
}

.hpce-mobile-category {
  width: 100%;
  min-height: 42px;
  height: auto;
  margin-bottom: 8px;
}

.hpce-mobile-nav {
  display: flex;
  flex-direction: column;
}

.hpce-mobile-link {
  min-height: 50px;
  border-bottom: 1px solid #eeeeee;
  color: #111111;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  padding: 0 8px;
}

.hpce-mobile-link:hover {
  color: #8cc600;
  text-decoration: none;
}

.hpce-mobile-link .hpce-nav-icon {
  color: #8cc600;
}

.hpce-menu-state:checked ~ .hpce-mobile-menu {
  max-height: 900px;
  opacity: 1;
  visibility: visible;
}

.hpce-menu-state:checked ~ .hpce-top .hpce-mobile-toggle {
  background: #f8f8f8;
}

/* Breakpoint: always */
.hpce-bp-always .hpce-desktop-nav {
  display: none !important;
}
.hpce-bp-always .hpce-mobile-toggle {
  display: inline-flex !important;
}
.hpce-bp-always .hpce-mobile-menu {
  display: block !important;
}

/* 1200 */
@media (max-width: 1200px) {
  .hpce-bp-1200 .hpce-desktop-nav {
    display: none !important;
  }
  .hpce-bp-1200 .hpce-mobile-toggle {
    display: inline-flex !important;
  }
  .hpce-bp-1200 .hpce-mobile-menu {
    display: block !important;
  }
}

/* 1024 */
@media (max-width: 1024px) {
  .hpce-bp-1024 .hpce-desktop-nav {
    display: none !important;
  }
  .hpce-bp-1024 .hpce-mobile-toggle {
    display: inline-flex !important;
  }
  .hpce-bp-1024 .hpce-mobile-menu {
    display: block !important;
  }

  .hpce-top {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hpce-search-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
  }

  .hpce-actions {
    gap: 16px;
  }

  .hpce-action-text {
    display: none;
  }
}

/* 880 */
@media (max-width: 880px) {
  .hpce-bp-880 .hpce-desktop-nav {
    display: none !important;
  }
  .hpce-bp-880 .hpce-mobile-toggle {
    display: inline-flex !important;
  }
  .hpce-bp-880 .hpce-mobile-menu {
    display: block !important;
  }

  .hpce-logo-img {
    max-width: 175px;
  }

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

/* 767 */
@media (max-width: 767px) {
  .hpce-bp-767 .hpce-desktop-nav {
    display: none !important;
  }
  .hpce-bp-767 .hpce-mobile-toggle {
    display: inline-flex !important;
  }
  .hpce-bp-767 .hpce-mobile-menu {
    display: block !important;
  }

  .hpce-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hpce-mobile-toggle-text {
    display: none;
  }

  .hpce-mobile-toggle {
    width: 42px;
    padding: 0;
  }

  .hpce-actions {
    gap: 10px;
  }

  .hpce-action-icon {
    width: 25px;
    height: 25px;
    font-size: 25px;
  }

  .hpce-logo-img {
    max-width: 150px;
  }

  .hpce-logo-mark {
    width: 31px;
    height: 31px;
  }

  .hpce-logo-mark::after {
    width: 18px;
    height: 18px;
    right: -6px;
    top: 6px;
  }

  .hpce-logo-text {
    font-size: 23px;
  }

  .hpce-search-form {
    height: 40px;
  }

  .hpce-search-input {
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .hpce-logo-img {
    max-width: 135px;
  }

  .hpce-logo-text {
    font-size: 20px;
  }

  .hpce-logo-mark {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .hpce-actions {
    gap: 8px;
    flex: 0 0 auto;
  }

  .hpce-action {
    display: inline-flex !important;
  }

  .hpce-action-icon {
    width: 22px;
    height: 22px;
    font-size: 22px;
  }

  .hpce-mobile-toggle {
    width: 38px;
    min-height: 38px;
  }
}


/* v1.0.1: na telefonie pokazujemy wszystkie ikonki: Konto, Ulubione i Koszyk */
@media (max-width: 767px) {
  .hpce-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .hpce-action {
    display: inline-flex !important;
  }

  .hpce-action-text {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .hpce-inner {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hpce-actions {
    gap: 6px;
  }

  .hpce-action-icon {
    width: 20px;
    height: 20px;
    font-size: 20px;
  }

  .hpce-cart-count {
    top: -7px;
    right: -8px;
    min-width: 14px;
    height: 14px;
    font-size: 8px;
    padding: 0 4px;
  }

  .hpce-mobile-toggle {
    width: 34px;
    min-height: 34px;
  }

  .hpce-mobile-toggle-icon {
    font-size: 16px;
  }
}
