.shop-product-wrap > [class*="col-"],
.products-section .row > [class*="col-"] { display: flex; }

.mdf-product-card {
    display: flex;
    width: 100%;
    height: calc(100% - 18px);
    margin-bottom: 18px;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e9e5;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(25, 55, 32, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mdf-product-card:hover,
.mdf-product-card:focus-within {
    border-color: #b8d8be;
    box-shadow: 0 10px 24px rgba(25, 55, 32, .12);
    transform: translateY(-2px);
}
.mdf-product-card .mdf-product-media {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #f8faf8;
    border-bottom: 1px solid #edf0ed;
    aspect-ratio: 1 / 1;
}
.mdf-product-card .mdf-product-image-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.mdf-product-card .mdf-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .3s ease;
}
.mdf-product-card:hover .mdf-product-media img { transform: scale(1.035); }
.mdf-product-card .label-group { top: 9px; left: 9px; }
.mdf-product-card .product-label {
    min-width: 0;
    margin-bottom: 5px;
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: none;
}
.mdf-product-card .mdf-product-details {
    display: flex;
    padding: 12px 12px 14px;
    flex: 1;
    flex-direction: column;
    text-align: left;
}
.mdf-product-card .mdf-product-title {
    min-height: 42px;
    margin: 0 0 10px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.mdf-product-card .mdf-product-title a { color: #303832; text-decoration: none; }
.mdf-product-card .mdf-product-title a:hover { color: #3b8e4b; }
.mdf-product-card .mdf-product-price {
    display: flex;
    min-height: 35px;
    margin: 0 0 11px;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px 7px;
}
.mdf-product-card .mdf-product-price .product-price {
    color: #247c38;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}
.mdf-product-card .mdf-product-price .product-price sup { font-size: 11px; top: -.65em; }
.mdf-product-card .mdf-product-price .old-price {
    color: #8b928d;
    font-size: 12px;
    line-height: 1;
    text-decoration: line-through;
}
.mdf-product-card .mdf-product-vat {
    color: #89908b;
    font-size: 9px;
    line-height: 1.2;
    text-transform: lowercase;
}
.mdf-product-card .mdf-product-action { width: 100%; margin-top: auto; }
.mdf-product-card .mdf-product-action .btn-add-cart {
    display: flex;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 9px 10px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #303833;
    border: 0;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-transform: none;
}
.mdf-product-card .mdf-product-action .btn-add-cart:hover,
.mdf-product-card .mdf-product-action .btn-add-cart:focus { background: #3d914e; outline: 0; }

@media (max-width: 575px) {
    .mdf-product-card { height: calc(100% - 12px); margin-bottom: 12px; border-radius: 12px; }
    .mdf-product-card .mdf-product-image-link { padding: 8px; }
    .mdf-product-card .mdf-product-details { padding: 9px 9px 10px; }
    .mdf-product-card .mdf-product-title { min-height: 41px; margin-bottom: 8px; font-size: 12px; line-height: 1.45; }
    .mdf-product-card .mdf-product-price { min-height: 32px; margin-bottom: 8px; gap: 2px 5px; }
    .mdf-product-card .mdf-product-price .product-price { font-size: 19px; }
    .mdf-product-card .mdf-product-price .old-price { font-size: 11px; }
    .mdf-product-card .mdf-product-action .btn-add-cart { min-height: 42px; padding: 8px 5px; font-size: 10px; }
    .mdf-product-card .product-label { padding: 4px 6px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .mdf-product-card,
    .mdf-product-card .mdf-product-media img { transition: none; }
}
