.mdf-cart-page { color: #344038; }
.mdf-cart-header { margin-bottom: 24px; text-align: center; }
.mdf-cart-kicker { color: #3b914d; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mdf-cart-header h1 { margin: 5px 0 6px; color: #25342a; font-size: 30px; font-weight: 750; }
.mdf-cart-header p { margin: 0; color: #727b75; font-size: 13px; }
.mdf-cart-vat-note { padding: 10px 14px; background: #f7faf7; border: 1px solid #e1e9e2; border-radius: 10px; color: #566159; font-size: 12px; }
.mdf-cart-products-card { margin-bottom: 14px; border: 1px solid #e2e8e3; border-radius: 14px; box-shadow: 0 5px 18px rgba(27, 54, 33, .06); overflow: hidden; }
.mdf-cart-section-title { margin: 0; padding: 17px 20px; color: #26372a; background: #f7faf7; border-bottom: 1px solid #e4eae5; font-size: 17px; font-weight: 700; }
.mdf-cart-table { margin: 0; }
.mdf-cart-table thead th { padding: 12px 10px; color: #727a74; background: #fff; border-bottom: 1px solid #e8ece9; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mdf-cart-table td { padding: 14px 10px; vertical-align: middle; border-color: #edf0ed; }
.mdf-cart-product-image { width: 105px; }
.mdf-cart-product-image img { width: 82px; height: 82px; max-width: none !important; padding: 5px; object-fit: contain; background: #f8faf8; border-radius: 10px; }
.mdf-cart-product-name { display: inline-block; margin-bottom: 5px; color: #26342a; font-size: 13px; font-weight: 700; line-height: 1.4; }
.mdf-cart-unit-price { display: flex; align-items: baseline; gap: 8px; color: #287c3a; font-size: 13px; }
.mdf-cart-unit-price del { color: #929a94 !important; font-size: 11px; }
.mdf-cart-meta { margin-top: 5px; color: #7c857e; font-size: 10px; }
.mdf-cart-quantity { width: 128px; }
.mdf-qty-stepper { display: inline-flex; height: 40px; align-items: stretch; overflow: hidden; border: 1px solid #d8e0da; border-radius: 9px; }
.mdf-qty-stepper button { width: 34px; padding: 0; color: #34483a; background: #f5f8f5; border: 0; font-size: 18px; cursor: pointer; }
.mdf-qty-stepper button:hover { background: #e9f3eb; }
.mdf-qty-stepper input { width: 42px !important; height: 38px; padding: 0 3px; border: 0; border-right: 1px solid #e0e6e1; border-left: 1px solid #e0e6e1; border-radius: 0; text-align: center; appearance: textfield; }
.mdf-qty-stepper input::-webkit-inner-spin-button { appearance: none; }
.mdf-cart-line-total { color: #26372a; font-size: 14px; font-weight: 800; white-space: nowrap; }
.mdf-cart-remove { width: 48px; text-align: center; }
.mdf-cart-remove .btn { display: inline-flex; width: 34px; height: 34px; padding: 0; align-items: center; justify-content: center; color: #7f8982; background: transparent; border: 1px solid #e1e6e2; border-radius: 50%; }
.mdf-cart-remove .btn:hover { color: #bb3131; background: #fff2f2; border-color: #eccaca; }
.mdf-cart-list-actions { display: flex; margin: 4px 0 22px; align-items: center; gap: 15px; }
.mdf-cart-list-actions .btn { min-height: 42px; padding: 10px 16px; border-radius: 9px; font-size: 11px; text-transform: none; }
.mdf-cart-clear { color: #8a4646; font-size: 11px; text-decoration: underline; }
.mdf-cart-summary { position: sticky; top: 92px; padding: 19px; background: #fff; border: 1px solid #dfe7e1; border-radius: 14px; box-shadow: 0 8px 26px rgba(24, 55, 31, .09); }
.mdf-cart-summary > h2 { margin: 0 0 12px; color: #26372a; font-size: 18px; font-weight: 700; }
.mdf-cart-summary .table-totals { margin: 0; }
.mdf-cart-summary .table-totals td { padding: 11px 4px; border-color: #edf0ed; }
.mdf-cart-summary .table-totals .total { color: #26372a; font-size: 14px; font-weight: 800; }
.mdf-cart-summary .table-totals .total:last-child { color: #2d8841; text-align: right; }
.mdf-cart-summary .list-group { margin: 0; }
.mdf-cart-summary .list-group-item { padding: 11px 10px; border-color: #e4e9e5; font-size: 11px; line-height: 1.4; }
.mdf-cart-summary .list-group-item:has(input[type="radio"]) {
    display: flex;
    min-height: 54px;
    padding: 12px 14px;
    align-items: center;
    gap: 10px;
    color: #344038;
    background: #fff;
    border-color: #dfe6e1;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.45;
    transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.mdf-cart-summary .list-group-item:has(input[type="radio"]):hover { background: #f6faf7; border-color: #a9cdb1; }
.mdf-cart-summary .list-group-item:has(input[type="radio"]):focus,
.mdf-cart-summary .list-group-item:has(input[type="radio"]):focus-within {
    position: relative;
    z-index: 1;
    outline: 2px solid #3d914e;
    outline-offset: -2px;
}
.mdf-cart-summary .list-group-item:has(input[type="radio"]:checked) {
    position: relative;
    z-index: 1;
    color: #1f542c;
    background: #edf7ef;
    border-color: #59a969;
    box-shadow: inset 4px 0 0 #3d914e;
    font-weight: 650;
}
.mdf-cart-delivery-title { color: #34463a; background: #f3f7f4; font-weight: 700; }
.mdf-cart-summary input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
    accent-color: #3d914e;
    cursor: pointer;
}
.mdf-cart-checkout { width: 100%; min-height: 48px; border-radius: 10px; font-size: 12px; font-weight: 750; text-transform: none; }
.mdf-empty-cart { max-width: 620px; margin: 20px auto 40px; padding: 52px 30px; background: linear-gradient(145deg, #f7fbf7, #fff); border: 1px solid #deeadf; border-radius: 18px; box-shadow: 0 12px 34px rgba(28, 62, 35, .08); text-align: center; }
.mdf-empty-cart-icon { display: inline-flex; width: 72px; height: 72px; margin-bottom: 18px; align-items: center; justify-content: center; color: #3b914d; background: #e8f5eb; border-radius: 50%; font-size: 32px; }
.mdf-empty-cart h2 { margin: 0 0 9px; color: #26372a; font-size: 24px; font-weight: 750; }
.mdf-empty-cart p { max-width: 420px; margin: 0 auto 22px; color: #727b75; font-size: 13px; line-height: 1.6; }
.mdf-empty-cart .btn { min-height: 46px; padding: 12px 22px; background: #3b914d; border-color: #3b914d; border-radius: 10px; font-size: 12px; text-transform: none; }
.mdf-empty-cart-home { display: block; margin-top: 16px; color: #59645c; font-size: 11px; text-decoration: underline; }
@media (max-width: 991px) {
    .mdf-cart-summary { position: static; margin-top: 8px; }
}
@media (max-width: 767px) {
    .mdf-cart-page { margin-top: 22px !important; }
    .mdf-cart-header { margin-bottom: 18px; }
    .mdf-cart-header h1 { font-size: 24px; }
    .mdf-cart-header p { padding: 0 20px; font-size: 12px; }
    .mdf-cart-products-card { background: transparent; border: 0; box-shadow: none; overflow: visible; }
    .mdf-cart-section-title { margin-bottom: 10px; padding: 0; background: transparent; border: 0; font-size: 16px; }
    .mdf-cart-table, .mdf-cart-table tbody { display: block; width: 100%; }
    .mdf-cart-table thead { display: none; }
    .mdf-cart-table .mdf-cart-item { display: grid; position: relative; min-height: 150px; margin-bottom: 12px; padding: 13px 13px 13px 112px; grid-template-columns: 1fr auto; gap: 10px 12px; background: #fff; border: 1px solid #e1e8e3; border-radius: 13px; box-shadow: 0 4px 15px rgba(25, 55, 31, .06); }
    .mdf-cart-table td { display: block; width: auto; padding: 0; border: 0; }
    .mdf-cart-product-image { position: absolute; top: 13px; left: 13px; }
    .mdf-cart-product-image img { width: 86px; height: 96px; }
    .mdf-cart-product-info { grid-column: 1 / 3; min-height: 87px; }
    .mdf-cart-product-name { padding-right: 26px; font-size: 12px; }
    .mdf-cart-quantity { grid-column: 1; }
    .mdf-cart-quantity::before, .mdf-cart-line-total::before { display: block; margin-bottom: 5px; content: attr(data-label); color: #879089; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
    .mdf-cart-line-total { grid-column: 2; align-self: end; text-align: right; }
    .mdf-cart-remove { position: absolute; top: 8px; right: 8px; }
    .mdf-cart-list-actions { margin-bottom: 25px; justify-content: space-between; }
    .mdf-cart-summary { padding: 17px 15px; }
    .mdf-empty-cart { margin-top: 5px; padding: 38px 20px; }
    .mdf-empty-cart h2 { font-size: 21px; }
}
