/* FULLSCREEN SEARCH */
.dialog-search-content{
position:fixed !important;
top:0 !important;
left:0 !important;
width:100vw !important;
height:100vh !important;
max-width:100vw !important;
max-height:100vh !important;
border-radius:0 !important;
margin:0 !important;
padding:0 !important;
background:#fff !important;
z-index:999999 !important;
display:flex;
flex-direction:column;
overflow:hidden;
}

.dialog-search-header{
position:sticky;
top:0;
background:#fff;
z-index:10;
padding:15px 20px;
border-bottom:1px solid #eee;
}

.dialog-search-main{
flex:1;
overflow-y:auto;
background: linear-gradient(320deg, #fff, #38b057);
padding:20px;
-webkit-overflow-scrolling:touch;
}
.dialog-search-content{
transform:translateY(100%);
transition:0.35s ease;
}
.dialog-search-content.active{
transform:translateY(0);
}

.popular-categories-wrapper{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:14px;
margin-top:10px;
}
.popular-category-card{
background:#fff;
border-radius:16px;
padding:12px 6px;
text-align:center;
box-shadow:0 4px 14px rgba(0,0,0,0.08);
transition:0.25s;
text-decoration:none;
}
.popular-category-card:hover{
transform:translateY(-4px);
box-shadow:0 8px 22px rgba(0,0,0,0.15);
}
.popular-category-card img{
width:60px;
height:60px;
object-fit:contain;
margin:auto;
display:block;
}
.popular-category-card span{
display:block;
margin-top:8px;
font-size:13px;
font-weight:500;
color:#333;
}
@media(max-width:768px){
.popular-categories-wrapper{
grid-template-columns:repeat(4,1fr);
gap:12px;
}
.popular-category-card img{
width:50px;
height:50px;
}
.popular-category-card span{
font-size:12px;
}
}

.search-field-wrap{ position:relative; }
.search-field-wrap input{
width:100%;
color:black;
padding:14px 60px 14px 18px;
border-radius:30px;
border:1px solid #ddd;
}

.manao-voice-trigger{
position:absolute;
right:8px;
top:8%;
width:40px;
height:40px;
border:none !important;
border-radius:50% !important;
background:transparent !important;
box-shadow:none !important;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
padding:0;
appearance:none;
-webkit-appearance:none;
outline:none;
}
.manao-voice-trigger i{
display:block;
line-height:1;
color:white;
font-size:18px;
}
.manao-voice-trigger:hover{
background:rgba(31,140,57,0.08);
}
button.manao-voice-trigger{
background:none !important;
box-shadow:none !important;
}

.manao-voice-overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,0.35);
backdrop-filter:blur(5px);
z-index:99998;
}

.manao-voice-sheet{
position:fixed;
left:0;
bottom:-100%;
width:100%;
height:72vh;
background:linear-gradient(7deg,#fff,#38b057);
border-radius:28px 28px 0 0;
box-shadow:0 -10px 35px rgba(0,0,0,0.25);
z-index:99999;
transition:.35s ease;
padding:28px 22px;
text-align:center;
}
.manao-voice-sheet.active{ bottom:0; }

.manao-drag{
width:45px;
height:5px;
background:#ddd;
border-radius:20px;
margin:0 auto 18px;
}
.manao-voice-close{
position:absolute;
top:14px;
right:18px;
font-size:22px;
cursor:pointer;
}
.manao-title{
font-size:22px;
font-weight:700;
color:black;
}
.manao-voice-transcript{
background:white;
border-radius:10px;
padding:20px;
margin:25px 0 15px;
font-size:15px;
color:#22993f;
min-height:60px;
display:flex;
align-items:center;
justify-content:center;
}
.manao-status{
font-size:13px;
color:#333;
margin-top:35px;
min-height:20px;
}
.manao-volume-bars{
display:flex;
justify-content:center;
align-items:flex-end;
gap:4px;
height:5px;
margin-top:30px;
opacity:0;
transition:.3s;
}
.voice-bar{
width:4px;
background:#22993f;
border-radius:3px;
height:5px;
}

.manao-recent-search{
margin-top:15px;
}
.manao-recent-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
}
.manao-clear-recent{
font-size:13px;
color:red;
cursor:pointer;
}
#manao-recent-list{
list-style:none;
padding:0;
margin:0;
}
#manao-recent-list li{
display:flex;
align-items:center;
gap:10px;
padding:10px 0;
border-bottom:1px solid #eee;
font-size:15px;
}
#manao-recent-list li i{
color:#5e5e5e;
cursor:pointer;
}
.manao-recent-item{
flex:1;
color:black;
cursor:pointer;
}

.recent-products-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:12px;
margin-top:10px;
}
.recent-product-card{
background:#fff;
border-radius:14px;
padding:10px 6px;
text-align:center;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
text-decoration:none;
}
.recent-product-card img{
width:55px;
height:55px;
object-fit:contain;
margin:auto;
display:block;
}
.recent-product-card span{
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
text-overflow:ellipsis;
line-height:1.3;
height:32px;
font-size:9px;
margin-top:3px;
color:#333;
}
.manao-search-wrapper h4{
font-size:16px;
font-weight:600;
color:black;
font-family:poppins;
margin:20px 0 12px;
display:flex;
align-items:center;
justify-content:space-between;
position:relative;
letter-spacing:0.3px;
}
.manao-search-wrapper h4::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:38px;
height:3px;
border-radius:10px;
}
.manao-recent-search,
.manao-most-ordered,
.manao-recent-products{
background:#fffbfb;
padding:14px 16px;
border-radius:18px;
margin-bottom:18px;
box-shadow:0 4px 16px rgba(0,0,0,0.06);
transition:0.25s;
}
.manao-recent-search:hover,
.manao-most-ordered:hover,
.manao-recent-products:hover{
box-shadow:0 8px 22px rgba(0,0,0,0.09);
transform:translateY(-2px);
}
.manao-search-wrapper h4{
border-bottom:2px solid #22993f;
padding-bottom:8px;
}
.manao-search-wrapper h4 span{
background:rgba(31,140,57,0.1);
color:#1f8c39;
padding:3px 10px;
border-radius:20px;
font-size:12px;
font-weight:600;
}
