.uauis,
.uauis * {
  box-sizing: border-box;
}

@media (min-width: 768px) {
  #desktop-header .col-header-right.col-auto {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }

  #desktop-header .col-header-right > .row {
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
  }

  #desktop-header .col-header-right .col-search.col-auto {
    flex: 1 1 auto;
    max-width: none;
    min-width: 280px;
  }

  #header .col-header-right .col-search,
  #header .col-header-right .col-search.header-btn-w,
  #desktop-header .col-header-right .col-search,
  #desktop-header .col-header-right .col-search.header-btn-w {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 320px;
    padding-right: 14px;
  }

  #desktop-header #search_widget,
  #desktop-header #search_widget form,
  #desktop-header #search_widget .input-group {
    width: 100%;
  }

  #header #search_widget,
  #header #search_widget form,
  #header #search_widget .input-group {
    width: 100%;
  }

  #desktop-header #search_widget .form-search-control {
    width: 100%;
  }

  #header #search_widget .input-group,
  #desktop-header #search_widget .input-group {
    display: flex;
    align-items: stretch;
    height: 48px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d5dbe3;
    border-radius: 999px;
    box-shadow: none;
  }

  #header #search_widget form,
  #desktop-header #search_widget form {
    position: relative;
    width: 100%;
  }

  #header #search_widget .form-search-control,
  #desktop-header #search_widget .form-search-control {
    flex: 1 1 auto;
    height: 44px;
    min-width: 0;
    padding: 0 24px;
    color: #161616;
    background: #fff;
    border: 0;
    border-radius: 999px 0 0 999px;
    box-shadow: none;
    font-size: 15px;
    line-height: 44px;
  }

  #header #search_widget .form-search-control:focus,
  #desktop-header #search_widget .form-search-control:focus {
    background: #fff;
    border: 0;
    box-shadow: none;
    outline: 0;
  }

  #header #search_widget .form-search-control::placeholder,
  #desktop-header #search_widget .form-search-control::placeholder {
    color: #8f949b;
    opacity: 1;
  }

  #header #search_widget .search-btn,
  #desktop-header #search_widget .search-btn {
    position: static;
    right: auto;
    top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 78px;
    width: 78px;
    height: 48px;
    margin: 0;
    padding: 0;
    color: #fff;
    background: #050505;
    border: 0;
    border-radius: 0 999px 999px 0;
    box-shadow: none;
    z-index: 1;
    transition: background-color .18s ease;
  }

  #header #search_widget .search-btn:hover,
  #header #search_widget .search-btn:focus,
  #desktop-header #search_widget .search-btn:hover,
  #desktop-header #search_widget .search-btn:focus {
    color: #fff;
    background: #16a8c7;
    outline: 0;
  }

  #header #search_widget .search-btn .fa,
  #desktop-header #search_widget .search-btn .fa {
    display: none;
  }

  #header #search_widget .search-btn::before,
  #desktop-header #search_widget .search-btn::before {
    display: block;
    width: 24px;
    height: 24px;
    content: "";
    background-color: currentColor;
    border: 0;
    border-radius: 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / 23px 23px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / 23px 23px no-repeat;
    transform: none;
  }

  #header #search_widget .search-btn::after,
  #desktop-header #search_widget .search-btn::after {
    display: none;
    width: 0;
    height: 0;
    margin-left: 0;
    content: "";
    background: transparent;
    transform: none;
  }
}

@media (min-width: 768px) {
  #header #search_widget.search-widget form,
  #header #search_widget.search-widget .input-group {
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #header #search_widget.search-widget,
  #header #search_widget.search-widget form {
    background: transparent !important;
    box-shadow: none !important;
  }

  #header #search_widget.search-widget .input-group {
    position: relative !important;
    display: flex !important;
    align-items: stretch !important;
    height: 48px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #d5dbe3 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
  }

  #header #search_widget.search-widget .form-search-control {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    height: 48px !important;
    min-width: 0 !important;
    padding: 0 24px !important;
    color: #151515 !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 999px 0 0 999px !important;
    box-shadow: none !important;
    font-size: 15px !important;
    line-height: 48px !important;
  }

  #header #search_widget.search-widget .form-search-control:focus {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
  }

  #header #search_widget.search-widget .form-search-control::placeholder {
    color: #8f949b !important;
    opacity: 1 !important;
  }

  #header #search_widget.search-widget .search-btn {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 82px !important;
    width: 82px !important;
    height: 48px !important;
    min-width: 82px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    background: #050505 !important;
    border: 0 !important;
    border-radius: 0 999px 999px 0 !important;
    box-shadow: none !important;
    z-index: 2 !important;
  }

  #header #search_widget.search-widget .search-btn:hover,
  #header #search_widget.search-widget .search-btn:focus {
    color: #fff !important;
    background: #16a8c7 !important;
    outline: 0 !important;
  }

  #header #search_widget.search-widget .search-btn .fa {
    display: none !important;
  }

  #header #search_widget.search-widget .search-btn::before {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    content: "" !important;
    background-color: currentColor !important;
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / 23px 23px no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / 23px 23px no-repeat !important;
    transform: none !important;
  }

  #header #search_widget.search-widget .search-btn::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin-left: 0 !important;
    content: "" !important;
    background: transparent !important;
    transform: none !important;
  }
}

.uauis {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  width: 100vw;
  height: 100vh;
  color: #181818;
  background: #f4f4f4;
  font-family: inherit;
}

.uauis[aria-hidden="false"] {
  display: block;
}

body.uauis-open {
  overflow: hidden;
}

.uauis__shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.uauis__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 18px 28px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.uauis__search {
  position: relative;
  min-width: 0;
}

.uauis__icon {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 18px;
  height: 18px;
  border: 3px solid #111;
  border-radius: 999px;
  transform: translateY(-50%);
}

.uauis__icon::after {
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 10px;
  height: 3px;
  content: "";
  background: #111;
  border-radius: 999px;
  transform: rotate(45deg);
}

.uauis__input {
  width: 100%;
  height: 54px;
  padding: 0 18px 0 52px;
  color: #111;
  font-size: 20px;
  font-weight: 700;
  background: #f5f5f5;
  border: 1px solid #dedede;
  border-radius: 8px;
  outline: none;
}

.uauis__input:focus {
  border-color: #111;
  background: #fff;
}

.uauis__all,
.uauis__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  color: #111;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
}

.uauis__all {
  padding: 0 18px;
}

.uauis__close {
  width: 44px;
  padding: 0;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.uauis__all:hover,
.uauis__all:focus,
.uauis__close:hover,
.uauis__close:focus {
  color: #111;
  text-decoration: none;
  border-color: #111;
}

.uauis__body {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  min-height: 0;
  height: 100%;
  padding: 24px 28px;
  overflow: hidden;
}

.uauis__facets,
.uauis__results {
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.uauis__facets {
  padding-right: 4px;
}

.uauis__facet-group + .uauis__facet-group {
  margin-top: 28px;
}

.uauis__heading {
  margin: 0 0 12px;
  color: #111;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.uauis__facet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.uauis__facet {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 7px 10px;
  color: #222;
  text-align: left;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  cursor: pointer;
}

.uauis__facet:hover,
.uauis__facet:focus,
.uauis__facet.is-active {
  border-color: #111;
}

.uauis__facet--clear {
  display: flex;
  justify-content: center;
  min-height: 42px;
  color: #111;
  font-weight: 900;
}

.uauis__facet-media,
.uauis__facet-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  background: #f6f6f6;
  border-radius: 999px;
}

.uauis__facet-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.uauis__facet-initial {
  color: #16a8c7;
  font-size: 18px;
  font-weight: 900;
}

.uauis__facet-name {
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
}

.uauis__facet-count {
  color: #777;
  font-size: 13px;
  font-weight: 900;
}

.uauis__status {
  margin-bottom: 16px;
  color: #555;
  font-size: 15px;
  font-weight: 800;
}

.uauis__status.is-loading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid #ccc;
  border-top-color: #111;
  border-radius: 999px;
  vertical-align: -2px;
  animation: uauis-spin .7s linear infinite;
}

.uauis__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.uauis__product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: #111;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.uauis__product:hover,
.uauis__product:focus {
  color: #111;
  text-decoration: none;
  border-color: #111;
}

.uauis__product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  padding: 18px;
  background: #fff;
}

.uauis__product-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.uauis__product-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  color: #16a8c7;
  font-size: 34px;
  font-weight: 900;
  background: #f6f6f6;
  border-radius: 999px;
}

.uauis__product-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 14px 16px;
}

.uauis__product-brand,
.uauis__product-ref {
  color: #777;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.uauis__product-name {
  color: #111;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.22;
}

.uauis__product-price {
  margin-top: 2px;
  color: #111;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.uauis__empty,
.uauis__empty-small {
  display: block;
  color: #777;
  font-size: 14px;
  font-weight: 800;
}

.uauis__empty {
  padding: 28px;
  text-align: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.uauis__more {
  display: none;
  justify-content: center;
  padding: 22px 0 6px;
}

.uauis__more.is-visible {
  display: flex;
}

.uauis__more-button,
.uauis__more-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
}

.uauis__more-button {
  cursor: pointer;
}

.uauis__more-button:hover,
.uauis__more-button:focus {
  border-color: #111;
}

@keyframes uauis-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 992px) {
  .uauis.uauis--dropdown {
    inset: auto;
    top: var(--uauis-top, 96px);
    left: var(--uauis-left, 16px);
    width: var(--uauis-width, 720px);
    height: min(620px, var(--uauis-max-height, 70vh));
    max-height: calc(100vh - 110px);
    color: #181818;
    background: transparent;
  }

  .uauis.uauis--dropdown .uauis__shell {
    height: 100%;
    overflow: hidden;
    background: #f6f6f6;
    border: 1px solid #e1e1e1;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .16);
  }

  .uauis.uauis--dropdown .uauis__top {
    display: none;
  }

  .uauis.uauis--dropdown .uauis__body {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 16px;
    height: 100%;
    padding: 16px;
    overflow: hidden;
  }

  .uauis.uauis--dropdown .uauis__facets {
    padding-right: 0;
  }

  .uauis.uauis--dropdown .uauis__facet-group + .uauis__facet-group {
    margin-top: 18px;
  }

  .uauis.uauis--dropdown .uauis__heading {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .uauis.uauis--dropdown .uauis__facet-list {
    gap: 6px;
  }

  .uauis.uauis--dropdown .uauis__facet {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    min-height: 48px;
    padding: 5px 8px;
  }

  .uauis.uauis--dropdown .uauis__facet-media,
  .uauis.uauis--dropdown .uauis__facet-initial {
    width: 34px;
    height: 34px;
  }

  .uauis.uauis--dropdown .uauis__facet-name {
    font-size: 12px;
  }

  .uauis.uauis--dropdown .uauis__facet-count {
    font-size: 12px;
  }

  .uauis.uauis--dropdown .uauis__status {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .uauis.uauis--dropdown .uauis__products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .uauis.uauis--dropdown .uauis__product-media {
    padding: 12px;
  }

  .uauis.uauis--dropdown .uauis__product-info {
    gap: 4px;
    padding: 0 10px 12px;
  }

  .uauis.uauis--dropdown .uauis__product-brand,
  .uauis.uauis--dropdown .uauis__product-ref {
    font-size: 11px;
  }

  .uauis.uauis--dropdown .uauis__product-name {
    font-size: 13px;
  }

  .uauis.uauis--dropdown .uauis__product-price {
    font-size: 15px;
  }
}

@media (max-width: 1199px) {
  .uauis__products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .uauis.uauis--dropdown .uauis__body {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .uauis.uauis--dropdown .uauis__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .uauis__top {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px;
    padding: 12px;
  }

  .uauis__all {
    grid-column: 1 / -1;
    order: 3;
    height: 38px;
  }

  .uauis__input {
    height: 48px;
    font-size: 16px;
  }

  .uauis__body {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px 12px;
    overflow: auto;
  }

  .uauis__facets,
  .uauis__results {
    overflow: visible;
  }

  .uauis__facet-list {
    display: grid;
    grid-auto-columns: minmax(158px, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .uauis__facet {
    scroll-snap-align: start;
  }

  .uauis__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .uauis__product-media {
    padding: 12px;
  }

  .uauis__product-info {
    padding: 0 11px 13px;
  }

  .uauis__product-name {
    font-size: 13px;
  }

  .uauis__product-price {
    font-size: 15px;
  }
}
