/* Keep the native drawer and its updates; remove only its floating launcher. */
.fct-cart-drawer-open-btn { display: none !important; }
.thisline-rugzak-menu .thisline-rugzak-button {
    display: flex !important; align-items: center; gap: 8px; min-height: 44px;
    white-space: nowrap;
}
.thisline-rugzak-button > svg { flex: 0 0 22px; }
.thisline-rugzak-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 5px; border-radius: 50px;
    background: #d6ff00; color: #0a0a0a; font-size: 12px; line-height: 1;
}
.thisline-rugzak-button:focus-visible { outline: 2px solid #d6ff00; outline-offset: 3px; }
/* Featurebase owns these host wrappers. Hide floating support, never inline help. */
html:has([data-fluent-cart-cart-drawer].open) #fb-messenger-root,
html:has([data-fluent-cart-cart-drawer].open) .featurebase-messenger-launcher-frame-wrapper {
    display: none !important;
}
/* Keep the cart above the mobile navigation while its closing transition runs. */
[data-fluent-cart-cart-drawer-container] { position: relative; z-index: 1000000; }

[data-fluent-cart-cart-drawer]:has(.fluent-cart-cart-empty-content) .fct-cart-drawer-footer { display: none; }
/* Community sidebar badge. */
a.thisline-community-rugzak .community_avatar { position: relative; overflow: visible; }
a.thisline-community-rugzak .el-icon svg { fill: none !important; }
a.thisline-community-rugzak .thisline-community-rugzak-count {
    position: absolute; top: -6px; right: -6px; display: inline-flex;
    align-items: center; justify-content: center; min-width: 18px; height: 18px;
    padding: 0 4px; border-radius: 50%; background: #ccff00; color: #000;
    font: 700 11px/1 'Inter', system-ui, sans-serif; border: 1px solid #000;
    pointer-events: none;
}
a.thisline-community-rugzak .thisline-community-rugzak-count[hidden] { display: none; }

#thisline-community-rugzak-dialog {
    position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0;
    width: min(440px, 100%); max-width: 100%; height: 100%; height: 100dvh;
    max-height: 100%; box-sizing: border-box; border: 0; background: #111; color: #fff;
}
#thisline-community-rugzak-dialog[open] { display: flex; flex-direction: column; }
#thisline-community-rugzak-dialog::backdrop { background: rgb(0 0 0 / 65%); }
#thisline-community-rugzak-dialog header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px; border-bottom: 1px solid #393939;
}
#thisline-community-rugzak-dialog h2 { margin: 0; font: inherit; font-size: 1.25rem; font-weight: 700; }
#thisline-community-rugzak-dialog button {
    width: 44px; height: 44px; border: 1px solid #555; background: transparent;
    color: inherit; font-size: 24px; cursor: pointer;
}
#thisline-community-rugzak-dialog button:focus-visible { outline: 2px solid #ccff00; }
#thisline-community-rugzak-dialog p { margin: 1rem; }
#thisline-community-rugzak-dialog iframe { flex: 1; width: 100%; min-height: 0; border: 0; }
html:has(#thisline-community-rugzak-dialog[open]) { overflow: hidden; }
