/* MS Arena cart: identical row geometry, typography and controls to the wishlist. */
body .mh-cart-widget.mh-cart-modern {
    /* Palette inherits from :root; fallbacks also support standalone embeds. */
    display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; min-width: 0;
    width: 100%; margin: 0; padding: 0; box-sizing: border-box;
    border: 0; border-radius: 0; background: var(--mmwl-d-surface, #f7f5ef);
    color: var(--mmwl-d-green, #193d34); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    font-family: inherit; font-size: 14px; line-height: 1.4; text-align: left;
}
body .mh-cart-widget.mh-cart-modern * { box-sizing: border-box; }
body .mh-cart-widget.mh-cart-modern [hidden] { display: none !important; }
body .mh-cart-widget.mh-cart-modern .mh-cart-head {
    display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 8px;
    margin: 0; padding: 16px 18px 6px;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-title {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--mmwl-d-green, #193d34); font-size: 12px; font-weight: 600; letter-spacing: 0;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-count-label {
    flex: 0 0 auto; padding: 3px 8px; border: 0; border-radius: 20px;
    background: #e9ede5; color: var(--mmwl-d-green, #193d34); font-size: 10px; line-height: 1.5; font-weight: 650;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-switcher { flex: 0 0 auto; margin: 0; padding: 8px 18px 4px; }
body .mh-cart-widget.mh-cart-modern .mh-cart-switcher-label { display: block; margin: 0 0 5px; font-size: 11px; color: #65776f; }
body .mh-cart-widget.mh-cart-modern .mh-cart-select {
    width: 100%; max-width: 100%; min-width: 0; min-height: 36px; margin: 0; padding: 7px 10px;
    border: 1px solid #d6ddd5; border-radius: 8px; color: var(--mmwl-d-green, #193d34); background: #fff; font: inherit; font-size: 12px;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-items {
    flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
    margin: 0; padding: 0 18px; -webkit-overflow-scrolling: touch;
}
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-item {
    position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 30px;
    align-items: center; gap: 11px; min-width: 0; margin: 0; padding: 13px 0;
    border: 0; border-bottom: 1px solid #dfe3da; border-radius: 0;
    color: var(--mmwl-d-green, #193d34); background: transparent; box-shadow: none;
    transform: none; transition: opacity .15s; animation: none !important;
}
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-item:last-child { border-bottom: 0; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-item:hover { border-color: #dfe3da; background: transparent; box-shadow: none; transform: none; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-thumb {
    display: grid; place-items: center; width: 52px; height: 66px; overflow: hidden;
    margin: 0; padding: 5px; border: 1px solid #e8e9e1; border-radius: 9px; background: #fff;
}
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-thumb img {
    display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border-radius: 0; object-fit: contain;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-thumb-placeholder { color: #8a9d8c; font-size: 26px; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-meta { min-width: 0; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-top { display: block; margin: 0; padding: 0; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-width: 0; margin: 0 0 8px; padding: 0; color: var(--mmwl-d-green, #193d34);
    font-size: 13px; font-weight: 650; line-height: 1.35; letter-spacing: -.015em; text-decoration: none; overflow-wrap: anywhere;
}
body .mh-cart-widget.mh-cart-modern a.mh-mini-cart-name:hover { text-decoration: underline; text-underline-offset: 3px; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-bottom {
    display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin: 0; padding: 0;
}
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-price {
    margin: 0; padding: 0; color: var(--mmwl-d-green, #193d34); font-size: 12px; line-height: 1.35; font-weight: 650;
}
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-price del { font-size: 10px; opacity: .6; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-price ins { text-decoration: none; background: none; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-price .woocommerce-price-suffix { font-size: 9px; font-weight: 400; opacity: .7; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-qty {
    display: inline-flex; align-items: center; flex: 0 0 auto; height: 30px;
    margin: 0; padding: 0; border: 1px solid #d4dcd2; border-radius: 7px; background: #fff; overflow: hidden;
}
body .mh-cart-widget.mh-cart-modern .mh-qty-btn {
    display: grid; place-items: center; flex: 0 0 28px; width: 28px; min-width: 0; height: 28px; min-height: 0;
    margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--mmwl-d-green, #193d34);
    font: inherit; font-size: 14px; line-height: 1; cursor: pointer; box-shadow: none; transform: none;
}
body .mh-cart-widget.mh-cart-modern .mh-qty-btn:hover { background: #edf1e9; }
body .mh-cart-widget.mh-cart-modern .mh-qty-input {
    appearance: textfield; -moz-appearance: textfield; display: block; width: 31px; min-width: 0; max-width: 31px;
    height: 28px; min-height: 0; margin: 0; padding: 0 1px; border: 0; border-radius: 0;
    background: transparent; color: var(--mmwl-d-green, #193d34); box-shadow: none; text-align: center; font: inherit; font-size: 12px; font-weight: 650;
}
body .mh-cart-widget.mh-cart-modern .mh-qty-input::-webkit-inner-spin-button,
body .mh-cart-widget.mh-cart-modern .mh-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body .mh-cart-widget.mh-cart-modern .mh-cart-remove {
    display: grid; place-items: center; align-self: start; width: 30px; min-width: 0; height: 32px; min-height: 0;
    margin: 0 -4px 0 0; padding: 6px; border: 0; border-radius: 7px; background: transparent; color: #7a8b7e; cursor: pointer; box-shadow: none;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-remove svg { display: block; width: 17px; height: 17px; }
body .mh-cart-widget.mh-cart-modern .mh-cart-remove:hover { color: #a23a26; background: #f5e9df; }
body .mh-cart-widget.mh-cart-modern .mh-cart-footer {
    flex: 0 0 auto; padding: 12px 18px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid #dfe3da; background: var(--mmwl-d-surface, #f7f5ef);
}
body .mh-cart-widget.mh-cart-modern .mh-cart-more {
    display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; padding: 0; color: var(--mmwl-d-green, #193d34); font-size: 11px; font-weight: 600; text-decoration: none;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-more:hover { text-decoration: underline; text-underline-offset: 3px; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; }
body .mh-cart-widget.mh-cart-modern .mh-button {
    display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-width: 0; min-height: 38px;
    margin: 0; padding: 9px 12px; border: 1px solid #cdd6cb; border-radius: 8px;
    color: var(--mmwl-d-green, #193d34); background: transparent; box-shadow: none;
    font: inherit; font-size: 12px; font-weight: 650; line-height: 1.4; text-decoration: none; text-transform: none; letter-spacing: 0; transform: none;
}
body .mh-cart-widget.mh-cart-modern .mh-button.mh-primary {
    justify-content: space-between; padding-inline: 14px; border-color: transparent; color: #193d34; background: var(--mmwl-d-accent, #e5ad18); box-shadow: none;
}
body .mh-cart-widget.mh-cart-modern .mh-button.mh-secondary { background: transparent; color: var(--mmwl-d-green, #193d34); min-height: 30px; padding-block: 5px; border-color: transparent; font-weight: 500; }
body .mh-cart-widget.mh-cart-modern .mh-button:hover { background: #e9ede5; box-shadow: none; transform: none; }
body .mh-cart-widget.mh-cart-modern .mh-button.mh-primary:hover { filter: brightness(.96); background: var(--mmwl-d-accent, #e5ad18); }
body .mh-cart-widget.mh-cart-modern .mh-cart-status { margin: 0 0 10px; padding: 0; color: #943e28; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
body .mh-cart-widget.mh-cart-modern .mh-cart-status:empty { display: none; }
body .mh-cart-widget.mh-cart-modern .mh-cart-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 12px 30px; text-align: center; }
body .mh-cart-widget.mh-cart-modern .mh-cart-empty-icon { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid #dfe3da; border-radius: 50%; color: var(--mmwl-d-green, #193d34); background: #edf0e7; }
body .mh-cart-widget.mh-cart-modern .mh-cart-empty-icon svg { width: 24px; height: 24px; }
body .mh-cart-widget.mh-cart-modern .mh-cart-empty strong { font-size: 15px; font-weight: 600; }
body .mh-cart-widget.mh-cart-modern .mh-cart-empty p { max-width: 230px; margin: 0; color: #65776f; font-size: 12px; line-height: 1.6; }
body .mh-cart-widget.mh-cart-modern :is(button, input, select, a):focus-visible { outline: 2px solid var(--mmwl-d-green, #193d34); outline-offset: 2px; }
body .mh-cart-widget.mh-cart-modern :is(button, input, select):disabled { opacity: .45; cursor: not-allowed; }
body .mh-cart-widget.mh-cart-modern [aria-busy="true"] { opacity: .65; }
@media (max-width: 480px) {
    body .mh-cart-widget.mh-cart-modern .mh-cart-head { padding-inline: 14px; }
    body .mh-cart-widget.mh-cart-modern .mh-cart-switcher { padding-inline: 14px; }
    body .mh-cart-widget.mh-cart-modern .mh-cart-items { padding-inline: 14px; }
    body .mh-cart-widget.mh-cart-modern .mh-cart-footer { padding-inline: 14px; }
    body .mh-cart-widget.mh-cart-modern .mh-mini-cart-item { grid-template-columns: 46px minmax(0, 1fr) 28px; gap: 9px; }
    body .mh-cart-widget.mh-cart-modern .mh-mini-cart-thumb { width: 46px; height: 60px; }
    body .mh-cart-widget.mh-cart-modern .mh-qty-input { font-size: 16px; } /* Prevent iOS focus zoom. */
}
@media (prefers-reduced-motion: reduce) {
    body .mh-cart-widget.mh-cart-modern * { animation: none !important; transition: none !important; }
}

@media (max-height: 560px) {
    body .mh-cart-widget.mh-cart-modern .mh-cart-head { padding: 8px 14px 0; }
    body .mh-cart-widget.mh-cart-modern .mh-cart-switcher { padding: 6px 14px 4px; }
    body .mh-cart-widget.mh-cart-modern .mh-cart-switcher-label { display: none; }
    body .mh-cart-widget.mh-cart-modern .mh-cart-footer { padding: 8px 14px max(8px, env(safe-area-inset-bottom)); }
    body .mh-cart-widget.mh-cart-modern .mh-mini-cart-actions { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
    body .mh-cart-widget.mh-cart-modern .mh-button { font-size: 11px; }
    body .mh-cart-widget.mh-cart-modern .mh-cart-more { margin-bottom: 6px; }
}

/* Cart-specific summary. The product list and totals scroll together on short screens. */
body .mh-cart-widget.mh-cart-modern .mh-cart-scroll {
    flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-items { overflow: visible; flex: 0 0 auto; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-price { font-size: 12px; }
body .mh-cart-widget.mh-cart-modern .mh-cart-product-data {
    margin: 0 0 6px; padding: 0; color: #65776f; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-product-data dl,
body .mh-cart-widget.mh-cart-modern .mh-cart-product-data p { margin: 0; }
body .mh-cart-widget.mh-cart-modern .mh-cart-item-pfand {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px;
    margin: 6px 0 0; color: #65776f; font-size: 10px; line-height: 1.4;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-item-pfand small { font-size: 10px; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-remove {
    display: grid; place-items: center; align-self: start; width: 30px; height: 32px; min-height: 0;
    margin: 0 -4px 0 0; padding: 6px; border: 0; border-radius: 7px;
    color: #7a8b7e; background: transparent; box-shadow: none; text-decoration: none; cursor: pointer;
}
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-remove svg { display: block; width: 17px; height: 17px; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-remove:hover { color: #a23a26; background: #f5e9df; }
body .mh-cart-widget.mh-cart-modern .mh-mini-cart-totals {
    display: grid; gap: 8px; margin: 0 18px; padding: 13px 0; border: 0; border-top: 1px solid #dfe3da;
    background: transparent; color: var(--mmwl-d-green, #193d34); font-size: 11px; line-height: 1.45;
}
body .mh-cart-widget.mh-cart-modern .mh-mini-trow {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 12px;
    margin: 0; padding: 0; border: 0; font-size: 11px; line-height: 1.45; font-weight: 400;
}
body .mh-cart-widget.mh-cart-modern .mh-mini-trow > span:first-child { min-width: 0; overflow-wrap: anywhere; }
body .mh-cart-widget.mh-cart-modern .mh-mini-trow > span:last-child { white-space: nowrap; text-align: right; }
body .mh-cart-widget.mh-cart-modern .mh-mini-pfand { font-weight: 600; }
body .mh-cart-widget.mh-cart-modern .mh-mini-gross {
    margin-top: 3px; padding-top: 11px; border-top: 1px solid #dfe3da; font-size: 14px; font-weight: 700;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-feedback {
    flex: 0 0 auto; margin: 0; padding: 10px 18px; color: #943e28; background: #f5e9df; font-size: 12px;
}
body .mh-cart-widget.mh-cart-modern .mh-cart-feedback:empty { display: none; }
body .mh-drawer.mh-drawer-cart [data-mh-mini-cart] > .mh-cart-feedback { margin: 0; padding: 10px 18px; color: #943e28; font-size: 12px; }
@media (max-width: 480px) {
    body .mh-cart-widget.mh-cart-modern .mh-mini-cart-totals { margin-inline: 14px; }
}
