.mi-product-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.mi-product-item {
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    background: #fff;
    transition: transform 0.2s;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mi-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mi-product-title h3 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: bold;
}

.mi-product-title a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.mi-product-image {
    position: relative;
    margin-bottom: 15px;
}

.mi-product-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.mi-product-ribbon {
    position: absolute;
    top: 10px;
    left: 0;
    background: #007cba;
    color: #fff;
    padding: 5px 15px;
    font-size: 0.8em;
    font-weight: bold;
    z-index: 10;
}

.mi-product-description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.mi-product-author {
    font-size: 0.85em;
    margin-bottom: 10px;
    color: #333;
}

.mi-product-price {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #a00;
}

.mi-product-buy {
    margin-top: auto;
}

.mi-product-learn-more {
    margin-top: 10px;
    font-size: 0.9em;
}

.mi-product-learn-more a {
    text-decoration: none;
    color: #007cba;
}

.mi-product-learn-more a:hover {
    text-decoration: underline;
}

.mi-product-buy .button {
    display: block;
    padding: 10px 20px;
    background-color: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.mi-product-buy .button:hover {
    background-color: #006ba1;
}

@media (max-width: 768px) {
    .mi-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .mi-product-grid {
        grid-template-columns: 1fr !important;
    }
}
