.inkeria-region-switcher {
    position: relative;
    display: inline-block;
    font: inherit;
}
.inkeria-region-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    cursor: pointer;
    color: inherit;
    font: inherit;
    line-height: 1.2;
}
.inkeria-region-switcher__toggle:hover {
    background: rgba(0,0,0,0.05);
}
.inkeria-region-switcher__caret {
    margin-left: 0.2rem;
    font-size: 0.7em;
}
.inkeria-region-switcher__menu {
    /*
     * Fixed (not absolute) so the menu cannot be clipped by ancestor
     * overflow-hidden / stacking contexts in the host theme — Bricks
     * places ancestor containers with `overflow: auto hidden` which
     * mis-clip absolute children when the containing block is a
     * positioned ancestor outside that wrapper. JS sets top/right based
     * on the toggle's getBoundingClientRect() each time the menu opens.
     */
    position: fixed;
    min-width: 220px;
    margin: 0;
    padding: 0.3rem 0;
    list-style: none;
    background: #fff;
    color: #363636;
    font: inherit;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 99999;
}
.inkeria-region-switcher__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    line-height: 1.2;
}
.inkeria-region-switcher__option a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    /* Negate the <li> padding so the anchor fills the row and clicks/hover
       cover the full width, not just the text. */
    padding: 0.4rem 0.8rem;
    margin: -0.4rem -0.8rem;
    color: inherit;
    text-decoration: none;
}
.inkeria-region-switcher__option:not(.inkeria-region-switcher__option--redirect):hover,
.inkeria-region-switcher__option--redirect a:hover {
    background: rgba(0,0,0,0.05);
}
.inkeria-region-switcher__option.is-active {
    background: rgba(0,0,0,0.04);
    font-weight: 600;
}
.inkeria-region-switcher__currency {
    margin-left: auto;
    font-size: 0.85em;
    color: #888;
}
.inkeria-region-switcher__divider {
    border-top: 1px solid #e0e0e0;
    margin: 0.3rem 0;
    padding: 0;
    list-style: none;
    height: 0;
}
.inkeria-region-switcher__external {
    margin-left: auto;
    font-size: 0.85em;
    color: #888;
}

/* Geo/preference suggestion banner (built by region-switcher.js). */
.inkeria-region-banner {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    max-width: min(640px, calc(100vw - 32px));
    padding: 0.7rem 1rem;
    background: #fff;
    color: #363636;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
    font-size: 0.95rem;
    line-height: 1.4;
    z-index: 99998;
}
.inkeria-region-banner__go {
    padding: 0.4rem 0.9rem;
    background: #1a1a1a;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}
.inkeria-region-banner__go:hover {
    background: #333;
    color: #fff;
}
.inkeria-region-banner__stay {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    text-decoration: underline;
    font: inherit;
    padding: 0.2rem;
}


/* Sales-tax hint on US prices (0.19.0, class-tax-router.php). */
.inkeria-sales-tax-note {
    margin: 0.25em 0 0;
    font-size: 0.85em;
    line-height: 1.4;
    opacity: 0.75;
}
.inkeria-sales-tax-note--checkout {
    margin: 0 0 0.75em;
}
