/* fix37 — search submit: neat circle inside the pill (desktop + mobile) */
html body .page-header.type23 .block-search,
html body .page-header.type23 #search_mini_form,
html body .page-header.type23 .block-search .control,
html body .page-header.type23 .block-search .field.search {
  position: relative !important;
}

html body .page-header.type23 .block-search .actions,
html body .page-header.type23 #search_mini_form .actions,
html body .block-search .actions {
  position: absolute !important;
  right: 5px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: visible !important;
  z-index: 5 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

html body .page-header.type23 .block-search .action.search,
html body .page-header.type23 #search_mini_form .action.search,
html body .block-search .action.search,
html body .minisearch .action.search,
html body .page-header .action.search {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  transform: none !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #ED1C24 !important;
  color: #fff !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: 0 !important;
  overflow: hidden !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 6 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

html body .block-search .action.search > span,
html body .page-header.type23 .block-search .action.search > span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  font-size: 0 !important;
}

html body .block-search .action.search:before,
html body .page-header.type23 .block-search .action.search:before,
html body .page-header .action.search:before {
  font-family: "porto-icons", "luma-icons", "FontAwesome" !important;
  font-size: 16px !important;
  line-height: 1 !important;
  color: #fff !important;
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  speak: none;
}

html body .block-search .action.search:hover,
html body .page-header.type23 .block-search .action.search:hover {
  background: #c4161d !important;
}

/* Magento disables submit until text — keep full visual weight */
html body .block-search .action.search:disabled,
html body .block-search .action.search[disabled] {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

html body .page-header.type23 #search,
html body .page-header.type23 .block-search input.input-text,
html body .block-search input#search {
  padding-right: 48px !important;
}

@media (max-width: 991px) {
  html body .page-header.type23 .block-search .actions,
  html body .page-header.type23 #search_mini_form .actions,
  html body .block-search .actions {
    width: 40px !important;
    height: 40px !important;
    right: 3px !important;
  }

  html body .page-header.type23 .block-search .action.search,
  html body .page-header.type23 #search_mini_form .action.search,
  html body .block-search .action.search,
  html body .minisearch .action.search,
  html body .page-header .action.search {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
  }

  html body .block-search .action.search:before,
  html body .page-header.type23 .block-search .action.search:before {
    font-size: 18px !important;
  }

  html body .page-header.type23 #search,
  html body .page-header.type23 .block-search input.input-text {
    padding-right: 50px !important;
  }
}
