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

@media only screen and (min-width: 600px){
    .products.elements-grid .product-grid-item:not(.grid-item-full-width-yes) img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
        aspect-ratio: 150/250;
        object-fit: contain;
    }
    .hideInDesktop{
        display: none;
    }
}

@media only screen and (max-width: 600px){
    .hideInMobile{
        display: none;
    }
}
.banner-inside-products.grid-item-full-width-yes.no-text{
    margin-bottom: 10px!important;
}

.banner-inside-products .wd-product-header {
    padding-top: 9px;
}

.banner-inside-products .wd-wishlist-btn{
    display: none;
}

.grid-item-full-width-yes.banner-inside-products {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: unset !important;
}

img.full-width-yes {
    width: 100%;
}

video.full-width-yes.video-banner-feature {
    height: 300px;
    margin-right: auto;
    margin-left: auto;
}

@media only screen and (min-width: 600px){
    video.full-width-yes.video-banner-feature {
        height: 400px;
    }
    video.full-width-not {
        height: auto;
        max-width: 100%;
    }
}

@media only screen and (max-width: 600px){
    video.full-width-not{
        height: 300px;
    }
}


.widget_shopping_cart_content .shopping-cart-widget-footer {
    display: flex;
    flex-direction: column;
}

.widget_shopping_cart_content .shopping-cart-widget-footer > *{
    order: 4;
}


.widget_shopping_cart_content .suggestions {
    order: 1;
}
.widget_shopping_cart_content li.mini-cart-upsell-item img {
    width: 45px;
    margin-left: 15px;
}

.widget_shopping_cart_content li.mini-cart-upsell-item {
    display: flex;
    padding-top: 12px;
    padding-bottom: 2px;
    border-top: 1px solid #e0dbdb;
}
.widget_shopping_cart_content li.mini-cart-upsell-item:first-child {
    border-top: none!important;
}
.widget_shopping_cart_content .mini-cart-upsell-products h4{
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}
.widget_shopping_cart_content .suggestion-title-and-price {
    display: flex;
    flex-direction: column;
    font-size: 90%;
}

.cart-widget-side .wd-scroll-content{
    position: relative!important;
}
div#woodmart_sizeguide {
    margin-top: 45px;
    max-width: 608px;
    padding: 10px 0px;
    background-color: #fff5f0;
}


@keyframes softZoomOut {
    from {
        transform: scale(1.2); /* Start slightly zoomed in */

    }
    to {
        transform: scale(1); /* Normal size */

    }
}

@media only screen and (max-width: 600px){
    .products.elements-grid .product-element-top > a > img {
        animation: softZoomOut 2.5s ease-out forwards;
    }
	.single-product .berocket_better_labels.berocket_better_labels_image {
    top: 70px !important;
    right: 11px !important;
		
	}
}
.single-product .berocket_better_labels.berocket_better_labels_image {
	z-index: 1;
}
p#tgpc_enable_checkout_gift_wrapper_field .optional {
    display: none;
}

.wd-products .product-labels.labels-rounded {
    left: 0;
    right: unset;
    z-index: 5;
    margin-top: -4px;
    margin-left: 13px;
}


.wd-products  span.out-of-stock.product-label {
    border: 1px solid black;
    height: 50px;
    width:50px
}


