@media (max-width: 991.98px){

  body.smartsearch-open{
    overflow:hidden;
    touch-action:none;
  }

  body.smartsearch-open::before{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:99998;
    pointer-events:none;
  }

  #smartsearch-overlay img.smartsearch-img{
    height:160px;
    margin:6px 0;
  }

  #smartsearch-overlay .smartsearch-section-title{
    font-size:13px;
  }

  #smartsearch-overlay.smartsearch-dd{
    position:fixed;
    inset:0 0 4dvh 0;
    inset:0 0 4vh 0;
    width:100vw;
    max-width:100vw;
    height:auto;
    max-height:none;
    border-radius:0;
    border-left:0;
    border-right:0;
    box-shadow:none;
    z-index:99999;
    display:flex;
    flex-direction:column;
    transform:none;
    margin:0;
    touch-action:manipulation;
    isolation:isolate;
    background:#fff;
    -webkit-overflow-scrolling:touch;
  }

  #smartsearch-overlay[aria-hidden="true"]{
    pointer-events:none !important;
    visibility:hidden !important;
  }

  #smartsearch-overlay[aria-hidden="false"]{
    pointer-events:auto !important;
    visibility:visible !important;
  }

  #smartsearch-overlay .smartsearch-head{
    position:sticky;
    top:0;
    z-index:20;
    background:#fff;
    border-bottom:1px solid rgba(0,0,0,.06);
    transition:box-shadow .18s ease,border-color .18s ease;
  }

  #smartsearch-overlay .smartsearch-head.is-scrolled{
    box-shadow:0 10px 22px rgba(0,0,0,.08);
  }

  #smartsearch-overlay .smartsearch-head-title{
    font-weight:700;
    letter-spacing:.6px;
    font-size:12px;
    text-transform:uppercase;
    color:rgba(0,0,0,.55);
    margin-bottom:6px;
  }

  #smartsearch-overlay [data-action="close"]{
    pointer-events:auto;
    position:relative;
    z-index:10;
    touch-action:manipulation;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
  }

  #smartsearch-overlay .smartsearch-head-right{
    display:flex;
    align-items:center;
    gap:10px;
  }

  #smartsearch-overlay .smartsearch-cart{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:10px;
    text-decoration:none;
    color:#C00036;
    background:rgba(192,0,54,.06);
    box-shadow:inset 0 0 0 1px rgba(192,0,54,.18);
    -webkit-tap-highlight-color:rgba(0,0,0,0);
  }

  #smartsearch-overlay .smartsearch-cart .icon-shopping-cart{
    font-size:18px;
    line-height:1;
  }

  #smartsearch-overlay .smartsearch-cartqty{
    position:absolute;
    top:-6px;
    right:-6px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:999px;
    background:#C00036;
    color:#fff;
    font-size:11px;
    line-height:18px;
    text-align:center;
    font-weight:700;
    box-shadow:0 6px 14px rgba(0,0,0,.14);
  }

  #smartsearch-overlay .smartsearch-cartqty.hidden{
    display:none !important;
  }

  #smartsearch-overlay .smartsearch-qwrap{
    position:relative;
  }

  #smartsearch-overlay .smartsearch-head-input{
    width:100%;
    height:36px;
    padding:0 56px 0 14px;
    font-size:16px;
    font-weight:600;
    font-family:inherit;
    color:rgba(0,0,0,.88);
    background:#fff;
    border:1.5px solid rgba(0,0,0,.14);
    border-radius:12px;
    outline:none;
    box-shadow:none;
    -webkit-appearance:none;
    appearance:none;
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
  }

  #smartsearch-overlay .smartsearch-head-input::placeholder{
    color:rgba(0,0,0,.40);
    font-weight:500;
  }

  #smartsearch-overlay .smartsearch-head-input:hover{
    border-color:rgba(0,0,0,.22);
  }

  #smartsearch-overlay .smartsearch-head-input:focus{
    border-color:#C00036;
    box-shadow:0 0 0 3px rgba(192,0,54,.14);
  }

  #smartsearch-overlay .smartsearch-head-input:focus-visible{
    outline:none;
  }

  #smartsearch-overlay .smartsearch-head-input::-webkit-search-cancel-button{
    -webkit-appearance:none;
    appearance:none;
    display:none;
  }

  #smartsearch-overlay .smartsearch-qclear{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    width:26px;
    height:26px;
    border-radius:999px;
    border:1px solid rgba(192,0,54,.22);
    background-color:rgba(192,0,54,.06);
    padding:0;
    cursor:pointer;
    touch-action:manipulation;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
  }

  #smartsearch-overlay .smartsearch-qclear::before{
    content:"";
    display:block;
    width:100%;
    height:100%;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='%23C00036' d='M18.3 5.71a1 1 0 0 0-1.41 0L12 10.59 7.11 5.7A1 1 0 1 0 5.7 7.11L10.59 12l-4.9 4.89a1 1 0 1 0 1.42 1.42L12 13.41l4.89 4.9a1 1 0 0 0 1.42-1.42L13.41 12l4.9-4.89a1 1 0 0 0-.01-1.4Z'/%3E%3C/svg%3E") no-repeat center/18px 18px;
  }

  #smartsearch-overlay .smartsearch-qclear:active{
    background-color:rgba(192,0,54,.12);
    border-color:rgba(192,0,54,.30);
  }

  #smartsearch-overlay .smartsearch-head-input:placeholder-shown + .smartsearch-qclear{
    opacity:0;
    pointer-events:none;
  }

  #smartsearch-overlay .smartsearch-body{
    flex:1 1 auto;
    overflow-y:auto;
    overflow-x:hidden;
    max-height:none;
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    padding:12px 14px 24px;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
  }

  #smartsearch-overlay [data-role="prods"]{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:2px;
  }

  #smartsearch-overlay .smartsearch-prod__name{
    font-weight:700;
    line-height:1.15;
    letter-spacing:.1px;
  }

  #smartsearch-overlay .smartsearch-foot{
    position:sticky;
    bottom:0;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(10px);
    padding:6px 12px 2px;
    border-top:1px solid rgba(0,0,0,.06);
    z-index:6;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
  }

  #smartsearch-overlay .smartsearch-more{
    width:100%;
    min-width:0;
    padding:8px 10px;
    border-radius:14px;
    touch-action:manipulation;
  }

  #smartsearch-overlay .smartsearch-footnote{
    position:static;
    left:auto;
    bottom:auto;
    font-size:9px;
    letter-spacing:.3px;
    color:rgba(0,0,0,.45);
    align-self:flex-end;
  }

  #smartsearch-overlay a.smartsearch-item{
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    touch-action:manipulation;
  }

  #smartsearch-overlay a.smartsearch-item:hover{
    transform:none;
  }

  .smartsearch-hint{
    margin-top:10px;
    font-style:italic;
    font-size:12px;
    line-height:1.25;
    color:rgba(0,0,0,.60);
  }

}