button,
a,
input,
select,
*:focus {
    outline: none !important;
}

ol,
ul {
    margin: 0 0 1.5em 1.5em;
}

video {
    max-width: 100%;
}

.p-mb0 p,
.entry-content .p-mb0 p {
    margin-bottom: 0;
}

/***************Header**************/
.header-widget-area p {
    margin-bottom: 0;
}

/************************************/
.site-header-above-section-left .header-widget-area:first-child {
    padding-left: 0;
}

.site-header-above-section-right .header-widget-area:last-child {
    padding-right: 0;
}

#secondary {
    margin: 0;
}

.wmmb-right-sidebar #secondary,
.wmmb-left-sidebar #secondary,
.wmmb-separate-container.wmmb-two-container.wmmb-left-sidebar #secondary,
.wmmb-separate-container.wmmb-two-container.wmmb-right-sidebar #secondary,
.wmmb-separate-container.wmmb-right-sidebar #secondary,
.wmmb-separate-container.wmmb-left-sidebar #secondary {
    padding-top: 4em;
    padding-bottom: 4em;
}

@media (min-width: 922px) {
    .wmmb-left-sidebar #secondary {
        border-right: none;
        margin-right: 0;
    }

    .wmmb-left-sidebar #primary {
        border-left: none;
    }

    .wmmb-advanced-headers-layout-2>.wmmb-container {
        display: block;
    }
}

@media (min-width: 993px) {

    .wmmb-separate-container #primary,
    .wmmb-left-sidebar #primary,
    .wmmb-right-sidebar #primary,
    .wmmb-separate-container.wmmb-left-sidebar #primary,
    .wmmb-separate-container.wmmb-right-sidebar #primary {
        margin: 0;
        padding-top: 4em;
        padding-bottom: 4em;
    }
}

@media (max-width: 767px) {

    .wmmb-right-sidebar #secondary,
    .wmmb-left-sidebar #secondary,
    .wmmb-separate-container.wmmb-two-container.wmmb-left-sidebar #secondary,
    .wmmb-separate-container.wmmb-two-container.wmmb-right-sidebar #secondary,
    .wmmb-separate-container.wmmb-right-sidebar #secondary,
    .wmmb-separate-container.wmmb-left-sidebar #secondary {
        padding-left: 0;
        padding-right: 0;
    }
}

/*************************************/
@media (max-width: 560px) {

    .eywm-element[data-widget_type="web-posts.news"] .web-post-grid__inner,
    .eywm-element[data-widget_type="web-posts.news"] .web-post-wrapper-featured,
    .eywm-element[data-widget_type="web-posts.news"] .web-post__inner-wrap,
    .eywm-element[data-widget_type="web-posts.news"] .web-post_structure-featured {
        display: block !important;
    }

    .eywm-element[data-widget_type="web-posts.news"] .web-post__content-wrap,
    .eywm-element[data-widget_type="web-posts.news"] .web-post__thumbnail {
        width: 100% !important;
    }
}

/*************************************/
#secondary .widget {
    margin-bottom: 0;
}

.wmmb-separate-container .wmmb-separate-posts.wmmb-article-post:last-child {
    margin-bottom: 0;
}

.wmmb-separate-container.wmmb-two-container #secondary .widget:last-child,
.wmmb-separate-container #secondary .widget:last-child,
.wmmb-plain-container #secondary .widget:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

/**************************************/
.wmmb-separate-container .post-navigation {
    padding-left: 0;
    padding-right: 0;
}

.single .post-navigation a {
    text-align: inherit;
    padding: 0;
    display: initial;
}

.single .post-navigation a .prev-title,
.single .post-navigation a .next-title {
    display: block;
}

/**************************************/
.eycj .widget .star-rating {
    display: none;
}

.eycj ul.products li.product,
.eycj-page ul.products li.product {
    margin-bottom: 1.375em;
    background-color: #fff;
    border: 1px solid #fff;
}

.eycj div.product div.summary .eycj-product-details__short-description :last-child {
    margin-bottom: 0;
}

.eycj div.product div.summary .inquiry-buttons {
    margin-top: 2em;
}

.single-product .wmmb-article-single {
    background: #fff;
    padding: 2em 2em 1em;
}

.eycj div.product .product_title {
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 10px;
}

.eycj div.product div.images {
    border: 1px solid #F2F2F2;
}

.eycj div.product div.summary ul {
    margin-left: 0;
    list-style: none;
}

.eycj div.product div.summary ul li b {
    min-width: 150px;
    display: inline-block;
    text-transform: capitalize;
}

.eycj div.product .product_meta {
    font-weight: 600;
}

.eycj div.product .product_meta a {
    font-weight: 400;
}

.eycj div.product .eycj-tabs ul.tabs {
    border-top: 1px solid #ebebeb;
}

.eycj .related ul.products {
    margin-bottom: 0;
}

.eycj .related.products>h2,
.eycj .up-sells>h2,
.eycj .eycj-tabs>h2 {
    border-bottom: 1px solid var(--wmmb-border-color);
    padding-bottom: 20px;
    font-size: 1.4em;
    font-weight: 600;
}

@media (max-width: 767px) {
    .single-product .wmmb-article-single {
        padding: 10px;
    }

    .eycj ul.products,
    .eycj-page ul.products {
        column-gap: 10px;
    }

    .eycj .site-content>.wmmb-container,
    .eycj .site-content>.wmmb-container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .eycj ul.products li.product .astra-shop-summary-wrap,
    .eycj-page ul.products li.product .astra-shop-summary-wrap {
        padding: 0 0.5em;
    }
}

/******************************/
.wmmb-single-post .wmmb-no-title.entry-header {
    text-align: center;
}

/*.wmmb-single-post .entry-header.wmmb-no-title.wmmb-no-thumbnail {
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 1em;
}*/
.wmmb-single-post .entry-title,
.wmmb-single-post .entry-title a {
    margin-bottom: 0.5em;
}

/****************************/
.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}

/******************************/
.widget ul li {
    position: relative;
}

.widget ul li .angle {
    position: absolute;
    top: 12px;
    right: 7px;
    cursor: pointer;
    background: #F5F5F5;
}

.widget ul li span.post-date {
    color: #999;
}

.down-arrow {
    display: inline-block;
    position: relative;
    width: 28px;
    height: 22px;
}

.down-arrow::after {
    display: inline-block;
    content: " ";
    height: 7px;
    width: 7px;
    border-width: 0 2px 2px 0;
    border-color: #777777;
    border-style: solid;
    transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
    transform-origin: center;
    transition: transform .3s;
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -5px;
}

.down-arrow.active::after {
    transform-origin: center;
    transform: rotate(-135deg);
    transition: transform .3s;
    top: 14px;
}

.secondary .widget_categories ul li,
.secondary .eycj ul.product-categories>li,
.secondary .widget_product_categories ul li,
.secondary .widget_nav_menu ul li {
    background-color: #fff;
    padding: 0.5em 1em;
}

.widget_categories ul.children,
.widget_nav_menu ul ul.sub-menu,
.widget_wpkj_related_terms ul.children,
.widget_product_categories ul.children {
    margin-top: 8px;
    padding-left: 0;
    display: none;
}

.widget_categories ul.children li,
.eycj ul.product-categories>li ul li,
.widget_wpkj_related_terms ul.children li,
.widget_product_categories ul.children li,
.widget_nav_menu ul.sub-menu li {
    background-color: #f5f5f5;
    padding: 0.5em 1em;
}

.eycj ul.product-categories>li ul li:before {
    display: none;
}

.eycj .widget_product_categories .product-categories .count {
    float: none;
}

.widget_nav_menu .current-post-ancestor>ul.sub-menu,
.widget_nav_menu .current-menu-parent>ul.sub-menu,
.widget_categories .current-cat-parent>ul.children,
.widget_wpkj_related_terms .current-cat-parent>ul.children,
.widget_product_categories .current-cat-parent>ul.children {
    display: block;
}

.widget_nav_menu .current-post-ancestor .current-post-parent>a,
.widget_nav_menu .current-menu-item>a,
.widget_categories .current-cat>a,
.widget_wpkj_related_terms .current-cat>a,
.widget_product_categories .current-cat>a {
    font-weight: 600;
}

.widget_recent_entries li {
    background: #fff;
    padding: 1em;
    line-height: 1.5;
}

/**************************************/
.products .inquiry-buttons {
    position: absolute;
    left: 0;
    top: 20px;
    width: 100%;
    transition: all .3s;
    z-index: -1;
    opacity: 0;
}

.products .wmmb-article-post:hover .inquiry-buttons {
    top: 35%;
    z-index: 9;
    opacity: 1;
}

/***************************************/
.web-gallery-parent {
    overflow: hidden;
}

#wmmb-scroll-top.wmmb-scroll-to-top-right {
    right: 10px;
}

/* 新增 */
/* 修改主题颜色 */
body {
    /*--wmmb-global-color-0: #bd8989;*/
    /*--wmmb-global-color-2: #ad9e9e;*/
    /*--e-global-color-astglobalcolor0: #b55c5c;*/
}

.wmmb-title-bar-wrap:after {
    background-color: rgba(132, 115, 96, 0.4) !important;
}

.wid100 {
    width: 100%;
}

.left {
    float: left;
}

.right {
    float: right;
}

.font14 {
    font-size: 0.875rem;
}

.text-bold {
    font-weight: bold;
}

.text-black {
    color: #000;
}

.margin-top-xs {
    margin-top: 5px;
}

.margin-top-sm {
    margin-top: 10px;
}

.margin-top {
    margin-top: 15px;
}

.margin-bottom-xs {
    margin-bottom: 5px;
}

.padding {
    padding: 15px;
}

.drawer-content-body .title {
    font-size: 18px;
    font-weight: bold;
    color: #3a3a3a;
    width: 100%;
    float: left;
}

.drawer-content-body ul {
    margin: 0;
}

.drawer-content-body ul li {
    list-style: none;
    width: 100%;
    float: left;
    margin-bottom: 5px;
}

.drawer-content-body ul li label {
    cursor: pointer;
}

.drawer-content-body ul li input {
    margin-right: 7px;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    float: left;
}

.drawer-content-body .color ul li {
    width: auto;
    margin: 5px;
}

/*重写伪类*/
.drawer-content-body .color ul li label {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    float: left;
}

.drawer-content-body .color ul li input[type="radio"]+label::before {
    content: " ";
    display: inline-block;
    width: 100%;
    height: 100%;
    border: 2px solid #eee;
    border-radius: 50%;
    box-sizing: border-box;
}

.drawer-content-body .color ul li input[type="radio"]:checked+label::before {
    border-color: #292f38;
}

.drawer-content-body .color ul li input[type="radio"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.wmmb-advanced-headers-vertical-center {
    display: block;
}

.img-dv {
    width: unset !important;
    height: unset !important;
    position: unset !important;
}

.img-dv i {
    z-index: 20;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px 0px rgb(0 0 0 / 30%);
}

.wid50 {
    width: 50%;
}

.summary ul li {
    width: calc(100% / 3);
    float: left;
    line-height: 1.5rem;
    margin-bottom: 0.625rem;
}

.summary ul li .title {
    font-weight: bold;
    color: #000;
}

.summary ul li .label {
    font-size: 0.875rem;
}

.menu-item .sub-menu {
    width: 800px;
    display: flex;
}

.menu-item .sub-menu li {
    float: left;
    margin: 10px;
    width: 100%;
}

.menu-item .sub-menu li ul li {
    margin: 5px 0;
}

.menu-item .sub-menu li ul li a {
    font-weight: unset;
    font-size: 0.875rem;
}

.productType .content {
    max-width: 80%;
    margin: 2rem auto;
    height: 29rem;
    position: relative;
}

.productType .content .center {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.productType .title {
    font-size: 2rem;
    letter-spacing: .5px;
    font-family: 'Jost', sans-serif;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

.productType .desc {
    line-height: 1.5;
    font-size: 1.25rem;
    letter-spacing: .3px;
    color: #fff;
}

.productType .swiper-container {
    margin: 2rem auto;
}

.productType .swiper-container img {
    width: 37rem;
    height: 31rem;
}

.productType .swiper-slide {
    display: flex;
    justify-content: center;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
}

.bg-brown {
    background: #c6bfb8;
    width: 100%;
    float: left;
}

.product-qrcode canvas {
    background: #fff;
    padding: 15px;
}

.products .wmmb-article-post:hover .qrcode {
    top: 12%;
}


.responsive-qrcode {
    width: 60%;
    height: auto;
    max-width: 60%;
    display: block;
    margin: 0 auto;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100px;
    padding: 10px;
    box-sizing: border-box;
}

.product-qrcode {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.productIndex ul li .web-woo-product-wrapper {
    box-shadow: 0px 1px 3px -2px rgba(0, 0, 0, .1);
    transition: all .3s ease-in-out;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    position: relative;
}

.productIndex ul li:hover .web-woo-product-wrapper {
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, .1);
}

.productIndex ul li:hover .qrcode {
    opacity: 1;
    z-index: 9;
    top: 12%;
}

/* 不同屏幕尺寸下的最小高度 */
@media (max-width: 767px) {

    .qrcode-container,
    .product-qrcode {
        min-height: 80px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {

    .qrcode-container,
    .product-qrcode {
        min-height: 100px;
    }
}

@media (min-width: 1024px) {

    .qrcode-container,
    .product-qrcode {
        min-height: 120px;
    }
}