.shop_search{
    background-color: rgba(0,0,0,.15);
    border: 1px solid rgba(0,0,0,.25);
    text-indent: 1rem;
    color: #fff!important;
}
.shop_search::placeholder{
    color: rgba(255,255,255,.6);
}
.shop_search:focus{
    background-color: rgba(0,0,0,.15);
}
.shop_search_icon{
    position: absolute;
    top: 50%;
    left: 5px;
    transform:translate(0,-50%);
    color:white;
}


/* 防止手機focus時 自動縮放頁面 */
@media screen and (max-width: 767px) {
    input {
      font-size: 16px!important;
    }
  }

@media screen and (min-width: 768px){
    .shop_search{
        font-size: 16px;
        text-indent: 1.5rem;
    }
    .shop_search_icon{
        font-size: 16px;
        left: 10px;
    }
}
.search_suggest{
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-height: 0px;
    /* max-height: calc(100vh - 130px); */
    overflow-y: auto;  
    border-radius: 0 0 10px 10px;
}
.search_suggest_content{
    padding: 1rem;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,.15);
}

.blackout{
    position: fixed;
    left:0;
    top:58px;
    width: 100vw;
    height:0;
    /* height: 100vh; */
    background-color: rgba(0,0,0,.3);
    opacity:0;
    /* opacity:1; */
}

.text-highlight{
    color:#F4A460;
}
.bg-highlight{
    background-color:#F4A460;
}
.border-lightgrey{
    border-color: #ced4da;
}
.product_thumbnail{
    width:100px;
    height:100px;
    flex-shrink:0;
}
.product_thumbnail img, .product_thumbnail_sm img{
    max-width: 100%;
    max-height: 100%;
    display:block;
    margin-left: auto;
    margin-right: auto;
}
.product_thumbnail_sm{
    width: 70px;
    height:70px;
    flex-shrink: 0;
}
.product_thumbnail_lg{
    width:100%;
    height: 180px;
}
.product_thumbnail_lg img{
    max-height: 100%;
    max-width: 100%;
    display:block;
    margin-left: auto;
    margin-right: auto;
}
.product_thumbnail_md{
    width:110px;
    height:110px;
    flex-shrink: 0;
}
.product_thumbnail_md img{
    max-width: 100%;
    max-height: 100%;
    display:block;
    margin-left: auto;
    margin-right: auto;
}
.product_img{
    width:100%;
    height: 300px;
}
.product_img img{
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (max-width: 575px){            
    .product_thumbnail{
        width:80px;
        height:80px;
    }
    .product_thumbnail_sm{
        width:60px;
        height:60px;
    }
    .product_thumbnail_md{
        width: 100px;
        height:100px;
    }
    .product_thumbnail_lg{
        height: 160px;
    }
}

.order_process_bar{
    width:100%;
    height: 8px;
    background-color: #DEDEDE;
    border-radius: 10px;;
}
.order_process{
    /* width: 50%; */
    max-width:100%;
    height:100%;
    border-radius: 10px;
    background: linear-gradient(to right,#1A90EE,#2ACCDD);
}
.order_process_point{
    position: absolute;
    width:20px;
    height:20px;
    left:10%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: #fff;
    border: 3px solid #929292;
    border-radius: 50%;
    box-shadow: 0 3px 3px rgba(0,0,0,.15);
}
.order_process_point.active{
    border: 3px solid #1B80D1;
}
.order_process_name{
    position: absolute;
    bottom:-2px;
    left:50%;
    transform:translate(-50%,100%);
    color:#8A8A8A;
    font-size: 13px;
    white-space:nowrap;
}
.order_process_name.active{
    color: #1A90EE;
}
.order_process_time{
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translate(-50%,-100%);
    color:#8A8A8A;
    font-size: 13px;
}

.maincategory{
    position:sticky;
    top:58px;
    left:0;
    height:calc(100vh - 114px);
}

.maincategory_content{
    height:100%;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 0 10px 10px 0;
}
.maincategory_item_text{
    padding: .5rem .75rem;
    border-bottom: 1px solid #ddd;
    border-left: 5px solid transparent;
    display: block;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
}
.maincategory_item>input:checked + .maincategory_item_text{
    color: #1A90EE;
    border-left: 5px solid #1A90EE;
    background-color: #eee;
}
@media screen and (min-width: 576px){
    .maincategory{
        height: unset;
        z-index: 2;
    }
    .maincategory_content{
        overflow-x: auto;
        height: unset;
        border-radius: 10px;
        border-bottom: 1px solid #ddd;
        box-shadow: 0px 2px 5px rgba(0,0,0,.1);
    }
    .maincategory_item_text{
        border-bottom: none;
        border-right: 1px solid #ddd;
        border-left:none;
        border-top: 3px solid transparent;
    }
    .maincategory_item>input:checked + .maincategory_item_text{
        border-left:none;
        border-top: 3px solid #1A90EE;
        border-bottom: 1px solid #eee;
    }
}