/* MM Category Banner - Shared Styles */

.mm-category-banner {
    margin: 0 0 30px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mm-cb-header {
    text-align: center;
    margin-bottom: 24px;
}

.mm-cb-products-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;
}

.mm-cb-product-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.mm-cb-product-card-link:hover {
    text-decoration: none;
}

.mm-cb-product-card {
    background: #fafafa;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 320px;
    overflow: hidden;
    position: relative;
    border: 1px solid black;
}

.mm-cb-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mm-cb-product-image {
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.mm-cb-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mm-cb-product-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    padding: 12px;
    color: #fff;
    background: #414D5C;
    line-height: 1.4;
    border-radius: 0;
    /* height: 60px; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mm-cb-product-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #97B8C2;
    color: #fff;
    padding: 12px;
    border-radius: 6px 6px 0 0;
    font-size: 18px;
    font-weight: 500;
    z-index: 10;
    text-align: center;
    box-sizing: border-box;
}

.mm-cb-product-features {
    padding: 12px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-radius: 0 0 6px 6px;
}

.mm-cb-product-feature {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

.mm-cb-product-feature:last-child {
    margin-bottom: 0;
}

.mm-cb-product-check {
    color: #d35c35;
    margin-right: 8px;
    font-weight: bold;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .mm-cb-products-row {
        grid-template-columns: 1fr;
    }
    .mm-category-banner {
        padding: 16px;
    }
}
