@charset "utf-8";

/*
 * Copyright 2009-2024 shopxx.net. All rights reserved.
 * Support: http://www.shopxx.net
 * License: http://www.shopxx.net/license
 *
 * Style - Base
 * Version: 9.2
 */

/* ---------- base ---------- */
a:hover,
a:focus {
    color: var(--theme-color-1000);
}

body {
    font-size: 0.75rem;
}

/* ---------- color ---------- */
.text-theme {
    color: var(--theme-color-1000);
}

.text-theme-light {
    color: var(--theme-color-700);
}

.text-theme-lighter {
    color: var(--theme-color-200);
}

.bg-theme {
    background-color: var(--theme-color-1000);
}

.bg-theme-light {
    background-color: var(--theme-color-700);
}

.bg-theme-lighter {
    background-color: var(--theme-color-200);
}

.linear-gradient-bg-theme {
    color: #ffffff;
    background-color: var(--theme-color-1000);
    background: -webkit-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: -moz-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    transition: opacity 0.3s;
}

.linear-gradient-bg-theme:hover {
    color: #ffffff;
    opacity: 0.8;
}

/* ---------- button ---------- */
.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.btn-default:active:hover,
.btn-default:active:focus,
.btn-default:active.focus,
.btn-default.active:hover,
.btn-default.active:focus,
.btn-default.active.focus,
.open > .dropdown-toggle.btn-default,
.open > .dropdown-toggle.btn-default:hover,
.open > .dropdown-toggle.btn-default:focus,
.open > .dropdown-toggle.btn-default.focus {
    color: var(--theme-color-1000);
    box-shadow: 0 0 8px var(--theme-color-200);
    border-color: var(--theme-color-1000);
    background-color: #ffffff;
}

.btn-theme,
.btn-theme:focus,
.btn-theme:active:focus,
.btn-theme.active:focus,
.btn-theme.focus,
.btn-theme:active.focus,
.btn-theme.active.focus,
.btn-theme:active,
.btn-theme.active {
    color: #ffffff !important;
    outline: none;
    background-color: var(--theme-color-1000);
    background: -webkit-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: -moz-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    transition: opacity 0.3s;
}

.btn-theme:hover {
    opacity: 0.8;
}

.btn-plain-theme {
    color: var(--theme-color-1000);
    border-color: var(--theme-color-1000);
    background-color: #ffffff;
    transition: color 0.3s, background-color 0.3s;
}

.btn-plain-theme:hover {
    color: #ffffff;
    border-color: var(--theme-color-1000);
    background-color: var(--theme-color-1000);
}

/* ---------- label ---------- */
.label-warning,
.label-success {
    padding: 2px 3px;
}

.label-theme {
    display: inline-block;
    padding: 2px 3px;
    font-size: 0.75rem;
    border: 1px solid var(--theme-color-1000);
    background-color: var(--theme-color-1000);
}

.label-border {
    display: inline-block;
    padding: 2px 3px;
    font-size: 0.75rem;
    color: var(--theme-color-1000);
    border: 1px solid var(--theme-color-1000);
}

.label-plain-theme {
    color: var(--theme-color-1000);
    background-color: var(--theme-color-200);
}

/* ---------- border ---------- */
.border-theme {
    border-color: var(--theme-color-1000) !important;
}

/* ---------- box-shadow ---------- */
.box-shadow-theme {
    box-shadow: 0 2px 12px 0 var(--theme-color-200);
}

/* ---------- input ---------- */
.item-required:before {
    color: var(--theme-color-1000);
}

.form-group .help-block, td .help-block {
    color: var(--theme-color-1000);
}

input.form-control:hover,
textarea.form-control:hover {
    box-shadow: 0 0 8px var(--theme-color-200);
    border-color: var(--theme-color-700);
}

input.form-control:active,
textarea.form-control:active {
    border-color: var(--theme-color-1000);
}

input.form-control:focus,
textarea.form-control:focus {
    box-shadow: 0 0 0 2px var(--theme-color-100);
    border-color: var(--theme-color-700);
}

/* ---------- dropdown-menu ---------- */
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color: var(--theme-color-100);
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color: var(--theme-color-1000);
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
    border-radius: 0;
}

.breadcrumb li.active, .breadcrumb li.active a {
    color: var(--theme-color-1000);
}

/* ---------- modal ---------- */
.modal .modal-dialog {
    margin: 100px auto;
}

/* ---------- pagination ---------- */
.pagination {
    margin-top: 5px;
    margin-bottom: 5px;
    vertical-align: bottom;
}

.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    color: var(--theme-color-700);
    border-color: var(--theme-color-700);
    background-color: transparent;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    border-color: var(--theme-color-1000);
    background-color: var(--theme-color-1000);
}

/* ---------- validation ---------- */
.has-warning .help-block {
    color: var(--theme-color-700);
}

.has-warning .form-control {
    box-shadow: none;
    border-color: var(--theme-color-700);
}

.has-warning .form-control:hover {
    box-shadow: none;
    border-color: var(--theme-color-700);
}

.has-warning .form-control:focus {
    box-shadow: none;
    border-color: var(--theme-color-700);
}

.has-warning .input-group-addon {
    color: var(--theme-color-700);
    border-color: var(--theme-color-700);
    background-color: #ffffff;
}

.has-warning .input-group-addon .iconfont {
    color: var(--theme-color-700);
}

.has-warning .form-control-feedback {
    color: var(--theme-color-700);
}

/* ---------- scrollload ---------- */
.scrollload-loader span:nth-child(1) {
    background-color: var(--theme-color-600);
}

.scrollload-loader span:nth-child(2) {
    background-color: var(--theme-color-800);
}

.scrollload-loader span:nth-child(3) {
    background-color: var(--theme-color-1000);
}

.scrollload-loader span:nth-child(4) {
    background-color: var(--theme-color-800);
}

.scrollload-loader span:nth-child(5) {
    background-color: var(--theme-color-600);
}

/* ---------- file-input ---------- */
.file-input .multiple-file-preview .file-preview-frame.sortable-chosen {
    border: 1px solid var(--theme-color-600);
}

.file-input .multiple-file-preview .file-preview-frame.sortable-ghost {
    border: 1px dashed var(--theme-color-600);
}

.file-input .btn-primary {
    border-color: var(--theme-color-1000);
    background-color: var(--theme-color-1000);
    background: -webkit-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: -moz-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
}

/* ---------- switchery ---------- */
.switchery.active {
    background-color: var(--theme-color-1000);
}

/* ---------- bootbox ---------- */
.bootbox .btn-primary {
    border-color: var(--theme-color-1000);
    background-color: var(--theme-color-1000);
    background: -webkit-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: -moz-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
}

/* ---------- checked ---------- */
.checked:before {
    width: 12px;
    height: 12px;
    line-height: 12px;
    display: block;
    position: absolute;
    right: -2px;
    bottom: -2px;
    content: "\e645";
    color: #ffffff;
    font-family: "iconfont" !important;
    z-index: 10;
    font-weight: 900;
    transform: scale(0.7);
}

.checked:after {
    width: 13px;
    height: 13px;
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    content: "";
    background-repeat: no-repeat;
    background-image: linear-gradient(-45deg, var(--theme-color-1000) 50%, rgba(255, 255, 255, 0) 50%);
}

/* ---------- store-header ---------- */
.store-header {
    background-color: #ffffff;
}

.store-header .top-ad {
    display: none;
    position: relative;
}

.store-header .top-ad .close {
    position: absolute;
    top: 10px;
    right: 60px;
    font-size: 1.25rem;
}

.store-header .top-ad img {
    display: block;
    margin: 0 auto;
}

.store-header .top-nav {
    margin-bottom: 20px;
    height: 35px;
    border-bottom: 1px solid #eeeeee;
    background-color: #f2f2f2;
}

.store-header .top-nav .list-inline>li {
    padding: 0;
}

.store-header .top-nav .list-inline>li>span {
    margin-right: 10px;
    color: #666666;
}

.store-header .top-nav .list-inline>li>a {
    height: 35px;
    line-height: 35px;
    display: block;
    padding: 0 10px;
}

.store-header .top-nav .list-inline>li>a:hover {
    color: var(--theme-color-1000);
}

.store-header .top-nav .top-nav-dropdown {
    position: relative;
    z-index: 400;
}

.store-header .top-nav .top-nav-dropdown>a {
    position: relative;
    border: 1px solid transparent;
}

.store-header .top-nav .top-nav-dropdown .caret {
    color: #cccccc;
}

.store-header .top-nav .top-nav-dropdown>ul {
    display: none;
    margin-top: -1px;
    position: absolute;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #dddddd;
    background-color: #ffffff;
}

.store-header .top-nav .top-nav-dropdown:hover>a {
    color: var(--theme-color-1000);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-color: #dddddd;
    border-bottom-color: transparent;
    background-color: #ffffff;
}

.store-header .top-nav .top-nav-dropdown:hover>a:before {
    height: 10px;
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 100;
    background-color: #ffffff;
}

.store-header .top-nav .top-nav-dropdown:hover>ul {
    display: block;
}

.store-header .top-nav .top-nav-dropdown>ul.business {
    right: 0;
    left: 0;
}

.store-header .top-nav .top-nav-dropdown>ul.business li a {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}

.store-header .top-nav .top-nav-dropdown>ul.qrcode {
    width: 316px;
    padding: 20px 0;
    right: 0;
}

.store-header .top-nav .top-nav-dropdown>ul.qrcode li {
    width: calc(100% / 2);
    float: left;
    padding: 0 20px;
    text-align: center;
    border-right: 1px solid #eeeeee;
}

.store-header .top-nav .top-nav-dropdown>ul.qrcode li:last-child {
    border-right: none;
}

.store-header .logo {
    display: inline-block;
    width: 172px;
    padding-right: 20px;
    border-right: 1px solid #ebebeb;
}

.store-header .store-summary {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    padding-left: 20px;
}

.store-header .store-summary h4 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: normal;
    color: #333333;
}

.store-header .store-summary h4 .label {
    margin-left: 10px;
}

.store-header .store-summary .store-info {
    display: inline-block;
    position: relative;
    margin-right: 5px;
    color: #666666;
    cursor: pointer;
}

.store-header .store-summary .store-info .iconfont {
    color: #bbbbbb;
}

.store-header .store-summary .store-info:after {
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    height: 20px;
    content: "";
    background-color: transparent;
}

.store-header .store-summary .store-info-detail {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    z-index: 100;
    min-width: 320px;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.3);
}

.store-header .store-summary .join-store-member img {
    width: 16px;
    height: 16px;
}

.store-header .store-summary .media {
    max-width: 300px;
}

.store-header .store-summary .media .media-body {
    max-width: 220px;
    line-height: 20px;
    padding-left: 15px;
    border-left: 1px solid #f1f1f1;
}

.store-header .store-summary .media .media-body ul {
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
}

.store-header .store-summary .media .media-body ul li {
    margin-bottom: 10px;
    color: #666666;
}

.store-header .store-summary .media .media-body ul li span {
    margin-right: 5px;
}

.store-header .store-summary .media .media-body .store-action {
    display: flex;
    justify-content: space-around;
}

.store-header .store-summary .media .media-body .store-action a {
    padding: 3px 10px;
    color: #666666;
    border-radius: 5px;
    border: 1px solid #d8d8d8;
    transition: color0.3s, border-color 0.3s;
}

.store-header .store-summary .media .media-body .store-action a:hover {
    color: var(--theme-color-1000);
    border-color: var(--theme-color-1000);
}

.store-header .product-search input {
    border: 1px solid;
    border-right: none;
}

.store-header .product-search input:hover {
    box-shadow: 0 0 8px var(--theme-color-300);
}

.store-header .product-search .global-search,
.store-header .product-search .scope-search {
    padding-top: 0;
    padding-bottom: 0;
    height: 31px;
    line-height: 31px;
    color: #ffffff;
    border: none;
    z-index: 3;
}

.store-header .product-search .scope-search {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #212529;
    background: -webkit-linear-gradient(55deg, #212529, #343a40);
    background: -moz-linear-gradient(55deg, #212529, #343a40);
    background: linear-gradient(55deg, #212529, #343a40);
}

.store-header .product-search dl {
    display: flex;
}

.store-header .product-search dt {
    line-height: 30px;
    margin-right: 10px;
    color: #999999;
    font-weight: normal;
}

.store-header .product-search dd {
    line-height: 30px;
    margin-right: 5px;
}

.store-header .product-search dd a {
    color: #999999;
}

.store-header .product-search dd a:hover {
    color: var(--theme-color-1000);
}

.store-header .cart {
    height: 35px;
    line-height: 35px;
    display: block;
    float: right;
    position: relative;
    z-index: 300;
    border: 1px solid #dddddd;
    background-color: #ffffff;
}

.store-header .cart:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.store-header .cart:hover:before {
    height: 10px;
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 100;
    background-color: #ffffff;
}

.store-header .cart .iconfont {
    width: 35px;
    height: 35px;
    line-height: 35px;
    display: inline-block;
    margin: -1px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.store-header .cart:hover .iconfont {
    color: var(--theme-color-1000);
    background: transparent;
}

.store-header .cart>a {
    padding: 0 20px;
    border-left: 1px solid transparent;
}

.store-header .cart:hover>a {
    color: var(--theme-color-1000);
    border-left-color: #dddddd;
}

.store-header .cart>em {
    min-width: 17px;
    height: 15px;
    line-height: 15px;
    padding: 0 2px;
    color: #ffffff;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 8px;
}

.store-header .cart .cart-detail {
    width: 350px;
    display: none;
    padding: 10px;
    position: absolute;
    top: 33px;
    right: -1px;
    color: #999999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #dddddd;
    background-color: #ffffff;
}

.store-header .cart:hover .cart-detail {
    display: block;
}

.store-header .cart .cart-detail .cart-loader {
    line-height: 30px;
    text-align: center;
}

.store-header .cart .cart-detail .cart-loader span {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin: 0 2px;
    vertical-align: middle;
    animation: cartLoaderEffect 0.8s linear infinite alternate;
    border-radius: 100%;
}

.store-header .cart .cart-detail .cart-loader span:nth-child(1) {
    animation-delay: -1s;
    background-color: var(--theme-color-600);
}

.store-header .cart .cart-detail .cart-loader span:nth-child(2) {
    animation-delay: -0.8s;
    background-color: var(--theme-color-800);
}

.store-header .cart .cart-detail .cart-loader span:nth-child(3) {
    animation-delay: -0.2s;
    background-color: var(--theme-color-1000);
}

.store-header .cart .cart-detail .cart-loader span:nth-child(4) {
    animation-delay: -0.8s;
    background-color: var(--theme-color-800);
}

.store-header .cart .cart-detail .cart-loader span:nth-child(5) {
    animation-delay: -1s;
    background-color: var(--theme-color-600);
}

.store-header .cart .cart-detail .cart-detail-body {
    max-height: 350px;
    overflow: auto;
}

.store-header .cart .cart-detail .cart-detail-body li {
    margin-bottom: 5px;
}

.store-header .cart .cart-detail .cart-detail-body li:nth-child(odd) {
    background-color: #fbfbfb;
}

.store-header .cart .cart-detail .cart-detail-body li.is-transfer {
    background-color: #fff4e9;
}

.store-header .cart .cart-detail .cart-detail-body li img {
    width: 50px;
    height: 50px;
    padding: 2px;
    border: 1px solid #eeeeee;
    background-color: #ffffff;
}

.store-header .cart .cart-detail .cart-detail-body li .media-body p {
    line-height: 20px;
}

.store-header .cart .cart-detail .cart-detail-body li .media-body p.title {
    width: 250px;
    color: #666666;
}

.store-header .cart .cart-detail .cart-detail-footer {
    padding-left: 10px;
    background-color: #f8f8f8;
}

.store-header .cart .cart-detail .cart-detail-footer a {
    padding: 0 10px;
    color: #ffffff;
    transition: opacity 0.3s;
}

.store-header .cart .cart-detail .cart-detail-footer a:hover {
    opacity: 0.8;
}

.store-top-ad {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 110px;
    overflow: hidden;
}

.store-top-ad .image-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    filter: blur(50px);
    transform: scale(1.2);
}

.store-top-ad .image-wrapper {
    position: relative;
    z-index: 20;
    width: 2560px;
    height: 110px;
}

.store-navigations {
    background-color: #3c358a;
}

.store-header .product-category {
    display: flex;
    align-items: center;
    height: 40px;
    line-height: 40px;
    color: #ffffff;
}

.store-header .product-category .iconfont {
    margin-left: 5px;
    font-size: 1.25rem;
}

.store-header .store-nav ul {
    display: flex;
    flex-wrap: wrap;
}

.store-header .store-nav li a {
    display: block;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    color: #ffffff;
    transition: background-color 0.3s;
}

.store-header .store-nav li:hover a {
    background-color: #8aac54;
}

@keyframes cartLoaderEffect {
    from {
        transform: scale(0, 0);
    }

    to {
        transform: scale(1, 1);
    }
}

/* ---------- main-header ---------- */
.main-header {
    margin-bottom: 15px;
    border-bottom: 2px solid;
}

.main-header .top-ad {
    position: relative;
    background-color: #f2f2f2;
}

.main-header .top-ad .close {
    position: absolute;
    top: 10px;
    z-index: 100;
    right: 60px;
    font-size: 1.25rem;
}

.main-header .top-ad img {
    display: block;
    margin: 0 auto;
}

.main-header .top-nav {
    height: 35px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
    background-color: #f2f2f2;
}

.main-header .top-nav .list-inline {
    margin-left: 0;
}

.main-header .top-nav .list-inline>li {
    padding: 0;
}

.main-header .top-nav .list-inline>li>span {
    margin-right: 10px;
    color: #666666;
}

.main-header .top-nav .list-inline>li>a {
    height: 35px;
    line-height: 35px;
    display: block;
    padding: 0 10px;
}

.main-header .top-nav .top-nav-dropdown {
    position: relative;
    z-index: 400;
}

.main-header .top-nav .top-nav-dropdown>a {
    position: relative;
    border: 1px solid transparent;
}

.main-header .top-nav .top-nav-dropdown .caret {
    color: #cccccc;
}

.main-header .top-nav .top-nav-dropdown>ul {
    display: none;
    margin-top: -1px;
    position: absolute;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #dddddd;
    background-color: #ffffff;
}

.main-header .top-nav .top-nav-dropdown:hover>a {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-color: #dddddd;
    border-bottom-color: transparent;
    background-color: #ffffff;
}

.main-header .top-nav .top-nav-dropdown:hover>a:before {
    height: 10px;
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 100;
    background-color: #ffffff;
}

.main-header .top-nav .top-nav-dropdown:hover>ul {
    display: block;
}

.main-header .top-nav .top-nav-dropdown>ul.business {
    right: 0;
    left: 0;
}

.main-header .top-nav .top-nav-dropdown>ul.business li a {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}

.main-header .top-nav .top-nav-dropdown>ul.qrcode {
    width: 158px;
    padding: 15px 0 10px 0;
    right: 0;
}

.main-header .top-nav .top-nav-dropdown>ul.qrcode li {
    width: calc(100%);
    float: left;
    padding: 0 20px;
    text-align: center;
    border-right: 1px solid #eeeeee;
}

.main-header .top-nav .top-nav-dropdown>ul.qrcode li:last-child {
    border-right: none;
}

.main-header .logo {
    display: block;
    width: 151px;
    height: 45px;
}

.main-header .logo img {
    width: 151px;
    height: 45px;
}

.main-header .product-search {
    margin-bottom: 10px;
}

.main-header .product-search button {
    height: 35px;
    line-height: 25px;
    padding: 5px 10px;
    border-radius: 0;
}

.main-header .product-search .search-type button {
    line-height: 23px;
    position: relative;
    color: #999999;
    border: 2px solid;
    border-right: none;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    background-color: #ffffff;
}

.main-header .product-search .search-type button:after {
    width: 1px;
    height: 22px;
    content: '';
    position: absolute;
    right: 1px;
    z-index: 100;
    background-color: #cfcfcf;
}

.main-header .product-search .search-type .dropdown-menu {
    min-width: 57px;
    margin: 0;
    top: 95%;
    border-radius: 0;
    box-shadow: none;
    border: 2px solid;
    border-top: none;
}

.main-header .product-search .search-type .dropdown-menu:before {
    position: absolute;
    top: -2px;
    right: 0;
    left: 0;
    z-index: 100;
    height: 4px;
    content: '';
    background-color: #ffffff;
}

.main-header .product-search .search-type .dropdown-menu a {
    color: #999999;
}

.main-header .product-search input {
    height: 35px;
    outline: none;
    border: 2px solid;
    border-left: none;
}

.main-header .product-search input:focus, .main-header .product-search input:hover {
    box-shadow: none;
}

.main-header .product-search .search-btn {
    padding: 0 30px;
    font-weight: 600;
    border: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.main-header .product-search button .iconfont {
    font-size: 1rem;
}

.main-header .product-search dl {
    display: flex;
}

.main-header .product-search dt {
    line-height: 30px;
    margin-right: 10px;
    color: #999999;
    font-weight: normal;
}

.main-header .product-search dd {
    line-height: 30px;
    margin-right: 5px;
}

.main-header .product-search dd a {
    color: #999999;
}

.main-header .product-search dd a:hover {
    color: var(--theme-color-1000);
}

.main-header .cart {
    height: 35px;
    line-height: 35px;
    display: block;
    float: right;
    position: relative;
    z-index: 300;
    border: 1px solid #dddddd;
    background-color: #ffffff;
}

.main-header .cart:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.main-header .cart:hover:before {
    height: 10px;
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 100;
    background-color: #ffffff;
}

.main-header .cart .iconfont {
    width: 35px;
    height: 35px;
    line-height: 35px;
    display: inline-block;
    margin: -1px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.main-header .cart:hover .iconfont {
    color: var(--theme-color-1000);
    background: transparent;
}

.main-header .cart>a {
    padding: 0 20px;
    border-left: 1px solid transparent;
}

.main-header .cart:hover>a {
    color: var(--theme-color-1000);
    border-left-color: #dddddd;
}

.main-header .cart>em {
    min-width: 17px;
    height: 15px;
    line-height: 15px;
    padding: 0 2px;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 8px;
}

.main-header .cart .cart-detail {
    width: 350px;
    display: none;
    padding: 10px;
    position: absolute;
    top: 33px;
    right: -1px;
    color: #999999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #dddddd;
    background-color: #ffffff;
}

.main-header .cart:hover .cart-detail {
    display: block;
}

.main-header .cart .cart-detail .cart-loader {
    line-height: 30px;
    text-align: center;
}

.main-header .cart .cart-detail .cart-loader span {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin: 0 2px;
    vertical-align: middle;
    animation: cartLoaderEffect 0.8s linear infinite alternate;
    border-radius: 100%;
}

.main-header .cart .cart-detail .cart-loader span:nth-child(1) {
    animation-delay: -1s;
    background-color: var(--theme-color-600);
}

.main-header .cart .cart-detail .cart-loader span:nth-child(2) {
    animation-delay: -0.8s;
    background-color: var(--theme-color-800);
}

.main-header .cart .cart-detail .cart-loader span:nth-child(3) {
    animation-delay: -0.2s;
    background-color: var(--theme-color-1000);
}

.main-header .cart .cart-detail .cart-loader span:nth-child(4) {
    animation-delay: -0.8s;
    background-color: var(--theme-color-800);
}

.main-header .cart .cart-detail .cart-loader span:nth-child(5) {
    animation-delay: -1s;
    background-color: var(--theme-color-600);
}

.main-header .cart .cart-detail .cart-detail-body {
    max-height: 350px;
    overflow: auto;
}

.main-header .cart .cart-detail .cart-detail-body li {
    margin-bottom: 5px;
}

.main-header .cart .cart-detail .cart-detail-body li:nth-child(odd) {
    background-color: #fbfbfb;
}

.main-header .cart .cart-detail .cart-detail-body li.is-transfer {
    background-color: #fff4e9;
}

.main-header .cart .cart-detail .cart-detail-body li img {
    width: 50px;
    height: 50px;
    padding: 2px;
    border: 1px solid #eeeeee;
    background-color: #ffffff;
}

.main-header .cart .cart-detail .cart-detail-body li .media-body p {
    line-height: 20px;
}

.main-header .cart .cart-detail .cart-detail-body li .media-body p.title {
    width: 250px;
    color: #666666;
}

.main-header .cart .cart-detail .cart-detail-footer {
    padding-left: 10px;
    background-color: #f8f8f8;
}

.main-header .cart .cart-detail .cart-detail-footer a {
    padding: 0 10px;
    transition: opacity 0.3s;
}

.main-header .cart .cart-detail .cart-detail-footer a:hover {
    opacity: 0.8;
}

.main-header .product-category {
    height: 40px;
    line-height: 40px;
    display: block;
    padding-left: 10px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.main-header .product-category .iconfont {
    font-size: 1.25rem;
}

.main-header .main-nav {
    position: relative;
    height: 40px;
}

.main-header .main-nav .ink-bar {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    transition: width 0.3s, left 0.5s;
}

.main-header .main-nav li {
    position: relative;
    float: left;
}

.main-header .main-nav li:after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    height: 2px;
}

.main-header .main-nav li a {
    height: 40px;
    line-height: 40px;
    display: block;
    padding: 0 20px;
    transition: color 0.3s;
}

.main-header .main-nav li.active a {
    color: var(--theme-color-1000);
}

@keyframes cartLoaderEffect {
    from {
        transform: scale(0, 0);
    }

    to {
        transform: scale(1, 1);
    }
}

/* ---------- main-sidebar ---------- */
.main-sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 399;
}

.main-sidebar {
    display: flex;
    width: 385px;
    height: 100%;
    position: fixed;
    top: 0;
    right: -345px;
    z-index: 1000;
}

.main-sidebar .main-sidebar-body {
    width: 40px;
    height: 100%;
    background-color: #333333;
}

.main-sidebar .main-sidebar-body ul {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.main-sidebar .main-sidebar-body ul li {
    position: relative;
}

.main-sidebar .main-sidebar-body a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center;
    transition: background-color 0.3s;
}

.main-sidebar .main-sidebar-body a:hover {
    background-color: var(--theme-color-1000);
    background: -webkit-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: -moz-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
}

.main-sidebar .main-sidebar-body button {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 10px;
    color: #ffffff;
    border: none;
    background-color: transparent;
    transition: background-color 0.3s;
}

.main-sidebar .main-sidebar-body button:hover {
    background-color: var(--theme-color-1000);
    background: -webkit-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: -moz-linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
    background: linear-gradient(55deg, var(--theme-color-1000), var(--theme-color-700));
}

.main-sidebar .main-sidebar-body .tooltip {
    position: absolute;
    top: 0 !important;
    right: 40px;
    left: auto!important;
}

.main-sidebar .main-sidebar-body .tooltip .tooltip-inner {
    min-width: 100px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    text-align: center;
    box-shadow: none;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.9);
}

.main-sidebar .main-sidebar-body .tooltip.top .tooltip-arrow {
    border-top-color: rgba(0, 0, 0, 0.9);
}

.main-sidebar .main-sidebar-body .tooltip.right .tooltip-arrow {
    border-right-color: rgba(0, 0, 0, 0.9);
}

.main-sidebar .main-sidebar-body .tooltip.bottom .tooltip-arrow {
    border-bottom-color: rgba(0, 0, 0, 0.9);
}

.main-sidebar .main-sidebar-body .tooltip.left .tooltip-arrow {
    border-left-color: rgba(0, 0, 0, 0.9);
}

.main-sidebar .main-sidebar-body .iconfont {
    font-size: 1rem;
}

.main-sidebar .main-sidebar-body .cart {
    height: auto;
    line-height: 20px;
    padding: 11px 0;
    text-align: center;
}

.main-sidebar .main-sidebar-body .cart span {
    display: block;
    padding: 5px 9px;
    text-align: center;
}

.main-sidebar .main-sidebar-body .cart em {
    min-width: 17px;
    height: 15px;
    line-height: 15px;
    display: inline-block;
    padding: 0 2px;
    color: #ffffff;
    font-style: normal;
    text-align: center;
    border-radius: 8px;
}

.main-sidebar .main-sidebar-body .cart:hover em {
    color: var(--theme-color-1000);
    background: #ffffff;
}

.main-sidebar .main-sidebar-body .qrcode .content {
    width: 120px;
    height: 120px;
    display: none;
    padding: 10px;
    position: absolute;
    right: 40px;
    bottom: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #dddddd;
    background-color: #ffffff;
}

.main-sidebar .main-sidebar-body .qrcode:hover .content {
    display: block;
    cursor: default;
}

.main-sidebar .main-sidebar-body .back-top {
    display: none;
    margin-bottom: 0;
    position: absolute;
    bottom: 0;
    border-top: 1px solid #888888;
}

.main-sidebar .main-sidebar-body .back-top:hover {
    background-color: #888888;
}

.main-sidebar .main-sidebar-right {
    width: calc(100% - 40px);
    height: 100%;
    overflow: auto;
    background-color: #f5f5f5;
}

.main-sidebar .main-sidebar-right::-webkit-scrollbar {
    display: none;
}

.main-sidebar .main-sidebar-right .history-product h4 {
    padding: 10px;
    font-weight: normal;
    border-bottom: 1px solid #dedede;
    background-color: #f8f8f8;
}

.main-sidebar .main-sidebar-right .history-product>p {
    line-height: 50px;
    color: #999999;
    text-align: center;
}

.main-sidebar .main-sidebar-right .history-product ul {
    display: flex;
    flex-wrap: wrap;
}

.main-sidebar .main-sidebar-right .history-product li {
    width: calc((100% - 10px * 3) / 2);
    padding: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    background-color: #ffffff;
}

.main-sidebar .main-sidebar-right .history-product li:nth-child(-n+2) {
    margin-top: 10px;
}

.main-sidebar .main-sidebar-right .history-product li:nth-child(2n+1) {
    margin-left: 10px;
}

.main-sidebar .main-sidebar-right .history-product li:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.main-sidebar .main-sidebar-right .history-product li h5 {
    line-height: 20px;
    font-weight: normal;
}

.main-sidebar .coupon-header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    color: #666666;
}

.main-sidebar .coupon-header h5,
.main-sidebar .coupon-header h5 .iconfont {
    font-size: 1rem;
}

.main-sidebar .coupon-header .coupon-close {
    border-radius: 2px;
    border: none;
    background-color: transparent;
}

.main-sidebar section {
    padding: 10px;
}

.main-sidebar .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.main-sidebar .title a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: color 0.3s;
}

.main-sidebar .title a:hover {
    color: var(--theme-color-1000);
}

.main-sidebar .title a .iconfont {
    line-height: 1;
}

.main-sidebar .coupon-body {
    padding: 0 10px;
}

.main-sidebar .coupon-list .media {
    margin-top: 0;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #ffffff;
}

.main-sidebar .coupon-list .media .media-left {
    padding: 8px 0 8px 8px;
}

.main-sidebar .coupon-list .media .media-left .product-image {
    width: 76px;
    height: 76px;
    border-radius: 4px;
    overflow: hidden;
}

.main-sidebar .coupon-list .media .media-body {
    position: relative;
    padding: 8px;
    overflow: visible;
}

.main-sidebar .coupon-list .media .media-body:before,
.main-sidebar .coupon-list .media .media-body:after {
    position: absolute;
    right: -4px;
    z-index: 100;
    width: 8px;
    height: 8px;
    content: "";
    border-radius: 50%;
    background-color: #f5f5f5;
}

.main-sidebar .coupon-list .media .media-body:before {
    top: -4px;
}

.main-sidebar .coupon-list .media .media-body:after {
    bottom: -4px;
}

.main-sidebar .coupon-list .media .media-body .store-limit {
    display: block;
    width: 110px;
    margin-bottom: 2px;
    color: #333333;
}

.main-sidebar .coupon-list .media .media-body p {
    width: 135px;
    margin-bottom: 2px;
    color: #666666;
}

.main-sidebar .coupon-list .media .media-right {
    position: relative;
    width: 90px;
    min-width: 90px;
    max-width: 90px;
    padding: 0 8px;
    color: #ffffff;
    text-align: center;
    background-color: #f54f03;
    background: -webkit-linear-gradient(135deg, #f68808, #f54f03);
    background: -moz-linear-gradient(135deg, #f68808, #f54f03);
    background: linear-gradient(135deg, #f68808, #f54f03);
}

.main-sidebar .coupon-list .media .media-right:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -2px;
    width: 4px;
    content: "";
    background-image: url("../../common/images/sawtooth.png");
    background-position-y: -4px;
    background-repeat: repeat-y;
    background-size: 100% auto;
}

.main-sidebar .coupon-list .media .media-right strong {
    display: block;
    margin-bottom: 3px;
    font-weight: normal;
}

.main-sidebar .coupon-list .media .media-right p {
    margin-bottom: 6px;
}

.main-sidebar .coupon-list .media .media-right a {
    display: block;
    width: 66px;
    line-height: 20px;
    margin: auto;
    padding: 0 5px;
    color: #f67336;
    border-radius: 20px;
    background-color: #ffffff;
}

/* ---------- main-footer ---------- */
.main-footer {
    background-color: #ffffff;
}

.main-footer .promise {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-image: -webkit-linear-gradient(left, #f8f8f8, #e8e8e8, #f8f8f8) 1;
    border-image: -moz-linear-gradient(left, #f8f8f8, #e8e8e8, #f8f8f8) 1;
    border-image: linear-gradient(left, #f8f8f8, #e8e8e8, #f8f8f8) 1;
    border-width: 0 0 1px 0;
    border-bottom: 1px solid #e7e7e7;
}

.main-footer .promise li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
}

.main-footer .promise li .iconfont {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-right: 10px;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 50%;
    border: 2px solid;
}

.main-footer .promise li strong {
    line-height: 30px;
}

.main-footer .promise p {
    line-height: 25px;
    color: #666666;
}

.main-footer .help {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
}

.main-footer .help li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
}

.main-footer .help dl dt {
    line-height: 30px;
    margin-bottom: 10px;
    font-weight: normal;
    color: #333333;
}

.main-footer .help dl dd {
    line-height: 30px;
    font-size: 12px;
}

.main-footer .help dl dd a {
    color: #999999;
}

.main-footer .help .contact dt {
    margin-bottom: 6px;
    padding-left: 30px;
    font-size: 18px;
}

.main-footer .help .contact dd {
    font-size: 14px;
}

.main-footer .help .contact dd .iconfont {
    margin-right: 10px;
    font-size: 16px;
}

.main-footer .bottom-nav {
    line-height: 25px;
    padding: 10px 0;
    color: #dddddd;
    text-align: center;
    background: url('../images/main-footer.png') 0 0;
}

.main-footer .bottom-nav ul {
    display: flex;
    justify-content: center;
}

.main-footer .bottom-nav li a {
    margin: 0 20px;
    color: #eeeeee;
}

.main-footer .bottom-nav li a:hover {
    color: #ffffff;
}

.main-footer .bottom-nav>p span {
    color: #dddddd;
}

.main-footer .bottom-nav>p a {
    color: #dddddd;
}

/* ---------- featured-product ---------- */
.featured-product {
    margin-bottom: 15px;
    border: 1px solid #dddddd;
}

.featured-product .featured-product-heading {
    border-bottom: 1px solid #dddddd;
}

.featured-product .featured-product-heading h4 {
    line-height: 36px;
    padding-left: 12px;
    color: #333333;
    font-weight: normal;
}

.featured-product .featured-product-body {
    padding: 10px;
}

.featured-product .featured-product-body li {
    line-height: 25px;
    margin-bottom: 25px;
}

.featured-product .featured-product-body li .product-image {
    display: block;
    height: 170px;
    margin-bottom: 10px;
}

.featured-product .featured-product-body li .product-image img {
    width: 170px;
    height: 170px;
    transition: opacity 0.3s;
}

.featured-product .featured-product-body li:hover img {
    opacity: 0.8;
}

.featured-product .featured-product-body li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.featured-product .featured-product-body li strong {
    font-weight: normal;
}

.featured-product .featured-product-body li h5 {
    line-height: 18px;
    font-weight: normal;
}

.featured-product .featured-product-body li p {
    color: #999999;
}
