@charset "utf-8";

.custom-radio .custom-control-label::after, .custom-radio .custom-control-input:checked ~ .custom-control-label::after{
    border-width: 1px;
    border-radius: 50%;
}

.product-action-vertical, .product-action-horizontal{
    display: none;
}

/*** header ***/
.header-top .header-right a{
    font-weight: bold;
}

#header-middle{
    padding: 1.5rem 0;
}

#header-middle .header-left{
    flex: none;
    display: block;
    padding: 0 5rem;
    position: relative;
    text-align: center;
}
@media (max-width: 767px){
    #header-middle .header-left{
        padding-right: 3rem;
    }
}
#header-middle .mobile-menu-toggle{
    position: absolute;
    left: 3px;
    margin: 6px 0;
}

#header-middle .logo{
    margin: 0;
}
.logo img{
    display: inline;
    height: 36px;
    width: auto;
}
@media (min-width: 991px) {
    .logo{
        margin: 0;
    }
    .logo img{
        height: auto;
    }
}

#header-center{
    flex: 1;
    z-index: 1100;
    background: #fff;
}
#header-center.fixed{
    padding: 1.5rem;
}

.header-search{
    max-width: none;
}

.header-search input.form-control{
    margin: 0;
}
#header-center .header-search input.form-control:focus{
    border-color: #e42025;
}

@media (max-width: 500px) {
    #header-middle .container{
        display: block;
    }
    #header-middle .header-left{
        margin-bottom: 1rem;
    }
}

#header-middle img{
    max-height: 80px;
}

#header-middle .header-right{
    justify-content: flex-end;
}

.header-bottom{
    font-size: 1.6rem;
    border-top: 1px solid #eee;
}
.header-bottom.fixed{
    border-top: none;
}

.header-bottom a{
    margin-right: 2vw;
}

.header-bottom .category-dropdown > a{
    min-width: 17vw;
}
.header-bottom .category-dropdown > a::after{
    display: none;
}

/** add to cart **/
.cart-dropdown .cart-label{
    display: block;
}

.cart-dropdown .product-name{
    color: #333;
}

/*** footer ***/
@media (max-width: 992px) {
    .sticky-footer{
        display: flex;
    }

    .footer{
        margin-bottom: 74px;
    }
}

#scroll-top{
    display: flex;
}

/*** mobile menu ***/
.mobile-menu-container{
    max-width: none;
    width: 296px;
}

.mobile-menu-container .tab-content{
    width: 100%;
    padding: 0;
}

.mobile-menu-container, .mobile-menu-container .mobile-menu, .mobile-menu-container .nav-link, .mobile-menu-container .input-wrapper .btn-search{
    background: #fff;
    color: #000;
    font-size: 1.5rem;
}

.mobile-menu li .toggle-btn{
    padding: 1.3rem 0.6rem 1.3rem 100%;
}

/*** home ***/
body.home .header-bottom{
    display: none;
}

body.home .page-wrapper, body.home .main-content{
    max-width: 100%;
}
@media (min-width: 1201px) {
    body.home #header-middle .mobile-menu-toggle{
        display: none;
    }

    body.home .mobile-menu-container{
        visibility: visible;
        transform: translateX(0);
    }
    body.home .page-wrapper{
        max-width: calc(100% - 296px);
        margin-left: 296px;
    }
    body.home #header-middle.sticky-content.fixed{
        left: 296px;
    }
}

/** ohgo_slogan **/
#home-shortcut-slogan{
    margin: 3rem 0;
}
.home-shortcut{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 45px 0;
}
@media (max-width: 767px) {
    #home-shortcut-slogan{
        margin: 0;
    }
    .home-shortcut{
        padding: 20px 0;
    }
}

.home-shortcut a, .home-shortcut span{
    cursor: pointer;
    color: #333;
}

.home-shortcut i{
    font-size: 3.5rem;
}

/** popular_products **/
.title-deals{
    padding: 0;
}

/*** vendors ***/
.store-grid .store-content{
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.3rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.store-title{
    margin-bottom: 0.9rem;
}
.vendors .store-content .seller-info-list{
    color: #fff;
    padding-left: 2px;
}

.store-footer{
    text-align: right;
}

.store-footer .seller-brand{
    left: calc((100% - 20rem)/3);
}

/*** merchant ***/
.store-wcfm-banner .store-content{
    min-height: auto;
}

.store-wcfm-banner .seller-info-list li{
    display: inline-block;
    margin-right: 4rem;
}
.store-wcfm-banner .seller-info-list li:last-child{
    margin-right: 0;
}
@media (max-width: 500px) {
    .store-wcfm-banner .seller-info-list li{
        display: block;
        margin-right: 0;
    }
}

/*** product ***/
.product-variants{
    margin: 2rem 0;
    font-size: 1.4rem;
}
.product-variants > *{
    margin-right: 1rem;
}
.product-variants input[type="radio"]{
    display: none;
}
.product-variants input[type="radio"]~span{
    padding: 5px;
    border: 1px solid #ccc;
}
.product-variants input[type="radio"]:checked ~ span, .product-variants input[type="radio"]:hover ~ span{
    border-color: #f00;
}

/** aside **/
.product .ohgo-slogan{
    margin-bottom: 3rem;
}

/*** cart ***/
.cart-table tr{
    border-bottom: 1px solid #eee;
}
.cart-table td, .cart-table th{
    padding: 1rem;
}
.cart-table .product-thumbnail{
    width: 7rem;
    padding: 1rem;
}

.order-table .product-name{
    white-space: normal;
}

/*** terms ***/
.terms-chapter > h4{
    margin: 0.8em 0;
    padding: 0.2em 0.6em;
    background: #ccc;
}
.terms-chapter > ol{
    list-style: trad-chinese-informal;
}

/*** faq ***/
.faq .main-content .widget{
    margin-bottom: 1rem;
}

.faq .main-content .widget-title{
    padding-bottom: 0.7rem;
    padding-left: 3rem;
    white-space: normal;
}
.faq .main-content .widget-title::before{
    content: "Q";
    display: inline-block;
    vertical-align: bottom;
    background: #e42025;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    padding: 5px;
    font-weight: normal;
    margin-right: 0.3rem;
    margin-left: -2.5rem;
}

.faq-page .sidebar-toggle{
    line-height: 1.2;
    padding: 5px;
}

/*** cms ***/
.cms.page-content{
    background-image: url(../images/demos/demo13/about-us.jpg);
    background-position-x: center;
    background-repeat: no-repeat;
    padding: 8rem 1rem;
}
.join-vendor .cms.page-content{
    background-image: url(../images/demos/demo13/about-us2.jpg);
}

.cms-content{
    min-height: 500px;
    max-width: 800px;
    margin: 5rem auto;
    padding: 4%;
    background: #fff;
    border: solid 1px #ddd;
}

.cms-content li{
    margin: 0.3rem 0;
}

/*** contact ***/
.form-table tr{
    border-bottom: 1px dashed #aaa;
}

.form-table th{
    background: #f9f9f9;
    width: 150px;
}

.form-table td{
    padding: 1rem 0 1rem 1rem;
}

.join-vendor textarea{
    resize: vertical;
}

/*** about us ***/
.about-us .cms-content h2{
    border-left: #d00 solid 5px;
    padding-left: 1rem;
}

.about-us .cms-content a{
    padding: 1rem 2rem;
    border: #d00 solid 2px;
    border-radius: 3px;
    color: #d00;
    font-weight: bold;
}
.about-us .cms-content a:hover{
    background: #d00;
    color: #fff;
}
