/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

 .elementor-shortcode {
    text-align: center;
}

.custom-product-display {
    display: inline-block;
    width: 20%;
    margin: 0.5%; /* Adjust this value for spacing between columns */
    margin-top: 50px !important;
    box-sizing: border-box;
    text-align: center; /* Center-align content within each product container */
    vertical-align: top; /* Ensure containers align properly */
    padding: 50px 0px;
}

.pro_display_bg {
    background: url("https://mobeenafzal.com/jbl/wp-content/uploads/2024/07/newarrivelbox.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
	    position: relative;
    z-index: 1;
}

.pro_image {
    width: 100%; /* Set a fixed width for the images */
    /* Set a fixed height for the images */
    object-fit: cover; /* Ensure images maintain aspect ratio and cover the entire space */
    position: relative;
    top: -70px;
    z-index: 2;
}

.pro_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    vertical-align: top;
    margin-top: -50px;
    padding: 0 5px 20px 20px;
	    position: relative;
    z-index: 1;
}

.pro_text {
    text-align: left;
}

.pro_name {
    font-size: 20px !important;
    color: #FFB300;
    margin: 0; /* Reset margin to ensure proper alignment */
}

.pro_price {
    color: #FFB300;
    margin: 0; /* Reset margin to ensure proper alignment */
}

.button.pro_btn {
    background-color: transparent !important;
    color: #FFB300;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .custom-product-display {
        width: 45%; /* Adjust width for tablets */
        margin: 1.5%; /* Adjust margin for tablets */
    }

    .pro_info {
        flex-direction: column;
        align-items: flex-start; /* Align items to the start on smaller devices */
        text-align: left;
        padding: 0 10px;
        justify-content: center;
        align-items: center;
    }

    .pro_name{
        text-align: center;
    }
    .pro_price{
        text-align: center;
    }

    .button.pro_btn {
        align-self: flex-start; /* Align button to the start on smaller devices */
        margin-top: 10px; /* Add margin to separate the button from the text */
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .custom-product-display {
        width: 100%; /* Full width for mobile devices */
        margin: 10px 0; /* Adjust margin for mobile devices */
    }

    .pro_info {
        flex-direction: column; /* Stack name, price, and button vertically */
        align-items: flex-start;
        padding: 0 10px;
        justify-content: center;
        align-items: center;
    }

    .button.pro_btn {
        align-self: flex-start; /* Align button to the start on smaller devices */
        margin-top: 10px; /* Add margin to separate the button from the text */
        margin-left: auto;
        margin-right: auto;
    }
}
