.msw-header,
.breadcrumbs-section,
footer {
    display: none !important;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

section.pt-0 {
    padding: 0 !important;
}

.priceCheckerContainer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Fallback */
    min-height: 100svh; /* für neuere mobile Browser */
    min-height: 100dvh; /* modern */
}

.priceCheckerInfoTab {
    padding: 10px;
    border-radius: 10px;
    background-color: var(--inner-background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .priceCheckerInfoTab h1 {
        color: var(--primary);
        font-weight: bold;
    }

.msa-generator-teaser {
    position: fixed;
    bottom: 0px;
}

/* ==============================
   Popup Styling
   ============================== */
.popupOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.popupContent {
    position: relative;
    width: 90%;
    max-width: 950px;
    max-height: 80vh;
    background: var(--inner-background-color);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 70px rgba(0,0,0,0.25);
}

.popupClose {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--light);
    border: 1px solid var(--border-color);
    color: var(--secondary);
    font-size: 22px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

    .popupClose:hover {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
        transform: scale(1.1);
    }


.tabToggleFull {
    display: flex;
    padding: 10px 20px;
}

.tabBtn {
    padding: 6px 16px;
    margin-right: 8px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--light);
    cursor: pointer;
    color: var(--secondary);
    font-weight: 500;
}

    .tabBtn.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

.tabFull {
    display: none;
    flex: 1;
    overflow: auto;
    padding: 20px;
}

    .tabFull.active {
        display: flex;
        flex-direction: row;
    }

.tabOverview .overviewLeft {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.tabOverview .overviewRight {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
}

.productImageLarge {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tabChars {
    flex-direction: column !important;
}

.charsTop {
    display: flex;
    flex-direction: row;
    margin-bottom: 15px;
}

.charsLeft {
    flex: 0 0 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.charsRight {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 15px;
}

.productImageSmall {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.charsTableWrapper {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(80vh - 150px);
    margin-top: 10px;
}

.charTable {
    width: 100%;
    border-collapse: collapse;
}

    .charTable td {
        padding: 8px 12px;
        border-bottom: 1px solid var(--border-color);
    }

    .charTable tr:nth-child(even) {
        background-color: var(--light);
    }

    .charTable td:first-child {
        font-weight: 600;
        width: 35%;
        color: var(--secondary);
    }

    .charTable td:last-child {
        width: 65%;
    }

.productName.chars {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.tabChars .priceBox {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.tabChars .quantityType {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.productName {
    font-size: var(--default-h1-font-size);
    color: var(--primary);
    margin-bottom: 10px;
}

.priceBox {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-hover);
    margin-bottom: 8px;
}

.quantityType {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 10px;
}


@media(max-width:900px) {
    .tabFull {
        flex-direction: column;
    }

    .overviewLeft,
    .overviewRight,
    .charsTop,
    .charsLeft,
    .charsRight {
        padding: 10px;
    }

    .productImageSmall {
        max-width: 60px;
        max-height: 60px;
    }

    .priceBox {
        font-size: 2rem;
    }

    .productName.chars {
        font-size: 0.9rem;
    }

    .tabChars .priceBox {
        font-size: 1.3rem;
    }
}

@media(max-width:500px) {
    .charsTop {
        flex-direction: column;
        align-items: center;
    }

    .charsRight {
        padding-left: 0;
        text-align: center;
    }
}



.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background-color: rgba(0,0,0,0.85);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10000;
}

.toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Verschiedene Typen */
.toast-info {
    background-color: #2d9cdb;
}

.toast-error {
    background-color: #eb5757;
}

.toast-success {
    background-color: #27ae60;
}



.priceBox {
    display: flex;
    align-items: baseline;
    gap: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-hover);
}

    .priceBox.discount {
        gap: 24px;
    }

.priceOfficial {
    text-decoration: line-through;
    opacity: 0.55;
    font-weight: 500;
    font-size: inherit;
    color: var(--secondary);
}

.priceDiscounted {
    font-weight: 800;
    font-size: inherit;
    color: var(--seconadry);
}

.priceSingle {
    font-weight: 800;
    font-size: inherit;
    color: var(--primary);
}
