/*
 * Shared floating action menu for Guides, price, business and future details.
 * Use .wk-fab (root), .wk-fab__panel, .wk-fab__item, .wk-fab__icon
 * and .wk-fab__trigger. Interaction state is managed by floating_actions.js.
 * Keep page-specific actions/data attributes separate from these visual rules.
 */
.wk-fab {
    position: fixed;
    right: 1rem;
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .75rem;
    max-width: calc(100vw - 2rem);
}
@media (min-width: 640px) {
    .wk-fab {
        right: 1.5rem;
        bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    }
}
/* Keep the shortcut accessible above the fixed edit toolbar if it is visible. */
body:has(#wk-edit-bar:not(.hidden)) .wk-fab {
    bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}
.wk-fab__trigger {
    display: inline-flex;
    flex: 0 0 3.5rem;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: #4B2798;
    color: #fff;
    font-family: inherit;
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 0 4px #fff, 0 11px 25px rgba(53,26,112,.3);
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.wk-fab__trigger:hover {
    background: #351A70;
    transform: translateY(-2px);
    box-shadow: 0 0 0 4px #fff, 0 14px 29px rgba(53,26,112,.34);
}
.wk-fab__trigger:focus-visible {
    outline: 3px solid #4DB8FF;
    outline-offset: 6px;
}
.wk-fab__trigger[aria-expanded="true"] {
    background: #351A70;
}
.wk-fab__panel {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    width: max-content;
    min-width: 13rem;
    max-width: min(21rem, calc(100vw - 2rem));
    max-height: min(70vh, calc(100dvh - 8.5rem));
    overflow-y: auto;
    padding: .5rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15,23,42,.19), 0 3px 9px rgba(15,23,42,.08);
    transform-origin: bottom right;
    transform: translateY(.5rem) scale(.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.wk-fab__panel.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.wk-fab__item {
    display: flex;
    width: 100%;
    min-height: 2.75rem;
    align-items: center;
    gap: .625rem;
    padding: .625rem .75rem;
    border: 0;
    border-radius: .75rem;
    background: transparent;
    color: #334155;
    font-family: inherit;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color .15s ease, color .15s ease;
}
.wk-fab__item:hover,
.wk-fab__item:focus-visible {
    background: #f2ecfc;
    color: #4B2798;
    outline: none;
}
.wk-fab__item:focus-visible {
    box-shadow: inset 0 0 0 2px #4DB8FF;
}
.wk-fab__item--danger {
    color: #b91c1c;
}
.wk-fab__item--danger:hover,
.wk-fab__item--danger:focus-visible {
    background: #fef2f2;
    color: #991b1b;
}
.wk-fab__icon {
    display: inline-flex;
    flex: 0 0 1.5rem;
    width: 1.5rem;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}
.wk-fab__rating-tray {
    display: flex;
    gap: .5rem;
    padding: .5rem;
    border: 1px solid #fef3c7;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 12px 30px rgba(15,23,42,.15);
    transform-origin: bottom right;
    transform: translateY(.5rem) scale(.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.wk-fab__rating-tray.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
    .wk-fab__trigger, .wk-fab__panel, .wk-fab__item, .wk-fab__rating-tray {
        transition: none;
    }
    .wk-fab__trigger:hover {
        transform: none;
    }
}
