/*
 * Title                   : Pinpoint World – WooCommerce Demo
 * File                    : assets/css/style-woo-shop.css
 * Author                  : Pinpoint World
 * Copyright               : © 2025 Pinpoint World
 * Website                 : https://pinpoint.world
 * Description             : WooCommerce -> Shop stylesheet.
 */

.woocommerce-shop .wp-block-query-title{
    display: none;
}

.woocommerce-shop .wp-block-woocommerce-product-collection{
    margin: 0 0 24px 0;
}

.woocommerce-shop .wc-block-product-template{
    display: flex;
    grid-gap: unset;
    flex-wrap: wrap;
}

.woocommerce-shop .wc-block-product{
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    display: block;
    transition: box-shadow 300ms linear;
}

.woocommerce-shop .wc-block-product:hover{
    box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.3);
}

.woocommerce-shop .wc-block-components-product-image{
    margin: 0 0 24px 0;
}

.woocommerce-shop .wc-block-components-product-image a{
    display: block;
    height: 240px;
    overflow: hidden;
}

.woocommerce-shop .wc-block-components-product-image a img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.woocommerce-shop .wc-block-product .wp-block-post-title{
    display: block;
    height: 24px !important;
    margin: 0 20px 24px 20px;
    position: relative;
    width: calc(100% - 40px);
}

.woocommerce-shop .wc-block-product .wp-block-post-title a{
    color: #292b2e;
    display: block;
    font-size: 16px;
    font-weight: bold;
    height: 24px !important;
    line-height: 24px !important;
    margin: 0;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    width: 100%;
    transition: color 300ms linear;
}

.woocommerce-shop .wc-block-product .wp-block-post-title a:hover{
    color: #674986;
}

.woocommerce-shop .wc-block-product .wp-block-woocommerce-product-price,
.woocommerce-shop .wc-block-product .wp-block-button{
    display: none !important;
}

.woocommerce-shop .wc-block-product .button.product_type_simple{
    background: #815ba7;
    border-radius: 3px;
    color: #ffffff;
    display: block;
    font-size: 14px;
    font-weight: normal;
    height: 48px !important;
    line-height: 48px !important;
    margin: 0 20px 24px 20px;
    max-width: calc(100% - 100px);
    overflow: hidden;
    padding: 0 20px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    text-transform: uppercase;
    width: fit-content;
    transition: background-color 300ms linear;
}

.woocommerce-shop .wc-block-product .button.product_type_simple:hover{
    background: #674986;
}

/*
 ******************************************************************** Responsive
 */
@media screen and (min-width: 1421px){
    .woocommerce-shop .wc-block-product{
        margin: 0 30px 24px 0;
        flex-basis: 270px;
        width: 270px;
    }

    .woocommerce-shop .wc-block-product:nth-child(4n){
        margin: 0 0 24px 0;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1420px){
    .woocommerce-shop .wc-block-product{
        margin: 0 20px 24px 0;
        flex-basis: 300px;
        width: 300px;
    }

    .woocommerce-shop .wc-block-product:nth-child(3n){
        margin: 0 0 24px 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px){
    .woocommerce-shop .wc-block-product{
        margin: 0 20px 24px 0;
        flex-basis: 220px;
        width: 220px;
    }

    .woocommerce-shop .wc-block-product:nth-child(3n){
        margin: 0 0 24px 0;
    }

    .woocommerce-shop .wc-block-components-product-image a{
        height: 180px;
    }
}

@media screen and (max-width: 767px){
    .woocommerce-shop .wc-block-product{
        margin: 0 20px 24px 0;
        flex-basis: calc(50% - 10px);
        width: calc(50% - 10px);
    }

    .woocommerce-shop .wc-block-product:nth-child(2n){
        margin: 0 0 24px 0;
    }

    .woocommerce-shop .wc-block-components-product-image a{
        height: 180px;
    }
}

@media screen and (max-width: 500px){
    .woocommerce-shop .wc-block-product{
        margin: 0 0 24px 0;
        flex-basis: 100%;
        width: 100%;
    }
}