.floating-whatsapp {
    position: fixed;
    left: 18px;
    bottom: 20px;
    z-index: 940;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 9px 14px 9px 9px;
    border-radius: 999px;
    background: #ffffff;
    color: #102018;
    text-decoration: none;
    border: 1px solid rgba(18, 140, 126, 0.2);
    box-shadow: 0 16px 38px rgba(17, 24, 39, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 140, 126, 0.42);
    box-shadow: 0 22px 44px rgba(17, 24, 39, 0.2);
}

.floating-whatsapp__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.floating-whatsapp__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    white-space: nowrap;
}

.floating-whatsapp__text strong {
    font-size: 0.92rem;
    color: #111827;
}

.floating-whatsapp__text small {
    margin-top: 3px;
    font-size: 0.74rem;
    color: #4b5563;
}

.cookie-consent {
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 950;
    width: min(560px, calc(100vw - 36px));
    display: none;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 24, 39, 0.1);
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.2);
    backdrop-filter: blur(14px);
}

.cookie-consent.is-visible {
    display: grid;
}

.cookie-consent__body {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
}

.cookie-consent__icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    color: #bb0606;
    font-size: 1rem;
}

.cookie-consent__copy h2 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #111827;
}

.cookie-consent__copy p {
    margin: 0;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.45;
}

.cookie-consent__prefs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.cookie-consent__prefs label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.84rem;
    font-weight: 700;
}

.cookie-consent__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-btn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.86rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn--ghost {
    background: #fff;
    border-color: #e5e7eb;
    color: #374151;
}

.cookie-btn--primary {
    background: #bb0606;
    color: #fff;
}

@media (max-width: 720px) {
    .floating-whatsapp {
        left: 12px;
        bottom: 14px;
        min-height: 50px;
        padding: 7px 11px 7px 7px;
    }

    .floating-whatsapp__icon {
        width: 36px;
        height: 36px;
        font-size: 1.15rem;
    }

    .floating-whatsapp__text strong {
        font-size: 0.84rem;
    }

    .floating-whatsapp__text small {
        font-size: 0.68rem;
    }

    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 78px;
        width: auto;
        padding: 14px;
    }

    .cookie-consent__body {
        grid-template-columns: 1fr;
    }

    .cookie-consent__icon {
        display: none;
    }

    .cookie-consent__actions {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1 1 auto;
    }
}
