/* Nur der mobile Warenkorb. Bestehende Navigation, Suche und Filter behalten ihre Styles. */
@media (max-width: 991px) {
    .snap-drawer-right > .minicart {
        height: 100%;
        background: #fff;
    }

    .snap-drawer-right > .minicart .gt-minicart-shell {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
    }

    .snap-drawer-right > .minicart .gt-minicart-header {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 44px;
        gap: 8px;
        flex: 0 0 auto;
        align-items: center;
        height: var(--gt-minicart-header-height, 52px);
        min-height: 50px;
        padding: 3px 12px;
        box-sizing: border-box;
        color: #fff;
        background: #468c00;
        box-shadow: 0 4px 10px rgba(38, 51, 22, .22);
    }

    .snap-drawer-right > .minicart .gt-minicart-header > .fa {
        font-size: 32px;
        line-height: 1;
    }

    .snap-drawer-right > .minicart .gt-minicart-heading {
        min-width: 0;
    }

    .snap-drawer-right > .minicart .gt-minicart-title {
        display: block;
        font-size: 20px;
        line-height: 1.1;
    }

    .snap-drawer-right > .minicart .gt-minicart-count .sidemenu-headline {
        display: block;
        float: none;
        margin-top: 1px;
        padding: 0;
        color: #fff;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.25;
        text-transform: none;
    }

    .snap-drawer-right > .minicart .gt-minicart-header .gt-minicart-close {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 10px;
        color: #468c00;
        background: transparent;
        text-decoration: none;
    }

    .snap-drawer-right > .minicart .gt-minicart-close:before {
        content: "";
        position: absolute;
        inset: 4px;
        border-radius: 8px;
        background: #f0f0e1;
        pointer-events: none;
    }

    .snap-drawer-right > .minicart .gt-minicart-close .fa {
        position: relative;
        z-index: 1;
        margin: 0;
        color: #468c00;
        font-size: 18px;
    }

    .snap-drawer-right > .minicart .gt-minicart-shell > [data-id="MiniBasket"] {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-height: 0;
        width: 100%;
        padding: 0;
        float: none;
    }

    .snap-drawer-right > .minicart .gt-mobile-minibasket {
        display: flex !important;
        flex: 1 1 auto;
        flex-direction: column;
        min-height: 0;
    }

    .snap-drawer-right > .minicart .gt-minicart-original-heading {
        flex: 0 0 auto;
        padding: 12px;
    }

    .snap-drawer-right > .minicart .gt-minicart-body {
        flex: 1 1 auto;
        min-height: 0;
        padding: 0 12px 12px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .snap-drawer-right > .minicart .basket_max_heigh {
        max-height: none;
        overflow: visible;
    }

    .snap-drawer-right > .minicart .basket_item {
        padding: 14px 0 0;
        background: #fff;
    }

    .snap-drawer-right > .minicart .basket_item > hr.m_0 {
        display: block;
        height: 1px;
        margin: 14px 0 0;
        border: 0;
        background: #cfd4c5;
        box-shadow: 0 2px 4px rgba(38, 51, 22, .10);
    }

    .snap-drawer-right > .minicart .mobilecart-table {
        width: 100%;
        margin-bottom: 0;
        table-layout: fixed;
    }

    .snap-drawer-right > .minicart .mobilecart-table > tbody > tr > td {
        padding: 0;
        vertical-align: top;
        overflow-wrap: anywhere;
    }

    .snap-drawer-right > .minicart .mobilecart-table > tbody > tr > td:first-child:not([colspan]) {
        width: 60px;
        padding-right: 8px;
    }

    .snap-drawer-right > .minicart .mobilecart-table img {
        display: block;
        width: auto;
        height: auto;
        max-width: 52px;
        max-height: 80px;
        margin-top: 3px;
        object-fit: contain;
    }

    .snap-drawer-right > .minicart .basket_max_heigh .title_small {
        margin-bottom: 4px;
        padding-top: 0 !important;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.35;
    }

    .snap-drawer-right > .minicart .basket-variations {
        display: block;
        margin-right: 8px;
        color: #666;
        font-size: 15px;
        line-height: 1.4;
    }

    .snap-drawer-right > .minicart .mobilecart-table p {
        margin: 3px 0;
        font-size: 15px;
        line-height: 1.4;
    }

    .snap-drawer-right > .minicart .basket-variations + p {
        display: block;
    }

    .snap-drawer-right > .minicart p.gt-minicart-position-price {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 2px 6px;
        font-size: 15px;
        line-height: 1.4;
    }

    .snap-drawer-right > .minicart .gt-minicart-position-price > strong {
        font-size: inherit;
        white-space: nowrap;
    }

    .snap-drawer-right > .minicart .baseprice {
        margin-bottom: 5px;
        color: #666;
        font-size: 12px;
        line-height: 1.4;
    }

    .snap-drawer-right > .minicart .availability {
        margin: 5px 0 2px;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
    }

    .snap-drawer-right > .minicart .availability.light-green {
        color: #97c01e;
    }

    .snap-drawer-right > .minicart .availability.orange {
        color: #ff6600;
    }

    .snap-drawer-right > .minicart .font-default {
        margin: 2px 0;
        line-height: 1.4;
    }

    .snap-drawer-right > .minicart .font-default > .fa:first-child,
    .snap-drawer-right > .minicart .availability > .fa:first-child {
        display: inline-block;
        width: 15px;
        margin-right: 4px;
        text-align: center;
    }

    .snap-drawer-right > .minicart .gt-minicart-actions-group {
        margin-top: 10px;
        border: 1px solid #ccc;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }

    .snap-drawer-right > .minicart .gt-minicart-quantity-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 4px;
    }

    .snap-drawer-right > .minicart .gt-minicart-quantity-row .amount {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        max-width: none;
        margin: 0;
    }

    .snap-drawer-right > .minicart .amount .input-group {
        display: flex;
        align-items: center;
        gap: 4px;
        width: 140px;
    }

    .snap-drawer-right > .minicart .amount .input-group:before,
    .snap-drawer-right > .minicart .amount .input-group:after {
        display: none;
    }

    .snap-drawer-right > .minicart .amount .input-group-btn {
        display: flex;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        width: 44px;
    }

    .snap-drawer-right > .minicart .amount .input-group-btn > .btn {
        margin: 0;
    }

    .snap-drawer-right > .minicart .amount .btn-down,
    .snap-drawer-right > .minicart .amount .btn-up,
    .snap-drawer-right > .minicart .amount .bootstrap-touchspin-down,
    .snap-drawer-right > .minicart .amount .bootstrap-touchspin-up {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        box-shadow: none;
        font-size: 0;
        line-height: 1;
    }

    .snap-drawer-right > .minicart .amount .btn-down,
    .snap-drawer-right > .minicart .amount .bootstrap-touchspin-down {
        color: #f44336;
    }

    .snap-drawer-right > .minicart .amount .btn-up,
    .snap-drawer-right > .minicart .amount .bootstrap-touchspin-up {
        color: #468c00;
    }

    .snap-drawer-right > .minicart .amount .btn-down:before,
    .snap-drawer-right > .minicart .amount .bootstrap-touchspin-down:before {
        display: block;
        margin: 0;
        content: "\f068";
        font-family: FontAwesome;
        font-size: 20px;
        font-weight: 400;
        line-height: 1;
    }

    .snap-drawer-right > .minicart .amount .btn-up:before,
    .snap-drawer-right > .minicart .amount .bootstrap-touchspin-up:before {
        display: block;
        margin: 0;
        content: "\f067";
        font-family: FontAwesome;
        font-size: 20px;
        font-weight: 400;
        line-height: 1;
    }

    .snap-drawer-right > .minicart .amount input[data-feature="Web.Core.Feature.Form.Field.Spinner"] {
        flex: 0 0 44px;
        float: none;
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
        padding: 4px;
        margin: 0;
        border: 1px solid #ccc;
        border-radius: 6px;
        box-sizing: border-box;
        color: #333;
        background: #fff;
        font-size: 16px;
        font-weight: 700;
        text-align: center;
    }

    .snap-drawer-right > .minicart .gt-minicart-quantity-row .cart-delete {
        flex: 0 0 44px;
        padding-top: 0 !important;
    }

    .snap-drawer-right > .minicart .cart-delete .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 0;
        color: #999;
        background: transparent;
    }

    .snap-drawer-right > .minicart .cart-delete .fa {
        font-size: 20px;
    }

    .snap-drawer-right > .minicart .gt-minicart-refresh {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        min-height: 44px;
        padding: 10px 6px;
        margin: 0;
        border: 0;
        border-top: 1px solid #ccc;
        border-radius: 0 0 9px 9px;
        color: #468c00;
        background: #f0f0e1;
        font-size: 14px;
        font-weight: 700;
    }

    .snap-drawer-right > .minicart .gt-minicart-actions-group.is-dirty {
        border-color: #97c01e;
    }

    .snap-drawer-right > .minicart .gt-minicart-actions-group.is-dirty .gt-minicart-refresh {
        color: #fff;
        background: #97c01e;
    }

    .snap-drawer-right > .minicart .gt-minicart-refresh:hover {
        color: #fff;
        background: #468c00;
    }

    .snap-drawer-right > .minicart .gt-minicart-voucher {
        margin: 14px 0;
        border: 1px solid #dcdccc;
        border-radius: 10px;
        background: #f0f0e1;
    }

    .snap-drawer-right > .minicart .gt-minicart-voucher > summary {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 8px 12px;
        color: #468c00;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
        list-style: none;
        cursor: pointer;
    }

    .snap-drawer-right > .minicart .gt-minicart-voucher > summary::-webkit-details-marker {
        display: none;
    }

    .snap-drawer-right > .minicart .gt-minicart-voucher > summary .fa-gift {
        flex: 0 0 18px;
        font-size: 18px;
        text-align: center;
    }

    .snap-drawer-right > .minicart .gt-minicart-voucher > summary .fa-angle-down {
        flex: 0 0 14px;
        margin-left: auto;
        font-size: 18px;
        text-align: center;
    }

    .snap-drawer-right > .minicart .gt-minicart-voucher[open] > summary .fa-angle-down {
        transform: rotate(180deg);
    }

    .snap-drawer-right > .minicart .minivoucher {
        padding: 8px 12px;
        border-top: 1px solid #dcdccc;
        border-radius: 0 0 9px 9px;
        background: #fff;
    }

    .snap-drawer-right > .minicart .minivoucher > form {
        margin: 0;
    }

    .snap-drawer-right > .minicart .voucher-help {
        margin: 8px 0 0;
        line-height: 1.35;
    }

    .snap-drawer-right > .minicart .minivoucher > form > h4 {
        display: none;
    }

    .snap-drawer-right > .minicart .voucher-submit {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 8px;
        white-space: nowrap;
    }

    .snap-drawer-right > .minicart .voucher-submit > .fa-angle-right {
        display: none;
    }

    .snap-drawer-right > .minicart .voucher-input-group .form-control,
    .snap-drawer-right > .minicart .voucher-submit {
        height: 44px !important;
    }

    .snap-drawer-right > .minicart .gt-minicart-summary {
        width: 100%;
        margin: 14px 0 0;
        table-layout: fixed;
        font-size: 14px;
    }

    .snap-drawer-right > .minicart .gt-minicart-summary td {
        padding: 7px 0;
        border-color: #e5e5e5;
        overflow-wrap: anywhere;
    }

    .snap-drawer-right > .minicart .gt-minicart-summary td:first-child:not([colspan]) {
        width: 60%;
    }

    .snap-drawer-right > .minicart .gt-minicart-summary td.text-right {
        width: 40%;
        white-space: nowrap;
    }

    .snap-drawer-right > .minicart .gt-minicart-footer {
        position: relative;
        flex: 0 0 auto;
        padding: 8px 12px 12px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        border-top: 2px solid #106430;
        background: #fff;
        box-shadow: 0 -6px 16px rgba(38, 51, 22, .2);
    }

    .snap-drawer-right > .minicart .gt-minicart-total-frame {
        margin-bottom: 8px;
        padding: 6px 0;
        border: 0;
        background: transparent;
    }

    .snap-drawer-right > .minicart .gt-minicart-footer:before,
    .snap-drawer-right > .minicart .gt-minicart-footer:after {
        content: "";
        position: absolute;
        top: -2px;
        height: 0;
        width: 33.333333%;
        border-top: 2px solid;
        pointer-events: none;
    }

    .snap-drawer-right > .minicart .gt-minicart-footer:before {
        left: 33.333333%;
        border-color: #ffa322;
    }

    .snap-drawer-right > .minicart .gt-minicart-footer:after {
        right: 0;
        border-color: #97c01e;
    }

    .snap-drawer-right > .minicart .gt-minicart-total {
        width: 100%;
        margin-bottom: 0;
        border: 0;
        color: #306b47;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.25;
    }

    .snap-drawer-right > .minicart .gt-minicart-total .price_total {
        padding: 0;
        border: 0;
        color: #306b47;
        background: transparent;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.25;
    }

    /* Override Bootstrap's implicit tbody and the theme's important price_total background. */
    .snap-drawer-right > .minicart .gt-minicart-total > tbody > tr.active > td {
        background-color: transparent !important;
    }

    .snap-drawer-right > .minicart .gt-minicart-footer .btn-cart {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        min-height: 48px;
        padding: 10px 12px;
        border: 0;
        border-radius: 10px;
        color: #fff;
        background: #97c01e;
        box-shadow: none;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
    }

    .snap-drawer-right > .minicart .gt-minicart-footer .btn-cart .fa {
        margin: 0;
        color: inherit;
    }

    .snap-drawer-right > .minicart .gt-minicart-footer .btn-cart:hover {
        color: #fff;
        background: #468c00;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .snap-drawer-right > .minicart .gt-minicart-header {
        height: var(--gt-minicart-header-height, 57px);
    }
}
