html[data-hh24-night] {
    color-scheme: dark;
    --hh-night-bg: #000000;
    --hh-night-surface: #192823;
    --hh-night-raised: #22352d;
    --hh-night-text: #edf6ef;
    --hh-night-muted: #b5cbbd;
    --hh-night-accent: #a9deb5;
    --hh-night-border: #425b50;
    background-color: var(--hh-night-bg);
}
html[data-hh24-night] body {
    --global-palette1: #a9deb5;
    --global-palette2: #85c69a;
    --global-palette3: #edf6ef;
    --global-palette4: #d4e6da;
    --global-palette5: #b5cbbd;
    --global-palette6: #a8c2b3;
    --global-palette7: #425b50;
    --global-palette8: #22352d;
    --global-palette9: #192823;
    --global-palette-btn-bg: #276044;
    --global-palette-btn-bg-hover: #307552;
    --global-palette-btn: #fff;
    --global-palette-btn-hover: #fff;
    background: var(--hh-night-bg) !important;
    color: var(--hh-night-text) !important;
}
html[data-hh24-night] :is(#wrapper, #inner-wrap, #primary, .content-bg, .site-container, .entry-content, .hh-hero, .hh-section) {
    background-color: transparent !important;
    color: var(--hh-night-text);
}
html[data-hh24-night] :is(.hh-header, .hh-secondary-row, .hh-mobile-nav, .hh-footer, .hh-how, .hh-feature-card, .hh-recommended-card, .hh-service-icon-grid > *, .hh-product-category-grid > *, .hh-header-actions details > :not(summary), .hhl-dialog, .hh-card, .woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce table.shop_table, .woocommerce form.login, .woocommerce form.register, .dokan-dashboard-content, .dokan-dashboard-wrap, .dokan-dash-sidebar, .select2-dropdown, .select2-container .select2-selection) {
    background-color: var(--hh-night-surface) !important;
    color: var(--hh-night-text) !important;
    border-color: var(--hh-night-border) !important;
}
html[data-hh24-night] :is(main, .hh-header, .hh-footer, .hh-mobile-nav, .woocommerce, .dokan-dashboard-wrap, .hhl-dialog) :is(h1,h2,h3,h4,h5,h6, p, label, legend, dt, dd, th, td, summary) {
    color: var(--hh-night-text) !important;
}
html[data-hh24-night] :is(main,.hh-header,.hh-footer,.hh-mobile-nav,.woocommerce,.dokan-dashboard-wrap,.hhl-dialog) :is(a:not(.button):not(.wp-element-button):not([role="button"]), small, .hh-hero em) {
    color: var(--hh-night-accent) !important;
}
html[data-hh24-night] :is(main,.hh-header,.woocommerce,.dokan-dashboard-wrap,.hhl-dialog) :is(input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea) {
    background-color: var(--hh-night-raised) !important;
    color: var(--hh-night-text) !important;
    border-color: var(--hh-night-border) !important;
}
html[data-hh24-night] :is(input,textarea)::placeholder { color: var(--hh-night-muted); opacity: 1; }
html[data-hh24-night] :is(.hh-app, .hhm-search-row, .hh-header-location, .hh-recommended-cover, .hhm-empty) {
    background-color: var(--hh-night-bg) !important;
    color: var(--hh-night-text) !important;
    border-color: var(--hh-night-border) !important;
}

.hh-profile-links .hh24-theme-menu-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    min-height: 44px;
    padding: .55rem .7rem;
    border: 0;
    border-radius: .45rem;
    background: transparent !important;
    color: #153c32 !important;
    text-align: left;
    font: inherit;
    opacity: 1;
    cursor: pointer;
}
.hh-profile-links .hh24-theme-menu-item:hover { background: #edf2e6 !important; }
.hh24-theme-menu-item:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.hh24-theme-menu-item [aria-hidden] { width: 1.25rem; text-align: center; }
html[data-hh24-night] .hh-profile-links .hh24-theme-menu-item { color: var(--hh-night-accent) !important; }
html[data-hh24-night] .hh-profile-links .hh24-theme-menu-item:hover { background: var(--hh-night-raised) !important; }
