.commercial-search-panel{
position:absolute;top:100%;left:0;right:0;
z-index:10000;background:white;color:#171717;
border:1px solid #ddd;border-radius:12px;
box-shadow:0 12px 35px #0002;
max-height:65vh;overflow:auto;text-align:left
}
.commercial-search-panel[hidden]{display:none!important}
.commercial-search-heading{
padding:14px;font-weight:800;font-size:13px
}
.commercial-search-item{
display:grid;
grid-template-columns:64px minmax(0,1fr) auto;
gap:12px;align-items:center;padding:10px;
border-top:1px solid #eee
}
.commercial-search-item img{
width:64px;height:64px;object-fit:contain
}
.commercial-search-item:hover{background:#fafafa}
.commercial-search-title{
font-size:13px;font-weight:700;line-height:1.4
}
.commercial-search-store{
font-size:11px;color:#666;margin-top:5px
}
.commercial-search-price{
font-size:16px;font-weight:900;margin-bottom:5px
}
.commercial-search-buy{
display:block;background:#d7fa38;color:#171717;
padding:9px;font-size:10px;font-weight:900;
text-decoration:none;text-align:center
}
.commercial-search-all{
display:block;text-align:center;padding:15px;
background:#171717;color:white;font-weight:800;
font-size:13px;text-decoration:none
}
@media(max-width:600px){
.commercial-search-item{
grid-template-columns:48px minmax(0,1fr) auto;
gap:7px;padding:8px
}
.commercial-search-item img{width:48px;height:48px}
.commercial-search-title{font-size:12px}
}


/* Compact commercial search */
header .search{
    flex:0 1 580px!important;
    width:100%;
    max-width:580px!important;
    min-width:0;
    margin-left:auto;
    margin-right:auto;
}
header .search input{
    min-width:0;
    font-size:15px;
    padding-top:12px!important;
    padding-bottom:12px!important;
}
header .search button[type="submit"]{
    padding:12px 18px!important;
    font-size:12px;
}
.commercial-search-panel{
    max-height:72vh;
}
.search-discovery{
    background:#fafafa;
    padding:4px 14px 12px;
    border-bottom:1px solid #eee;
}
.discovery-heading{
    font-size:11px;
    font-weight:900;
    letter-spacing:.6px;
    margin:12px 0 7px;
}
.discovery-links{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}
.discovery-links a{
    display:inline-block;
    border:1px solid #ddd;
    background:white;
    color:#171717;
    padding:7px 10px;
    border-radius:20px;
    font-size:12px;
    text-decoration:none;
}
.discovery-links a:hover{
    background:#d7fa38;
    border-color:#d7fa38;
}
@media(max-width:760px){
    header .search{
        flex:1 1 100%!important;
        max-width:100%!important;
    }
}


/* Compact search interface */
html body header .compact-search-interface{
position:relative!important;
display:flex!important;
align-items:center!important;
flex:0 1 460px!important;
width:100%!important;
max-width:460px!important;
min-width:0!important;
height:48px!important;
margin-left:auto!important;
margin-right:auto!important;
padding:0!important;
border:0!important;
background:transparent!important;
}

html body header .compact-search-input{
box-sizing:border-box!important;
width:100%!important;
max-width:100%!important;
min-width:0!important;
height:48px!important;
margin:0!important;
padding:0 58px 0 20px!important;
border:1px solid #d5d5d5!important;
border-radius:28px!important;
background:#f7f7f7!important;
color:#171717!important;
font-size:14px!important;
box-shadow:none!important;
outline:none!important;
}

html body header .compact-search-input:focus{
border-color:#171717!important;
background:white!important;
}

html body header .compact-search-button{
position:absolute!important;
display:flex!important;
align-items:center!important;
justify-content:center!important;
right:5px!important;
top:5px!important;
width:38px!important;
height:38px!important;
min-width:38px!important;
margin:0!important;
padding:0!important;
border:0!important;
border-radius:50%!important;
background:#d7fa38!important;
color:#171717!important;
cursor:pointer!important;
}

html body header .commercial-search-panel{
width:100%!important;
min-width:100%!important;
top:calc(100% + 8px)!important;
}

@media(max-width:760px){
html body header .compact-search-interface{
flex:1 1 100%!important;
width:100%!important;
max-width:460px!important;
}
}


/* Responsive centred header */
html body header .centred-commercial-header{
display:flex!important;
flex-direction:column!important;
align-items:center!important;
justify-content:center!important;
gap:15px!important;
width:100%!important;
padding-top:18px!important;
padding-bottom:18px!important;
box-sizing:border-box!important;
}

html body header .centred-commercial-logo{
display:block!important;
margin:0 auto!important;
text-align:center!important;
}

html body header .compact-search-interface{
flex:none!important;
width:calc(100% - 24px)!important;
max-width:640px!important;
height:50px!important;
margin:0 auto!important;
}

html body header .compact-search-input{
height:50px!important;
font-size:15px!important;
}

html body header .compact-search-button{
width:40px!important;
height:40px!important;
}

html body header .commercial-search-panel{
width:100%!important;
max-height:60vh!important;
}

@media(max-width:600px){
html body header .centred-commercial-header{
gap:10px!important;
padding-top:12px!important;
padding-bottom:12px!important;
}
html body header .compact-search-interface{
width:100%!important;
max-width:100%!important;
height:46px!important;
}
html body header .compact-search-input{
height:46px!important;
font-size:14px!important;
}
html body header .compact-search-button{
width:36px!important;
height:36px!important;
}
}
