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

/* Hide hover-mask overlay on homepage categories carousel */
.page-id-28068 .cat-design-alt .hover-mask {
    display: none;
}




/* Product card: price + icon button on same row */
.wd-product .product-element-bottom .wrap-price {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.wd-product .product-element-bottom .wrap-price .price {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0;
    flex: 1;
}

.wd-product .product-element-bottom .wrap-price .price del {
    font-size: 80%;
    opacity: 0.6;
}

.wd-product .product-element-bottom .wrap-price .price ins {
    text-decoration: none;
    font-weight: 700;
}

.wd-product .wrap-price .wd-add-btn.wd-add-btn-replace {
    width: auto;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.wd-product .wrap-price .wd-add-btn-replace .add-to-cart-loop {
    font-size: 0 !important;
    min-height: unset !important;
    min-width: unset !important;
    padding: 10px !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0 !important;
    line-height: 1 !important;
}

.wd-product .wrap-price .wd-add-btn-replace .add-to-cart-loop span {
    display: none;
}

.wd-product .wrap-price .wd-add-btn-replace .add-to-cart-loop::before {
    content: f105;
    font-family: woodmart-font;
    font-size: 18px;
    line-height: 1;
}


/* Always show icon, hide text */.wd-product .wrap-price .wd-add-btn-replace .add-to-cart-loop::before {    content: "\f11a";    font-family: "woodmart-font";    font-size: 18px;    transform: translateY(0) !important;    position: absolute;    inset: 0;    display: flex;    align-items: center;    justify-content: center;    opacity: 1 !important;    line-height: 1;}

.wd-product .wrap-price .wd-add-btn-replace .add-to-cart-loop span {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
}

/* Button always right-aligned */
.wd-product .wrap-price .wd-add-btn.wd-add-btn-replace {
    margin-left: auto;
}


/* Purchasable products: cart icon */
.wd-product .wrap-price .wd-add-btn-replace .add-to-cart-loop.ajax_add_to_cart::before {
    content: "\f123" !important;
}
