/* 2026-11-03: prominent launcher + FAQ quick replies. Loaded after storefront-green-*.css. */
:root body .online-chat .online-chat__launcher {
    position: relative;
    min-height: 60px;
    gap: 11px;
    padding: 8px 22px 8px 9px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ft-green, #009e80), var(--ft-green-dark, #007961));
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 121, 97, .38), 0 0 0 4px rgba(0, 158, 128, .14);
    font-size: 15px;
    animation: online-chat-glow 2.4s ease-in-out infinite;
}

:root body .online-chat .online-chat__launcher:hover,
:root body .online-chat .online-chat__launcher:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 121, 97, .45), 0 0 0 5px rgba(0, 158, 128, .2);
    outline: none;
}

:root body .online-chat .online-chat__launcher[aria-expanded="true"] {
    animation: none;
}

:root body .online-chat .online-chat__launcher-icon {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ft-green-dark, #007961);
}

:root body .online-chat .online-chat__launcher-icon svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.2;
}

:root body .online-chat .online-chat__launcher-text {
    display: grid;
    gap: 1px;
    text-align: left;
    line-height: 1.2;
}

:root body .online-chat .online-chat__launcher-text strong {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .04em;
}

:root body .online-chat .online-chat__launcher-text small {
    font-size: 11px;
    font-weight: 500;
    opacity: .88;
}

:root body .online-chat .online-chat__launcher-dot {
    position: absolute;
    top: 6px;
    left: 40px;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ff5a4f;
}

@keyframes online-chat-glow {
    0%, 100% { box-shadow: 0 10px 28px rgba(0, 121, 97, .38), 0 0 0 0 rgba(0, 158, 128, .45); }
    50% { box-shadow: 0 10px 28px rgba(0, 121, 97, .38), 0 0 0 10px rgba(0, 158, 128, 0); }
}

:root body .online-chat .online-chat__panel {
    bottom: calc(92px + env(safe-area-inset-bottom));
    grid-template-rows: auto minmax(0, 1fr) auto auto auto;
}

:root body .online-chat .online-chat__faq {
    display: grid;
    gap: 6px;
    padding: 7px 11px 8px;
    border-top: 1px solid var(--ft-line, #e2ebe5);
    background: var(--ft-surface, #fff);
}

:root body .online-chat .online-chat__faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ft-muted, #7c8c82);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
}

:root body .online-chat .online-chat__faq-arrow {
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

:root body .online-chat .online-chat__faq.is-collapsed {
    padding-bottom: 7px;
}

:root body .online-chat .online-chat__faq.is-collapsed .online-chat__faq-arrow {
    transform: rotate(-135deg) translate(-2px, -2px);
}

:root body .online-chat .online-chat__faq.is-collapsed .online-chat__faq-list {
    display: none;
}

:root body .online-chat .online-chat__faq-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

:root body .online-chat .online-chat__faq-list button {
    flex: 0 0 auto;
    padding: 6px 11px;
    border: 1px solid var(--ft-green, #009e80);
    border-radius: 999px;
    background: var(--ft-soft, #eef8f3);
    color: var(--ft-green-dark, #007961);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
}

:root body .online-chat .online-chat__faq-list button:hover,
:root body .online-chat .online-chat__faq-list button:focus-visible {
    background: var(--ft-green, #009e80);
    color: #fff;
    outline: none;
}

:root body .online-chat .online-chat__message.is-auto {
    border-color: var(--ft-green, #009e80);
    background: var(--ft-soft, #eef8f3);
}

@media (max-width: 520px) {
    :root body .online-chat .online-chat__launcher {
        min-height: 52px;
        padding: 6px 16px 6px 7px;
    }

    :root body .online-chat .online-chat__launcher-icon {
        width: 38px;
        height: 38px;
    }

    :root body .online-chat .online-chat__launcher-text strong {
        font-size: 15px;
    }

    :root body .online-chat .online-chat__launcher-text small {
        display: none;
    }

    :root body .online-chat .online-chat__launcher-dot {
        left: 34px;
    }

    :root body .online-chat .online-chat__panel {
        bottom: calc(74px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    :root body .online-chat .online-chat__launcher {
        animation: none;
    }
}
