/*
------------------------------------------------------------
Projekt: Inke Hagen · MonsterBar-Shop
Datei: inke-hagen-monsterbar-shop.css

Version: 0.2.17
Stand: 2026-08-16

Zweck:
Minimale Darstellung der Ecwid-Produktansicht für Stufe 3.
Ecwid liefert das Masterproduktbild; die Seite ergänzt nur das
in Stufe 2 ausgewählte Motiv als feste Bildebene.
------------------------------------------------------------
*/

.arsMotivwechselButton {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    margin: 8px 0 20px !important;
    padding: 9px 18px !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    border: 2px solid var(--ars-color-black, #000000) !important;
    border-radius: 0 !important;
    background: var(--ars-color-white, #ffffff) !important;
    color: var(--ars-color-black, #000000) !important;
    font-family: var(--ars-font-body-bold) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.arsMotivwechselButton:hover,
.arsMotivwechselButton:focus-visible {
    border-color: var(--ars-color-black, #000000) !important;
    background: var(--ars-color-black, #000000) !important;
    color: var(--ars-color-white, #ffffff) !important;
}

.arsMotivwechselUmbruch {
    display: none;
}

@media (max-width: 767px) {
    .arsMotivwechselButton {
        min-width: 0 !important;
        white-space: normal !important;
    }

    .arsMotivwechselUmbruch {
        display: block;
    }
}

.arsMotivwechselDialog[hidden] { display: none; }
.arsMotivwechselDialog {
    position: fixed;
    z-index: 1000000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
}
.arsMotivwechselDialog__fenster {
    width: min(100%, 560px);
    padding: clamp(24px, 5vw, 44px);
    background: var(--ars-color-white);
    color: var(--ars-color-black);
    text-align: center;
}
.arsMotivwechselDialog__text {
    margin: 0 0 28px;
    font-family: var(--ars-font-body-bold);
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 700;
    line-height: 1.25;
}
.arsMotivwechselDialog__aktionen { display: grid; gap: 12px; }
.arsMotivwechselOffen { overflow: hidden; }

html,
body {
    margin: 0;
    padding: 0;
}

.monsterbarShop,
.monsterbarShop * {
    box-sizing: border-box;
}

body {
    background: var(--ars-color-white);
    color: var(--ars-color-black);
    font-family: var(--ars-font-body);
}

.monsterbarShop {
    width: min(100%, var(--ars-content-width));
    margin: 0 auto;
    padding: clamp(16px, 3vw, 42px);
}

.monsterbarShop__store,
.monsterbarShop__store * {
    font-family: var(--ars-font-body) !important;
}

.monsterbarShop__store h1,
.monsterbarShop__store h2,
.monsterbarShop__store h3,
.monsterbarShop__store h4,
.monsterbarShop__store h5,
.monsterbarShop__store h6,
.monsterbarShop__store label,
.monsterbarShop__store strong,
.monsterbarShop__store b,
.monsterbarShop__store button,
.monsterbarShop__store [role="button"] {
    font-family: var(--ars-font-body-bold) !important;
    font-weight: 700 !important;
}

/*
 * Das vollständige Verbergen technischer Ecwid-Feldblöcke ist
 * frameworkweit in assets/css/ecwid.css definiert.
 */


/*
 * Verbindlicher Framework-Standard für motivbasierte Shopseiten:
 * Der gewählte Motivname steht direkt unter dem Produkttitel und
 * oberhalb des Preises. Keine Symbole, bewusst zurückhaltend.
 */
.monsterbarShop__store .arsEcwidMotivname {
    display: block !important;
    margin: 0.18em 0 0.72em !important;
    padding: 0 !important;

    color: var(--ars-color-grey) !important;
    font-family: var(--ars-font-body-bold) !important;
    font-size: var(--ars-ecwid-produkt-titel-groesse, 2rem) !important;
    font-weight: 700 !important;
    line-height: var(--ars-ecwid-produkt-titel-zeilenhoehe, 1.1) !important;
    letter-spacing: var(--ars-ecwid-produkt-titel-laufweite, normal) !important;
    text-transform: uppercase !important;
}

/*
 * Ecwid liefert das Masterproduktbild. Der unmittelbare
 * Bildcontainer wird zur Positionierungsfläche des Overlays.
 */
.monsterbarShopOverlayRoot {
    position: relative !important;
}

/*
 * Das ausgewählte Motiv steht bei allen Masterprodukten an
 * derselben Stelle: rechts oben, mit Abstand zum Rand.
 */
.monsterbarShopMotivOverlay {
    position: absolute !important;
    top: 0;
    right: auto;
    left: 0;
    z-index: 1000 !important;

    display: block !important;
    width: auto;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    opacity: 0.9 !important;
    border: 5px solid var(--ars-color-primary) !important;
    border-radius: 0 !important;
    box-shadow: 0 0 18px 5px rgba(0, 0, 0, 0.48) !important;

    pointer-events: none !important;
    user-select: none !important;
}

.monsterbarShop__fehler {
    margin: 32px auto;
    font-family: var(--ars-font-body-bold);
    font-size: 1.35rem;
    text-align: center;
}

@media (max-width: 767px) {
    .monsterbarShop {
        padding: 12px;
    }

    .monsterbarShopMotivOverlay {
        top: 0;
        right: auto;
        width: auto;
        border-width: 4px !important;
        box-shadow: 0 0 12px 3px rgba(0, 0, 0, 0.46) !important;
    }
}


/* =========================================================
   MONSTERPOST · AKTIONSBUTTONS
   Nur Darstellung – keine Logik.
========================================================= */

.monsterPostSetAuswahlUeberarbeiten {
    display: block !important;
    width: 100% !important;
    min-height: 52px !important;
    margin: 0 0 14px !important;
    padding: 12px 18px !important;

    background: var(--ars-color-white) !important;
    color: var(--ars-color-black) !important;
    border: 1px solid #c8c8c8 !important;
    border-radius: 3px !important;
    box-shadow: none !important;

    font-family: var(--ars-font-body-bold) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase !important;

    cursor: pointer !important;
}

.monsterPostSetAuswahlUeberarbeiten:hover,
.monsterPostSetAuswahlUeberarbeiten:focus-visible {
    background: var(--ars-color-white) !important;
    color: var(--ars-color-black) !important;
    border-color: var(--ars-color-black) !important;
    box-shadow: none !important;
}

/*
 * Der von Ecwid erzeugte und von MONSTERPOST umbenannte
 * "ÄNDERUNGEN ÜBERNEHMEN"-Button bekommt bewusst Abstand
 * zum darunterliegenden "Zur Kasse"-Button.
 */
[data-monster-post-aenderungen-uebernehmen="true"] {
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 14px !important;
}


/* =========================================================
   MONSTERPOST · ABSTAND ZUM ECWID-KASSENBUTTON
   Der native dunkle Folgebutton darf nicht unter
   "ÄNDERUNGEN ÜBERNEHMEN" rutschen.
========================================================= */

[data-monster-post-aenderungen-uebernehmen="true"] {
    margin-bottom: 20px !important;
}

/*
 * Falls Ecwid den Folgebutton im selben Aktionscontainer absolut bzw.
 * mit negativem Abstand positioniert, wird der direkte Folgeblock
 * zusätzlich in den normalen Fluss gezwungen.
 */
[data-monster-post-aenderungen-uebernehmen="true"] + * {
    position: relative !important;
    top: auto !important;
    margin-top: 0 !important;
}


/* =========================================================
   MONSTERPOST · ZUR-KASSE-BUTTON
   Der Ecwid-Checkoutbutton wird in JS rein optisch markiert,
   damit er zuverlässig Abstand zum Bearbeiten-Button erhält.
========================================================= */

.monsterPostSetZurKasse {
    position: relative !important;
    top: auto !important;
    margin-top: 16px !important;
    z-index: 1 !important;
}


/* MONSTERPOST · finaler Ablauf
   Keine Warenkorb-Bearbeitung mehr nach dem Hinzufügen. */
[data-monster-post-aenderungen-uebernehmen="true"],
.monsterPostSetZurKasse {
    margin-top: initial !important;
    margin-bottom: initial !important;
}


/* Einstieg zur Monsterauswahl unter der Empfehlungsüberschrift. */
.monsterbarShop__empfehlungshinweis {
    margin: 12px 16px 0;
    font-family: var(--ars-font-body);
    font-size: 1.2rem;
    line-height: 1.4;
    text-align: center;
}

.monsterbarShop__empfehlungshinweis a {
    color: var(--ars-color-primary);
    font-family: var(--ars-font-body-bold);
    font-weight: 700;
    text-decoration: none;
}

.monsterbarShop__empfehlungshinweis a:hover,
.monsterbarShop__empfehlungshinweis a:focus-visible {
    color: var(--ars-color-black);
    text-decoration: none;
}

.monsterbarShop__empfehlungshinweis a:focus-visible {
    outline: 2px solid var(--ars-color-primary);
    outline-offset: 3px;
}
