/* Hi DESIGN Smart Bar MAX 1.2.5 */
.hdsb-shell,.hdsb-shell *,.hdsb-panel,.hdsb-panel *,.hdsb-search,.hdsb-search *,.hdsb-overlay{box-sizing:border-box}
.hdsb-shell,.hdsb-overlay,.hdsb-panel,.hdsb-search{display:none}

@media(max-width:1600px){
html body .hdsb-shell{
    display:block;position:fixed;left:0;right:0;
    bottom:0;
    z-index:var(--hdsb-z,1000);margin:0;padding:0;width:100%;height:auto;
    transition:bottom .2s ease,opacity .18s ease,transform .22s ease;
    isolation:isolate;font:inherit
}
html body .hdsb-shell.is-hidden{opacity:0;pointer-events:none;transform:translateY(120%)}
html body .hdsb-shell.hdsb-scroll-hidden{transform:translateY(calc(120% + var(--hdsb-safe,0px)));pointer-events:none}
html body .hdsb-shell .hdsb-bar{
    display:flex;flex-direction:row;align-items:stretch;justify-content:space-around;gap:0;
    width:100%;height:calc(var(--hdsb-height,68px) + env(safe-area-inset-bottom));margin:0;padding:4px 4px env(safe-area-inset-bottom);overflow:visible;
    background:var(--hdsb-bg,#111);color:var(--hdsb-text,#fff);
    border:1px solid var(--hdsb-border,#111);border-radius:0;
    box-shadow:var(--hdsb-shadow,0 -8px 30px rgba(0,0,0,.16));
    backdrop-filter:blur(var(--hdsb-blur,0px));-webkit-backdrop-filter:blur(var(--hdsb-blur,0px));
    list-style:none
}
html body .hdsb-shell .hdsb-action{
    position:relative;flex:1 1 0;min-width:0;width:auto;height:100%;margin:0;padding:4px 6px;border:0;
    border-radius:calc(var(--hdsb-radius,22px) - 6px);background:transparent;color:inherit!important;
    text-decoration:none!important;box-shadow:none;outline:0;display:flex;flex-direction:column;align-items:center;
    justify-content:center;gap:3px;font-family:inherit;font-size:var(--hdsb-font,11px);font-weight:700;line-height:1.05;
    text-align:center;cursor:pointer;-webkit-tap-highlight-color:transparent;appearance:none;transition:transform .12s ease,background-color .15s ease
}
html body .hdsb-shell .hdsb-action:active{transform:scale(.94)}
html body .hdsb-shell .hdsb-action:hover,html body .hdsb-shell .hdsb-action:focus,html body .hdsb-shell .hdsb-action:visited{color:inherit!important;text-decoration:none!important}
html body .hdsb-shell .hdsb-action.is-highlight{position:relative;align-self:stretch;flex:1 1 0;max-width:none;height:100%;margin:0;border:0;border-radius:0;background:transparent;color:var(--hdsb-text,#fff)!important;box-shadow:none;z-index:2;padding-top:0}
html body .hdsb-shell .hdsb-action.is-highlight::before{content:"";position:absolute;left:50%;top:-24px;transform:translateX(-50%);width:66px;height:66px;border:5px solid rgba(255,255,255,.96);border-radius:50%;background:var(--hdsb-accent,#ffd500);box-shadow:0 -5px 18px rgba(0,0,0,.18);z-index:-1}
html body .hdsb-shell .hdsb-action.is-highlight .hdsb-icon{position:absolute;left:50%;top:-7px;transform:translateX(-50%);width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;color:var(--hdsb-accent-text,#111)!important;overflow:visible}
html body .hdsb-shell .hdsb-action.is-highlight .hdsb-icon svg{width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important}
html body .hdsb-shell .hdsb-action.is-highlight .hdsb-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html body .hdsb-shell .hdsb-action.is-current:not(.is-highlight)::after{
    content:"";position:absolute;left:30%;right:30%;bottom:3px;height:3px;border-radius:3px;background:var(--hdsb-accent,#ffd500)
}
html body .hdsb-shell .hdsb-icon{
    display:flex;flex:0 0 var(--hdsb-icon,22px);align-items:center;justify-content:center;
    width:var(--hdsb-icon,22px)!important;height:var(--hdsb-icon,22px)!important;min-width:var(--hdsb-icon,22px);
    min-height:var(--hdsb-icon,22px);max-width:var(--hdsb-icon,22px);max-height:var(--hdsb-icon,22px);
    margin:0;padding:0;line-height:0;overflow:hidden
}
html body .hdsb-shell .hdsb-icon svg{
    display:block!important;flex:none!important;width:var(--hdsb-icon,22px)!important;height:var(--hdsb-icon,22px)!important;
    min-width:0!important;min-height:0!important;max-width:var(--hdsb-icon,22px)!important;max-height:var(--hdsb-icon,22px)!important;
    margin:0!important;padding:0!important;fill:none;overflow:visible
}
html body .hdsb-shell .hdsb-label{display:block;width:100%;max-width:100%;margin:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit;font:inherit;line-height:1.05}
html body .hdsb-shell .hdsb-badge{
    position:absolute;top:4px;right:calc(50% - 22px);display:flex;align-items:center;justify-content:center;min-width:15px;width:auto;height:15px;
    margin:0;padding:0 4px;border:0;border-radius:10px;background:var(--hdsb-accent,#ffd500);color:var(--hdsb-accent-text,#111);font-size:9px;line-height:15px
}
html body .hdsb-shell .hdsb-action.is-highlight .hdsb-badge{top:-14px;right:calc(50% - 25px);background:var(--hdsb-bg,#111);color:var(--hdsb-text,#fff);z-index:4}

html body .hdsb-overlay{position:fixed;inset:0;z-index:2147483000;margin:0;padding:0;background:rgba(0,0,0,.45);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
html body .hdsb-overlay.is-open{display:block}

html body .hdsb-panel,html body .hdsb-search{
    position:fixed;left:10px;right:10px;bottom:calc(var(--hdsb-height,68px) + env(safe-area-inset-bottom) + 12px);
    z-index:2147483001;width:auto;max-width:none;max-height:70vh;margin:0;padding:22px;overflow:auto;
    background:#fff;color:#111;border:0;border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.25);font-family:inherit;text-align:left
}
html body .hdsb-panel.is-open,html body .hdsb-search.is-open{display:block}
html body .hdsb-panel .hdsb-close,html body .hdsb-search .hdsb-close{
    position:absolute;right:12px;top:10px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;min-height:36px;
    margin:0;padding:0;border:0;border-radius:50%;background:#f1f1f1;color:#111;box-shadow:none;font:700 25px/1 Arial,sans-serif;cursor:pointer;appearance:none
}
html body .hdsb-panel .hdsb-panel-title{margin:0 42px 18px 0;padding:0;color:#111;font-size:22px;font-weight:800;line-height:1.2}
html body .hdsb-panel .hdsb-menu,html body .hdsb-panel .hdsb-cats,html body .hdsb-panel .sub-menu{display:block;margin:0!important;padding:0!important;list-style:none!important}
html body .hdsb-panel .hdsb-menu li,html body .hdsb-panel .hdsb-cats li,html body .hdsb-panel .sub-menu li{position:relative;display:block;margin:0!important;padding:0!important;border:0;border-top:1px solid #eee;list-style:none!important}
html body .hdsb-panel li::before,html body .hdsb-panel li::after{display:none!important;content:none!important}
html body .hdsb-panel .hdsb-menu a,html body .hdsb-panel .hdsb-cats a{
    display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0;padding:13px 40px 13px 2px;
    color:#111!important;background:transparent;text-decoration:none!important;font-size:15px;font-weight:650;line-height:1.25
}
html body .hdsb-panel .sub-menu a{padding-left:18px;font-size:14px}
html body .hdsb-panel .hdsb-cats span{color:#777;font-weight:500}
html body .hdsb-submenu-toggle{
    position:absolute;right:0;top:6px;width:34px;height:34px;margin:0;padding:0;border:0;border-radius:50%;background:#f3f3f3;color:#111;font-size:20px;line-height:34px;cursor:pointer
}
html body .hdsb-submenu-toggle[aria-expanded="true"]{transform:rotate(180deg)}
html body .hdsb-panel [hidden]{display:none!important}

html body .hdsb-search{left:0;right:0;bottom:calc(var(--hdsb-height,68px) + env(safe-area-inset-bottom));max-height:none;padding:14px 18px 16px;border-radius:24px 24px 0 0;overflow:visible}
html body .hdsb-search form{display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:0}
html body .hdsb-search input[type="search"]{flex:1 1 auto;min-width:0;height:52px;margin:0;padding:12px 18px;border:2px solid #e5e7eb;border-radius:28px;background:#fff;color:#111;box-shadow:none;font-size:17px;line-height:1.2;appearance:none}
html body .hdsb-search .hdsb-close{position:static;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;background:transparent;color:#777;font-size:28px}

}

@media(max-width:1600px){
html.hdsb-complianz-bridge body #cmplz-manage-consent,
html.hdsb-complianz-bridge #cmplz-manage-consent .cmplz-manage-consent,
html.hdsb-complianz-bridge #cmplz-manage-consent button,
html.hdsb-complianz-bridge body button.cmplz-manage-consent,
html.hdsb-complianz-bridge body .cmplz-manage-consent{display:none!important;visibility:hidden!important;pointer-events:none!important;opacity:0!important}
}


/* v1.2.3 — native consent UI gets the whole mobile viewport. */
@media(max-width:1600px){
html.hdsb-consent-dialog-open body .hdsb-shell{opacity:0!important;pointer-events:none!important;transform:translateY(120%)!important}
/* Our own Menu / Search / Categories are intentionally above every external widget. */
html.hdsb-own-modal-open body .hdsb-overlay{z-index:2147483000!important}
html.hdsb-own-modal-open body .hdsb-panel,
html.hdsb-own-modal-open body .hdsb-search{z-index:2147483001!important}
}


/* v1.2.5 — deterministic third-party layering.
 * Charla is never allowed to cover Complianz or Smart Bar panels.
 * Outside modals, its internal launcher is positioned by the Shadow DOM adapter
 * at --hdsb-chat-bottom, i.e. one stable place above the dock. */
@media(max-width:1600px){
html.hdsb-consent-dialog-open body charla-widget,
html.hdsb-own-modal-open body charla-widget{
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}
}

/* v1.2.9 — FINAL: badge geometry restored to the approved v1.2.6 position.
   It is anchored only to the raised center action, so Home/Cart/current-page state cannot move it. */
@media(max-width:1600px){
html body .hdsb-shell .hdsb-action.is-highlight .hdsb-badge{
    position:absolute!important;
    top:-12px!important;
    right:calc(50% - 30px)!important;
    left:auto!important;
    bottom:auto!important;
    transform:none!important;
    margin:0!important;
    z-index:4!important;
}
}

/* v1.3.3 — deterministic Complianz launcher replacement.
   When Smart Bar is active, its own consent action is the only launcher.
   This CSS also applies to launchers inserted/recreated later by WooCommerce/Complianz. */
@media(max-width:1600px){
html.hdsb-complianz-bridge body #cmplz-manage-consent,
body.hdsb-enabled #cmplz-manage-consent{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}
}

/* v1.3.4 — JS-only actions use semantic buttons so page-specific hash-link handlers cannot intercept them. */
@media(max-width:1600px){
html body .hdsb-shell button.hdsb-action{font:inherit!important;line-height:1.05!important;-webkit-appearance:none!important;appearance:none!important}
}
