/* The same launcher is fixed across the storefront and inline on product pages. */
:root {
    --hwk-advisor-edge: 24px;
    --hwk-advisor-width: 72px;
}
.hwk-advisor-placeholder:not(.is-product-help) {
    position: fixed;
    right: max(var(--hwk-advisor-edge), env(safe-area-inset-right, 0px));
    bottom: calc(var(--hwk-advisor-edge) + max(var(--hwk-consent-offset, 0px), var(--hwk-advisor-bottom-offset, 0px), env(safe-area-inset-bottom, 0px)));
    z-index: 99998;
    transition: opacity .18s ease-out;
}
.hwk-advisor-placeholder:not(.is-product-help, .is-revealed) {
    visibility: hidden;
    opacity: 0;
}
.hwk-advisor-launcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--hwk-target, 44px);
    padding: 6px;
    border: 1px solid #404040;
    border-radius: var(--hwk-control-radius, 4px);
    background: #111;
    color: #fff;
    box-shadow: 0 4px 16px #0003;
    cursor: pointer;
    font-family: var(--hwk-font, Lato, Arial, sans-serif);
}
.hwk-advisor-placeholder:not(.is-product-help) .hwk-advisor-launcher { width: var(--hwk-advisor-width); }
.hwk-advisor-launcher img { display: block; width: 54px; height: 28px; object-fit: contain; }
.hwk-advisor-launcher:hover { background: #303030; }
.hwk-advisor-launcher:disabled { opacity: .65; cursor: wait; }
.hwk-advisor-launcher:focus-visible { outline: 2px solid #c6c6c6; outline-offset: 4px; }

@media (min-width: 1024px) {
    :root { --hwk-advisor-width: 88px; }
    .hwk-advisor-placeholder:not(.is-product-help) .hwk-advisor-launcher { min-height: 52px; }
    .hwk-advisor-placeholder:not(.is-product-help) .hwk-advisor-launcher img { width: 66px; height: 34px; }
}

@media (max-width: 767px) {
    :root { --hwk-advisor-edge: 12px; --hwk-advisor-width: 64px; }
    .hwk-advisor-launcher img { width: 50px; height: 27px; }
}
