/* ehd-darkmode Basis (gilt immer) – automatisch getrennt 10.11.2026 aus darkmode.css */
:root{
    --ehd-bg: #FCF2ED;
    --ehd-surface: #FFFFFF;
    --ehd-surface-2: #F7F0E8;
    --ehd-text: #1a1a1a;
    --ehd-text-muted: #6b6b6b;
    --ehd-accent: #6B1D3A;
    --ehd-accent-hover: #8B2E50;
    --ehd-border: rgba(0,0,0,.10);
    --ehd-shadow: 0 4px 24px rgba(0,0,0,.06);
}
html[data-theme="dark"] [style*="background:#6B1D3A"],
html[data-theme="dark"] [style*="background:#6b1d3a"],
html[data-theme="dark"] [style*="background: #6B1D3A"],
html[data-theme="dark"] [style*="background: #6b1d3a"],
html[data-theme="dark"] [style*="background:#8B2E50"],
html[data-theme="dark"] [style*="background:#8b2e50"],
html[data-theme="dark"] [style*="background:#632c3b"],
html[data-theme="dark"] [style*="background:#7a3a4a"],
html[data-theme="dark"] [style*="background:#2a0e12"],
html[data-theme="dark"] [style*="background-color:#6B1D3A"],
html[data-theme="dark"] [style*="background-color:#6b1d3a"],
html[data-theme="dark"] [style*="background-color:#8B2E50"],
html[data-theme="dark"] [style*="background-color:#632c3b"],
html[data-theme="dark"] [style*="background-color:#7a3a4a"],
html[data-theme="dark"] [style*="linear-gradient(135deg,#6B1D3A"],
html[data-theme="dark"] [style*="linear-gradient(135deg,#8B2E50"],
html[data-theme="dark"] .has-burgund-background-color,
html[data-theme="dark"] .has-burgundy-background-color,
html[data-theme="dark"] .has-bordeau-background-color,
html[data-theme="dark"] .has-bordeaux-background-color,
html[data-theme="dark"] .has-vivid-red-background-color{
    color: #ffffff !important;
}
html[data-theme="dark"] [style*="background:#6B1D3A"] *,
html[data-theme="dark"] [style*="background:#6b1d3a"] *,
html[data-theme="dark"] [style*="background: #6B1D3A"] *,
html[data-theme="dark"] [style*="background:#8B2E50"] *,
html[data-theme="dark"] [style*="background:#8b2e50"] *,
html[data-theme="dark"] [style*="background:#632c3b"] *,
html[data-theme="dark"] [style*="background:#7a3a4a"] *,
html[data-theme="dark"] [style*="background:#2a0e12"] *,
html[data-theme="dark"] [style*="background-color:#6B1D3A"] *,
html[data-theme="dark"] [style*="background-color:#6b1d3a"] *,
html[data-theme="dark"] [style*="background-color:#8B2E50"] *,
html[data-theme="dark"] [style*="background-color:#632c3b"] *,
html[data-theme="dark"] [style*="background-color:#7a3a4a"] *,
html[data-theme="dark"] [style*="linear-gradient(135deg,#6B1D3A"] *,
html[data-theme="dark"] [style*="linear-gradient(135deg,#8B2E50"] *,
html[data-theme="dark"] .has-burgund-background-color *,
html[data-theme="dark"] .has-burgundy-background-color *,
html[data-theme="dark"] .has-bordeau-background-color *,
html[data-theme="dark"] .has-bordeaux-background-color *{
    color: #ffffff !important;
}
@media (max-width: 780px){body:not(.single-product){
        padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important;
    }body.single-product{
        padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    }body.page:has(.ehd-wf){
        padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
    }.ehd-wf{
        padding-bottom: 110px !important;
    }.ehd-wf > *:last-child:not(.ehd-wf-sticky),
    .ehd-wf-actions{
        margin-bottom: 90px !important;
    }.ehd-wf-chips,
    .ehd-wf .wapf-swatch-wrapper,
    .ehd-sf-chip-row,
    .ehd-shop-chips{
        padding-left: 4px !important;
        padding-right: 4px !important;
    }.wp-block-woocommerce-cart .wc-block-cart__submit-container,
    .woocommerce-form-login,
    .woocommerce-form-register,
    .ehd-sf-login-card form,
    .ehd-sf-submit-wrap > *:last-child{
        margin-bottom: 70px !important;
    }.wp-block-template-part.site-footer,
    footer.site-footer{
        margin-bottom: 60px !important;
    }}
figure#haarfarben figcaption,
figure#haarfarben .wp-element-caption,
.hc-overview figcaption,
.hc-overview .wp-element-caption,
.wp-block-image:has(> a[href*="/haarfarben/#"]) figcaption,
.wp-block-image:has(> a[href*="/haarfarben/#"]) .wp-element-caption,
.wp-block-image:has(> a[href^="#"]) figcaption,
.wp-block-image:has(> a[href^="#"]) .wp-element-caption{
    position: static !important;
    inset: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0 6px !important;
    background: transparent !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    white-space: normal !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    pointer-events: auto !important;
}
html:not([data-theme="dark"]) figure#haarfarben figcaption,
html:not([data-theme="dark"]) figure#haarfarben .wp-element-caption,
html:not([data-theme="dark"]) .hc-overview figcaption,
html:not([data-theme="dark"]) .hc-overview .wp-element-caption,
html:not([data-theme="dark"]) .wp-block-image:has(> a[href*="/haarfarben/#"]) figcaption,
html:not([data-theme="dark"]) .wp-block-image:has(> a[href*="/haarfarben/#"]) .wp-element-caption,
html:not([data-theme="dark"]) .wp-block-image:has(> a[href^="#"]) figcaption,
html:not([data-theme="dark"]) .wp-block-image:has(> a[href^="#"]) .wp-element-caption{
    color: #1a0a0e !important;
    -webkit-text-fill-color: #1a0a0e !important;
}
.wp-block-image:has(> a[href*="/haarfarben/#"]),
.wp-block-image:has(> a[href^="#"]),
figure#haarfarben .wp-block-image{
    overflow: visible !important;
    text-align: center !important;
}
html:not([data-theme="dark"]) .ehd-prod-summary li{
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 5px 0 !important;
}
html:not([data-theme="dark"]) .ehd-prod-summary li .lbl,
html:not([data-theme="dark"]) .ehd-prod-summary li .val{
    font-size: 14px !important;
}
html:not([data-theme="dark"]) .ehd-prod-summary li .surcharge{
    font-size: 12.5px !important;
}
.ehd-theme-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--ehd-border);
    background: var(--ehd-surface);
    color: var(--ehd-text);
    cursor: pointer;
    padding: 0;
    margin: 0 6px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
    flex: 0 0 auto;
    vertical-align: middle;
}
@media (max-width: 780px){.ehd-theme-toggle{
        width: 36px !important;
        height: 36px !important;
        margin: 0 2px !important;
    }.ehd-theme-toggle svg{
        width: 16px !important;
        height: 16px !important;
    }.wp-block-woocommerce-customer-account,
    .wc-block-customer-account{
        margin: 0 2px !important;
    }.wc-block-customer-account__link{
        padding: 6px 10px !important;
        gap: 4px !important;
    }.wc-block-customer-account__link .label{
        font-size: 12px !important;
    }.wc-block-customer-account__account-icon{
        width: 20px !important;
        height: 20px !important;
    }header .wp-block-woocommerce-mini-cart,
    header .wc-block-mini-cart{
        margin: 0 2px !important;
    }header .wc-block-mini-cart__button{
        padding: 6px 8px !important;
    }.wp-block-group.is-content-justification-right.is-nowrap,
    .wp-block-group:has(> .wp-block-woocommerce-customer-account),
    .wp-block-group:has(> .wp-block-woocommerce-mini-cart){
        gap: 4px !important;
        column-gap: 4px !important;
    }header .wp-block-group p:has-text("|"),
    header > * > p{
        margin: 0 !important;
    }}
@media (max-width: 380px){.ehd-theme-toggle{
        width: 32px !important;
        height: 32px !important;
        margin: 0 !important;
    }.wc-block-customer-account__link .label{
        display: none !important; /* nur Icon zeigen auf sehr kleinem Display */
    }.wc-block-customer-account__link{
        padding: 6px !important;
    }}
.ehd-theme-toggle:hover{
    background: var(--ehd-accent);
    color: #fff;
    border-color: var(--ehd-accent);
    transform: scale(1.05);
}
.ehd-theme-toggle:active{
    transform: scale(0.95);
}
.ehd-theme-toggle svg{
    width: 18px;
    height: 18px;
    display: block;
}
#main-menu .ehd-mtt-li{
    grid-column: 1 / -1 !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
#main-menu .ehd-menu-theme-toggle{
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.2;
    cursor: pointer;
    box-sizing: border-box;
    transition: background .2s ease, border-color .2s ease, transform .15s ease;
    -webkit-tap-highlight-color: transparent;
}
#main-menu .ehd-menu-theme-toggle:hover,
#main-menu .ehd-menu-theme-toggle:focus{
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.22);
}
#main-menu .ehd-menu-theme-toggle:active{ transform: scale(.98); }
#main-menu .ehd-menu-theme-toggle .ehd-mtt-icon{ display: inline-flex; flex: 0 0 auto; }
#main-menu .ehd-menu-theme-toggle .ehd-mtt-icon svg{ width: 20px; height: 20px; display: block; }
#main-menu .ehd-menu-theme-toggle .ehd-mtt-label{ white-space: nowrap; }
#main-menu .ehd-menu-theme-toggle .ehd-mtt-icon,
#main-menu .ehd-menu-theme-toggle .ehd-mtt-label{
    -webkit-mask: none !important;
    mask: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    background: none !important;
}
#main-menu .ehd-menu-theme-toggle .ehd-mtt-icon{
    flex: 0 0 20px !important;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 20px !important;
}
#main-menu .ehd-menu-theme-toggle .ehd-mtt-icon svg{ width: 20px !important; height: 20px !important; }
#main-menu .ehd-menu-theme-toggle .ehd-mtt-label{
    flex: 0 0 auto !important;
    width: auto !important;
}
.ehd-header-theme-toggle{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    margin-left:8px !important;
    padding:0 !important;
    border:1px solid rgba(40,10,18,.12) !important;
    border-radius:50% !important;
    background:#fff !important;
    color:#6B1D3A !important;
    cursor:pointer !important;
    vertical-align:middle !important;
    box-shadow:0 1px 3px rgba(40,10,18,.08) !important;
    transition:background .18s ease, box-shadow .18s ease, transform .15s ease, color .18s ease !important;
    -webkit-tap-highlight-color:transparent;
    line-height:0 !important;
}
.ehd-header-theme-toggle:hover,
.ehd-header-theme-toggle:focus{
    box-shadow:0 4px 14px rgba(40,10,18,.16) !important;
}
.ehd-header-theme-toggle:active{ transform:scale(.96) !important; }
.ehd-header-theme-toggle .ehd-mtt-icon{
    display:inline-flex !important;
    flex:0 0 20px !important;
    width:20px !important;
    height:20px !important;
    -webkit-mask:none !important;
    mask:none !important;
    -webkit-mask-image:none !important;
    mask-image:none !important;
    background:none !important;
}
.ehd-header-theme-toggle .ehd-mtt-icon svg{
    width:20px !important;
    height:20px !important;
    display:block !important;
}
.ehd-header-theme-toggle .ehd-mtt-label{ display:none !important; }
@media (max-width:600px){.ehd-header-theme-toggle{ width:38px !important; height:38px !important; min-width:38px !important; margin-left:6px !important; }}
