
    .tennis-chatbot-fab {
        position: fixed;
        left: 24px;
        bottom: 24px;
        z-index: 70;
        width: auto;
        min-width: 190px;
        height: 58px;
        padding: 0 17px;
        gap: 10px;
        border: 0;
        border-radius: 9999px;
        background: #3B758A;
        box-shadow: 0 14px 34px rgba(97, 163, 186, 0.34);
        color: #ffffff;
        font-family: inherit;
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .tennis-chatbot-fab:hover {
        transform: translateY(-2px) scale(1.02);
        filter: brightness(0.96);
    }

    .tennis-chatbot-fab svg {
        width: 27px;
        height: 27px;
        flex: 0 0 27px;
    }

    .tennis-chatbot-panel {
        position: fixed;
        left: 24px;
        bottom: 96px;
        width: min(390px, calc(100vw - 32px));
        height: 620px;
        max-height: calc(100vh - 130px);
        z-index: 80;
        background: #ffffff;
        border-radius: 22px;
        box-shadow: 0 24px 64px rgba(16, 25, 46, 0.20);
        display: none;
        overflow: hidden;
        border: 1px solid rgba(97, 163, 186, 0.22);
        isolation: isolate;
        max-width: calc(100vw - 32px);
    }

    .tennis-chatbot-panel,
    .tennis-chatbot-panel * {
        box-sizing: border-box;
    }

    .tennis-chatbot-panel.active {
        display: flex;
        flex-direction: column;
    }

    .tennis-chatbot-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 15px 16px;
        border-bottom: 0;
        background: #3B758A;
    }

    .tennis-chatbot-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .tennis-chatbot-logo-mark {
        width: 44px;
        height: 44px;
        border-radius: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.16);
        box-shadow: none;
        color: #fff;
        flex-shrink: 0;
    }

    .tennis-chatbot-logo-mark svg {
        width: 24px;
        height: 24px;
    }

    .tennis-chatbot-empty-logo {
        width: 78px;
        height: 78px;
        margin: 0 auto 16px;
        border-radius: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #3B758A;
        box-shadow: 0 12px 28px rgba(97, 163, 186, 0.24);
        color: #fff;
    }

    .tennis-chatbot-empty-logo svg {
        width: 38px;
        height: 38px;
    }

    .tennis-chatbot-avatar {
        width: 32px;
        height: 32px;
        border-radius: 12px;
        flex-shrink: 0;
        box-shadow: none;
        background: #3B758A;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tennis-chatbot-avatar svg {
        width: 18px;
        height: 18px;
    }

    .tennis-chatbot-suggestion img,
    .tennis-chatbot-suggestion-fallback {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        object-fit: cover;
    }

    .tennis-chatbot-brand strong {
        display: block;
        color: #ffffff;
        font-size: 15px;
    }

    .tennis-chatbot-brand span {
        display: block;
        color: rgba(255, 255, 255, 0.82);
        font-size: 12px;
        margin-top: 2px;
    }

    .tennis-chatbot-icon-btn {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 9999px;
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: none;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .tennis-chatbot-icon-btn:hover {
        background: rgba(255, 255, 255, 0.26);
        transform: translateY(-1px);
    }

    .tennis-chatbot-icon-btn:focus-visible,
    .tennis-chatbot-send:focus-visible,
    .tennis-chatbot-fab:focus-visible,
    .tennis-chatbot-suggestion-link:focus-visible,
    .tennis-chatbot-suggestion-actions button:focus-visible {
        outline: 3px solid #61a3ba;
        outline-offset: 2px;
    }

    .tennis-chatbot-body {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        min-width: 0;
        max-width: 100%;
        padding: 18px 16px;
        background: #f7fafb;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .tennis-chatbot-empty {
        text-align: center;
        color: #536078;
        padding: 38px 14px 18px;
    }

    .tennis-chatbot-empty strong {
        display: block;
        color: #10192e;
        font-size: 17px;
        margin-bottom: 8px;
    }

    .tennis-chatbot-empty p {
        font-size: 13px;
        line-height: 1.9;
        margin: 0;
    }

    .tennis-chatbot-message {
        display: flex;
        margin-bottom: 12px;
    }

    .tennis-chatbot-message.user {
        justify-content: flex-end;
    }

    .tennis-chatbot-message.ai {
        justify-content: flex-start;
    }

    .tennis-chatbot-message-inner {
        display: flex;
        align-items: flex-end;
        gap: 8px;
        max-width: 100%;
        min-width: 0;
    }

    .tennis-chatbot-bubble {
        max-width: 88%;
        padding: 12px 14px;
        border-radius: 18px;
        line-height: 1.9;
        font-size: 13px;
        white-space: pre-wrap;
        word-break: break-word;
        overflow-wrap: anywhere;
        min-width: 0;
    }

    .tennis-chatbot-message.user .tennis-chatbot-bubble {
        background: #3B758A;
        color: #ffffff;
        border-bottom-right-radius: 6px;
    }

    .tennis-chatbot-message.ai .tennis-chatbot-bubble {
        background: #ffffff;
        color: #10192e;
        border: 1px solid #e2edf1;
        border-bottom-left-radius: 6px;
        box-shadow: none;
    }

    .tennis-chatbot-bubble.error {
        color: #b91c1c;
    }

    .tennis-chatbot-suggestions {
        display: grid;
        gap: 10px;
        margin: 8px 0 16px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .tennis-chatbot-suggestion {
        display: block;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        padding: 10px;
        border-radius: 18px;
        background: #ffffff;
        border: 1px solid #dce9ee;
        box-shadow: none;
    }

    .tennis-chatbot-suggestion-link {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
        width: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        text-align: right;
        min-width: 0;
        max-width: 100%;
    }

    .tennis-chatbot-suggestion img,
    .tennis-chatbot-suggestion-fallback {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        object-fit: cover;
        background: #f3f4f6;
    }

    .tennis-chatbot-suggestion-fallback {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6b7280;
        font-size: 11px;
    }

    .tennis-chatbot-suggestion-link strong,
    .tennis-chatbot-suggestion-link span {
        display: block;
        min-width: 0;
    }

    .tennis-chatbot-suggestion-link strong {
        color: #111827;
        font-size: 13px;
        white-space: normal;
        overflow: hidden;
        overflow-wrap: anywhere;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        unicode-bidi: plaintext;
    }

    .tennis-chatbot-suggestion-link span {
        color: #6b7280;
        font-size: 12px;
        margin-top: 4px;
    }

    .tennis-chatbot-suggestion-commerce {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-top: 10px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .tennis-chatbot-suggestion-price {
        flex: 1 1 auto;
        min-width: 0;
        color: #111827;
        font-size: 12px;
        font-weight: 900;
        line-height: 1.5;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        direction: rtl;
        text-align: right;
    }

    .tennis-chatbot-suggestion-actions {
        display: flex;
        flex: 0 0 124px;
        align-items: stretch;
        max-width: 46%;
        min-width: 0;
    }

    .tennis-chatbot-suggestion-actions .product-card-cart-btn {
        min-height: 36px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .tennis-chatbot-suggestion-actions .product-card-plus,
    .tennis-chatbot-suggestion-actions .product-card-minus {
        width: 38px;
        height: 36px;
    }

    .tennis-chatbot-loading {
        display: none;
        justify-content: flex-end;
        margin-bottom: 12px;
    }

    .tennis-chatbot-loading.active {
        display: flex;
    }

    .tennis-chatbot-dots {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 12px 14px;
        border-radius: 18px;
        border-bottom-right-radius: 6px;
        background: #ffffff;
        border: 1px solid #dce9ee;
        box-shadow: none;
    }

    .tennis-chatbot-dots span {
        width: 8px;
        height: 8px;
        border-radius: 9999px;
        background: #3B758A;
        animation: tennis-chatbot-blink 1.4s infinite both;
    }

    .tennis-chatbot-dots span:nth-child(2) {
        animation-delay: 0.2s;
    }

    .tennis-chatbot-dots span:nth-child(3) {
        animation-delay: 0.4s;
    }

    @keyframes tennis-chatbot-blink {
        0%, 80%, 100% {
            opacity: 0.25;
            transform: scale(0.8);
        }
        40% {
            opacity: 1;
            transform: scale(1);
        }
    }

    .tennis-chatbot-footer {
        padding: 14px 16px 12px;
        border-top: 1px solid #e2edf1;
        background: #ffffff;
    }

    .tennis-chatbot-composer {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
        border-radius: 22px;
        background: #f7fafb;
        border: 1px solid #d8e6eb;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .tennis-chatbot-composer textarea {
        flex: 1 1 0;
        width: 0;
        min-width: 0;
        min-height: 42px;
        max-height: 120px;
        border: 0;
        outline: 0;
        background: transparent;
        resize: none;
        color: #111827;
        font-size: 16px;
        line-height: 24px;
        padding: 9px 4px;
        margin: 0;
        display: block;
        overflow-x: hidden;
        overflow-y: hidden;
        direction: rtl;
        text-align: right;
        white-space: pre-wrap;
        overflow-wrap: break-word;
        -webkit-appearance: none;
        appearance: none;
        transform: translateZ(0);
    }

    .tennis-chatbot-composer textarea:disabled {
        color: #9ca3af;
    }

    .tennis-chatbot-composer textarea::placeholder {
        color: #9ca3af;
    }

    .tennis-chatbot-composer:focus-within {
        background: #ffffff;
        border-color: #3B758A;
        box-shadow: 0 0 0 3px rgba(97, 163, 186, 0.12);
    }

    .tennis-chatbot-send {
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 9999px;
        background: #3B758A;
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        box-shadow: 0 8px 18px rgba(97, 163, 186, 0.26);
    }

    .tennis-chatbot-send svg {
        transform: scaleX(-1);
    }

    .tennis-chatbot-powered {
        text-align: center;
        font-size: 11px;
        color: #6b7280;
        margin-top: 10px;
    }

    .tennis-chatbot-powered a {
        color: inherit;
        text-decoration: none;
    }

    .tennis-chatbot-powered a:hover,
    .tennis-chatbot-powered a:focus-visible {
        color: #4b5563;
        text-decoration: underline;
    }

    .tennis-chatbot-limit {
        text-align: center;
        margin-top: 10px;
        color: #4b5563;
        font-size: 12px;
        line-height: 1.8;
    }

    .tennis-chatbot-limit.is-error {
        color: #b91c1c;
    }

    .tennis-chatbot-reset {
        margin-top: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 9999px;
        background: #111827;
        color: #ffffff;
        padding: 10px 18px;
        cursor: pointer;
        font-size: 12px;
    }

    .tennis-chatbot-hidden {
        display: none;
    }

    .tennis-chatbot-sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    @media (max-width: 840px) {
        .tennis-chatbot-panel {
            left: 0;
            right: 0;
            bottom: 0;
            width: 100vw;
            max-width: 100vw;
            height: 100dvh;
            max-height: 100dvh;
            border-radius: 0;
            border: 0;
            box-shadow: none;
            background:
                linear-gradient(180deg, rgba(249, 250, 251, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        }

        .tennis-chatbot-fab {
            left: 18px;
            bottom: 18px;
            width: auto;
            min-width: 184px;
            height: 54px;
            padding: 0 15px;
            font-size: 12px;
        }

        .tennis-chatbot-header {
            padding: max(14px, env(safe-area-inset-top)) 14px 12px;
            gap: 10px;
            background: #3B758A;
        }

        .tennis-chatbot-brand {
            min-width: 0;
            gap: 10px;
        }

        .tennis-chatbot-logo-mark {
            width: 40px;
            height: 40px;
            border-radius: 13px;
        }

        .tennis-chatbot-brand strong {
            font-size: 14px;
        }

        .tennis-chatbot-brand span {
            font-size: 11px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 180px;
        }

        .tennis-chatbot-icon-btn {
            width: 36px;
            height: 36px;
            flex-shrink: 0;
        }

        .tennis-chatbot-body {
            padding: 14px 12px 10px;
        }

        .tennis-chatbot-empty {
            padding: 32px 8px 12px;
        }

        .tennis-chatbot-empty-logo {
            width: 70px;
            height: 70px;
            border-radius: 20px;
            margin-bottom: 14px;
        }

        .tennis-chatbot-empty strong {
            font-size: 16px;
        }

        .tennis-chatbot-empty p {
            font-size: 13px;
            line-height: 1.85;
        }

        .tennis-chatbot-message {
            margin-bottom: 10px;
        }

        .tennis-chatbot-message-inner {
            gap: 6px;
        }

        .tennis-chatbot-avatar {
            width: 28px;
            height: 28px;
            border-radius: 10px;
        }

        .tennis-chatbot-avatar svg {
            width: 16px;
            height: 16px;
        }

        .tennis-chatbot-bubble {
            max-width: calc(100vw - 78px);
            padding: 11px 12px;
            font-size: 14px;
            line-height: 1.75;
            border-radius: 16px;
        }

        .tennis-chatbot-suggestions {
            gap: 8px;
            margin: 6px 0 14px;
        }

        .tennis-chatbot-suggestion-link {
            grid-template-columns: 52px minmax(0, 1fr);
            gap: 8px;
        }

        .tennis-chatbot-suggestion {
            padding: 9px;
            border-radius: 16px;
        }

        .tennis-chatbot-suggestion img,
        .tennis-chatbot-suggestion-fallback {
            width: 52px;
            height: 52px;
            border-radius: 12px;
        }

        .tennis-chatbot-suggestion-link strong {
            font-size: 12px;
        }

        .tennis-chatbot-suggestion-link span {
            font-size: 11px;
        }

        .tennis-chatbot-suggestion-price {
            font-size: 11px;
        }

        .tennis-chatbot-suggestion-actions {
            flex-basis: 116px;
        }

        .tennis-chatbot-footer {
            padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(14px);
        }

        .tennis-chatbot-composer {
            gap: 8px;
            padding: 8px 8px 8px 10px;
            border-radius: 20px;
        }

        .tennis-chatbot-composer textarea {
            min-height: 40px;
            max-height: 108px;
            font-size: 16px;
            line-height: 22px;
            padding-top: 9px;
            padding-bottom: 9px;
        }

        .tennis-chatbot-send {
            width: 40px;
            height: 40px;
        }

        .tennis-chatbot-powered {
            margin-top: 8px;
            font-size: 10px;
        }

        .tennis-chatbot-limit {
            margin-top: 8px;
            font-size: 11px;
        }
    }

    @media (max-width: 420px) {
        .tennis-chatbot-fab {
            left: 14px;
            bottom: 14px;
            width: auto;
            min-width: 176px;
            height: 52px;
            padding: 0 14px;
        }

        .tennis-chatbot-header {
            padding-left: 12px;
            padding-right: 12px;
        }

        .tennis-chatbot-brand span {
            max-width: 145px;
        }

        .tennis-chatbot-body {
            padding-left: 10px;
            padding-right: 10px;
        }

        .tennis-chatbot-footer {
            padding-left: 10px;
            padding-right: 10px;
        }
    }
