/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/** 归档页面卡片标题及售价 **/
.wd-product .wd-product-header .wd-entities-title{
    font-size: .75rem !important;
    font-weight: 500;
}

.wrap-price .amount {
    font-size: 0.825rem;
    font-weight: 600;
    color: #000;
}

.price del .amount {
    color: #000;
}

.orca_format_sale_price .amount {
    color: #9d2226;
}

/** paypal按钮间距 **/
.ppc-button-wrapper {
    margin-top: 3px;
}

/** 页面标题间距缩小 **/
.page-title {
    font-size: 28px !important;
    padding-block: 5px !important;
}

.page-title .title {
    line-height: 1 !important;
}

/** 结帐页面布局修复 **/
.woocommerce-checkout wc-order-attribution-inputs {
	display: none;
}

/** 内容拉伸 **/
.wd-section-stretch-content .elementor-container{
	align-items: flex-start;
}

/** 订单追踪按钮 **/
.orca_order_tracking_btn {
    margin-right: 5px;
    padding: 5px 14px;
    min-height: 36px;
    font-size: 12px;
    border-radius: var(--btn-accented-brd-radius);
    color: var(--btn-accented-color);
    box-shadow: var(--btn-accented-box-shadow);
    background-color: #4CAF50;
    text-transform: var(--btn-accented-transform, var(--btn-transform));
    font-weight: var(--btn-accented-font-weight, var(--btn-font-weight));
    font-family: var(--btn-accented-font-family, var(--btn-font-family));
    font-style: var(--btn-accented-font-style, var(--btn-font-style));
}

/** 分类产品页面图片对齐（全局） **/
.product-image-link img{aspect-ratio: 4/5;object-fit: cover}

/** 多货币菜单分类页面隐藏 **/
.menu-mobile-navigation-container .wmc-curusd,  
.menu-mobile-menu-container .wmc-curusd,  
.menu-menu-container .wmc-curusd{  
    display: none;  
}

/** 喜欢按钮 **/
.wd-likebtn-icon>a:before {
    content: "\f183a";
}
.wd-likebtn-icon>a.liked:before {
    color: red;
}
.wd-likebtn-icon .like-count{
    /*color: rgb(245,154,87);*/
    font-size: 14px;
}

/** 相似产品 **/
.orca-related-product-title{
    font-size: 22px;
    color: #000;
}
.orca_related_products .wd-entities-title a {
    display: none;
}

/**单个变体时，颜色属性完全显示**/
.vi-wpvs-variation-wrap-wrap[data-swatch_type="variation_img"] 
.vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-show-attribute-value 
.vi-wpvs-option-wrap.vi-wpvs-option-wrap-single:after{
    left: auto;
    right: auto;
    overflow: visible;
}

@media (max-width: 768px) {
    /**移动端边距调整**/
    .wd-prefooter .elementor-section.wd-negative-gap>.elementor-container {
        margin-left: 2px;
    }

    .main-page-wrapper .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
        padding: 2px;
    }

    /*** 产品详情描述 ***/
    .elementor-widget-wd_single_product_content .size-box{
        overflow-x: auto; 
        white-space: nowrap; 
        -webkit-overflow-scrolling: touch; 
    }

    /** select options  **/
    .wd-product .wd-product-footer{
        display: none;
    }
}


.elementor-widget-wd_single_product_content h2 {
    text-align: center;
}

.elementor-widget-wd_single_product_content li {
    white-space: normal;
    word-break: break-all;
    word-wrap: break-word;
}

.elementor-widget-wd_single_product_content .red-box {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.elementor-widget-wd_single_product_content .red-box>div {
    margin: 10px;
}

.elementor-widget-wd_single_product_content .red-box>div>a>img {
    width: 190px;
    height: 265px;
    object-fit: cover;
}

.elementor-widget-wd_single_product_content .size-box {
    width: 100%;
    margin: auto;
    white-space: nowrap;
}

.elementor-widget-wd_single_product_content .table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    table-layout: fixed;
}



.elementor-widget-wd_single_product_content .color-button {
    height: 26px;
    border: 1px solid #222;
    margin: 10px 0;
}

.elementor-widget-wd_single_product_content .common {
    width: 99px;
    height: 25px;
    float: left;
    text-align: center;
    cursor: pointer;
}

.elementor-widget-wd_single_product_content .in-box,
.elementor-widget-wd_single_product_content .cm-box {
    width: 100%;
    margin: auto;
    white-space: nowrap;
}

.elementor-widget-wd_single_product_content .size-button {
    width: 98px;
    height: 22px;
    border: 1px solid #222;
    margin: 10px 0;
}

.elementor-widget-wd_single_product_content .cm {
    width: 48px;
    height: 23px;
    float: right;
    text-align: center;
    cursor: pointer;
}


.elementor-widget-wd_single_product_content .in {
    width: 48px;
    height: 23px;
    float: left;
    text-align: center;
    cursor: pointer;
}

.elementor-widget-wd_single_product_content .checked {
    background-color: #222;
    color: #fff;
}

.elementor-widget-wd_single_product_content .hidden {
    display: none;
}

.elementor-widget-wd_single_product_content .details img {
    margin-right: 5px; 
    margin-bottom: 5px;
}

/*** 弹窗 ***/
.orca-language-popup {
    position: relative;
    text-align: center; 
    border-radius: .25rem;
    padding-top: 44px;
    padding: 2rem;
    background-color: #fff;
    background-color: rgba(255,255,255,1);
    max-width: 360px !important;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.orca-language-popup .mfp-close{
    display: none;
}

.orca-language-popup .popup-close {
    top: 0;
    right: 0;
    position: absolute;
    cursor: pointer;
    background-color: transparent;
    background-image: none;
}

.orca-language-popup  button {
    cursor: pointer;
}
.orca-language-popup .popup-top {
    align-items: center;
    flex-direction: column;
    display: flex;
}

.orca-language-popup .popup-top-desc {
    line-height: 120%;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.5rem;
    font-weight: 400;
    letter-spacing: .015625rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
}
.orca-language-popup .popup-bottom .bold,
.orca-language-popup .popup-top-desc .bold{
    font-weight: 600;
}

.orca-language-popup .popup-bottom {
    font-size: .8125rem;
    line-height: 1.3125rem;
    font-weight: 400;
    letter-spacing: .015625rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
    line-height: 140%;
    row-gap: .25rem;
    row-gap: .25rem;
    list-style-type: disc;
    list-style-position: inside;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: start !important;
}
.orca-language-popup .popup-bottom li{
    padding: 0;
    margin: 0;
}
.orca-language-popup .button-continue {
    background-color: #000;
    font-size: .8125rem;
    line-height: 1rem;
    font-weight: 600;
    width:100%;
    letter-spacing: .015625rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    border: 0;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    padding: 1rem 2rem;
    height: 3rem;
    -webkit-text-decoration: none;
    text-decoration: none;
    transition: background-color .3s ease,color .3s ease,border .3s ease;
}

.orca-language-popup .button-location {
    text-align: center;
    width: 100%;
    text-decoration-line: underline;
    font-size: .8125rem;
    line-height: 1.3125rem;
    font-weight: 400;
    letter-spacing: .015625rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
    letter-spacing: .25px;
    line-height: 100%;
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 844px) and (-webkit-min-device-pixel-ratio: 2) {
    .elementor-widget-wd_single_product_content .table {
        table-layout: auto;
    }

    .elementor-widget-wd_single_product_content tr,
    .elementor-widget-wd_single_product_content td,
    .elementor-widget-wd_single_product_content th {
        font-size: 12px;
    }

    .elementor-widget-wd_single_product_content .red-box>div {
        margin: 10px;
    }

    .elementor-widget-wd_single_product_content .red-box>div>a>img {
        width: 140px;
        height: 210px;
        object-fit: cover;
    }
}


/** product price curcy **/
.currency_selector_button_text {
    justify-content: flex-start !important;
}

.currency_selector_button_text.config {
    opacity: 1;
    z-index: 1;
    visibility: visible;
    pointer-events: all;
}

.currency_selector_button_text {
    margin-bottom: 5px;
    border: 1px solid #e9e1e1;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 10px 10px 10px 10px;
    font-weight: 500;
    font-size: 12px;
    line-height: normal;
    color: #686060;
    opacity: 0;
    z-index: -99;
    visibility: hidden;
    pointer-events: none;
    position: relative;
    cursor: pointer;
    font-family: "AvantGarde", helvetica, Arial, serif;
    max-height: 28px;
    min-height: 28px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-transform: unset;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0);
    width: 100%;
}

.currency_selector_button span.variant_span {
    width: 100%;
    text-align: left;
    margin-right: 27px;
}
.currency_selector_button span {
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-right: 12px;
    line-height: 26px;
}

.currency_selector_button button span {
    padding-left: initial;
    padding-top: initial;
    padding-right: initial;
    padding-bottom: initial;
    background: initial;
    height: initial;
}

.currency_selector_button {
    opacity: 1;
    z-index: 1;
    visibility: visible;
    pointer-events: all;
}

.currency_selector_button::after {
    content: "";
    position: absolute;
    top: 12%;
    right: 12px;
    background: #fff url(./img/woo_icon_sprites.svg) -22px -80px / 68px no-repeat;
    height: 18px;
    width: 18px;
    transform: rotate(0deg);
}

.currency_selector_button_text:hover{
    background-color: none;
}

/** product price curcy  end **/


/** product filter tag  start **/
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
    user-select: none;
}
.filter-header h4 {
    margin: 0;
    flex: 1;
}
.filter-header .toggle-section {
    padding: 0 10px;
    font-size: 20px;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
    line-height: 30px;
}
.orca-product-filter .tag-list {
    transition: all 0.2s ease-in-out;
}
.collapsed .tag-list {
    display: none;
}
.orca-product-filter .tag-list .tag-item.hidden {
    display: none;
}
.collapsed .sidebar-color-content {
    display: none;
}
.sidebar-color-content .color-button.hidden{
    display: none;
}
.orca-product-filter .show-more-tags {
    cursor: pointer;
    color: #666;
    margin-top: 10px;
}
.orca-product-filter .show-more-tags span {
    display: inline-block;
}

.orca-product-filter .tag-list .hidden-tag {
    display: none;
}
/** product filter tag  end **/

.orca_checkout_tax_filed {
    display: none;
}