/* ---- #header element ---- */
#header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 6;
  transition: 0.15s linear all;
}
#header-mask {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  background-color: rgba(13,14,18,0.2);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
#header-mask.active {
  display: block;
}
#header.megamenu {
  height: 100%;
}
#header .header-top {
  position: relative;
  z-index: 4;
  background-color: #0D0E12;
  padding: 14px 0;
  border-bottom: 1px solid rgba(236,237,242,0.17);
}
#header .logo {
  display: flex;
  align-items: center;
  height: 100%;
}
#header .logo a {
  color: #000000;
  font-size: 22px;
  text-decoration: none;
  padding: 20px 0;
}
#header .logo .mobile-triggers {
  display: none;
  align-items: center;
}
#header .logo .mobile-cart-trigger {
  display: none;
}
#header .logo .mobile-triggers a.primary-button {
  background-color: #47B0F2;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  color: #0D0E12;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid #47B0F2;
  border-radius: 26px;
  transition: 0.15s linear all;
  margin: 0 10px 0 0;
}

#header .ht-content-left {
  display: flex;
  align-items: center;
  justify-content: left;
  height: 100%;
}
#header .ht-content-left a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 12px 0 0;
  transition: 0.15s linear all;
}
#header .ht-content-left a:hover {

}
#header .ht-content-left svg {
  display: block;
  transition: 0.15s linear all;
}
#header .ht-content-left a:hover svg {
  fill: #47B0F2;
}

#header .ht-content-center {
  display: flex;
  align-items: center;
  justify-content: left;
  max-width: 400px;
  margin: 0 auto;
}
#searchwp-form-1 {
  width: 100%;
}


#header .ht-content-right {
  display: flex;
  align-items: center;
  justify-content: right;
}
#header .ht-content-right .minicart {
  display: none;
  margin: 0 0 0 40px;
}
#header .ht-content-right .minicart svg {
  fill: #ECEFF2;
}
#header .ht-content-right .secondary-button {
  margin: 0 0 0 20px;
}
#header .contact-trigger {
  background-color: #ECEFF2;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  color: #0D0E12;
  text-decoration: none;
  cursor: pointer;
  padding: 14px 26px;
  border: 1px solid #ECEFF2;
  border-radius: 26px;
  transition: 0.15s linear all;
}
#header .contact-trigger:hover {
  color: #ECEFF2;
  background-color: transparent;
}

#header .header-bottom {
  position: relative;
  background-color: #0D0E12;
  z-index: 4;
}
#header .header-bottom nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
#header .header-bottom nav ul {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#header .header-bottom nav ul li {
  position: relative;
  margin: 0 40px 0 0;
}
#header .header-bottom nav ul li:last-of-type {
  margin: 0;
}
#header .header-bottom li.item-kontakt {
  display: none;
}
#header nav li span,
#header nav li a {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
  color: #ECEFF2;
  text-decoration: none;
  cursor: pointer;
  padding: 20px 0;
  transition: 0.15s linear all;
}
#header nav li span:hover,
#header nav li a:hover {
  color: #47B0F2;
}
#header nav span svg,
#header nav a svg {
  margin: 0 0 0 8px;
  transition: 0.15s linear all;
}
#header nav span:hover svg,
#header nav a:hover svg {
  fill: #47B0F2;
  color: #47B0F2;
}
#header nav ul li.active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#header .header-right {
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 20px 5px;
}
#header .minicart {
  position: relative;
  cursor: pointer;
}
#header .minicart svg {
  transition: 0.15s linear all;
}
#header .minicart.active svg,
#header .minicart:hover svg {
  fill: #47B0F2;
}
#header .minicart .cart-count {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  border-radius: 50%;
  position: absolute;
  top: -5px;
  right: -10px;
  width: 16px;
  height: 16px;
}

.header-filter {
  display: none;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  background: #47B0F2;
  padding: 15px;
}
.header-filter-content {
  display: none;
  background: #FFFFFF;
}

/* Header Search Styles */
.header-search-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.header-search-input {
  width: 100%;
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.search-results-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 999;
  max-height: 400px;
  overflow-y: auto;
}

.search-results-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-results-container li {
  padding: 10px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.search-results-container li:hover {
  background-color: #f5f5f5;
}

.search-results-container li:last-child {
  border-bottom: none;
}

.search-results-container a {
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
}

.search-results-container .product-thumbnail {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  object-fit: contain;
}

.search-results-container .product-info {
  display: flex;
  flex-direction: column;
}

.search-results-container .product-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 3px;
}

.search-results-container .product-price {
  font-size: 13px;
  color: #0073aa;
}

.search-results-container .no-results,
.search-results-container .loading {
  padding: 10px 15px;
  color: #666;
  text-align: center;
}

.search-results-container .view-all {
  padding: 10px 15px;
  border-top: 1px solid #eee;
  text-align: center;
}

.search-results-container .view-all a {
  color: #0073aa;
  text-decoration: underline;
  display: block;
  font-size: 13px;
}

/* Search Container */
.header-search-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.header-search-input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

/* Search Results */
.search-results-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 999;
  display: none;
  max-height: 400px;
  overflow-y: auto;
}

.search-results-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-results-container li {
  padding: 10px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.search-results-container li:hover {
  background: #f5f5f5;
}

.search-results-container a {
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
}

.search-results-container img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  object-fit: contain;
}

.search-results-container .product-info {
  display: flex;
  flex-direction: column;
}

.search-results-container .product-title {
  font-weight: 500;
  margin-bottom: 3px;
}

.search-results-container .product-price {
  color: #0073aa;
  font-size: 14px;
}

.loading, .no-results {
  padding: 15px;
  text-align: center;
  color:
}
.view-all {
  padding: 10px;
  text-align: center;
  border-top: 1px solid #eee;
}

.view-all a {
  color: #0073aa;
  text-decoration: underline;
}

/* ---- mincicart dugmici ---- */
.woocommerce-mini-cart__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0 0 0;
}
.woocommerce-mini-cart__buttons a.wc-forward {
  flex: 1;
  order: 2;
  display: inline-block;
  background-color: #ECEFF2;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  color: #0D0E12;
  text-decoration: none;
  padding: 14px 26px;
  border: 1px solid #ECEFF2;
  border-radius: 26px;
  transition: 0.15s linear all;
}
.woocommerce-mini-cart__buttons a.wc-forward:hover {
  color: #0D0E12;
  background-color: transparent;
  text-decoration: underline;
}
.woocommerce-mini-cart__buttons a.checkout {
  order: 1;
  display: inline-block;
  background-color: #47B0F2;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  color: #0D0E12;
  text-decoration: none;
  padding: 14px 26px;
  margin: 0 20px 0 0;
  border: 1px solid #47B0F2;
  border-radius: 26px;
  transition: 0.15s linear all;
}
.woocommerce-mini-cart__buttons a.checkout:hover {
  color: #0D0E12;
  background-color: transparent;
}
/* ---- minicart modal ---- */
#minicart-wrapper {
  position: fixed;
  top: 0;
  right: -720px; /* hide off screen */
  width: 720px;
  height: 100%;
  z-index: 5;
  overflow-y: auto;
  transition: right 0.3s ease;
}
#minicart-wrapper.active {
  right: 0; /* slide in */
}
#minicart-mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 4;
}
#minicart-wrapper.active #minicart-mask {
  display: block;
}
#minicart-wrapper .minicart-popup {
  position: relative;
  top: 155px;
  background: #FFFFFF;
  color: #0D0E12;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(-10px);
  z-index: 7;
}
#minicart-wrapper h3.minicart-title {
  text-align: left;
  font-size: 21px;
  font-weight: 600;
  color: #0D0E12;
  margin: 0 0 15px 0;
  padding: 0 0 15px 0;
  border-bottom: 1px solid #94969d70;
}
#minicart-wrapper .item-title {
  display: block;
}
#minicart-wrapper ul {
  padding: 0;
  margin: 0;
}
#minicart-wrapper ul li {
  display: flex;
  align-items: start;
  justify-content: space-between;
  list-style: none;
  padding: 0 0 15px 0;
  margin: 0 0 15px 0;
  border-bottom: 1px solid #94969d70;
}
#minicart-wrapper a.item-image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  width: 140px;
  font-size: 15px;
  font-weight: 600;
  color: #0D0E12;
  text-decoration: none;
  padding: 0 30px 0 0;
  overflow: hidden;
}
#minicart-wrapper a.item-image img {
  max-height: 120px;
  width: auto;
  margin: 0;
}
#minicart-wrapper a.remove {
  font-size: 24px;
  font-weight: 500;
  color: #0D0E12;
  text-decoration: none;
  margin: 0 0 0 40px;
  transition: 0.15s linear all;
}
#minicart-wrapper a.remove:hover {
  color: #BE1010;
}
#minicart-wrapper .mc-item {
  text-align: left;
  flex: 4;
}
#minicart-wrapper a.item-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 120%;
  color: #0D0E12;
  text-decoration: none;
  margin: 0 0 5px 0;
}
#minicart-wrapper a.item-category {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #94969D;
  text-decoration: none;
  transition: 0.15s linear all;
}
#minicart-wrapper p.item-sku {
  font-size: 14px;
  font-weight: 400;
  color: #0D0E12;
  margin: 0 0 5px 0;
}
#minicart-wrapper a.item-category:hover {
  color: #47B0F2;
}
#minicart-wrapper .minicart-left {
  display: flex;
}
#minicart-wrapper .item-quantity {
  margin: 20px 0 0 0;
}
#minicart-wrapper .quantity {
  flex: 1;
  display: flex;
  background-color: transparent;
  color: #0D0E12;
  font-size: 15px;
  font-weight: 600;
}
#minicart-wrapper p.total {
  color: #0D0E12;
}
#minicart-wrapper p.total bdi {
  display: inline-block;
  color: #47B0F2;
  font-weight: 700;
}
#minicart-wrapper bdi {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#minicart-wrapper .minicart-left {
  display: flex;
  align-items: center;
  width: 100%;
}
#minicart-wrapper .minicart-cta {
  display: flex;
  align-items: center;
  width: 100%;
  grid-gap: 30px;
}
.minicart-popup .remove-all-button {
  background-color: #FFFFFF;
  color: #0D0E12;
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding: 14px 26px;
  border: 1px solid #e74c3c78;
  border-radius: 26px;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  text-decoration: none;
}
.minicart-popup .remove-all-button:hover {
    background-color: #e74c3c78;
}
.minicart-popup .remove-all-button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ---- megamenu ---- */
.megamenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 6;
}
.megamenu.active {
  display: block;
  animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.megamenu-mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
}
.megamenu.active .megamenu-mask {
  display: block;
}
.megamenu-wrapper {
  position: relative;
  z-index: 6;
  max-width: 600px;
  width: 100%;
  background: rgb(13,14,18);
  background: -moz-linear-gradient(180deg, rgba(13,14,18,1) 0%, rgba(13,14,18,1) 20%, rgba(12,44,64,1) 100%);
  background: -webkit-linear-gradient(180deg, rgba(13,14,18,1) 0%, rgba(13,14,18,1) 20%, rgba(12,44,64,1) 100%);
  background: linear-gradient(180deg, rgba(13,14,18,1) 0%, rgba(13,14,18,1) 20%, rgba(12,44,64,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0d0e12",endColorstr="#0c2c40",GradientType=1);
  padding: 80px;
  margin: 0 auto;
}
.megamenu-box {
  margin: 0 0 30px 0;
}
.megamenu-box .tag {
  color: #94969D;
  margin: 0 0 16px 0;
}
.megamenu-box a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
  color: #ECEFF2;
  text-decoration: none;
  margin: 0 0 16px 0;
  transition: 0.15s linear all;
}
.megamenu-box a:hover {
  color: #47B0F2;
}
.megamenu-box a:last-of-type {
  margin: 0;
}
.megamenu-wrapper a.primary-button {
  display: inline-block;
  margin: 40px 0 0 0;
}

/* ---- megamenu ---- */
.megamenu-box a.megamenu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
  color: #ECEFF2;
  text-decoration: none;
  margin: 0 0 16px 0;
  transition: 0.15s linear all;
}
.megamenu-box a.megamenu-item:hover {
  color: #47B0F2;
}
.megamenu-box a.megamenu-item svg {
  transition: 0.15s linear all;
}
.megamenu-box a.megamenu-item:hover svg {
  fill: #47B0F2;
}

@media only screen and (max-width: 1440px) {
  #header .header-bottom nav ul li {
    margin: 0 20px 0 0;
  }
}

@media only screen and (max-width: 992px) {
  #header .header-bottom li.item-konfigurator {
    display: none;
  }
  #header .header-bottom li.item-kontakt {
    display: block;
  }
}

@media only screen and (max-width: 768px) {
  #header .header-top {
    display: none;
  }

  /* ---- mobile cart ---- */
  #header .logo a img {
    max-width: 140px;
    width: 100%;
    height: auto;
  }
  #minicart-wrapper a.item-title {
    font-size: 14px;
  }
  #minicart-wrapper a.item-category {
    font-size: 12px;
  }
  #minicart-wrapper p.item-sku {
    font-size: 12px;
  }
  #minicart-wrapper .item-quantity {
    margin: 0;
  }
  #minicart-wrapper .quantity {
    font-size: 14px;
  }

  #header .logo .dgwt-wcas-search-wrapp {
    width: 50px;
    max-width: unset;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 8px 0;
    }
  #header .logo .dgwt-wcas-search-wrapp a {
    padding: 22px 0px;
  }
  #header .logo .mobile-triggers {
    display: flex;
  }
  #header .logo .mobile-cart-trigger {
    display: block;
    padding: 0 0 0 10px;
  }

  #header .header-bottom nav ul {
    width: 100%;
  }
  #header .header-bottom nav ul li.addon {
    display: none;
  }
  #header nav li span {
    font-size: 13px;
    padding: 15px 0 20px 0;
  }
  #header nav li a {
    font-size: 13px;
    padding: 15px 0 20px 0;
  }
  #header .ht-content-left {
    display: none;
  }
  #header .ht-content-center {
    display: none;
  }
  #header .header-right {
    display: none;
  }
  #header .ht-content-right .minicart {
    display: block;
  }
  #header .logo {
    justify-content: space-between;
    align-items: center;
  }
  #header a.primary-button {
    padding: 10px 20px;
  }
  #header .contact-trigger {
    padding: 10px 20px;
  }
  #header .header-bottom nav ul li {
    margin: 0 10px 0 0;
  }
  #header nav span svg, #header nav a svg {
    width: 10px;
    height: 10px;
    margin: 0 0 0 4px;
  }

  #minicart-wrapper .minicart-left {
    flex: 5;
  }
  #minicart-wrapper .quantity {
    flex: 2;
  }
  #minicart-wrapper .minicart-popup {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    top: 0;
  }
  #minicart-wrapper .minicart-popup.down {
    top: 60px;
  }
  #minicart-wrapper .minicart-cta {

  }
  #minicart-wrapper a.item-image {
    flex: 1;
    width: auto;
    padding: 0;
  }
  #minicart-wrapper a.item-image img {
    display: block;
    max-width: 40px;
    width: 100%;
    height: auto;
  }
  #minicart-wrapper .mc-item {

  }
  .megamenu-wrapper {
    padding: 40px;
    margin: 0;
  }
  .megamenu-box a:last-of-type {
    margin: 0 0 16px 0;
  }

  #header .header-right {
    justify-content: center;
  }
  #header .header-right .minicart {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background-color: #ECEFF2;
    border-radius: 50%;
  }
  #minicart-wrapper.active {
    width: 100%;
    height: 75vh;
    top: 118px;
  }
  #header .minicart.active svg {
      /* fill: #0D0E12 !important; */
  }
  #header .minicart svg {
      /* fill: #0D0E12 !important; */
  }


  .header-filter {
    display: block;
  }
  .header-filter-content.active {

  }

}

@media only screen and (max-width: 440px) {

}
