.mdf-condition-product-breadcrumb {
    padding: 0;
    background: linear-gradient(135deg, #edf7ef 0%, #f9fcf9 65%, #fff 100%);
    border-top: 1px solid #dce9df;
    border-bottom: 1px solid #dce9df;
}
.mdf-condition-product-breadcrumb .breadcrumb {
    display: flex;
    min-height: 48px;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
    color: #667269;
    font-size: 12px;
}
.mdf-condition-product-breadcrumb .breadcrumb-item { min-width: 0; white-space: nowrap; }
.mdf-condition-product-breadcrumb .breadcrumb-item + .breadcrumb-item::before { padding: 0 10px; color: #8ca094; content: "/"; }
.mdf-condition-product-breadcrumb a { color: #3d6848; font-weight: 650; }
.mdf-condition-product-breadcrumb a:hover { color: #26783a; }
.mdf-condition-product-breadcrumb .mdf-condition-crumb-current { display: flex; min-width: 0; align-items: center; color: #536058; }
.mdf-condition-product-breadcrumb .mdf-condition-crumb-current span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 575px) {
    .mdf-condition-product-breadcrumb .container { padding-right: 15px; padding-left: 15px; }
    .mdf-condition-product-breadcrumb .breadcrumb { min-height: 44px; font-size: 11px; }
    .mdf-condition-product-breadcrumb .mdf-condition-crumb-home span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .mdf-condition-product-breadcrumb .mdf-condition-crumb-home a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; }
    .mdf-condition-product-breadcrumb .breadcrumb-item + .breadcrumb-item::before { padding: 0 7px; }
    .mdf-condition-product-breadcrumb .mdf-condition-crumb-category { max-width: 34%; overflow: hidden; text-overflow: ellipsis; }
    .mdf-condition-product-breadcrumb .mdf-condition-crumb-current { flex: 1; }
}

#accordion .card {
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #dce5de;
    border-radius: 0 !important;
    box-shadow: none;
    overflow: hidden;
}
#accordion .card-header {
    margin: 0;
    padding: 0;
    background: #f5f8f5;
    border: 0;
    border-radius: 0 !important;
}
#accordion .card-header > h5 { margin: 0 !important; }
#accordion .mdf-condition-accordion-trigger {
    display: flex;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 14px 18px !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff !important;
    background: #2f7440 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    text-align: left;
    text-decoration: none !important;
    text-transform: none;
    cursor: pointer;
}
#accordion .mdf-condition-accordion-trigger::after {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    content: "−";
    color: #214d2c;
    background: #fff;
    font-size: 21px;
    font-weight: 500;
    line-height: 1;
}
#accordion .mdf-condition-accordion-trigger.collapsed::after { content: "+"; }
#accordion .mdf-condition-accordion-trigger:hover { background: #286437 !important; }
#accordion .mdf-condition-accordion-trigger:focus-visible {
    outline: 3px solid rgba(47,116,64,.28) !important;
    outline-offset: 3px;
}
#accordion .card-body {
    padding: 22px 20px;
    color: #3f4942;
    border-top: 1px solid #dce5de;
    font-size: 14px;
    line-height: 1.75;
}
#accordion .card-body > :last-child { margin-bottom: 0; }
@media (max-width: 575px) {
    #accordion .mdf-condition-accordion-trigger { min-height: 56px; padding: 13px 15px !important; font-size: 14px; }
    #accordion .card-body { padding: 18px 15px; }
}

#basket_change { margin-top: 34px; scroll-margin-top: 105px; }
#basket_change > h2 { margin: 0 0 6px; color: #1f2c23; font-size: 26px; }
#basket_change > p { margin: 0 0 20px; color: #6a756d; font-size: 13px; }
#basket_change .product-single-tabs { margin-bottom: 35px; }
#basket_change .nav-tabs { margin-bottom: 20px; border-bottom: 1px solid #dce5de; }
#basket_change .nav-tabs .nav-link { min-height: 44px; padding: 11px 15px; color: #536058; border: 0; border-bottom: 3px solid transparent; font-size: 12px; font-weight: 700; text-transform: none; }
#basket_change .nav-tabs .nav-link.active { color: #26783a; background: #f3f8f4; border-bottom-color: #398d4c; }
#basket_change .product-desc-content > .row { margin-right: -7px; margin-left: -7px; }
#basket_change .mdf-recipe-product-col { display: flex; padding-right: 7px; padding-left: 7px; }
#basket_change .mdf-product-card { width: 100%; margin-bottom: 16px; }
#basket_change .mdf-product-replace { display: flex; width: 100%; min-height: 42px; padding: 9px 10px; align-items: center; justify-content: center; color: #fff !important; background: #2f7440 !important; border: 0; font-size: 10px; font-weight: 750; text-align: center; text-transform: none; }
#basket_change .mdf-product-replace:hover { background: #245f35 !important; }
@media (max-width: 575px) {
    #basket_change { margin-top: 26px; }
    #basket_change > h2 { font-size: 22px; }
    #basket_change .nav-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: visible; background: #dce5de; border: 1px solid #dce5de; }
    #basket_change .nav-tabs .nav-item { width: auto; min-width: 0; margin: 0; background: #fff; }
    #basket_change .nav-tabs .nav-link { display: flex; width: 100%; min-height: 48px; height: 100%; padding: 9px 8px; align-items: center; justify-content: center; border: 0; border-left: 3px solid transparent; white-space: normal; line-height: 1.3; text-align: center; }
    #basket_change .nav-tabs .nav-link.active { border-left-color: #398d4c; border-bottom: 0; }
    #basket_change .mdf-product-replace { min-height: 44px; font-size: 9px; }
    #basket_change .mdf-product-card .mdf-product-price__current {
        display: inline-flex;
        min-width: 0;
        align-items: flex-start;
        gap: 4px;
        white-space: nowrap;
    }
    #basket_change .mdf-product-card .mdf-product-price .product-price {
        display: inline-flex;
        align-items: flex-start;
        gap: 2px;
        color: #247c38;
        font-size: 28px !important;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
    }
    #basket_change .mdf-product-card .mdf-product-price .product-price sup {
        position: static;
        margin: 2px 0 0;
        font-size: 11px !important;
        line-height: 1;
        vertical-align: top;
    }
    #basket_change .mdf-product-card .mdf-product-currency {
        margin-top: 14px;
        font-size: 10px;
        font-weight: 800;
        line-height: 1;
    }
}
.product-single-carousel.owl-carousel:not(.owl-loaded) { display: block; }
.product-single-carousel.owl-carousel:not(.owl-loaded) .product-item:not(:first-child) { display: none; }

/* Recipe basket: retain the decorative desktop treatment, use readable cards on mobile. */
.mdf-recipe-cart-name { display: none; }

@media (max-width: 575px) {
    .RecipeTableCtn_outer {
        width: 100%;
        overflow: hidden;
    }

    .RecipeTableCtn {
        display: flex;
        width: 100%;
        max-width: none;
        min-height: 0;
        padding: 12px;
        float: none;
        flex-direction: column;
        background: #f4f7f4;
        border: 1px solid #dce5de;
        border-radius: 14px;
    }

    .RecipeTableCtnSlide {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .RecipeTableCtn .prodListItem {
        display: flex;
        width: auto;
        min-width: 0;
        margin: 0;
        float: none;
        flex-direction: column;
        overflow: hidden;
        background: #fff;
        border: 1px solid #dce5de;
        border-radius: 11px;
        box-shadow: 0 3px 10px rgba(31, 64, 40, .07);
    }

    .RecipeTableCtn .prodListItem .clipImg {
        width: 100%;
        height: 136px;
        margin: 0;
        border: 0;
        border-bottom: 1px solid #e5ebe6;
        border-radius: 0;
    }

    .RecipeTableCtn .prodListItem .clipImg > div:first-child,
    .RecipeTableCtn .prodListItem .clipImg a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .RecipeTableCtn .prodListItem .clipImg img {
        display: block;
        width: 100%;
        height: 100%;
        padding: 8px;
        object-fit: contain;
    }

    .RecipeTableCtn .prodListItem .select_item_checkbox {
        top: 8px;
        left: 8px;
    }

    .RecipeTableCtn .prodListItem .select_item_checkbox input {
        width: 18px;
        height: 18px;
        margin: 0;
    }

    .RecipeTableCtn .prodListItem .title {
        display: flex;
        width: 100%;
        min-height: 0;
        padding: 10px;
        margin: 0;
        flex: 1;
        flex-direction: column;
    }

    .RecipeTableCtn .mdf-recipe-cart-name {
        display: -webkit-box;
        min-height: 52px;
        margin: 0 0 8px;
        overflow: hidden;
        order: 1;
        color: #26342a;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.32;
        letter-spacing: 0;
        text-decoration: none;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .RecipeTableCtn .prodListItem .price {
        display: flex;
        min-height: 52px;
        margin: 0 0 9px;
        order: 2;
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        color: #536058;
        font-size: 11px;
        line-height: 1.35;
    }

    .RecipeTableCtn .mdf-recipe-current-price {
        display: inline-flex;
        align-items: flex-start;
        gap: 3px;
        white-space: nowrap;
    }

    .RecipeTableCtn .prodListItem .price .product-price {
        display: inline-flex;
        align-items: flex-start;
        gap: 2px;
        white-space: nowrap;
        color: #247c38;
        font-size: 26px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -.02em;
    }

    .RecipeTableCtn .prodListItem .price .product-price sup {
        position: static;
        margin-top: 2px;
        font-size: 10px;
        line-height: 1;
        vertical-align: top;
    }

    .RecipeTableCtn .mdf-recipe-currency {
        margin-top: 12px;
        color: #247c38;
        font-size: 9px;
        font-weight: 750;
        line-height: 1;
    }

    .RecipeTableCtn .prodListItem .price .old-price {
        margin-right: 5px;
        color: #b42318;
        font-size: 12px;
    }

    .RecipeTableCtn .prodListItem .price .small {
        display: block;
        color: #7a857d;
        font-size: 9px;
        line-height: 1.2;
    }

    .RecipeTableCtn .change_product {
        margin-top: auto;
        order: 3;
    }

    .RecipeTableCtn .change_product a {
        padding: 8px 6px;
        color: #2f7040;
        background: #f8fbf8;
        border: 1px solid #aec5b4;
        border-radius: 7px;
        font-size: 10px;
        font-weight: 650;
        text-transform: none;
    }

    .RecipeTableCtn_outer .star-badge {
        display: flex;
        position: static;
        width: 100%;
        height: auto;
        min-height: 58px;
        margin: 0 0 12px;
        padding: 9px 12px;
        order: -1;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: #8b1e1e;
        background: #fff1f1;
        background-image: none;
        border: 1px solid #efcaca;
        border-radius: 10px;
        filter: none;
        transform: none;
        text-align: left;
    }

    .RecipeTableCtn_outer .star-badge .discountbadge_procent {
        padding: 0;
        font-size: 11px;
        line-height: 1.2;
    }

    .RecipeTableCtn_outer .star-badge .discountbadge_procent span {
        display: inline;
        margin-right: 3px;
        font-size: 20px;
    }

    .RecipeTableCtn_outer .star-badge .discountbadge_text {
        padding: 0;
        font-size: 10px;
        line-height: 1.25;
    }
}
