.porgen-header {
  --porgen-header-green: #008c3a;
  --porgen-header-line: #f3f3f3;
  --porgen-header-text: #4f4f4f;
  --porgen-header-muted: #777777;
  --porgen-header-field: #f7f9fb;
  background: #fafafa;
  border-bottom: 1px solid var(--porgen-header-line);
  color: var(--porgen-header-text);
  font-family: inherit;
  position: relative;
  width: 100%;
  z-index: 20;
}

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

.porgen-header a {
  color: inherit;
  text-decoration: none;
}

.porgen-header__wrap {
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr);
  grid-template-rows: 86px 44px;
  margin: 0 auto;
  max-width: 1290px;
  padding: 0;
  width: 100%;
}

.porgen-header__top {
  display: contents;
}

.porgen-header__logo {
  align-items: flex-start;
  align-self: start;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-content: flex-start;
  justify-self: start;
  margin-top: 35px;
  max-width: 223px;
  min-width: 0;
}

.porgen-header__logo-img {
  display: block;
  height: auto;
  max-height: 51px;
  max-width: 223px;
  object-fit: contain;
  width: auto;
}

.porgen-header__logo--text {
  gap: 6px;
}

.porgen-header__site-name {
  color: var(--porgen-header-green);
  display: block;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.porgen-header__site-description {
  color: #8a8a8a;
  display: block;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}

.porgen-header__tagline {
  color: #8a8a8a;
  display: block;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin-top: 2px;
  text-align: justify;
  text-align-last: justify;
  width: 223px;
}

.porgen-header__actions {
  align-items: center;
  align-self: start;
  display: flex;
  gap: 24px;
  grid-column: 2;
  grid-row: 1;
  justify-content: flex-end;
  justify-self: end;
  margin-top: 24px;
  min-width: 0;
  padding-right: 5px;
}

.porgen-header__tool {
  align-items: center;
  color: #4d565f;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  line-height: 1;
  min-height: 38px;
  white-space: nowrap;
}

.porgen-header__tool-label {
  display: none;
}

.porgen-header__icon {
  display: inline-block;
  flex: 0 0 auto;
  position: relative;
}

.porgen-header__icon--cart,
.porgen-header__icon--account {
  height: 22px;
  width: 22px;
}

.porgen-header__tool:hover,
.porgen-header__tool:focus,
.porgen-header__line:hover,
.porgen-header__line:focus,
.porgen-header__menu a:hover,
.porgen-header__menu a:focus {
  color: var(--porgen-header-green);
}

.porgen-header__line {
  align-items: center;
  background: transparent;
  border-radius: 0;
  color: inherit;
  display: inline-flex;
  flex: 0 0 auto;
  height: 29px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  width: 29px;
}

.porgen-header__line-img {
  display: block;
  height: 29px;
  width: 29px;
}

.porgen-header__line:hover,
.porgen-header__line:focus {
  background: #05b84e;
  color: #ffffff;
}

.porgen-header__search {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e0e6;
  border-radius: 4px;
  display: flex;
  height: 38px;
  max-width: 219px;
  min-width: 219px;
  overflow: visible;
  position: relative;
}

.porgen-header__search input[type="search"] {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--porgen-header-text);
  flex: 1 1 auto;
  font: inherit;
  font-size: 14px;
  height: 100%;
  min-width: 0;
  outline: 0;
  padding: 0 0 0 13px;
}

.porgen-header__search input[type="search"]::placeholder {
  color: #6c7882;
  opacity: 1;
}

.porgen-header__search button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #31546a;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  height: 100%;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 36px;
}

.porgen-header__search-icon {
  border: 2px solid currentColor;
  border-radius: 50%;
  display: block;
  height: 14px;
  position: relative;
  width: 14px;
}

.porgen-header__search-icon::after {
  background: currentColor;
  border-radius: 2px;
  content: "";
  height: 2px;
  position: absolute;
  right: -7px;
  top: 10px;
  transform: rotate(45deg);
  width: 8px;
}

.porgen-header__search button:hover,
.porgen-header__search button:focus {
  background: #03B76F;
  color: #ffffff;
}

.porgen-header__suggestions {
  background: #ffffff;
  border: 1px solid #d8e0e6;
  border-radius: 4px;
  left: -1px;
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 4px 0;
  position: absolute;
  right: -1px;
  top: calc(100% + 4px);
  z-index: 120;
}

.porgen-header__suggestions[hidden] {
  display: none;
}

.porgen-header__suggestion {
  color: #3f4f59;
  display: block;
  font-size: 14px;
  line-height: 1.35;
  padding: 9px 12px;
  text-decoration: none;
}

.porgen-header__suggestion:hover,
.porgen-header__suggestion:focus,
.porgen-header__suggestion.is-active {
  background: #f4faf7;
  color: var(--porgen-header-green);
  outline: 0;
}

.porgen-header__suggestion-title,
.porgen-header__suggestion-price {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.porgen-header__suggestion-price {
  color: #7b8790;
  font-size: 12px;
  margin-top: 3px;
}

.porgen-header__blocksy-cart {
  position: relative;
}

.porgen-header__blocksy-cart .ct-header-cart,
.porgen-header__blocksy-cart .ct-cart-item,
.porgen-header__blocksy-cart .ct-icon-container {
  align-items: center;
  display: inline-flex;
}

.porgen-header__blocksy-cart .ct-cart-item {
  color: inherit;
  gap: 6px;
  line-height: 1;
  min-height: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.porgen-header__blocksy-cart .ct-icon {
  height: 22px;
  width: 22px;
}

.porgen-header__blocksy-cart .ct-label {
  font-size: 13px;
  line-height: 1;
}

#woo-cart-panel.porgen-header__cart-panel {
  --panel-padding: 20px;
  --side-panel-width: min(420px, 100vw);
  background: rgba(18, 24, 30, 0.55);
  bottom: 0;
  content-visibility: auto;
  display: flex;
  flex-direction: column;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: calc(var(--admin-bar, 0px));
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  visibility: hidden;
  z-index: 999999;
}

#woo-cart-panel.porgen-header__cart-panel.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

#woo-cart-panel.porgen-header__cart-panel > section {
  background: #ffffff;
  bottom: 0;
  box-shadow: -18px 0 36px rgba(25, 44, 60, 0.16);
  display: flex;
  flex-direction: column;
  max-width: var(--side-panel-width);
  position: absolute;
  right: 0;
  top: 0;
  transform: translate3d(20%, 0, 0);
  transition: transform 0.25s ease-in-out;
  width: 100%;
}

#woo-cart-panel.porgen-header__cart-panel.active > section {
  transform: translate3d(0, 0, 0);
}

#woo-cart-panel.porgen-header__cart-panel .ct-panel-actions {
  align-items: center;
  display: flex;
  gap: 16px;
  padding: var(--panel-padding);
}

#woo-cart-panel.porgen-header__cart-panel .ct-panel-actions h6 {
  color: #1f2d3a;
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
}

#woo-cart-panel.porgen-header__cart-panel .ct-close-button {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  margin-left: auto;
}

#woo-cart-panel.porgen-header__cart-panel .ct-panel-content {
  align-items: stretch;
  box-sizing: border-box;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: auto;
  padding: var(--panel-padding);
}

#woo-cart-panel .ct-panel-content-inner {
  padding: 0px;
}

#woo-cart-panel .woocommerce-mini-cart__buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

#woo-cart-panel .woocommerce-mini-cart__buttons .button {
  box-sizing: border-box;
  width: 100%;
}

.porgen-header__nav {
  align-self: start;
  grid-column: 2;
  grid-row: 2;
  margin-top: -6px;
  min-height: 34px;
}

.porgen-header__menu {
  align-items: center;
  column-gap: clamp(36px, 5.1vw, 58px);
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  min-height: 34px;
  padding: 0;
}

.porgen-header__menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.porgen-header__menu > li > a {
  align-items: center;
  color: #505050;
  display: inline-flex;
  font-size: 17px;
  font-weight: 400;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 34px;
  padding: 0;
  white-space: nowrap;
}

.porgen-header__menu .sub-menu {
  background: #ffffff;
  border: 1px solid var(--porgen-header-line);
  box-shadow: 0 12px 30px rgba(20, 35, 50, 0.1);
  display: none;
  left: 0;
  list-style: none;
  margin: 0;
  min-width: 190px;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  z-index: 30;
}

.porgen-header__menu li:hover > .sub-menu,
.porgen-header__menu li:focus-within > .sub-menu {
  display: block;
}

.porgen-header__menu .sub-menu a {
  color: #505050;
  display: block;
  font-size: 15px;
  line-height: 1.4;
  padding: 9px 16px;
  white-space: nowrap;
}

.porgen-header__toggle {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e0e6;
  border-radius: 4px;
  color: #3f4f59;
  cursor: pointer;
  display: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.porgen-header__toggle-icon {
  display: block;
  height: 24px;
  width: 24px;
}

.porgen-header__sr {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 1210px) {
  .porgen-header__wrap {
    grid-template-columns: 250px minmax(0, 1fr);
    padding-left: 0;
    padding-right: 0;
  }

  .porgen-header__actions {
    gap: 12px;
  }

  .porgen-header__menu > li > a {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .porgen-header__top {
    gap: 16px;
  }

  .porgen-header__logo-img {
    max-width: 220px;
  }

  .porgen-header__actions {
    flex-wrap: wrap;
    row-gap: 8px;
  }
}

@media (max-width: 767px) {
  .porgen-header__wrap {
    display: block;
    padding-left: 0;
    padding-right: 0;
  }

  .porgen-header__top {
    align-items: center;
    column-gap: 12px;
    display: flex;
    flex-wrap: wrap;
    min-height: 0;
    padding: 14px 0;
    row-gap: 8px;
  }

  .porgen-header__logo {
    margin-top: 0;
    max-width: 178px;
    min-width: 0;
    order: 1;
  }

  .porgen-header__logo-img {
    max-height: 41px;
    max-width: 178px;
  }

  .porgen-header__tagline {
    width: 178px;
  }

  .porgen-header__site-name {
    font-size: 28px;
  }

  .porgen-header__site-description {
    font-size: 13px;
  }

  .porgen-header__toggle {
    display: inline-flex;
    margin-left: 0;
    order: 3;
  }

  .porgen-header__actions {
    display: contents;
  }

  .porgen-header__tool {
    font-size: 0;
    gap: 0;
    justify-content: center;
    min-height: 38px;
    order: 2;
    width: 24px;
  }

  .porgen-header__tool span {
    display: none;
  }

  .porgen-header__blocksy-cart .ct-icon-container {
    display: inline-flex;
  }

  .porgen-header__blocksy-cart .ct-label {
    display: none;
  }

  .porgen-header__tool--cart {
    margin-left: auto;
  }

  .porgen-header__line {
    order: 2;
  }

  .porgen-header__search {
    flex: 0 0 100%;
    max-width: none;
    min-width: 0;
    order: 4;
  }

  .porgen-header__nav {
    border-top: 1px solid var(--porgen-header-line);
    display: none;
    margin-top: 0;
    min-height: 0;
  }

  .porgen-header.is-open .porgen-header__nav,
  .porgen-header--no-js .porgen-header__nav {
    display: block;
  }

  .porgen-header__menu {
    align-items: stretch;
    display: block;
    min-height: 0;
    padding: 8px 0;
  }

  .porgen-header__menu > li > a {
    display: flex;
    font-size: 16px;
    justify-content: flex-start;
    min-height: 44px;
    padding: 0;
    width: 100%;
  }

  .porgen-header__menu .sub-menu {
    border: 0;
    box-shadow: none;
    display: block;
    min-width: 0;
    padding: 0 0 8px 16px;
    position: static;
  }

  .porgen-header__menu .sub-menu a {
    font-size: 14px;
    padding: 8px 0;
  }
}

@media (max-width: 420px) {
  .porgen-header__actions {
    gap: 8px;
  }

  .porgen-header__tool {
    font-size: 12px;
  }

  .porgen-header__search {
    flex-basis: 100%;
    min-width: 0;
  }
}
