.ec-catalog-search[hidden],
.elementor-sticky__spacer .ec-catalog-search {
  display: none !important;
}
.ec-catalog-search {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
}
.ec-catalog-search .ec-catalog-search-form {
  width: 44px;
  min-width: 44px;
  height: 44px;
}
.ec-catalog-search .dgwt-wcas-search-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ec-line, #dce4ec);
  border-radius: 9px;
  background: #fff;
  color: var(--ec-ink, #172c3b);
  box-sizing: border-box;
}
.ec-catalog-search .dgwt-wcas-search-icon svg {
  width: 21px;
  min-width: 21px;
  height: 21px;
  fill: currentColor;
}
.ec-catalog-search .dgwt-wcas-search-icon:hover {
  background: var(--ec-soft, #f3f6f9);
}
.ec-catalog-search :is(.dgwt-wcas-search-icon, .dgwt-wcas-enable-mobile-form):focus-visible,
.ec-catalog-search-form :is(input, button):focus-visible,
.dgwt-wcas-overlay-mobile[aria-label="Produkte suchen"] .dgwt-wcas-om-return:focus-visible {
  outline: 2px solid var(--ec-blue, #075b93);
  outline-offset: 2px;
}
.ec-catalog-search-form .dgwt-wcas-search-input {
  font-size: 16px;
}
@media (max-width: 767px) {
  .elementor-875 .elementor-element-6c4ff9f > .e-con-inner:has(> .ec-catalog-search) {
    --ec-search-logo: clamp(70px, calc(100vw - 319px), 112px);
    grid-template-columns: minmax(0, 1fr) var(--ec-search-logo) minmax(0, 1fr);
  }
  .elementor-875 .elementor-element-6c4ff9f > .e-con-inner > .ec-catalog-search {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: calc(50% - var(--ec-search-logo) / 2 - 48px);
  }
  .ec-catalog-search .dgwt-wcas-enable-mobile-form {
    width: 44px;
    height: 44px;
  }
}
@media (max-width: 387px) {
  .elementor-875 .elementor-element-6c4ff9f > .e-con-inner:has(> .ec-catalog-search) {
    grid-template-columns: minmax(0, 1fr) clamp(90px, 26vw, 112px) minmax(0, 1fr);
  }
  .elementor-875 .elementor-element-6c4ff9f > .e-con-inner > .ec-catalog-search {
    position: relative;
    inset: auto;
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    margin-block-start: 4px;
  }
}

/* FiboSearch reuses the desktop form, including the desktop's inline hide and offset. */
.dgwt-wcas-overlay-mobile .ec-catalog-search-form > .dgwt-wcas-search-form {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
}