.hsearchrow:has(.live-product-search) { position: relative; }
.live-product-search [hidden] { display: none !important; }
.product-search-clear {
  display: grid;
  width: 28px;
  min-height: 28px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4b5b6e;
  font: 400 21px/1 sans-serif;
  cursor: pointer;
}
.product-search-clear:hover { background: #f0ece3; color: #16202e; }
.product-search-popover {
  position: absolute;
  z-index: 20;
  top: calc(100% - 7px);
  inset-inline-start: var(--home-gutter, 24px);
  width: min(590px, calc(100% - 2 * var(--home-gutter, 24px)));
  overflow: hidden;
  border: 1px solid #e4dacd;
  border-radius: 13px;
  background: #fff;
  color: #16202e;
  box-shadow: 0 13px 32px #16202e2b;
}
.product-search-list {
  max-height: min(46dvh, 360px);
  padding: 5px;
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  list-style: none;
}
.product-search-list:empty, .product-search-message:empty { display: none; }
.product-search-message { padding: 14px 13px; color: #4b5b6e; font-size: 13px; }
.product-search-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 7px;
}
.product-search-option:hover, .product-search-option[aria-selected="true"] { background: #f0ece3; }
.product-search-thumbnail {
  display: block;
  width: 43px;
  height: 41px;
  flex: none;
  overflow: hidden;
  border-radius: 5px;
  background: #f0ece3;
}
.product-search-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-search-text { display: grid; min-width: 0; gap: 2px; }
.product-search-text strong { font-size: 13px; font-weight: 690; line-height: 1.24; overflow-wrap: anywhere; }
.product-search-text small { color: #526171; font-size: 11.5px; line-height: 1.22; }
.product-search-all {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 13px;
  border-top: 1px solid #e4dacd;
  background: #faf8f4;
  color: #16202e;
  font-size: 13px;
  font-weight: 700;
}
.product-search-all:hover { background: #f0ece3; }
.product-search-popover a:focus-visible, .product-search-clear:focus-visible { outline: 2px solid #16202e; outline-offset: -2px; }
.product-search-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .product-search-popover { inset-inline: 16px; width: auto; }
  .live-product-search input { font-size: 16px; }
}
