.mmc-catalog-section{
    background:#ffffff;
}

.mmc-catalog-heading h2{
    color:#17324f;
}

.mmc-catalog-section-link{
    color:#17324f;
}

.mmc-catalog-filters{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin:0 0 18px;
}

.mmc-catalog-filters a{
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:8px 14px;
    border:1px solid rgba(23,50,79,0.1);
    border-radius:999px;
    background:#f6f7f8;
    color:#344153;
    text-decoration:none;
    font-size:13px;
    line-height:1;
    font-weight:900;
}

.mmc-catalog-filters a:hover,
.mmc-catalog-filters a.is-active{
    background:#17324f;
    color:#ffffff;
}

.mmc-catalog-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}

.mmc-catalog-card{
    display:flex;
    min-width:0;
    flex-direction:column;
    border:1px solid rgba(23,50,79,0.08);
    border-radius:12px;
    background:#ffffff;
    overflow:hidden;
    box-shadow:0 10px 26px rgba(23,50,79,0.07);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.mmc-catalog-card:hover{
    transform:translateY(-3px);
    border-color:rgba(23,50,79,0.16);
    box-shadow:0 16px 34px rgba(23,50,79,0.11);
}

.mmc-catalog-image{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    aspect-ratio:1 / 1;
    background:#ffffff;
    overflow:hidden;
}

.mmc-catalog-image img{
    display:block;
    width:100%;
    height:100%;
    padding:8px;
    object-fit:contain;
    box-sizing:border-box;
    transition:transform .25s ease;
}

.mmc-catalog-card:hover .mmc-catalog-image img{
    transform:scale(1.035);
}

.mmc-catalog-badge{
    position:absolute;
    top:10px;
    left:10px;
    z-index:2;
    display:inline-flex;
    min-height:28px;
    align-items:center;
    padding:7px 10px;
    border-radius:999px;
    color:#ffffff;
    font-size:12px;
    line-height:1;
    font-weight:950;
    box-shadow:0 8px 18px rgba(23,50,79,0.16);
}

.mmc-catalog-badge-new{
    background:#17324f;
}

.mmc-catalog-badge-sale{
    background:#7a1f2b;
}

.mmc-catalog-content{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:13px;
}

.mmc-catalog-content h3{
    min-height:38px;
    margin:0 0 8px;
    font-size:15px;
    line-height:1.28;
}

.mmc-catalog-content h3 a{
    display:-webkit-box;
    overflow:hidden;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    color:#17324f;
    text-decoration:none;
}

.mmc-catalog-price{
    margin-bottom:12px;
    color:#8a5b24;
    font-size:16px;
    font-weight:950;
}

.mmc-catalog-button{
    display:flex;
    min-height:40px;
    align-items:center;
    justify-content:center;
    margin-top:auto;
    padding:10px 12px;
    border-radius:10px;
    background:#17324f;
    color:#ffffff;
    text-decoration:none;
    font-size:13px;
    line-height:1;
    font-weight:950;
}

.mmc-catalog-button:hover{
    background:#8a5b24;
    color:#ffffff;
}

.mmc-catalog-empty{
    padding:18px;
    border:1px solid rgba(23,50,79,0.08);
    border-radius:12px;
    background:#f6f7f8;
    color:#4f5661;
    font-weight:800;
}

.mmc-catalog-empty p{
    margin:0;
}

@media(max-width:1024px){
    .mmc-catalog-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:768px){
    .mmc-catalog-filters{
        flex-wrap:nowrap;
        overflow-x:auto;
        padding-bottom:4px;
        -webkit-overflow-scrolling:touch;
    }

    .mmc-catalog-filters::-webkit-scrollbar{
        display:none;
    }

    .mmc-catalog-filters a{
        flex:0 0 auto;
        min-height:34px;
        padding:8px 13px;
        font-size:12px;
    }

    .mmc-catalog-grid{
        display:flex;
        gap:12px;
        overflow-x:auto;
        overflow-y:hidden;
        padding:2px 16px 6px 0;
        -webkit-overflow-scrolling:touch;
    }

    .mmc-catalog-grid::-webkit-scrollbar{
        display:none;
    }

    .mmc-catalog-card{
        min-width:205px;
        max-width:205px;
        flex:0 0 205px;
    }

    .mmc-catalog-content h3{
        font-size:14px;
    }

    .mmc-catalog-price{
        font-size:15px;
    }
}
