.gvch-root,
.gvch-root *,
.gvch-switcher-trigger,
.gvch-switcher-trigger * {
    box-sizing: border-box;
}

.gvch-root {
    --gvch-ui-bg: #ffffff;
    --gvch-ui-text: #111111;
    --gvch-ui-muted: #6f6f6f;
    --gvch-ui-line: #dedede;
    --gvch-ui-soft: #f7f7f7;
    --gvch-ui-shadow: 0 20px 65px rgba(0, 0, 0, 0.16);
    position: relative;
    z-index: 2147482000;
    color: var(--gvch-ui-text);
    font-family: inherit;
}

.gvch-banner[hidden],
.gvch-dialog[hidden] {
    display: none !important;
}

html.gvch-dialog-open,
html.gvch-dialog-open body {
    overflow: hidden !important;
}

/*
 * Shortcode trigger: deliberately neutral so it can sit inside the site's
 * existing announcement/top bar without looking like a second header button.
 */
.gvch-switcher-trigger {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 26px;
    margin: 0;
    padding: 0 3px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.gvch-switcher-trigger:hover,
.gvch-switcher-trigger:focus-visible {
    border: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    opacity: 0.78;
    outline: none;
}

.gvch-switcher-trigger:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 3px;
}

.gvch-flag {
    font-size: 15px;
    line-height: 1;
}

.gvch-trigger-text {
    display: inline-block;
}

.gvch-chevron {
    position: relative;
    top: -1px;
    margin-left: 1px;
    font-size: 11px;
    line-height: 1;
    opacity: 0.7;
}

/* Germany notice on glamavera.com. No forced domain redirect. */
.gvch-banner {
    position: fixed;
    left: 50%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: min(680px, calc(100% - 32px));
    padding: 18px 52px 18px 20px;
    border: 1px solid var(--gvch-ui-line);
    border-radius: 7px;
    background: #ffffff;
    color: #111111;
    box-shadow: var(--gvch-ui-shadow);
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 2147483000;
}

.gvch-root[data-banner-position="top"] .gvch-banner {
    top: max(18px, env(safe-area-inset-top));
    transform: translate(-50%, -10px);
}

.admin-bar .gvch-root[data-banner-position="top"] .gvch-banner {
    top: 56px;
}

.gvch-root[data-banner-position="center"] .gvch-banner {
    top: 50%;
    transform: translate(-50%, calc(-50% + 10px));
}

.gvch-root[data-banner-position="bottom"] .gvch-banner {
    bottom: max(18px, env(safe-area-inset-bottom));
    transform: translate(-50%, 10px);
}

.gvch-root[data-banner-position="top"] .gvch-banner.is-visible,
.gvch-root[data-banner-position="bottom"] .gvch-banner.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.gvch-root[data-banner-position="center"] .gvch-banner.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.gvch-banner__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.gvch-banner__eyebrow,
.gvch-dialog__eyebrow {
    margin: 0;
    color: #777777;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.gvch-banner__content strong {
    color: #111111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
}

.gvch-banner__content > span:last-child {
    color: var(--gvch-ui-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.gvch-banner__actions {
    display: flex;
    align-items: center;
}

.gvch-primary-button,
.gvch-close {
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
}

.gvch-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 18px;
    border: 1px solid #111111;
    border-radius: 4px;
    background: #111111;
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.09em;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.gvch-primary-button:hover,
.gvch-primary-button:focus-visible {
    border-color: #303030;
    background: #303030;
    color: #ffffff !important;
    transform: translateY(-1px);
    outline: none;
}

.gvch-close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #555555;
    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.gvch-close:hover,
.gvch-close:focus-visible {
    background: #f2f2f2;
    color: #111111;
    outline: none;
}

.gvch-banner > .gvch-close {
    position: absolute;
    top: 8px;
    right: 8px;
}

/* Country / Language / Currency modal. */
.gvch-dialog {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 2147483600;
}

.gvch-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.43);
    opacity: 0;
    transition: opacity 160ms ease;
}

.gvch-dialog__panel {
    position: relative;
    width: min(470px, 100%);
    max-height: min(720px, calc(100vh - 40px));
    overflow: auto;
    padding: 31px 30px 28px;
    border: 1px solid #dddddd;
    border-radius: 7px;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transform: translateY(9px) scale(0.992);
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 1;
}

.gvch-dialog.is-visible .gvch-dialog__backdrop,
.gvch-dialog.is-visible .gvch-dialog__panel {
    opacity: 1;
}

.gvch-dialog.is-visible .gvch-dialog__panel {
    transform: translateY(0) scale(1);
}

.gvch-dialog__close {
    position: absolute;
    top: 12px;
    right: 12px;
}

.gvch-dialog__eyebrow {
    margin-bottom: 11px;
}

.gvch-dialog h2 {
    margin: 0;
    color: #111111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 5vw, 31px);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.12;
}

.gvch-dialog__intro {
    margin: 10px 34px 22px 0;
    color: var(--gvch-ui-muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.gvch-dialog__fields {
    display: grid;
    gap: 15px;
}

.gvch-dialog__fields label {
    display: grid;
    gap: 7px;
    margin: 0;
    color: #222222;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.gvch-dialog__fields select {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0 42px 0 13px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    background-color: #ffffff;
    background-image:
        linear-gradient(45deg, transparent 50%, #555 50%),
        linear-gradient(135deg, #555 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 13px) 21px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    color: #111111;
    box-shadow: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.gvch-dialog__fields select:hover {
    border-color: #a9a9a9;
}

.gvch-dialog__fields select:focus {
    border-color: #111111;
    outline: 1px solid #111111;
    outline-offset: 1px;
}

.gvch-dialog__fields select:disabled {
    background-color: #f7f7f7;
    color: #777777;
    cursor: not-allowed;
}

.gvch-dialog__hint {
    min-height: 18px;
    margin: 12px 0 0;
    color: #777777;
    font-size: 10.5px;
    line-height: 1.45;
}

.gvch-dialog__actions {
    display: flex;
    margin-top: 18px;
}

.gvch-save-button {
    width: 100%;
    min-height: 47px;
}

@media (max-width: 600px) {
    .gvch-switcher-trigger {
        gap: 4px;
        min-height: 24px;
        padding: 0 2px;
        font-size: 10px;
    }

    .gvch-flag {
        font-size: 14px;
    }

    .gvch-banner {
        grid-template-columns: 1fr;
        gap: 13px;
        width: calc(100% - 20px);
        padding: 17px 44px 17px 17px;
    }

    .gvch-banner__actions {
        width: 100%;
    }

    .gvch-banner__actions .gvch-primary-button {
        width: 100%;
    }

    .gvch-root[data-banner-position="top"] .gvch-banner {
        top: max(10px, env(safe-area-inset-top));
    }

    .gvch-root[data-banner-position="bottom"] .gvch-banner {
        bottom: max(10px, env(safe-area-inset-bottom));
    }

    .gvch-dialog {
        align-items: end;
        padding: 0;
    }

    .gvch-dialog__panel {
        width: 100%;
        max-height: calc(100vh - max(14px, env(safe-area-inset-top)));
        padding: 27px 19px calc(20px + env(safe-area-inset-bottom));
        border: 0;
        border-top: 1px solid #dddddd;
        border-radius: 12px 12px 0 0;
        transform: translateY(22px);
    }

    .gvch-dialog h2 {
        font-size: 27px;
    }

    .gvch-dialog__intro {
        margin-right: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gvch-banner,
    .gvch-dialog__backdrop,
    .gvch-dialog__panel,
    .gvch-primary-button {
        transition: none !important;
    }
}
