
/* =========================================================
   HEADER-HÖHE
   Startwerte, bevor JavaScript die exakte Höhe ermittelt
   ========================================================= */

:root {
    --header-height: 175px;
}

/* Tablet */
@media (max-width: 991px) {
    :root {
        --header-height: 0px;
    }
}

/* Smartphone */
@media (max-width: 768px) {
    :root {
        --header-height: 105px;
    }
}

/* kleines Smartphone */
@media (max-width: 480px) {
    :root {
        --header-height: 275px;
    }
}

/* sehr kleines Smartphone */
@media (max-width: 320px) {
    :root {
        --header-height: 255px;
    }
}
    
/* Header immer über Tooltips 
header,
.sticky-header,
.navbar {
    z-index: 1055 !important;
}

/* Bootstrap Tooltip darunter 
.tooltip {
    z-index: 1040 !important;
}
*/    
.table {
    width: 100%;
    margin-bottom: 0;
    color: #5c6c75;
}

.table th {
    background: #f0f3f2;
    color: #21313c;
    font-weight: 600;
    padding: 14px 20px;
    border-bottom: 1px solid #dfe2e1;
}

.table td {
    padding: 14px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #ecf0ef;
}

.table-hover tbody tr:hover {
    background: #f8faf9;
}

.table-responsive {
    overflow-x: auto;
}

.table-centered td,
.table-centered th {
    vertical-align: middle;
}



.bg-light {
    background-color: #f0f3f2 !important;
}
    
.delivery-day {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    margin-bottom: .5rem;
    cursor: pointer;
    transition: .2s;
}

.delivery-day:hover {
    background: #f9fafb;
    border-color: #f7931e;
}

.delivery-day input {
    width: 20px;
    height: 20px;
}

.delivery-day span {
    font-size: 15px;
    font-weight: 500;
}
    
.notificationItem {
    position: relative;
    overflow: hidden;
}

.notificationContent {
    position: relative;
    z-index: 2;
    background: #fff;
    transition: transform .25s ease;
    touch-action: pan-y;
}

.swipeDeleteNotification {
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 100%;
    z-index: 1;
}
    
@media print {

    .print-button,
    .btn-close {

        display: none !important;

    }

}
    
/* ---------------------------------------
   LMIV Mobile
--------------------------------------- */

@media (max-width: 768px) {

    #lmivModal .modal-dialog {

        margin: .5rem;
        max-width: calc(100% - 1rem);

    }

    #lmivModal h1 {

        font-size: 1.5rem !important;
        line-height: 1.25;

    }

    #lmivModal h2 {

        font-size: 1.3rem !important;
        line-height: 1.25;

    }

    #lmivModal h3 {

        font-size: 1.15rem !important;
        line-height: 1.3;
        word-break: break-word;

    }

    #lmivModal .text-4xl {

        font-size: 1.75rem !important;

    }

    #lmivModal .text-3xl {

        font-size: 1.45rem !important;

    }

    #lmivModal .text-2xl {

        font-size: 1.2rem !important;

    }

    #lmivModal table {

        font-size: .85rem;

    }

    #lmivModal td,
    #lmivModal th {

        padding: .55rem .45rem;

    }

    #lmivModal img {

        max-width: 100%;
        height: auto;

    }

    #lmivModal .rounded-full {

        width: 100%;
        text-align: center;
        white-space: normal;
        font-size: .85rem;
        padding: .45rem .75rem;

    }

}
    


.dz-preview{
    z-index:1 !important;
}
    
.dropzone .dz-preview .dz-progress{

    position:relative;

    left:auto;

    bottom:auto;

    transform:none;

    margin:8px auto 0 auto !important;

    width:90px;

}
    
/* ---------------------------------------
   QuickView Modal – Scrollbar außen
--------------------------------------- */

/* Hintergrundseite sperren */
body.modal-open {
    overflow: hidden !important;
}

/* Der äußere Modal-Container scrollt */
#quickViewModal {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* Dialog darf mit Inhalt wachsen */
#quickViewModal .modal-dialog {
    max-height: none !important;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Kein eigener Scrollbereich im weißen Modal */
#quickViewModal .modal-content {
    max-height: none !important;
    overflow: visible !important;
}
    
/* EAN Barcode responsive */
.ean-barcode-cell {
    max-width: 100%;
    overflow: hidden;
}

#eanBarcode {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 480px) {

    .ean-row td:first-child {
        width: 105px;
        min-width: 105px;
    }

    .ean-barcode-cell {
        width: calc(100% - 105px);
    }

    #eanBarcode {
        width: 100% !important;
        max-width: 140px;
        height: auto !important;
    }
}

@media (max-width: 991px) {

    #navbar-default .offcanvas-body {
        overflow-y: auto !important;
        padding-bottom: 100px !important;
        -webkit-overflow-scrolling: touch;
    }

}