/* =========================================================
   TURK CLOTHING — CSS COMPLETO CORRIGIDO
   DARK • STREETWEAR • EXCLUSIVIDADE
========================================================= */


/* =========================================================
   RESET DO CHAT
========================================================= */

#apx-chat-container,
#apx-chat-container *,
#apx-chat-container *::before,
#apx-chat-container *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER DA TK IA
========================================================= */

#apx-chat-container {
    position: fixed;
    right: 24px;
    bottom: 22px;

    z-index: 2000001;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}


/* =========================================================
   BOTÃO FLUTUANTE DA TK IA
========================================================= */

#apx-chat-button {
    width: 58px !important;
    height: 58px !important;

    min-width: 58px !important;
    min-height: 58px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #050505 !important;
    color: #ffffff !important;

    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 50% !important;

    outline: none !important;

    font-size: 23px !important;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#apx-chat-button:hover {
    transform: translateY(-3px) scale(1.04);

    background: #111111 !important;

    border-color: rgba(255, 255, 255, 0.24) !important;

    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.65);
}

#apx-chat-button:active {
    transform: scale(0.95);
}

#apx-chat-button i {
    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;
}


/* =========================================================
   JANELA PRINCIPAL DO CHAT
========================================================= */

#apx-chat-window {
    position: absolute;

    right: 0;
    bottom: 76px;

    width: 370px;
    height: 540px;

    max-height: calc(100vh - 115px);

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    background: #0c0c0c !important;

    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 20px !important;

    overflow: hidden !important;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(255, 255, 255, 0.025);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(15px) scale(0.96);
    transform-origin: bottom right;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}


/* CHAT ABERTO */

#apx-chat-container.active #apx-chat-window {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0) scale(1);
}


/* =========================================================
   CABEÇALHO
========================================================= */

#apx-chat-header {
    width: 100% !important;

    min-height: 64px !important;
    height: 64px !important;

    flex: 0 0 64px !important;

    margin: 0 !important;
    padding: 0 19px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    background: #000000 !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;

    color: #ffffff !important;
}

#apx-chat-header h3 {
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;

    gap: 9px !important;

    color: #ffffff !important;

    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    letter-spacing: -0.2px !important;
}

#apx-chat-header h3 i {
    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-size: 17px !important;
}


/* =========================================================
   BOTÃO FECHAR
========================================================= */

#apx-chat-close-btn {
    width: 38px !important;
    height: 38px !important;

    min-width: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 50% !important;

    outline: none !important;

    color: #ffffff !important;

    font-size: 21px !important;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

#apx-chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;

    transform: rotate(90deg);
}

#apx-chat-close-btn i {
    color: #ffffff !important;
}


/* =========================================================
   ÁREA DAS MENSAGENS
========================================================= */

#apx-chat-messages {
    width: 100% !important;

    flex: 1 1 auto !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 18px 16px !important;

    display: flex !important;
    flex-direction: column !important;

    justify-content: flex-start !important;
    align-items: stretch !important;

    gap: 11px !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    background:
        radial-gradient(circle at top right,
            rgba(255, 255, 255, 0.035),
            transparent 35%),
        #101010 !important;

    scroll-behavior: smooth;
}


/* =========================================================
   SCROLLBAR
========================================================= */

#apx-chat-messages::-webkit-scrollbar {
    width: 5px;
}

#apx-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

#apx-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);

    border-radius: 20px;
}

#apx-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.30);
}


/* =========================================================
   BALÕES DE MENSAGEM
   CORREÇÃO DO BLOCO GIGANTE
========================================================= */

#apx-chat-container .apx-chat-message {
    position: relative !important;

    display: block !important;

    flex: 0 0 auto !important;

    width: auto !important;
    max-width: 82% !important;

    height: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;

    padding: 11px 14px !important;

    border-radius: 15px !important;

    font-family: inherit !important;

    font-size: 14px !important;
    font-weight: 400 !important;

    line-height: 1.48 !important;

    letter-spacing: 0 !important;

    text-align: left !important;

    /*
       IMPORTANTE:
       NORMAL em vez de PRE-WRAP.
       Isso remove os espaços gigantes.
    */
    white-space: normal !important;

    word-break: normal !important;
    overflow-wrap: anywhere !important;

    justify-content: initial !important;
    align-items: initial !important;

    place-content: initial !important;
    place-items: initial !important;
}


/* REMOVE ESPAÇOS EXTRAS DO HTML INICIAL */

#apx-chat-container .apx-chat-message br {
    line-height: 1 !important;
}


/* =========================================================
   PRIMEIRA MENSAGEM DA TK IA
========================================================= */

#apx-chat-messages>.assistant-message:first-child {
    width: auto !important;
    height: auto !important;

    min-height: 0 !important;

    max-width: 88% !important;

    white-space: normal !important;

    padding: 13px 15px !important;

    line-height: 1.5 !important;

    text-align: left !important;

    align-self: flex-start !important;
}


/* =========================================================
   MENSAGEM DA TK IA
========================================================= */

#apx-chat-container .apx-chat-message.assistant-message {
    align-self: flex-start !important;

    background:
        linear-gradient(145deg,
            #222222,
            #191919) !important;

    color: #f5f5f5 !important;

    border: 1px solid rgba(255, 255, 255, 0.075) !important;

    border-bottom-left-radius: 5px !important;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.20);
}


/* TEXTO EM NEGRITO DA TK IA */

#apx-chat-container .assistant-message strong {
    color: #ffffff !important;

    font-weight: 800 !important;
}


/* =========================================================
   MENSAGEM DO CLIENTE
========================================================= */

#apx-chat-container .apx-chat-message.user-message {
    align-self: flex-end !important;

    background: #ffffff !important;

    color: #080808 !important;

    border: 1px solid #ffffff !important;

    border-bottom-right-radius: 5px !important;

    font-weight: 500 !important;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   TK IA DIGITANDO
========================================================= */

#apx-chat-container .apx-chat-message.typing-indicator {
    align-self: flex-start !important;

    width: auto !important;
    max-width: max-content !important;

    height: auto !important;

    min-height: 0 !important;

    padding: 9px 13px !important;

    background: #181818 !important;

    color: #929292 !important;

    border: 1px solid rgba(255, 255, 255, 0.05) !important;

    border-radius: 13px !important;

    font-size: 12.5px !important;
    font-style: italic !important;

    white-space: normal !important;

    box-shadow: none !important;
}


/* =========================================================
   FORMULÁRIO INFERIOR
========================================================= */

#apx-chat-form {
    width: 100% !important;

    min-height: 70px !important;

    flex: 0 0 auto !important;

    margin: 0 !important;

    padding: 12px 14px !important;

    display: flex !important;

    align-items: center !important;

    gap: 9px !important;

    background: #070707 !important;

    border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
}


/* =========================================================
   INPUT
========================================================= */

#apx-chat-input {
    flex: 1 1 auto !important;

    display: block !important;

    width: 100% !important;

    min-width: 0 !important;

    height: 44px !important;

    min-height: 44px !important;
    max-height: 44px !important;

    margin: 0 !important;

    padding: 0 16px !important;

    background: #181818 !important;

    color: #ffffff !important;

    border: 1px solid rgba(255, 255, 255, 0.13) !important;

    border-radius: 22px !important;

    outline: none !important;

    box-shadow: none !important;

    font-family: inherit !important;

    font-size: 14px !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

#apx-chat-input::placeholder {
    color: #777777 !important;

    opacity: 1 !important;
}

#apx-chat-input:hover {
    border-color: rgba(255, 255, 255, 0.20) !important;
}

#apx-chat-input:focus {
    background: #1d1d1d !important;

    border-color: rgba(255, 255, 255, 0.35) !important;

    outline: none !important;

    box-shadow: none !important;
}


/* =========================================================
   BOTÃO ENVIAR
========================================================= */

#apx-chat-send-btn {
    width: 44px !important;
    height: 44px !important;

    min-width: 44px !important;
    min-height: 44px !important;

    flex: 0 0 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;

    justify-content: center !important;
    align-items: center !important;

    background: #ffffff !important;

    color: #000000 !important;

    border: 0 !important;

    border-radius: 50% !important;

    outline: none !important;

    box-shadow: none !important;

    font-size: 16px !important;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

#apx-chat-send-btn i {
    margin: 0 !important;
    padding: 0 !important;

    color: #000000 !important;
}

#apx-chat-send-btn:hover {
    transform: scale(1.06);

    background: #e6e6e6 !important;
}

#apx-chat-send-btn:active {
    transform: scale(0.94);
}

#apx-chat-send-btn:disabled {
    opacity: 0.45 !important;

    cursor: not-allowed !important;

    transform: none !important;
}


/* =========================================================
   CARROSSEL DE IMAGENS
========================================================= */

.carousel-container {
    position: relative;

    width: 100%;
    max-width: 1500px;

    margin: 40px auto;

    overflow: hidden;

    background: #080808;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 16px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25);
}

.carousel-slide {
    display: flex;

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
}

.carousel-item {
    min-width: 100%;

    box-sizing: border-box;
}

.carousel-item img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 16px;
}


/* =========================================================
   BOTÕES DO CARROSSEL
========================================================= */

.carousel-nav {
    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;

    padding: 0 18px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    transform: translateY(-50%);

    pointer-events: none;
}

.nav-button {
    width: 46px;
    height: 46px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.62);

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 50%;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    cursor: pointer;

    opacity: 0;

    pointer-events: auto;

    font-size: 1.4rem;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

.carousel-container:hover .nav-button {
    opacity: 0.9;
}

.nav-button:hover {
    opacity: 1 !important;

    transform: scale(1.07);

    background: rgba(0, 0, 0, 0.86);
}


/* =========================================================
   BANNER SIMPLES
========================================================= */

.simple-banner-container {
    width: 100%;

    min-height: 210px;

    margin: 18px 0;

    padding: 38px 18px;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    border-radius: 26px;

    background:
        radial-gradient(circle at top,
            rgba(255, 255, 255, 0.045),
            transparent 45%),
        linear-gradient(145deg,
            #0c0c0c,
            #050505);

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.22);
}

.simple-banner-container h1 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: clamp(1.8rem, 3.5vw, 3rem);

    font-weight: 900;

    line-height: 1.05;

    letter-spacing: -1.6px;
}

.simple-banner-container p {
    max-width: 700px;

    margin: 0 0 26px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 1.08rem;

    line-height: 1.55;
}

.simple-banner-container .btn-banner {
    padding: 13px 30px;

    background: #ffffff;

    color: #000000;

    border: 1px solid #ffffff;

    border-radius: 11px;

    font-size: 0.95rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.simple-banner-container .btn-banner:hover {
    transform: translateY(-2px);

    background: #e9e9e9;
}


/* =========================================================
   REDES SOCIAIS
========================================================= */

#apx-social-bar {
    position: fixed;

    top: 50%;
    right: 0;

    z-index: 1050;

    padding: 9px 7px;

    display: flex;

    flex-direction: column;

    gap: 9px;

    transform: translateY(-50%);

    background: rgba(10, 10, 10, 0.74);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-right: 0;

    border-radius: 14px 0 0 14px;

    box-shadow:
        0 7px 30px rgba(0, 0, 0, 0.35);
}

#apx-social-bar a {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-decoration: none;

    border-radius: 10px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

#apx-social-bar a:hover {
    transform: scale(1.08);

    background: rgba(255, 255, 255, 0.08);
}

#apx-social-bar i {
    margin: 0;
    padding: 0;

    color: #ffffff;

    font-size: 20px;
}

#apx-social-bar a:hover i {
    color: #ffffff;
}


/* =========================================================
   OVERLAY
========================================================= */

#custom-overlay-wrapper h1 {
    margin-bottom: 1rem;

    font-size: 2.5rem;
    font-weight: 700;
}

#custom-overlay-wrapper h1 strong {
    color: #ffffff;
}

#custom-overlay-wrapper p {
    margin-top: 0;
    margin-bottom: 2rem;

    color: rgba(255, 255, 255, 0.8);

    font-size: 1.1rem;
}

.custom-overlay-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 1rem;
}

.custom-overlay-btn {
    padding: 0.8rem 1.5rem;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 999px;

    cursor: pointer;

    font-size: 1rem;
    font-weight: 700;

    transition: all 0.25s ease;
}

.custom-overlay-btn.primary {
    background: #ffffff;

    color: #000000;
}

.custom-overlay-btn.primary:hover {
    transform: translateY(-2px);

    background: #e8e8e8;
}

.custom-overlay-btn.secondary {
    background: transparent;

    color: #ffffff;

    border-color: rgba(255, 255, 255, 0.65);
}

.custom-overlay-btn.secondary:hover {
    background: #ffffff;

    color: #000000;
}


/* =========================================================
   ANIMAÇÕES OVERLAY
========================================================= */

@keyframes overlayEntrance {
    from {
        opacity: 0;

        transform: scale(0.95);
    }

    to {
        opacity: 1;

        transform: scale(1);
    }
}

@keyframes overlayExit {
    from {
        opacity: 1;

        transform: scale(1);
    }

    to {
        opacity: 0;

        transform: scale(0.95);
    }
}


/* =========================================================
   CARDS DE PRODUTOS
========================================================= */

.product_card,
.sc-284a1cfc-6.fruMxE {
    background: rgba(255, 255, 255, 0.03) !important;

    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;

    border: 1px solid rgba(255, 255, 255, 0.08) !important;

    border-radius: 20px !important;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease !important;
}

.product_card:hover,
.sc-284a1cfc-6.fruMxE:hover {
    transform: translateY(-6px) !important;

    border-color: rgba(255, 255, 255, 0.15) !important;

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.23);
}

.product_card .sc-284a1cfc-28.jXrkhw {
    background: rgba(255, 255, 255, 0.05) !important;

    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;

    border: 1px solid rgba(255, 255, 255, 0.12) !important;

    border-radius: 12px !important;

    color: #ffffff !important;

    font-weight: 600 !important;

    transition: all 0.25s ease !important;
}

.product_card .sc-284a1cfc-28.jXrkhw:hover {
    background: rgba(255, 255, 255, 0.10) !important;
}

.product_info,
.sc-284a1cfc-17,
.sc-284a1cfc-22,
.sc-284a1cfc-8,
.sc-284a1cfc-8 img,
.product_card div {
    background: transparent !important;
}


/* =========================================================
   POPUP DE VENDAS
========================================================= */

.sales-popup {
    position: fixed;

    left: 24px;
    bottom: 24px;

    z-index: 9999;

    max-width: 320px;

    padding: 13px 17px;

    display: flex;

    align-items: center;

    gap: 13px;

    background: rgba(12, 12, 12, 0.92);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 13px;

    box-shadow:
        0 12px 38px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;

    transform: translateY(18px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s ease;
}

.sales-popup.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.sales-popup .popup-icon {
    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    color: #ffffff;

    font-size: 1.4rem;
}

.sales-popup .popup-icon svg {
    width: 100%;
    height: 100%;

    fill: currentColor;
}

.sales-popup p {
    margin: 0 !important;

    color: #a9a9a9 !important;

    font-size: 0.88rem !important;

    line-height: 1.35 !important;
}

.sales-popup p strong {
    color: #ffffff !important;

    font-weight: 700 !important;
}


/* =========================================================
   TABLET / CELULAR
========================================================= */

@media (max-width: 768px) {

    #apx-chat-container {
        right: 14px;
        bottom: 14px;
    }

    #apx-chat-button {
        width: 54px !important;
        height: 54px !important;

        min-width: 54px !important;
        min-height: 54px !important;

        font-size: 21px !important;
    }

    #apx-chat-window {
        right: 0;
        bottom: 68px;

        width: min(370px, calc(100vw - 28px));

        height: min(540px, calc(100vh - 105px));

        max-height: calc(100vh - 105px);

        border-radius: 18px !important;
    }

    #apx-chat-header {
        min-height: 60px !important;
        height: 60px !important;

        flex-basis: 60px !important;

        padding: 0 17px !important;
    }

    #apx-chat-header h3 {
        font-size: 16px !important;
    }

    #apx-chat-messages {
        padding: 15px 13px !important;

        gap: 10px !important;
    }

    #apx-chat-container .apx-chat-message {
        max-width: 88% !important;

        padding: 10px 13px !important;

        font-size: 13.5px !important;
    }

    #apx-chat-messages>.assistant-message:first-child {
        max-width: 90% !important;
    }

    #apx-chat-form {
        min-height: 66px !important;

        padding: 10px 12px !important;
    }

    #apx-chat-input {
        height: 43px !important;

        min-height: 43px !important;
        max-height: 43px !important;

        font-size: 13.5px !important;
    }

    #apx-chat-send-btn {
        width: 43px !important;
        height: 43px !important;

        min-width: 43px !important;
        min-height: 43px !important;

        flex-basis: 43px !important;
    }


    /* BANNER */

    .simple-banner-container {
        min-height: 180px;

        padding: 27px 15px;

        border-radius: 20px;
    }

    .simple-banner-container h1 {
        margin-bottom: 10px;

        font-size: 1.7rem !important;

        line-height: 1.15 !important;

        letter-spacing: -0.8px;
    }

    .simple-banner-container p {
        margin-bottom: 19px;

        padding: 0 5px;

        font-size: 0.9rem !important;
    }

    .simple-banner-container .btn-banner {
        padding: 11px 21px;

        font-size: 0.9rem;
    }


    /* CARROSSEL */

    .carousel-container {
        margin: 27px auto !important;

        border-radius: 12px;
    }

    .carousel-item img {
        border-radius: 12px;
    }

    .carousel-nav {
        padding: 0 10px;
    }

    .nav-button {
        width: 38px;
        height: 38px;

        opacity: 0.8;

        font-size: 1.1rem;
    }


    /* REDES SOCIAIS */

    #apx-social-bar {
        right: 0;

        padding: 7px 5px;

        gap: 6px;

        border-radius: 11px 0 0 11px;
    }

    #apx-social-bar a {
        width: 34px;
        height: 34px;
    }

    #apx-social-bar i {
        font-size: 18px;
    }


    /* POPUP */

    .sales-popup {
        left: 10px;
        bottom: 10px;

        max-width: calc(100vw - 80px);

        padding: 11px 14px;
    }

    .sales-popup p {
        font-size: 0.8rem !important;
    }
}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 480px) {

    #apx-chat-container {
        right: 10px;
        bottom: 12px;
    }

    #apx-chat-window {
        right: 0;
        bottom: 67px;

        width: calc(100vw - 20px);

        height: calc(100dvh - 105px);

        max-height: 590px;
    }

    #apx-chat-messages {
        padding: 14px 12px !important;
    }

    #apx-chat-container .apx-chat-message {
        max-width: 90% !important;

        white-space: normal !important;
    }

    #apx-chat-messages>.assistant-message:first-child {
        max-width: 92% !important;

        white-space: normal !important;
    }

    #apx-chat-input {
        padding: 0 14px !important;
    }

    .simple-banner-container {
        margin: 12px 0;

        border-radius: 16px;
    }

    .sales-popup {
        max-width: calc(100vw - 70px);
    }
}


/* =========================================================
   TELAS MUITO PEQUENAS
========================================================= */

@media (max-width: 360px) {

    #apx-chat-window {
        width: calc(100vw - 14px);

        right: -3px;
    }

    #apx-chat-form {
        gap: 7px !important;

        padding: 9px 10px !important;
    }

    #apx-chat-input {
        padding: 0 12px !important;

        font-size: 13px !important;
    }

    #apx-chat-container .apx-chat-message {
        max-width: 92% !important;

        font-size: 13px !important;

        white-space: normal !important;
    }
}