/* Add Font Awesome for social icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');

/* Add social icons styling */
.share-buttons a {
    margin: 5px;
    font-size: 24px;
    color: #0073aa;
    text-decoration: none;
}

.share-buttons a:hover {
    color: #005c8b;
}

/* Initially hide the Add to Cart button */
.add-to-cart {
    display: none;
}

/* Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
@media(min-width:768px){
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media(min-width:1024px){
    .product-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}
.product-item {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.product-title {
    height: 70px;
    font-family: "Aptos", Sans-serif;
    font-size: 16px;
    line-height: 22px;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-family: "Aptos", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-top: 5px;
}
.product-price .woocommerce-Price-currencySymbol{
    padding-right: 3px;
}
.product-actions {
    margin-top: 10px;
}

.add-to-cart {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}

.add-to-cart:hover {
    background-color: #005c8b;
}
/* Align form elements in one line */
.product-filters form {
    display:grid;
  grid-template-columns:58% 30% 10%;
    align-items: center; /* Align items vertically centered */
    gap: 15px; /* Space between elements */
}

/* Optional: Style the input field, select, and button for uniform appearance */
#search-product {
    width: 100%; /* Set a fixed width for the search input */
    padding: 8px;
    font-size: 14px;
}

#product-category {
    width: 100%; 
    padding: 8px;
    font-size: 14px;
}
a.add_to_cart_button{
    width: 100%;
    display: block;
    text-align: center;
}
button[type="submit"] {
    padding: 8px 15px; /* Add padding to the filter button */
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

button[type="submit"]:hover {
    background-color: #005c8b;
}
