.yv-s,.yv-s *,.yv-s *::before,.yv-s *::after{box-sizing:border-box}
.yv-s{
  --yv-main:#013168;
  --yv-line:#e4e4e4;
  --yv-btn-w:155px;
  font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  width:100%;max-width:100%;margin:0 auto;color:#000;
}

/* tabs */
.yv-s .yv-tabs{display:flex;margin:0;padding:0;width:100%}
.yv-s .yv-tab{
  appearance:none;-webkit-appearance:none;cursor:pointer;margin:0;
  height:40px;padding:0 24px;border:0;border-radius:0;box-shadow:none;
  font-family:inherit;font-size:15px;font-weight:600;line-height:1;letter-spacing:0;text-transform:none;
  background:var(--yv-main);color:#fff;transition:background .15s,color .15s;
}
.yv-s .yv-tab[aria-selected="true"]{background:#fff;color:var(--yv-main)}
/* only the OUTER top corners of the tab group are rounded (5px) – nothing between the tabs */
.yv-s .yv-tab:first-child{border-top-left-radius:5px}
.yv-s .yv-tab:last-child{border-top-right-radius:5px}
.yv-s .yv-tab:focus-visible{outline:2px solid #fff;outline-offset:-3px}

/* input + button
   One grid row = the whole filter width: [ input (takes what is left) ][ gap ][ button (fixed) ].
   The button's column is reserved first, so the input can never push it outside the widget. */
.yv-s .yv-form{display:grid;grid-template-columns:minmax(0,1fr) var(--yv-btn-w);align-items:start;gap:10px;margin:0;width:100%;max-width:100%}
.yv-s .yv-box{position:relative;min-width:0;width:100%;max-width:100%;margin:0}
.yv-s .yv-in{
  display:block;width:100%;min-width:0;max-width:100%;height:41px;margin:0;padding:0 12px;
  font-family:inherit;font-size:15px;font-weight:400;color:var(--yv-main);
  background:#fff;border:0;border-radius:4px;box-shadow:none;outline:0;
}
.yv-s .yv-in::placeholder{color:var(--yv-main);opacity:.85}
.yv-s .yv-in:focus{outline:0;box-shadow:0 0 0 2px rgba(255,255,255,.35)}
.yv-s .yv-btn{
  appearance:none;-webkit-appearance:none;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  width:100%;min-width:0;max-width:100%;height:41px;margin:0;padding:0 16px;border:0;border-radius:4px;box-shadow:none;
  font-family:inherit;font-size:15px;font-weight:500;line-height:1;letter-spacing:0;text-transform:none;
  background:var(--yv-main);color:#fff;transition:filter .15s;
}
.yv-s .yv-btn:hover{filter:brightness(1.15);color:#fff}
.yv-s .yv-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* live suggestions */
.yv-s .yv-dd{
  position:absolute;z-index:9999;top:calc(100% + 9px);left:0;right:0;
  background:#fff;border:1px solid var(--yv-line);border-radius:4px;overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.14);text-align:left;
}
.yv-s .yv-dd[hidden]{display:none}
.yv-s .yv-list{max-height:352px;overflow-y:auto;overscroll-behavior:contain}
.yv-s .yv-item{
  display:flex;align-items:center;gap:16px;padding:12px;text-decoration:none;color:#000;
  border-bottom:1px solid #f0f0f0;cursor:pointer;
}
.yv-s .yv-item:last-child{border-bottom:0}
.yv-s .yv-item:hover,.yv-s .yv-item.is-active{background:#f5f7fa;color:#000}
.yv-s .yv-thumb{flex:0 0 64px;width:64px;height:64px;border-radius:6px;background:#e9edf2 center/cover no-repeat}
.yv-s .yv-meta{min-width:0;display:flex;flex-direction:column;gap:6px}
.yv-s .yv-title{font-size:15px;font-weight:600;line-height:1.25;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yv-s .yv-price{font-size:15px;font-weight:600;line-height:1.2;color:#000}
.yv-s .yv-none{padding:18px 16px;font-size:14px;color:#555}
.yv-s .yv-foot{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:44px;padding:0 16px;border-top:1px solid var(--yv-line);background:#fff;
}
.yv-s .yv-count{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:300;color:#000}
.yv-s .yv-all{font-size:14px;font-weight:700;color:var(--yv-main);text-decoration:none;white-space:nowrap}
.yv-s .yv-all:hover{text-decoration:underline;color:var(--yv-main)}

@media(max-width:767px){
  .yv-s .yv-form{grid-template-columns:minmax(0,1fr);gap:12px}
  .yv-s .yv-btn{height:52px}
  .yv-s .yv-tab{height:38px}
  .yv-s .yv-in{height:42px}
  .yv-s .yv-thumb{flex-basis:56px;width:56px;height:56px}
}
