.vwps-search {
  display: block;
  position: relative;
  z-index: 100420;
  width: var(--vwps-width, 1000px);
  max-width: 100%;
  margin: 0 auto;
  font-family: inherit;
  box-sizing: border-box;
  isolation: isolate;
}

body .vd-header-search-shortcode form.vwps-search,
body .vwps-search {
  display: block;
  width: var(--vwps-width, 1000px);
  max-width: 100%;
}

.vwps-input-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

body.visible-dartshop .vd-header-search-shortcode form.vwps-search input.vwps-input[type="search"],
body .vwps-search .vwps-input,
.vwps-input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 48px 14px 18px;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 16px;
  background: #fff;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vwps-input:focus {
  outline: none;
  border-color: rgba(0,0,0,.38);
  box-shadow: 0 12px 34px rgba(0,0,0,.12);
}

.vwps-spinner {
  display: none;
  position: absolute;
  top: 50%;
  right: 18px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2px solid rgba(0,0,0,.18);
  border-top-color: rgba(0,0,0,.65);
  border-radius: 50%;
  animation: vwps-spin .7s linear infinite;
}

.vwps-spinner.is-active {
  display: block;
}

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

.vwps-results {
  display: none;
  position: absolute;
  z-index: 100450;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  max-height: min(70vh, 560px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
  border: 1px solid rgba(0,0,0,.08);
  -webkit-overflow-scrolling: touch;
}

.vwps-results.is-open {
  display: block;
}

body .vd-header-search-shortcode,
body .vd-header-search-shortcode:focus-within,
body .vd-header-search-shortcode:has(.vwps-results.is-open) {
  position: relative;
  z-index: 100430;
  overflow: visible;
}

body.vwps-search-open .vd-header-search-shortcode,
.vwps-search.is-open {
  position: relative;
  z-index: 100430;
  overflow: visible;
}

body .vd-header-actions:has(.vwps-results.is-open) {
  position: relative;
  overflow: visible;
  z-index: 100425;
}

body.vwps-search-open .vd-header-actions {
  position: relative;
  overflow: visible;
  z-index: 100425;
}

body.vwps-search-open .vd-site-header,
body.vwps-search-open .vd-header-main,
body.vwps-search-open .vd-header-grid {
  overflow: visible;
}

body.vwps-search-open .vd-header-main {
  position: relative;
  z-index: 100410;
}

body.vwps-search-open .vd-category-nav {
  z-index: 100;
}

.vwps-section {
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.vwps-section:last-child {
  border-bottom: 0;
}

.vwps-section-title {
  padding: 12px 14px 6px;
  color: rgba(0,0,0,.62);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.vwps-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  color: inherit;
  text-decoration: none;
  transition: background .15s ease;
}

.vwps-category:hover,
.vwps-category:focus {
  background: rgba(0,0,0,.045);
  color: inherit;
  text-decoration: none;
  outline: none;
}

.vwps-category-name {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vwps-category-count {
  flex: 0 0 auto;
  min-width: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  color: rgba(0,0,0,.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.vwps-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background .15s ease;
}

.vwps-result:last-child {
  border-bottom: 0;
}

.vwps-result:hover,
.vwps-result:focus,
.vwps-result.is-active,
.vwps-category.is-active,
.vwps-popular.is-active,
.vwps-all-results.is-active {
  background: rgba(0,0,0,.045);
  color: inherit;
  text-decoration: none;
  outline: none;
}

.vwps-result:focus-visible,
.vwps-category:focus-visible,
.vwps-popular:focus-visible,
.vwps-all-results:focus-visible {
  outline: 2px solid rgba(35,99,154,.65);
  outline-offset: -2px;
}

.vwps-thumb {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,.04);
}

.vwps-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vwps-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vwps-title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}

.vwps-price {
  font-size: 14px;
  opacity: .82;
}

.vwps-product-info {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.vwps-stock,
.vwps-match {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(20,51,95,.08);
  color: #14335f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.vwps-stock {
  background: rgba(0,138,32,.1);
  color: #087526;
}

.vwps-empty {
  padding: 16px;
  font-size: 14px;
  opacity: .8;
}

.vwps-all-results {
  display: block;
  padding: 13px 14px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border-top: 1px solid rgba(0,0,0,.06);
  transition: background .15s ease;
}

.vwps-all-results:hover,
.vwps-all-results:focus {
  background: rgba(0,0,0,.045);
  color: inherit;
  text-decoration: none;
  outline: none;
}

.vwps-popular-section {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 14px;
}

.vwps-popular-section .vwps-section-title {
  flex: 0 0 100%;
  padding: 0 0 2px;
}

.vwps-popular {
  display: inline-flex;
  align-items: center;
  appearance: none;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: rgba(0,0,0,.035);
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.vwps-popular:hover,
.vwps-popular:focus {
  background: rgba(0,0,0,.06);
  color: inherit;
  text-decoration: none;
}

.vwps-error {
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff4f4;
  color: #9b1c1c;
}

@media (max-width: 640px) {
  .vwps-search {
    width: 100%;
  }

  .vwps-input {
    min-height: 48px;
    border-radius: 13px;
  }

  .vwps-results {
    max-height: min(72vh, 520px);
    border-radius: 14px;
  }
}
