/* Maverick Commerce Suite v2.1.0 - AJAX product search */
.maps-wrap,
.maverick-ajax-product-search,
.maps-auto-wrap{
    position:relative!important;
    width:100%;
    max-width:100%;
    overflow:visible!important;
    z-index:120;
}
.maps-box{position:relative;display:flex;align-items:center;width:100%;}
.maps-input{
    width:100%;
    min-height:46px;
    border:1px solid #d1d5db;
    border-radius:8px;
    padding:0 44px 0 14px;
    background:#fff;
    color:#111827;
    font-size:15px;
    line-height:1.3;
    outline:none;
    box-shadow:0 1px 2px rgba(15,23,42,.04);
}
.maps-input:focus{border-color:#111827;box-shadow:0 0 0 3px rgba(17,24,39,.08);}
.maps-icon{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:22px;line-height:1;color:#6b7280;pointer-events:none;}
.maps-dropdown{
    display:none;
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:calc(100% + 8px)!important;
    width:100%!important;
    max-height:420px;
    overflow:auto!important;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    box-shadow:0 18px 45px rgba(15,23,42,.16);
    z-index:9999;
}
.maps-wrap.maps-active{z-index:9999!important;}
.maps-wrap.maps-active .maps-dropdown.is-open{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
.maps-result{
    appearance:none;
    -webkit-appearance:none;
    display:grid;
    grid-template-columns:48px minmax(0,1fr) 22px;
    gap:11px;
    align-items:center;
    width:100%;
    border:0;
    border-bottom:1px solid #f1f5f9;
    background:#fff;
    color:#111827;
    padding:10px 12px;
    text-align:left;
    cursor:pointer;
    touch-action:manipulation;
    user-select:none;
}
.maps-result:last-child{border-bottom:0;}
.maps-result:hover,.maps-result:focus{background:#f9fafb;outline:0;}
.maps-img img{display:block;width:48px;height:48px;border-radius:8px;object-fit:cover;background:#f3f4f6;}
.maps-content{display:flex;flex-direction:column;gap:3px;min-width:0;}
.maps-name{display:block;color:inherit;font-size:14px;font-weight:700;line-height:1.25;white-space:normal;overflow-wrap:anywhere;}
.maps-price{display:block;color:#4b5563;font-size:13px;line-height:1.3;}
.maps-unit{font-size:.9em;opacity:.75;}
.maps-arrow{font-size:22px;line-height:1;color:#9ca3af;text-align:right;}
.maps-state{padding:13px 14px;color:#6b7280;background:#fff;font-size:14px;}
.maps-dropdown::-webkit-scrollbar{width:8px;}
.maps-dropdown::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:999px;}
.maps-dropdown::-webkit-scrollbar-track{background:#f9fafb;}
body.mcs-mini-cart-visible .maps-wrap,
body.mcs-mini-cart-open .maps-wrap,
body.mcs-product-modal-open .maps-wrap{z-index:1!important;pointer-events:none!important;}
body.mcs-mini-cart-visible .maps-dropdown,
body.mcs-mini-cart-open .maps-dropdown,
body.mcs-product-modal-open .maps-dropdown{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
@media(max-width:760px){
    .maps-input{min-height:44px;font-size:14px;}
    .maps-dropdown{max-height:55vh!important;border-radius:10px;}
    .maps-result{grid-template-columns:42px minmax(0,1fr) 18px;gap:9px;padding:9px 10px;}
    .maps-img img{width:42px;height:42px;border-radius:7px;}
    .maps-name{font-size:13px;}
    .maps-price{font-size:12px;}
}
