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

.woobt-alert{display: none;}
div.variations .label > *{
    margin-bottom: 0;
    white-space: nowrap;
    font-weight: 600;
    vertical-align: middle;
    line-height: var(--wd-text-line-height);
}

div.variations label::after {
    content: ":";
    margin-left: 2px;
}
.wd-size-v .ga-term-dec{
    max-height: 0;
    overflow: hidden;
    border: 0px solid #eee;
    margin-top: -12px;
    font-size: 14px;
}
.wd-size-v .wd-active + .ga-term-dec{
    max-height: 300px;
    padding: 8px;
    border-width: 1px;
    padding-top: 20px;
    border-radius: 16px;
}
.wd-size-v .ga-term-dec .elementor-progress-bar{
    background-color: #5bc0de;
    border-radius: 100px;
    height: 12px;
    font-size: 0;
}
.wd-size-v .ga-term-dec ul,
.wd-size-v .ga-term-dec li {
    margin: 0;
}
.wd-size-v .ga-term-dec .ga-term-dec-content > *:last-child{
    margin-bottom: 0;
}
.v_item{
    text-align: var(--text-align);
    padding: 0 0 20px 0;
    vertical-align: middle;
}
.wd-size-v {
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
}
.wd-size-v .wd-swatch {
    width: auto;
    padding: 16px !important;
    height: auto;
    border-radius: 16px !important;
    box-shadow: none !important;
    border: 1px solid var(--wd-swatch-brd-color);
}
.wd-size-v .wd-swatch-text{
    padding: 0 5px;
}
.wd-size-v .wd-swatch-wrapper{
    min-width: 1em;
    min-height: 1em;
    line-height: 1em;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}
@media screen and (max-width: 768px) {
    .wd-size-v .wd-swatch-wrapper{
        gap: 10px;
    }
}
.wd-size-v .wd-swatch-info{
    flex: 1;
    text-align: left;
    display: flex;
    align-items: center;
}
.wd-size-v .option_price{
    margin-left: auto;
    font-size: 18px;
    text-align: right;
    width: 200px;
    flex: 0 0 200px;
    max-width: 200px;
}
@media screen and (max-width: 768px) {  
    .wd-size-v .option_price{
        width: 120px;
        flex: 1 0 auto;
        font-size: 16px;
    }
    .wd-size-v .option_price .saveprice{
        font-size: 12px;
    }
}

.wd-size-v .wd-swatch-wrapper .wd-swatch-text{
    vertical-align: middle;
}

.wd-size-v .wd-swatch-bg{
    border: 1px solid #eee;
    height: 60px;
    flex: 60px 0 0;
    align-items: center;
    justify-content: center;
    background:#eee;
}
.wd-reset-side-lg .wd-reset-var {
    width: auto !important;
}

.wd-swatches-product{
	width:100%;
}

.wd-swatches-product:not(.wd-size-v) .wd-swatch.wd-text{
	width: calc( (100% - var(--wd-swatch-h-sp))/ 2);
    height: 1.5em;
    padding: 16px;
    border-radius: 10px ;
}

.single-product-page #wd-add-to-cart{
    border-radius: 50px;
    height: 54px !important;
}
.single-product-page .quantity > * {
    border: none !important;
}
.single-product-page .quantity {
    border: 2px solid #ececec;
    border-radius: 50px;
    height: 50px;
    align-items: center;
}
.single-product-page .single_add_to_cart_button{
    height: 50px !important;
    border-radius: 50px;
}

[class*="wd-swatches"] .wd-swatch.wd-bg:is(.wd-active, :hover:not(.wd-disabled)), [class*="wd-swatches"] :is(.wd-swatch-wrap a:hover, .wd-swatch-wrap.wd-active) .wd-swatch.wd-bg, [class*="wd-swatches"] .wd-swatch.wd-text:is(.wd-active, :hover:not(.wd-disabled)), [class*="wd-swatches"] :is(.wd-swatch-wrap a:hover, .wd-swatch-wrap.wd-active) .wd-swatch.wd-text {
    --wd-swatch-brd-color: var(--wd-primary-color) !important;
    border-width: 2px;
    --brd-width: 2px;
}
.wd-size-v .wd-swatch.wd-active{
    --wd-swatch-brd-color: var(--wd-primary-color) !important;
    border-width: 2px;
}

.woobt-products .woobt-product{
    display: grid !important;
    grid-template-columns: 20% 1fr;
    grid-template-rows: 1fr auto;
    gap: 8px;
    padding: 16px!important;
    row-gap: 0;
    position: relative;
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 16px;
    align-items: flex-start;
}
.woobt-products .woobt-product.active{
    border: 2px solid var(--wd-primary-color);
}
.woobt-products .woobt-product .woobt-choose{
    position: absolute;
    top: 0;
    left: 14px;
}
.woobt-products .woobt-product .woobt-thumb{
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    width: 100%;
}

.woobt-products .woobt-product .woobt-title{
    grid-column: 2;
    grid-row: 1;
    font-size: 16px;
    text-align: left;
    padding: 0 !important;
    max-width: 100%;
    overflow: hidden;
}
.woobt-products .woobt-product .woobt-price{
    grid-column: 2;
    grid-row: 2;
    margin-top: -6px;
    text-align: left;
}
.woobt-products .woobt-product .woobt-price .woobt-price-ori{
    display: flex;
    font-size: 16px;
    align-items: end;
    gap: 4px;
}
.woobt-products .woobt-product .woobt-price .saveprice{
    font-size: 12px;
}
.woobt-products {
    border:none;
}
.woobt-products .woobt-product .woobt-price del{
    font-size: .9em;
}
.woobt-products .woobt-product .wpc_variations_form{
    margin-top: -8px;
    z-index: 2;
    position: relative;
}
.woobt-products .woobt-product:after {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
}
@media screen and (min-width: 768px) {
    .woobt-products .woobt-product{
        grid-template-columns: 70px 1fr 120px;
    }
    .woobt-products .woobt-product .woobt-price{
        display: flex;
        align-self: stretch;
        align-items: center;
        width: 100%;
        max-width: 100%;
        grid-column: 3;
        grid-row: 1 / 3;
        text-align: right;
    }
    .woobt-products .woobt-product .woobt-price .woobt-price-ori{
        display: block;
        font-size: inherit;
        
    }
}

.wd-size-v .wd-swatch-tag:empty{
    display: none;
}
.wd-size-v .wd-swatch-tag{
    position: absolute;
    top: 0;
    right: 0;
    font-size: 12px;
    padding: 0 10px;
    line-height: 1.4;
    overflow: hidden;
    background: #f7b147;
    border-radius: 0;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 16px;
    color: #000;
}