/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.custom-gallery-image-label {
    text-align: center;
    font-size: 15px;
    margin-top: 7px;
    word-break: break-word;
}

.acf-characteristics {
    font-size: 14px;
}

.acf-characteristics tr:nth-child(2n-1) {
    background: rgb(248, 248, 248);
}

.acf-characteristics .woocommerce-product-attributes-item__label {
    padding: 8px;
    font-weight: normal;
    border: 0;
}
.acf-characteristics .woocommerce-product-attributes-item__value {
    padding: 8px 0 8px 8px;
    font-weight: var(--wd-title-font-weight);
    border: 0;
}

.acf-characteristics .woocommerce-product-attributes-item__value p {
    margin-bottom: 0;
}

.dots-customized .owl-dots {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    z-index: 2;
    text-align: center;
    animation: wd-fadeIn 0.6s ease;
}
.dots-customized .owl-dots .owl-dot.active span {
    border-color: rgb(255, 255, 255);
    background-color: rgb(255, 255, 255);
}
.dots-customized .owl-dots .owl-dot span {
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.dots-customized .owl-dots .owl-dot:not(.active):hover span {
    border-color: rgb(255, 255, 255);
}

.main-page-wrapper .wd-load-more {
    padding: 12px 25px 12px 25px;
    border-color: #b62012;
    background-color: #b62012;
    color: white;
    font-weight: 900;
    border-width: 2px;
    border-radius: 5px;
}
.main-page-wrapper .wd-load-more:not(:hover) {
    background-color: #b62012 !important;
}

.product-grid-item.product.wd-hover-standard .wd-add-btn > a {
    border: 1px solid #729c6e;
    color: #729c6e !important;
    width: 100%;
}
.product-grid-item.product.wd-hover-standard .wd-add-btn > a:hover {
    background-color: transparent;
}
.product-grid-item.product.wd-hover-standard.add-to-cart-loop span {
    padding: 5px 6px !important;
}
.product-grid-item.product.wd-hover-standard .add-to-cart-loop span {
    padding: 6px 8px !important;
    font-size: 10px;
    line-height: 16px;
}

.wd-products-element .product-grid-item {
    text-align: left;
}

.wd-products-element .product-grid-item .swatch-on-grid.swatch-with-bg {
    width: 20px !important;
    height: 20px !important;
}

.swatches-on-grid.swatches-select {
    position: relative;
    max-height: 33px;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}
.swatches-on-grid.swatches-select.opened {
    transition: max-height 1s ease-in-out;
    max-height: 1000px !important;
}

.swatches-on-grid.swatches-select.overflowed{
    padding-right: 24px;
}
.swatches-on-grid.swatches-select.overflowed .toggler{
    display: flex;
}

.toggler {
    display: none;
    cursor: pointer;
    padding: 5px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 0;
    top: 5px;
    background: white;
    border-radius: 50%;
    border: solid 1px #eee;
    transition: all 0.25s;
}

.swatches-on-grid.swatches-select.opened .toggler {
    transform: rotate(180deg);
}

.swatches-on-grid.swatches-select .swatch-on-grid:not(:last-child) {
  margin-right: 5px;
}

/* .colors-collection .owl-stage{
    width: 100% !important;
}
.colors-collection .owl-item{
    width: 100px !important;
} */

.colors-collection{
    margin-bottom: 20px;
}

.custom-gallery-image-label{
    display: none;
}

.custom-gallery-image-popover{
    position: absolute;
    background: rgb(182, 32, 18);
    color: white;
    padding: 3px 8px;
    max-width: 200px;
    border-radius: 5px;
    z-index: 999;
    transform: translate(-50%, -100%);
    /* transition: opacity 0.3s ease; */
    font-size: 14px;
    display: none;
    text-align: center;
}

.main-gallery .owl-stage{
    background: rgb(220, 220, 220);
    max-height: 500px;
}
.gallery-images-colors .wd-btn-arrow {
    margin-top: -12.5px;
    width: 25px;
    height: 25px;
}

.gallery-images-colors .wd-btn-arrow[class*="next"]:after, 
.gallery-images-colors .wd-btn-arrow[class*="prev"]:after {
    font-size: 20px;
    color: #000;
}