/* Grid Container */
.mm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Product Card */
.mm-product-card {
    /* width: fit-content; */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.mm-product-card:hover {
    transform: translateY(-5px);
}

/* Product Image */
.mm-product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Product Title */
.mm-product-card h3 {
    font-size: 18px;
    margin: 10px 0;
}

.mm-product-card h3 a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.mm-product-card h3 a:hover {
    color: #0073aa;
}

/* Price */
.mm-price {
    font-size: 16px;
    color: #28a745;
    font-weight: bold;
}

/* Add to Cart Button */
.mm-add-to-cart {
    margin-top: 10px;
}

.mm-add-to-cart button {
    background: #ff6600;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.mm-add-to-cart button:hover {
    background: #e55b00;
}

.mm-add-to-cart a.read-more-button {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #515151;
    background-color: #e9e6ed;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}

.mm-add-to-cart p.product.woocommerce.add_to_cart_inline {
    border: 0px !important;
    padding: 0px !important;
}

select#mm-model {
    width: 30%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    height: fit-content;
}

select#mm-make {
    width: 100%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    height: fit-content;
}

select#mm-year {
    width: 25%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    height: fit-content;

}

.make_option {
    width: 30%;
}

#mm-search-btn {
    width: 10%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    height: fit-content;
}

div#mm-search-results {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
    max-width: 100%;
    padding-bottom: 20px;
}