/* The light theme stays in the existing theme and catalog. Only this control is new. */
#hbs-theme-toggle[hidden] { display:none!important; }
#hbs-theme-toggle {
  display:inline-flex!important; align-items:center; justify-content:center; gap:7px;
  flex:0 0 auto; min-height:44px; min-width:44px; margin:0; padding:9px 12px!important;
  background:#fff!important; color:#14244c!important; border:1px solid #bcc9df!important;
  border-radius:12px!important; box-shadow:none!important; font:700 15px/1.2 Assistant,Arial,sans-serif!important;
  cursor:pointer; direction:rtl; white-space:nowrap; transform:none!important; text-shadow:none!important;
  transition:background-color .15s,border-color .15s;
}
#hbs-theme-toggle:hover { background:#eff4ff!important; border-color:#526b98!important; }
#hbs-theme-toggle:focus-visible { outline:3px solid #1166cf!important; outline-offset:4px!important; }
#hbs-theme-toggle svg { flex:none; width:20px; height:20px; }
#hbs-theme-toggle .hbs-theme-sun { display:none; }
#hbs-theme-toggle.hbs-theme-floating { position:fixed; top:18px; inset-inline-end:18px; z-index:95; }
@media(min-width:1120px) and (max-width:1450px) {
  #hbs-theme-toggle .hbs-theme-label { display:none; }
  #hbs-theme-toggle { padding:10px!important; }
}
@media(max-width:420px) {
  #hbs-theme-toggle { padding:10px!important; }
  #hbs-theme-toggle .hbs-theme-label { display:none; }
}
/* The site's mobile WhatsApp and accessibility controls occupy the far left. */
@media(max-width:1119px) {
  body .hbs-header-in { gap:12px!important; }
  body .hbs-header-tools { margin-inline-start:0; }
  body .hbs-logo { margin-inline-end:0; }
  #hbs-theme-toggle { padding:10px!important; }
  #hbs-theme-toggle .hbs-theme-label { display:none; }
}
@media(prefers-reduced-motion:reduce) { #hbs-theme-toggle { transition:none; } }
@media print { #hbs-theme-toggle { display:none!important; } }

/* OneTap has its own blue icon; the theme's orange button padding is not part of it. */
body .onetap-container-toggle > button.onetap-toggle,
body .onetap-container-toggle > button.onetap-toggle:hover,
body .onetap-container-toggle > button.onetap-toggle:focus,
body .onetap-container-toggle > button.onetap-toggle:active {
  background:transparent!important; background-image:none!important;
  padding:0!important; border:0!important; box-shadow:none!important; line-height:0!important;
  min-width:44px; min-height:44px;
}
body .onetap-container-toggle > button.onetap-toggle:focus-visible {
  outline:3px solid #1166cf!important; outline-offset:4px!important;
}
html[data-hbs-theme="dark"] body .onetap-container-toggle > button.onetap-toggle:focus-visible {
  outline-color:#9bc7ff!important;
}

/* Navy, cream text, and the site's pink/blue accents. No image filters or inversions. */
html[data-hbs-theme="dark"] {
  color-scheme:dark;
  --hbd-bg:#101a2d; --hbd-panel:#1b2940; --hbd-raised:#22334d; --hbd-line:#435572;
  --hbd-text:#f8f4ed; --hbd-muted:#c1cde0; --hbd-link:#9bc7ff; --hbd-pink:#ff92c3;
  --hbd-pink-panel:#35253d; --hbd-blue-panel:#192f4a; --hbd-yellow-panel:#352f22;
  --hbs-white:#1b2940; --hbs-cream:#101a2d; --hbs-cream-2:#162338;
  --hbs-blush:#302b38; --hbs-blush-2:#22334d; --hbs-navy:#f8f4ed;
  --hbs-navy-deep:#101a2d; --hbs-navy-2:#bfd6f6; --hbs-muted:#c1cde0;
  --hbs-line:#435572; --hbs-line-soft:#34455f; --hbs-pink-soft:#6f4463;
  --hbs-blue-accent:#22334d; --hbs-blue-soft:#192f4a; --hbs-coral-text:#ffad85;
  --hbc-ink:#f8f4ed; --hbc-navy:#f8f4ed; --hbc-cream:#1b2940;
}
html[data-hbs-theme="dark"] body {
  background:var(--hbd-bg)!important; color:var(--hbd-text)!important;
  --e-global-color-primary:#f8f4ed; --e-global-color-secondary:#c1cde0; --e-global-color-text:#c1cde0;
}
html[data-hbs-theme="dark"] ::selection { background:#754467; color:#fff; }
html[data-hbs-theme="dark"] :is(h1,h2,h3,h4,h5,h6) { color:var(--hbd-text); }
html[data-hbs-theme="dark"] body :is(h1,h2,h3,h4,h5,h6,.elementor-heading-title) { -webkit-text-fill-color:currentColor!important; }
html[data-hbs-theme="dark"] body.single-product :is(.product_title,.summary .price) { color:var(--hbd-text)!important; }
html[data-hbs-theme="dark"] :is(.hbc-shell,.hbc-contact,.hbc-home) {
  --hbc-navy:#f8f4ed; --hbc-ink:#f8f4ed; --hbc-blue:#9bc7ff; --hbc-cream:#1b2940;
  color:var(--hbd-text);
}
html[data-hbs-theme="dark"] body :is(.hbs-header,.hbs-mobile-nav,.hbs-trust,.hbs-footer,.hbs-search,.hbs-icon-btn,.hbs-burger) {
  background:var(--hbd-panel)!important; color:var(--hbd-text)!important; border-color:var(--hbd-line)!important;
}
html[data-hbs-theme="dark"] .hbs-logo-img { background:#fffaf2; border-radius:10px; padding:5px; }
html[data-hbs-theme="dark"] body :is(.hbs-nav,.hbs-mobile-nav) a { color:var(--hbd-text)!important; }
html[data-hbs-theme="dark"] body :is(.hbs-nav,.hbs-mobile-nav) a.hbc-menu-bundle { color:var(--hbd-pink)!important; }
html[data-hbs-theme="dark"] .hbs-search input[type="search"] { color:var(--hbd-text)!important; }
html[data-hbs-theme="dark"] :is(.hbs-search input,.hbc-fields input)::placeholder { color:#aebdd3!important; opacity:1; }
html[data-hbs-theme="dark"] .hbs-search-btn { color:var(--hbd-text)!important; }
html[data-hbs-theme="dark"] .hbs-burger span { background:var(--hbd-text)!important; }
html[data-hbs-theme="dark"] .hbs-footband { background:var(--hbd-raised)!important; color:var(--hbd-text)!important; }
html[data-hbs-theme="dark"] :is(.hbs-footer,.hbc-footer-links) a { color:var(--hbd-link)!important; }
html[data-hbs-theme="dark"] #hbs-theme-toggle { background:var(--hbd-raised)!important; color:#ffdc67!important; border-color:#657898!important; }
html[data-hbs-theme="dark"] #hbs-theme-toggle:hover { background:#2d405e!important; border-color:#9db1d1!important; }
html[data-hbs-theme="dark"] #hbs-theme-toggle .hbs-theme-sun { display:block; }
html[data-hbs-theme="dark"] #hbs-theme-toggle .hbs-theme-moon { display:none; }
html[data-hbs-theme="dark"] :is(#hbs-theme-toggle,a,button,input,select,textarea):focus-visible {
  outline-color:#a8cfff!important;
}

/* Native Elementor storefront sections and cards. */
html[data-hbs-theme="dark"] body .hbc-safety-home :is(.hbc-care-strip,.hbc-path-card,.hbc-value-card,.hbc-bundle-card) {
  background:var(--hbd-panel)!important; border-color:var(--hbd-line)!important;
}
html[data-hbs-theme="dark"] body .hbc-safety-home :is(.hbc-type-card,.hbc-sticker-callout) {
  background:var(--hbd-blue-panel)!important; border-color:var(--hbd-line)!important;
}
html[data-hbs-theme="dark"] body .hbc-safety-home :is(.hbc-type-magic,.hbc-personal-help,.hbc-value-card.hbc-featured) {
  background:var(--hbd-pink-panel)!important; border-color:#795073!important;
}
html[data-hbs-theme="dark"] body .hbc-safety-home .hbc-stockup { background:var(--hbd-yellow-panel)!important; }
html[data-hbs-theme="dark"] body .hbc-safety-home :is(.elementor-heading-title,.hbc-hero-promise,.hbc-price-pair strong,.hbc-path-card strong,.hbc-care-strip strong) { color:var(--hbd-text)!important; }
html[data-hbs-theme="dark"] body .hbc-safety-home .elementor-widget-text-editor { color:var(--hbd-muted)!important; }
html[data-hbs-theme="dark"] body .hbc-safety-home .hbc-home-kicker .elementor-heading-title { color:var(--hbd-pink)!important; }
html[data-hbs-theme="dark"] :is(.hbc-hero-note,.hbc-card-fine,.hbc-static-note) { color:var(--hbd-muted)!important; }
html[data-hbs-theme="dark"] .hbc-stars { color:#ffdc67!important; }
html[data-hbs-theme="dark"] :is(.hbc-saving,.hbc-pack-saving,.hbc-check-list li:before) { color:#8fdfb7!important; }
html[data-hbs-theme="dark"] body .hbc-bundle-card .hbc-check-list li:before { color:#8fdfb7!important; }
html[data-hbs-theme="dark"] .hbc-photo-collage:before { background:#655337!important; }
html[data-hbs-theme="dark"] .hbc-safety-home .hbc-photo-collage img { border-color:#34455f!important; }
html[data-hbs-theme="dark"] .hbc-care-photo img { border-color:#34455f; }
html[data-hbs-theme="dark"] body :is(.hbc-card-tag,.hbc-value-card .hbc-card-tag,.hbc-bundle-card .hbc-card-tag) {
  background:var(--hbd-raised)!important; color:var(--hbd-text)!important;
}
html[data-hbs-theme="dark"] :is(.hbc-care-strip a,.hbc-material-note a,.hbc-sticker-callout a,.hbc-patch-note a) { color:var(--hbd-link)!important; }
html[data-hbs-theme="dark"] body .hbc-safety-home .hbc-hero-actions>.elementor-widget-button:last-child .elementor-button {
  color:var(--hbd-text)!important; border-color:#8c9fbf!important;
}
html[data-hbs-theme="dark"] .hbc-personal-help .elementor-button { background:#ce145f!important; border-color:#ce145f!important; color:white!important; }
html[data-hbs-theme="dark"] #hbc-showcase.hbc-home-showcase :is(.hbc-motion-toggle,.hbc-rail-heading) .elementor-button { color:var(--hbd-link)!important; }
html[data-hbs-theme="dark"] #hbc-showcase.hbc-home-showcase .hbc-static-note { color:var(--hbd-muted)!important; }
html[data-hbs-theme="dark"] .hbc-home-showcase .hbc-rail-tile { background:var(--hbd-panel)!important; border-color:var(--hbd-line)!important; }
html[data-hbs-theme="dark"] .hbc-home-showcase .hbc-rail-tile figcaption { color:var(--hbd-text)!important; }

/* Catalog, live previews, bundles and form choices. The printed artwork stays authentic. */
html[data-hbs-theme="dark"] :is(.hbc-summary,.hbc-preview-sticky,.hbc-preview-bottom,.hbc-use-guide,.hbc-bundle-preview,.hbc-family-card,.hbc-inline-sizes,.hbc-sticker-pack,.hbc-real-grid figure,.hbc-mockup-grid figure) {
  background:var(--hbd-panel)!important; border-color:var(--hbd-line)!important; color:var(--hbd-text);
}
html[data-hbs-theme="dark"] :is(.hbc-preview-personal,.hbc-family-art,.hbc-family-card:nth-child(2) .hbc-family-art) { background:var(--hbd-blue-panel)!important; }
html[data-hbs-theme="dark"] :is(.hbc-fabric-note,.hbc-patch-note,.hbc-sticker-callout) { background:var(--hbd-blue-panel)!important; border-color:var(--hbd-line)!important; color:var(--hbd-muted); }
html[data-hbs-theme="dark"] :is(.hbc-material-note,.hbc-contact) { background:var(--hbd-yellow-panel)!important; border-color:#6c6147!important; }
html[data-hbs-theme="dark"] :is(.hbc-preview-badge,.hbc-config legend>span) { background:var(--hbd-raised); color:var(--hbd-text); border-color:var(--hbd-line); }
html[data-hbs-theme="dark"] :is(.hbc-options label>span,.hbc-colors label>span,.hbc-art-choice>span,.hbc-bundle-option>span,.hbc-shape-tabs a) {
  background:var(--hbd-panel)!important; color:var(--hbd-text)!important; border-color:#7285a2!important;
}
html[data-hbs-theme="dark"] :is(.hbc-options input:checked+span,.hbc-colors input:checked+span,.hbc-art-choice input:checked+span,.hbc-bundle-option input:checked+span,.hbc-shape-tabs a[aria-current]) {
  background:#41273e!important; color:var(--hbd-text)!important; border-color:var(--hbd-pink)!important;
}
html[data-hbs-theme="dark"] :is(.hbc-fields input,.hbc-bundle-config select) {
  background:#142138!important; color:var(--hbd-text)!important; border-color:#8193af!important;
}
html[data-hbs-theme="dark"] :is(.hbc-heading>p:last-child,.hbc-breadcrumb,.hbc-options small,.hbc-hint,.hbc-order-note,.hbc-preview-caption,.hbc-preview-bottom span,.hbc-contact p,.hbc-family-copy p,.hbc-mockups>p,.hbc-mockup-grid figcaption span,.hbc-real-photos>p,.hbc-real-grid figcaption span,.hbc-home-real figcaption,.hbc-slide>figcaption,.hbc-gallery-count,.hbc-size-row figcaption,.hbc-scale-note,.hbc-bundle-option del) {
  color:var(--hbd-muted)!important;
}
html[data-hbs-theme="dark"] :is(.hbc-unit-price,.hbc-slide>figcaption b,.hbc-patch-note strong,.hbc-price) { color:var(--hbd-text)!important; }
html[data-hbs-theme="dark"] :is(.hbc-eyebrow,.hbc-size-row figure.is-selected figcaption) { color:var(--hbd-pink)!important; }
html[data-hbs-theme="dark"] :is(.hbc-config fieldset,.hbc-bundle-config fieldset,.hbc-product-info,.hbc-mockups,.hbc-real-photos,.hbc-use-guide details,.hbc-price-pair) { border-color:var(--hbd-line)!important; }
html[data-hbs-theme="dark"] body .hbc-shell :is(.hbc-gallery-controls button,.hbc-gallery-thumbs button) {
  background:var(--hbd-raised)!important; color:var(--hbd-text)!important; border-color:#7285a2!important;
}
html[data-hbs-theme="dark"] body .hbc-shell .hbc-gallery-thumbs button[aria-pressed="true"] { background:#41273e!important; color:var(--hbd-pink)!important; border-color:var(--hbd-pink)!important; }
html[data-hbs-theme="dark"] .hbc-thumb-sizes i { background:#5c7397; }
html[data-hbs-theme="dark"] body .hbc-contact .hbc-button-outline { background:var(--hbd-panel)!important; color:var(--hbd-text)!important; border-color:#8c9fbf!important; }
html[data-hbs-theme="dark"] .hbc-order-result { background:#18382f; color:#d1f5e1; border-color:#6ba88a; }
html[data-hbs-theme="dark"] .hbc-error { background:#422635; color:#ffd4df; border-color:#d38d9f; }

/* Existing information pages and WooCommerce screens. */
html[data-hbs-theme="dark"] body :is(.hbs-page-wrap,.hbs-native-page,.hbs-content-wrap,.site-main) { color:var(--hbd-text); }
html[data-hbs-theme="dark"] body :is(.hbs-page-wrap,.single-product) :is(h1,h2,.product_title,.elementor-heading-title,.summary .price) { color:var(--hbd-text)!important; }
html[data-hbs-theme="dark"] body :is(.hbs-page-wrap,.hbs-native-page) .elementor-widget-text-editor { color:var(--hbd-muted)!important; }
html[data-hbs-theme="dark"] :is(.hbs-native-hero,.hbs-native-strip,.hbs-native-feature,.hbs-native-category,.hbs-native-contact-card,.hbs-native-faq .elementor-accordion-item,.hbs-allergy-card,.hbs-allergy-hero,.hbs-allergy-bottom,.hbs-allergy-hero-art,.hbs-allergy-note) {
  background:var(--hbd-panel)!important; border-color:var(--hbd-line)!important; color:var(--hbd-text);
}
html[data-hbs-theme="dark"] body .hbs-page-wrap.hbs-allergy-page { background:var(--hbd-bg)!important; }
html[data-hbs-theme="dark"] :is(.hbs-native-hero .lead,.hbs-native-strip,.hbs-native-feature,.hbs-native-category,.hbs-native-contact-card,.hbs-allergy-lead,.hbs-allergy-intro,.hbs-allergy-card,.hbs-allergy-note,.hbs-allergy-bottom) p { color:var(--hbd-muted)!important; }
html[data-hbs-theme="dark"] :is(.hbs-allergy-eyebrow p,.hbs-allergy-meta p) { background:var(--hbd-raised); color:var(--hbd-text); border-color:var(--hbd-line); }
html[data-hbs-theme="dark"] .elementor-widget-button.hbs-native-ghost .elementor-button { background:var(--hbd-panel)!important; color:var(--hbd-text)!important; border-color:#8193af!important; }
html[data-hbs-theme="dark"] .woocommerce :is(ul.products li.product,form.login,form.register,form.checkout_coupon,.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content,.cart_totals,table.shop_table,#payment,.payment_box,.woocommerce-tabs .panel) {
  background:var(--hbd-panel)!important; color:var(--hbd-text)!important; border-color:var(--hbd-line)!important;
}
html[data-hbs-theme="dark"] .woocommerce :is(input.input-text,textarea,select,.select2-selection) { background:#142138!important; color:var(--hbd-text)!important; border-color:#8193af!important; }
html[data-hbs-theme="dark"] .hbs-personalize :is(input,select) { background:#142138!important; color:var(--hbd-text)!important; border-color:#8193af!important; }
html[data-hbs-theme="dark"] .woocommerce :is(.woocommerce-product-details__short-description,.summary .price del,.woocommerce-result-count) { color:var(--hbd-muted)!important; }
html[data-hbs-theme="dark"] .woocommerce :is(.summary .price ins,.woocommerce-breadcrumb a) { color:var(--hbd-pink)!important; }
html[data-hbs-theme="dark"] :is(.woocommerce-message,.woocommerce-info) { background:var(--hbd-blue-panel)!important; color:var(--hbd-text)!important; }
html[data-hbs-theme="dark"] .woocommerce-error { background:#422635!important; color:#ffd4df!important; }
html[data-hbs-theme="dark"] .woocommerce :is(table.shop_table th,table.shop_table td,.woocommerce-tabs ul.tabs li) { border-color:var(--hbd-line)!important; background:var(--hbd-panel)!important; color:var(--hbd-text)!important; }
