
.dem-search { position: relative; }
.dem-lens { position: relative; box-sizing: border-box; inline-size: 1.05rem; block-size: 1.05rem; margin: -0.15rem 0.2rem 0 0; border: 1.6px solid currentColor; border-radius: 50%; }
.dem-lens::after { content: ""; position: absolute; inset-inline-start: 100%; inset-block-start: 100%; inline-size: 0.45rem; block-size: 1.6px; border-radius: 1px; background: currentColor; transform: translate(-0.12rem, -0.05rem) rotate(45deg); transform-origin: 0 50%; }
.dem-search summary { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: var(--wp--custom--radius--small); cursor: pointer; list-style: none; }
.dem-search summary::-webkit-details-marker { display: none; }
.dem-search form { display: flex; align-items: center; border: 1.5px solid var(--wp--preset--color--border-strong, var(--wp--preset--color--border)); border-radius: var(--wp--custom--radius--pill, 999px); background: var(--wp--preset--color--base); }
.dem-search form:focus-within { border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 1px var(--wp--preset--color--primary); }
.dem-search .dem-search-close { display: none; }
.dem-search input[type="search"] { flex: 1; min-inline-size: 0; max-inline-size: 14rem; block-size: 2.625rem; padding: 0 0 0 1rem; border: 0; background: transparent; color: inherit; font: inherit; font-size: var(--wp--preset--font-size--small); outline: none; }
.dem-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.dem-search button { display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.625rem; padding: 0; border: 0; border-radius: var(--wp--custom--radius--pill, 999px); background: transparent; color: inherit; cursor: pointer; }
.dem-search .dem-search-results { position: absolute; z-index: 100; inset-inline-end: 0; inset-block-start: calc(100% + 0.5rem); min-inline-size: 20rem; max-block-size: 65vh; margin: 0; padding: 0.5rem; overflow: auto; border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--medium, var(--wp--custom--radius--small)); background: var(--wp--preset--color--base); color: var(--wp--preset--color--foreground); box-shadow: var(--wp--preset--shadow--raised, 0 2px 10px #0002); }
.dem-search .dem-search-results ul { margin: 0; padding: 0; list-style: none; }
.dem-search .dem-search-results a { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; min-block-size: 44px; padding: 0.375rem 0.5rem; border-radius: var(--wp--custom--radius--small); color: inherit; font-size: var(--wp--preset--font-size--small); text-decoration: none; }
.dem-search .dem-search-results img { inline-size: 2.5rem; block-size: 2.5rem; object-fit: cover; border-radius: var(--wp--custom--radius--x-small, 4px); background: var(--wp--preset--color--surface); }
.dem-search .dem-search-results a > span:last-child:not(:first-child) { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dem-search .dem-search-all a { display: flex; justify-content: center; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.dem-search .dem-search-cat a { grid-template-columns: minmax(0, 1fr) auto; }
.dem-search .dem-search-cat a > span:first-child { font-weight: 600; }
.dem-search .dem-search-cat a > span:last-child { color: var(--wp--preset--color--muted, currentColor); font-size: 0.8125rem; }
.dem-search .dem-search-empty { position: absolute; z-index: 100; inset-inline-end: 0; inset-block-start: calc(100% + 0.5rem); box-sizing: border-box; min-inline-size: 20rem; margin: 0; padding: 0.75rem 1rem; border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--medium, var(--wp--custom--radius--small)); background: var(--wp--preset--color--base); color: var(--wp--preset--color--foreground); font-size: var(--wp--preset--font-size--small); box-shadow: var(--wp--preset--shadow--raised, 0 2px 10px #0002); }
.dem-search .dem-search-results[hidden], .dem-search .dem-search-empty[hidden], .dem-search .dem-search-hint[hidden] { display: none; }
.dem-search .dem-search-hint { position: absolute; z-index: 100; inset-block-start: calc(100% + 3.75rem); box-sizing: border-box; margin: 0; padding: 0.75rem 1rem 1rem; border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--medium, var(--wp--custom--radius--small)); background: var(--wp--preset--color--base); color: var(--wp--preset--color--foreground); box-shadow: var(--wp--preset--shadow--raised, 0 2px 10px #0002); }
.dem-search .dem-search-hint p { margin: 0 0 0.5rem; color: var(--wp--preset--color--muted, currentColor); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.dem-search .dem-search-hint ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.dem-search .dem-search-hint a { display: inline-flex; align-items: center; min-block-size: 44px; padding: 0 1rem; border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--pill, 999px); color: inherit; font-size: var(--wp--preset--font-size--small); text-decoration: none; }
.dem-search .dem-search-hint a:hover { background: var(--wp--preset--color--surface); }
.dem-search .dem-search-empty a { display: inline-block; min-block-size: 44px; line-height: 44px; font-weight: 600; text-underline-offset: 4px; }
.search-no-results .ver-catalog-filters { display: none; }
.dem-search .dem-search-results a:focus-visible, .dem-search .dem-search-results a:hover { background: var(--wp--preset--color--surface); }
.dem-search .dem-search-results a:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: -2px; border-radius: var(--wp--custom--radius--small); }
@media (min-width: 783px) {
  .dem-search > summary { display: none; }
  .dem-search:not([open]) > form { display: flex; }
}
@media (max-width: 782px) {
  .ver-header { position: relative; }
  .dem-search { position: static; }
  .dem-search[open]:not([data-ver-inline]) > summary { background: var(--wp--preset--color--surface); }
  .dem-search[open]:not([data-ver-inline]) form { position: absolute; z-index: 101; inset-inline: 1rem; inset-block-start: calc(100% + 0.5rem); }
  .dem-search input[type="search"] { max-inline-size: none; font-size: 1rem; }
  .dem-search[data-ver-inline] > :not(summary) { display: none; }
  .dem-search :is(.dem-search-results, .dem-search-empty, .dem-search-hint) { inset-inline: -1.5px; inset-block-start: calc(100% + 0.5rem); min-inline-size: 0; }
}



@media (max-width: 79.99em) {
  :root .ver-header-grid:not(.ver-header-stacked) { position: relative; }
  :root .ver-header-grid:not(.ver-header-stacked) .dem-search { position: static; }
  :root .ver-header-grid:not(.ver-header-stacked) .dem-search > summary { display: grid; }
  :root .ver-header-grid:not(.ver-header-stacked) .dem-search:is(:not([open]), [data-ver-inline]) > :not(summary) { display: none; }
  :root .ver-header-grid:not(.ver-header-stacked) .dem-search[open]:not([data-ver-inline]) > summary { background: var(--wp--preset--color--surface); }
  :root .ver-header-grid:not(.ver-header-stacked) .dem-search :is(form, .dem-search-results, .dem-search-empty, .dem-search-hint) { box-sizing: border-box; position: absolute; z-index: 101; inset-inline: auto var(--wp--style--root--padding-right, 1rem); inset-block-start: calc(100% + 0.5rem); inline-size: min(36rem, 100% - 2 * var(--wp--style--root--padding-right, 1rem)); min-inline-size: 0; }
  
  :root .ver-header-grid:not(.ver-header-stacked) .dem-search :is(.dem-search-results, .dem-search-empty, .dem-search-hint) { inset-inline: -1.5px; inset-block-start: calc(100% + 0.5rem); inline-size: auto; }
  :root .ver-header-grid:not(.ver-header-stacked) .dem-search input[type="search"] { max-inline-size: none; font-size: 1rem; }
}


@media (min-width: 48em) and (max-width: 782px) {
  .dem-search[open]:not([data-ver-inline])::before { content: ""; position: absolute; z-index: 99; inset-inline: 0; inset-block-start: 100%; block-size: 100dvh; background: color-mix(in srgb, var(--wp--preset--color--foreground) 40%, transparent); }
  html:has(.dem-search[open]:not([data-ver-inline])) { overflow: hidden; }
}
@media (min-width: 48em) and (max-width: 79.99em) {
  
  @media (max-width: 63.99em) { :root .ver-header-grid:not(.ver-header-stacked) .dem-search form[role="search"] { inset-inline: var(--wp--style--root--padding-left, 1rem) auto; } }
  :root .ver-header-grid:not(.ver-header-stacked) .dem-search[open]:not([data-ver-inline])::before { content: ""; position: absolute; z-index: 99; inset-inline: 0; inset-block-start: 100%; block-size: 100dvh; background: color-mix(in srgb, var(--wp--preset--color--foreground) 40%, transparent); }
  html:has(.ver-header-grid:not(.ver-header-stacked) .dem-search[open]:not([data-ver-inline])) { overflow: hidden; }
}


@media (max-width: 47.99em) {
  html:has(.dem-search[open]:not([data-ver-inline])) { overflow: hidden; }
  :root .dem-search.dem-search.dem-search[open]:not([data-ver-inline])::before { content: ""; position: fixed; z-index: 100; inset: 0; background: var(--wp--preset--color--base); }
  :root .dem-search.dem-search.dem-search[open]:not([data-ver-inline]) > form { position: fixed; z-index: 101; inset: 0.5rem 6rem auto 1rem; inline-size: auto; }
  :root .dem-search.dem-search.dem-search[open]:not([data-ver-inline]) > .dem-search-close { position: fixed; z-index: 101; inset: 0.5rem 0.25rem auto auto; display: grid; place-items: center; min-inline-size: 5.5rem; block-size: 2.875rem; padding: 0 0.75rem; border: 0; background: transparent; color: var(--wp--preset--color--foreground); font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; }
  :root .dem-search.dem-search.dem-search[open]:not([data-ver-inline]) :is(.dem-search-results, .dem-search-empty, .dem-search-hint) { position: fixed; z-index: 101; inset: 3.875rem 0 auto; inline-size: auto; max-block-size: calc(100dvh - 3.875rem); padding: 0.25rem 0.5rem 1rem; border: 0; border-block-start: 1px solid var(--wp--preset--color--border); border-radius: 0; box-shadow: none; }
  :root .dem-search.dem-search.dem-search[open]:not([data-ver-inline]) :is(.dem-search-empty, .dem-search-hint) { padding: 1rem; }
}
