.hubrig-eu-guarantee--trigger {
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    margin: 0;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hubrig-eu-guarantee--trigger:hover,
.hubrig-eu-guarantee--trigger:focus {
    color: #8b1d2c;
}

.hubrig-eu-guarantee--service-menu-entry .hubrig-eu-guarantee--trigger,
.hubrig-eu-guarantee--service-menu-entry .hubrig-eu-guarantee--trigger:hover,
.hubrig-eu-guarantee--service-menu-entry .hubrig-eu-guarantee--trigger:focus,
.hubrig-eu-guarantee--service-menu-entry .hubrig-eu-guarantee--trigger:active {
    text-decoration: none !important;
}

.hubrig-eu-guarantee--trigger:focus-visible,
.hubrig-eu-guarantee--close:focus-visible,
.hubrig-eu-guarantee--official-link a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.hubrig-eu-guarantee--footer-desktop {
    display: block;
    line-height: 1.4;
    margin-top: 24px;
}

.hubrig-eu-guarantee--footer-mobile {
    display: none;
}

.hubrig-eu-guarantee--footer-link .hubrig-eu-guarantee--trigger {
    text-decoration: none;
}

.hubrig-eu-guarantee--checkout {
    clear: both;
    margin: 0 0 14px;
    text-align: right;
}

.hubrig-eu-guarantee--checkout .hubrig-eu-guarantee--trigger {
    color: #5f7285;
    font-weight: 600;
}

.hubrig-eu-guarantee--modal[hidden] {
    display: none !important;
}

.hubrig-eu-guarantee--modal {
    align-items: center;
    bottom: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 16px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100000;
}

.hubrig-eu-guarantee--backdrop {
    background: rgba(0, 0, 0, .68);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.hubrig-eu-guarantee--dialog {
    background: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 32px);
    max-width: 900px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.hubrig-eu-guarantee--dialog-header {
    align-items: center;
    border-bottom: 1px solid #d9d9d9;
    display: flex;
    flex: 0 0 auto;
    justify-content: space-between;
    padding: 12px 16px;
}

.hubrig-eu-guarantee--dialog-header h2 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0;
}

.hubrig-eu-guarantee--close {
    appearance: none;
    background: transparent;
    border: 0;
    color: #333;
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    margin: -6px -4px -6px 16px;
    padding: 4px 8px;
}

.hubrig-eu-guarantee--notice-scroll {
    background: #eef1f4;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 16px;
}

.hubrig-eu-guarantee--notice-scroll a {
    display: block;
    margin: 0 auto;
    width: 794px;
}

.hubrig-eu-guarantee--notice {
    background: #fff;
    display: block;
    height: auto;
    max-width: none;
    width: 794px;
}

.hubrig-eu-guarantee--official-link {
    background: #fff;
    border-top: 1px solid #d9d9d9;
    box-sizing: border-box;
    flex: 0 0 auto;
    line-height: 1.4;
    margin: 0;
    padding: 12px 16px;
    text-align: center;
}

body.hubrig-eu-guarantee--open {
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .hubrig-eu-guarantee--footer-desktop {
        display: none !important;
    }

    .hubrig-eu-guarantee--footer-mobile {
        display: list-item !important;
    }

    .hubrig-eu-guarantee--modal {
        align-items: stretch !important;
        bottom: auto !important;
        box-sizing: border-box !important;
        height: var(--hubrig-eu-viewport-height, 100dvh) !important;
        left: var(--hubrig-eu-viewport-left, 0px) !important;
        margin: 0 !important;
        max-height: none !important;
        padding: 0 !important;
        position: fixed !important;
        right: auto !important;
        top: var(--hubrig-eu-viewport-top, 0px) !important;
        width: var(--hubrig-eu-viewport-width, 100vw) !important;
    }

    .hubrig-eu-guarantee--dialog {
        border-radius: 0 !important;
        display: grid !important;
        grid-template-rows: auto minmax(0, 1fr) auto;
        height: 100% !important;
        margin: 0 !important;
        max-height: none !important;
        max-width: none !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .hubrig-eu-guarantee--dialog-header {
        box-sizing: border-box;
        flex: none;
        min-height: 56px;
        padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
        position: relative;
        z-index: 2;
    }

    .hubrig-eu-guarantee--dialog-header h2 {
        flex: 1 1 auto;
        padding-top: 2px;
    }

    .hubrig-eu-guarantee--notice-scroll {
        box-sizing: border-box;
        min-height: 0 !important;
        overflow: auto !important;
        padding: 8px;
        position: relative;
        z-index: 1;
    }

    .hubrig-eu-guarantee--notice-scroll a,
    .hubrig-eu-guarantee--notice {
        width: 650px;
    }

    .hubrig-eu-guarantee--official-link {
        flex: none;
        min-height: 48px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        position: relative;
        z-index: 2;
    }
}

@media print {
    .hubrig-eu-guarantee--footer-link,
    .hubrig-eu-guarantee--checkout,
    .hubrig-eu-guarantee--modal {
        display: none !important;
    }
}
