:root {
    --swiper-theme-color: var(--color-main);
}
/* 
 * 常用
*/
a:hover {
    color: var(--color-main);
}

input::-webkit-input-placeholder {
    color: #999;
}

/* 
 * head页头
*/
.am-theme-header.am-topbar {
    background-color: #fff;
    border: 0;
    margin: 0;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.am-theme-header-container {
    padding: 1.6rem 0;
    position: relative;
}

.am-theme-header.am-topbar.am-nav-absolute {
    position: absolute;
}

.am-theme-header.am-topbar.am-nav-sticky {
    position: sticky;
}

.am-theme-header.am-topbar.am-nav-absolute,
header.am-theme-header.am-topbar.am-nav-absolute.collapsed-bg {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0.5rem 0.375rem rgba(0, 0, 0, 0.1);
}

header.am-theme-header.am-topbar .am-topbar-btn {
    margin: 0;
}

header.am-theme-header.am-topbar .am-topbar-btn .divider,
header.am-theme-header.am-topbar a {
    color: var(--color-main);
    transition: all 0.3s ease-in-out;
}

header.am-theme-header.am-topbar.am-topbar-top .am-topbar-btn .divider,
header.am-theme-header.am-topbar.am-nav-absolute .am-topbar-btn .divider,
.am-theme-header.am-topbar.am-topbar-top a,
.am-theme-header.am-topbar.am-nav-absolute a {
    color: #fff;
}

.am-theme-header.am-topbar.am-topbar-top.am-nav-sticky .am-topbar-btn .divider,
.am-theme-header.am-topbar.am-topbar-top.am-nav-sticky a {
    color: var(--color-main);
}

.am-topbar-btn.search .search-container {
    border-radius: var(--border-radius);
    padding: 0.3rem 0.6rem;
    background-color: #fff;
    border: 0.1rem solid #f8f8f8;
    position: relative;
}

.am-topbar-btn.search .search-container input,
.am-topbar-btn.search .search-container input:focus,
.am-topbar-btn.search .search-container input:hover {
    text-align: right;
    border: 0;
    box-shadow: none;
    position: relative;
    top: -0.1rem;
}

.am-topbar-btn.search .search-container .search-content button {
    color: var(--color-main-light);
    padding: 0;
}

.am-topbar-btn.search .search-container .search-content button.icon-search {
    font-size: 1.6rem;
}

header.am-theme-header.am-topbar .am-topbar-btn {
    margin-left: 3.5rem;
}

header.am-theme-header.am-topbar .am-topbar-btn.shop a {
    font-size: 1.4rem;
    display: inline-block;
}

header.am-theme-header.am-topbar a:hover,
.am-theme-header.am-topbar.am-topbar-top a:hover,
.am-theme-header.am-topbar.am-nav-absolute a:hover {
    color: var(--color-main-hover);
}

header.am-theme-header.am-topbar button {
    color: var(--color-main);
    border: 0;
    font-size: 1.4rem;
    background-color: transparent;
    padding: 0 0.8rem;
}

.am-theme-header.am-topbar.am-topbar-top button,
.am-theme-header.am-topbar.am-nav-absolute button {
    color: #fff;
    border-color: #fff;
}

.am-theme-header.am-topbar.am-topbar-top.am-nav-sticky button,
.am-theme-header.am-topbar.am-nav-absolute.am-nav-sticky button {
    color: var(--color-main);
    border-color: var(--color-main);
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-1.25rem);
        -ms-transform: translateY(-1.25rem);
        transform: translateY(-1.25rem)
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0)
    }
}

.am-theme-header.am-topbar.am-topbar-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.6) !important;
    box-shadow: 0 0 0.5rem 0.375rem rgba(0, 0, 0, 0.1) !important;
}

.am-theme-header.am-topbar.am-topbar-top.am-nav-sticky {
    background: #fff !important;
    box-shadow: none !important;
}

.head-logo {
    width: 17rem;
}

.am-theme-header.am-topbar-right .am-dropdown .am-btn {
    margin-top: 0.6rem;
}

header.am-theme-header.am-topbar button:hover,
header.am-theme-header.am-topbar button:active,
header.am-theme-header.am-topbar button:focus {
    background-color: transparent;
    color: var(--color-main-hover);
    border-color: var(--color-main-hover);
    box-shadow: none;
}

header.am-theme-header.am-topbar button .iconfont {
    position: relative;
    top: 0.1rem;
}

header.am-theme-header.am-topbar .am-dropdown-content li a {
    font-size: 1.4rem;
    display: block;
    color: var(--color-main);
}

header.am-theme-header.am-topbar .am-dropdown-content li a:hover {
    color: var(--color-main-hover);
}

header.am-theme-header.am-topbar .nav-icon {
    width: 1.8rem;
}

header.am-theme-header.am-topbar li .nav-icon {
    margin-right: 1rem;
}

header.am-theme-header.am-topbar a {
    display: inline-block;
    font-size: 1.6rem;
}

header.am-theme-header.am-topbar .login .divider,
header.am-theme-header.am-topbar .login a {
    font-size: 1.4rem;
}

.am-theme-header .am-nav>li>a:hover,
.am-theme-header .am-nav>li>a:focus {
    background-color: transparent;
    color: var(--color-main-hover);
}

.am-theme-header .am-nav-pills>li:first-of-type,
.am-theme-header .am-nav-pills>li+li {
    margin-left: 3rem;
}

.am-theme-header .secondary-dropdown-content {
    position: absolute;
    background-color: #fff;
    display: none;
    min-width: 18rem;
    box-shadow: var(--box-shadow);
    border: 0.1rem solid #eee;
}

.am-theme-header .secondary-dropdown-content a {
    color: var(--color-main);
}

.am-theme-header .secondary-dropdown-content a:hover {
    color: var(--color-main-hover);
}


.am-theme-header .secondary-dropdown-content:before,
.am-theme-header .secondary-dropdown-content:after {
    position: absolute;
    display: block;
    content: "";
    width: 0;
    height: 0;
    border: 0.8rem dashed transparent;
    z-index: 1;
    left: 1rem;
    top: -0.8rem;
    pointer-events: none;

}

.am-theme-header .secondary-dropdown-content::before {
    border-bottom-color: #eee;
    bottom: 0;
    border-bottom-style: solid;
    border-width: 0 0.8rem 0.8rem;
}

.am-theme-header .secondary-dropdown-content::after {
    top: -1.5rem;
    border-bottom-color: #fff;
    bottom: -0.1rem;
}



.am-theme-header .menu-secondary-dropdown ul li a {
    color: var(--color-main) !important;
    font-size: 14px;
    padding: 0.6rem 1rem;
}

.am-theme-header .menu-secondary-dropdown ul li a.am-active {
    color: var(--color-main-hover);
}

.am-theme-header a.logout {
    margin: 0 !important;
}

.phone-search-container {
    display: none;
}

@media only screen and (min-width: 641px) {
    .am-theme-header .am-topbar-brand {
        padding-left: 0;
    }

    .am-theme-header.am-topbar.am-nav-absolute,
    header.am-theme-header.am-topbar.am-nav-absolute.collapsed-bg {
        background: transparent;
        box-shadow: unset;
    }

    .am-theme-header .am-topbar-right.margin-right-xxxl {
        margin-right: 4rem;
    }

    .am-theme-header .am-topbar-nav>li>a:after {
        border: 0;
    }

    .am-topbar-right-operate {
        position: absolute;
        top: 2.6rem;
        width: 100%;
        justify-content: space-between;
    }

    .am-specify-page-nav-position .am-topbar-right-operate {
        top: 1.4rem;
    }

    .am-theme-header .menu-item {
        width: 100%;
        overflow: hidden !important;
        height: 3.5rem !important;
        margin-top: 1.5rem;
    }

    .am-theme-header .menu-item .am-topbar-nav {
        overflow-x: auto;
        display: flex;
        flex-flow: row nowrap;
        height: 5rem;
        margin: 0 auto;
        max-width: 100%;
        width: max-content;
        white-space: nowrap;
        float: unset;
    }

    .am-theme-header .am-nav-pills>li {
        white-space: nowrap;
    }

    .am-topbar-btn.search .search-container input {
        width: 10rem;
    }
}

@media only screen and (max-width: 1350px) {
    .am-theme-header .am-topbar-right.margin-right-xxxl {
        margin-right: 2rem;
    }

    .am-theme-header .am-nav-pills>li:first-of-type,
    .am-theme-header .am-nav-pills>li+li {
        margin-left: 1rem;
    }
}

@media only screen and (max-width: 1260px) {
    .am-theme-header .am-topbar-right.margin-right-xxxl {
        margin-right: 1rem;
    }

    .am-theme-header .am-nav-pills>li:first-of-type,
    .am-theme-header .am-nav-pills>li+li {
        margin-left: 0.5rem;
    }
}

@media only screen and (max-width: 1000px) {
    .head-logo {
        width: 12rem;
    }

    header.am-theme-header.am-topbar a {
        font-size: 1.6rem;
    }

    .am-theme-header .am-topbar-right .am-dropdown .am-btn {
        font-size: 1.4rem;
        margin-top: 1rem;
    }

    .am-theme-header .am-topbar-right .am-dropdown .am-btn .iconfont {
        font-size: 1rem;
    }

    .am-topbar-btn.search .search-container input {
        width: 10rem;
    }
}

@media only screen and (max-width: 920px) {
    .am-theme-header-container {
        align-items: flex-start;
        padding: 0 0 1rem 0;
    }

    .am-theme-header .menu-item {
        margin-top: 0;
    }

    .am-topbar-right-operate {
        justify-content: flex-end;
        top: 1.5rem;
    }

    .am-theme-header .am-topbar-right .am-dropdown .am-btn {
        margin-top: 0;
        padding: 0.5rem 2.5rem;
    }
}

@media only screen and (max-width: 820px) {
    .am-theme-header.am-topbar {
        padding: 0;
    }

    .head-logo {
        width: 8rem;
    }

    .am-theme-header .am-nav-pills>li:first-of-type,
    .am-theme-header .am-nav-pills>li+li {
        margin: 0;
    }

    header.am-theme-header.am-topbar a {
        font-size: 1.4rem;
    }

    .am-theme-header .am-topbar-right .am-dropdown .am-btn img {
        width: 1.4rem;
    }

    .am-theme-header .am-topbar-right .am-dropdown .am-btn .iconfont {
        font-size: 0.8rem;
        top: 0;
    }

    .am-theme-header .am-topbar-right .am-dropdown .am-btn i.iconfont {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 640px) {
    .am-theme-header .am-topbar-collapse {
        max-height: 80vh;
        padding: 0;
    }

    .am-theme-header-container {
        padding: 0;
    }

    .am-theme-header-logo {
        width: 100%;
    }

    header.am-theme-header.am-topbar .am-topbar-btn {
        margin-left: 0;
    }

    .am-theme-header .am-topbar-right-operate {
        display: block !important;
        padding-left: 0;
    }

    .am-theme-header .am-topbar-right-operate>.am-topbar-right:last-of-type {
        flex-direction: column-reverse;
        align-items: start;
    }

    header.am-theme-header.am-topbar .am-topbar-right .am-topbar-btn {
        margin-bottom: 1.4rem !important;
        padding: 0 0 0 1.4rem !important;
    }

    header.am-theme-header.am-topbar .am-topbar-btn.search {
        display: none;
    }

    .am-theme-header .am-topbar-right .am-dropdown {
        display: inline-block !important;
    }

    header.am-theme-header.am-topbar .am-topbar-right a {
        margin: 0;
    }

    .am-theme-header .am-topbar-right .am-dropdown .am-topbar-btn.am-btn {
        display: inline-block !important;
        width: 10rem;
    }

    .phone-search-container.search-bar {
        display: block;
        position: relative;
        width: 100% !important;
        margin: 0 1rem 0 3rem;
    }

    .phone-search-container input,
    .phone-search-container input:hover,
    .phone-search-container input:focus {
        text-align: right;
        border: 0.1rem solid #eee;
        border-radius: var(--border-radius);
        box-shadow: none;
        padding: 0.5rem 3rem 0.5rem 0.5rem;
        background: #fff;
        width: 100%;
    }

    .phone-search-container button {
        position: absolute;
        top: 0.8rem;
        right: 0;
        color: #ccc !important;
    }

    .am-nav>li>a {
        padding: 1rem 1.4rem;
    }

    .am-topbar-nav {
        margin-bottom: 1rem;
    }
}

/* 
 * 钩子多门店条件样式
*/
.search-bar {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
}

.search-bar form .search-group,
.search-bar input,
#ai-topsearch {
    height: auto !important;
    font-size: 1.4rem;
}

/* pc */
.search-container .plugins-shop-common-search {
    left: 0 !important;
    top: 0 !important;
    width: 5rem !important;
    text-align: left !important;
}

.search-container .plugins-shop-common-search::after {
    top: 0.6rem !important;
    right: -0.3rem !important;
    display: none;
}

.search-container .plugins-shop-common-search li {
    line-height: unset !important;
    padding: 0.2rem 0.5rem 0.2rem 0.5rem !important;
}

.search-container .plugins-shop-common-search li i {
    right: 0rem !important;
    top: 0.3rem !important;
}

/* 手机 */
.phone-search-container .plugins-shop-common-search {
    left: 0.1rem !important;
    top: 0.1rem !important;
    width: 4.7rem !important;
    text-align: left !important;
}

.phone-search-container .plugins-shop-common-search::after {
    top: 0.6rem !important;
    right: -0.3rem !important;
    display: none;
}

.phone-search-container .plugins-shop-common-search li {
    height: auto !important;
    line-height: unset !important;
    padding: 0.1rem 0.5rem 0.1rem 0.5rem !important;
}

.phone-search-container .plugins-shop-common-search li i {
    right: -0.2rem !important;
    top: 0.2rem !important;
}

@media only screen and (max-width: 640px) {
    .phone-search-container .plugins-shop-common-search {
        top: 0.3rem !important;
    }
}

/* 
 * head页脚
*/
.am-nav-top-bg {
    position: relative;
}

.am-nav-top-bg::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 44, 97, 0.4);
}

.am-footer.am-footer-default {
    margin-top: 2rem;
}

.am-footer {
    background: #FAFAFA;
}

.footer-about li.qrcode {
    margin-top: 0;
}

.footer-about li.qrcode img {
    max-width: 14rem;
    border-radius: 0.4rem;
}

.footer-about li i,
.footer-about li span,
.footer-about li a,
.footer-about li.tel a,
.footer-about li .desc {
    margin-top: 0.3rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-main);
}

.footer-about li i {
    margin-right: 0.5rem;
}

.footer-list {
    padding: 0 1rem;
}

.footer-list li {
    text-align: left;
}

@media only screen and (min-width: 641px) {
    .am-footer {
        padding: 5.7rem 0 0 0;
    }

    .footer-list {
        padding: 0;
    }
}

.footer-list .am-gallery-item .footer-nav-title,
.am-footer-default a {
    color: var(--color-main);
}

.footer-about ul {
    margin-bottom: 0;
}

.footer-about>li {
    margin-bottom: 0 !important;
}

.footer-about li {
    margin-bottom: 1rem;
}

.footer-list .am-gallery-item .footer-nav-title {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 3.7rem;
}

.am-footer-default p {
    margin-bottom: 1rem;
}

.am-footer-default .am-footer-miscs p,
.am-footer-default .am-footer-miscs .footer-icp a {
    color: #b2b2b2;
}

.am-footer-default p.am-text-truncate a {
    font-size: 1.6rem;
}

.am-footer-miscs .am-container {
    border: 0;
}

@media only screen and (max-width: 640px) {
    .footer-about {
        border: 0;
        padding-top: 0;
        margin-top: 0;
        display: flex;
        justify-content: center;
        margin-bottom: 3rem;
    }

    .footer-about ul {
        margin: 0;
    }

    .footer-about li {
        text-align: center;
        align-items: center;
    }

    .am-footer {
        padding-bottom: 0 !important;
        padding-top: 3rem;
    }

    .footer-list .am-gallery-item .footer-nav-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .am-footer-default p.am-text-truncate a {
        font-size: 1.4rem;
    }

    .footer-about li.qrcode img {
        width: 10rem;
    }
}

/* 
 * 悬浮车
*/
.cart-service {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 10;
}

.cart-service .operate {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 6rem;
    transition: all 0.5s ease-in-out;
}

.cart-service .operate.active {
    padding-bottom: 6rem;
}

.cart-service .operate.active .sticky {
    opacity: 1;
    bottom: 0rem;
}

.cart-service .operate i {
    font-size: 2rem;
    line-height: 6rem;
    transition: all 0.5s;
}

.cart-service .operate i:hover {
    color: var(--color-main-light);
}

.cart-service .item {
    background-color: var(--color-main);
    color: #fff;
    margin-bottom: 0.5rem;
}

.cart-service .item .mobile,
.cart-service .item .wechart {
    opacity: 0;
    position: absolute;
    background: var(--color-main);
    color: #fff;
    padding: 1rem;
    margin: 0.5rem 0;
    right: 6rem;
    top: 0;
    display: flex;
    align-items: center;
    visibility: hidden;
    transition: all 0.5s ease-out;
}

.cart-service .item .wechart {
    justify-content: center;
    align-items: center;
}

.cart-service .item .wechart img {
    max-width: 10rem;
    border-radius: var(--border-radius);
}

.cart-service .item:hover .mobile,
.cart-service .item:hover .wechart {
    opacity: 1;
    visibility: visible;
    right: 8rem;
}

.cart-service .sticky {
    position: absolute;
    background-color: var(--color-main);
    color: #fff;
    bottom: 0.5rem;
}

/* 
 * 购物车数量的角标
*/
.am-cart-badge {
    position: absolute;
    top: -0.6rem;
    right: -1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.6rem;
    background: var(--color-badge-danger);
    color: var(--color-badge-danger-text);
    font-size: 1rem;
    border-radius: 100%;
}