body {
    margin: 0;
    padding: 0;
    background: #f8fafc;
    font-family: Arial, sans-serif;
    color: #334155;
}

.mjs-shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 🎛️ DER ANSICHTEN-UMSCHALTER */
.mjs-view-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.mjs-view-btn {
    padding: 8px 16px;
    border: 1px solid #cbd5e1;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    color: #475569;
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.mjs-view-btn:hover {
    background: #f8fafc;
}

.mjs-view-btn.mjs-active {
    background: #0f3f6c;
    color: #fff;
    border-color: #0f3f6c;
}

/* 🖼️ KACHEL-ANSICHT */
.mjs-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.mjs-product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Ändert die Ausrichtung auf Start */
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.mjs-price-box {
    font-size: 1.2rem;
    font-weight: 800;
    color: #334155;
    margin-top: auto; /* Zwingt den Block nach ganz unten, egal wie lang der Text drüber ist! */
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mjs-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mjs-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #0f3f6c;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.mjs-sku {
    font-family: monospace;
    font-size: 0.75rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 12px;
}



/* 📊 LISTEN-ANSICHT */
.mjs-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mjs-shop-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.mjs-shop-table th {
    background: #f1f5f9;
    padding: 14px;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
    font-weight: bold;
}

.mjs-shop-table td {
    padding: 14px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
    font-size: 0.9rem;
}

.mjs-shop-table tr:hover td {
    background: #f8fafc;
}

/* WARENKORB-BUTTONS */
.mjs-btn-add {
    background: #d4af37;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.mjs-btn-add:hover {
    background: #c5a030;
}

.mjs-btn-out {
    background: #e2e8f0;
    color: #94a3b8;
    padding: 10px 16px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .mjs-view-switcher {
        justify-content: center;
    }
    .mjs-product-grid {
        grid-template-columns: 1fr;
    }
}
/* 🔎 LIGHTBOX FÜR DIE BILDVERGRÖSSERUNG */



.mjs-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 63, 108, 0.6);
    backdrop-filter: blur(4px);/* Edles, abgedunkeltes Manufaktur-Blau */
    justify-content: center;
    align-items: center;
    /*padding: 20px;*/
}

.mjs-lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 3px solid #fff; /* Goldener Rahmen passend zu den Medaillen */
    background: #fff;
}

.mjs-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.mjs-lightbox-close:hover {
    color: #d4af37;
}

/* Cursor-Pointer für die Produktbilder, damit der Kunde sieht, dass sie klickbar sind */
.mjs-img-box img, .mjs-shop-table img {
    cursor: zoom-in;
    transition: transform 0.2s;
}

.mjs-img-box img:hover {
    transform: scale(1.03);
}
/* 🗂️ STYLING FÜR DIE KATEGORIE-TABS IM FRONTEND */
.mjs-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.mjs-tab-btn {
    padding: 10px 20px;
    background: #e2e8f0;
    color: #475569;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.2s;
}

.mjs-tab-btn:hover {
    background: #cbd5e1;
}

.mjs-tab-btn.mjs-active {
    background: #0f3f6c;
    color: #fff;
}

/* 📊 NEUE RESPONSIVE LISTEN-ANSICHT (Langgezogene Quer-Kacheln) */
.mjs-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mjs-product-list-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    gap: 25px;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.mjs-img-box-list {
    width: 140px;
    height: 140px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #edf2f7;
    flex-shrink: 0;
}

.mjs-img-box-list img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mjs-details-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mjs-action-box-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 150px;
    border-left: 1px solid #e2e8f0;
    padding-left: 25px;
}

/* 📱 REIN MOBIL: Quer-Kacheln werden auf Smartphones wieder zu Hochkant-Kacheln */
@media (max-width: 768px) {
    .mjs-product-list-card {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .mjs-img-box-list {
        width: 100%;
        height: 180px;
    }
    .mjs-action-box-list {
        border-left: none;
        padding-left: 0;
        align-items: space-between;
        flex-direction: row;
        border-top: 1px solid #e2e8f0;
        padding-top: 15px;
    }
}
/* ➕➖ BUTTON-DESIGN FÜR DIE MENGENSTEUERUNG IM WARENKORB */
.mjs-btn-qty {
    background: #e2e8f0;
    color: #334155;
    border: none;
    width: 32px;
    height: 32px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}
.mjs-btn-qty:hover {
    background: #cbd5e1;
}
.mjs-btn-remove-link {
    color: #dc2626;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    margin-top: 5px;
    display: inline-block;
}
.mjs-btn-remove-link:hover {
    text-decoration: underline;
}
/* 🖼️ ERWEITERTE BILDER-BOX (Verhindert jegliches Abschneiden nach unten) */
.mjs-img-box {
    position: relative;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 10px; /* Gibt dem Hinweistext und den Kreisen extra Luft */
    min-height: 160px;    /* Garantiert, dass die Box niemals vertikal gestaucht wird */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* ⚡ ERZWIUNGENE KREISFORM FÜR DIE UT-BUTTONS (Unzerstörbar rund) */
.mjs-img-box button {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important; /* Verhindert, dass der Kreis zum Ei gestaucht wird */
    max-width: 14px !important;
    min-height: 14px !important;
    max-height: 14px !important;
    border-radius: 50% !important; /* Macht den Button mathematisch perfekt rund */
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
/* 🖥️ DESKTOP-STYLING FÜR DAS KATEGORIE-BANNER */
.mjs-cat-banner {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 35px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    font-family: Arial, sans-serif;
}

.mjs-cat-images {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mjs-cat-sub-row {
    display: flex;
    gap: 10px;
}

.mjs-cat-text {
    flex: 2;
    min-width: 280px;
}

/* Auf Desktop bleibt der Klapp-Balken unsichtbar */
.mjs-mobile-accordion {
    display: none;
}

/* 📱 RESPONSIVE HANDY-STEUERUNG (Unter 768px Bildschirmbreite) */
@media (max-width: 767px) {
    /* Versteckt das große Desktop-Banner komplett */
    .mjs-cat-banner {
        display: none !important;
    }
    
    /* Aktiviert den schmalen, platzsparenden Klapp-Balken fürs Smartphone */
    .mjs-mobile-accordion {
        display: block;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        padding: 12px 15px;
        margin-bottom: 25px;
        font-family: Arial, sans-serif;
    }
    
    .mjs-mobile-accordion summary {
        color: #0f3f6c;
        font-weight: bold;
        font-size: 0.9rem;
        cursor: pointer;
        outline: none;
        list-style: none;
    }
    
    /* Versteckt den Standard-Browserpfeil in Safari */
    .mjs-mobile-accordion summary::-webkit-details-marker {
        display: none;
    }
}
/* ==========================================================================
   🧰 COMPONENT: REINES 4-SPALTEN FOOTER LAYOUT
   ========================================================================== */

.footer {
    width: 100%;
    box-sizing: border-box;
}

/* Flex-Container für exakt 4 nebeneinanderliegende Spalten */
.footerflex {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: space-around !important;
    align-items: flex-start !important;
}

/* Jede der 4 Spalten bekommt auf Desktops exakt 23% Breite */
.footerflex > div {
    flex: 0 0 23% !important;
    max-width: 23% !important;
    box-sizing: border-box;
}

/* Deine Original-Klassen für Text und Links */
.footer_text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ffffff !important;
}

.footer_text_div {
    margin-bottom:4px;
   
}
.footer_text h4 {
    color: #ffffff;
    font-weight: bold;
}

.footer_text h5 {
    font-weight: bold;
}

/* Die Unterstriche/Rahmen deiner Manufaktur-Seite */
.footer_underline {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 15px !important;
}

/* Link- und Klick-Verhalten */
.footer_text.actions a,
.footer_text.actions span {
    color: #ffffff !important;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.footer_text.actions a:hover,
.footer_text.actions span:hover {
    color: #d4af37 !important; /* Gold-Effekt beim Hovern */
}

/* Goldene Marken-Akzente */
.gold-text {
    color: #d4af37 !important;
    font-weight: bold;
}

/* 📱 SMARTPHONE-ANPASSUNG (Bricht unter 768px sauber untereinander auf) */
@media (max-width: 767px) {
    .footerflex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 25px !important;
    }
    
    .footerflex > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
        padding-bottom: 15px !important;
    }
}

.footer-last {
    text-align: center;
}
/* ==========================================================================
   🏛️ COMPONENT: NATIVE MODAL WINDOWS (PRIVACY)
   ========================================================================== */

/* Der abgedunkelte Hintergrund */
.mjs-modal-backdrop {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 63, 108, 0.6);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Das eigentliche Fenster mit großer Breite */
.mjs-modal-content {
    background-color: #ffffff;
    width: 100%;
    max-width: 1000px; /* Große Breite für lange Rechtstexte */
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    animation: mjsModalFadeIn 0.25s ease-out;
    font-family: Arial, sans-serif;
}

/* Kopfzeile */
.mjs-modal-header {
    background: #0f3f6c;
    color: #ffffff;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.mjs-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
	color:#fff;
}

/* Schließen-Kreuz oben rechts */
.mjs-modal-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    line-height: 1;
}
.mjs-modal-close-btn:hover { opacity: 1; }

/* Textbereich (Scrollbar für lange Texte) */
.mjs-modal-body {
    padding: 30px;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-y: auto;
    text-align: justify;
}
.mjs-modal-body p{padding: 16px 8px !important}
.mjs-modal-body h4 {
    color: #0f3f6c;
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
}
.mjs-modal-body h4:first-child { margin-top: 0; }

/* Fußzeile mit Schließen-Button */
.mjs-modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 15px 25px;
    display: flex;
    justify-content: flex-end;
}

.mjs-modal-btn-close {
    background: #64748b;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.mjs-modal-btn-close:hover { background: #475569; }

/* Sanfte Einblend-Animation */
@keyframes mjsModalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ==========================================================================
   🔝 COMPONENT: SCROLL-TO-TOP KREIS
   ========================================================================== */

.mjs-scroll-top-circle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: #0f3f6c; /* Dein edles Manufaktur-Blau */
    border-radius: 50%; /* Macht den Kasten zum perfekten Kreis */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    
    /* Standardmäßig unsichtbar, wird per JS eingeblendet */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Der weiße Pfeil im Kreis (Reines CSS-Dreieck) */
.mjs-scroll-top-circle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 9px solid #ffffff; /* Weißer Pfeil nach oben */
    margin-bottom: 2px;
}

/* Hover-Effekt: Färbt sich gold und hebt sich leicht an */
.mjs-scroll-top-circle:hover {
    background-color: #d4af37; /* Dein Manufaktur-Gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

/* Klasse wird vom JS hinzugefügt, wenn der User nach unten scrollt */
.mjs-scroll-top-circle.mjs-show-scroll {
    opacity: 1;
    visibility: visible;
}
