/*
 Theme Name:     Beach Rentals
 Description:    A child theme for beachrentals.co.za running on Enfold
 Author:         Matt Royal
 Author URI:     http://www.mattroyal.co.za
 Template:       enfold
 Version:        1.0.3
*/

@import url("../enfold/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

.single-product-summary .stock, 
.single-product-summary .price {
    display: none!important;
}
.products.columns-4 .product {
    width: calc((100% - 3%) /4)
}
.products.columns-5 .product {
    width: calc((100% - 4%) /5)
}
.avia-product-sorting { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
}

.avia-category-filter select {
    padding: 6px 10px;
    font-size: 14px;
}

#socket .container {
    display: flex;
    justify-content: space-between;
}

#socket .container:after{
    display: none;
}

.wc-block-components-product-badge.wc-block-components-product-low-stock-badge {
    display: none;
}

div#layer_slider_1 {
    position: absolute;
    top: 0;
}

p.copy.ls-text-layer.ls-layer .ls-ln {
    line-height: 1.5rem !important;
}

.wp-block-woocommerce-empty-cart-block .wp-block-separator,
.wp-block-woocommerce-empty-cart-block .wp-block-heading:nth-of-type(2),
.wp-block-woocommerce-empty-cart-block .wc-block-grid {
    display: none !important;
}

.wp-block-woocommerce-empty-cart-block .wp-block-heading:nth-of-type(1) {
    display: flex;
    align-items: center;
    height: calc(100vh - 260px);
    justify-content: center;
    flex-direction: column;
}

@media only screen and (max-width: 479px) {
    .responsive #top #main .products .product {
        margin: 0 1% 1% 0;
        width: 49%;
    }

    .product-sorting.avia-product-sorting div, 
    .product-sorting.avia-product-sorting ul {
        width: 100%;
    }
    
    .product-sorting.avia-product-sorting {
        display: flex;
        flex-direction: column;
    }

    #socket .container {
        flex-direction: column;
        text-align: center;
    }

    div#layer_slider_1 {
        position: relative;
        top: auto;
    }
}