/* Hide the entire Related Posts section */
#jp-relatedposts {
    display: none !important;
}

	
/* Product Image */
.woocommerce ul.products li.product img, 
.woocommerce-page ul.products li.product img {
    max-width: 100%;
    height: auto;
    border-radius: 0px; /* Slight rounding for the image */
    margin-bottom: 20px;
    transition: transform 0.3s ease; /* Smooth zoom effect */
}

.woocommerce ul.products li.product:hover img, 
.woocommerce-page ul.products li.product:hover img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title, 
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px; /* Default for desktop */
    font-weight: 300;
    margin: 0px 0;
    text-transform: none;
    line-height: 1;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title, 
.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title {
    color: #737D70; /* Change text color on hover */
}

/* Product Price */
.woocommerce ul.products li.product .price, 
.woocommerce-page ul.products li.product .price {
    font-size: 16px; /* Default for desktop */
    font-weight: 400;
    margin: 0px 0;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button, 
.woocommerce-page ul.products li.product .button {
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 20px;
    padding: 5px 20px;
    font-size: 16px; /* Default for desktop */
    font-weight: 400;
    color: #000000;
}

/* Mobile-Specific Adjustments */
@media (max-width: 768px) {
    .woocommerce ul.products li.product .woocommerce-loop-product__title, 
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
    .woocommerce ul.products li.product .price, 
    .woocommerce-page ul.products li.product .price,
    .woocommerce ul.products li.product .button, 
    .woocommerce-page ul.products li.product .button {
        font-size: 12px; /* Reduced font size for mobile */
    }
}


/* Default - Ensure the tabs are horizontally aligned and left-aligned on desktop */
ul.tabs.wc-tabs {
    display: flex;
    flex-direction: row; /* Tabs are aligned horizontally */
    justify-content: flex-start; /* Aligns tabs to the left */
    padding: 0;
    margin: 0;
}

ul.tabs.wc-tabs li {
    list-style: none;
    margin: 0 10px; /* Adds spacing between tabs */
}

/* Mobile View - Adjust tabs layout for mobile */
@media (max-width: 768px) {
    ul.tabs.wc-tabs {
        flex-direction: row; /* Keep horizontal layout on mobile */
        justify-content: space-around; /* Distribute tabs evenly on mobile */
        overflow-x: auto; /* Allow horizontal scrolling if tabs overflow */
        padding: 0;
    }

    ul.tabs.wc-tabs li {
        margin: 0 5px; /* Reduced spacing between tabs on mobile */
    }

    ul.tabs.wc-tabs a {
        display: block;
        text-align: center; /* Centers the text inside each tab */
    }
}
