/* Independent search UI: no product/detail or native cart styles are changed. */
.vr-search{--vr-search-ink:#171717;--vr-search-border:#dedede;color:var(--vr-search-ink);font:400 14px/1.4 VRInstrument,Arial,sans-serif;letter-spacing:0;text-align:left;box-sizing:border-box}
.vr-search *{box-sizing:border-box}
.vr-search[hidden],.vr-search [hidden]{display:none!important}
.vr-search a{color:inherit;text-decoration:none}
.vr-search button,.vr-search input{font:inherit;letter-spacing:0;text-transform:none}
.vr-search button{cursor:pointer;color:inherit;box-shadow:none}
.vr-search button:focus-visible,.vr-search a:focus-visible{outline:2px solid #6540e8;outline-offset:3px}
.vr-search--dialog{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:flex-start;justify-content:center;overflow:hidden}
.vr-search__backdrop{position:absolute;inset:0;width:100%;height:100%;background:rgb(0 0 0 / .26);border:0;padding:0}
.vr-search__panel{position:relative;width:100%;max-height:100dvh;overflow:auto;background:#fff;overscroll-behavior:contain}
.vr-search--dialog .vr-search__panel{max-width:1260px;margin:16px;border-radius:14px;max-height:calc(100dvh - 32px)}
.vr-search__top{display:flex;align-items:center;gap:14px;padding:22px 32px;border-bottom:1px solid #ececec;background:#fff;position:sticky;top:0;z-index:1}
.vr-search__form{display:flex;align-items:center;flex:1;gap:12px;min-width:0;margin:0;border:0;background:#fff}
.vr-search__submit,.vr-search__close{flex:0 0 36px;display:flex;align-items:center;justify-content:center;width:36px;height:40px;padding:7px;border:0;background:transparent;border-radius:4px}
.vr-search__submit svg,.vr-search__close svg{width:24px;height:24px}
.vr-search input.vr-search__input{display:block;width:100%;min-width:0;height:42px;margin:0;padding:4px 0;border:0;border-radius:0;background:#fff;color:#171717;font-size:20px;outline:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}
.vr-search__input::-moz-placeholder{color:#777;opacity:1}
.vr-search__input::placeholder{color:#777;opacity:1}
.vr-search__input::-webkit-search-cancel-button,.vr-search__input::-webkit-search-decoration{-webkit-appearance:none}
.vr-search .vr-search__clear{flex:0 0 auto;font-size:13px;text-decoration:underline;text-underline-offset:3px;border:0;background:transparent;padding:10px 4px}
.vr-search__body{padding:26px 32px 34px}
.vr-search__heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 17px}
.vr-search__heading h2{font:400 16px/1.3 VRInstrument,Arial,sans-serif;margin:0;letter-spacing:0;text-transform:none}
.vr-search__heading>a{font-size:13px;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.vr-search__heading>a span{display:inline-block;margin-left:4px;text-decoration:none}
.vr-search__context{margin:-9px 0 18px;color:#777;font-size:12px}
.vr-search__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 16px}
.vr-search__product{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:7px}
.vr-search__image{width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:10px;background:#f6f6f6}
.vr-search__image img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease}
.vr-search__product:hover img{transform:scale(1.02)}
.vr-search__product-title{font-size:14px;line-height:1.35;overflow-wrap:anywhere;margin-top:3px}
.vr-search__price{font-size:14px;line-height:1.3}
.vr-search__empty{margin:28px 0;color:#666;font-size:14px}
.vr-search__more{display:block;padding:12px 20px;margin:28px auto 0;border:1px solid #171717;border-radius:5px;background:#fff;font-size:14px}
.vr-search__pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:30px 0 0}
.vr-search__pagination>a,.vr-search__pagination>span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:38px;padding:6px 10px;border:1px solid #dedede;border-radius:4px;font-size:14px}
.vr-search__pagination [aria-current="page"]{background:#171717;border-color:#171717;color:#fff}
.vr-search__pagination .vr-search__next{gap:8px;padding-inline:14px}
.vr-search__sr{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}
.vr-search--page{width:min(1260px,100%);margin:0 auto 48px;background:#fff}
.vr-search__page-title{font:400 28px/1.2 VRInstrument,Arial,sans-serif;letter-spacing:0;margin:0;padding:32px 32px 0;text-transform:none}
.vr-search--page .vr-search__top{position:static;margin:20px 32px 0;padding:8px 12px;border:1px solid #dedede;border-radius:6px}
.vr-search--page .vr-search__body{padding-top:30px}
.vr-search--page input.vr-search__input{font-size:18px}
html.vr-search-open,html.vr-search-open body{overflow:hidden!important}
/* Once the replacement is bound, suppress the obsolete SPZ panel if a legacy
   delegated @tap listener also runs. Header links remain usable without JS. */
html.vr-context-search-ready #header-search-model,html.vr-context-search-ready #search-predictive{display:none!important}
@media(max-width:749px){
  .vr-search--dialog .vr-search__panel{margin:0;border-radius:0;max-height:100dvh;min-height:100dvh}
  .vr-search__top{padding:10px 16px;gap:8px}
  .vr-search__form{gap:7px}
  .vr-search input.vr-search__input{height:44px;font-size:18px}
  .vr-search__submit,.vr-search__close{width:30px;flex-basis:30px;padding:4px}
  .vr-search__body{padding:22px 16px 30px}
  .vr-search__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 12px}
  .vr-search__heading{margin-bottom:17px}
  .vr-search__heading h2{font-size:16px}
  .vr-search__product-title,.vr-search__price{font-size:13px}
  .vr-search__image{border-radius:8px}
  .vr-search__page-title{padding:25px 16px 0;font-size:25px}
  .vr-search--page .vr-search__top{margin:18px 16px 0;padding:4px 8px}
  .vr-search--page .vr-search__body{padding-top:25px}
}
@media(prefers-reduced-motion:reduce){.vr-search__image img{transition:none}}
