/* Small overrides retained from the legacy store. Layout uses Bootstrap. */
main {
    min-height: 97vh;
}

.bg-header-footer {
    background-color: rgb(99, 99, 99);
}

.warenkorb-anzahl {
    padding: 0 5px;
    font-size: 12px;
}

/* Original account cards from css/shop-classes.css. */
.mobile-navigation a {
    padding: 10px 15px;
    border-bottom: 1px solid lightgrey;
    color: rgb(61, 61, 61);
}

.mobile-navigation a:hover {
    background-color: rgb(248, 249, 250);
}

.card-light {
    border-radius: 0.5rem;
    border: black 1px solid;
    padding: 15px 18px;
    background-color: white;
}

.required::after {
    content: "*";
    color: #e32;
}

/* Original account-completion password indicator. */
.strength-segment {
    height: 3px;
    background: #e9ecef;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.password-hint {
    font-size: 0.8em;
    color: #6c757d;
    margin-top: 4px;
}

/* Original landing-page loader. */
.loader {
    border: 6px solid #e9ecef;
    border-top: 6px solid #0d6efd;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Original offer summary table. */
#offerpage .price-table th,
#offerpage .price-table td {
    padding: 0.5rem;
}

#offerpage .price-table tr.total-row td {
    font-size: 1.1em;
    padding: 0.75rem 0.5rem;
    background: #f8f9fa;
}

/* Global loading indicator (site/snippets/components/loader.php). */
.site-loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.site-loader.show .site-loader-overlay {
    opacity: 1;
}

/* Stable access columns; long email addresses wrap within their column. */
[data-bger-access] #slotTable {
    table-layout: fixed;
    width: 100%;
}
[data-bger-access] #slotTable td {
    overflow-wrap: anywhere;
}
[data-bger-access] [data-access-table-viewport] {
    overflow-anchor: none;
}
[data-bger-access] [data-pagination] button {
    min-width: 2.25rem;
    font-variant-numeric: tabular-nums;
}

/* One desktop text line for language links, account and cart. */
@media (min-width: 992px) {
    .bger-header-links {
        align-self: flex-start;
        align-items: center;
    }
    .bger-header-languages {
        display: flex;
        align-items: center;
        line-height: 1.5;
        white-space: nowrap;
    }
    .navbar .bger-header-control {
        display: inline-flex;
        align-self: center !important;
        align-items: center;
        gap: 0.35rem;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        font-size: 1rem;
        line-height: 1.5;
        white-space: nowrap;
    }
    .navbar .bger-header-control > .bi {
        margin: 0 !important;
        font-size: 1.5rem;
        line-height: 1;
    }
}
