/* NosatoMobileFirst 4e cartShippingChoice: Versand- und Zahlungsart als Karten, Hinweis kostenloser Versand */

.nmf-ship {
    margin: .25rem 0 .5rem;
}
/* Shopware begrenzt den Container des alten Auswahlfelds auf 100px Höhe */
.offcanvas-summary .offcanvas-shipping-preference.nmf-ship {
    max-height: none;
    height: auto;
}
.nmf-ship fieldset {
    margin: 0 0 .5rem;
    padding: 0;
    border: 0;
}
.nmf-ship-title {
    float: none;
    width: auto;
    font-weight: 700;
    margin: .25rem 0 .5rem;
    font-size: 1rem;
    line-height: 1.3;
}
.nmf-ship-opt {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    min-height: 52px;
    padding: .5rem .875rem;
    margin: 0 0 .5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 12px;
    cursor: pointer;
    font-size: .9375rem;
    font-weight: 400;
    transition: border-color .15s, box-shadow .15s;
}
.nmf-ship-opt:hover {
    border-color: rgba(0, 0, 0, .45);
}
.nmf-ship-opt.is-active {
    border-color: #126d1a;
    box-shadow: 0 0 0 1px #126d1a;
}
.nmf-ship-radio {
    -webkit-appearance: none;
    appearance: none;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    border-radius: 50%;
    border: 2px solid #8a8a8a;
    background: #fff;
    position: relative;
    cursor: pointer;
}
.nmf-ship-radio:checked {
    border-color: #126d1a;
    background: radial-gradient(circle, #126d1a 0 45%, #fff 50%);
}
.nmf-ship-radio:focus-visible {
    outline: 2px solid #126d1a;
    outline-offset: 2px;
}
.nmf-ship-name {
    flex: 1;
    line-height: 1.25;
    min-width: 0;
}
.nmf-ship-name small {
    display: block;
    color: #555;
    font-size: .8125rem;
}
.nmf-ship-price {
    font-weight: 700;
    white-space: nowrap;
}
.nmf-ship-price.free {
    color: #126d1a;
}
.nmf-pay-ico {
    margin-left: auto;
    flex: 0 0 auto;
}
.nmf-pay-ico img {
    display: block;
    max-width: 64px;
    max-height: 26px;
    width: auto;
    height: auto;
}
.nmf-ship.is-loading {
    opacity: .6;
    pointer-events: none;
}

/* Hinweis kostenloser Versand */
.nmf-free {
    margin: .25rem 0 .75rem;
    font-size: .875rem;
    line-height: 1.3;
}
.nmf-free-text {
    margin-bottom: .375rem;
}
.nmf-free-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .1);
    overflow: hidden;
}
.nmf-free-bar > span {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: #126d1a;
}
.nmf-free.is-reached .nmf-free-text {
    color: #126d1a;
    font-weight: 700;
}

/* Seitenleiste: Zeilen Versand und Gesamt */
.offcanvas-shipping-info.nmf-ship-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin: 0 0 .25rem;
}
.offcanvas-shipping-info.nmf-ship-row > span {
    width: auto;
    padding: 0;
}
.offcanvas-summary-list.nmf-total {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin: .25rem 0 0;
    padding-top: .5rem;
    border-top: 1px solid rgba(0, 0, 0, .12);
    font-size: 1.125rem;
}
.offcanvas-summary-list.nmf-total > * {
    width: auto;
    padding: 0;
    margin: 0;
}
.offcanvas-summary-list.nmf-total dt {
    font-weight: 700;
}

/* Warenkorb-Seite: Kasten "Versand & Zahlung" */
.nmf-cart-box {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 12px;
    padding: 1rem 1rem .5rem;
    margin: 0 0 1rem;
}
.nmf-cart-box-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 .5rem;
}
.nmf-cart-box .nmf-ship-opt {
    background: #faf8f0;
}
.nmf-cart-box .nmf-ship-opt.is-active {
    background: #fff;
}
.nmf-country {
    font-size: .875rem;
    color: #444;
    margin-bottom: .75rem;
}

/* Seitenleiste (Handy und Desktop): flach, zwei Karten nebeneinander, damit mehr vom Warenkorb sichtbar bleibt */
.offcanvas-cart .nmf-ship {
    margin: 0 0 .25rem;
}
.offcanvas-cart .nmf-ship-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: .375rem;
    margin: 0;
}
.offcanvas-cart .nmf-ship-compact .nmf-ship-title {
    grid-column: 1 / -1;
    font-size: .8125rem;
    font-weight: 700;
    margin: 0 0 .125rem;
}
.offcanvas-cart .nmf-ship-compact .nmf-ship-opt {
    display: grid;
    grid-template-columns: 16px 1fr;
    column-gap: .5rem;
    row-gap: 0;
    align-items: center;
    min-height: 0;
    padding: .3125rem .625rem;
    margin: 0;
    font-size: .8125rem;
    line-height: 1.25;
    border-radius: 8px;
}
.offcanvas-cart .nmf-ship-compact .nmf-ship-radio {
    grid-row: 1 / span 2;
    width: 16px;
    height: 16px;
    border-width: 2px;
}
.offcanvas-cart .nmf-ship-compact .nmf-ship-name {
    font-weight: 600;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.offcanvas-cart .nmf-ship-compact .nmf-ship-price {
    grid-column: 2;
    font-size: .8125rem;
}
.offcanvas-cart .nmf-ship-note {
    margin: .25rem 0 0;
    font-size: .75rem;
    color: #555;
    line-height: 1.3;
}
.offcanvas-cart .nmf-free {
    margin: .125rem 0 .375rem;
    font-size: .8125rem;
}
.offcanvas-cart .nmf-free-text {
    margin-bottom: .1875rem;
}
.offcanvas-cart .nmf-free-bar {
    height: 5px;
}
.offcanvas-cart .offcanvas-summary-list.nmf-total {
    font-size: 1rem;
    margin-top: .375rem;
    padding-top: .375rem;
}

/* Warenkorb-Seite: Karten etwas flacher */
.nmf-cart-box .nmf-ship-opt {
    min-height: 44px;
    padding: .375rem .75rem;
    margin-bottom: .375rem;
    font-size: .875rem;
    border-radius: 10px;
}
.nmf-cart-box .nmf-ship-title {
    font-size: .9375rem;
    margin: .25rem 0 .375rem;
}

/* Hinweis "Preise zzgl. Versandkosten" unter "Gesamt" klein halten */
.offcanvas-cart .nmf-cart-footer .offcanvas-cart-tax,
.offcanvas-cart .nmf-cart-footer .offcanvas-cart-tax small {
    margin: 0 0 .25rem;
    font-size: .75rem;
    line-height: 1.3;
}

/* Zwischensumme zurücknehmen: Die wichtige Zahl ist jetzt "Gesamt" */
.offcanvas-cart .nmf-cart-footer .offcanvas-summary-list:not(.nmf-total) {
    font-size: .9375rem;
}
.offcanvas-cart .nmf-cart-footer .offcanvas-summary-list:not(.nmf-total) .summary-label {
    font-weight: 400;
}
