/* EU-Gewährleistung – Modified eCommerce 3.1.6 Responsive
   Austauschdatei für V8
   Sorgt insbesondere für gut lesbaren Footer-Menüpunkt.
*/

.eu-gw-menu-item {
    position: relative;
}

/* Der Button soll optisch wie die übrigen Footer-Links erscheinen */
.footerlist .eu-gw-menu-item .eu-gw-menu-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: transparent;
    margin: 0;
    padding: 0;
    color: #c9c9c9 !important;
    font: inherit;
    font-size: inherit;
    font-weight: normal;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
    opacity: 1 !important;
    text-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.footerlist .eu-gw-menu-item .eu-gw-menu-button:hover,
.footerlist .eu-gw-menu-item .eu-gw-menu-button:focus {
    color: #ffffff !important;
    text-decoration: none;
    outline: none;
}

/* Pfeil wie bei den vorhandenen Footer-Einträgen */
.footerlist .eu-gw-menu-item .eu-gw-menu-button::before {
    content: "\203A";
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
    color: #c9c9c9;
}

.footerlist .eu-gw-menu-item .eu-gw-menu-button:hover::before,
.footerlist .eu-gw-menu-item .eu-gw-menu-button:focus::before {
    color: #ffffff;
}

/* Popup */
.eu-gw-modal {
    display: none !important;
    position: fixed;
    z-index: 999999;
    inset: 0;
}

.eu-gw-modal.eu-gw-show {
    display: block !important;
}

.eu-gw-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .62);
}

.eu-gw-dialog {
    position: relative;
    background: #fff;
    color: #222;
    width: min(760px, calc(100% - 24px));
    max-height: 92vh;
    margin: 4vh auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
    padding: 16px;
    box-sizing: border-box;
}

.eu-gw-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    font-size: 18px;
}

.eu-gw-x {
    border: 0;
    background: transparent;
    color: #222;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.eu-gw-scroll {
    max-height: 72vh;
    overflow: auto;
    text-align: center;
}

.eu-gw-scroll img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.eu-gw-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    padding-top: 10px;
}

.eu-gw-actions a {
    margin-right: auto;
}

.eu-gw-actions button {
    padding: 7px 14px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .eu-gw-dialog {
        width: calc(100% - 12px);
        margin: 1vh auto;
        max-height: 98vh;
        padding: 10px;
    }

    .eu-gw-scroll {
        max-height: 80vh;
    }

    .eu-gw-actions {
        font-size: 13px;
        flex-wrap: wrap;
    }
}
