
/* ZEUSBILLING PUBLIC THEME SYNC */
html[data-zb-theme] {
    --zb-public-accent: #3478e5;
    --zb-public-text: #ffffff;
}
html[data-zb-theme="green"] { --zb-public-accent: #19a85b; }
html[data-zb-theme="lime"] { --zb-public-accent: #86c53f; }
html[data-zb-theme="navy"] { --zb-public-accent: #24598f; }
html[data-zb-theme="blue"] { --zb-public-accent: #3478e5; }
html[data-zb-theme="orange"] { --zb-public-accent: #f28c1b; }
html[data-zb-theme="red"] { --zb-public-accent: #f34a61; }
html[data-zb-theme="violet"] { --zb-public-accent: #785ce5; }
html[data-zb-theme="teal"] { --zb-public-accent: #19b4ae; }

html[data-zb-theme] :is(
    .portal-menu,
    .portal-hero,
    .portal-home-hero,
    .home-hero,
    .domain-hero,
    .hero-section
) {
    background-color: var(--zb-public-accent) !important;
}

html[data-zb-theme] :is(
    .portal-cart-button,
    .portal-primary-button,
    .portal-search-button,
    .portal-auth-submit,
    .primary-button
) {
    background-color: var(--zb-public-accent) !important;
    border-color: var(--zb-public-accent) !important;
}

html[data-zb-theme] :is(
    .portal-logo strong,
    .portal-auth-heading h1
) {
    color: var(--zb-public-accent) !important;
}

.zb-public-theme-trigger {
    position: fixed;
    right: 0;
    top: 52%;
    z-index: 10020;
    width: 47px;
    height: 47px;
    background: #fff !important;
    color: #26384b !important;
    border: 1px solid #aebbc8;
    border-right: 0;
    border-radius: 25px 0 0 25px;
    box-shadow: 0 5px 18px rgba(27,47,68,.14);
    cursor: pointer;
    font-size: 19px;
}

.zb-public-theme-panel {
    position: fixed;
    z-index: 10030;
    top: 52%;
    right: 47px;
    transform: translateY(-50%);
    width: 154px;
    padding: 12px;
    border: 1px solid #aebbc8;
    border-radius: 17px;
    background: #fff !important;
    box-shadow: 0 12px 36px rgba(24,43,62,.20);
    color: #172d3e;
}

.zb-public-theme-panel[hidden] {
    display: none !important;
}

.zb-public-theme-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 9px;
}

.zb-public-theme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.zb-public-theme-swatch {
    width: 31px;
    height: 31px;
    border: 2px solid #fff;
    border-radius: 8px;
    cursor: pointer;
}

.zb-public-theme-swatch[aria-pressed="true"] {
    outline: 2px solid #172d3e;
}

@media (max-width: 760px) {
    .zb-public-theme-trigger {
        top: auto;
        bottom: 24px;
    }
    .zb-public-theme-panel {
        top: auto;
        bottom: 20px;
        transform: none;
    }
}
.zb-public-theme-swatch[data-theme="green"] { background: #19a85b !important; }
.zb-public-theme-swatch[data-theme="lime"] { background: #86c53f !important; }
.zb-public-theme-swatch[data-theme="navy"] { background: #24598f !important; }
.zb-public-theme-swatch[data-theme="blue"] { background: #3478e5 !important; }
.zb-public-theme-swatch[data-theme="orange"] { background: #f28c1b !important; }
.zb-public-theme-swatch[data-theme="red"] { background: #f34a61 !important; }
.zb-public-theme-swatch[data-theme="violet"] { background: #785ce5 !important; }
.zb-public-theme-swatch[data-theme="teal"] { background: #19b4ae !important; }
