:root{
    --index-body-background: linear-gradient(-180deg, var(--bg-color-BgWhite), var(--bg-color-BgGray1) 185px);
}
[data-theme='dark']{
    --index-body-background: var(--background-2);
}

.index-container{
    padding: 32px 40px;
}

@media (max-width: 1399px){
    .index-container{
        padding: 32px 60px;
    }
    .video-banner-wrap{
        display: none;
    }
}

@media (max-width: 871px){
    body{
        /* background: -webkit-linear-gradient(-180deg, var(--bg-color-BgWhite), var(--bg-color-BgGray1) 185px); */
        background: var(--index-body-background);
    }
    .biggo-main-container{
        padding-top: 0px;
    }
    .index-container{
        /* padding: 32px 0px; */
        padding: 0px;
    }
}

.biggo-logo{
    padding: 25px 28px 10px;
}
.biggo-logo.mobile{
    padding: 47px 28px 20px;
    justify-content: center;
}
.biggo-search-wrap{
    width: 100%;
    max-width: unset;
}


.service-link-wrap{
    padding: 32px 16px 8px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 0;
}
.service-link-wrap.mobile {
    padding: 36px 16px 8px;
}
.service-link-wrap a{
    color: var(--foreground-1);
    font-size: 11px;
    text-decoration: none;
}
.service-link-wrap .item{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30vw;
    text-align: center;
}
.service-link-wrap .item .ic-wrap{
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background-color: var(--background-3);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}
.service-link-wrap .item .ic-wrap i{
    width: 32px;
    height: 32px;
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
    filter: var(--icon-black-svg);
}
.service-link-wrap .item .ic-wrap.full i{
    width: 42px;
    height: 42px;
    background-size: 42px;
    filter: unset;
}
.service-link-wrap .item .count{
    position: absolute;
    top: -8px;
    /* right: -16px; */
    right: 0px;
    transform: translateX(calc(100% - 7px));
    color: var(--text-color-TextWhite);
    background-color: var(--btn-color-BigGoB3);
    padding: 0 2px;
    border-radius: 3px;
    min-width: 18px;
}
.service-link-wrap .item .count[cashback]{
    background-color: var(--btn-color-BigGoY3);
}
.service-link-wrap pl{
    display: block;
    width: 30vw;
}
.service-link-wrap .indexicon-myfav i{
    background-image: url(/images/menu/index/Save_32.svg);
}
.service-link-wrap .indexicon-searchlog i{
    background-image: url(/images/menu/index/History_32.svg);
}
.service-link-wrap .indexicon-store i{
    background-image: url(/images/menu/index/Store_32.svg);
}
.service-link-wrap .indexicon-cashback i{
    background-image: url(/images/menu/index/Cashback_32.svg);
}
.service-link-wrap .indexicon-hotsale i{
    background-image: url(/images/menu/index/Tabic_flashsale_32.svg);
}
/* .service-link-wrap .indexicon-imgsearch i{
    background-image: url(/images/menu/index/Imgsearch_32.svg);
} */

/* input.main-saerch-bar {
    width: 550px;
    max-width: calc(100vw - 75px);
    height: 40px;
    border-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #edf0f4;
    font-size: 18px;
    border: none;
    outline: none;
    padding-left: 19px;
} */

/* input.main-saerch-bar::-webkit-input-placeholder {
    color: #9fa8aa;
}
input.main-saerch-bar::-moz-placeholder {
    color: #9fa8aa;
}
input.main-saerch-bar:-ms-input-placeholder {
    color: #9fa8aa;
}
input.main-saerch-bar:-moz-placeholder {
    color: #9fa8aa;
} */

.history-click-wrap{
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    min-height: 235px;
    max-height: 235px;
}

.history-click-item {
    min-height: 235px;
    max-height: 235px;
    width: 160px;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 2px;
    border-right: 1px solid var(--stroke-2);
    position: relative;
}

.history-click-item:first-child {
    border-left: 1px solid var(--stroke-2);
}

a + a .history-click-item {
    border-left: none !important;
}

.history-click-item .img-wrap {
    height: 140px;
    max-height: 140px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.history-click-item .img-wrap img{
    width: 100%;
}
.history-click-item .title{
    font-size: 13px;
    color: var(--product-link);
    max-height: 20px;
    margin-top: 4px;
}
.history-click-item .price{
    font-size: 18px;
    font-weight: bold;
    color: var(--product-price);
}
.history-click-item:hover .bicon-close{
    display: flex;
}
.history-click-item .bicon-close{   /*刪除鈕*/
    background-color: var(--opacityBg-color-BgOGray2);
    position: absolute;
    top: 8px;
    right: 0;
    z-index: 1;
    display: none;
    width: 24px;
    height: 24px;
}
.history-click-item .bicon-close:hover{   /*刪除鈕*/
    background-color: var(--bg-color-BgGray4);
}
.history-click-item .img-wrap .bicon-img-search{
    background-color: var(--opacityBg-color-BgOGray2);
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 36px;
    height: 36px;
}
.history-click-item:hover .bicon-img-search{
    display: flex;
}
.history-click-item .bicon-img-search:hover{   /*圖片搜尋鈕*/
    background-color: var(--bg-color-BgGray4);
}
.hot-items-wrap{
    background-color: var(--background-1);
}
.hot-item {
    min-height: 292px;
    max-height: 292px;
    width: 190px;
    padding-left: 15px;
    padding-right: 15px;
    border-right: 1px solid var(--stroke-2);
    position: relative;
}

a + a .hot-item {
    border-left: none !important;
}

.hot-item .img-wrap {
    height: 160px;
    max-height: 160px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hot-item .img-wrap img{
    width: 100%;
}

.hot-item .img-wrap .bicon-img-search{
    background-color: var(--opacityBg-color-BgOGray2);
    display: none;
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 1;
    width: 36px;
    height: 36px;
}
.hot-item .img-wrap:hover .bicon-img-search{
    display: flex;
}
.hot-item .img-wrap .bicon-img-search:hover{
    background-color: var(--bg-color-BgGray4);
}

.history-click-item:hover {
    z-index: 100;
    box-shadow: 0 11px 0px 0px #f5f9fd,
                0 -11px 0px 0px #f5f9fd,
                4px 0 12px -4px rgb(160 174 198 / 30%),
                -4px 0 12px -4px rgb(160 174 198 / 30%);
}

.hot-item:hover {
    z-index: 100;
    background-color: var(--background-1-hover);
    box-shadow: 0 11px 0px 0px #f5f9fd,
                0 -11px 0px 0px #f5f9fd,
                4px 0 12px -4px rgb(160 174 198 / 30%),
                -4px 0 12px -4px rgb(160 174 198 / 30%)
}

.store-hotrate {
    width: 75px;
    height: 26px;
    position: absolute;
    top: 5px;
    right: -5px;
    font-size: 13px;
    color: #fff;
    padding-left: 14px;
    padding-top: 4px;
    line-height: 1;
}

.mobile-list {
    overflow: hidden;
}

#index_biggo_log {
    height: 84px;
    margin-bottom: 15px;
}
/* .nav_biggo_logo::after{right:1px;top:12px} */

.history-item {
    border-radius: 5px;
    background-color: var(--background-3);
    color: var(--foreground-1);
    padding: 4px 10px;
    word-break: break-all;
    border-radius: 15px;
}
.history-item:hover,
.history-item:active {
    background-color: var(--background-3-hover);
}

.cata-item {
    font-size: 14px;
    color: var(--foreground-2);
    min-width: 80px;
    max-width: 80px;
    text-align: center;
    transition: all 0.3s;
}

.cata-item:hover,.cata-item .img:hover{
    color: var(--foreground-1);
}

.cata-item:hover .img,
.cata-item:active .img{
    background-color: rgba(200, 200, 200,0.32);
}

.cata-item .img {
    border-radius: 45px;
    transition: all 0.3s;
}
/*
.cata-item img {
    width: 44px;
    height: 44px;
}

.hover-underline {
    text-decoration: underline;
}

@media (max-width: 1366px) {
    .cata-item-wrap {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}
*/
@media (max-width: 576px) {
    .mobile-list {
        padding: 7px 10px 0 10px;
        overflow-x: auto;
        max-width: 100vw;
        -webkit-overflow-scrolling: touch;
    }

    #index_biggo_log {
        height: 56px;
        margin-top: 10px;
    }
    /* .nav_biggo_logo::after{right:-2px;top:11px;} */

    .search-wrap {
        height: auto;
        min-height: auto;
        padding-top: 68px;
    }

    .history-click-item {
        min-height: auto;
        max-height: 270px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .history-click-item:first-child {
        border-left: 0;
    }

    .history-click-item,
    .hot-item {
        box-shadow: none !important;
        border: none;
        border-right: 1px solid var(--stroke-2);
    }

    .history-click-item {
        width: 190px;
    }
    .history-click-item:hover,
    .history-click-item:active {
        background-color: #EDF0F4;
    }

    .history-click-item .img-wrap {
        height: 160px;
        max-height: 160px;
    }

    .history-click-item .img-wrap img{
        width: 100%;
    }

    .cata-item .img {
        width: 66px;
        height: 66px;
    }

    .history-click-wrap{
        min-height: 270px;
    }
    .history-click-item .del{
        display: block;
    }
}

/* 熱門關鍵字 */
.suggest-tag{
    border-radius: 15px;
    background-color: var(--background-3);
    color: var(--foreground-2);
    padding: 4px 10px;
    margin-right:10px;
    margin-top:10px;
    font-size: 14px;
    cursor: pointer;
    white-space: normal;
    display: inline-block;
    width: fit-content;
    width: -moz-fit-content;
    text-decoration:none;
}
.suggest-tag:hover{
    background-color: var(--background-3-hover);
    color: var(--foreground-2);
    text-decoration:none;
}
.pop-keyword-wrap{
    max-height: 45px;
    overflow: hidden;
    width: 87%;
}
.pop-keyword-more{
    display: inline-flex;
    align-items: center;
    border-radius: 15px;
    background-color: var(--background-1);
    color: var(--foreground-1);
    font-size: 14px;
    padding-left: 12px;
    padding-right: 8px;
    cursor: pointer;
    height: 32px;
    margin-top: 8px;
}


/* 首頁推薦頻道卡 */
.recommend-user-wrap{
    display: flex;
    gap: 12px;
    padding-bottom: 48px;
}
.recommend-user-item{
    padding-top: 28px;
}
.recommend-user-card{
    position: relative;
    width: 150px;
    height: 232px;
    box-shadow: 0px 3px 7px var(--shadow-1);
    border-radius: 8px;
    background: linear-gradient(179.96deg, rgba(36, 52, 63, 0.24) 0.04%, rgba(36, 52, 63, 0.6) 99.96%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    padding: 10px;
}
.recommend-user-wrap .profileimg-wrap{
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
}
.recommend-user-wrap .profileimg{
    width: 72px;
    height: 72px;
    border: 4px solid var(--bg-color-BgGray1);
}
.recommend-user-wrap .profileimg img{
    transform: translateY(0);
}
.recommend-user-wrap .profileimg-wrap div[class*="bicon-badge"]{
    position: absolute;
    width: 18px;
    height: 18px;
    right: 0;
    bottom: 0;
}
.recommend-user-wrap .name{
    width: 100%;
    color: var(--text-color-TextWhite);
    font-size: 13px;
    font-weight: bold;
    text-shadow: 0px 0px 3px rgba(109, 126, 152, 0.75);
    text-align: center;
}
.recommend-user-wrap .atuserid{
    width: 100%;
    color: var(--text-color-TextWhite);
    font-size: 13px;
    text-shadow: 0px 0px 3px rgba(109, 126, 152, 0.75);
    text-align: center;
}
.recommend-user-wrap .subuser-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-shadow: 0px 0px 4px rgba(189, 123, 0, 0.85);
    background-color: var(--btn-color-BigGoY3);
    box-shadow: 0px 3px 7px rgba(237, 175, 32, 0.36);
    border-radius: 6px;
    padding: 3px 0;
    color: var(--text-color-TextWhite);
    font-size: 15px;
    cursor: pointer;
    margin-top: 8px;
}
.recommend-user-wrap .subuser-btn.active{
    background-color: var(--opacityBg-color-BgOGray1);
    color: var(--text-color-TextGray3);
    box-shadow: none;
    text-shadow: none;
}
@media (max-width: 871px){
    .recommend-user-wrap{
        gap: 8px;
        overflow: auto;
        padding-bottom: 24px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .recommend-user-card{
        padding: 8px;
    }
    .recommend-user-wrap .profileimg{
        top: -22px;
        width: 60px;
        height: 60px;
        border: 2px solid var(--bg-color-BgGray1);
    }
    .recommend-user-wrap .atuserid{
        font-size: 12px;
        opacity: 0.7;
    }
    .recommend-user-wrap .subuser-btn{
        font-size: 14px;
        margin-top: 10px;
    }
}
/* 首頁推薦頻道卡 END */