/* Estilos principais do Contato Site */
#contact-site-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   BARRA DE RODAPÉ MOBILE TOTAL 100% (2 Botões: Ligar + WhatsApp)
   ========================================================================== */
.cs-mobile-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.12);
    padding: 10px 14px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.cs-mobile-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.cs-mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.2px;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    line-height: 1;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.cs-mobile-btn:active {
    transform: scale(0.96);
}

/* Botão Ligar */
.cs-mobile-btn-phone {
    background: linear-gradient(135deg, #0070f3 0%, #0051a8 100%);
    color: #ffffff !important;
}

.cs-mobile-btn-phone:hover {
    box-shadow: 0 6px 20px rgba(0, 112, 243, 0.4);
    color: #ffffff !important;
}

/* Botão WhatsApp */
.cs-mobile-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
}

.cs-mobile-btn-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff !important;
}

.cs-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.cs-btn-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.cs-custom-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.cs-btn-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Esconder barra mobile em desktops */
@media (min-width: 769px) {
    .cs-mobile-footer-bar {
        display: none !important;
    }
}

/* Quando barra mobile estiver ativa, esconder botão flutuante em telas pequenas */
@media (max-width: 768px) {
    .contact-icon-widget.cs-has-mobile-bar {
        display: none !important;
    }
}

/* ==========================================================================
   WIDGET FLUTUANTE (Desktop & Mobile Fallback)
   ========================================================================== */
.contact-icon-widget {
    position: fixed;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-icon-widget.loaded {
    opacity: 1;
}

.contact-icon-widget.animate-in {
    transform: scale(1);
}

/* Ocultar por classe de dispositivo */
@media (min-width: 769px) {
    .contact-icon-widget.hide-desktop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .contact-icon-widget.hide-mobile {
        display: none !important;
    }
}

/* Posicionamento desktop */
.contact-icon-widget.position-bottom-right {
    bottom: 24px;
    right: 24px;
}

.contact-icon-widget.position-bottom-left {
    bottom: 24px;
    left: 24px;
}

.contact-icon-widget.position-top-right {
    top: 24px;
    right: 24px;
}

.contact-icon-widget.position-top-left {
    top: 24px;
    left: 24px;
}

/* Botão Flutuante */
.contact-icon-button {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: contactIconPulse 2.2s infinite;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.contact-icon-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.contact-icon-button.active {
    transform: scale(1.05);
    animation: none;
}

.contact-icon-button svg {
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
}

.contact-icon-button.active svg {
    transform: rotate(45deg);
}

.cs-custom-icon-main {
    width: 30px;
    height: 30px;
    object-fit: contain;
    z-index: 2;
}

/* Animação de Pulso */
@keyframes contactIconPulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Texto Popup Temporizado */
.contact-popup-text {
    position: absolute;
    background: rgba(18, 24, 38, 0.92);
    color: #ffffff;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-popup-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(18, 24, 38, 0.92);
}

.contact-popup-text.show {
    opacity: 1;
    transform: translateY(0);
}

.position-bottom-right .contact-popup-text,
.position-bottom-left .contact-popup-text {
    bottom: 78px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}

.position-bottom-right .contact-popup-text.show,
.position-bottom-left .contact-popup-text.show {
    transform: translateX(-50%) translateY(0);
}

.position-top-right .contact-popup-text,
.position-top-left .contact-popup-text {
    top: 78px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.position-top-right .contact-popup-text.show,
.position-top-left .contact-popup-text.show {
    transform: translateX(-50%) translateY(0);
}

/* Menu de Opções de Contato (Desktop) */
.contact-options {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
    padding: 10px;
    min-width: 200px;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.contact-options.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.position-bottom-right .contact-options,
.position-bottom-left .contact-options {
    bottom: 80px;
}

.position-top-right .contact-options,
.position-top-left .contact-options {
    top: 80px;
}

.position-bottom-right .contact-options,
.position-top-right .contact-options {
    right: 0;
}

.position-bottom-left .contact-options,
.position-top-left .contact-options {
    left: 0;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1e293b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.contact-option:hover {
    background: #f1f5f9;
    transform: translateX(3px);
    color: #0f172a;
}

.cs-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.phone-option .cs-option-icon svg {
    color: #0070f3;
}

.whatsapp-option .cs-option-icon svg {
    color: #25D366;
}

.cs-custom-icon-opt {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Overlay */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-overlay.show {
    opacity: 1;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .cs-mobile-footer-bar {
        background: rgba(18, 24, 38, 0.92);
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .contact-options {
        background: rgba(18, 24, 38, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .contact-option {
        color: #f1f5f9;
    }
    
    .contact-option:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
}

/* ==========================================================================
   JANELA DE CHAT INTERATIVO ESTILO WHATSAPP
   ========================================================================== */
.cs-wa-popup {
    position: fixed;
    z-index: 999999;
    width: 380px;
    max-width: calc(100vw - 30px);
    height: 560px;
    max-height: calc(100vh - 90px);
    background: #efeae2;
    border-radius: 20px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22), 0 4px 14px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    transform: scale(0.92) translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
}

.cs-wa-popup * {
    box-sizing: border-box;
}

.cs-wa-popup.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Posicionamento no Desktop */
.cs-wa-popup.position-bottom-right {
    bottom: 96px;
    right: 24px;
}

.cs-wa-popup.position-bottom-left {
    bottom: 96px;
    left: 24px;
}

.cs-wa-popup.position-top-right {
    top: 96px;
    right: 24px;
}

.cs-wa-popup.position-top-left {
    top: 96px;
    left: 24px;
}

/* Cabeçalho WhatsApp */
.cs-wa-header {
    background: #0e5f2a;
    background: linear-gradient(135deg, #0b663b 0%, #075e54 100%);
    color: #ffffff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.cs-wa-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cs-wa-avatar-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.cs-wa-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: block;
}

.cs-wa-avatar-default {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.cs-wa-status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 11px;
    height: 11px;
    background: #25D366;
    border: 2px solid #075e54;
    border-radius: 50%;
}

.cs-wa-header-info {
    min-width: 0;
}

.cs-wa-header-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.cs-wa-header-status {
    font-size: 12px;
    color: #cbf5cf;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    font-weight: 500;
}

.cs-wa-header-status.typing {
    color: #ffd271;
    font-style: italic;
}

.cs-wa-dot-online {
    width: 7px;
    height: 7px;
    background: #25D366;
    border-radius: 50%;
    display: inline-block;
}

.cs-wa-close-btn {
    background: rgba(255, 255, 255, 0.16);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cs-wa-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Corpo do Chat com Textura WhatsApp */
.cs-wa-body {
    flex: 1;
    padding: 14px 14px 10px;
    overflow-y: auto;
    background-color: #efeae2;
    background-image: 
        radial-gradient(#d3cbbe 1.2px, transparent 1.2px),
        radial-gradient(#d3cbbe 1.2px, #efeae2 1.2px);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

/* Card de Boas-vindas / LGPD (Fiel à imagem fornecida) */
.cs-wa-intro-card {
    background: #ffffff;
    border: 1px solid #d9e7ff;
    border-radius: 18px;
    padding: 22px 18px 18px;
    margin: 8px 0 16px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    animation: csWaCardIn 0.4s ease-out;
}

@keyframes csWaCardIn {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.cs-wa-intro-icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.cs-wa-intro-text {
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
    font-weight: 500;
    margin-bottom: 14px;
}

.cs-wa-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cs-wa-start-btn {
    width: 100%;
    background: #0e5f2a;
    background: linear-gradient(135deg, #0b663b 0%, #15803d 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(11, 102, 59, 0.28);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cs-wa-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 102, 59, 0.4);
    background: linear-gradient(135deg, #0c7443 0%, #16a34a 100%);
}

.cs-wa-start-btn:active {
    transform: scale(0.98);
}

/* Divisor de Data */
.cs-wa-date-divider {
    text-align: center;
    margin: 8px 0 14px;
}

.cs-wa-date-divider span {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 2px rgba(11, 20, 26, 0.12);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: #54656f;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Lista de Mensagens */
.cs-wa-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
}

/* Balão Base */
.cs-wa-bubble {
    position: relative;
    max-width: 86%;
    padding: 8px 12px 6px;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 1px 1px rgba(11, 20, 26, 0.13);
    word-break: break-word;
    animation: csWaMsgIn 0.3s ease-out;
}

@keyframes csWaMsgIn {
    0% { opacity: 0; transform: translateY(8px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Balão do Bot (Recebido - Esquerda) */
.cs-wa-bubble.bot {
    align-self: flex-start;
    background: #ffffff;
    color: #111b21;
    border-radius: 12px 12px 12px 3px;
}

.cs-wa-bubble.bot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 8px solid #ffffff;
    border-left: 8px solid transparent;
}

/* Balão do Usuário (Enviado - Direita) */
.cs-wa-bubble.user {
    align-self: flex-end;
    background: #d9fdd3;
    color: #111b21;
    border-radius: 12px 12px 3px 12px;
}

.cs-wa-bubble.user::before {
    content: '';
    position: absolute;
    top: 0;
    right: -7px;
    width: 0;
    height: 0;
    border-top: 8px solid #d9fdd3;
    border-right: 8px solid transparent;
}

/* Rodapé do Balão (Horário e Checks) */
.cs-wa-bubble-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    font-size: 10.5px;
    color: #667781;
    margin-top: 3px;
    margin-left: 10px;
    float: right;
}

.cs-wa-checks {
    display: inline-flex;
    color: #53bdeb;
}

/* Opções de Resposta Rápida */
.cs-wa-quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.cs-wa-option-btn {
    background: #f0fdf4;
    border: 1.5px solid #25D366;
    color: #166534;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.cs-wa-option-btn:hover {
    background: #25D366;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

/* Botão Final de Disparo para WhatsApp */
.cs-wa-finish-card {
    margin-top: 8px;
}

.cs-wa-dispatch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: contactIconPulse 2s infinite;
    transition: all 0.2s ease;
}

.cs-wa-dispatch-btn:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Indicador de Digitação ("Digitando...") */
.cs-wa-typing-row {
    align-self: flex-start;
    margin-bottom: 6px;
}

.cs-wa-typing-bubble {
    background: #ffffff;
    border-radius: 14px 14px 14px 3px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 2px rgba(11, 20, 26, 0.12);
    position: relative;
}

.cs-wa-typing-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -6px;
    width: 0;
    height: 0;
    border-top: 6px solid #ffffff;
    border-left: 6px solid transparent;
}

.cs-wa-typing-dot {
    width: 6.5px;
    height: 6.5px;
    background: #8696a0;
    border-radius: 50%;
    animation: csWaDotBounce 1.4s infinite ease-in-out;
}

.cs-wa-typing-dot:nth-child(1) { animation-delay: 0s; }
.cs-wa-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.cs-wa-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes csWaDotBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.35;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
        background: #0b663b;
    }
}

/* Rodapé / Input estilo WhatsApp */
.cs-wa-footer {
    background: #f0f2f5;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-top: 1px solid #e2e8f0;
}

.cs-wa-input-container {
    flex: 1;
    position: relative;
}

.cs-wa-input-field {
    width: 100%;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 22px;
    padding: 10px 16px;
    font-size: 14px;
    color: #111b21;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cs-wa-input-field:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.cs-wa-input-field:disabled {
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
}

.cs-wa-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #008069;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.cs-wa-send-btn:hover:not(:disabled) {
    background: #056b57;
    transform: scale(1.08);
}

.cs-wa-send-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.cs-wa-send-btn:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
}

/* Rodapé LGPD */
.cs-wa-legal-footer {
    background: #ffffff;
    padding: 6px 12px;
    text-align: center;
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-top: 1px solid #f1f5f9;
}

.cs-wa-legal-footer svg {
    color: #d97706;
}

/* Responsividade Mobile para o Chat WhatsApp */
@media (max-width: 480px) {
    .cs-wa-popup {
        width: 100vw !important;
        height: 100% !important;
        max-width: 100vw !important;
        max-height: 100% !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
    }
    
    .cs-wa-popup.position-bottom-right,
    .cs-wa-popup.position-bottom-left,
    .cs-wa-popup.position-top-right,
    .cs-wa-popup.position-top-left {
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }

    .cs-wa-header {
        padding: max(12px, env(safe-area-inset-top)) 16px 12px;
    }

    .cs-wa-legal-footer {
        padding-bottom: max(6px, env(safe-area-inset-bottom));
    }
}



