/* Mensaje flotante de Cotización */
.cotizacion-float-message {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: linear-gradient(135deg, #ff8c00 0%, #ff7300 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.4);
    max-width: 320px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInRight 0.5s ease forwards, pulse-orange 2s ease-in-out infinite;
}

.cotizacion-float-message:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 140, 0, 0.6);
}

/* Globito - punta triangular a la derecha */
.cotizacion-float-message::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #ff8c00;
}

.cotizacion-float-message .message-text {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.cotizacion-float-message .cta-text {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cotizacion-float-message .search-icon {
    font-size: 1.3rem;
    animation: bounce-search 1s ease-in-out infinite;
}

.cotizacion-float-message .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Animaciones */
@keyframes slideInRight {
    from {
        opacity: 0;
        right: -350px;
    }
    to {
        opacity: 1;
        right: 20px;
    }
}

@keyframes pulse-orange {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(255, 140, 0, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(255, 140, 0, 0.6);
    }
}

@keyframes bounce-search {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive - móvil */
@media (max-width: 768px) {
    .cotizacion-float-message {
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        top: 50%;
        transform: translateY(-50%);
    }

    .cotizacion-float-message:hover {
        transform: translateY(-50%) scale(1.02);
    }

    .cotizacion-float-message::before {
        right: -10px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) rotate(0deg);
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            right: -350px;
        }
        to {
            opacity: 1;
            right: 10px;
        }
    }

    .cotizacion-float-message .message-text {
        font-size: 0.9rem;
    }

    .cotizacion-float-message .cta-text {
        font-size: 1rem;
    }
}
